Merge branch 'ci/disable_s3_target_tests' into 'master'

ci: temporarily disable S3 target tests

See merge request espressif/esp-idf!17531
pull/8629/head
Ivan Grokhotkov 2022-03-22 01:01:27 +08:00
commit fb51a30878
3 zmienionych plików z 55 dodań i 39 usunięć

Wyświetl plik

@ -149,6 +149,7 @@ exclude =
components/openthread/openthread,
components/tinyusb,
components/unity/unity,
components/spiffs/spiffs,
examples/build_system/cmake/import_lib/main/lib/tinyxml2,
examples/peripherals/secure_element/atecc608_ecdsa/components/esp-cryptoauthlib,
# autogenerated scripts

Wyświetl plik

@ -41,15 +41,16 @@ example_test_pytest_esp32s2_generic:
TARGET: ESP32S2
ENV_MARKER: generic
example_test_pytest_esp32s3_generic:
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32s3
needs:
- build_pytest_examples_esp32s3
variables:
TARGET: ESP32S3
ENV_MARKER: generic
# Temporary disabled until S3 runners are added, IDFCI-1171
# example_test_pytest_esp32s3_generic:
# extends:
# - .pytest_examples_dir_template
# - .rules:test:example_test-esp32s3
# needs:
# - build_pytest_examples_esp32s3
# variables:
# TARGET: ESP32S3
# ENV_MARKER: generic
example_test_pytest_esp32c3_generic:
extends:
@ -116,15 +117,16 @@ component_ut_pytest_esp32s2_generic:
TARGET: ESP32S2
ENV_MARKER: generic
component_ut_pytest_esp32s3_generic:
extends:
- .pytest_components_dir_template
- .rules:test:component_ut-esp32s3
needs:
- build_pytest_components_esp32s3
variables:
TARGET: ESP32S3
ENV_MARKER: generic
# Temporary disabled until S3 runners are added, IDFCI-1171
# component_ut_pytest_esp32s3_generic:
# extends:
# - .pytest_components_dir_template
# - .rules:test:component_ut-esp32s3
# needs:
# - build_pytest_components_esp32s3
# variables:
# TARGET: ESP32S3
# ENV_MARKER: generic
component_ut_pytest_esp32s3_octal_psram:
extends:
@ -173,15 +175,16 @@ test_app_test_pytest_esp32s2_generic:
ENV_MARKER: generic
SETUP_TOOLS: "1" # need gdb
test_app_test_pytest_esp32s3_generic:
extends:
- .pytest_test_apps_dir_template
- .rules:test:custom_test-esp32s3
needs:
- build_pytest_test_apps_esp32s3
variables:
TARGET: ESP32S3
ENV_MARKER: generic
# Temporary disabled until S3 runners are added, IDFCI-1171
# test_app_test_pytest_esp32s3_generic:
# extends:
# - .pytest_test_apps_dir_template
# - .rules:test:custom_test-esp32s3
# needs:
# - build_pytest_test_apps_esp32s3
# variables:
# TARGET: ESP32S3
# ENV_MARKER: generic
test_app_test_pytest_esp32c3_generic:
extends:
@ -479,11 +482,12 @@ example_test_ESP32_SDSPI:
- ESP32
- UT_T1_SPIMODE
example_test_S3_GENERIC:
extends: .example_test_esp32s3_template
tags:
- ESP32S3
- Example_GENERIC
# Temporary disabled until S3 runners are added, IDFCI-1171
# example_test_S3_GENERIC:
# extends: .example_test_esp32s3_template
# tags:
# - ESP32S3
# - Example_GENERIC
example_test_ESP32S2_SDSPI:
extends: .example_test_esp32s2_template
@ -859,12 +863,13 @@ UT_C3_SDSPI:
- ESP32C3_IDF
- UT_T1_SPIMODE
UT_S3:
extends: .unit_test_esp32s3_template
parallel: 44
tags:
- ESP32S3_IDF
- UT_T1_1
# Temporary disabled until S3 runners are added, IDFCI-1171
# UT_S3:
# extends: .unit_test_esp32s3_template
# parallel: 44
# tags:
# - ESP32S3_IDF
# - UT_T1_1
UT_S3_SPI_DUAL:
extends: .unit_test_esp32s3_template

Wyświetl plik

@ -312,11 +312,21 @@ class AssignTest(object):
console_log('\t{}'.format(job['name']), 'O')
# failures
real_failure_group = []
if failed_to_assign:
for group in failed_to_assign:
if ('ESP32S3_IDF' in group.filters.values() # for example_test and custom_test
or ['ESP32S3_IDF'] in group.filters.values()): # for unit_test
console_log('Bypassing Tag "ESP32S3_IDF" missing jobs for now!!!', 'O') # FIXME
continue
real_failure_group.append(group)
if real_failure_group:
console_log('Too many test cases vs jobs to run. '
'Please increase parallel count in .gitlab/ci/target-test.yml '
'for jobs with specific tags:', 'R')
failed_group_count = self._count_groups_by_keys(failed_to_assign)
failed_group_count = self._count_groups_by_keys(real_failure_group)
for tags in failed_group_count:
console_log('\t{}: {}'.format(tags, failed_group_count[tags]), 'R')
raise RuntimeError('Failed to assign test case to CI jobs')