Skip to content

Use media_type instead of content_type when avaliable #6035

Use media_type instead of content_type when avaliable

Use media_type instead of content_type when avaliable #6035

Triggered via pull request September 23, 2024 17:09
Status Failure
Total duration 17m 51s
Artifacts 8

ci.yml

on: pull_request
run_rubocop
23s
run_rubocop
Matrix: infinite_tracing
Matrix: multiverse
Matrix: unit_tests
simplecov
0s
simplecov
Fit to window
Zoom out
Zoom in

Annotations

18 errors and 36 warnings
multiverse (frameworks, 2.4.10)
******************************************************************************** Running "grape" using CHAIN for Envfile entry 0 Starting tests in child PID 14383 at 2024-09-23 17:14:02 +0000 Bundling in /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/multiverse/suites/grape... Fetching gem metadata from https://rubygems.org/....... Resolving dependencies... Using rake 13.2.1 Using concurrent-ruby 1.3.4 Using i18n 1.14.6 Using minitest 5.10.3 Using thread_safe 0.3.6 Using tzinfo 1.2.11 Using activesupport 5.2.8.1 Fetching builder 3.3.0 Installing builder 3.3.0 Using bundler 1.17.3 Fetching dry-core 0.4.9 Installing dry-core 0.4.9 Fetching dry-equalizer 0.3.0 Installing dry-equalizer 0.3.0 Fetching dry-configurable 0.11.6 Installing dry-configurable 0.11.6 Fetching dry-container 0.7.2 Installing dry-container 0.7.2 Fetching dry-inflector 0.2.0 Installing dry-inflector 0.2.0 Fetching dry-logic 1.0.8 Installing dry-logic 1.0.8 Fetching dry-types 1.4.0 Installing dry-types 1.4.0 Using ruby2_keywords 0.0.5 Using mustermann 2.0.2 Fetching mustermann-grape 1.0.2 Installing mustermann-grape 1.0.2 Fetching rack 3.0.11 Installing rack 3.0.11 Fetching rack-accept 0.4.5 Installing rack-accept 0.4.5 Fetching grape 1.5.3 Installing grape 1.5.3 Using metaclass 0.0.4 Using minitest-stub-const 0.6 Using mocha 1.9.0 Using newrelic_rpm 9.13.0 from source at `../../../..` Using rack-test 2.1.0 Using webrick 1.8.1 Fetching rackup 2.1.0 Installing rackup 2.1.0 Using warning 1.4.0 Bundle complete! 12 Gemfile dependencies, 30 gems now installed. Use `bundle info [gemname]` to see where a bundled gem is installed. activesupport (5.2.8.1), builder (3.3.0), concurrent-ruby (1.3.4), dry-configurable (0.11.6), dry-container (0.7.2), dry-core (0.4.9), dry-equalizer (0.3.0), dry-inflector (0.2.0), dry-logic (1.0.8), dry-types (1.4.0), grape (1.5.3), i18n (1.14.6), metaclass (0.0.4), minitest (5.10.3), minitest-stub-const (0.6), mocha (1.9.0), mustermann (2.0.2), mustermann-grape (1.0.2), newrelic_rpm (9.13.0), rack (3.0.11), rack-accept (0.4.5), rack-test (2.1.0), rackup (2.1.0), rake (13.2.1), ruby2_keywords (0.0.5), thread_safe (0.3.6), tzinfo (1.2.11), warning (1.4.0), webrick (1.8.1) Run options: --seed 49880 # Running: Rack::Auth::Digest is deprecated and will be removed in Rack 3.1 {:uplevel=>1} .FF.FFFF..F.FFE....F............... Finished in 2.278612s, 15.3602 runs/s, 25.4541 assertions/s. 1) Failure: GrapeTest#test_post_body_params_are_captured_with_rescue_from [/home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/multiverse/suites/grape/grape_test.rb:154]: Expected: "1234" Actual: nil 2) Failure: GrapeTest#test_post_body_with_nested_params_are_captured [/home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/multiverse/suites/grape/grape_test.rb:169]: --- expected +++ actual @@ -1 +1 @@ -{"request.parameters.ape.first_name"=>"koko", "request.parameters.ape.last_name"=>"gorilla"} +{} 3) Failure: GrapeTest#test_updating_a_grape_ape [/home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/multiverse/suites/grape/grape_test.rb:64]: Did not find stats for spec #<NewRelic::MetricSpec 'Middleware/Grape/GrapeTestApi/call':''>. All specs in there were: [ Apdex (<unscoped>), Apdex/Rack/Proc/call (<unscoped>), ApdexAll (<unscoped>), Controller/Rack/Proc/call (<unscoped>), DurationByCaller/Unknown/Unknown/Unknown/Unknown/all (<unscoped>), DurationByCaller/Unknown/Unknown/Unknown/Unknown/allWeb (<unscoped>), HttpDispatcher (<unscoped>), Middleware/Rack/Grape::Middleware::Error/call (<unscoped>), Middleware/Rack/Grape::Middleware::Error/call (Controller/Rack/Proc/call), Middleware/Rack/Grape::Middleware::Formatter/call (<unscoped>), Middleware/Rack/Grape::Middleware::Formatter/call (Controller/Rack/Proc/call), Middleware/Rack/Rack::Head/call (<unscoped>), Middleware/Rack/Rack::Head/call (Controller/Rack/Proc/call), Middleware/all (<unscoped>), Nested/Controller/Rack/Proc/call (<unscoped>), Nested/Controller/Rack/Proc/call (Controller/Rack/Proc/call), Supportability/API/
multiverse (frameworks, 2.4.10)
Final attempt failed. Child_process exited with error code 1
unit_tests (2.4.10)
Final attempt failed. Child_process exited with error code 3
unit_tests (3.3.5)
Final attempt failed. Child_process exited with error code 3
multiverse (agent, 3.3.5)
******************************************************************************** Running "agent_only" using CHAIN for Envfile entry 0 Starting tests in child PID 21681 at 2024-09-23 17:13:32 +0000 Bundling in /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/multiverse/suites/agent_only... Fetching gem metadata from https://rubygems.org/........ Resolving dependencies... Using rake 13.2.1 Using bundler 2.4.1 Using newrelic_rpm 9.13.0 from source at `../../../..` and installing its executables Using metaclass 0.0.4 Using minitest 5.3.3 Using minitest-stub-const 0.6 Fetching rack 2.0.9.4 Using warning 1.4.0 Using webrick 1.8.1 Using mocha 1.9.0 Installing rack 2.0.9.4 Using rack-test 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.3.3), minitest-stub-const (0.6), mocha (1.9.0), newrelic_rpm (9.13.0), rack (2.0.9.4), rack-test (2.1.0), rake (13.2.1), warning (1.4.0), webrick (1.8.1) Run options: --seed 7313 # Running: .....................F................................................................................................................................................................................................................................. Finished in 32.434221s, 7.6154 runs/s, 63.0815 assertions/s. 1) Failure: AgentAttributesTest#test_agent_attributes_assigned_from_request [/home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/multiverse/suites/agent_only/agent_attributes_test.rb:316]: [RuntimeError] exception expected, not Class: <Minitest::Assertion> Message: <"unexpected invocation: #<Mock:0x1a680>.application/json()\nsatisfied expectations:\n- allowed any number of times, not yet invoked: #<Mock:0x1a680>.request_method(any_parameters)\n- allowed any number of times, not yet invoked: #<Mock:0x1a680>.user_agent(any_parameters)\n- allowed any number of times, not yet invoked: #<Mock:0x1a680>.host(any_parameters)\n- allowed any number of times, invoked once: #<Mock:0x1a680>.content_type(any_parameters)\n- allowed any number of times, invoked once: #<Mock:0x1a680>.content_length(any_parameters)\n- allowed any number of times, invoked once: #<Mock:0x1a680>.env(any_parameters)\n- allowed any number of times, invoked once: #<Mock:0x1a680>.referer(any_parameters)\n- allowed any number of times, invoked once: #<Mock:0x1a680>.path(any_parameters)\n"> ---Backtrace--- /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/lib/new_relic/agent/transaction/request_attributes.rb:139:in `content_type_attribute_from_request' /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/lib/new_relic/agent/transaction/request_attributes.rb:27:in `initialize' /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/lib/new_relic/agent/transaction.rb:256:in `new' /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/lib/new_relic/agent/transaction.rb:256:in `initialize' /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/lib/new_relic/agent/transaction.rb:120:in `new' /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/lib/new_relic/agent/transaction.rb:120:in `start_new_transaction' /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/lib/new_relic/agent/tracer.rb:153:in `start_transaction_or_segment' /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/lib/new_relic/agent/tracer.rb:95:in `in_transaction' /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/agent_helper.rb:394:in `in_transaction' /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/multiverse/suites/agent_only/agent_attributes_test.rb:318:in `block (2 levels) in run_transaction' /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/agent_helper.rb:550:in `with_config' /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/multiverse/suites/agent_only/agent_attributes_test.rb:317:in `block in run_transaction' --------------- 247 runs, 2046 assertions, 1 failures, 0 errors, 0 skips ====== Ten slowest tests ====== 1. PipeManagerTest#test_pipes
multiverse (agent, 3.3.5)
Final attempt failed. Child_process exited with error code 1
multiverse (agent, 2.4.10)
******************************************************************************** Running "agent_only" using CHAIN for Envfile entry 0 Starting tests in child PID 16671 at 2024-09-23 17:14:11 +0000 Bundling in /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/multiverse/suites/agent_only... Fetching gem metadata from https://rubygems.org/........ Resolving dependencies... Using rake 13.2.1 Using bundler 1.17.3 Using metaclass 0.0.4 Using minitest 4.7.5 Using minitest-stub-const 0.6 Using mocha 1.9.0 Using newrelic_rpm 9.13.0 from source at `../../../..` Fetching rack 2.0.9.4 Installing rack 2.0.9.4 Using rack-test 2.1.0 Using warning 1.4.0 Using webrick 1.8.1 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 (4.7.5), minitest-stub-const (0.6), mocha (1.9.0), newrelic_rpm (9.13.0), rack (2.0.9.4), rack-test (2.1.0), rake (13.2.1), warning (1.4.0), webrick (1.8.1) Run options: --seed 42620 # Running tests: .............F......................................................................................................................................................................................................................................... Finished tests in 31.796663s, 7.7681 tests/s, 64.3464 assertions/s. 1) Failure: AgentAttributesTest#test_agent_attributes_assigned_from_request [/home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/multiverse/suites/agent_only/agent_attributes_test.rb:316]: [RuntimeError] exception expected, not Class: <MiniTest::Assertion> Message: <"unexpected invocation: #<Mock:0x561cd9233100>.application/json()\nsatisfied expectations:\n- allowed any number of times, not yet invoked: #<Mock:0x561cd9233100>.request_method(any_parameters)\n- allowed any number of times, not yet invoked: #<Mock:0x561cd9233100>.user_agent(any_parameters)\n- allowed any number of times, not yet invoked: #<Mock:0x561cd9233100>.host(any_parameters)\n- allowed any number of times, invoked once: #<Mock:0x561cd9233100>.content_type(any_parameters)\n- allowed any number of times, invoked once: #<Mock:0x561cd9233100>.content_length(any_parameters)\n- allowed any number of times, invoked once: #<Mock:0x561cd9233100>.env(any_parameters)\n- allowed any number of times, invoked once: #<Mock:0x561cd9233100>.referer(any_parameters)\n- allowed any number of times, invoked once: #<Mock:0x561cd9233100>.path(any_parameters)\n"> ---Backtrace--- /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/lib/new_relic/agent/transaction/request_attributes.rb:139:in `content_type_attribute_from_request' /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/lib/new_relic/agent/transaction/request_attributes.rb:27:in `initialize' /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/lib/new_relic/agent/transaction.rb:256:in `new' /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/lib/new_relic/agent/transaction.rb:256:in `initialize' /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/lib/new_relic/agent/transaction.rb:120:in `new' /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/lib/new_relic/agent/transaction.rb:120:in `start_new_transaction' /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/lib/new_relic/agent/tracer.rb:153:in `start_transaction_or_segment' /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/lib/new_relic/agent/tracer.rb:95:in `in_transaction' /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/agent_helper.rb:394:in `in_transaction' /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/multiverse/suites/agent_only/agent_attributes_test.rb:318:in `block (2 levels) in run_transaction' /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/agent_helper.rb:550:in `with_config' /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/multiverse/suites/agent_only/agent_attributes_test.rb:317:in `block in run_transaction' --------------- 247 tests, 2046 assertions, 1 failures, 0 errors, 0 skips Options used:
multiverse (agent, 2.4.10)
Final attempt failed. Child_process exited with error code 1
multiverse (frameworks, 3.3.5)
Final attempt failed. Child_process exited with error code 1
multiverse (frameworks, 3.3.5)
******************************************************************************** Running "grape" using CHAIN for Envfile entry 0 Starting tests in child PID 11402 at 2024-09-23 17:13:02 +0000 Bundling in /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/multiverse/suites/grape... Fetching gem metadata from https://rubygems.org/....... Resolving dependencies... Using rake 13.2.1 Using base64 0.2.0 Using bigdecimal 3.1.8 Using concurrent-ruby 1.3.4 Using connection_pool 2.4.1 Using drb 2.2.1 Using logger 1.6.1 Using minitest 5.16.3 Using securerandom 0.3.1 Using bundler 2.4.1 Fetching zeitwerk 2.6.18 Using ruby2_keywords 0.0.5 Fetching dry-inflector 1.1.0 Using rack 3.1.7 Using metaclass 0.0.4 Using minitest-stub-const 0.6 Using newrelic_rpm 9.13.0 from source at `../../../..` and installing its executables Using webrick 1.8.1 Using warning 1.4.0 Using i18n 1.14.6 Using tzinfo 2.0.6 Using mustermann 3.0.3 Using rack-test 2.1.0 Using mocha 1.9.0 Fetching rackup 2.1.0 Using activesupport 7.2.1 Fetching mustermann-grape 1.1.0 Installing dry-inflector 1.1.0 Installing rackup 2.1.0 Installing zeitwerk 2.6.18 Installing mustermann-grape 1.1.0 Fetching dry-core 1.0.1 Installing dry-core 1.0.1 Fetching dry-logic 1.5.0 Installing dry-logic 1.5.0 Fetching dry-types 1.7.2 Installing dry-types 1.7.2 Fetching grape 2.2.0 Installing grape 2.2.0 Bundle complete! 12 Gemfile dependencies, 31 gems now installed. Use `bundle info [gemname]` to see where a bundled gem is installed. activesupport (7.2.1), base64 (0.2.0), bigdecimal (3.1.8), concurrent-ruby (1.3.4), connection_pool (2.4.1), drb (2.2.1), dry-core (1.0.1), dry-inflector (1.1.0), dry-logic (1.5.0), dry-types (1.7.2), grape (2.2.0), i18n (1.14.6), logger (1.6.1), metaclass (0.0.4), minitest (5.16.3), minitest-stub-const (0.6), mocha (1.9.0), mustermann (3.0.3), mustermann-grape (1.1.0), newrelic_rpm (9.13.0), rack (3.1.7), rack-test (2.1.0), rackup (2.1.0), rake (13.2.1), ruby2_keywords (0.0.5), securerandom (0.3.1), tzinfo (2.0.6), warning (1.4.0), webrick (1.8.1), zeitwerk (2.6.18) Run options: --seed 37881 # Running: FF.FFF......FF.F.FFE............... Finished in 2.523418s, 13.8701 runs/s, 22.9847 assertions/s. 1) Failure: GrapeTest#test_params_are_captured_on_transaction_events [/home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/multiverse/suites/grape/grape_test.rb:212]: --- expected +++ actual @@ -1 +1 @@ -{"request.parameters.foo"=>"bar", "request.parameters.bar"=>"baz"} +{} 2) Failure: GrapeTest#test_post_body_params_are_captured_with_rescue_from [/home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/multiverse/suites/grape/grape_test.rb:154]: Expected: "1234" Actual: nil 3) Failure: GrapeTest#test_deleting_a_grape_ape [/home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/multiverse/suites/grape/grape_test.rb:70]: Did not find stats for spec #<NewRelic::MetricSpec 'Middleware/Grape/GrapeTestApi/call':''>. All specs in there were: [ Apdex (<unscoped>), Apdex/Rack/Proc/call (<unscoped>), ApdexAll (<unscoped>), Controller/Rack/Proc/call (<unscoped>), DurationByCaller/Unknown/Unknown/Unknown/Unknown/all (<unscoped>), DurationByCaller/Unknown/Unknown/Unknown/Unknown/allWeb (<unscoped>), HttpDispatcher (<unscoped>), Middleware/Rack/Grape::Middleware::Error/call (<unscoped>), Middleware/Rack/Grape::Middleware::Error/call (Controller/Rack/Proc/call), Middleware/Rack/Grape::Middleware::Formatter/call (<unscoped>), Middleware/Rack/Grape::Middleware::Formatter/call (Controller/Rack/Proc/call), Middleware/Rack/Rack::Head/call (<unscoped>), Middleware/Rack/Rack::Head/call (Controller/Rack/Proc/call), Middleware/all (<unscoped>), Nested/Controller/Rack/Proc/call (<unscoped>), Nested/Controller/Rack/Proc/call (Controller/Rack/Proc/call), Supportability/API/disable_all_tracing (<unscoped>), Supportability/API/drop_buffered_data (<unscoped>), Supportability/API/increment_metric (<unscoped>), Supportability/API/manual_start (<unscoped>), Supportability/API/record_metric (<unscoped>), Suppo
multiverse (rails, 3.3.5)
******************************************************************************** Running "rails" using CHAIN for Envfile entry 4 Starting tests in child PID 52044 at 2024-09-23 17:14:33 +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.2.1 Using concurrent-ruby 1.3.4 Using minitest 5.2.3 Using zeitwerk 2.6.18 Using builder 3.3.0 Using erubi 1.13.0 Using racc 1.8.1 Using crass 1.0.6 Using rack 2.2.9 Using nio4r 2.7.3 Using websocket-extensions 0.1.5 Using marcel 1.0.4 Using mini_mime 1.1.5 Using date 3.3.4 Using timeout 0.4.1 Using bundler 2.4.1 Using temple 0.10.3 Using tilt 2.4.0 Using method_source 1.1.0 Using thor 1.3.2 Using metaclass 0.0.4 Using minitest-stub-const 0.6 Using newrelic_rpm 9.13.0 from source at `../../../..` and installing its executables Using warning 1.4.0 Using webrick 1.8.1 Using i18n 1.14.6 Using tzinfo 2.0.6 Using rack-test 2.1.0 Using sprockets 4.2.1 Using net-protocol 0.2.2 Using websocket-driver 0.7.6 Using haml 5.1.2 Using mocha 1.9.0 Using activesupport 6.1.7.8 Using net-imap 0.4.16 Using net-pop 0.1.2 Using net-smtp 0.5.0 Using globalid 1.2.1 Using activemodel 6.1.7.8 Using mail 2.8.1 Using nokogiri 1.16.7 (x86_64-linux) Using activejob 6.1.7.8 Using activerecord 6.1.7.8 Using rails-dom-testing 2.2.0 Using loofah 2.22.0 Using rails-html-sanitizer 1.6.0 Using actionview 6.1.7.8 Using actionpack 6.1.7.8 Using actioncable 6.1.7.8 Using activestorage 6.1.7.8 Using actionmailer 6.1.7.8 Using railties 6.1.7.8 Using sprockets-rails 3.5.2 Using actionmailbox 6.1.7.8 Using actiontext 6.1.7.8 Using haml-rails 2.1.0 Using rails 6.1.7.8 Bundle complete! 10 Gemfile dependencies, 57 gems now installed. Use `bundle info [gemname]` to see where a bundled gem is installed. actioncable (6.1.7.8), actionmailbox (6.1.7.8), actionmailer (6.1.7.8), actionpack (6.1.7.8), actiontext (6.1.7.8), actionview (6.1.7.8), activejob (6.1.7.8), activemodel (6.1.7.8), activerecord (6.1.7.8), activestorage (6.1.7.8), activesupport (6.1.7.8), builder (3.3.0), concurrent-ruby (1.3.4), crass (1.0.6), date (3.3.4), erubi (1.13.0), globalid (1.2.1), haml (5.1.2), haml-rails (2.1.0), i18n (1.14.6), loofah (2.22.0), mail (2.8.1), marcel (1.0.4), metaclass (0.0.4), method_source (1.1.0), mini_mime (1.1.5), minitest (5.2.3), minitest-stub-const (0.6), mocha (1.9.0), net-imap (0.4.16), net-pop (0.1.2), net-protocol (0.2.2), net-smtp (0.5.0), newrelic_rpm (9.13.0), nio4r (2.7.3), nokogiri (1.16.7), racc (1.8.1), rack (2.2.9), rack-test (2.1.0), rails (6.1.7.8), rails-dom-testing (2.2.0), rails-html-sanitizer (1.6.0), railties (6.1.7.8), rake (13.2.1), sprockets (4.2.1), sprockets-rails (3.5.2), temple (0.10.3), thor (1.3.2), tilt (2.4.0), timeout (0.4.1), tzinfo (2.0.6), warning (1.4.0), webrick (1.8.1), websocket-driver (0.7.6), websocket-extensions (0.1.5), zeitwerk (2.6.18) Run options: --seed 2629 # Running: ...........S.............. Emitting log from failure: test_record_perform_all_later_metrics_in_web S.......................................................F Failure: GCRailsInstrumentationTest#test_records_accurate_time_for_gc_activity [/home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/multiverse/suites/rails/gc_instrumentation_test.rb:54]: GC Time wasn't recorded! rails test gc_instrumentation_test.rb:44 E Error: GCRailsInstrumentationTest#test_records_transaction_param_for_gc_activity: NoMethodError: undefined method `attributes' for nil /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/agent_helper.rb:917:in `attributes_for' /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/multiverse/suites/rails/gc_instrumentation_test.rb:65:in `test_records_transaction_param_for_gc_activity' rails test gc_instrumentation_test.rb:58 ............................................................................ Finished in 12.287337s, 13.0215 runs/s, 47.1217 assertions/s. 160 runs, 579 assertions, 1 failures, 1 errors, 2 skips Y
multiverse (rails, 3.3.5)
Final attempt failed. Child_process exited with error code 1
multiverse (rest, 2.4.10)
Final attempt failed. Child_process exited with error code 1
multiverse (rest, 2.4.10)
******************************************************************************** Running "rack" using CHAIN for Envfile entry 0 Starting tests in child PID 12345 at 2024-09-23 17:13:34 +0000 Bundling in /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/multiverse/suites/rack... Fetching gem metadata from https://rubygems.org/........ Resolving dependencies... Fetching rake 13.2.1 Installing rake 13.2.1 Using bundler 1.17.3 Fetching metaclass 0.0.4 Installing metaclass 0.0.4 Fetching minitest 5.10.3 Installing minitest 5.10.3 Using minitest-stub-const 0.6 Fetching mocha 1.9.0 Installing mocha 1.9.0 Using newrelic_rpm 9.13.0 from source at `../../../..` Fetching nio4r 2.7.3 Installing nio4r 2.7.3 with native extensions Fetching puma 6.4.3 Installing puma 6.4.3 with native extensions Using rack 3.1.7 Fetching rack-test 2.1.0 Installing rack-test 2.1.0 Fetching webrick 1.8.1 Installing webrick 1.8.1 Fetching rackup 2.1.0 Installing rackup 2.1.0 Using warning 1.4.0 Bundle complete! 11 Gemfile dependencies, 14 gems now installed. Use `bundle info [gemname]` to see where a bundled gem is installed. metaclass (0.0.4), minitest (5.10.3), minitest-stub-const (0.6), mocha (1.9.0), newrelic_rpm (9.13.0), nio4r (2.7.3), puma (6.4.3), rack (3.1.7), rack-test (2.1.0), rackup (2.1.0), rake (13.2.1), warning (1.4.0), webrick (1.8.1) Run options: --seed 53207 # Running: ................................EE........ Finished in 1.712603s, 24.5241 runs/s, 124.3721 assertions/s. 1) Error: RackParameterFilteringTest#test_apply_filters_returns_params_when_rails_is_not_present: NoMethodError: undefined method `filtered_params=' for nil:NilClass /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/new_relic/filtering_test_app.rb:14:in `call' /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /opt/hostedtoolcache/Ruby/2.4.10/x64/lib/ruby/gems/2.4.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request' /opt/hostedtoolcache/Ruby/2.4.10/x64/lib/ruby/gems/2.4.0/gems/rack-test-2.1.0/lib/rack/test.rb:163:in `custom_request' /opt/hostedtoolcache/Ruby/2.4.10/x64/lib/ruby/gems/2.4.0/gems/rack-test-2.1.0/lib/rack/test.rb:112:in `post' /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/multiverse/suites/rack/rack_parameter_filtering_test.rb:40:in `block in test_apply_filters_returns_params_when_rails_is_not_present' /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/agent_helper.rb:550:in `with_config' /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/multiverse/suites/rack/rack_parameter_filtering_test.rb:38:in `test_apply_filters_returns_params_when_rails_is_not_present' 2) Error: RackParameterFilteringTest#test_file_upload_params_are_filtered: NoMethodError: undefined method `filtered_params=' for nil:NilClass /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/new_relic/filtering_test_app.rb:14:in `call' /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /opt/hostedtoolcache/Ruby/2.4.10/x64/lib/ruby/gems/2.4.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request' /opt/hostedtoolcache/Ruby/2.4.10/x64/lib/ruby/gems/2.4.0/gems/rack-test-2.1.0/lib/rack/test.rb:163:in `custom_request' /opt/hostedtoolcache/Ruby/2.4.10/x64/lib/ruby/gems/2.4.0/gems/rack-test-2.1.0/lib/rack/test.rb:112:in `post' /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/multiverse/suites/rack/rack_parameter_filtering_test.rb:26:in `block in test_file_upload_params_are_filtered' /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/agent_helper.rb:550:in `with_config' /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/multiverse/suites/rack/rack_parameter_filtering_test.rb:21:in `test_file_upload_params_are_filtered' 42 runs, 213 assertions, 0 failures, 2 errors, 0 skips ====== Ten slowest tests ====== 1. RackEnvMutationTest#test_safe_from_iter
multiverse (rails, 2.4.10)
******************************************************************************** Running "rails" using CHAIN for Envfile entry 0 Starting tests in child PID 23839 at 2024-09-23 17:16:42 +0000 Bundling in /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/multiverse/suites/rails... Fetching gem metadata from https://rubygems.org/........... Fetching gem metadata from https://rubygems.org/. Resolving dependencies.... Using rake 13.2.1 Using concurrent-ruby 1.3.4 Using i18n 1.14.6 Using minitest 5.2.3 Using thread_safe 0.3.6 Using tzinfo 1.2.11 Using activesupport 5.2.8.1 Using builder 3.3.0 Using erubi 1.13.0 Using mini_portile2 2.4.0 Using nokogiri 1.10.10 Using rails-dom-testing 2.1.1 Using crass 1.0.6 Using loofah 2.20.0 Using rails-html-sanitizer 1.5.0 Using actionview 5.2.8.1 Using rack 2.2.9 Using rack-test 2.1.0 Using actionpack 5.2.8.1 Using nio4r 2.7.3 Using websocket-extensions 0.1.5 Using websocket-driver 0.7.6 Using actioncable 5.2.8.1 Using globalid 0.4.2 Using activejob 5.2.8.1 Using mini_mime 1.1.2 Using mail 2.7.1 Using actionmailer 5.2.8.1 Using activemodel 5.2.8.1 Using arel 9.0.0 Using activerecord 5.2.8.1 Using marcel 1.0.4 Using activestorage 5.2.8.1 Using base64 0.2.0 Using bundler 1.17.3 Using erubis 2.7.0 Using temple 0.8.2 Using tilt 2.4.0 Fetching haml 5.1.2 Installing haml 5.1.2 Fetching sexp_processor 4.16.1 Installing sexp_processor 4.16.1 Fetching ruby_parser 3.19.2 Installing ruby_parser 3.19.2 Fetching html2haml 2.3.0 Installing html2haml 2.3.0 Using method_source 1.1.0 Using thor 1.2.2 Using railties 5.2.8.1 Fetching haml-rails 1.0.0 Installing haml-rails 1.0.0 Using metaclass 0.0.4 Using minitest-stub-const 0.6 Using mocha 1.9.0 Using newrelic_rpm 9.13.0 from source at `../../../..` Using sprockets 3.7.5 Using sprockets-rails 3.2.2 Using rails 5.2.8.1 Using warning 1.4.0 Using webrick 1.8.1 Bundle complete! 11 Gemfile dependencies, 55 gems now installed. Use `bundle info [gemname]` to see where a bundled gem is installed. actioncable (5.2.8.1), actionmailer (5.2.8.1), actionpack (5.2.8.1), actionview (5.2.8.1), activejob (5.2.8.1), activemodel (5.2.8.1), activerecord (5.2.8.1), activestorage (5.2.8.1), activesupport (5.2.8.1), arel (9.0.0), base64 (0.2.0), builder (3.3.0), concurrent-ruby (1.3.4), crass (1.0.6), erubi (1.13.0), erubis (2.7.0), globalid (0.4.2), haml (5.1.2), haml-rails (1.0.0), html2haml (2.3.0), i18n (1.14.6), loofah (2.20.0), mail (2.7.1), marcel (1.0.4), metaclass (0.0.4), method_source (1.1.0), mini_mime (1.1.2), mini_portile2 (2.4.0), minitest (5.2.3), minitest-stub-const (0.6), mocha (1.9.0), newrelic_rpm (9.13.0), nio4r (2.7.3), nokogiri (1.10.10), rack (2.2.9), rack-test (2.1.0), rails (5.2.8.1), rails-dom-testing (2.1.1), rails-html-sanitizer (1.5.0), railties (5.2.8.1), rake (13.2.1), ruby_parser (3.19.2), sexp_processor (4.16.1), sprockets (3.7.5), sprockets-rails (3.2.2), temple (0.8.2), thor (1.2.2), thread_safe (0.3.6), tilt (2.4.0), tzinfo (1.2.11), warning (1.4.0), webrick (1.8.1), websocket-driver (0.7.6), websocket-extensions (0.1.5) Run options: --seed 33491 # Running: ...E Error: GCRailsInstrumentationTest#test_records_transaction_param_for_gc_activity: NoMethodError: undefined method `attributes' for nil:NilClass bin/rails test gc_instrumentation_test.rb:58 F Failure: GCRailsInstrumentationTest#test_records_accurate_time_for_gc_activity [/home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/multiverse/suites/rails/gc_instrumentation_test.rb:54]: GC Time wasn't recorded! bin/rails test gc_instrumentation_test.rb:44 .............................................................................................SS.S.S.S.S............................................. Emitting log from failure: test_record_perform_all_later_metrics_in_web S...... Finished in 11.541573s, 13.8629 runs/s, 48.4336 assertions/s. 160 runs, 559 assertions, 1 failures, 1 errors, 7 skips You have skipped tests. Run with --verbose for details. ====== Ten slowest tests ====== 1. ErrorsWithoutSSCTest#test_should_capture_multiple_errors: 0.20444 2. Er
multiverse (rails, 2.4.10)
Final attempt failed. Child_process exited with error code 1
multiverse (rest, 3.3.5)
Final attempt failed. Child_process exited with error code 1
multiverse (rest, 3.3.5)
******************************************************************************** Running "rack" using CHAIN for Envfile entry 0 Starting tests in child PID 9898 at 2024-09-23 17:12:41 +0000 Bundling in /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/multiverse/suites/rack... Fetching gem metadata from https://rubygems.org/........ Resolving dependencies... Fetching rake 13.2.1 Installing rake 13.2.1 Using bundler 2.4.1 Using newrelic_rpm 9.13.0 from source at `../../../..` and installing its executables Using minitest-stub-const 0.6 Fetching metaclass 0.0.4 Fetching minitest 5.16.3 Fetching nio4r 2.7.3 Using rack 3.1.7 Fetching webrick 1.8.1 Installing metaclass 0.0.4 Installing webrick 1.8.1 Installing minitest 5.16.3 Using warning 1.4.0 Fetching rack-test 2.1.0 Installing nio4r 2.7.3 with native extensions Installing rack-test 2.1.0 Fetching mocha 1.9.0 Fetching rackup 2.1.0 Installing rackup 2.1.0 Installing mocha 1.9.0 Fetching puma 6.4.3 Installing puma 6.4.3 with native extensions Bundle complete! 11 Gemfile dependencies, 14 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.13.0), nio4r (2.7.3), puma (6.4.3), rack (3.1.7), rack-test (2.1.0), rackup (2.1.0), rake (13.2.1), warning (1.4.0), webrick (1.8.1) Run options: --seed 62182 # Running: ....................................EE.... Finished in 3.126694s, 13.4327 runs/s, 68.1231 assertions/s. 1) Error: RackParameterFilteringTest#test_file_upload_params_are_filtered: NoMethodError: undefined method `filtered_params=' for nil /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/new_relic/filtering_test_app.rb:14:in `call' /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /opt/hostedtoolcache/Ruby/3.3.5/x64/lib/ruby/gems/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request' /opt/hostedtoolcache/Ruby/3.3.5/x64/lib/ruby/gems/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:163:in `custom_request' /opt/hostedtoolcache/Ruby/3.3.5/x64/lib/ruby/gems/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:112:in `post' /opt/hostedtoolcache/Ruby/3.3.5/x64/lib/ruby/3.3.0/forwardable.rb:240:in `post' /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/multiverse/suites/rack/rack_parameter_filtering_test.rb:26:in `block in test_file_upload_params_are_filtered' /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/agent_helper.rb:550:in `with_config' /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/multiverse/suites/rack/rack_parameter_filtering_test.rb:21:in `test_file_upload_params_are_filtered' 2) Error: RackParameterFilteringTest#test_apply_filters_returns_params_when_rails_is_not_present: NoMethodError: undefined method `filtered_params=' for nil /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/new_relic/filtering_test_app.rb:14:in `call' /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /opt/hostedtoolcache/Ruby/3.3.5/x64/lib/ruby/gems/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request' /opt/hostedtoolcache/Ruby/3.3.5/x64/lib/ruby/gems/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:163:in `custom_request' /opt/hostedtoolcache/Ruby/3.3.5/x64/lib/ruby/gems/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:112:in `post' /opt/hostedtoolcache/Ruby/3.3.5/x64/lib/ruby/3.3.0/forwardable.rb:240:in `post' /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/multiverse/suites/rack/rack_parameter_filtering_test.rb:40:in `block in test_apply_filters_returns_params_when_rails_is_not_present' /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/agent_helper.rb:550:in `with_config' /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/multiverse/suites/rack/rack_parameter_filtering_test.rb:38:in `test_apply_filters_r
multiverse (ai, 3.3.5)
No files were found with the provided path: gem_manifest_3.3.5_ai.json. No artifacts will be uploaded.
multiverse (ai, 2.4.10)
No files were found with the provided path: gem_manifest_2.4.10_ai.json. No artifacts will be uploaded.
multiverse (ai, 2.4.10)
No files were found with the provided path: lib/coverage_*/.resultset.json. No artifacts will be uploaded.
multiverse (background, 3.3.5)
No files were found with the provided path: gem_manifest_3.3.5_background.json. No artifacts will be uploaded.
multiverse (background, 2.4.10)
No files were found with the provided path: gem_manifest_2.4.10_background.json. No artifacts will be uploaded.
multiverse (background, 2.4.10)
No files were found with the provided path: lib/coverage_*/.resultset.json. No artifacts will be uploaded.
multiverse (database, 2.4.10)
No files were found with the provided path: lib/coverage_*/.resultset.json. No artifacts will be uploaded.
multiverse (database, 2.4.10)
No files were found with the provided path: gem_manifest_2.4.10_database.json. No artifacts will be uploaded.
multiverse (httpclients_2, 3.3.5)
No files were found with the provided path: gem_manifest_3.3.5_httpclients_2.json. No artifacts will be uploaded.
multiverse (database, 3.3.5)
No files were found with the provided path: gem_manifest_3.3.5_database.json. No artifacts will be uploaded.
multiverse (httpclients, 3.3.5)
No files were found with the provided path: gem_manifest_3.3.5_httpclients.json. No artifacts will be uploaded.
multiverse (httpclients_2, 2.4.10)
No files were found with the provided path: gem_manifest_2.4.10_httpclients_2.json. No artifacts will be uploaded.
multiverse (httpclients_2, 2.4.10)
No files were found with the provided path: lib/coverage_*/.resultset.json. No artifacts will be uploaded.
multiverse (frameworks, 2.4.10)
The following actions use a deprecated Node.js version and will be forced to run on node20: ./.github/actions/annotate. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
multiverse (frameworks, 2.4.10)
Attempt 1 failed. Reason: Child_process exited with error code 1
unit_tests (2.4.10)
Attempt 1 failed. Reason: Child_process exited with error code 3
multiverse (background_2, 3.3.5)
No files were found with the provided path: gem_manifest_3.3.5_background_2.json. No artifacts will be uploaded.
unit_tests (3.3.5)
Attempt 1 failed. Reason: Child_process exited with error code 3
multiverse (agent, 3.3.5)
The following actions use a deprecated Node.js version and will be forced to run on node20: ./.github/actions/annotate. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
multiverse (agent, 3.3.5)
Attempt 1 failed. Reason: Child_process exited with error code 1
multiverse (agent, 2.4.10)
The following actions use a deprecated Node.js version and will be forced to run on node20: ./.github/actions/annotate. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
multiverse (agent, 2.4.10)
Attempt 1 failed. Reason: Child_process exited with error code 1
multiverse (frameworks, 3.3.5)
The following actions use a deprecated Node.js version and will be forced to run on node20: ./.github/actions/annotate. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
multiverse (frameworks, 3.3.5)
Attempt 1 failed. Reason: Child_process exited with error code 1
multiverse (httpclients, 2.4.10)
No files were found with the provided path: lib/coverage_*/.resultset.json. No artifacts will be uploaded.
multiverse (httpclients, 2.4.10)
No files were found with the provided path: gem_manifest_2.4.10_httpclients.json. No artifacts will be uploaded.
multiverse (background_2, 2.4.10)
No files were found with the provided path: lib/coverage_*/.resultset.json. No artifacts will be uploaded.
multiverse (background_2, 2.4.10)
No files were found with the provided path: gem_manifest_2.4.10_background_2.json. No artifacts will be uploaded.
multiverse (rails, 3.3.5)
The following actions use a deprecated Node.js version and will be forced to run on node20: ./.github/actions/annotate. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
multiverse (rails, 3.3.5)
Attempt 1 failed. Reason: Child_process exited with error code 1
multiverse (rest, 2.4.10)
The following actions use a deprecated Node.js version and will be forced to run on node20: ./.github/actions/annotate. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
multiverse (rest, 2.4.10)
Attempt 1 failed. Reason: Child_process exited with error code 1
multiverse (rails, 2.4.10)
The following actions use a deprecated Node.js version and will be forced to run on node20: ./.github/actions/annotate. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
multiverse (rails, 2.4.10)
Attempt 1 failed. Reason: Child_process exited with error code 1
multiverse (rest, 3.3.5)
The following actions use a deprecated Node.js version and will be forced to run on node20: ./.github/actions/annotate. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
multiverse (rest, 3.3.5)
Attempt 1 failed. Reason: Child_process exited with error code 1

Artifacts

Produced during runtime
Name Size
coverage-report-infinite-tracing-2.7.8-infinite_tracing
73.4 KB
coverage-report-infinite-tracing-3.3.5-infinite_tracing
72.8 KB
coverage-report-multiverse-3.3.5-ai Expired
578 KB
coverage-report-multiverse-3.3.5-background Expired
798 KB
coverage-report-multiverse-3.3.5-background_2 Expired
436 KB
coverage-report-multiverse-3.3.5-database Expired
1.57 MB
coverage-report-multiverse-3.3.5-httpclients Expired
903 KB
coverage-report-multiverse-3.3.5-httpclients_2 Expired
1.32 MB