Ticket #1750 (closed bug: fixed)

Opened 4 years ago

Last modified 4 years ago

t/pmc/packfile*.t: Failures in multiple files on Darwin/PPC; not correctible via mk_packfile_pbc

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

Description

On Thursday Aug 19, I was able to post this message on #parrot:

msg NotFound Whatever you did today re the failure 
I pasted yesterday appeared to work! Darwin/PPC make 
test PASS at r48571.  NotFound++

However, in 24 hours the situation has worsened. I am getting errors in the tests in t/pmc/packfile*.t on Darwin/PPC. Now, recent readers will know that a reconfiguration, rebuild and a run of sh tools/dev/mk_packfile_pbc is usually sufficient to fix this situation.

[parrot] 510 $ sh tools/dev/mk_packfile_pbc 
t/native_pbc/integer.pbc updated
t/native_pbc/number.pbc updated
t/native_pbc/string.pbc updated

(Cf.: r48496, r48424, 48323, r48167. Cf. also TT #1712 and TT #357.)

Tonight, however, this cycle of commands failed to improve the situation. Here's the short version of the relevant test output; I'll attach the verbose version.

Test Summary Report
-------------------
t/pmc/packfile.t             (Wstat: 0 Tests: 42 Failed: 14)
  Failed tests:  12-21, 23-25, 40
t/pmc/packfileannotations.t  (Wstat: 0 Tests: 17 Failed: 1)
  Failed test:  2
t/pmc/packfileconstanttable.t (Wstat: 0 Tests: 16 Failed: 3)
  Failed tests:  1-3
t/pmc/packfiledirectory.t    (Wstat: 0 Tests: 20 Failed: 5)
  Failed tests:  5-6, 18-20
t/pmc/packfilefixupentry.t   (Wstat: 0 Tests: 3 Failed: 3)
  Failed tests:  1-3
t/pmc/packfilefixuptable.t   (Wstat: 0 Tests: 3 Failed: 1)
  Failed test:  1
t/pmc/packfilerawsegment.t   (Wstat: 0 Tests: 7 Failed: 3)
  Failed tests:  1-2, 5
Files=9, Tests=114,  3 wallclock secs 
( 0.30 usr  0.12 sys +  0.53 cusr  0.38 csys =  1.33 CPU)
Result: FAIL

Thank you very much.

kid51

Attachments

t.pmc.packfile.failures.txt Download (8.7 KB) - added by jkeenan 4 years ago.

Change History

Changed 4 years ago by jkeenan

  Changed 4 years ago by NotFound

The pbc files used now are built during make test_prep. Updated the instructions of the .t files in r48609

  Changed 4 years ago by jkeenan

Still failing on Darwin/PPC as of r48611:

[parrot] 531 $ prove t/pmc/packfile*.t
t/pmc/packfile.t ............... 1/42 PackFile_unpack: This is not a valid Parrot bytecode file
t/pmc/packfile.t ............... Failed 14/42 subtests 
        (less 2 skipped subtests: 26 okay)
t/pmc/packfileannotation.t ..... ok   
t/pmc/packfileannotations.t .... Failed 1/17 subtests 
        (less 7 skipped subtests: 9 okay)
t/pmc/packfileconstanttable.t .. Failed 3/16 subtests 
t/pmc/packfiledirectory.t ...... Failed 5/20 subtests 
        (less 11 skipped subtests: 4 okay)
t/pmc/packfilefixupentry.t ..... Failed 3/3 subtests 
t/pmc/packfilefixuptable.t ..... Failed 1/3 subtests 
        (less 2 skipped subtests: 0 okay)
t/pmc/packfilerawsegment.t ..... Failed 3/7 subtests 
        (less 2 skipped subtests: 2 okay)
t/pmc/packfilesegment.t ........ ok   

Test Summary Report
-------------------
t/pmc/packfile.t             (Wstat: 0 Tests: 42 Failed: 14)
  Failed tests:  12-21, 23-25, 40
t/pmc/packfileannotations.t  (Wstat: 0 Tests: 17 Failed: 1)
  Failed test:  2
t/pmc/packfileconstanttable.t (Wstat: 0 Tests: 16 Failed: 3)
  Failed tests:  1-3
t/pmc/packfiledirectory.t    (Wstat: 0 Tests: 20 Failed: 5)
  Failed tests:  5-6, 18-20
t/pmc/packfilefixupentry.t   (Wstat: 0 Tests: 3 Failed: 3)
  Failed tests:  1-3
t/pmc/packfilefixuptable.t   (Wstat: 0 Tests: 3 Failed: 1)
  Failed test:  1
t/pmc/packfilerawsegment.t   (Wstat: 0 Tests: 7 Failed: 3)
  Failed tests:  1-2, 5
Files=9, Tests=114,  2 wallclock secs ( 0.25 usr  0.11 sys +  0.52 cusr  0.36 csys =  1.24 CPU)
Result: FAIL

follow-up: ↓ 4   Changed 4 years ago by NotFound

Did you executed 'make test_prep' before 'prove t/pmc/packfile*.t' ?

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

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

Replying to NotFound:

Did you executed 'make test_prep' before 'prove t/pmc/packfile*.t' ?

I'm fairly certain that I did.

However, it appears that tools/dev/mk_packfile_pbc is once again doing what it should on Darwin/PPC. So, once again, I have uploaded those three files in t/native_pbc/. See r48658.

Thanks for looking into this. Closing ticket; let's hope it will stay closed.

kid51

Note: See TracTickets for help on using tickets.