Commit graph

55 commits

Author SHA1 Message Date
Angus Gratton 002a13a71a 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-06-28 22:52:45 +00:00
Angus Gratton 7934df3a6f 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-06-28 22:52:45 +00:00
Angus Gratton 40d7ea68af Merge branch 'bugfix/ci_softap_example_test' into 'master'
Set sleep time to allow wlan0 to connect to softap

See merge request espressif/esp-idf!9258
2020-06-25 09:06:55 +08:00
Shivani Tipnis 76232fd263 ci: Set sleep time to allow wlan0 to connect to softap 2020-06-24 23:07:46 +05:30
Roland Dobai 50e817fc77 CI: Ignore error if py_debug_backend not installed 2020-06-23 13:45:12 +02:00
Ivan Grokhotkov b3a76a9d83 Merge branch 'feature/idf_monitor_debug_ws' into 'master'
tools/idf_monitor: add WebSocket client for IDE integration

Closes IDF-1719

See merge request espressif/esp-idf!9032
2020-06-22 15:50:11 +08:00
Ivan Grokhotkov cf155161c4 Merge branch 'feature/higher_level_com_gdb' into 'master'
CI: Use higher-level interaction with GDB in example tests and test apps

Closes IDF-1622

See merge request espressif/esp-idf!8840
2020-06-19 16:13:01 +08:00
Fu Hanxi 23822e2e3f ci: retry download if catched IOError/EOFError 2020-06-17 16:03:49 +08:00
Roland Dobai e67314f646 tools/idf_monitor: add WebSocket client for IDE integration 2020-06-10 10:56:20 +00:00
Roland Dobai 493c852b73 CI: Use higher-level interaction with GDB in example tests and test apps 2020-06-05 14:58:34 +00:00
Fu Hanxi b76df30915 don't overwrite special cases dut 2020-06-01 13:39:09 +08:00
Fu Hanxi 3b17b9e393 panic_test contains some reassign dut cases 2020-06-01 12:08:57 +08:00
Fu Hanxi 377d3eaaa5 Move local target detection to ttfw_idf
rename upper_list to upper_list_or_str
minor fix for `unit_test.py` `is 'name'` -> `== 'name`
2020-06-01 12:08:57 +08:00
Fu Hanxi e99172fbac make upper_list do not make str into list 2020-05-29 12:42:57 +08:00
Fu Hanxi d06d2a2b9f remove typing as a dependency.
return None if the input is None
2020-05-29 12:42:56 +08:00
Fu Hanxi 5c92d36078 Add list support for ttfw_idf test decorators. Only replicate supported keys 2020-05-29 12:42:56 +08:00
Fu Hanxi e553092d62 move ci_target_check to ttfw_idf, move ci_target_filter to AssignTest
mark `supported_in_ci` for AssignTest filter.
2020-05-29 12:42:56 +08:00
Fu Hanxi 38c288bc0e Add BOT_TARGET_FILTER to _apply_bot_filter
fix the bug that will calculate twice if ci_target is a list.
2020-05-29 12:42:56 +08:00
Fu Hanxi bc026133c5 add ci_target filter for target and local target check 2020-05-29 12:42:56 +08:00
Fu Hanxi 9f8b63da38 Pass current target to test_method **overwrite. 2020-05-29 12:42:56 +08:00
Fu Hanxi 6c98d7e4bd Add multi target support for search examples
drop keyword `dut`, use `target` instead to assign`dut_class` to `Env`
2020-05-29 12:42:56 +08:00
Ivan Grokhotkov 3fe4adc98d ttfw: allow relative imports in test scripts 2020-05-12 22:27:06 +02:00
Ivan Grokhotkov 7d74cc4255 ttfw_idf: IDFApp: convert partition offset to int 2020-05-12 22:27:06 +02:00
Ivan Grokhotkov 952830ab12 ttfw_idf: IDFApp: add method to get SHA256(elf file) 2020-05-12 22:27:06 +02:00
Ivan Grokhotkov 26f6136a7d ttfw: only send relevant DUT kwargs to serial.serial_for_url 2020-05-12 22:27:06 +02:00
Roland Dobai 79e58eff8f Add JTAG related example tests 2020-05-05 11:08:33 +02:00
Fu Hanxi c131a18059 load all yml files while assigning tests 2020-04-30 06:47:49 +00:00
Fu Hanxi 7709d4ccfd Use IDF_TARGET to determine the build method and the output file name 2020-04-30 06:47:49 +00:00
Fu Hanxi 04342a73f2 Fix some python bugs left before 2020-04-30 06:47:49 +00:00
Roland Dobai 2d709c6384 Migrate "loadable elf" test from hello_world example to test_apps 2020-04-29 09:17:28 +02:00
Roland Dobai 819f7a4e57 examples: Add storage example tests 2020-04-29 09:16:18 +02:00
He Yin Ling c2e068f0e4 Merge branch 'bugfix/ci_partition_table_detection' into 'master'
CI: Fix partition table detection if "partition" is in the project name

See merge request espressif/esp-idf!8223
2020-04-22 15:10:11 +08:00
Fu Hanxi 76d118577e test_config: fix the bug that will generate !!python/unicode
As an example, [7964999 example_test_002_](https://gitlab.espressif.cn:6688/espressif/esp-idf/-/jobs/7964999/artifacts/file/examples/test_configs/example_test_002_.yml)
2020-04-08 11:19:13 +08:00
David Cermak a463e80d43 ci: fix ttfw ignoring test failure if exception in print_debug_info 2020-04-05 20:07:27 +02:00
Roland Dobai 512906fa32 CI: Fix partition table detection if "partition" is in the project name 2020-04-03 11:41:06 +02:00
Roland Dobai 15884eccf2 Add multi-target support for performance tests 2020-03-09 13:41:56 +01:00
David Cermak 692deac5ae CI: assign and target-test stages updated to run test-apps in the ci 2020-02-06 16:46:41 +00:00
Ivan Grokhotkov e63764b468 CI: test-apps introduction
Introducing feature of adding arbitrary projects which could be build or
executed in the CI for the only purpose as testing

Closes IDF-641
2020-02-06 16:46:41 +00:00
Shivani Tipnis 770a1eae01 ci: Fix target variable default value 2020-01-27 09:05:23 +00:00
Angus Gratton 4e4bfb4348 Merge branch 'bugfix/ci_handle_retried_jobs' into 'master'
CI: fix CI fail when have retried build jobs

See merge request espressif/esp-idf!7435
2020-01-23 09:30:07 +08:00
morris e30cd361a8 global: rename esp32s2beta to esp32s2 2020-01-22 12:14:38 +08:00
He Yin Ling 739affb5b0 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-01-22 10:04:54 +08:00
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