oslo config generator does not handle a random python hash seed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tempest |
Fix Released
|
Medium
|
Jon Grimm |
Bug Description
The upgrade tox to 1.7.2 and defaulting PYTHONHASHSEED=
$ tox -e pep8
pep8 develop-inst-noop: /opt/stack/tempest
pep8 runtests: PYTHONHASHSEED=
pep8 runtests: commands[0] | flake8
pep8 runtests: commands[1] | /opt/stack/
--- /tmp/tempest.
+++ etc/tempest.
@@ -229,6 +229,12 @@
# Options defined in tempest.config
#
+# Allows test cases to create/destroy tenants and users. This
+# option enables isolated test cases and better parallel
+# execution, but also requires that OpenStack Identity API
+# admin credentials are known. (boolean value)
+#allow_
+
# Valid primary image reference to be used in tests. This is a
# required option (string value)
#image_ref=<None>
@@ -259,6 +265,9 @@
# alternate image. (string value)
#image_
+# Time in seconds between build status checks. (integer value)
+#build_interval=1
+
# Timeout in seconds to wait for an instance to build.
# (integer value)
#build_timeout=300
@@ -347,6 +356,15 @@
# value)
#floating_
+# Allows test cases to create/destroy tenants and users. This
+# option enables isolated test cases and better parallel
+# execution, but also requires that OpenStack Identity API
+# admin credentials are known. (boolean value)
+#allow_
+
+# Time in seconds between build status checks. (integer value)
+#build_interval=1
+
[compute-admin]
@@ -832,15 +850,6 @@
# Options defined in tempest.config
#
-# Allows test cases to create/destroy tenants and users. This
-# option enables isolated test cases and better parallel
-# execution, but also requires that OpenStack Identity API
-# admin credentials are known. (boolean value)
-#allow_
-
-# Time in seconds between build status checks. (integer value)
-#build_interval=1
-
# Catalog type of the Orchestration service. (string value)
#catalog_
@@ -854,15 +863,6 @@
# (string value)
#endpoint_
-# Allows test cases to create/destroy tenants and users. This
-# option enables isolated test cases and better parallel
-# execution, but also requires that OpenStack Identity API
-# admin credentials are known. (boolean value)
-#allow_
-
-# Time in seconds between build status checks. (integer value)
-#build_interval=1
-
# Timeout in seconds to wait for a stack to build. (integer
# value)
#build_
check_uptodate.sh: tempest.conf.sample is not up to date.
check_uptodate.sh: Please run /opt/stack/
ERROR: InvocationError: '/opt/stack/
vs consistent success /w PYTHONHASHSEED=0:
$ tox -e pep8
pep8 develop-inst-noop: /opt/stack/tempest
pep8 runtests: PYTHONHASHSEED='0'
pep8 runtests: commands[0] | flake8
pep8 runtests: commands[1] | /opt/stack/
_______
congratulations :)
affects: | oslo-incubator → oslo.config |
no longer affects: | oslo.config |
The fix here is to migrate to using the new config generator in oslo.config instead of the one in oslo-incubator. There is a patch to do that here:
https:/ /review. openstack. org/#/c/ 112111/
but it's blocked waiting on other oslo.config and incubator migrations.