Skip to content

db explain plan refactor #6227

db explain plan refactor

db explain plan refactor #6227

Triggered via pull request November 14, 2024 19:09
Status Failure
Total duration 13m 7s
Artifacts 12

ci.yml

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

Annotations

6 errors and 40 warnings
multiverse (agent, 3.3.6)
Final attempt failed. Child_process exited with error code 1
multiverse (agent, 3.3.6)
******************************************************************************** Running "agent_only" using CHAIN for Envfile entry 0 Starting tests in child PID 22961 at 2024-11-14 19:13:47 +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.15.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.9.0 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.15.0), rack (2.0.9.4), rack-test (2.1.0), rake (13.2.1), warning (1.4.0), webrick (1.9.0) Run options: --seed 13437 # Running: ...........................................................................................................................................................................................................................................EE.......... Finished in 34.845425s, 7.0884 runs/s, 60.0940 assertions/s. 1) Error: ThreadProfilingTest#test_thread_profiling_can_stop: NoMethodError: undefined method `run_id' for nil /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/multiverse/suites/agent_only/thread_profiling_test.rb:88:in `test_thread_profiling_can_stop' 2) Error: ThreadProfilingTest#test_thread_profiling: NoMethodError: undefined method `run_id' for nil /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/multiverse/suites/agent_only/thread_profiling_test.rb:69:in `test_thread_profiling' 247 runs, 2094 assertions, 0 failures, 2 errors, 0 skips ====== Ten slowest tests ====== 1. PipeManagerTest#test_pipes_are_regularly_checked_for_freshness: 3.07085 2. PipeManagerTest#test_old_pipes_are_cleaned_up_after_timeout: 2.56977 3. StartUpTest#test_no_warnings: 0.87313 4. StartUpTest#test_manual_start_with_symbol_for_environment: 0.75476 5. StartUpTest#test_instrumentation_loads_clean_even_without_dependencies: 0.75445 6. StartUpTest#test_manual_start_logs_about_mismatched_environment: 0.75014 7. StartUpTest#test_should_not_print_to_stdout_when_logging_available: 0.73898 8. StartUpTest#test_can_call_public_api_methods_when_agent_disabled: 0.70015 9. StartUpTest#test_agent_does_not_start_if_hsm_and_lasp_both_enabled: 0.69941 10. AuditLogTest#test_logs_request_bodies_human_readably_ish: 0.39618 One or more failures or errors were seen! Options used: [] "agent_only" for Envfile entry 0 failed! (exit: pid 22960 exit 1) ******************************************************************************** Running "agent_only" using CHAIN for Envfile entry 0 Starting tests in child PID 61302 at 2024-11-14 19:15:54 +0000 Bundling in /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/multiverse/suites/agent_only... WARN: Unresolved or ambiguous specs during Gem::Specification.reset: stringio (>= 0) Available/installed versions of this gem: - 3.1.2 - 3.1.1 WARN: Clearing out unresolved specs. Try 'gem cleanup <gem>' Please report a bug if this causes problems. Fetching gem metadata from https://rubygems.org/........ Resolving dependencies... Using rake 13.2.1 Using bundler 2.4.1 Using newrelic_rpm 9.15.0 from source at `../../../..` and installing its executables Using metaclass 0.0.4 Using minitest 5.3.3 Using minitest-stub-const 0.6 Using rack 2.0.9.4 Using warning 1.4.0 Using webrick 1.9.0 Using mocha 1.9.0 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.15.0), rack (2.0.9.4), rack-test (2.1.0), rake (13.2.1), warning (
multiverse (rails, 2.4.10)
******************************************************************************** Running "active_record_pg" using CHAIN for Envfile entry 0 Starting tests in child PID 20708 at 2024-11-14 19:14:46 +0000 Bundling in /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/multiverse/suites/active_record_pg... 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 activemodel 5.2.8.1 Using arel 9.0.0 Using activerecord 5.2.8.1 Using bundler 1.17.3 Using metaclass 0.0.4 Using minitest-stub-const 0.6 Using mocha 1.9.0 Using newrelic_rpm 9.15.0 from source at `../../../..` Fetching pg 1.2.3 Installing pg 1.2.3 with native extensions Using rack 3.1.8 Using webrick 1.9.0 Using rackup 2.1.0 Using warning 1.4.0 Bundle complete! 11 Gemfile dependencies, 20 gems now installed. Use `bundle info [gemname]` to see where a bundled gem is installed. activemodel (5.2.8.1), activerecord (5.2.8.1), activesupport (5.2.8.1), arel (9.0.0), concurrent-ruby (1.3.4), i18n (1.14.6), metaclass (0.0.4), minitest (5.2.3), minitest-stub-const (0.6), mocha (1.9.0), newrelic_rpm (9.15.0), pg (1.2.3), rack (3.1.8), rackup (2.1.0), rake (13.2.1), thread_safe (0.3.6), tzinfo (1.2.11), warning (1.4.0), webrick (1.9.0) Dropped database 'multiverse_activerecord_5_2_8_1_2_4_10_ruby' Created database 'multiverse_activerecord_5_2_8_1_2_4_10_ruby' == 20141105131800 CreateUsersAndAliases: migrating ============================ -- create_table(:users, {:id=>:integer}) -> 0.0025s -- add_index(:users, :name, {:unique=>true}) -> 0.0024s -- create_table(:aliases, {:id=>:integer}) -> 0.0022s == 20141105131800 CreateUsersAndAliases: migrated (0.0072s) =================== == 20141106082200 CreateOrdersAndShipments: migrating ========================= -- create_table(:orders, {:id=>:integer}) -> 0.0021s -- create_table(:shipments, {:force=>true, :id=>:integer}) -> 0.0020s -- create_table(:order_shipments, {:force=>true, :id=>false}) -> 0.0012s == 20141106082200 CreateOrdersAndShipments: migrated (0.0054s) ================ == 20150413011200 AddTimestampsToOrders: migrating ============================ -- change_table(:orders, {}) -> 0.0014s == 20150413011200 AddTimestampsToOrders: migrated (0.0014s) =================== == 20150414084400 CreateGroups: migrating ===================================== -- create_table(:groups, {:id=>:integer}) -> 0.0021s -- create_table(:groups_users, {:id=>false}) -> 0.0008s == 20150414084400 CreateGroups: migrated (0.0029s) ============================ Run options: --seed 12645 # Running: ............S..............S.............S.S.E.... Finished in 2.896776s, 17.2606 runs/s, 66.9710 assertions/s. 1) Error: ActiveRecordInstrumentationTest#test_metrics_for_direct_sql_show: NoMethodError: undefined method `with_connection' for #<Class:0x0000557abffe1b38> /opt/hostedtoolcache/Ruby/2.4.10/x64/lib/ruby/gems/2.4.0/gems/activerecord-5.2.8.1/lib/active_record/dynamic_matchers.rb:22:in `method_missing' /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/multiverse/suites/active_record_pg/active_record_test.rb:381:in `block in test_metrics_for_direct_sql_show' /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/agent_helper.rb:457:in `block in in_web_transaction' /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/agent_helper.rb:396:in `block in in_transaction' /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/lib/new_relic/agent/tracer.rb:106: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/agent_helper.rb:456:in `in_web_transaction' /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/multiverse/suites/active_record_pg/active_record_test.rb:380:in `test_metrics_for_direct_sql_show' 50 runs, 194 asserti
multiverse (rails, 2.4.10)
Final attempt failed. Child_process exited with error code 1
multiverse (rails, 3.3.6)
Final attempt failed. Child_process exited with error code 1
multiverse (rails, 3.3.6)
******************************************************************************** Running "rails_prepend" using CHAIN for Envfile entry 0 Starting tests in child PID 9875 at 2024-11-14 19:12:37 +0000 Bundling in /home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/multiverse/suites/rails_prepend... Fetching gem metadata from https://rubygems.org/........... Resolving dependencies... Fetching rake 13.2.1 Installing rake 13.2.1 Using base64 0.2.0 Fetching benchmark 0.4.0 Fetching bigdecimal 3.1.8 Fetching concurrent-ruby 1.3.4 Fetching connection_pool 2.4.1 Installing benchmark 0.4.0 Installing connection_pool 2.4.1 Fetching drb 2.2.1 Fetching logger 1.6.1 Installing bigdecimal 3.1.8 with native extensions Installing concurrent-ruby 1.3.4 Installing drb 2.2.1 Installing logger 1.6.1 Fetching minitest 5.2.3 Fetching securerandom 0.3.2 Installing securerandom 0.3.2 Installing minitest 5.2.3 Fetching uri 1.0.2 Fetching builder 3.3.0 Installing uri 1.0.2 Fetching erubi 1.13.0 Using racc 1.8.1 Fetching crass 1.0.6 Installing builder 3.3.0 Installing erubi 1.13.0 Using rack 3.1.8 Fetching useragent 0.16.10 Installing crass 1.0.6 Fetching nio4r 2.7.4 Fetching websocket-extensions 0.1.5 Installing useragent 0.16.10 Fetching zeitwerk 2.7.1 Installing websocket-extensions 0.1.5 Installing zeitwerk 2.7.1 Fetching timeout 0.4.2 Installing nio4r 2.7.4 with native extensions Fetching marcel 1.0.4 Installing timeout 0.4.2 Fetching mini_mime 1.1.5 Installing marcel 1.0.4 Fetching date 3.4.0 Installing mini_mime 1.1.5 Using bundler 2.4.1 Fetching temple 0.10.3 Installing date 3.4.0 with native extensions Installing temple 0.10.3 Fetching thor 1.3.2 Installing thor 1.3.2 Fetching tilt 2.4.0 Installing tilt 2.4.0 Fetching io-console 0.7.2 Installing io-console 0.7.2 with native extensions Fetching stringio 3.1.2 Installing stringio 3.1.2 with native extensions Fetching metaclass 0.0.4 Installing metaclass 0.0.4 Using minitest-stub-const 0.6 Using newrelic_prepender 0.1.0 from source at `/home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/multiverse/suites/rails_prepend/newrelic_prepender` Using newrelic_rpm 9.15.0 from source at `../../../..` and installing its executables Using warning 1.4.0 Fetching webrick 1.9.0 Installing webrick 1.9.0 Fetching i18n 1.14.6 Fetching tzinfo 2.0.6 Installing i18n 1.14.6 Installing tzinfo 2.0.6 Fetching nokogiri 1.16.7 (x86_64-linux) Fetching rack-session 2.0.0 Installing rack-session 2.0.0 Fetching rack-test 2.1.0 Installing rack-test 2.1.0 Fetching rackup 2.2.1 Installing rackup 2.2.1 Fetching websocket-driver 0.7.6 Installing websocket-driver 0.7.6 with native extensions Installing nokogiri 1.16.7 (x86_64-linux) Using net-protocol 0.2.2 Fetching haml 6.3.0 Installing haml 6.3.0 Fetching reline 0.5.11 Installing reline 0.5.11 Fetching mocha 1.9.0 Installing mocha 1.9.0 Fetching psych 5.2.0 Fetching loofah 2.23.1 Installing psych 5.2.0 with native extensions Installing loofah 2.23.1 Using net-pop 0.1.2 Fetching net-smtp 0.5.0 Installing net-smtp 0.5.0 Fetching rails-html-sanitizer 1.6.0 Installing rails-html-sanitizer 1.6.0 Fetching rdoc 6.7.0 Installing rdoc 6.7.0 Fetching irb 1.14.1 Installing irb 1.14.1 Fetching net-imap 0.5.1 Installing net-imap 0.5.1 Fetching mail 2.8.1 Installing mail 2.8.1 Fetching activesupport 8.0.0 Installing activesupport 8.0.0 Fetching rails-dom-testing 2.2.0 Fetching globalid 1.2.1 Fetching activemodel 8.0.0 Installing rails-dom-testing 2.2.0 Installing globalid 1.2.1 Installing activemodel 8.0.0 Fetching actionview 8.0.0 Fetching activejob 8.0.0 Fetching activerecord 8.0.0 Installing activejob 8.0.0 Installing actionview 8.0.0 Fetching actionpack 8.0.0 Installing activerecord 8.0.0 Installing actionpack 8.0.0 Fetching actioncable 8.0.0 Fetching actionmailer 8.0.0 Fetching railties 8.0.0 Fetching activestorage 8.0.0 Installing actionmailer 8.0.0 Installing actioncable 8.0.0 Installing activestorage 8.0.0 Installing railties 8.0.0 Fetching actionmailbox 8.0.0 Fetching actiontext 8.0.0 Installing actionmailbox 8.0.0 Installing actiontext 8.0.0 Fetching rails 8
multiverse (ai, 3.3.6)
No files were found with the provided path: gem_manifest_3.3.6_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 (database, 3.3.6)
No files were found with the provided path: gem_manifest_3.3.6_database.json. No artifacts will be uploaded.
multiverse (httpclients_2, 3.3.6)
No files were found with the provided path: gem_manifest_3.3.6_httpclients_2.json. No artifacts will be uploaded.
multiverse (httpclients, 3.3.6)
No files were found with the provided path: gem_manifest_3.3.6_httpclients.json. No artifacts will be uploaded.
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 (agent, 2.4.10)
No files were found with the provided path: lib/coverage_*/.resultset.json. No artifacts will be uploaded.
multiverse (agent, 2.4.10)
No files were found with the provided path: gem_manifest_2.4.10_agent.json. No artifacts will be uploaded.
multiverse (background, 3.3.6)
Attempt 1 failed. Reason: Child_process exited with error code 1
multiverse (background, 3.3.6)
No files were found with the provided path: gem_manifest_3.3.6_background.json. No artifacts will be uploaded.
multiverse (frameworks, 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)
No files were found with the provided path: gem_manifest_2.4.10_frameworks.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.
unit_tests (2.4.10)
No files were found with the provided path: lib/coverage_*/.resultset.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 (kafka, 2.4.10)
No files were found with the provided path: gem_manifest_2.4.10_kafka.json. No artifacts will be uploaded.
multiverse (kafka, 2.4.10)
No files were found with the provided path: lib/coverage_*/.resultset.json. No artifacts will be uploaded.
multiverse (frameworks, 3.3.6)
Attempt 1 failed. Reason: Child_process exited with error code 1
multiverse (frameworks, 3.3.6)
No files were found with the provided path: gem_manifest_3.3.6_frameworks.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 (agent, 3.3.6)
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.6)
Attempt 1 failed. Reason: Child_process exited with error code 1
multiverse (kafka, 3.3.6)
No files were found with the provided path: gem_manifest_3.3.6_kafka.json. No artifacts will be uploaded.
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 (background_2, 3.3.6)
No files were found with the provided path: gem_manifest_3.3.6_background_2.json. No artifacts will be uploaded.
multiverse (background_2, 3.3.6)
Attempt 1 failed. Reason: Child_process exited with error code 1
multiverse (rails, 3.3.6)
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.6)
Attempt 1 failed. Reason: Child_process exited with error code 1
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 (rest, 3.3.6)
Attempt 1 failed. Reason: Child_process exited with error code 1
multiverse (rest, 3.3.6)
No files were found with the provided path: gem_manifest_3.3.6_rest.json. No artifacts will be uploaded.
multiverse (rest, 2.4.10)
No files were found with the provided path: lib/coverage_*/.resultset.json. No artifacts will be uploaded.
multiverse (rest, 2.4.10)
No files were found with the provided path: gem_manifest_2.4.10_rest.json. No artifacts will be uploaded.

Artifacts

Produced during runtime
Name Size
coverage-report-infinite-tracing-2.7.8-infinite_tracing
73.5 KB
coverage-report-infinite-tracing-3.3.6-infinite_tracing
72.8 KB
coverage-report-multiverse-3.3.6-ai Expired
579 KB
coverage-report-multiverse-3.3.6-background Expired
1.49 MB
coverage-report-multiverse-3.3.6-background_2 Expired
801 KB
coverage-report-multiverse-3.3.6-database Expired
1.57 MB
coverage-report-multiverse-3.3.6-frameworks Expired
2.85 MB
coverage-report-multiverse-3.3.6-httpclients Expired
903 KB
coverage-report-multiverse-3.3.6-httpclients_2 Expired
1.32 MB
coverage-report-multiverse-3.3.6-kafka Expired
289 KB
coverage-report-multiverse-3.3.6-rest Expired
6.73 MB
coverage-report-unit-tests-3.3.6-norails,rails61,rails72
271 KB