Commit Graph
61 Commits
Author SHA1 Message Date
Aleksei Apaseev 6b5eaec464 Merge branch 'ci/add-example-count-generation' into 'master'
ci: add example count generation

Closes SRV-19

See merge request espressif/esp-idf!41600
2025-11-17 08:48:19 +08:00
Aleksei Apaseev fb1fae9627 ci: add generate metrics of the target examples count 2025-11-17 08:28:42 +08:00
Aleksei Apaseev 8880b4e626 Merge branch 'ci/fix_bin_size_report_generation' into 'master'
ci: fix bin size report generation

See merge request espressif/esp-idf!41065
2025-08-14 13:12:01 +08:00
Aleksei Apaseev d19fc2958d ci: fix bin size report generation 2025-08-08 12:22:17 +08:00
Aleksei Apaseev 7b54ca004f Merge branch 'ci/dynamic-pipeline-report-adjustments' into 'master'
ci: dynamic pypiline report adjustments

Closes IDFCI-1939 and IDFCI-2436

See merge request espressif/esp-idf!38460
2025-05-22 13:43:17 +08:00
Aleksei Apaseev c25f87920a ci: improve the dynamic pipeline report 2025-05-22 13:25:39 +08:00
Aleksei Apaseev 8355b832d3 Merge branch 'ci/add-python-func-and-fix-c-testcase-path-in-junit-report' into 'master'
ci: add python_func attribute and fix C testcase path resolution in JUnit reports

Closes RDT-1013, IDFCI-1990, IDFCI-1964, and IDFCI-1429

See merge request espressif/esp-idf!35058
2025-02-20 10:09:52 +08:00
Aleksei Apaseev c03b007644 ci: fix testcase path resolution in JUnit reports. switch to the different unity test report mode. add app_path to target test report 2025-02-17 18:55:53 +08:00
Aleksei Apaseev 0d6099ec53 Merge branch 'fix/fix-test-report-generator' into 'master'
ci: fix tests related to the build report generator

See merge request espressif/esp-idf!36910
2025-02-12 19:22:31 +08:00
Aleksei Apaseev 897db53113 ci: fix tests build report generator 2025-02-12 19:07:53 +08:00
Aleksei Apaseev 7d1d949729 Merge branch 'ci/add-pre-signed-urls-of-built-test-related-apps-to-artifacts' into 'master'
ci: fix the issue with missing presigned URLs for test-related apps

Closes RDT-1120

See merge request espressif/esp-idf!36636
2025-01-27 16:19:42 +08:00
Aleksei Apaseev eb67370462 ci: fix the issue where presigned URLs for test-related applications were not being added to the YAML file 2025-01-26 15:41:06 +08:00
Aleksei Apaseev bef7edb940 Merge branch 'ci/enhace-dynamic-pipeline-with-bin-size-diff' into 'master'
ci: enhance dynamic pipeline with bin size diff

Closes IDFCI-2213 and IDF-7232

See merge request espressif/esp-idf!35356
2025-01-21 19:31:25 +08:00
Aleksei Apaseev 803a288029 ci: enhance the Dynamic pipeline report with binary size information 2025-01-17 18:52:54 +08:00
Aleksei Apaseev 368dbed43f Merge branch 'ci/make-app-path-in-log-min-free-heap-size-as-relative' into 'master'
ci: make app path relative to IDF_PATH in log_minimum_free_heap_size fixture

See merge request espressif/esp-idf!35648
2024-12-18 16:10:54 +08:00
Aleksei Apaseev 5bbc767f2e ci: make app path relative to IDF_PATH minimum free heap size log 2024-12-18 09:22:45 +08:00
Aleksei Apaseev 8d11345a01 Merge branch 'ci/add-app-path-to-log-min-free-heap-size' into 'master'
ci: add app_path to log_minimum_free_heap_size to allow better identification of apps

See merge request espressif/esp-idf!35627
2024-12-13 17:44:40 +08:00
Aleksei Apaseev 819703c442 ci: add app_path to log_minimum_free_heap_size to allow better identification of the app based on its path 2024-12-13 11:22:53 +08:00
Aleksei Apaseev 9c91d08c78 Merge branch 'ci/git-diff-output-optimization' into 'master'
ci: optimize `git diff` handling to address "Argument list too long" error

See merge request espressif/esp-idf!34960
2024-11-18 19:44:10 +08:00
Aleksei Apaseev 0045550de5 ci: optimize git diff handling to address "Argument list too long" error 2024-11-18 17:08:28 +08:00
Aleksei Apaseev 397fdb56fb ci: ensure binary size artifacts are uploaded in Build Stage Child pipeline via artifacts_handler script.
- Updated dynamic pipeline to include artifact upload commands for size reports, allowing easier parsing on the CI dashboard.
- Each job now handles its own size.json file, ensuring independent access for better CI artifact management.
2024-09-29 15:17:45 +08:00
Aleksei Apaseev 4f399061e7 Merge branch 'ci/print_retry_job_message_optionally' into 'master'
ci: add condition to print retry job message in dynamic pipeline report if any job has failed

See merge request espressif/esp-idf!33211
2024-09-03 18:35:22 +08:00
Aleksei Apaseev 5a88c4d1ab ci: add condition to print retry job message in dynamic pipeline report if any job has failed
- Updated `generate_jobs_report` function to check if any job in the list has `is_failed = True`.
- Improved code readability and maintainability by reducing complexity in the `post_report` method.
2024-09-03 14:51:13 +08:00
Aleksei Apaseev 73ac0bcdff Merge branch 'ci/fix-retry-failed-jobs-stage' into 'master'
ci: add redundant job to ensure 'retry_failed_jobs' job is not skipped

See merge request espressif/esp-idf!32754
2024-08-15 18:08:10 +08:00
Aleksei Apaseev c30d22630f ci: update the logic to use the gitlab API to fetch failed jobs 2024-08-15 16:04:35 +08:00
Aleksei Apaseev a0c3fb4d4a ci: add name for child pipelines 2024-08-15 16:04:35 +08:00
Aleksei Apaseev 4e44310ff1 ci: update authorization from Bearer token to CI_JOB_TOKEN while making requests to CI_DASHBOARD_API service 2024-08-15 16:04:35 +08:00
Aleksei Apaseev f154151e14 ci: retry jobs for parent and child pipelines 2024-08-15 16:04:35 +08:00
Aleksei Apaseev ae4687e43e ci: add redundant job to ensure 'retry_failed_jobs' job is not skipped 2024-08-15 16:01:23 +08:00
Aleksei Apaseev 9862ae280f Merge branch 'ci/add-retry-job-func-to-report' into 'master'
ci: add retry job functionality to dynamic pipeline report

Closes IDFCI-2211

See merge request espressif/esp-idf!32147
2024-08-12 09:46:02 +08:00
Aleksei Apaseev a6b84b5ccc feat(ci): add retry job functionality to dynamic pipeline report
Introduced changes:

- add a manual ci job to retry failed jobs.
- refactor js scripts in report template
- extract the CI ENV vars related to the report generation script to the predefined constants.py module
- introduce a new action "retry_failed_jobs" in helper script "gitlab_api.py"
2024-08-09 19:05:53 +08:00
Aleksei Apaseev c624742275 Merge branch 'ci/add_column_with_dut_log_to_report' into 'master'
ci: add dut_log_url column to failed testcases report

Closes IDFCI-2173, IDFCI-2169, RDT-818, IDFCI-2210, and IDFCI-2250

See merge request espressif/esp-idf!31867
2024-07-18 09:39:27 +08:00
Aleksei Apaseev cd59d96ff4 ci: add dut_log_url column to failed testcases report
Introduced changes:
- add xml attribute "dut_log_url" to pytest report
- add column "dut_log_url" to failed testcases table of dynamic pipeline report
- make the table header sticky
- add permalinks to the Table Titles
- split target test report by testcase type for better clarity
- fix the logic of finding the testcases failed on cur branch / other branches
2024-07-17 17:52:11 +08:00
Aleksei Apaseev b22a7c600c Merge branch 'ci/add_job_to_dynamic_pipeline_report' into 'master'
ci: add failed/succeeded jobs report generator

Closes IDFCI-1991

See merge request espressif/esp-idf!31070
2024-06-20 16:11:58 +08:00
Aleksei Apaseev 63bd3a18ad ci: add failed jobs report generator. Improve Target Test Report
Introduced changes:
- refactor the cli script used for report generation
- introduce failed jobs report generator
- cover job report generation with tests
- add job failure rate
- add test cases failure rate
- add current branch / other branches statistic for failed jobs / testcases
2024-06-20 14:40:54 +08:00
Aleksei Apaseev b0feec7e24 Merge branch 'ci/improve_dynamic_pipeline_report' into 'master'
feat(ci): Add known failure cases to the target test report

Closes IDFCI-1989 and IDFCI-1992

See merge request espressif/esp-idf!30925
2024-05-30 19:37:42 +08:00
Aleksei Apaseev 40c8a16ad4 ci: add known failure cases to the target test report
target test report:
- refactor the methods to ensure reusability
- cover report generation with tests
- introduce a known failure tests block in report
- add grafana link to testcases dashboard
2024-05-28 15:36:22 +08:00
Aleksei Apaseev b43e07d2f3 ci: fix truncated job name in artifact path 2024-01-18 14:45:35 +08:00
Aleksei Apaseev 8be8b34d23 fix(idf_tools): Do not print the log about the version of the tool 2023-12-12 11:54:30 +08:00
Aleksei Apaseev 239fb0fc3f Merge branch 'tools/use_recommended_tool_priority' into 'master'
fix (idf_tools): Opt for the recommended tool in tools.json rather than the supported one

See merge request espressif/esp-idf!27592
2023-12-08 11:10:06 +08:00
Aleksei Apaseev e97826e877 ci: Upload report about modified files and components to s3 bucket 2023-12-08 10:49:17 +08:00
Aleksei Apaseev 0219e8e85d fix(idf_tools): Opt for the recommended tool in tools.json rather than the supported one 2023-12-08 10:14:19 +08:00
Aleksei Apaseev 999f5acf6b Merge branch 'ci/add_artifacts_upload_to_after_script' into 'master'
ci: Move upload artifacts execution to the after script

See merge request espressif/esp-idf!26919
2023-11-07 13:31:19 +08:00
Aleksei Apaseev b64da91823 ci: Move upload artifacts execution of build and target_test stages to the after script section 2023-11-06 18:24:10 +08:00
Aleksei Apaseev 3a998bd0ce ci: Upload artifacts of target stage jobs to s3 bucket 2023-10-29 12:44:11 +08:00
Aleksei Apaseev a3362727cc ci: assign the test_case_name attribute to the case item while setting up a pytest session 2023-10-23 20:45:05 +08:00
Aleksei Apaseev 6532076ad6 coredump: added the chip_rev field into the coredump header 2023-07-26 10:53:28 +08:00
Aleksei Apaseev ba51b09cb2 coredump: added the chip_rev field into the coredump header 2023-07-26 10:53:28 +08:00
Aleksei Apaseev 9f5f8fa939 ci(pytest): Add functionality to merge JUnit files of the multidut testcases into one file with the unique testcases 2023-07-25 10:11:55 +08:00
Aleksei Apaseev 6b8be56e71 Merge branch 'fix/fix_incorrectly_defined_coredump_chip_version' into 'master'
espcoredump: fix incorrectly defined coredump chip version

See merge request espressif/esp-idf!21959
2023-01-10 01:48:30 +08:00
Aleksei Apaseev 46651e7a6a espcoredump: fix incorrectly defined coredump chip version 2023-01-09 18:43:35 +08:00
Aleksei Apaseev 89d2c22544 Merge branch 'feat/added_subcommand_esp_coredump' into 'master'
tools: added idf.py coredump sub-command

Closes IDF-4959

See merge request espressif/esp-idf!20289
2022-10-28 13:03:23 +08:00
Aleksei Apaseev 22f65d961f ci: lift the restriction on pygdbmi in ttfw_idf 2022-07-29 11:24:12 +08:00
Aleksei Apaseev 97725036db ci: add support nightly jobs for pytest cases 2022-07-05 12:25:23 +08:00
Aleksei Apaseev 979b836c68 ci: rename module name due to the wrong import in other packages 2022-07-02 08:03:49 +08:00
Aleksei Apaseev 01f1aba2d0 ci: lift restriction on pygdbmi in panic test 2022-06-30 14:09:18 +08:00
Aleksei Apaseev e8cb6bd6b3 feat: Added extra gdbinit file loading for reproducible build 2022-05-13 08:41:24 +00:00
Aleksei Apaseev 528cdc1546 core_dump: split corefile and coredump script from idf into a separate package 2022-03-24 13:57:48 +08:00
Aleksei Apaseev ad0526e9a0 Merge branch 'feat/idf_monitor_made_elf_file_optional' into 'master'
idf_monitor: made the elf file optional

Closes IDF-3775

See merge request espressif/esp-idf!16539
2022-01-07 11:05:41 +00:00
Aleksei Apaseev e30329ffe2 idf_monitor: Changed the elf file to be optional when running "idf.py monitor" command
This feature allows to start IDF Monitor without (re-)building the project.
2022-01-07 17:36:08 +08:00
Aleksei Apaseev d2745e090f feat: Added tracking startup_time example startup times 2021-10-26 19:41:52 +08:00