Skip to content

Commit c93d263

Browse files
authored
Bump CSI test timeouts (#2966)
* Bump CSI test timeouts We have worked around Nova bug #2119114 by lowering the device detach threshold to 1 second. Unfortunately this still leaves us with a N seconds of additional runtime, where N is the number of device detaches incurred by our test suite (since we run tests serially). This has put us right on the cusp of timeouts, meaning our jobs occasionally pass and occasionally fail, depending on the node we end up on. Add a bit more breathing room for the jobs while we wait for the Nova fix. Note that we do this for both Cinder and Manila to try keep those jobs consistent where possible. [1] https://bugs.launchpad.net/nova/+bug/2119114 Signed-off-by: Stephen Finucane <[email protected]> * tests: Temporarily remove share v1 endpoint Signed-off-by: Stephen Finucane <[email protected]> --------- Signed-off-by: Stephen Finucane <[email protected]>
1 parent 457dcde commit c93d263

File tree

3 files changed

+20
-4
lines changed

3 files changed

+20
-4
lines changed

tests/playbooks/roles/install-csi-cinder/tasks/main.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,12 +190,12 @@
190190
--ginkgo.v \
191191
--ginkgo.noColor \
192192
--ginkgo.progress \
193-
--ginkgo.timeout=1h30m \
193+
--ginkgo.timeout=1h45m \
194194
-test.timeout=0 \
195195
-report-dir="/var/log/csi-pod" | tee "/var/log/csi-pod/cinder-csi-e2e.log"
196196
register: functional_test_result
197197
ignore_errors: true
198-
async: 5700 # wait 1h35m (i.e. 5 mins longer than the ginkgo timeout) then fail and fetch the logs
198+
async: 6600 # wait 1h50m (i.e. 5 mins longer than the ginkgo timeout) then fail and fetch the logs
199199
poll: 15
200200

201201
- name: Collect pod logs for debug purpose

tests/playbooks/roles/install-csi-manila/tasks/main.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,12 +237,12 @@
237237
--ginkgo.v \
238238
--ginkgo.noColor \
239239
--ginkgo.progress \
240-
--ginkgo.timeout=1h30m \
240+
--ginkgo.timeout=1h45m \
241241
-timeout=0 \
242242
-report-dir /var/log/csi-pod | tee "/var/log/csi-pod/manila-csi-e2e.log"
243243
register: functional_test_result
244244
ignore_errors: true
245-
async: 5700 # wait 1h35m (i.e. 5 mins longer than the ginkgo timeout) then fail and fetch the logs
245+
async: 6600 # wait 1h50m (i.e. 5 mins longer than the ginkgo timeout) then fail and fetch the logs
246246
poll: 15
247247

248248
- name: Collect pod logs for debug purpose

tests/playbooks/roles/install-devstack/tasks/main.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,3 +115,19 @@
115115
cmd: |
116116
set -ex
117117
sudo -u {{ user }} -H ./stack.sh
118+
119+
# FIXME(stephenfin): We should remove this as soon as [1] merges and we
120+
# bump our dependencies to include it.
121+
# [1] https://github.com/gophercloud/gophercloud/pull/3435
122+
- name: Delete legacy manila endpoint
123+
shell:
124+
executable: /bin/bash
125+
chdir: "{{ workdir }}"
126+
cmd: |
127+
set -ex
128+
export OS_CLOUD=devstack-admin
129+
130+
# delete legacy manila API endpoints
131+
if openstack service show manila > /dev/null 2>&1; then
132+
openstack service delete manila
133+
fi

0 commit comments

Comments
 (0)