You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
e2e.Logf("Checking via pod exec status code from the scrape url %s for pod %s/%s without authorization (skip=%t)", target.ScrapeUrl, ns, pod, namespacesToSkip.Has(ns))
e2e.Logf("The scrape url %s for pod %s/%s without authorization returned %d, %v (skip=%t)", target.ScrapeUrl, ns, pod, statusCode, execError, namespacesToSkip.Has(ns))
125
+
e2e.Logf("Scraping target %s of pod %s/%s/%s without auth returned %d, err: %v (skip=%t)", target.ScrapeUrl, ns, job, pod, statusCode, execError, namespacesToSkip.Has(ns))
126
126
ifexpected.Has(statusCode) {
127
127
returntrue, nil
128
128
}
@@ -135,8 +135,10 @@ var _ = g.Describe("[sig-instrumentation][Late] Platform Prometheus targets", fu
135
135
}
136
136
returnfalse, fmt.Errorf("expecting status code %v but returned %d", expected.UnsortedList(), statusCode)
137
137
})
138
-
iferr!=nil&&!namespacesToSkip.Has(ns) {
139
-
errs=append(errs, fmt.Errorf("the scrape url %s for pod %s/%s is accessible without authorization: %w", target.ScrapeUrl, ns, pod, err))
138
+
// Decided to ignore targets that Prometheus itself failed to scrape; may be leftovers from earlier tests.
0 commit comments