Ticket #2096 (closed bug: fixed)

Opened 11 years ago

Last modified 10 years ago

t/dynoplibs/debug.t: fails one test on some Darwin

Reported by: gbens Owned by: jkeenan
Priority: normal Milestone:
Component: testing Version: 3.2.0
Severity: medium Keywords:
Cc: Language:
Patch status: Platform: darwin

Description (last modified by jkeenan) (diff)

In my smolder reports from Mac OS 10.6.4 (10F569) Darwin 10.4.0, this test consistently fails:

t/dynoplibs/debug.t .. 
1..12
ok 1 - getline, getfile
ok 2 - debug_print
ok 3 - debug_print without debugger
ok 4 - debug_backtrace
not ok 5 - debug_break

#   Failed test 'debug_break'
#   at lib/Parrot/Test.pm line 636.
#                   '
# 1
# 
# '
#     doesn't match '(?-xism:[(]pdb[)] (print I0\n)?1)'
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 1 (wstat 256, 0x100)
Failed 1/12 subtests 

Test Summary Report
-------------------
t/dynoplibs/debug.t (Wstat: 256 Tests: 12 Failed: 1)
  Failed test:  5
  Non-zero exit status: 1
Files=1, Tests=12,  1 wallclock secs 
  ( 0.04 usr  0.02 sys +  0.19 cusr  0.16 csys =  0.41 CPU)
Result: FAIL
Failed 1/1 test programs. 1/12 subtests failed.

Change History

  Changed 11 years ago by jkeenan

  • description modified (diff)

The text of the failing test:

pir_stdin_output_like
  ( <<'INPUT', <<'CODE', qr/[(]pdb[)] (print I0\n)?1/, "debug_break" );
print I0
quit
INPUT
.loadlib 'debug_ops'
.sub main :main
    debug_init
    $I0 = 1
    debug_break
.end
CODE

Note: This test failure is appearing on some Darwin boxes but not others. It does not appear on my 10.4.11 darwin/ppc box. I believe lucian has reported this error (see TT #2086) but benabik reports not getting it on darwin/intel.

Thank you very much.

kid51

  Changed 11 years ago by benabik

I get no failure on OS X 10.6.7 (10J869), Darwin 10.7.0, i386.

follow-up: ↓ 4   Changed 10 years ago by jkeenan

  • owner set to jkeenan
  • status changed from new to assigned

Smoke tester gbens++ has resumed submitting reports now that Smolder is back on line. He reports that t/dynoplibs/debug.t is now PASSing. I'm going to take this ticket with the intent of closing it if there are no other failure reports by the time of #parrotsketch on Tues Aug 02.

Thank you very much.

kid51

in reply to: ↑ 3   Changed 10 years ago by jkeenan

  • status changed from assigned to closed
  • resolution set to fixed

Replying to jkeenan: I'm going to take this ticket with the intent of closing it if there are no other failure reports by the time of #parrotsketch on Tues Aug 02.

No complaints; closing ticket.

Note: See TracTickets for help on using tickets.