Skip to content
Success

Changes

Summary

  1. ci(tidb): improve ddlv1 unit test diagnostics (#4585) (commit: d1d0ce4) (details)
Commit d1d0ce49cd4c6444308addf2eb9a42ad95538083 by noreply
ci(tidb): improve ddlv1 unit test diagnostics (#4585)

### What changed
- Capture `bazel_coverage_test_ddlargsv1` output into `bazel-test.log`.
- Add the same test result archive/report flow used by the regular unit
test job:
  - archive Bazel JUnit XML
  - archive `bazel-test.log`
  - run `analyze-go-test-from-bazel-output.sh`
  - send test case run report
  - archive `bazel-*.log` and `bazel-*.json`

### Why
To improve diagnostics when Bazel reports timeout/failure summaries,
because the job did not archive and parse test output like the regular
unit test job. This change aligns the diagnostics path and removes the
workspace size difference.

### Replay Test Passed
-
https://prow.tidb.net/jenkins/job/pingcap/job/tidb/job/release-8.5/job/pull_unit_test_ddlv1/270/

---------

Signed-off-by: lyb <yebin.li@pingcap.com>
(commit: d1d0ce4)
The file was modifiedpipelines/pingcap/tidb/latest/merged_unit_test_ddlv1.groovy (diff)
The file was modifiedpipelines/pingcap/tidb/release-8.5/pull_unit_test_ddlv1.groovy (diff)