Skip to content

Truffleruby test failure in test_performance_warning(TC_OpenStruct) #65

@olleolleolle

Description

@olleolleolle

There is a current test failure on TruffleRuby, in the test test_performance_warning(TC_OpenStruct).

Details
===============================================================================
Failure: test_performance_warning(TC_OpenStruct):
  pid 1875 exit 0
  | /home/runner/.rubies/truffleruby-24.1.1/lib/mri/rubygems.rb:1207: warning: unstable interpolated regexps cause deoptimization loops which hurt performance significantly, avoid creating regexps dynamically where possible or cache them to fix this
  | -e:1: warning: OpenStruct use is discouraged for performance reasons
  .
  
  1. [2/3] Assertion for "stderr"
     | <["-e:1: warning: OpenStruct use is discouraged for performance reasons"]> expected but was
     | <["/home/runner/.rubies/truffleruby-24.1.1/lib/mri/rubygems.rb:1207: warning: unstable interpolated regexps cause deoptimization loops which hurt performance significantly, avoid creating regexps dynamically where possible or cache them to fix this",
     |  "-e:1: warning: OpenStruct use is discouraged for performance reasons"]>.
     | 
     | diff:
     | + ["/home/runner/.rubies/truffleruby-24.1.1/lib/mri/rubygems.rb:1207: warning: unstable interpolated regexps cause deoptimization loops which hurt performance significantly, avoid creating regexps dynamically where possible or cache them to fix this",
     | - ["-e:1: warning: OpenStruct use is discouraged for performance reasons"]
     | ? ^
     | +  "-e:1: warning: OpenStruct use is discouraged for performance reasons"]
     | ? ^
     | 
     | folded diff:
     | + ["/home/runner/.rubies/truffleruby-24.1.1/lib/mri/rubygems.rb:1207: warning: u
     | + nstable interpolated regexps cause deoptimization loops which hurt performance
     | +  significantly, avoid creating regexps dynamically where possible or cache the
     | + m to fix this",
     | - ["-e:1: warning: OpenStruct use is discouraged for performance reasons"]
     | ? ^
     | +  "-e:1: warning: OpenStruct use is discouraged for performance reasons"]
     | ? ^.
  <false> is not true.
/home/runner/work/ostruct/ostruct/vendor/bundle/truffleruby/3.2.4.24.1.0.1/gems/test-unit-ruby-core-1.0.6/lib/core_assertions.rb:540:in `assert'
/home/runner/work/ostruct/ostruct/vendor/bundle/truffleruby/3.2.4.24.1.0.1/gems/test-unit-ruby-core-1.0.6/lib/core_assertions.rb:774:in `assert_all_assertions'
/home/runner/work/ostruct/ostruct/vendor/bundle/truffleruby/3.2.4.24.1.0.1/gems/test-unit-ruby-core-1.0.6/lib/core_assertions.rb:110:in `assert_in_out_err'
/home/runner/work/ostruct/ostruct/test/ostruct/test_ostruct.rb:425:in `test_performance_warning'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions