python3.9 unit test failures

Bug #1907859 reported by Corey Bryant
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)
New
Low
Unassigned

Bug Description

To recreate:

lxc launch ubuntu-daily:hirsute h1
lxc exec h1 /bin/bash
# clone manila
tox -e py39
...

==============================
Failed 3 tests - output below:
==============================

manila.tests.share.drivers.infinidat.test_infinidat.InfiniboxDriverTestCase.test_snapshot_update_access
----------------------------------------------------------------------------------------hi---------------

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

      File "/home/corey/pkg/wallaby/upstream/manila/manila/tests/share/drivers/infinidat/test_infinidat.py", line 726, in test_snapshot_update_access
    self.assertEqual('1.2.3.4', permissions[0].client)

      File "/home/corey/pkg/wallaby/upstream/manila/.tox/py39/lib/python3.9/site-packages/testtools/testcase.py", line 415, in assertEqual
    self.assertThat(observed, matcher, message)

      File "/home/corey/pkg/wallaby/upstream/manila/.tox/py39/lib/python3.9/site-packages/testtools/testcase.py", line 502, in assertThat
    raise mismatch_error

    testtools.matchers._impl.MismatchError: '1.2.3.4' != '1.2.3.4-1.2.3.4'

manila.tests.share.drivers.infinidat.test_infinidat.InfiniboxDriverTestCase.test__get_ip_address_range_single_ip
----------------------------------------------------------------------------------------------------------------

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

      File "/home/corey/pkg/wallaby/upstream/manila/manila/tests/share/drivers/infinidat/test_infinidat.py", line 281, in test__get_ip_address_range_single_ip
    self.assertEqual('1.2.3.4', ip_address)

      File "/home/corey/pkg/wallaby/upstream/manila/.tox/py39/lib/python3.9/site-packages/testtools/testcase.py", line 415, in assertEqual
    self.assertThat(observed, matcher, message)

      File "/home/corey/pkg/wallaby/upstream/manila/.tox/py39/lib/python3.9/site-packages/testtools/testcase.py", line 502, in assertThat
    raise mismatch_error

    testtools.matchers._impl.MismatchError: '1.2.3.4' != '1.2.3.4-1.2.3.4'

manila.tests.share.drivers.infinidat.test_infinidat.InfiniboxDriverTestCase.test_update_access
----------------------------------------------------------------------------------------------

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

      File "/home/corey/pkg/wallaby/upstream/manila/manila/tests/share/drivers/infinidat/test_infinidat.py", line 639, in test_update_access
    self.assertEqual('1.2.3.4', permissions[0].client)

      File "/home/corey/pkg/wallaby/upstream/manila/.tox/py39/lib/python3.9/site-packages/testtools/testcase.py", line 415, in assertEqual
    self.assertThat(observed, matcher, message)

      File "/home/corey/pkg/wallaby/upstream/manila/.tox/py39/lib/python3.9/site-packages/testtools/testcase.py", line 502, in assertThat
    raise mismatch_error

    testtools.matchers._impl.MismatchError: '1.2.3.4' != '1.2.3.4-1.2.3.4'

======
Totals
======
Ran: 9893 tests in 545.3783 sec.
 - Passed: 9879
 - Skipped: 11
 - Expected Fail: 0
 - Unexpected Success: 0
 - Failed: 3
Sum of execute time for each test: 2130.1755 sec.

Tags: python3
Vida Haririan (vhariria)
Changed in manila:
importance: Undecided → Low
Revision history for this message
Vida Haririan (vhariria) wrote :
Vida Haririan (vhariria)
tags: added: python3
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.