Skip to content
Triggered via push November 1, 2024 08:14
Status Failure
Total duration 32s
Artifacts

node.js.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 1 warning
src/tests/directory/directory-delete.test.ts > directory-delete: src/client/checkResponse.ts#L6
Error: [500] ENOTDIR: not a directory, stat '/home/runner/work/fidb-zero/fidb-zero/tmp/databases/2024-11-01-081500-00f34cd9-directory-delete/database.json/database.json' url: http://127.0.0.1:39929/ ❯ Module.checkResponse src/client/checkResponse.ts:6:11 ❯ Module.directoryGet src/client/directory/directoryGet.ts:24:3 ❯ src/tests/directory/directory-delete.test.ts:11:21 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { ctx: { url: 'http://127.0.0.1:39929/', token: '5525d8555a0c4d31989a3a48770e242e', authorization: 'token 5525d8555a0c4d31989a3a48770e242e' }, statusCode: 500, statusMessage: 'ENOTDIR: not a directory, stat \'/home/runner/work/fidb-zero/fidb-zero/tmp/databases/2024-11-01-081500-00f34cd9-directory-delete/database.json/database.json\'' }
src/tests/directory/directory-get-by-page.test.ts > directory-get-by-page: src/tests/directory/directory-get-by-page.test.ts#L25
AssertionError: expected false to deeply equal true - Expected + Received - true + false ❯ src/tests/directory/directory-get-by-page.test.ts:25:7
src/tests/directory/directory-get-file-metadata.test.ts > directory-get-file-metadata: src/client/checkResponse.ts#L6
Error: [500] ENOTDIR: not a directory, stat '/home/runner/work/fidb-zero/fidb-zero/tmp/databases/2024-11-01-081457-f1bca8c6-directory-get-file-metadata/contents/2.md/2.md' url: http://127.0.0.1:37647/ ❯ Module.checkResponse src/client/checkResponse.ts:6:11 ❯ Module.directoryGet src/client/directory/directoryGet.ts:24:3 ❯ src/tests/directory/directory-get-file-metadata.test.ts:13:21 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { ctx: { url: 'http://127.0.0.1:37647/', token: '649cc41a0a441b3c0ad30332dee4a535', authorization: 'token 649cc41a0a441b3c0ad30332dee4a535' }, statusCode: 500, statusMessage: 'ENOTDIR: not a directory, stat \'/home/runner/work/fidb-zero/fidb-zero/tmp/databases/2024-11-01-081457-f1bca8c6-directory-get-file-metadata/contents/2.md/2.md\'' }
src/tests/directory/directory-get-nested.test.ts > directory-get-nested: src/tests/directory/directory-get-nested.test.ts#L20
AssertionError: expected false to deeply equal true - Expected + Received - true + false ❯ src/tests/directory/directory-get-nested.test.ts:20:7
src/tests/directory/directory-get-recursive.test.ts > directory-get-recursive: src/client/checkResponse.ts#L6
Error: [500] ENOTDIR: not a directory, stat '/home/runner/work/fidb-zero/fidb-zero/tmp/databases/2024-11-01-081500-d4ad20d5-directory-get-recursive/database.json/database.json' url: http://127.0.0.1:33233/ ❯ Module.checkResponse src/client/checkResponse.ts:6:11 ❯ Module.directoryGet src/client/directory/directoryGet.ts:24:3 ❯ src/tests/directory/directory-get-recursive.test.ts:9:21 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { ctx: { url: 'http://127.0.0.1:33233/', token: '0fb7e0d73e99f7b5d8bab6d0ae12114d', authorization: 'token 0fb7e0d73e99f7b5d8bab6d0ae12114d' }, statusCode: 500, statusMessage: 'ENOTDIR: not a directory, stat \'/home/runner/work/fidb-zero/fidb-zero/tmp/databases/2024-11-01-081500-d4ad20d5-directory-get-recursive/database.json/database.json\'' }
src/tests/directory/directory-get.test.ts > directory-get: src/client/checkResponse.ts#L6
Error: [500] ENOTDIR: not a directory, stat '/home/runner/work/fidb-zero/fidb-zero/tmp/databases/2024-11-01-081459-3e8c7bbb-directory-get/database.json/database.json' url: http://127.0.0.1:38693/ ❯ Module.checkResponse src/client/checkResponse.ts:6:11 ❯ Module.directoryGet src/client/directory/directoryGet.ts:24:3 ❯ src/tests/directory/directory-get.test.ts:9:21 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { ctx: { url: 'http://127.0.0.1:38693/', token: '05bb64c0965c3bcf29578a4b4aa88565', authorization: 'token 05bb64c0965c3bcf29578a4b4aa88565' }, statusCode: 500, statusMessage: 'ENOTDIR: not a directory, stat \'/home/runner/work/fidb-zero/fidb-zero/tmp/databases/2024-11-01-081459-3e8c7bbb-directory-get/database.json/database.json\'' }
src/tests/directory/directory-post.test.ts > directory-post: src/client/checkResponse.ts#L6
Error: [500] ENOTDIR: not a directory, stat '/home/runner/work/fidb-zero/fidb-zero/tmp/databases/2024-11-01-081500-876f50b1-directory-post/database.json/database.json' url: http://127.0.0.1:40645/ ❯ Module.checkResponse src/client/checkResponse.ts:6:11 ❯ Module.directoryGet src/client/directory/directoryGet.ts:24:3 ❯ src/tests/directory/directory-post.test.ts:9:21 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { ctx: { url: 'http://127.0.0.1:40645/', token: '03061c569062e178ce18c75fc886ec8f', authorization: 'token 03061c569062e178ce18c75fc886ec8f' }, statusCode: 500, statusMessage: 'ENOTDIR: not a directory, stat \'/home/runner/work/fidb-zero/fidb-zero/tmp/databases/2024-11-01-081500-876f50b1-directory-post/database.json/database.json\'' }
build (20.1.x)
Process completed with exit code 1.
build (20.1.x)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/