2016-08-22 06:19:08 -04:00
|
|
|
stages:
|
|
|
|
- build
|
2017-05-05 08:20:31 -04:00
|
|
|
- assign_test
|
2016-11-01 07:30:42 -04:00
|
|
|
- unit_test
|
2016-08-23 00:54:09 -04:00
|
|
|
- test
|
2016-10-17 05:03:54 -04:00
|
|
|
- test_report
|
2016-08-22 06:19:08 -04:00
|
|
|
- deploy
|
|
|
|
|
2017-06-06 21:58:35 -04:00
|
|
|
variables:
|
2017-06-12 03:22:09 -04:00
|
|
|
# System environment
|
|
|
|
|
2017-06-07 03:42:36 -04:00
|
|
|
# Common parameters for the 'make' during CI tests
|
|
|
|
MAKEFLAGS: "-j5 --no-keep-going"
|
|
|
|
|
2017-06-12 03:22:09 -04:00
|
|
|
# GitLab-CI environment
|
|
|
|
|
|
|
|
# more attempts for more robust
|
|
|
|
GET_SOURCES_ATTEMPTS: "10"
|
|
|
|
ARTIFACT_DOWNLOAD_ATTEMPTS: "10"
|
|
|
|
|
2017-06-14 03:52:33 -04:00
|
|
|
# We use get_sources.sh script to fetch the submodules and/or re-fetch the repo
|
|
|
|
# if it was corrupted (if submodule update fails this can happen)
|
|
|
|
GIT_STRATEGY: fetch
|
|
|
|
GIT_SUBMODULE_STRATEGY: none
|
|
|
|
|
2017-06-07 03:42:36 -04:00
|
|
|
# IDF environment
|
2017-06-12 03:22:09 -04:00
|
|
|
|
2017-06-06 21:58:35 -04:00
|
|
|
IDF_PATH: "$CI_PROJECT_DIR"
|
2017-10-18 07:53:10 -04:00
|
|
|
APPLY_BOT_FILTER_SCRIPT: "$CI_PROJECT_DIR/tools/ci/apply_bot_filter.py"
|
|
|
|
CHECKOUT_REF_SCRIPT: "$CI_PROJECT_DIR/tools/ci/checkout_project_ref.py"
|
|
|
|
|
|
|
|
# before each job, we need to check if this job is filtered by bot stage/job filter
|
|
|
|
.apply_bot_filter: &apply_bot_filter
|
|
|
|
python $APPLY_BOT_FILTER_SCRIPT || exit 0
|
2017-06-06 21:58:35 -04:00
|
|
|
|
2016-09-01 03:13:15 -04:00
|
|
|
before_script:
|
2017-10-18 07:53:10 -04:00
|
|
|
# apply bot filter in before script
|
|
|
|
- *apply_bot_filter
|
2016-09-12 21:34:28 -04:00
|
|
|
# add gitlab ssh key
|
|
|
|
- mkdir -p ~/.ssh
|
|
|
|
- chmod 700 ~/.ssh
|
2016-09-13 09:24:57 -04:00
|
|
|
- echo -n $GITLAB_KEY > ~/.ssh/id_rsa_base64
|
2016-09-12 21:34:28 -04:00
|
|
|
- base64 --decode --ignore-garbage ~/.ssh/id_rsa_base64 > ~/.ssh/id_rsa
|
|
|
|
- chmod 600 ~/.ssh/id_rsa
|
|
|
|
- echo -e "Host gitlab.espressif.cn\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
|
2016-11-07 22:55:48 -05:00
|
|
|
|
2017-03-22 06:39:28 -04:00
|
|
|
# Set IS_PRIVATE or IS_PUBLIC depending on if our branch is public or not
|
|
|
|
#
|
|
|
|
# (the same regular expressions are used to set these are used in 'only:' sections below
|
2017-06-16 00:38:32 -04:00
|
|
|
- source tools/ci/configure_ci_environment.sh
|
2017-03-22 06:39:28 -04:00
|
|
|
|
2017-06-14 03:52:33 -04:00
|
|
|
# fetch the submodules (& if necessary re-fetch repo) from gitlab
|
|
|
|
- time ./tools/ci/get-full-sources.sh
|
2016-09-01 03:13:15 -04:00
|
|
|
|
2017-06-26 06:42:28 -04:00
|
|
|
.do_nothing_before:
|
|
|
|
before_script: &do_nothing_before
|
2017-10-18 07:53:10 -04:00
|
|
|
# apply bot filter in before script
|
|
|
|
- *apply_bot_filter
|
2017-06-26 06:42:28 -04:00
|
|
|
- echo "Not setting up GitLab key, not fetching submodules"
|
|
|
|
- source tools/ci/configure_ci_environment.sh
|
|
|
|
|
|
|
|
.add_gitlab_key_before:
|
|
|
|
before_script: &add_gitlab_key_before
|
2017-10-18 07:53:10 -04:00
|
|
|
# apply bot filter in before script
|
|
|
|
- *apply_bot_filter
|
2017-06-26 06:42:28 -04:00
|
|
|
- echo "Not fetching submodules"
|
|
|
|
- source tools/ci/configure_ci_environment.sh
|
|
|
|
# add gitlab ssh key
|
|
|
|
- mkdir -p ~/.ssh
|
|
|
|
- chmod 700 ~/.ssh
|
|
|
|
- echo -n $GITLAB_KEY > ~/.ssh/id_rsa_base64
|
|
|
|
- base64 --decode --ignore-garbage ~/.ssh/id_rsa_base64 > ~/.ssh/id_rsa
|
|
|
|
- chmod 600 ~/.ssh/id_rsa
|
|
|
|
- echo -e "Host gitlab.espressif.cn\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
|
|
|
|
|
2016-08-22 03:02:22 -04:00
|
|
|
build_template_app:
|
2016-08-22 06:19:08 -04:00
|
|
|
stage: build
|
2017-11-22 21:13:14 -05:00
|
|
|
image: $CI_DOCKER_REGISTRY/esp32-ci-env$BOT_DOCKER_IMAGE_TAG
|
2016-09-08 22:49:03 -04:00
|
|
|
tags:
|
|
|
|
- build
|
2016-08-22 03:02:22 -04:00
|
|
|
variables:
|
2017-02-10 01:38:24 -05:00
|
|
|
BATCH_BUILD: "1"
|
2016-10-05 01:32:09 -04:00
|
|
|
IDF_CI_BUILD: "1"
|
2016-08-22 03:02:22 -04:00
|
|
|
script:
|
|
|
|
- git clone https://github.com/espressif/esp-idf-template.git
|
|
|
|
- cd esp-idf-template
|
2016-09-01 04:58:06 -04:00
|
|
|
# Try to use the same branch name for esp-idf-template that we're
|
|
|
|
# using on esp-idf. If it doesn't exist then just stick to the default
|
|
|
|
# branch
|
2017-10-18 07:53:10 -04:00
|
|
|
- python $CHECKOUT_REF_SCRIPT esp-idf-template
|
2016-10-17 00:45:42 -04:00
|
|
|
# Test debug build (default)
|
|
|
|
- make all V=1
|
|
|
|
# Now test release build
|
|
|
|
- make clean
|
|
|
|
- sed -i.bak -e's/CONFIG_OPTIMIZATION_LEVEL_DEBUG\=y/CONFIG_OPTIMIZATION_LEVEL_RELEASE=y/' sdkconfig
|
2016-09-08 20:49:35 -04:00
|
|
|
- make all V=1
|
2016-11-21 10:05:23 -05:00
|
|
|
# Check if there are any stray printf/ets_printf references in WiFi libs
|
|
|
|
- cd ../components/esp32/lib
|
|
|
|
- test $(xtensa-esp32-elf-nm *.a | grep -w printf | wc -l) -eq 0
|
|
|
|
- test $(xtensa-esp32-elf-nm *.a | grep -w ets_printf | wc -l) -eq 0
|
2016-08-22 06:19:08 -04:00
|
|
|
|
2016-09-08 22:49:03 -04:00
|
|
|
|
2017-04-26 06:09:14 -04:00
|
|
|
.build_template: &build_template
|
2016-09-08 22:49:03 -04:00
|
|
|
stage: build
|
2017-11-22 21:13:14 -05:00
|
|
|
image: $CI_DOCKER_REGISTRY/esp32-ci-env$BOT_DOCKER_IMAGE_TAG
|
2016-09-08 22:49:03 -04:00
|
|
|
tags:
|
|
|
|
- build
|
|
|
|
variables:
|
2017-02-10 01:38:24 -05:00
|
|
|
BATCH_BUILD: "1"
|
2017-04-19 23:43:20 -04:00
|
|
|
V: "0"
|
2016-09-08 22:49:03 -04:00
|
|
|
|
|
|
|
build_ssc:
|
|
|
|
<<: *build_template
|
|
|
|
artifacts:
|
|
|
|
paths:
|
2017-06-09 06:14:29 -04:00
|
|
|
- SSC/ssc_bin
|
2016-09-08 22:49:03 -04:00
|
|
|
expire_in: 6 mos
|
|
|
|
script:
|
2017-05-05 08:20:31 -04:00
|
|
|
- git clone $SSC_REPOSITORY
|
2016-09-08 22:49:03 -04:00
|
|
|
- cd SSC
|
2017-10-18 07:53:10 -04:00
|
|
|
- python $CHECKOUT_REF_SCRIPT SSC
|
2017-06-16 04:31:46 -04:00
|
|
|
- MAKEFLAGS= ./gen_misc_ng.sh
|
2016-09-08 22:49:03 -04:00
|
|
|
|
2016-11-01 07:30:42 -04:00
|
|
|
build_esp_idf_tests:
|
|
|
|
<<: *build_template
|
|
|
|
artifacts:
|
|
|
|
paths:
|
2017-09-12 13:40:54 -04:00
|
|
|
- tools/unit-test-app/output
|
2017-06-09 06:14:29 -04:00
|
|
|
- components/idf_test/unit_test/TestCaseAll.yml
|
|
|
|
- components/idf_test/unit_test/CIConfigs/*.yml
|
2016-11-01 07:30:42 -04:00
|
|
|
expire_in: 6 mos
|
|
|
|
script:
|
2016-11-17 03:36:10 -05:00
|
|
|
- cd tools/unit-test-app
|
2017-09-12 13:40:54 -04:00
|
|
|
- make help # make sure kconfig tools are built in single process
|
|
|
|
- make ut-clean-all-configs
|
2017-10-18 09:09:53 -04:00
|
|
|
- export EXTRA_CFLAGS="-Werror -Werror=deprecated-declarations"
|
|
|
|
- export EXTRA_CXXFLAGS=${EXTRA_CFLAGS}
|
2017-09-12 13:40:54 -04:00
|
|
|
- make ut-build-all-configs TESTS_ALL=1
|
2017-03-24 06:38:06 -04:00
|
|
|
- python tools/UnitTestParser.py
|
2016-11-01 07:30:42 -04:00
|
|
|
|
2017-06-07 04:30:25 -04:00
|
|
|
.build_examples_template: &build_examples_template
|
2016-10-11 01:41:05 -04:00
|
|
|
<<: *build_template
|
|
|
|
artifacts:
|
2017-12-28 05:20:14 -05:00
|
|
|
when: always
|
2016-10-11 01:41:05 -04:00
|
|
|
paths:
|
2017-06-05 02:39:11 -04:00
|
|
|
- build_examples/*/*/*/build/*.bin
|
|
|
|
- build_examples/*/*/*/build/*.elf
|
|
|
|
- build_examples/*/*/*/build/*.map
|
2017-10-09 22:55:25 -04:00
|
|
|
- build_examples/*/*/*/build/download.config
|
2017-06-05 02:39:11 -04:00
|
|
|
- build_examples/*/*/*/build/bootloader/*.bin
|
2017-12-28 05:20:14 -05:00
|
|
|
- $LOG_PATH
|
2017-06-07 04:30:25 -04:00
|
|
|
expire_in: 1 week
|
2017-06-06 06:26:31 -04:00
|
|
|
variables:
|
|
|
|
IDF_CI_BUILD: "1"
|
2017-12-28 05:20:14 -05:00
|
|
|
LOG_PATH: "$CI_PROJECT_DIR/log_examples"
|
2016-10-11 01:41:05 -04:00
|
|
|
script:
|
|
|
|
# it's not possible to build 100% out-of-tree and have the "artifacts"
|
|
|
|
# mechanism work, but this is the next best thing
|
2017-08-31 23:42:39 -04:00
|
|
|
- rm -rf build_examples
|
2016-10-11 01:41:05 -04:00
|
|
|
- mkdir build_examples
|
|
|
|
- cd build_examples
|
2017-06-07 04:30:25 -04:00
|
|
|
# build some of examples
|
2017-12-28 05:20:14 -05:00
|
|
|
- mkdir -p ${LOG_PATH}
|
2017-06-16 00:38:32 -04:00
|
|
|
- ${IDF_PATH}/tools/ci/build_examples.sh "${CI_JOB_NAME}"
|
2017-06-07 04:30:25 -04:00
|
|
|
|
|
|
|
build_examples_00:
|
|
|
|
<<: *build_examples_template
|
|
|
|
|
|
|
|
build_examples_01:
|
|
|
|
<<: *build_examples_template
|
|
|
|
|
|
|
|
build_examples_02:
|
|
|
|
<<: *build_examples_template
|
|
|
|
|
|
|
|
build_examples_03:
|
|
|
|
<<: *build_examples_template
|
|
|
|
|
|
|
|
build_examples_04:
|
|
|
|
<<: *build_examples_template
|
2016-10-11 01:41:05 -04:00
|
|
|
|
2017-09-01 03:29:51 -04:00
|
|
|
build_examples_05:
|
|
|
|
<<: *build_examples_template
|
|
|
|
|
|
|
|
build_examples_06:
|
|
|
|
<<: *build_examples_template
|
|
|
|
|
2017-11-22 09:40:49 -05:00
|
|
|
build_examples_07:
|
|
|
|
<<: *build_examples_template
|
|
|
|
|
|
|
|
|
2016-11-01 08:08:29 -04:00
|
|
|
build_docs:
|
|
|
|
stage: build
|
2017-11-22 21:13:14 -05:00
|
|
|
image: $CI_DOCKER_REGISTRY/esp32-ci-env$BOT_DOCKER_IMAGE_TAG
|
2016-11-01 08:08:29 -04:00
|
|
|
tags:
|
|
|
|
- build_docs
|
2017-06-09 06:14:29 -04:00
|
|
|
artifacts:
|
2017-09-06 15:16:34 -04:00
|
|
|
when: always
|
2017-06-09 06:14:29 -04:00
|
|
|
paths:
|
2017-09-06 15:16:34 -04:00
|
|
|
- docs/doxygen-warning-log.txt
|
|
|
|
- docs/sphinx-warning-log.txt
|
2017-09-13 20:34:25 -04:00
|
|
|
- docs/sphinx-warning-log-sanitized.txt
|
2017-06-09 06:14:29 -04:00
|
|
|
- docs/_build/html
|
|
|
|
expire_in: 1 mos
|
2016-11-01 08:08:29 -04:00
|
|
|
script:
|
|
|
|
- cd docs
|
2016-11-15 12:35:09 -05:00
|
|
|
- doxygen
|
2017-09-06 15:16:34 -04:00
|
|
|
# If there are Doxygen warnings, print them and bail out
|
|
|
|
- test $(cat doxygen-warning-log.txt | wc -l) -eq 0 || ( echo "Doxygen pass had some warnings:" && cat doxygen-warning-log.txt && false )
|
2017-01-19 03:16:06 -05:00
|
|
|
- make gh-linkcheck
|
2016-11-01 08:08:29 -04:00
|
|
|
- make html
|
2017-09-13 20:34:25 -04:00
|
|
|
- ./check_doc_warnings.sh
|
2016-11-01 08:08:29 -04:00
|
|
|
|
2016-08-23 00:54:09 -04:00
|
|
|
test_nvs_on_host:
|
|
|
|
stage: test
|
2017-11-22 21:13:14 -05:00
|
|
|
image: $CI_DOCKER_REGISTRY/esp32-ci-env$BOT_DOCKER_IMAGE_TAG
|
2016-09-08 22:49:03 -04:00
|
|
|
tags:
|
|
|
|
- nvs_host_test
|
2017-06-09 07:05:17 -04:00
|
|
|
dependencies: []
|
2016-08-23 00:54:09 -04:00
|
|
|
script:
|
2016-11-17 03:36:10 -05:00
|
|
|
- cd components/nvs_flash/test_nvs_host
|
2016-08-23 00:54:09 -04:00
|
|
|
- make test
|
|
|
|
|
2017-05-11 22:30:27 -04:00
|
|
|
test_partition_table_on_host:
|
|
|
|
stage: test
|
2017-11-22 21:13:14 -05:00
|
|
|
image: $CI_DOCKER_REGISTRY/esp32-ci-env$BOT_DOCKER_IMAGE_TAG
|
2017-05-11 22:30:27 -04:00
|
|
|
tags:
|
|
|
|
- build
|
2017-06-09 07:05:17 -04:00
|
|
|
dependencies: []
|
2017-05-11 22:30:27 -04:00
|
|
|
script:
|
|
|
|
- cd components/partition_table/test_gen_esp32part_host
|
|
|
|
- ./gen_esp32part_tests.py
|
|
|
|
|
2017-04-10 09:41:19 -04:00
|
|
|
test_wl_on_host:
|
|
|
|
stage: test
|
2017-11-22 21:13:14 -05:00
|
|
|
image: $CI_DOCKER_REGISTRY/esp32-ci-env$BOT_DOCKER_IMAGE_TAG
|
2017-04-10 09:41:19 -04:00
|
|
|
tags:
|
|
|
|
- wl_host_test
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- components/wear_levelling/test_wl_host/coverage_report.zip
|
2017-06-09 07:05:17 -04:00
|
|
|
dependencies: []
|
2017-04-10 09:41:19 -04:00
|
|
|
script:
|
|
|
|
- cd components/wear_levelling/test_wl_host
|
|
|
|
- make test
|
|
|
|
|
2017-05-03 04:03:28 -04:00
|
|
|
test_multi_heap_on_host:
|
|
|
|
stage: test
|
2017-11-22 21:13:14 -05:00
|
|
|
image: $CI_DOCKER_REGISTRY/esp32-ci-env$BOT_DOCKER_IMAGE_TAG
|
2017-05-03 04:03:28 -04:00
|
|
|
tags:
|
|
|
|
- wl_host_test
|
|
|
|
script:
|
|
|
|
- cd components/heap/test_multi_heap_host
|
|
|
|
- make test
|
|
|
|
|
2016-08-24 00:16:26 -04:00
|
|
|
test_build_system:
|
|
|
|
stage: test
|
2017-11-22 21:13:14 -05:00
|
|
|
image: $CI_DOCKER_REGISTRY/esp32-ci-env$BOT_DOCKER_IMAGE_TAG
|
2016-09-08 22:49:03 -04:00
|
|
|
tags:
|
|
|
|
- build_test
|
2017-06-09 07:05:17 -04:00
|
|
|
dependencies: []
|
2016-08-24 00:16:26 -04:00
|
|
|
script:
|
2017-09-03 21:15:04 -04:00
|
|
|
- ${IDF_PATH}/tools/ci/test_configure_ci_environment.sh
|
|
|
|
- rm -rf test_build_system
|
|
|
|
- mkdir test_build_system
|
|
|
|
- cd test_build_system
|
|
|
|
- ${IDF_PATH}/tools/ci/test_build_system.sh
|
2016-08-24 00:16:26 -04:00
|
|
|
|
2016-09-30 01:58:02 -04:00
|
|
|
test_report:
|
2016-10-17 05:03:54 -04:00
|
|
|
stage: test_report
|
2017-11-22 21:13:14 -05:00
|
|
|
image: $CI_DOCKER_REGISTRY/esp32-ci-env$BOT_DOCKER_IMAGE_TAG
|
2017-04-26 06:09:14 -04:00
|
|
|
tags:
|
|
|
|
- report
|
2016-09-30 01:58:02 -04:00
|
|
|
only:
|
|
|
|
- master
|
|
|
|
- triggers
|
2017-03-22 06:25:28 -04:00
|
|
|
- /^release\/v/
|
|
|
|
- /^v\d+\.\d+(\.\d+)?($|-)/
|
2016-09-30 01:58:02 -04:00
|
|
|
variables:
|
2017-05-31 05:20:29 -04:00
|
|
|
LOG_PATH: "$CI_PROJECT_DIR/$CI_COMMIT_SHA"
|
2016-10-11 23:17:56 -04:00
|
|
|
TEST_CASE_FILE_PATH: "$CI_PROJECT_DIR/components/idf_test"
|
2016-09-30 01:58:02 -04:00
|
|
|
REPORT_PATH: "$CI_PROJECT_DIR/CI_Test_Report"
|
2017-04-25 03:10:32 -04:00
|
|
|
MODULE_UPDATE_FILE: "$CI_PROJECT_DIR/tools/unit-test-app/tools/ModuleDefinition.yml"
|
2017-06-09 07:05:17 -04:00
|
|
|
#dependencies:
|
|
|
|
#We need all UT* and IT* artifacts except for only a few other
|
2016-09-30 01:58:02 -04:00
|
|
|
artifacts:
|
|
|
|
when: always
|
|
|
|
paths:
|
|
|
|
- $REPORT_PATH
|
2016-11-17 00:45:53 -05:00
|
|
|
- $LOG_PATH
|
2016-10-17 05:03:54 -04:00
|
|
|
expire_in: 12 mos
|
2016-09-30 01:58:02 -04:00
|
|
|
script:
|
2016-11-23 22:46:58 -05:00
|
|
|
# calc log path
|
|
|
|
- VER_NUM=`git rev-list HEAD | wc -l | awk '{print $1}'`
|
2017-05-31 05:20:29 -04:00
|
|
|
- SHA_ID=`echo $CI_COMMIT_SHA | cut -c 1-7`
|
2016-11-23 22:46:58 -05:00
|
|
|
- REVISION="${VER_NUM}_${SHA_ID}"
|
|
|
|
# replace / to _ in branch name
|
2017-05-31 05:20:29 -04:00
|
|
|
- ESCAPED_BRANCH_NAME=`echo $CI_COMMIT_REF_NAME | sed 's/\//___/g'`
|
2016-11-23 22:46:58 -05:00
|
|
|
# result path and artifacts path
|
|
|
|
- RESULT_PATH="$CI_PROJECT_NAME/$ESCAPED_BRANCH_NAME/$REVISION"
|
2017-05-31 05:20:29 -04:00
|
|
|
- ARTIFACTS_PATH="$GITLAB_HTTP_SERVER/idf/esp-idf/builds/$CI_JOB_ID/artifacts/browse/$CI_COMMIT_SHA"
|
2016-09-30 01:58:02 -04:00
|
|
|
# clone test bench
|
|
|
|
- git clone $GITLAB_SSH_SERVER/yinling/auto_test_script.git
|
|
|
|
- cd auto_test_script
|
2017-10-18 07:53:10 -04:00
|
|
|
- python $CHECKOUT_REF_SCRIPT auto_test_script
|
2016-09-30 01:58:02 -04:00
|
|
|
# generate report
|
2017-01-19 10:37:12 -05:00
|
|
|
- TEST_RESULT=Pass
|
|
|
|
- python CITestReport.py -l $LOG_PATH -t $TEST_CASE_FILE_PATH -p $REPORT_PATH -r $RESULT_PATH -a $ARTIFACTS_PATH -m $MODULE_UPDATE_FILE || TEST_RESULT=Fail
|
2016-11-23 22:46:58 -05:00
|
|
|
# commit to CI-test-result project
|
|
|
|
- git clone $GITLAB_SSH_SERVER/qa/CI-test-result.git
|
2017-06-09 06:14:29 -04:00
|
|
|
- rm -rf "CI-test-result/RawData/$RESULT_PATH"
|
2016-11-23 22:46:58 -05:00
|
|
|
- cp -R $CI_PROJECT_NAME CI-test-result/RawData
|
|
|
|
- cd CI-test-result
|
|
|
|
# config git user
|
|
|
|
- git config --global user.email "ci-test-result@espressif.com"
|
|
|
|
- git config --global user.name "ci-test-result"
|
|
|
|
# commit test result
|
|
|
|
- git add .
|
2017-05-31 05:20:29 -04:00
|
|
|
- git commit . -m "update test result for $CI_PROJECT_NAME/$CI_COMMIT_REF_NAME/$CI_COMMIT_SHA, pipeline ID $CI_PIPELINE_ID" || exit 0
|
2016-11-23 22:46:58 -05:00
|
|
|
- git push origin master
|
2017-01-02 03:25:26 -05:00
|
|
|
- test "${TEST_RESULT}" = "Pass" || exit 1
|
2016-09-08 22:49:03 -04:00
|
|
|
|
2016-09-26 02:32:58 -04:00
|
|
|
push_master_to_github:
|
|
|
|
stage: deploy
|
2017-11-22 21:13:14 -05:00
|
|
|
image: $CI_DOCKER_REGISTRY/esp32-ci-env$BOT_DOCKER_IMAGE_TAG
|
2017-04-26 06:09:14 -04:00
|
|
|
tags:
|
|
|
|
- deploy
|
2016-09-26 02:32:58 -04:00
|
|
|
only:
|
|
|
|
- master
|
2017-03-22 06:25:28 -04:00
|
|
|
- /^release\/v/
|
|
|
|
- /^v\d+\.\d+(\.\d+)?($|-)/
|
2016-09-26 02:32:58 -04:00
|
|
|
when: on_success
|
2017-06-09 07:05:17 -04:00
|
|
|
dependencies: []
|
2016-09-26 02:32:58 -04:00
|
|
|
variables:
|
2017-03-14 05:27:56 -04:00
|
|
|
GITHUB_PUSH_REFS: refs/remotes/origin/release refs/remotes/origin/master
|
2017-06-26 06:42:28 -04:00
|
|
|
before_script: *do_nothing_before
|
2016-09-26 02:32:58 -04:00
|
|
|
script:
|
|
|
|
- mkdir -p ~/.ssh
|
|
|
|
- chmod 700 ~/.ssh
|
|
|
|
- echo -n $GH_PUSH_KEY > ~/.ssh/id_rsa_base64
|
|
|
|
- base64 --decode --ignore-garbage ~/.ssh/id_rsa_base64 > ~/.ssh/id_rsa
|
|
|
|
- chmod 600 ~/.ssh/id_rsa
|
|
|
|
- echo -e "Host github.com\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
|
2017-07-03 23:52:57 -04:00
|
|
|
- git remote remove github &>/dev/null || true
|
2016-09-26 02:32:58 -04:00
|
|
|
- git remote add github git@github.com:espressif/esp-idf.git
|
2017-03-14 05:27:56 -04:00
|
|
|
# What the next line of script does: goes through the list of refs for all branches we push to github,
|
2017-05-31 05:20:29 -04:00
|
|
|
# generates a snippet of shell which is evaluated. The snippet checks CI_COMMIT_SHA against the SHA
|
2017-03-14 05:27:56 -04:00
|
|
|
# (aka objectname) at tip of each branch, and if any SHAs match then it checks out the local branch
|
|
|
|
# and then pushes that ref to a corresponding github branch
|
2017-05-31 05:20:29 -04:00
|
|
|
- eval $(git for-each-ref --shell bash --format 'if [ $CI_COMMIT_SHA == %(objectname) ]; then git checkout -B %(refname:strip=3); git push --follow-tags github %(refname:strip=3); fi;' $GITHUB_PUSH_REFS)
|
2016-09-08 22:49:03 -04:00
|
|
|
|
2016-09-26 02:32:58 -04:00
|
|
|
|
2016-11-01 08:58:47 -04:00
|
|
|
deploy_docs:
|
|
|
|
stage: deploy
|
2017-11-22 21:13:14 -05:00
|
|
|
image: $CI_DOCKER_REGISTRY/esp32-ci-env$BOT_DOCKER_IMAGE_TAG
|
2017-04-26 06:09:14 -04:00
|
|
|
tags:
|
|
|
|
- deploy
|
2016-11-01 08:58:47 -04:00
|
|
|
only:
|
|
|
|
- master
|
2017-03-22 06:25:28 -04:00
|
|
|
- /^release\/v/
|
|
|
|
- /^v\d+\.\d+(\.\d+)?($|-)/
|
2016-11-01 08:58:47 -04:00
|
|
|
- triggers
|
2017-06-09 07:05:17 -04:00
|
|
|
dependencies:
|
|
|
|
- build_docs
|
2017-06-26 06:42:28 -04:00
|
|
|
before_script: *do_nothing_before
|
2016-11-01 08:58:47 -04:00
|
|
|
script:
|
|
|
|
- mkdir -p ~/.ssh
|
|
|
|
- chmod 700 ~/.ssh
|
|
|
|
- echo -n $DOCS_DEPLOY_KEY > ~/.ssh/id_rsa_base64
|
|
|
|
- base64 --decode --ignore-garbage ~/.ssh/id_rsa_base64 > ~/.ssh/id_rsa
|
|
|
|
- chmod 600 ~/.ssh/id_rsa
|
|
|
|
- echo -e "Host $DOCS_SERVER\n\tStrictHostKeyChecking no\n\tUser $DOCS_SERVER_USER\n" >> ~/.ssh/config
|
|
|
|
- export GIT_VER=$(git describe --always)
|
|
|
|
- cd docs/_build/
|
|
|
|
- mv html $GIT_VER
|
|
|
|
- tar czvf $GIT_VER.tar.gz $GIT_VER
|
|
|
|
- scp $GIT_VER.tar.gz $DOCS_SERVER:$DOCS_PATH
|
|
|
|
- ssh $DOCS_SERVER -x "cd $DOCS_PATH && tar xzvf $GIT_VER.tar.gz && rm -f latest && ln -s $GIT_VER latest"
|
|
|
|
|
2017-01-19 03:16:06 -05:00
|
|
|
check_doc_links:
|
|
|
|
stage: test
|
2017-11-22 21:13:14 -05:00
|
|
|
image: $CI_DOCKER_REGISTRY/esp32-ci-env$BOT_DOCKER_IMAGE_TAG
|
2017-01-19 03:16:06 -05:00
|
|
|
tags:
|
|
|
|
- check_doc_links
|
|
|
|
only:
|
|
|
|
# can only be triggered
|
|
|
|
- triggers
|
2017-06-09 06:14:29 -04:00
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- docs/_build/linkcheck
|
|
|
|
expire_in: 1 mos
|
2017-01-19 03:16:06 -05:00
|
|
|
script:
|
|
|
|
# must be triggered with CHECK_LINKS=Yes, otherwise exit without test
|
2017-03-04 05:17:59 -05:00
|
|
|
- test "$CHECK_LINKS" = "Yes" || exit 0
|
2017-01-19 03:16:06 -05:00
|
|
|
# can only run on master branch (otherwise the commit is not on Github yet)
|
2017-05-31 05:20:29 -04:00
|
|
|
- test "${CI_COMMIT_REF_NAME}" = "master" || exit 0
|
2017-01-19 03:16:06 -05:00
|
|
|
- cd docs
|
|
|
|
- make linkcheck
|
|
|
|
|
2017-03-31 06:52:59 -04:00
|
|
|
check_commit_msg:
|
|
|
|
stage: deploy
|
2017-11-22 21:13:14 -05:00
|
|
|
image: $CI_DOCKER_REGISTRY/esp32-ci-env$BOT_DOCKER_IMAGE_TAG
|
2017-03-31 06:52:59 -04:00
|
|
|
tags:
|
|
|
|
- build
|
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- /^release\/v/
|
|
|
|
- /^v\d+\.\d+(\.\d+)?($|-)/
|
2017-06-09 07:05:17 -04:00
|
|
|
dependencies: []
|
2017-06-26 06:42:28 -04:00
|
|
|
before_script: *do_nothing_before
|
2017-03-31 06:52:59 -04:00
|
|
|
script:
|
2017-06-16 00:36:34 -04:00
|
|
|
- git status
|
|
|
|
- git log -n10 --oneline
|
2017-03-31 06:52:59 -04:00
|
|
|
# commit start with "WIP: " need to be squashed before merge
|
2017-06-16 00:36:34 -04:00
|
|
|
- 'git log --pretty=%s master.. -- | grep "^WIP: " && exit 1 || exit 0'
|
2016-11-01 08:58:47 -04:00
|
|
|
|
2017-06-07 23:55:27 -04:00
|
|
|
check_submodule_sync:
|
|
|
|
stage: deploy
|
2017-11-22 21:13:14 -05:00
|
|
|
image: $CI_DOCKER_REGISTRY/esp32-ci-env$BOT_DOCKER_IMAGE_TAG
|
2017-06-07 23:55:27 -04:00
|
|
|
tags:
|
|
|
|
- build
|
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- /^release\/v/
|
|
|
|
- /^v\d+\.\d+(\.\d+)?($|-)/
|
2017-06-09 07:05:17 -04:00
|
|
|
dependencies: []
|
2017-06-18 21:59:18 -04:00
|
|
|
variables:
|
|
|
|
GIT_STRATEGY: clone
|
2017-06-26 06:42:28 -04:00
|
|
|
before_script: *do_nothing_before
|
2017-06-07 23:55:27 -04:00
|
|
|
script:
|
|
|
|
# check if all submodules are correctly synced to public repostory
|
|
|
|
- git submodule update --init --recursive
|
|
|
|
|
2017-05-05 08:20:31 -04:00
|
|
|
assign_test:
|
|
|
|
<<: *build_template
|
|
|
|
stage: assign_test
|
2017-10-09 22:55:25 -04:00
|
|
|
# gitlab ci do not support match job with RegEx or wildcard now in dependencies.
|
|
|
|
# we have a lot build example jobs. now we don't use dependencies, just download all artificats of build stage.
|
2017-09-13 08:39:43 -04:00
|
|
|
variables:
|
|
|
|
UT_BIN_PATH: "tools/unit-test-app/output"
|
|
|
|
OUTPUT_BIN_PATH: "test_bins/ESP32_IDF"
|
2017-10-09 22:55:25 -04:00
|
|
|
TEST_FW_PATH: "$CI_PROJECT_DIR/tools/tiny-test-fw"
|
|
|
|
EXAMPLE_CONFIG_OUTPUT_PATH: "$CI_PROJECT_DIR/examples/test_configs"
|
2017-05-05 08:20:31 -04:00
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- test_bins
|
|
|
|
- components/idf_test/*/CIConfigs
|
|
|
|
- components/idf_test/*/TC.sqlite
|
2017-10-09 22:55:25 -04:00
|
|
|
- $EXAMPLE_CONFIG_OUTPUT_PATH
|
2017-05-05 08:20:31 -04:00
|
|
|
expire_in: 1 mos
|
2017-06-26 06:42:28 -04:00
|
|
|
before_script: *add_gitlab_key_before
|
2017-05-05 08:20:31 -04:00
|
|
|
script:
|
|
|
|
# first move test bins together: test_bins/CHIP_SDK/TestApp/bin_files
|
2017-09-13 08:39:43 -04:00
|
|
|
- mkdir -p $OUTPUT_BIN_PATH
|
|
|
|
# copy and rename folder name to "UT_config"
|
|
|
|
- for CONFIG in $(ls $UT_BIN_PATH); do cp -r "$UT_BIN_PATH/$CONFIG" "$OUTPUT_BIN_PATH/UT_$CONFIG"; done
|
|
|
|
- cp -r SSC/ssc_bin/* $OUTPUT_BIN_PATH
|
2017-10-09 22:55:25 -04:00
|
|
|
# assign example tests
|
|
|
|
- python $TEST_FW_PATH/CIAssignExampleTest.py $IDF_PATH/examples $IDF_PATH/.gitlab-ci.yml $EXAMPLE_CONFIG_OUTPUT_PATH
|
2017-05-05 08:20:31 -04:00
|
|
|
# clone test script to assign tests
|
|
|
|
- git clone $TEST_SCRIPT_REPOSITORY
|
|
|
|
- cd auto_test_script
|
2017-10-18 07:53:10 -04:00
|
|
|
- python $CHECKOUT_REF_SCRIPT auto_test_script
|
2017-05-05 08:20:31 -04:00
|
|
|
# assign unit test cases
|
|
|
|
- python CIAssignTestCases.py -t $IDF_PATH/components/idf_test/unit_test -c $IDF_PATH/.gitlab-ci.yml -b $IDF_PATH/test_bins
|
|
|
|
# assgin integration test cases
|
|
|
|
- python CIAssignTestCases.py -t $IDF_PATH/components/idf_test/integration_test -c $IDF_PATH/.gitlab-ci.yml -b $IDF_PATH/test_bins
|
|
|
|
|
2017-10-09 22:55:25 -04:00
|
|
|
.example_test_template: &example_test_template
|
|
|
|
stage: test
|
|
|
|
when: on_success
|
|
|
|
only:
|
|
|
|
- master
|
|
|
|
- /^release\/v/
|
|
|
|
- /^v\d+\.\d+(\.\d+)?($|-)/
|
|
|
|
- triggers
|
|
|
|
# gitlab ci do not support match job with RegEx or wildcard now in dependencies.
|
|
|
|
# we have a lot build example jobs and the binaries them exceed the limitation of artifacts.
|
|
|
|
# we can't artifact them in one job. For example test jobs, download all artifacts from previous stages.
|
|
|
|
artifacts:
|
|
|
|
when: always
|
|
|
|
paths:
|
|
|
|
- $LOG_PATH
|
|
|
|
expire_in: 6 mos
|
|
|
|
variables:
|
|
|
|
TEST_FW_PATH: "$CI_PROJECT_DIR/tools/tiny-test-fw"
|
|
|
|
TEST_CASE_PATH: "$CI_PROJECT_DIR/examples"
|
|
|
|
CONFIG_FILE: "$CI_PROJECT_DIR/examples/test_configs/$CI_JOB_NAME.yml"
|
|
|
|
LOG_PATH: "$CI_PROJECT_DIR/TEST_LOGS"
|
|
|
|
script:
|
|
|
|
# first test if config file exists, if not exist, exit 0
|
|
|
|
- test -e $CONFIG_FILE || exit 0
|
|
|
|
- cd $TEST_FW_PATH
|
|
|
|
# run test
|
|
|
|
- python Runner.py $TEST_CASE_PATH -c $CONFIG_FILE
|
|
|
|
|
2016-09-08 22:49:03 -04:00
|
|
|
.test_template: &test_template
|
|
|
|
stage: test
|
|
|
|
when: on_success
|
|
|
|
only:
|
|
|
|
- master
|
2017-03-22 06:25:28 -04:00
|
|
|
- /^release\/v/
|
|
|
|
- /^v\d+\.\d+(\.\d+)?($|-)/
|
2016-09-18 11:12:50 -04:00
|
|
|
- triggers
|
2016-09-30 04:11:24 -04:00
|
|
|
allow_failure: true
|
2017-05-05 08:20:31 -04:00
|
|
|
dependencies:
|
|
|
|
- assign_test
|
2017-06-09 06:14:29 -04:00
|
|
|
artifacts:
|
|
|
|
when: always
|
|
|
|
paths:
|
|
|
|
- $LOG_PATH
|
|
|
|
expire_in: 6 mos
|
2016-09-08 22:49:03 -04:00
|
|
|
variables:
|
2017-05-05 08:20:31 -04:00
|
|
|
LOCAL_ENV_CONFIG_PATH: "$CI_PROJECT_DIR/ci-test-runner-configs/$CI_RUNNER_DESCRIPTION/ESP32_IDF"
|
2017-05-31 05:20:29 -04:00
|
|
|
LOG_PATH: "$CI_PROJECT_DIR/$CI_COMMIT_SHA"
|
2016-11-01 07:30:42 -04:00
|
|
|
TEST_CASE_FILE_PATH: "$CI_PROJECT_DIR/components/idf_test/integration_test"
|
2017-05-05 08:20:31 -04:00
|
|
|
MODULE_UPDATE_FILE: "$CI_PROJECT_DIR/components/idf_test/ModuleDefinition.yml"
|
2017-05-31 05:20:29 -04:00
|
|
|
CONFIG_FILE: "$CI_PROJECT_DIR/components/idf_test/integration_test/CIConfigs/$CI_JOB_NAME.yml"
|
2017-06-26 06:42:28 -04:00
|
|
|
before_script: *add_gitlab_key_before
|
2017-06-14 03:52:33 -04:00
|
|
|
script:
|
|
|
|
# first test if config file exists, if not exist, exit 0
|
|
|
|
- test -e $CONFIG_FILE || exit 0
|
2017-02-02 08:59:00 -05:00
|
|
|
# clone local test env configs
|
2017-05-05 08:20:31 -04:00
|
|
|
- git clone $TEST_ENV_CONFIG_REPOSITORY
|
2017-10-18 07:53:10 -04:00
|
|
|
- cd ci-test-runner-configs
|
|
|
|
- python $CHECKOUT_REF_SCRIPT ci-test-runner-configs
|
2016-09-29 01:38:29 -04:00
|
|
|
# clone test bench
|
2017-05-05 08:20:31 -04:00
|
|
|
- git clone $TEST_SCRIPT_REPOSITORY
|
2016-09-27 04:22:18 -04:00
|
|
|
- cd auto_test_script
|
2017-10-18 07:53:10 -04:00
|
|
|
- python $CHECKOUT_REF_SCRIPT auto_test_script
|
2016-09-29 01:38:29 -04:00
|
|
|
# run test
|
2017-05-31 05:20:29 -04:00
|
|
|
- python CIRunner.py -l "$LOG_PATH/$CI_JOB_NAME" -c $CONFIG_FILE -e $LOCAL_ENV_CONFIG_PATH -t $TEST_CASE_FILE_PATH -m $MODULE_UPDATE_FILE
|
2016-09-26 02:32:58 -04:00
|
|
|
|
2016-11-01 07:30:42 -04:00
|
|
|
# template for unit test jobs
|
|
|
|
.unit_test_template: &unit_test_template
|
|
|
|
<<: *test_template
|
|
|
|
allow_failure: false
|
|
|
|
stage: unit_test
|
|
|
|
variables:
|
2017-05-05 08:20:31 -04:00
|
|
|
LOCAL_ENV_CONFIG_PATH: "$CI_PROJECT_DIR/ci-test-runner-configs/$CI_RUNNER_DESCRIPTION/ESP32_IDF"
|
2017-05-31 05:20:29 -04:00
|
|
|
LOG_PATH: "$CI_PROJECT_DIR/$CI_COMMIT_SHA"
|
2016-11-01 07:30:42 -04:00
|
|
|
TEST_CASE_FILE_PATH: "$CI_PROJECT_DIR/components/idf_test/unit_test"
|
2017-05-05 08:20:31 -04:00
|
|
|
MODULE_UPDATE_FILE: "$CI_PROJECT_DIR/components/idf_test/ModuleDefinition.yml"
|
2017-05-31 05:20:29 -04:00
|
|
|
CONFIG_FILE: "$CI_PROJECT_DIR/components/idf_test/unit_test/CIConfigs/$CI_JOB_NAME.yml"
|
2016-11-01 07:30:42 -04:00
|
|
|
|
2017-06-02 03:03:56 -04:00
|
|
|
nvs_compatible_test:
|
|
|
|
<<: *test_template
|
|
|
|
artifacts:
|
|
|
|
when: always
|
|
|
|
paths:
|
|
|
|
- $LOG_PATH
|
2017-06-09 06:14:29 -04:00
|
|
|
- nvs_wifi.bin
|
2017-06-02 03:03:56 -04:00
|
|
|
expire_in: 6 mos
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- NVS_Compatible
|
|
|
|
script:
|
|
|
|
# clone local test env configs
|
|
|
|
- git clone $TEST_ENV_CONFIG_REPOSITORY
|
2017-10-18 07:53:10 -04:00
|
|
|
- cd ci-test-runner-configs
|
|
|
|
- python $CHECKOUT_REF_SCRIPT ci-test-runner-configs
|
2017-06-02 03:03:56 -04:00
|
|
|
# clone test bench
|
|
|
|
- git clone $TEST_SCRIPT_REPOSITORY
|
|
|
|
- cd auto_test_script
|
|
|
|
- git checkout ${CI_COMMIT_REF_NAME} || echo "Using default branch..."
|
|
|
|
# prepare nvs bins
|
|
|
|
- ./Tools/prepare_nvs_bin.sh
|
|
|
|
# run test
|
|
|
|
- python CIRunner.py -l "$LOG_PATH/$CI_JOB_NAME" -c $CONFIG_FILE -e $LOCAL_ENV_CONFIG_PATH -t $TEST_CASE_FILE_PATH -m $MODULE_UPDATE_FILE
|
|
|
|
|
2017-10-09 22:55:25 -04:00
|
|
|
example_test_001_01:
|
|
|
|
<<: *example_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32
|
|
|
|
- Example_WIFI
|
|
|
|
|
2017-05-05 08:20:31 -04:00
|
|
|
UT_001_01:
|
2016-11-01 08:33:23 -04:00
|
|
|
<<: *unit_test_template
|
2016-11-01 07:30:42 -04:00
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_1
|
2017-09-13 08:39:43 -04:00
|
|
|
- UT_default
|
2016-11-01 07:30:42 -04:00
|
|
|
|
2017-05-05 08:20:31 -04:00
|
|
|
UT_001_02:
|
2016-12-07 00:58:51 -05:00
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_1
|
2017-09-13 08:39:43 -04:00
|
|
|
- UT_default
|
2016-12-07 00:58:51 -05:00
|
|
|
|
2017-05-05 08:20:31 -04:00
|
|
|
UT_001_03:
|
|
|
|
<<: *unit_test_template
|
2017-06-02 21:56:13 -04:00
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_1
|
2017-09-13 08:39:43 -04:00
|
|
|
- UT_default
|
2017-06-02 21:56:13 -04:00
|
|
|
|
|
|
|
UT_001_04:
|
|
|
|
<<: *unit_test_template
|
2016-09-26 02:32:58 -04:00
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
2017-05-05 08:20:31 -04:00
|
|
|
- UT_T1_1
|
2017-09-13 08:39:43 -04:00
|
|
|
- UT_default
|
2016-09-08 22:49:03 -04:00
|
|
|
|
2017-08-11 03:25:55 -04:00
|
|
|
UT_001_05:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_SDMODE
|
2017-09-13 08:39:43 -04:00
|
|
|
- UT_default
|
2017-08-11 03:25:55 -04:00
|
|
|
|
|
|
|
UT_001_06:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_SPIMODE
|
2017-09-13 08:39:43 -04:00
|
|
|
- UT_default
|
2017-08-11 03:25:55 -04:00
|
|
|
|
2017-09-04 08:39:35 -04:00
|
|
|
UT_001_07:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_1
|
2017-09-13 08:39:43 -04:00
|
|
|
- UT_default
|
|
|
|
|
|
|
|
UT_001_08:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_1
|
|
|
|
- UT_default
|
|
|
|
|
2017-11-23 03:51:28 -05:00
|
|
|
UT_001_09:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_1
|
|
|
|
- UT_default
|
|
|
|
|
2017-09-13 08:39:43 -04:00
|
|
|
UT_002_01:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_1
|
|
|
|
- UT_release
|
|
|
|
|
|
|
|
UT_002_02:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_1
|
|
|
|
- UT_release
|
|
|
|
|
|
|
|
UT_002_03:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_1
|
|
|
|
- UT_release
|
|
|
|
|
|
|
|
UT_002_04:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_1
|
|
|
|
- UT_release
|
|
|
|
|
|
|
|
UT_002_05:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_SDMODE
|
|
|
|
- UT_release
|
|
|
|
|
|
|
|
UT_002_06:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_SPIMODE
|
|
|
|
- UT_release
|
|
|
|
|
|
|
|
UT_002_07:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_1
|
|
|
|
- UT_release
|
|
|
|
|
|
|
|
UT_002_08:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_1
|
|
|
|
- UT_release
|
|
|
|
|
2017-11-23 03:51:28 -05:00
|
|
|
UT_002_09:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_1
|
|
|
|
- UT_release
|
|
|
|
|
2017-09-13 08:39:43 -04:00
|
|
|
UT_003_01:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_1
|
|
|
|
- UT_single_core
|
|
|
|
|
|
|
|
UT_003_02:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_1
|
|
|
|
- UT_single_core
|
|
|
|
|
|
|
|
UT_003_03:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_1
|
|
|
|
- UT_single_core
|
|
|
|
|
|
|
|
UT_003_04:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_1
|
|
|
|
- UT_single_core
|
|
|
|
|
|
|
|
UT_003_05:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_SDMODE
|
|
|
|
- UT_single_core
|
|
|
|
|
|
|
|
UT_003_06:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_SPIMODE
|
|
|
|
- UT_single_core
|
|
|
|
|
|
|
|
UT_003_07:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_1
|
|
|
|
- UT_single_core
|
2017-09-04 08:39:35 -04:00
|
|
|
|
2017-11-05 08:50:43 -05:00
|
|
|
UT_003_08:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_1
|
|
|
|
- UT_single_core
|
|
|
|
|
2017-12-10 23:11:24 -05:00
|
|
|
UT_003_09:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_1
|
|
|
|
- UT_single_core
|
|
|
|
|
2017-10-19 09:39:45 -04:00
|
|
|
UT_004_01:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_1
|
|
|
|
- UT_psram
|
|
|
|
|
|
|
|
UT_004_02:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_1
|
|
|
|
- UT_psram
|
|
|
|
|
|
|
|
UT_004_03:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_1
|
|
|
|
- UT_psram
|
|
|
|
|
|
|
|
UT_004_04:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_1
|
|
|
|
- UT_psram
|
|
|
|
|
|
|
|
UT_004_05:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_SDMODE
|
|
|
|
- UT_psram
|
|
|
|
|
|
|
|
UT_004_06:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_SPIMODE
|
|
|
|
- UT_psram
|
|
|
|
|
|
|
|
UT_004_07:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_1
|
|
|
|
- UT_psram
|
|
|
|
|
|
|
|
UT_004_08:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_1
|
|
|
|
- UT_psram
|
|
|
|
|
2017-11-23 03:51:28 -05:00
|
|
|
UT_004_09:
|
|
|
|
<<: *unit_test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- UT_T1_1
|
|
|
|
- UT_psram
|
|
|
|
|
2017-05-05 08:20:31 -04:00
|
|
|
IT_001_01:
|
2016-09-08 22:49:03 -04:00
|
|
|
<<: *test_template
|
|
|
|
tags:
|
2016-09-26 02:32:58 -04:00
|
|
|
- ESP32_IDF
|
2016-09-08 22:49:03 -04:00
|
|
|
- SSC_T1_1
|
|
|
|
|
2017-05-05 08:20:31 -04:00
|
|
|
IT_001_02:
|
2016-09-26 02:32:58 -04:00
|
|
|
<<: *test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- SSC_T1_1
|
2017-06-09 06:14:29 -04:00
|
|
|
|
2017-05-05 08:20:31 -04:00
|
|
|
IT_001_03:
|
2016-09-26 02:32:58 -04:00
|
|
|
<<: *test_template
|
2016-09-08 22:49:03 -04:00
|
|
|
tags:
|
2016-09-26 02:32:58 -04:00
|
|
|
- ESP32_IDF
|
|
|
|
- SSC_T1_1
|
2017-06-09 06:14:29 -04:00
|
|
|
|
2017-05-05 08:20:31 -04:00
|
|
|
IT_001_04:
|
2016-09-26 02:32:58 -04:00
|
|
|
<<: *test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- SSC_T1_1
|
2017-06-09 06:14:29 -04:00
|
|
|
|
2017-05-05 08:20:31 -04:00
|
|
|
IT_001_05:
|
2016-09-26 02:32:58 -04:00
|
|
|
<<: *test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- SSC_T1_1
|
2017-06-09 06:14:29 -04:00
|
|
|
|
2017-05-05 08:20:31 -04:00
|
|
|
IT_001_06:
|
2016-09-26 02:32:58 -04:00
|
|
|
<<: *test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- SSC_T1_1
|
2017-06-09 06:14:29 -04:00
|
|
|
|
2017-05-05 08:20:31 -04:00
|
|
|
IT_001_07:
|
2016-09-26 02:32:58 -04:00
|
|
|
<<: *test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- SSC_T1_1
|
2017-06-09 06:14:29 -04:00
|
|
|
|
2017-05-05 08:20:31 -04:00
|
|
|
IT_001_08:
|
|
|
|
<<: *test_template
|
2016-12-06 02:41:02 -05:00
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- SSC_T1_1
|
2017-06-09 06:14:29 -04:00
|
|
|
|
2017-06-23 06:06:45 -04:00
|
|
|
IT_001_09:
|
|
|
|
<<: *test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- SSC_T1_1
|
|
|
|
|
2017-05-05 08:20:31 -04:00
|
|
|
IT_002_01:
|
|
|
|
<<: *test_template
|
2016-12-06 02:41:02 -05:00
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
2017-05-05 08:20:31 -04:00
|
|
|
- SSC_T1_2
|
2016-12-06 02:41:02 -05:00
|
|
|
|
2017-05-05 08:20:31 -04:00
|
|
|
IT_003_01:
|
|
|
|
<<: *test_template
|
2016-12-06 02:41:02 -05:00
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
2017-05-05 08:20:31 -04:00
|
|
|
- SSC_T2_1
|
2016-12-06 02:41:02 -05:00
|
|
|
|
2017-05-05 08:20:31 -04:00
|
|
|
IT_003_02:
|
|
|
|
<<: *test_template
|
2016-12-06 02:41:02 -05:00
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- SSC_T2_1
|
|
|
|
|
2017-05-05 08:20:31 -04:00
|
|
|
IT_003_03:
|
|
|
|
<<: *test_template
|
2016-12-06 02:41:02 -05:00
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
2017-05-05 08:20:31 -04:00
|
|
|
- SSC_T2_1
|
2016-12-06 02:41:02 -05:00
|
|
|
|
2017-06-23 06:06:45 -04:00
|
|
|
IT_003_04:
|
|
|
|
<<: *test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- SSC_T2_1
|
|
|
|
|
|
|
|
IT_003_05:
|
|
|
|
<<: *test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- SSC_T2_1
|
|
|
|
|
|
|
|
IT_003_06:
|
|
|
|
<<: *test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- SSC_T2_1
|
|
|
|
|
|
|
|
IT_003_07:
|
|
|
|
<<: *test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- SSC_T2_1
|
|
|
|
|
2017-05-05 08:20:31 -04:00
|
|
|
IT_004_01:
|
|
|
|
<<: *test_template
|
2016-12-06 02:41:02 -05:00
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
2017-05-05 08:20:31 -04:00
|
|
|
- SSC_T1_APC
|
2016-12-06 02:41:02 -05:00
|
|
|
|
2017-05-05 08:20:31 -04:00
|
|
|
IT_005_01:
|
|
|
|
<<: *test_template
|
2016-12-06 02:41:02 -05:00
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
2017-05-05 08:20:31 -04:00
|
|
|
- SSC_T1_WEP
|
2016-12-06 02:41:02 -05:00
|
|
|
|
2017-05-05 08:20:31 -04:00
|
|
|
IT_006_01:
|
|
|
|
<<: *test_template
|
2016-09-26 02:32:58 -04:00
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
2017-05-05 08:20:31 -04:00
|
|
|
- SSC_T3_PhyMode
|
2016-09-26 02:32:58 -04:00
|
|
|
|
2017-05-05 08:20:31 -04:00
|
|
|
IT_007_01:
|
2016-09-29 00:07:35 -04:00
|
|
|
<<: *test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
2017-05-05 08:20:31 -04:00
|
|
|
- SSC_T2_PhyMode
|
2016-09-29 00:07:35 -04:00
|
|
|
|
2017-05-05 08:20:31 -04:00
|
|
|
IT_008_01:
|
2016-09-28 07:48:38 -04:00
|
|
|
<<: *test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
2017-05-05 08:20:31 -04:00
|
|
|
- SSC_T2_PhyMode
|
2016-09-28 07:48:38 -04:00
|
|
|
|
2017-06-23 06:06:45 -04:00
|
|
|
IT_009_01:
|
|
|
|
<<: *test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- SSC_T1_3
|
|
|
|
|
2017-05-05 08:20:31 -04:00
|
|
|
IT_501_01:
|
2016-09-28 07:48:38 -04:00
|
|
|
<<: *test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
2017-05-05 08:20:31 -04:00
|
|
|
- SSC_T1_1
|
|
|
|
- stress_test
|
2016-09-28 07:48:38 -04:00
|
|
|
|
2017-05-05 08:20:31 -04:00
|
|
|
IT_501_02:
|
2016-09-28 07:48:38 -04:00
|
|
|
<<: *test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
2017-05-05 08:20:31 -04:00
|
|
|
- SSC_T1_1
|
|
|
|
- stress_test
|
2016-09-28 07:48:38 -04:00
|
|
|
|
2017-05-05 08:20:31 -04:00
|
|
|
IT_501_03:
|
2016-09-28 07:48:38 -04:00
|
|
|
<<: *test_template
|
2016-09-26 02:32:58 -04:00
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
|
|
|
- SSC_T1_1
|
2017-05-05 08:20:31 -04:00
|
|
|
- stress_test
|
2016-09-26 02:32:58 -04:00
|
|
|
|
2017-05-05 08:20:31 -04:00
|
|
|
IT_502_01:
|
2016-09-27 04:22:18 -04:00
|
|
|
<<: *test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
2016-12-06 02:41:02 -05:00
|
|
|
- SSC_T2_1
|
2017-05-05 08:20:31 -04:00
|
|
|
- stress_test
|
2016-09-28 07:48:38 -04:00
|
|
|
|
2017-05-05 08:20:31 -04:00
|
|
|
IT_502_02:
|
2016-09-28 07:48:38 -04:00
|
|
|
<<: *test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
2017-05-05 08:20:31 -04:00
|
|
|
- SSC_T2_1
|
|
|
|
- stress_test
|
2016-09-28 07:48:38 -04:00
|
|
|
|
2017-05-05 08:20:31 -04:00
|
|
|
IT_503_01:
|
2016-09-28 07:48:38 -04:00
|
|
|
<<: *test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
2017-05-05 08:20:31 -04:00
|
|
|
- SSC_T5_1
|
|
|
|
- stress_test
|
2016-09-28 07:48:38 -04:00
|
|
|
|
2017-05-05 08:20:31 -04:00
|
|
|
IT_503_02:
|
2016-09-28 07:48:38 -04:00
|
|
|
<<: *test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
2017-05-05 08:20:31 -04:00
|
|
|
- SSC_T5_1
|
|
|
|
- stress_test
|
2016-09-28 07:48:38 -04:00
|
|
|
|
2017-05-05 08:20:31 -04:00
|
|
|
IT_503_03:
|
2016-09-28 07:48:38 -04:00
|
|
|
<<: *test_template
|
|
|
|
tags:
|
|
|
|
- ESP32_IDF
|
2017-05-05 08:20:31 -04:00
|
|
|
- SSC_T5_1
|
|
|
|
- stress_test
|