奇怪的iptest3间歇性失败。
总之,我运行iptest3一次,一次测试失败。然后我立即再次单独运行该测试组(根据iptest3输出)并且它通过了OK。然后我立即再次完整地运行iptest3,这次所有测试都通过了。
任何人都知道为什么,或者我是否应该过分担心这个? iptest3的三次后续运行完全没有产生其他测试失败。不确定是否值得注意,但我注意到第一次运行需要的时间是第二次完整运行的两倍。
以下详细信息(如果有帮助,很乐意发布add'l详细信息):
第一次完整运行iptest3:
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/lib/python3.2/site-packages/IPython/parallel/tests/test_clien
t.py", line 199, in test_queue_status
self.assertEquals(sorted(intkeys), sorted(self.client.ids))AssertionError: Lists differ: [0, 1, 2, 3, 4, 5, 6, 7, 8] != [0, 1, 2, 3, 4, 6, 7, 8]
First differing element 5:56
First list contains 1 additional elements.First extra element 8:
8
- [0, 1, 2, 3, 4, 5, 6, 7, 8]
? ---
+ [0, 1, 2, 3, 4, 6, 7, 8]
"""Fail immediately, with the given message."""
>> raise self.failureException('Lists differ: [0, 1, 2, 3, 4, 5, 6, 7, 8] != [0
, 1, 2, 3, 4, 6, 7, 8]\n\nFirst differing element 5:\n5\n6\n\nFirst list contain
s 1 additional elements.\nFirst extra element 8:\n8\n\n- [0, 1, 2, 3, 4, 5, 6, 7, 8]\n? ---\n\n+ [0, 1, 2, 3, 4, 6, 7, 8]')
----------------------------------------------------------------------
Ran 174 tests in 117.648s
FAILED (KNOWNFAIL=2, SKIP=2, errors=4, failures=1)
**********************************************************************
Test suite completed for system with the following information:
{'commit_hash': '177894e',
'commit_source': 'installation',
'default_encoding': 'UTF-8',
'ipython_path': '/usr/local/lib/python3.2/site-packages/IPython',
'ipython_version': '0.13.1',
'os_name': 'posix',
'platform': 'Darwin-11.3.0-x86_64-i386-64bit',
'sys_executable': '/usr/local/Cellar/python3/3.2.3/Frameworks/Python.framework/Versions/3.2/Resources/Python.app/Contents/MacOS/Python',
'sys_platform': 'darwin',
'sys_version': '3.2.3 (default, Jan 18 2013, 08:38:50) \n[GCC 4.2.1 Compatible Apple Clang 4.1 ((tags/Apple/clang-421.11.66))]'}
Tools and libraries available at test time:
curses matplotlib numpy pexpect pygments qt sqlite3 tornado zmq
Tools and libraries NOT available at test time:
cython oct2py pymongo rpy2 wx wx.aui
Ran 10 test groups in 180.768s
Status:
ERROR - 1 out of 10 test groups failed.
----------------------------------------
Runner failed: IPython.parallel
You may wish to rerun this one individually, with:
/usr/local/Cellar/python3/3.2.3/Frameworks/Python.framework/Versions/3.2/Resources/Python.app/Contents/MacOS/Python /usr/local/lib/python3.2/site-packages/IPython/testing/iptest.py IPython.parallel
个人IPython.parallel测试:
$ /usr/local/Cellar/python3/3.2.3/Frameworks/Python.framework/Versions/3.2/Resources/Python.app/Contents/MacOS/Python /usr/local/lib/python3.2/site-packages/IPython/testing/iptest.py IPython.parallel
............................................................................................................S....................................K.......K...................S
----------------------------------------------------------------------
Ran 174 tests in 50.267s
OK (KNOWNFAIL=2, SKIP=2)
第二次完整运行iptest3:
Test suite completed for system with the following information:
{'commit_hash': '177894e',
'commit_source': 'installation',
'default_encoding': 'UTF-8',
'ipython_path': '/usr/local/lib/python3.2/site-packages/IPython',
'ipython_version': '0.13.1', 'os_name': 'posix',
'platform': 'Darwin-11.3.0-x86_64-i386-64bit',
'sys_executable': '/usr/local/Cellar/python3/3.2.3/Frameworks/Python.framework/Versions/3.2/Resources/Python.app/Contents/MacOS/Python',
'sys_platform': 'darwin',
'sys_version': '3.2.3 (default, Jan 18 2013, 08:38:50) \n[GCC 4.2.1 Compatible
Apple Clang 4.1 ((tags/Apple/clang-421.11.66))]'}
Tools and libraries available at test time:
curses matplotlib numpy pexpect pygments qt sqlite3 tornado zmq
Tools and libraries NOT available at test time:
cython oct2py pymongo rpy2 wx wx.aui
Ran 10 test groups in 91.157s
Status:
OK