Skip to content
Snippets Groups Projects
Commit 7bd7d973 authored by Pierre-Alain Loizeau's avatar Pierre-Alain Loizeau Committed by Florian Uhlig
Browse files

[CDASH] set hard limit for weekly tests timeouts on Virgo

parent 64530c0a
No related branches found
No related tags found
1 merge request!1681[CDASH] set hard limit for weekly tests timeouts on Virgo
Pipeline #27531 failed
......@@ -11,6 +11,12 @@ if (Python_FOUND)
endif()
math(EXPR timeOutTime "300 + (${production_macro_events} * 150)")
cmake_host_system_information(RESULT local_host_name QUERY HOSTNAME)
if(${CBM_TEST_MODEL} MATCHES Weekly AND ${local_host_name} MATCHES "^(lxbk)" AND 5400 LESS ${timeOutTime})
Message( STATUS "PWG common: Limit max timeout for weekly tests on lxbk (Virgo/Vae) nodes to 5400s" )
Set(timeOutTime 5400)
endIf()
GENERATE_TEST_SCRIPT(${CBMROOT_SOURCE_DIR}/macro/PWG/common/production/run_json.sh)
# copy the configuration to the build directory and replace variables
......
......@@ -32,6 +32,12 @@ endIf()
math(EXPR timeOutTime "10000")
math(EXPR nBeam "${nEvents} * 3")
cmake_host_system_information(RESULT local_host_name QUERY HOSTNAME)
if(${CBM_TEST_MODEL} MATCHES Weekly AND ${local_host_name} MATCHES "^(lxbk)" AND 5400 LESS ${timeOutTime})
Message( STATUS "QA: Limit max timeout for weekly tests on lxbk (Virgo/Vae) nodes to 5400s" )
Set(timeOutTime 5400)
endIf()
# ============================================================================
......
......@@ -28,6 +28,12 @@ endIf()
math(EXPR timeOutTime "${nEvents} * 200")
math(EXPR nBeam "${nEvents} * 3")
cmake_host_system_information(RESULT local_host_name QUERY HOSTNAME)
if(${CBM_TEST_MODEL} MATCHES Weekly AND ${local_host_name} MATCHES "^(lxbk)" AND 5400 LESS ${timeOutTime})
Message( STATUS "Reca: Limit max timeout for weekly tests on lxbk (Virgo/Vae) nodes to 5400s" )
Set(timeOutTime 5400)
endIf()
set(datadir ${CBMROOT_BINARY_DIR}/macro/reco/data)
# ============================================================================
......
......@@ -39,6 +39,12 @@ endIf()
math(EXPR timeOutTime "${nEvents} * 200")
math(EXPR nBeam "${nEvents} * 3")
cmake_host_system_information(RESULT local_host_name QUERY HOSTNAME)
if(${CBM_TEST_MODEL} MATCHES Weekly AND ${local_host_name} MATCHES "^(lxbk)" AND 5400 LESS ${timeOutTime})
Message( STATUS "Run: Limit max timeout for weekly tests on lxbk (Virgo/Vae) nodes to 5400s" )
Set(timeOutTime 5400)
endIf()
# ============================================================================
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment