Skip to content
Snippets Groups Projects
Commit 22becf29 authored by Pierre-Alain Loizeau's avatar Pierre-Alain Loizeau
Browse files

[CI]: split new mCBM 2024 test in 3 to reduce logs in case of failure

parent 6a431d00
No related branches found
No related tags found
1 merge request!1874CI for mCBM 2024 Ni with temporary example run
...@@ -55,17 +55,23 @@ If(DEFINED ENV{RAW_DATA_PATH} ) ...@@ -55,17 +55,23 @@ If(DEFINED ENV{RAW_DATA_PATH} )
# =====> Set the timeouts and data range depending on test model (profiling = slow) # =====> Set the timeouts and data range depending on test model (profiling = slow)
if(${CBM_TEST_MODEL} MATCHES MergeRequest OR ${CBM_TEST_MODEL} MATCHES Continuous ) if(${CBM_TEST_MODEL} MATCHES MergeRequest OR ${CBM_TEST_MODEL} MATCHES Continuous )
Message( STATUS "MR or Continuous model detected, decreasing event nb for mCBM 2024 reco tests to single one." ) Message( STATUS "MR or Continuous model detected, decreasing event nb for mCBM 2024 reco tests to single one." )
SET( RECO_TS_NB 1) SET( RECO_TS_NB 11)
SET( RAW_DATA_PROCESS_TO 700) # MR mode on run4: ??? SET( RAW_DATA_UNPACK_TO 100) # MR mode on run4: 80s
SET( DIGI_RECO_TO 70) # MR mode on run4: 60s
SET( RECO_QA_TO 90) # MR mode on run4: 70
List(APPEND mcbm_2024_runs 3105) # Run CI only on 3105 for now List(APPEND mcbm_2024_runs 3105) # Run CI only on 3105 for now
elseif(${CBM_TEST_MODEL} MATCHES Weekly OR ${CBM_TEST_MODEL} MATCHES Profile ) elseif(${CBM_TEST_MODEL} MATCHES Weekly OR ${CBM_TEST_MODEL} MATCHES Profile )
Message( STATUS "Profiling model detected, increasing timeout and event nb for mCBM 2024 tests with coverage." ) Message( STATUS "Profiling model detected, increasing timeout and event nb for mCBM 2024 tests with coverage." )
SET( RECO_TS_NB 20) SET( RECO_TS_NB 20)
SET( RAW_DATA_PROCESS_TO 3600) # MR mode on run4: ??? SET( RAW_DATA_UNPACK_TO 1200) # Weekly mode on virgo: ?? s
SET( DIGI_RECO_TO 1200) # Weekly mode on virgo: ?? s
SET( RECO_QA_TO 1200) # Weekly mode on virgo: ?? s
List(APPEND mcbm_2024_runs 3105) # Run CI only on 3105 for now List(APPEND mcbm_2024_runs 3105) # Run CI only on 3105 for now
else() else()
SET( RECO_TS_NB 3) SET( RECO_TS_NB 13)
SET( RAW_DATA_PROCESS_TO 1500) # MR mode on run4: ??? SET( RAW_DATA_UNPACK_TO 200) # MR mode on run4: 80s, spiil start at TS 10
SET( DIGI_RECO_TO 140) # MR mode on run4: 60s, spiil start at TS 10
SET( RECO_QA_TO 180) # MR mode on run4: 70, spiil start at TS 10
List(APPEND mcbm_2024_runs 3105) # Run CI only on 3105 for now List(APPEND mcbm_2024_runs 3105) # Run CI only on 3105 for now
endif() endif()
...@@ -76,17 +82,49 @@ If(DEFINED ENV{RAW_DATA_PATH} ) ...@@ -76,17 +82,49 @@ If(DEFINED ENV{RAW_DATA_PATH} )
Message( STATUS "Raw data file found, tests will be performed for mCBM run ${RUN}" ) Message( STATUS "Raw data file found, tests will be performed for mCBM run ${RUN}" )
### Complete reco chain script by S. Zharko ### Complete reco chain script by S. Zharko
Set(testname mcbm_2024_${RUN}) Set(testname mcbm_2024_unp_${RUN})
Set(fixture_unp_${RUN} fixture_done_${testname})
Add_Test(${testname} ${CBMROOT_BINARY_DIR}/macro/beamtime/mcbm2024/reco_mcbm.sh Add_Test(${testname} ${CBMROOT_BINARY_DIR}/macro/beamtime/mcbm2024/reco_mcbm.sh
--tsa ${RAW_DATA_PATH}/${RUN}_first20Ts.tsa --tsa ${RAW_DATA_PATH}/${RUN}_first20Ts.tsa
--nts ${RECO_TS_NB} --nts ${RECO_TS_NB}
--setup --unpack --reco --qa --qa-module --setup --unpack
) )
Set_Tests_Properties(${testname} PROPERTIES Set_Tests_Properties(${testname} PROPERTIES
TIMEOUT ${RAW_DATA_PROCESS_TO} TIMEOUT ${RAW_DATA_UNPACK_TO}
FAIL_REGULAR_EXPRESSION "segmentation violation" FAIL_REGULAR_EXPRESSION "segmentation violation"
PASS_REGULAR_EXPRESSION "Reconstruction of ${RAW_DATA_PATH}/${RUN}_first20Ts.tsa succeeded\n" PASS_REGULAR_EXPRESSION "Reconstruction of ${RAW_DATA_PATH}/${RUN}_first20Ts.tsa succeeded\n"
FIXTURES_REQUIRED mcbm_2024_cleanup FIXTURES_REQUIRED mcbm_2024_cleanup
FIXTURES_SETUP ${fixture_unp_${RUN}}
)
Set(testname mcbm_2024_rec_${RUN})
Set(fixture_rec_${RUN} fixture_done_${testname})
Add_Test(${testname} ${CBMROOT_BINARY_DIR}/macro/beamtime/mcbm2024/reco_mcbm.sh
--tsa ${RAW_DATA_PATH}/${RUN}_first20Ts.tsa
--nts ${RECO_TS_NB}
--reco
)
Set_Tests_Properties(${testname} PROPERTIES
TIMEOUT ${DIGI_RECO_TO}
FAIL_REGULAR_EXPRESSION "segmentation violation"
PASS_REGULAR_EXPRESSION "Reconstruction of ${RAW_DATA_PATH}/${RUN}_first20Ts.tsa succeeded\n"
FIXTURES_REQUIRED ${fixture_unp_${RUN}}
FIXTURES_SETUP ${fixture_rec_${RUN}}
)
Set(testname mcbm_2024_qa_${RUN})
Set(fixture_qa_${RUN} fixture_done_${testname})
Add_Test(${testname} ${CBMROOT_BINARY_DIR}/macro/beamtime/mcbm2024/reco_mcbm.sh
--tsa ${RAW_DATA_PATH}/${RUN}_first20Ts.tsa
--nts ${RECO_TS_NB}
--qa --qa-module
)
Set_Tests_Properties(${testname} PROPERTIES
TIMEOUT ${RECO_QA_TO}
FAIL_REGULAR_EXPRESSION "segmentation violation"
PASS_REGULAR_EXPRESSION "Reconstruction of ${RAW_DATA_PATH}/${RUN}_first20Ts.tsa succeeded\n"
FIXTURES_REQUIRED ${fixture_rec_${RUN}}
FIXTURES_SETUP ${fixture_qa_${RUN}}
) )
EndIf() # If(EXISTS ${RAW_DATA_PATH}/${RUN}_first20Ts.tsa)) EndIf() # If(EXISTS ${RAW_DATA_PATH}/${RUN}_first20Ts.tsa))
......
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