|
|
@@ -1534,319 +1534,3 @@ pytest_test_apps_esp32c3_wifi_two_dut:
|
|
|
- job: build_pytest_test_apps_esp32c3
|
|
|
artifacts: false
|
|
|
tags: [ esp32c3, wifi_two_dut]
|
|
|
-
|
|
|
-# for parallel jobs, CI_JOB_NAME will be "job_name index/total" (for example, "IT_001 1/2")
|
|
|
-# we need to convert to pattern "job_name_index.yml"
|
|
|
-.define_config_file_name: &define_config_file_name |
|
|
|
- JOB_NAME_PREFIX=$(echo ${CI_JOB_NAME} | awk '{print $1}')
|
|
|
- JOB_FULL_NAME="${JOB_NAME_PREFIX}_${CI_NODE_INDEX}"
|
|
|
- CONFIG_FILE="${CONFIG_FILE_PATH}/${JOB_FULL_NAME}.yml"
|
|
|
-
|
|
|
-.integration_test_template:
|
|
|
- extends:
|
|
|
- - .target_test_template
|
|
|
- - .rules:test:integration_test
|
|
|
- - .before_script:minimal
|
|
|
- image: ${CI_INTEGRATION_TEST_ENV_IMAGE}
|
|
|
- cache: []
|
|
|
- needs: # the assign already needs all the build jobs
|
|
|
- - assign_integration_test
|
|
|
- artifacts:
|
|
|
- when: always
|
|
|
- paths:
|
|
|
- - "**/*.log"
|
|
|
- - $LOG_PATH
|
|
|
- exclude:
|
|
|
- - .git/**/*
|
|
|
- reports:
|
|
|
- junit: $LOG_PATH/*/XUNIT_RESULT.xml
|
|
|
- expire_in: 1 week
|
|
|
- variables:
|
|
|
- ENV_FILE: "$CI_PROJECT_DIR/ci-test-runner-configs/$CI_RUNNER_DESCRIPTION/EnvConfig.yml"
|
|
|
- LOCAL_ENV_CONFIG_PATH: "$CI_PROJECT_DIR/ci-test-runner-configs/$CI_RUNNER_DESCRIPTION/ESP32_IDF"
|
|
|
- LOG_PATH: "${CI_PROJECT_DIR}/TEST_LOGS"
|
|
|
- TEST_CASE_FILE_PATH: "$CI_PROJECT_DIR/auto_test_script/TestCaseFiles"
|
|
|
- CONFIG_FILE_PATH: "${CI_PROJECT_DIR}/tools/ci/integration_test/test_configs"
|
|
|
- KNOWN_ISSUE_FILE: "${CI_PROJECT_DIR}/tools/ci/integration_test/KnownIssues"
|
|
|
- CI_RUNNER_SCRIPT: "${CI_PROJECT_DIR}/auto_test_script/bin/CIRunner.py"
|
|
|
- PREPARE_TEST_BIN_SCRIPT: "${CI_PROJECT_DIR}/auto_test_script/tools/ci/idf_prepare_test_bins.py"
|
|
|
- PYTHONPATH: "${CI_PROJECT_DIR}/auto_test_script/packages:${CI_PROJECT_DIR}/tools/ci/python_packages:${PYTHONPATH}"
|
|
|
- INITIAL_CONDITION_RETRY_COUNT: "1"
|
|
|
- GIT_LFS_SKIP_SMUDGE: 1
|
|
|
- script:
|
|
|
- - *define_config_file_name
|
|
|
- # first test if config file exists, if not exist, exit 0
|
|
|
- - test -e $CONFIG_FILE || exit 0
|
|
|
- # clone local test env configs
|
|
|
- - add_gitlab_ssh_keys
|
|
|
- - retry_failed git clone $TEST_ENV_CONFIG_REPO
|
|
|
- - python $CHECKOUT_REF_SCRIPT ci-test-runner-configs ci-test-runner-configs
|
|
|
- # clone test bench
|
|
|
- - retry_failed git clone ${CI_AUTO_TEST_SCRIPT_REPO_URL} auto_test_script
|
|
|
- - python $CHECKOUT_REF_SCRIPT auto_test_script auto_test_script
|
|
|
- - cd auto_test_script
|
|
|
- - ./tools/ci/setup_idfci.sh
|
|
|
- # Merge known issues
|
|
|
- - cat ${KNOWN_ISSUE_FILE} >> ${TEST_CASE_FILE_PATH}/KnownIssues
|
|
|
- # run test
|
|
|
- - python ${PREPARE_TEST_BIN_SCRIPT} $CONFIG_FILE
|
|
|
- - python ${CI_RUNNER_SCRIPT} -l "$LOG_PATH/$JOB_FULL_NAME" -c $CONFIG_FILE -e $LOCAL_ENV_CONFIG_PATH -t $TEST_CASE_FILE_PATH
|
|
|
-
|
|
|
-.integration_test_esp32c3_template:
|
|
|
- extends:
|
|
|
- - .integration_test_template
|
|
|
- variables:
|
|
|
- LOCAL_ENV_CONFIG_PATH: "$CI_PROJECT_DIR/ci-test-runner-configs/$CI_RUNNER_DESCRIPTION/ESP32C3_IDF"
|
|
|
-
|
|
|
-.integration_test_esp32c2_template:
|
|
|
- extends:
|
|
|
- - .integration_test_template
|
|
|
- variables:
|
|
|
- LOCAL_ENV_CONFIG_PATH: "$CI_PROJECT_DIR/ci-test-runner-configs/$CI_RUNNER_DESCRIPTION/ESP32C2_IDF"
|
|
|
-
|
|
|
-nvs_compatible_test:
|
|
|
- extends:
|
|
|
- - .integration_test_template
|
|
|
- - .rules:test:integration_test
|
|
|
- artifacts:
|
|
|
- when: always
|
|
|
- paths:
|
|
|
- - $LOG_PATH
|
|
|
- - nvs_wifi.bin
|
|
|
- expire_in: 1 mos
|
|
|
- tags:
|
|
|
- - ESP32_IDF
|
|
|
- - NVS_Compatible
|
|
|
- script:
|
|
|
- - *define_config_file_name
|
|
|
- # first test if config file exists, if not exist, exit 0
|
|
|
- - test -e $CONFIG_FILE || exit 0
|
|
|
- # clone local test env configs
|
|
|
- - add_gitlab_ssh_keys
|
|
|
- - retry_failed git clone $TEST_ENV_CONFIG_REPO
|
|
|
- - python $CHECKOUT_REF_SCRIPT ci-test-runner-configs ci-test-runner-configs
|
|
|
- # clone test bench
|
|
|
- - retry_failed git clone ${CI_AUTO_TEST_SCRIPT_REPO_URL} auto_test_script
|
|
|
- - python $CHECKOUT_REF_SCRIPT auto_test_script auto_test_script
|
|
|
- - cd auto_test_script
|
|
|
- - ./tools/ci/setup_idfci.sh
|
|
|
- # prepare nvs bins
|
|
|
- - ./tools/prepare_nvs_bin.sh
|
|
|
- # run test
|
|
|
- - python ${PREPARE_TEST_BIN_SCRIPT} $CONFIG_FILE
|
|
|
- - python ${CI_RUNNER_SCRIPT} -l "$LOG_PATH/$JOB_FULL_NAME" -c $CONFIG_FILE -e $LOCAL_ENV_CONFIG_PATH -t $TEST_CASE_FILE_PATH
|
|
|
-
|
|
|
-IT_T1_Simple:
|
|
|
- extends:
|
|
|
- - .integration_test_template
|
|
|
- - .rules:test:integration_test_wifi
|
|
|
- parallel: 2
|
|
|
- tags:
|
|
|
- - ESP32_IDF
|
|
|
- - SSC_T1_Simple
|
|
|
-
|
|
|
-IT_T1_WAP:
|
|
|
- extends:
|
|
|
- - .integration_test_template
|
|
|
- - .rules:test:integration_test_wifi
|
|
|
- tags:
|
|
|
- - ESP32_IDF
|
|
|
- - SSC_T1_WAP
|
|
|
-
|
|
|
-IT_T2_Simple:
|
|
|
- extends:
|
|
|
- - .integration_test_template
|
|
|
- - .rules:test:integration_test_wifi
|
|
|
- parallel: 9
|
|
|
- tags:
|
|
|
- - ESP32_IDF
|
|
|
- - SSC_T2_Simple
|
|
|
-
|
|
|
-IT_T5_BT_Simple:
|
|
|
- extends:
|
|
|
- - .integration_test_template
|
|
|
- - .rules:test:integration_test_ble
|
|
|
- parallel: 3
|
|
|
- tags:
|
|
|
- - ESP32_IDF
|
|
|
- - SSC_T5_BT_Simple
|
|
|
-
|
|
|
-IT_T2_BT_Simple:
|
|
|
- extends:
|
|
|
- - .integration_test_template
|
|
|
- - .rules:test:integration_test_ble
|
|
|
- parallel: 6
|
|
|
- tags:
|
|
|
- - ESP32_IDF
|
|
|
- - SSC_T2_BT_Simple
|
|
|
-
|
|
|
-IT_T1_BT_Dongle:
|
|
|
- extends:
|
|
|
- - .integration_test_template
|
|
|
- - .rules:test:integration_test_ble
|
|
|
- parallel: 2
|
|
|
- tags:
|
|
|
- - ESP32_IDF
|
|
|
- - SSC_T1_BT_Dongle
|
|
|
-
|
|
|
-IT_T1_AP:
|
|
|
- extends:
|
|
|
- - .integration_test_template
|
|
|
- - .rules:test:integration_test_wifi
|
|
|
- tags:
|
|
|
- - ESP32_IDF
|
|
|
- - SSC_T1_AP
|
|
|
-
|
|
|
-IT_T1_AP_E:
|
|
|
- extends:
|
|
|
- - .integration_test_template
|
|
|
- - .rules:test:integration_test_wifi
|
|
|
- parallel: 5
|
|
|
- tags:
|
|
|
- - ESP32_IDF
|
|
|
- - SSC_T1_AP_E
|
|
|
-
|
|
|
-IT_T1_WNIC_AP:
|
|
|
- extends:
|
|
|
- - .integration_test_template
|
|
|
- - .rules:test:integration_test_wifi
|
|
|
- tags:
|
|
|
- - ESP32_IDF
|
|
|
- - SSC_T1_WNIC_AP
|
|
|
-
|
|
|
-IT_T1_WNIC_AP_E:
|
|
|
- extends:
|
|
|
- - .integration_test_template
|
|
|
- - .rules:test:integration_test_wifi
|
|
|
- tags:
|
|
|
- - ESP32_IDF
|
|
|
- - SSC_T1_WNIC_AP_E
|
|
|
-
|
|
|
-IT_T1_MESH1:
|
|
|
- extends:
|
|
|
- - .integration_test_template
|
|
|
- - .rules:test:integration_test_wifi
|
|
|
- tags:
|
|
|
- - ESP32_IDF
|
|
|
- - SSC_T1_MESH1
|
|
|
-
|
|
|
-IT_T2_MESH1:
|
|
|
- extends:
|
|
|
- - .integration_test_template
|
|
|
- - .rules:test:integration_test_wifi
|
|
|
- parallel: 2
|
|
|
- tags:
|
|
|
- - ESP32_IDF
|
|
|
- - SSC_T2_MESH1
|
|
|
-
|
|
|
-IT_T3_MESH1:
|
|
|
- extends:
|
|
|
- - .integration_test_template
|
|
|
- - .rules:test:integration_test_wifi
|
|
|
- tags:
|
|
|
- - ESP32_IDF
|
|
|
- - SSC_T3_MESH1
|
|
|
-
|
|
|
-IT_T6_MESH1:
|
|
|
- extends:
|
|
|
- - .integration_test_template
|
|
|
- - .rules:test:integration_test_wifi
|
|
|
- tags:
|
|
|
- - ESP32_IDF
|
|
|
- - SSC_T6_MESH1
|
|
|
-
|
|
|
-IT_T12_MESH1:
|
|
|
- extends:
|
|
|
- - .integration_test_template
|
|
|
- - .rules:test:integration_test_wifi
|
|
|
- tags:
|
|
|
- - ESP32_IDF
|
|
|
- - SSC_T12_MESH1
|
|
|
-
|
|
|
-IT_T50_MESH1:
|
|
|
- extends:
|
|
|
- - .integration_test_template
|
|
|
- - .rules:test:integration_test_wifi
|
|
|
- allow_failure: true
|
|
|
- tags:
|
|
|
- - ESP32_IDF
|
|
|
- - SSC_T50_MESH1
|
|
|
-
|
|
|
-IT_T1_MESH2:
|
|
|
- extends:
|
|
|
- - .integration_test_template
|
|
|
- - .rules:test:integration_test_wifi
|
|
|
- tags:
|
|
|
- - ESP32_IDF
|
|
|
- - SSC_T1_MESH2
|
|
|
-
|
|
|
-IT_T2_WNIC:
|
|
|
- extends:
|
|
|
- - .integration_test_template
|
|
|
- - .rules:test:integration_test_wifi
|
|
|
- tags:
|
|
|
- - ESP32_IDF
|
|
|
- - SSC_T2_WNIC
|
|
|
-
|
|
|
-IT_T2_AP:
|
|
|
- extends:
|
|
|
- - .integration_test_template
|
|
|
- - .rules:test:integration_test_wifi
|
|
|
- tags:
|
|
|
- - ESP32_IDF
|
|
|
- - SSC_T2_AP
|
|
|
-
|
|
|
-IT_T3_Simple:
|
|
|
- extends:
|
|
|
- - .integration_test_template
|
|
|
- - .rules:test:integration_test_wifi
|
|
|
- tags:
|
|
|
- - ESP32_IDF
|
|
|
- - SSC_T3_Simple
|
|
|
-
|
|
|
-IT_C3_T2_BT_Simple:
|
|
|
- extends:
|
|
|
- - .integration_test_esp32c3_template
|
|
|
- - .rules:test:integration_test_ble
|
|
|
- parallel: 11
|
|
|
- tags:
|
|
|
- - ESP32C3_IDF
|
|
|
- - SSC_T2_BT_Simple
|
|
|
-
|
|
|
-IT_C3_T5_BT_Simple:
|
|
|
- extends:
|
|
|
- - .integration_test_esp32c3_template
|
|
|
- - .rules:test:integration_test_ble
|
|
|
- parallel: 5
|
|
|
- tags:
|
|
|
- - ESP32C3_IDF
|
|
|
- - SSC_T5_BT_Simple
|
|
|
-
|
|
|
-IT_C3_T1_BT_Dongle:
|
|
|
- extends:
|
|
|
- - .integration_test_esp32c3_template
|
|
|
- - .rules:test:integration_test_ble
|
|
|
- image: gitlab.espressif.cn:5050/qa/dockerfiles/integration-test-env-dbg:1
|
|
|
- parallel: 2
|
|
|
- tags:
|
|
|
- - ESP32C3_IDF
|
|
|
- - SSC_T1_BT_Dongle
|
|
|
-
|
|
|
-IT_C2_T2_BT_Simple:
|
|
|
- extends:
|
|
|
- - .integration_test_esp32c2_template
|
|
|
- - .rules:test:integration_test_ble
|
|
|
- parallel: 9
|
|
|
- tags:
|
|
|
- - ESP32C2_IDF
|
|
|
- - SSC_T2_BT_Simple
|
|
|
-
|
|
|
-IT_C2_T1_BT_Dongle:
|
|
|
- extends:
|
|
|
- - .integration_test_esp32c2_template
|
|
|
- - .rules:test:integration_test_ble
|
|
|
- image: gitlab.espressif.cn:5050/qa/dockerfiles/integration-test-env-dbg:1
|
|
|
- parallel: 2
|
|
|
- tags:
|
|
|
- - ESP32C2_IDF
|
|
|
- - SSC_T1_BT_Dongle
|