This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: test_mailbox is hanging while doing gmake test on HP-UX v3
Type: behavior Stage: test needed
Components: Interpreter Core, Tests Versions: Python 3.1, Python 3.2, Python 2.7
process
Status: closed Resolution: wont fix
Dependencies: Superseder:
Assigned To: Nosy List: akuchling, shashikala
Priority: low Keywords:

Created on 2007-03-01 12:24 by shashikala, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
test_mailbox.txt shashikala, 2007-03-01 12:24
python.txt shashikala, 2007-03-31 13:27
Messages (3)
msg31395 - (view) Author: shashi (shashikala) Date: 2007-03-01 12:24
 Hi ,

  I am testing Python 2.5 on HP-UX 11iv3 using gmake test , while testing the test  test_mailbox.py is hanging . 

  when tried to track the problem i came to know that
in the function 
      if pid == 0:
            # In the child, lock the mailbox.
            self._box.lock()
            time.sleep(2)
            self._box.unlock()
            os._exit(0)

        # In the parent, sleep a bit to give the child time to acquire
        # the lock.
        time.sleep(0.5)
        try:
            self.assertRaises(mailbox.ExternalClashError,
                              self._box.lock)
        finally:
            # Wait for child to exit.  Locking should now succeed.
            exited_pid, status = os.waitpid(pid, 0)

 after forking the child , child is not returning status to the parent while its waiting for the return status. 

  which part of the Python functionality is checked. 
 
   Please assist me to solve this.

Thanks in advance ,
shashi

 
msg31396 - (view) Author: shashi (shashikala) Date: 2007-03-31 13:27
please find attached log stacktrace of test_mailbox.py , assist me to analyse the test hang.
File Added: python.txt
msg116618 - (view) Author: Mark Lawrence (BreamoreBoy) * Date: 2010-09-16 21:35
Can someone with an HP-UX box please see if this is still a problem with currently supported versions of Python.
History
Date User Action Args
2022-04-11 14:56:22adminsetgithub: 44642
2014-12-31 16:16:14akuchlingsetstatus: languishing -> closed
resolution: wont fix
2014-02-03 19:53:14BreamoreBoysetnosy: - BreamoreBoy
2013-11-06 20:18:48akuchlingsetstatus: open -> languishing
2010-11-12 20:59:58akuchlingsetassignee: akuchling ->
2010-09-16 21:35:47BreamoreBoysetnosy: + BreamoreBoy

messages: + msg116618
versions: + Python 3.1, Python 2.7, Python 3.2, - Python 2.6
2009-03-30 21:41:35ajaksu2setpriority: normal -> low
stage: test needed
type: behavior
components: + Tests
versions: + Python 2.6, - Python 2.5
2007-03-01 12:24:44shashikalacreate