Skip to content

make test fails [rt.cpan.org #80144] #52

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

Closed
oalders opened this issue Mar 31, 2017 · 2 comments
Closed

make test fails [rt.cpan.org #80144] #52

oalders opened this issue Mar 31, 2017 · 2 comments

Comments

@oalders
Copy link
Member

oalders commented Mar 31, 2017

Migrated from rt.cpan.org#80144 (status was 'new')

Requestors:

From [email protected] on 2012-10-12 00:09:07:

`perl -Ilib t/message.t` is fine, `prove -Ilib -r t` works fine, 
replacing Makefile.PL with a Build.PL and `./Build test` works fine.  no 
idea what MakeMaker (6.62) is doing, but it appears to be getting 
something wrong with the environment.  Worse, it looks like MakeMaker 
6.56 doesn't have this problem (so maybe you want to move the bug to 
that queue.)






t/message.t ............. 1/129 # Test 94 got: <UNDEF> (t/message.t at 
line 368)
#    Expected: "\x{FEFF}Hi there \x{263A}\n"
#  t/message.t line 368 is: ok(sub { eval { $m->decoded_content } }, 
"\x{FEFF}Hi there \x{263A}\n");
# Failed test 97 in t/message.t at line 373
#  t/message.t line 373 is: ok($m2->decode);
# Test 98 got: "gzip, base64" (t/message.t at line 374)
#    Expected: <UNDEF>
#  t/message.t line 374 is: ok($m2->header("Content-Encoding"), undef);
# Test 99 got: 
"H4sICFWAq0ECA3h4eAB7v3u/R6ZCSUZqUarCoxm7uAAZKHXiEAAAAA==\n" 
(t/message.t at line 375)
#    Expected: "(?-xism:Hi there)"
#  t/message.t line 375 is: ok($m2->content, qr/Hi there/);
# Failed test 100 in t/message.t at line 377
#  t/message.t line 377 is: ok(grep { $_ eq "gzip" } $m->decodable);
# Test 101 got: <UNDEF> (t/message.t at line 383)
#     Expected: "\x{FEFF}Hi there \x{263A}\n"
#  t/message.t line 383 is: ok(sub { eval { $m->decoded_content } }, 
"\x{FEFF}Hi there \x{263A}\n");
Attempt to reload Compress/Raw/Zlib.pm aborted.
Compilation failed in require at 
/usr/pkg/lib/perl5/vendor_perl/5.12.0/IO/Compress/Adapter/Deflate.pm 
line 9.
BEGIN failed--compilation aborted at 
/usr/pkg/lib/perl5/vendor_perl/5.12.0/IO/Compress/Adapter/Deflate.pm 
line 9.
Compilation failed in require at 
/usr/pkg/lib/perl5/vendor_perl/5.12.0/IO/Compress/RawDeflate.pm line 12.
BEGIN failed--compilation aborted at 
/usr/pkg/lib/perl5/vendor_perl/5.12.0/IO/Compress/RawDeflate.pm line 12.
Compilation failed in require at 
/usr/pkg/lib/perl5/vendor_perl/5.12.0/IO/Compress/Deflate.pm line 9.
BEGIN failed--compilation aborted at 
/usr/pkg/lib/perl5/vendor_perl/5.12.0/IO/Compress/Deflate.pm line 9.
Compilation failed in require at /export/home/ewilhelm/HTTP-Message-
6.04/blib/lib/HTTP/Message.pm line 479.
t/message.t ............. Dubious, test returned 255 (wstat 65280, 
0xff00)
Failed 21/129 subtests 
t/request.t ............. 1/11 # Failed test 3 in t/request.t at line 16
#  t/request.t line 16 is: ok($req->header("Accept-Encoding") =~ 
/\bgzip\b/);  # assuming IO::Uncompress::Gunzip is there
t/request.t ............. Failed 1/11 subtests 
@neilb
Copy link
Contributor

neilb commented Oct 19, 2022

I think this can be closed:

  • There's been a lot of water under the EUMM and HTTP-Message bridges since then (the issue was originally raised in 2012, ten years ago), and HTTP-Message has been very green on CPAN Testers in all recent releases (from a quick spot check, most failures seem to be down to t/response.t randomly fails #101)
  • I emailed EWILHELM to ask if he still has access to the place where he had the problem, and could confirm it was ok, but haven't had any reply (not a big surprise, as he hasn't released anything since 2013).

@simbabque
Copy link
Contributor

The bug report does look like it was an unfortunate combination of things leading to the problem. I concur that we should close this. Thank yo for investigating and following up @neilb!

@haarg haarg closed this as completed Oct 19, 2022
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

4 participants