Tomas Sebestik
3522f3fc31
Handle gitlab 404 error
...
ci: do not retry on 404 when LOCAL_GITLAB_HTTPS_HOST not set
2022-01-27 13:29:37 +01: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
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
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
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
He Yin Ling
f01bfeddb9
ttfw: fix DUT exception not added to junit report
2021-05-20 16:48:17 +08:00
Fu Hanxi
97649c45eb
fix(ci): ci_fetch_submodule return full match name first
2021-04-19 20:24:13 +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
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
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
Chen Yu Dong
52c3aa87b5
ci: move auto_test_script to new repo (backport 4.1)
2020-10-24 09:24:59 +08:00
Angus Gratton
4ea2935b1a
ci provisioning: Add some experiments to check the runner's STA state
...
Not clear why sometimes it associates without negotiating a new DHCP lease.
2020-07-03 09:02:04 +00:00
Angus Gratton
113721f8fc
ci wifi_tools: Log the wpa_supplicant interface state when trying to connect
...
Trigger reconnection if wpa_supplicant seems to have dropped the connection.
2020-07-03 09:02:04 +00:00
Roland Dobai
f5645cc9d8
CI: Fix partition table detection if "partition" is in the project name
2020-04-22 10:04:36 +02:00
He Yin Ling
1fa6db757d
ci: add find job id argument job status:
...
if we retry failed job, we will have 2 jobs with same name in one pipeline. we need to use status to find the retried job instead of failed job.
2020-03-12 09:56:33 +08:00
Shivani Tipnis
9dcb48b86b
ci: Fix target variable default value
...
(cherry picked from commit 3748e06108bd3067b36c3b605feb6aaf438d98eb)
2020-01-21 17:55:23 +05:30
morris
e51bd6deaf
gh-action:fix python lint
2020-01-01 12:56:33 +08:00
He Yin Ling
8df08de486
ttfw: fix incorrect relative import for python3
2019-12-30 20:20:14 +08:00
David Cermak
74d768fe6d
ci: updated mqtt weekend test for qemu support
...
Added default sdkconfig for qemu build for the mqtt publish example,
Added environment configuration for running the same test on target
or in qemu
Updated missing example tests per latest ttfw refactoring
2019-12-17 14:06:40 +01:00
David Cermak
cec408c760
ci: ttfw update to support qemu dut_class
...
Updated missing example tests per latest ttfw refactoring,
updated pythons requirements.txt for ttfw_idf
2019-12-17 14:06:40 +01:00
Ivan Grokhotkov
85c97967d5
tiny-test-fw: add QEMU DUT
2019-12-17 14:06:40 +01:00
Angus Gratton
18853ae509
ttfw: Fix the build directory detection when using the default build/ dir for binaries
2019-12-12 11:05:05 +11:00
Angus Gratton
b20eaf3306
ttfw: Fix exception message when an error occurs finding files to flash
2019-12-12 11:05:05 +11:00
He Yin Ling
fe521c9d12
ci: fix fetch submodule error on python3
2019-12-10 09:38:31 +08:00
He Yin Ling
164e8ba21f
test: support loadable elf test cases:
...
loadable elf example is different for 2 reasons:
1. loadable elf binary don't have flasher_args.json, so we can't use normal
to get from CI artifacts
2. it don't have binary and don't need to downloaded binary to DUT. Some
related functions can be ignored
2019-12-08 20:32:11 +08:00
He Yin Ling
89f8e19850
CI: support only download artifacts by request:
...
use CI dependencies could waste a lot bandwidth for target test jobs, as
example binary artifacts are very large. Now we will parse required
artifacts first, then use API to download required files in artifacts.
2019-12-07 10:34:54 +08:00
He Yin Ling
c906e2afee
test: update example and unit tests with new import roles:
...
tiny_test_fw is a python package now. import it using normal way.
2019-12-07 10:34:54 +08:00
He Yin Ling
4d45932c5e
CI: add utility gitlab_api
2019-12-07 10:34:54 +08:00
He Yin Ling
d621d0e88e
tiny-test-fw: move to tools/esp_python_packages:
...
make `tiny_test_fw` as a package and move to root path of idf python
packages
2019-12-06 17:29:47 +08:00