Skip to content

Instantly share code, notes, and snippets.

@takluyver
Created May 23, 2012 09:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save takluyver/2774196 to your computer and use it in GitHub Desktop.
Save takluyver/2774196 to your computer and use it in GitHub Desktop.
IPython test log
..............................................
----------------------------------------------------------------------
Ran 46 tests in 0.077s
OK
...................................................................................................................................................................................................S..................................................................................K.........
----------------------------------------------------------------------
Ran 288 tests in 12.598s
OK (KNOWNFAIL=1, SKIP=1)
...........
----------------------------------------------------------------------
Ran 11 tests in 6.412s
OK
.............Got bus address: "unix:abstract=/tmp/dbus-oPB39uzdRF,guid=2a87adf084edd825a2c0f2d500000028"
Connected to accessibility bus at: "unix:abstract=/tmp/dbus-oPB39uzdRF,guid=2a87adf084edd825a2c0f2d500000028"
Registered DEC: true
....E...........
======================================================================
ERROR: test that `ipython console` starts a terminal
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/thomas/.ipy_pr_tests/venv-python3.2/lib/python3.2/site-packages/ipython-0.13.dev-py3.2.egg/IPython/external/pexpect/_pexpect.py", line 1421, in expect_loop
c = self.read_nonblocking (self.maxread, timeout)
File "/home/thomas/.ipy_pr_tests/venv-python3.2/lib/python3.2/site-packages/ipython-0.13.dev-py3.2.egg/IPython/external/pexpect/_pexpect.py", line 1627, in read_nonblocking
return super(spawn, self).read_nonblocking(size=size, timeout=timeout)\
File "/home/thomas/.ipy_pr_tests/venv-python3.2/lib/python3.2/site-packages/ipython-0.13.dev-py3.2.egg/IPython/external/pexpect/_pexpect.py", line 855, in read_nonblocking
raise TIMEOUT ('Timeout exceeded in read_nonblocking().')
IPython.external.pexpect._pexpect.TIMEOUT: Timeout exceeded in read_nonblocking().
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.2/dist-packages/nose-1.1.2-py3.2.egg/nose/case.py", line 198, in runTest
self.test(*self.arg)
File "/home/thomas/.ipy_pr_tests/venv-python3.2/lib/python3.2/site-packages/ipython-0.13.dev-py3.2.egg/IPython/testing/decorators.py", line 229, in skipper_func
return f(*args, **kwargs)
File "/home/thomas/.ipy_pr_tests/venv-python3.2/lib/python3.2/site-packages/ipython-0.13.dev-py3.2.egg/IPython/frontend/terminal/console/tests/test_console.py", line 47, in test_console_starts
idx = p.expect([r'In \[\d+\]', pexpect.EOF], timeout=4)
File "/home/thomas/.ipy_pr_tests/venv-python3.2/lib/python3.2/site-packages/ipython-0.13.dev-py3.2.egg/IPython/external/pexpect/_pexpect.py", line 1354, in expect
return self.expect_list(compiled_pattern_list, timeout, searchwindowsize)
File "/home/thomas/.ipy_pr_tests/venv-python3.2/lib/python3.2/site-packages/ipython-0.13.dev-py3.2.egg/IPython/external/pexpect/_pexpect.py", line 1368, in expect_list
return self.expect_loop(searcher_re(pattern_list), timeout, searchwindowsize)
File "/home/thomas/.ipy_pr_tests/venv-python3.2/lib/python3.2/site-packages/ipython-0.13.dev-py3.2.egg/IPython/external/pexpect/_pexpect.py", line 1452, in expect_loop
raise TIMEOUT (str(e) + '\n' + str(self))
IPython.external.pexpect._pexpect.TIMEOUT: Timeout exceeded in read_nonblocking().
<IPython.external.pexpect._pexpect.spawn object at 0xb93598c>
version: 2.6.dev
command: /usr/local/bin/ipython3
args: ['/usr/local/bin/ipython3', 'console', '--colors=NoColor']
searcher: searcher_re:
0: re.compile("In \[\d+\]")
1: EOF
buffer (last 100 chars): rnelApp] To connect another client to this kernel, use:
[IPKernelApp] --existing kernel-3993.json
before (last 100 chars): rnelApp] To connect another client to this kernel, use:
[IPKernelApp] --existing kernel-3993.json
after: <class 'IPython.external.pexpect._pexpect.TIMEOUT'>
match: None
match_index: None
exitstatus: None
flag_eof: False
pid: 3993
child_fd: 25
closed: False
timeout: 30
delimiter: <class 'IPython.external.pexpect._pexpect.EOF'>
logfile: None
logfile_read: None
logfile_send: None
maxread: 2000
ignorecase: False
searchwindowsize: None
delaybeforesend: 0.05
delayafterclose: 0.1
delayafterterminate: 0.1
----------------------------------------------------------------------
Ran 29 tests in 4.692s
FAILED (errors=1)
................FF......
======================================================================
FAIL: Verify that plot is not available when pylab_import_all = False
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/thomas/.ipy_pr_tests/venv-python3.2/lib/python3.2/site-packages/ipython-0.13.dev-py3.2.egg/IPython/testing/decorators.py", line 229, in skipper_func
return f(*args, **kwargs)
File "/home/thomas/.ipy_pr_tests/venv-python3.2/lib/python3.2/site-packages/ipython-0.13.dev-py3.2.egg/IPython/testing/decorators.py", line 229, in skipper_func
return f(*args, **kwargs)
File "/home/thomas/.ipy_pr_tests/venv-python3.2/lib/python3.2/site-packages/ipython-0.13.dev-py3.2.egg/IPython/lib/tests/test_irunner_pylab_magic.py", line 118, in test_pylab_import_all_disabled
self._test_runner(runner,source,output)
File "/home/thomas/.ipy_pr_tests/venv-python3.2/lib/python3.2/site-packages/ipython-0.13.dev-py3.2.egg/IPython/lib/tests/test_irunner_pylab_magic.py", line 53, in _test_runner
self.fail(message)
AssertionError: Mismatch in number of lines
Expected:
~~~~~~~~~
In \[1\]: from IPython\.config\.application import Application
In \[2\]: app = Application\.instance\(\)
In \[3\]: app\.pylab_import_all = False
In \[4\]: pylab
^Welcome to pylab, a matplotlib-based Python environment
For more information, type 'help\(pylab\)'\.
In \[5\]: ip=get_ipython\(\)
In \[6\]: 'plot' in ip\.user_ns
Out\[6\]: False
Got:
~~~~~~~~~
In [1]: from IPython.config.application import Application
In [2]: app = Application.instance()
In [3]: app.pylab_import_all = False
In [4]: pylab
/usr/local/lib/python3.2/dist-packages/matplotlib/__init__.py:931: UserWarning: This call to matplotlib.use() has no effect
because the the backend has already been chosen;
matplotlib.use() must be called *before* pylab, matplotlib.pyplot,
or matplotlib.backends is imported for the first time.
if warn: warnings.warn(_use_error_msg)
Welcome to pylab, a matplotlib-based Python environment [backend: Qt4Agg].
For more information, type 'help(pylab)'.
In [5]: ip=get_ipython()
In [6]: 'plot' in ip.user_ns
Out[6]: False
"""Fail immediately, with the given message."""
>> raise self.failureException("Mismatch in number of lines\n\nExpected:\n~~~~~~~~~\nIn \\[1\\]: from IPython\\.config\\.application import Application\nIn \\[2\\]: app = Application\\.instance\\(\\)\nIn \\[3\\]: app\\.pylab_import_all = False\nIn \\[4\\]: pylab\n^Welcome to pylab, a matplotlib-based Python environment\nFor more information, type 'help\\(pylab\\)'\\.\nIn \\[5\\]: ip=get_ipython\\(\\)\nIn \\[6\\]: 'plot' in ip\\.user_ns\nOut\\[6\\]: False\n\nGot:\n~~~~~~~~~\nIn [1]: from IPython.config.application import Application\nIn [2]: app = Application.instance()\nIn [3]: app.pylab_import_all = False\nIn [4]: pylab\n/usr/local/lib/python3.2/dist-packages/matplotlib/__init__.py:931: UserWarning: This call to matplotlib.use() has no effect\nbecause the the backend has already been chosen;\nmatplotlib.use() must be called *before* pylab, matplotlib.pyplot,\nor matplotlib.backends is imported for the first time.\n if warn: warnings.warn(_use_error_msg)\nWelcome to pylab, a matplotlib-based Python environment [backend: Qt4Agg].\nFor more information, type 'help(pylab)'.\nIn [5]: ip=get_ipython()\nIn [6]: 'plot' in ip.user_ns\nOut[6]: False")
======================================================================
FAIL: Verify that plot is available when pylab_import_all = True
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/thomas/.ipy_pr_tests/venv-python3.2/lib/python3.2/site-packages/ipython-0.13.dev-py3.2.egg/IPython/testing/decorators.py", line 229, in skipper_func
return f(*args, **kwargs)
File "/home/thomas/.ipy_pr_tests/venv-python3.2/lib/python3.2/site-packages/ipython-0.13.dev-py3.2.egg/IPython/testing/decorators.py", line 229, in skipper_func
return f(*args, **kwargs)
File "/home/thomas/.ipy_pr_tests/venv-python3.2/lib/python3.2/site-packages/ipython-0.13.dev-py3.2.egg/IPython/lib/tests/test_irunner_pylab_magic.py", line 92, in test_pylab_import_all_enabled
self._test_runner(runner,source,output)
File "/home/thomas/.ipy_pr_tests/venv-python3.2/lib/python3.2/site-packages/ipython-0.13.dev-py3.2.egg/IPython/lib/tests/test_irunner_pylab_magic.py", line 53, in _test_runner
self.fail(message)
AssertionError: Mismatch in number of lines
Expected:
~~~~~~~~~
In \[1\]: from IPython\.config\.application import Application
In \[2\]: app = Application\.instance\(\)
In \[3\]: app\.pylab_import_all = True
In \[4\]: pylab
^Welcome to pylab, a matplotlib-based Python environment
For more information, type 'help\(pylab\)'\.
In \[5\]: ip=get_ipython\(\)
In \[6\]: 'plot' in ip\.user_ns
Out\[6\]: True
Got:
~~~~~~~~~
In [1]: from IPython.config.application import Application
In [2]: app = Application.instance()
In [3]: app.pylab_import_all = True
In [4]: pylab
/usr/local/lib/python3.2/dist-packages/matplotlib/__init__.py:931: UserWarning: This call to matplotlib.use() has no effect
because the the backend has already been chosen;
matplotlib.use() must be called *before* pylab, matplotlib.pyplot,
or matplotlib.backends is imported for the first time.
if warn: warnings.warn(_use_error_msg)
Welcome to pylab, a matplotlib-based Python environment [backend: Qt4Agg].
For more information, type 'help(pylab)'.
In [5]: ip=get_ipython()
In [6]: 'plot' in ip.user_ns
Out[6]: True
"""Fail immediately, with the given message."""
>> raise self.failureException("Mismatch in number of lines\n\nExpected:\n~~~~~~~~~\nIn \\[1\\]: from IPython\\.config\\.application import Application\nIn \\[2\\]: app = Application\\.instance\\(\\)\nIn \\[3\\]: app\\.pylab_import_all = True\nIn \\[4\\]: pylab\n^Welcome to pylab, a matplotlib-based Python environment\nFor more information, type 'help\\(pylab\\)'\\.\nIn \\[5\\]: ip=get_ipython\\(\\)\nIn \\[6\\]: 'plot' in ip\\.user_ns\nOut\\[6\\]: True\n\nGot:\n~~~~~~~~~\nIn [1]: from IPython.config.application import Application\nIn [2]: app = Application.instance()\nIn [3]: app.pylab_import_all = True\nIn [4]: pylab\n/usr/local/lib/python3.2/dist-packages/matplotlib/__init__.py:931: UserWarning: This call to matplotlib.use() has no effect\nbecause the the backend has already been chosen;\nmatplotlib.use() must be called *before* pylab, matplotlib.pyplot,\nor matplotlib.backends is imported for the first time.\n if warn: warnings.warn(_use_error_msg)\nWelcome to pylab, a matplotlib-based Python environment [backend: Qt4Agg].\nFor more information, type 'help(pylab)'.\nIn [5]: ip=get_ipython()\nIn [6]: 'plot' in ip.user_ns\nOut[6]: True")
----------------------------------------------------------------------
Ran 24 tests in 11.491s
FAILED (failures=2)
----------------------------------------------------------------------
Ran 0 tests in 0.000s
OK
.........................S..S......................S
----------------------------------------------------------------------
Ran 52 tests in 0.062s
OK (SKIP=3)
..................................................................SS...S............S............S..S..............................................S.........S..................................................
----------------------------------------------------------------------
Ran 208 tests in 1.434s
OK (SKIP=8)
......................................................
----------------------------------------------------------------------
Ran 54 tests in 0.045s
OK
...........................
----------------------------------------------------------------------
Ran 27 tests in 10.247s
OK
..............................................................................................S..............K..........K.................S
----------------------------------------------------------------------
Ran 139 tests in 41.110s
OK (KNOWNFAIL=2, SKIP=2)
**********************************************************************
IPython test group: IPython.config
**********************************************************************
IPython test group: IPython.core
**********************************************************************
IPython test group: IPython.extensions
**********************************************************************
IPython test group: IPython.frontend
**********************************************************************
IPython test group: IPython.lib
**********************************************************************
IPython test group: IPython.scripts
**********************************************************************
IPython test group: IPython.testing
**********************************************************************
IPython test group: IPython.utils
**********************************************************************
IPython test group: IPython.nbformat
**********************************************************************
IPython test group: IPython.zmq
**********************************************************************
IPython test group: IPython.parallel
**********************************************************************
Test suite completed for system with the following information:
{'commit_hash': '851cd6f',
'commit_source': 'installation',
'ipython_path': '/home/thomas/.ipy_pr_tests/venv-python3.2/lib/python3.2/site-packages/ipython-0.13.dev-py3.2.egg/IPython',
'ipython_version': '0.13.dev',
'os_name': 'posix',
'platform': 'Linux-3.2.0-24-generic-i686-with-Ubuntu-12.04-precise',
'sys_executable': '/home/thomas/.ipy_pr_tests/venv-python3.2/bin/python',
'sys_platform': 'linux2',
'sys_version': '3.2.3 (default, May 3 2012, 15:54:42) \n[GCC 4.6.3]'}
Tools and libraries available at test time:
curses matplotlib pexpect qt sqlite3 tornado zmq
Tools and libraries NOT available at test time:
pymongo wx wx.aui
Ran 11 test groups in 114.923s
Status:
ERROR - 2 out of 11 test groups failed.
----------------------------------------
Runner failed: IPython.frontend
You may wish to rerun this one individually, with:
/home/thomas/.ipy_pr_tests/venv-python3.2/bin/python /home/thomas/.ipy_pr_tests/venv-python3.2/lib/python3.2/site-packages/ipython-0.13.dev-py3.2.egg/IPython/testing/iptest.py IPython.frontend
----------------------------------------
Runner failed: IPython.lib
You may wish to rerun this one individually, with:
/home/thomas/.ipy_pr_tests/venv-python3.2/bin/python /home/thomas/.ipy_pr_tests/venv-python3.2/lib/python3.2/site-packages/ipython-0.13.dev-py3.2.egg/IPython/testing/iptest.py IPython.lib
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment