[tempest] urllib failure running under py3
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Shared File Systems Service (Manila) |
Fix Released
|
High
|
Tom Barron |
Bug Description
When running manila-
2019-01-05 17:36:55.749712 | controller | 2019-01-05 17:36:55.749 | ++ /opt/stack/
2019-01-05 17:36:55.751300 | controller | 2019-01-05 17:36:55.750 | Running tempest manila test suites
2019-01-05 17:36:55.752798 | controller | 2019-01-05 17:36:55.752 | ++ /opt/stack/
2019-01-05 17:36:55.754862 | controller | 2019-01-05 17:36:55.754 | ++ /opt/stack/
2019-01-05 17:36:55.757179 | controller | 2019-01-05 17:36:55.756 | ++ /opt/stack/
2019-01-05 17:36:55.759580 | controller | 2019-01-05 17:36:55.759 | ++ /opt/stack/
2019-01-05 17:36:55.761926 | controller | 2019-01-05 17:36:55.761 | ++ /opt/stack/
2019-01-05 17:36:55.764743 | controller | 2019-01-05 17:36:55.764 | ++ /opt/stack/
2019-01-05 17:36:55.766713 | controller | 2019-01-05 17:36:55.766 | /usr/local/
2019-01-05 17:36:55.768089 | controller | 2019-01-05 17:36:55.767 | import imp
2019-01-05 17:36:55.770783 | controller | 2019-01-05 17:36:55.770 | sys:1: ResourceWarning: unclosed file <_io.FileIO name=1 mode='wb' closefd=True>
2019-01-05 17:36:55.772772 | controller | 2019-01-05 17:36:55.772 |
2019-01-05 17:36:55.774678 | controller | 2019-01-05 17:36:55.774 | =======
2019-01-05 17:36:55.776333 | controller | 2019-01-05 17:36:55.775 | Failures during discovery
2019-01-05 17:36:55.778802 | controller | 2019-01-05 17:36:55.778 | =======
2019-01-05 17:36:55.780740 | controller | 2019-01-05 17:36:55.780 | --- import errors ---
2019-01-05 17:36:55.783034 | controller | 2019-01-05 17:36:55.782 | Failed to import test module: manila_
2019-01-05 17:36:55.784887 | controller | 2019-01-05 17:36:55.784 | Traceback (most recent call last):
2019-01-05 17:36:55.786730 | controller | 2019-01-05 17:36:55.786 | File "/usr/local/
2019-01-05 17:36:55.788498 | controller | 2019-01-05 17:36:55.787 | module = self._get_
2019-01-05 17:36:55.791113 | controller | 2019-01-05 17:36:55.790 | File "/usr/local/
2019-01-05 17:36:55.793417 | controller | 2019-01-05 17:36:55.792 | __import__(name)
2019-01-05 17:36:55.795499 | controller | 2019-01-05 17:36:55.794 | File "/opt/stack/
2019-01-05 17:36:55.797707 | controller | 2019-01-05 17:36:55.797 | from manila_
2019-01-05 17:36:55.800063 | controller | 2019-01-05 17:36:55.799 | File "/opt/stack/
2019-01-05 17:36:55.801857 | controller | 2019-01-05 17:36:55.801 | from urllib2 import urlopen
2019-01-05 17:36:55.803894 | controller | 2019-01-05 17:36:55.803 | ModuleNotFoundE
2019-01-05 17:36:55.806091 | controller | 2019-01-05 17:36:55.805 |
2019-01-05 17:36:55.808331 | controller | 2019-01-05 17:36:55.807 | =======
2019-01-05 17:36:55.810117 | controller | 2019-01-05 17:36:55.809 | The above traceback was encountered during test discovery which imports all the found test modules in the specified test_path.
Changed in manila: | |
status: | New → Confirmed |
milestone: | none → stein-2 |
importance: | Undecided → High |
tags: | added: python3 tempest tests |
Changed in manila: | |
assignee: | nobody → Tom Barron (tpb) |
status: | Confirmed → In Progress |
summary: |
- tempest urllib failure running under py3 + [tempest] urllib failure running under py3 |
Reviewed: https:/ /review. openstack. org/628675 /git.openstack. org/cgit/ openstack/ manila- tempest- plugin/ commit/ ?id=8e9a39abbf0 bfff5448422dc1b cc6bddb7682355
Committed: https:/
Submitter: Zuul
Branch: master
commit 8e9a39abbf0bfff 5448422dc1bcc6b ddb7682355
Author: Goutham Pacha Ravi <email address hidden>
Date: Fri Jan 4 12:26:26 2019 -0800
Py3: Use urlopen from six.moves. urllib. request
Namespaces within the urllib2 package have
changed between python2x and python3x.
Closes-bug: #1810610 3c587d6bc8d0728 0a7727bbe21
Change-Id: I2a044ba7697039