huchaoru
9e9be2538d
bugfix: set authmode by switching number to string (backport v4.1)
2021-12-27 20:01:58 +08:00
“YangZhao”
dea009aa62
Fix the high-impact issues from the code analysis report from customer.
...
For the CID10564,10384,10280,10098,10038,The memory was released in other place.
For the CID10365,it release the memory in the function when sent successfully.
For the CID10268,10011, we need not change the code.
2021-12-06 14:04:05 +08:00
Ivan Grokhotkov
e25d83744e
ci: use LOCAL_GIT_MIRROR in docker build job, if set
...
When the build runner has a local git mirror configured via
LOCAL_GIT_MIRROR variable, use that mirror when cloning IDF insider
the docker build job. Follows similar logic for
LOCAL_GITLAB_HTTPS_HOST, which is used for geo nodes.
2021-11-25 13:36:42 +08:00
Sergei Silnov
3458101c48
ci: Remove component manager test from build system tests
...
Component manager itself has a set of integration tests
that run against different ESP-IDF versions
2021-11-24 15:41:18 +01:00
Anton Maklakov
be8eec22f8
Merge branch 'ci/fix_deploy_docs_preview_url_v4.1' into 'release/v4.1'
...
ci: update docs preview url (v4.1)
See merge request espressif/esp-idf!15510
2021-10-21 03:30:01 +00:00
Ivan Grokhotkov
25385d72ab
ci: revert type annotations in gitlab_api.py to python2 compatible
2021-10-19 19:44:31 +07:00
Ivan Grokhotkov
fdcfba5650
ci: retry Gitlab operations on error 500
2021-10-19 19:44:24 +07:00
Fu Hanxi
bb7dcb8113
ci: retry download artifacts
2021-10-19 19:44:17 +07:00
Ivan Grokhotkov
4878cdd125
ci: fetch submodules from mirror, if enabled
2021-10-19 19:44:10 +07:00
Fu Hanxi
beaee539de
ci: retry download if catched IOError/EOFError
2021-10-19 19:44:04 +07:00
Marius Vikhammer
b6842845b9
ci: update docs preview url
2021-10-14 14:24:00 +08:00
Juraj Michálek
58d48574a1
tools: remove dependency on Windows installer - backport
2021-10-11 12:31:30 +02:00
Zim Kalinowski
2acf705460
Merge branch 'bugfix/cmake_export_ver_during_reqs_expansion_v4.1' into 'release/v4.1'
...
cmake: set IDF_VERSION_* variables at requirement expansion stage (v4.1)
See merge request espressif/esp-idf!14045
2021-08-12 21:41:51 +00:00
Fu Hanxi
980cb0e52d
feat(tiny_test_fw): ignore known failure cases result
...
py
2021-08-10 10:26:47 +08:00
Anton Maklakov
a121a37edb
Merge branch 'bugfix/ttfw_fix_flush_index_error_v4.1' into 'release/v4.1'
...
test: TTFW fix flush index error (v4.1)
See merge request espressif/esp-idf!14262
2021-07-30 06:36:04 +00:00
Shivani Tipnis
9150ab30cf
ble-wifi-example-tests: Add fixes and cleanups to ble and wifi tests
...
(cherry picked from commit 2d22374460
)
2021-07-27 21:13:06 +08:00
He Yin Ling
208781f022
CI: rename log path of IT jobs
2021-07-21 10:28:52 +08:00
He Yin Ling
8f7f429488
CI: remove ESP32S2Beta related jobs
2021-07-15 11:59:58 +08:00
He Yin Ling
ab830517bf
CI: remove wifi lib md5 test on ESP32S2beta
2021-07-15 11:59:58 +08:00
He Yin Ling
18b6a45146
ttfw: fix incorrect length when flush data cache after expect:
...
data cache is unicode. while we use bytes in RegEx expect. The index of
matched pattern is calculated with bytes, could be different from
unicode. Now we fix this issue by using unicode in expect.
2021-07-14 11:57:32 +08:00
Renz Bagaporo
bf341d966c
components: fix ldgen check errors
2021-06-21 09:52:03 +10:00
Renz Bagaporo
b9d288879d
ci: exempt upstream libmbedtls mapping for sha256
2021-06-21 09:45:23 +10:00
Renz Bagaporo
ffefe603ae
ci: enabled ldgen mapping check in ci
2021-06-21 09:45:23 +10:00
Ivan Grokhotkov
f9f318d666
cmake: set IDF_VERSION_* variables at requirement expansion stage
...
Currently IDF_VERSION_* variables are not available to the component
CMakeLists.txt files at the requirements expansion stage. This makes
it harder to write component CMakeLists files compatible with
different IDF versions.
Include version.cmake from the requirements expansion script, add a
build system test.
2021-06-18 15:29:53 +02:00
He Yin Ling
5438706922
Merge branch 'bugfix/example_test_socket_issue_4.1' into 'release/v4.1'
...
CI: example test socket issue (4.1)
See merge request espressif/esp-idf!13906
2021-06-15 08:48:27 +00:00
He Yin Ling
069182853e
test: fix iperf example errors:
...
1. fix TypeError when running with python3
2. fix throughput chart x/y axis label error
3. make test case compatibile with iperf bin on earlier release branches
2021-06-08 17:20:18 +08:00
Fu Hanxi
7b9f8c0e8c
ci: unify target test artifacts to all .log file and $LOG_PATH
2021-06-03 17:45:35 +08:00
He Yin Ling
f01bfeddb9
ttfw: fix DUT exception not added to junit report
2021-05-20 16:48:17 +08:00
Chen Yudong
9a29375f7d
ci: run target test with python3
2021-04-28 18:10:34 +08:00
Fu Hanxi
97649c45eb
fix(ci): ci_fetch_submodule return full match name first
2021-04-19 20:24:13 +08:00
Cao Sen Miao
2333667cb5
ota: fix ota with flash encryption
2021-03-12 16:44:06 +08:00
Cao Sen Miao
63e4510e9e
flash_encryption: Quick fixed the issue that block when flash_encryption_write, Related https://github.com/espressif/esp-idf/issues/6322 , Related https://github.com/espressif/esp-idf/issues/6254
2021-03-11 14:11:01 +08:00
Angus Gratton
2c4f90dab2
ci: Fix missing sys.stdout.encoding in python2 runners
...
Regression in fed98cd6ad
2021-03-04 09:27:26 +11:00
Angus Gratton
1f79b580f9
Merge branch 'bugfix/ttfw_example_test_fails_port_remains_open_v4.1' into 'release/v4.1'
...
ci: Fix CI issue if one example test fails, and if serial port returns some noise (v4.1)
See merge request espressif/esp-idf!12382
2021-02-28 23:57:04 +00:00
Angus Gratton
fed98cd6ad
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
2021-02-15 10:48:30 +11:00
Angus Gratton
65fb2ead1a
ci: Log failure to close any DUT
2021-02-15 10:48:30 +11:00
Roland Dobai
52ecfeb337
tools: Prefer python3 during install and export
...
Install and export script should work on systems without "python"
executable.
Closes https://github.com/espressif/esp-idf/pull/6471
Closes https://github.com/espressif/esp-idf/issues/6532
Related to https://github.com/espressif/esp-idf/issues/6421 and
https://github.com/espressif/arduino-esp32/issues/4717
2021-02-14 19:46:28 +01:00
lly
a47f4ae9fe
ci: Increase cmake build parallel count
2021-02-04 20:48:22 +08:00
Fu Hanxi
aa2400f5f0
CI: fix the bug returns wrong artifact path when app_name is a subset of a longer one
2021-02-02 11:14:18 +08:00
Anton Maklakov
9760595f2f
Merge branch 'bugfix/auto_test_script_only_use_given_branch_v4.1' into 'release/v4.1'
...
CI: limit switching branches for auto_test_script (v4.1)
See merge request espressif/esp-idf!11147
2021-01-30 22:20:31 +08:00
Ivan Grokhotkov
f74bb4e5a9
Merge branch 'feature/nvs_erase_check_init_4.1' into 'release/v4.1'
...
NVS Flash: prevent erasing initialized partition, nvs partition deinit bug (backport v4.1)
See merge request espressif/esp-idf!10063
2021-01-29 17:12:25 +08:00
Ivan Grokhotkov
0fcd502613
Merge branch 'bugfix/tools_python_subprocess_capture_output_v4.1' into 'release/v4.1'
...
tools: Avoid subprocess.run(capture_output) argument for Python <3.7 compatibility (v4.1)
See merge request espressif/esp-idf!11507
2021-01-29 17:10:43 +08:00
Anton Maklakov
38b0243807
Merge branch 'bugfix/ci_retries_when_download_v4.1' into 'release/v4.1'
...
CI: retry shell commands when download (v4.1)
See merge request espressif/esp-idf!9889
2021-01-29 16:55:03 +08:00
Anton Maklakov
75b33a1072
Merge branch 'feature/ci_fix_docker_build_v4.1' into 'release/v4.1'
...
ci: Use git mirror for docker image (v4.1)
See merge request espressif/esp-idf!10446
2021-01-29 16:48:57 +08:00
Jakob Hasse
fe7ebf75a0
NVS Flash: prevent erasing initialized partition
...
Closes https://github.com/espressif/esp-idf/issues/4755
Closes https://github.com/espressif/esp-idf/issues/2777
Closes FCS-533
* nvs_flash_erase_partition() checks whether
the parition in question is initialized
already and will return an error if so
* reflect changes in the documentation
* nvs host unit tests now clean up after each
test case
nvs_flash: fixed deinit other partition's handles
* When deinitializing or erasing a partition,
nvs used to close all handles instead of only
the current partition's handles.
This is fixed now
* Added a unit test for that case
2021-01-07 11:32:29 +08:00
Anton Maklakov
d3c35e1c5f
ci: Ignore Python 2 deprecation warning
2020-12-15 13:26:18 +07:00
daiziyan
026accbb91
add CN translation for adding python2 deprecation warning(MR 11115)
2020-12-09 14:41:33 +01:00
martin.gano
f75acede24
Tools: add Python 2 deprecation warning
2020-12-09 14:41:33 +01:00
Angus Gratton
e7f40fca68
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-08 09:44:44 +11:00
Marius Vikhammer
329ae0a987
docs: self host docs
...
Move doc hosting from readthedocs to espressif servers
Update CI, Sphinx configs and add IDF Sphinx theme
2020-11-24 02:16:02 +00:00