Commit 1a1490d2 authored by Jan Kiene's avatar Jan Kiene
Browse files

use new scripts in basop, too

parent 6d9fce91
Loading
Loading
Loading
Loading
+120 −17
Original line number Diff line number Diff line
@@ -1597,23 +1597,6 @@ lc3-wrapper-unit-test:
  extends:
    - .rules-merge-request
    - .test-job-linux
  artifacts:
    name: "mr-$CI_MERGE_REQUEST_IID--sha-$CI_COMMIT_SHORT_SHA--job-$CI_JOB_NAME--results"
    expire_in: 1 week
    when: always
    paths:
      - report-junit-20ms.xml
      - report-junit-10ms.xml
      - report-junit-5ms.xml
      - report-20ms.html
      - report-10ms.html
      - report-5ms.html
    expose_as: "Sanitizer selftest results"
    reports:
      junit:
        - report-junit-20ms.xml
        - report-junit-10ms.xml
        - report-junit-5ms.xml

# From float repo
# to be reused in MR test jobs
@@ -1679,6 +1662,32 @@ codec-msan:
    - SELF_TEST_PRM_FILE="scripts/config/self_test.prm"
    - USE_LTV=""
    - *sanitizer-selftest-anchor
  after_script:
    - python3 scripts/parse_sanitizer_errors_from_xml_report.py report-junit-20ms.xml msan-errors-20ms.csv
    - python3 scripts/parse_sanitizer_errors_from_xml_report.py report-junit-10ms.xml msan-errors-10ms.csv
    - python3 scripts/parse_sanitizer_errors_from_xml_report.py report-junit-5ms.xml msan-errors-5ms.csv
  artifacts:
    name: "mr-$CI_MERGE_REQUEST_IID--sha-$CI_COMMIT_SHORT_SHA--stage-$CI_JOB_STAGE--results"
    expire_in: 1 week
    when: always
    # NOTE: artifacts paths can't contain '*' when used with 'expose_as'
    # --> reminder for next time you wanna make this more concise...
    paths:
      - report-junit-20ms.xml
      - report-junit-10ms.xml
      - report-junit-5ms.xml
      - report-20ms.html
      - report-10ms.html
      - report-5ms.html
      - msan-errors-20ms.csv
      - msan-errors-10ms.csv
      - msan-errors-5ms.csv
    expose_as: "Sanitizer selftest results"
    reports:
      junit:
        - report-junit-20ms.xml
        - report-junit-10ms.xml
        - report-junit-5ms.xml

# code selftest testvectors with address-sanitizer binaries
codec-asan:
@@ -1692,6 +1701,32 @@ codec-asan:
    - SELF_TEST_PRM_FILE="scripts/config/self_test.prm"
    - USE_LTV=""
    - *sanitizer-selftest-anchor
  after_script:
    - python3 scripts/parse_sanitizer_errors_from_xml_report.py report-junit-20ms.xml asan-errors-20ms.csv
    - python3 scripts/parse_sanitizer_errors_from_xml_report.py report-junit-10ms.xml asan-errors-10ms.csv
    - python3 scripts/parse_sanitizer_errors_from_xml_report.py report-junit-5ms.xml asan-errors-5ms.csv
  artifacts:
    name: "mr-$CI_MERGE_REQUEST_IID--sha-$CI_COMMIT_SHORT_SHA--stage-$CI_JOB_STAGE--results"
    expire_in: 1 week
    when: always
    # NOTE: artifacts paths can't contain '*' when used with 'expose_as'
    # --> reminder for next time you wanna make this more concise...
    paths:
      - report-junit-20ms.xml
      - report-junit-10ms.xml
      - report-junit-5ms.xml
      - report-20ms.html
      - report-10ms.html
      - report-5ms.html
      - asan-errors-20ms.csv
      - asan-errors-10ms.csv
      - asan-errors-5ms.csv
    expose_as: "Sanitizer selftest results"
    reports:
      junit:
        - report-junit-20ms.xml
        - report-junit-10ms.xml
        - report-junit-5ms.xml

