Skip to content

Minor improvements to the MooreOnline testbench command

Luke Grazette requested to merge lugrazet-minor-MOcmd-improvement into main

Addresses #15 (closed)

https://gitlab.cern.ch/lhcb/tck-specs/-/jobs/41554528

FINISHED SUMMARY OF JOB
INSTRUCTIONS TO RUN TEST LOCALLY:
    curl --location --output artifacts__180347__41554526.zip https://gitlab.cern.ch/api/v4/projects/180347/jobs/41554526/artifacts
    unzip -q artifacts__180347__41554526.zip 'tmp/tck_repo/*' 'tmp/lhcb-metainfo/*' -d artifacts__180347__41554526
    LOCAL_FCM=$(pwd)/artifacts__180347__41554526/tmp/lhcb-metainfo/.git
    TCKID='<to be filled in by user, dependent on which tck to test>'
    LOCAL_TCK=$(pwd)/artifacts__180347__41554526/tmp/tck_repo/.git:$TCKID
    DATA_DIR='<path to data meps, should be recent.>'
    MooreOnline/run env LHCbFileContentMetaDataRepo=$LOCAL_FCM MooreOnline/MooreScripts/scripts/testbench.py --hlt-type=$LOCAL_TCK --working-dir=/tmp/hlt1_new_tck/  --measure-throughput=120 MooreOnline/MooreScripts/tests/options/HLT1/Arch.xml --data-dir=$DATA_DIR
FINISHED INSTRUCTIONS TO RUN TEST LOCALLY

ToDo:

  • Slight improvement to command
    • Kate's suggestion to not provide a data dir, as it depends on machine and should be updated to recent samples
    • Rosen's suggestion to perform the unzipping in a single command
    • I also want to make it quiet because it can be quite busy in the terminal
  • Local testing
Edited by Luke Grazette

Merge request reports