Skip to content

Instantly share code, notes, and snippets.

@jlg
Created July 5, 2010 15:54
Show Gist options
  • Select an option

  • Save jlg/464488 to your computer and use it in GitHub Desktop.

Select an option

Save jlg/464488 to your computer and use it in GitHub Desktop.
devapp07:~/pysrc/pyapi/test/api/notifications^pytest$ py.test -n9 brokeredpermute.py
================================================================================ test session starts =================================================================================
platform linux2 -- Python 2.5.2 -- pytest-1.3.2a1
test object 1: brokeredpermute.py
[gw0] popen -- platform linux2, Python 2.5.2-final-0 cwd: /export/home/jgustak/develop/git/dev/py_srcroot/pyapi/test/api/notifications
[gw1] popen -- platform linux2, Python 2.5.2-final-0 cwd: /export/home/jgustak/develop/git/dev/py_srcroot/pyapi/test/api/notifications
[gw2] popen -- platform linux2, Python 2.5.2-final-0 cwd: /export/home/jgustak/develop/git/dev/py_srcroot/pyapi/test/api/notifications
[gw3] popen -- platform linux2, Python 2.5.2-final-0 cwd: /export/home/jgustak/develop/git/dev/py_srcroot/pyapi/test/api/notifications
[gw4] popen -- platform linux2, Python 2.5.2-final-0 cwd: /export/home/jgustak/develop/git/dev/py_srcroot/pyapi/test/api/notifications
[gw5] popen -- platform linux2, Python 2.5.2-final-0 cwd: /export/home/jgustak/develop/git/dev/py_srcroot/pyapi/test/api/notifications
[gw6] popen -- platform linux2, Python 2.5.2-final-0 cwd: /export/home/jgustak/develop/git/dev/py_srcroot/pyapi/test/api/notifications
[gw7] popen -- platform linux2, Python 2.5.2-final-0 cwd: /export/home/jgustak/develop/git/dev/py_srcroot/pyapi/test/api/notifications
[gw8] popen -- platform linux2, Python 2.5.2-final-0 cwd: /export/home/jgustak/develop/git/dev/py_srcroot/pyapi/test/api/notifications
[master] starting full item collection ...
[master] collected 15 items
[gw1] txnode ready to receive tests
[gw0] txnode ready to receive tests
[gw2] txnode ready to receive tests
[gw3] txnode ready to receive tests
[gw6] txnode ready to receive tests
[gw5] txnode ready to receive tests
[gw4] txnode ready to receive tests
[gw7] txnode ready to receive tests
[gw8] txnode ready to receive tests
brokeredpermute.py ..s..F.ssFs..ssTraceback (most recent call last):
File "<string>", line 1, in <module>
File "<string>", line 4, in <module>
File "<string>", line 3, in <module>
File "/export/home/jgustak/src/execnet/execnet/gateway_base.py", line 1094, in serve
SlaveGateway(io=io, id=id, _startcount=2).serve()
File "/export/home/jgustak/src/execnet/execnet/gateway_base.py", line 715, in serve
self.join()
File "/export/home/jgustak/src/execnet/execnet/gateway_base.py", line 671, in join
self._receiverthread.join(timeout)
File "/opt/python-2.5.2/lib/python2.5/threading.py", line 594, in join
self.__block.wait()
File "/opt/python-2.5.2/lib/python2.5/threading.py", line 216, in wait
waiter.acquire()
KeyboardInterrupt
====================================================================================== FAILURES ======================================================================================
__________________________________________________ TestBrokeredNotificationsPermutations.testAJD_KR_BJD_KR_AP_AC_BP_BC_AA_BA_AR_BR ___________________________________________________
[gw8] popen -- platform linux2, Python 2.5.2-final-0 cwd: /export/home/jgustak/develop/git/dev/py_srcroot/pyapi/test/api/notifications
self = <brokeredpermute.TestBrokeredNotificationsPermutations testMethod=run>
> function = lambda self: self.runPermutation(actionSequence)
notifications.py:3659:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <brokeredpermute.TestBrokeredNotificationsPermutations testMethod=run>, actionSequence = ['AJD', 'KR', 'BJD', 'KR', 'AP', 'AC', ...]
def runPermutation(self, actionSequence):
if len(actionSequence) > 11:
> raise Exception(self.user_prefix)
E Exception: ONNAN
brokeredpermute.py:90: Exception
__________________________________________________ TestBrokeredNotificationsPermutations.testAJD_KR_AP_BJD_KR_AC_BP_BC_AA_BA_AR_BR ___________________________________________________
[gw0] popen -- platform linux2, Python 2.5.2-final-0 cwd: /export/home/jgustak/develop/git/dev/py_srcroot/pyapi/test/api/notifications
self = <brokeredpermute.TestBrokeredNotificationsPermutations testMethod=run>
> function = lambda self: self.runPermutation(actionSequence)
notifications.py:3659:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <brokeredpermute.TestBrokeredNotificationsPermutations testMethod=run>, actionSequence = ['AJD', 'KR', 'AP', 'BJD', 'KR', 'AC', ...]
def runPermutation(self, actionSequence):
if len(actionSequence) > 11:
> raise Exception(self.user_prefix)
E Exception: ONNAE
brokeredpermute.py:90: Exception
=================================================================== 2 failed, 7 passed, 6 skipped in 5.15 seconds ====================================================================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment