| Step | Arguments | Status | ||
|---|---|---|---|---|
| Start of Pipeline - (11 min in block) | ||||
| node - (11 min in block) | ||||
| node block - (11 min in block) | ||||
| stage - (7.1 sec in block) | Declarative: Checkout SCM | |||
| stage block (Declarative: Checkout SCM) - (6.9 sec in block) | ||||
| checkout - (6.8 sec in self) | ||||
| withEnv - (11 min in block) | GIT_BRANCH, GIT_COMMIT, GIT_PREVIOUS_COMMIT, GIT_PREVIOUS_SUCCESSFUL_COMMIT, GIT_URL | |||
| withEnv block - (11 min in block) | ||||
| withEnv - (11 min in block) | arm97_case, atex_case, case_suffix | |||
| withEnv block - (11 min in block) | ||||
| stage - (39 sec in block) | Checkout Externals and Copy Custom Files | |||
| stage block (Checkout Externals and Copy Custom Files) - (38 sec in block) | ||||
| sh - (38 sec in self) | python run_scripts/set_up_repo.py . | |||
| stage - (0.58 sec in block) | Sed Commands | |||
| stage block (Sed Commands) - (0.41 sec in block) | ||||
| sh - (0.31 sec in self) | sed -i 's/DEBUG="TRUE"/DEBUG="FALSE"/g' run_scripts/run_scam.bash | |||
| stage - (0.77 sec in block) | Remove Old Output | |||
| stage block (Remove Old Output) - (0.61 sec in block) | ||||
| sh - (0.33 sec in self) | rm -rf /home/jenkins/cam_output/scratch/${atex_case} /home/jenkins/cam_output/scratch/${arm97_case} | |||
| script - (0.16 sec in block) | ||||
| script block - (59 ms in block) | ||||
| stage - (10 min in block) | Run test script | |||
| stage block (Run test script) - (10 min in block) | ||||
| dir - (10 min in block) | jenkins_tests/cam_clubb_error_handling_test | |||
| dir block - (10 min in block) | ||||
| sh - (10 min in self) | source /etc/profile.d/larson-group.sh ./cam_test_fatal_error_handling.bash --case-suffix "${case_suffix}" | |||
| stage - (0.82 sec in block) | Check for wp2 NaN error from advance_wp2_wp3 | |||
| stage block (Check for wp2 NaN error from advance_wp2_wp3) - (0.64 sec in block) | ||||
| script - (0.51 sec in block) | ||||
| script block - (0.41 sec in block) | ||||
| sh - (0.33 sec in self) | #!/bin/bash +ex # Find the right error message in the output log and write the grep result to a file grep "Error calling advance_wp2_wp3" run_scripts/advance_wp2_wp3_bad_wp2 > output # Check if 'output' file is empty (-s is TRUE is the file is not empty) if [ -s output ]; then echo "Error message 'Error calling advance_wp2_wp3' found in log" echo "CAM CLUBB error handling test for advance_wp2_wp3 was SUCCESSFUL" rm output # Trigger SUCCESS state for Jenkins (this is for clarity, since exit code 0 is default) exit 0 else echo "Error message 'Error calling advance_wp2_wp3' NOT found in log" echo "CAM CLUBB error handling test for advance_wp2_wp3 FAILED" rm output # Trigger FAIL state for Jenkins exit 1 fi | |||
| stage - (0.81 sec in block) | Check for wp2 NaN error from advance_wm_wpxp | |||
| stage block (Check for wp2 NaN error from advance_wm_wpxp) - (0.63 sec in block) | ||||
| script - (0.5 sec in block) | ||||
| script block - (0.4 sec in block) | ||||
| sh - (0.32 sec in self) | #!/bin/bash +ex # Find the right error message in the output log and write the grep result to a file grep "Error calling advance_xm_wpxp" run_scripts/advance_xm_wpxp_bad_wp2 > output # Check if 'output' file is empty (-s is TRUE is the file is not empty) if [ -s output ]; then echo "Error message 'Error calling advance_xm_wpxp' found in log" echo "CAM CLUBB error handling test for advance_xm_wpxp was SUCCESSFUL" rm output # Trigger SUCCESS state for Jenkins (this is for clarity, since exit code 0 is default) exit 0 else echo "Error message 'Error calling advance_xm_wpxp' NOT found in log" echo "CAM CLUBB error handling test for advance_xm_wpxp FAILED" rm output # Trigger FAIL state for Jenkins exit 1 fi | |||
| stage - (0.54 sec in block) | Declarative: Post Actions | |||
| stage block (Declarative: Post Actions) - (0.45 sec in block) | ||||
| script - (0.29 sec in block) | ||||
| script block - (0.18 sec in block) | ||||
| cleanWs - (0.1 sec in self) |
