human-essentials icon indicating copy to clipboard operation
human-essentials copied to clipboard

flaky tests in development

Open technicalpickles opened this issue 1 year ago • 16 comments

I followed the contributing guide, and wanted to run the specs with bin/rspec. I got "lucky" and had a few tests flake:

Failures:

  1) Distributions When creating a distribution from a donation when editing that distribution User creates duplicate line items
     Failure/Error: click_on "Distributions", match: :first

     Capybara::ElementNotFound:
       Unable to find visible link or button "Distributions"

     [Screenshot Image]: /Users/josh.nichols/workspace/human-essentials/tmp/capybara/failures_r_spec_example_groups_distributions_3_when_creating_a_distribution_from_a_donation_when_editing_that_distribution_user_creates_duplicate_line_items_839.png


     # ./spec/system/distribution_system_spec.rb:535:in `block (4 levels) in <top (required)>'

  2) Partners GET #show html when the partner is invited includes impact metrics
     Failure/Error: expect(assigns[:impact_metrics]).to eq(expected_impact_metrics)

       expected: {:children_served=>4, :families_served=>3, :family_zipcodes=>2, :family_zipcodes_list=>["45612-123", "45612-126"]}
            got: {:children_served=>4, :families_served=>3, :family_zipcodes=>2, :family_zipcodes_list=>["45612-126", "45612-123"]}

       (compared using ==)

       Diff:
       @@ -1,5 +1,5 @@
        :children_served => 4,
        :families_served => 3,
        :family_zipcodes => 2,
       -:family_zipcodes_list => ["45612-123", "45612-126"],
       +:family_zipcodes_list => ["45612-126", "45612-123"],

     # ./spec/requests/partners_requests_spec.rb:130:in `block (5 levels) in <top (required)>'

  3) Product Drives When visiting the index page without parameters Shows the expected filters with the expected values and in alphabetical order for name filter
     Failure/Error: visit subject

     Ferrum::PendingConnectionsError:
       Request to http://127.0.0.1:62681/product_drives reached server, but there are still pending connections: https://ga.jspm.io/npm:[email protected]/dist/jquery.js, https://ga.jspm.io/npm:[email protected]/highcharts.js, https://ga.jspm.io/npm:[email protected]/dist/trix.esm.min.js, https://ga.jspm.io/npm:@rails/[email protected]/app/assets/javascripts/actiontext.js, https://ga.jspm.io/npm:[email protected]/build/cjs-browser/luxon.js, https://ga.jspm.io/npm:[email protected]/toastr.js, https://ga.jspm.io/npm:@fullcalendar/[email protected]/index.js, https://ga.jspm.io/npm:[email protected]/dist/preact.module.js, https://ga.jspm.io/npm:[email protected]/compat/dist/compat.module.js, https://ga.jspm.io/npm:[email protected]/hooks/dist/hooks.module.js, https://ga.jspm.io/npm:@fullcalendar/[email protected]/index.js, https://ga.jspm.io/npm:@fullcalendar/[email protected]/, https://ga.jspm.io/npm:@fullcalendar/[email protected]/index.js, https://ga.jspm.io/npm:@fullcalendar/[email protected]/index.js, https://ga.jspm.io/npm:[email protected]/dist/quagga.min.js, https://ga.jspm.io/npm:@rails/[email protected]/lib/assets/compiled/rails-ujs.js, https://ga.jspm.io/npm:[email protected]/dist/js/bootstrap-select.js, https://ga.jspm.io/npm:[email protected]/ui/widget.js, https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,300italic,400italic,600italic

     [Screenshot Image]: /Users/josh.nichols/workspace/human-essentials/tmp/screenshots/failures_r_spec_example_groups_product_drives_2_when_visiting_the_index_page_without_parameters_shows_the_expected_filters_with_the_expected_values_and_in_alphabetical_order_for_name_filter_63.png


     # ./spec/system/product_drive_system_spec.rb:26:in `block (3 levels) in <top (required)>'
     # ./spec/system/product_drive_system_spec.rb:16:in `block (3 levels) in <top (required)>'
     # ------------------
     # --- Caused by: ---
     # Ferrum::TimeoutError:
     #   Timed out waiting for response. It's possible that this happened because something took a very long time (for example a page load was slow). If so, setting the :timeout option to a higher value might help.
     #   ./spec/system/product_drive_system_spec.rb:26:in `block (3 levels) in <top (required)>'

