X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=bootstrap-hw-tb2.sh;h=5da9630e9cf595c226c4bb468b4af57054234569;hp=bb5afcaac343c6e78098269a0a7b4b370c5d7f44;hb=0cc103deccef35abe1b181d262bf44bd2d5e0d35;hpb=cdf3213528f5f560d8d8b92c642f655cef706745 diff --git a/bootstrap-hw-tb2.sh b/bootstrap-hw-tb2.sh index bb5afcaac3..5da9630e9c 100755 --- a/bootstrap-hw-tb2.sh +++ b/bootstrap-hw-tb2.sh @@ -1,16 +1,30 @@ #!/bin/bash +# Copyright (c) 2016 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: +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. set -x -sudo apt-get -y update -sudo apt-get -y install libpython2.7-dev python-virtualenv +#TODO: remove this file after changing csit-vpp-verify job configuration +if [ ! -e bootstrap-verify-perf.sh ] +then + echo 'ERROR: No bootstrap-verify-perf.sh found' + exit 1 +fi -virtualenv env -. env/bin/activate +# make sure that bootstrap-verify-perf.sh is executable +chmod +x bootstrap-verify-perf.sh +# run the script +./bootstrap-verify-perf.sh *.deb -echo pip install -pip install -r requirements.txt +# vim: ts=4 ts=4 sts=4 et : -PYTHONPATH=`pwd` pybot -L TRACE \ - -v TOPOLOGY_PATH:topologies/available/lf_testbed2-710-520.yaml \ - -s performance tests/