petdance/scratch — Issue #383: t/pmc/socket_ipv6.t: new test failures
Author: petdance
Created: 2011-11-14 05:55:49+00:00
State: open
Labels: bug, Pri-normal, Sev-medium, testing

Observed on linux/i386. Also reported earlier to day on parrot-dev by Andy Dougherty.
{{{
gethostbyname failure [::1]
gethostbyname failure [::1]
gethostbyname failure [::1]
gethostbyname failure [::1]
getaddrinfo failure: Name or service not known
Null PMC access in clone()
current instr.: 'test_bind' pc 142 (t/pmc/socket_ipv6.t:51)
called from Sub 'main' pc 83 (t/pmc/socket_ipv6.t:36)
t/pmc/socket_ipv6.t ..
1..18
# This Parrot is IPv6-aware
ok 1 - A TCP ipv6 sockaddr to localhost was set isa Sockaddr
ok 2 - A TCP ipv6 sockaddr to ::1 was set isa Sockaddr
ok 3 - A raw TCP ipv6 sockaddr to localhost was set: isa Sockaddr
ok 4 - A raw TCP ipv6 sockaddr to ::1 was set: isa Sockaddr
ok 5 - A UDP ipv6 sockaddr to localhost was set: isa Sockaddr
ok 6 - A UDP ipv6 sockaddr to ::1 was set: isa Sockaddr
ok 7 - A raw UDP ipv6 sockaddr to localhost was set: isa Sockaddr
ok 8 - A raw UDP ipv6 sockaddr to ::1 was set: isa Sockaddr
not ok 9 - bind ok (IPv6 localhost)
# Have: -1
# Want: 0
Dubious, test returned 1 (wstat 256, 0x100)
Failed 10/18 subtests

Test Summary Report
-------------------
t/pmc/socket_ipv6.t (Wstat: 256 Tests: 9 Failed: 1)
Failed test: 9
Non-zero exit status: 1
Parse errors: Bad plan. You planned 18 tests but ran 9.
Files=1, Tests=9, 0 wallclock secs ( 0.02 usr 0.00 sys + 0.01 cusr 0.00 csys = 0.03 CPU)
Result: FAIL
}}}

Originally http://trac.parrot.org/parrot/ticket/1989