Skip to content
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.

Please release 0.11 to fix JENKINS-18311 #82

Closed
yyuu opened this issue Jun 14, 2013 · 19 comments
Closed

Please release 0.11 to fix JENKINS-18311 #82

yyuu opened this issue Jun 14, 2013 · 19 comments

Comments

@yyuu
Copy link
Member

yyuu commented Jun 14, 2013

Starting from Jenkins 1.518, Jenkins fails to load ruby-runtime (java-runtime) by the error described in JENKINS-18311. This problem breaks all the plugins depending on ruby-runtime, including rvm, rbenv, etc.

I tested ruby-runtime at yyuu/jenkins.rb@65be621 on my Jenkins 1.518 and it seems fine for me. Please release new version 0.11.

@msaffitz
Copy link

👍 We're blocked on upgrading Jenkins until this is addressed

@gmcnaughton
Copy link

+1 Nearly had a heart attack when I upgraded to Jenkins 1.518 and all my rvm jobs disappeared!

@hsbt
Copy link
Member

hsbt commented Jun 19, 2013

I'll handle this issue :octocat:

@miketheman
Copy link

@hsbt it was merged, but was it released?

@hsbt
Copy link
Member

hsbt commented Jun 20, 2013

deployed 0.11-SNAPSHOT and confirmed to 0.11 works with jenkins-1.518.(with 1.519 not works, it seems another problems.)

Would someone try 0.11-SNAPSHOT with jenkins-1.518?

@gurchik
Copy link

gurchik commented Jun 20, 2013

Would someone try 0.11-SNAPSHIT with jenkins-1.518?
0.11-SNAPSHIT
SHIT

In all seriousness, I have successfully installed the 0.11 snapshot. Finally, after a whole day of trying to figure out why ruby-runtime wasn't installing! :) But gitlab-hook plugin still fails :/

@elvanja
Copy link

elvanja commented Jun 24, 2013

Just tried latest v0.11.-SNAPSHOT on Jenkins v1.518, seems to be working.
All steps described in elvanja/jenkins-gitlab-hook-plugin#10 (comment)

@hsbt
Copy link
Member

hsbt commented Jun 25, 2013

Thanks for all. I released ruby-runtime-0.11 http://repo.jenkins-ci.org/releases/org/jenkins-ci/plugins/ruby-runtime/0.11/

@hsbt hsbt closed this as completed Jun 25, 2013
@tadd
Copy link

tadd commented Jun 26, 2013

👍

@yyuu
Copy link
Member Author

yyuu commented Jun 26, 2013

Sorry to be late. I confirmed that ruby-runtime 0.11 is working on Jenkins 1.518 👍 Then, I closed JENKINS-18311 on Jenkins JIRA.

But I found another problem of hudson.util.IOException2: Failed to initialize on Jenkins 1.519 and later :( Now I'm investigating on that problem.

@bjpe
Copy link

bjpe commented Jun 27, 2013

@yyuu Thank you for closing this bug. Anyway, I upgraded to Jenkins 1.520 and saw another problem which might be the problem you mentioned. Downgrading to 1.518 solved it for now. Did you create an issue on this so that I can follow the progress?

@yyuu
Copy link
Member Author

yyuu commented Jun 27, 2013

@bjpe
The ruby-runtime cannot work on jenkins 1.519+ by the exception of hudson.util.IOException2: Failed to initialize. This is another problem in Jenkins core
introduced by jenkinsci/jenkins@f7330d7. Downgrading to jenkins 1.518 (or before) is the current workaround.

I've not yet created about this on Jenkins JIRA. Will create it soon.

@yyuu
Copy link
Member Author

yyuu commented Jun 27, 2013

Reported to Jenkins JIRA as JENKINS-18528.

@MrFlibble007
Copy link

FYI: yyuu the 0.11 fix did not work for me in either 1.517 or 1.518, I got this error http://pastebin.centos.org/2971/raw/

I've rolled back to 1.517 with ruby-runtime 0.10 and our build is working again..

@kylegordon
Copy link

This is just another voice really, to say that 1.517 with ruby-runtime works as expected. I rolled our systems back to those revisions as well, and it all came back to life.

@tadd
Copy link

tadd commented Jun 28, 2013

I got same error with @MrFlibble007 and it did not occurred too if I rollbacked Jenkins 1.517 with ruby-runtime 0.10.
That error seems to yield some jobs hidden, so it's a blocker bug for me.

@yyuu
Copy link
Member Author

yyuu commented Jun 28, 2013

I confirmed same error as @MrFlibble007 on Jenkins 1.517 + ruby-runtime 0.11 + rvm plugin 0.4. In contrast, Jenkins 1.517 + ruby-runtime 0.11 + rbenv plugin 0.0.14 is working without problems.

This might be a problem of some kind of incompatibility between versions of jenkins-plugin-runtime gem (rvm => 0.1.17, rbenv => 0.2.3). Now I'm checking the changes between them.

@MrFlibble007
Copy link

@yyuu yes we're using rvm plugin(rather than rbenv) here, sorry for leaving that info out.

@yyuu
Copy link
Member Author

yyuu commented Jun 28, 2013

Please use #86 for ruby-runtime 0.11 + rvm plugin issues.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests