[JIRA] (JENKINS-13614) archiving artefacts from remote MacOS X, IBM AIX slave fails

2012-10-26 Thread hinr...@prostep.com (JIRA)














































WH
 commented on  JENKINS-13614


archiving artefacts from remote MacOS X, IBM AIX slave fails















With 1.486 I have no problems anymore. The exception "UnsupportedOperationException" is gone.

Master: Windows XP, JDK6 (Oracle)
Slave1: AIX 5.3, Java6 64-bit SDK (IBM)
Slave2: AIX 6.1, Java6 64-bit SDK (IBM)

I'm still waiting for the next LTS release which includes the fixes.

BTW: Now I have a problem with the Copy Artifact Plugin, which sometimes doesn't copy artifacts of some configuration builds of a matrix job.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira






[JIRA] (JENKINS-13614) archiving artefacts from remote MacOS X, IBM AIX slave fails

2012-10-25 Thread smyau...@gmail.com (JIRA)














































Natalia Naumova
 commented on  JENKINS-13614


archiving artefacts from remote MacOS X, IBM AIX slave fails















Still can't archive artifacts on ia64 slave.
Now the jobs just hangs on 'Archiving artifacts' step.  But now there's no any exceptions in the logs...
Using v1.487



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira






[JIRA] (JENKINS-13614) archiving artefacts from remote MacOS X, IBM AIX slave fails

2012-10-25 Thread nickolay.marti...@hp.com (JIRA)














































Nickolay Martinov
 commented on  JENKINS-13614


archiving artefacts from remote MacOS X, IBM AIX slave fails















Hello Natalia, could you please clarify if new version still fails with Java 6 or with Java 7?



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira






[JIRA] (JENKINS-13614) archiving artefacts from remote MacOS X, IBM AIX slave fails

2012-10-25 Thread smyau...@gmail.com (JIRA)














































Natalia Naumova
 commented on  JENKINS-13614


archiving artefacts from remote MacOS X, IBM AIX slave fails















Nikoloay, I tried with Java 6 (openjdk). 
The same behavior is for 1.487, 1.483 also. 



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira






[JIRA] (JENKINS-13614) archiving artefacts from remote MacOS X, IBM AIX slave fails

2012-10-25 Thread smyau...@gmail.com (JIRA)












































 
Natalia Naumova
 edited a comment on  JENKINS-13614


archiving artefacts from remote MacOS X, IBM AIX slave fails
















Nikolay, I tried with Java 6 (openjdk). 
The same behavior is for 1.487, 1.483 also. 



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira






[JIRA] (JENKINS-13614) archiving artefacts from remote MacOS X, IBM AIX slave fails

2012-10-25 Thread smyau...@gmail.com (JIRA)












































 
Natalia Naumova
 edited a comment on  JENKINS-13614


archiving artefacts from remote MacOS X, IBM AIX slave fails
















Nickolay, I tried with Java 6 (openjdk). 
The same behavior is for 1.487, 1.483 also. 



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira






[JIRA] (JENKINS-13614) archiving artefacts from remote MacOS X, IBM AIX slave fails

2012-10-10 Thread hinr...@prostep.com (JIRA)














































WH
 commented on  JENKINS-13614


archiving artefacts from remote MacOS X, IBM AIX slave fails















Is it possible to get LTS 1466.2 applied with the mentioned patches soon?



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira






[JIRA] (JENKINS-13614) archiving artefacts from remote MacOS X, IBM AIX slave fails

2012-10-04 Thread brett.dellegra...@gmail.com (JIRA)














































Brett Delle Grazie
 updated  JENKINS-13614


archiving artefacts from remote MacOS X, IBM AIX slave fails
















Change By:


Brett Delle Grazie
(04/Oct/12 9:30 AM)




Environment:


Jenkins1.461+1.472
+1.466.2
Masternode:DebianLinux,Tomcat7Slavenode:MacOSX10.6Slavenode:IBMAIX5.3
,AIX6.1



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira






[JIRA] (JENKINS-13614) archiving artefacts from remote MacOS X, IBM AIX slave fails

2012-10-03 Thread jgl...@cloudbees.com (JIRA)














































Jesse Glick
 commented on  JENKINS-13614


archiving artefacts from remote MacOS X, IBM AIX slave fails















@nickolay_martinov: your patch will still throw the error when the file is detected as a symlink but cannot be read for some reason, which may be a problem. Also for a proper implementation of resolveSymlink (such as now in trunk when using Java 7) it is more efficient to just call this method and check for null then to first call isSymlink. That said, either patch would probably suffice as a hotfix for LTS.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira






[JIRA] (JENKINS-13614) archiving artefacts from remote MacOS X, IBM AIX slave fails

2012-10-02 Thread jgl...@cloudbees.com (JIRA)














































Jesse Glick
 commented on  JENKINS-13614


archiving artefacts from remote MacOS X, IBM AIX slave fails















@bdellegrazie, @nickolay_martinov: if you are looking for something simple and relatively safe to backport to LTS you probably want: https://github.com/jenkinsci/jenkins/commit/f50316b66a8e4761193c46f824fbd620ffccd6c0



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira






[JIRA] (JENKINS-13614) archiving artefacts from remote MacOS X, IBM AIX slave fails

2012-10-02 Thread nickolay.marti...@hp.com (JIRA)














































Nickolay Martinov
 commented on  JENKINS-13614


archiving artefacts from remote MacOS X, IBM AIX slave fails















This will throw exception for every file. Alternative approach is to check if file is a symlink before trying to resolve it. This works better and seems more logical. See attached patch.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira






[JIRA] (JENKINS-13614) archiving artefacts from remote MacOS X, IBM AIX slave fails

2012-09-27 Thread brett.dellegra...@gmail.com (JIRA)














































Brett Delle Grazie
 commented on  JENKINS-13614


archiving artefacts from remote MacOS X, IBM AIX slave fails















We run AIX slaves but with the LTS release, still fails on 1.466.2, stackdump attached.
Any chance of an LTS release with the relevant patches applied for testing?

