Skip to content

Rake tests fail on TruffleRuby head #3388

@andrykonchin

Description

@andrykonchin

The failure:

Failure: test_cloned_items_stay_frozen(TestRakeFileList)
/Users/andrykonchin/projects/truffleruby-gems-to-test/rake/test/test_rake_file_list.rb:523:in `test_cloned_items_stay_frozen'
     520:     a.freeze
     521:     c = a.clone
     522:     error_class = defined?(FrozenError) ? FrozenError : RuntimeError
  => 523:     assert_raises(error_class) do
     524:       c << "more"
     525:     end
     526:   end
<internal:core> core/throw_catch.rb:36:in `catch'
<internal:core> core/throw_catch.rb:36:in `catch'

<FrozenError> expected but was
<SystemStackError(<stack level too deep
	from com.oracle.svm.core.graal.snippets.StackOverflowCheckImpl.newStackOverflowError0(StackOverflowCheckImpl.java:348)>)
<internal:core> core/type.rb:543:in `rb_inspect'
/Users/andrykonchin/projects/truffleruby-gems-to-test/rake/lib/rake/file_list.rb:210:in `resolve'
/Users/andrykonchin/projects/truffleruby-gems-to-test/rake/lib/rake/file_list.rb:78:in `inspect'
<internal:core> core/type.rb:544:in `rb_inspect'
/Users/andrykonchin/projects/truffleruby-gems-to-test/rake/lib/rake/file_list.rb:210:in `resolve'
/Users/andrykonchin/projects/truffleruby-gems-to-test/rake/lib/rake/file_list.rb:78:in `inspect'
<internal:core> core/type.rb:544:in `rb_inspect'
/Users/andrykonchin/projects/truffleruby-gems-to-test/rake/lib/rake/file_list.rb:210:in `resolve'
/Users/andrykonchin/projects/truffleruby-gems-to-test/rake/lib/rake/file_list.rb:78:in `inspect'
<internal:core> core/type.rb:544:in `rb_inspect'
/Users/andrykonchin/projects/truffleruby-gems-to-test/rake/lib/rake/file_list.rb:210:in `resolve'
/Users/andrykonchin/projects/truffleruby-gems-to-test/rake/lib/rake/file_list.rb:78:in `inspect'

Steps to reproduce:

bin/setup
rake

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions