Commit Graph

821 Commits

Author SHA1 Message Date
Fu Hanxi
eda42035d2 scan test: bugfix: now can build multi target for one app 2020-12-15 17:56:53 +08:00
Fu Hanxi
3a88626ec3 search case: print target as well 2020-12-15 17:56:53 +08:00
Fu Hanxi
a5bcaea9cc use "additional_duts" to overwrite dut class for different targets 2020-12-15 17:55:54 +08:00
Anton Maklakov
cfcc18719d ci: Ignore Python 2 deprecation warning 2020-12-15 12:24:50 +07:00
Ivan Grokhotkov
af43e34839 Merge branch 'bugfix/drop_make_support_when_esp32_not_supported' into 'master'
CI: drop make support when esp32 not supported

See merge request espressif/esp-idf!11510
2020-12-14 15:51:44 +08:00
Krzysztof Budzynski
1f6d2b0257 Merge branch 'feature/doc_kconfig_default_and_range' into 'master'
tools: show defaults and ranges in generated kconfig documentation

Closes IDF-1816 and IDF-1679

See merge request espressif/esp-idf!10875
2020-12-11 16:40:11 +08:00
Fu Hanxi
49fd495689 check_examples_cmake_make: now it can run not only under idf path 2020-12-08 14:54:30 +08:00
Angus Gratton
51d03aeced Merge branch 'bugfix/tools_python_subprocess_capture_output' into 'master'
tools: Avoid subprocess.run(capture_output) argument for Python <3.7 compatibility

See merge request espressif/esp-idf!11493
2020-12-08 06:43:07 +08:00
Anton Maklakov
7ad35fa5bb Merge branch 'bugfix/github_sync_artifacts' into 'master'
ci: don't fetch artifacts in push_to_github

See merge request espressif/esp-idf!11104
2020-12-07 16:20:01 +08:00
Angus Gratton
94fe736bc5 tools: Avoid subprocess.run(capture_output) argument for Python <3.7 compatibility
In Python 3.5 and 3.6 the equivalent to capture_output=True is to set stdout
and stderr arguments to subprocess.PIPE
2020-12-07 15:01:10 +11:00
Konstantin Kondrashov
4a487af43a efuse: Add new APIs for keys, purposes, wr/rd protection
- the batch mode can be called recursively
2020-12-04 10:42:57 +08:00
martin.gano
f4ea2dcb74 Tools: add Python 2 deprecation warning 2020-12-02 11:08:48 +01:00
Angus Gratton
0f8afff021 Merge branch 'test/enable_esp32s2_ut_by_default' into 'master'
CI: enable esp32s2 ut jobs by default

See merge request espressif/esp-idf!9237
2020-12-02 08:33:18 +08:00
Roland Dobai
c31dab51a0 Show defaults and ranges in generated kconfig documentation 2020-11-30 09:51:50 +00:00
Fu Hanxi
7281a5a0cc Split component_ut tests based on targets
- add more label in CIScanTest.py
- fix the bug that will cause labels not iterate correctly
2020-11-30 14:08:54 +08:00
Fu Hanxi
6fd2d27bfd Make sure "unit_test" will trigger all labels
- keep labels name consist with the bot variable
2020-11-30 11:44:37 +08:00
He Yin Ling
6e545215c1 ci: enable ESP32S2 unit test by default 2020-11-30 11:34:51 +08:00
Fu Hanxi
4bd2130eab set dependencies to null to avoid missing artifacts issue 2020-11-27 19:11:59 +08:00
Fu Hanxi
22168a7910 remove all pre-stage artifacts in build stage jobs 2020-11-27 19:03:25 +08:00
Fu Hanxi
9e4f5dd01f CI: Add dependency "fast_template_app" to build jobs 2020-11-27 19:03:25 +08:00
Fu Hanxi
7c5eb76113 delete unused variable 2020-11-27 19:03:25 +08:00
Angus Gratton
190aed41ee Merge branch 'bugfix/ttfw_example_test_fails_port_remains_open' into 'master'
ci: Fix CI issue if one example test fails, and if serial port returns some noise

Closes IDFCI-236

See merge request espressif/esp-idf!11273
2020-11-26 08:04:00 +08:00
Angus Gratton
26fb74bc97 ci: ttfw: Encode serial port data to whatever the console encoding is
This is a bit of a hack, but gives us a way to always log it
2020-11-24 18:32:47 +11:00
Angus Gratton
37838803db ci: Log failure to close any DUT 2020-11-24 18:32:47 +11:00
Fu Hanxi
10df5b3a7c CI: clarify file patterns in sonar_exclude_list.txt 2020-11-24 13:39:18 +08:00
Angus Gratton
403fdf8e9c Merge branch 'bugfix/fix_ttfw_idf_performance_check_not_work' into 'master'
ttfw: fix ttfw_idf performance check not work

See merge request espressif/esp-idf!10001
2020-11-23 14:50:18 +08:00
Angus Gratton
17fea25f45 Merge branch 'ci/fix_annotated_tag_check' into 'master'
ci: Fix annotated tag check

See merge request espressif/esp-idf!11324
2020-11-23 14:35:31 +08:00
Angus Gratton
a47e207a7e ci: Fix annotated tag check
Regression in 1612f84
2020-11-23 10:23:24 +11:00
Chen Yu Dong
454edcc0a8 ci: all jobs use python3 by default 2020-11-19 03:27:58 +00:00
Ivan Grokhotkov
7f9c84032e Merge branch 'ci/build_example_cmake_artifacts_always' into 'master'
bugfix: CI: build_example_cmake artifacts uploaded only when succeeded

See merge request espressif/esp-idf!11279
2020-11-18 21:18:17 +08:00
Fu Hanxi
27c23418ad bugfix: CI: build_example_cmake artifacts uploaded only when succeeded 2020-11-18 17:26:33 +08:00
Anton Maklakov
e0c9260976 Merge branch 'ci/pre-commit_windows_improvements' into 'master'
pre-commit: recognize Windows excecutable files with git

See merge request espressif/esp-idf!11211
2020-11-18 16:15:18 +08:00
Angus Gratton
0444a0fe2a ci: Increase test job count 2020-11-17 18:19:35 +11:00
Angus Gratton
c9fdc8a167 Merge branch 'bugfix/fix-autocomplete-tests' into 'master'
Add waiting for export script finish

Closes IDFCI-218

See merge request espressif/esp-idf!11216
2020-11-17 07:33:16 +08:00
Angus Gratton
6ce34a227e Merge branch 'feature/fatfs_fast_seek' into 'master'
feature/fatfs: enable the usage of fast-seek algorithm

See merge request espressif/esp-idf!9916
2020-11-17 07:17:31 +08:00
Anton Maklakov
df2b949544 Merge branch 'bugfix/run_build_docs_preview_only_with_label' into 'master'
CI: run build_docs_preview only with the label

Closes IDFCI-208

See merge request espressif/esp-idf!11186
2020-11-16 12:10:09 +08:00
martin.gano
978b5308e8 Close files after writing. 2020-11-13 15:22:46 +01:00
Anton Maklakov
b6efdf48d3 Merge branch 'bugfix/sonarqube_wrong_variable_name' into 'master'
CI: sonarqube: unmatched variable name always skip the job

See merge request espressif/esp-idf!11215
2020-11-13 20:16:17 +08:00
Angus Gratton
935e4b4d62 Merge branch 'feature/riscv_arch' into 'master'
Add RISC-V support

Closes IDF-2359

See merge request espressif/esp-idf!11140
2020-11-13 07:50:31 +08:00
Angus Gratton
53fa8da673 Merge branch 'bugfix/check_doc_links_no_deploy' into 'master'
CI: Only run check_doc_links if we actually deployed

Closes IDFCI-169

See merge request espressif/esp-idf!10939
2020-11-13 04:53:27 +08:00
Angus Gratton
87e13baaf1 freertos: Add RISC-V port
Changes come from internal branch commit a6723fc
2020-11-13 07:49:11 +11:00
Fu Hanxi
6e4d2503e9 CI: sonarqube: unmatched variable name always skip the job 2020-11-12 23:03:38 +08:00
martin.gano
1287056878 Temporary disable autocomplete test 2020-11-12 11:59:12 +01:00
Fu Hanxi
0a8a99c17b pre-commit: recognize Windows excecutable files with git 2020-11-12 17:52:31 +08:00
He Yin Ling
e568daf213 ttfw: fix idf performance check doesn't work 2020-11-12 09:49:44 +00:00
Fu Hanxi
c600a6d840 CI: run build_docs_preview only with the label 2020-11-12 06:44:38 +00:00
Marius Vikhammer
71b24f0518 CI: Only run check_doc_links if we actually deployed
Update the check_doc_links job run conditions to match
github/doc deploy as a lot of the links link to github files.
2020-11-12 06:32:10 +00:00
Mahavir Jain
0fb65d0bae Merge branch 'bugfix/ttfw_idf_find_artifacts_inaccurate_with_same_prefix_path' into 'master'
CI: fix the bug returns wrong artifact path when app_name is a subset of a longer one

Closes IDFCI-217

See merge request espressif/esp-idf!11187
2020-11-12 12:12:51 +08:00
Ivan Grokhotkov
f5939c9e68 Merge branch 'bugfix/unset-temp-procedure-and-redirect-to-stderr' into 'master'
Tools: Avoid printing warnings in idf.py when autocompleting

Closes IDFCI-207

See merge request espressif/esp-idf!11159
2020-11-12 05:27:32 +08:00
martin.gano
304cff9f75 Redirect warning to stderr and unset temporary shell procedure 2020-11-11 15:12:58 +01:00
Shubham Kulkarni
cda61a87da Update OTA example to demonstate anti_rollback feature
Add example_test for anti_rollback feature
2020-11-11 11:51:28 +00:00
Angus Gratton
66fb5a29bb Whitespace: Automated whitespace fixes (large commit)
Apply the pre-commit hook whitespace fixes to all files in the repo.

(Line endings, blank lines at end of file, trailing whitespace)
2020-11-11 07:36:35 +00:00
Angus Gratton
8c0e5ecbea ci: Remove tools/ci/utils.sh from executable list 2020-11-11 07:36:35 +00:00
Fu Hanxi
5fa935e5ea CI: fix the bug returns wrong artifact path when app_name is a subset of a longer one 2020-11-11 12:31:39 +08:00
David Cermak
fb0f7e9077 ci: increase parallel job count for S2 unit tests 2020-11-09 21:41:51 +01:00
Ivan Grokhotkov
256333ca13 Merge branch 'ci/add_pre_commit_for_some_pre_check_jobs' into 'master'
CI: Add pre-commit for IDF project

See merge request espressif/esp-idf!10682
2020-11-06 20:16:27 +08:00
Ivan Grokhotkov
64c5b64996 Merge branch 'ci/renable_deploy_docs_production' into 'master'
CI: Renable deploy_docs_production

See merge request espressif/esp-idf!11075
2020-11-06 20:15:37 +08:00
Ivan Grokhotkov
e9e6d970f3 Merge branch 'feature/add-shell-autocompletion' into 'master'
idf.py: Enable autocompletion for command idf.py

Closes IDF-1540

See merge request espressif/esp-idf!10742
2020-11-06 20:14:38 +08:00
Anton Maklakov
85cad7c168 Merge branch 'bugfix/component_ut_variable_missing' into 'master'
CI: fix component ut variable missing error

See merge request espressif/esp-idf!11120
2020-11-06 17:26:45 +08:00
Ivan Grokhotkov
5dd16db1d6 Merge branch 'feature/esp_event_cxx' into 'master'
C++: ESP Event wrapper classes

Closes IDF-1048 and IDF-232

See merge request espressif/esp-idf!9602
2020-11-06 17:24:34 +08:00
Fu Hanxi
957e3b225a CI: fix component ut variable missing error 2020-11-06 02:18:37 +00:00
Felipe Neves
93ffc009ef vfs: restrict the fast seek for read-only files
Since the files under fast-seek cannot be expanded with further writes, it does not
make sense to enable fast-seek which may fail in write-mode files
2020-11-05 17:01:50 -03:00
Felipe Neves
32e760adfb fat_vfs: added fast seek capable file operation 2020-11-05 17:01:50 -03:00
Ivan Grokhotkov
b178780d52 Merge branch 'bugfix/missing_assign_test_variable' into 'master'
CI: fix missing variables issue in assign_test

See merge request espressif/esp-idf!11111
2020-11-04 18:58:35 +08:00
Fu Hanxi
64fc8072b4 bugfix: variable missing in assign_test 2020-11-04 16:48:30 +08:00
Anton Maklakov
b5b2738644 Merge branch 'test/ci_fuzzer_precheck' into 'master'
CI: Add a test to pre-check fuzzer tests compilation before weekly run

See merge request espressif/esp-idf!10332
2020-11-04 12:22:53 +08:00
Fu Hanxi
09c8777c22 Renable deploy_docs_production 2020-11-04 03:10:50 +00:00
martin.gano
346b002d9a enable autocompletion for command idf.py 2020-11-03 23:27:58 +01:00
Ivan Grokhotkov
0f127fcb62 ci: don't fetch artifacts in push_to_github 2020-11-03 16:46:51 +01:00
Fu Hanxi
47a97d2b52 check_kconfigs and check_deprecated_kconfigs now use files arguments 2020-11-02 15:49:13 +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
Chen Yu Dong
9e8315d9b3 ci: limit switching branches for auto_test_script 2020-11-02 06:59:13 +00:00
Michael (XIAO Xufeng)
23584e094f Merge branch 'feature/esp_flash_32b_addr' into 'master'
esp_flash: support high capacity flash chips (32-bit address)

See merge request espressif/esp-idf!9475
2020-10-30 15:22:44 +08:00
Ivan Grokhotkov
5341d20318 Merge branch 'bugfix/shell_test_script_missing_in_test_build_system_macos' into 'master'
Bugfix: missing `SHELL_TEST_SCRIPT` in job `test_build_system_cmake_macos`

See merge request espressif/esp-idf!11031
2020-10-30 03:20:39 +08:00
Fu Hanxi
09d4774a0a CI: Temperaroily disable deploy_docs_production since needs has a bug which will be fixed in GitLab 13.4 2020-10-29 18:33:18 +08:00
Michael (XIAO Xufeng)
3bacf35310 esp_flash: support high capacity flash chips (32-bit address) 2020-10-29 18:20:11 +08:00
Anton Maklakov
54e8ec29b2 Merge branch 'test/ci_assign_test_regular' into 'master'
ci: add assign_test into regular test

See merge request espressif/esp-idf!10998
2020-10-29 16:13:32 +08:00
Angus Gratton
654a827d7b Merge branch 'bugfix/docs_push_production_without_push_to_github' into 'master'
bugfix: Run `deploy_docs_production` in `post_deploy` stage after `push_to_github` successfully

See merge request espressif/esp-idf!11028
2020-10-29 15:18:01 +08:00
Fu Hanxi
6a9ff50610 Bugfix: missing SHELL_TEST_SCRIPT in job test_build_system_cmake_macos 2020-10-29 10:44:50 +08:00
Fu Hanxi
78134907a2 bugfix: Run deploy_docs_production in post_deploy stage after push_to_github successfully 2020-10-29 09:45:43 +08:00
Angus Gratton
8f3393afdf Merge branch 'refactor/create_esp_hw_support' into 'master'
Create esp_hw_support

Closes IDF-2161

See merge request espressif/esp-idf!10513
2020-10-29 07:51:46 +08:00
Renz Bagaporo
bea280c948 ci: increase s2 test jobs 2020-10-28 22:38:50 +08:00
Renz Bagaporo
6b0a5af73e soc: move implementations to esp_hw_support 2020-10-28 22:38:50 +08:00
Michael (XIAO Xufeng)
2ce058e100 ci: add assign_test into regular test 2020-10-28 16:32:54 +08:00
Anton Maklakov
b1d98e519d Merge branch 'ci/refactor_ci_yaml' into 'master'
CI: Refactor CI rules into separate yaml file: rules.yml

See merge request espressif/esp-idf!10634
2020-10-28 11:09:01 +08:00
morris
9de6cba434 ci: add more build test for esp32-s3 2020-10-27 17:22:17 +08:00
David Cermak
8d6e03a529 ci: increase parallel job count for S2 unit tests 2020-10-26 16:00:42 +00:00
Fu Hanxi
75ab9223f9 scan test when weekend test. 2020-10-26 10:25:21 +08:00
Fu Hanxi
3026d562ec add README.md to explain how to add/modify jobs/rules/ifs
- rename existing labels to fit the naming convention
2020-10-26 10:25:21 +08:00
Fu Hanxi
1b06cbe3ef utils.sh: add function info, warning, error. Turn retry_failed.sh into a function
includes `utils.sh` everywhere
2020-10-26 10:25:21 +08:00
Fu Hanxi
d3e44d9483 add gitlab ssh key for geo nodes 2020-10-26 10:23:46 +08:00
Fu Hanxi
7951152f7b CI: Refactor CI rules into rules.yml.
- Add `utils.sh` for some widely used shell scripts
- Change `dependencies` into `needs` for strict dependency relationships
2020-10-26 10:23:46 +08:00
Chen Yu Dong
f38321a218 test: move auto_test_script to new repo
clone repo by https instead of ssh
2020-10-24 09:21:17 +08:00
Jakob Hasse
f835bead45 C++: ESP Event wrapper classes
* Provide easy interface to esp_event in C++
* Extended functionality linke synchronous
  waiting for events

* Closes IDF-1048
* Closes IDF-232
2020-10-22 09:56:52 +08:00
suren.gabrielyan
637f5c0a68 CI: Add a test to pre-check fuzzer tests compilation before weekly run 2020-10-20 13:57:00 +00:00
Alex Lisitsyn
8737584789 Bugfix/fix RS485 ut fail 2020-10-19 16:17:19 +08:00
Ivan Grokhotkov
cea3a052b1 Merge branch 'ci/sonarqube_ignore_freertos' into 'master'
ci: Add FreeRTOS upstream files to the sonar exclude list

See merge request espressif/esp-idf!10846
2020-10-16 18:22:43 +08:00
Angus Gratton
2e5ca433f9 Merge branch 'bugfix/cmake_example_sdkconfig_path' into 'master'
cmake/example: Move idf_as_lib sdkconfig path to project, document configuring project

See merge request espressif/esp-idf!8649
2020-10-16 07:10:08 +08:00
Ivan Grokhotkov
0289d1cc81 Merge branch 'bugfix/gdbstub_threads_and_tests' into 'master'
gdbstub: fix thread list generation, add tests

Closes IDF-2246

See merge request espressif/esp-idf!10709
2020-10-15 15:59:32 +08:00
Angus Gratton
baffdb5fa0 ci: Add FreeRTOS upstream files to the sonar exclude list
These files are mostly upstream code apart from some minor modifications.
There are a number of places that sonarqube reports issues because of
different code style/expectations.
2020-10-15 07:05:51 +00:00