Skip to content

Conversation

@2uasimojo
Copy link
Member

@2uasimojo 2uasimojo commented Aug 2, 2021

@openshift-ci openshift-ci bot requested review from joelddiaz and twiest August 2, 2021 23:39
@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 2, 2021
@2uasimojo
Copy link
Member Author

/test e2e-pool

@2uasimojo
Copy link
Member Author

/hold

Not quite done with this yet.

@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 2, 2021
@2uasimojo
Copy link
Member Author

/test e2e-pool

@2uasimojo
Copy link
Member Author

/test e2e-pool

@2uasimojo
Copy link
Member Author

/test e2e-pool

@@ -0,0 +1,181 @@
max_tries=60
Copy link
Member Author

Choose a reason for hiding this comment

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

Note to reviewers: There's quite a bit of cleanup/refactoring that could be done here, but I explicitly didn't do that so it'd be easier to review: use your favorite visual diff tool to compare this file to the original e2e-test.sh.

Copy link
Contributor

Choose a reason for hiding this comment

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

do you mind moving this move to separate commit. that would be a lot more read able.

Copy link
Member Author

Choose a reason for hiding this comment

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

I'm not sure how much more readable it would make anything. That commit would simply comprise e2e-common.sh and e2e-test.sh in the exact form they exist in this PR.

Copy link
Contributor

Choose a reason for hiding this comment

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

Possible misunderstanding here, refactoring that could be done, but isn't in this PR.

Copy link
Member Author

Choose a reason for hiding this comment

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

Correct: I kept the existing code from e2e-test.sh, warts and all, and just moved it to e2e-common.sh with as little change as possible, precisely to make this PR more scrutable. We can refactor/reorganize later.

@2uasimojo
Copy link
Member Author

/test e2e-pool

@2uasimojo
Copy link
Member Author

2uasimojo commented Aug 3, 2021

/hold cancel

Working. Ready for review.

Here's a full log of a successful run. (Note the middle bit is pretty huge because we grab full CD json ~30x. We can turn off set -x once we're happy this is stable.)

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Aug 3, 2021
fi

i=$((i + 1))
done
Copy link
Contributor

Choose a reason for hiding this comment

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

should we not need to verify that the namespace creation was successfull when we exit this loop (so we can have a clearer error message in the even that this never succeeded)?

Copy link
Member Author

@2uasimojo 2uasimojo Aug 3, 2021

Choose a reason for hiding this comment

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

Absolutely. There's a couple of things here, including the fact that the command to restore the original namespace doesn't work at all for me. I'd like to defer that to a separate PR if possible, to keep this file as cleanly cut/paste as possible.

Copy link
Contributor

@dgoodwin dgoodwin left a comment

Choose a reason for hiding this comment

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

One nit but this lgtm.

This test
- Stands up a clusterpool of size=1
- Waits for its ClusterDeployment to be Installed and Hibernating
- Creates a claim and waits for the CD to be Running
- Hibernates the CD and waits for it to be Hibernating
- Resumes the CD and waits for it to be Running
- Deletes the claim and the pool
- Waits for all CDs to disappear

HIVE-1605
@2uasimojo
Copy link
Member Author

/test e2e-pool

@dgoodwin
Copy link
Contributor

dgoodwin commented Aug 4, 2021

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Aug 4, 2021
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Aug 4, 2021

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: 2uasimojo, dgoodwin

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

@openshift-bot
Copy link

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-ci openshift-ci bot merged commit 57147b2 into openshift:master Aug 4, 2021
2uasimojo added a commit to 2uasimojo/release that referenced this pull request Aug 4, 2021
The e2e-pool test now exists and is functional
(openshift/hive#1482). Make it run mandatorily
for all PRs except those that only touch docs (same configuration as
other required jobs).

HIVE-1605
@2uasimojo 2uasimojo deleted the HIVE-1605 branch August 4, 2021 16:36
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. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants