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
Bug 1756461: pkg/cvo/status: Don't clobber last.CompletionTime when adding new entries #247
Bug 1756461: pkg/cvo/status: Don't clobber last.CompletionTime when adding new entries #247
Conversation
…ries Fix a bug where history[n-1].completionTime == history[n].startedTime [1]. Clayton pointed out this fix [2]. [1]: https://bugzilla.redhat.com/show_bug.cgi?id=1756461 [2]: https://bugzilla.redhat.com/show_bug.cgi?id=1756461#c3
@wking: This pull request references Bugzilla bug 1756461, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker. In 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. |
/cherrypick release-4.2 |
@wking: once the present PR merges, I will cherry-pick it on top of release-4.2 in a new PR and assign it to you. In 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. |
Dunno what that's about. /test integration |
Same error again. One more try before I dig deeper: /retest |
/retest |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: abhinavdahiya, wking The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@wking: All pull requests linked via external trackers have merged. Bugzilla bug 1756461 has been moved to the MODIFIED state. In 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. |
@wking: new pull request created: #250 In 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. |
/cherrypick release-4.1 |
@wking: new pull request created: #251 In 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. |
Still seeing the bug in the final e2e run here:
But the changes from this PR landed in 4.3.0-0.ci-2019-10-08-212413, so I'll check again once that or a later CI build gets promoted and used as an upgrade base. |
I would have expected a unit test to show the problem and demonstrate it's fixed. |
$ curl -s https://storage.googleapis.com/origin-ci-test/logs/release-openshift-origin-installer-e2e-aws-upgrade/8135/artifacts/e2e-aws-upgrade/must-gather/registry-svc-ci-openshift-org-ocp-4-3-2019-10-09-004754-sha256-14991b2279a6beb45691151036bdca03b3423319ebad519a4679cde53095835d/cluster-scoped-resources/config.openshift.io/clusterversions/version.yaml | yaml2json | jq -r '.status.history[] | .startedTime + " " + .completionTime + " " + .state'
2019-10-09T01:30:51Z 2019-10-09T01:59:25Z Completed
2019-10-09T01:08:43Z 2019-10-09T01:26:36Z Completed So that looks good :).
Yeah, that would be good too :). |
Fix a bug where
history[n-1].completionTime == history[n].startedTime
. @smarterclayton pointed out this fix.