Skip to content

Conversation

@ibihim
Copy link

@ibihim ibihim commented Jan 14, 2026

Summary

  • Replace ambiguous backend image with fully qualified registry.k8s.io/e2e-test-images/agnhost:2.53
  • Add container args to run agnhost's HTTP server (netexec --http-port=8080)
  • Update test response expectations to match agnhost's output format

Problem

The e2e-component tests fail on OCP 4.22/RHEL 9 with:

ImageInspectError: short name mode is enforcing, but image name 
nginxdemos/nginx-hello:plain-text returns ambiguous list

RHEL 9 requires fully qualified container image names. The unqualified nginxdemos/nginx-hello is ambiguous since Podman cannot determine which registry to pull from.

Solution

Use registry.k8s.io/e2e-test-images/agnhost:2.53, which is the standard test image adopted across OpenShift repositories (openshift/origin PR #29672). It is fully qualified and mirrored in OpenShift CI infrastructure.

The test expectations are updated from "URI: /" to "NOW:" because agnhost's netexec returns timestamps rather than echoing the request path.

Test plan

  • CI e2e-component tests pass

Note

Assisted-By: Claude Code

@openshift-ci openshift-ci bot requested a review from liouk January 14, 2026 17:27
@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 14, 2026
@ibihim ibihim force-pushed the debug-e2e-component-failures branch 2 times, most recently from cecc48d to 5b0eea8 Compare January 15, 2026 13:52
@ibihim ibihim changed the title test/e2e: Add debugging output for pod startup failures test/e2e: do not use ambiguous container image short names Jan 15, 2026
@ibihim ibihim force-pushed the debug-e2e-component-failures branch 3 times, most recently from 989cda4 to e0bdfa1 Compare January 15, 2026 14:11
@ibihim
Copy link
Author

ibihim commented Jan 15, 2026

/retest

@ibihim ibihim changed the title test/e2e: do not use ambiguous container image short names OCPBUGS-73848: test/e2e: do not use ambiguous container image short names Jan 15, 2026
@openshift-ci-robot openshift-ci-robot added jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. labels Jan 15, 2026
@openshift-ci-robot
Copy link

@ibihim: This pull request references Jira Issue OCPBUGS-73848, which is valid. The bug has been moved to the POST state.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.22.0) matches configured target version for branch (4.22.0)
  • bug is in the state New, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @xingxingxia

The bug has been updated to refer to the pull request using the external bug tracker.

Details

In response to this:

Summary

  • Replace ambiguous backend image with fully qualified registry.k8s.io/e2e-test-images/agnhost:2.53
  • Add container args to run agnhost's HTTP server (netexec --http-port=8080)
  • Update test response expectations to match agnhost's output format

Problem

The e2e-component tests fail on OCP 4.22/RHEL 9 with:

ImageInspectError: short name mode is enforcing, but image name 
nginxdemos/nginx-hello:plain-text returns ambiguous list

RHEL 9 requires fully qualified container image names. The unqualified nginxdemos/nginx-hello is ambiguous since Podman cannot determine which registry to pull from.

Solution

