py38 test failed in test_hacking.HackingTestCase

Bug #1872919 reported by zhangqing
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)
Fix Released
Medium
zhangqing

Bug Description

Captured traceback:
~~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):

File "/root/manila/.tox/py36/lib/python3.8/site-packages/ddt.py", line 151, in wrapper return func(self, *args, **kwargs)
File "/root/manila/manila/tests/test_hacking.py", line 157, test_logging_with_tuple_argument
self._assert_has_errors(code.format(log_method), checker,
File "/root/manila/manila/tests/test_hacking.py", line 131, in _assert_has_errors
self.assertEqual(expected_errors or [], actual_errors)
File "/root/manila/.tox/py36/lib/python3.8/site-packages/testtools/testcase.py", line 415, in assertEqual
self.assertThat(observed, matcher, message)
File "/root/manila/.tox/py36/lib/python3.8/site-packages/testtools/testcase.py", line 502, in assertThat
raise mismatch_error

testtools.matchers._impl.MismatchError: [(4, 21, 'M310')] != [(4, 20, 'M310')]

zhangqing (zhang-qing)
summary: - py36 test failed in
- manila.tests.test_hacking.HackingTestCase.test_logging_with_tuple_argument
+ py36 test failed in test_hacking.HackingTestCase
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to manila (master)

Fix proposed to branch: master
Review: https://review.opendev.org/720162

Changed in manila:
assignee: nobody → zhangqing (zhang-qing)
status: New → In Progress
Vida Haririan (vhariria)
Changed in manila:
importance: Undecided → Medium
milestone: none → ussuri-rc1
Revision history for this message
Vida Haririan (vhariria) wrote : Re: py36 test failed in test_hacking.HackingTestCase
summary: - py36 test failed in test_hacking.HackingTestCase
+ py38 test failed in test_hacking.HackingTestCase
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (master)

Reviewed: https://review.opendev.org/720162
Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=879f2081c6a16e3e7dfc4abaf70d877d7c30ac19
Submitter: Zuul
Branch: master

commit 879f2081c6a16e3e7dfc4abaf70d877d7c30ac19
Author: zhangqing <email address hidden>
Date: Wed Apr 15 16:28:55 2020 +0800

    fix bug in tox py test

    when running tox py36/37/38 test, it failed with error
    MismatchError, reference in cinder [1].

    [1] https://review.opendev.org/#/c/720008/
    Closes-bug: #1872919

    Change-Id: Ib76c8df7a435ba72cd0cffd7081d455fff02be0f

Changed in manila:
status: In Progress → Fix Released
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.