USHIFT-1371: Test agent for testing ostree upgrade failures#1971
Conversation
|
@pmtk: This pull request references USHIFT-1371 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. |
There was a problem hiding this comment.
Is this because it is a service? Is there not a way to specify that something runs once and exits?
There was a problem hiding this comment.
I don't want it to exit.
For example, I want to simulate that making a backup on first boot of new deployment fails, but I want it to succeed on second boot (greenboot's reboot) - for this reason, I want this service to last up until the shutdown and revert chattr - otherwise it'll be present in rolled back deployment as well
There was a problem hiding this comment.
OK, I see what you're going for. I'm a little worried about relying on a clean exit handler, but let's see how it works in practice. If we find issues we can look at options like persisting the instructions for each boot separately.
|
/hold |
|
/unhold |
|
/hold |
|
/unhold |
dhellmann
left a comment
There was a problem hiding this comment.
/lgtm
Nice. We can add a build for this RPM to the scenario steps when that code lands.
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dhellmann, pmtk 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 |
|
@pmtk: 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. |
No description provided.