bugAtheist - Bugs: bug #28707, Fails using ProcessRunning...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #28707: Fails using ProcessRunning postcondition

Submitted by:  Cleto Martín Angelina <cleto>
Submitted on:  Thu 21 Jan 2010 07:26:06 PM UTC  
 
Category: NoneSeverity: 4 - Important
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Cleto Martín Angelina <cleto>
Open/Closed: Closed

Wed 10 Feb 2010 11:43:18 AM UTC, comment #1:

Please, create a meta-test in the atheist repository and propose a solution.

David Villa <dvilla>
Project Administrator
Thu 21 Jan 2010 07:26:06 PM UTC, original submission:

A simple test case like:

t = Task("true")
t.post += ProcessRunning(1234)

produce the output shown below for any PID used in ProcessRunning condition:

Traceback (most recent call last):
File "/usr/bin/atheist", line 1931, in <module>
sys.exit(main())
File "/usr/bin/atheist", line 1721, in main
result = run_test(t)
File "/usr/bin/atheist", line 1444, in run_test
value = c.evaluate()
File "/usr/bin/atheist", line 672, in evaluate
self.value = self.run()
File "/usr/bin/atheist", line 836, in run
return os.waitpid(self.pid, os.WNOHANG) != (0,0)
OSError: [Errno 10] No child processes

Cleto Martín Angelina <cleto>In charge of this item.

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by dvilla (Posted a comment)
  • -unavailable- added by cleto (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 15 Feb 2010 03:45:38 PM UTCcletoOpen/ClosedOpen=>Closed
    Mon 15 Feb 2010 03:41:05 PM UTCcletoStatusConfirmed=>Fixed
    Wed 10 Feb 2010 11:43:18 AM UTCdvillaStatusNone=>Confirmed
      Assigned toNone=>cleto
    Thu 21 Jan 2010 07:32:46 PM UTCcletoSeverity3 - Normal=>4 - Important

    Back to the top


    Powered by Savane 3.1-cleanup1