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

Tests abort with "Cannot call 'match'" #20

Closed
pmichaud opened this issue Mar 19, 2013 · 3 comments
Closed

Tests abort with "Cannot call 'match'" #20

pmichaud opened this issue Mar 19, 2013 · 3 comments

Comments

@pmichaud
Copy link

LWP::Simple tests abort with "Cannot call 'match'; none of these signatures match" error. Results of "panda install LWP::Simple" follow:

==> Fetching LWP::Simple
==> Building LWP::Simple
Compiling lib/LWP/Simple.pm
==> Testing LWP::Simple
t/000-load-module.t ............. ok   
t/basic-auth.t .................. ok   
t/custom-headers-and-content.t .. Cannot call 'match'; none of these signatures match:
:(Cool:D : $target, *%adverbs)
  in method match at src/gen/CORE.setting:2394
  in block  at t/custom-headers-and-content.t:12

t/custom-headers-and-content.t .. Dubious, test returned 1 (wstat 256, 0x100)
No subtests run 
t/get-binary-camelia.t .......... ok   
t/get-chunked-6guts.t ........... ok   
t/get-perl6-org.t ............... ok   
t/get-unsized.t ................. Cannot call 'match'; none of these signatures match:
:(Cool:D : $target, *%adverbs)
  in method match at src/gen/CORE.setting:2394
  in block  at t/get-unsized.t:10

t/get-unsized.t ................. Dubious, test returned 1 (wstat 256, 0x100)
No subtests run 
t/get-w3-latin1-utf8.t .......... ok   
t/get-w3-redirect.t ............. ok   
t/getstore.t .................... ok   
t/parse-url.t ................... ok    
t/socket-sanity.t ............... ok   
t/stringify-headers.t ........... ok   

Test Summary Report
-------------------
t/custom-headers-and-content.t (Wstat: 256 Tests: 0 Failed: 0)
  Non-zero exit status: 1
  Parse errors: No plan found in TAP output
t/get-unsized.t               (Wstat: 256 Tests: 0 Failed: 0)
  Non-zero exit status: 1
  Parse errors: No plan found in TAP output
Files=13, Tests=54, 95 wallclock secs ( 0.12 usr  0.01 sys + 88.25 cusr  2.71 csys = 91.09 CPU)
Result: FAIL
test stage failed for LWP::Simple: Tests failed

Similar errors exist for LWP::Simple as it appears in the current Rakudo Star repository -- see rakudo/star#18 .

Pm

@dagurval
Copy link

The test in custom-headers-and-content.t fails because the server returns a 500 error.

get-unsized.t fails because www.rosettacode.org has banned LWP::Simple and returns a 403.

 The owner of this website (www.rosettacode.org) has banned your access based on 
 your browser's signature (54ca3fde-cl-ua-22). (Ref. 1010)

@pmichaud
Copy link
Author

On Sun, May 19, 2013 at 04:20:29AM -0700, Dagur wrote:

The test in custom-headers-and-content.t fails because the server
returns a 500 error.

get-unsized.t fails because www.rosettacode.org has banned LWP::Simple
and returns a 403.

The owner of this website (www.rosettacode.org) has banned
your access based on your browser's signature (54ca3fde-cl-ua-22).
(Ref. 1010)

Perhaps this should be testing against a Perl site (something like
perl6.org) instead of rosetta.org .

Pm

@cosimo
Copy link
Owner

cosimo commented Dec 1, 2014

I think this is now fixed. We don't fetch from rosettacode anymore, and as of today, we skip tests if there's no html returned.

@cosimo cosimo closed this as completed Dec 1, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants