Panda install for MuEvent fails due to failing tests #2

Closed
stocks29 opened this Issue Oct 27, 2012 · 5 comments

Projects

None yet

2 participants

@stocks29

==> Testing MuEvent
t/01-timed.t ... ok
t/02-idle.t .... ok
t/03-socket.t .. connect failed: Operation timed out
in method initialize at src/gen/CORE.setting:7922
in method new at src/gen/CORE.setting:7901
in block at t/03-socket.t:38

t/03-socket.t .. Dubious, test returned 1 (wstat 256, 0x100)
Failed 13/13 subtests

Test Summary Report

t/03-socket.t (Wstat: 256 Tests: 0 Failed: 0)
Non-zero exit status: 1
Parse errors: Bad plan. You planned 13 tests but ran 0.
Files=3, Tests=15, 28 wallclock secs ( 0.06 usr 0.02 sys + 12.68 cusr 0.64 csys = 13.40 CPU)
Result: FAIL

perl6 -v
This is perl6 version 2012.09.1 built on parrot 4.6.0 revision 0

Owner
tadzik commented Oct 28, 2012

That's interesting; I don't see why that would happen.

Is it reproducible? Does it happen every time?
Do other socket-related modules work for you? (LWP::Simple for example)

Yes, it is reproducible, and happens every time I try to install MuEvent. LWP::Simple installed w/o issue and is working fine.

panda install LWP::Simple
==> LWP::Simple depends on MIME::Base64, URI
==> Fetching MIME::Base64
==> Building MIME::Base64
Compiling lib/MIME/Base64.pm6
==> Testing MIME::Base64
t/parrot.t .. ok
All tests successful.
Files=1, Tests=9, 1 wallclock secs ( 0.04 usr 0.01 sys + 0.87 cusr 0.17 csys = 1.09 CPU)
Result: PASS
==> Installing MIME::Base64
==> Succesfully installed MIME::Base64
==> Fetching URI
==> Building URI
Compiling lib/IETF/RFC_Grammar/IPv6.pm
Compiling lib/IETF/RFC_Grammar/URI.pm
Compiling lib/IETF/RFC_Grammar.pm
Compiling lib/URI/Escape.pm
Compiling lib/URI/DefaultPort.pm
Compiling lib/URI.pm
==> Testing URI
t/01.t ................... ok
t/escape.t ............... ok
t/november-urlencoded.t .. ok
t/rfc-3986-examples.t .... ok
All tests successful.
Files=4, Tests=91, 9 wallclock secs ( 0.06 usr 0.01 sys + 8.08 cusr 0.81 csys = 8.96 CPU)
Result: PASS
==> Installing URI
==> Succesfully installed URI
==> 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 .. ok
t/get-binary-camelia.t .......... ok
t/get-chunked-6guts.t ........... ok
t/get-perl6-org.t ............... ok
t/get-unsized.t ................. ok
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
All tests successful.
Files=13, Tests=56, 42 wallclock secs ( 0.08 usr 0.03 sys + 30.65 cusr 3.14 csys = 33.90 CPU)
Result: PASS
==> Installing LWP::Simple
==> Succesfully installed LWP::Simple

perl6 -e 'use LWP::Simple; LWP::Simple.new.get("http://www.google.com").say'
<!doctype html><meta content="Search the world's information, including webpages, images, videos and more. Google has many....

Anything I can do to help diagnose?

Owner
tadzik commented Oct 29, 2012

Can you try running something like this?

my $l = IO::Socket::INET.new(
    :localhost('localhost'),
    :localport(6666),
    :listen
);

my $c1 = IO::Socket::INET.new(:host('localhost'), :port(6666));
my $c2 = IO::Socket::INET.new(:host('localhost'), :port(6666));

say 'alive';

The failure appears to be unrelated to MuEvent itself, so it may just be a rakudobug.

Here's the results:

new-host:~ bob$ perl6 ~/test_inet.pl6
connect failed: Operation timed out
in method initialize at src/gen/CORE.setting:7922
in method new at src/gen/CORE.setting:7901
in block at /Users/bob/test_inet.pl6:8

new-host:~ bob$ cat ~/test_inet.pl6
my $l = IO::Socket::INET.new(
:localhost('localhost'),
:localport(6666),
:listen
);

my $c1 = IO::Socket::INET.new(:host('localhost'), :port(6666));
my $c2 = IO::Socket::INET.new(:host('localhost'), :port(6666));

say 'alive';
new-host:~ bob$

On Mon, Oct 29, 2012 at 10:22 AM, Tadeusz Sośnierz <notifications@github.com

wrote:

Can you try running something like this?

my $l = IO::Socket::INET.new(
:localhost('localhost'),
:localport(6666),
:listen
);

my $c1 = IO::Socket::INET.new(:host('localhost'), :port(6666));
my $c2 = IO::Socket::INET.new(:host('localhost'), :port(6666));

say 'alive';


Reply to this email directly or view it on GitHubhttps://github.com/tadzik/MuEvent/issues/2#issuecomment-9868432.

Bob Stockdale
robert.stockdale@gmail.com

Owner
tadzik commented Oct 31, 2012

Then it's most defiinitely a bug in Rakudo, not related to MuEvent. Can you send your report to rakudobug@perl.org, along with as much info as possible about your system specification? If that's a problem I can do it myself :)

As for MuEvent, you can install it with panda --notests, and most features should work anyway.

As for this request, since it's apparently not MuEvent-related, I'm closing it now. Thanks for finding a bug in Rakudo though :)

@tadzik tadzik closed this Oct 31, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment