Skip to content

[Bug]: hotfix race UT times out and loses recovered diagnostics to upload 403 #30985

Closed as not planned

Description

@ck89119

Is there an existing issue for the same bug?

  • I have checked the existing issues.

Related historical outer-timeout reports include #28538 and #28661 (both closed). Neither identifies this run's active test, and a search for the UT Failed to CreateArtifact / job is completed signature found no matching issue. This report tracks the observed timeout and missing diagnostics, not an established engine root cause.

Branch Name

4.1.6-hotfix (PR #30977, head branch issue-19631-4.1.6-hotfix)

Commit ID

a39a6c16f523d33df27b673f2fd350d5c841129d

Other Environment Information

  • OS/toolchain: Linux amd64, Go 1.26.4.
  • Runner: amd64-mo-shanghai-8c16g-dkj59-runner-zzshg.
  • Job: UT Test on Ubuntu/x86, run 39961635220.
  • Invocation: make ut UT_CONFIGURED=1 UT_PARALLEL=8 UT_TIMEOUT=40 UT_SHARD=all.
  • This maintenance branch's Makefile wraps optools/run_ut.sh in timeout 60m.

Actual Behavior

The race UT job terminates at its outer deadline and then cannot publish its recovered diagnostic report. All times below are UTC on 2026-10-23:

  1. 13:35:35: the UT report path is announced as scratch/20261023133535-UT-Report.out.
  2. 14:36:20: make: *** [Makefile:306: ut] Error 124. Normal ut-report analysis files are absent.
  3. The recovery step successfully copies the raw report to ut-report/ut-report.json.
  4. Diagnostic packaging reports original_bytes=46073094 stored_bytes=46073094 max_bytes=262144000 files=2.
  5. Upload of ut-diagnostics-39961635220-1-all fails at 14:36:22 with:
Failed to CreateArtifact: Received non-retryable error:
Failed request: (403) Forbidden: job is completed

The run's artifact API contains no UT diagnostic artifact. The failing/blocked package, active test, and goroutine stacks are therefore unavailable from the downloadable evidence. The independent UT coverage producer passed, but that is a different, non-race invocation and does not prove this job passed.

Expected Behavior

An outer UT timeout must preserve a downloadable raw report, active-test inventory, and useful stacks before runner/job credentials become unusable. Analysis/recovery should not depend on the test suite having completed normally.

Steps to Reproduce

  1. Inspect the linked job at the exact head and invocation above.
  2. Follow the UT failure, raw-report recovery, diagnostic packaging, and upload steps.
  3. Query the run artifacts and verify the announced ut-diagnostics-39961635220-1-all artifact is absent.

This is an observed CI incident, not a deterministic local reproduction of the timeout or upload failure.

Additional information

The original timeout cause remains unknown; neither a Shuffle regression nor a pre-existing engine hang is established by these logs. Do not substitute coverage success or unrelated timeout cases for the missing race evidence. Capture raw diagnostics before the outer deadline (including the reusable workflow's lifecycle), then use them to identify the actual slow/blocked test. Increasing the timeout or retrying until green alone would not resolve that evidence gap.

Activity

  1. added
    kind/bug
    on Oct 23, 2026
  2. XuPeng-SH commented on Oct 30, 2026

    @XuPeng-SH
    Contributor

    本轮合并后范围核对:#31933 已合入,但其说明明确不关闭本 issue(#30985)的独立缺陷;共享升级启动预算/生命周期修正及当前局部测试通过,不等于本问题已有对应因果修复。故保留现研发负责人,不据此转测;继续沿本 issue 已记录的失败机制完成开发跟进。未重复宣称历史反例是新 main 实测,本轮没有运行新测试。

  3. XuPeng-SH commented on Nov 6, 2026

    @XuPeng-SH
    Contributor

    Closing this historical report as not planned after the requested evidence audit, rather than claiming a causal fix.

    The retained evidence establishes two observations: the 4.1.6-hotfix race invocation was terminated by its outer 60-minute timeout, and diagnostic upload subsequently returned 403: job is completed. It does not identify the unfinished test or its blocking stack. The original run 39961635220 now exposes zero downloadable artifacts, so the missing execution evidence cannot be recovered from its artifact archive.

    Current main has a materially changed UT runner with active-case/checkpoint heartbeats, TERM handling and diagnostic snapshots; its outer limit is still bounded (UT_HARD_TIMEOUT, currently 120 minutes, with 120 seconds for forced cleanup). These changes do not explain or fix the unknown historical test, nor do they prove that the old hotfix upload failure cannot recur. No timeout increase, speculative product workaround, or unrelated CI fix is being submitted as the solution to this incident.

    Please reopen with a current occurrence and its raw report/checkpoint/stacks if the failure recurs. This disposition follows the request to retire historical CI incidents that can no longer be causally investigated; the active CI fixes and measured test-cost work remain consolidated in #32307.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

kind/bugneeds-triage

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions