memory_profiler icon indicating copy to clipboard operation
memory_profiler copied to clipboard

Test failures on arm64

Open utkarsh2102 opened this issue 5 years ago • 2 comments

Hi there,

Thanks for your work on this gem so far. However, while building this against Ruby2.7 on arm64, I got the following errors:

Finished in 2.134689s, 39.3500 runs/s, 103.9964 assertions/s.

  1) Failure:
TestReporter#test_symbols_report [/tmp/autopkgtest-lxc.stcsf78a/downtmp/build.vf5/src/test/test_reporter.rb:248]:
Expected: 0
  Actual: 1

  2) Failure:
TestReporterPrivateStartStop#test_symbols_report [/tmp/autopkgtest-lxc.stcsf78a/downtmp/build.vf5/src/test/test_reporter.rb:248]:
Expected: 0
  Actual: 1

84 runs, 222 assertions, 2 failures, 0 errors, 0 skips
rake aborted!
Command failed with status (1): [ruby -w  "/usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb" "test/test_helper.rb" "test/test_helpers.rb" "test/test_reporter.rb" "test/test_reporter_private_start_stop.rb" "test/test_reporter_public_start_stop.rb" "test/test_results.rb" "test/test_stat_hash.rb" "test/test_top_n.rb" -v]

Could you help us figure this out, please? :)

utkarsh2102 avatar Feb 21 '20 21:02 utkarsh2102

Honestly I am not sure what to do here some of this stuff can be timing or arm64 ruby.

I do not have much to test this with, but certainly will accept a PR that fixes this.

SamSaffron avatar Mar 02 '20 04:03 SamSaffron

Hi Sam, I am not sure what's going wrong either. If you could point me to some possibility, I could surely propose a patch :)

utkarsh2102 avatar Mar 17 '20 07:03 utkarsh2102