Bug 1642353
| Summary: | ValueError: math domain error while runing "AttachVolumeMultiAttachTest" tempest test | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | viksss <vmulaje> | ||||||
| Component: | python-stestr | Assignee: | Chandan Kumar <chkumar> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | Martin Kopec <mkopec> | ||||||
| Severity: | high | Docs Contact: | |||||||
| Priority: | high | ||||||||
| Version: | 14.0 (Rocky) | CC: | apevec, chkumar, jschluet, lhh, slinaber, udesale, vmulaje | ||||||
| Target Milestone: | beta | Keywords: | Triaged | ||||||
| Target Release: | 14.0 (Rocky) | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | python-stestr-2.1.0-1.el7ost | Doc Type: | If docs needed, set a value | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2019-01-11 11:54:09 UTC | Type: | Bug | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
Created attachment 1496953 [details]
tempest.conf file
Hello, Thanks for filling the bug, It appears that you are hitting this bug: https://bugzilla.redhat.com/show_bug.cgi?id=1597040 Please pass the output of following command: $ rpm -qa | grep stestr Thanks, Chandan Kumar [root@controller-0 heat-admin]# rpm -qa | grep stestr python2-stestr-1.1.0-1.el7ost.1.noarch [root@controller-0 heat-admin]# (In reply to viksss from comment #3) > [root@controller-0 heat-admin]# rpm -qa | grep stestr > python2-stestr-1.1.0-1.el7ost.1.noarch > [root@controller-0 heat-admin]# Thanks, It is fixed in python-stestr-2.0.0, we will update the package version. Thanks for the fix version this is working now. [root@controller-0 heat-admin]# rpm -qa|grep stestr python2-stestr-2.1.0-1.el7ost.noarch [root@controller-0 heat-admin]# As mentioned in the comments, the issue should be fixed in python-stestr-2.1.0-1.el7ost, so I'm moving the bug to MODIFIED. The python-stestr-2.1.0-1.el7ost package contains fix of the issue. It's available in 2018-10-25.3 puddle and it's also available via latest symlink.
Steps of verification:
[stack@undercloud-0 ~]$ sudo rpm -qa | grep stestr
python2-stestr-1.1.0-1.el7ost.1.noarch
[stack@undercloud-0 tempest-dir]$ ostestr -r AttachVolumeMultiAttachTest
{1} setUpClass (tempest.api.compute.admin.test_volume_swap.AttachVolumeMultiAttachTest) ... SKIPPED: The microversion range[2.60 - latest] of this test is out of the configuration range[None - None].
{0} setUpClass (tempest.api.compute.volumes.test_attach_volume.AttachVolumeMultiAttachTest) ... SKIPPED: The microversion range[2.60 - latest] of this test is out of the configuration range[None - None].
======
Totals
======
Ran: 2 tests in 1.0000 sec.
- Passed: 0
- Skipped: 2
- Expected Fail: 0
- Unexpected Success: 0
- Failed: 0
Sum of execute time for each test: 0.0000 sec.
==============
Worker Balance
==============
- Worker 0 (1 tests) => 0:00:00
- Worker 1 (1 tests) => 0:00:00
Slowest Tests:
Traceback (most recent call last):
File "/bin/ostestr", line 10, in <module>
sys.exit(main())
File "/usr/lib/python2.7/site-packages/os_testr/ostestr.py", line 263, in main
exit(ostestr(sys.argv[1:]))
File "/usr/lib/python2.7/site-packages/os_testr/ostestr.py", line 259, in ostestr
return _select_and_call_runner(opts, regex, others)
File "/usr/lib/python2.7/site-packages/os_testr/ostestr.py", line 212, in _select_and_call_runner
black_regex=opts.black_regex)
File "/usr/lib/python2.7/site-packages/os_testr/ostestr.py", line 171, in call_testr
commands.slowest_command()
File "/usr/lib/python2.7/site-packages/stestr/commands/slowest.py", line 93, in slowest
known_times = format_times(known_times)
File "/usr/lib/python2.7/site-packages/stestr/commands/slowest.py", line 42, in format_times
math.log10(times[0][1])) + 1
ValueError: math domain error
<update the package>
[stack@undercloud-0 tempest-dir]$ sudo rpm -qa | grep stestr
python2-stestr-2.1.0-1.el7ost.noarch
[stack@undercloud-0 tempest-dir]$ ostestr -r AttachVolumeMultiAttachTest
{1} setUpClass (tempest.api.compute.admin.test_volume_swap.AttachVolumeMultiAttachTest) ... SKIPPED: The microversion range[2.60 - latest] of this test is out of the configuration range[None - None].
{0} setUpClass (tempest.api.compute.volumes.test_attach_volume.AttachVolumeMultiAttachTest) ... SKIPPED: The microversion range[2.60 - latest] of this test is out of the configuration range[None - None].
======
Totals
======
Ran: 2 tests in 1.0000 sec.
- Passed: 0
- Skipped: 2
- Expected Fail: 0
- Unexpected Success: 0
- Failed: 0
Sum of execute time for each test: 0.0000 sec.
==============
Worker Balance
==============
- Worker 0 (1 tests) => 0:00:00
- Worker 1 (1 tests) => 0:00:00
Slowest Tests:
Test id Runtime (s)
--------------------------------------------------------------------------------------- -----------
setUpClass (tempest.api.compute.admin.test_volume_swap.AttachVolumeMultiAttachTest) 0.000
setUpClass (tempest.api.compute.volumes.test_attach_volume.AttachVolumeMultiAttachTest) 0.000
[stack@undercloud-0 tempest-dir]$
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2019:0045 |
Created attachment 1496952 [details] traceback screenshot Description of problem: ValueError: math domain error while runing "AttachVolumeMultiAttachTest" tempest test getting traceback Traceback (most recent call last): File "/bin/ostestr", line 10, in <module> sys.exit(main()) File "/usr/lib/python2.7/site-packages/os_testr/ostestr.py", line 263, in main exit(ostestr(sys.argv[1:])) File "/usr/lib/python2.7/site-packages/os_testr/ostestr.py", line 259, in ostestr return _select_and_call_runner(opts, regex, others) File "/usr/lib/python2.7/site-packages/os_testr/ostestr.py", line 212, in _select_and_call_runner black_regex=opts.black_regex) File "/usr/lib/python2.7/site-packages/os_testr/ostestr.py", line 171, in call_testr commands.slowest_command() File "/usr/lib/python2.7/site-packages/stestr/commands/slowest.py", line 93, in slowest known_times = format_times(known_times) File "/usr/lib/python2.7/site-packages/stestr/commands/slowest.py", line 42, in format_times math.log10(times[0][1])) + 1 ValueError: math domain error Version-Release number of selected component (if applicable): openstack-tempest-19.0.0-0.20180914114331.8316f96.el7ost.noarch How reproducible: everytime Steps to Reproduce: 1.execute tempest test AttachVolumeMultiAttachTest 2. 3. Actual results: Traceback (most recent call last): File "/bin/ostestr", line 10, in <module> sys.exit(main()) File "/usr/lib/python2.7/site-packages/os_testr/ostestr.py", line 263, in main exit(ostestr(sys.argv[1:])) File "/usr/lib/python2.7/site-packages/os_testr/ostestr.py", line 259, in ostestr return _select_and_call_runner(opts, regex, others) File "/usr/lib/python2.7/site-packages/os_testr/ostestr.py", line 212, in _select_and_call_runner black_regex=opts.black_regex) File "/usr/lib/python2.7/site-packages/os_testr/ostestr.py", line 171, in call_testr commands.slowest_command() File "/usr/lib/python2.7/site-packages/stestr/commands/slowest.py", line 93, in slowest known_times = format_times(known_times) File "/usr/lib/python2.7/site-packages/stestr/commands/slowest.py", line 42, in format_times math.log10(times[0][1])) + 1 ValueError: math domain error Expected results: it should not give traceback while executing test Additional info: python-octavia-tests-tempest-golang-0.1.1-0.20180901220303.921ed42.el7ost.x86_64 python2-manila-tests-tempest-0.1.1-0.20180830035250.4c91b6e.el7ost.noarch python2-tempest-19.0.0-0.20180914114331.8316f96.el7ost.noarch openstack-tempest-19.0.0-0.20180914114331.8316f96.el7ost.noarch python2-sahara-tempest-0.6.1-0.20180903183308.bb23a5b.el7ost.noarch python2-sahara-tests-tempest-0.6.1-0.20180903183308.bb23a5b.el7ost.noarch python2-tempestconf-2.0.0-0.20180821043805.d7db90e.el7ost.noarch python2-cinder-tests-tempest-0.1.0-0.20180822115300.08a3851.el7ost.noarch python2-neutron-tests-tempest-0.2.1-0.20180905004815.f785dd4.el7ost.noarch python2-octavia-tests-tempest-0.1.1-0.20180901220303.921ed42.el7ost.noarch