Commit 8ba891a6 authored by Jan Kiene's avatar Jan Kiene
Browse files

changes from main in ci/ folder

parent cc2698bf
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -7,9 +7,7 @@

  <h2>Regression tracking</h2>

  <ul>
  <li><a href="long_term_regression.html">Long term regression</a></li>
  </ul>

  <h2>Daily long testvector tests</h2>

+0 −92
Original line number Diff line number Diff line
__copyright__ = """
(C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
contributors to this repository. All Rights Reserved.

This software is protected by copyright law and by international treaties.
The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
contributors to this repository retain full ownership rights in their respective contributions in
the software. This notice grants no license of any kind, including but not limited to patent
license, nor is any license granted by implication, estoppel or otherwise.

Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
contributions.

This software is provided "AS IS", without any express or implied warranties. The software is in the
development stage. It is intended exclusively for experts who have experience with such software and
solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
and fitness for a particular purpose are hereby disclaimed and excluded.

Any dispute, controversy or claim arising under or in relation to providing this software shall be
submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
the United Nations Convention on Contracts on the International Sales of Goods.
"""

from pathlib import Path
import argparse

# Enter tag of testcases to remove here WITHOUT the leading //
TESTCASES = [
    # self_test.prm
    # currently still crashing on BASOP main only, ivas-float-update is fine
    "Multi-channel 7_1_4 bitrate switching, 48kHz in, 48kHz out, BINAURAL out, HR, JBM Prof 5",
    "OMASA 2Dir2TC 4ISM at br sw techs 13.2 to 512 kbps start 80 kbps, 48kHz in, 48kHz out, EXT out",
    "OMASA vdir2TC 3ISM at br sw techs 13.2 to 512 kbps start 160 kbps, 48kHz in, 48kHz out, MONO out, JBM Prof 5",
    # self_test_ltv.prm
    # rtpdump tests (also skipped in pytest code, but for documentation purposes added here as well)
    "stereo bitrate switching from 13.2 kbps to 128 kbps, 48kHz in, 48kHz out, DTX on, EXT out, rtpdump",
    "4 ISM with metadata bitrate switching from 24.4 kbps to 512 kbps, 48 kHz in, 48 kHz out, DTX on, BINAURAL out, rtpdump, PI data",
    "SBA FOA bitrate switching from 13.2 kbps to 512 kbps, 48kHz in, 48kHz out, DTX on, BINAURAL out, rtpdump, PI data",
    "MASA 2dir 2TC bitrate switching from 13.2 kbps to 512 kbps, 48kHz in, 48kHz out, DTX on, BINAURAL out, rtpdump, PI data",
    "Multi-channel 5_1 bitrate switching from 13.2 kbps to 512 kbps, 48kHz in, 48kHz out, BINAURAL out, rtpdump, PI data",
    "Stereo downmix to bit-exact EVS at 24400 kbps, 48kHz in, 48kHz out, rtpdump",
    "EVS at 13.2 kbps, 48kHz in, 48kHz out, STEREO out, rtpdump",
    "OMASA 2Dir2TC 3ISM at br sw techs 13.2 to 512 kbps start 160 kbps, 48kHz in, 48kHz out, BINAURAL out, rtpdump, PI data",
    "OSBA 2ISM 2OA at bitrate switching 13.2 to 512 kbps, 48kHz in, 48kHz out, BINAURAL out, rtpdump, PI data",
    "OMASA vdir2TC 3ISM at br sw techs 13.2 to 512 kbps start 160 kbps, 48kHz in, 48kHz out, BINAURAL out, rtpdump, PI data",
    "OMASA vdir2TC 4ISM at br sw techs 13.2 to 512 kbps start 80 kbps, 48kHz in, 48kHz out, HOA3 out",
    "OMASA vdir1TC 3ISM at br sw techs 13.2 to 512 kbps start 48 kbps, 48kHz in, 32kHz out, STEREO out, JBM Prof 5",
    "OMASA vdir2TC 4ISM at br sw techs 13.2 to 512 kbps start 80 kbps, 48kHz in, 48kHz out, EXT out",
    "OMASA vdir2TC 4ISM at br sw techs 13.2 to 512 kbps start 80 kbps, 48kHz in, 48kHz out, FOA out, JBM Prof 5",
    "OMASA vdir1TC 3ISM at br sw techs 13.2 to 512 kbps start 48 kbps, 48kHz in, 32kHz out, STEREO out, FER at 10%",
]



def remove_testcases(cfg: Path, testcases: list):
    """
    Go through file line by line and copy all testcases except the given ones
    """
    with open(cfg, "r") as f:
        content_in = f.readlines()

    content_out = list()
    copy_flag = True
    for line in content_in:
        if any([tc in line for tc in testcases]):
            copy_flag = False

        if copy_flag:
            content_out.append(line)
        elif line == "\n":
            copy_flag = True

    with open(cfg, "w") as f:
        f.write("".join(content_out))


if __name__ == "__main__":
    parser = argparse.ArgumentParser()
    parser.add_argument("cfg_files", nargs="+", type=Path)
    args = parser.parse_args()

    testcases = TESTCASES

    for f in args.cfg_files:
        remove_testcases(f, testcases)
+1 −5
Original line number Diff line number Diff line
@@ -71,7 +71,7 @@ JOBS_BASOP_REPO = {
    "complexity-osba-in-binaural_room_ir-out": "OSBA in, BINAURAL_ROOM_IR out",
    "complexity-stereo-in-stereo-out": "Stereo in, Stereo out",
    # "timeless" jobs (not complexity)
    "coverage-test-on-main-scheduled": "Coverage report",
    "ivas-conformance-linux": "Conformance test coverage",
    "ivas-long-term-job-logs-overview": "Long term logs",
}

@@ -81,13 +81,10 @@ JOBS_FOR_PROJECT_ID = {
}

ARTIFACT_FOLDER_4_COVERAGE_JOBS = {
    # for float
    "coverage-test-on-main-scheduled-stv": "coverage_stv",
    "coverage-test-on-main-scheduled-ltv": "coverage_ltv",
    "ivas-conformance-linux": "coverage_conformance",
    "coverage-merge": "coverage-merged",
    # for BASOP
    "coverage-test-on-main-scheduled": "coverage_enc_dec_rend",
}

ARTIFACTS = "artifacts.zip"
@@ -146,7 +143,6 @@ def create_landing_page(jobs, index_html, project_id):

    link_html_complexity_text = "\n".join(link_html_complexity)
    link_html_coverage_text = "\n".join(link_html_coverage)

    index_pages_tmpl = index_pages_tmpl.format(
        link_html_complexity_text, link_html_coverage_text
    )