diff --git a/macro/beamtime/mcbm2024/CMakeLists.txt b/macro/beamtime/mcbm2024/CMakeLists.txt index 66fd9a507dc6db7d935bab9719a6c98741c25d77..c05bf5322dca8f1545b880e23c8ac9cf334f39a2 100644 --- a/macro/beamtime/mcbm2024/CMakeLists.txt +++ b/macro/beamtime/mcbm2024/CMakeLists.txt @@ -55,17 +55,23 @@ If(DEFINED ENV{RAW_DATA_PATH} ) # =====> Set the timeouts and data range depending on test model (profiling = slow) 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." ) - SET( RECO_TS_NB 1) - SET( RAW_DATA_PROCESS_TO 700) # MR mode on run4: ??? + SET( RECO_TS_NB 11) + 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 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." ) 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 else() - SET( RECO_TS_NB 3) - SET( RAW_DATA_PROCESS_TO 1500) # MR mode on run4: ??? + SET( RECO_TS_NB 13) + 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 endif() @@ -76,17 +82,49 @@ If(DEFINED ENV{RAW_DATA_PATH} ) Message( STATUS "Raw data file found, tests will be performed for mCBM run ${RUN}" ) ### 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 --tsa ${RAW_DATA_PATH}/${RUN}_first20Ts.tsa --nts ${RECO_TS_NB} - --setup --unpack --reco --qa --qa-module + --setup --unpack ) Set_Tests_Properties(${testname} PROPERTIES - TIMEOUT ${RAW_DATA_PROCESS_TO} + TIMEOUT ${RAW_DATA_UNPACK_TO} FAIL_REGULAR_EXPRESSION "segmentation violation" PASS_REGULAR_EXPRESSION "Reconstruction of ${RAW_DATA_PATH}/${RUN}_first20Ts.tsa succeeded\n" 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))