Skip to content

Bug 1709958: test/e2e/upgrade: Add ingress controller test#22852

Closed
Miciah wants to merge 1 commit intoopenshift:masterfrom
Miciah:BZ1709958-test-slash-e2e-slash-upgrade-add-ingress-controller-test
Closed

Bug 1709958: test/e2e/upgrade: Add ingress controller test#22852
Miciah wants to merge 1 commit intoopenshift:masterfrom
Miciah:BZ1709958-test-slash-e2e-slash-upgrade-add-ingress-controller-test

Conversation

@Miciah
Copy link
Contributor

@Miciah Miciah commented May 17, 2019

The test fails if the route is unavailable before or after an upgrade. For now, the test only logs if the test is unavailable during an upgrade.

  • test/e2e/upgrade/ingress_controller.go: New file. Test that the default ingress controller is available before, during, and after an upgrade.
  • test/e2e/upgrade/upgrade.go (AllTests): Add IngressControllerUpgradeTest.

@openshift-ci-robot openshift-ci-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label May 17, 2019
@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: Miciah
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: tnozicka

If they are not already assigned, you can assign the PR to them by writing /assign @tnozicka in a comment when ready.

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

@Miciah
Copy link
Contributor Author

Miciah commented May 17, 2019

/retest

@Miciah Miciah force-pushed the BZ1709958-test-slash-e2e-slash-upgrade-add-ingress-controller-test branch 4 times, most recently from c7a9e3f to c061583 Compare May 20, 2019 18:48
The test fails if the route is unavailable before or after an upgrade.  For
now, the test only logs if the test is unavailable during an upgrade.

This commit is related to bug 1709958.

https://bugzilla.redhat.com/show_bug.cgi?id=1709958

* test/e2e/upgrade/ingress_controller.go: New file.  Test that the default
ingress controller is available before, during, and after an upgrade.
* test/e2e/upgrade/upgrade.go (AllTests): Add IngressControllerUpgradeTest.
@Miciah Miciah force-pushed the BZ1709958-test-slash-e2e-slash-upgrade-add-ingress-controller-test branch from c061583 to b65e63f Compare May 20, 2019 21:53
@Miciah
Copy link
Contributor Author

Miciah commented May 21, 2019

With the last test run, I see more or less the expected behavior:

step timestamp code
hitting the route
22:58:46 503
... last code repeated
22:58:51 503
22:58:52 200
continuously hitting the route
... last code repeated
23:16:36 200
23:16:38 000
... last code repeated
23:20:07 000
23:20:10 200
23:20:12 000
... last code repeated
23:20:15 000
23:20:18 200
23:20:20 000
23:20:23 200
... last code repeated
23:42:26 200
23:42:45 503
23:42:47 200
... last code repeated
23:46:22 200
23:47:25 000
23:47:28 503
... last code repeated
23:47:33 503
23:47:35 200
... last code repeated
23:50:17 200
hitting the route again

After the test is set up, it starts running, and we see steady 200 responses for about 18 minutes. Then we see the route failing from 23:16:38 to 23:20:10 (and the log output has INFO: got error for route messages, as expected). After that, it is again returning 200 responses, with a few blips.

I would like to proceed as follows:

  1. Merge this PR.
  2. Merge Add shell script for graceful shutdown router#28.
  3. Merge Bug 1709958: Use graceful shutdown for router cluster-ingress-operator#240.
  4. Rerun this test and verify that there is no longer an outage.
  5. Update this test to fail if the route becomes unavailable during upgrade (see the TODO in this PR).

@openshift-bot
Copy link
Contributor

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale

@openshift-ci-robot openshift-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Aug 19, 2019
@openshift-bot
Copy link
Contributor

Stale issues rot after 30d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle rotten
/remove-lifecycle stale

@openshift-ci-robot openshift-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Oct 13, 2019
@Miciah
Copy link
Contributor Author

Miciah commented Nov 14, 2019

/close
The E2E test added in #24057 should suffice.

@openshift-ci-robot
Copy link

@Miciah: Closed this PR.

Details

In response to this:

/close
The E2E test added in #24057 should suffice.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants