summaryrefslogtreecommitdiff
path: root/playbooks
diff options
context:
space:
mode:
authorJames E. Blair <jim@acmegating.com>2021-10-21 14:25:30 -0700
committerJames E. Blair <jim@acmegating.com>2021-10-25 08:53:37 -0700
commitdf338db03b1b24015cac7d5e42c8471742e24b72 (patch)
tree3dd836bb68af2df8bbf26a0443df4ad0f3571aea /playbooks
parentb3b0c213a7a9523a7bb04f9abb678b5ed242ab0f (diff)
downloadzuul-df338db03b1b24015cac7d5e42c8471742e24b72.tar.gz
Uncap concurrency in tests
This is 2 changes: * Run dstat in unit test jobs so that we can get an idea of system performance/utilization. * Remove the stestr concurrency cap. With 8 cores, we have enough headroom to run the test dependencies (sql/zk) while the tests are running too. Use all the CPU that's available. Change-Id: I9f250865f7043fdbb1fa8a01f1bc9508490accc1
Diffstat (limited to 'playbooks')
-rw-r--r--playbooks/zuul-tox/post-system-logs.yaml3
-rw-r--r--playbooks/zuul-tox/pre.yaml2
2 files changed, 4 insertions, 1 deletions
diff --git a/playbooks/zuul-tox/post-system-logs.yaml b/playbooks/zuul-tox/post-system-logs.yaml
index 7a9da4821..437411914 100644
--- a/playbooks/zuul-tox/post-system-logs.yaml
+++ b/playbooks/zuul-tox/post-system-logs.yaml
@@ -1,5 +1,6 @@
- hosts: all
+ roles:
+ - dstat-graph
tasks:
-
- name: Collect zookeeper logs
shell: "cp /opt/zookeeper/logs/* {{ zuul_output_dir }}/logs/"
diff --git a/playbooks/zuul-tox/pre.yaml b/playbooks/zuul-tox/pre.yaml
index 45d213e97..c8c1c6500 100644
--- a/playbooks/zuul-tox/pre.yaml
+++ b/playbooks/zuul-tox/pre.yaml
@@ -1,4 +1,6 @@
- hosts: all
roles:
+ - ensure-dstat-graph
+ - run-dstat
- role: ensure-zookeeper
zookeeper_use_tls: true