From 7b0013280a1e349f249a25f4ccedcb3fba0076ed Mon Sep 17 00:00:00 2001 From: Jan Kiene Date: Wed, 29 Jan 2025 09:33:25 +0100 Subject: [PATCH 1/3] [revert-me] temporarily disable some jobs to save pl time while testing --- .gitlab-ci.yml | 70 +++++++++++++++++++++++++------------------------- 1 file changed, 35 insertions(+), 35 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f62acb284..46082ddf5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -762,41 +762,41 @@ build-codec-linux-debugging-make: # <<: *ivas-pytest-on-merge-request-anchor ### jobs that test flt encoder -> fx decoder -ivas-pytest-compare_to_main-short-dec: - extends: - - .rules-pytest-to-main-short - - .test-job-linux - before_script: - - USE_LTV=0 - - DUT_ENCODER_PATH=./IVAS_cod_ref - - TEST_SUITE="$SHORT_TEST_SUITE" - - LEVEL_SCALING=1.0 - - rm -rf tests/dut tests/ref - <<: *ivas-pytest-on-merge-request-anchor - -ivas-pytest-compare_to_main-short-dec-lev-10: - extends: - - .rules-pytest-to-main-short - - .test-job-linux - before_script: - - USE_LTV=0 - - DUT_ENCODER_PATH=./IVAS_cod_ref - - TEST_SUITE="$SHORT_TEST_SUITE" - - LEVEL_SCALING=0.3162 - - rm -rf tests/dut tests/ref - <<: *ivas-pytest-on-merge-request-anchor - -ivas-pytest-compare_to_main-short-dec-lev+10: - extends: - - .rules-pytest-to-main-short - - .test-job-linux - before_script: - - USE_LTV=0 - - DUT_ENCODER_PATH=./IVAS_cod_ref - - TEST_SUITE="$SHORT_TEST_SUITE" - - LEVEL_SCALING=3.162 - - rm -rf tests/dut tests/ref - <<: *ivas-pytest-on-merge-request-anchor +# ivas-pytest-compare_to_main-short-dec: +# extends: +# - .rules-pytest-to-main-short +# - .test-job-linux +# before_script: +# - USE_LTV=0 +# - DUT_ENCODER_PATH=./IVAS_cod_ref +# - TEST_SUITE="$SHORT_TEST_SUITE" +# - LEVEL_SCALING=1.0 +# - rm -rf tests/dut tests/ref +# <<: *ivas-pytest-on-merge-request-anchor +# +# ivas-pytest-compare_to_main-short-dec-lev-10: +# extends: +# - .rules-pytest-to-main-short +# - .test-job-linux +# before_script: +# - USE_LTV=0 +# - DUT_ENCODER_PATH=./IVAS_cod_ref +# - TEST_SUITE="$SHORT_TEST_SUITE" +# - LEVEL_SCALING=0.3162 +# - rm -rf tests/dut tests/ref +# <<: *ivas-pytest-on-merge-request-anchor +# +# ivas-pytest-compare_to_main-short-dec-lev+10: +# extends: +# - .rules-pytest-to-main-short +# - .test-job-linux +# before_script: +# - USE_LTV=0 +# - DUT_ENCODER_PATH=./IVAS_cod_ref +# - TEST_SUITE="$SHORT_TEST_SUITE" +# - LEVEL_SCALING=3.162 +# - rm -rf tests/dut tests/ref +# <<: *ivas-pytest-on-merge-request-anchor # --------------------------------------------------------------- # Short test jobs for running from web interface or schedule -- GitLab From e3f3dd7de8df292f1b248a325cb7f9b8f3c18269 Mon Sep 17 00:00:00 2001 From: Jan Kiene Date: Wed, 29 Jan 2025 09:45:14 +0100 Subject: [PATCH 2/3] remove --enc_stats argument for testing --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 46082ddf5..d1395256e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -160,7 +160,7 @@ stages: # create references - exit_code=0 - enc_stats_arg="" - - if [ "$ENCODER_TEST" = "true" ]; then enc_stats_arg="--enc_stats"; fi + # - if [ "$ENCODER_TEST" = "true" ]; then enc_stats_arg="--enc_stats"; fi - python3 -m pytest $TEST_SUITE -v --update_ref 1 $enc_stats_arg --create_ref -n auto --ref_encoder_path $REF_ENCODER_PATH --ref_decoder_path $REF_DECODER_PATH --dut_encoder_path $DUT_ENCODER_PATH --dut_decoder_path $DUT_DECODER_PATH || exit_code=$? .update-scripts-repo: &update-scripts-repo @@ -310,7 +310,7 @@ stages: - *build-and-create-reference-outputs - comp_args="--mld --ssnr --odg" - - if [ "$ENCODER_TEST" = "true" ]; then comp_args="${comp_args} --enc_stats"; fi + # - if [ "$ENCODER_TEST" = "true" ]; then comp_args="${comp_args} --enc_stats"; fi - echo "$comp_args" ### run pytest -- GitLab From 950edc8f1955c240bcc525b36c1062a0510a3b93 Mon Sep 17 00:00:00 2001 From: Jan Kiene Date: Wed, 29 Jan 2025 09:57:33 +0100 Subject: [PATCH 3/3] try without DEBUG_MODE_INFO --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d1395256e..3192bfdbe 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -307,6 +307,7 @@ stages: - fi - if [ "$ENCODER_TEST" = "true" ]; then BUILD_WITH_DEBUG_MODE_INFO="true"; fi + - BUILD_WITH_DEBUG_MODE_INFO="false" - *build-and-create-reference-outputs - comp_args="--mld --ssnr --odg" -- GitLab