X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=bootstrap-verify-perf.sh;h=91d3e7c8c573280109e1eaa02ffbb2a075a81b20;hp=e0a2e039bcc59d2a31eac356d1081d90ef8b7e2f;hb=bc2036f4ce9b8aa705161ee1c8566b134fc6570c;hpb=3cb0589f9a4af1347a9b990b0979e378dc279f93 diff --git a/bootstrap-verify-perf.sh b/bootstrap-verify-perf.sh index e0a2e039bc..91d3e7c8c5 100755 --- a/bootstrap-verify-perf.sh +++ b/bootstrap-verify-perf.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright (c) 2016 Cisco and/or its affiliates. +# Copyright (c) 2017 Cisco and/or its affiliates. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: @@ -25,7 +25,7 @@ SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" RESERVATION_DIR="/tmp/reservation_dir" INSTALLATION_DIR="/tmp/install_dir" -PYBOT_ARGS="-W 150" +PYBOT_ARGS="-W 150 -L TRACE" ARCHIVE_ARTIFACTS=(log.html output.xml report.html output_perf_data.xml) @@ -136,9 +136,56 @@ fi case "$TEST_TAG" in # run specific performance tests based on jenkins job type variable + PERFTEST_DAILY ) + pybot ${PYBOT_ARGS} \ + -v TOPOLOGY_PATH:${WORKING_TOPOLOGY} \ + -s "tests.perf" \ + --include ndrdiscANDnic_intel-x520-da2AND1t1cORndrdiscANDnic_intel-x520-da2AND2t2c \ + tests/ + RETURN_STATUS=$(echo $?) + ;; + PERFTEST_SEMI_WEEKLY ) + pybot ${PYBOT_ARGS} \ + -v TOPOLOGY_PATH:${WORKING_TOPOLOGY} \ + -s "tests.perf" \ + --include ndrdiscANDnic_intel-x710AND1t1cORndrdiscANDnic_intel-x710AND2t2cORndrdiscANDnic_intel-xl710AND1t1cORndrdiscANDnic_intel-xl710AND2t2c \ + tests/ + RETURN_STATUS=$(echo $?) + ;; + VERIFY-PERF-NDRDISC ) + pybot ${PYBOT_ARGS} \ + -v TOPOLOGY_PATH:${WORKING_TOPOLOGY} \ + -s "tests.perf" \ + --include ndrdiscAND1t1cORndrdiscAND2t2c \ + tests/ + RETURN_STATUS=$(echo $?) + ;; + VERIFY-PERF-PDRDISC ) + pybot ${PYBOT_ARGS} \ + -v TOPOLOGY_PATH:${WORKING_TOPOLOGY} \ + -s "tests.perf" \ + --include pdrdiscAND1t1cORpdrdiscAND2t2c \ + tests/ + RETURN_STATUS=$(echo $?) + ;; + VERIFY-PERF-NDRCHK ) + pybot ${PYBOT_ARGS} \ + -v TOPOLOGY_PATH:${WORKING_TOPOLOGY} \ + -s "tests.perf" \ + --include ndrchkAND1t1cORndrchkAND2t2c \ + tests/ + RETURN_STATUS=$(echo $?) + ;; + PERFTEST_NDRCHK_DAILY ) + pybot ${PYBOT_ARGS} \ + -v TOPOLOGY_PATH:${WORKING_TOPOLOGY} \ + -s "tests.perf" \ + --include ndrchkAND1t1cORndrchkAND2t2c \ + tests/ + RETURN_STATUS=$(echo $?) + ;; PERFTEST_LONG ) pybot ${PYBOT_ARGS} \ - -L TRACE \ -v TOPOLOGY_PATH:${WORKING_TOPOLOGY} \ -s "tests.perf" \ --exclude SKIP_PATCH \ @@ -148,17 +195,15 @@ case "$TEST_TAG" in ;; PERFTEST_SHORT ) pybot ${PYBOT_ARGS} \ - -L TRACE \ -v TOPOLOGY_PATH:${WORKING_TOPOLOGY} \ -s "tests.perf" \ -i NDRCHK \ tests/ RETURN_STATUS=$(echo $?) ;; - PERFTEST_NIGHTLY ) + PERFTEST_NIGHTLY ) #run all available tests pybot ${PYBOT_ARGS} \ - -L TRACE \ -v TOPOLOGY_PATH:${WORKING_TOPOLOGY} \ -s "tests.perf" \ tests/ @@ -167,7 +212,6 @@ case "$TEST_TAG" in * ) # run full performance test suite and exit on fail pybot ${PYBOT_ARGS} \ - -L TRACE \ -v TOPOLOGY_PATH:${WORKING_TOPOLOGY} \ -s "tests.perf" \ tests/