From 3e8ec6a480daa308b9446577dffccf31d7189b09 Mon Sep 17 00:00:00 2001 From: rexlee8776 Date: Mon, 2 Dec 2019 11:31:36 +0000 Subject: remove python 2.7 test in Yardstick CI gating migrate to python 3 JIRA: YARDSTICK-1625 Change-Id: I027c3a4ed0a2c1e899907a8be17fc4be107b009b Signed-off-by: rexlee8776 --- jjb/yardstick/yardstick-project-jobs.yaml | 44 ------------------------------- 1 file changed, 44 deletions(-) (limited to 'jjb/yardstick/yardstick-project-jobs.yaml') diff --git a/jjb/yardstick/yardstick-project-jobs.yaml b/jjb/yardstick/yardstick-project-jobs.yaml index 726760ef5..74734b895 100644 --- a/jjb/yardstick/yardstick-project-jobs.yaml +++ b/jjb/yardstick/yardstick-project-jobs.yaml @@ -67,9 +67,7 @@ fail: true builders: - - yardstick-unit-tests-python-27 - yardstick-unit-tests-python-3 - - yardstick-functional-tests-python-27 - yardstick-functional-tests-python-3 - yardstick-coverage-tests - yardstick-pep8-tests @@ -114,9 +112,7 @@ fail: true builders: - - yardstick-unit-tests-python-27 - yardstick-unit-tests-python-3 - - yardstick-functional-tests-python-27 - yardstick-functional-tests-python-3 - yardstick-coverage-tests - yardstick-pep8-tests @@ -125,22 +121,6 @@ # job builders ################################ -- builder: - name: yardstick-unit-tests-python-27 - builders: - - shell: | - #!/bin/bash - set -o errexit - set -o pipefail - - sudo apt-get -y autoremove - sudo apt-get install -y build-essential python-dev python3-dev - sudo apt-get -y clean && sudo apt-get -y autoremove - - echo "Running unit tests in Python 2.7 ..." - cd $WORKSPACE - tox -epy27 - - builder: name: yardstick-unit-tests-python-3 builders: @@ -157,30 +137,6 @@ cd $WORKSPACE tox -epy3 -- builder: - name: yardstick-functional-tests-python-27 - builders: - - shell: | - #!/bin/bash - set -o errexit - set -o pipefail - - sudo apt-get -y autoremove - sudo apt-get install -y build-essential python-dev python3-dev rabbitmq-server - sudo apt-get -y clean && sudo apt-get -y autoremove - - echo "Configure RabbitMQ service" - sudo service rabbitmq-server restart - sudo rabbitmqctl start_app - if [ -z "$(sudo rabbitmqctl list_users | grep yardstick)" ]; then - sudo rabbitmqctl add_user yardstick yardstick - sudo rabbitmqctl set_permissions yardstick ".*" ".*" ".*" - fi - - echo "Running functional tests in Python 2.7 ..." - cd $WORKSPACE - tox -efunctional - - builder: name: yardstick-functional-tests-python-3 builders: -- cgit 1.2.3-korg