Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 940909 - dev-ruby/typeprof-0.21.11 fails tests
Summary: dev-ruby/typeprof-0.21.11 fails tests
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2024-10-05 16:29 UTC by Agostino Sarubbo
Modified: 2024-11-29 09:54 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,257.01 KB, text/plain)
2024-10-05 16:29 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-10-05 16:29:39 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-ruby/typeprof-0.21.11 fails tests.
Discovered on: x86 (internal ref: tinderbox_x86)
System: GCC-15-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#GCC-15)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0015
Comment 1 Agostino Sarubbo gentoo-dev 2024-10-05 16:29:40 UTC
Created attachment 904939 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-10-05 16:29:41 UTC
Error(s) that match a know pattern:


  NoMethodError: undefined method `[]' for nil:NilClass
  NoMethodError: undefined method `required_positionals' for #<RBS::Types::UntypedFunction:0xf4bdaafc @return_type=#<RBS::Types::Bases::Any:0xf4e821c4 @location=#<RBS::Location:1460 buffer=/usr/lib/ruby/gems/3.1.0/gems/rbs-3.6.1/core/basic_object.rbs, start=166:63, pos=6235...6242, children= source="untyped">>>
Error: test: analyze const definition(TypeProf::LSPTest):
Error: test: analyze instance variable definition(TypeProf::LSPTest):
Error: test: analyze method callers(TypeProf::LSPTest):
Error: test: analyze multiple rb files(TypeProf::CLITest):
Error: test: analyze with incomplete rbs file(TypeProf::CLITest):
Error: test: exclude untyped results(TypeProf::CLITest):
Error: test: testbed/ao.rb(TypeProf::AOBenchTest):
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-11-25 14:28:02 UTC
/usr/lib/ruby/gems/3.1.0/gems/test-unit-3.6.2/lib/test/unit/testcase.rb:573:in `rescue in block (2 levels) in run': failed to allocate memory (NoMemoryError)
Comment 4 Hans de Graaff gentoo-dev Security 2024-11-29 09:54:26 UTC
It looks like this only happens with rbs 3.6. There have been a lot of changes in upstream typeprof and I expect a new release shortly due to the new ruby release in december. Perhaps best to wait for that. We could consider limiting the rbs dependency on < 3.6.