Open timo opened 5 months ago
Possibly related installation unit test error (Linux on 2 CPU cores, no hyperthreading):
===> Testing: ParaSeq:ver<0.2.7>:auth<zef:lizmat>
[ParaSeq] Invalid value '1' for :degree on method hyper
[ParaSeq] in method hyper at <REDACTED_PATH> (ParaSeq) line 2212
[ParaSeq] in sub hyperize at <REDACTED_PATH> (ParaSeq) line 2261
[ParaSeq] in block <unit> at t/01-basic.rakutest line 12
[ParaSeq] # Failed test 'expected code to fail but it threw X::Invalid::Value instead'
[ParaSeq] # at SETTING::src/core.c/Mu.rakumod line 1120
[ParaSeq] # You failed 1 test of 2
[ParaSeq] # Failed test 'did we fails-like X::Cannot::Lazy?'
[ParaSeq] # at t/03-elems.rakutest line 20
[ParaSeq] Invalid value '1' for :degree on method hyper
[ParaSeq] in method hyper at <REDACTED_PATH> (ParaSeq) line 2212
[ParaSeq] in sub hyperize at <REDACTED_PATH> (ParaSeq) line 2257
[ParaSeq] in block <unit> at t/03-elems.rakutest line 25
[ParaSeq] Invalid value '1' for :degree on method hyper
[ParaSeq] in method hyper at <REDACTED_PATH> (ParaSeq) line 2212
[ParaSeq] in sub hyperize at <REDACTED_PATH> (ParaSeq) line 2261
[ParaSeq] in block <unit> at t/14-BufferIterator.rakutest line 10
[ParaSeq] Invalid value '1' for :degree on method hyper
[ParaSeq] in method hyper at <REDACTED_PATH> (ParaSeq) line 2212
[ParaSeq] in sub hyperize at <REDACTED_PATH> (ParaSeq) line 2261
[ParaSeq] in block <unit> at t/15-ParaIterator.rakutest line 10
[ParaSeq] # You planned 39 tests, but ran 38
===> Testing [FAIL]: ParaSeq:ver<0.2.7>:auth<zef:lizmat>
Aborting due to test failure: ParaSeq:ver<0.2.7>:auth<zef:lizmat> (use --force-test to override)
stumbled upon this while doing an
rr record
of a run of App::Ecosystems.rr tells the program it's recording that there are two cores (
Kernel.cpu-cores
is 2,Kernel.cpu-cores-but-one
is 1), unless you use the--chaos
flag where the number of cores is randomized, or--num-cores
to set a custom value.the
hyper
method usescpu-cores-but-one
's output as the default hyper parameter unless one is specified, but it can be 1, and then this exception is thrown: