You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello! I'm a maintainer for the ruby agent over at New Relic. We have instrumentation for Typhoeus, and our Typhoeus tests have recently started failing on jruby only (with no changes in the agent prior to the failures beginning). I've narrowed this down to the 0.15.0 release of ethon, as pinning the ethon version to 0.14.0 in our test gemfile prevents the error from occurring. This appears to be a bug specific to jruby, as all MRI versions are not experiencing this failure. Is jruby still supported for typhoeus?
ruby version: jruby-9.2.9.0 and jruby-9.2.19.0
This is the error that causes the failures:
NoMethodError: undefined method `bitmask' for Ethon::Curl:Module
<module:Curl> at /Users/username/.rbenv/versions/jruby-9.2.9.0/lib/ruby/gems/shared/gems/ethon-0.15.0/lib/ethon/curls/constants.rb:74
<module:Ethon> at /Users/username/.rbenv/versions/jruby-9.2.9.0/lib/ruby/gems/shared/gems/ethon-0.15.0/lib/ethon/curls/constants.rb:3
<main> at /Users/username/.rbenv/versions/jruby-9.2.9.0/lib/ruby/gems/shared/gems/ethon-0.15.0/lib/ethon/curls/constants.rb:2
require at org/jruby/RubyKernel.java:978
<module:Curl> at /Users/username/.rbenv/versions/jruby-9.2.9.0/lib/ruby/gems/shared/gems/ethon-0.15.0/lib/ethon/curl.rb:27
<module:Ethon> at /Users/username/.rbenv/versions/jruby-9.2.9.0/lib/ruby/gems/shared/gems/ethon-0.15.0/lib/ethon/curl.rb:14
<main> at /Users/username/.rbenv/versions/jruby-9.2.9.0/lib/ruby/gems/shared/gems/ethon-0.15.0/lib/ethon/curl.rb:9
require at org/jruby/RubyKernel.java:978
<main> at /Users/username/.rbenv/versions/jruby-9.2.9.0/lib/ruby/gems/shared/gems/ethon-0.15.0/lib/ethon.rb:16
require at org/jruby/RubyKernel.java:978
<main> at /Users/username/.rbenv/versions/jruby-9.2.9.0/lib/ruby/gems/shared/gems/typhoeus-1.4.0/lib/typhoeus.rb:2
require at org/jruby/RubyKernel.java:978
There are also a significant number of warnings, prior to the error, that do not appear on 0.14.0, only 0.15.0. Not sure why, but I noticed it was only happening on 0.15.0, so I wanted to let you know:
While investigating another JRuby issue (see #1840) I upgraded the
`ethon` gem and ran into a new issue --
typhoeus/ethon#205 .
That `ethon`issue is actually a JRuby bug, and has been fixed in the
latest versions of JRuby 9.2, so instead of adding
yet-another workaround to our Appraisals, let's just upgrade the
JRuby image we use for testing :)
While I was in the neighbourhood, I also bumped the resource class
for JRuby 9.2 testing in CI, to hopefully reduce the time it takes
to run CI with JRuby by giving it a bit more oomph.
Hello! I'm a maintainer for the ruby agent over at New Relic. We have instrumentation for Typhoeus, and our Typhoeus tests have recently started failing on jruby only (with no changes in the agent prior to the failures beginning). I've narrowed this down to the 0.15.0 release of ethon, as pinning the ethon version to 0.14.0 in our test gemfile prevents the error from occurring. This appears to be a bug specific to jruby, as all MRI versions are not experiencing this failure. Is jruby still supported for typhoeus?
ruby version:
jruby-9.2.9.0
andjruby-9.2.19.0
This is the error that causes the failures:
There are also a significant number of warnings, prior to the error, that do not appear on 0.14.0, only 0.15.0. Not sure why, but I noticed it was only happening on 0.15.0, so I wanted to let you know:
The text was updated successfully, but these errors were encountered: