You are viewing a plain text version of this content. The canonical link for it is here.
Posted to infrastructure-issues@apache.org by "Sathwik Bantwal Premakumar (JIRA)" <ji...@apache.org> on 2016/06/12 08:11:20 UTC

[jira] [Created] (INFRA-12091) Project builds using maven 3.0.4 or 3.3.3 failing on Jenkins

Sathwik Bantwal Premakumar created INFRA-12091:
--------------------------------------------------

             Summary: Project builds using maven 3.0.4 or 3.3.3 failing on Jenkins
                 Key: INFRA-12091
                 URL: https://issues.apache.org/jira/browse/INFRA-12091
             Project: Infrastructure
          Issue Type: Bug
          Components: Jenkins
            Reporter: Sathwik Bantwal Premakumar


Of late builds ode-jacob are failing on Jenkin. Kindly find the error logs.

Error when using maven 3.0.4

Started by user sathwik
[EnvInject] - Loading node environment variables.
Building remotely on ubuntu-1 (docker Ubuntu ubuntu yahoo-not-h2 ubuntu1) in workspace /home/jenkins/jenkins-slave/workspace/ODE-jacob
java.io.IOException: Failed to install https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.0.4/apache-maven-3.0.4-bin.zip to /home/jenkins/tools/maven/apache-maven-3.0.4
	at hudson.FilePath.installIfNecessaryFrom(FilePath.java:832)
	at hudson.tools.DownloadFromUrlInstaller.performInstallation(DownloadFromUrlInstaller.java:75)
	at hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:68)
	at hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:108)
	at hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:206)
	at hudson.tasks.Maven$MavenInstallation.forNode(Maven.java:624)
	at hudson.maven.MavenModuleSetBuild.getEnvironment(MavenModuleSetBuild.java:183)
	at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1046)
	at hudson.scm.SCM.checkout(SCM.java:485)
	at hudson.model.AbstractProject.checkout(AbstractProject.java:1276)
	at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:607)
	at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529)
	at hudson.model.Run.execute(Run.java:1738)
	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531)
	at hudson.model.ResourceController.execute(ResourceController.java:98)
	at hudson.model.Executor.run(Executor.java:410)
Caused by: java.io.IOException: remote file operation failed: /home/jenkins/tools/maven/apache-maven-3.0.4 at hudson.remoting.Channel@2be9fe6d:ubuntu-1: java.nio.file.AccessDeniedException: /home/jenkins/tools/maven/apache-maven-3.0.4/conf/settings.xml
	at hudson.FilePath.act(FilePath.java:986)
	at hudson.FilePath.act(FilePath.java:968)
	at hudson.FilePath.deleteContents(FilePath.java:1183)
	at hudson.FilePath.installIfNecessaryFrom(FilePath.java:796)
	... 16 more
Caused by: java.nio.file.AccessDeniedException: /home/jenkins/tools/maven/apache-maven-3.0.4/conf/settings.xml
	at sun.nio.fs.UnixException.translateToIOException(UnixException.java:84)
	at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
	at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
	at sun.nio.fs.UnixFileSystemProvider.implDelete(UnixFileSystemProvider.java:244)
	at sun.nio.fs.AbstractFileSystemProvider.delete(AbstractFileSystemProvider.java:103)
	at java.nio.file.Files.delete(Files.java:1077)
	at sun.reflect.GeneratedMethodAccessor2454.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at hudson.Util.deleteFile(Util.java:255)
	at hudson.FilePath.deleteRecursive(FilePath.java:1203)
	at hudson.FilePath.deleteContentsRecursive(FilePath.java:1212)
	at hudson.FilePath.deleteRecursive(FilePath.java:1194)
	at hudson.FilePath.deleteContentsRecursive(FilePath.java:1212)
	at hudson.FilePath.access$1100(FilePath.java:190)
	at hudson.FilePath$15.invoke(FilePath.java:1186)
	at hudson.FilePath$15.invoke(FilePath.java:1183)
	at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2719)
	at hudson.remoting.UserRequest.perform(UserRequest.java:120)
	at hudson.remoting.UserRequest.perform(UserRequest.java:48)
	at hudson.remoting.Request$2.run(Request.java:326)
	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:745)
	at ......remote call to ubuntu-1(Native Method)
	at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1416)
	at hudson.remoting.UserResponse.retrieve(UserRequest.java:220)
	at hudson.remoting.Channel.call(Channel.java:781)
	at hudson.FilePath.act(FilePath.java:979)
	... 19 more
Retrying after 10 seconds

java.io.IOException: Failed to install https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.0.4/apache-maven-3.0.4-bin.zip to /home/jenkins/tools/maven/apache-maven-3.0.4
	at hudson.FilePath.installIfNecessaryFrom(FilePath.java:832)
	at hudson.tools.DownloadFromUrlInstaller.performInstallation(DownloadFromUrlInstaller.java:75)
	at hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:68)
	at hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:108)
	at hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:206)
	at hudson.tasks.Maven$MavenInstallation.forNode(Maven.java:624)
	at hudson.maven.MavenModuleSetBuild.getEnvironment(MavenModuleSetBuild.java:183)
	at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1046)
	at hudson.scm.SCM.checkout(SCM.java:485)
	at hudson.model.AbstractProject.checkout(AbstractProject.java:1276)
	at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:607)
	at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529)
	at hudson.model.Run.execute(Run.java:1738)
	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531)
	at hudson.model.ResourceController.execute(ResourceController.java:98)
	at hudson.model.Executor.run(Executor.java:410)
Caused by: java.io.IOException: remote file operation failed: /home/jenkins/tools/maven/apache-maven-3.0.4 at hudson.remoting.Channel@2be9fe6d:ubuntu-1: java.nio.file.AccessDeniedException: /home/jenkins/tools/maven/apache-maven-3.0.4/conf/settings.xml
	at hudson.FilePath.act(FilePath.java:986)
	at hudson.FilePath.act(FilePath.java:968)
	at hudson.FilePath.deleteContents(FilePath.java:1183)
	at hudson.FilePath.installIfNecessaryFrom(FilePath.java:796)
	... 16 more
Caused by: java.nio.file.AccessDeniedException: /home/jenkins/tools/maven/apache-maven-3.0.4/conf/settings.xml
	at sun.nio.fs.UnixException.translateToIOException(UnixException.java:84)
	at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
	at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
	at sun.nio.fs.UnixFileSystemProvider.implDelete(UnixFileSystemProvider.java:244)
	at sun.nio.fs.AbstractFileSystemProvider.delete(AbstractFileSystemProvider.java:103)
	at java.nio.file.Files.delete(Files.java:1077)
	at sun.reflect.GeneratedMethodAccessor2454.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at hudson.Util.deleteFile(Util.java:255)
	at hudson.FilePath.deleteRecursive(FilePath.java:1203)
	at hudson.FilePath.deleteContentsRecursive(FilePath.java:1212)
	at hudson.FilePath.deleteRecursive(FilePath.java:1194)
	at hudson.FilePath.deleteContentsRecursive(FilePath.java:1212)
	at hudson.FilePath.access$1100(FilePath.java:190)
	at hudson.FilePath$15.invoke(FilePath.java:1186)
	at hudson.FilePath$15.invoke(FilePath.java:1183)
	at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2719)
	at hudson.remoting.UserRequest.perform(UserRequest.java:120)
	at hudson.remoting.UserRequest.perform(UserRequest.java:48)
	at hudson.remoting.Request$2.run(Request.java:326)
	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:745)
	at ......remote call to ubuntu-1(Native Method)
	at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1416)
	at hudson.remoting.UserResponse.retrieve(UserRequest.java:220)
	at hudson.remoting.Channel.call(Channel.java:781)
	at hudson.FilePath.act(FilePath.java:979)
	... 19 more
Retrying after 10 seconds

java.io.IOException: Failed to install https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.0.4/apache-maven-3.0.4-bin.zip to /home/jenkins/tools/maven/apache-maven-3.0.4
	at hudson.FilePath.installIfNecessaryFrom(FilePath.java:832)
	at hudson.tools.DownloadFromUrlInstaller.performInstallation(DownloadFromUrlInstaller.java:75)
	at hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:68)
	at hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:108)
	at hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:206)
	at hudson.tasks.Maven$MavenInstallation.forNode(Maven.java:624)
	at hudson.maven.MavenModuleSetBuild.getEnvironment(MavenModuleSetBuild.java:183)
	at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1046)
	at hudson.scm.SCM.checkout(SCM.java:485)
	at hudson.model.AbstractProject.checkout(AbstractProject.java:1276)
	at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:607)
	at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529)
	at hudson.model.Run.execute(Run.java:1738)
	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531)
	at hudson.model.ResourceController.execute(ResourceController.java:98)
	at hudson.model.Executor.run(Executor.java:410)
Caused by: java.io.IOException: remote file operation failed: /home/jenkins/tools/maven/apache-maven-3.0.4 at hudson.remoting.Channel@2be9fe6d:ubuntu-1: java.nio.file.AccessDeniedException: /home/jenkins/tools/maven/apache-maven-3.0.4/conf/settings.xml
	at hudson.FilePath.act(FilePath.java:986)
	at hudson.FilePath.act(FilePath.java:968)
	at hudson.FilePath.deleteContents(FilePath.java:1183)
	at hudson.FilePath.installIfNecessaryFrom(FilePath.java:796)
	... 16 more
Caused by: java.nio.file.AccessDeniedException: /home/jenkins/tools/maven/apache-maven-3.0.4/conf/settings.xml
	at sun.nio.fs.UnixException.translateToIOException(UnixException.java:84)
	at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
	at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
	at sun.nio.fs.UnixFileSystemProvider.implDelete(UnixFileSystemProvider.java:244)
	at sun.nio.fs.AbstractFileSystemProvider.delete(AbstractFileSystemProvider.java:103)
	at java.nio.file.Files.delete(Files.java:1077)
	at sun.reflect.GeneratedMethodAccessor2454.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at hudson.Util.deleteFile(Util.java:255)
	at hudson.FilePath.deleteRecursive(FilePath.java:1203)
	at hudson.FilePath.deleteContentsRecursive(FilePath.java:1212)
	at hudson.FilePath.deleteRecursive(FilePath.java:1194)
	at hudson.FilePath.deleteContentsRecursive(FilePath.java:1212)
	at hudson.FilePath.access$1100(FilePath.java:190)
	at hudson.FilePath$15.invoke(FilePath.java:1186)
	at hudson.FilePath$15.invoke(FilePath.java:1183)
	at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2719)
	at hudson.remoting.UserRequest.perform(UserRequest.java:120)
	at hudson.remoting.UserRequest.perform(UserRequest.java:48)
	at hudson.remoting.Request$2.run(Request.java:326)
	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:745)
	at ......remote call to ubuntu-1(Native Method)
	at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1416)
	at hudson.remoting.UserResponse.retrieve(UserRequest.java:220)
	at hudson.remoting.Channel.call(Channel.java:781)
	at hudson.FilePath.act(FilePath.java:979)
	... 19 more
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any

Error retrieving environment vars: Failed to install https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.0.4/apache-maven-3.0.4-bin.zip to /home/jenkins/tools/maven/apache-maven-3.0.4
An attempt to send an e-mail to empty list of recipients, ignored.
Finished: FAILURE



Error when using maven 3.3.3

