Skip to content

test/e2e: add e2e to test files proper deletion - #1590

Closed
runcom wants to merge 1 commit into
openshift:masterfrom
runcom:orig-bug-e2e
Closed

runcom wants to merge 1 commit into
openshift:masterfrom
runcom:orig-bug-e2e

Conversation

@runcom

@runcom runcom commented Mar 26, 2020

Copy link
Copy Markdown
Member

This e2e verifies what's being fixed in #1586 and it'll fail w/o that patch (which is why I'm carrying it here right now)

Signed-off-by: Antonio Murdaca [email protected]

@runcom

runcom commented Mar 26, 2020

Copy link
Copy Markdown
Member Author

Before carrying #1590 to turn this to green, I want to watch it fail and validate my theories.

@runcom

runcom commented Mar 26, 2020

Copy link
Copy Markdown
Member Author

confirmed manually that this test covers the scenario in the linked PR and exposes the bug

Comment thread test/e2e/mcd_test.go Resolved
Comment thread test/e2e/mcd_test.go Resolved
Comment thread test/e2e/mcd_test.go Resolved
@runcom

runcom commented Mar 26, 2020

Copy link
Copy Markdown
Member Author

/retest

@jlebon jlebon left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

One comment but LGTM otherwise!

Comment thread test/e2e/mcd_test.go Resolved
@openshift-ci-robot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jlebon, runcom

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

@runcom runcom added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Mar 26, 2020
@runcom

runcom commented Mar 26, 2020 •

Copy link
Copy Markdown
Member Author

remember the op test will fail here till we merge a solution (and carry this ofc)

/test e2e-gcp-upgrade
/test e2e-aws-scaleup-rhel7

@runcom

runcom commented Mar 27, 2020

Copy link
Copy Markdown
Member Author

/retest

@runcom

runcom commented Apr 2, 2020

Copy link
Copy Markdown
Member Author

/retest

@runcom

runcom commented Apr 2, 2020

Copy link
Copy Markdown
Member Author

/refresh
/retest

@runcom

runcom commented Apr 2, 2020

Copy link
Copy Markdown
Member Author

/retest

2 similar comments
@sinnykumari

Copy link
Copy Markdown
Contributor

/retest

@runcom

runcom commented Apr 2, 2020

Copy link
Copy Markdown
Member Author

/retest

@yuqi-zhang

Copy link
Copy Markdown
Contributor

I think you will likely have to bump timeouts for this to pass

@runcom

runcom commented Apr 2, 2020

Copy link
Copy Markdown
Member Author

I think you will likely have to bump timeouts for this to pass

damn, you're right

@yuqi-zhang yuqi-zhang left a comment

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.

The test itself works fine, I have tested manually to pass with 1593 when working on that. The only thing is this takes ~25 minutes to run since we are applying effectively 4 reboots. I'm a bit ambivalent on adding 25% test time to the whole run.

Comment thread test/e2e/mcd_test.go
require.Nil(t, err)
}
workerOldMcFirst := getMcName(t, cs, "worker")
mcHostFileFirst := createMCToAddFile("modify-host-file-first", "/etc/something", "mco-test", "root")

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.

I wonder if we could hack it a bit to apply both files in the same MC. When we iterate through the new files it will see both instances as separate. Then we can delete both files in one transaction as well, so we go from 4 reboots to 2.

That said this hack will likely not play nicely with ign spec3.

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.

As in, we will see the same functionality being tested whether we update the file through 2 MCs or 1 MC

@runcom

runcom commented Apr 2, 2020

Copy link
Copy Markdown
Member Author

/hold

no way we can keep adding e2e like this indeed, I'll write a unit that fails for this and work from there - unit should still cover the bug - and we may think to move other simple e2e to unit when possible (given that e2e are still a top priority in these scenarios)

@openshift-ci-robot openshift-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Apr 10, 2020
@openshift-ci-robot

Copy link
Copy Markdown
Contributor

@runcom: PR needs rebase.

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

@openshift-ci-robot

Copy link
Copy Markdown
Contributor

@runcom: The following tests failed, say /retest to rerun all failed tests:

Test name Commit Details Rerun command
ci/prow/e2e-aws 6b3be58 link /test e2e-aws
ci/prow/e2e-aws-scaleup-rhel7 6b3be58 link /test e2e-aws-scaleup-rhel7
ci/prow/e2e-gcp-upgrade 6b3be58 link /test e2e-gcp-upgrade
ci/prow/e2e-gcp-op 6b3be58 link /test e2e-gcp-op
ci/prow/e2e-ovn-step-registry 6b3be58 link /test e2e-ovn-step-registry
ci/prow/e2e-aws-proxy 6b3be58 link /test e2e-aws-proxy
ci/prow/e2e-upgrade 6b3be58 link /test e2e-upgrade

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

@openshift-merge-robot

Copy link
Copy Markdown
Contributor

@runcom: The following tests failed, say /retest to rerun all failed tests:

Test name Commit Details Rerun command
ci/prow/e2e-agnostic-upgrade 6b3be58 link /test e2e-agnostic-upgrade
ci/prow/e2e-aws-serial 6b3be58 link /test e2e-aws-serial

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

@openshift-bot

Copy link
Copy Markdown
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 Feb 16, 2021
@openshift-bot

Copy link
Copy Markdown
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 Mar 19, 2021
@openshift-bot

Copy link
Copy Markdown
Contributor

Rotten issues close after 30d of inactivity.

Reopen the issue by commenting /reopen.
Mark the issue as fresh by commenting /remove-lifecycle rotten.
Exclude this issue from closing again by commenting /lifecycle frozen.

/close

@openshift-ci-robot

Copy link
Copy Markdown
Contributor

@openshift-bot: Closed this PR.

Details

In response to this:

Rotten issues close after 30d of inactivity.

Reopen the issue by commenting /reopen.
Mark the issue as fresh by commenting /remove-lifecycle rotten.
Exclude this issue from closing again by commenting /lifecycle frozen.

/close

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

approved Indicates a PR has been approved by an approver from all required OWNERS files. do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. team-mco

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants