Repository navigation
test(browser): port browser tracing suites to span streaming #3780
Triggered via pull request
October 7, 2026 13:12
Status
Cancelled
Total duration
13m 56s
Artifacts
–
flaky-test-detector.yml
on: pull_request
Check tests for flakiness
12m 46s
Annotations
4 errors
|
Check tests for flakiness
Canceling since a higher priority waiting request for CI: Detect flaky tests-ms/browser-tests-browser-tracing exists
|
|
Check tests for flakiness
The operation was canceled.
|
|
[chromium] › suites/tracing/browserTracingIntegration/navigation-redirect/multiple-redirects/test.ts:14:11 › creates a pageload and navigation root spans each with multiple navigation.redirect childspans:
dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/navigation-redirect/multiple-redirects/test.ts#L54
1) [chromium] › suites/tracing/browserTracingIntegration/navigation-redirect/multiple-redirects/test.ts:14:11 › creates a pageload and navigation root spans each with multiple navigation.redirect childspans
Error: expect(received).toHaveLength(expected)
Expected length: 3
Received length: 2
Received array: [{"attributes": {"sentry.environment": {"type": "string", "value": "production"}, "sentry.is_localhost": {"type": "boolean", "value": false}, "sentry.op": {"type": "string", "value": "navigation.redirect"}, "sentry.origin": {"type": "string", "value": "auto.navigation.browser"}, "sentry.sdk.name": {"type": "string", "value": "sentry.javascript.browser"}, "sentry.sdk.version": {"type": "string", "value": "11.5.0"}, "sentry.segment.id": {"type": "string", "value": "a44030d373a258d4"}, "sentry.segment.name": {"type": "string", "value": "Pageload"}, "sentry.trace_lifecycle": {"type": "string", "value": "stream"}, "url.full": {"type": "string", "value": "http://sentry-test.io/sub-page-redirect-1"}, "url.path": {"type": "string", "value": "/sub-page-redirect-1"}, "user_agent.original": {"type": "string", "value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/153.0.8010.12 Safari/537.36"}}, "end_timestamp": 1791379552.791, "is_segment": false, "name": "Navigation", "parent_span_id": "a44030d373a258d4", "span_id": "947d0b51c8eba565", "start_timestamp": 1791379552.791, "status": "ok", "trace_id": "4bfe73c2ff0a43f49daec1989591e481"}, {"attributes": {"sentry.environment": {"type": "string", "value": "production"}, "sentry.is_localhost": {"type": "boolean", "value": false}, "sentry.op": {"type": "string", "value": "navigation.redirect"}, "sentry.origin": {"type": "string", "value": "auto.navigation.browser"}, "sentry.sdk.name": {"type": "string", "value": "sentry.javascript.browser"}, "sentry.sdk.version": {"type": "string", "value": "11.5.0"}, "sentry.segment.id": {"type": "string", "value": "a44030d373a258d4"}, "sentry.segment.name": {"type": "string", "value": "Pageload"}, "sentry.trace_lifecycle": {"type": "string", "value": "stream"}, "url.full": {"type": "string", "value": "http://sentry-test.io/sub-page-redirect-2"}, "url.path": {"type": "string", "value": "/sub-page-redirect-2"}, "user_agent.original": {"type": "string", "value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/153.0.8010.12 Safari/537.36"}}, "end_timestamp": 1791379553.193, "is_segment": false, "name": "Navigation", "parent_span_id": "a44030d373a258d4", "span_id": "8d22acfae0f4d808", "start_timestamp": 1791379553.193, "status": "ok", "trace_id": "4bfe73c2ff0a43f49daec1989591e481"}]
52 |
53 | const redirectSpans = spans.filter(span => getSpanOp(span) === 'navigation.redirect');
> 54 | expect(redirectSpans).toHaveLength(3);
| ^
55 |
56 | redirectSpans.forEach(redirectSpan => {
57 | expect(redirectSpan?.end_timestamp).toEqual(redirectSpan?.start_timestamp);
at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/navigation-redirect/multiple-redirects/test.ts:54:27
|
|
CI: Detect flaky tests
Canceling since a higher priority waiting request for CI: Detect flaky tests-ms/browser-tests-browser-tracing exists
|