Started by user sathwik
[EnvInject] - Loading node environment variables.
Building remotely on ubuntu-1 (docker Ubuntu ubuntu yahoo-not-h2 ubuntu1) in workspace /home/jenkins/jenkins-slave/workspace/ODE-jacob
Cloning the remote Git repository
Cloning repository https://git-wip-us.apache.org/repos/asf/ode-jacob.git
 > git init /home/jenkins/jenkins-slave/workspace/ODE-jacob # timeout=10
Fetching upstream changes from https://git-wip-us.apache.org/repos/asf/ode-jacob.git
 > git --version # timeout=10
 > git -c core.askpass=true fetch --tags --progress https://git-wip-us.apache.org/repos/asf/ode-jacob.git +refs/heads/*:refs/remotes/origin/*
 > git config remote.origin.url https://git-wip-us.apache.org/repos/asf/ode-jacob.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://git-wip-us.apache.org/repos/asf/ode-jacob.git # timeout=10
Fetching upstream changes from https://git-wip-us.apache.org/repos/asf/ode-jacob.git
 > git -c core.askpass=true fetch --tags --progress https://git-wip-us.apache.org/repos/asf/ode-jacob.git +refs/heads/*:refs/remotes/origin/*
Seen branch in repository origin/2.0a
Seen branch in repository origin/master
Seen 2 remote branches
Checking out Revision 5eeed6214c03ac7c8ac6d003233003ed2958fc07 (origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 5eeed6214c03ac7c8ac6d003233003ed2958fc07
 > git rev-list 5eeed6214c03ac7c8ac6d003233003ed2958fc07 # timeout=10
 > git tag -a -f -m Jenkins Build #1405 jenkins-ODE-jacob-1405 # timeout=10
No emails were triggered.
Parsing POMs
Established TCP socket on 41534
maven32-agent.jar already up to date
maven32-interceptor.jar already up to date
maven3-interceptor-commons.jar already up to date
[ODE-jacob] $ /home/jenkins/tools/java/latest1.6/bin/java -Xmx2g -Xms256m -XX:MaxPermSize=512m -cp /home/jenkins/jenkins-slave/maven32-agent.jar:/home/jenkins/jenkins-slave/tools/hudson.tasks.Maven_MavenInstallation/maven-3.3.3/boot/plexus-classworlds-2.5.2.jar:/home/jenkins/jenkins-slave/tools/hudson.tasks.Maven_MavenInstallation/maven-3.3.3/conf/logging jenkins.maven3.agent.Maven32Main /home/jenkins/jenkins-slave/tools/hudson.tasks.Maven_MavenInstallation/maven-3.3.3 /home/jenkins/jenkins-slave/slave.jar /home/jenkins/jenkins-slave/maven32-interceptor.jar /home/jenkins/jenkins-slave/maven3-interceptor-commons.jar 41534
Exception in thread "main" java.lang.ClassNotFoundException: hudson.remoting.Launcher
	at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
	at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)
	at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:254)
	at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)
	at jenkins.maven3.agent.Maven32Main.main(Maven32Main.java:143)
	at jenkins.maven3.agent.Maven32Main.main(Maven32Main.java:74)
ERROR: Failed to parse POMs
java.io.EOFException: unexpected stream termination
	at hudson.remoting.ChannelBuilder.negotiate(ChannelBuilder.java:365)
	at hudson.remoting.ChannelBuilder.build(ChannelBuilder.java:310)
	at hudson.slaves.Channels.forProcess(Channels.java:115)
	at hudson.maven.AbstractMavenProcessFactory.newProcess(AbstractMavenProcessFactory.java:297)
	at hudson.maven.ProcessCache.get(ProcessCache.java:236)
	at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:778)
	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)
	at hudson.model.Run.execute(Run.java:1738)
	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531)
	at hudson.model.ResourceController.execute(ResourceController.java:98)
	at hudson.model.Executor.run(Executor.java:410)
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any
An attempt to send an e-mail to empty list of recipients, ignored.
Finished: FAILURE




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)