DevOps QA / Editorial solution guide

Diagnose a missing test report that passes a gate

Trace test selection, report publication and gate evaluation for the exact candidate artifact.

About 3 min readContent reviewed

Read-only knowledge base · No public comments

Recognize the symptoms

A candidate appears to pass a quality gate, but the expected report is absent or shows no executed cases. The pipeline may display a successful overall status even after a test job was skipped. Preserve the job graph and candidate identity before rerunning.

Understand the likely causes

  • The test selection may match no cases, a job may exit before writing its report, the upload path may be wrong, or the gate may treat missing evidence as success. A report from a different run can also be mistaken for the candidate’s result. Investigate each boundary before changing policy.

1. Establish the candidate and expected evidence

Record the candidate artifact identity, source revision, pipeline run, selected suite, expected report path and relevant job statuses. Compare them with a previous valid run of the same pipeline design. Preserve sanitized logs and do not copy credentials or complete environment dumps into the issue. Establish whether the test job actually started, how many cases it selected and whether it completed. An overall green status is not evidence that the expected cases ran against this artifact.

2. Follow the report through each boundary

In an isolated pipeline, check the test selection, local report creation, publication step and gate input separately. A report can exist in the job workspace but fail to upload, or upload under a name the gate does not read. Confirm that the report identifies the current run and candidate rather than a stale artifact. Inspect skipped and failed jobs as well as successful ones. If the suite selected zero cases, distinguish an intentional empty selection from a broken filter before changing the gate.

3. Correct the specific failure

Reproduce the identified problem with synthetic tests in a disposable pipeline. Fix the selection or report path at its source, and configure the gate to produce an explicit non-success outcome when required evidence is absent or invalid under the agreed policy. Avoid merely adding a report-shaped placeholder: it would conceal an unexecuted suite. Review the change with the gate owner and retain the prior configuration for controlled recovery. Do not weaken unrelated checks to make the pipeline green.

4. Exercise positive and negative paths

Run a bounded case with a known passing synthetic test and verify that the published report and gate refer to its candidate artifact. Then deliberately omit the report and run a failing synthetic test in separate disposable cases; the gate should produce the agreed non-success result in each. Also test an intentionally empty selection if policy permits it. Record the run identifiers, selected counts and remaining limitations. These cases establish behavior for the exercised pipeline paths, not every possible runner failure.

Verify the fix

The valid report matches the candidate and selected case count; missing, invalid or failing evidence produces the documented gate decision. Keep the original failing run and repaired comparison.

Keep it from recurring

  • Give required reports stable names, record selected and executed counts, and test gate behavior for skipped jobs and absent artifacts. Review the evidence mapping whenever the pipeline graph changes.

Official references