Use registry.k8s.io/e2e-test-images/agnhost:2.53, which is the standard test image adopted across OpenShift repositories (openshift/origin PR #29672). It is fully qualified and mirrored in OpenShift CI infrastructure.

The test expectations are updated from "URI: /" to "NOW:" because agnhost's netexec returns timestamps rather than echoing the request path.

Test plan

  • CI e2e-component tests pass

Note

Assisted-By: Claude Code

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci openshift-ci bot requested a review from xingxingxia January 15, 2026 14:30
@ibihim ibihim changed the title OCPBUGS-73848: test/e2e: do not use ambiguous container image short names OCPBUGS-73848: test/e2e - do not use ambiguous container image short names Jan 15, 2026
@ibihim
Copy link
Author

ibihim commented Jan 15, 2026

/cherry-pick release-4.21
/cherry-pick release-4.20
/cherry-pick release-4.19
/cherry-pick release-4.18
/cherry-pick release-4.17
/cherry-pick release-4.16

@openshift-cherrypick-robot

@ibihim: once the present PR merges, I will cherry-pick it on top of release-4.16, release-4.17, release-4.18, release-4.19, release-4.20, release-4.21 in new PRs and assign them to you.

Details

In response to this:

/cherry-pick release-4.21
/cherry-pick release-4.20
/cherry-pick release-4.19
/cherry-pick release-4.18
/cherry-pick release-4.17
/cherry-pick release-4.16

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

Copy link

@everettraven everettraven left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only a super tiny non-blocking nit.

/lgtm

require.NoError(t, err)

backendImage := "nginxdemos/nginx-hello:plain-text"
backendImage := "registry.k8s.io/e2e-test-images/agnhost:2.53"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like the currently used version in openshift/origin is registry.k8s.io/e2e-test-images/agnhost:2.56: https://github.com/openshift/origin/blob/93a5612582f5e22a2ca64e67af649db09b6d9a9f/test/extended/util/image/image.go#L53

Should we match that?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jan 16, 2026
The e2e tests fail on OCP 4.22 because RHEL 9 enforces fully qualified
container image names ("short name mode"). The backend image
`nginxdemos/nginx-hello:plain-text` is rejected with ImageInspectError
since Podman cannot determine which registry to pull from.

Replace it with `registry.k8s.io/e2e-test-images/agnhost:2.53`, a fully
qualified image that is the standard e2e test image across OpenShift
repositories. The agnhost image requires running the `netexec` subcommand
to start its HTTP server.

Update test expectations from "URI: /" to "NOW:" to match agnhost's
response format.

Assisted-By: Claude Code
@ibihim ibihim force-pushed the debug-e2e-component-failures branch from e0bdfa1 to 3f104b5 Compare January 19, 2026 08:34
@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label Jan 19, 2026
@openshift-ci
Copy link

openshift-ci bot commented Jan 19, 2026

@ibihim: all tests passed!

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

Copy link

@everettraven everettraven left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jan 19, 2026
@openshift-ci
Copy link

openshift-ci bot commented Jan 19, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: everettraven, ibihim

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@xingxingxia
Copy link

/verified by CI job e2e-component results

@openshift-ci-robot openshift-ci-robot added the verified Signifies that the PR passed pre-merge verification criteria label Jan 20, 2026
@openshift-ci-robot
Copy link

@xingxingxia: This PR has been marked as verified by CI job e2e-component results.

Details

In response to this:

/verified by CI job e2e-component results

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@openshift-merge-bot openshift-merge-bot bot merged commit 714292f into openshift:master Jan 20, 2026
8 checks passed
@openshift-ci-robot
Copy link

@ibihim: Jira Issue Verification Checks: Jira Issue OCPBUGS-73848
✔️ This pull request was pre-merge verified.
✔️ All associated pull requests have merged.
✔️ All associated, merged pull requests were pre-merge verified.

Jira Issue OCPBUGS-73848 has been moved to the MODIFIED state and will move to the VERIFIED state when the change is available in an accepted nightly payload. 🕓

Details

In response to this:

Summary

  • Replace ambiguous backend image with fully qualified registry.k8s.io/e2e-test-images/agnhost:2.53
  • Add container args to run agnhost's HTTP server (netexec --http-port=8080)
  • Update test response expectations to match agnhost's output format

Problem

The e2e-component tests fail on OCP 4.22/RHEL 9 with:

ImageInspectError: short name mode is enforcing, but image name 
nginxdemos/nginx-hello:plain-text returns ambiguous list

RHEL 9 requires fully qualified container image names. The unqualified nginxdemos/nginx-hello is ambiguous since Podman cannot determine which registry to pull from.

Solution

Use registry.k8s.io/e2e-test-images/agnhost:2.53, which is the standard test image adopted across OpenShift repositories (openshift/origin PR #29672). It is fully qualified and mirrored in OpenShift CI infrastructure.

The test expectations are updated from "URI: /" to "NOW:" because agnhost's netexec returns timestamps rather than echoing the request path.

Test plan

  • CI e2e-component tests pass

Note

Assisted-By: Claude Code

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@openshift-cherrypick-robot

@ibihim: new pull request created: #344

Details

In response to this:

/cherry-pick release-4.21
/cherry-pick release-4.20
/cherry-pick release-4.19
/cherry-pick release-4.18
/cherry-pick release-4.17
/cherry-pick release-4.16

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@openshift-cherrypick-robot

@ibihim: new pull request created: #345

Details

In response to this:

/cherry-pick release-4.21
/cherry-pick release-4.20
/cherry-pick release-4.19
/cherry-pick release-4.18
/cherry-pick release-4.17
/cherry-pick release-4.16

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@openshift-cherrypick-robot

@ibihim: new pull request created: #346

Details

In response to this:

/cherry-pick release-4.21
/cherry-pick release-4.20
/cherry-pick release-4.19
/cherry-pick release-4.18
/cherry-pick release-4.17
/cherry-pick release-4.16

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@openshift-cherrypick-robot

@ibihim: new pull request created: #347

Details

In response to this:

/cherry-pick release-4.21
/cherry-pick release-4.20
/cherry-pick release-4.19
/cherry-pick release-4.18
/cherry-pick release-4.17
/cherry-pick release-4.16

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@openshift-cherrypick-robot

@ibihim: new pull request created: #348

Details

In response to this:

/cherry-pick release-4.21
/cherry-pick release-4.20
/cherry-pick release-4.19
/cherry-pick release-4.18
/cherry-pick release-4.17
/cherry-pick release-4.16

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@openshift-cherrypick-robot

@ibihim: #343 failed to apply on top of branch "release-4.16":

Applying: test/e2e: do not use ambiguous container image short names
Using index info to reconstruct a base tree...
M	test/e2e/proxy_test.go
M	test/e2e/util.go
Falling back to patching base and 3-way merge...
Auto-merging test/e2e/util.go
Auto-merging test/e2e/proxy_test.go
CONFLICT (content): Merge conflict in test/e2e/proxy_test.go
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
hint: When you have resolved this problem, run "git am --continue".
hint: If you prefer to skip this patch, run "git am --skip" instead.
hint: To restore the original branch and stop patching, run "git am --abort".
hint: Disable this message with "git config set advice.mergeConflict false"
Patch failed at 0001 test/e2e: do not use ambiguous container image short names

Details

In response to this:

/cherry-pick release-4.21
/cherry-pick release-4.20
/cherry-pick release-4.19
/cherry-pick release-4.18
/cherry-pick release-4.17
/cherry-pick release-4.16

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@ibihim ibihim deleted the debug-e2e-component-failures branch January 20, 2026 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged. verified Signifies that the PR passed pre-merge verification criteria

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants