Commit Graph
100 Commits
Author SHA1 Message Date
Fu Hanxi ae1ca0e2ef Merge branch 'ci/known-failure-dut-id-v5.3' into 'release/v5.3'
ci: pytest-ignore skip using dut id

See merge request espressif/esp-idf!43627
2025-11-25 12:57:55 +01:00
Fu Hanxi 86712b0808 ci: use merged result commit in build_docker job
also change to shanghai runners
2025-10-10 09:27:56 +02:00
Fu Hanxi a3a0361d02 ci: fix windows test jobs download source 2025-10-03 13:12:49 +02:00
Fu Hanxi 879494b7ac fix: make sure sdkconfig.json is updated after running the menuconfig 2025-09-01 09:43:10 +02:00
Fu Hanxi c16fd0da03 fix: kconfig optional dependency in transitive dependency 2025-09-01 09:43:10 +02:00
Fu Hanxi d595ea9b2b feat: support kconfig in component manager 2025-09-01 09:43:09 +02:00
Fu Hanxi 7b09c3682d ci: use fixed telnetlib since python 3.13 removed this from stdlib 2025-08-20 00:28:00 +08:00
Fu Hanxi f3b34988ea ci: remove cached submodule metadata while checking with github 2025-06-24 10:55:39 +02:00
Fu Hanxi e0703dfec8 docs: fetch all tags while deploying 2025-06-20 08:19:59 +02:00
Fu Hanxi e97adbf002 ci: disable idf-ci plugin
this plugin will be re-enabled with compatible code in !38755
2025-06-04 13:18:40 +02:00
Fu Hanxi b27dd7c77a ci: rename local idf_ci folder, avoid name collision 2025-04-25 11:28:13 +02:00
Fu Hanxi 11142cffb3 ci: set app_list to empty list when not None 2025-02-14 14:04:18 +01:00
Fu Hanxi 539971de6c feat: add component_source property to component targets 2025-01-21 16:45:29 +08:00
Fu Hanxi 773ce3de55 ci: remove gitlab api call while generating pytest target-test child pipeline 2024-11-13 20:46:01 +01:00
Fu Hanxi 91feda824b ci: generate new report if old one failed to be updated 2024-11-13 20:46:01 +01:00
Fu Hanxi dbe61e3290 ci: use different base commit for merge result pipelines 2024-11-07 10:40:39 +01:00
Fu Hanxi c9971bea59 ci: support diff manifest sha with the base commit 2024-11-07 10:40:23 +01:00
Fu Hanxi 9e33b5ffc0 ci: disable sonarqube check 2024-10-25 13:01:45 +02:00
Fu Hanxi 8a668d6c03 ci: disable failing esp32c5 builds 2024-06-18 08:27:00 +02:00
Fu Hanxi 4e850f158e ci: move log dir from pytest_embedded_log to pytest-embedded 2024-05-10 10:29:21 +02:00
Fu Hanxi b8ed93eec0 ci: apply new fix in pytest-embedded 1.10 2024-05-07 12:17:10 +02:00
Fu Hanxi 840ec6579f ci: update mypy check for python 3.12, check under python 3.8 rules 2024-05-07 12:17:10 +02:00
Fu Hanxi 3386c594b4 ci: fix size.json path for app 2024-04-25 08:49:16 +02:00
Fu Hanxi ed2d492bde ci: check missing runners only when needed 2024-04-22 15:38:36 +02:00
Fu Hanxi 01d56baac6 Merge branch 'ci/fix_macos_runner' into 'master'
ci: select correct python version for mac runners

Closes IDFCI-2107

See merge request espressif/esp-idf!30102
2024-04-17 16:58:27 +08:00
Fu Hanxi 2cde75b531 ci: improve pytest build system tests
- remove temp dirs
- remove idf-component-manager unit test
2024-04-16 15:33:43 +02:00
Fu Hanxi a4f691b88a ci: always cleanup idf copy in ci 2024-04-16 15:32:10 +02:00
Fu Hanxi b5607cf43c ci: disable ccache on macos build system test 2024-04-16 15:32:10 +02:00
Fu Hanxi 588ac5f4fb ci: ensure macos selected the correct python installed by pyenv 2024-04-16 15:31:45 +02:00
Fu Hanxi a223bb04d0 Merge branch 'ci/update_submodule_patterns' into 'master'
ci: add c5-bt-lib in submodule patterns

