openshift / openshift/oadp-operator

failure analysis: mistaken resource apply diff for as root cause of e2e failure.

Open
#2,056 3 comments 0 reactions 1 assignee View on GitHub

@kaovilai is already working on this.

Since Apr 15, 2026.

lifecycle/frozen
Dominant language
Go
Stars
92
Forks
93
Avg merge
1d 23h
Merged PRs (30d)
43

Description

A case might fail on like

  [FAILED] Unexpected error:
      <*errors.StatusError | 0xc00101e640>: 
      container "todolist" in pod "todolist-755b6749cf-vnt2h" is waiting to start: PodInitializing
      {
          ErrStatus: {
              TypeMeta: {Kind: "", APIVersion: ""},
              ListMeta: {
                  SelfLink: "",
                  ResourceVersion: "",
                  Continue: "",
                  RemainingItemCount: nil,
              },
              Status: "Failure",
              Message: "container \"todolist\" in pod \"todolist-755b6749cf-vnt2h\" is waiting to start: PodInitializing",
              Reason: "BadRequest",
              Details: nil,
              Code: 400,
          },
      }
  occurred
  In [AfterEach] at: /go/src/github.com/openshift/oadp-operator/tests/e2e/backup_restore_suite_test.go:387 @ 01/13/26 17:32:29.682
  < Exit [AfterEach] Backup and restore tests - /go/src/github.com/openshift/oadp-operator/tests/e2e/backup_restore_suite_test.go:422 @ 01/13/26 17:32:29.682 (1.391s)

but analysis got hung up on diff

## Failed Tests Analysis

### 1. Mongo application DATAMOVER [CRITICAL]

**Root Cause**: SecurityContextConstraints (SCC) resource comparison failure after restore - the `allowedVolumes` field was restored with wildcard `["*"]` instead of the original detailed list of volume types.

**Evidence**:
```
junit_report.xml: "[FAILED] No known FLAKE found in a previous run, marking test as failed. In [It] at: /go/src/github.com/openshift/oadp-operator/tests/e2e/backup_restore_suite_test.go:456"

Test system-err shows comparison failure:
  []any{
- 	string("awsElasticBlockStore"),
+ 	string("*"),
- 	string("azureDisk"),
- 	string("azureFile"),
- 	string("cephFS"),
- 	string("cinder"),
- 	string("configMap"),
- 	string("csi"),
- 	string("downwardAPI"),
  ... [full list of ~30 volume types replaced with "*"]
  }

must-gather: Restore mongo-datamover-e2e-e0e6ccb2-f0a3-11f0-a143-0a580a828d79 shows "Phase: Completed" but SCC comparison in test failed
```

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.