Commit Graph

788 Commits

Author SHA1 Message Date
zwj
3c06fea8a1 fix esp32c3 and esp32s3 ble disconnect due to connection paramters update 2021-04-25 20:18:21 +08:00
Ivan Grokhotkov
dda851c923 ci: increase test_app_test_esp32_generic parallel test count 2021-04-22 23:34:04 +02:00
Shubham Kulkarni
691e30e659 advanced_https_ota: Add example test for OTA with OpenSSL server with binary file aligned to 289 byte boundary 2021-04-21 20:57:58 +05:30
Ivan Grokhotkov
d34421dd7b Merge branch 'feature/build_nvs_host_test_ci' into 'master'
Add nvs page host test to CI

Closes IDF-2425

See merge request espressif/esp-idf!12417
2021-04-20 23:32:01 +00:00
Jakob Hasse
2fb5b42eb1 [nvs] add nvs page host test to CI
Closes IDF-2425
2021-04-20 14:40:16 +08:00
Fu Hanxi
4d4abf428b ci: add helper info for tests with no config 2021-04-20 11:18:12 +08:00
Ivan Grokhotkov
cff3f18ce0 ci: increase parallel count for ESP32C3_IDF, UT_T1_1 tag 2021-04-16 15:51:32 +02:00
Ivan Grokhotkov
fa72ef6bd8 Merge branch 'feature/add-eventfd' into 'master'
vfs: add eventfd support

See merge request espressif/esp-idf!12573
2021-04-16 10:33:06 +00:00
Michael (XIAO Xufeng)
58758486b2 Merge branch 'ci/enable_flash_suspend_test' into 'master'
spi_flash: enable unit-test for flash suspend

Closes IDF-3081

See merge request espressif/esp-idf!13115
2021-04-16 10:16:25 +00:00
Angus Gratton
bc3d45026c Merge branch 'bugfix/deep_sleep_skip_verify_rtc_mem_heap' into 'master'
Fix bootloader "skip validate on exiting deep sleep" option if "use RTC memory as heap" is enabled

See merge request espressif/esp-idf!12032
2021-04-15 23:56:39 +00:00
Jiacheng Guo
bbb0e7a573 vfs: fix build & ci errors 2021-04-15 15:19:00 +08:00
Angus Gratton
b68d46c8a0 deep sleep example: Extend test coverage to ESP32-S2
* Modify the example on ESP32-S2 to print same output pattern as ESP32
* Add example test verification that "fast booting" (skipping of verification) is working
2021-04-15 16:20:58 +10:00
Cao Sen Miao
ed16e9b5d6 spi_flash: enable unit-test for flash suspend 2021-04-15 12:05:40 +08:00
Shubham Kulkarni
0a395134d4 Split example_tests with Example_WIFI tag group into Example_OTA and Example_Protocols 2021-04-15 04:00:06 +00:00
Angus Gratton
ec01a66557 Merge branch 'feature/esp32c3_memprot_test3' into 'master'
ESP32C3/ESP32S2: memprot API upgrade and test application

Closes IDF-2641

See merge request espressif/esp-idf!12941
2021-04-13 18:42:46 +00:00
KonstantinKondrashov
af3cbe2888 simple_ota_example: Adds configs to test on_update_no_secure_boot option (RSA&ECDSA) 2021-04-13 11:28:13 +00:00
Ivan Grokhotkov
b51a7e0cc7 Merge branch 'feature/win_inst_offline' into 'master'
Feature/win inst offline

Closes IDF-2636, IDF-2664, IDFGH-4549, IDFGH-3424, IDFGH-4260, IDFGH-4664, IDFGH-2202, IDFGH-4697, IDF-2742, and IDF-2955

See merge request espressif/esp-idf!12003
2021-04-12 06:54:24 +00:00
Martin Vychodil
f27c9c5139 esp32c3: memprot API upgrade and test application
Closes IDF-2641
2021-04-12 13:44:11 +10:00
Fu Hanxi
1a51e325e4 ci: components and build_system patterns will run build_ssc as well 2021-04-09 12:27:41 +08:00
Cao Sen Miao
c3da21a93f I2C: enable all unit test for i2c on esp32c3 2021-04-06 17:37:55 +08:00
Chen Shu
6be0ed9077 Merge branch 'feature/add-openthread' into 'master'
openthread: add OpenThread and porting

Closes IDF-2911

See merge request espressif/esp-idf!12570
2021-04-02 06:49:55 +00:00
Guo Jia Cheng
7c38989309 OpenThread: add OpenThread and porting
* Adds the OpenThread submodule.
* Adds porting on ESP32.
* Adds the OpenThread cli example.
2021-04-02 14:49:49 +08:00
Fu Hanxi
d7341eb78f ci: fix test_app_test_001 missing junit report 2021-03-31 11:39:11 +08:00
Angus Gratton
2a6dd33d35 Merge branch 'feature/c3_flash_enc_tests' into 'master'
flash enc: add flash encryption unit and example test for C3

Closes IDF-2936

See merge request espressif/esp-idf!12774
2021-03-29 06:45:32 +00:00
Fu Hanxi
d64eafcd7c ci: add example c3 as a special case for build only 2021-03-29 11:11:02 +08:00
Marius Vikhammer
d3d145285d flash enc: add flash encryption unit and example test for C3 2021-03-25 17:51:22 +08:00
Juraj Michalek
70e06a46ba tools: IDF Windows installer offline mode support 2021-03-24 12:27:46 +01:00
Anton Maklakov
93a9803378 Merge branch 'bugfix/c3_unit_test_rule' into 'master'
ci: run c3 unit tests when other unit test run

See merge request espressif/esp-idf!12595
2021-03-22 04:06:44 +00:00
Michael (XIAO Xufeng)
d5543c3dae Merge branch 'bugfix/spi_slv_dual_boad_test_slv_fail_issue' into 'master'
spi: update slv dual board test for ci due to no pullup resistor on io10 on c3

See merge request espressif/esp-idf!12332
2021-03-18 06:41:28 +00:00
Anton Maklakov
e7d8337d9a Merge branch 'ci/ignore_check_link_result' into 'master'
CI: ignore result from check_doc_links

Closes IDFCI-503 and IDFCI-383

See merge request espressif/esp-idf!12754
2021-03-18 04:06:29 +00:00
No One
2e5a334831 ci: run c3 unit test when other unit test run
C3 unit test were only being ran by unit_test_esp32c3 label/title,
should also be trigger by unit_test label/title
2021-03-18 10:36:08 +08:00
Anton Maklakov
93c0d0b4b8 Merge branch 'ci/build_unit_test_in_parallel' into 'master'
ci: build unit_test in parallel

See merge request espressif/esp-idf!12510
2021-03-18 02:10:05 +00:00
Marius Vikhammer
6a46a77356 CI: ignore result from check_doc_links
check_doc_links will always fail due to:
 * No rate limitation for requests
 * Not being able to handle github links with anchors
2021-03-16 18:45:11 +08:00
Armando
01b5ef31b4 spi_slave: enable spi slave dual board test on esp32c3 2021-03-16 16:08:49 +08:00
Fu Hanxi
2229e3635f ci(UT): add argument "node_index" in UnitTestParser 2021-03-15 16:04:42 +08:00
Fu Hanxi
f8061a898e ci: build unit_test in parallel 2021-03-15 12:48:04 +08:00
Marius Vikhammer
c85d949c1f ci: run Example_GENERIC for C3
Add support for running example_GENERIC tests for C3 on label.

Fix examples that fail.
2021-03-15 10:27:07 +08:00
suren.gabrielyan
55716945a9 mdns: Removed freeRTOS dependancies from fuzzer tests 2021-03-11 08:57:36 +00:00
Renz Bagaporo
2fc86716cf ci: add ldgen test to custom test pattern 2021-03-11 11:59:31 +08:00
Angus Gratton
429ea0a1c1 Merge branch 'feature/riscv_ulp_s2_example_test' into 'master'
ci: RISCV-ULP example test

Closes IDF-2505

See merge request espressif/esp-idf!12397
2021-03-10 23:53:47 +00:00
Angus Gratton
e39b475af1 Merge branch 'feature/crypto_reserve_gdma_ch' into 'master'
aes/sha: use a shared lazy allocated GDMA channel for AES and SHA

Closes IDF-2856

See merge request espressif/esp-idf!12507
2021-03-09 23:44:26 +00:00
Marius Vikhammer
fe71a8e340 aes/sha: use a shared lazy allocated GDMA channel for AES and SHA
Removed the old dynamically allocated GDMA channel approach.
It proved too unreliable as we couldn't not ensure consumers of the mbedtls
would properly free the channels after use.

Replaced by a single shared GDMA channel for AES and SHA, which won't be
released unless user specifically calls API for releasing it.
2021-03-09 09:23:05 +08:00
Fu Hanxi
04357aa66e ci: add label only build tests for maintainers to control the flow 2021-03-08 10:12:22 +08:00
Fu Hanxi
934abd65f5 ci(docs): improve doc with latest behavior 2021-03-02 16:16:23 +08:00
Fu Hanxi
c7a856db88 ci: remove trigger with commit message method and make it simpler 2021-03-02 11:50:04 +08:00
Fu Hanxi
941574dc2f ci: use CI_MERGE_REQUEST_SOURCE_BRANCH in mr pipelines 2021-03-01 15:20:34 +08:00
Fu Hanxi
bbf2e86c06 fix(ci): check_submodule_sync now will not block ci run 2021-02-26 15:16:55 +08:00
Renz Bagaporo
e5b3824f61 ci: add example test for ulp_riscv example 2021-02-26 13:34:09 +08:00
KonstantinKondrashov
e29b99f1a5 libsodium: Enables UTs for ESP32-S2 & C3 2021-02-25 10:41:59 +00:00
Angus Gratton
608f9471cb Merge branch 'bugfix/test_nvs_host_cleanup' into 'master'
nvs_flash: Fix the random data test cleanup stage

Closes IDFCI-241

See merge request espressif/esp-idf!11659
2021-02-23 10:40:17 +00:00
Fu Hanxi
ef18e78a8d feat(ci): run check_submodule_sync_with_file_patterns 2021-02-23 12:43:52 +08:00
Angus Gratton
7fbf280d93 Merge branch 'ci/run_build_jobs_when_files_under_components_changed' into 'master'
CI: run build jobs when files under components changed

See merge request espressif/esp-idf!12442
2021-02-23 03:44:51 +00:00
Fu Hanxi
e59e245d47 ci(rules): improve rules with build files changed under components folder
- drop target test run with build pattern

- for unit_test on c3, use labels only
2021-02-23 11:32:17 +08:00
Angus Gratton
3b4706d14d ci: Increase test_nvs_on_host job timeout
test labels: nvs_coverage
2021-02-23 10:31:39 +11:00
Fu Hanxi
4ff16f6171 bugfix: deploy_test_result stop using pyenv 2021-02-22 20:44:11 +08:00
Fu Hanxi
06f92003a3 Merge branch 'ci/run_rules_labels_only_with_labels' into 'master'
ci: run rules:labels jobs only with labels

Closes IDFCI-454

See merge request espressif/esp-idf!12427
2021-02-22 03:41:34 +00:00
Fu Hanxi
c49a72b499 ci: run rules:labels job only with labels 2021-02-20 10:41:54 +08:00
Fu Hanxi
7742f1e135 ci(docs): fix missing build doc for target esp32c3 2021-02-19 17:43:07 +08:00
Fu Hanxi
4c1fca4a77 ci(rules): improve docs related jobs rules
- build_docs_pdf: now ignore docs related file patterns

- deploy_docs_preview: now ignore docs related file patterns

- .rules:build:docs: related jobs will not be triggered with `build` label
2021-02-19 17:28:09 +08:00
Fu Hanxi
2399128500 ci: improve docs pattern from Kconfig to Kconfig*
for example: Kconfig.spiram.common will now be included
2021-02-19 17:09:51 +08:00
Fu Hanxi
0c57d1fef1 ci: update codeowner for new ci configs path 2021-02-19 09:59:43 +08:00
Fu Hanxi
bb1be1e07e ci(rules): add missing scripts under tools folder 2021-02-19 09:59:43 +08:00
Fu Hanxi
516ac9a813 ci: allow failure for code quality report 2021-02-19 09:59:43 +08:00
Angus Gratton
9830fcaff9 Merge branch 'bugfix/c3_unit_test_cleanup' into 'master'
System: C3 shared stack watchpoint & unit test cleanups

Closes IDF-2458, IDF-2719, and IDF-1422

See merge request espressif/esp-idf!12183
2021-02-18 23:15:53 +00:00
Ivan Grokhotkov
3bce823523 Merge branch 'ci/mr_labels_regex_includes_more_chars' into 'master'
ci: supports more special characters for MR labels

See merge request espressif/esp-idf!12404
2021-02-18 10:33:55 +00:00
Ivan Grokhotkov
6e4eb981b8 Merge branch 'bugfix/deploy_test_result_no_need_python_env' into 'master'
ci: no setup_python for deploy_test_result

