[CI] BE analysis in the conformance test in CI system doesnt run
- Related issues: #1595 (closed)
- Requested reviewers: @norvell
Reason why this change is needed
@norvell reported:
I ran the BE check with the test implementations that we have in the CI: snippets/ivas-conformance.sh and pytest test_26252.py. It should be equivalent, though.
I first ran the test vector generation on the target platform, in this case the runner with clang18 and new binaries in CUT_BIN_DIR.
PYTHONPATH=scripts python scripts/ivas_conformance/runConformance.py --testvecDir $PWD/testvec --cut_build_path=CUT_BIN_DIR
When I ran the BE test with the runConformance.py I get this error:
~/26252_IVAS-FL-3.1$ PYTHONPATH=scripts python scripts/ivas_conformance/runConformance.py --testvecDir $PWD/testvec --ref_build_path=testvec/bin --analyse --be-testAccumulating commands from Readme_IVAS_enc.txtAccumulating commands from Readme_IVAS_ISAR_post_rend.txtAccumulating commands from Readme_IVAS_ISAR_dec.txtAccumulating commands from Readme_IVAS_dec.txtAccumulating commands from Readme_IVAS_JBM_dec.txtAccumulating commands from Readme_IVAS_rend.txt No of tests: ENC : 376 DEC : 640 REND : 993 ISAR_ENC : 1032 ISAR : 1032 Analysing tests for ENC (376 tests):---------------------------Traceback (most recent call last): File "/home/eerikno/26252_IVAS-FL-3.1/scripts/ivas_conformance/runConformance.py", line 2446, in <module> tag_ok = conformance.analyseTag(tag) File "/home/eerikno/26252_IVAS-FL-3.1/scripts/ivas_conformance/runConformance.py", line 1421, in analyseTag analysis_ok, be_failure_csv = self.doBEanalysis(selectTag=tag) ^^^^^^^^^^^^^^^^^^^^^^^^^^^TypeError: cannot unpack non-iterable NoneType object
Description of the change
The doBEanalysis() function had no return statement, so it returned None. The analyseTag() function expects a tuple from doBEanalysis(), which caused the crash:
TypeError: cannot unpack non-iterable NoneType object
Affected operating points
- BE fix
- Doesn't affect the generated test vectors or MLD corridors
Edited by Vladimir Malenovsky