I am migrating to Jenkins (LTS release 1.509.2) from Hudson 1.395. Hudson 1.395 and its corresponding Buckminster plugin are unable to process our build correctly after upgrading from JRE6 to JRE7, which was necessary due to a library requirement. This problem is due to a bug in the p2 libraries. [0]
Alas, Jenkins isn't giving me a functioning build either. Downloading the target platform's content (which is explicitly specified in a *.target file) does not work. It has never been an issue with Hudson 1.395 prior to upgrading the JRE.
This is the error message I get:
ERROR: Error processing mirrors URL: http://www.eclipse.org/downloads/download.php?file=/technology/babel/update-site/R0.9.0/galileo/&format=xml&countryCode=at&timeZone=1&format=xml
java.io.FileNotFoundException: http://www.eclipse.org/downloads/download.php?file=/technology/babel/update-site/R0.9.0/galileo/&format=xml&countryCode=at&timeZone=1&format=xml
at org.eclipse.equinox.internal.p2.transport.ecf.RepositoryStatusHelper.checkFileNotFound(RepositoryStatusHelper.java:297)
at org.eclipse.equinox.internal.p2.transport.ecf.FileReader.checkException(FileReader.java:474)
at org.eclipse.equinox.internal.p2.transport.ecf.FileReader.sendRetrieveRequest(FileReader.java:431)
at org.eclipse.equinox.internal.p2.transport.ecf.FileReader.read(FileReader.java:273)
at org.eclipse.equinox.internal.p2.transport.ecf.RepositoryTransport.stream(RepositoryTransport.java:172)
at org.eclipse.equinox.internal.p2.artifact.repository.MirrorSelector.computeMirrors(MirrorSelector.java:274)
at org.eclipse.equinox.internal.p2.artifact.repository.MirrorSelector.initMirrors(MirrorSelector.java:336)
at org.eclipse.equinox.internal.p2.artifact.repository.MirrorSelector.selectMirror(MirrorSelector.java:406)
at org.eclipse.equinox.internal.p2.artifact.repository.MirrorSelector.getMirrorLocation(MirrorSelector.java:314)
at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.getMirror(SimpleArtifactRepository.java:694)
at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.downloadArtifact(SimpleArtifactRepository.java:589)
at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.getArtifact(SimpleArtifactRepository.java:723)
at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.getArtifact(MirrorRequest.java:287)
at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.transferSingle(MirrorRequest.java:267)
at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.transfer(MirrorRequest.java:208)
at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.perform(MirrorRequest.java:138)
at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.getArtifact(SimpleArtifactRepository.java:707)
at org.eclipse.equinox.internal.p2.artifact.repository.simple.DownloadJob.run(DownloadJob.java:63)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
Is anyone familiar with this issue and can tell me what to do to circumvent it? I use Buckminster 4.3, as all the other versions are unable to be downloaded and used due to various errors thrown by Jenkins. Hudson 1.395 uses Buckminster 3.6, so this could be a clue as to what the problem is. I'd use Buckminster 3.6 with Jenkins as well, but the installation throws the following errors:
[Buckminster] $ "C:\Program Files (x86)\Jenkins\tools\hudson.plugins.buckminster.BuckminsterInstallation\Buckminster\director\director.bat" -d "C:\Program Files (x86)\Jenkins\tools\hudson.plugins.buckminster.BuckminsterInstallation\Buckminster\buckminster" -p Buckminster -r "http://download.eclipse.org/tools/buckminster/headless-3.6/, http://download.cloudsmith.com/buckminster/external-3.6" -uninstallIU "org.eclipse.buckminster.emma.headless.feature.feature.group, org.eclipse.buckminster.pde.headless.feature.feature.group, org.eclipse.buckminster.subclipse.headless.feature.feature.group, org.eclipse.buckminster.maven.headless.feature.feature.group, org.eclipse.buckminster.core.headless.feature.feature.group, org.eclipse.buckminster.git.headless.feature.feature.group, org.eclipse.buckminster.cvs.headless.feature.feature.group" -installIU "org.eclipse.equinox.p2.director.feature.feature.group, org.eclipse.buckminster.emma.headless.feature.feature.group, org.eclipse.buckminster.pde.headless.feature.feature.group, org.eclipse.buckminster.subclipse.headless.feature.feature.group, org.eclipse.buckminster.maven.headless.feature.feature.group, org.eclipse.buckminster.core.headless.feature.feature.group, org.eclipse.buckminster.git.headless.feature.feature.group, org.eclipse.buckminster.cvs.headless.feature.feature.group"
Installing org.eclipse.equinox.p2.director.feature.feature.group 1.2.1.v20101014-1412.
Installing org.eclipse.buckminster.emma.headless.feature.feature.group 0.9.0.r11564.
Installing org.eclipse.buckminster.pde.headless.feature.feature.group 1.2.1.r11746.
Installing org.eclipse.buckminster.subclipse.headless.feature.feature.group 1.1.0.r11670.
Installing org.eclipse.buckminster.maven.headless.feature.feature.group 1.2.0.r11663.
Installing org.eclipse.buckminster.core.headless.feature.feature.group 1.3.1.r11749.
Installing org.eclipse.buckminster.git.headless.feature.feature.group 1.0.360.r11751.
Installing org.eclipse.buckminster.cvs.headless.feature.feature.group 1.1.0.r11564.
Uninstalling org.eclipse.buckminster.emma.headless.feature.feature.group 1.6.0.v20130317-0829.
Uninstalling org.eclipse.buckminster.pde.headless.feature.feature.group 1.6.0.v20130407-2104.
Uninstalling org.eclipse.buckminster.subclipse.headless.feature.feature.group 1.6.0.v20130317-0829.
Uninstalling org.eclipse.buckminster.maven.headless.feature.feature.group 1.6.0.v20130317-0829.
Uninstalling org.eclipse.buckminster.core.headless.feature.feature.group 1.6.0.v20130614-0838.
Uninstalling org.eclipse.buckminster.git.headless.feature.feature.group 1.6.0.v20130614-0659.
Uninstalling org.eclipse.buckminster.cvs.headless.feature.feature.group 1.6.0.v20130317-0829.
Installation failed.
An error occurred while collecting items to be installed
session context was:(profile=Buckminster, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
Failed to transfer artifact packed: osgi.bundle,org.eclipse.buckminster.ant,1.2.360.r11559.
Retry another mirror
HTTP Server 'Bad Gateway' : http://eclipse.c3sl.ufpr.br/tools/buckminster/headless-3.6/plugins/org.eclipse.buckminster.ant_1.2.360.r11559.jar.pack.gz
Caused by: HttpClient connection error response code 502.
Retry another mirror
HTTP Server 'Bad Gateway' : http://mirror.netcologne.de/eclipse//tools/buckminster/headless-3.6/plugins/org.eclipse.buckminster.ant_1.2.360.r11559.jar.pack.gz
Caused by: HttpClient connection error response code 502.
Retry another mirror
HTTP Server 'Bad Gateway' : http://eclipse.mirror.triple-it.nl/tools/buckminster/headless-3.6/plugins/org.eclipse.buckminster.ant_1.2.360.r11559.jar.pack.gz
Caused by: HttpClient connection error response code 502.
Problems downloading artifact: osgi.bundle,org.eclipse.buckminster.ant,1.2.360.r11559.
File has invalid content:C:\Windows\TEMP\signatureFile1624516142394865562.jar
Invalid content:bmant.jar
Caused by: org.eclipse.osgi.signedcontent.InvalidContentException: The file "bmant.jar" in the jar "C:\Windows\TEMP\signatureFile1624516142394865562.jar" has been tampered!
Invalid content:ant_tasks/ant_tasks.jar
Caused by: org.eclipse.osgi.signedcontent.InvalidContentException: The file "ant_tasks/ant_tasks.jar" in the jar "C:\Windows\TEMP\signatureFile1624516142394865562.jar" has been tampered!
Problems downloading artifact: osgi.bundle,org.eclipse.buckminster.jdt,1.0.0.r11559.
File has invalid content:C:\Windows\TEMP\signatureFile1348936900322122235.jar
Invalid content:bmjdt.jar
Caused by: org.eclipse.osgi.signedcontent.InvalidContentException: The file "bmjdt.jar" in the jar "C:\Windows\TEMP\signatureFile1348936900322122235.jar" has been tampered!
Invalid content:ant_tasks/ant_tasks.jar
Caused by: org.eclipse.osgi.signedcontent.InvalidContentException: The file "ant_tasks/ant_tasks.jar" in the jar "C:\Windows\TEMP\signatureFile1348936900322122235.jar" has been tampered!
Failed to transfer artifact packed: osgi.bundle,org.eclipse.buckminster.pde,1.2.1.r11746.
Retry another mirror
HTTP Server 'Bad Gateway' : http://eclipse.cu.be/tools/buckminster/headless-3.6/plugins/org.eclipse.buckminster.pde_1.2.1.r11746.jar.pack.gz
Caused by: HttpClient connection error response code 502.
Retry another mirror
HTTP Server 'Bad Gateway' : http://eclipse.dcc.fc.up.pt/tools/buckminster/headless-3.6/plugins/org.eclipse.buckminster.pde_1.2.1.r11746.jar.pack.gz
Caused by: HttpClient connection error response code 502.
Problems downloading artifact: osgi.bundle,org.eclipse.buckminster.pde,1.2.1.r11746.
File has invalid content:C:\Windows\TEMP\signatureFile5801320584716598244.jar
Invalid content:ant_tasks/ant_tasks.jar
Caused by: org.eclipse.osgi.signedcontent.InvalidContentException: The file "ant_tasks/ant_tasks.jar" in the jar "C:\Windows\TEMP\signatureFile5801320584716598244.jar" has been tampered!
Invalid content:pde.jar
Caused by: org.eclipse.osgi.signedcontent.InvalidContentException: The file "pde.jar" in the jar "C:\Windows\TEMP\signatureFile5801320584716598244.jar" has been tampered!
Application failed, log file location: C:\Program Files (x86)\Jenkins\tools\hudson.plugins.buckminster.BuckminsterInstallation\Buckminster\director\configuration\1373529446462.log
FATAL: java.io.IOException: Command returned status 13
java.lang.RuntimeException: java.io.IOException: Command returned status 13
at hudson.plugins.buckminster.EclipseBuckminsterBuilder.perform(EclipseBuckminsterBuilder.java:265)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:802)
at hudson.model.Build$BuildExecution.build(Build.java:199)
at hudson.model.Build$BuildExecution.doRun(Build.java:160)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:584)
at hudson.model.Run.execute(Run.java:1575)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:237)
Caused by: java.io.IOException: Command returned status 13
at hudson.plugins.buckminster.BuckminsterInstallation$BuckminsterInstaller.executeScript(BuckminsterInstallation.java:319)
at hudson.plugins.buckminster.BuckminsterInstallation$BuckminsterInstaller.performInstallation(BuckminsterInstallation.java:198)
at hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:61)
at hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:107)
at hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:203)
at hudson.plugins.buckminster.BuckminsterInstallation.forNode(BuckminsterInstallation.java:84)
at hudson.plugins.buckminster.EclipseBuckminsterBuilder.perform(EclipseBuckminsterBuilder.java:251)
... 9 more
Thanks in advance,
Simon