-
Notifications
You must be signed in to change notification settings - Fork 223
USHIFT-1445: fix: prune test #2123
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
USHIFT-1445: fix: prune test #2123
Conversation
This is to avoid errors in timing between file creation and when the system comes up, since the prune logic skips touching the directory if backup exists, this tests could fail sometimes if ran out of order. Moving to one test to avoid issue. Signed-off-by: ehila <ehila@redhat.com>
|
@eggfoobar: This pull request references USHIFT-1445 which is a valid jira issue. DetailsIn response to this:
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. |
Signed-off-by: ehila <ehila@redhat.com>
reverted to having two tests changed file name creation for unknown files to remove underscore Signed-off-by: ehila <ehila@redhat.com>
|
@dhellmann and @pmtk I updated the test but I also ran across why things were failing, the issue was that we prune |
Is there any reason for us to tolerate anything in that directory that we don't create? |
|
/lgtm Let's get CI working and come back to the question about how much we should retain or how aggressively we should delete things. |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dhellmann, eggfoobar The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Currently, we place a failed log there that we push up to greenboot, which does have the name |
We put that in the backup directory? Could it live in /usr/lib/microshift instead? |
Seems like I've skipped few thought steps lgtming previous PR 😆
Does |
Nah, by default on startup that file gets deleted and only get's written when a failure happens, so pruning never gets a chance to touch it. On failures, greenboot will read that file during healthchecks |
|
@eggfoobar: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions 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. |
This is to avoid errors in timing between file creation and when the system comes up, since the prune logic skips touching the directory if backup exists, this tests could fail sometimes if ran out of order.
Moving to one test to avoid issue.
/assign @pmtk