Skip to content

Instantly share code, notes, and snippets.

@joshgachnang
Created April 3, 2014 00:05
Show Gist options
  • Save joshgachnang/9945861 to your computer and use it in GitHub Desktop.
Save joshgachnang/9945861 to your computer and use it in GitHub Desktop.
Traceback (most recent call last):
File "/data/dev/ironic-python-agent/.tox/py27/local/lib/python2.7/site-packages/mock.py", line 1201, in patched
return func(*args, **keywargs)
File "/data/dev/ironic-python-agent/ironic_python_agent/tests/agent.py", line 253, in test__get_kernel_params_fail
params = agent_cmd._get_kernel_params()
File "ironic_python_agent/cmd/agent.py", line 31, in _get_kernel_params
LOG.exception('Could not read /proc/cmdline: {e}'.format(e=e))
File "/usr/lib/python2.7/logging/__init__.py", line 1445, in exception
self.logger.error(msg, *args, **kwargs)
File "/usr/lib/python2.7/logging/__init__.py", line 1166, in error
self._log(ERROR, msg, args, **kwargs)
File "/usr/lib/python2.7/logging/__init__.py", line 1258, in _log
self.handle(record)
File "/usr/lib/python2.7/logging/__init__.py", line 1268, in handle
self.callHandlers(record)
File "/usr/lib/python2.7/logging/__init__.py", line 1308, in callHandlers
hdlr.handle(record)
File "/usr/lib/python2.7/logging/__init__.py", line 748, in handle
self.emit(record)
File "/usr/lib/python2.7/logging/__init__.py", line 874, in emit
self.handleError(record)
File "/usr/lib/python2.7/logging/__init__.py", line 801, in handleError
None, sys.stderr)
File "/usr/lib/python2.7/traceback.py", line 125, in print_exception
print_tb(tb, limit, file)
File "/usr/lib/python2.7/traceback.py", line 69, in print_tb
line = linecache.getline(filename, lineno, f.f_globals)
File "/data/dev/ironic-python-agent/.tox/py27/lib/python2.7/linecache.py", line 14, in getline
lines = getlines(filename, module_globals)
File "/data/dev/ironic-python-agent/.tox/py27/lib/python2.7/linecache.py", line 40, in getlines
return updatecache(filename, module_globals)
File "/data/dev/ironic-python-agent/.tox/py27/lib/python2.7/linecache.py", line 132, in updatecache
with open(fullname, 'rU') as fp:
File "/data/dev/ironic-python-agent/.tox/py27/local/lib/python2.7/site-packages/mock.py", line 955, in __call__
return _mock_self._mock_call(*args, **kwargs)
File "/data/dev/ironic-python-agent/.tox/py27/local/lib/python2.7/site-packages/mock.py", line 1010, in _mock_call
raise effect
Exception
======================================================================
FAIL: process-returncode
tags: worker-0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment