[jbosstools-issues] [JBoss JIRA] (JBIDE-24987) fix TP PR jobs so they run p2diff against last available published TP

Nick Boldt (JIRA) issues at jboss.org
Wed Sep 6 17:39:00 EDT 2017


    [ https://issues.jboss.org/browse/JBIDE-24987?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13459901#comment-13459901 ] 

Nick Boldt commented on JBIDE-24987:
------------------------------------

Using the same commadline invocation as the TP builds themselves [1], the PR job fails [2] to run the p2diff app:

{code}
!SESSION 2017-09-06 16:31:17.196 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.8.0_131
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments:  -application org.eclipse.equinox.p2.example.p2diff.application -outputFile=/mnt/hudson_workspace/workspace/jbosstoolstargetplatform-Pull-Request/jbosstools/multiple/target/jbosstools-multiple-ignoreVersions.p2diff -mode=ignoreVersions file:///mnt/hudson_workspace/workspace/jbosstoolstargetplatform-Pull-Request/jbosstools/multiple/target/jbosstools-multiple.target.repo http://download.jboss.org/jbosstools/targetplatforms/jbosstoolstarget/4.71.0.AM2-SNAPSHOT/REPO/
Command-line arguments:  -consolelog -debug -clean -application org.eclipse.equinox.p2.example.p2diff.application -outputFile=/mnt/hudson_workspace/workspace/jbosstoolstargetplatform-Pull-Request/jbosstools/multiple/target/jbosstools-multiple-ignoreVersions.p2diff -mode=ignoreVersions file:///mnt/hudson_workspace/workspace/jbosstoolstargetplatform-Pull-Request/jbosstools/multiple/target/jbosstools-multiple.target.repo http://download.jboss.org/jbosstools/targetplatforms/jbosstoolstarget/4.71.0.AM2-SNAPSHOT/REPO/

!ENTRY org.eclipse.osgi 4 0 2017-09-06 16:31:22.950
!MESSAGE Application error
!STACK 1
java.io.IOException: No such file or directory
	at java.io.UnixFileSystem.createFileExclusively(Native Method)
	at java.io.File.createNewFile(File.java:1012)
	at org.eclipse.equinox.p2.example.p2diff.Application.start(Application.java:50)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1515)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1488){code}

[1] https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/Devstudio/view/devstudio_target_platforms/job/jbosstoolstargetplatform-4.71.x/
[2] https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/Devstudio/view/devstudio_target_platforms/job/jbosstoolstargetplatform-Pull-Request/80/console

So, screw it, I'm disabling the p2diff check unless anyone has a better idea?





> fix TP PR jobs so they run p2diff against last available published TP
> ---------------------------------------------------------------------
>
>                 Key: JBIDE-24987
>                 URL: https://issues.jboss.org/browse/JBIDE-24987
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: build, target-platform
>    Affects Versions: 4.5.1.AM2
>            Reporter: Nick Boldt
>
> Realized today that the TP PR job is failing because it's trying to diff against a TP URL that doesn't (yet) exist.
> So, pass in these params:
> {code}-DtargetRepositoryURL=\
> http://download.jboss.org/jbosstools/targetplatforms/jbosstoolstarget/${TARGET_PLATFORM_VERSION_MAX}/REPO/ \
> -Dp2diff.skip=false{code}
> If this doesn't work we can just skip the p2diff check entirely.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jbosstools-issues mailing list