-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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 1898118: Logging more during ephemeral registry deployment #25690
Bug 1898118: Logging more during ephemeral registry deployment #25690
Conversation
@ricardomaraschini: This pull request references Bugzilla bug 1898118, which is invalid:
Comment 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. |
/bugzilla refresh |
@ricardomaraschini: This pull request references Bugzilla bug 1898118, 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. 3 validation(s) were run on this bug
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. |
This patch increases the number of logged information during the following tests: ImageStream API TestImportRepositoryFromBlockedRegistry ImageStream API TestImportImageFromBlockedRegistry ImageStream API TestImportImageFromInsecureRegistry ImageStream API TestImportRepositoryFromInsecureRegistry Tests now log the deployment status. Time between polls was also increased, no need to rush when checking for the deployment status. Timeout for endpoints to become available were also increased, from one to five minutes, logging was also increased during endpoints check.
/assign @dmage |
/lgtm |
/retest |
Instead of creating a new project to deploy the registry this patch makes us to use the namespace created by the test framework. This patch also includes a complete dump of all objects in the namespace if the registry deployment fails.
}); err != nil { | ||
return err | ||
e2e.DumpAllNamespaceInfo(oc.AdminKubeClient(), oc.Namespace()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You don't need to call this function for oc.Namespace()
. This repository uses Ginkgo that makes tests more declarative. The namespace is created in BeforeEach
and is deleted in AfterEach
, all necessary debug information for the namespace is generated by AfterEach
. I guess these tests also should use BeforeEach
and AfterEach
and shouldn't use g.GinkgoTInterface
and the latter is a helper for legacy code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PTAL
/retest |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dmage, ricardomaraschini 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 |
/retest |
/retest Please review the full test history for this PR and help us cut down flakes. |
4 similar comments
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
@ricardomaraschini: All pull requests linked via external trackers have merged: Bugzilla bug 1898118 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. |
This patch increases the number of logged information during the
following tests:
ImageStream API TestImportRepositoryFromBlockedRegistry
ImageStream API TestImportImageFromBlockedRegistry
ImageStream API TestImportImageFromInsecureRegistry
ImageStream API TestImportRepositoryFromInsecureRegistry
Tests now log the deployment status. Time between polls was also
increased, no need to rush when checking for the deployment status.
Timeout for endpoints to become available were also increased, from one
to five minutes, logging was also increased during endpoints check.