-
Type: Bug
-
Resolution: Gone away
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Testing Infrastructure
-
Server Tooling & Methods
-
ALL
-
5
The evergreen script to run the powercycle test is as follows:
"run powercycle test" : - command: shell.exec params: working_dir: src shell: bash script: | set -o verbose set -o errexit ... set +o errexit $python -u pytests/powertest.py --configFile=$config_file test_status=$? aws_ec2=$($python buildscripts/aws_ec2.py --imageId ${instance_id} --mode status) echo "Test completed, AMI EC2 instance ${instance_id} status: $aws_ec2" exit $test_status
The shell.exec script exits after $python -u pytests/powertest.py --configFile=$config_file, irregardless of the exit code from python. This does not appear to be an Evergreen issue, but seem be be due to the powertest.py itself. Perhaps it is killing the parent PID by mistake?