← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1505240] [NEW] Tons of py34 tracebacks in successful unit test runs

 

Public bug reported:

2015-10-08 00:44:34.361 | --- Logging error ---
2015-10-08 00:44:34.361 | Traceback (most recent call last):
2015-10-08 00:44:34.361 |   File "/usr/lib/python3.4/logging/__init__.py", line 964, in emit
2015-10-08 00:44:34.361 |     msg = self.format(record)
2015-10-08 00:44:34.361 |   File "/home/jenkins/workspace/gate-cinder-python34/.tox/py34/lib/python3.4/site-packages/oslo_log/handlers.py", line 117, in format
2015-10-08 00:44:34.361 |     return logging.StreamHandler.format(self, record)
2015-10-08 00:44:34.361 |   File "/usr/lib/python3.4/logging/__init__.py", line 814, in format
2015-10-08 00:44:34.361 |     return fmt.format(record)
2015-10-08 00:44:34.362 |   File "/home/jenkins/workspace/gate-cinder-python34/.tox/py34/lib/python3.4/site-packages/oslo_log/formatters.py", line 235, in format
2015-10-08 00:44:34.362 |     record.exc_text = self.formatException(record.exc_info, record)
2015-10-08 00:44:34.362 |   File "/home/jenkins/workspace/gate-cinder-python34/.tox/py34/lib/python3.4/site-packages/oslo_log/formatters.py", line 245, in formatException
2015-10-08 00:44:34.362 |     None, stringbuffer)
2015-10-08 00:44:34.362 |   File "/usr/lib/python3.4/traceback.py", line 169, in print_exception
2015-10-08 00:44:34.362 |     for line in _format_exception_iter(etype, value, tb, limit, chain):
2015-10-08 00:44:34.362 |   File "/usr/lib/python3.4/traceback.py", line 146, in _format_exception_iter
2015-10-08 00:44:34.362 |     for value, tb in values:
2015-10-08 00:44:34.362 |   File "/usr/lib/python3.4/traceback.py", line 125, in _iter_chain
2015-10-08 00:44:34.362 |     context = exc.__context__
2015-10-08 00:44:34.362 | AttributeError: 'NoneType' object has no attribute '__context__'

Shows up all over the logs in successful neutron/cinder py34 unit test
runs:

http://logstash.openstack.org/#eyJzZWFyY2giOiJtZXNzYWdlOlwiRmlsZSBcXFwiL3Vzci9saWIvcHl0aG9uMy40L3RyYWNlYmFjay5weVxcXCJcIiBBTkQgbWVzc2FnZTpcIl9pdGVyX2NoYWluXCIgQU5EIHRhZ3M6XCJjb25zb2xlXCIiLCJmaWVsZHMiOltdLCJvZmZzZXQiOjAsInRpbWVmcmFtZSI6IjYwNDgwMCIsImdyYXBobW9kZSI6ImNvdW50IiwidGltZSI6eyJ1c2VyX2ludGVydmFsIjowfSwic3RhbXAiOjE0NDQ2NTY1NzA2MTAsIm1vZGUiOiIiLCJhbmFseXplX2ZpZWxkIjoiIn0=

It looks like there is some invalid exception chaining happening in
those projects.

** Affects: cinder
     Importance: Medium
     Assignee: Matt Riedemann (mriedem)
         Status: In Progress

** Affects: neutron
     Importance: Medium
         Status: New

** Also affects: neutron
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1505240

Title:
  Tons of py34 tracebacks in successful unit test runs

Status in Cinder:
  In Progress
Status in neutron:
  New

Bug description:
  2015-10-08 00:44:34.361 | --- Logging error ---
  2015-10-08 00:44:34.361 | Traceback (most recent call last):
  2015-10-08 00:44:34.361 |   File "/usr/lib/python3.4/logging/__init__.py", line 964, in emit
  2015-10-08 00:44:34.361 |     msg = self.format(record)
  2015-10-08 00:44:34.361 |   File "/home/jenkins/workspace/gate-cinder-python34/.tox/py34/lib/python3.4/site-packages/oslo_log/handlers.py", line 117, in format
  2015-10-08 00:44:34.361 |     return logging.StreamHandler.format(self, record)
  2015-10-08 00:44:34.361 |   File "/usr/lib/python3.4/logging/__init__.py", line 814, in format
  2015-10-08 00:44:34.361 |     return fmt.format(record)
  2015-10-08 00:44:34.362 |   File "/home/jenkins/workspace/gate-cinder-python34/.tox/py34/lib/python3.4/site-packages/oslo_log/formatters.py", line 235, in format
  2015-10-08 00:44:34.362 |     record.exc_text = self.formatException(record.exc_info, record)
  2015-10-08 00:44:34.362 |   File "/home/jenkins/workspace/gate-cinder-python34/.tox/py34/lib/python3.4/site-packages/oslo_log/formatters.py", line 245, in formatException
  2015-10-08 00:44:34.362 |     None, stringbuffer)
  2015-10-08 00:44:34.362 |   File "/usr/lib/python3.4/traceback.py", line 169, in print_exception
  2015-10-08 00:44:34.362 |     for line in _format_exception_iter(etype, value, tb, limit, chain):
  2015-10-08 00:44:34.362 |   File "/usr/lib/python3.4/traceback.py", line 146, in _format_exception_iter
  2015-10-08 00:44:34.362 |     for value, tb in values:
  2015-10-08 00:44:34.362 |   File "/usr/lib/python3.4/traceback.py", line 125, in _iter_chain
  2015-10-08 00:44:34.362 |     context = exc.__context__
  2015-10-08 00:44:34.362 | AttributeError: 'NoneType' object has no attribute '__context__'

  Shows up all over the logs in successful neutron/cinder py34 unit test
  runs:

  http://logstash.openstack.org/#eyJzZWFyY2giOiJtZXNzYWdlOlwiRmlsZSBcXFwiL3Vzci9saWIvcHl0aG9uMy40L3RyYWNlYmFjay5weVxcXCJcIiBBTkQgbWVzc2FnZTpcIl9pdGVyX2NoYWluXCIgQU5EIHRhZ3M6XCJjb25zb2xlXCIiLCJmaWVsZHMiOltdLCJvZmZzZXQiOjAsInRpbWVmcmFtZSI6IjYwNDgwMCIsImdyYXBobW9kZSI6ImNvdW50IiwidGltZSI6eyJ1c2VyX2ludGVydmFsIjowfSwic3RhbXAiOjE0NDQ2NTY1NzA2MTAsIm1vZGUiOiIiLCJhbmFseXplX2ZpZWxkIjoiIn0=

  It looks like there is some invalid exception chaining happening in
  those projects.

To manage notifications about this bug go to:
https://bugs.launchpad.net/cinder/+bug/1505240/+subscriptions


Follow ups