Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[hlt-p2-int] Control the parallel running processes #2356

Merged
merged 3 commits into from
Oct 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions pr_testing/run-pr-hlt-p2-integration.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ UPLOAD_PATH="${CMSSW_VERSION}-${PR_REPO_NUM}/${ARCHITECTURE}/${BUILD_NUMBER}"
# Report test started
mark_commit_status_all_prs 'hlt-p2-integration' 'pending' -u "${BUILD_URL}" -d "Running"

ls -l /eos/cms/store
# Do work
HLT_P2_SCRIPT="src/HLTrigger/Configuration/scripts"
HLT_BASEDIR="${CMSSW_BASE}"
Expand All @@ -16,7 +15,7 @@ rm -rf $WORKSPACE/rundir/__pycache__

pushd $WORKSPACE/rundir
export LOCALRT=${WORKSPACE}/${CMSSW_VERSION}
timeout $TIMEOUT ${HLT_BASEDIR}/${HLT_P2_SCRIPT}/hltPhase2UpgradeIntegrationTests 2>&1 | tee -a ${WORKSPACE}/hlt-p2-integration.log
timeout $TIMEOUT ${HLT_BASEDIR}/${HLT_P2_SCRIPT}/hltPhase2UpgradeIntegrationTests --parallelJobs $(nproc) 2>&1 | tee -a ${WORKSPACE}/hlt-p2-integration.log
popd

# Upload results
Expand Down
2 changes: 1 addition & 1 deletion run-hlt-validation
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ ls
./runAll.csh IB | tee -a $WORKSPACE/results/runIB.log
./examLogs.csh | tee -a $WORKSPACE/results/examLogs.out
if which hltPhase2UpgradeIntegrationTests 2>/dev/null ; then
hltPhase2UpgradeIntegrationTests | tee -a $WORKSPACE/results/hltPhase2UpgradeIntegrationTests.log
hltPhase2UpgradeIntegrationTests --parallelJobs $(nproc) | tee -a $WORKSPACE/results/hltPhase2UpgradeIntegrationTests.log
else
echo "hltPhase2UpgradeIntegrationTests not found, skipping"
fi
Expand Down
Loading