Failures:

  1) Distributions When creating a distribution from a donation when editing that distribution User creates duplicate line items
     Failure/Error: click_on "Distributions", match: :first

     Capybara::ElementNotFound:
       Unable to find visible link or button "Distributions"

     [Screenshot Image]: /Users/josh.nichols/workspace/human-essentials/tmp/capybara/failures_r_spec_example_groups_distributions_3_when_creating_a_distribution_from_a_donation_when_editing_that_distribution_user_creates_duplicate_line_items_839.png


     # ./spec/system/distribution_system_spec.rb:535:in `block (4 levels) in <top (required)>'

  2) Partners GET #show html when the partner is invited includes impact metrics
     Failure/Error: expect(assigns[:impact_metrics]).to eq(expected_impact_metrics)

       expected: {:children_served=>4, :families_served=>3, :family_zipcodes=>2, :family_zipcodes_list=>["45612-123", "45612-126"]}
            got: {:children_served=>4, :families_served=>3, :family_zipcodes=>2, :family_zipcodes_list=>["45612-126", "45612-123"]}

       (compared using ==)

       Diff:
       @@ -1,5 +1,5 @@
        :children_served => 4,
        :families_served => 3,
        :family_zipcodes => 2,
       -:family_zipcodes_list => ["45612-123", "45612-126"],
       +:family_zipcodes_list => ["45612-126", "45612-123"],

     # ./spec/requests/partners_requests_spec.rb:130:in `block (5 levels) in <top (required)>'

  3) Product Drives When visiting the index page without parameters Shows the expected filters with the expected values and in alphabetical order for name filter
     Failure/Error: visit subject

     Ferrum::PendingConnectionsError:
       Request to http://127.0.0.1:62681/product_drives reached server, but there are still pending connections: https://ga.jspm.io/npm:[email protected]/dist/jquery.js, https://ga.jspm.io/npm:[email protected]/highcharts.js, https://ga.jspm.io/npm:[email protected]/dist/trix.esm.min.js, https://ga.jspm.io/npm:@rails/[email protected]/app/assets/javascripts/actiontext.js, https://ga.jspm.io/npm:[email protected]/build/cjs-browser/luxon.js, https://ga.jspm.io/npm:[email protected]/toastr.js, https://ga.jspm.io/npm:@fullcalendar/[email protected]/index.js, https://ga.jspm.io/npm:[email protected]/dist/preact.module.js, https://ga.jspm.io/npm:[email protected]/compat/dist/compat.module.js, https://ga.jspm.io/npm:[email protected]/hooks/dist/hooks.module.js, https://ga.jspm.io/npm:@fullcalendar/[email protected]/index.js, https://ga.jspm.io/npm:@fullcalendar/[email protected]/, https://ga.jspm.io/npm:@fullcalendar/[email protected]/index.js, https://ga.jspm.io/npm:@fullcalendar/[email protected]/index.js, https://ga.jspm.io/npm:[email protected]/dist/quagga.min.js, https://ga.jspm.io/npm:@rails/[email protected]/lib/assets/compiled/rails-ujs.js, https://ga.jspm.io/npm:[email protected]/dist/js/bootstrap-select.js, https://ga.jspm.io/npm:[email protected]/ui/widget.js, https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,300italic,400italic,600italic

     [Screenshot Image]: /Users/josh.nichols/workspace/human-essentials/tmp/screenshots/failures_r_spec_example_groups_product_drives_2_when_visiting_the_index_page_without_parameters_shows_the_expected_filters_with_the_expected_values_and_in_alphabetical_order_for_name_filter_63.png


     # ./spec/system/product_drive_system_spec.rb:26:in `block (3 levels) in <top (required)>'
     # ./spec/system/product_drive_system_spec.rb:16:in `block (3 levels) in <top (required)>'
     # ------------------
     # --- Caused by: ---
     # Ferrum::TimeoutError:
     #   Timed out waiting for response. It's possible that this happened because something took a very long time (for example a page load was slow). If so, setting the :timeout option to a higher value might help.
     #   ./spec/system/product_drive_system_spec.rb:26:in `block (3 levels) in <top (required)>'

Deprecation Warnings:

Rails 7.1 has deprecated the singular fixture_path in favour of an array.You should migrate to plural:


If you need more of the backtrace for any of these deprecations to
identify where to make the necessary changes, you can configure
`config.raise_errors_for_deprecations!`, and it will turn the
deprecation warnings into errors, giving you the full backtrace.

1 deprecation warning total

Finished in 9 minutes 18 seconds (files took 8.51 seconds to load)
2214 examples, 3 failures, 1 pending

I re-ran it, and the tests pass. They also seem to pass on their own.

It seemed to be very specific to the seed 64284, where it fails with --seed 64284 but passes without it, which makes me think it is order dependent.

I'm doing some more testing to make sure it is consistent, and to narrow down a reproducible case with --bisect, but figured I'd log it in case anyone else saw it

technicalpickles avatar Jul 29 '24 18:07 technicalpickles

distribution_system_spec.rb:535 also fails with the same error message

on test ./spec/system/distribution_system_spec.rb:549 # Distributions When creating a distribution from a donation when editing that distribution User creates a distribution from a donation then tries to make the quantity too big

on seed 18522

see full log here

but interestingly I can't reproduce this when running the test on that seed locally

This is probably the same error mentioned in issue #4381 on seed 50836

jimmyli97 avatar Jul 31 '24 03:07 jimmyli97

rspec --bisect normally is intended to help with this (ie bin/rspec --seed 64284, but unfortunately it segfaults somewhere around the postgres driver 😒

stacktrace
DEPRECATION WARNING: `Rails.application.secrets` is deprecated in favor of `Rails.application.credentials` and will be removed in Rails 7.2. (called from  at /Users/josh.nichols/workspace/human-essentials/config/environment.rb:5)
DEPRECATION WARNING: `Rails.application.secrets` is deprecated in favor of `Rails.application.credentials` and will be removed in Rails 7.2. (called from  at /Users/josh.nichols/workspace/human-essentials/config/environment.rb:5)
Bisect started using options: "--seed 64284"
Running suite to find failures.../Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/pg-1.5.6/lib/pg/connection.rb:695: [BUG] Segmentation fault at 0x0000000100a84ae4
ruby 3.2.2 (2023-03-30 revision e51014f9c0) [arm64-darwin23]

-- Crash Report log information -------------------------------------------- See Crash Report log file in one of the following locations: * ~/Library/Logs/DiagnosticReports * /Library/Logs/DiagnosticReports for more details. Don't forget to include the above Crash Report log file in bug reports.

-- Control frame information ----------------------------------------------- c:0074 p:---- s:0407 e:000406 CFUNC :connect_poll c:0073 p:0358 s:0403 e:000402 METHOD /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/pg-1.5.6/lib/pg/connection.rb:695 c:0072 p:0128 s:0390 e:000389 METHOD /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/pg-1.5.6/lib/pg/connection.rb:833 c:0071 p:0007 s:0382 e:000381 METHOD /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/pg-1.5.6/lib/pg/connection.rb:764 c:0070 p:0012 s:0376 e:000375 METHOD /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/pg-1.5.6/lib/pg.rb:63 c:0069 p:0006 s:0370 e:000369 METHOD /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/activerecord-7.1.3.4/lib/active_record/conne c:0068 p:0008 s:0364 e:000363 METHOD /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/activerecord-7.1.3.4/lib/active_record/conne c:0067 p:0020 s:0359 e:000358 METHOD /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/activerecord-7.1.3.4/lib/active_record/conne c:0066 p:0004 s:0355 e:000354 BLOCK /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/activerecord-7.1.3.4/lib/active_record/conne c:0065 p:0002 s:0349 e:000348 METHOD /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/activesupport-7.1.3.4/lib/active_support/con c:0064 p:0031 s:0345 e:000344 METHOD /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/activerecord-7.1.3.4/lib/active_record/conne c:0063 p:0022 s:0337 e:000336 METHOD /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/activerecord-7.1.3.4/lib/active_record/conne c:0062 p:0003 s:0333 e:000332 METHOD /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/activerecord-7.1.3.4/lib/active_record/conne c:0061 p:0016 s:0329 e:000328 BLOCK /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/activerecord-7.1.3.4/lib/active_record/conne c:0060 p:0002 s:0320 e:000319 METHOD /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/activesupport-7.1.3.4/lib/active_support/con c:0059 p:0006 s:0316 e:000315 METHOD /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/activerecord-7.1.3.4/lib/active_record/conne c:0058 p:0008 s:0309 e:000308 METHOD /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/activerecord-7.1.3.4/lib/active_record/conne c:0057 p:0144 s:0304 e:000302 METHOD /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/activerecord-7.1.3.4/lib/active_record/conne c:0056 p:0069 s:0298 e:000297 METHOD /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/activerecord-7.1.3.4/lib/active_record/conne c:0055 p:0051 s:0293 e:000286 METHOD /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/activerecord-7.1.3.4/lib/active_record/conne c:0054 p:0011 s:0282 e:000281 METHOD /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/activerecord-7.1.3.4/lib/active_record/conne c:0053 p:0016 s:0276 e:000271 BLOCK /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/activerecord-7.1.3.4/lib/active_record/conne [FINISH] c:0052 p:---- s:0269 e:000268 CFUNC :fetch c:0051 p:0033 s:0264 e:000263 METHOD /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/activerecord-7.1.3.4/lib/active_record/conne c:0050 p:0016 s:0258 e:000254 BLOCK /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/activerecord-7.1.3.4/lib/active_record/conne [FINISH] c:0049 p:---- s:0252 e:000251 CFUNC :fetch c:0048 p:0008 s:0247 e:000246 METHOD /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/activerecord-7.1.3.4/lib/active_record/conne c:0047 p:0011 s:0241 e:000240 METHOD /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/activerecord-7.1.3.4/lib/active_record/conne c:0046 p:0010 s:0235 e:000234 METHOD /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/activerecord-7.1.3.4/lib/active_record/conne c:0045 p:0037 s:0230 e:000229 METHOD /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/activerecord-7.1.3.4/lib/active_record/model c:0044 p:0004 s:0225 e:000224 METHOD /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/activerecord-7.1.3.4/lib/active_record/attri c:0043 p:0004 s:0221 e:000220 METHOD /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/activerecord-7.1.3.4/lib/active_record/encry c:0042 p:0013 s:0217 e:000216 BLOCK /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/activerecord-7.1.3.4/lib/active_record/model [FINISH] c:0041 p:---- s:0214 e:000213 CFUNC :synchronize c:0040 p:0013 s:0210 e:000209 METHOD /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/activerecord-7.1.3.4/lib/active_record/model c:0039 p:0003 s:0206 e:000205 METHOD /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/activerecord-7.1.3.4/lib/active_record/model c:0038 p:0010 s:0202 e:000201 METHOD /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/activerecord-7.1.3.4/lib/active_record/model c:0037 p:0013 s:0198 e:000196 CLASS /Users/josh.nichols/workspace/human-essentials/app/models/view/inventory.rb:10 c:0036 p:0008 s:0194 e:000193 CLASS /Users/josh.nichols/workspace/human-essentials/app/models/view/inventory.rb:8 c:0035 p:0007 s:0191 e:000190 CLASS /Users/josh.nichols/workspace/human-essentials/app/models/view/inventory.rb:7 c:0034 p:0015 s:0188 e:000187 TOP /Users/josh.nichols/workspace/human-essentials/app/models/view/inventory.rb:5 [FINISH] c:0033 p:---- s:0185 e:000184 CFUNC :require c:0032 p:0011 s:0180 e:000179 METHOD internal:/Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb:37 c:0031 p:0024 s:0165 e:000164 METHOD /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/zeitwerk-2.6.16/lib/zeitwerk/kernel.rb:26 [FINISH] c:0030 p:0004 s:0157 e:000155 TOP /Users/josh.nichols/workspace/human-essentials/spec/models/view/inventory_spec.rb:1 [FINISH] c:0029 p:---- s:0153 e:000152 CFUNC :load c:0028 p:0007 s:0148 e:000147 METHOD /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/configurati c:0027 p:0015 s:0139 e:000138 BLOCK /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/configurati [FINISH] c:0026 p:---- s:0134 e:000133 CFUNC :each c:0025 p:0017 s:0130 e:000129 METHOD /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/configurati c:0024 p:0020 s:0126 e:000125 BLOCK /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/bisect/fork c:0023 p:0003 s:0122 e:000121 METHOD internal:kernel:90 c:0022 p:0026 s:0118 e:000117 METHOD /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/bisect/fork c:0021 p:0005 s:0111 e:000110 BLOCK /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/bisect/fork [FINISH] c:0020 p:---- s:0108 e:000107 CFUNC :fork c:0019 p:0004 s:0104 e:000103 METHOD /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/bisect/fork c:0018 p:0007 s:0098 e:000097 METHOD /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/bisect/fork c:0017 p:0021 s:0093 e:000092 METHOD /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/bisect/fork c:0016 p:0005 s:0089 e:000088 BLOCK /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/bisect/exam c:0015 p:0008 s:0085 e:000084 METHOD /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/bisect/exam c:0014 p:0022 s:0080 e:000079 METHOD /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/bisect/exam c:0013 p:0003 s:0074 e:000073 METHOD /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/bisect/exam c:0012 p:0024 s:0068 e:000067 BLOCK /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/bisect/coor c:0011 p:0013 s:0063 e:000062 METHOD /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/bisect/fork c:0010 p:0023 s:0056 e:000055 METHOD /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/bisect/coor c:0009 p:0004 s:0050 e:000049 METHOD /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/bisect/coor c:0008 p:0011 s:0044 e:000043 METHOD /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/bisect/coor c:0007 p:0053 s:0037 e:000036 METHOD /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/invocations c:0006 p:0046 s:0027 e:000026 METHOD /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:6 c:0005 p:0013 s:0019 e:000018 METHOD /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:4 c:0004 p:0010 s:0014 e:000013 TOP /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/rspec-core-3.13.0/exe/rspec:4 [FINISH] c:0003 p:---- s:0011 e:000010 CFUNC :load c:0002 p:0017 s:0006 e:000005 EVAL bin/rspec:3 [FINISH] c:0001 p:0000 s:0003 E:001090 DUMMY [FINISH]

-- Ruby level backtrace information ---------------------------------------- bin/rspec:3:in <main>' bin/rspec:3:in load' /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/rspec-core-3.13.0/exe/rspec:4:in <top (required)>' /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:45:in invoke' /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:69:in run' /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/invocations.rb:36:in call' /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/bisect/coordinator.rb:17:in bisect_with' /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/bisect/coordinator.rb:27:in bisect' /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/bisect/coordinator.rb:49:in start_bisect_runner' /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/bisect/fork_runner.rb:38:in start' /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/bisect/coordinator.rb:31:in block in bisect' /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/bisect/example_minimizer.rb:20:in find_minimal_repro' /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/bisect/example_minimizer.rb:117:in prep' /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/bisect/example_minimizer.rb:155:in track_duration' /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/bisect/example_minimizer.rb:118:in block in prep' /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/bisect/fork_runner.rb:59:in original_results' /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/bisect/fork_runner.rb:70:in dispatch_run' /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/bisect/fork_runner.rb:94:in dispatch_specs' /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/bisect/fork_runner.rb:94:in fork' /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/bisect/fork_runner.rb:94:in block in dispatch_specs' /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/bisect/fork_runner.rb:108:in run_specs' <internal:kernel>:90:in tap' /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/bisect/fork_runner.rb:111:in block in run_specs' /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/configuration.rb:1636:in load_spec_files' /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/configuration.rb:1636:in each' /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/configuration.rb:1638:in block in load_spec_files' /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/configuration.rb:2138:in load_file_handling_errors' /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/configuration.rb:2138:in load' /Users/josh.nichols/workspace/human-essentials/spec/models/view/inventory_spec.rb:1:in <top (required)>' /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/zeitwerk-2.6.16/lib/zeitwerk/kernel.rb:26:in require' internal:/Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb:37:in require' <internal:/Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in require' /Users/josh.nichols/workspace/human-essentials/app/models/view/inventory.rb:5:in <top (required)>' /Users/josh.nichols/workspace/human-essentials/app/models/view/inventory.rb:7:in module:View' /Users/josh.nichols/workspace/human-essentials/app/models/view/inventory.rb:8:in <class:Inventory>' /Users/josh.nichols/workspace/human-essentials/app/models/view/inventory.rb:10:in class:ViewInventoryItem' /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/activerecord-7.1.3.4/lib/active_record/model_schema.rb:505:in column_names' /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/activerecord-7.1.3.4/lib/active_record/model_schema.rb:430:in columns' /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/activerecord-7.1.3.4/lib/active_record/model_schema.rb:560:in load_schema' /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/activerecord-7.1.3.4/lib/active_record/model_schema.rb:560:in synchronize' /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/activerecord-7.1.3.4/lib/active_record/model_schema.rb:563:in block in load_schema' /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/activerecord-7.1.3.4/lib/active_record/encryption/encryptable_record.rb:127:in load_schema!' /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/activerecord-7.1.3.4/lib/active_record/attributes.rb:264:in load_schema!' /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/activerecord-7.1.3.4/lib/active_record/model_schema.rb:618:in load_schema!' /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/activerecord-7.1.3.4/lib/active_record/connection_adapters/schema_cache.rb:188:in columns_hash' /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/activerecord-7.1.3.4/lib/active_record/connection_adapters/schema_cache.rb:58:in columns_hash' /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/activerecord-7.1.3.4/lib/active_record/connection_adapters/schema_cache.rb:353:in columns_hash' /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/activerecord-7.1.3.4/lib/active_record/connection_adapters/schema_cache.rb:353:in fetch' /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/activerecord-7.1.3.4/lib/active_record/connection_adapters/schema_cache.rb:354:in block in columns_hash' /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/activerecord-7.1.3.4/lib/active_record/connection_adapters/schema_cache.rb:345:in columns' /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/activerecord-7.1.3.4/lib/active_record/connection_adapters/schema_cache.rb:345:in fetch' /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/activerecord-7.1.3.4/lib/active_record/connection_adapters/schema_cache.rb:346:in block in columns' /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/activerecord-7.1.3.4/lib/active_record/connection_adapters/abstract/schema_statements.rb:109:in columns' /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/activerecord-7.1.3.4/lib/active_record/connection_adapters/postgresql_adapter.rb:1084:in column_definitions' /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/activerecord-7.1.3.4/lib/active_record/connection_adapters/postgresql/quoting.rb:69:in quote' /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/activerecord-7.1.3.4/lib/active_record/connection_adapters/abstract/quoting.rb:15:in quote' /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/activerecord-7.1.3.4/lib/active_record/connection_adapters/postgresql/quoting.rb:75:in quote_string' /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/activerecord-7.1.3.4/lib/active_record/connection_adapters/abstract_adapter.rb:1000:in with_raw_connection' /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/activesupport-7.1.3.4/lib/active_support/concurrency/null_lock.rb:9:in synchronize' /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/activerecord-7.1.3.4/lib/active_record/connection_adapters/abstract_adapter.rb:1001:in block in with_raw_connection' /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/activerecord-7.1.3.4/lib/active_record/connection_adapters/abstract_adapter.rb:795:in connect!' /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/activerecord-7.1.3.4/lib/active_record/connection_adapters/abstract_adapter.rb:788:in verify!' /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/activerecord-7.1.3.4/lib/active_record/connection_adapters/abstract_adapter.rb:684:in reconnect!' /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/activesupport-7.1.3.4/lib/active_support/concurrency/null_lock.rb:9:in synchronize' /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/activerecord-7.1.3.4/lib/active_record/connection_adapters/abstract_adapter.rb:685:in block in reconnect!' /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/activerecord-7.1.3.4/lib/active_record/connection_adapters/postgresql_adapter.rb:992:in reconnect' /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/activerecord-7.1.3.4/lib/active_record/connection_adapters/postgresql_adapter.rb:980:in connect' /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/activerecord-7.1.3.4/lib/active_record/connection_adapters/postgresql_adapter.rb:69:in new_client' /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/pg-1.5.6/lib/pg.rb:63:in connect' /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/pg-1.5.6/lib/pg/connection.rb:764:in new' /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/pg-1.5.6/lib/pg/connection.rb:833:in connect_to_hosts' /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/pg-1.5.6/lib/pg/connection.rb:695:in async_connect_or_reset' /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/pg-1.5.6/lib/pg/connection.rb:695:in `connect_poll'

-- Machine register context ------------------------------------------------ x0: 0x000000020560ccac x1: 0x0000000000000000 x2: 0x000000019d51eae8 x3: 0x0000000000000008 x4: 0x0000000004701010 x5: 0x000000016f8a9720 x6: 0x0000000000000000 x7: 0x0000000000000850 x18: 0x0000000000000000 x19: 0x00006000035dce80 x20: 0x00006000035dce80 x21: 0x0000000100a84ae6 x22: 0x0000000100a84ae6 x23: 0x0000000128043870 x24: 0x0000000000000001 x25: 0x0000000000000002 x26: 0x0000000000000000 x27: 0x0000000128043968 x28: 0x0000000128043938 lr: 0x000000019d5210a4 fp: 0x000000016f8a9750 sp: 0x000000016f8a9700

-- C level backtrace information ------------------------------------------- /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/libruby.3.2.dylib(rb_vm_bugreport+0x9a0) [0x101200f80] /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/libruby.3.2.dylib(rb_bug_for_fatal_signal+0x160) [0x101037aec] /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/libruby.3.2.dylib(sig_do_nothing+0x0) [0x101163f60] /usr/lib/system/libsystem_platform.dylib(_sigtramp+0x38) [0x19d803584] /usr/lib/system/libsystem_trace.dylib(_os_log_preferences_refresh+0x28) [0x19d5210a4] [0x19d521b20] [0x19d4dd89c] [0x19d4e03bc] [0x1066d8ae8] [0x1066d85d4] [0x1066d58c4] [0x1066d5ba0] [0x1065cd7c4] [0x1065cd080] [0x1065bf0d8] [0x1065bed1c] [0x1065beb80] [0x1065800e8] [0x10656ed80] [0x106150318] /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/libruby.3.2.dylib(_rb_nogvl+0xb8) [0x1011a5370] [0x1061502f0] [0x10615679c] /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/libruby.3.2.dylib(_vm_call_cfunc_with_frame+0xe8) [0x1011f5190] /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/libruby.3.2.dylib(_vm_call_symbol+0x25c) [0x1011f59f4] /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/libruby.3.2.dylib(_vm_sendish+0x484) [0x1011f7538] /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/libruby.3.2.dylib(_vm_exec_core+0x22b8) [0x1011dac00] /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/libruby.3.2.dylib(_rb_vm_exec+0x890) [0x1011ec6d4] /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/libruby.3.2.dylib(_invoke_block_from_c_bh+0x3a0) [0x1011fbb74] /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/libruby.3.2.dylib(_rb_yield+0xb4) [0x1011e609c] /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/libruby.3.2.dylib(_rb_hash_fetch_m+0x154) [0x10106d3a0] /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/libruby.3.2.dylib(_vm_call_cfunc_with_frame+0xe8) [0x1011f5190] /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/libruby.3.2.dylib(_vm_sendish+0x484) [0x1011f7538] /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/libruby.3.2.dylib(_vm_exec_core+0x1f80) [0x1011da8c8] /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/libruby.3.2.dylib(_rb_vm_exec+0x890) [0x1011ec6d4] /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/libruby.3.2.dylib(_invoke_block_from_c_bh+0x3a0) [0x1011fbb74] /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/libruby.3.2.dylib(_rb_yield+0xb4) [0x1011e609c] /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/libruby.3.2.dylib(_rb_hash_fetch_m+0x154) [0x10106d3a0] /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/libruby.3.2.dylib(_vm_call_cfunc_with_frame+0xe8) [0x1011f5190] /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/libruby.3.2.dylib(_vm_sendish+0x484) [0x1011f7538] /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/libruby.3.2.dylib(_vm_exec_core+0x1f80) [0x1011da8c8] /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/libruby.3.2.dylib(_rb_vm_exec+0x890) [0x1011ec6d4] /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/libruby.3.2.dylib(_invoke_block_from_c_bh+0x3a0) [0x1011fbb74] /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/libruby.3.2.dylib(_rb_yield_values+0x118) [0x1011e61f0] /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/libruby.3.2.dylib(_rb_ensure+0x174) [0x1010440c8] /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/libruby.3.2.dylib(_vm_call_cfunc_with_frame+0xe8) [0x1011f5190] /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/libruby.3.2.dylib(_vm_sendish+0x484) [0x1011f7538] /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/libruby.3.2.dylib(_vm_exec_core+0x1f80) [0x1011da8c8] /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/libruby.3.2.dylib(_rb_vm_exec+0x890) [0x1011ec6d4] /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/libruby.3.2.dylib(_load_iseq_eval+0xf0) [0x1010a3c80] /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/libruby.3.2.dylib(_require_internal+0x388) [0x1010a1a5c] /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/libruby.3.2.dylib(_rb_f_require+0x38) [0x1010a0f8c] /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/libruby.3.2.dylib(_vm_call_cfunc_with_frame+0xe8) [0x1011f5190] /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/libruby.3.2.dylib(_vm_call_alias+0x70) [0x1011f18bc] /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/libruby.3.2.dylib(_vm_sendish+0x484) [0x1011f7538] /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/libruby.3.2.dylib(_vm_exec_core+0x22b8) [0x1011dac00] /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/libruby.3.2.dylib(_rb_vm_exec+0x890) [0x1011ec6d4] /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/libruby.3.2.dylib(_rb_funcallv+0x1c8) [0x1011e199c] /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/libruby.3.2.dylib(_rb_funcall+0x74) [0x1011e5b1c] /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/libruby.3.2.dylib(_autoload_try_load+0x94) [0x1011d2588] /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/libruby.3.2.dylib(_rb_ensure+0x174) [0x1010440c8] /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/libruby.3.2.dylib(_rb_autoload_load+0xfc) [0x1011d220c] /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/libruby.3.2.dylib(_rb_const_search_from+0x160) [0x1011d5b40] /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/libruby.3.2.dylib(_rb_const_get_0+0x54) [0x1011d2b88] /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/libruby.3.2.dylib(_vm_exec_core+0x8ec) [0x1011d9234] /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/libruby.3.2.dylib(_rb_vm_exec+0x890) [0x1011ec6d4] /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/libruby.3.2.dylib(_load_iseq_eval+0xf0) [0x1010a3c80] /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/libruby.3.2.dylib(_rb_load_internal+0x84) [0x1010a0d58] /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/libruby.3.2.dylib(_rb_f_load+0xb8) [0x1010a2294] /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/libruby.3.2.dylib(_vm_call_cfunc_with_frame+0xe8) [0x1011f5190] /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/libruby.3.2.dylib(_vm_call_symbol+0x25c) [0x1011f59f4] /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/libruby.3.2.dylib(_vm_sendish+0x484) [0x1011f7538] /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/libruby.3.2.dylib(_vm_exec_core+0x22b8) [0x1011dac00] /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/libruby.3.2.dylib(_rb_vm_exec+0x890) [0x1011ec6d4] /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/libruby.3.2.dylib(_invoke_block_from_c_bh+0x3a0) [0x1011fbb74] /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/libruby.3.2.dylib(_rb_yield+0xb4) [0x1011e609c] /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/libruby.3.2.dylib(_rb_ary_each+0x40) [0x100fb0678] /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/libruby.3.2.dylib(_vm_call_cfunc_with_frame+0xe8) [0x1011f5190] /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/libruby.3.2.dylib(_vm_sendish+0x484) [0x1011f7538] /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/libruby.3.2.dylib(_vm_exec_core+0x1f80) [0x1011da8c8] /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/libruby.3.2.dylib(_rb_vm_exec+0x890) [0x1011ec6d4] /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/libruby.3.2.dylib(_invoke_block_from_c_bh+0x3a0) [0x1011fbb74] /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/libruby.3.2.dylib(_rb_yield+0xb4) [0x1011e609c] /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/libruby.3.2.dylib(_rb_protect+0x16c) [0x101043ed0] /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/libruby.3.2.dylib(_rb_f_fork+0x90) [0x101112390] /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/libruby.3.2.dylib(_vm_call_cfunc_with_frame+0xe8) [0x1011f5190] /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/libruby.3.2.dylib(_vm_sendish+0x484) [0x1011f7538] /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/libruby.3.2.dylib(_vm_exec_core+0x1f80) [0x1011da8c8] /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/libruby.3.2.dylib(_rb_vm_exec+0x890) [0x1011ec6d4] /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/libruby.3.2.dylib(_load_iseq_eval+0xf0) [0x1010a3c80] /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/libruby.3.2.dylib(_rb_load_internal+0x84) [0x1010a0d58] /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/libruby.3.2.dylib(_rb_f_load+0xb8) [0x1010a2294] /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/libruby.3.2.dylib(_vm_call_cfunc_with_frame+0xe8) [0x1011f5190] /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/libruby.3.2.dylib(_vm_sendish+0x484) [0x1011f7538] /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/libruby.3.2.dylib(_vm_exec_core+0x22b8) [0x1011dac00] /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/libruby.3.2.dylib(_rb_vm_exec+0x890) [0x1011ec6d4] /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/libruby.3.2.dylib(_rb_ec_exec_node+0x134) [0x101043058] /Users/josh.nichols/.local/share/mise/installs/ruby/3.2.2/lib/libruby.3.2.dylib(_ruby_run_node+0x60) [0x101042ebc] [0x100553f24]

technicalpickles avatar Jul 31 '24 13:07 technicalpickles

bringing this to the attention of @elasticspoon, who has been doing a lot of work on making our tests less flakey lately.

cielf avatar Aug 01 '24 01:08 cielf

Adding another flaky one to the list:

EVENTS_READ=true bundle exec rspec --seed 20812 spec/system/request_system_spec.rb:189

can't reproduce locally

run log here

jimmyli97 avatar Aug 01 '24 19:08 jimmyli97

and another one:

seed 30346 spec/services/itemizable_update_service_spec.rb

can't reproduce locally

run log here

jimmyli97 avatar Aug 09 '24 02:08 jimmyli97

this test also times out sometimes

seed 42531 spec/system/storage_location_system_spec.rb:177

run log here

jimmyli97 avatar Aug 09 '24 02:08 jimmyli97

and another one

seed 61879 spec/system/partners/family_requests_system_spec.rb:25, run log here

seed 14962 run log here

seed 46524 run log here

jimmyli97 avatar Aug 29 '24 00:08 jimmyli97

this one too

seed 20328 spec/system/purchase_system_spec.rb:59

run log here

jimmyli97 avatar Aug 29 '24 01:08 jimmyli97

and this one

seed 61006 spec/system/kit_system_spec.rb:55

run log here

jimmyli97 avatar Aug 29 '24 01:08 jimmyli97

seed 53764 spec/system/distributions_by_county_system_spec.rb:40 run log here

jimmyli97 avatar Dec 03 '24 03:12 jimmyli97

seed 46614 spec/system/log_in_system_spec.rb:46 run log here

jimmyli97 avatar Dec 10 '24 04:12 jimmyli97

seed 54905 spec/services/exports/export_request_service_spec.rb:157 run log here

jimmyli97 avatar Jan 09 '25 03:01 jimmyli97

rspec ./spec/system/adjustment_system_spec.rb:65

seed 23313

CI run log

coalest avatar Jan 20 '25 13:01 coalest

Here's a test that flaked on my local machine. bundle exec rspec spec/services/calendar_service_spec.rb:95 seed 55734

McEileen avatar Feb 28 '25 03:02 McEileen

I tried reproducing the failing tests with the seeds 64284, 55734, 23313, and 54905 (there wasn't any specific intention behind picking these seeds) on both my local machine and the Github codespaces environment. Interestingly, while they all produced errors the errors differed from the one people had previously reported.

For all of these, I ran bundle exec rspec --seed [seed #]. Also worth noting that these tests pass on their own: they only fail when the full suite is ran.

Seed 64284 rspec ./spec/system/adjustment_system_spec.rb[1:5:2:1] rspec ./spec/system/purchase_system_spec.rb[1:1:1:2:3:2:1] rspec ./spec/system/distribution_system_spec.rb[1:11:5:2:1]

Seed 55734 rspec ./spec/system/purchase_system_spec.rb[1:1:1:2:3:2:1]

Seed 23313 rspec ./spec/system/distribution_system_spec.rb[1:11:5:3:1]

Seed 54905 rspec ./spec/requests/events_requests_spec.rb:39 rspec ./spec/requests/events_requests_spec.rb:204 rspec ./spec/system/purchase_system_spec.rb[1:1:1:2:3:2:1] rspec ./spec/system/request_system_spec.rb[1:1:4:2:1]

Benjamin-Couey avatar Mar 18 '25 20:03 Benjamin-Couey

rspec './spec/system/adjustment_system_spec.rb[1:5:2:1]' seed 45953 Run log here.

However, I have had no success in replicating it. I have tried running the individual test, the full file, and the full suite on both my local machine and on a Github codespace but cannot get the same failure.

Benjamin-Couey avatar Mar 28 '25 15:03 Benjamin-Couey

Closing this old issue and am opening a new one with the latest flaky tests

awwaiid avatar Oct 05 '25 14:10 awwaiid