See merge request espressif/esp-idf!30138
2024-04-09 18:41:55 +08:00
Fu Hanxi d60c435935 ci: add c5-bt-lib in submodule patterns
also fix the pattern that triggers the check
2024-04-09 12:37:30 +02:00
Fu Hanxi 8f2aebdc20 ci: ignore openthread runner temporarily 2024-04-08 14:44:17 +02:00
Fu Hanxi 8248477524 Merge branch 'feat/reduce-pytest-job-log' into 'master'
ci: reduce pytest job log

See merge request espressif/esp-idf!26790
2024-04-08 17:28:19 +08:00
Fu Hanxi 290e3c3156 ci: fix bypass target test warnings 2024-04-07 12:13:29 +08:00
Fu Hanxi 9f93ee1fba Merge branch 'ci/move_check_public_headers_to_host_test' into 'master'
ci: move check_public_headers from pre_check stage to host_test

See merge request espressif/esp-idf!29848
2024-03-27 17:59:08 +08:00
Fu Hanxi b5318eee59 ci: move check_public_headers from pre_check stage to host_test
this job is the bottleneck of the pre_check stage
2024-03-26 13:18:41 +01:00
Fu Hanxi 7fc82f7d74 Merge branch 'ci/increase_ccache_size' into 'master'
ci: increase ccache size limit and decrease test case amount per job

Closes IDFCI-2102

See merge request espressif/esp-idf!29847
2024-03-26 19:51:46 +08:00
Fu Hanxi 85f63f7ad2 ci: decrease test case amount per job
for now some jobs are reaching 1 hour timeout
2024-03-26 10:59:16 +01:00
Fu Hanxi 201d7d19ba ci: increase ccache size from 20GB to 50GB 2024-03-26 10:58:49 +01:00
Fu Hanxi 351453c551 Merge branch 'ci/git_describe_exclude_qa_tags' into 'master'
ci: check idf version excluding qa tags

Closes IDFCI-2097

See merge request espressif/esp-idf!29781
2024-03-26 17:30:45 +08:00
Fu Hanxi 821d3e2cee Merge branch 'ci/test_improve_ccache_hits' into 'master'
ci: improve ccache hits

See merge request espressif/esp-idf!29406
2024-03-24 02:00:41 +08:00
Fu Hanxi 745ec15c2b ci: check idf version excluding qa tags 2024-03-21 08:40:13 +01:00
Fu Hanxi b47c9e9c21 Merge branch 'ci/support_full_pipeline_by_components' into 'master'
CI: Support full pipeline by components

See merge request espressif/esp-idf!29760
2024-03-20 17:53:32 +08:00
Fu Hanxi 7928f46f2d ci: use host mapping volumes to improve the ccache hits 2024-03-20 17:26:19 +08:00
Fu Hanxi 6acd57df02 ci: support trigger full pipeline by components 2024-03-20 10:03:48 +01:00
Fu Hanxi 1f3160cd78 Merge branch 'fix/component_manager_load_all_local_components' into 'master'
fix: component manager load all component dirs even set(COMPONENTS ...)

Closes PACMAN-771

See merge request espressif/esp-idf!28797
2024-03-20 15:38:10 +08:00
Fu Hanxi 129eb33dd8 Merge branch 'ci/run_full_pipeline_while_testing_constraint_file' into 'master'
CI: run full pipeline while testing constraint file

See merge request espressif/esp-idf!29731
2024-03-19 20:17:31 +08:00
Fu Hanxi 74843a442b fix: component manager load all component dirs even set(COMPONENTS ...) 2024-03-19 19:52:20 +08:00
Fu Hanxi d2542dd5c5 test: improve test_dependency_lock test case 2024-03-19 19:52:20 +08:00
Fu Hanxi 5de124f777 ci: run full pipeline while testing constraint file 2024-03-19 09:47:21 +01:00
Fu Hanxi 8ed66457e6 Merge branch 'ci/add_idf_ci_build_while_building_apps_locally' into 'master'
ci: add "IDF_CI_BUILD=1" while building apps locally

See merge request espressif/esp-idf!29679
2024-03-15 22:31:24 +08:00
Fu Hanxi b50dbd31b5 ci: add "IDF_CI_BUILD=1" while building apps locally 2024-03-15 10:55:08 +01:00
Fu Hanxi d3473bed30 Merge branch 'ci/support_filter_pytest_cases_with_sdconfig_name' into 'master'
ci: support filter pytest with sdkconfig name

See merge request espressif/esp-idf!29581
2024-03-14 16:34:31 +08:00
Fu Hanxi 6b14ba559a Merge branch 'fix/dynamic_pipeline_workflow_for_tag' into 'master'
ci: fix dynamic pipeline for tag pipelines

See merge request espressif/esp-idf!29370
2024-03-14 14:51:01 +08:00
Fu Hanxi 7641776ae2 ci: support filter pytest with sdkconfig name 2024-03-12 11:16:39 +01:00
Fu Hanxi 4b17811c86 ci: use full fetch while checking git tags 2024-03-05 15:38:02 +01:00
Fu Hanxi d2b95201c3 ci: fix dynamic pipeline for tag pipelines 2024-03-01 08:17:20 +01:00
Fu Hanxi 5af630da20 ci: fix git strategy env var 2024-02-28 15:04:34 +01:00
Fu Hanxi 12de4603c0 Merge branch 'ci/fix_multi_dut_without_param' into 'master'
ci(pytest): fix multi dut wrongly be picked issue

See merge request espressif/esp-idf!28793
2024-02-27 17:02:12 +08:00
Fu Hanxi 0df25d5229 ci: ignore c3 flash_multi cases 2024-02-23 14:15:35 +01:00
Fu Hanxi 859bd52131 Merge branch 'ci/upload_size_info_and_build_junit_report' into 'master'
ci: upload size info, and build junit report

See merge request espressif/esp-idf!28803
2024-02-23 16:16:26 +08:00
Fu Hanxi 85372fb1ce ci(pytest): fix multi dut wrongly be picked issue
This issue will happen to multi-dut test cases
- without `target` defined in param
- and with `app_path` defined in param
- and with `pytest.mark.target` markers
2024-02-21 10:18:21 +01:00
Fu Hanxi 0a5eec08ef Merge branch 'ci/fix_wrongly_build_all_test_related_apps_issue' into 'master'
Ci/fix wrongly build all test related apps issue

See merge request espressif/esp-idf!29078
2024-02-20 17:40:59 +08:00
Fu Hanxi b5e6b883a5 ci: fix test related apps are force been built 2024-02-20 08:30:22 +01:00
Fu Hanxi fe0b63ff65 Merge branch 'ci/fix_default_artifacts' into 'master'
ci: always set `expire_in` and `when` with `artifacts`

See merge request espressif/esp-idf!29083
2024-02-19 17:06:19 +08:00
Fu Hanxi b70d65444a ci: always set expire_in and when with artifacts
set it under `default` does not work due to gitlab bugs.
will use `default` back once the bugs are resolved.
2024-02-16 13:43:53 +01:00
Fu Hanxi 57955cc150 Merge branch 'ci/ignore_c6_wifi_two_dut_runners' into 'master'
ci: ignore esp32c6_2,wifi_two_dut test cases

See merge request espressif/esp-idf!28944
2024-02-06 20:45:32 +08:00
Fu Hanxi 80a32713bb ci: ignore esp32c6_2,wifi_two_dut test cases 2024-02-06 13:38:25 +01:00
Fu Hanxi a1f7f94ef9 ci: upload size info, and build junit report 2024-02-05 10:07:32 +01:00
Fu Hanxi d92cd1b7ec Merge branch 'ci/ignore_p4_jtag' into 'master'
ci: ignore p4,jtag runner

See merge request espressif/esp-idf!28789
2024-01-30 18:28:01 +08:00
Fu Hanxi ecae464c52 ci: ignore p4,jtag runner 2024-01-30 09:08:35 +01:00
Fu Hanxi 9783207f0b Merge branch 'ci/qemu_respect_all_test_triggerer' into 'master'
ci: fix idf_relpath issue while searching the apps

See merge request espressif/esp-idf!28645
2024-01-30 16:01:24 +08:00
Fu Hanxi 7913c42996 Merge branch 'ci/known_generate_target_test_issues' into 'master'
ci: add known warnings while generating the target test jobs

Closes IDFCI-1941

See merge request espressif/esp-idf!28551
2024-01-30 00:25:24 +08:00
Fu Hanxi ceb2ef7208 ci: add init known warnings while generating the test child pipeline 2024-01-29 13:52:40 +01:00
Fu Hanxi 08312412ec ci: check warnings while generating the target test jobs 2024-01-29 13:52:40 +01:00
Fu Hanxi e9f4d555a6 test: add missing host_test marker for qemu tests 2024-01-29 13:52:40 +01:00
Fu Hanxi 432c5a783d ci: gitlab auth failing hint 2024-01-29 13:52:40 +01:00
Fu Hanxi d42e3fce04 ci: add sort_yaml.py 2024-01-29 13:52:39 +01:00
Fu Hanxi 6895ff11b6 ci: fix get_all_apps for multi targets 2024-01-29 20:45:00 +08:00
Fu Hanxi 142a3c8a7a ci: fix idf_relpath issue while searching the apps
Now `PytestCase`, collect_app_info file, are all using relpath to idf
instead
2024-01-29 20:45:00 +08:00
Fu Hanxi 2d094ab9d3 test: remove succeeded temp projects
also rename `tmp_path` to `work_dirpath` since it's defined in pytest
2024-01-29 20:45:00 +08:00
Fu Hanxi 94433614dc Merge branch 'ci/fix_missing_artifacts_with_dependencies_and_needs_set' into 'master'
ci: lint yaml files that use `dependencies: []` together with `needs`

