esp-idf/.gitlab/ci/target-test.yml

1536 lines
41 KiB
YAML
Raw Normal View History

.target_test_template:
2022-01-31 01:20:59 -05:00
image: $TARGET_TEST_ENV_IMAGE
2023-11-01 07:43:19 -04:00
extends:
- .before_script:fetch:target_test
2021-11-19 03:11:47 -05:00
stage: target_test
timeout: 1 hour
dependencies: []
cache:
# Usually do not need submodule-cache in target_test
- key: pip-cache
paths:
- .cache/pip
policy: pull
.pytest_template:
extends:
- .target_test_template
2021-11-19 03:11:47 -05:00
artifacts:
when: always
paths:
- XUNIT_RESULT.xml
2022-04-02 04:47:58 -04:00
- pytest_embedded_log/
2021-11-19 03:11:47 -05:00
reports:
junit: XUNIT_RESULT.xml
expire_in: 1 week
2021-11-19 03:11:47 -05:00
script:
2022-03-14 03:33:14 -04:00
- retry_failed git clone $KNOWN_FAILURE_CASES_REPO known_failure_cases
# get runner env config file
- retry_failed git clone $TEST_ENV_CONFIG_REPO
- python $CHECKOUT_REF_SCRIPT ci-test-runner-configs ci-test-runner-configs
2022-05-21 12:38:17 -04:00
# using runner tags as markers to filter the test cases
# Runner tags are comma separated, replace the comma with " and " for markers
- job_tags=$(python tools/ci/python_packages/gitlab_api.py get_job_tags $CI_PROJECT_ID --job_id $CI_JOB_ID)
- markers=$(echo $job_tags | sed -e "s/,/ and /g")
- if [ -n "$BUILD_JOB_NAME" ]; then
job_name=$BUILD_JOB_NAME;
else
job_name=${BUILD_JOB_PREFIX}$(python tools/ci/ci_get_mr_info.py target_in_tags $job_tags);
fi
- run_cmd python tools/ci/artifacts_handler.py download --job-name "$job_name" --type build_dir_without_map_and_elf_files
- if [ -n "$REQUIRES_ELF_FILES" ]; then
run_cmd python tools/ci/artifacts_handler.py download --job-name "$job_name" --type map_and_elf_files;
fi
- run_cmd pytest $TEST_DIR
-m \"${markers}\"
--junitxml=XUNIT_RESULT.xml
--ignore-result-files known_failure_cases/known_failure_cases.txt
--parallel-count ${CI_NODE_TOTAL:-1}
--parallel-index ${CI_NODE_INDEX:-1}
${PYTEST_EXTRA_FLAGS}
--app-info-filepattern \"list_job_*.txt\"
2021-11-19 03:11:47 -05:00
.pytest_examples_dir_template:
extends: .pytest_template
variables:
TEST_DIR: examples
BUILD_JOB_PREFIX: build_pytest_examples_
.pytest_examples_dir_jtag_template:
extends: .pytest_examples_dir_template
needs:
- job: build_pytest_examples_jtag
artifacts: false
variables:
BUILD_JOB_NAME: build_pytest_examples_jtag
REQUIRES_ELF_FILES: "1"
PYTEST_EXTRA_FLAGS: "--log-cli-level DEBUG"
2021-11-19 03:11:47 -05:00
2023-04-05 23:10:41 -04:00
pytest_examples_esp32_generic:
2021-11-19 03:11:47 -05:00
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32
needs:
- job: build_pytest_examples_esp32
artifacts: false
2022-05-21 12:38:17 -04:00
tags: [ esp32, generic ]
parallel: 3
2021-11-19 03:11:47 -05:00
2023-04-05 23:10:41 -04:00
pytest_examples_esp32_esp32eco3:
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32
needs:
- job: build_pytest_examples_esp32
artifacts: false
tags: [ esp32, esp32eco3 ]
2023-04-05 23:10:41 -04:00
pytest_examples_esp32_ir_transceiver:
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32
needs:
- job: build_pytest_examples_esp32
artifacts: false
2022-05-21 12:38:17 -04:00
tags: [ esp32, ir_transceiver ]
2023-04-05 23:10:41 -04:00
pytest_examples_esp32_twai_transceiver:
2022-10-27 05:36:31 -04:00
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32
needs:
- job: build_pytest_examples_esp32
artifacts: false
2022-10-27 05:36:31 -04:00
tags: [ esp32, twai_transceiver ]
2023-04-05 23:10:41 -04:00
pytest_examples_esp32_twai_network:
2022-10-27 05:36:31 -04:00
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32
needs:
- job: build_pytest_examples_esp32
artifacts: false
2022-10-27 05:36:31 -04:00
tags: [ esp32, twai_network ]
2023-04-05 23:10:41 -04:00
pytest_examples_esp32_jtag:
extends:
- .pytest_examples_dir_jtag_template
- .rules:test:example_test-esp32
tags: [ esp32, jtag ]
pytest_examples_esp32_ccs811:
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32
needs:
- job: build_pytest_examples_esp32
artifacts: false
tags: [ esp32, ccs811 ]
pytest_examples_esp32_sdio:
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32-sdio
needs:
- job: build_pytest_examples_esp32
artifacts: false
tags: [ esp32, sdio_master_slave ]
2023-04-05 23:10:41 -04:00
pytest_examples_esp32s2_generic:
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32s2
needs:
- job: build_pytest_examples_esp32s2
artifacts: false
2022-05-21 12:38:17 -04:00
tags: [ esp32s2, generic ]
parallel: 3
2023-04-05 23:10:41 -04:00
pytest_examples_esp32s2_jtag:
extends:
- .pytest_examples_dir_jtag_template
- .rules:test:example_test-esp32s2
tags: [ esp32s2, jtag ]
2023-04-05 23:10:41 -04:00
pytest_examples_esp32s3_generic:
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32s3
needs:
- job: build_pytest_examples_esp32s3
artifacts: false
2022-05-21 12:38:17 -04:00
tags: [ esp32s3, generic ]
parallel: 3
2023-04-05 23:10:41 -04:00
pytest_examples_esp32s3_usb_serial_jtag:
extends:
- .pytest_examples_dir_jtag_template
- .rules:test:example_test-esp32s3
tags: [ esp32s3, usb_serial_jtag ]
2023-04-05 23:10:41 -04:00
pytest_examples_esp32s3_f4r8:
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32s3
needs:
- job: build_pytest_examples_esp32s3
artifacts: false
tags: [ esp32s3, MSPI_F4R8 ]
2023-04-05 23:10:41 -04:00
pytest_examples_esp32c2_generic:
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32c2
needs:
- job: build_pytest_examples_esp32c2
artifacts: false
tags: [ esp32c2, generic, xtal_40mhz ]
parallel: 3
2023-04-05 23:10:41 -04:00
pytest_examples_esp32c2_jtag:
extends:
- .pytest_examples_dir_jtag_template
- .rules:test:example_test-esp32c2
tags: [ esp32c2, jtag ]
2023-04-05 23:10:41 -04:00
pytest_examples_esp32c3_generic:
2021-11-19 03:11:47 -05:00
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32c3
needs:
- job: build_pytest_examples_esp32c3
artifacts: false
2022-05-21 12:38:17 -04:00
tags: [ esp32c3, generic ]
parallel: 3
2021-11-19 03:11:47 -05:00
2023-04-05 23:10:41 -04:00
pytest_examples_esp32c3_usb_serial_jtag:
extends:
- .pytest_examples_dir_jtag_template
- .rules:test:example_test-esp32c3
tags: [ esp32c3, usb_serial_jtag ]
2023-04-05 23:10:41 -04:00
pytest_examples_esp32c3_flash_suspend:
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32c3
needs:
- job: build_pytest_examples_esp32c3
artifacts: false
2022-05-21 12:38:17 -04:00
tags: [ esp32c3, flash_suspend ]
2023-04-05 23:10:41 -04:00
pytest_examples_esp32c6_generic:
2022-11-09 02:28:20 -05:00
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32c6
needs:
- job: build_pytest_examples_esp32c6
artifacts: false
2022-11-09 02:28:20 -05:00
tags: [ esp32c6, generic ]
2023-04-05 23:10:41 -04:00
pytest_examples_esp32h2_generic:
2023-01-19 01:47:44 -05:00
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32h2
needs:
- job: build_pytest_examples_esp32h2
artifacts: false
2023-01-19 01:47:44 -05:00
tags: [ esp32h2, generic ]
2023-04-05 23:10:41 -04:00
pytest_examples_esp32_ethernet_ota:
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32-ethernet
needs:
- job: build_pytest_examples_esp32
artifacts: false
tags: [ esp32, ethernet_ota ]
2023-04-05 23:10:41 -04:00
pytest_examples_esp32_wifi_high_traffic:
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32-wifi
needs:
- job: build_pytest_examples_esp32
artifacts: false
tags: [ esp32, wifi_high_traffic ]
2023-04-05 23:10:41 -04:00
pytest_examples_esp32_flash_encryption_wifi_high_traffic:
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32-include_nightly_run-rule
needs:
- job: build_pytest_examples_esp32
artifacts: false
tags: [ esp32, flash_encryption_wifi_high_traffic ]
2023-04-05 23:10:41 -04:00
pytest_examples_esp32c3_flash_encryption_wifi_high_traffic:
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32c3-include_nightly_run-rule
needs:
- job: build_pytest_examples_esp32c3
artifacts: false
tags: [ esp32c3, flash_encryption_wifi_high_traffic ]
2023-04-05 23:10:41 -04:00
pytest_examples_esp32_ethernet:
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32-ethernet
needs:
- job: build_pytest_examples_esp32
artifacts: false
2022-05-21 12:38:17 -04:00
tags: [ esp32, ethernet]
pytest_examples_esp32_ethernet_httpbin:
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32-ethernet
needs:
- job: build_pytest_examples_esp32
artifacts: false
tags: [ esp32, httpbin]
2023-04-05 23:10:41 -04:00
pytest_examples_esp32_8mb_flash:
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32
needs:
- job: build_pytest_examples_esp32
artifacts: false
2022-05-21 12:38:17 -04:00
tags: [ esp32, ethernet_flash_8m ]
2023-04-05 23:10:41 -04:00
pytest_examples_esp32_wifi_ap:
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32-wifi
needs:
- job: build_pytest_examples_esp32
artifacts: false
tags: [ esp32, wifi_ap ]
2023-04-05 23:10:41 -04:00
pytest_examples_esp32c3_wifi_ap:
2022-12-07 05:07:07 -05:00
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32c3-wifi
needs:
- job: build_pytest_examples_esp32c3
artifacts: false
2022-12-07 05:07:07 -05:00
tags: [ esp32c3, wifi_ap ]
2023-04-05 23:10:41 -04:00
pytest_examples_esp32s3_wifi_ap:
2022-12-07 05:07:07 -05:00
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32s3-wifi
needs:
- job: build_pytest_examples_esp32s3
artifacts: false
2022-12-07 05:07:07 -05:00
tags: [ esp32s3, wifi_ap ]
pytest_examples_esp32s2_wifi_ap:
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32s2-wifi
needs:
- job: build_pytest_examples_esp32s2
artifacts: false
tags: [ esp32s2, wifi_ap ]
pytest_examples_esp32c2_wifi_ap:
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32c2-wifi
needs:
- job: build_pytest_examples_esp32c2
artifacts: false
tags: [ esp32c2, wifi_ap, xtal_40mhz ]
pytest_examples_esp32c2_26m_wifi_ap:
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32c2-wifi
needs:
- job: build_pytest_examples_esp32c2
artifacts: false
tags: [ esp32c2, wifi_ap, xtal_26mhz ]
pytest_examples_esp32c6_wifi_ap:
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32c6-wifi
needs:
- job: build_pytest_examples_esp32c6
artifacts: false
tags: [ esp32c6, wifi_ap ]
2023-04-05 23:10:41 -04:00
pytest_examples_esp32_wifi_router:
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32-wifi
needs:
- job: build_pytest_examples_esp32
artifacts: false
tags: [ esp32, wifi_router ]
2023-04-05 23:10:41 -04:00
pytest_examples_esp32c3_wifi_router:
2022-12-07 05:07:07 -05:00
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32c3-wifi
needs:
- job: build_pytest_examples_esp32c3
artifacts: false
2022-12-07 05:07:07 -05:00
tags: [ esp32c3, wifi_router ]
2023-04-05 23:10:41 -04:00
pytest_examples_esp32s3_wifi_router:
2022-12-07 05:07:07 -05:00
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32s3-wifi
needs:
- job: build_pytest_examples_esp32s3
artifacts: false
2022-12-07 05:07:07 -05:00
tags: [ esp32s3, wifi_router ]
pytest_examples_esp32s2_wifi_router:
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32s2-wifi
needs:
- job: build_pytest_examples_esp32s2
artifacts: false
tags: [ esp32s2, wifi_router ]
pytest_examples_esp32c2_wifi_router:
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32c2-wifi
needs:
- job: build_pytest_examples_esp32c2
artifacts: false
tags: [ esp32c2, wifi_router, xtal_40mhz ]
pytest_examples_esp32c2_26m_wifi_router:
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32c2-wifi
needs:
- job: build_pytest_examples_esp32c2
artifacts: false
tags: [ esp32c2, wifi_router, xtal_26mhz ]
pytest_examples_esp32c6_wifi_router:
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32c6-wifi
needs:
- job: build_pytest_examples_esp32c6
artifacts: false
tags: [ esp32c6, wifi_router ]
2023-04-05 23:10:41 -04:00
pytest_examples_esp32_wifi_iperf:
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32-wifi
needs:
- job: build_pytest_examples_esp32
artifacts: false
tags: [ esp32, Example_ShieldBox_Basic ]
2022-12-07 05:07:07 -05:00
2023-04-05 23:10:41 -04:00
pytest_examples_esp32_wifi_wlan:
2022-05-10 05:42:17 -04:00
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32-wifi
2022-05-10 05:42:17 -04:00
needs:
- job: build_pytest_examples_esp32
artifacts: false
tags: [ esp32, wifi_wlan ]
2022-05-10 05:42:17 -04:00
2023-04-05 23:10:41 -04:00
pytest_examples_esp32_ethernet_router:
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32-ethernet
needs:
- job: build_pytest_examples_esp32
artifacts: false
tags: [ esp32, ethernet_router ]
pytest_examples_esp32_ethernet_vlan:
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32-ethernet
needs:
- job: build_pytest_examples_esp32
artifacts: false
tags: [ esp32, ethernet_vlan ]
2023-04-05 23:10:41 -04:00
pytest_examples_esp32_ethernet_ip101:
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32
needs:
- job: build_pytest_examples_esp32
artifacts: false
2022-05-21 12:38:17 -04:00
tags: [ esp32, ip101 ]
pytest_examples_esp32_ethernet_bridge:
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32
needs:
- job: build_pytest_examples_esp32
artifacts: false
tags: [ esp32, eth_w5500 ]
variables:
PYTEST_EXTRA_FLAGS: "--dev-passwd ${ETHERNET_TEST_PASSWORD} --dev-user ${ETHERNET_TEST_USER}"
2023-04-05 23:10:41 -04:00
pytest_examples_esp32_flash_encryption:
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32
needs:
- job: build_pytest_examples_esp32
artifacts: false
2022-05-21 12:38:17 -04:00
tags: [ esp32, flash_encryption ]
2023-04-05 23:10:41 -04:00
pytest_examples_esp32_wifi_two_dut:
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32-wifi
needs:
- job: build_pytest_examples_esp32
artifacts: false
tags: [ esp32, wifi_two_dut ]
2023-04-05 23:10:41 -04:00
pytest_examples_esp32c3_wifi_two_dut:
2022-12-07 05:07:07 -05:00
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32c3-wifi
needs:
- job: build_pytest_examples_esp32c3
artifacts: false
2022-12-07 05:07:07 -05:00
tags: [ esp32c3, wifi_two_dut ]
2023-04-05 23:10:41 -04:00
pytest_examples_esp32s3_wifi_two_dut:
2022-12-07 05:07:07 -05:00
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32s3-wifi
needs:
- job: build_pytest_examples_esp32s3
artifacts: false
2022-12-07 05:07:07 -05:00
tags: [ esp32s3, wifi_two_dut ]
2023-04-05 23:10:41 -04:00
pytest_examples_esp32c2_wifi_two_dut:
2022-12-07 05:07:07 -05:00
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32c2-wifi
needs:
- job: build_pytest_examples_esp32c2
artifacts: false
2022-12-07 05:07:07 -05:00
tags: [ esp32c2, wifi_two_dut, xtal_26mhz ]
2023-04-05 23:10:41 -04:00
pytest_examples_esp32c3_flash_encryption:
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32c3
needs:
- job: build_pytest_examples_esp32c3
artifacts: false
2022-05-21 12:38:17 -04:00
tags: [ esp32c3, flash_encryption ]
pytest_examples_esp32c3_nvs_encr_hmac:
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32c3-nvs_encr_hmac
needs:
- job: build_pytest_examples_esp32c3
artifacts: false
tags: [ esp32c3, nvs_encr_hmac ]
2023-04-05 23:10:41 -04:00
pytest_examples_esp32s2_usb_device:
2022-07-22 04:20:21 -04:00
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32s2-usb
needs:
- job: build_pytest_examples_esp32s2
artifacts: false
2022-07-22 04:20:21 -04:00
tags: [ esp32s2, usb_device ]
2023-04-05 23:10:41 -04:00
pytest_examples_esp32_sdmmc:
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32
needs:
- job: build_pytest_examples_esp32
artifacts: false
tags: [ esp32, sdcard_sdmode ]
2023-04-05 23:10:41 -04:00
pytest_examples_esp32_sdspi:
extends:
- .pytest_examples_dir_template
2023-02-13 03:00:50 -05:00
- .rules:test:example_test-esp32-sdio
needs:
- job: build_pytest_examples_esp32
artifacts: false
tags: [ esp32, sdcard_spimode ]
2023-04-05 23:10:41 -04:00
pytest_examples_esp32s2_sdspi:
extends:
- .pytest_examples_dir_template
2023-02-13 03:00:50 -05:00
- .rules:test:example_test-esp32s2-sdio
needs:
- job: build_pytest_examples_esp32s2
artifacts: false
tags: [ esp32s2, sdcard_spimode ]
2023-04-05 23:10:41 -04:00
pytest_examples_esp32c3_sdspi:
extends:
- .pytest_examples_dir_template
2023-02-13 03:00:50 -05:00
- .rules:test:example_test-esp32c3-sdio
needs:
- job: build_pytest_examples_esp32c3
artifacts: false
tags: [ esp32c3, sdcard_spimode ]
2023-04-05 23:10:41 -04:00
pytest_examples_esp32_extflash:
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32
needs:
- job: build_pytest_examples_esp32
artifacts: false
tags: [ esp32, external_flash ]
2023-04-05 23:10:41 -04:00
pytest_examples_esp32_adc:
2022-12-20 23:07:35 -05:00
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32-adc
needs:
- job: build_pytest_examples_esp32
artifacts: false
2022-12-20 23:07:35 -05:00
tags: [ esp32, adc ]
2023-04-05 23:10:41 -04:00
pytest_examples_esp32s2_adc:
2022-12-20 23:07:35 -05:00
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32s2-adc
needs:
- job: build_pytest_examples_esp32s2
artifacts: false
2022-12-20 23:07:35 -05:00
tags: [ esp32s2, adc ]
2023-04-05 23:10:41 -04:00
pytest_examples_esp32s3_adc:
2022-12-20 23:07:35 -05:00
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32s3-adc
needs:
- job: build_pytest_examples_esp32s3
artifacts: false
2022-12-20 23:07:35 -05:00
tags: [ esp32s3, adc ]
2023-04-05 23:10:41 -04:00
pytest_examples_esp32c3_adc:
2022-12-20 23:07:35 -05:00
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32c3-adc
needs:
- job: build_pytest_examples_esp32c3
artifacts: false
2022-12-20 23:07:35 -05:00
tags: [ esp32c3, adc ]
2023-04-05 23:10:41 -04:00
pytest_examples_esp32c2_adc:
2022-12-20 23:07:35 -05:00
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32c2-adc
needs:
- job: build_pytest_examples_esp32c2
artifacts: false
2022-12-20 23:07:35 -05:00
tags: [ esp32c2, adc, xtal_26mhz]
2023-04-05 23:10:41 -04:00
pytest_examples_esp32c6_adc:
2022-12-22 22:56:34 -05:00
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32c6-adc
needs:
- job: build_pytest_examples_esp32c6
artifacts: false
2022-12-22 22:56:34 -05:00
tags: [ esp32c6, adc ]
2023-04-05 23:10:41 -04:00
pytest_examples_esp32h2_adc:
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32h2-adc
needs:
- job: build_pytest_examples_esp32h2
artifacts: false
tags: [ esp32h2, adc ]
pytest_examples_esp32s3_emmc:
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32s3
needs:
- job: build_pytest_examples_esp32s3
artifacts: false
tags: [ esp32s3, emmc ]
.pytest_components_dir_template:
extends: .pytest_template
variables:
TEST_DIR: components
BUILD_JOB_PREFIX: build_pytest_components_
2023-04-05 23:10:41 -04:00
pytest_components_esp32_generic:
extends:
- .pytest_components_dir_template
- .rules:test:component_ut-esp32
needs:
- job: build_pytest_components_esp32
artifacts: false
2022-05-21 12:38:17 -04:00
tags: [ esp32, generic ]
parallel: 7
2023-04-05 23:10:41 -04:00
pytest_components_esp32_generic_multi_device:
extends:
- .pytest_components_dir_template
- .rules:test:component_ut-esp32
needs:
- job: build_pytest_components_esp32
artifacts: false
tags: [ esp32, generic_multi_device ]
2023-04-05 23:10:41 -04:00
pytest_components_esp32_wifi_two_dut:
extends:
- .pytest_components_dir_template
- .rules:test:component_ut-esp32
needs:
- job: build_pytest_components_esp32
artifacts: false
tags: [ esp32, wifi_two_dut ]
2023-04-05 23:10:41 -04:00
pytest_components_esp32_adc:
extends:
- .pytest_components_dir_template
2022-09-14 07:00:52 -04:00
- .rules:test:component_ut-esp32-adc
needs:
- job: build_pytest_components_esp32
artifacts: false
tags: [ esp32, adc ]
2023-04-05 23:10:41 -04:00
pytest_components_esp32_sdio:
2022-11-13 22:34:21 -05:00
extends:
- .pytest_components_dir_template
2023-02-02 00:53:27 -05:00
- .rules:test:component_ut-esp32-sdio
2022-11-13 22:34:21 -05:00
needs:
- job: build_pytest_components_esp32
artifacts: false
2022-11-13 22:34:21 -05:00
tags: [ esp32, sdio_master_slave ]
2023-04-05 23:10:41 -04:00
pytest_components_esp32_ip101:
extends:
- .pytest_components_dir_template
- .rules:test:component_ut-esp32
needs:
- job: build_pytest_components_esp32
artifacts: false
2022-05-21 12:38:17 -04:00
tags: [ esp32, ip101 ]
2023-04-05 23:10:41 -04:00
pytest_components_esp32_lan8720:
extends:
- .pytest_components_dir_template
- .rules:test:component_ut-esp32
needs:
- job: build_pytest_components_esp32
artifacts: false
tags: [ esp32, eth_lan8720 ]
pytest_components_esp32_rtl8201:
extends:
- .pytest_components_dir_template
- .rules:test:component_ut-esp32
needs:
- job: build_pytest_components_esp32
artifacts: false
tags: [ esp32, eth_rtl8201 ]
pytest_components_esp32_w5500:
extends:
- .pytest_components_dir_template
- .rules:test:component_ut-esp32
needs:
- job: build_pytest_components_esp32
artifacts: false
tags: [ esp32, eth_w5500 ]
pytest_components_esp32_ksz8851snl:
extends:
- .pytest_components_dir_template
- .rules:test:component_ut-esp32
needs:
- job: build_pytest_components_esp32
artifacts: false
tags: [ esp32, eth_ksz8851snl ]
pytest_components_esp32_dm9051:
extends:
- .pytest_components_dir_template
- .rules:test:component_ut-esp32
needs:
- job: build_pytest_components_esp32
artifacts: false
tags: [ esp32, eth_dm9051 ]
pytest_components_esp32_ksz8041:
extends:
- .pytest_components_dir_template
- .rules:test:component_ut-esp32
needs:
- job: build_pytest_components_esp32
artifacts: false
tags: [ esp32, eth_ksz8041 ]
pytest_components_esp32_dp83848:
extends:
- .pytest_components_dir_template
- .rules:test:component_ut-esp32
needs:
- job: build_pytest_components_esp32
artifacts: false
tags: [ esp32, eth_dp83848 ]
2023-04-05 23:10:41 -04:00
pytest_components_esp32_ethernet:
extends:
- .pytest_components_dir_template
- .rules:test:component_ut-esp32
needs:
- job: build_pytest_components_esp32
artifacts: false
tags: [ esp32, ethernet ]
2023-04-05 23:10:41 -04:00
pytest_components_esp32_flash_encryption:
extends:
- .pytest_components_dir_template
- .rules:test:component_ut-esp32
needs:
- job: build_pytest_components_esp32
artifacts: false
tags: [ esp32, flash_encryption ]
2023-04-05 23:10:41 -04:00
pytest_components_esp32_flash_multi:
2022-08-22 22:10:32 -04:00
extends:
- .pytest_components_dir_template
2023-02-01 23:45:05 -05:00
- .rules:test:component_ut-esp32-flash_multi
2022-08-22 22:10:32 -04:00
needs:
- job: build_pytest_components_esp32
artifacts: false
tags: [ esp32, flash_multi ]
2022-08-22 22:10:32 -04:00
2023-04-05 23:10:41 -04:00
pytest_components_esp32_xtal32k:
2022-10-25 04:20:44 -04:00
extends:
- .pytest_components_dir_template
- .rules:test:component_ut-esp32
needs:
- job: build_pytest_components_esp32
artifacts: false
2022-10-25 04:20:44 -04:00
tags: [ esp32, xtal32k ]
2023-04-05 23:10:41 -04:00
pytest_components_esp32_no32kXtal:
2022-10-25 04:20:44 -04:00
extends:
- .pytest_components_dir_template
- .rules:test:component_ut-esp32
needs:
- job: build_pytest_components_esp32
artifacts: false
2022-10-25 04:20:44 -04:00
tags: [ esp32, no32kXtal ]
2023-04-05 23:10:41 -04:00
pytest_components_esp32_rs485_multi:
2022-11-10 04:52:06 -05:00
extends:
- .pytest_components_dir_template
- .rules:test:component_ut-esp32
needs:
- job: build_pytest_components_esp32
artifacts: false
2022-11-10 04:52:06 -05:00
tags: [ esp32, multi_dut_modbus_rs485 ]
2023-04-05 23:10:41 -04:00
pytest_components_esp32_psramv0:
2022-10-25 04:20:44 -04:00
extends:
- .pytest_components_dir_template
- .rules:test:component_ut-esp32
needs:
- job: build_pytest_components_esp32
artifacts: false
2022-10-25 04:20:44 -04:00
tags: [ esp32, psramv0 ]
2023-04-05 23:10:41 -04:00
pytest_components_esp32s2_generic:
extends:
- .pytest_components_dir_template
- .rules:test:component_ut-esp32s2
needs:
- job: build_pytest_components_esp32s2
artifacts: false
2022-05-21 12:38:17 -04:00
tags: [ esp32s2, generic ]
parallel: 5
2023-04-05 23:10:41 -04:00
pytest_components_esp32s2_generic_multi_device:
extends:
- .pytest_components_dir_template
- .rules:test:component_ut-esp32s2
needs:
- job: build_pytest_components_esp32s2
artifacts: false
tags: [ esp32s2, generic_multi_device ]
2023-04-05 23:10:41 -04:00
pytest_components_esp32s2_adc:
extends:
- .pytest_components_dir_template
2022-09-14 07:00:52 -04:00
- .rules:test:component_ut-esp32s2-adc
needs:
- job: build_pytest_components_esp32s2
artifacts: false
tags: [ esp32s2, adc ]
2023-04-05 23:10:41 -04:00
pytest_components_esp32s2_flash_multi:
2022-08-22 22:10:32 -04:00
extends:
- .pytest_components_dir_template
2023-02-01 23:45:05 -05:00
- .rules:test:component_ut-esp32s2-flash_multi
2022-08-22 22:10:32 -04:00
needs:
- job: build_pytest_components_esp32s2
artifacts: false
tags: [ esp32s2, flash_multi ]
2022-08-22 22:10:32 -04:00
2023-04-05 23:10:41 -04:00
pytest_components_esp32s3_generic:
extends:
- .pytest_components_dir_template
- .rules:test:component_ut-esp32s3
needs:
- job: build_pytest_components_esp32s3
artifacts: false
2022-05-21 12:38:17 -04:00
tags: [ esp32s3, generic ]
parallel: 5
2023-04-05 23:10:41 -04:00
pytest_components_esp32s3_generic_multi_device:
extends:
- .pytest_components_dir_template
- .rules:test:component_ut-esp32s3
needs:
- job: build_pytest_components_esp32s3
artifacts: false
tags: [ esp32s3, generic_multi_device ]
2023-04-05 23:10:41 -04:00
pytest_components_esp32s3_adc:
extends:
- .pytest_components_dir_template
2022-09-14 07:00:52 -04:00
- .rules:test:component_ut-esp32s3-adc
needs:
- job: build_pytest_components_esp32s3
artifacts: false
tags: [ esp32s3, adc ]
2023-04-05 23:10:41 -04:00
pytest_components_esp32s3_octal_psram:
2021-09-23 00:06:13 -04:00
extends:
- .pytest_components_dir_template
- .rules:test:component_ut-esp32s3
needs:
- job: build_pytest_components_esp32s3
artifacts: false
2022-05-21 12:38:17 -04:00
tags: [ esp32s3, octal_psram ]
2021-09-23 00:06:13 -04:00
pytest_components_esp32s3_quad_psram:
extends:
- .pytest_components_dir_template
- .rules:test:component_ut-esp32s3
needs:
- job: build_pytest_components_esp32s3
artifacts: false
tags: [ esp32s3, quad_psram ]
2023-04-05 23:10:41 -04:00
pytest_components_esp32s3_flash_encryption_f4r8:
extends:
- .pytest_components_dir_template
- .rules:test:component_ut-esp32s3
needs:
- job: build_pytest_components_esp32s3
artifacts: false
tags: [ esp32s3, flash_encryption_f4r8 ]
2023-04-05 23:10:41 -04:00
pytest_components_esp32s3_flash_encryption_f8r8:
extends:
- .pytest_components_dir_template
- .rules:test:component_ut-esp32s3
needs:
- job: build_pytest_components_esp32s3
artifacts: false
tags: [ esp32s3, flash_encryption_f8r8 ]
2023-04-05 23:10:41 -04:00
pytest_components_esp32s3_flash_multi:
2022-08-22 22:10:32 -04:00
extends:
- .pytest_components_dir_template
2023-02-01 23:45:05 -05:00
- .rules:test:component_ut-esp32s3-flash_multi
2022-08-22 22:10:32 -04:00
needs:
- job: build_pytest_components_esp32s3
artifacts: false
tags: [ esp32s3, flash_multi ]
2022-08-22 22:10:32 -04:00
2023-04-05 23:10:41 -04:00
pytest_components_esp32s3_mspi_f4r4:
extends:
- .pytest_components_dir_template
- .rules:test:component_ut-esp32s3
needs:
- job: build_pytest_components_esp32s3
artifacts: false
tags: [ esp32s3, MSPI_F4R4 ]
2023-04-05 23:10:41 -04:00
pytest_components_esp32s3_mspi_f4r8:
extends:
- .pytest_components_dir_template
- .rules:test:component_ut-esp32s3
needs:
- job: build_pytest_components_esp32s3
artifacts: false
tags: [ esp32s3, MSPI_F4R8 ]
2023-04-05 23:10:41 -04:00
pytest_components_esp32s3_mspi_f8r8:
extends:
- .pytest_components_dir_template
- .rules:test:component_ut-esp32s3
needs:
- job: build_pytest_components_esp32s3
artifacts: false
tags: [ esp32s3, MSPI_F8R8 ]
pytest_components_esp32s3_usb_serial_jtag:
extends:
- .pytest_components_dir_template
- .rules:test:component_ut-esp32s3
needs:
- build_pytest_components_esp32s3
tags: [ esp32s3, usb_serial_jtag ]
2023-04-05 23:10:41 -04:00
pytest_components_esp32c2_generic:
extends:
- .pytest_components_dir_template
- .rules:test:component_ut-esp32c2
needs:
- job: build_pytest_components_esp32c2
artifacts: false
2022-07-19 02:19:44 -04:00
tags: [ esp32c2, generic, xtal_40mhz ]
parallel: 3
2023-04-05 23:10:41 -04:00
pytest_components_esp32c2_adc:
extends:
- .pytest_components_dir_template
2022-09-14 07:00:52 -04:00
- .rules:test:component_ut-esp32c2-adc
needs:
- job: build_pytest_components_esp32c2
artifacts: false
2022-12-20 08:11:17 -05:00
tags: [ esp32c2, adc, xtal_26mhz ]
2023-04-05 23:10:41 -04:00
pytest_components_esp32c2_generic_multi_device:
extends:
- .pytest_components_dir_template
- .rules:test:component_ut-esp32c2
needs:
- job: build_pytest_components_esp32c2
artifacts: false
tags: [ esp32c2, generic_multi_device, xtal_40mhz ]
2023-04-05 23:10:41 -04:00
pytest_components_esp32c2_xtal_26mhz:
2022-07-10 23:53:21 -04:00
extends:
- .pytest_components_dir_template
- .rules:test:component_ut-esp32c2
needs:
- job: build_pytest_components_esp32c2
artifacts: false
2022-12-20 08:11:17 -05:00
tags: [ esp32c2, generic, xtal_26mhz ]
2022-07-10 23:53:21 -04:00
2023-04-05 23:10:41 -04:00
pytest_components_esp32c3_generic:
extends:
- .pytest_components_dir_template
- .rules:test:component_ut-esp32c3
needs:
- job: build_pytest_components_esp32c3
artifacts: false
2022-05-21 12:38:17 -04:00
tags: [ esp32c3, generic ]
parallel: 3
pytest_components_esp32c3_i2c_oled:
extends:
- .pytest_components_dir_template
- .rules:test:component_ut-esp32c3
needs:
- job: build_pytest_components_esp32c3
artifacts: false
tags: [ esp32c3, i2c_oled ]
2023-04-05 23:10:41 -04:00
pytest_components_esp32c3_generic_multi_device:
extends:
- .pytest_components_dir_template
- .rules:test:component_ut-esp32c3
needs:
- job: build_pytest_components_esp32c3
artifacts: false
tags: [ esp32c3, generic_multi_device ]
2023-04-05 23:10:41 -04:00
pytest_components_esp32c3_wifi_two_dut:
extends:
- .pytest_components_dir_template
- .rules:test:component_ut-esp32c3-wifi
needs:
- job: build_pytest_components_esp32c3
artifacts: false
tags: [ esp32c3, wifi_two_dut ]
pytest_components_esp32c3_usb_serial_jtag:
extends:
- .pytest_components_dir_template
- .rules:test:component_ut-esp32c3
needs:
- build_pytest_components_esp32c3
tags: [ esp32c3, usb_serial_jtag ]
2023-04-05 23:10:41 -04:00
pytest_components_esp32s3_wifi_two_dut:
2022-12-07 05:07:07 -05:00
extends:
- .pytest_components_dir_template
- .rules:test:component_ut-esp32s3-wifi
needs:
- job: build_pytest_components_esp32s3
artifacts: false
2022-12-07 05:07:07 -05:00
tags: [ esp32s3, wifi_two_dut ]
2023-04-05 23:10:41 -04:00
pytest_components_esp32c2_wifi_two_dut:
2022-12-07 05:07:07 -05:00
extends:
- .pytest_components_dir_template
- .rules:test:component_ut-esp32c2-wifi
needs:
- job: build_pytest_components_esp32c2
artifacts: false
2022-12-07 05:07:07 -05:00
tags: [ esp32c2, wifi_two_dut, xtal_26mhz ]
2023-04-05 23:10:41 -04:00
pytest_components_esp32c3_adc:
extends:
- .pytest_components_dir_template
2022-09-14 07:00:52 -04:00
- .rules:test:component_ut-esp32c3-adc
needs:
- job: build_pytest_components_esp32c3
artifacts: false
tags: [ esp32c3, adc ]
2023-04-05 23:10:41 -04:00
pytest_components_esp32c3_flash_encryption:
extends:
- .pytest_components_dir_template
- .rules:test:component_ut-esp32c3
needs:
- job: build_pytest_components_esp32c3
artifacts: false
tags: [ esp32c3, flash_encryption ]
pytest_components_esp32c3_nvs_encr_hmac:
extends:
- .pytest_components_dir_template
- .rules:test:component_ut-esp32c3-nvs_encr_hmac
needs:
- job: build_pytest_components_esp32c3
artifacts: false
tags: [ esp32c3, nvs_encr_hmac ]
2023-04-05 23:10:41 -04:00
pytest_components_esp32c3_flash_multi:
2022-08-22 22:10:32 -04:00
extends:
- .pytest_components_dir_template
2023-02-01 23:45:05 -05:00
- .rules:test:component_ut-esp32c3-flash_multi
2022-08-22 22:10:32 -04:00
needs:
- job: build_pytest_components_esp32c3
artifacts: false
tags: [ esp32c3, flash_multi ]
2022-08-22 22:10:32 -04:00
2023-04-05 23:10:41 -04:00
pytest_components_esp32_sdmmc:
extends:
- .pytest_components_dir_template
- .rules:test:component_ut-esp32
needs:
- job: build_pytest_components_esp32
artifacts: false
tags: [ esp32, sdcard_sdmode ]
2023-04-05 23:10:41 -04:00
pytest_components_esp32_sdspi:
extends:
- .pytest_components_dir_template
2023-02-13 03:00:50 -05:00
- .rules:test:component_ut-esp32-sdio
needs:
- job: build_pytest_components_esp32
artifacts: false
tags: [ esp32, sdcard_spimode ]
2023-04-05 23:10:41 -04:00
pytest_components_esp32s2_sdspi:
extends:
- .pytest_components_dir_template
2023-02-13 03:00:50 -05:00
- .rules:test:component_ut-esp32s2-sdio
needs:
- job: build_pytest_components_esp32s2
artifacts: false
tags: [ esp32s2, sdcard_spimode ]
2023-04-05 23:10:41 -04:00
pytest_components_esp32c3_sdspi:
extends:
- .pytest_components_dir_template
2023-02-13 03:00:50 -05:00
- .rules:test:component_ut-esp32c3-sdio
needs:
- job: build_pytest_components_esp32c3
artifacts: false
tags: [ esp32c3, sdcard_spimode ]
2023-04-05 23:10:41 -04:00
pytest_components_esp32c6_generic:
2022-11-09 02:28:20 -05:00
extends:
- .pytest_components_dir_template
- .rules:test:component_ut-esp32c6
needs:
- job: build_pytest_components_esp32c6
artifacts: false
2022-11-09 02:28:20 -05:00
tags: [ esp32c6, generic ]
parallel: 2
2022-11-09 02:28:20 -05:00
pytest_components_esp32c6_usb_serial_jtag:
extends:
- .pytest_components_dir_template
- .rules:test:component_ut-esp32c6
needs:
- build_pytest_components_esp32c6
tags: [ esp32c6, usb_serial_jtag ]
2023-04-05 23:10:41 -04:00
pytest_components_esp32h2_generic:
2023-01-19 01:47:44 -05:00
extends:
- .pytest_components_dir_template
- .rules:test:component_ut-esp32h2
needs:
- job: build_pytest_components_esp32h2
artifacts: false
2023-01-19 01:47:44 -05:00
tags: [ esp32h2, generic ]
parallel: 2
2023-04-05 23:10:41 -04:00
pytest_components_esp32h2_generic_multi_device:
2023-02-27 03:31:26 -05:00
extends:
- .pytest_components_dir_template
- .rules:test:component_ut-esp32h2
needs:
- job: build_pytest_components_esp32h2
artifacts: false
2023-02-27 03:31:26 -05:00
tags: [ esp32h2, generic_multi_device ]
2023-04-05 23:10:41 -04:00
pytest_components_esp32h2_adc:
extends:
- .pytest_components_dir_template
- .rules:test:component_ut-esp32h2-adc
needs:
- job: build_pytest_components_esp32h2
artifacts: false
tags: [ esp32h2, adc ]
pytest_components_esp32h2_ecdsa:
extends:
- .pytest_components_dir_template
- .rules:test:component_ut-esp32h2-ecdsa
needs:
- job: build_pytest_components_esp32h2
artifacts: false
tags: [ esp32h2, ecdsa_efuse ]
pytest_components_esp32h2_usb_serial_jtag:
extends:
- .pytest_components_dir_template
- .rules:test:component_ut-esp32h2
needs:
- build_pytest_components_esp32h2
tags: [ esp32h2, usb_serial_jtag ]
2023-04-05 23:10:41 -04:00
pytest_components_esp32c6_generic_multi_device:
extends:
- .pytest_components_dir_template
- .rules:test:component_ut-esp32c6
needs:
- job: build_pytest_components_esp32c6
artifacts: false
tags: [ esp32c6, generic_multi_device ]
2023-04-05 23:10:41 -04:00
pytest_components_esp32c6_adc:
2022-12-22 22:56:34 -05:00
extends:
- .pytest_components_dir_template
- .rules:test:component_ut-esp32c6-adc
needs:
- job: build_pytest_components_esp32c6
artifacts: false
2022-12-22 22:56:34 -05:00
tags: [ esp32c6, adc ]
2023-04-05 23:10:41 -04:00
pytest_components_esp32c6_i154:
extends:
- .pytest_components_dir_template
- .rules:test:component_ut-esp32c6-i154
needs:
- job: build_pytest_components_esp32c6
artifacts: false
tags: [ esp32c6, ieee802154 ]
2023-04-05 23:10:41 -04:00
pytest_examples_openthread_br:
2022-08-16 22:57:39 -04:00
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-i154
needs:
- job: build_pytest_examples_esp32s3
artifacts: false
- job: build_pytest_examples_esp32c6
artifacts: false
- job: build_pytest_examples_esp32h2
artifacts: false
tags: [ esp32c6, openthread_br ]
script:
- retry_failed git clone $KNOWN_FAILURE_CASES_REPO known_failure_cases
# get runner env config file
- retry_failed git clone $TEST_ENV_CONFIG_REPO
- python $CHECKOUT_REF_SCRIPT ci-test-runner-configs ci-test-runner-configs
# using runner tags as markers to filter the test cases
# Runner tags are comma separated, replace the comma with " and " for markers
- job_tags=$(python tools/ci/python_packages/gitlab_api.py get_job_tags $CI_PROJECT_ID --job_id $CI_JOB_ID)
- markers=$(echo $job_tags | sed -e "s/,/ and /g")
# download the artifacts, requires s3, c6, h2 chips
- run_cmd python tools/ci/artifacts_handler.py download --job-name "build_pytest_examples_esp32s3"
- run_cmd python tools/ci/artifacts_handler.py download --job-name "build_pytest_examples_esp32c6"
- run_cmd python tools/ci/artifacts_handler.py download --job-name "build_pytest_examples_esp32h2"
- run_cmd pytest $TEST_DIR
-m \"${markers}\"
--junitxml=XUNIT_RESULT.xml
--ignore-result-files known_failure_cases/known_failure_cases.txt
--parallel-count ${CI_NODE_TOTAL:-1}
--parallel-index ${CI_NODE_INDEX:-1}
${PYTEST_EXTRA_FLAGS}
--app-info-filepattern \"list_job_*.txt\"
2022-08-16 22:57:39 -04:00
pytest_examples_openthread_bbr:
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-i154
needs:
- job: build_pytest_examples_esp32s3
artifacts: false
- job: build_pytest_examples_esp32c6
artifacts: false
- job: build_pytest_examples_esp32h2
artifacts: false
tags: [ esp32c6, openthread_bbr ]
script:
- retry_failed git clone $KNOWN_FAILURE_CASES_REPO known_failure_cases
# get runner env config file
- retry_failed git clone $TEST_ENV_CONFIG_REPO
- python $CHECKOUT_REF_SCRIPT ci-test-runner-configs ci-test-runner-configs
# using runner tags as markers to filter the test cases
# Runner tags are comma separated, replace the comma with " and " for markers
- job_tags=$(python tools/ci/python_packages/gitlab_api.py get_job_tags $CI_PROJECT_ID --job_id $CI_JOB_ID)
- markers=$(echo $job_tags | sed -e "s/,/ and /g")
# download the artifacts, requires s3, c6, h2 chips
- run_cmd python tools/ci/artifacts_handler.py download --job-name "build_pytest_examples_esp32s3"
- run_cmd python tools/ci/artifacts_handler.py download --job-name "build_pytest_examples_esp32c6"
- run_cmd python tools/ci/artifacts_handler.py download --job-name "build_pytest_examples_esp32h2"
- run_cmd pytest $TEST_DIR
-m \"${markers}\"
--junitxml=XUNIT_RESULT.xml
--ignore-result-files known_failure_cases/known_failure_cases.txt
--parallel-count ${CI_NODE_TOTAL:-1}
--parallel-index ${CI_NODE_INDEX:-1}
${PYTEST_EXTRA_FLAGS}
--app-info-filepattern \"list_job_*.txt\"
pytest_examples_openthread_sleep:
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32h2
needs:
- job: build_pytest_examples_esp32c6
artifacts: false
- job: build_pytest_examples_esp32h2
artifacts: false
tags: [ esp32c6, openthread_sleep ]
script:
- retry_failed git clone $KNOWN_FAILURE_CASES_REPO known_failure_cases
# get runner env config file
- retry_failed git clone $TEST_ENV_CONFIG_REPO
- python $CHECKOUT_REF_SCRIPT ci-test-runner-configs ci-test-runner-configs
# using runner tags as markers to filter the test cases
# Runner tags are comma separated, replace the comma with " and " for markers
- job_tags=$(python tools/ci/python_packages/gitlab_api.py get_job_tags $CI_PROJECT_ID --job_id $CI_JOB_ID)
- markers=$(echo $job_tags | sed -e "s/,/ and /g")
# download the artifacts, requires c6, h2 chips
- run_cmd python tools/ci/artifacts_handler.py download --job-name "build_pytest_examples_esp32c6"
- run_cmd python tools/ci/artifacts_handler.py download --job-name "build_pytest_examples_esp32h2"
- run_cmd pytest $TEST_DIR
-m \"${markers}\"
--junitxml=XUNIT_RESULT.xml
--ignore-result-files known_failure_cases/known_failure_cases.txt
--parallel-count ${CI_NODE_TOTAL:-1}
--parallel-index ${CI_NODE_INDEX:-1}
${PYTEST_EXTRA_FLAGS}
--app-info-filepattern \"list_job_*.txt\"
pytest_examples_esp32h2_zigbee:
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32h2
needs:
- job: build_pytest_examples_esp32h2
artifacts: false
tags: [ esp32h2, zigbee_multi_dut ]
2023-04-05 23:10:41 -04:00
pytest_components_esp32s3_usb_host:
extends:
- .pytest_components_dir_template
- .rules:test:component_ut-esp32s3-usb
needs:
- job: build_pytest_components_esp32s3
artifacts: false
tags: [ esp32s3, usb_host_flash_disk ]
2022-02-11 02:47:32 -05:00
.pytest_test_apps_dir_template:
extends: .pytest_template
variables:
TEST_DIR: tools/test_apps
BUILD_JOB_PREFIX: build_pytest_test_apps_
REQUIRES_ELF_FILES: "1"
2022-02-11 02:47:32 -05:00
2023-04-05 23:10:41 -04:00
pytest_test_apps_esp32_generic:
2022-02-11 02:47:32 -05:00
extends:
- .pytest_test_apps_dir_template
- .rules:test:custom_test-esp32
needs:
- job: build_pytest_test_apps_esp32
artifacts: false
2022-05-21 12:38:17 -04:00
tags: [ esp32, generic ]
2022-02-11 02:47:32 -05:00
2023-04-05 23:10:41 -04:00
pytest_test_apps_esp32_jtag:
extends:
- .pytest_test_apps_dir_template
- .rules:test:custom_test-esp32
needs:
- job: build_pytest_test_apps_esp32
artifacts: false
tags: [ esp32, jtag ]
variables:
PYTEST_EXTRA_FLAGS: "--log-cli-level DEBUG"
2023-08-08 21:59:16 -04:00
pytest_test_apps_esp32_ethernet:
extends:
- .pytest_test_apps_dir_template
- .rules:test:custom_test-esp32
needs:
- job: build_pytest_test_apps_esp32
artifacts: false
2023-08-08 21:59:16 -04:00
tags: [ esp32, ethernet ]
2023-04-05 23:10:41 -04:00
pytest_test_apps_esp32s2_generic:
2022-02-11 02:47:32 -05:00
extends:
- .pytest_test_apps_dir_template
- .rules:test:custom_test-esp32s2
needs:
- job: build_pytest_test_apps_esp32s2
artifacts: false
2022-05-21 12:38:17 -04:00
tags: [ esp32s2, generic ]
2023-04-05 23:10:41 -04:00
pytest_test_apps_esp32s3_generic:
extends:
- .pytest_test_apps_dir_template
- .rules:test:custom_test-esp32s3
needs:
- job: build_pytest_test_apps_esp32s3
artifacts: false
2022-05-21 12:38:17 -04:00
tags: [ esp32s3, generic ]
2023-04-05 23:10:41 -04:00
pytest_test_apps_esp32c2_generic:
extends:
- .pytest_test_apps_dir_template
- .rules:test:custom_test-esp32c2
needs:
- job: build_pytest_test_apps_esp32c2
artifacts: false
2022-07-19 02:19:44 -04:00
tags: [ esp32c2, generic, xtal_40mhz ]
2023-04-05 23:10:41 -04:00
pytest_test_apps_esp32c3_generic:
extends:
- .pytest_test_apps_dir_template
- .rules:test:custom_test-esp32c3
needs:
- job: build_pytest_test_apps_esp32c3
artifacts: false
2022-05-21 12:38:17 -04:00
tags: [ esp32c3, generic ]
2022-02-11 02:47:32 -05:00
2023-04-05 23:10:41 -04:00
pytest_test_apps_esp32c6_generic:
2022-11-09 02:28:20 -05:00
extends:
- .pytest_test_apps_dir_template
- .rules:test:custom_test-esp32c6
needs:
- job: build_pytest_test_apps_esp32c6
artifacts: false
2022-11-09 02:28:20 -05:00
tags: [ esp32c6, generic ]
2023-04-05 23:10:41 -04:00
pytest_test_apps_esp32h2_generic:
2023-01-19 01:47:44 -05:00
extends:
- .pytest_test_apps_dir_template
- .rules:test:custom_test-esp32h2
needs:
- job: build_pytest_test_apps_esp32h2
artifacts: false
2023-01-19 01:47:44 -05:00
tags: [ esp32h2, generic ]
2023-04-05 23:10:41 -04:00
pytest_test_apps_esp32s3_mspi_f8r8:
2022-07-21 00:23:22 -04:00
extends:
- .pytest_test_apps_dir_template
- .rules:test:custom_test-esp32s3
needs:
- job: build_pytest_test_apps_esp32s3
artifacts: false
2022-07-21 00:23:22 -04:00
tags: [ esp32s3, MSPI_F8R8 ]
2023-04-05 23:10:41 -04:00
pytest_test_apps_esp32s3_mspi_f4r8:
2022-07-21 00:23:22 -04:00
extends:
- .pytest_test_apps_dir_template
- .rules:test:custom_test-esp32s3
needs:
- job: build_pytest_test_apps_esp32s3
artifacts: false
2022-07-21 00:23:22 -04:00
tags: [ esp32s3, MSPI_F4R8 ]
2023-04-05 23:10:41 -04:00
pytest_test_apps_esp32s3_mspi_f4r4:
2022-07-21 00:23:22 -04:00
extends:
- .pytest_test_apps_dir_template
- .rules:test:custom_test-esp32s3
needs:
- job: build_pytest_test_apps_esp32s3
artifacts: false
2022-07-21 00:23:22 -04:00
tags: [ esp32s3, MSPI_F4R4 ]
pytest_test_apps_esp32s2_wifi_two_dut:
extends:
- .pytest_test_apps_dir_template
- .rules:test:custom_test-esp32s2-wifi
needs:
- job: build_pytest_test_apps_esp32s2
artifacts: false
tags: [ esp32s2, wifi_two_dut ]
pytest_test_apps_esp32s3_wifi_two_dut:
extends:
- .pytest_test_apps_dir_template
- .rules:test:custom_test-esp32s3-wifi
needs:
- job: build_pytest_test_apps_esp32s3
artifacts: false
tags: [ esp32s3, wifi_two_dut ]
pytest_test_apps_esp32c2_wifi_two_dut:
extends:
- .pytest_test_apps_dir_template
- .rules:test:custom_test-esp32c2-wifi
needs:
- job: build_pytest_test_apps_esp32c2
artifacts: false
tags: [ esp32c2, wifi_two_dut, xtal_26mhz ]
pytest_test_apps_esp32c3_wifi_two_dut:
extends:
- .pytest_test_apps_dir_template
- .rules:test:custom_test-esp32c3-wifi
needs:
- job: build_pytest_test_apps_esp32c3
artifacts: false
tags: [ esp32c3, wifi_two_dut]