Skip to content

tests: Fixes wrong Pod Container Image usage in test/e2e/apps#71256

Merged
k8s-ci-robot merged 1 commit intokubernetes:masterfrom
claudiubelu:fixes-hardcoded-image-names
Nov 29, 2018
Merged

tests: Fixes wrong Pod Container Image usage in test/e2e/apps#71256
k8s-ci-robot merged 1 commit intokubernetes:masterfrom
claudiubelu:fixes-hardcoded-image-names

Conversation

@claudiubelu
Copy link
Copy Markdown
Contributor

What type of PR is this?

Uncomment only one, leave it on its own line:

/kind bug
/kind failing-test

What this PR does / why we need it:

Some tests are not using the configured registry image names, causing
some tests to fail on Windows, since those images are Linux only.

This test fixes the following tests when using Windows nodes:

[sig-apps] ReplicaSet should adopt matching pods on creation and release no longer matching pods [Conformance]
[sig-apps] ReplicationController should adopt matching pods on creation [Conformance]

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Related issue: #60487

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

NONE

Some tests are not using the configured registry image names, causing
some tests to fail on Windows, since those images are Linux only.
@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Nov 20, 2018
@hoegaarden
Copy link
Copy Markdown
Contributor

/ok-to-test

@k8s-ci-robot k8s-ci-robot added the ok-to-test Indicates a non-member PR verified by an org member that is safe to test. label Nov 20, 2018
imageutils "k8s.io/kubernetes/test/utils/image"
)

// NOTE(claudiub): These constants should NOT be used as Pod Container Images.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

wow, these constants are poorly named, though I'm not sure what a better name would be.

@ixdy
Copy link
Copy Markdown
Contributor

ixdy commented Nov 26, 2018

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Nov 26, 2018
@k8s-ci-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: bclau, ixdy

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

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 26, 2018
@k8s-ci-robot k8s-ci-robot merged commit bf7efc6 into kubernetes:master Nov 29, 2018
adelina-t added a commit to e2e-win/e2e-win-prow-deployment that referenced this pull request Dec 5, 2018
kubernetes/kubernetes#71256 merged thus there is no need to exclude the following tests:

[sig-apps] ReplicaSet should adopt matching pods on creation and release no longer matching pods [Conformance]
[sig-apps] ReplicationController should adopt matching pods on creation [Conformance]

kubernetes/kubernetes#71036 merged thus there is no need to exclude the following tests:

[sig-storage] Secrets  should be consumable from pods in volume [NodeConformance] [Conformance]
[sig-storage] Secrets  should be consumable from pods in volume with mappings [NodeConformance] [Conformance]
[sig-storage] Secrets  should be consumable in multiple volumes in a pod [NodeConformance] [Conformance]
[sig-storage] Projected secret  should be consumable from pods in volume [NodeConformance] [Conformance]
[sig-storage] Projected secret  should be consumable from pods in volume with mappings [NodeConformance] [Conformance]
[sig-storage] Projected secret  should be consumable in multiple volumes in a pod [NodeConformance] [Conformance]
[sig-storage] Projected configMap  should be consumable from pods in volume [NodeConformance] [Conformance]
[sig-storage] Projected configMap  should be consumable from pods in volume with mappings [NodeConformance] [Conformance]
[sig-storage] ConfigMap  should be consumable from pods in volume [NodeConformance] [Conformance]
[sig-storage] ConfigMap  should be consumable from pods in volume with mappings [NodeConformance] [Conformance]
[sig-storage] Secrets  should be able to mount in a volume regardless of a different secret existing with same name in different namespace [NodeConformance] [Conformance]
[sig-storage] Projected secret  should be able to mount in a volume regardless of a different secret existing with same name in different namespace [NodeConformance]
@claudiubelu claudiubelu deleted the fixes-hardcoded-image-names branch April 19, 2019 13:38
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. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants