RE : Re: File copy from master to slave fails on AIX

25 views
Skip to first unread message

Romain Seguy

unread,
Dec 13, 2010, 6:31:33 AM12/13/10
to hudson...@googlegroups.com

Hmm, am I right if I say that the test for the slave was not made using the flatten option? If yes, then it's normal because I implemented the fix only when using flatten. May you give a try with it?

Romain

Le 13 déc. 2010 11:50, "Hendryk Bockelmann" <bocke...@dkrz.de> a écrit :

Hello Romain,

I installed the snapshot version 1.2.3 of plugin and got the following results:

i/ the flatten option works fine, thanx
ii/ just a hint: a help message for the checkbox 'Flatten directories' should be given, e.g. like 'Normally directory structure is prevented when files are copied. If you want to copy all files directly into workspace on slave, enable this option.'
iii/ on AIX slave copy of files still not possible ... error log as before:

Copying 'userContent/important_script.sh', excluding '' from 'file:/var/lib/hudson/' on the master to 'file:/home/user/hudson/workspace/importantJOB/' on 'blizzard.dkrz.de'.
FATAL: java.lang.UnsatisfiedLinkError: jnidispatch (/com/sun/jna/aix-ppc/libjnidispatch.a) not found in resource path
hudson.util.IOException2: java.lang.UnsatisfiedLinkError: jnidispatch (/com/sun/jna/aix-ppc/libjnidispatch.a) not found in resource path
	at hudson.FilePath.copyRecursiveTo(FilePath.java:1474)
	at hudson.FilePath.copyRecursiveTo(FilePath.java:1399)
	at com.michelin.cio.hudson.plugins.copytoslave.CopyToSlaveUtils.hudson5977(CopyToSlaveUtils.java:101)
	at com.michelin.cio.hudson.plugins.copytoslave.CopyToSlaveBuildWrapper.setUp(CopyToSlaveBuildWrapper.java:91)
	at hudson.model.Build$RunnerImpl.doRun(Build.java:131)
	at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:417)
	at hudson.model.Run.run(Run.java:1337)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
	at hudson.model.ResourceController.execute(ResourceController.java:88)
	at hudson.model.Executor.run(Executor.java:140)
Caused by: java.util.concurrent.ExecutionException: java.lang.UnsatisfiedLinkError: jnidispatch (/com/sun/jna/aix-ppc/libjnidispatch.a) not found in resource path
	at hudson.remoting.Channel$2.adapt(Channel.java:662)
	at hudson.remoting.Channel$2.adapt(Channel.java:657)
	at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55)
	at hudson.FilePath.copyRecursiveTo(FilePath.java:1472)
	... 9 more
Caused by: java.lang.UnsatisfiedLinkError: jnidispatch (/com/sun/jna/aix-ppc/libjnidispatch.a) not found in resource path
	at com.sun.jna.Native.loadNativeLibraryFromJar(Native.java:703)
	at com.sun.jna.Native.loadNativeLibrary(Native.java:680)
	at com.sun.jna.Native.<clinit>(Native.java:108)
	at java.lang.J9VMInternals.initializeImpl(Native Method)
	at java.lang.J9VMInternals.initialize(J9VMInternals.java:200)
	at hudson.util.jna.GNUCLibrary.<clinit>(GNUCLibrary.java:105)
	at java.lang.J9VMInternals.initializeImpl(Native Method)
	at java.lang.J9VMInternals.initialize(J9VMInternals.java:200)
	at hudson.FilePath.readFromTar(FilePath.java:1570)
	at hudson.FilePath.access$100(FilePath.java:159)
	at hudson.FilePath$32.invoke(FilePath.java:1463)
	at hudson.FilePath$32.invoke(FilePath.java:1460)
	at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1899)
	at hudson.remoting.UserRequest.perform(UserRequest.java:114)
	at hudson.remoting.UserRequest.perform(UserRequest.java:48)
	at hudson.remoting.Request$2.run(Request.java:270)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:453)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:315)
	at java.util.concurrent.FutureTask.run(FutureTask.java:150)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:898)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:920)
	at java.lang.Thread.run(Thread.java:736)




On 10/12/10 17:25, Roms wrote:
>
> Hey Hendryk,
>
> I've attached a snapshot version of the plugi...

Hendryk Bockelmann

unread,
Dec 13, 2010, 6:43:12 AM12/13/10
to hudson...@googlegroups.com
I configured my job on AIX slave to use both the 'Flatten directories' and the 'Specified paths are relative to HUDSON_HOME' option ... still the error


FATAL: java.lang.UnsatisfiedLinkError: jnidispatch (/com/sun/jna/aix-ppc/libjnidispatch.a) not found in resource path


-- 
Hendryk Bockelmann
DKRZ GmbH, Department: Application software

Deutsches Klimarechenzentrum
Bundesstraße 45a
D-20146 Hamburg

email bocke...@dkrz.de
phone +49 (0)40 460094-144
fax   +49 (0)40 460094-270
web   http://www.dkrz.de

Romain Seguy

unread,
Dec 13, 2010, 7:07:46 AM12/13/10
to hudson...@googlegroups.com
Ooops, I forgot to enable the temp fix on another place in the plugin.
I've updated the HPI file in the issue tracker. It should be ok now
(as long as flatten and/or includes Ant's default excludes options are
enabled).

2010/12/13 Hendryk Bockelmann <bocke...@dkrz.de>:

Hendryk Bockelmann

unread,
Dec 13, 2010, 9:13:33 AM12/13/10
to hudson...@googlegroups.com
hey romain, thanx for the new version ... everything is all right now, I
can use AIX and Linux clients in the same fashion

Romain Seguy

unread,
Dec 13, 2010, 12:34:25 PM12/13/10
to hudson...@googlegroups.com
OK, that's good news. I'll go ahead and will release an official
1.2.3 version tonight. I'll also commit the fix directly to Hudson
core.

Best,
Romain

2010/12/13 Hendryk Bockelmann <bocke...@dkrz.de>:

Reply all
Reply to author
Forward
0 new messages