db explain plan refactor #6227
Annotations
2 errors and 2 warnings
Annotate errors
********************************************************************************
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
|
Run Multiverse Tests
Final attempt failed. Child_process exited with error code 1
|
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/
|
Run Multiverse Tests
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Loading