Intermittent py27 failure - TypeError: unsupported operand type(s

Bug #1482609 reported by Davanum Srinivas (DIMS)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Invalid
Undecided
Unassigned
os-testr
Fix Released
Medium
Matthew Treinish

Bug Description

logstash shows 73 hits in last 48 hours:
http://logstash.openstack.org/#eyJzZWFyY2giOiJcIlR5cGVFcnJvcjogdW5zdXBwb3J0ZWQgb3BlcmFuZCB0eXBlKHMpIGZvciAtOiAnTm9uZVR5cGUnIGFuZCAnZGF0ZXRpbWUuZGF0ZXRpbWUnXCIiLCJmaWVsZHMiOltdLCJvZmZzZXQiOjAsInRpbWVmcmFtZSI6IjE3MjgwMCIsImdyYXBobW9kZSI6ImNvdW50IiwidGltZSI6eyJ1c2VyX2ludGVydmFsIjowfSwic3RhbXAiOjE0Mzg5NDYyNDc4NzR9

Example from:
http://logs.openstack.org/19/188119/19/check/gate-nova-python27/65178aa/console.html

2015-08-07 11:09:23.483 | File "/home/jenkins/workspace/gate-nova-python27/.tox/py27/bin/subunit-trace", line 11, in <module>
2015-08-07 11:09:23.484 | sys.exit(main())
2015-08-07 11:09:23.484 | File "/home/jenkins/workspace/gate-nova-python27/.tox/py27/local/lib/python2.7/site-packages/os_testr/subunit_trace.py", line 328, in main
2015-08-07 11:09:23.485 | print_summary(sys.stdout, elapsed_time)
2015-08-07 11:09:23.493 | File "/home/jenkins/workspace/gate-nova-python27/.tox/py27/local/lib/python2.7/site-packages/os_testr/subunit_trace.py", line 268, in print_summary
2015-08-07 11:09:23.493 | num, time = worker_stats(w)
2015-08-07 11:09:23.493 | File "/home/jenkins/workspace/gate-nova-python27/.tox/py27/local/lib/python2.7/site-packages/os_testr/subunit_trace.py", line 242, in worker_stats
2015-08-07 11:09:23.493 | delta = tests[-1]['timestamps'][1] - tests[0]['timestamps'][0]
2015-08-07 11:09:23.494 | TypeError: unsupported operand type(s) for -: 'NoneType' and 'datetime.datetime'

Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote :

Looks like this is fixed in os-testr master and we just need a release

Revision history for this message
Matthew Treinish (treinish) wrote :
Changed in os-testr:
status: New → Fix Committed
importance: Undecided → Medium
assignee: nobody → Matthew Treinish (treinish)
Changed in os-testr:
status: Fix Committed → Fix Released
Changed in nova:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.