Ticket #2086 (new bug)

Opened 3 years ago

Last modified 3 years ago

dynoplibs test failures on OS X

Reported by: lucian Owned by:
Priority: normal Milestone:
Component: none Version: master
Severity: medium Keywords:
Cc: Language:
Patch status: Platform: darwin

Description

Mac OS X 10.6.6, 64bit kernel.

$ gcc --version
i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5664)

Output

dynoplibs/bit...................dubious
	Test returned status 2 (wstat 512, 0x200)
dynoplibs/debug.................1..12
not ok 1 - getline, getfile
not ok 2 - debug_print
not ok 3 - debug_print without debugger
not ok 4 - debug_backtrace
not ok 5 - debug_break
not ok 6 - debug backtrace - Null PMC access
not ok 7 - debug backtrace - method not found
not ok 8 - debug backtrace - division by 0
not ok 9 - debug backtrace - recursion 1
not ok 10 - debug backtrace - recursion 2
not ok 11 - setfile and setline
not ok 12 - setfile and setline
dubious
	Test returned status 12 (wstat 3072, 0xc00)
DIED. FAILED tests 1-12
	Failed 12/12 tests, 0.00% okay
dynoplibs/io-old................1..4
not ok 1 - 32bit seek: exception (ops)
not ok 2 - 64bit seek: exception (ops)
not ok 3 - peek (ops)
not ok 4 - peek on an empty file (ops)
dubious
	Test returned status 4 (wstat 1024, 0x400)
DIED. FAILED tests 1-4
	Failed 4/4 tests, 0.00% okay
dynoplibs/io....................dubious
	Test returned status 2 (wstat 512, 0x200)
dynoplibs/math..................dubious
	Test returned status 2 (wstat 512, 0x200)
dynoplibs/obscure...............dubious
	Test returned status 2 (wstat 512, 0x200)
dynoplibs/pmc_pow...............dubious
	Test returned status 2 (wstat 512, 0x200)
dynoplibs/string_pmc_bitwise....dubious
	Test returned status 2 (wstat 512, 0x200)
dynoplibs/sysinfo...............1..16
not ok 1 - PASM sysinfo  integer size
not ok 2 - PIR sysinfo  integer size
not ok 3 - PASM sysinfo  float size
not ok 4 - PIR sysinfo  float size
not ok 5 - PASM sysinfo  pointer size
not ok 6 - PIR sysinfo  pointer size
not ok 7 - PASM sysinfo  osname
not ok 8 - PIR sysinfo  osname
not ok 9 - PASM sysinfo  CPU Arch Family
not ok 10 - PIR sysinfo  CPU Arch Family
ok 11 # skip Tests only meaningful on Win32
ok 12 # skip Tests only meaningful on Win32
not ok 13 - sysinfo CPU Model # TODO not currently implemented in parrot

#   Failed (TODO) test 'sysinfo CPU Model'
#   at dynoplibs/sysinfo.t line 180.
# Exited with error code: [SIGNAL 5]
# Received:
# dyld: Library not loaded: /usr/local/lib/libparrot.dylib
#   Referenced from: /Users/lucian/Prog/parrot/./parrot
#   Reason: image not found
# 
# Expected:
# darwin-thread-multi-2leveldarwin-thread-multi-2level
ok 14 # skip Testing only in some known platforms
not ok 15 - INTVAL min and max coherence
not ok 16 - bad sysinfo codes
dubious
	Test returned status 12 (wstat 3072, 0xc00)
DIED. FAILED tests 1-10, 15-16
	Failed 12/16 tests, 25.00% okay (less 3 skipped tests: 1 okay, 6.25%)
dynoplibs/time..................dubious
	Test returned status 2 (wstat 512, 0x200)
dynoplibs/time_old..............1..1
not ok 1 - decodelocaltime
dubious
	Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 1
	Failed 1/1 tests, 0.00% okay
dynoplibs/trans-infnan..........dubious
	Test returned status 2 (wstat 512, 0x200)
dynoplibs/trans-old.............1..13
not ok 1 - sinh
not ok 2 - tanh
not ok 3 - sech
not ok 4 - atan2
not ok 5 - atan, part 2
not ok 6 - log2
not ok 7 - log10
not ok 8 - ln
not ok 9 - exp
not ok 10 - pow
not ok 11 - sqrt
not ok 12 - pow_n_n_ic
not ok 13 - pow_n_n_i
dubious
	Test returned status 13 (wstat 3328, 0xd00)
DIED. FAILED tests 1-13
	Failed 13/13 tests, 0.00% okay
dynoplibs/trans.................dubious
	Test returned status 2 (wstat 512, 0x200)
Failed Test                    Stat Wstat Total Fail  List of Failed
-------------------------------------------------------------------------------
dynoplibs/bit.t                   2   512    ??   ??  ??
dynoplibs/debug.t                12  3072    12   12  1-12
dynoplibs/io-old.t                4  1024     4    4  1-4
dynoplibs/io.t                    2   512    ??   ??  ??
dynoplibs/math.t                  2   512    ??   ??  ??
dynoplibs/obscure.t               2   512    ??   ??  ??
dynoplibs/pmc_pow.t               2   512    ??   ??  ??
dynoplibs/string_pmc_bitwise.t    2   512    ??   ??  ??
dynoplibs/sysinfo.t              12  3072    16   12  1-10 15-16
dynoplibs/time.t                  2   512    ??   ??  ??
dynoplibs/time_old.t              1   256     1    1  1
dynoplibs/trans-infnan.t          2   512    ??   ??  ??
dynoplibs/trans-old.t            13  3328    13   13  1-13
dynoplibs/trans.t                 2   512    ??   ??  ??
3 subtests skipped.
Failed 14/14 test scripts. 42/46 subtests failed.
Files=14, Tests=46,  1 wallclock secs ( 0.48 cusr +  0.40 csys =  0.88 CPU)

Change History

Changed 3 years ago by lucian

Having most tests fail sucks, because of osx dynamic loading issues. kid++ showed me how to run the tests in such a way that the OS X linker doesn't get confused.

Ignore the output in the ticket body.

$ prove -v dynoplibs/
dynoplibs/bit...................Can't exec ./parrot at dynoplibs/bit.t line 1.
dubious
	Test returned status 2 (wstat 512, 0x200)
dynoplibs/debug.................1..12
ok 1 - getline, getfile
ok 2 - debug_print
ok 3 - debug_print without debugger
ok 4 - debug_backtrace

#   Failed test 'debug_break'
#   at ../lib/Parrot/Test.pm line 636.
#                   'sh: ./parrot: No such file or directory
# '
#     doesn't match '(?-xism:[(]pdb[)] (print I0\n)?1)'
not ok 5 - debug_break
ok 6 - debug backtrace - Null PMC access
ok 7 - debug backtrace - method not found
ok 8 - debug backtrace - division by 0
ok 9 - debug backtrace - recursion 1
ok 10 - debug backtrace - recursion 2
ok 11 - setfile and setline
ok 12 - setfile and setline
# Looks like you failed 1 test of 12.
dubious
	Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 5
	Failed 1/12 tests, 91.67% okay
dynoplibs/io-old................1..4
ok 1 - 32bit seek: exception (ops)
ok 2 - 64bit seek: exception (ops)
ok 3 - peek (ops)
ok 4 - peek on an empty file (ops)
ok
dynoplibs/io....................Can't exec ./parrot at dynoplibs/io.t line 1.
dubious
	Test returned status 2 (wstat 512, 0x200)
dynoplibs/math..................Can't exec ./parrot at dynoplibs/math.t line 1.
dubious
	Test returned status 2 (wstat 512, 0x200)
dynoplibs/obscure...............Can't exec ./parrot at dynoplibs/obscure.t line 1.
dubious
	Test returned status 2 (wstat 512, 0x200)
dynoplibs/pmc_pow...............Can't exec ./parrot at dynoplibs/pmc_pow.t line 1.
dubious
	Test returned status 2 (wstat 512, 0x200)
dynoplibs/string_pmc_bitwise....Can't exec ./parrot at dynoplibs/string_pmc_bitwise.t line 1.
dubious
	Test returned status 2 (wstat 512, 0x200)
dynoplibs/sysinfo...............1..16
ok 1 - PASM sysinfo  integer size
ok 2 - PIR sysinfo  integer size
ok 3 - PASM sysinfo  float size
ok 4 - PIR sysinfo  float size
ok 5 - PASM sysinfo  pointer size
ok 6 - PIR sysinfo  pointer size
ok 7 - PASM sysinfo  osname
ok 8 - PIR sysinfo  osname
ok 9 - PASM sysinfo  CPU Arch Family
ok 10 - PIR sysinfo  CPU Arch Family
ok 11 # skip Tests only meaningful on Win32
ok 12 # skip Tests only meaningful on Win32
not ok 13 - sysinfo CPU Model # TODO not currently implemented in parrot

#   Failed (TODO) test 'sysinfo CPU Model'
#   at dynoplibs/sysinfo.t line 180.
#          got: ''
#     expected: 'darwin-thread-multi-2leveldarwin-thread-multi-2level'
ok 14 # skip Testing only in some known platforms
ok 15 - INTVAL min and max coherence
ok 16 - bad sysinfo codes
ok
        3/16 skipped: various reasons
dynoplibs/time..................Can't exec ./parrot at dynoplibs/time.t line 1.
dubious
	Test returned status 2 (wstat 512, 0x200)
dynoplibs/time_old..............1..1
ok 1 - decodelocaltime
ok
dynoplibs/trans-infnan..........Can't exec ./parrot at dynoplibs/trans-infnan.t line 1.
dubious
	Test returned status 2 (wstat 512, 0x200)
dynoplibs/trans-old.............1..13
ok 1 - sinh
ok 2 - tanh
ok 3 - sech
ok 4 - atan2
ok 5 - atan, part 2
ok 6 - log2
ok 7 - log10
ok 8 - ln
ok 9 - exp
ok 10 - pow
ok 11 - sqrt
ok 12 - pow_n_n_ic
ok 13 - pow_n_n_i
ok
dynoplibs/trans.................Can't exec ./parrot at dynoplibs/trans.t line 1.
dubious
	Test returned status 2 (wstat 512, 0x200)
Failed Test                    Stat Wstat Total Fail  List of Failed
-------------------------------------------------------------------------------
dynoplibs/bit.t                   2   512    ??   ??  ??
dynoplibs/debug.t                 1   256    12    1  5
dynoplibs/io.t                    2   512    ??   ??  ??
dynoplibs/math.t                  2   512    ??   ??  ??
dynoplibs/obscure.t               2   512    ??   ??  ??
dynoplibs/pmc_pow.t               2   512    ??   ??  ??
dynoplibs/string_pmc_bitwise.t    2   512    ??   ??  ??
dynoplibs/time.t                  2   512    ??   ??  ??
dynoplibs/trans-infnan.t          2   512    ??   ??  ??
dynoplibs/trans.t                 2   512    ??   ??  ??
3 subtests skipped.
Failed 10/14 test scripts. 1/46 subtests failed.
Files=14, Tests=46,  3 wallclock secs ( 0.71 cusr +  0.57 csys =  1.28 CPU)
Failed 10/14 test programs. 1/46 subtests failed.
Note: See TracTickets for help on using tickets.