Skip to content

test(node): Collapse mysql span streaming tests into same suite #49871

test(node): Collapse mysql span streaming tests into same suite

test(node): Collapse mysql span streaming tests into same suite #49871

Triggered via pull request July 1, 2026 13:28
Status Failure
Total duration 19m 55s
Artifacts 3

build.yml

on: pull_request
Get CI Metadata  /  Get Metadata
6s
Get CI Metadata / Get Metadata
Check lockfile
Check lockfile
Check file formatting
40s
Check file formatting
Check PR branches
3s
Check PR branches
Build Lambda layer
0s
Build Lambda layer
Matrix: job_node_core_integration_tests
Matrix: job_node_integration_tests
Matrix: job_node_unit_tests
Lint
1m 7s
Lint
Circular Dependency Check
1m 48s
Circular Dependency Check
Browser Unit Tests
46s
Browser Unit Tests
Bun Unit Tests
Bun Unit Tests
Deno Unit Tests
Deno Unit Tests
Node v18.0.0 Compatibility Check
Node v18.0.0 Compatibility Check
Cloudflare Integration Tests
3m 6s
Cloudflare Integration Tests
Bundler Plugin Integration Tests
3m 10s
Bundler Plugin Integration Tests
Bun Integration Tests
Bun Integration Tests
Check for faulty .d.ts files
38s
Check for faulty .d.ts files
Matrix: job_browser_loader_tests
Matrix: job_browser_playwright_tests
Matrix: job_optional_e2e_tests
Upload Artifacts
Upload Artifacts
Matrix: job_e2e_tests
All required jobs passed or were skipped
3s
All required jobs passed or were skipped
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 1 warning
Node (18) Integration Tests
Process completed with exit code 1.
suites/tracing/mysql/test.ts > mysql auto instrumentation > streamed > without connection.connect() > should auto-instrument `mysql` package without connection.connect(): dev-packages/node-integration-tests/suites/tracing/mysql/test.ts#L276
AssertionError: expected [ { …(9) }, …(1) ] to deeply equal [ …(2) ] - Expected + Received @@ -67,14 +67,10 @@ }, "sentry.span.source": { "type": "string", "value": "task", }, - "sentry.status.message": { - "type": "string", - "value": StringMatching /^connect ECONNREFUSED/, - }, }, "end_timestamp": Any<Number>, "is_segment": false, "name": "SELECT 1 + 1 AS solution", "parent_span_id": StringMatching /^[\da-f]{16}$/, @@ -85,11 +81,11 @@ }, { "attributes": { "db.connection_string": { "type": "string", - "value": StringMatching /^jdbc:mysql:\/\/localhost:.*/, + "value": "jdbc:mysql://localhost:44493", }, "db.statement": { "type": "string", "value": "SELECT NOW()", }, @@ -105,11 +101,11 @@ "type": "string", "value": "localhost", }, "net.peer.port": { "type": "integer", - "value": Any<Number>, + "value": 44493, }, "otel.kind": { "type": "string", "value": "CLIENT", }, @@ -133,15 +129,15 @@ "type": "string", "value": "sentry.javascript.node", }, "sentry.sdk.version": { "type": "string", - "value": Any<String>, + "value": "10.63.0", }, "sentry.segment.id": { "type": "string", - "value": StringMatching /^[\da-f]{16}$/, + "value": "b833c075f3fc1aac", }, "sentry.segment.name": { "type": "string", "value": "Test Transaction", }, @@ -150,14 +146,10 @@ "value": "task", }, "sentry.span.source": { "type": "string", "value": "task", - }, - "sentry.status.message": { - "type": "string", - "value": StringMatching /^connect ECONNREFUSED/, }, }, "end_timestamp": Any<Number>, "is_segment": false, "name": "SELECT NOW()", ❯ assertMysqlSpans suites/tracing/mysql/test.ts:276:23 ❯ expectSpanContainer utils/runner/createRunner.ts:737:5 ❯ assertExpectedEnvelope utils/runner/createRunner.ts:671:5 ❯ newEnvelope utils/runner/createRunner.ts:331:15 ❯ tryParseEnvelopeFromStdoutLine utils/runner/createRunner.ts:449:15 ❯ Socket.<anonymous> utils/runner/createRunner.ts:467:15
suites/tracing/mysql/test.ts > mysql auto instrumentation > streamed > query without callback > should auto-instrument `mysql` package when using query without callback: dev-packages/node-integration-tests/suites/tracing/mysql/test.ts#L276
AssertionError: expected [ { …(9) }, …(1) ] to deeply equal [ …(2) ] - Expected + Received @@ -67,14 +67,10 @@ }, "sentry.span.source": { "type": "string", "value": "task", }, - "sentry.status.message": { - "type": "string", - "value": StringMatching /^connect ECONNREFUSED/, - }, }, "end_timestamp": Any<Number>, "is_segment": false, "name": "SELECT 1 + 1 AS solution", "parent_span_id": StringMatching /^[\da-f]{16}$/, @@ -85,11 +81,11 @@ }, { "attributes": { "db.connection_string": { "type": "string", - "value": StringMatching /^jdbc:mysql:\/\/localhost:.*/, + "value": "jdbc:mysql://localhost:44493", }, "db.statement": { "type": "string", "value": "SELECT NOW()", }, @@ -105,11 +101,11 @@ "type": "string", "value": "localhost", }, "net.peer.port": { "type": "integer", - "value": Any<Number>, + "value": 44493, }, "otel.kind": { "type": "string", "value": "CLIENT", }, @@ -133,15 +129,15 @@ "type": "string", "value": "sentry.javascript.node", }, "sentry.sdk.version": { "type": "string", - "value": Any<String>, + "value": "10.63.0", }, "sentry.segment.id": { "type": "string", - "value": StringMatching /^[\da-f]{16}$/, + "value": "47915fef837b8171", }, "sentry.segment.name": { "type": "string", "value": "Test Transaction", }, @@ -150,14 +146,10 @@ "value": "task", }, "sentry.span.source": { "type": "string", "value": "task", - }, - "sentry.status.message": { - "type": "string", - "value": StringMatching /^connect ECONNREFUSED/, }, }, "end_timestamp": Any<Number>, "is_segment": false, "name": "SELECT NOW()", ❯ assertMysqlSpans suites/tracing/mysql/test.ts:276:23 ❯ expectSpanContainer utils/runner/createRunner.ts:737:5 ❯ assertExpectedEnvelope utils/runner/createRunner.ts:671:5 ❯ newEnvelope utils/runner/createRunner.ts:331:15 ❯ tryParseEnvelopeFromStdoutLine utils/runner/createRunner.ts:449:15 ❯ Socket.<anonymous> utils/runner/createRunner.ts:467:15
suites/tracing/mysql/test.ts > mysql auto instrumentation > streamed > with connection.connect() > should auto-instrument `mysql` package when using connection.connect(): dev-packages/node-integration-tests/suites/tracing/mysql/test.ts#L276
AssertionError: expected [ { …(9) }, …(1) ] to deeply equal [ …(2) ] - Expected + Received @@ -67,14 +67,10 @@ }, "sentry.span.source": { "type": "string", "value": "task", }, - "sentry.status.message": { - "type": "string", - "value": StringMatching /^connect ECONNREFUSED/, - }, }, "end_timestamp": Any<Number>, "is_segment": false, "name": "SELECT 1 + 1 AS solution", "parent_span_id": StringMatching /^[\da-f]{16}$/, @@ -85,11 +81,11 @@ }, { "attributes": { "db.connection_string": { "type": "string", - "value": StringMatching /^jdbc:mysql:\/\/localhost:.*/, + "value": "jdbc:mysql://localhost:44493", }, "db.statement": { "type": "string", "value": "SELECT NOW()", }, @@ -105,11 +101,11 @@ "type": "string", "value": "localhost", }, "net.peer.port": { "type": "integer", - "value": Any<Number>, + "value": 44493, }, "otel.kind": { "type": "string", "value": "CLIENT", }, @@ -133,15 +129,15 @@ "type": "string", "value": "sentry.javascript.node", }, "sentry.sdk.version": { "type": "string", - "value": Any<String>, + "value": "10.63.0", }, "sentry.segment.id": { "type": "string", - "value": StringMatching /^[\da-f]{16}$/, + "value": "8ef856c9b58bc98c", }, "sentry.segment.name": { "type": "string", "value": "Test Transaction", }, @@ -150,14 +146,10 @@ "value": "task", }, "sentry.span.source": { "type": "string", "value": "task", - }, - "sentry.status.message": { - "type": "string", - "value": StringMatching /^connect ECONNREFUSED/, }, }, "end_timestamp": Any<Number>, "is_segment": false, "name": "SELECT NOW()", ❯ assertMysqlSpans suites/tracing/mysql/test.ts:276:23 ❯ expectSpanContainer utils/runner/createRunner.ts:737:5 ❯ assertExpectedEnvelope utils/runner/createRunner.ts:671:5 ❯ newEnvelope utils/runner/createRunner.ts:331:15 ❯ tryParseEnvelopeFromStdoutLine utils/runner/createRunner.ts:449:15 ❯ Socket.<anonymous> utils/runner/createRunner.ts:467:15
Node (24) (TS 3.8) Integration Tests
The job has exceeded the maximum execution time of 15m0s
All required jobs passed or were skipped
Process completed with exit code 1.
Size Check
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: ./dev-packages/size-limit-gh-action. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/

Artifacts

Produced during runtime
Name Size Digest
build-bundle-output Expired
17 MB
sha256:7531dfa254f14a21b7f7795349f894cd6a66a3aeadb0a6f3e390a7ab337904fa
build-output Expired
11.5 MB
sha256:1ada4ddd2a8d7e29450a4d4e6ceb4e8bc50a533799ecd4bf97bd453cb92a2363
build-tarball-output Expired
5.47 MB
sha256:ab201f1793b5509cdb22c16c342769a33fd7bca1d55f8cbed3a194514c4b8a8b