# code selftest testvectors with undefined-behaviour-sanitizer binaries
codec-usan:
@@ -1705,6 +1740,32 @@ codec-usan:
    - SELF_TEST_PRM_FILE="scripts/config/self_test.prm"
    - USE_LTV=""
    - *sanitizer-selftest-anchor
  after_script:
    - python3 scripts/parse_sanitizer_errors_from_xml_report.py report-junit-20ms.xml ubsan-errors-20ms.csv
    - python3 scripts/parse_sanitizer_errors_from_xml_report.py report-junit-10ms.xml ubsan-errors-10ms.csv
    - python3 scripts/parse_sanitizer_errors_from_xml_report.py report-junit-5ms.xml ubsan-errors-5ms.csv
  artifacts:
    name: "mr-$CI_MERGE_REQUEST_IID--sha-$CI_COMMIT_SHORT_SHA--stage-$CI_JOB_STAGE--results"
    expire_in: 1 week
    when: always
    # NOTE: artifacts paths can't contain '*' when used with 'expose_as'
    # --> reminder for next time you wanna make this more concise...
    paths:
      - report-junit-20ms.xml
      - report-junit-10ms.xml
      - report-junit-5ms.xml
      - report-20ms.html
      - report-10ms.html
      - report-5ms.html
      - ubsan-errors-20ms.csv
      - ubsan-errors-10ms.csv
      - ubsan-errors-5ms.csv
    expose_as: "Sanitizer selftest results"
    reports:
      junit:
        - report-junit-20ms.xml
        - report-junit-10ms.xml
        - report-junit-5ms.xml

# ---------------------------------------------------------------
# Short test jobs for running from web interface or schedule
@@ -1991,6 +2052,20 @@ ivas-pytest-msan:
    - CLANG_NUM=1
    - TEST_SUITE=$LONG_TEST_SUITE_NO_RENDERER
  <<: *ivas-pytest-sanitizers-anchor
  after_script:
    - python3 scripts/parse_sanitizer_errors_from_xml_report.py report-junit.xml msan-errors.csv
  artifacts:
    name: "$CI_JOB_NAME--sha-$CI_COMMIT_SHORT_SHA--results"
    expire_in: 2 weeks
    when: always
    paths:
      - report-junit.xml
      - report.html
      - msan-errors.csv
    expose_as: "Sanitizer selftest results"
    reports:
      junit:
        - report-junit.xml

ivas-pytest-asan:
  extends:
@@ -2010,6 +2085,20 @@ ivas-pytest-asan:
    - CLANG_NUM=2
    - TEST_SUITE=$LONG_TEST_SUITE_NO_RENDERER
  <<: *ivas-pytest-sanitizers-anchor
  after_script:
    - python3 scripts/parse_sanitizer_errors_from_xml_report.py report-junit.xml asan-errors.csv
  artifacts:
    name: "$CI_JOB_NAME--sha-$CI_COMMIT_SHORT_SHA--results"
    expire_in: 2 weeks
    when: always
    paths:
      - report-junit.xml
      - report.html
      - asan-errors.csv
    expose_as: "Sanitizer selftest results"
    reports:
      junit:
        - report-junit.xml

ivas-pytest-usan:
  extends:
@@ -2029,6 +2118,20 @@ ivas-pytest-usan:
    - CLANG_NUM=3
    - TEST_SUITE=$LONG_TEST_SUITE_NO_RENDERER
  <<: *ivas-pytest-sanitizers-anchor
  after_script:
    - python3 scripts/parse_sanitizer_errors_from_xml_report.py report-junit.xml usan-errors.csv
  artifacts:
    name: "$CI_JOB_NAME--sha-$CI_COMMIT_SHORT_SHA--results"
    expire_in: 2 weeks
    when: always
    paths:
      - report-junit.xml
      - report.html
      - usan-errors.csv
    expose_as: "Sanitizer selftest results"
    reports:
      junit:
        - report-junit.xml

# Manual long self-test (not including tests_sba.py) against BASOP main
test-long-self-test: