Ticket #2026 (closed bug: fixed)

Opened 4 years ago

Last modified 4 years ago

t/src/extend_vtable.t: Non-deterministic results

Reported by: jkeenan Owned by: dukeleto
Priority: normal Milestone:
Component: embed/extend Version: 3.1.0
Severity: medium Keywords:
Cc: mikehh Language:
Patch status: Platform:

Description

5 runs; 3 different results; 4 of 5 bad. Observed by both mikehh and me.

$ prove t/src/extend_vtable.t; prove t/src/extend_vtable.t prove t/src/extend_vtable.t ; prove t/src/extend_vtable.t; prove t/src/extend_vtable.t; prove t/src/extend_vtable.t; prove t/src/extend_vtable.t
t/src/extend_vtable.t .. ok     
All tests successful.
Files=1, Tests=68,  8 wallclock secs ( 0.03 usr  0.01 sys +  5.14 cusr  1.90 csys =  7.08 CPU)
Result: PASS
t/src/extend_vtable.t .. ok     
Cannot determine source for prove at /usr/local/lib/perl5/5.12.0/App/Prove.pm line 496
t/src/extend_vtable.t .. ok     
All tests successful.
Files=1, Tests=68,  7 wallclock secs ( 0.02 usr  0.00 sys +  5.15 cusr  1.84 csys =  7.01 CPU)
Result: PASS
t/src/extend_vtable.t .. 1/68 
#   Failed test 'Parrot_PMC_hashvalue'
#   at t/src/extend_vtable.t line 165.
#          got: 'Done!
# '
#     expected: 'Got hash!
# Done!
# '
# './t/src/extend_vtable_2' failed with exit code 0
t/src/extend_vtable.t .. 67/68 # Looks like you failed 1 test of 68.
t/src/extend_vtable.t .. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/68 subtests 

Test Summary Report
-------------------
t/src/extend_vtable.t (Wstat: 256 Tests: 68 Failed: 1)
  Failed test:  2
  Non-zero exit status: 1
Files=1, Tests=68,  8 wallclock secs ( 0.02 usr  0.00 sys +  5.04 cusr  1.87 csys =  6.93 CPU)
Result: FAIL
t/src/extend_vtable.t .. 1/68 
#   Failed test 'Parrot_PMC_hashvalue'
#   at t/src/extend_vtable.t line 165.
#          got: 'Done!
# '
#     expected: 'Got hash!
# Done!
# '
# './t/src/extend_vtable_2' failed with exit code 0
t/src/extend_vtable.t .. 65/68 # Looks like you failed 1 test of 68.
t/src/extend_vtable.t .. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/68 subtests 

Test Summary Report
-------------------
t/src/extend_vtable.t (Wstat: 256 Tests: 68 Failed: 1)
  Failed test:  2
  Non-zero exit status: 1
Files=1, Tests=68,  7 wallclock secs ( 0.02 usr  0.00 sys +  4.96 cusr  1.82 csys =  6.80 CPU)
Result: FAIL
t/src/extend_vtable.t .. 1/68 
#   Failed test 'Parrot_PMC_hashvalue'
#   at t/src/extend_vtable.t line 165.
#          got: 'Done!
# '
#     expected: 'Got hash!
# Done!
# '
# './t/src/extend_vtable_2' failed with exit code 0
t/src/extend_vtable.t .. 60/68 # Looks like you failed 1 test of 68.
t/src/extend_vtable.t .. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/68 subtests 

Test Summary Report
-------------------
t/src/extend_vtable.t (Wstat: 256 Tests: 68 Failed: 1)
  Failed test:  2
  Non-zero exit status: 1
Files=1, Tests=68,  7 wallclock secs ( 0.02 usr  0.00 sys +  5.23 cusr  1.91 csys =  7.16 CPU)
Result: FAIL

In my experience, the first failure (in the second run above) is associated with the test losing its sense of what current directory it should be in. But that's just a hunch.

duke, can you take a look at this.

Thank you very much.

kid51

Change History

Changed 4 years ago by dukeleto

  • status changed from new to assigned

Hopefully fixed in 6786a80 , please test.

Changed 4 years ago by dukeleto

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

Pretty sure this was fixed, please re-open if not.

Note: See TracTickets for help on using tickets.