failure on multiple jobs due to Could not initialize class jnr.posix.JavaLibCHelper on F21 slaves

Hi, we have several jenkins jobs failing on different Fedora 21 hosts with error like: 13:27:55 ERROR: Failed to archive artifacts: exported-artifacts/* 13:27:55 java.io.IOException: java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: Could not initialize class jnr.posix.JavaLibCHelper 13:27:55 at hudson.FilePath.copyRecursiveTo(FilePath.java:2047) 13:27:55 at jenkins.model.StandardArtifactManager.archive(StandardArtifactManager.java:61) 13:27:55 at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:220) 13:27:55 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) 13:27:55 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:772) 13:27:55 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:736) 13:27:55 at hudson.model.Build$BuildExecution.post2(Build.java:183) 13:27:55 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:685) 13:27:55 at hudson.model.Run.execute(Run.java:1765) 13:27:55 at hudson.matrix.MatrixRun.run(MatrixRun.java:146) 13:27:55 at hudson.model.ResourceController.execute(ResourceController.java:88) 13:27:55 at hudson.model.Executor.run(Executor.java:234) 13:27:55 Caused by: java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: Could not initialize class jnr.posix.JavaLibCHelper 13:27:55 at hudson.remoting.Channel$3.adapt(Channel.java:772) 13:27:55 at hudson.remoting.Channel$3.adapt(Channel.java:767) 13:27:55 at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55) 13:27:55 at hudson.FilePath.copyRecursiveTo(FilePath.java:2045) 13:27:55 ... 11 more 13:27:55 Caused by: java.lang.NoClassDefFoundError: Could not initialize class jnr.posix.JavaLibCHelper 13:27:55 at jnr.posix.JavaPOSIX.<init>(JavaPOSIX.java:31) 13:27:55 at jnr.posix.POSIXFactory.getJavaPOSIX(POSIXFactory.java:91) 13:27:55 at jnr.posix.POSIXFactory.loadPOSIX(POSIXFactory.java:57) 13:27:55 at jnr.posix.LazyPOSIX.loadPOSIX(LazyPOSIX.java:33) 13:27:55 at jnr.posix.LazyPOSIX.posix(LazyPOSIX.java:29) 13:27:55 at jnr.posix.LazyPOSIX.stat(LazyPOSIX.java:267) 13:27:55 at hudson.util.IOUtils.mode(IOUtils.java:128) 13:27:55 at hudson.util.io.TarArchiver.visit(TarArchiver.java:101) 13:27:55 at hudson.util.DirScanner.scanSingle(DirScanner.java:49) 13:27:55 at hudson.FilePath$ExplicitlySpecifiedDirScanner.scan(FilePath.java:2571) 13:27:55 at hudson.FilePath.writeToTar(FilePath.java:2083) 13:27:55 at hudson.FilePath.access$1000(FilePath.java:180) 13:27:55 at hudson.FilePath$41.invoke(FilePath.java:2024) 13:27:55 at hudson.FilePath$41.invoke(FilePath.java:2020) 13:27:55 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2492) 13:27:55 at hudson.remoting.UserRequest.perform(UserRequest.java:118) 13:27:55 at hudson.remoting.UserRequest.perform(UserRequest.java:48) 13:27:55 at hudson.remoting.Request$2.run(Request.java:328) 13:27:55 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) 13:27:55 at java.util.concurrent.FutureTask.run(FutureTask.java:266) 13:27:55 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) 13:27:55 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) 13:27:55 at java.lang.Thread.run(Thread.java:745) can you please investigate and fix it? Reference jobs failing: fc21-vm01.phx.ovirt.org - http://jenkins.ovirt.org/job/jasper-reports_master_create-rpms_merged/label=... fc21-vm06.phx.ovirt.org - http://jenkins.ovirt.org/job/ioprocess_master_create-rpms-fc20-x86_64_merged... fc21-vm06.phx.ovirt.org - http://jenkins.ovirt.org/job/ioprocess_master_create-rpms-fc21-x86_64_merged... fc21-vm06.phx.ovirt.org - http://jenkins.ovirt.org/job/otopi_master_create-rpms_merged/667/label=fc21/... fc21-vm03.phx.ovirt.org - http://jenkins.ovirt.org/job/ovirt-engine-cli_master_create-rpms_merged/labe... fc21-vm03.phx.ovirt.org - http://jenkins.ovirt.org/job/ovirt-engine-jboss-as_master_create-rpms_merged... -- Sandro Bonazzola Better technology. Faster innovation. Powered by community collaboration. See how it works at redhat.com

looks to me like default jdk might be not compatible with jenkins. are we enforcing jdk 1.7 on these slaves? can we check which version of java is running there? ----- Original Message -----
From: "Sandro Bonazzola" <sbonazzo@redhat.com> To: "infra" <infra@ovirt.org> Cc: devel@ovirt.org Sent: Tuesday, October 21, 2014 2:07:17 PM Subject: failure on multiple jobs due to Could not initialize class jnr.posix.JavaLibCHelper on F21 slaves
Hi, we have several jenkins jobs failing on different Fedora 21 hosts with error like:
13:27:55 ERROR: Failed to archive artifacts: exported-artifacts/* 13:27:55 java.io.IOException: java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: Could not initialize class jnr.posix.JavaLibCHelper 13:27:55 at hudson.FilePath.copyRecursiveTo(FilePath.java:2047) 13:27:55 at jenkins.model.StandardArtifactManager.archive(StandardArtifactManager.java:61) 13:27:55 at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:220) 13:27:55 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) 13:27:55 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:772) 13:27:55 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:736) 13:27:55 at hudson.model.Build$BuildExecution.post2(Build.java:183) 13:27:55 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:685) 13:27:55 at hudson.model.Run.execute(Run.java:1765) 13:27:55 at hudson.matrix.MatrixRun.run(MatrixRun.java:146) 13:27:55 at hudson.model.ResourceController.execute(ResourceController.java:88) 13:27:55 at hudson.model.Executor.run(Executor.java:234) 13:27:55 Caused by: java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: Could not initialize class jnr.posix.JavaLibCHelper 13:27:55 at hudson.remoting.Channel$3.adapt(Channel.java:772) 13:27:55 at hudson.remoting.Channel$3.adapt(Channel.java:767) 13:27:55 at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55) 13:27:55 at hudson.FilePath.copyRecursiveTo(FilePath.java:2045) 13:27:55 ... 11 more 13:27:55 Caused by: java.lang.NoClassDefFoundError: Could not initialize class jnr.posix.JavaLibCHelper 13:27:55 at jnr.posix.JavaPOSIX.<init>(JavaPOSIX.java:31) 13:27:55 at jnr.posix.POSIXFactory.getJavaPOSIX(POSIXFactory.java:91) 13:27:55 at jnr.posix.POSIXFactory.loadPOSIX(POSIXFactory.java:57) 13:27:55 at jnr.posix.LazyPOSIX.loadPOSIX(LazyPOSIX.java:33) 13:27:55 at jnr.posix.LazyPOSIX.posix(LazyPOSIX.java:29) 13:27:55 at jnr.posix.LazyPOSIX.stat(LazyPOSIX.java:267) 13:27:55 at hudson.util.IOUtils.mode(IOUtils.java:128) 13:27:55 at hudson.util.io.TarArchiver.visit(TarArchiver.java:101) 13:27:55 at hudson.util.DirScanner.scanSingle(DirScanner.java:49) 13:27:55 at hudson.FilePath$ExplicitlySpecifiedDirScanner.scan(FilePath.java:2571) 13:27:55 at hudson.FilePath.writeToTar(FilePath.java:2083) 13:27:55 at hudson.FilePath.access$1000(FilePath.java:180) 13:27:55 at hudson.FilePath$41.invoke(FilePath.java:2024) 13:27:55 at hudson.FilePath$41.invoke(FilePath.java:2020) 13:27:55 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2492) 13:27:55 at hudson.remoting.UserRequest.perform(UserRequest.java:118) 13:27:55 at hudson.remoting.UserRequest.perform(UserRequest.java:48) 13:27:55 at hudson.remoting.Request$2.run(Request.java:328) 13:27:55 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) 13:27:55 at java.util.concurrent.FutureTask.run(FutureTask.java:266) 13:27:55 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) 13:27:55 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) 13:27:55 at java.lang.Thread.run(Thread.java:745)
can you please investigate and fix it?
Reference jobs failing: fc21-vm01.phx.ovirt.org - http://jenkins.ovirt.org/job/jasper-reports_master_create-rpms_merged/label=... fc21-vm06.phx.ovirt.org - http://jenkins.ovirt.org/job/ioprocess_master_create-rpms-fc20-x86_64_merged... fc21-vm06.phx.ovirt.org - http://jenkins.ovirt.org/job/ioprocess_master_create-rpms-fc21-x86_64_merged... fc21-vm06.phx.ovirt.org - http://jenkins.ovirt.org/job/otopi_master_create-rpms_merged/667/label=fc21/... fc21-vm03.phx.ovirt.org - http://jenkins.ovirt.org/job/ovirt-engine-cli_master_create-rpms_merged/labe... fc21-vm03.phx.ovirt.org - http://jenkins.ovirt.org/job/ovirt-engine-jboss-as_master_create-rpms_merged... -- Sandro Bonazzola Better technology. Faster innovation. Powered by community collaboration. See how it works at redhat.com _______________________________________________ Infra mailing list Infra@ovirt.org http://lists.ovirt.org/mailman/listinfo/infra

Il 21/10/2014 13:13, Eyal Edri ha scritto:
looks to me like default jdk might be not compatible with jenkins. are we enforcing jdk 1.7 on these slaves?
can we check which version of java is running there?
it's 1.8. 1.7 doesn't exist anymore in F21 and 1.8 is meant to be 100% compatible with code built on 1.7.
----- Original Message -----
From: "Sandro Bonazzola" <sbonazzo@redhat.com> To: "infra" <infra@ovirt.org> Cc: devel@ovirt.org Sent: Tuesday, October 21, 2014 2:07:17 PM Subject: failure on multiple jobs due to Could not initialize class jnr.posix.JavaLibCHelper on F21 slaves
Hi, we have several jenkins jobs failing on different Fedora 21 hosts with error like:
13:27:55 ERROR: Failed to archive artifacts: exported-artifacts/* 13:27:55 java.io.IOException: java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: Could not initialize class jnr.posix.JavaLibCHelper 13:27:55 at hudson.FilePath.copyRecursiveTo(FilePath.java:2047) 13:27:55 at jenkins.model.StandardArtifactManager.archive(StandardArtifactManager.java:61) 13:27:55 at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:220) 13:27:55 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) 13:27:55 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:772) 13:27:55 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:736) 13:27:55 at hudson.model.Build$BuildExecution.post2(Build.java:183) 13:27:55 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:685) 13:27:55 at hudson.model.Run.execute(Run.java:1765) 13:27:55 at hudson.matrix.MatrixRun.run(MatrixRun.java:146) 13:27:55 at hudson.model.ResourceController.execute(ResourceController.java:88) 13:27:55 at hudson.model.Executor.run(Executor.java:234) 13:27:55 Caused by: java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: Could not initialize class jnr.posix.JavaLibCHelper 13:27:55 at hudson.remoting.Channel$3.adapt(Channel.java:772) 13:27:55 at hudson.remoting.Channel$3.adapt(Channel.java:767) 13:27:55 at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55) 13:27:55 at hudson.FilePath.copyRecursiveTo(FilePath.java:2045) 13:27:55 ... 11 more 13:27:55 Caused by: java.lang.NoClassDefFoundError: Could not initialize class jnr.posix.JavaLibCHelper 13:27:55 at jnr.posix.JavaPOSIX.<init>(JavaPOSIX.java:31) 13:27:55 at jnr.posix.POSIXFactory.getJavaPOSIX(POSIXFactory.java:91) 13:27:55 at jnr.posix.POSIXFactory.loadPOSIX(POSIXFactory.java:57) 13:27:55 at jnr.posix.LazyPOSIX.loadPOSIX(LazyPOSIX.java:33) 13:27:55 at jnr.posix.LazyPOSIX.posix(LazyPOSIX.java:29) 13:27:55 at jnr.posix.LazyPOSIX.stat(LazyPOSIX.java:267) 13:27:55 at hudson.util.IOUtils.mode(IOUtils.java:128) 13:27:55 at hudson.util.io.TarArchiver.visit(TarArchiver.java:101) 13:27:55 at hudson.util.DirScanner.scanSingle(DirScanner.java:49) 13:27:55 at hudson.FilePath$ExplicitlySpecifiedDirScanner.scan(FilePath.java:2571) 13:27:55 at hudson.FilePath.writeToTar(FilePath.java:2083) 13:27:55 at hudson.FilePath.access$1000(FilePath.java:180) 13:27:55 at hudson.FilePath$41.invoke(FilePath.java:2024) 13:27:55 at hudson.FilePath$41.invoke(FilePath.java:2020) 13:27:55 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2492) 13:27:55 at hudson.remoting.UserRequest.perform(UserRequest.java:118) 13:27:55 at hudson.remoting.UserRequest.perform(UserRequest.java:48) 13:27:55 at hudson.remoting.Request$2.run(Request.java:328) 13:27:55 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) 13:27:55 at java.util.concurrent.FutureTask.run(FutureTask.java:266) 13:27:55 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) 13:27:55 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) 13:27:55 at java.lang.Thread.run(Thread.java:745)
can you please investigate and fix it?
Reference jobs failing: fc21-vm01.phx.ovirt.org - http://jenkins.ovirt.org/job/jasper-reports_master_create-rpms_merged/label=... fc21-vm06.phx.ovirt.org - http://jenkins.ovirt.org/job/ioprocess_master_create-rpms-fc20-x86_64_merged... fc21-vm06.phx.ovirt.org - http://jenkins.ovirt.org/job/ioprocess_master_create-rpms-fc21-x86_64_merged... fc21-vm06.phx.ovirt.org - http://jenkins.ovirt.org/job/otopi_master_create-rpms_merged/667/label=fc21/... fc21-vm03.phx.ovirt.org - http://jenkins.ovirt.org/job/ovirt-engine-cli_master_create-rpms_merged/labe... fc21-vm03.phx.ovirt.org - http://jenkins.ovirt.org/job/ovirt-engine-jboss-as_master_create-rpms_merged... -- Sandro Bonazzola Better technology. Faster innovation. Powered by community collaboration. See how it works at redhat.com _______________________________________________ Infra mailing list Infra@ovirt.org http://lists.ovirt.org/mailman/listinfo/infra
-- Sandro Bonazzola Better technology. Faster innovation. Powered by community collaboration. See how it works at redhat.com

----- Original Message -----
From: "Sandro Bonazzola" <sbonazzo@redhat.com> To: "Eyal Edri" <eedri@redhat.com>, "David Caro Estevez" <dcaroest@redhat.com>, "Barak Korren" <bkorren@redhat.com> Cc: "infra" <infra@ovirt.org>, devel@ovirt.org Sent: Tuesday, October 21, 2014 2:14:12 PM Subject: Re: failure on multiple jobs due to Could not initialize class jnr.posix.JavaLibCHelper on F21 slaves
Il 21/10/2014 13:13, Eyal Edri ha scritto:
looks to me like default jdk might be not compatible with jenkins. are we enforcing jdk 1.7 on these slaves?
can we check which version of java is running there?
it's 1.8. 1.7 doesn't exist anymore in F21 and 1.8 is meant to be 100% compatible with code built on 1.7.
i wouldn't count on it with jenkins :) there used to be a problem running master on jdk 1.7 (maybe still has), so i would 1st search there and maybe open a bug to jenkins.
----- Original Message -----
From: "Sandro Bonazzola" <sbonazzo@redhat.com> To: "infra" <infra@ovirt.org> Cc: devel@ovirt.org Sent: Tuesday, October 21, 2014 2:07:17 PM Subject: failure on multiple jobs due to Could not initialize class jnr.posix.JavaLibCHelper on F21 slaves
Hi, we have several jenkins jobs failing on different Fedora 21 hosts with error like:
13:27:55 ERROR: Failed to archive artifacts: exported-artifacts/* 13:27:55 java.io.IOException: java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: Could not initialize class jnr.posix.JavaLibCHelper 13:27:55 at hudson.FilePath.copyRecursiveTo(FilePath.java:2047) 13:27:55 at jenkins.model.StandardArtifactManager.archive(StandardArtifactManager.java:61) 13:27:55 at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:220) 13:27:55 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) 13:27:55 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:772) 13:27:55 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:736) 13:27:55 at hudson.model.Build$BuildExecution.post2(Build.java:183) 13:27:55 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:685) 13:27:55 at hudson.model.Run.execute(Run.java:1765) 13:27:55 at hudson.matrix.MatrixRun.run(MatrixRun.java:146) 13:27:55 at hudson.model.ResourceController.execute(ResourceController.java:88) 13:27:55 at hudson.model.Executor.run(Executor.java:234) 13:27:55 Caused by: java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: Could not initialize class jnr.posix.JavaLibCHelper 13:27:55 at hudson.remoting.Channel$3.adapt(Channel.java:772) 13:27:55 at hudson.remoting.Channel$3.adapt(Channel.java:767) 13:27:55 at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55) 13:27:55 at hudson.FilePath.copyRecursiveTo(FilePath.java:2045) 13:27:55 ... 11 more 13:27:55 Caused by: java.lang.NoClassDefFoundError: Could not initialize class jnr.posix.JavaLibCHelper 13:27:55 at jnr.posix.JavaPOSIX.<init>(JavaPOSIX.java:31) 13:27:55 at jnr.posix.POSIXFactory.getJavaPOSIX(POSIXFactory.java:91) 13:27:55 at jnr.posix.POSIXFactory.loadPOSIX(POSIXFactory.java:57) 13:27:55 at jnr.posix.LazyPOSIX.loadPOSIX(LazyPOSIX.java:33) 13:27:55 at jnr.posix.LazyPOSIX.posix(LazyPOSIX.java:29) 13:27:55 at jnr.posix.LazyPOSIX.stat(LazyPOSIX.java:267) 13:27:55 at hudson.util.IOUtils.mode(IOUtils.java:128) 13:27:55 at hudson.util.io.TarArchiver.visit(TarArchiver.java:101) 13:27:55 at hudson.util.DirScanner.scanSingle(DirScanner.java:49) 13:27:55 at hudson.FilePath$ExplicitlySpecifiedDirScanner.scan(FilePath.java:2571) 13:27:55 at hudson.FilePath.writeToTar(FilePath.java:2083) 13:27:55 at hudson.FilePath.access$1000(FilePath.java:180) 13:27:55 at hudson.FilePath$41.invoke(FilePath.java:2024) 13:27:55 at hudson.FilePath$41.invoke(FilePath.java:2020) 13:27:55 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2492) 13:27:55 at hudson.remoting.UserRequest.perform(UserRequest.java:118) 13:27:55 at hudson.remoting.UserRequest.perform(UserRequest.java:48) 13:27:55 at hudson.remoting.Request$2.run(Request.java:328) 13:27:55 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) 13:27:55 at java.util.concurrent.FutureTask.run(FutureTask.java:266) 13:27:55 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) 13:27:55 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) 13:27:55 at java.lang.Thread.run(Thread.java:745)
can you please investigate and fix it?
Reference jobs failing: fc21-vm01.phx.ovirt.org - http://jenkins.ovirt.org/job/jasper-reports_master_create-rpms_merged/label=... fc21-vm06.phx.ovirt.org - http://jenkins.ovirt.org/job/ioprocess_master_create-rpms-fc20-x86_64_merged... fc21-vm06.phx.ovirt.org - http://jenkins.ovirt.org/job/ioprocess_master_create-rpms-fc21-x86_64_merged... fc21-vm06.phx.ovirt.org - http://jenkins.ovirt.org/job/otopi_master_create-rpms_merged/667/label=fc21/... fc21-vm03.phx.ovirt.org - http://jenkins.ovirt.org/job/ovirt-engine-cli_master_create-rpms_merged/labe... fc21-vm03.phx.ovirt.org - http://jenkins.ovirt.org/job/ovirt-engine-jboss-as_master_create-rpms_merged... -- Sandro Bonazzola Better technology. Faster innovation. Powered by community collaboration. See how it works at redhat.com _______________________________________________ Infra mailing list Infra@ovirt.org http://lists.ovirt.org/mailman/listinfo/infra
-- Sandro Bonazzola Better technology. Faster innovation. Powered by community collaboration. See how it works at redhat.com

From: "Sandro Bonazzola" <sbonazzo@redhat.com> To: "Eyal Edri" <eedri@redhat.com>, "David Caro Estevez" <dcaroest@redh= at.com>, "Barak Korren" <bkorren@redhat.com> Cc: "infra" <infra@ovirt.org>, devel@ovirt.org Sent: Tuesday, October 21, 2014 2:14:12 PM Subject: Re: failure on multiple jobs due to Could not initialize class= jnr.posix.JavaLibCHelper on F21 slaves =20 Il 21/10/2014 13:13, Eyal Edri ha scritto:
looks to me like default jdk might be not compatible with jenkins. are we enforcing jdk 1.7 on these slaves? =20 can we check which version of java is running there? =20 it's 1.8. 1.7 doesn't exist anymore in F21 and 1.8 is meant to be 100% compatible= with code built on 1.7. =20 i wouldn't count on it with jenkins :)=20
=20 =20 ----- Original Message ----- there used to be a problem running master on jdk 1.7 (maybe still has), s= o i would 1st search there and maybe open a bug to jenkins. =20
=20 =20
=20 =20 ----- Original Message -----
From: "Sandro Bonazzola" <sbonazzo@redhat.com> To: "infra" <infra@ovirt.org> Cc: devel@ovirt.org Sent: Tuesday, October 21, 2014 2:07:17 PM Subject: failure on multiple jobs due to Could not initialize class jnr.posix.JavaLibCHelper on F21 slaves
Hi, we have several jenkins jobs failing on different Fedora 21 hosts wi=
error like:
13:27:55 ERROR: Failed to archive artifacts: exported-artifacts/* 13:27:55 java.io.IOException: java.util.concurrent.ExecutionExceptio= n: java.lang.NoClassDefFoundError: Could not initialize class jnr.posix.JavaLibCHelper 13:27:55 at hudson.FilePath.copyRecursiveTo(FilePath.java:2047) 13:27:55 at jenkins.model.StandardArtifactManager.archive(StandardArtifactManage= r.java:61) 13:27:55 at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:220) 13:27:55 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) 13:27:55 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBu= ild.java:772) 13:27:55 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSte=
13:27:55 at hudson.model.Build$BuildExecution.post2(Build.java:183) 13:27:55 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild= =2Ejava:685) 13:27:55 at hudson.model.Run.execute(Run.java:1765) 13:27:55 at hudson.matrix.MatrixRun.run(MatrixRun.java:146) 13:27:55 at hudson.model.ResourceController.execute(ResourceController.java:88) 13:27:55 at hudson.model.Executor.run(Executor.java:234) 13:27:55 Caused by: java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: Could not initialize class jnr.posix.JavaLibCHelper 13:27:55 at hudson.remoting.Channel$3.adapt(Channel.java:772) 13:27:55 at hudson.remoting.Channel$3.adapt(Channel.java:767) 13:27:55 at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55) 13:27:55 at hudson.FilePath.copyRecursiveTo(FilePath.java:2045) 13:27:55 ... 11 more 13:27:55 Caused by: java.lang.NoClassDefFoundError: Could not initia=
class jnr.posix.JavaLibCHelper 13:27:55 at jnr.posix.JavaPOSIX.<init>(JavaPOSIX.java:31) 13:27:55 at jnr.posix.POSIXFactory.getJavaPOSIX(POSIXFactory.java:9=
13:27:55 at jnr.posix.POSIXFactory.loadPOSIX(POSIXFactory.java:57) 13:27:55 at jnr.posix.LazyPOSIX.loadPOSIX(LazyPOSIX.java:33) 13:27:55 at jnr.posix.LazyPOSIX.posix(LazyPOSIX.java:29) 13:27:55 at jnr.posix.LazyPOSIX.stat(LazyPOSIX.java:267) 13:27:55 at hudson.util.IOUtils.mode(IOUtils.java:128) 13:27:55 at hudson.util.io.TarArchiver.visit(TarArchiver.java:101) 13:27:55 at hudson.util.DirScanner.scanSingle(DirScanner.java:49) 13:27:55 at hudson.FilePath$ExplicitlySpecifiedDirScanner.scan(FilePath.java:257=
13:27:55 at hudson.FilePath.writeToTar(FilePath.java:2083) 13:27:55 at hudson.FilePath.access$1000(FilePath.java:180) 13:27:55 at hudson.FilePath$41.invoke(FilePath.java:2024) 13:27:55 at hudson.FilePath$41.invoke(FilePath.java:2020) 13:27:55 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:=
13:27:55 at hudson.remoting.UserRequest.perform(UserRequest.java:11=
--aziWXe2aaRGlkyg3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Good news! I've disconnected and reconnected all the fc21 slaves, and now it seems to be working well: http://jenkins.ovirt.org/job/ioprocess_master_create-rpms-fc20-x86_64_mer= ged/12/console That forced jenkins to send again the slave .jar and restart the slave process. It might be that something altered the java setup after the slave started the first time, I'll look some of the jobs that the slave did run, one of them might be installing/removing packages for java or something. Let me know if you see that issue again, I'll be looking but anyhow On 10/21, Eyal Edri wrote: th ps(AbstractBuild.java:736) lize 1) 1) 2492) 8)
13:27:55 at hudson.remoting.UserRequest.perform(UserRequest.java:48) 13:27:55 at hudson.remoting.Request$2.run(Request.java:328) 13:27:55 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecu= torService.java:72) 13:27:55 at java.util.concurrent.FutureTask.run(FutureTask.java:266) 13:27:55 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor= =2Ejava:1142) 13:27:55 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecuto= r.java:617) 13:27:55 at java.lang.Thread.run(Thread.java:745)
can you please investigate and fix it?
Reference jobs failing: fc21-vm01.phx.ovirt.org - http://jenkins.ovirt.org/job/jasper-reports_master_create-rpms_merge= d/label=3Dfc21/39/console fc21-vm06.phx.ovirt.org - http://jenkins.ovirt.org/job/ioprocess_master_create-rpms-fc20-x86_6= 4_merged/11/console fc21-vm06.phx.ovirt.org - http://jenkins.ovirt.org/job/ioprocess_master_create-rpms-fc21-x86_6= 4_merged/9/console fc21-vm06.phx.ovirt.org - http://jenkins.ovirt.org/job/otopi_master_create-rpms_merged/667/lab= el=3Dfc21/console fc21-vm03.phx.ovirt.org - http://jenkins.ovirt.org/job/ovirt-engine-cli_master_create-rpms_mer= ged/label=3Dfc21/347/console fc21-vm03.phx.ovirt.org - http://jenkins.ovirt.org/job/ovirt-engine-jboss-as_master_create-rpm= s_merged/ARCH=3Dx86_64,DISTRIBUTION=3Depel-6/11/consoleFull -- Sandro Bonazzola Better technology. Faster innovation. Powered by community collabora= tion. See how it works at redhat.com _______________________________________________ Infra mailing list Infra@ovirt.org http://lists.ovirt.org/mailman/listinfo/infra
=20 =20 -- Sandro Bonazzola Better technology. Faster innovation. Powered by community collaboratio= n. See how it works at redhat.com =20
--=20 David Caro Red Hat S.L. Continuous Integration Engineer - EMEA ENG Virtualization R&D Tel.: +420 532 294 605 Email: dcaro@redhat.com Web: www.redhat.com RHT Global #: 82-62605 --aziWXe2aaRGlkyg3 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJURkY/AAoJEEBxx+HSYmnD4FkH/3d/j2HJ8pJOtC5LrIISZEd0 iLSelGtp+WRq9X5bIt7r5ofFX7z4vgWQ4FDUUsA7WKjdy6rG1duaYkIb6S3lrW+u 4nTNn8HAa1vtjVHBiGzTtPpucFal3XLYOVOYUM1DPbQHNFAWH7pVeQDRcKK1VUfu T5qcjCLnOTQmDs8XgdwJIG168vJzrMNi/uiJUC3F3vbFS0ut9VBJW+Jz5WhPNmSY AXDnueJaS6/k8ZfvRc1GHHViJiqnFMqMHuTwGiaf80dZlsuPwFIIllh1elXOUsPe R9ys6FlZviukQhjI5eScJ0GUaxEkhot9lTL5VJn1dFh5ZLQ7HOO2OFJY6QGWMh8= =mYiX -----END PGP SIGNATURE----- --aziWXe2aaRGlkyg3--

Hi, we have several jenkins jobs failing on different Fedora 21 hosts with er= ror like: =20 13:27:55 ERROR: Failed to archive artifacts: exported-artifacts/* 13:27:55 java.io.IOException: java.util.concurrent.ExecutionException: ja= va.lang.NoClassDefFoundError: Could not initialize class jnr.posix.JavaLibC= Helper 13:27:55 at hudson.FilePath.copyRecursiveTo(FilePath.java:2047) 13:27:55 at jenkins.model.StandardArtifactManager.archive(StandardArtifa= ctManager.java:61) 13:27:55 at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:=
--q5r20fdKX+PFtYHw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 10/21, Sandro Bonazzola wrote: 220)
13:27:55 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.jav= a:20) 13:27:55 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(Ab= stractBuild.java:772) 13:27:55 at hudson.model.AbstractBuild$AbstractBuildExecution.performAll= BuildSteps(AbstractBuild.java:736) 13:27:55 at hudson.model.Build$BuildExecution.post2(Build.java:183) 13:27:55 at hudson.model.AbstractBuild$AbstractBuildExecution.post(Abstr= actBuild.java:685) 13:27:55 at hudson.model.Run.execute(Run.java:1765) 13:27:55 at hudson.matrix.MatrixRun.run(MatrixRun.java:146) 13:27:55 at hudson.model.ResourceController.execute(ResourceController.j= ava:88) 13:27:55 at hudson.model.Executor.run(Executor.java:234) 13:27:55 Caused by: java.util.concurrent.ExecutionException: java.lang.No= ClassDefFoundError: Could not initialize class jnr.posix.JavaLibCHelper 13:27:55 at hudson.remoting.Channel$3.adapt(Channel.java:772) 13:27:55 at hudson.remoting.Channel$3.adapt(Channel.java:767) 13:27:55 at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55) 13:27:55 at hudson.FilePath.copyRecursiveTo(FilePath.java:2045) 13:27:55 ... 11 more 13:27:55 Caused by: java.lang.NoClassDefFoundError: Could not initialize = class jnr.posix.JavaLibCHelper 13:27:55 at jnr.posix.JavaPOSIX.<init>(JavaPOSIX.java:31) 13:27:55 at jnr.posix.POSIXFactory.getJavaPOSIX(POSIXFactory.java:91) 13:27:55 at jnr.posix.POSIXFactory.loadPOSIX(POSIXFactory.java:57) 13:27:55 at jnr.posix.LazyPOSIX.loadPOSIX(LazyPOSIX.java:33) 13:27:55 at jnr.posix.LazyPOSIX.posix(LazyPOSIX.java:29) 13:27:55 at jnr.posix.LazyPOSIX.stat(LazyPOSIX.java:267) 13:27:55 at hudson.util.IOUtils.mode(IOUtils.java:128) 13:27:55 at hudson.util.io.TarArchiver.visit(TarArchiver.java:101) 13:27:55 at hudson.util.DirScanner.scanSingle(DirScanner.java:49) 13:27:55 at hudson.FilePath$ExplicitlySpecifiedDirScanner.scan(FilePath.= java:2571) 13:27:55 at hudson.FilePath.writeToTar(FilePath.java:2083) 13:27:55 at hudson.FilePath.access$1000(FilePath.java:180) 13:27:55 at hudson.FilePath$41.invoke(FilePath.java:2024) 13:27:55 at hudson.FilePath$41.invoke(FilePath.java:2020) 13:27:55 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2492) 13:27:55 at hudson.remoting.UserRequest.perform(UserRequest.java:118) 13:27:55 at hudson.remoting.UserRequest.perform(UserRequest.java:48) 13:27:55 at hudson.remoting.Request$2.run(Request.java:328) 13:27:55 at hudson.remoting.InterceptingExecutorService$1.call(Intercept= ingExecutorService.java:72) 13:27:55 at java.util.concurrent.FutureTask.run(FutureTask.java:266) 13:27:55 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPool= Executor.java:1142) 13:27:55 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo= lExecutor.java:617) 13:27:55 at java.lang.Thread.run(Thread.java:745) =20 can you please investigate and fix it? =20 Reference jobs failing: fc21-vm01.phx.ovirt.org - http://jenkins.ovirt.org/job/jasper-reports_mas= ter_create-rpms_merged/label=3Dfc21/39/console fc21-vm06.phx.ovirt.org - http://jenkins.ovirt.org/job/ioprocess_master_c= reate-rpms-fc20-x86_64_merged/11/console fc21-vm06.phx.ovirt.org - http://jenkins.ovirt.org/job/ioprocess_master_c= reate-rpms-fc21-x86_64_merged/9/console fc21-vm06.phx.ovirt.org - http://jenkins.ovirt.org/job/otopi_master_creat= e-rpms_merged/667/label=3Dfc21/console fc21-vm03.phx.ovirt.org - http://jenkins.ovirt.org/job/ovirt-engine-cli_m= aster_create-rpms_merged/label=3Dfc21/347/console fc21-vm03.phx.ovirt.org - http://jenkins.ovirt.org/job/ovirt-engine-jboss= -as_master_create-rpms_merged/ARCH=3Dx86_64,DISTRIBUTION=3Depel-6/11/consol= eFull
I'll try to update jenkins again today, there's a quite new and stable version available, but it does not have any specific bugfixes for that. I've found this issue: http://jenkins.ovirt.org/job/ovirt-engine_master_find-bugs_merged/1308/co= nsole I'll keep investigating. I remember having seen that when the slave jar was not updated when using jnlp slaves, but those are ssh slaves so it should get automatically updated by jenkins each time it connects.... looking
--=20 Sandro Bonazzola Better technology. Faster innovation. Powered by community collaboration. See how it works at redhat.com _______________________________________________ Infra mailing list Infra@ovirt.org http://lists.ovirt.org/mailman/listinfo/infra
--=20 David Caro Red Hat S.L. Continuous Integration Engineer - EMEA ENG Virtualization R&D Tel.: +420 532 294 605 Email: dcaro@redhat.com Web: www.redhat.com RHT Global #: 82-62605 --q5r20fdKX+PFtYHw Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJURkJKAAoJEEBxx+HSYmnDs10H/iKT6pTY0G9p0FEIjwLTIp/i I0Sc4e2UwUB4O8lqE2XR/8n2/suB6TyyemvUv7Z5OGXeF6l3TfmTriNIO8l0kUNU z2Fnwsugqel9PyBcFjPxl/XKQvXL7RR4L2oEqyDtnah4eXFZ2tdSvq7el+7dXFGJ 5/qgZIOLwmc6TErtURvNqNdEThqN1B2LvjTsAzKWz/hlwHhTFrTGEThvL6OSb2u+ CB0PgThieLLZesOgTTs3wmpRTzIyoUapG2xr80fk+weUI2va97SGZq0NzWqq8p5Z H6RauCamhKUlODdn74HzZzpvuRFF9TEzcCCX00H9c1Scto3rOhO0jNN8shZIAFU= =PX7p -----END PGP SIGNATURE----- --q5r20fdKX+PFtYHw--
participants (4)
-
David Caro
-
David Caro Estevez
-
Eyal Edri
-
Sandro Bonazzola