See merge request espressif/esp-idf!28707
2024-01-26 14:13:43 +08:00
Fu Hanxi fc802da68c ci: lint yaml files that use dependencies: [] together with needs 2024-01-25 14:47:53 +01:00
Fu Hanxi c44cb5d5c6 Merge branch 'ci/add_missing_gitlab_requirements_for_pytest' into 'master'
ci: add missing python-gitlab requirement for pytest

See merge request espressif/esp-idf!28703
2024-01-25 19:58:27 +08:00
Fu Hanxi 9fb3a5c1ef ci: add missing python-gitlab requirement for pytest
this lib is to download the artifacts from gitlab locally
2024-01-25 10:12:59 +01:00
Fu Hanxi cba1665639 Merge branch 'ci/fix_artifacts_object_name' into 'master'
ci: fix job name sanitizer

See merge request espressif/esp-idf!28676
2024-01-24 23:08:50 +08:00
Fu Hanxi 87fc492fa6 ci: fix job name sanitizer 2024-01-24 10:49:40 +01:00
Fu Hanxi 9bb28ba5e3 Merge branch 'ci/fix_requires_elf_or_map' into 'master'
ci: fix app.requires_elf_or_map. Use absolute paths

See merge request espressif/esp-idf!28603
2024-01-23 17:44:34 +08:00
Fu Hanxi 2ddb0fb3f6 ci: fix app.requires_elf_or_map. Use absolute paths 2024-01-22 11:14:03 +01:00
Fu Hanxi 813dbe5526 Merge branch 'ci/fix_truncated_backet_names_in_artefact_uploader' into 'master'
ci: fix truncated job name in artifact path

See merge request espressif/esp-idf!28558
2024-01-18 20:25:52 +08:00
Fu Hanxi 6d23026437 ci: add IDF_TARGET env var while building
usually we don't need it, but some sdkconfig files may want to expand
this env var.
2024-01-17 13:48:16 +01:00
Fu Hanxi c1ee790341 Merge branch 'ci/add_download_custom_apps_fixture' into 'master'
test: fix custom additional app for multicore test cases

Closes IDFCI-1948

See merge request espressif/esp-idf!28507
2024-01-17 16:44:17 +08:00
Fu Hanxi 23c339e231 ci: raise RuntimeError instead of SystemExit to avoid kill the process
otherwise the pytest process will be killed immediately
2024-01-16 20:21:40 +01:00
Fu Hanxi 4afb86fce3 test: fix custom additional app for multicore test cases 2024-01-16 20:20:42 +01:00
Fu Hanxi b0af857d50 Merge branch 'ci/fix_search_multi_dut_with_markers' into 'master'
ci: fix collect multi-dut test case with markers issue

Closes IDFCI-1945

See merge request espressif/esp-idf!28448
2024-01-16 22:48:09 +08:00
Fu Hanxi 61aafd1e89 ci: fix download with multi-dut test cases with markers only 2024-01-15 22:36:09 +01:00
Fu Hanxi c8dffc9378 ci: fix collect multi-dut test case with markers issue
While collecting, we stop registering the new plugin.
Otherwise the new created plugin will override the one we passed

also run the tests inside idf. the behavior is different.
2024-01-15 22:36:09 +01:00
Fu Hanxi 9d3abb8686 Merge branch 'ci/fix_no_junit_report_for_failed_target_test_jobs' into 'master'
ci: always upload junit report

See merge request espressif/esp-idf!28435
2024-01-15 16:40:06 +08:00
Fu Hanxi 7be04869d2 Merge branch 'ci/respect_build_only_label_while_generating_test_jobs' into 'master'
ci: support build only label again in dynamic pipeline

See merge request espressif/esp-idf!28434
2024-01-15 16:15:05 +08:00
Fu Hanxi b581d81fc1 ci: support build only label 2024-01-14 21:18:20 +01:00