JRuby Continuous Integration #282
ci_jruby.yml
on: schedule
unit_tests
9m 29s
Matrix: jruby_multiverse
Annotations
9 errors and 1 warning
unit_tests
Final attempt failed. Child_process exited with error code 1
|
jruby_multiverse (agent)
Process completed with exit code 1.
|
jruby_multiverse (agent)
********************************************************************************
Running "marshalling" using CHAIN for Envfile entry 0
Starting tests in child PID 6545 at 2023-08-20 09:07:36 +0000
Bundling in /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/multiverse/suites/marshalling...
Fetching gem metadata from https://rubygems.org/.........
Resolving dependencies...
Using rake 13.0.6
Using bundler 2.3.26
Using minitest 5.16.3
Using minitest-stub-const 0.6
Using newrelic_rpm 9.4.2 from source at `../../../..` and installing its executables
Using metaclass 0.0.4
Using rack 3.0.8
Using webrick 1.8.1
Using warning 1.3.0
Using mocha 1.9.0
Fetching rackup 2.1.0
Installing rackup 2.1.0
Bundle complete! 9 Gemfile dependencies, 11 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
metaclass (0.0.4), minitest (5.16.3), minitest-stub-const (0.6), mocha (1.9.0), newrelic_rpm (9.4.2), rack (3.0.8), rackup (2.1.0), rake (13.0.6), warning (1.3.0), webrick (1.8.1)
/home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/new_relic/marshalling_test_cases.rb:202: warning: previous definition of do_it was here
/home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/new_relic/marshalling_test_cases.rb:208: warning: previous definition of break_it was here
Run options: --seed 21674
# Running:
..F...F
Finished in 101.123411s, 0.0692 runs/s, 0.4351 assertions/s.
1) Failure:
MarshallingTest#test_sends_errors [/home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/new_relic/marshalling_test_cases.rb:30]:
Expected: 1
Actual: 2
2) Failure:
MarshallingTest#test_sends_metrics [/home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/new_relic/marshalling_test_cases.rb:17]:
Expected: 1
Actual: 2
7 runs, 44 assertions, 2 failures, 0 errors, 0 skips
====== Ten slowest tests ======
1. MarshallingTest#test_sends_custom_events: 31.68367
2. MarshallingTest#test_sends_transaction_traces: 31.41039
3. MarshallingTest#test_sends_errors: 21.91181
4. MarshallingTest#test_sends_metrics: 11.12473
5. MarshallingTest#test_sends_error_events: 2.62353
6. MarshallingTest#test_sends_log_events: 1.37035
7. MarshallingTest#test_sends_transaction_events: 0.99282
One or more failures or errors were seen!
Options used: []
warning: thread "Ruby-0-Thread-3: /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/lib/new_relic/agent/tracer.rb:426" terminated with exception (report_on_exception is true):
IOError: closed stream
write at org/jruby/RubyIO.java:1560
write at org/jruby/RubyIO.java:1457
<< at org/jruby/RubyIO.java:1692
log at /home/runner/.rubies/jruby-9.4.3.0/lib/ruby/gems/shared/gems/webrick-1.8.1/lib/webrick/log.rb:78
log at /home/runner/.rubies/jruby-9.4.3.0/lib/ruby/gems/shared/gems/webrick-1.8.1/lib/webrick/log.rb:153
info at /home/runner/.rubies/jruby-9.4.3.0/lib/ruby/gems/shared/gems/webrick-1.8.1/lib/webrick/log.rb:95
start at /home/runner/.rubies/jruby-9.4.3.0/lib/ruby/gems/shared/gems/webrick-1.8.1/lib/webrick/server.rb:210
start at /home/runner/.rubies/jruby-9.4.3.0/lib/ruby/gems/shared/gems/webrick-1.8.1/lib/webrick/server.rb:32
start at /home/runner/.rubies/jruby-9.4.3.0/lib/ruby/gems/shared/gems/webrick-1.8.1/lib/webrick/server.rb:160
run_server at /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/new_relic/fake_server.rb:99
thread_block_with_current_transaction at /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/lib/new_relic/agent/tracer.rb:435
capture_segment_error at /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/lib/new_relic/agent/tracer.rb:357
thread_block_with_current_transaction at /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/lib/new_relic/ag
|
jruby_multiverse (rest)
********************************************************************************
Running "tilt" using CHAIN for Envfile entry 0
Starting tests in child PID 9348 at 2023-08-20 09:09:59 +0000
Bundling in /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/multiverse/suites/tilt...
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory:
/home/runner/.rubies/jruby-9.4.3.0/lib/ruby/gems/shared/gems/haml-6.1.2/ext/haml
/home/runner/.rubies/jruby-9.4.3.0/bin/jruby -I
/home/runner/.rubies/jruby-9.4.3.0/lib/ruby/stdlib extconf.rb
creating Makefile
current directory:
/home/runner/.rubies/jruby-9.4.3.0/lib/ruby/gems/shared/gems/haml-6.1.2/ext/haml
make DESTDIR\= sitearchdir\=./.gem.20230820-9487-c8bg01
sitelibdir\=./.gem.20230820-9487-c8bg01 clean
current directory:
/home/runner/.rubies/jruby-9.4.3.0/lib/ruby/gems/shared/gems/haml-6.1.2/ext/haml
make DESTDIR\= sitearchdir\=./.gem.20230820-9487-c8bg01
sitelibdir\=./.gem.20230820-9487-c8bg01
make: *** No rule to make target
'/home/runner/.rubies/jruby-9.4.3.0/lib/ruby/include/ruby/ruby.h', needed by
'haml.o'. Stop.
make failed, exit code 2
Gem files will remain installed in
/home/runner/.rubies/jruby-9.4.3.0/lib/ruby/gems/shared/gems/haml-6.1.2 for
inspection.
Results logged to
/home/runner/.rubies/jruby-9.4.3.0/lib/ruby/gems/shared/extensions/universal-java-11/3.1.0/haml-6.1.2/gem_make.out
/home/runner/.rubies/jruby-9.4.3.0/lib/ruby/stdlib/rubygems/ext/builder.rb:102:in
`run'
/home/runner/.rubies/jruby-9.4.3.0/lib/ruby/stdlib/rubygems/ext/builder.rb:51:in
`block in make'
org/jruby/RubyArray.java:1989:in `each'
/home/runner/.rubies/jruby-9.4.3.0/lib/ruby/stdlib/rubygems/ext/builder.rb:43:in
`make'
/home/runner/.rubies/jruby-9.4.3.0/lib/ruby/stdlib/rubygems/ext/ext_conf_builder.rb:42:in
`build'
/home/runner/.rubies/jruby-9.4.3.0/lib/ruby/stdlib/rubygems/ext/builder.rb:171:in
`build_extension'
/home/runner/.rubies/jruby-9.4.3.0/lib/ruby/stdlib/rubygems/ext/builder.rb:205:in
`block in build_extensions'
org/jruby/RubyArray.java:1989:in `each'
/home/runner/.rubies/jruby-9.4.3.0/lib/ruby/stdlib/rubygems/ext/builder.rb:202:in
`build_extensions'
/home/runner/.rubies/jruby-9.4.3.0/lib/ruby/stdlib/rubygems/installer.rb:843:in
`build_extensions'
/home/runner/.rubies/jruby-9.4.3.0/lib/ruby/stdlib/bundler/rubygems_gem_installer.rb:72:in
`build_extensions'
/home/runner/.rubies/jruby-9.4.3.0/lib/ruby/stdlib/bundler/rubygems_gem_installer.rb:28:in
`install'
/home/runner/.rubies/jruby-9.4.3.0/lib/ruby/stdlib/bundler/source/rubygems.rb:207:in
`install'
/home/runner/.rubies/jruby-9.4.3.0/lib/ruby/stdlib/bundler/installer/gem_installer.rb:54:in
`install'
/home/runner/.rubies/jruby-9.4.3.0/lib/ruby/stdlib/bundler/installer/gem_installer.rb:16:in
`install_from_spec'
/home/runner/.rubies/jruby-9.4.3.0/lib/ruby/stdlib/bundler/installer/parallel_installer.rb:186:in
`do_install'
/home/runner/.rubies/jruby-9.4.3.0/lib/ruby/stdlib/bundler/installer/parallel_installer.rb:177:in
`block in worker_pool'
/home/runner/.rubies/jruby-9.4.3.0/lib/ruby/stdlib/bundler/worker.rb:62:in
`apply_func'
/home/runner/.rubies/jruby-9.4.3.0/lib/ruby/stdlib/bundler/worker.rb:57:in
`block in process_queue'
org/jruby/RubyKernel.java:1601:in `loop'
/home/runner/.rubies/jruby-9.4.3.0/lib/ruby/stdlib/bundler/worker.rb:54:in
`process_queue'
/home/runner/.rubies/jruby-9.4.3.0/lib/ruby/stdlib/bundler/worker.rb:91:in
`block in create_threads'
An error occurred while installing haml (6.1.2), and Bundler cannot continue.
In Gemfile.0:
haml
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory:
/home/runner/.rubies/jruby-9.4.3.0/lib/ruby/gems/shared/gems/haml-6.1.2/ext/haml
/home/runner/.rubies/jruby-9.4.3.0/bin/jruby -I
/home/runner/.rubies/jruby-9.4.3.0/lib/ruby/stdlib extconf.rb
creating Makefile
current directory:
/home/runner/.rubies/jruby-9.4.3.0/lib/ruby/gems/shared/gems/haml-6.1.2/ext/haml
make DESTDIR\= sitearchdir\=./.gem.20230820-9682-tl19sj
sitelibdir\=./.gem.20230820-9682-tl19sj clean
current directory:
/home/runner/.rubies/jruby-9.4.3.0/lib
|
jruby_multiverse (rest)
Process completed with exit code 1.
|
jruby_multiverse (frameworks)
********************************************************************************
Running "sinatra" using CHAIN for Envfile entry 1
Starting tests in child PID 15710 at 2023-08-20 09:16:24 +0000
Bundling in /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/multiverse/suites/sinatra...
Fetching gem metadata from https://rubygems.org/.........
Resolving dependencies...
Using rake 13.0.6
Using metaclass 0.0.4
Using bundler 2.3.26
Using minitest 5.16.3
Using minitest-stub-const 0.6
Using ruby2_keywords 0.0.5
Using newrelic_rpm 9.4.2 from source at `../../../..` and installing its executables
Using rack 2.2.8
Using tilt 2.2.0
Using warning 1.3.0
Using webrick 1.8.1
Using mocha 1.9.0
Fetching mustermann 1.1.2
Fetching rack-protection 2.0.8.1
Installing mustermann 1.1.2
Installing rack-protection 2.0.8.1
Using rack-test 2.1.0
Fetching sinatra 2.0.8.1
Installing sinatra 2.0.8.1
Bundle complete! 10 Gemfile dependencies, 16 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
metaclass (0.0.4), minitest (5.16.3), minitest-stub-const (0.6), mocha (1.9.0), mustermann (1.1.2), newrelic_rpm (9.4.2), rack (2.2.8), rack-protection (2.0.8.1), rack-test (2.1.0), rake (13.0.6), ruby2_keywords (0.0.5), sinatra (2.0.8.1), tilt (2.2.0), warning (1.3.0), webrick (1.8.1)
Run options: --seed 40077
# Running:
....................F..............................................
Finished in 274.260492s, 0.2443 runs/s, 0.4813 assertions/s.
1) Failure:
SinatraParameterCaptureTest#test_request_and_response_attributes_recorded_as_agent_attributes [/home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/new_relic/multiverse_helpers.rb:215]:
Expected: 1
Actual: 2
67 runs, 132 assertions, 1 failures, 0 errors, 0 skips
====== Ten slowest tests ======
1. SinatraParameterCaptureTest#test_request_and_response_attributes_recorded_as_agent_attributes: 30.88737
2. SinatraModularTest#test_ignores_route_metrics: 20.78613
3. SinatraIgnoreTest#test_ignore_apdex: 20.68561
4. SinatraClassicTest#test_injects_middleware: 20.41919
5. SinatraClassicTest#test_does_not_break_error_handling: 20.40648
6. SinatraTestCase#test_nothing: 10.7352
7. SinatraIgnoreTest#test_ignore_errors_in_ignored_transactions: 10.71097
8. SinatraIgnoreItAllTest#test_ignores_everything: 10.70197
9. SinatraIgnoreTest#test_ignores_by_regex: 10.67598
10. SinatraIgnoreTest#test_seen_with_regex: 10.63857
One or more failures or errors were seen!
Options used: []
warning: thread "Ruby-0-Thread-3: /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/lib/new_relic/agent/tracer.rb:426" terminated with exception (report_on_exception is true):
IOError: closed stream
write at org/jruby/RubyIO.java:1560
write at org/jruby/RubyIO.java:1457
<< at org/jruby/RubyIO.java:1692
log at /home/runner/.rubies/jruby-9.4.3.0/lib/ruby/gems/shared/gems/webrick-1.8.1/lib/webrick/log.rb:78
log at /home/runner/.rubies/jruby-9.4.3.0/lib/ruby/gems/shared/gems/webrick-1.8.1/lib/webrick/log.rb:153
info at /home/runner/.rubies/jruby-9.4.3.0/lib/ruby/gems/shared/gems/webrick-1.8.1/lib/webrick/log.rb:95
start at /home/runner/.rubies/jruby-9.4.3.0/lib/ruby/gems/shared/gems/webrick-1.8.1/lib/webrick/server.rb:210
start at /home/runner/.rubies/jruby-9.4.3.0/lib/ruby/gems/shared/gems/webrick-1.8.1/lib/webrick/server.rb:32
start at /home/runner/.rubies/jruby-9.4.3.0/lib/ruby/gems/shared/gems/webrick-1.8.1/lib/webrick/server.rb:160
run_server at /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/new_relic/fake_server.rb:99
thread_block_with_current_transaction at /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/lib/new_relic/agent/tracer.rb:435
capture_segment_error at /home/runner/work/newrelic-r
|
jruby_multiverse (frameworks)
Process completed with exit code 1.
|
jruby_multiverse (rails)
Process completed with exit code 1.
|
jruby_multiverse (rails)
********************************************************************************
Running "rails" using CHAIN for Envfile entry 0
Starting tests in child PID 5392 at 2023-08-20 09:06:31 +0000
Bundling in /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/multiverse/suites/rails...
Fetching gem metadata from https://rubygems.org/...........
Resolving dependencies..........
Using rake 13.0.6
Fetching concurrent-ruby 1.2.2
Fetching minitest 5.2.3
Installing minitest 5.2.3
Fetching builder 3.2.4
Installing builder 3.2.4
Installing concurrent-ruby 1.2.2
Fetching erubi 1.12.0
Installing erubi 1.12.0
Using racc 1.7.1 (java)
Fetching crass 1.0.6
Installing crass 1.0.6
Fetching rack 2.2.8
Fetching nio4r 2.5.9 (java)
Installing nio4r 2.5.9 (java)
Installing rack 2.2.8
Fetching websocket-extensions 0.1.5
Installing websocket-extensions 0.1.5
Fetching marcel 1.0.2
Fetching mini_mime 1.1.5
Installing marcel 1.0.2
Installing mini_mime 1.1.5
Using date 3.3.3 (java)
Fetching timeout 0.4.0
Using bundler 2.3.26
Fetching erubis 2.7.0
Installing timeout 0.4.0
Fetching temple 0.10.2
Installing erubis 2.7.0
Installing temple 0.10.2
Fetching tilt 2.2.0
Installing tilt 2.2.0
Fetching method_source 1.0.0
Installing method_source 1.0.0
Fetching thor 1.2.2
Fetching zeitwerk 2.6.11
Installing zeitwerk 2.6.11
Installing thor 1.2.2
Fetching metaclass 0.0.4
Installing metaclass 0.0.4
Using minitest-stub-const 0.6
Using newrelic_rpm 9.4.2 from source at `../../../..` and installing its executables
Using warning 1.3.0
Fetching webrick 1.8.1
Fetching nokogiri 1.15.4 (java)
Installing webrick 1.8.1
Fetching i18n 1.14.1
Installing i18n 1.14.1
Fetching tzinfo 2.0.6
Installing tzinfo 2.0.6
Fetching websocket-driver 0.7.6 (java)
Installing websocket-driver 0.7.6 (java)
Fetching rack-test 2.1.0
Installing rack-test 2.1.0
Fetching net-protocol 0.2.1
Installing net-protocol 0.2.1
Fetching haml 5.1.2
Installing haml 5.1.2
Fetching mocha 1.9.0
Installing mocha 1.9.0
Fetching activesupport 7.0.7
Installing activesupport 7.0.7
Installing nokogiri 1.15.4 (java)
Fetching net-imap 0.3.7
Installing net-imap 0.3.7
Fetching net-pop 0.1.2
Installing net-pop 0.1.2
Fetching net-smtp 0.3.3
Installing net-smtp 0.3.3
Fetching globalid 1.1.0
Installing globalid 1.1.0
Fetching activemodel 7.0.7
Installing activemodel 7.0.7
Fetching mail 2.8.1
Fetching activejob 7.0.7
Installing activejob 7.0.7
Installing mail 2.8.1
Fetching activerecord 7.0.7
Installing activerecord 7.0.7
Fetching rails-dom-testing 2.2.0
Installing rails-dom-testing 2.2.0
Fetching loofah 2.21.3
Installing loofah 2.21.3
Fetching rails-html-sanitizer 1.6.0
Installing rails-html-sanitizer 1.6.0
Fetching actionview 7.0.7
Installing actionview 7.0.7
Fetching actionpack 7.0.7
Installing actionpack 7.0.7
Fetching actioncable 7.0.7
Fetching activestorage 7.0.7
Installing actioncable 7.0.7
Installing activestorage 7.0.7
Fetching actionmailer 7.0.7
Fetching railties 7.0.7
Installing actionmailer 7.0.7
Fetching actionmailbox 7.0.7
Installing railties 7.0.7
Installing actionmailbox 7.0.7
Fetching actiontext 7.0.7
Installing actiontext 7.0.7
Fetching haml-rails 2.1.0
Fetching rails 7.0.7
Installing haml-rails 2.1.0
Installing rails 7.0.7
Bundle complete! 11 Gemfile dependencies, 56 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
actioncable (7.0.7), actionmailbox (7.0.7), actionmailer (7.0.7), actionpack (7.0.7), actiontext (7.0.7), actionview (7.0.7), activejob (7.0.7), activemodel (7.0.7), activerecord (7.0.7), activestorage (7.0.7), activesupport (7.0.7), builder (3.2.4), concurrent-ruby (1.2.2), crass (1.0.6), date (3.3.3), erubi (1.12.0), erubis (2.7.0), globalid (1.1.0), haml (5.1.2), haml-rails (2.1.0), i18n (1.14.1), loofah (2.21.3), mail (2.8.1), marcel (1.0.2), metaclass (0.0.4), method_source (1.0.0), mini_mime (1.1.5), minitest (5.2.3), minitest-stub-const (0.6), mocha (1.9.0), net-imap (0.3.7), net-pop (0.1.2), net-protocol (0.2.1), net-smtp (0.3.3), newrelic_rpm (9.4.2), nio4r (2.5.9), nokogiri (1.15.4), racc (1.7.1), rack (2.2.8), rack-test (2.1.0), rails (7.0
|
unit_tests
Attempt 1 failed. Reason: Child_process exited with error code 1
|