Unit tests hang forever
Bug #1578986 reported by
Peter Wang
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Medium
|
Gorka Eguileor |
Bug Description
we have noticed several times of the zone manager hang:
http://
http://
the test case below most likely causes the hang issue:
{3} cinder.
can anyone help to investigate this?
Thanks
Peter
summary: |
- zone manger unit tests hang forever + Unit tests hang forever |
Changed in cinder: | |
status: | New → Confirmed |
Changed in cinder: | |
assignee: | nobody → Peter Wang (peter.wang) |
Changed in cinder: | |
importance: | Undecided → Medium |
Changed in cinder: | |
assignee: | Peter Wang (peter.wang) → Xing Yang (xing-yang) |
Changed in cinder: | |
assignee: | Peter Wang (peter.wang) → Xing Yang (xing-yang) |
To post a comment you must log in.
{2} cinder. tests.unit. zonemanager. test_fc_ zone_manager. TestFCZoneManag er.test_ delete_ connection [0.032648s] ... ok
^CTraceback (most recent call last): tests.unit. volume. drivers. emc.vnx. test_client. TestClient. test_expand_ lun_not_ ops_ready [] ... inprogress bin/ostestr" , line 11, in <module> openstack- github/ cinder/ .tox/py27/ bin/subunit- trace", line 11, in <module>
sys.exit( main()) openstack- github/ cinder/ .tox/py27/ lib/python2. 7/site- packages/ os_testr/ ostestr. py", line 245, in main openstack- github/ cinder/ .tox/py27/ lib/python2. 7/site- packages/ os_testr/ subunit_ trace.py" , line 399, in main _select_ and_call_ runner( opts, exclude_regex, others)) openstack- github/ cinder/ .tox/py27/ lib/python2. 7/site- packages/ os_testr/ ostestr. py", line 205, in _select_ and_call_ runner no_summary) ) openstack- github/ cinder/ .tox/py27/ lib/python2. 7/site- packages/ os_testr/ subunit_ trace.py" , line 373, in trace until_failure, opts.color, others) openstack- github/ cinder/ .tox/py27/ lib/python2. 7/site- packages/ os_testr/ ostestr. py", line 172, in call_testr run(result) openstack- github/ cinder/ .tox/py27/ lib/python2. 7/site- packages/ subunit/ v2.py", line 284, in run communicate( ) python2. 7/subprocess. py", line 797, in communicate python2. 7/subprocess. py", line 1376, in wait retry_call( os.waitpid, self.pid, 0) python2. 7/subprocess. py", line 478, in _eintr_retry_call openstack- github/ cinder/ .tox/py27/ bin/testr" , line 26, in <module> exit(run_ argv(sys. argv, sys.stdin, sys.stdout, sys.stderr)) openstack- github/ cinder/ .tox/py27/ lib/python2. 7/site- packages/ testrepository/ commands/ __init_ _.py", line 188, in run_argv openstack- github/ cinder/ .tox/py27/ lib/python2. 7/site- packages/ testrepository/ commands/ __init_ _.py", line 143, in execute openstack- github/ cinder/ .tox/py27/ lib/python2. 7/site- packages/ testrepository/ commands/ run.py" , line 213, in run tests(cmd) openstack- github/ cinder/ .tox/py27/ lib/python2. 7/site- packages/ testrepository/ commands/ run.py" , line 358, in _run_tests openstack- github/ cinder/ .tox/py27/ lib/python2. 7/site- packages/ testrepository/ commands/ run.py" , line 356, in run_tests openstack- github/ cinder/ .tox/py27/ lib/python2. 7/site- packages/ testrepository/ commands/ __init_ _.py", line 143, in execute
{3} cinder.
File ".tox/py27/
Traceback (most recent call last):
File "/root/
sys.exit(main())
File "/root/
File "/root/
exit(
File "/root/
args.
File "/root/
opts.
File "/root/
stream.
File "/root/
proc.
File "/usr/lib64/
content = self.source.read(1)
KeyboardInterrupt
self.wait()
File "/usr/lib64/
pid, sts = _eintr_
File "/usr/lib64/
return func(*args)
KeyboardInterrupt
ERROR: KEYBOARDINTERRUPT
ERROR: keyboardinterrupt
[root@computer1 cinder]#
[root@computer1 cinder]# tox -e py27Using NetApp controller: 127.0.0.1
Using NetApp controller: 127.0.0.1
Using NetApp controller: 127.0.0.1
Using NetApp controller: 127.0.0.1
Using NetApp controller: 127.0.0.1
Traceback (most recent call last):
File "/root/
sys.
File "/root/
result = cmd.execute()
File "/root/
result = self.run()
File "/root/
return self._run_
File "/root/
return run_tests()
File "/root/
return load_cmd.execute()
File "/root/
result = self.run()
Fil...