(from LTS 1.466.2 on AIX 6.1)
ERROR: Failed to archive artifacts: dist/*/
hudson.util.IOException2: java.lang.UnsupportedOperationException
	at hudson.FilePath.copyRecursiveTo(FilePath.java:1784)
	at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:116)
	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
	at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:710)
	at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:685)
	at hudson.model.Build$RunnerImpl.post2(Build.java:162)
	at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:632)
	at hudson.model.Run.run(Run.java:1463)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
	at hudson.model.ResourceController.execute(ResourceController.java:88)
	at hudson.model.Executor.run(Executor.java:239)
Caused by: java.util.concurrent.ExecutionException: java.lang.UnsupportedOperationException
	at hudson.remoting.Channel$4.adapt(Channel.java:696)
	at hudson.remoting.Channel$4.adapt(Channel.java:691)
	at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55)
	at hudson.FilePath.copyRecursiveTo(FilePath.java:1782)
	... 10 more
Caused by: java.lang.UnsupportedOperationException
	at hudson.os.PosixAPI$1.getCurrentWorkingDirectory(PosixAPI.java:59)
	at org.jruby.ext.posix.util.ExecIt.run(ExecIt.java:59)
	at org.jruby.ext.posix.util.ExecIt.runAndWait(ExecIt.java:51)
	at org.jruby.ext.posix.JavaLibCHelper.readlink(JavaLibCHelper.java:196)
	at org.jruby.ext.posix.JavaPOSIX.readlink(JavaPOSIX.java:160)
	at hudson.Util.resolveSymlink(Util.java:1067)
	at hudson.Util.resolveSymlink(Util.java:1030)
	at hudson.util.DirScanner$Glob.scan(DirScanner.java:115)
	at hudson.FilePath.writeToTar(FilePath.java:1820)
	at hudson.FilePath.access$1000(FilePath.java:166)
	at hudson.FilePath$36.invoke(FilePath.java:1761)
	at hudson.FilePath$36.invoke(FilePath.java:1758)
	at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2193)
	at hudson.remoting.UserRequest.perform(UserRequest.java:118)
	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:72)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:314)
	at java.util.concurrent.FutureTask.run(FutureTask.java:149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919)
	at hudson.remoting.Engine$1$1.run(Engine.java:60)
	at java.lang.Thread.run(Thread.java:736)



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira






[JIRA] (JENKINS-13614) archiving artefacts from remote MacOS X, IBM AIX slave fails

2012-09-27 Thread nickolay.marti...@hp.com (JIRA)














































Nickolay Martinov
 commented on  JENKINS-13614


archiving artefacts from remote MacOS X, IBM AIX slave fails















Try attached patch. It works for HP-UX but since this is pure Java it should also help on AIX with high probability.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira






[JIRA] (JENKINS-13614) archiving artefacts from remote MacOS X, IBM AIX slave fails

2012-09-19 Thread chrisgw...@gmail.com (JIRA)














































Chris Graham
 commented on  JENKINS-13614


archiving artefacts from remote MacOS X, IBM AIX slave fails
















1.482 appears to resolve the readlink issue for me. The builds that succeed, but were being failed by Jenkins, no longer do so. Can others confirm? 



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira






[JIRA] (JENKINS-13614) archiving artefacts from remote MacOS X, IBM AIX slave fails

2012-09-18 Thread chrisgw...@gmail.com (JIRA)














































Chris Graham
 commented on  JENKINS-13614


archiving artefacts from remote MacOS X, IBM AIX slave fails















Clearly this is not a slave issue, as it occurs on my master (I have no slaves).

It is a host OS issue and this issue, which appears to be the 'master' issue for all of the duplicates.

I would suggest that the simplest fix is to check for the existance of the readlink command and use it if available, otherwise revery to the old functionality. Or, find yet another approach.

This is a critical issue as it causes good builds to be listed as failed.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira






[JIRA] (JENKINS-13614) archiving artefacts from remote MacOS X, IBM AIX slave fails

2012-09-14 Thread chrisgw...@gmail.com (JIRA)














































Chris Graham
 reopened  JENKINS-13614


archiving artefacts from remote MacOS X, IBM AIX slave fails
















I just installed 1.481 (the latest as of now) under WAS 6.1 (JDK 1.5) on AIX 5.3 (so it's the master - with no slaves). This is not a slave issue.

Running a Maven build results in:

JENKINS Archiving site from /hudson/hudson/jobs/GPDB/workspace/target/site to /hudson/hudson/jobs/GPDB/site

Failed to load native POSIX impl; falling back on Java impl. Unsupported OS.
FATAL: Unable to copy site from /hudson/hudson/jobs/GPDB/workspace/target/site to /hudson/hudson/jobs/GPDB/site
java.io.IOException: readlink: not found
	at java.lang.UNIXProcess.fullPath(UNIXProcess.java:398)
	at java.lang.UNIXProcess.init(UNIXProcess.java:178)
	at java.lang.ProcessImpl.start(ProcessImpl.java:114)
	at java.lang.ProcessBuilder.start(ProcessBuilder.java:479)
	at java.lang.Runtime.exec(Runtime.java:607)
	at org.jruby.ext.posix.util.ExecIt.run(ExecIt.java:61)
	at org.jruby.ext.posix.util.ExecIt.runAndWait(ExecIt.java:51)
	at org.jruby.ext.posix.JavaLibCHelper.readlink(JavaLibCHelper.java:196)
	at org.jruby.ext.posix.JavaPOSIX.readlink(JavaPOSIX.java:160)
	at hudson.Util.resolveSymlink(Util.java:1074)
	at hudson.util.DirScanner$Glob.scan(DirScanner.java:115)
	at hudson.FilePath.writeToTar(FilePath.java:1827)
	at hudson.FilePath.copyRecursiveTo(FilePath.java:1754)
	at hudson.FilePath.copyRecursiveTo(FilePath.java:1683)
	at hudson.maven.reporters.MavenSiteArchiver.postExecute(MavenSiteArchiver.java:82)
	at hudson.maven.Maven2Builder.postExecute(Maven2Builder.java:155)
	at hudson.maven.MavenBuilder$Adapter.postExecute(MavenBuilder.java:310)
	at hudson.maven.agent.PluginManagerInterceptor$1MojoIntercepterImpl.callPost(PluginManagerInterceptor.java:170)
	at hudson.maven.agent.PluginManagerInterceptor.executeMojo(PluginManagerInterceptor.java:185)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
	at org.apache.maven.lifecycle.LifecycleExecutorInterceptor.execute(LifecycleExecutorInterceptor.java:65)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:618)
	at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
	at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
	at hudson.maven.agent.Main.launch(Main.java:185)
	at hudson.maven.MavenBuilder.call(MavenBuilder.java:151)
	at hudson.maven.Maven2Builder.call(Maven2Builder.java:77)
	at hudson.maven.Maven2Builder.call(Maven2Builder.java:53)
	at hudson.remoting.UserRequest.perform(UserRequest.java:118)
	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:72)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:284)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:678)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:703)
	at java.lang.Thread.run(Thread.java:811)

INFO 
ERROR BUILD ERROR
INFO 





Change By:


Chris Graham
(14/Sep/12 6:21 AM)




[JIRA] (JENKINS-13614) archiving artefacts from remote MacOS X, IBM AIX slave fails

2012-09-14 Thread nickolay.marti...@hp.com (JIRA)














































Nickolay Martinov
 commented on  JENKINS-13614


archiving artefacts from remote MacOS X, IBM AIX slave fails















This is not a master/slave issue. This is an issue with artifact archiving on platforms other than Windows and Linux.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira






[JIRA] (JENKINS-13614) archiving artefacts from remote MacOS X, IBM AIX slave fails

2012-09-06 Thread jgl...@cloudbees.com (JIRA)















































jglick
 resolved  JENKINS-13614 as Fixed


archiving artefacts from remote MacOS X, IBM AIX slave fails
















The originally reported exception - UnsupportedOperationException from getWorkingDirectory - was already fixed in 95c1728 for JENKINS-13202. Other problems should be filed separately (if not already open).





Change By:


jglick
(06/Sep/12 2:59 PM)




Status:


Open
Resolved





Resolution:


Fixed



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira






[JIRA] (JENKINS-13614) archiving artefacts from remote MacOS X, IBM AIX slave fails

2012-07-05 Thread h...@coverity.com (JIRA)














































Helene Lau
 commented on  JENKINS-13614


archiving artefacts from remote MacOS X, IBM AIX slave fails















1.472's archiving artifacts hangs on aix, hpux, and linux ia64.  Very critical since successfully built artifacts cannot be collected.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira






[JIRA] (JENKINS-13614) archiving artefacts from remote MacOS X, IBM AIX slave fails

2012-07-04 Thread erwa...@java.net (JIRA)














































erwan_q
 updated  JENKINS-13614


archiving artefacts from remote MacOS X, IBM AIX slave fails
















Change By:


erwan_q
(04/Jul/12 12:19 PM)




Summary:


archivingartefactsfromremoteMacOSX
,IBMAIX
slavefails



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira






[JIRA] (JENKINS-13614) archiving artefacts from remote MacOS X, IBM AIX slave fails

2012-07-04 Thread erwa...@java.net (JIRA)














































erwan_q
 updated  JENKINS-13614


archiving artefacts from remote MacOS X, IBM AIX slave fails
















Change By:


erwan_q
(04/Jul/12 12:20 PM)




Priority:


Major
Blocker



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira






[JIRA] (JENKINS-13614) archiving artefacts from remote MacOS X, IBM AIX slave fails

2012-07-04 Thread erwa...@java.net (JIRA)














































erwan_q
 commented on  JENKINS-13614


archiving artefacts from remote MacOS X, IBM AIX slave fails















I increased severity. Do not work on IBM AIX too... 
This is a regression after https://issues.jenkins-ci.org/browse/JENKINS-9118



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira






[JIRA] (JENKINS-13614) archiving artefacts from remote MacOS X, IBM AIX slave fails

2012-07-04 Thread erwa...@java.net (JIRA)














































erwan_q
 updated  JENKINS-13614


archiving artefacts from remote MacOS X, IBM AIX slave fails
















Change By:


erwan_q
(04/Jul/12 12:23 PM)




Environment:


Jenkins1.461
+1.472
Masternode:DebianLinux,Tomcat7Slavenode:MacOSX10.6
Slavenode:IBMAIX5.3



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira