Commit Graph

267 Commits

Author SHA1 Message Date
Fu Hanxi
81e7fa86cd ci: run component_ut_esp32_lan8720 only on master/release or with label
this is a temporary workaround of lack of runners.
2022-03-30 11:50:04 +08:00
Marius Vikhammer
4802a2a667 ci: remove extra S3 UT jobs that were not used 2022-03-29 19:15:50 +08:00
Michael (XIAO Xufeng)
e3c0229d2e Merge branch 'ci/renable_s3_tests' into 'master'
ci: renable s3 tests

See merge request espressif/esp-idf!17574
2022-03-28 15:53:49 +08:00
Shubham Kulkarni
e9ad8a63c3 target-test.yml: Add job for ethernet_ota marker 2022-03-28 03:51:21 +00:00
Fu Hanxi
65354d74b3 ci: remove unused jobs 2022-03-25 12:57:15 +08:00
Fu Hanxi
9bb9b58b3b ci: rename all the generic s3 tag to generic_s3_fixme 2022-03-25 12:56:58 +08:00
Fu Hanxi
b37336f8b4 Revert "ci: temporarily disable S3 target tests"
This reverts commit 8df02332c1.
2022-03-25 12:39:57 +08:00
Tomas Rezucha
6206302787 ci: Add USB Host CDC and MSC pytests to pipeline 2022-03-21 18:34:24 +01:00
Marius Vikhammer
8df02332c1 ci: temporarily disable S3 target tests
Disable running S3 target tests for now due to runner issues.
2022-03-21 12:59:14 +08:00
Fu Hanxi
66296f56e9 ci(pytest): add known failure cases 2022-03-14 20:29:38 +08:00
Mahavir Jain
a8ba5a0264 Merge branch 'ci/all_alloc_psram_config' into 'master'
[ci] Add unit test configs with aggressive PSRAM allocations

See merge request espressif/esp-idf!14996
2022-03-11 00:30:56 +08:00
Fu Hanxi
97846e883b Merge branch 'ci/refactor_test_apps_fuhanxi' into 'master'
ci: enable test_apps s3 c3 tests

Closes IDFCI-1124

See merge request espressif/esp-idf!17397
2022-03-10 17:40:32 +08:00
David Čermák
0b58f987cd Merge branch 'feature/mdns_dynamic_interfaces' into 'master'
mdns: Add support for dynamic network interfaces

Closes IDF-939

See merge request espressif/esp-idf!14875
2022-03-10 15:11:35 +08:00
Laukik Hase
7c6d343a60 ci: Add unit test configs for aggressive SPIRAM allocations
- CONFIG_SPIRAM_MALLOC_ALWAYSINTERNAL=0
  Everything will be allocated from the SPIRAM
  (except DMA and FreeRTOS task resources)
- CONFIG_SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY=y
  Allow external memory as an argument to xTaskCreateStatic
- CONFIG_SPIRAM_MALLOC_RESERVE_INTERNAL=default
  Reserved memory for crucial internal functions (DMA, FreeRTOS)
- Increase parallel job count
2022-03-10 05:01:17 +00:00
Fu Hanxi
851d832eb6 ci: enable test_apps s3 c3 tests
Refactor the tags a bit to make the tags could reuse the env markers.
They suppose to be the same thing.
2022-03-10 11:56:15 +08:00
David Cermak
34ae82e7bd CI: Increase parallel count for eth-runners 2022-03-09 10:44:30 +01:00
Marius Vikhammer
934a3951b8 Merge branch 'feature/s2_s3_support_ext_mem_stack' into 'master'
soc: support placing task stacks in external memory for S2 and S3

Closes IDF-2797 and IDF-1805

See merge request espressif/esp-idf!16186
2022-03-09 11:57:31 +08:00
Marius Vikhammer
374712921a CI: add configs for running S2, S3 unit tests with PSRAM
Fixed various minor failures detected with these configs.
2022-03-04 15:29:17 +08:00
morris
0d920a47f7 unit_test: migrate to use pulse_cnt driver 2022-03-03 22:38:32 +08:00
morris
b85eeb3224 Merge branch 'feature/lcd_isr_in_iram' into 'master'
refactor LCD unit tests into test apps

Closes IDF-4666

