From 064ffdc1bea9190576350925bbe59f9b7da769d1 Mon Sep 17 00:00:00 2001 From: Jan Kiene Date: Mon, 27 Apr 2026 11:46:46 +0200 Subject: [PATCH 1/3] add script for printing sizes of files and folders given --- snippets/print-sizes.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 snippets/print-sizes.sh diff --git a/snippets/print-sizes.sh b/snippets/print-sizes.sh new file mode 100644 index 0000000..84eddeb --- /dev/null +++ b/snippets/print-sizes.sh @@ -0,0 +1,16 @@ +#!/usr/bin/env bash + +echo "============================================" +echo " 📦 Artifact Sizes" +echo "============================================" + +for path in "$@"; do + if [ -e "$path" ]; then + filesize=$(du -sh "$path" 2>/dev/null | cut -f1) + echo " ${filesize} ${path}" + else + echo " -- ${path} (not found)" + fi +done + +echo "============================================" -- GitLab From 4930a63d5bd2691d9f6301f1e0e73797de6fdca6 Mon Sep 17 00:00:00 2001 From: Jan Kiene Date: Mon, 27 Apr 2026 12:25:36 +0200 Subject: [PATCH 2/3] add printout of artifact sizes into jobs --- includes/check-first-frame-is-sid.yml | 1 + includes/complexity-jobs.yml | 2 ++ includes/smoke-test.yml | 1 + main-basop.yml | 38 +++++++++++++++++++++++++++ main-float.yml | 30 +++++++++++++++++++++ 5 files changed, 72 insertions(+) diff --git a/includes/check-first-frame-is-sid.yml b/includes/check-first-frame-is-sid.yml index 9b6587c..1f5276a 100644 --- a/includes/check-first-frame-is-sid.yml +++ b/includes/check-first-frame-is-sid.yml @@ -18,6 +18,7 @@ check-first-frame-is-sid: - rm scripts/config/ci_linux_ltv.json scripts/config/ci_linux.json - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/check-for-testvectors.sh - bash ci/run-first-frame-is-sid-test.sh + - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh logs timeout: "10 minutes" artifacts: paths: diff --git a/includes/complexity-jobs.yml b/includes/complexity-jobs.yml index a033878..9682c49 100644 --- a/includes/complexity-jobs.yml +++ b/includes/complexity-jobs.yml @@ -117,6 +117,8 @@ - set -euxo pipefail - *complexity-measurements-setup + after_script: + - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh $CI_JOB_NAME-public COMPLEXITY/logs allow_failure: exit_codes: - 123 diff --git a/includes/smoke-test.yml b/includes/smoke-test.yml index 897838c..9476642 100644 --- a/includes/smoke-test.yml +++ b/includes/smoke-test.yml @@ -16,6 +16,7 @@ - if cat smoke_test_output.txt | grep -c "failed"; then echo "Smoke test without JBM failed"; ret_val=1; fi - if cat smoke_test_output_jbm.txt | grep -c "failed"; then echo "Smoke test JBM part failed"; ret_val=1; fi - if cat smoke_test_output_hrtf.txt | grep -c "failed"; then echo "Smoke test with external hrtf files failed"; ret_val=1; fi + - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh smoke_test_output.txt smoke_test_output_jbm.txt smoke_test_output_hrtf.txt - exit $ret_val artifacts: name: "mr-$CI_MERGE_REQUEST_IID--sha-$CI_COMMIT_SHORT_SHA--job-$CI_JOB_NAME--results" diff --git a/main-basop.yml b/main-basop.yml index 9395196..c19b407 100644 --- a/main-basop.yml +++ b/main-basop.yml @@ -413,6 +413,8 @@ workflow: - touch $MERGED_CSV_ARTIFACT_NAME - fi + - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit.xml report.html $PAGES_HTML_ARTIFACT_NAME $CSV_ARTIFACT_NAME $CSV_ARTIFACT_SPLIT $MERGED_CSV_ARTIFACT_NAME $SUMMARY_HTML_ARTIFACT_NAME $SUMMARY_HTML_ARTIFACT_SPLIT $IMAGES_ARTIFACT_NAME $IMAGES_ARTIFACT_SPLIT + - if [ $zero_errors != 1 ]; then - echo "Run errors encountered!" # TODO: temporary only to not fail MR pipelines on crashes @@ -533,6 +535,7 @@ workflow: - cat errors_testcases_for_printing.txt - fi + - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh $XML_REPORT $HTML_REPORT $FAILED_TESTCASES_LIST $ERRORS_TESTCASES_LIST pytest_log.txt $PYTEST_CACHE_ARTIFACT $FLOAT_REF_COMMIT_FILE $CUT_COMMIT_FILE $MERGE_TARGET_COMMIT_FILE $MERGE_SOURCE_FLOAT_REF_COMMIT_FILE $PYTEST_LOG_TARGET_BRANCH - exit $exit_code - else # create empty files to not have errors at artifact stage @@ -542,6 +545,7 @@ workflow: - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/basop/print-results-banner.sh - echo "All testcases are bitexact." - fi + - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh $XML_REPORT $HTML_REPORT $FAILED_TESTCASES_LIST $ERRORS_TESTCASES_LIST pytest_log.txt $PYTEST_CACHE_ARTIFACT $FLOAT_REF_COMMIT_FILE $CUT_COMMIT_FILE $MERGE_TARGET_COMMIT_FILE $MERGE_SOURCE_FLOAT_REF_COMMIT_FILE $PYTEST_LOG_TARGET_BRANCH - exit $exit_code allow_failure: @@ -691,6 +695,7 @@ workflow: - exit $exit_code after_script: - rm -rf tests/dut tests/ref + - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh $XML_REPORT_BRANCH $XML_REPORT_MAIN $HTML_REPORT_BRANCH $HTML_REPORT_MAIN $CSV_BRANCH $CSV_MAIN $SUMMARY_HTML_ARTIFACT_NAME $IMAGES_ARTIFACT_NAME $FLOAT_REF_COMMIT_FILE $CUT_COMMIT_FILE $MERGE_TARGET_COMMIT_FILE $MERGE_SOURCE_FLOAT_REF_COMMIT_FILE regressions_crashes.csv regressions_MLD.csv regressions_MAX_ABS_DIFF.csv regressions_MIN_SSNR.csv regressions_MIN_ODG.csv improvements_crashes.csv improvements_MLD.csv improvements_MAX_ABS_DIFF.csv improvements_MIN_SSNR.csv improvements_MIN_ODG.csv allow_failure: exit_codes: - 123 @@ -821,6 +826,7 @@ workflow: - exit $exit_code after_script: - rm -rf tests/dut tests/ref + - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh $XML_REPORT_BRANCH $XML_REPORT_MAIN $HTML_REPORT_BRANCH $HTML_REPORT_MAIN $CSV_BRANCH $CSV_MAIN $SUMMARY_HTML_ARTIFACT_NAME $IMAGES_ARTIFACT_NAME $FLOAT_REF_COMMIT_FILE $CUT_COMMIT_FILE $MERGE_TARGET_COMMIT_FILE $MERGE_SOURCE_FLOAT_REF_COMMIT_FILE regressions_crashes.csv regressions_MLD.csv regressions_MAX_ABS_DIFF.csv regressions_MIN_SSNR.csv regressions_MIN_ODG.csv improvements_crashes.csv improvements_MLD.csv improvements_MAX_ABS_DIFF.csv improvements_MIN_SSNR.csv improvements_MIN_ODG.csv allow_failure: exit_codes: - 123 @@ -899,6 +905,7 @@ workflow: - python3 scripts/create_histograms.py report-diff.csv $IMAGES_ARTIFACT_NAME --measures $MEASURES_FOR_REPORT --write-out-histograms --no-bins - python3 ci/basop-pages/create_summary_page.py $SUMMARY_HTML_ARTIFACT_NAME $CI_JOB_ID $CI_JOB_NAME $IMAGES_ARTIFACT_NAME --measures $MEASURES_FOR_REPORT + - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit-ref.xml report-ref.html report-ref.csv report-junit-dut.xml report-dut.html report-dut.csv report-diff.csv $IMAGES_ARTIFACT_NAME $SUMMARY_HTML_ARTIFACT_NAME - exit 0 allow_failure: @@ -958,6 +965,7 @@ branch-is-up-to-date-with-target-pre: script: - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/basop/update-scripts-repo.sh - source "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/basop/branch-is-up-to-date-with-target-pre.sh + - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh $MERGE_TARGET_COMMIT_FILE $FLOAT_REF_COMMIT_FILE $MERGE_SOURCE_FLOAT_REF_COMMIT_FILE artifacts: paths: - $MERGE_TARGET_COMMIT_FILE @@ -1021,6 +1029,7 @@ clang-format-check: # Include readme in the artifact, in case someone misses the job printout (e.g. getting the artifact via MR interface) - echo -e "$INSTRUCTIONS_README" > "tmp-formatting-fix/readme.txt" + - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh tmp-formatting-fix/ - exit $format_problems artifacts: expire_in: 1 day @@ -1046,6 +1055,7 @@ pytest-to-ref-pre: - popd - echo "$FLOAT_REF_COMMIT" > $FLOAT_REF_COMMIT_FILE - echo "FLOAT_REF_COMMIT=$FLOAT_REF_COMMIT" >>commits.env + - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh $FLOAT_REF_COMMIT_FILE artifacts: paths: - $FLOAT_REF_COMMIT_FILE @@ -1069,6 +1079,7 @@ check-regressions-long-pre: - export CI_MERGE_REQUEST_SOURCE_BRANCH_NAME="$CI_COMMIT_REF_NAME" - export CI_MERGE_REQUEST_TARGET_BRANCH_NAME="main" - source "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/basop/branch-is-up-to-date-with-target-pre.sh + - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh $MERGE_TARGET_COMMIT_FILE $FLOAT_REF_COMMIT_FILE $MERGE_SOURCE_FLOAT_REF_COMMIT_FILE artifacts: paths: - $MERGE_TARGET_COMMIT_FILE @@ -1372,6 +1383,7 @@ renderer-pytest-on-merge-request: - python3 scripts/parse_xml_report.py $REPORT_XML $REPORT_CSV + - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh $REPORT_XML $REPORT_HTML $REPORT_CSV $MAKE_BUILD_LOG_FILE_DEFAULT - source "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/merge-request-comparison-check.sh allow_failure: @@ -1450,6 +1462,7 @@ ivas-pytest-on-merge-request: - python3 scripts/parse_xml_report.py $REPORT_XML $REPORT_CSV + - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh $REPORT_XML $REPORT_HTML $REPORT_CSV $MAKE_BUILD_LOG_FILE_DEFAULT - source "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/merge-request-comparison-check.sh allow_failure: @@ -1524,6 +1537,7 @@ split-rendering-pytest-on-merge-request: - python3 scripts/parse_xml_report.py $REPORT_XML $REPORT_CSV + - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh $REPORT_XML $REPORT_HTML $REPORT_CSV $MAKE_BUILD_LOG_FILE_DEFAULT - source "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/merge-request-comparison-check.sh allow_failure: @@ -1578,6 +1592,7 @@ split-rendering-pytest-on-merge-request: - python3 tests/create_short_testvectors.py --cut_len 1.0 # TODO: run full test again once the custom binary files are supported - python3 -m pytest -k "not diff_from_rom and not test_binary_file" tests/hrtf_binary_loading --html=report.html --junit-xml=report-junit.xml --self-contained-html + - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report.html report-junit.xml $MAKE_BUILD_LOG_FILE_DEFAULT artifacts: paths: - report.html @@ -1623,6 +1638,7 @@ split-rendering-pytest-on-merge-request: - if [ $zero_failures != 1 ] && [ $non_interop_flag == 0 ]; then echo "Non-interop cases without non-interop flag encountered!"; exit $EXIT_CODE_FAIL; fi - if [ $zero_failures != 1 ] && [ $non_interop_flag == 1 ]; then echo "Non-interop cases with non-interop flag encountered"; exit $EXIT_CODE_NON_BE; fi + - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit.xml report.html $MAKE_BUILD_LOG_FILE_DEFAULT - exit 0 allow_failure: @@ -1654,6 +1670,7 @@ split-rendering-smoke-test: - make -j 2>&1 >$MAKE_BUILD_LOG_FILE_DEFAULT - testcase_timeout=10 - python3 -m pytest -q -n auto -rA --tb=no --junit-xml=report-junit.xml tests/split_rendering/test_split_rendering.py --testcase_timeout=$testcase_timeout --html=report.html --self-contained-html + - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit.xml artifacts: name: "mr-$CI_MERGE_REQUEST_IID--sha-$CI_COMMIT_SHORT_SHA--job-$CI_JOB_NAME--results" expire_in: 1 week @@ -1680,6 +1697,7 @@ rtpdump-test: - make -j 2>&1 >$MAKE_BUILD_LOG_FILE_DEFAULT - testcase_timeout=60 - python3 -m pytest -q --tb=no -n auto -rA --html=report.html --self-contained-html --junit-xml=report-junit.xml tests/rtp/test_rtp.py --testcase_timeout=$testcase_timeout + - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit.xml report.html $MAKE_BUILD_LOG_FILE_DEFAULT artifacts: name: "mr-$CI_MERGE_REQUEST_IID--sha-$CI_COMMIT_SHORT_SHA--job-$CI_JOB_NAME--results" expire_in: 1 week @@ -1723,6 +1741,7 @@ renderer-smoke-test: - make -j IVAS_rend 2>&1 >$MAKE_BUILD_LOG_FILE_DEFAULT - testcase_timeout=60 - python3 -m pytest -q -n auto -rA --junit-xml=report-junit.xml tests/renderer/test_renderer_short.py --testcase_timeout=$testcase_timeout + - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit.xml artifacts: name: "mr-$CI_MERGE_REQUEST_IID--sha-$CI_COMMIT_SHORT_SHA--job-$CI_JOB_NAME--results" expire_in: 1 week @@ -1748,6 +1767,7 @@ renderer-smoke-test: - make -j 2>&1 >$MAKE_BUILD_LOG_FILE_DEFAULT - testcase_timeout=180 - python3 -m pytest -q -n auto --tb=no --junit-xml=report-junit.xml tests/renderer/test_renderer_short.py --testcase_timeout=$testcase_timeout + - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit.xml $MAKE_BUILD_LOG_FILE_DEFAULT artifacts: name: "mr-$CI_MERGE_REQUEST_IID--sha-$CI_COMMIT_SHORT_SHA--job-$CI_JOB_NAME--results" @@ -1777,6 +1797,7 @@ renderer-smoke-test: - make -j 2>&1 >$MAKE_BUILD_LOG_FILE_DEFAULT - testcase_timeout=180 - python3 -m pytest -q -n auto --tb=no --junit-xml=report-junit.xml tests/renderer/test_renderer_short.py --testcase_timeout=$testcase_timeout + - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit.xml $MAKE_BUILD_LOG_FILE_DEFAULT artifacts: name: "mr-$CI_MERGE_REQUEST_IID--sha-$CI_COMMIT_SHORT_SHA--job-$CI_JOB_NAME--results" @@ -1811,6 +1832,7 @@ renderer-smoke-test: - touch usan_log_empty # Creates an empty file, this is to avoid "grep: usan_log_*: No such file or directory" in case no USAN failures are reported from pytest - grep UndefinedBehaviorSanitizer usan_log_* || grep_exit_code=$? - if [ $grep_exit_code != 1 ] ; then echo "Run errors in test_renderer.py with Clang undefined-behavior-sanitizer"; exit 1; fi + - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit.xml $MAKE_BUILD_LOG_FILE_DEFAULT artifacts: name: "mr-$CI_MERGE_REQUEST_IID--sha-$CI_COMMIT_SHORT_SHA--job-$CI_JOB_NAME--results" @@ -1897,6 +1919,7 @@ codec-msan: - python3 scripts/parse_sanitizer_errors_from_xml_report.py report-junit-20ms.xml msan-errors-20ms.csv # - python3 scripts/parse_sanitizer_errors_from_xml_report.py report-junit-10ms.xml msan-errors-10ms.csv # - python3 scripts/parse_sanitizer_errors_from_xml_report.py report-junit-5ms.xml msan-errors-5ms.csv + - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit-20ms.xml report-junit-10ms.xml report-junit-5ms.xml report-20ms.html report-10ms.html report-5ms.html msan-errors-20ms.csv artifacts: name: "mr-$CI_MERGE_REQUEST_IID--sha-$CI_COMMIT_SHORT_SHA--stage-$CI_JOB_STAGE--results" expire_in: 1 week @@ -1934,6 +1957,7 @@ codec-asan: - python3 scripts/parse_sanitizer_errors_from_xml_report.py report-junit-20ms.xml asan-errors-20ms.csv # - python3 scripts/parse_sanitizer_errors_from_xml_report.py report-junit-10ms.xml asan-errors-10ms.csv # - python3 scripts/parse_sanitizer_errors_from_xml_report.py report-junit-5ms.xml asan-errors-5ms.csv + - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit-20ms.xml report-junit-10ms.xml report-junit-5ms.xml report-20ms.html report-10ms.html report-5ms.html asan-errors-20ms.csv artifacts: name: "mr-$CI_MERGE_REQUEST_IID--sha-$CI_COMMIT_SHORT_SHA--stage-$CI_JOB_STAGE--results" expire_in: 1 week @@ -1971,6 +1995,7 @@ codec-usan: - python3 scripts/parse_sanitizer_errors_from_xml_report.py report-junit-20ms.xml ubsan-errors-20ms.csv # - python3 scripts/parse_sanitizer_errors_from_xml_report.py report-junit-10ms.xml ubsan-errors-10ms.csv # - python3 scripts/parse_sanitizer_errors_from_xml_report.py report-junit-5ms.xml ubsan-errors-5ms.csv + - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit-20ms.xml report-junit-10ms.xml report-junit-5ms.xml report-20ms.html report-10ms.html report-5ms.html ubsan-errors-20ms.csv artifacts: name: "mr-$CI_MERGE_REQUEST_IID--sha-$CI_COMMIT_SHORT_SHA--stage-$CI_JOB_STAGE--results" expire_in: 1 week @@ -2326,6 +2351,7 @@ ivas-pytest-msan: - CLANG_NUM=1 after_script: - python3 scripts/parse_sanitizer_errors_from_xml_report.py report-junit.xml msan-errors.csv + - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit.xml report.html msan-errors.csv $MAKE_BUILD_LOG_FILE_DEFAULT artifacts: name: "$CI_JOB_NAME--sha-$CI_COMMIT_SHORT_SHA--results" expire_in: 2 weeks @@ -2358,6 +2384,7 @@ ivas-pytest-asan: - CLANG_NUM=2 after_script: - python3 scripts/parse_sanitizer_errors_from_xml_report.py report-junit.xml asan-errors.csv + - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit.xml report.html asan-errors.csv $MAKE_BUILD_LOG_FILE_DEFAULT artifacts: name: "$CI_JOB_NAME--sha-$CI_COMMIT_SHORT_SHA--results" expire_in: 2 weeks @@ -2390,6 +2417,7 @@ ivas-pytest-usan: - CLANG_NUM=3 after_script: - python3 scripts/parse_sanitizer_errors_from_xml_report.py report-junit.xml usan-errors.csv + - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit.xml report.html usan-errors.csv $MAKE_BUILD_LOG_FILE_DEFAULT artifacts: name: "$CI_JOB_NAME--sha-$CI_COMMIT_SHORT_SHA--results" expire_in: 2 weeks @@ -2485,6 +2513,7 @@ test-long-self-test: - if [ $zero_errors != 1 ]; then echo "Run errors encountered!"; exit $EXIT_CODE_FAIL; fi - if [ $exit_code -ne 0 ]; then echo "Non-bitexact cases encountered!"; exit $EXIT_CODE_NON_BE; fi + - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit-ltv.xml report-ltv.html $MAKE_BUILD_LOG_FILE_DEFAULT - exit 0 @@ -2531,6 +2560,7 @@ ivas-smoke-test-saturation: - if cat smoke_test_output_plc.txt | grep -c "failed"; then echo "Smoke test with PLC failed"; ret_val=1; fi - if cat smoke_test_output_jbm_noEXT.txt | grep -c "failed"; then echo "Smoke test JBM part failed"; ret_val=1; fi - if cat smoke_test_output_hrtf.txt | grep -c "failed"; then echo "Smoke test with external hrtf files failed"; ret_val=1; fi + - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh smoke_test_output.txt smoke_test_output_plc.txt smoke_test_output_jbm_noEXT.txt smoke_test_output_hrtf.txt - exit $ret_val artifacts: name: "$CI_JOB_NAME--sha-$CI_COMMIT_SHORT_SHA--results" @@ -2572,6 +2602,7 @@ be-2-evs-26444: - exit_code=0 - python3 -m pytest tests/test_26444.py --html=report.html --self-contained-html --junit-xml=report-junit.xml -n auto || exit_code=$? - if [ $exit_code -eq 1 ]; then echo "Differences encountered"; exit $EXIT_CODE_FAIL; fi + - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit.xml report.html $MAKE_BUILD_LOG_FILE_DEFAULT - exit 0 artifacts: @@ -2628,6 +2659,7 @@ voip-be-on-merge-request: - make clean - make -j 2>&1 >$MAKE_BUILD_LOG_FILE_DEFAULT - python3 -m pytest tests/test_be_for_jbm_neutral_dly_profile.py + - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh $MAKE_BUILD_LOG_FILE_DEFAULT artifacts: when: always expire_in: "5 days" @@ -2671,6 +2703,7 @@ check-be-between-renderer-framesizes: - if [ $exit_code5 -ne 0 ]; then echo "Non-bitexact cases encountered with 5ms rendering!"; exit_code=1; fi - if [ $exit_code10 -ne 0 ]; then echo "Non-bitexact cases encountered with 10ms rendering!"; exit_code=1; fi - if [ $exit_code -ne 0 ]; then exit $EXIT_CODE_FAIL; fi + - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit-5ms.xml report-5ms.html report-junit-10ms.xml report-10ms.html report-junit-20ms.xml report-20ms.html $MAKE_BUILD_LOG_FILE_DEFAULT artifacts: name: "mr-$CI_MERGE_REQUEST_IID--sha-$CI_COMMIT_SHORT_SHA--job-$CI_JOB_NAME--results" expire_in: 1 week @@ -2754,6 +2787,7 @@ ivas-long-term-job-logs: - rm -r previous_artifacts - done - ls logs + - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh logs - exit 0 artifacts: @@ -2787,6 +2821,7 @@ ivas-long-term-job-logs-overview: - python3 ci/process_long_term_logs.py logs long_term_max_abs_diff_dec.html --measure MAX_ABS_DIFF --job-include dec - python3 ci/process_long_term_logs.py logs long_term_max_abs_diff_dec_reject_JBM_BINAURAL_ROOM_REVERB.html --measure MAX_ABS_DIFF --job-include dec --reject JBM BINAURAL_ROOM_REVERB - python3 scripts/detect_regressions.py logs detect_regressions.html --csv detect_regressions.csv --days 30 + - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh long_term_mld_enc.html long_term_mld_dec.html long_term_mld_dec_reject_JBM_BINAURAL_ROOM_REVERB.html long_term_max_abs_diff_enc.html long_term_max_abs_diff_dec.html long_term_max_abs_diff_dec_reject_JBM_BINAURAL_ROOM_REVERB.html detect_regressions.html detect_regressions.csv artifacts: name: "$CI_JOB_NAME--sha-$CI_COMMIT_SHORT_SHA--results" @@ -2825,6 +2860,7 @@ ivas-long-term-regressions: - mv regression*bash regressions_"$MEASURE" || true # Move regressions*bash scripts if they exists. If none exist, use || to prevent failure - done + - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh regressions_MLD.csv regressions_MAX_ABS_DIFF.csv regressions_MLD regressions_MAX_ABS_DIFF artifacts: name: "$CI_JOB_NAME--sha-$CI_COMMIT_SHORT_SHA--results" @@ -2899,6 +2935,7 @@ ivas-conformance-linux: - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/basop/update-scripts-repo.sh - make -j 2>&1 >$MAKE_BUILD_LOG_FILE_DEFAULT - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/ivas-conformance.sh + - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report_cmd.html report-junit.xml report.html Readme_IVAS_dec.txt Readme_IVAS_enc.txt Readme_IVAS_rend.txt Readme_IVAS_JBM_dec.txt Readme_IVAS_ISAR_dec.txt Readme_IVAS_ISAR_post_rend.txt $COVERAGE_OUTPUT_FILE $COVERAGE_OUTPUT_DIR $MAKE_BUILD_LOG_FILE_DEFAULT artifacts: name: "ivas-conformance-linux-$CI_COMMIT_SHORT_SHA" @@ -2935,6 +2972,7 @@ pages: - python3 ci/setup_pages.py - ls - ls -lh public + - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh public artifacts: paths: - public diff --git a/main-float.yml b/main-float.yml index 1503dc2..52a22b9 100644 --- a/main-float.yml +++ b/main-float.yml @@ -191,6 +191,7 @@ workflow: - python3 scripts/parse_sanitizer_errors_from_xml_report.py report-junit-20ms.xml errors-20ms.csv - python3 scripts/parse_sanitizer_errors_from_xml_report.py report-junit-10ms.xml errors-10ms.csv - python3 scripts/parse_sanitizer_errors_from_xml_report.py report-junit-5ms.xml errors-5ms.csv + - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit-20ms.xml report-junit-10ms.xml report-junit-5ms.xml report-20ms.html report-10ms.html report-5ms.html errors-20ms.csv errors-10ms.csv errors-5ms.csv $MAKE_BUILD_LOG_FILE_DEFAULT artifacts: name: "mr-$CI_MERGE_REQUEST_IID--sha-$CI_COMMIT_SHORT_SHA--stage-$CI_JOB_STAGE--results" expire_in: 1 week @@ -304,6 +305,8 @@ branch-is-up-to-date-with-main-post: fi - python3 -m pytest $TEST_SUITE $PYTEST_ARGS --update_ref 1 --create_ref --ref_encoder_path IVAS_cod --ref_decoder_path IVAS_dec --html=report.html --self-contained-html --junit-xml=report-junit.xml --testcase_timeout=$testcase_timeout + after_script: + - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit.xml report.html artifacts: name: "$CI_JOB_NAME--sha-$CI_COMMIT_SHORT_SHA--results" when: always @@ -404,6 +407,7 @@ basop-compat-smoke-test: - pushd ivas-basop - bash ci/smoke_test.sh - popd + - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh smoke_test_output.txt smoke_test_output_jbm.txt smoke_test_output_hrtf.txt ivas-basop-commit-sha.txt artifacts: name: "mr-$CI_MERGE_REQUEST_IID--sha-$CI_COMMIT_SHORT_SHA--job-$CI_JOB_NAME--results" expire_in: 1 week @@ -493,6 +497,7 @@ pytest-compare-20ms-and-5ms-rendering: - if [ $exit_code5 -ne 0 ]; then echo "Non-bitexact cases encountered with 5ms rendering!"; exit_code=1; fi - if [ $exit_code10 -ne 0 ]; then echo "Non-bitexact cases encountered with 10ms rendering!"; exit_code=1; fi - if [ $exit_code -ne 0 ]; then exit $EXIT_CODE_FAIL; fi + - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit-5ms.xml report-5ms.html report-junit-10ms.xml report-10ms.html $MAKE_BUILD_LOG_FILE_DEFAULT artifacts: name: "mr-$CI_MERGE_REQUEST_IID--sha-$CI_COMMIT_SHORT_SHA--job-$CI_JOB_NAME--results" expire_in: 1 week @@ -520,6 +525,7 @@ renderer-smoke-test: - make -j IVAS_rend 2>&1 >$MAKE_BUILD_LOG_FILE_DEFAULT - testcase_timeout=60 - python3 -m pytest -q -n auto -rA --log-level ERROR --junit-xml=report-junit.xml --html=report.html tests/renderer/test_renderer.py --testcase_timeout=$testcase_timeout + - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit.xml report.html $MAKE_BUILD_LOG_FILE_DEFAULT artifacts: name: "mr-$CI_MERGE_REQUEST_IID--sha-$CI_COMMIT_SHORT_SHA--job-$CI_JOB_NAME--results" expire_in: 1 week @@ -557,6 +563,7 @@ renderer-smoke-test: - testcase_timeout=180 after_script: - python3 scripts/parse_sanitizer_errors_from_xml_report.py report-junit.xml errors.csv + - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit.xml report.html errors.csv # test renderer executable with cmake + asan renderer-asan: @@ -624,6 +631,7 @@ renderer-pytest-on-merge-request: - python3 -m pytest -q --log-level ERROR -n auto -rA --mld --ssnr --html=report.html --self-contained-html --junit-xml=report-junit.xml tests/renderer/test_renderer.py --create_cut --testcase_timeout=$testcase_timeout || exit_code=$? - zero_errors=$(cat report-junit.xml | grep -c 'errors="0"') || true + - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit.xml report.html $MAKE_BUILD_LOG_FILE_DEFAULT $MAKE_BUILD_LOG_FILE_REFERENCE - *merge-request-comparison-check allow_failure: @@ -654,6 +662,7 @@ split-rendering-smoke-test: - make -j 2>&1 >$MAKE_BUILD_LOG_FILE_DEFAULT - testcase_timeout=10 - python3 -m pytest -q -n auto -rA --log-level ERROR --junit-xml=report-junit.xml --html=report.html tests/split_rendering/test_split_rendering.py --testcase_timeout=$testcase_timeout + - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit.xml report.html $MAKE_BUILD_LOG_FILE_DEFAULT artifacts: name: "mr-$CI_MERGE_REQUEST_IID--sha-$CI_COMMIT_SHORT_SHA--job-$CI_JOB_NAME--results" expire_in: 1 week @@ -678,6 +687,7 @@ split-rendering-voip-be-to-binaural: - make -j 2>&1 >$MAKE_BUILD_LOG_FILE_DEFAULT - testcase_timeout=30 - python3 -m pytest -q -n auto -rA --junit-xml=report-junit.xml --html=report.html tests/split_rendering/test_voip_be_splitrend_vs_binaural.py --testcase_timeout=$testcase_timeout + - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit.xml report.html $MAKE_BUILD_LOG_FILE_DEFAULT artifacts: name: "mr-$CI_MERGE_REQUEST_IID--sha-$CI_COMMIT_SHORT_SHA--job-$CI_JOB_NAME--results" expire_in: 1 week @@ -703,6 +713,7 @@ rtpdump-test: - testcase_timeout=15 - python3 tests/create_short_testvectors.py --cut_len 1.0 - python3 -m pytest -q --tb=no -n auto -rA --html=report.html --self-contained-html --junit-xml=report-junit.xml tests/rtp --testcase_timeout=$testcase_timeout + - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit.xml report.html $MAKE_BUILD_LOG_FILE_DEFAULT artifacts: name: "mr-$CI_MERGE_REQUEST_IID--sha-$CI_COMMIT_SHORT_SHA--job-$CI_JOB_NAME--results" expire_in: 1 week @@ -783,6 +794,7 @@ split-rendering-pytest-on-merge-request: - python3 -m pytest -q --log-level ERROR -n auto -rA --mld --ssnr --html=report.html --self-contained-html --junit-xml=report-junit.xml tests/split_rendering/test_split_rendering.py --create_cut --testcase_timeout=$testcase_timeout || exit_code=$? - zero_errors=$(cat report-junit.xml | grep -c 'errors="0"') || true + - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit.xml report.html $MAKE_BUILD_LOG_FILE_DEFAULT $MAKE_BUILD_LOG_FILE_REFERENCE - *merge-request-comparison-check allow_failure: @@ -844,6 +856,7 @@ ivas-pytest-on-merge-request: - python3 -m pytest "$TESTS_DIR_CODEC_BE_ON_MR"/"$PYTEST_SCRIPT" --mld --ssnr --html=report.html --self-contained-html --junit-xml=report-junit.xml --testcase_timeout=$testcase_timeout || exit_code=$? - zero_errors=$(cat report-junit.xml | grep -c 'errors="0"') || true + - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit.xml report.html $MAKE_BUILD_LOG_FILE_DEFAULT $MAKE_BUILD_LOG_FILE_REFERENCE - *merge-request-comparison-check allow_failure: @@ -896,6 +909,7 @@ ivas-interop-on-merge-request: - if [ $zero_failures != 1 ] && [ $non_interop_flag == 0 ]; then echo "Non-interop cases without non-interop flag encountered!"; exit $EXIT_CODE_FAIL; fi - if [ $zero_failures != 1 ] && [ $non_interop_flag == 1 ]; then echo "Non-interop cases with non-interop flag encountered"; exit $EXIT_CODE_NON_BE; fi + - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit.xml report.html $MAKE_BUILD_LOG_FILE_DEFAULT $MAKE_BUILD_LOG_FILE_REFERENCE - exit 0 allow_failure: @@ -950,6 +964,7 @@ evs-pytest-on-merge-request: - python3 -m pytest $TESTS_DIR_CODEC_BE_ON_MR/test_param_file.py --param_file scripts/config/self_test_evs.prm --html=report.html --self-contained-html --junit-xml=report-junit-evs.xml --testcase_timeout=$testcase_timeout || exit_code=$? - zero_errors=$(cat report-junit-evs.xml | grep -c 'errors="0"') || true + - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit-evs.xml report.html $MAKE_BUILD_LOG_FILE_DEFAULT $MAKE_BUILD_LOG_FILE_REFERENCE - *merge-request-comparison-check allow_failure: @@ -981,6 +996,7 @@ voip-be-on-merge-request: - make clean - make -j 2>&1 >$MAKE_BUILD_LOG_FILE_DEFAULT - python3 -m pytest tests/test_be_for_jbm_neutral_dly_profile.py + - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh $MAKE_BUILD_LOG_FILE_DEFAULT artifacts: when: always expire_in: "5 days" @@ -1024,6 +1040,7 @@ clang-format-check: # Include readme in the artifact, in case someone misses the job printout (e.g. getting the artifact via MR interface) - echo -e "$INSTRUCTIONS_README" > "tmp-formatting-fix/readme.txt" + - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh tmp-formatting-fix/ - exit $format_problems artifacts: expire_in: 1 day @@ -1067,6 +1084,7 @@ check-bitexactness-hrtf-rom-and-file: - make -j 2>&1 >$MAKE_BUILD_LOG_FILE_DEFAULT - python3 tests/create_short_testvectors.py --cut_len 1.0 - python3 -m pytest tests/hrtf_binary_loading --html=report.html --junit-xml=report-junit.xml --self-contained-html + - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report.html report-junit.xml $MAKE_BUILD_LOG_FILE_DEFAULT artifacts: paths: - report.html @@ -1090,6 +1108,7 @@ check-bitexactness-ext-and-transport-format: - make -j 2>&1 >$MAKE_BUILD_LOG_FILE_DEFAULT - python3 tests/create_short_testvectors.py --cut_len 1.0 - python3 -m pytest tests/test_be_for_ext_outputs.py --html=report.html --junit-xml=report-junit.xml --self-contained-html + - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report.html report-junit.xml $MAKE_BUILD_LOG_FILE_DEFAULT artifacts: paths: - report.html @@ -1342,6 +1361,7 @@ ivas-conformance: - python -m pytest conformance-test/test_26252.py --junit-xml=report-junit.xml --html=report.html --self-contained-html - mv report.html .. - mv report-junit.xml .. + - cd $CI_PROJECT_DIR artifacts: name: "ivas-conformance-$CI_COMMIT_SHORT_SHA" @@ -1443,6 +1463,8 @@ ivas-conformance-linux: - cd - - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/collect-coverage.sh --obj-dir obj --output-file $COVERAGE_OUTPUT_FILE --output-dir $COVERAGE_OUTPUT_DIR --title "Coverage on main -- $COVERAGE_TITLE" + - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report_cmd.html report-junit.xml report.html Readme_IVAS_dec.txt Readme_IVAS_enc.txt Readme_IVAS_rend.txt Readme_IVAS_JBM_dec.txt Readme_IVAS_ISAR_dec.txt Readme_IVAS_ISAR_post_rend.txt $COVERAGE_OUTPUT_FILE $COVERAGE_OUTPUT_DIR $MAKE_BUILD_LOG_FILE_DEFAULT + # Check for failures - if [ $exit_code -ne 0 ]; then echo "Test failures encountered"; exit $EXIT_CODE_FAIL; fi @@ -1524,6 +1546,7 @@ test-long-self-test: - if [ $zero_errors != 1 ]; then echo "Run errors encountered!"; exit $EXIT_CODE_FAIL; fi - if [ $exit_code -ne 0 ]; then echo "Non-bitexact cases encountered!"; exit $EXIT_CODE_NON_BE; fi + - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit-ltv.xml report-ltv.html - exit 0 artifacts: @@ -1555,6 +1578,7 @@ check-clipping: - tests/scale_pcm.py ./scripts/testv/ $SCALE_FACTOR # Default: 3.162 (+10 dB). Can be set in manual trigger. - python3 -m pytest $TESTS_DIR_CODEC_BE_ON_MR --update_ref 1 --html=report.html --self-contained-html --junit-xml=report-junit.xml --ref_encoder_path ./IVAS_cod --ref_decoder_path ./IVAS_dec - python3 scripts/parse_xml_report.py report-junit.xml report.csv --clipping + - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit.xml report.html report.csv $MAKE_BUILD_LOG_FILE_DEFAULT artifacts: name: "check-clipping--sha-$CI_COMMIT_SHORT_SHA--results" when: always @@ -1589,6 +1613,7 @@ test-branch-vs-input-passthrough: - python3 scripts/parse_xml_report.py report-junit.xml report.csv - if [ $zero_errors != 1 ]; then echo "Run errors encountered!"; exit $EXIT_CODE_FAIL; fi - if [ $exit_code -ne 0 ]; then echo "Differences encountered."; exit $EXIT_CODE_NON_BE; fi + - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit.xml report.html report.csv $MAKE_BUILD_LOG_FILE_DEFAULT - exit 0 artifacts: @@ -1671,6 +1696,8 @@ ltv-usan: tags: - sanitizer_test_main - ivas-linux-fast + after_script: + - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh ep_015.g192 dly_profile.dat head_rot_traj.csv exof_traj.csv ./LOGS_PLC ./LOGS_noPLC artifacts: name: "$CI_JOB_NAME--main--sha-$CI_COMMIT_SHORT_SHA" expire_in: 7 weeks @@ -2216,6 +2243,7 @@ sanitizer-test-osba-planar-hoa3-ism4: - cp ISAR_post_rend ISAR_post_rend_ref after_script: - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/collect-coverage.sh --obj-dir cmake-build --output-file $COVERAGE_OUTPUT_FILE --output-dir $COVERAGE_OUTPUT_DIR --title "Coverage on main -- $COVERAGE_TITLE" + - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh $COVERAGE_OUTPUT_FILE $COVERAGE_OUTPUT_DIR artifacts: name: "main-$COVERAGE_OUTPUT_DIR-sha-$CI_COMMIT_SHORT_SHA" when: always @@ -2246,6 +2274,7 @@ coverage-merge: - lcov -a $COVERAGE_OUTPUT_FILE_CONFORMANCE -a $COVERAGE_OUTPUT_FILE_STV -a $COVERAGE_OUTPUT_FILE_LTV -o "$COVERAGE_OUTPUT_FILE_MERGED" - commit_sha=$(git rev-parse HEAD) - genhtml $COVERAGE_OUTPUT_FILE_MERGED -o $COVERAGE_OUTPUT_DIR -t "Coverage on main -- $COVERAGE_TITLE @ $commit_sha" + - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh $COVERAGE_OUTPUT_FILE $COVERAGE_OUTPUT_DIR artifacts: name: "merged-coverage-sha-$CI_COMMIT_SHORT_SHA" when: always @@ -2338,6 +2367,7 @@ pages: - if: $UPDATE_PAGES script: - python3 ci/setup_pages.py + - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh public artifacts: paths: - public -- GitLab From 5e2f6503634de30538e35956b820787a0cd66da5 Mon Sep 17 00:00:00 2001 From: Jan Kiene Date: Mon, 27 Apr 2026 12:44:16 +0200 Subject: [PATCH 3/3] add missing "$" --- includes/check-first-frame-is-sid.yml | 2 +- includes/complexity-jobs.yml | 2 +- includes/smoke-test.yml | 2 +- main-basop.yml | 74 +++++++++++++-------------- main-float.yml | 52 +++++++++---------- 5 files changed, 66 insertions(+), 66 deletions(-) diff --git a/includes/check-first-frame-is-sid.yml b/includes/check-first-frame-is-sid.yml index 1f5276a..e75f38c 100644 --- a/includes/check-first-frame-is-sid.yml +++ b/includes/check-first-frame-is-sid.yml @@ -18,7 +18,7 @@ check-first-frame-is-sid: - rm scripts/config/ci_linux_ltv.json scripts/config/ci_linux.json - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/check-for-testvectors.sh - bash ci/run-first-frame-is-sid-test.sh - - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh logs + - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh logs timeout: "10 minutes" artifacts: paths: diff --git a/includes/complexity-jobs.yml b/includes/complexity-jobs.yml index 9682c49..c462804 100644 --- a/includes/complexity-jobs.yml +++ b/includes/complexity-jobs.yml @@ -118,7 +118,7 @@ - set -euxo pipefail - *complexity-measurements-setup after_script: - - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh $CI_JOB_NAME-public COMPLEXITY/logs + - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh $CI_JOB_NAME-public COMPLEXITY/logs allow_failure: exit_codes: - 123 diff --git a/includes/smoke-test.yml b/includes/smoke-test.yml index 9476642..18e0f5a 100644 --- a/includes/smoke-test.yml +++ b/includes/smoke-test.yml @@ -16,7 +16,7 @@ - if cat smoke_test_output.txt | grep -c "failed"; then echo "Smoke test without JBM failed"; ret_val=1; fi - if cat smoke_test_output_jbm.txt | grep -c "failed"; then echo "Smoke test JBM part failed"; ret_val=1; fi - if cat smoke_test_output_hrtf.txt | grep -c "failed"; then echo "Smoke test with external hrtf files failed"; ret_val=1; fi - - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh smoke_test_output.txt smoke_test_output_jbm.txt smoke_test_output_hrtf.txt + - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh smoke_test_output.txt smoke_test_output_jbm.txt smoke_test_output_hrtf.txt - exit $ret_val artifacts: name: "mr-$CI_MERGE_REQUEST_IID--sha-$CI_COMMIT_SHORT_SHA--job-$CI_JOB_NAME--results" diff --git a/main-basop.yml b/main-basop.yml index c19b407..d83b180 100644 --- a/main-basop.yml +++ b/main-basop.yml @@ -413,7 +413,7 @@ workflow: - touch $MERGED_CSV_ARTIFACT_NAME - fi - - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit.xml report.html $PAGES_HTML_ARTIFACT_NAME $CSV_ARTIFACT_NAME $CSV_ARTIFACT_SPLIT $MERGED_CSV_ARTIFACT_NAME $SUMMARY_HTML_ARTIFACT_NAME $SUMMARY_HTML_ARTIFACT_SPLIT $IMAGES_ARTIFACT_NAME $IMAGES_ARTIFACT_SPLIT + - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit.xml report.html $PAGES_HTML_ARTIFACT_NAME $CSV_ARTIFACT_NAME $CSV_ARTIFACT_SPLIT $MERGED_CSV_ARTIFACT_NAME $SUMMARY_HTML_ARTIFACT_NAME $SUMMARY_HTML_ARTIFACT_SPLIT $IMAGES_ARTIFACT_NAME $IMAGES_ARTIFACT_SPLIT - if [ $zero_errors != 1 ]; then - echo "Run errors encountered!" @@ -535,7 +535,7 @@ workflow: - cat errors_testcases_for_printing.txt - fi - - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh $XML_REPORT $HTML_REPORT $FAILED_TESTCASES_LIST $ERRORS_TESTCASES_LIST pytest_log.txt $PYTEST_CACHE_ARTIFACT $FLOAT_REF_COMMIT_FILE $CUT_COMMIT_FILE $MERGE_TARGET_COMMIT_FILE $MERGE_SOURCE_FLOAT_REF_COMMIT_FILE $PYTEST_LOG_TARGET_BRANCH + - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh $XML_REPORT $HTML_REPORT $FAILED_TESTCASES_LIST $ERRORS_TESTCASES_LIST pytest_log.txt $PYTEST_CACHE_ARTIFACT $FLOAT_REF_COMMIT_FILE $CUT_COMMIT_FILE $MERGE_TARGET_COMMIT_FILE $MERGE_SOURCE_FLOAT_REF_COMMIT_FILE $PYTEST_LOG_TARGET_BRANCH - exit $exit_code - else # create empty files to not have errors at artifact stage @@ -545,7 +545,7 @@ workflow: - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/basop/print-results-banner.sh - echo "All testcases are bitexact." - fi - - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh $XML_REPORT $HTML_REPORT $FAILED_TESTCASES_LIST $ERRORS_TESTCASES_LIST pytest_log.txt $PYTEST_CACHE_ARTIFACT $FLOAT_REF_COMMIT_FILE $CUT_COMMIT_FILE $MERGE_TARGET_COMMIT_FILE $MERGE_SOURCE_FLOAT_REF_COMMIT_FILE $PYTEST_LOG_TARGET_BRANCH + - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh $XML_REPORT $HTML_REPORT $FAILED_TESTCASES_LIST $ERRORS_TESTCASES_LIST pytest_log.txt $PYTEST_CACHE_ARTIFACT $FLOAT_REF_COMMIT_FILE $CUT_COMMIT_FILE $MERGE_TARGET_COMMIT_FILE $MERGE_SOURCE_FLOAT_REF_COMMIT_FILE $PYTEST_LOG_TARGET_BRANCH - exit $exit_code allow_failure: @@ -695,7 +695,7 @@ workflow: - exit $exit_code after_script: - rm -rf tests/dut tests/ref - - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh $XML_REPORT_BRANCH $XML_REPORT_MAIN $HTML_REPORT_BRANCH $HTML_REPORT_MAIN $CSV_BRANCH $CSV_MAIN $SUMMARY_HTML_ARTIFACT_NAME $IMAGES_ARTIFACT_NAME $FLOAT_REF_COMMIT_FILE $CUT_COMMIT_FILE $MERGE_TARGET_COMMIT_FILE $MERGE_SOURCE_FLOAT_REF_COMMIT_FILE regressions_crashes.csv regressions_MLD.csv regressions_MAX_ABS_DIFF.csv regressions_MIN_SSNR.csv regressions_MIN_ODG.csv improvements_crashes.csv improvements_MLD.csv improvements_MAX_ABS_DIFF.csv improvements_MIN_SSNR.csv improvements_MIN_ODG.csv + - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh $XML_REPORT_BRANCH $XML_REPORT_MAIN $HTML_REPORT_BRANCH $HTML_REPORT_MAIN $CSV_BRANCH $CSV_MAIN $SUMMARY_HTML_ARTIFACT_NAME $IMAGES_ARTIFACT_NAME $FLOAT_REF_COMMIT_FILE $CUT_COMMIT_FILE $MERGE_TARGET_COMMIT_FILE $MERGE_SOURCE_FLOAT_REF_COMMIT_FILE regressions_crashes.csv regressions_MLD.csv regressions_MAX_ABS_DIFF.csv regressions_MIN_SSNR.csv regressions_MIN_ODG.csv improvements_crashes.csv improvements_MLD.csv improvements_MAX_ABS_DIFF.csv improvements_MIN_SSNR.csv improvements_MIN_ODG.csv allow_failure: exit_codes: - 123 @@ -826,7 +826,7 @@ workflow: - exit $exit_code after_script: - rm -rf tests/dut tests/ref - - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh $XML_REPORT_BRANCH $XML_REPORT_MAIN $HTML_REPORT_BRANCH $HTML_REPORT_MAIN $CSV_BRANCH $CSV_MAIN $SUMMARY_HTML_ARTIFACT_NAME $IMAGES_ARTIFACT_NAME $FLOAT_REF_COMMIT_FILE $CUT_COMMIT_FILE $MERGE_TARGET_COMMIT_FILE $MERGE_SOURCE_FLOAT_REF_COMMIT_FILE regressions_crashes.csv regressions_MLD.csv regressions_MAX_ABS_DIFF.csv regressions_MIN_SSNR.csv regressions_MIN_ODG.csv improvements_crashes.csv improvements_MLD.csv improvements_MAX_ABS_DIFF.csv improvements_MIN_SSNR.csv improvements_MIN_ODG.csv + - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh $XML_REPORT_BRANCH $XML_REPORT_MAIN $HTML_REPORT_BRANCH $HTML_REPORT_MAIN $CSV_BRANCH $CSV_MAIN $SUMMARY_HTML_ARTIFACT_NAME $IMAGES_ARTIFACT_NAME $FLOAT_REF_COMMIT_FILE $CUT_COMMIT_FILE $MERGE_TARGET_COMMIT_FILE $MERGE_SOURCE_FLOAT_REF_COMMIT_FILE regressions_crashes.csv regressions_MLD.csv regressions_MAX_ABS_DIFF.csv regressions_MIN_SSNR.csv regressions_MIN_ODG.csv improvements_crashes.csv improvements_MLD.csv improvements_MAX_ABS_DIFF.csv improvements_MIN_SSNR.csv improvements_MIN_ODG.csv allow_failure: exit_codes: - 123 @@ -905,7 +905,7 @@ workflow: - python3 scripts/create_histograms.py report-diff.csv $IMAGES_ARTIFACT_NAME --measures $MEASURES_FOR_REPORT --write-out-histograms --no-bins - python3 ci/basop-pages/create_summary_page.py $SUMMARY_HTML_ARTIFACT_NAME $CI_JOB_ID $CI_JOB_NAME $IMAGES_ARTIFACT_NAME --measures $MEASURES_FOR_REPORT - - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit-ref.xml report-ref.html report-ref.csv report-junit-dut.xml report-dut.html report-dut.csv report-diff.csv $IMAGES_ARTIFACT_NAME $SUMMARY_HTML_ARTIFACT_NAME + - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit-ref.xml report-ref.html report-ref.csv report-junit-dut.xml report-dut.html report-dut.csv report-diff.csv $IMAGES_ARTIFACT_NAME $SUMMARY_HTML_ARTIFACT_NAME - exit 0 allow_failure: @@ -965,7 +965,7 @@ branch-is-up-to-date-with-target-pre: script: - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/basop/update-scripts-repo.sh - source "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/basop/branch-is-up-to-date-with-target-pre.sh - - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh $MERGE_TARGET_COMMIT_FILE $FLOAT_REF_COMMIT_FILE $MERGE_SOURCE_FLOAT_REF_COMMIT_FILE + - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh $MERGE_TARGET_COMMIT_FILE $FLOAT_REF_COMMIT_FILE $MERGE_SOURCE_FLOAT_REF_COMMIT_FILE artifacts: paths: - $MERGE_TARGET_COMMIT_FILE @@ -1029,7 +1029,7 @@ clang-format-check: # Include readme in the artifact, in case someone misses the job printout (e.g. getting the artifact via MR interface) - echo -e "$INSTRUCTIONS_README" > "tmp-formatting-fix/readme.txt" - - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh tmp-formatting-fix/ + - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh tmp-formatting-fix/ - exit $format_problems artifacts: expire_in: 1 day @@ -1055,7 +1055,7 @@ pytest-to-ref-pre: - popd - echo "$FLOAT_REF_COMMIT" > $FLOAT_REF_COMMIT_FILE - echo "FLOAT_REF_COMMIT=$FLOAT_REF_COMMIT" >>commits.env - - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh $FLOAT_REF_COMMIT_FILE + - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh $FLOAT_REF_COMMIT_FILE artifacts: paths: - $FLOAT_REF_COMMIT_FILE @@ -1079,7 +1079,7 @@ check-regressions-long-pre: - export CI_MERGE_REQUEST_SOURCE_BRANCH_NAME="$CI_COMMIT_REF_NAME" - export CI_MERGE_REQUEST_TARGET_BRANCH_NAME="main" - source "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/basop/branch-is-up-to-date-with-target-pre.sh - - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh $MERGE_TARGET_COMMIT_FILE $FLOAT_REF_COMMIT_FILE $MERGE_SOURCE_FLOAT_REF_COMMIT_FILE + - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh $MERGE_TARGET_COMMIT_FILE $FLOAT_REF_COMMIT_FILE $MERGE_SOURCE_FLOAT_REF_COMMIT_FILE artifacts: paths: - $MERGE_TARGET_COMMIT_FILE @@ -1383,7 +1383,7 @@ renderer-pytest-on-merge-request: - python3 scripts/parse_xml_report.py $REPORT_XML $REPORT_CSV - - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh $REPORT_XML $REPORT_HTML $REPORT_CSV $MAKE_BUILD_LOG_FILE_DEFAULT + - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh $REPORT_XML $REPORT_HTML $REPORT_CSV $MAKE_BUILD_LOG_FILE_DEFAULT - source "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/merge-request-comparison-check.sh allow_failure: @@ -1462,7 +1462,7 @@ ivas-pytest-on-merge-request: - python3 scripts/parse_xml_report.py $REPORT_XML $REPORT_CSV - - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh $REPORT_XML $REPORT_HTML $REPORT_CSV $MAKE_BUILD_LOG_FILE_DEFAULT + - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh $REPORT_XML $REPORT_HTML $REPORT_CSV $MAKE_BUILD_LOG_FILE_DEFAULT - source "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/merge-request-comparison-check.sh allow_failure: @@ -1537,7 +1537,7 @@ split-rendering-pytest-on-merge-request: - python3 scripts/parse_xml_report.py $REPORT_XML $REPORT_CSV - - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh $REPORT_XML $REPORT_HTML $REPORT_CSV $MAKE_BUILD_LOG_FILE_DEFAULT + - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh $REPORT_XML $REPORT_HTML $REPORT_CSV $MAKE_BUILD_LOG_FILE_DEFAULT - source "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/merge-request-comparison-check.sh allow_failure: @@ -1592,7 +1592,7 @@ split-rendering-pytest-on-merge-request: - python3 tests/create_short_testvectors.py --cut_len 1.0 # TODO: run full test again once the custom binary files are supported - python3 -m pytest -k "not diff_from_rom and not test_binary_file" tests/hrtf_binary_loading --html=report.html --junit-xml=report-junit.xml --self-contained-html - - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report.html report-junit.xml $MAKE_BUILD_LOG_FILE_DEFAULT + - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report.html report-junit.xml $MAKE_BUILD_LOG_FILE_DEFAULT artifacts: paths: - report.html @@ -1638,7 +1638,7 @@ split-rendering-pytest-on-merge-request: - if [ $zero_failures != 1 ] && [ $non_interop_flag == 0 ]; then echo "Non-interop cases without non-interop flag encountered!"; exit $EXIT_CODE_FAIL; fi - if [ $zero_failures != 1 ] && [ $non_interop_flag == 1 ]; then echo "Non-interop cases with non-interop flag encountered"; exit $EXIT_CODE_NON_BE; fi - - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit.xml report.html $MAKE_BUILD_LOG_FILE_DEFAULT + - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit.xml report.html $MAKE_BUILD_LOG_FILE_DEFAULT - exit 0 allow_failure: @@ -1670,7 +1670,7 @@ split-rendering-smoke-test: - make -j 2>&1 >$MAKE_BUILD_LOG_FILE_DEFAULT - testcase_timeout=10 - python3 -m pytest -q -n auto -rA --tb=no --junit-xml=report-junit.xml tests/split_rendering/test_split_rendering.py --testcase_timeout=$testcase_timeout --html=report.html --self-contained-html - - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit.xml + - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit.xml artifacts: name: "mr-$CI_MERGE_REQUEST_IID--sha-$CI_COMMIT_SHORT_SHA--job-$CI_JOB_NAME--results" expire_in: 1 week @@ -1697,7 +1697,7 @@ rtpdump-test: - make -j 2>&1 >$MAKE_BUILD_LOG_FILE_DEFAULT - testcase_timeout=60 - python3 -m pytest -q --tb=no -n auto -rA --html=report.html --self-contained-html --junit-xml=report-junit.xml tests/rtp/test_rtp.py --testcase_timeout=$testcase_timeout - - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit.xml report.html $MAKE_BUILD_LOG_FILE_DEFAULT + - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit.xml report.html $MAKE_BUILD_LOG_FILE_DEFAULT artifacts: name: "mr-$CI_MERGE_REQUEST_IID--sha-$CI_COMMIT_SHORT_SHA--job-$CI_JOB_NAME--results" expire_in: 1 week @@ -1741,7 +1741,7 @@ renderer-smoke-test: - make -j IVAS_rend 2>&1 >$MAKE_BUILD_LOG_FILE_DEFAULT - testcase_timeout=60 - python3 -m pytest -q -n auto -rA --junit-xml=report-junit.xml tests/renderer/test_renderer_short.py --testcase_timeout=$testcase_timeout - - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit.xml + - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit.xml artifacts: name: "mr-$CI_MERGE_REQUEST_IID--sha-$CI_COMMIT_SHORT_SHA--job-$CI_JOB_NAME--results" expire_in: 1 week @@ -1767,7 +1767,7 @@ renderer-smoke-test: - make -j 2>&1 >$MAKE_BUILD_LOG_FILE_DEFAULT - testcase_timeout=180 - python3 -m pytest -q -n auto --tb=no --junit-xml=report-junit.xml tests/renderer/test_renderer_short.py --testcase_timeout=$testcase_timeout - - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit.xml $MAKE_BUILD_LOG_FILE_DEFAULT + - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit.xml $MAKE_BUILD_LOG_FILE_DEFAULT artifacts: name: "mr-$CI_MERGE_REQUEST_IID--sha-$CI_COMMIT_SHORT_SHA--job-$CI_JOB_NAME--results" @@ -1797,7 +1797,7 @@ renderer-smoke-test: - make -j 2>&1 >$MAKE_BUILD_LOG_FILE_DEFAULT - testcase_timeout=180 - python3 -m pytest -q -n auto --tb=no --junit-xml=report-junit.xml tests/renderer/test_renderer_short.py --testcase_timeout=$testcase_timeout - - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit.xml $MAKE_BUILD_LOG_FILE_DEFAULT + - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit.xml $MAKE_BUILD_LOG_FILE_DEFAULT artifacts: name: "mr-$CI_MERGE_REQUEST_IID--sha-$CI_COMMIT_SHORT_SHA--job-$CI_JOB_NAME--results" @@ -1832,7 +1832,7 @@ renderer-smoke-test: - touch usan_log_empty # Creates an empty file, this is to avoid "grep: usan_log_*: No such file or directory" in case no USAN failures are reported from pytest - grep UndefinedBehaviorSanitizer usan_log_* || grep_exit_code=$? - if [ $grep_exit_code != 1 ] ; then echo "Run errors in test_renderer.py with Clang undefined-behavior-sanitizer"; exit 1; fi - - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit.xml $MAKE_BUILD_LOG_FILE_DEFAULT + - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit.xml $MAKE_BUILD_LOG_FILE_DEFAULT artifacts: name: "mr-$CI_MERGE_REQUEST_IID--sha-$CI_COMMIT_SHORT_SHA--job-$CI_JOB_NAME--results" @@ -1919,7 +1919,7 @@ codec-msan: - python3 scripts/parse_sanitizer_errors_from_xml_report.py report-junit-20ms.xml msan-errors-20ms.csv # - python3 scripts/parse_sanitizer_errors_from_xml_report.py report-junit-10ms.xml msan-errors-10ms.csv # - python3 scripts/parse_sanitizer_errors_from_xml_report.py report-junit-5ms.xml msan-errors-5ms.csv - - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit-20ms.xml report-junit-10ms.xml report-junit-5ms.xml report-20ms.html report-10ms.html report-5ms.html msan-errors-20ms.csv + - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit-20ms.xml report-junit-10ms.xml report-junit-5ms.xml report-20ms.html report-10ms.html report-5ms.html msan-errors-20ms.csv artifacts: name: "mr-$CI_MERGE_REQUEST_IID--sha-$CI_COMMIT_SHORT_SHA--stage-$CI_JOB_STAGE--results" expire_in: 1 week @@ -1957,7 +1957,7 @@ codec-asan: - python3 scripts/parse_sanitizer_errors_from_xml_report.py report-junit-20ms.xml asan-errors-20ms.csv # - python3 scripts/parse_sanitizer_errors_from_xml_report.py report-junit-10ms.xml asan-errors-10ms.csv # - python3 scripts/parse_sanitizer_errors_from_xml_report.py report-junit-5ms.xml asan-errors-5ms.csv - - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit-20ms.xml report-junit-10ms.xml report-junit-5ms.xml report-20ms.html report-10ms.html report-5ms.html asan-errors-20ms.csv + - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit-20ms.xml report-junit-10ms.xml report-junit-5ms.xml report-20ms.html report-10ms.html report-5ms.html asan-errors-20ms.csv artifacts: name: "mr-$CI_MERGE_REQUEST_IID--sha-$CI_COMMIT_SHORT_SHA--stage-$CI_JOB_STAGE--results" expire_in: 1 week @@ -1995,7 +1995,7 @@ codec-usan: - python3 scripts/parse_sanitizer_errors_from_xml_report.py report-junit-20ms.xml ubsan-errors-20ms.csv # - python3 scripts/parse_sanitizer_errors_from_xml_report.py report-junit-10ms.xml ubsan-errors-10ms.csv # - python3 scripts/parse_sanitizer_errors_from_xml_report.py report-junit-5ms.xml ubsan-errors-5ms.csv - - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit-20ms.xml report-junit-10ms.xml report-junit-5ms.xml report-20ms.html report-10ms.html report-5ms.html ubsan-errors-20ms.csv + - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit-20ms.xml report-junit-10ms.xml report-junit-5ms.xml report-20ms.html report-10ms.html report-5ms.html ubsan-errors-20ms.csv artifacts: name: "mr-$CI_MERGE_REQUEST_IID--sha-$CI_COMMIT_SHORT_SHA--stage-$CI_JOB_STAGE--results" expire_in: 1 week @@ -2351,7 +2351,7 @@ ivas-pytest-msan: - CLANG_NUM=1 after_script: - python3 scripts/parse_sanitizer_errors_from_xml_report.py report-junit.xml msan-errors.csv - - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit.xml report.html msan-errors.csv $MAKE_BUILD_LOG_FILE_DEFAULT + - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit.xml report.html msan-errors.csv $MAKE_BUILD_LOG_FILE_DEFAULT artifacts: name: "$CI_JOB_NAME--sha-$CI_COMMIT_SHORT_SHA--results" expire_in: 2 weeks @@ -2384,7 +2384,7 @@ ivas-pytest-asan: - CLANG_NUM=2 after_script: - python3 scripts/parse_sanitizer_errors_from_xml_report.py report-junit.xml asan-errors.csv - - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit.xml report.html asan-errors.csv $MAKE_BUILD_LOG_FILE_DEFAULT + - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit.xml report.html asan-errors.csv $MAKE_BUILD_LOG_FILE_DEFAULT artifacts: name: "$CI_JOB_NAME--sha-$CI_COMMIT_SHORT_SHA--results" expire_in: 2 weeks @@ -2417,7 +2417,7 @@ ivas-pytest-usan: - CLANG_NUM=3 after_script: - python3 scripts/parse_sanitizer_errors_from_xml_report.py report-junit.xml usan-errors.csv - - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit.xml report.html usan-errors.csv $MAKE_BUILD_LOG_FILE_DEFAULT + - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit.xml report.html usan-errors.csv $MAKE_BUILD_LOG_FILE_DEFAULT artifacts: name: "$CI_JOB_NAME--sha-$CI_COMMIT_SHORT_SHA--results" expire_in: 2 weeks @@ -2513,7 +2513,7 @@ test-long-self-test: - if [ $zero_errors != 1 ]; then echo "Run errors encountered!"; exit $EXIT_CODE_FAIL; fi - if [ $exit_code -ne 0 ]; then echo "Non-bitexact cases encountered!"; exit $EXIT_CODE_NON_BE; fi - - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit-ltv.xml report-ltv.html $MAKE_BUILD_LOG_FILE_DEFAULT + - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit-ltv.xml report-ltv.html $MAKE_BUILD_LOG_FILE_DEFAULT - exit 0 @@ -2560,7 +2560,7 @@ ivas-smoke-test-saturation: - if cat smoke_test_output_plc.txt | grep -c "failed"; then echo "Smoke test with PLC failed"; ret_val=1; fi - if cat smoke_test_output_jbm_noEXT.txt | grep -c "failed"; then echo "Smoke test JBM part failed"; ret_val=1; fi - if cat smoke_test_output_hrtf.txt | grep -c "failed"; then echo "Smoke test with external hrtf files failed"; ret_val=1; fi - - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh smoke_test_output.txt smoke_test_output_plc.txt smoke_test_output_jbm_noEXT.txt smoke_test_output_hrtf.txt + - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh smoke_test_output.txt smoke_test_output_plc.txt smoke_test_output_jbm_noEXT.txt smoke_test_output_hrtf.txt - exit $ret_val artifacts: name: "$CI_JOB_NAME--sha-$CI_COMMIT_SHORT_SHA--results" @@ -2602,7 +2602,7 @@ be-2-evs-26444: - exit_code=0 - python3 -m pytest tests/test_26444.py --html=report.html --self-contained-html --junit-xml=report-junit.xml -n auto || exit_code=$? - if [ $exit_code -eq 1 ]; then echo "Differences encountered"; exit $EXIT_CODE_FAIL; fi - - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit.xml report.html $MAKE_BUILD_LOG_FILE_DEFAULT + - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit.xml report.html $MAKE_BUILD_LOG_FILE_DEFAULT - exit 0 artifacts: @@ -2659,7 +2659,7 @@ voip-be-on-merge-request: - make clean - make -j 2>&1 >$MAKE_BUILD_LOG_FILE_DEFAULT - python3 -m pytest tests/test_be_for_jbm_neutral_dly_profile.py - - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh $MAKE_BUILD_LOG_FILE_DEFAULT + - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh $MAKE_BUILD_LOG_FILE_DEFAULT artifacts: when: always expire_in: "5 days" @@ -2703,7 +2703,7 @@ check-be-between-renderer-framesizes: - if [ $exit_code5 -ne 0 ]; then echo "Non-bitexact cases encountered with 5ms rendering!"; exit_code=1; fi - if [ $exit_code10 -ne 0 ]; then echo "Non-bitexact cases encountered with 10ms rendering!"; exit_code=1; fi - if [ $exit_code -ne 0 ]; then exit $EXIT_CODE_FAIL; fi - - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit-5ms.xml report-5ms.html report-junit-10ms.xml report-10ms.html report-junit-20ms.xml report-20ms.html $MAKE_BUILD_LOG_FILE_DEFAULT + - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit-5ms.xml report-5ms.html report-junit-10ms.xml report-10ms.html report-junit-20ms.xml report-20ms.html $MAKE_BUILD_LOG_FILE_DEFAULT artifacts: name: "mr-$CI_MERGE_REQUEST_IID--sha-$CI_COMMIT_SHORT_SHA--job-$CI_JOB_NAME--results" expire_in: 1 week @@ -2787,7 +2787,7 @@ ivas-long-term-job-logs: - rm -r previous_artifacts - done - ls logs - - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh logs + - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh logs - exit 0 artifacts: @@ -2821,7 +2821,7 @@ ivas-long-term-job-logs-overview: - python3 ci/process_long_term_logs.py logs long_term_max_abs_diff_dec.html --measure MAX_ABS_DIFF --job-include dec - python3 ci/process_long_term_logs.py logs long_term_max_abs_diff_dec_reject_JBM_BINAURAL_ROOM_REVERB.html --measure MAX_ABS_DIFF --job-include dec --reject JBM BINAURAL_ROOM_REVERB - python3 scripts/detect_regressions.py logs detect_regressions.html --csv detect_regressions.csv --days 30 - - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh long_term_mld_enc.html long_term_mld_dec.html long_term_mld_dec_reject_JBM_BINAURAL_ROOM_REVERB.html long_term_max_abs_diff_enc.html long_term_max_abs_diff_dec.html long_term_max_abs_diff_dec_reject_JBM_BINAURAL_ROOM_REVERB.html detect_regressions.html detect_regressions.csv + - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh long_term_mld_enc.html long_term_mld_dec.html long_term_mld_dec_reject_JBM_BINAURAL_ROOM_REVERB.html long_term_max_abs_diff_enc.html long_term_max_abs_diff_dec.html long_term_max_abs_diff_dec_reject_JBM_BINAURAL_ROOM_REVERB.html detect_regressions.html detect_regressions.csv artifacts: name: "$CI_JOB_NAME--sha-$CI_COMMIT_SHORT_SHA--results" @@ -2860,7 +2860,7 @@ ivas-long-term-regressions: - mv regression*bash regressions_"$MEASURE" || true # Move regressions*bash scripts if they exists. If none exist, use || to prevent failure - done - - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh regressions_MLD.csv regressions_MAX_ABS_DIFF.csv regressions_MLD regressions_MAX_ABS_DIFF + - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh regressions_MLD.csv regressions_MAX_ABS_DIFF.csv regressions_MLD regressions_MAX_ABS_DIFF artifacts: name: "$CI_JOB_NAME--sha-$CI_COMMIT_SHORT_SHA--results" @@ -2935,7 +2935,7 @@ ivas-conformance-linux: - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/basop/update-scripts-repo.sh - make -j 2>&1 >$MAKE_BUILD_LOG_FILE_DEFAULT - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/ivas-conformance.sh - - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report_cmd.html report-junit.xml report.html Readme_IVAS_dec.txt Readme_IVAS_enc.txt Readme_IVAS_rend.txt Readme_IVAS_JBM_dec.txt Readme_IVAS_ISAR_dec.txt Readme_IVAS_ISAR_post_rend.txt $COVERAGE_OUTPUT_FILE $COVERAGE_OUTPUT_DIR $MAKE_BUILD_LOG_FILE_DEFAULT + - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report_cmd.html report-junit.xml report.html Readme_IVAS_dec.txt Readme_IVAS_enc.txt Readme_IVAS_rend.txt Readme_IVAS_JBM_dec.txt Readme_IVAS_ISAR_dec.txt Readme_IVAS_ISAR_post_rend.txt $COVERAGE_OUTPUT_FILE $COVERAGE_OUTPUT_DIR $MAKE_BUILD_LOG_FILE_DEFAULT artifacts: name: "ivas-conformance-linux-$CI_COMMIT_SHORT_SHA" @@ -2972,7 +2972,7 @@ pages: - python3 ci/setup_pages.py - ls - ls -lh public - - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh public + - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh public artifacts: paths: - public diff --git a/main-float.yml b/main-float.yml index 52a22b9..ad297fb 100644 --- a/main-float.yml +++ b/main-float.yml @@ -191,7 +191,7 @@ workflow: - python3 scripts/parse_sanitizer_errors_from_xml_report.py report-junit-20ms.xml errors-20ms.csv - python3 scripts/parse_sanitizer_errors_from_xml_report.py report-junit-10ms.xml errors-10ms.csv - python3 scripts/parse_sanitizer_errors_from_xml_report.py report-junit-5ms.xml errors-5ms.csv - - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit-20ms.xml report-junit-10ms.xml report-junit-5ms.xml report-20ms.html report-10ms.html report-5ms.html errors-20ms.csv errors-10ms.csv errors-5ms.csv $MAKE_BUILD_LOG_FILE_DEFAULT + - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit-20ms.xml report-junit-10ms.xml report-junit-5ms.xml report-20ms.html report-10ms.html report-5ms.html errors-20ms.csv errors-10ms.csv errors-5ms.csv $MAKE_BUILD_LOG_FILE_DEFAULT artifacts: name: "mr-$CI_MERGE_REQUEST_IID--sha-$CI_COMMIT_SHORT_SHA--stage-$CI_JOB_STAGE--results" expire_in: 1 week @@ -306,7 +306,7 @@ branch-is-up-to-date-with-main-post: - python3 -m pytest $TEST_SUITE $PYTEST_ARGS --update_ref 1 --create_ref --ref_encoder_path IVAS_cod --ref_decoder_path IVAS_dec --html=report.html --self-contained-html --junit-xml=report-junit.xml --testcase_timeout=$testcase_timeout after_script: - - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit.xml report.html + - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit.xml report.html artifacts: name: "$CI_JOB_NAME--sha-$CI_COMMIT_SHORT_SHA--results" when: always @@ -407,7 +407,7 @@ basop-compat-smoke-test: - pushd ivas-basop - bash ci/smoke_test.sh - popd - - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh smoke_test_output.txt smoke_test_output_jbm.txt smoke_test_output_hrtf.txt ivas-basop-commit-sha.txt + - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh smoke_test_output.txt smoke_test_output_jbm.txt smoke_test_output_hrtf.txt ivas-basop-commit-sha.txt artifacts: name: "mr-$CI_MERGE_REQUEST_IID--sha-$CI_COMMIT_SHORT_SHA--job-$CI_JOB_NAME--results" expire_in: 1 week @@ -497,7 +497,7 @@ pytest-compare-20ms-and-5ms-rendering: - if [ $exit_code5 -ne 0 ]; then echo "Non-bitexact cases encountered with 5ms rendering!"; exit_code=1; fi - if [ $exit_code10 -ne 0 ]; then echo "Non-bitexact cases encountered with 10ms rendering!"; exit_code=1; fi - if [ $exit_code -ne 0 ]; then exit $EXIT_CODE_FAIL; fi - - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit-5ms.xml report-5ms.html report-junit-10ms.xml report-10ms.html $MAKE_BUILD_LOG_FILE_DEFAULT + - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit-5ms.xml report-5ms.html report-junit-10ms.xml report-10ms.html $MAKE_BUILD_LOG_FILE_DEFAULT artifacts: name: "mr-$CI_MERGE_REQUEST_IID--sha-$CI_COMMIT_SHORT_SHA--job-$CI_JOB_NAME--results" expire_in: 1 week @@ -525,7 +525,7 @@ renderer-smoke-test: - make -j IVAS_rend 2>&1 >$MAKE_BUILD_LOG_FILE_DEFAULT - testcase_timeout=60 - python3 -m pytest -q -n auto -rA --log-level ERROR --junit-xml=report-junit.xml --html=report.html tests/renderer/test_renderer.py --testcase_timeout=$testcase_timeout - - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit.xml report.html $MAKE_BUILD_LOG_FILE_DEFAULT + - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit.xml report.html $MAKE_BUILD_LOG_FILE_DEFAULT artifacts: name: "mr-$CI_MERGE_REQUEST_IID--sha-$CI_COMMIT_SHORT_SHA--job-$CI_JOB_NAME--results" expire_in: 1 week @@ -563,7 +563,7 @@ renderer-smoke-test: - testcase_timeout=180 after_script: - python3 scripts/parse_sanitizer_errors_from_xml_report.py report-junit.xml errors.csv - - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit.xml report.html errors.csv + - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit.xml report.html errors.csv # test renderer executable with cmake + asan renderer-asan: @@ -631,7 +631,7 @@ renderer-pytest-on-merge-request: - python3 -m pytest -q --log-level ERROR -n auto -rA --mld --ssnr --html=report.html --self-contained-html --junit-xml=report-junit.xml tests/renderer/test_renderer.py --create_cut --testcase_timeout=$testcase_timeout || exit_code=$? - zero_errors=$(cat report-junit.xml | grep -c 'errors="0"') || true - - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit.xml report.html $MAKE_BUILD_LOG_FILE_DEFAULT $MAKE_BUILD_LOG_FILE_REFERENCE + - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit.xml report.html $MAKE_BUILD_LOG_FILE_DEFAULT $MAKE_BUILD_LOG_FILE_REFERENCE - *merge-request-comparison-check allow_failure: @@ -662,7 +662,7 @@ split-rendering-smoke-test: - make -j 2>&1 >$MAKE_BUILD_LOG_FILE_DEFAULT - testcase_timeout=10 - python3 -m pytest -q -n auto -rA --log-level ERROR --junit-xml=report-junit.xml --html=report.html tests/split_rendering/test_split_rendering.py --testcase_timeout=$testcase_timeout - - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit.xml report.html $MAKE_BUILD_LOG_FILE_DEFAULT + - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit.xml report.html $MAKE_BUILD_LOG_FILE_DEFAULT artifacts: name: "mr-$CI_MERGE_REQUEST_IID--sha-$CI_COMMIT_SHORT_SHA--job-$CI_JOB_NAME--results" expire_in: 1 week @@ -687,7 +687,7 @@ split-rendering-voip-be-to-binaural: - make -j 2>&1 >$MAKE_BUILD_LOG_FILE_DEFAULT - testcase_timeout=30 - python3 -m pytest -q -n auto -rA --junit-xml=report-junit.xml --html=report.html tests/split_rendering/test_voip_be_splitrend_vs_binaural.py --testcase_timeout=$testcase_timeout - - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit.xml report.html $MAKE_BUILD_LOG_FILE_DEFAULT + - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit.xml report.html $MAKE_BUILD_LOG_FILE_DEFAULT artifacts: name: "mr-$CI_MERGE_REQUEST_IID--sha-$CI_COMMIT_SHORT_SHA--job-$CI_JOB_NAME--results" expire_in: 1 week @@ -713,7 +713,7 @@ rtpdump-test: - testcase_timeout=15 - python3 tests/create_short_testvectors.py --cut_len 1.0 - python3 -m pytest -q --tb=no -n auto -rA --html=report.html --self-contained-html --junit-xml=report-junit.xml tests/rtp --testcase_timeout=$testcase_timeout - - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit.xml report.html $MAKE_BUILD_LOG_FILE_DEFAULT + - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit.xml report.html $MAKE_BUILD_LOG_FILE_DEFAULT artifacts: name: "mr-$CI_MERGE_REQUEST_IID--sha-$CI_COMMIT_SHORT_SHA--job-$CI_JOB_NAME--results" expire_in: 1 week @@ -794,7 +794,7 @@ split-rendering-pytest-on-merge-request: - python3 -m pytest -q --log-level ERROR -n auto -rA --mld --ssnr --html=report.html --self-contained-html --junit-xml=report-junit.xml tests/split_rendering/test_split_rendering.py --create_cut --testcase_timeout=$testcase_timeout || exit_code=$? - zero_errors=$(cat report-junit.xml | grep -c 'errors="0"') || true - - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit.xml report.html $MAKE_BUILD_LOG_FILE_DEFAULT $MAKE_BUILD_LOG_FILE_REFERENCE + - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit.xml report.html $MAKE_BUILD_LOG_FILE_DEFAULT $MAKE_BUILD_LOG_FILE_REFERENCE - *merge-request-comparison-check allow_failure: @@ -856,7 +856,7 @@ ivas-pytest-on-merge-request: - python3 -m pytest "$TESTS_DIR_CODEC_BE_ON_MR"/"$PYTEST_SCRIPT" --mld --ssnr --html=report.html --self-contained-html --junit-xml=report-junit.xml --testcase_timeout=$testcase_timeout || exit_code=$? - zero_errors=$(cat report-junit.xml | grep -c 'errors="0"') || true - - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit.xml report.html $MAKE_BUILD_LOG_FILE_DEFAULT $MAKE_BUILD_LOG_FILE_REFERENCE + - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit.xml report.html $MAKE_BUILD_LOG_FILE_DEFAULT $MAKE_BUILD_LOG_FILE_REFERENCE - *merge-request-comparison-check allow_failure: @@ -909,7 +909,7 @@ ivas-interop-on-merge-request: - if [ $zero_failures != 1 ] && [ $non_interop_flag == 0 ]; then echo "Non-interop cases without non-interop flag encountered!"; exit $EXIT_CODE_FAIL; fi - if [ $zero_failures != 1 ] && [ $non_interop_flag == 1 ]; then echo "Non-interop cases with non-interop flag encountered"; exit $EXIT_CODE_NON_BE; fi - - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit.xml report.html $MAKE_BUILD_LOG_FILE_DEFAULT $MAKE_BUILD_LOG_FILE_REFERENCE + - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit.xml report.html $MAKE_BUILD_LOG_FILE_DEFAULT $MAKE_BUILD_LOG_FILE_REFERENCE - exit 0 allow_failure: @@ -964,7 +964,7 @@ evs-pytest-on-merge-request: - python3 -m pytest $TESTS_DIR_CODEC_BE_ON_MR/test_param_file.py --param_file scripts/config/self_test_evs.prm --html=report.html --self-contained-html --junit-xml=report-junit-evs.xml --testcase_timeout=$testcase_timeout || exit_code=$? - zero_errors=$(cat report-junit-evs.xml | grep -c 'errors="0"') || true - - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit-evs.xml report.html $MAKE_BUILD_LOG_FILE_DEFAULT $MAKE_BUILD_LOG_FILE_REFERENCE + - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit-evs.xml report.html $MAKE_BUILD_LOG_FILE_DEFAULT $MAKE_BUILD_LOG_FILE_REFERENCE - *merge-request-comparison-check allow_failure: @@ -996,7 +996,7 @@ voip-be-on-merge-request: - make clean - make -j 2>&1 >$MAKE_BUILD_LOG_FILE_DEFAULT - python3 -m pytest tests/test_be_for_jbm_neutral_dly_profile.py - - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh $MAKE_BUILD_LOG_FILE_DEFAULT + - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh $MAKE_BUILD_LOG_FILE_DEFAULT artifacts: when: always expire_in: "5 days" @@ -1040,7 +1040,7 @@ clang-format-check: # Include readme in the artifact, in case someone misses the job printout (e.g. getting the artifact via MR interface) - echo -e "$INSTRUCTIONS_README" > "tmp-formatting-fix/readme.txt" - - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh tmp-formatting-fix/ + - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh tmp-formatting-fix/ - exit $format_problems artifacts: expire_in: 1 day @@ -1084,7 +1084,7 @@ check-bitexactness-hrtf-rom-and-file: - make -j 2>&1 >$MAKE_BUILD_LOG_FILE_DEFAULT - python3 tests/create_short_testvectors.py --cut_len 1.0 - python3 -m pytest tests/hrtf_binary_loading --html=report.html --junit-xml=report-junit.xml --self-contained-html - - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report.html report-junit.xml $MAKE_BUILD_LOG_FILE_DEFAULT + - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report.html report-junit.xml $MAKE_BUILD_LOG_FILE_DEFAULT artifacts: paths: - report.html @@ -1108,7 +1108,7 @@ check-bitexactness-ext-and-transport-format: - make -j 2>&1 >$MAKE_BUILD_LOG_FILE_DEFAULT - python3 tests/create_short_testvectors.py --cut_len 1.0 - python3 -m pytest tests/test_be_for_ext_outputs.py --html=report.html --junit-xml=report-junit.xml --self-contained-html - - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report.html report-junit.xml $MAKE_BUILD_LOG_FILE_DEFAULT + - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report.html report-junit.xml $MAKE_BUILD_LOG_FILE_DEFAULT artifacts: paths: - report.html @@ -1463,7 +1463,7 @@ ivas-conformance-linux: - cd - - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/collect-coverage.sh --obj-dir obj --output-file $COVERAGE_OUTPUT_FILE --output-dir $COVERAGE_OUTPUT_DIR --title "Coverage on main -- $COVERAGE_TITLE" - - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report_cmd.html report-junit.xml report.html Readme_IVAS_dec.txt Readme_IVAS_enc.txt Readme_IVAS_rend.txt Readme_IVAS_JBM_dec.txt Readme_IVAS_ISAR_dec.txt Readme_IVAS_ISAR_post_rend.txt $COVERAGE_OUTPUT_FILE $COVERAGE_OUTPUT_DIR $MAKE_BUILD_LOG_FILE_DEFAULT + - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report_cmd.html report-junit.xml report.html Readme_IVAS_dec.txt Readme_IVAS_enc.txt Readme_IVAS_rend.txt Readme_IVAS_JBM_dec.txt Readme_IVAS_ISAR_dec.txt Readme_IVAS_ISAR_post_rend.txt $COVERAGE_OUTPUT_FILE $COVERAGE_OUTPUT_DIR $MAKE_BUILD_LOG_FILE_DEFAULT # Check for failures - if [ $exit_code -ne 0 ]; then echo "Test failures encountered"; exit $EXIT_CODE_FAIL; fi @@ -1546,7 +1546,7 @@ test-long-self-test: - if [ $zero_errors != 1 ]; then echo "Run errors encountered!"; exit $EXIT_CODE_FAIL; fi - if [ $exit_code -ne 0 ]; then echo "Non-bitexact cases encountered!"; exit $EXIT_CODE_NON_BE; fi - - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit-ltv.xml report-ltv.html + - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit-ltv.xml report-ltv.html - exit 0 artifacts: @@ -1578,7 +1578,7 @@ check-clipping: - tests/scale_pcm.py ./scripts/testv/ $SCALE_FACTOR # Default: 3.162 (+10 dB). Can be set in manual trigger. - python3 -m pytest $TESTS_DIR_CODEC_BE_ON_MR --update_ref 1 --html=report.html --self-contained-html --junit-xml=report-junit.xml --ref_encoder_path ./IVAS_cod --ref_decoder_path ./IVAS_dec - python3 scripts/parse_xml_report.py report-junit.xml report.csv --clipping - - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit.xml report.html report.csv $MAKE_BUILD_LOG_FILE_DEFAULT + - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit.xml report.html report.csv $MAKE_BUILD_LOG_FILE_DEFAULT artifacts: name: "check-clipping--sha-$CI_COMMIT_SHORT_SHA--results" when: always @@ -1613,7 +1613,7 @@ test-branch-vs-input-passthrough: - python3 scripts/parse_xml_report.py report-junit.xml report.csv - if [ $zero_errors != 1 ]; then echo "Run errors encountered!"; exit $EXIT_CODE_FAIL; fi - if [ $exit_code -ne 0 ]; then echo "Differences encountered."; exit $EXIT_CODE_NON_BE; fi - - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit.xml report.html report.csv $MAKE_BUILD_LOG_FILE_DEFAULT + - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh report-junit.xml report.html report.csv $MAKE_BUILD_LOG_FILE_DEFAULT - exit 0 artifacts: @@ -1697,7 +1697,7 @@ ltv-usan: - sanitizer_test_main - ivas-linux-fast after_script: - - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh ep_015.g192 dly_profile.dat head_rot_traj.csv exof_traj.csv ./LOGS_PLC ./LOGS_noPLC + - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh ep_015.g192 dly_profile.dat head_rot_traj.csv exof_traj.csv ./LOGS_PLC ./LOGS_noPLC artifacts: name: "$CI_JOB_NAME--main--sha-$CI_COMMIT_SHORT_SHA" expire_in: 7 weeks @@ -2243,7 +2243,7 @@ sanitizer-test-osba-planar-hoa3-ism4: - cp ISAR_post_rend ISAR_post_rend_ref after_script: - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/collect-coverage.sh --obj-dir cmake-build --output-file $COVERAGE_OUTPUT_FILE --output-dir $COVERAGE_OUTPUT_DIR --title "Coverage on main -- $COVERAGE_TITLE" - - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh $COVERAGE_OUTPUT_FILE $COVERAGE_OUTPUT_DIR + - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh $COVERAGE_OUTPUT_FILE $COVERAGE_OUTPUT_DIR artifacts: name: "main-$COVERAGE_OUTPUT_DIR-sha-$CI_COMMIT_SHORT_SHA" when: always @@ -2274,7 +2274,7 @@ coverage-merge: - lcov -a $COVERAGE_OUTPUT_FILE_CONFORMANCE -a $COVERAGE_OUTPUT_FILE_STV -a $COVERAGE_OUTPUT_FILE_LTV -o "$COVERAGE_OUTPUT_FILE_MERGED" - commit_sha=$(git rev-parse HEAD) - genhtml $COVERAGE_OUTPUT_FILE_MERGED -o $COVERAGE_OUTPUT_DIR -t "Coverage on main -- $COVERAGE_TITLE @ $commit_sha" - - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh $COVERAGE_OUTPUT_FILE $COVERAGE_OUTPUT_DIR + - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh $COVERAGE_OUTPUT_FILE $COVERAGE_OUTPUT_DIR artifacts: name: "merged-coverage-sha-$CI_COMMIT_SHORT_SHA" when: always @@ -2367,7 +2367,7 @@ pages: - if: $UPDATE_PAGES script: - python3 ci/setup_pages.py - - bash "{CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh public + - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-sizes.sh public artifacts: paths: - public -- GitLab