See merge request espressif/esp-idf!12394
2021-02-18 10:33:31 +00:00
Marius Vikhammer
eec2419390 system: enable shared stack watchpoint
Enable shared stack watchpoint for overflow detection

Enable unit tests:
 * "test printf using shared buffer stack" for C3
 * "Test vTaskDelayUntil" for S2
 * "UART can do poll()" for C3
2021-02-18 15:38:30 +08:00
Fu Hanxi
43668cf79f ci: supports more special characters for MR labels 2021-02-18 14:25:48 +08:00
Fu Hanxi
24e8109cc3 ci: no setup_python for deploy_test_result 2021-02-17 00:45:06 +08:00
Fu Hanxi
a01b6c0382 ci: run all static code analysis jobs when the gitlab yaml changes 2021-02-17 00:31:08 +08:00
Fu Hanxi
1f12eaf6ea ci: ensure clang_tidy_deploy artifacts downloaded 2021-02-17 00:17:33 +08:00
Ivan Grokhotkov
22cc1121fb Merge branch 'ci/detect_file_changes_to_assign_jobs' into 'master'
CI: Detect file changes to assign jobs

See merge request espressif/esp-idf!10652
2021-02-16 11:08:17 +00:00
Fu Hanxi
611fe8794b ci: move doc build jobs into build_doc stage to run in parallel 2021-02-10 14:50:07 +08:00
Fu Hanxi
fea3939980 docs(ci): add docs about rules.yml and the auto-generate feature 2021-02-10 14:50:07 +08:00
Fu Hanxi
b24b06d16c ci(rules): auto generate rules.yml labels titles and rules
Also simplified the labels and ci

- Remove label regular_test, weekend_test

- Remove apply_job_filter

- check_submodule_sync: only run on protected branch
2021-02-10 14:50:06 +08:00
Fu Hanxi
8ff6461b4c ci(rules): add check_tools_file_patterns.py
this file is used to check if all files under `tools` folder are
recorded in patterns or in exclude list
2021-02-10 14:48:51 +08:00
Fu Hanxi
b33e344484 ci: move config dir to .gitlab/ci 2021-02-10 14:48:51 +08:00
daiziyan
2e3367b97e update api-guides/build-system.rst to keep EN and CN in sync 2021-01-13 19:23:30 +08:00
Dai Zi Yan
d490376f37 docs: add checklist for updating get-started section into merge request template 2021-01-12 17:46:15 +08:00
Angus Gratton
5c49987bf6 Merge branch 'feature/template_add_ci' into 'master'
Add pipeline related requirements into the Gitlab MR template

See merge request espressif/esp-idf!10800
2020-11-13 18:40:07 +08:00
Fu Hanxi
bcc8f2628c CI: Add pre-commit for esp-idf project.
add tools/ci/python_packages/idf_ci.py for some util functions used in
ci and needs multi-os solution
2020-11-02 15:49:13 +08:00
Renz Bagaporo
988be69466 esp_hw_support: create component 2020-10-28 07:21:29 +08:00
Ivan Grokhotkov
5cdb973ee0 gitlab: add esp_pm component to CODEOWNERS 2020-10-15 07:58:27 +00:00
Roland Dobai
ed8f1aedf2 Add pipeline related requirements into the Gitlab MR template 2020-10-12 11:48:07 +02:00
Ivan Grokhotkov
042d66dbce gitlab: add hal component to CODEOWNERS 2020-09-25 12:47:48 +02:00
Michael (XIAO Xufeng)
4152904b10 gitlab: add template for merge requests 2020-09-23 10:52:08 +08:00
Ivan Grokhotkov
00c3e0e8ec codeowners: fix directory patterns
The previous version used an incorrect /dir1/dir2 pattern to match the
content of dir2. The correct pattern should be /dir1/dir2/ (with the
trailing slash). This commit fixes these patterns.

Regarding codeowners.py:

'git ls-files' can not be used to correctly implement the logic of
CODEOWNERS file patterns, since it doesn't distinguish between
/path/* and /path/. The former pattern in CODEOWNERS file should only
match the files inside /path/, while the latter also matches files in
nested directories.

Because of this, the logic for evaluating patterns is re-implemented,
by converting CODEOWNERS patterns into regular expressions.
Gitlab CODEOWNERS parsing code was used as a reference, in addition to
the approach for converting glob patterns into regular expressions
proposed in https://stackoverflow.com/a/29354254.
2020-09-15 11:10:36 +02:00
Ivan Grokhotkov
c23a9d91d8 add code owners list 2020-09-02 18:04:27 +02:00