colomon / List-Utils

List utility functions for Perl 6
Artistic License 2.0
13 stars 5 forks source link

Tests Fail #6

Open zoffixznet opened 8 years ago

zoffixznet commented 8 years ago

Hi, during the ecosystem check, I found that this distribution's tests currrently fail:

$ panda install List::Utils
==> Fetching List::Utils
==> Building List::Utils
==> Testing List::Utils
t/01-sliding-window.t .. ok
t/02-permute.t ......... ok
t/03-take-while.t ...... ok
t/04-transpose.t ....... ok
t/05-search.t .......... ok
t/06-sorted-merge.t .... ok
t/07-uniq-by.t ......... ok

# Failed test 'Make sure is-valid-combination helper works'
# at t/08-combinations.t line 50

# Failed test '7 choose 1 correct'
# at t/08-combinations.t line 96

# Failed test '7 choose 2 correct'
# at t/08-combinations.t line 96

# Failed test '7 choose 3 correct'
# at t/08-combinations.t line 96

# Failed test '7 choose 4 correct'
# at t/08-combinations.t line 96

# Failed test '7 choose 5 correct'
# at t/08-combinations.t line 96

# Failed test '7 choose 6 correct'
# at t/08-combinations.t line 96

# Failed test '26 1-count combinations of a-z'
# at t/08-combinations.t line 101
# expected: '26'
#      got: '27'
Use of uninitialized value <element> of type Any in string context
Any of .^name, .perl, .gist, or .say can stringify undefined things, if needed.  in block  at t/08-combinations.t:104
Use of uninitialized value <element> of type Any in string context
Any of .^name, .perl, .gist, or .say can stringify undefined things, if needed.  in block  at t/08-combinations.t:104
Use of uninitialized value <element> of type Any in string context
Any of .^name, .perl, .gist, or .say can stringify undefined things, if needed.  in block  at t/08-combinations.t:104
Use of uninitialized value <element> of type Any in string context
Any of .^name, .perl, .gist, or .say can stringify undefined things, if needed.  in block  at t/08-combinations.t:104

# Failed test 'which is correct'
# at t/08-combinations.t line 104
# expected: 'a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z'
#      got: ', a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z'

# Failed test '325 2-count combinations of a-z'
# at t/08-combinations.t line 109
# expected: '325'
#      got: '351'
Type check failed in binding; expected Positional but got Seq
  in block <unit> at t/08-combinations.t:115

t/08-combinations.t .... 
Dubious, test returned 10 (wstat 2560, 0xa00)
Failed 10/44 subtests 

Test Summary Report
-------------------
t/08-combinations.t  (Wstat: 2560 Tests: 44 Failed: 10)
  Failed tests:  7, 32-38, 41-42
  Non-zero exit status: 10
  Parse errors: No plan found in TAP output
Files=8, Tests=130,  8 wallclock secs ( 0.04 usr  0.01 sys +  7.90 cusr  0.27 csys =  8.22 CPU)
Result: FAIL
The spawned process exited unsuccessfully (exit code: 1)
  in sub run-and-gather-output at /home/zoffix/.rakudobrew/moar-nom/install/share/perl6/site/sources/C27BE995DC18074CA8F64980F69FEB80BADF5619:86
  in block  at /home/zoffix/.rakudobrew/moar-nom/install/share/perl6/site/sources/A40B6CBA2E85D9DAA45064316EBEB9E42B0036E1:24
  in sub indir at /home/zoffix/.rakudobrew/moar-nom/install/share/perl6/site/sources/C27BE995DC18074CA8F64980F69FEB80BADF5619:20
  in method test at /home/zoffix/.rakudobrew/moar-nom/install/share/perl6/site/sources/A40B6CBA2E85D9DAA45064316EBEB9E42B0036E1:5
  in method install at /home/zoffix/.rakudobrew/moar-nom/install/share/perl6/site/sources/1BC9777EC40C29C8331437E926CD4C13B983C026:141
  in method resolve at /home/zoffix/.rakudobrew/moar-nom/install/share/perl6/site/sources/1BC9777EC40C29C8331437E926CD4C13B983C026:219
  in sub MAIN at /home/zoffix/.rakudobrew/moar-nom/install/share/perl6/site/resources/9FF75FC978A3556E531F982825B3EDBBBA834D9E:18
  in block <unit> at /home/zoffix/.rakudobrew/moar-nom/install/share/perl6/site/resources/9FF75FC978A3556E531F982825B3EDBBBA834D9E:145
Altai-man commented 7 years ago

And now it fails with another error:

➜  ~ zef install List::Utils
===> Searching for: List::Utils
===> Testing: List::Utils
t/01-sliding-window.t .. ok  
t/02-permute.t ......... ok 
t/03-take-while.t ...... ok 
t/04-transpose.t ....... ok 
t/05-search.t .......... ok 
t/06-sorted-merge.t .... ok 
t/07-uniq-by.t ......... ok 
t/08-combinations.t ....1/?Type check failed in binding; expected Positional but got Seq ((["a", "b", "c"], ["a...)
  in block <unit> at t/08-combinations.t line 115

t/08-combinations.t .... All 44 subtests passed 
All tests successful.

Test Summary Report
-------------------
t/08-combinations.t  (Wstat: 0 Tests: 44 Failed: 0)
  Parse errors: No plan found in TAP output
Files=8, Tests=130,  16 wallclock secs
Result: FAILED
===> Testing [FAIL]: List::Utils
Aborting due to test failure: List::Utils (use --force to override)
  in code  at /home/sena/.rakudobrew/moar-nom/install/share/perl6/site/sources/4B1D5A60B59D9541E13F76E0E2A2D550E0144053 (Zef::Client) line 346
  in method test at /home/sena/.rakudobrew/moar-nom/install/share/perl6/site/sources/4B1D5A60B59D9541E13F76E0E2A2D550E0144053 (Zef::Client) line 325
  in code  at /home/sena/.rakudobrew/moar-nom/install/share/perl6/site/sources/4B1D5A60B59D9541E13F76E0E2A2D550E0144053 (Zef::Client) line 497
  in sub  at /home/sena/.rakudobrew/moar-nom/install/share/perl6/site/sources/4B1D5A60B59D9541E13F76E0E2A2D550E0144053 (Zef::Client) line 494
  in method install at /home/sena/.rakudobrew/moar-nom/install/share/perl6/site/sources/4B1D5A60B59D9541E13F76E0E2A2D550E0144053 (Zef::Client) line 600
  in sub MAIN at /home/sena/.rakudobrew/moar-nom/install/share/perl6/site/sources/09969B10D9F270B8DBAAB9961FA7E6CDB8AD58C9 (Zef::CLI) line 139
  in block <unit> at /home/sena/.rakudobrew/moar-nom/install/share/perl6/site/resources/85BD232410222F167A35B9969B036802FECD78D2 line 1
jubilatious1 commented 2 years ago

Seeing List::Utils test failure regarding t/08-combinations.t when installing to rakudo-2021.06:

~$ ~/rakudo/rakudo-2021.06/zef/bin/zef install List::Utils
===> Searching for: List::Utils
===> Testing: List::Utils
[List::Utils] Type check failed in binding; expected Positional but got Seq ((["a", "b", "c"], ["...)
[List::Utils]   in block <unit> at t/08-combinations.t line 115
===> Testing [FAIL]: List::Utils
Aborting due to test failure: List::Utils (use --force-test to override)
~$