Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug 1992596: e2e/cli: Move annotations.sh to proper e2e #26410

Closed
wants to merge 2 commits into from

Conversation

rosspeoples
Copy link

This moves the testing from a bash script to a Ginkgo test files.

@openshift-ci openshift-ci bot added bugzilla/severity-medium Referenced Bugzilla bug's severity is medium for the branch this PR is targeting. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. labels Aug 19, 2021
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Aug 19, 2021

@deejross: This pull request references Bugzilla bug 1992596, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker.

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

Requesting review from QA contact:
/cc @zhouying7780

In response to this:

Bug 1992596: e2e/cli: Move annotations.sh to proper e2e

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/test-infra repository.

@openshift-ci openshift-ci bot requested a review from zhouying7780 August 19, 2021 00:20
@rosspeoples
Copy link
Author

/assign @soltysh

Copy link
Contributor

@soltysh soltysh left a comment

Choose a reason for hiding this comment

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

/approve
/assign @atiratree

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Aug 19, 2021

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: deejross, soltysh

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

The pull request process is described here

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

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 19, 2021
os::test::junit::declare_suite_end

os::test::junit::declare_suite_start "cmd/label"
# This test validates empty values in key-value pairs set by the label command
Copy link
Member

Choose a reason for hiding this comment

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

can we also include the tests for empty values?

Copy link
Author

Choose a reason for hiding this comment

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

Latest commit includes removing annotations and labels and validating they are empty

Copy link
Member

@atiratree atiratree Aug 20, 2021

Choose a reason for hiding this comment

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

I was asking specifically for the test we have here (key exists with empty value)

@rosspeoples
Copy link
Author

/retest-required

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Aug 19, 2021

@deejross: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Rerun command
ci/prow/e2e-agnostic-cmd 306e91f link /test e2e-agnostic-cmd
ci/prow/e2e-gcp 306e91f link /test e2e-gcp
ci/prow/e2e-gcp-upgrade 306e91f link /test e2e-gcp-upgrade

Full PR test history. Your PR dashboard.

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/test-infra repository. I understand the commands that are listed here.

o.Expect(err).NotTo(o.HaveOccurred())
o.Expect(out).To(o.Equal("hello"))

g.By("removing the annotation")
Copy link
Member

Choose a reason for hiding this comment

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

+1, having additional test doesn't hurt anything

@yselkowitz
Copy link
Contributor

The test as currently written points to the "openshift/hello-openshift" image, which is not multi-arch enabled. This will cause these tests to fail in both disconnect installs, and on any install on non-x86 architectures. Please rework this test according to the procedures for e2e test images.
/hold

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Aug 20, 2021
@rosspeoples
Copy link
Author

@yselkowitz I ran into something similar with the next PR where the old bash scripts were using images that weren't allowed. That PR #26415 includes several fixes for these types of issues, and I'm considering closing this one and moving it over there to take advantage of the newer resource builder which uses approved e2e images.

@rosspeoples
Copy link
Author

This has been moved into #26415 to better handle multi-arch and disconnected installs.

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Aug 21, 2021

@deejross: This pull request references Bugzilla bug 1992596. The bug has been updated to no longer refer to the pull request using the external bug tracker.

In response to this:

Bug 1992596: e2e/cli: Move annotations.sh to proper e2e

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/test-infra repository.

@rosspeoples rosspeoples deleted the e2e-annotations.sh branch August 23, 2021 18:21
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. bugzilla/severity-medium Referenced Bugzilla bug's severity is medium for the branch this PR is targeting. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants