Skip to content

fix: process sourcemaps for stack traces from globalSetup files #12824

fix: process sourcemaps for stack traces from globalSetup files

fix: process sourcemaps for stack traces from globalSetup files #12824

Triggered via pull request December 18, 2024 15:45
Status Failure
Total duration 14m 1s
Artifacts

ci.yml

on: pull_request
Diff: node-latest, ubuntu-latest
8s
Diff: node-latest, ubuntu-latest
Lint: node-latest, ubuntu-latest
2m 33s
Lint: node-latest, ubuntu-latest
Matrix: test-browser
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 5 warnings
specs/benchmark.test.ts > benchmark: test/browser/specs/benchmark.test.ts#L6
AssertionError: expected '⎯⎯⎯⎯⎯⎯ Unhandled Errors ⎯⎯⎯⎯⎯⎯\n\nVit…' to be '' // Object.is equality - Expected + Received + ⎯⎯⎯⎯⎯⎯ Unhandled Errors ⎯⎯⎯⎯⎯⎯ + + Vitest caught 1 unhandled error during the test run. + This might cause false positive tests. Resolve unhandled errors to make sure your tests are not affected. + + ⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯ + Error: listen EACCES: permission denied ::1:63315 + ❯ Server.setupListenHandle [as _listen2] ../../node:net:1886:21 + ❯ listenInCluster ../../node:net:1965:12 + ❯ GetAddrInfoReqWrap.doListen ../../node:net:2139:7 + ❯ GetAddrInfoReqWrap.onlookup [as oncomplete] ../../node:dns:111:8 + ❯ GetAddrInfoReqWrap.callbackTrampoline ../../node:internal/async_hooks:130:17 + + ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ + Serialized Error: { code: 'EACCES', errno: -4092, syscall: 'listen', address: '::1', port: 63315 } + ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ + + ❯ specs/benchmark.test.ts:6:25
specs/filter.test.ts > filter: test/browser/specs/filter.test.ts#L10
AssertionError: expected '⎯⎯⎯⎯⎯⎯ Unhandled Errors ⎯⎯⎯⎯⎯⎯\n\nVit…' to be '' // Object.is equality - Expected + Received + ⎯⎯⎯⎯⎯⎯ Unhandled Errors ⎯⎯⎯⎯⎯⎯ + + Vitest caught 1 unhandled error during the test run. + This might cause false positive tests. Resolve unhandled errors to make sure your tests are not affected. + + ⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯ + Error: listen EACCES: permission denied ::1:63315 + ❯ Server.setupListenHandle [as _listen2] node:net:1886:21 + ❯ listenInCluster node:net:1965:12 + ❯ GetAddrInfoReqWrap.doListen node:net:2139:7 + ❯ GetAddrInfoReqWrap.onlookup [as oncomplete] node:dns:111:8 + ❯ GetAddrInfoReqWrap.callbackTrampoline node:internal/async_hooks:130:17 + + ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ + Serialized Error: { code: 'EACCES', errno: -4092, syscall: 'listen', address: '::1', port: 63315 } + ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ + + ❯ specs/filter.test.ts:10:18
specs/fix-4686.test.ts > tests run in presence of config.base: test/browser/specs/fix-4686.test.ts#L14
AssertionError: expected '⎯⎯⎯⎯⎯⎯ Unhandled Errors ⎯⎯⎯⎯⎯⎯\n\nVit…' to be '' // Object.is equality - Expected + Received + ⎯⎯⎯⎯⎯⎯ Unhandled Errors ⎯⎯⎯⎯⎯⎯ + + Vitest caught 1 unhandled error during the test run. + This might cause false positive tests. Resolve unhandled errors to make sure your tests are not affected. + + ⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯ + Error: listen EACCES: permission denied ::1:63315 + ❯ Server.setupListenHandle [as _listen2] node:net:1886:21 + ❯ listenInCluster node:net:1965:12 + ❯ GetAddrInfoReqWrap.doListen node:net:2139:7 + ❯ GetAddrInfoReqWrap.onlookup [as oncomplete] node:dns:111:8 + ❯ GetAddrInfoReqWrap.callbackTrampoline node:internal/async_hooks:130:17 + + ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ + Serialized Error: { code: 'EACCES', errno: -4092, syscall: 'listen', address: '::1', port: 63315 } + ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ + + ❯ specs/fix-4686.test.ts:14:18
specs/locators.test.ts > locators work correctly: test/browser/specs/locators.test.ts#L10
AssertionError: expected '⎯⎯⎯⎯⎯⎯ Unhandled Errors ⎯⎯⎯⎯⎯⎯\n\nVit…' to be '' // Object.is equality - Expected + Received + ⎯⎯⎯⎯⎯⎯ Unhandled Errors ⎯⎯⎯⎯⎯⎯ + + Vitest caught 1 unhandled error during the test run. + This might cause false positive tests. Resolve unhandled errors to make sure your tests are not affected. + + ⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯ + Error: listen EACCES: permission denied ::1:63315 + ❯ Server.setupListenHandle [as _listen2] ../../node:net:1886:21 + ❯ listenInCluster ../../node:net:1965:12 + ❯ GetAddrInfoReqWrap.doListen ../../node:net:2139:7 + ❯ GetAddrInfoReqWrap.onlookup [as oncomplete] ../../node:dns:111:8 + ❯ GetAddrInfoReqWrap.callbackTrampoline ../../node:internal/async_hooks:130:17 + + ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ + Serialized Error: { code: 'EACCES', errno: -4092, syscall: 'listen', address: '::1', port: 63315 } + ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ + + ❯ specs/locators.test.ts:10:18
specs/mocking.test.ts > mocking works correctly - isolated true: test/browser/specs/mocking.test.ts#L15
AssertionError: expected '⎯⎯⎯⎯⎯⎯ Unhandled Errors ⎯⎯⎯⎯⎯⎯\n\nVit…' to be '' // Object.is equality - Expected + Received + ⎯⎯⎯⎯⎯⎯ Unhandled Errors ⎯⎯⎯⎯⎯⎯ + + Vitest caught 1 unhandled error during the test run. + This might cause false positive tests. Resolve unhandled errors to make sure your tests are not affected. + + ⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯ + Error: listen EACCES: permission denied ::1:63315 + ❯ Server.setupListenHandle [as _listen2] ../../node:net:1886:21 + ❯ listenInCluster ../../node:net:1965:12 + ❯ GetAddrInfoReqWrap.doListen ../../node:net:2139:7 + ❯ GetAddrInfoReqWrap.onlookup [as oncomplete] ../../node:dns:111:8 + + ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ + Serialized Error: { code: 'EACCES', errno: -4092, syscall: 'listen', address: '::1', port: 63315 } + ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ + + ❯ specs/mocking.test.ts:15:25
specs/mocking.test.ts > mocking works correctly - isolated false: test/browser/specs/mocking.test.ts#L15
AssertionError: expected '⎯⎯⎯⎯⎯⎯ Unhandled Errors ⎯⎯⎯⎯⎯⎯\n\nVit…' to be '' // Object.is equality - Expected + Received + ⎯⎯⎯⎯⎯⎯ Unhandled Errors ⎯⎯⎯⎯⎯⎯ + + Vitest caught 1 unhandled error during the test run. + This might cause false positive tests. Resolve unhandled errors to make sure your tests are not affected. + + ⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯ + Error: listen EACCES: permission denied ::1:63315 + ❯ Server.setupListenHandle [as _listen2] ../../node:net:1886:21 + ❯ listenInCluster ../../node:net:1965:12 + ❯ GetAddrInfoReqWrap.doListen ../../node:net:2139:7 + ❯ GetAddrInfoReqWrap.onlookup [as oncomplete] ../../node:dns:111:8 + + ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ + Serialized Error: { code: 'EACCES', errno: -4092, syscall: 'listen', address: '::1', port: 63315 } + ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ + + ❯ specs/mocking.test.ts:15:25
specs/mocking.test.ts > mocking dependency correctly invalidates it on rerun: test/browser/specs/mocking.test.ts#L41
Error: Timeout when waiting for error "Waiting for file changes...". Received: stdout: DEV v3.0.0-beta.2 D:/a/vitest/vitest/test/browser/fixtures/mocking-watch Test Files no tests Tests no tests Errors 1 error Start at 15:49:36 Duration 150ms (transform 0ms, setup 0ms, collect 0ms, tests 0ms, environment 0ms, prepare 0ms) FAIL Tests failed. Watching for file changes... press h to show help, press q to quit stderr: ⎯⎯⎯⎯⎯⎯ Unhandled Errors ⎯⎯⎯⎯⎯⎯ Vitest caught 1 unhandled error during the test run. This might cause false positive tests. Resolve unhandled errors to make sure your tests are not affected. ⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯ Error: listen EACCES: permission denied ::1:63315 ❯ Server.setupListenHandle [as _listen2] ../../node:net:1886:21 ❯ listenInCluster ../../node:net:1965:12 ❯ GetAddrInfoReqWrap.doListen ../../node:net:2139:7 ❯ GetAddrInfoReqWrap.onlookup [as oncomplete] ../../node:dns:111:8 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'EACCES', errno: -4092, syscall: 'listen', address: '::1', port: 63315 } ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ ❯ specs/mocking.test.ts:41:16
specs/runner.test.ts > running browser tests > tests are actually running: test/browser/specs/runner.test.ts#L31
AssertionError: expected [] to have a length of 19 but got +0 - Expected + Received - 19 + 0 ❯ specs/runner.test.ts:31:43
specs/runner.test.ts > running browser tests > runs in-source tests: test/browser/specs/runner.test.ts#L41
AssertionError: expected '\n RUN v3.0.0-beta.2 D:/a/vitest/vit…' to contain 'src/actions.ts' - Expected + Received - src/actions.ts + + RUN v3.0.0-beta.2 D:/a/vitest/vitest/test/browser + + + Test Files no tests + Tests no tests + Errors 1 error + Start at 15:49:35 + Duration 194ms (transform 0ms, setup 0ms, collect 0ms, tests 0ms, environment 0ms, prepare 0ms) + + JSON report written to D:/a/vitest/vitest/test/browser/browser.json + ❯ specs/runner.test.ts:41:20
specs/runner.test.ts > running browser tests > correctly prints error: test/browser/specs/runner.test.ts#L48
AssertionError: expected '⎯⎯⎯⎯⎯⎯ Unhandled Errors ⎯⎯⎯⎯⎯⎯\n\nVit…' to contain 'expected 1 to be 2' - Expected + Received - expected 1 to be 2 + ⎯⎯⎯⎯⎯⎯ Unhandled Errors ⎯⎯⎯⎯⎯⎯ + + Vitest caught 1 unhandled error during the test run. + This might cause false positive tests. Resolve unhandled errors to make sure your tests are not affected. + + ⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯ + Error: listen EACCES: permission denied ::1:63315 + ❯ Server.setupListenHandle [as _listen2] node:net:1886:21 + ❯ listenInCluster node:net:1965:12 + ❯ GetAddrInfoReqWrap.doListen node:net:2139:7 + ❯ GetAddrInfoReqWrap.onlookup [as oncomplete] node:dns:111:8 + + ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ + Serialized Error: { code: 'EACCES', errno: -4092, syscall: 'listen', address: '::1', port: 63315 } + ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ + + ❯ specs/runner.test.ts:48:20
Diff: node-latest, ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Lint: node-latest, ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build&Test: node-20, ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build&Test: node-22, ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build&Test: node-18, ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636