Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cbmroot
Manage
Activity
Members
Labels
Plan
Wiki
Redmine
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Computing
cbmroot
Commits
22becf29
Commit
22becf29
authored
9 months ago
by
Pierre-Alain Loizeau
Browse files
Options
Downloads
Patches
Plain Diff
[CI]: split new mCBM 2024 test in 3 to reduce logs in case of failure
parent
6a431d00
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!1874
CI for mCBM 2024 Ni with temporary example run
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
macro/beamtime/mcbm2024/CMakeLists.txt
+46
-8
46 additions, 8 deletions
macro/beamtime/mcbm2024/CMakeLists.txt
with
46 additions
and
8 deletions
macro/beamtime/mcbm2024/CMakeLists.txt
+
46
−
8
View file @
22becf29
...
@@ -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))
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment