Skip to content
Snippets Groups Projects
Commit 67b249f0 authored by Ross John Hunter's avatar Ross John Hunter
Browse files

Remove unnecessary download of hlt2 output at end of spruce nominal test

parent 098d4841
No related branches found
No related tags found
1 merge request!371[RTADPA BW TESTS] Fix Moore_spruce_latest_bandwidth test
This commit is part of merge request !371. Comments created here will be created in the context of that merge request.
......@@ -151,7 +151,7 @@ case $PROCESS in
;;
latest)
# "latest" corresponds to using the uploaded full-stream output from a "process=hlt2, input-data=nominal" test.
# These files are overwritten during "lhcb-master" builds of "process=hlt2, input-data=nominal", i.e. Daily.
# These files are overwritten during "lhcb-master" builds of "process=hlt2, input-data=nominal", i.e. ~daily.
CONFIG_FILE="tmp/hlt2_bw_testing__production__full__metadata.yaml"
EXTRA_OPTS='-um --read-evt-max-from-config $MOOREROOT/options/muon_geometry_v2.py'
;;
......@@ -227,18 +227,13 @@ echo 'Combining all rate and bandwidth tables'
time python $PRCONFIGROOT/python/MooreTests/combine_rate_output.py --process $PROCESS
STORE_ERR_CODE
# 7. Test on the feasibility of a chained HLT2->Sprucing test
if [ $PROCESS = "spruce" ] && [ $INPUTDATA = "nominal" ]; then
echo 'Testing downloads of Hlt2 output for the future'
time python -m MooreTests.download_hlt2_output
STORE_ERR_CODE
elif [ $PROCESS = "hlt2" ] && [ $INPUTDATA = "nominal" ]; then
# 7.1 Required information for 'latest' sprucing Jobs.
echo 'Generating metadata.yaml for potential upload to eos'
# 7. Required information for 'latest' sprucing jobs.
if [ $PROCESS = "hlt2" ] && [ $INPUTDATA = "nominal" ]; then
echo 'Generating yaml metadata to upload to eos for Moore_spruce_latest_bandwidth test'
time python -m MooreTests.generate_hlt2_fullstream_metadata -c $CONFIG_FILE
STORE_ERR_CODE
fi
# 8. Produce plots and HTML pages; add the --building-locally flag to make the links work if you are building the html pages locally
echo 'Making plots and HTML pages'
time python -m MooreTests.make_bandwidth_test_page -p $PROCESS -c $CONFIG_FILE -s $SCRIPT_PATH -e $ERR_CODE
\ No newline at end of file
time python -m MooreTests.make_bandwidth_test_page -p $PROCESS -c $CONFIG_FILE -s $SCRIPT_PATH -e $ERR_CODE
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