Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flaky test failure with ruby3.1 #190

Open
rrrrrrmb opened this issue Oct 4, 2022 · 0 comments
Open

flaky test failure with ruby3.1 #190

rrrrrrmb opened this issue Oct 4, 2022 · 0 comments

Comments

@rrrrrrmb
Copy link

rrrrrrmb commented Oct 4, 2022

Running the tests with ruby3.1 seems to produce the following failure.Sometimes the tests randomly passes.

/usr/bin/ruby3.1 -w -I"test" /usr/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/rake_test_loader.rb "test/test_middleware.rb" "test/test_report.rb" "test/test_stackprof.rb" "test/test_truffleruby.rb" -v
Run options: -v --seed 49192
# Running:
StackProfTest#test_metadata = 0.01 s = .
StackProfTest#test_object_allocation = 0.00 s = .
StackProfTest#test_gc = 0.02 s = F
StackProfTest#test_info = 0.00 s = .
StackProfTest#test_min_max_interval = 0.00 s = .
StackProfTest#test_pathname_out = 0.00 s = .
StackProfTest#test_raises_if_metadata_is_not_a_hash = 0.00 s = .
StackProfTest#test_start_stop_results = 0.00 s = .
StackProfTest#test_custom = 0.00 s = .
StackProfTest#test_cputime = 0.01 s = .
StackProfTest#test_running = 0.00 s = .
StackProfTest#test_fork = 0.00 s = .
StackProfTest#test_empty_metadata = 0.01 s = .
StackProfTest#test_object_allocation_interval = 0.00 s = .
StackProfTest#test_out = 0.00 s = .
StackProfTest#test_out_to_path_string = 0.00 s = .
StackProfTest#test_recursive_total_samples = 0.00 s = .
StackProfTest#test_raw = 0.00 s = .
StackProfTest#test_walltime = 0.20 s = .
StackProf::MiddlewareTest#test_enabled_should_use_a_proc_if_passed = 0.00 s = .
StackProf::MiddlewareTest#test_metadata = 0.00 s = .
StackProf::MiddlewareTest#test_path_default = 0.00 s = .
StackProf::MiddlewareTest#test_save_custom = 0.00 s = .
StackProf::MiddlewareTest#test_path_custom = 0.00 s = .
StackProf::MiddlewareTest#test_raw = 0.00 s = .
StackProf::MiddlewareTest#test_enabled_should_use_a_proc_if_passed_and_use_the_request_env = 0.00 s = .
StackProf::MiddlewareTest#test_save_default = 0.00 s = .
ReportDumpTest#test_dump_to_file = 0.02 s = .
ReportDumpTest#test_dump_to_stdout = 0.00 s = .
ReportReadTest#test_from_file_read_marshal = 0.00 s = .
ReportReadTest#test_from_file_read_json = 0.00 s = .
Finished in 0.293901s, 105.4778 runs/s, 445.7288 assertions/s.
  1) Failure:
StackProfTest#test_gc [/builds/ruby-team/ruby-stackprof/debian/output/source_dir/test/test_stackprof.rb:242]:
Expected nil to be truthy.
31 runs, 131 assertions, 1 failures, 0 errors, 0 skips
rake aborted!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant