grondilu / libdigest-raku

Raku implementation of various digests
Artistic License 2.0
27 stars 42 forks source link

CI tests fail - Parse errors: No plan found in TAP output #31

Closed melezhik closed 1 year ago

melezhik commented 1 year ago

Hi! Here is a full report - https://ci.sparrowhub.io/report/2069

for some reasons I get this:

00:34:43 :: [Digest] Test Summary Report
00:34:43 :: [Digest] -------------------
00:34:43 :: [Digest] t/rfc4231.t (Wstat: 0 Tests: 7 Failed: 0)
00:34:43 :: [Digest]   Parse errors: No plan found in TAP output
00:34:43 :: [Digest] Files=4, Tests=25, 11 wallclock secs ( 0.05 usr  0.01 sys + 16.73 cusr  1.03 csys = 17.82 CPU)
00:34:43 :: [Digest] Result: FAIL

not sure why ... all tests seem to pass, broken tap output?

grondilu commented 1 year ago

I had forgotten to call &done-testing. Should be fixed with 471805445a95fd615fe36cd87e64ec19572c7824

melezhik commented 1 year ago

I merged your commit, but now CI fails with another error:

18:32:36 :: [Digest] ===SORRY!=== Error while compiling /var/.sparrowdo/env/main/.sparrowdo/source/t/sha.t
18:32:36 :: [Digest] Could not find Digest in:
18:32:36 :: [Digest]     /var/.sparrowdo/env/main/.sparrowdo/source
18:32:36 :: [Digest]     /home/worker/.raku
18:32:36 :: [Digest]     /var/.sparrowdo/env/main/.sparrowdo/rakudo-moar-2022.12-01-linux-x86_64-gcc/share/perl6/site
18:32:36 :: [Digest]     /var/.sparrowdo/env/main/.sparrowdo/rakudo-moar-2022.12-01-linux-x86_64-gcc/share/perl6/vendor
18:32:36 :: [Digest]     /var/.sparrowdo/env/main/.sparrowdo/rakudo-moar-2022.12-01-linux-x86_64-gcc/share/perl6/core
18:32:36 :: [Digest]     CompUnit::Repository::AbsolutePath<105660976>
18:32:36 :: [Digest]     CompUnit::Repository::NQP<77168032>
18:32:36 :: [Digest]     CompUnit::Repository::Perl5<77168072>
18:32:36 :: [Digest] Please note that a 'META6.json' file was found in '.', of which the 'provides' section was used to determine if a dependency is available or not.  Perhaps you need to add 'Digest' in the <provides> section of that file?  Or need to specify a directory that does *not* have a 'META6.json' file?
18:32:36 :: [Digest] at /var/.sparrowdo/env/main/.sparrowdo/source/t/sha.t:3
18:32:36 :: [Digest] t/sha.t ...... 

https://ci.sparrowhub.io/report/2073

Looks like your META6.json does not provide Digest? :

https://github.com/melezhik/libdigest-raku/blob/master/META6.json

grondilu commented 1 year ago

Looks like your META6.json does not provide Digest? :

https://github.com/melezhik/libdigest-raku/blob/master/META6.json

Yeah once I created Digest::HMAC and Digest::MD5, there was nothing more in Digest so I thought I could remove it, even though it's the title of the project. I thought that was ok and in fact that doesn't seem to be a problem on my local installation. My bad, I get the same error as you do I may be wrong.

Edit: hopefully fixed with 6c98b006d553ba89b2e5d3ede889c43d04f49c41

melezhik commented 1 year ago

looks goos now! https://ci.sparrowhub.io/report/2074