See merge request espressif/esp-idf!14980
2022-02-25 08:21:15 +00:00
Fu Hanxi
4cbaf6fbb1 ci: enable pytest panic test 2022-02-23 09:12:46 +08:00
Tomas Sebestik
fce2929083 Add merged target-test-env image 2022-02-15 07:51:38 +01:00
morris
dbfde65515 lcd: refactor ut into test app 2022-02-14 18:43:50 +08:00
Chen Yudong
de7e67ccec CI: add expire_in and timeout for jobs
add timeout 4 hours and retry for deploy_test_result
add missing expire_in for artifacts
add timeout 1 hour for tartget test jobs
add retry when job_execution_timeout
2022-02-09 22:06:37 +08:00
Lu Ai Jun
e599db6d04 Revert "Merge branch 'bugfix/temp_disable_f8r8_test' into 'master'"
This reverts merge request !17007
2022-02-07 10:18:08 +08:00
Ivan Grokhotkov
2838886639 ci: temporarily disable MSPI_F8R8 test 2022-02-01 15:39:40 +01:00
David Cermak
9de81ed2e2 ci/mqtt: Fix weekend test publish-connect on target
* Fix thread safe issue in paho-mqtt library
* Move the weekend test to ethernet runner
2022-01-27 13:37:47 +01:00
Song Ruo Jing
3821a09f83 Merge branch 'bugfix/ledc_consecutive_fade' into 'master'
ledc: Bugfixes for issues related to fade protection on ESP32

Closes IDFGH-4918 and IDFGH-5565

See merge request espressif/esp-idf!14568
2022-01-26 06:00:59 +00:00
songruojing
f5cbe89487 ci: increase target-test.yml UT_T1_1 job to support newly added LEDC fade ut tests 2022-01-25 14:32:31 +08:00
Chen Yudong
7d888f3669 ci: exclude git files when uploading artifacts 2022-01-25 11:49:55 +08:00
Chen Yudong
11d4542165 ci: update intergration test to support esp32c3 2022-01-25 11:49:55 +08:00
Chen Yudong
ec4175b127 ci: optimize downloading build_ssc artifacts 2022-01-25 11:49:55 +08:00
Chen Yudong
dd4f27801f ci: move integration test related files outside of components 2022-01-25 11:49:55 +08:00
Chen Yudong
151d8cdcd2 ci: split assign tests 2022-01-25 11:49:53 +08:00
Fu Hanxi
a801555299 ci: replace all component ut with pytest-embedded 2022-01-24 16:37:23 +08:00
Fu Hanxi
0646b8953c ci: rename build_examples_pytest to build_pytest_examples 2022-01-24 16:37:23 +08:00
Armando (Dou Yiwen)
7967a317d6 Merge branch 'feature/add_flash_suspend_example' into 'master'
system: add an example showing how to run non-iram ISR when operating Flash

Closes IDF-4501

See merge request espressif/esp-idf!16658
2022-01-24 07:40:00 +00:00
Armando
a36e5188e9 system: add an example showing how to run non-iram ISR when operating Flash 2022-01-21 15:20:37 +08:00
Chen Yudong
2c8fb44b09 CI: do not install idf python env for integration test 2022-01-20 11:59:32 +08:00
David Čermák
1c94345737 Merge branch 'bugfix/protocols_test_on_eth' into 'master'
ci/mqtt: Move protocol tests to eth runners

Closes IDFCI-653

See merge request espressif/esp-idf!16752
2022-01-19 14:44:00 +00:00
David Cermak
bc3a202fe3 ci: Increase parallel job count for Eth runners 2022-01-14 14:35:06 +01:00
Armando
9cf4126656 psram: add a ut for putting flash.text and rodata in psram 2022-01-13 11:07:57 +08:00
Fu Hanxi
b17a531841 ci: add EXAMPLE_WIFI_OTA job to run nightly run cases 2022-01-10 09:37:11 +08:00
huchaoru
675a9f95fc CI: change ap authmode from number to string 2021-12-27 19:55:56 +08:00
Marius Vikhammer
97e05c6f8b crypto: also apply cache writeback/invalidate for SPIRAM_USE_MEMMAP
Closes https://github.com/espressif/esp-idf/issues/7944
2021-12-08 12:09:01 +08:00
Fu Hanxi
61942a9f9f fix(pytest): use "--target" to filter the test cases
"-m" can't be specified for multiple times. pytest is using "and", "or",
"not" and parentheses to filter by markers
2021-12-02 10:55:24 +08:00
Fu Hanxi
5c3bc247cb test: use pytest for examples/custom_bootloader 2021-12-02 10:55:24 +08:00
Fu Hanxi
94578f4658 ci: add pytest-embedded CI jobs 2021-11-30 09:42:12 +08:00
Shubham Kulkarni
afa0a68c31 target-test.yml: Add EXAMPLE_ETH_OTA runner to OTA on ethernet based runners 2021-11-19 15:07:31 +05:30
Anton Maklakov
f6fc7269a1 ci: decrease the mistaken big parallel count 2021-10-28 10:23:21 +07:00
Anton Maklakov
e525964f67 Merge branch 'bugfix/gdbstub_4_c3' into 'master'
Add missing function for C3

See merge request espressif/esp-idf!15538
2021-10-26 10:16:38 +00:00
Dmitry
1457c42f6f bugfix/esp-gdbstrub: add missing function for esp32c3/esp32h2. 2021-10-25 10:30:50 +03:00
Fu Hanxi
9d2667d657 ci: run example test for c3 as well 2021-10-22 15:19:19 +08:00
Mahavir Jain
0b67fe1e65 ci: increase ESP32-S3 UT job count 2021-10-20 15:20:08 +05:30
Mahavir Jain
f441ce977a ci: increase parallel UT count for few jobs 2021-10-20 15:16:25 +05:30
Chen Yudong
a7c5c7134b ci: increase parallel count for UT_S3 2021-10-20 11:36:23 +08:00
Ivan Grokhotkov
b46183a539 Merge branch 'feature/esp_timer_example_reenable' into 'master'
examples: esp_timer: enable for all targets

Closes IDF-2022

See merge request espressif/esp-idf!15028
2021-10-18 09:43:17 +00:00
Armando
d6caf142d3 ci: add flash psram test under different configs on esp32s3 2021-10-08 15:59:57 +08:00
Ivan Grokhotkov
4120397924 ci: add S3 example test template and job 2021-10-04 16:12:47 +08:00
SalimTerryLi
92e337a38c
sdspi: enable UT & ExampleTest for C3/S2
Closes https://github.com/espressif/esp-idf/issues/7389

(1)     "MMC_RSP_BITS" [sd]                                                             [Y]
(2)     "probe SD in SPI mode" [sd][test_env=UT_T1_SPIMODE]                             [Y]
(3)     "probe SD in SPI mode, slot 0" [sd][ignore]                                     [N]
(4)     "SDMMC performance (SPI mode)" [sdspi][test_env=UT_T1_SPIMODE]                  [Y]
(5)     "SDMMC test read/write with offset (SPI mode)" [sdspi][test_env=UT_T1_SPIMODE]  [Y]
(6)     "CD input works in SPI mode" [sd][test_env=UT_T1_SPIMODE]                       [Y]
(7)     "WP input works in SPI mode" [sd][test_env=UT_T1_SPIMODE]                       [Y]
2021-09-24 15:17:18 +08:00
Fu Hanxi
34f044debd ci: enable esp32s3 example build 2021-09-16 11:16:52 +08:00
morris
25f723765e Merge branch 'feature/lcd_driver_follow_up' into 'master'
lcd: add PM lock

Closes IDF-3631, IDF-3704, and IDF-3317

See merge request espressif/esp-idf!14880
2021-09-10 03:14:50 +00:00
SalimTerryLi
14a6ab4a8e
esp_eth: new test_app: emac layer tests 2021-09-08 20:00:14 +08:00
morris
7dc9c7aa05 lcd: allow execlusive use of i80 bus 2021-09-08 11:34:46 +08:00
Sachin Billore
b09194308c CI increase parallel count for assing_test failure fix 2021-09-02 12:05:12 +05:30
laokaiyao
04970fe487 iperfUtility: add udp rx bandwidth scan 2021-09-01 19:11:28 +08:00
David Cermak
0b3476fdd0 CI: mqtt test apps: removed unnecessary env.yml 2021-08-25 16:41:33 +08:00
Wu Zheng Hui
3128a2544b Adjust the variable name &
Add mapping support for different sizes of spi ram
2021-08-25 16:06:28 +08:00
Marius Vikhammer
1ecb071735 ci: add extra jobs where needed as well as remove all unused jobs 2021-08-23 10:17:27 +08:00
Konstantin Kondrashov
4972605b16 esp_common: Add API for IPC to run small pieces of code on the other CPU, in the context of the level 4 interrupt 2021-08-03 14:35:29 +08:00
Cao Sen Miao
992de2750e spi_flash: add support for ext flash 2021-07-31 14:11:35 +08:00
Armando
9063a7b7e3 test: add an SPI dual board test for master FD DMA single directions test 2021-07-28 17:51:25 +08:00
He Yin Ling
2849f3bf44 Merge branch 'test/add_ethernet_iperf_example_test_case' into 'master'
Test: add ethernet iperf example test case

Closes TCI-463

See merge request espressif/esp-idf!13696
2021-07-28 01:39:12 +00:00
Lu Ai Jun
d29335710d test: add ethernet iperf example test case 2021-07-28 09:39:02 +08:00
He Yin Ling
9f8f929e25 CI: rename log path of IT jobs 2021-07-21 10:02:52 +08:00
morris
7cd4c4d542 gitlab: update codeowner for unit-test-app 2021-07-18 16:10:10 +08:00
Angus Gratton
ae04cbe48f ci: Bump S3 UT count 2021-07-16 20:14:28 +08:00
Marius Vikhammer
126c6405f1 Merge branch 'feature/s3_default_2_config' into 'master'
CI: add S3 default_2 unit test config

See merge request espressif/esp-idf!14279
2021-07-15 09:29:31 +00:00
Marius Vikhammer
80acc1a002 CI: add S3 default_2 unit test config 2021-07-08 18:39:57 +08:00
Angus Gratton
634db50fcb ci: Bump UT count 2021-07-05 12:08:36 +08:00
Konstantin Kondrashov
4c0cf40a39 efuse: Burn operation does not block reading 2021-06-18 11:52:47 +08:00
David Čermák
4d604ee6d2 Merge branch 'bugfix/remove_unstable_network_tests' into 'master'
CI: Move mqtt publish tests from regular pipeline to weekend tests

Closes IDFCI-653

See merge request espressif/esp-idf!13891
2021-06-17 07:04:51 +00:00
Marius Vikhammer
d9f5126d24 CI: enable running unit tests in CI for S3 2021-06-15 11:13:50 +08:00
David Cermak
74fd8d7af8 CI: Enable publish tests only when started from weekend pipeline 2021-06-11 16:52:43 +02:00
David Cermak
4cdc583ccd CI: Removed weekend network tests
Temporarily, before getting reworked and stable for running in the CI
2021-06-10 09:11:40 +02:00
David Cermak
32fb96734c CI/mqtt: Execute mqtt weekend tests from test apps 2021-06-10 09:10:16 +02:00
morris
b47d012720 mcpwm: refactor unit test 2021-06-09 12:27:01 +08:00
Fu Hanxi
a998b3db74 ci: unify target test artifacts to all .log file and $LOG_PATH 2021-06-03 10:34:51 +08:00
Ivan Grokhotkov
1248ddaf3c ci: add component_ut_test_{esp32s2,esp32c3} jobs 2021-05-10 21:23:04 +02:00
Martin Vychodil
99aa037793 * SD card example split (SDMMC/SDSPI)
JIRA IDF-1456
2021-04-29 10:38:55 +02: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
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
Martin Vychodil
f27c9c5139 esp32c3: memprot API upgrade and test application
Closes IDF-2641
2021-04-12 13:44:11 +10:00
Cao Sen Miao
c3da21a93f I2C: enable all unit test for i2c on esp32c3 2021-04-06 17:37:55 +08:00
Fu Hanxi
d7341eb78f ci: fix test_app_test_001 missing junit report 2021-03-31 11:39:11 +08:00
Marius Vikhammer
d3d145285d flash enc: add flash encryption unit and example test for C3 2021-03-25 17:51:22 +08: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
Armando
01b5ef31b4 spi_slave: enable spi slave dual board test on esp32c3 2021-03-16 16:08:49 +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
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
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
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
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
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
b33e344484 ci: move config dir to .gitlab/ci 2021-02-10 14:48:51 +08:00