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

David Caro dcaroest at redhat.com
Tue Oct 21 11:23:54 UTC 2014


On 10/21, Sandro Bonazzola wrote:
> 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

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/console

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

> -- 
> 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

-- 
David Caro

Red Hat S.L.
Continuous Integration Engineer - EMEA ENG Virtualization R&D

Tel.: +420 532 294 605
Email: dcaro at redhat.com
Web: www.redhat.com
RHT Global #: 82-62605
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://lists.ovirt.org/pipermail/infra/attachments/20141021/73ae429f/attachment.sig>


More information about the Infra mailing list