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
CI: Run latest JRuby release #128
Conversation
I'd like to know if there is a way to ask for the latest stable, so we don't have to bump this constantly. |
If rvm has an alias in its "known" file, we can use that. I'll update this. |
@mperham There. |
The jruby build is broken and I have no idea how to fix it. Are we just going to ignore it? If so, what's the point of including it? |
For reference the JRuby failure is here: https://travis-ci.org/github/mperham/connection_pool/jobs/685746458 I also noticed Ruby 2.6 failed one spec, but it seems to be a different spec. There's only two failures on JRuby and they both appear to be related to concurrent-ruby executor logic. Perhaps the bug is there? I don't see anything that seems likely to be a JRuby bug. |
Tests do not fail on JRuby 9.2.11.1 locally
I seem to run a newer JDK. Update Well, what unites the two tests that fail is that they use |
Nevermind... I saw "concurrent" in the trace and thought "concurrent-ruby". This appears to be happening in JRuby's timeout implementation. @olleolleolle That's helpful information, thanks. I just ran it on 8 with JRuby master and it does fail locally there. |
This was introduced by jruby/jruby@37325d6 In order to avoid leaving the Timeout executor running (e.g. for embedded JRuby use cases where the JVM continues running) we introduced code to terminate it at shutdown. Unfortunately we introduced that shutdown using the same mechanism as This is the cause of the failure, because Minitest uses an This is a trivial fix in JRuby. The only possible workaround would be to forcibly remove the poison pill task in |
The introduced bug only happens on JRuby master, so 9.2.11.1 is not affected. I have filed jruby/jruby#6212 and will land a fix shortly. |
I have merged jruby/jruby#6212 into JRuby master and it should go out in the next snapshot and nightly builds. |
Oops, jruby/jruby#6213 is the PR. |
This PR updates the CI matrix to use latest JRuby, 9.2.11.1.
JRuby 9.2.11.1 release blog post
Update: I changed the configuration not to point to a release, but to an
rvm
alias.rvm
responded with this: