Skip to content

handle dynamic imports on windows #125

handle dynamic imports on windows

handle dynamic imports on windows #125

Triggered via pull request November 4, 2023 16:22
Status Failure
Total duration 8m 53s
Artifacts

test.yml

on: pull_request
Matrix: integration
Fit to window
Zoom out
Zoom in

Annotations

20 errors, 10 warnings, and 2 notices
[chromium] › srv-fn.test.ts:32:2 › srv-fn-dev › spa: test/srv-fn.test.ts#L11
1) [chromium] › srv-fn.test.ts:32:2 › srv-fn-dev › spa =========================================== "beforeAll" hook timeout of 120000ms exceeded. 9 | let appFixture: AppFixture; 10 | > 11 | test.beforeAll(async () => { | ^ 12 | fixture = await createDevFixture({ 13 | files: {}, 14 | template: "react-srv-fn", at /home/runner/work/vinxi/vinxi/test/srv-fn.test.ts:11:7
[chromium] › srv-fn.test.ts:32:2 › srv-fn-dev › spa: test/srv-fn.test.ts#L21
1) [chromium] › srv-fn.test.ts:32:2 › srv-fn-dev › spa =========================================== TypeError: Cannot read properties of undefined (reading 'close') 19 | 20 | test.afterAll(async () => { > 21 | await appFixture.close(); | ^ 22 | }); 23 | 24 | let logs: string[] = []; at file:///home/runner/work/vinxi/vinxi/test/srv-fn.test.ts:21:20
[chromium] › srv-fn.test.ts:32:2 › srv-fn-dev › spa: test/srv-fn.test.ts#L11
1) [chromium] › srv-fn.test.ts:32:2 › srv-fn-dev › spa =========================================== Retry #1 --------------------------------------------------------------------------------------- "beforeAll" hook timeout of 120000ms exceeded. 9 | let appFixture: AppFixture; 10 | > 11 | test.beforeAll(async () => { | ^ 12 | fixture = await createDevFixture({ 13 | files: {}, 14 | template: "react-srv-fn", at /home/runner/work/vinxi/vinxi/test/srv-fn.test.ts:11:7
[chromium] › srv-fn.test.ts:32:2 › srv-fn-dev › spa: test/srv-fn.test.ts#L21
1) [chromium] › srv-fn.test.ts:32:2 › srv-fn-dev › spa =========================================== Retry #1 --------------------------------------------------------------------------------------- TypeError: Cannot read properties of undefined (reading 'close') 19 | 20 | test.afterAll(async () => { > 21 | await appFixture.close(); | ^ 22 | }); 23 | 24 | let logs: string[] = []; at file:///home/runner/work/vinxi/vinxi/test/srv-fn.test.ts:21:20
[chromium] › srv-fn.test.ts:32:2 › srv-fn-dev › spa: test/srv-fn.test.ts#L11
1) [chromium] › srv-fn.test.ts:32:2 › srv-fn-dev › spa =========================================== Retry #2 --------------------------------------------------------------------------------------- "beforeAll" hook timeout of 120000ms exceeded. 9 | let appFixture: AppFixture; 10 | > 11 | test.beforeAll(async () => { | ^ 12 | fixture = await createDevFixture({ 13 | files: {}, 14 | template: "react-srv-fn", at /home/runner/work/vinxi/vinxi/test/srv-fn.test.ts:11:7
[chromium] › srv-fn.test.ts:32:2 › srv-fn-dev › spa: test/srv-fn.test.ts#L21
1) [chromium] › srv-fn.test.ts:32:2 › srv-fn-dev › spa =========================================== Retry #2 --------------------------------------------------------------------------------------- TypeError: Cannot read properties of undefined (reading 'close') 19 | 20 | test.afterAll(async () => { > 21 | await appFixture.close(); | ^ 22 | }); 23 | 24 | let logs: string[] = []; at file:///home/runner/work/vinxi/vinxi/test/srv-fn.test.ts:21:20
[chromium] › srv-fn.test.ts:68:2 › srv-fn-prod › spa: test/helpers/create-fixture.ts#L163
2) [chromium] › srv-fn.test.ts:68:2 › srv-fn-prod › spa ========================================== Error: Expected build directory to exist at /home/runner/work/vinxi/vinxi/test/.fixtures/srv-fn-prod-l0057ke4a08/.output/server/index.mjs. The build probably failed. Did you maybe have a syntax error in your test code strings? at helpers/create-fixture.ts:163 161 | let buildPath = path.resolve(projectDir, ".output", "server", "index.mjs"); 162 | if (!fse.existsSync(buildPath)) { > 163 | throw new Error( | ^ 164 | c.red( 165 | `Expected build directory to exist at ${c.dim( 166 | buildPath, at createFixture (file:///home/runner/work/vinxi/vinxi/test/helpers/create-fixture.ts:163:9) at file:///home/runner/work/vinxi/vinxi/test/srv-fn.test.ts:48:13
[chromium] › srv-fn.test.ts:68:2 › srv-fn-prod › spa: test/helpers/create-fixture.ts#L163
2) [chromium] › srv-fn.test.ts:68:2 › srv-fn-prod › spa ========================================== Retry #1 --------------------------------------------------------------------------------------- Error: Expected build directory to exist at /home/runner/work/vinxi/vinxi/test/.fixtures/srv-fn-prod-vcbegn98fi/.output/server/index.mjs. The build probably failed. Did you maybe have a syntax error in your test code strings? at helpers/create-fixture.ts:163 161 | let buildPath = path.resolve(projectDir, ".output", "server", "index.mjs"); 162 | if (!fse.existsSync(buildPath)) { > 163 | throw new Error( | ^ 164 | c.red( 165 | `Expected build directory to exist at ${c.dim( 166 | buildPath, at createFixture (file:///home/runner/work/vinxi/vinxi/test/helpers/create-fixture.ts:163:9) at file:///home/runner/work/vinxi/vinxi/test/srv-fn.test.ts:48:13
[chromium] › srv-fn.test.ts:68:2 › srv-fn-prod › spa: test/helpers/create-fixture.ts#L163
2) [chromium] › srv-fn.test.ts:68:2 › srv-fn-prod › spa ========================================== Retry #2 --------------------------------------------------------------------------------------- Error: Expected build directory to exist at /home/runner/work/vinxi/vinxi/test/.fixtures/srv-fn-prod-vjm33o3bcp/.output/server/index.mjs. The build probably failed. Did you maybe have a syntax error in your test code strings? at helpers/create-fixture.ts:163 161 | let buildPath = path.resolve(projectDir, ".output", "server", "index.mjs"); 162 | if (!fse.existsSync(buildPath)) { > 163 | throw new Error( | ^ 164 | c.red( 165 | `Expected build directory to exist at ${c.dim( 166 | buildPath, at createFixture (file:///home/runner/work/vinxi/vinxi/test/helpers/create-fixture.ts:163:9) at file:///home/runner/work/vinxi/vinxi/test/srv-fn.test.ts:48:13
👀 (os: ubuntu-latest, node: 18)
Process completed with exit code 1.
[chromium] › srv-fn.test.ts:32:2 › srv-fn-dev › spa: test\srv-fn.test.ts#L11
1) [chromium] › srv-fn.test.ts:32:2 › srv-fn-dev › spa =========================================== "beforeAll" hook timeout of 120000ms exceeded. 9 | let appFixture: AppFixture; 10 | > 11 | test.beforeAll(async () => { | ^ 12 | fixture = await createDevFixture({ 13 | files: {}, 14 | template: "react-srv-fn", at D:\a\vinxi\vinxi\test\srv-fn.test.ts:11:7
[chromium] › srv-fn.test.ts:32:2 › srv-fn-dev › spa: test\srv-fn.test.ts#L21
1) [chromium] › srv-fn.test.ts:32:2 › srv-fn-dev › spa =========================================== TypeError: Cannot read properties of undefined (reading 'close') 19 | 20 | test.afterAll(async () => { > 21 | await appFixture.close(); | ^ 22 | }); 23 | 24 | let logs: string[] = []; at file:///D:/a/vinxi/vinxi/test/srv-fn.test.ts:21:20
[chromium] › srv-fn.test.ts:32:2 › srv-fn-dev › spa: test\srv-fn.test.ts#L11
1) [chromium] › srv-fn.test.ts:32:2 › srv-fn-dev › spa =========================================== Retry #1 --------------------------------------------------------------------------------------- "beforeAll" hook timeout of 120000ms exceeded. 9 | let appFixture: AppFixture; 10 | > 11 | test.beforeAll(async () => { | ^ 12 | fixture = await createDevFixture({ 13 | files: {}, 14 | template: "react-srv-fn", at D:\a\vinxi\vinxi\test\srv-fn.test.ts:11:7
[chromium] › srv-fn.test.ts:32:2 › srv-fn-dev › spa: test\srv-fn.test.ts#L21
1) [chromium] › srv-fn.test.ts:32:2 › srv-fn-dev › spa =========================================== Retry #1 --------------------------------------------------------------------------------------- TypeError: Cannot read properties of undefined (reading 'close') 19 | 20 | test.afterAll(async () => { > 21 | await appFixture.close(); | ^ 22 | }); 23 | 24 | let logs: string[] = []; at file:///D:/a/vinxi/vinxi/test/srv-fn.test.ts:21:20
[chromium] › srv-fn.test.ts:32:2 › srv-fn-dev › spa: test\srv-fn.test.ts#L11
1) [chromium] › srv-fn.test.ts:32:2 › srv-fn-dev › spa =========================================== Retry #2 --------------------------------------------------------------------------------------- "beforeAll" hook timeout of 120000ms exceeded. 9 | let appFixture: AppFixture; 10 | > 11 | test.beforeAll(async () => { | ^ 12 | fixture = await createDevFixture({ 13 | files: {}, 14 | template: "react-srv-fn", at D:\a\vinxi\vinxi\test\srv-fn.test.ts:11:7
[chromium] › srv-fn.test.ts:32:2 › srv-fn-dev › spa: test\srv-fn.test.ts#L21
1) [chromium] › srv-fn.test.ts:32:2 › srv-fn-dev › spa =========================================== Retry #2 --------------------------------------------------------------------------------------- TypeError: Cannot read properties of undefined (reading 'close') 19 | 20 | test.afterAll(async () => { > 21 | await appFixture.close(); | ^ 22 | }); 23 | 24 | let logs: string[] = []; at file:///D:/a/vinxi/vinxi/test/srv-fn.test.ts:21:20
[chromium] › srv-fn.test.ts:68:2 › srv-fn-prod › spa: test\helpers\create-fixture.ts#L163
2) [chromium] › srv-fn.test.ts:68:2 › srv-fn-prod › spa ========================================== Error: Expected build directory to exist at D:\a\vinxi\vinxi\test\.fixtures\srv-fn-prod-6n8a6ic3nr8\.output\server\index.mjs. The build probably failed. Did you maybe have a syntax error in your test code strings? at helpers\create-fixture.ts:163 161 | let buildPath = path.resolve(projectDir, ".output", "server", "index.mjs"); 162 | if (!fse.existsSync(buildPath)) { > 163 | throw new Error( | ^ 164 | c.red( 165 | `Expected build directory to exist at ${c.dim( 166 | buildPath, at createFixture (file:///D:/a/vinxi/vinxi/test/helpers/create-fixture.ts:163:9) at file:///D:/a/vinxi/vinxi/test/srv-fn.test.ts:48:13
[chromium] › srv-fn.test.ts:68:2 › srv-fn-prod › spa: test\helpers\create-fixture.ts#L163
2) [chromium] › srv-fn.test.ts:68:2 › srv-fn-prod › spa ========================================== Retry #1 --------------------------------------------------------------------------------------- Error: Expected build directory to exist at D:\a\vinxi\vinxi\test\.fixtures\srv-fn-prod-sug3722j13o\.output\server\index.mjs. The build probably failed. Did you maybe have a syntax error in your test code strings? at helpers\create-fixture.ts:163 161 | let buildPath = path.resolve(projectDir, ".output", "server", "index.mjs"); 162 | if (!fse.existsSync(buildPath)) { > 163 | throw new Error( | ^ 164 | c.red( 165 | `Expected build directory to exist at ${c.dim( 166 | buildPath, at createFixture (file:///D:/a/vinxi/vinxi/test/helpers/create-fixture.ts:163:9) at file:///D:/a/vinxi/vinxi/test/srv-fn.test.ts:48:13
[chromium] › srv-fn.test.ts:68:2 › srv-fn-prod › spa: test\helpers\create-fixture.ts#L163
2) [chromium] › srv-fn.test.ts:68:2 › srv-fn-prod › spa ========================================== Retry #2 --------------------------------------------------------------------------------------- Error: Expected build directory to exist at D:\a\vinxi\vinxi\test\.fixtures\srv-fn-prod-6rvml9toupg\.output\server\index.mjs. The build probably failed. Did you maybe have a syntax error in your test code strings? at helpers\create-fixture.ts:163 161 | let buildPath = path.resolve(projectDir, ".output", "server", "index.mjs"); 162 | if (!fse.existsSync(buildPath)) { > 163 | throw new Error( | ^ 164 | c.red( 165 | `Expected build directory to exist at ${c.dim( 166 | buildPath, at createFixture (file:///D:/a/vinxi/vinxi/test/helpers/create-fixture.ts:163:9) at file:///D:/a/vinxi/vinxi/test/srv-fn.test.ts:48:13
👀 (os: windows-latest, node: 18)
Process completed with exit code 1.
👀 (os: ubuntu-latest, node: 18)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, pnpm/action-setup@v2.2.2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
👀 (os: ubuntu-latest, node: 18)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
👀 (os: ubuntu-latest, node: 18)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
👀 (os: ubuntu-latest, node: 18)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
👀 (os: ubuntu-latest, node: 18)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
👀 (os: windows-latest, node: 18)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, pnpm/action-setup@v2.2.2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
👀 (os: windows-latest, node: 18)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
👀 (os: windows-latest, node: 18)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
👀 (os: windows-latest, node: 18)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
👀 (os: windows-latest, node: 18)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
🎭 Playwright Run Summary
2 failed [chromium] › srv-fn.test.ts:32:2 › srv-fn-dev › spa ============================================ [chromium] › srv-fn.test.ts:68:2 › srv-fn-prod › spa =========================================== 12 passed (7m)
🎭 Playwright Run Summary
2 failed [chromium] › srv-fn.test.ts:32:2 › srv-fn-dev › spa ============================================ [chromium] › srv-fn.test.ts:68:2 › srv-fn-prod › spa =========================================== 12 passed (8m)