diff --git a/py-scripts/regression_test.sh b/py-scripts/regression_test.sh index 6deb7a5c..65efcfda 100755 --- a/py-scripts/regression_test.sh +++ b/py-scripts/regression_test.sh @@ -84,6 +84,7 @@ BuildDate=$(wget $MGR:8080 -q -O - | jq '.VersionInfo.BuildDate') OS_Version=$(cat /etc/os-release | grep 'VERSION=') HOSTNAME=$(cat /etc/hostname) IP_ADDRESS=$(ip a sho eth0 | grep 'inet ' | cut -d "/" -f1 | cut -d "t" -f2) +PYTHON_ENVIRONMENT=$(which python3) #SCENARIO_CHECK="$(python3 -c "import requests; print(requests.get('http://${MGR}:8080/events/').status_code)")" #if [[ ${SCENARIO_CHECK} -eq 200 ]]; then @@ -670,6 +671,7 @@ td.testname { OS Version Hostname IP Address + Python Environment @@ -680,6 +682,7 @@ td.testname { ${OS_Version} ${HOSTNAME} ${IP_ADDRESS} + ${PYTHON_ENVIRONMENT} " >> "$fname"