From: Vladimir Khlyunev Date: Tue, 6 Aug 2019 06:18:22 +0000 (+0400) Subject: Reduce job weights for swarm and tempest jobs X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=155cca7c954199de52a793cc3e386e442782131c;p=tools%2Fsustaining.git Reduce job weights for swarm and tempest jobs Change-Id: Ie87e87d1ee119588e00c6652ab49e0803c4697f8 --- diff --git a/maintenance-ci/common/data/mos-dev-slave-eu.yml b/maintenance-ci/common/data/mos-dev-slave-eu.yml index 2c13cdb..f5e006d 100644 --- a/maintenance-ci/common/data/mos-dev-slave-eu.yml +++ b/maintenance-ci/common/data/mos-dev-slave-eu.yml @@ -141,10 +141,8 @@ resources: echo "OPENSTACK_ENVIRONMENT" > /etc/jenkins-agent/location echo "$(hostname | sed 's/-node-.*//')" > /etc/jenkins-agent/slave-name - if [[ "FLAVOR" == *"mos.fuel.base"* ]] ; then - echo "8" > /etc/jenkins-agent/executor-count - elif [[ "FLAVOR" == *"mos.fuel.huge"* ]] ; then - echo "16" > /etc/jenkins-agent/executor-count + if [[ "FLAVOR" == *"mos.fuel"* ]] ; then + echo "4" > /etc/jenkins-agent/executor-count fi apt update diff --git a/maintenance-ci/common/data/mos-dev-slave-us.yml b/maintenance-ci/common/data/mos-dev-slave-us.yml index 6b1f6e9..ae34033 100644 --- a/maintenance-ci/common/data/mos-dev-slave-us.yml +++ b/maintenance-ci/common/data/mos-dev-slave-us.yml @@ -123,10 +123,8 @@ resources: echo "OPENSTACK_ENVIRONMENT" > /etc/jenkins-agent/location echo "$(hostname | sed 's/-node-.*//')" > /etc/jenkins-agent/slave-name - if [[ "FLAVOR" == *"mos.fuel.base"* ]] ; then - echo "8" > /etc/jenkins-agent/executor-count - elif [[ "FLAVOR" == *"mos.fuel.huge"* ]] ; then - echo "16" > /etc/jenkins-agent/executor-count + if [[ "FLAVOR" == *"mos.fuel"* ]] ; then + echo "4" > /etc/jenkins-agent/executor-count fi apt update diff --git a/maintenance-ci/common/data/mos-slave-eu.yml b/maintenance-ci/common/data/mos-slave-eu.yml index e2a3e4b..a17cc3a 100644 --- a/maintenance-ci/common/data/mos-slave-eu.yml +++ b/maintenance-ci/common/data/mos-slave-eu.yml @@ -141,10 +141,8 @@ resources: echo "OPENSTACK_ENVIRONMENT" > /etc/jenkins-agent/location echo "$(hostname | sed 's/-node-.*//')" > /etc/jenkins-agent/slave-name - if [[ "FLAVOR" == *"mos.fuel.base"* ]] ; then - echo "8" > /etc/jenkins-agent/executor-count - elif [[ "FLAVOR" == *"mos.fuel.huge"* ]] ; then - echo "16" > /etc/jenkins-agent/executor-count + if [[ "FLAVOR" == *"mos.fuel"* ]] ; then + echo "4" > /etc/jenkins-agent/executor-count fi apt update diff --git a/maintenance-ci/common/data/mos-slave-us.yml b/maintenance-ci/common/data/mos-slave-us.yml index dc75264..7533b2f 100644 --- a/maintenance-ci/common/data/mos-slave-us.yml +++ b/maintenance-ci/common/data/mos-slave-us.yml @@ -123,10 +123,8 @@ resources: echo "OPENSTACK_ENVIRONMENT" > /etc/jenkins-agent/location echo "$(hostname | sed 's/-node-.*//')" > /etc/jenkins-agent/slave-name - if [[ "FLAVOR" == *"mos.fuel.base"* ]] ; then - echo "8" > /etc/jenkins-agent/executor-count - elif [[ "FLAVOR" == *"mos.fuel.huge"* ]] ; then - echo "16" > /etc/jenkins-agent/executor-count + if [[ "FLAVOR" == *"mos.fuel"* ]] ; then + echo "4" > /etc/jenkins-agent/executor-count fi apt update diff --git a/maintenance-ci/mos/jobs/9.x.swarm.tests.yaml b/maintenance-ci/mos/jobs/9.x.swarm.tests.yaml index baf4777..fae0309 100644 --- a/maintenance-ci/mos/jobs/9.x.swarm.tests.yaml +++ b/maintenance-ci/mos/jobs/9.x.swarm.tests.yaml @@ -7,7 +7,7 @@ swarm-test/timeout: '1200' swarm-test/dns: '172.18.176.6' - swarm-test/job-weight: '11' + swarm-test/job-weight: '4' swarm-test/logrotate/artifactNumToKeep: 5 @@ -163,7 +163,6 @@ - mos/templates/swarm-test: # TODO: HUGE nodes, 8gb ram swarm-test/node: "mos.fuel.huge" - swarm-test/job-weight: '23' swarm-test/devops-hw-vars: | ADMIN_NODE_CPU=6 SLAVE_NODE_CPU=12 @@ -241,9 +240,7 @@ USE_HAPROXY_TEMPLATE=true ########################################## - mos/templates/swarm-test: - # TODO: HUGE nodes, 8gb ram swarm-test/node: "mos.fuel.huge.hdd_ext" - swarm-test/job-weight: '23' swarm-test/devops-hw-vars: | ADMIN_NODE_CPU=6 SLAVE_NODE_CPU=12 diff --git a/maintenance-ci/mos/templates/swarm-test.yaml b/maintenance-ci/mos/templates/swarm-test.yaml index 5c8dd52..23cca94 100644 --- a/maintenance-ci/mos/templates/swarm-test.yaml +++ b/maintenance-ci/mos/templates/swarm-test.yaml @@ -3,7 +3,7 @@ id: mos/templates/swarm-test swarm-test/node: 'mos.fuel.base' - swarm-test/job-weight: '7' + swarm-test/job-weight: '4' swarm-test/venvpath: '/home/jenkins/qa-venv-9.x' diff --git a/maintenance-ci/mos/templates/tempest.multijob.yaml b/maintenance-ci/mos/templates/tempest.multijob.yaml index 774191a..b17edd9 100644 --- a/maintenance-ci/mos/templates/tempest.multijob.yaml +++ b/maintenance-ci/mos/templates/tempest.multijob.yaml @@ -10,7 +10,7 @@ artifactNumToKeep: 20 properties: - heavy-job: - weight: 7 + weight: 3 parameters: - node: name: NODE_LABELS