[ovirt-devel] failure on multiple jobs due to Could not initialize class jnr.posix.JavaLibCHelper on F21 slaves
Sandro Bonazzola
sbonazzo at redhat.com
Tue Oct 21 11:14:12 UTC 2014
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 at redhat.com>
>> To: "infra" <infra at ovirt.org>
>> Cc: devel at 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/39/console
>> fc21-vm06.phx.ovirt.org -
>> http://jenkins.ovirt.org/job/ioprocess_master_create-rpms-fc20-x86_64_merged/11/console
>> fc21-vm06.phx.ovirt.org -
>> http://jenkins.ovirt.org/job/ioprocess_master_create-rpms-fc21-x86_64_merged/9/console
>> fc21-vm06.phx.ovirt.org -
>> http://jenkins.ovirt.org/job/otopi_master_create-rpms_merged/667/label=fc21/console
>> fc21-vm03.phx.ovirt.org -
>> http://jenkins.ovirt.org/job/ovirt-engine-cli_master_create-rpms_merged/label=fc21/347/console
>> fc21-vm03.phx.ovirt.org -
>> http://jenkins.ovirt.org/job/ovirt-engine-jboss-as_master_create-rpms_merged/ARCH=x86_64,DISTRIBUTION=epel-6/11/consoleFull
>> --
>> Sandro Bonazzola
>> Better technology. Faster innovation. Powered by community collaboration.
>> See how it works at redhat.com
>> _______________________________________________
>> Infra mailing list
>> Infra at 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
More information about the Devel
mailing list