New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Avoid failure when the readlink command is executed against AIX #547
Conversation
…orted architecture, like AIX. This is a stopgap measure that attempts to get AIX/HP-UX systems working again, pending proper fixes to issues JENKINS-13614 JENKINS-14021 JENKINS-13241 and JENKINS-13202
You forgot I would rather suggest making |
The I'm not too familiar with the Jenkins codebase, so forgive my ignorance, but what mechanism does Jenkins employ to detect a Java 7 runtime, and how do you invoke Java 7 code whilst retaining the ability to compile on a 1.6 jdk? Do you invoke dynamically, or do you only support compilation on Java 7? Aside from that, I'd really like to get this "stop-gap" patch in, with a view to looking at the NIO stuff on another patch, as a longer term solution. We simply cannot use Jenkins on AIX at the moment, because we can't archive artifacts... It's just broken. This patch gets us going again, which takes the heat off a bit. |
I do not think changing the behavior of Regarding Java 7+ APIs: they would have to be invoked via reflection as Jenkins is intended to be buildable with 6+. |
It is clear to me that a quick-and-dirty fix to relieve pressure on the growing number of "major" and "blocker" issues is not appropriate. I have already wasted more of your time in this discussion that it would take you to fix this properly, so I'm going to back away and join the queue of people awaiting a fix allowing Jenkins to be used on AIX and HP-UX systems again. Thanks, Tom. |
f50316b ought to have made |
Thanks, any idea when these changes will make it into a Jenkins release? |
I don't really have a means to test tip sources on our AIX boxes, but rest assured we will upgrade as soon as 1.482 is available. |
Woo Hoo! 1.482 has resolved my issues. My (known to be good) builds are now back to being marked as a success! |
@ChrisGWarp: 1.482 has only the basic workaround for lack of symlink support; 1.483 has the full fix (actual symlink support), so please retest with that too when it is released. |
Cool. I will keep my eye out for it. |
@ChrisGWarp: in that case 1.483 should not behave any differently for you, since the full fix is only enabled for 7+. |
@ChrisGWarp: also you may want to review the thread “[VOTE] Bump Jenkins to Java 6” on the dev list. |
1.483 and 1.484 are fine. This is under WAS 6.1 (JDK 1.5) on AIX 5.3. |
Avoid failure when the readlink command is executed against an unsupported architecture, like AIX. This is a stopgap measure that attempts to get AIX/HP-UX systems working again, pending proper fixes to issues JENKINS-13614 JENKINS-14021 JENKINS-13241 and JENKINS-13202
https://issues.jenkins-ci.org/browse/JENKINS-13614
https://issues.jenkins-ci.org/browse/JENKINS-14021
https://issues.jenkins-ci.org/browse/JENKINS-13241
https://issues.jenkins-ci.org/browse/JENKINS-13202