summaryrefslogtreecommitdiff
path: root/.stestr.conf
diff options
context:
space:
mode:
authorSamuel Matzek <smatzek@us.ibm.com>2017-09-25 07:49:32 -0500
committerSamuel Matzek <smatzek@us.ibm.com>2017-10-13 09:37:48 -0500
commit9ec134996a1162de0d74ef915dc138bbacbcfdf1 (patch)
tree740e9ff4f0d60de75589995a79d764a521637af1 /.stestr.conf
parent0fb67d459baa0fb22391b1b1da3dba5349666bb7 (diff)
downloadtrove-9ec134996a1162de0d74ef915dc138bbacbcfdf1.tar.gz
Fix gate issues
Issue 1: The os-testr 1.0.0 release had a couple of required config changes due to it's internal usage of stestr. This change to stestr changed the way tests were discovered by os-testr and as a result the unit test run was picking up tempest tests. A regex is added to the py3base environment call of ostestr because the use of --serial and --blacklist-file together is broken in stestr and adding the regex parameter allows the blacklist-file to be processed. The stestr issue is documented here [1]. Issue 2: Cache dirs for PKI tokens have been removed for all services in devstack under I5680376e70e74882e9fdb87ee1b95d5f40570ad7. We must also remove the use here to pass the right parameters to configure_auth_token_middleware. Issue 3: Keystone V2 APIs have been removed. When creating Nova and Glance clients, the test code was either hard coding v2 Keystone or not providing enough information for the V3 auth. Issue 4: Oslo context has deprecated parameters such as 'tenant', has removed them from its constructor and is using a rename decorator to handle them. As such, the code and test case to check for unrecognized parameters to TroveContext and Context is erroneously removing the tenant parameter. Oslo context has also changed the from_dict method since the original code to remove parameters was introduced into Trove. The new method signature and code should already provide most or all of the protections against incompatibility the original code was attempting to provide. The fix for this issue is to change TroveContext's from_dict method to use the kwargs to handle its own __init__ parameters and be more in line with what Nova is doing in its RequestContext subclass. Issue 5: Jobs run as jenkins on Zuul v2 but run as user zuul on Zuul v3. Issue 6: Ignore one case of pylint E1101 in the Ceilometer notification code base. [1] https://github.com/mtreinish/stestr/issues/103 Change-Id: Ic55187b0d73d4c572d7f8332882b4f455a6177c8
Diffstat (limited to '.stestr.conf')
-rw-r--r--.stestr.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/.stestr.conf b/.stestr.conf
new file mode 100644
index 00000000..f80c78cc
--- /dev/null
+++ b/.stestr.conf
@@ -0,0 +1,3 @@
+[DEFAULT]
+test_path=${OS_TEST_PATH:-./trove/tests}
+top_dir=./ \ No newline at end of file