Fix timeout processing in CICD jobs
- default timeout increased from 1800 to 2400 sec because 'core'
component deployment takes more than 30 min now
- print the timeout message in run_jenkins_job.py to stdout along
with stderr
- do not fail get_jenkins_job_stages.py if info['result'] contains
'None' in cases when the job is failed by timeout. Wait for few
seconds, then report the workflow stages 'as is':
Create infrastructure: SUCCESS
Install core infrastructure: SUCCESS
Install infra: IN_PROGRESS
Change-Id: I2ca592a8f5069bb38ec7659f15eb72e4bfba1722
Closes-Bug:#PROD-23815
diff --git a/src/com/mirantis/system_qa/SharedPipeline.groovy b/src/com/mirantis/system_qa/SharedPipeline.groovy
index 108ee0c..a2f5a4e 100644
--- a/src/com/mirantis/system_qa/SharedPipeline.groovy
+++ b/src/com/mirantis/system_qa/SharedPipeline.groovy
@@ -310,7 +310,7 @@
build_pipeline_job('create-cfg-config-drive', parameters)
}
-def run_job_on_day01_node(stack_to_install, timeout=1800) {
+def run_job_on_day01_node(stack_to_install, timeout=2400) {
// stack_to_install="core,cicd"
def stack = "${stack_to_install}"
try {
@@ -340,7 +340,7 @@
}
}
-def run_job_on_cicd_nodes(stack_to_install, timeout=1800) {
+def run_job_on_cicd_nodes(stack_to_install, timeout=2400) {
// stack_to_install="k8s,calico,stacklight"
def stack = "${stack_to_install}"
try {