-
Notifications
You must be signed in to change notification settings - Fork 69
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
Improve e2e logs #1435
Improve e2e logs #1435
Conversation
Skipping CI for Draft Pull Request. |
f5bc77b
to
8be4418
Compare
8be4418
to
8ec9980
Compare
5ba7557
to
9f35f1e
Compare
Signed-off-by: Thibault Mange <[email protected]>
Signed-off-by: Thibault Mange <[email protected]>
Signed-off-by: Thibault Mange <[email protected]>
Signed-off-by: Thibault Mange <[email protected]>
Signed-off-by: Thibault Mange <[email protected]>
Signed-off-by: Thibault Mange <[email protected]>
7594281
to
cffd573
Compare
Signed-off-by: Thibault Mange <[email protected]>
/test test-e2e |
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.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: philipgough, thibaultmg 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 |
I am waiting to make e2e pass and check the logging results before merging. Yesterday e2e did not work... |
Signed-off-by: Thibault Mange <[email protected]>
New changes are detected. LGTM label has been removed. |
Quality Gate passedIssues Measures |
* change test ContainManagedClusterMetric Signed-off-by: Thibault Mange <[email protected]> * improve e2e test logging Signed-off-by: Thibault Mange <[email protected]> * add kube_debug file Signed-off-by: Thibault Mange <[email protected]> * remove unused functions Signed-off-by: Thibault Mange <[email protected]> * reduce log lines Signed-off-by: Thibault Mange <[email protected]> * log statefulsets and daemonsets Signed-off-by: Thibault Mange <[email protected]> * add copyright Signed-off-by: Thibault Mange <[email protected]> * fix pods list, add cm and secrets list Signed-off-by: Thibault Mange <[email protected]> --------- Signed-off-by: Thibault Mange <[email protected]>
* change test ContainManagedClusterMetric Signed-off-by: Thibault Mange <[email protected]> * improve e2e test logging Signed-off-by: Thibault Mange <[email protected]> * add kube_debug file Signed-off-by: Thibault Mange <[email protected]> * remove unused functions Signed-off-by: Thibault Mange <[email protected]> * reduce log lines Signed-off-by: Thibault Mange <[email protected]> * log statefulsets and daemonsets Signed-off-by: Thibault Mange <[email protected]> * add copyright Signed-off-by: Thibault Mange <[email protected]> * fix pods list, add cm and secrets list Signed-off-by: Thibault Mange <[email protected]> --------- Signed-off-by: Thibault Mange <[email protected]>
* change test ContainManagedClusterMetric Signed-off-by: Thibault Mange <[email protected]> * improve e2e test logging Signed-off-by: Thibault Mange <[email protected]> * add kube_debug file Signed-off-by: Thibault Mange <[email protected]> * remove unused functions Signed-off-by: Thibault Mange <[email protected]> * reduce log lines Signed-off-by: Thibault Mange <[email protected]> * log statefulsets and daemonsets Signed-off-by: Thibault Mange <[email protected]> * add copyright Signed-off-by: Thibault Mange <[email protected]> * fix pods list, add cm and secrets list Signed-off-by: Thibault Mange <[email protected]> --------- Signed-off-by: Thibault Mange <[email protected]>
* change test ContainManagedClusterMetric Signed-off-by: Thibault Mange <[email protected]> * improve e2e test logging Signed-off-by: Thibault Mange <[email protected]> * add kube_debug file Signed-off-by: Thibault Mange <[email protected]> * remove unused functions Signed-off-by: Thibault Mange <[email protected]> * reduce log lines Signed-off-by: Thibault Mange <[email protected]> * log statefulsets and daemonsets Signed-off-by: Thibault Mange <[email protected]> * add copyright Signed-off-by: Thibault Mange <[email protected]> * fix pods list, add cm and secrets list Signed-off-by: Thibault Mange <[email protected]> --------- Signed-off-by: Thibault Mange <[email protected]>
* change test ContainManagedClusterMetric Signed-off-by: Thibault Mange <[email protected]> * improve e2e test logging Signed-off-by: Thibault Mange <[email protected]> * add kube_debug file Signed-off-by: Thibault Mange <[email protected]> * remove unused functions Signed-off-by: Thibault Mange <[email protected]> * reduce log lines Signed-off-by: Thibault Mange <[email protected]> * log statefulsets and daemonsets Signed-off-by: Thibault Mange <[email protected]> * add copyright Signed-off-by: Thibault Mange <[email protected]> * fix pods list, add cm and secrets list Signed-off-by: Thibault Mange <[email protected]> --------- Signed-off-by: Thibault Mange <[email protected]>
* Tests: Improve getting snapshots from Quay - Get the version from `COMPONENT_VERSION` instead of hardcoding it in two places - Improve the regex so it explicitly sets the z version number to 1-2 digits avoiding mistakes in matches (i.e 2.10.* could match 2.2.10) - Don't differentiate between how we get snapshot between release and other branches (just always get the latest snapshot we can find for the release we want) - Since Quay returns multiple pages of tags, we might get unlikly and not get any tags for the release we actually want. Therefore we add quay side filtering as well to ensure we only get snapshots for a specific release, and also ensure we get the most number of results we can (100 is the max) Signed-off-by: Jacob Baungard Hansen <[email protected]> * Tests: Always use CI generated images Prior to this commit, we would try to determine which components have changed, and only if a component changed, we would use the CI generated image. Otherwise we would try to get the latest snapshot from Quay. However, the way we get the latest snapshot from Quay is not guranteed to give us the very latest version (it will give us probably a resonably recent one), so to make sure we always test the latest change, just use all the images built using CI. Signed-off-by: Jacob Baungard Hansen <[email protected]> * E2e tests (#1400) * fix e2e tests Signed-off-by: Coleen Iona Quadros <[email protected]> * [ACM-10511] Update hub collector with the whole obs addon spec (#1386) * Update hub collector with the whole obs addon spec Signed-off-by: Douglas Camata <[email protected]> * Fetch OA spec from MCO on collector if in the hub Signed-off-by: Douglas Camata <[email protected]> * Refactor bool far assignment Signed-off-by: Douglas Camata <[email protected]> * Remove unnecessary global variable Signed-off-by: Douglas Camata <[email protected]> --------- Signed-off-by: Douglas Camata <[email protected]> Signed-off-by: Coleen Iona Quadros <[email protected]> * [ACM-10511] Improve robustness when listing MCO CRs from the collector (#1390) * Improve robustness when listing MCO CRs from the collector Signed-off-by: Douglas Camata <[email protected]> * Fix assignment Signed-off-by: Douglas Camata <[email protected]> * Remove unused vars Signed-off-by: Douglas Camata <[email protected]> --------- Signed-off-by: Douglas Camata <[email protected]> Signed-off-by: Coleen Iona Quadros <[email protected]> * [ACM-6112] Fix invalid uwl service monitors for hypershift hosted etcd and api-server (#1352) * Fix hypershift servicemon Signed-off-by: Thibault Mange <[email protected]> * fixes Signed-off-by: Thibault Mange <[email protected]> * add copyright Signed-off-by: Thibault Mange <[email protected]> * avoid reconcile failure if hypershift smon fail Signed-off-by: Thibault Mange <[email protected]> * add cluster labels relabelling Signed-off-by: Thibault Mange <[email protected]> * add missing copyright Signed-off-by: Thibault Mange <[email protected]> * fix empty newline Signed-off-by: Thibault Mange <[email protected]> * remove top level logs Signed-off-by: Thibault Mange <[email protected]> * clean test CRDs Signed-off-by: Thibault Mange <[email protected]> * fix error message Signed-off-by: Thibault Mange <[email protected]> * clean logs in openshift pkg Signed-off-by: Thibault Mange <[email protected]> * fix merge Signed-off-by: Thibault Mange <[email protected]> --------- Signed-off-by: Thibault Mange <[email protected]> Signed-off-by: Coleen Iona Quadros <[email protected]> * fix e2e Signed-off-by: Coleen Iona Quadros <[email protected]> * typo Signed-off-by: Coleen Iona Quadros <[email protected]> * typo Signed-off-by: Coleen Iona Quadros <[email protected]> * allow prometheus to be installed in kind Signed-off-by: Coleen Iona Quadros <[email protected]> * annotate version Signed-off-by: Coleen Iona Quadros <[email protected]> * ensure controller ref is not set for hub prometheus resources in kind Signed-off-by: Coleen Iona Quadros <[email protected]> * refactor for hub Signed-off-by: Coleen Iona Quadros <[email protected]> * refactor for hub Signed-off-by: Coleen Iona Quadros <[email protected]> * refactor for hub Signed-off-by: Coleen Iona Quadros <[email protected]> * refactor Signed-off-by: Coleen Iona Quadros <[email protected]> * chnage resource limits Signed-off-by: Coleen Iona Quadros <[email protected]> * endpointmetrics: Do not add genereted resources as volumes on ocp3 clusters (#1384) Signed-off-by: Philip Gough <[email protected]> * [ACM-10511] Update hub collector with the whole obs addon spec (#1386) * Update hub collector with the whole obs addon spec Signed-off-by: Douglas Camata <[email protected]> * Fetch OA spec from MCO on collector if in the hub Signed-off-by: Douglas Camata <[email protected]> * Refactor bool far assignment Signed-off-by: Douglas Camata <[email protected]> * Remove unnecessary global variable Signed-off-by: Douglas Camata <[email protected]> --------- Signed-off-by: Douglas Camata <[email protected]> Signed-off-by: Coleen Iona Quadros <[email protected]> * [ACM-10511] Improve robustness when listing MCO CRs from the collector (#1390) * Improve robustness when listing MCO CRs from the collector Signed-off-by: Douglas Camata <[email protected]> * Fix assignment Signed-off-by: Douglas Camata <[email protected]> * Remove unused vars Signed-off-by: Douglas Camata <[email protected]> --------- Signed-off-by: Douglas Camata <[email protected]> Signed-off-by: Coleen Iona Quadros <[email protected]> * [ACM-6112] Fix invalid uwl service monitors for hypershift hosted etcd and api-server (#1352) * Fix hypershift servicemon Signed-off-by: Thibault Mange <[email protected]> * fixes Signed-off-by: Thibault Mange <[email protected]> * add copyright Signed-off-by: Thibault Mange <[email protected]> * avoid reconcile failure if hypershift smon fail Signed-off-by: Thibault Mange <[email protected]> * add cluster labels relabelling Signed-off-by: Thibault Mange <[email protected]> * add missing copyright Signed-off-by: Thibault Mange <[email protected]> * fix empty newline Signed-off-by: Thibault Mange <[email protected]> * remove top level logs Signed-off-by: Thibault Mange <[email protected]> * clean test CRDs Signed-off-by: Thibault Mange <[email protected]> * fix error message Signed-off-by: Thibault Mange <[email protected]> * clean logs in openshift pkg Signed-off-by: Thibault Mange <[email protected]> * fix merge Signed-off-by: Thibault Mange <[email protected]> --------- Signed-off-by: Thibault Mange <[email protected]> Signed-off-by: Coleen Iona Quadros <[email protected]> * typo Signed-off-by: Coleen Iona Quadros <[email protected]> * typo Signed-off-by: Coleen Iona Quadros <[email protected]> * allow prometheus to be installed in kind Signed-off-by: Coleen Iona Quadros <[email protected]> * refactor for hub Signed-off-by: Coleen Iona Quadros <[email protected]> * refactor Signed-off-by: Coleen Iona Quadros <[email protected]> * remove duplicates Signed-off-by: Coleen Iona Quadros <[email protected]> * remove duplicates Signed-off-by: Coleen Iona Quadros <[email protected]> * refactor Signed-off-by: Coleen Iona Quadros <[email protected]> * ensure hubclient scheme is correct Signed-off-by: Coleen Iona Quadros <[email protected]> * lint Signed-off-by: Coleen Iona Quadros <[email protected]> * update prometheus role Signed-off-by: Coleen Iona Quadros <[email protected]> * resource limit Signed-off-by: Coleen Iona Quadros <[email protected]> * lint Signed-off-by: Coleen Iona Quadros <[email protected]> * lint Signed-off-by: Coleen Iona Quadros <[email protected]> * lint Signed-off-by: Coleen Iona Quadros <[email protected]> * lint Signed-off-by: Coleen Iona Quadros <[email protected]> * resource Signed-off-by: Coleen Iona Quadros <[email protected]> * Add resource for init-config-reloader in prom Signed-off-by: Coleen Iona Quadros <[email protected]> * test build Signed-off-by: Coleen Iona Quadros <[email protected]> * trigger build Signed-off-by: Coleen Iona Quadros <[email protected]> * chnage namespace in rolebinding Signed-off-by: Coleen Iona Quadros <[email protected]> * correct namespace in role and rolebindings Signed-off-by: Coleen Iona Quadros <[email protected]> * revert for e2e Signed-off-by: Coleen Iona Quadros <[email protected]> * refactor Signed-off-by: Coleen Iona Quadros <[email protected]> * test SA reconcile Signed-off-by: Coleen Iona Quadros <[email protected]> * logs Signed-off-by: Coleen Iona Quadros <[email protected]> * logs Signed-off-by: Coleen Iona Quadros <[email protected]> * logs Signed-off-by: Coleen Iona Quadros <[email protected]> * logs Signed-off-by: Coleen Iona Quadros <[email protected]> * logs Signed-off-by: Coleen Iona Quadros <[email protected]> * remove file Signed-off-by: Coleen Iona Quadros <[email protected]> * comments Signed-off-by: Coleen Iona Quadros <[email protected]> * remove logs Signed-off-by: Coleen Iona Quadros <[email protected]> --------- Signed-off-by: Coleen Iona Quadros <[email protected]> Signed-off-by: Douglas Camata <[email protected]> Signed-off-by: Thibault Mange <[email protected]> Signed-off-by: Philip Gough <[email protected]> Co-authored-by: Douglas Camata <[email protected]> Co-authored-by: Thibault Mange <[email protected]> Co-authored-by: Philip Gough <[email protected]> * Tests: Don't check remote_write_requests on spokes (#1433) * Tests: Don't check remote_write_requests on spokes Previously the test "Should have acm_remote_write_requests_total metrics with correct labels/value" looked for the metric for both the hub cluster and any spokes. However, the spokes isn't supposed to expose this metric, hence the test would always fail if any managed clusters were added to the test setup. Signed-off-by: Jacob Baungard Hansen <[email protected]> * Examples: remove `cleanupInterval` This configuration option no longer exists, so removing from example files used in tests. Avoids the following warnings: ``` W0513 07:54:14.364463 11051 warnings.go:70] unknown field "spec.advanced.retentionConfig.cleanupInterval" ``` Signed-off-by: Jacob Baungard Hansen <[email protected]> --------- Signed-off-by: Jacob Baungard Hansen <[email protected]> * Improve e2e logs (#1435) * change test ContainManagedClusterMetric Signed-off-by: Thibault Mange <[email protected]> * improve e2e test logging Signed-off-by: Thibault Mange <[email protected]> * add kube_debug file Signed-off-by: Thibault Mange <[email protected]> * remove unused functions Signed-off-by: Thibault Mange <[email protected]> * reduce log lines Signed-off-by: Thibault Mange <[email protected]> * log statefulsets and daemonsets Signed-off-by: Thibault Mange <[email protected]> * add copyright Signed-off-by: Thibault Mange <[email protected]> * fix pods list, add cm and secrets list Signed-off-by: Thibault Mange <[email protected]> --------- Signed-off-by: Thibault Mange <[email protected]> --------- Signed-off-by: Jacob Baungard Hansen <[email protected]> Signed-off-by: Coleen Iona Quadros <[email protected]> Signed-off-by: Douglas Camata <[email protected]> Signed-off-by: Thibault Mange <[email protected]> Signed-off-by: Philip Gough <[email protected]> Co-authored-by: Coleen Iona Quadros <[email protected]> Co-authored-by: Douglas Camata <[email protected]> Co-authored-by: Thibault Mange <[email protected]> Co-authored-by: Philip Gough <[email protected]>
No description provided.