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

Test failure with make test-bundled-gems #2062

Open
hsbt opened this issue Oct 16, 2024 · 0 comments
Open

Test failure with make test-bundled-gems #2062

hsbt opened this issue Oct 16, 2024 · 0 comments

Comments

@hsbt
Copy link
Member

hsbt commented Oct 16, 2024

I randomly got the following test failures in recent days. I'm not sure why caused these failures with Ruby core and rbs changes.

Error: test_compile(RegexpSingletonTest): NoMethodError: undefined method 'inspect' for an instance of RBS::UnitTest::Convertibles::ToInt
/Users/hsbt/Documents/github.com/ruby/ruby/gems/src/rbs/lib/rbs/unit_test/spy.rb:92:in 'Regexp#initialize'
/Users/hsbt/Documents/github.com/ruby/ruby/gems/src/rbs/lib/rbs/unit_test/spy.rb:92:in 'Regexp.compile'
/Users/hsbt/Documents/github.com/ruby/ruby/gems/src/rbs/lib/rbs/unit_test/spy.rb:92:in 'block (2 levels) in wrapped_object'
/Users/hsbt/Documents/github.com/ruby/ruby/gems/src/rbs/lib/rbs/unit_test/type_assertions.rb:152:in 'block in RBS::UnitTest::TypeAssertions#send_setup'
/Users/hsbt/Documents/github.com/ruby/ruby/gems/src/rbs/lib/rbs/unit_test/type_assertions.rb:150:in 'Kernel#catch'
/Users/hsbt/Documents/github.com/ruby/ruby/gems/src/rbs/lib/rbs/unit_test/type_assertions.rb:150:in 'RBS::UnitTest::TypeAssertions#send_setup'
/Users/hsbt/Documents/github.com/ruby/ruby/gems/src/rbs/lib/rbs/unit_test/type_assertions.rb:172:in 'RBS::UnitTest::TypeAssertions#assert_send_type'
test/stdlib/Regexp_test.rb:51:in 'block (2 levels) in RegexpSingletonTest#test_compile'
/Users/hsbt/Documents/github.com/ruby/ruby/gems/src/rbs/lib/rbs/unit_test/with_aliases.rb:49:in 'RBS::UnitTest::WithAliases#with_int'
/Users/hsbt/Documents/github.com/ruby/ruby/gems/src/rbs/lib/rbs/unit_test/with_aliases.rb:13:in 'Enumerator#each'
/Users/hsbt/Documents/github.com/ruby/ruby/gems/src/rbs/lib/rbs/unit_test/with_aliases.rb:13:in 'RBS::UnitTest::WithAliases::WithEnum#each'
/Users/hsbt/Documents/github.com/ruby/ruby/gems/src/rbs/lib/rbs/unit_test/with_aliases.rb:30:in 'RBS::UnitTest::WithAliases::WithEnum#and'
test/stdlib/Regexp_test.rb:50:in 'block in RegexpSingletonTest#test_compile'
/Users/hsbt/Documents/github.com/ruby/ruby/gems/src/rbs/lib/rbs/unit_test/with_aliases.rb:60:in 'RBS::UnitTest::WithAliases#with_string'
test/stdlib/Regexp_test.rb:46:in 'RegexpSingletonTest#test_compile'
Error: test_linear_time?(RegexpSingletonTest): NoMethodError: undefined method 'inspect' for an instance of RBS::UnitTest::Convertibles::ToInt
/Users/hsbt/Documents/github.com/ruby/ruby/gems/src/rbs/lib/rbs/unit_test/spy.rb:92:in 'Regexp.linear_time?'
/Users/hsbt/Documents/github.com/ruby/ruby/gems/src/rbs/lib/rbs/unit_test/spy.rb:92:in 'block (2 levels) in wrapped_object'
/Users/hsbt/Documents/github.com/ruby/ruby/gems/src/rbs/lib/rbs/unit_test/type_assertions.rb:152:in 'block in RBS::UnitTest::TypeAssertions#send_setup'
/Users/hsbt/Documents/github.com/ruby/ruby/gems/src/rbs/lib/rbs/unit_test/type_assertions.rb:150:in 'Kernel#catch'
/Users/hsbt/Documents/github.com/ruby/ruby/gems/src/rbs/lib/rbs/unit_test/type_assertions.rb:150:in 'RBS::UnitTest::TypeAssertions#send_setup'
/Users/hsbt/Documents/github.com/ruby/ruby/gems/src/rbs/lib/rbs/unit_test/type_assertions.rb:172:in 'RBS::UnitTest::TypeAssertions#assert_send_type'
test/stdlib/Regexp_test.rb:122:in 'block (2 levels) in RegexpSingletonTest#test_linear_time?'
/Users/hsbt/Documents/github.com/ruby/ruby/gems/src/rbs/lib/rbs/unit_test/with_aliases.rb:49:in 'RBS::UnitTest::WithAliases#with_int'
/Users/hsbt/Documents/github.com/ruby/ruby/gems/src/rbs/lib/rbs/unit_test/with_aliases.rb:13:in 'Enumerator#each'
/Users/hsbt/Documents/github.com/ruby/ruby/gems/src/rbs/lib/rbs/unit_test/with_aliases.rb:13:in 'RBS::UnitTest::WithAliases::WithEnum#each'
/Users/hsbt/Documents/github.com/ruby/ruby/gems/src/rbs/lib/rbs/unit_test/with_aliases.rb:30:in 'RBS::UnitTest::WithAliases::WithEnum#and'
test/stdlib/Regexp_test.rb:121:in 'block in RegexpSingletonTest#test_linear_time?'
/Users/hsbt/Documents/github.com/ruby/ruby/gems/src/rbs/lib/rbs/unit_test/with_aliases.rb:60:in 'RBS::UnitTest::WithAliases#with_string'
test/stdlib/Regexp_test.rb:112:in 'RegexpSingletonTest#test_linear_time?'
Error: test_new(RegexpSingletonTest): NoMethodError: undefined method 'inspect' for an instance of RBS::UnitTest::Convertibles::ToInt
/Users/hsbt/Documents/github.com/ruby/ruby/gems/src/rbs/lib/rbs/unit_test/spy.rb:92:in 'Regexp#initialize'
/Users/hsbt/Documents/github.com/ruby/ruby/gems/src/rbs/lib/rbs/unit_test/spy.rb:92:in 'Class#new'
/Users/hsbt/Documents/github.com/ruby/ruby/gems/src/rbs/lib/rbs/unit_test/spy.rb:92:in 'block (2 levels) in wrapped_object'
/Users/hsbt/Documents/github.com/ruby/ruby/gems/src/rbs/lib/rbs/unit_test/type_assertions.rb:152:in 'block in RBS::UnitTest::TypeAssertions#send_setup'
/Users/hsbt/Documents/github.com/ruby/ruby/gems/src/rbs/lib/rbs/unit_test/type_assertions.rb:150:in 'Kernel#catch'
/Users/hsbt/Documents/github.com/ruby/ruby/gems/src/rbs/lib/rbs/unit_test/type_assertions.rb:150:in 'RBS::UnitTest::TypeAssertions#send_setup'
/Users/hsbt/Documents/github.com/ruby/ruby/gems/src/rbs/lib/rbs/unit_test/type_assertions.rb:172:in 'RBS::UnitTest::TypeAssertions#assert_send_type'
test/stdlib/Regexp_test.rb:233:in 'block (2 levels) in RegexpSingletonTest#test_new'
/Users/hsbt/Documents/github.com/ruby/ruby/gems/src/rbs/lib/rbs/unit_test/with_aliases.rb:49:in 'RBS::UnitTest::WithAliases#with_int'
/Users/hsbt/Documents/github.com/ruby/ruby/gems/src/rbs/lib/rbs/unit_test/with_aliases.rb:13:in 'Enumerator#each'
/Users/hsbt/Documents/github.com/ruby/ruby/gems/src/rbs/lib/rbs/unit_test/with_aliases.rb:13:in 'RBS::UnitTest::WithAliases::WithEnum#each'
/Users/hsbt/Documents/github.com/ruby/ruby/gems/src/rbs/lib/rbs/unit_test/with_aliases.rb:30:in 'RBS::UnitTest::WithAliases::WithEnum#and'
test/stdlib/Regexp_test.rb:232:in 'block in RegexpSingletonTest#test_new'
/Users/hsbt/Documents/github.com/ruby/ruby/gems/src/rbs/lib/rbs/unit_test/with_aliases.rb:60:in 'RBS::UnitTest::WithAliases#with_string'
test/stdlib/Regexp_test.rb:228:in 'RegexpSingletonTest#test_new'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant