Unverified Commit 127b712b authored by norvell's avatar norvell
Browse files

Change speed test to split-rendering-on-merge-request

parent d9a93d7d
Loading
Loading
Loading
Loading
+31 −8
Original line number Diff line number Diff line
@@ -1271,19 +1271,42 @@ ivas-pytest-on-merge-request:
        - $REPORT_XML

split-rendering-pytest-on-merge-request:
  rules:
    - if: $CI_PIPELINE_SOURCE == 'web' && $MANUAL_PIPELINE_TYPE == "runner-speed-test"
  stage: test
  parallel:
    matrix:
      - RUNNER:
#        - test-dolby-linux-runner
#        - test-dolby-linux-runner-2
#        - test-ericsson-linux-runner
#        - test-ericsson-linux-runner-10
#        - test-ericsson-linux-runner-3
#        - test-ericsson-linux-runner-5
#        - test-ericsson-linux-runner-7
#        - test-ericsson-linux-runner-8
        - test-ericsson-linux-runner-9
#        - test-ericsson-linux-sprinter-1
#        - test-fhg-basop-runner-3
#        - test-fhg-basop-runner-4
#        - test-nokia-basop-linux-runner-2
#        - test-nokia-basop-linux-runner-3
  tags:
    - ${RUNNER}
  extends:
    - .test-job-linux-needs-testv-dir
    - .test-job-linux-compares-to-fixed-target
    - .rules-merge-request
  tags:
    - ivas-linux-fast
  timeout: "60 minutes"
  timeout: "120 minutes"
  stage: compare
  variables:
    REPORT_XML: "report--$CI_JOB_NAME-$CI_JOB_ID--sha-$CI_COMMIT_SHORT_SHA.xml"
    REPORT_HTML: "report--$CI_JOB_NAME-$CI_JOB_ID--sha-$CI_COMMIT_SHORT_SHA.html"
    REPORT_CSV: "report--$CI_JOB_NAME-$CI_JOB_ID--sha-$CI_COMMIT_SHORT_SHA.csv"
    REPORT_XML: "report--dummy--sha-$CI_COMMIT_SHORT_SHA.xml"
    REPORT_HTML: "report--dummy--sha-$CI_COMMIT_SHORT_SHA.html"
    REPORT_CSV: "report--dummy--sha-$CI_COMMIT_SHORT_SHA.csv"
  script:
    - MERGE_TARGET_COMMIT_FILE="commit_file.txt"
    - echo $CI_COMMIT_SHORT_SHA > $MERGE_TARGET_COMMIT_FILE
    - CI_MERGE_REQUEST_TARGET_BRANCH_NAME="main"
    - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-common-info.sh
    - source "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/basop/build-merge-target-binaries.sh
    - source "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/merge-request-comparison-setup-codec.sh
@@ -1291,7 +1314,7 @@ split-rendering-pytest-on-merge-request:

    # some helper variables - "|| true" to prevent failures from grep not finding anything
    # write to temporary file as workaround for failures observed with piping echo
    - echo $CI_MERGE_REQUEST_TITLE > tmp.txt
    - echo "Merge request dummy title" > tmp.txt
    - non_be_flag=$(grep -c --ignore-case "\[split*[ -]*non[ -]*be\]" tmp.txt) || true
    # TODO: ref_using_target comes from float repo, but does not apply here - disable for now
    # - ref_using_target=$(grep -c --ignore-case "\[ref[ -]*using[ -]*target\]" tmp.txt) || true
@@ -1331,7 +1354,7 @@ split-rendering-pytest-on-merge-request:
    exit_codes:
      - 123
  artifacts:
    name: "mr-$CI_MERGE_REQUEST_IID--sha-$CI_COMMIT_SHORT_SHA--job-$CI_JOB_NAME--results"
    name: "mr-$CI_MERGE_REQUEST_IID--sha-$CI_COMMIT_SHORT_SHA--job-jobname--results"
    expire_in: 2 week
    when: always
    paths: