From 0884986b2ab88e0023fd103b6501f2aa95971681 Mon Sep 17 00:00:00 2001 From: Jan Kiene Date: Tue, 11 Jun 2024 17:06:17 +0200 Subject: [PATCH 1/9] restructure first-frame-is-sid test to run with sanitizers --- .gitlab-ci.yml | 62 ++++++++++++++++++++++++++++++++++---------------- 1 file changed, 43 insertions(+), 19 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3e97e863bb..39c702777d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1076,29 +1076,53 @@ check-first-frame-is-sid: script: - *print-common-info - *update-ltv-repo - # Temporary fix to test only SID start config files in this job + # this rm makes check-for-testvectors only check for the signals we actually need in this test - rm scripts/config/ci_linux_ltv.json scripts/config/ci_linux.json - *check-for-testvectors - - cmake . - - make -j - - - exit_code_no_sba=0 - - exit_code_hoa=0 - - exit_code_foa=0 - - # run all modes and cut bitstream to start with an SID. Use stereo output to limit runtime, test is only about decoding - - ism_md_cmd="--ism_metadata_files /usr/local/ltv/ltvISM1.csv /usr/local/ltv/ltvISM2.csv /usr/local/ltv/ltvISM3.csv /usr/local/ltv/ltvISM4.csv" - - modes=$(scripts/runIvasCodec.py -l | grep dtx | grep -vE "FOA|HOA" ) - - scripts/runIvasCodec.py -z console -p scripts/config/ci_linux_sidstart_test.json -m $modes -s --bs_length 200 -U 0:20 --oc stereo $ism_md_cmd --timeout 10 || exit_code_no_sba=$? - - modes=$(scripts/runIvasCodec.py -l | grep dtx | grep -E "HOA") - - scripts/runIvasCodec.py -z console -p scripts/config/ci_linux_sidstart_test.json -m $modes -s --bs_length 100 -U 70:80 --oc stereo --timeout 10 || exit_code_hoa=$? - - modes=$(scripts/runIvasCodec.py -l | grep dtx | grep "FOA") - - scripts/runIvasCodec.py -z console -p scripts/config/ci_linux_sidstart_test.json -m $modes -s --bs_length 100 -U 75:110 --oc stereo --timeout 10 || exit_code_foa=$? - - - if [ $exit_code_no_sba -ne 0 ] || [ $exit_code_hoa -ne 0 ] || [ $exit_code_foa -ne 0 ]; then exit 1; fi + # build encoder without sanitizers for faster runtime + - make clean + - make -j IVAS_cod + - mv IVAS_cod IVAS_cod_nosan + + # run all modes and cut bitstream to start with an SID. Use mono output to limit runtime, test is only about decoding the first frame + - modes_no_sba=$(scripts/runIvasCodec.py -l | grep dtx | grep -vE "FOA|HOA" ) + - modes_hoa=$(scripts/runIvasCodec.py -l | grep dtx | grep -E "HOA") + - modes_foa=$(scripts/runIvasCodec.py -l | grep dtx | grep "FOA") + + - exit_code_msan=0 + - exit_code_asan_usan=0 + - testcase_timeout=20 + - common_args="-z console -p scripts/config/ci_linux_sidstart_test.json -s --oc mono --timeout $testcase_timeout" + + # first encoder + MSAN decoder + # hack to use the encoder with no sanitizers + - mkdir CLANG1 + - make clean + - make IVAS_dec -j CLANG=1 + - cp IVAS_dec CLANG1/IVAS_dec + - cp IVAS_cod_nosan CLANG1/IVAS_cod + - scripts/IvasBuildAndRunChecks.py --checks CLANG1 -m $modes_no_sba --bs_length 200 -U 0:20 $common_args || exit_code_msan=$? + - scripts/IvasBuildAndRunChecks.py --checks CLANG1 -m $modes_hoa --bs_length 100 -U 70:80 $common_args || exit_code_msan=$? + - scripts/IvasBuildAndRunChecks.py --checks CLANG1 -m $modes_foa --bs_length 100 -U 75:110 $common_args || exit_code_msan=$? + - mv CLANG1/logs logs_msan + + # ASAN and USAN can be done in one go and decoder only + # copy encoder output from CLANG1 dir + - mkdir CLANG2 CLANG3 + - cp CLANG1/enc CLANG2/enc + - cp CLANG1/enc CLANG3/enc + - scripts/IvasBuildAndRunChecks.py --checks CLANG2 CLANG3 --decoder_only -m $modes_no_sba --bs_length 200 -U 0:20 $common_args || exit_code_asan_usan=$? + - scripts/IvasBuildAndRunChecks.py --checks CLANG2 CLANG3 --decoder_only -m $modes_hoa --bs_length 100 -U 70:80 $common_args || exit_code_asan_usan=$? + - scripts/IvasBuildAndRunChecks.py --checks CLANG2 CLANG3 --decoder_only -m $modes_foa --bs_length 100 -U 75:110 $common_args || exit_code_asan_usan=$? + - mv CLANG2/logs logs_asan + - mv CLANG3/logs logs_usan + + - if [ $exit_code_msan -ne 0 ] || [ $exit_code_asan_usan -ne 0 ]; then echo "There was either a crash or a sanitizer error encountered when decoding a bitstream that starts with an SID. Check the artifacts for the logfiles."; exit 1; fi artifacts: paths: - - out/logs + - logs_msan + - logs_asan + - logs_usan when: always name: "$CI_JOB_NAME--$CI_MERGE_REQUEST_IID--sha-$CI_COMMIT_SHORT_SHA--sidstart" expose_as: "logs-sidstart" -- GitLab From 0f85972d09cb81bc61ed0f2ea57ad82da4001a9a Mon Sep 17 00:00:00 2001 From: Jan Kiene Date: Fri, 14 Jun 2024 11:35:47 +0200 Subject: [PATCH 2/9] use shorter bitstream length --- .gitlab-ci.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 39c702777d..37cf60396f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1092,7 +1092,8 @@ check-first-frame-is-sid: - exit_code_msan=0 - exit_code_asan_usan=0 - testcase_timeout=20 - - common_args="-z console -p scripts/config/ci_linux_sidstart_test.json -s --oc mono --timeout $testcase_timeout" + - bitstream_cut_length=5 + - common_args="-z console -p scripts/config/ci_linux_sidstart_test.json -s --oc mono --timeout $testcase_timeout --bs_length $bitstream_cut_length" # first encoder + MSAN decoder # hack to use the encoder with no sanitizers @@ -1101,9 +1102,9 @@ check-first-frame-is-sid: - make IVAS_dec -j CLANG=1 - cp IVAS_dec CLANG1/IVAS_dec - cp IVAS_cod_nosan CLANG1/IVAS_cod - - scripts/IvasBuildAndRunChecks.py --checks CLANG1 -m $modes_no_sba --bs_length 200 -U 0:20 $common_args || exit_code_msan=$? - - scripts/IvasBuildAndRunChecks.py --checks CLANG1 -m $modes_hoa --bs_length 100 -U 70:80 $common_args || exit_code_msan=$? - - scripts/IvasBuildAndRunChecks.py --checks CLANG1 -m $modes_foa --bs_length 100 -U 75:110 $common_args || exit_code_msan=$? + - scripts/IvasBuildAndRunChecks.py --checks CLANG1 -m $modes_no_sba -U 0:20 $common_args || exit_code_msan=$? + - scripts/IvasBuildAndRunChecks.py --checks CLANG1 -m $modes_hoa -U 70:80 $common_args || exit_code_msan=$? + - scripts/IvasBuildAndRunChecks.py --checks CLANG1 -m $modes_foa -U 75:110 $common_args || exit_code_msan=$? - mv CLANG1/logs logs_msan # ASAN and USAN can be done in one go and decoder only @@ -1111,9 +1112,9 @@ check-first-frame-is-sid: - mkdir CLANG2 CLANG3 - cp CLANG1/enc CLANG2/enc - cp CLANG1/enc CLANG3/enc - - scripts/IvasBuildAndRunChecks.py --checks CLANG2 CLANG3 --decoder_only -m $modes_no_sba --bs_length 200 -U 0:20 $common_args || exit_code_asan_usan=$? - - scripts/IvasBuildAndRunChecks.py --checks CLANG2 CLANG3 --decoder_only -m $modes_hoa --bs_length 100 -U 70:80 $common_args || exit_code_asan_usan=$? - - scripts/IvasBuildAndRunChecks.py --checks CLANG2 CLANG3 --decoder_only -m $modes_foa --bs_length 100 -U 75:110 $common_args || exit_code_asan_usan=$? + - scripts/IvasBuildAndRunChecks.py --checks CLANG2 CLANG3 --decoder_only -m $modes_no_sba -U 0:20 $common_args || exit_code_asan_usan=$? + - scripts/IvasBuildAndRunChecks.py --checks CLANG2 CLANG3 --decoder_only -m $modes_hoa -U 70:80 $common_args || exit_code_asan_usan=$? + - scripts/IvasBuildAndRunChecks.py --checks CLANG2 CLANG3 --decoder_only -m $modes_foa -U 75:110 $common_args || exit_code_asan_usan=$? - mv CLANG2/logs logs_asan - mv CLANG3/logs logs_usan -- GitLab From 7e935d0c5fac3f97502611be76974f82914a4185 Mon Sep 17 00:00:00 2001 From: Jan Kiene Date: Fri, 14 Jun 2024 11:43:51 +0200 Subject: [PATCH 3/9] fix copy command --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 37cf60396f..7532ca4317 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1110,8 +1110,8 @@ check-first-frame-is-sid: # ASAN and USAN can be done in one go and decoder only # copy encoder output from CLANG1 dir - mkdir CLANG2 CLANG3 - - cp CLANG1/enc CLANG2/enc - - cp CLANG1/enc CLANG3/enc + - cp -r CLANG1/enc CLANG2/enc + - cp -r CLANG1/enc CLANG3/enc - scripts/IvasBuildAndRunChecks.py --checks CLANG2 CLANG3 --decoder_only -m $modes_no_sba -U 0:20 $common_args || exit_code_asan_usan=$? - scripts/IvasBuildAndRunChecks.py --checks CLANG2 CLANG3 --decoder_only -m $modes_hoa -U 70:80 $common_args || exit_code_asan_usan=$? - scripts/IvasBuildAndRunChecks.py --checks CLANG2 CLANG3 --decoder_only -m $modes_foa -U 75:110 $common_args || exit_code_asan_usan=$? -- GitLab From 156a69b1a1c5e14c83b2e92d8cec2c14eec97799 Mon Sep 17 00:00:00 2001 From: Jan Kiene Date: Fri, 14 Jun 2024 11:53:32 +0200 Subject: [PATCH 4/9] increase bitstream length to hopefully find the error again --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7532ca4317..da30135337 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1092,7 +1092,7 @@ check-first-frame-is-sid: - exit_code_msan=0 - exit_code_asan_usan=0 - testcase_timeout=20 - - bitstream_cut_length=5 + - bitstream_cut_length=20 - common_args="-z console -p scripts/config/ci_linux_sidstart_test.json -s --oc mono --timeout $testcase_timeout --bs_length $bitstream_cut_length" # first encoder + MSAN decoder -- GitLab From 58fcad15c0bb28a9fb86cc964b777aade4ab71a0 Mon Sep 17 00:00:00 2001 From: Jan Kiene Date: Fri, 14 Jun 2024 12:47:24 +0200 Subject: [PATCH 5/9] more bitstream length for testing --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index da30135337..d02d716355 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1092,7 +1092,7 @@ check-first-frame-is-sid: - exit_code_msan=0 - exit_code_asan_usan=0 - testcase_timeout=20 - - bitstream_cut_length=20 + - bitstream_cut_length=200 - common_args="-z console -p scripts/config/ci_linux_sidstart_test.json -s --oc mono --timeout $testcase_timeout --bs_length $bitstream_cut_length" # first encoder + MSAN decoder -- GitLab From 5c6e3dfb70c2de9fee41d6d38e02ef44a50698ca Mon Sep 17 00:00:00 2001 From: Jan Kiene Date: Fri, 14 Jun 2024 12:50:15 +0200 Subject: [PATCH 6/9] archive dec and enc log files separately --- .gitlab-ci.yml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d02d716355..d895771ba2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1105,7 +1105,10 @@ check-first-frame-is-sid: - scripts/IvasBuildAndRunChecks.py --checks CLANG1 -m $modes_no_sba -U 0:20 $common_args || exit_code_msan=$? - scripts/IvasBuildAndRunChecks.py --checks CLANG1 -m $modes_hoa -U 70:80 $common_args || exit_code_msan=$? - scripts/IvasBuildAndRunChecks.py --checks CLANG1 -m $modes_foa -U 75:110 $common_args || exit_code_msan=$? - - mv CLANG1/logs logs_msan + # archive encoder logs separately + - mkdir logs_enc logs_dec_msan + - mv CLANG1/logs/*.enc.txt logs_enc/ + - mv CLANG1/logs/*.dec*.txt logs_dec_msan/ # ASAN and USAN can be done in one go and decoder only # copy encoder output from CLANG1 dir @@ -1115,15 +1118,16 @@ check-first-frame-is-sid: - scripts/IvasBuildAndRunChecks.py --checks CLANG2 CLANG3 --decoder_only -m $modes_no_sba -U 0:20 $common_args || exit_code_asan_usan=$? - scripts/IvasBuildAndRunChecks.py --checks CLANG2 CLANG3 --decoder_only -m $modes_hoa -U 70:80 $common_args || exit_code_asan_usan=$? - scripts/IvasBuildAndRunChecks.py --checks CLANG2 CLANG3 --decoder_only -m $modes_foa -U 75:110 $common_args || exit_code_asan_usan=$? - - mv CLANG2/logs logs_asan - - mv CLANG3/logs logs_usan + - mv CLANG2/logs logs_dec_asan + - mv CLANG3/logs logs_dec_usan - if [ $exit_code_msan -ne 0 ] || [ $exit_code_asan_usan -ne 0 ]; then echo "There was either a crash or a sanitizer error encountered when decoding a bitstream that starts with an SID. Check the artifacts for the logfiles."; exit 1; fi artifacts: paths: - - logs_msan - - logs_asan - - logs_usan + - logs_enc + - logs_dec_msan + - logs_dec_asan + - logs_dec_usan when: always name: "$CI_JOB_NAME--$CI_MERGE_REQUEST_IID--sha-$CI_COMMIT_SHORT_SHA--sidstart" expose_as: "logs-sidstart" -- GitLab From 9ff907ddf4a14780edcdc0b1c5c0dc6480b6f8a2 Mon Sep 17 00:00:00 2001 From: Jan Kiene Date: Fri, 14 Jun 2024 13:05:07 +0200 Subject: [PATCH 7/9] back to 5 frames bs length --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d895771ba2..b8c989902c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1092,7 +1092,7 @@ check-first-frame-is-sid: - exit_code_msan=0 - exit_code_asan_usan=0 - testcase_timeout=20 - - bitstream_cut_length=200 + - bitstream_cut_length=5 - common_args="-z console -p scripts/config/ci_linux_sidstart_test.json -s --oc mono --timeout $testcase_timeout --bs_length $bitstream_cut_length" # first encoder + MSAN decoder -- GitLab From 4972a877170412c83ba6d46a97f9adc75e4e4956 Mon Sep 17 00:00:00 2001 From: Jan Kiene Date: Mon, 17 Jun 2024 08:56:20 +0200 Subject: [PATCH 8/9] wrap test into bash script for easier local run --- .gitlab-ci.yml | 45 ++--------------------------- ci/run-first-frame-is-sid-test.sh | 48 +++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+), 43 deletions(-) create mode 100755 ci/run-first-frame-is-sid-test.sh diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b8c989902c..13df7886bc 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1079,49 +1079,8 @@ check-first-frame-is-sid: # this rm makes check-for-testvectors only check for the signals we actually need in this test - rm scripts/config/ci_linux_ltv.json scripts/config/ci_linux.json - *check-for-testvectors - # build encoder without sanitizers for faster runtime - - make clean - - make -j IVAS_cod - - mv IVAS_cod IVAS_cod_nosan - - # run all modes and cut bitstream to start with an SID. Use mono output to limit runtime, test is only about decoding the first frame - - modes_no_sba=$(scripts/runIvasCodec.py -l | grep dtx | grep -vE "FOA|HOA" ) - - modes_hoa=$(scripts/runIvasCodec.py -l | grep dtx | grep -E "HOA") - - modes_foa=$(scripts/runIvasCodec.py -l | grep dtx | grep "FOA") - - - exit_code_msan=0 - - exit_code_asan_usan=0 - - testcase_timeout=20 - - bitstream_cut_length=5 - - common_args="-z console -p scripts/config/ci_linux_sidstart_test.json -s --oc mono --timeout $testcase_timeout --bs_length $bitstream_cut_length" - - # first encoder + MSAN decoder - # hack to use the encoder with no sanitizers - - mkdir CLANG1 - - make clean - - make IVAS_dec -j CLANG=1 - - cp IVAS_dec CLANG1/IVAS_dec - - cp IVAS_cod_nosan CLANG1/IVAS_cod - - scripts/IvasBuildAndRunChecks.py --checks CLANG1 -m $modes_no_sba -U 0:20 $common_args || exit_code_msan=$? - - scripts/IvasBuildAndRunChecks.py --checks CLANG1 -m $modes_hoa -U 70:80 $common_args || exit_code_msan=$? - - scripts/IvasBuildAndRunChecks.py --checks CLANG1 -m $modes_foa -U 75:110 $common_args || exit_code_msan=$? - # archive encoder logs separately - - mkdir logs_enc logs_dec_msan - - mv CLANG1/logs/*.enc.txt logs_enc/ - - mv CLANG1/logs/*.dec*.txt logs_dec_msan/ - - # ASAN and USAN can be done in one go and decoder only - # copy encoder output from CLANG1 dir - - mkdir CLANG2 CLANG3 - - cp -r CLANG1/enc CLANG2/enc - - cp -r CLANG1/enc CLANG3/enc - - scripts/IvasBuildAndRunChecks.py --checks CLANG2 CLANG3 --decoder_only -m $modes_no_sba -U 0:20 $common_args || exit_code_asan_usan=$? - - scripts/IvasBuildAndRunChecks.py --checks CLANG2 CLANG3 --decoder_only -m $modes_hoa -U 70:80 $common_args || exit_code_asan_usan=$? - - scripts/IvasBuildAndRunChecks.py --checks CLANG2 CLANG3 --decoder_only -m $modes_foa -U 75:110 $common_args || exit_code_asan_usan=$? - - mv CLANG2/logs logs_dec_asan - - mv CLANG3/logs logs_dec_usan - - - if [ $exit_code_msan -ne 0 ] || [ $exit_code_asan_usan -ne 0 ]; then echo "There was either a crash or a sanitizer error encountered when decoding a bitstream that starts with an SID. Check the artifacts for the logfiles."; exit 1; fi + - bash ci/run-first-frame-is-sid-test.sh + artifacts: paths: - logs_enc diff --git a/ci/run-first-frame-is-sid-test.sh b/ci/run-first-frame-is-sid-test.sh new file mode 100755 index 0000000000..28dde6b517 --- /dev/null +++ b/ci/run-first-frame-is-sid-test.sh @@ -0,0 +1,48 @@ +#! /usr/bin/bash + +# build encoder without sanitizers for faster runtime +make clean +make -j IVAS_cod +mv IVAS_cod IVAS_cod_nosan + +# run all modes and cut bitstream to start with an SID. Use mono output to limit runtime, test is only about decoding the first frame +modes_no_sba=$(scripts/runIvasCodec.py -l | grep dtx | grep -vE "FOA|HOA" ) +modes_hoa=$(scripts/runIvasCodec.py -l | grep dtx | grep -E "HOA") +modes_foa=$(scripts/runIvasCodec.py -l | grep dtx | grep "FOA") + +# config vars +testcase_timeout=20 +bitstream_cut_length=5 +common_args="-z console -p scripts/config/ci_linux_sidstart_test.json -s --oc mono --timeout $testcase_timeout --bs_length $bitstream_cut_length" + +# first encoder + MSAN decoder +# hack to use the encoder with no sanitizers +mkdir CLANG1 +make clean +make IVAS_dec -j CLANG=1 +cp IVAS_dec CLANG1/IVAS_dec +cp IVAS_cod_nosan CLANG1/IVAS_cod + +exit_code_msan=0 +scripts/IvasBuildAndRunChecks.py --checks CLANG1 -m $modes_no_sba -U 0:20 $common_args || exit_code_msan=$? +scripts/IvasBuildAndRunChecks.py --checks CLANG1 -m $modes_hoa -U 70:80 $common_args || exit_code_msan=$? +scripts/IvasBuildAndRunChecks.py --checks CLANG1 -m $modes_foa -U 75:110 $common_args || exit_code_msan=$? +# archive encoder logs separately +mkdir logs_enc logs_dec_msan +mv CLANG1/logs/*.enc.txt logs_enc/ +mv CLANG1/logs/*.dec*.txt logs_dec_msan/ + +# ASAN and USAN can be done in one go and decoder only +# copy encoder output from CLANG1 dir +mkdir CLANG2 CLANG3 +cp -r CLANG1/enc CLANG2/enc +cp -r CLANG1/enc CLANG3/enc + +exit_code_asan_usan=0 +scripts/IvasBuildAndRunChecks.py --checks CLANG2 CLANG3 --decoder_only -m $modes_no_sba -U 0:20 $common_args || exit_code_asan_usan=$? +scripts/IvasBuildAndRunChecks.py --checks CLANG2 CLANG3 --decoder_only -m $modes_hoa -U 70:80 $common_args || exit_code_asan_usan=$? +scripts/IvasBuildAndRunChecks.py --checks CLANG2 CLANG3 --decoder_only -m $modes_foa -U 75:110 $common_args || exit_code_asan_usan=$? +mv CLANG2/logs logs_dec_asan +mv CLANG3/logs logs_dec_usan + +if [ $exit_code_msan -ne 0 ] || [ $exit_code_asan_usan -ne 0 ]; then echo "There was either a crash or a sanitizer error encountered when decoding a bitstream that starts with an SID. Check the artifacts for the logfiles."; exit 1; fi -- GitLab From 3a851af8b7f750e3fee72a09b7e1a068c8061243 Mon Sep 17 00:00:00 2001 From: Jan Kiene Date: Mon, 17 Jun 2024 09:36:19 +0200 Subject: [PATCH 9/9] add printouts for better structured CI log --- ci/run-first-frame-is-sid-test.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ci/run-first-frame-is-sid-test.sh b/ci/run-first-frame-is-sid-test.sh index 28dde6b517..fb18eec5cc 100755 --- a/ci/run-first-frame-is-sid-test.sh +++ b/ci/run-first-frame-is-sid-test.sh @@ -24,8 +24,12 @@ cp IVAS_dec CLANG1/IVAS_dec cp IVAS_cod_nosan CLANG1/IVAS_cod exit_code_msan=0 +echo "-------------- 1. Encoder + Msan decoder -------------- " +echo "-------------- 1.1 all DTX modes except SBA -------------- " scripts/IvasBuildAndRunChecks.py --checks CLANG1 -m $modes_no_sba -U 0:20 $common_args || exit_code_msan=$? +echo "-------------- 1.2 HOA2 + HOA3 DTX modes -------------- " scripts/IvasBuildAndRunChecks.py --checks CLANG1 -m $modes_hoa -U 70:80 $common_args || exit_code_msan=$? +echo "-------------- 1.3 FOA DTX modes -------------- " scripts/IvasBuildAndRunChecks.py --checks CLANG1 -m $modes_foa -U 75:110 $common_args || exit_code_msan=$? # archive encoder logs separately mkdir logs_enc logs_dec_msan @@ -39,8 +43,12 @@ cp -r CLANG1/enc CLANG2/enc cp -r CLANG1/enc CLANG3/enc exit_code_asan_usan=0 +echo "-------------- 2. Asan + Usan decoder -------------- " +echo "-------------- 2.1 all DTX modes except SBA -------------- " scripts/IvasBuildAndRunChecks.py --checks CLANG2 CLANG3 --decoder_only -m $modes_no_sba -U 0:20 $common_args || exit_code_asan_usan=$? +echo "-------------- 2.2 HOA2 + HOA3 DTX modes -------------- " scripts/IvasBuildAndRunChecks.py --checks CLANG2 CLANG3 --decoder_only -m $modes_hoa -U 70:80 $common_args || exit_code_asan_usan=$? +echo "-------------- 2.3 FOA DTX modes -------------- " scripts/IvasBuildAndRunChecks.py --checks CLANG2 CLANG3 --decoder_only -m $modes_foa -U 75:110 $common_args || exit_code_asan_usan=$? mv CLANG2/logs logs_dec_asan mv CLANG3/logs logs_dec_usan -- GitLab