chore: Uprade aws-sdk to v3 #6923
Triggered via pull request
November 28, 2024 17:17
Status
Failure
Total duration
10m 18s
Artifacts
–
pull-request.yml
on: pull_request
Check file changes
3s
Run Integration tests
4m 21s
Run API Tests
2m 27s
Run React Tests
0s
Generate Hasura Change Summary
0s
E2E tests
9m 59s
Run Pulumi Preview
3m 22s
Run Healthcheck on Pizza Services
33s
Annotations
10 errors, 16 warnings, and 1 notice
modules/file/file.test.ts > File upload > Private > should upload file:
api.planx.uk/modules/file/file.test.ts#L78
AssertionError: expected { Object (error) } to deeply equal { fileType: 'text/plain', …(1) }
- Expected
+ Received
Object {
- "fileType": "text/plain",
- "fileUrl": StringContaining "/file/private/nanoid/modified%20key",
+ "error": "Failed to upload private file: Error: getaddrinfo ENOTFOUND aws.minio",
}
❯ modules/file/file.test.ts:78:28
❯ modules/file/file.test.ts:73:7
|
modules/file/file.test.ts > File upload > Private > should handle S3 error:
api.planx.uk/modules/file/file.test.ts#L100
AssertionError: expected 'Failed to upload private file: Error:…' to match /S3 error!/
- Expected:
/S3 error!/
+ Received:
"Failed to upload private file: Error: getaddrinfo ENOTFOUND aws.minio"
❯ modules/file/file.test.ts:100:34
❯ modules/file/file.test.ts:94:7
|
modules/file/file.test.ts > File upload > Public > should upload file:
api.planx.uk/modules/file/file.test.ts#L155
AssertionError: expected { Object (error) } to deeply equal { fileType: 'text/plain', …(1) }
- Expected
+ Received
Object {
- "fileType": "text/plain",
- "fileUrl": StringContaining "file/public/nanoid/modified%20key",
+ "error": "Failed to upload public file: getaddrinfo ENOTFOUND aws.minio",
}
❯ modules/file/file.test.ts:155:28
❯ modules/file/file.test.ts:149:7
|
modules/file/file.test.ts > File upload > Public > should handle S3 error:
api.planx.uk/modules/file/file.test.ts#L178
AssertionError: expected 'Failed to upload public file: getaddr…' to match /S3 error!/
- Expected:
/S3 error!/
+ Received:
"Failed to upload public file: getaddrinfo ENOTFOUND aws.minio"
❯ modules/file/file.test.ts:178:34
❯ modules/file/file.test.ts:171:7
|
modules/file/file.test.ts > File download > Public > should download:
api.planx.uk/modules/file/file.test.ts#L213
Error: expected 200 "OK", got 500 "Internal Server Error"
❯ modules/file/file.test.ts:213:10
❯ Test._assertStatus node_modules/.pnpm/[email protected]/node_modules/supertest/lib/test.js:252:14
❯ node_modules/.pnpm/[email protected]/node_modules/supertest/lib/test.js:308:13
❯ Test._assertFunction node_modules/.pnpm/[email protected]/node_modules/supertest/lib/test.js:285:13
❯ Test.assert node_modules/.pnpm/[email protected]/node_modules/supertest/lib/test.js:164:23
❯ Server.localAssert node_modules/.pnpm/[email protected]/node_modules/supertest/lib/test.js:120:14
|
modules/file/file.test.ts > File download > Public > should not download private files:
api.planx.uk/modules/file/file.test.ts#L232
AssertionError: expected "spy" to be called 1 times, but got 0 times
❯ modules/file/file.test.ts:232:33
❯ modules/file/file.test.ts:228:7
|
modules/file/file.test.ts > File download > Public > should handle S3 error:
api.planx.uk/modules/file/file.test.ts#L248
AssertionError: expected 'Failed to download public file: Error…' to match /S3 error!/
- Expected:
/S3 error!/
+ Received:
"Failed to download public file: Error: getaddrinfo ENOTFOUND aws.minio"
❯ modules/file/file.test.ts:248:34
❯ modules/file/file.test.ts:242:7
|
modules/file/file.test.ts > File download > Private > should not download if file is private:
api.planx.uk/modules/file/file.test.ts#L275
AssertionError: expected "spy" to be called 1 times, but got 0 times
❯ modules/file/file.test.ts:275:33
❯ modules/file/file.test.ts:271:7
|
modules/file/file.test.ts > File download > Private > should download file:
api.planx.uk/modules/file/file.test.ts#L309
Error: expected 200 "OK", got 500 "Internal Server Error"
❯ modules/file/file.test.ts:309:10
❯ Test._assertStatus node_modules/.pnpm/[email protected]/node_modules/supertest/lib/test.js:252:14
❯ node_modules/.pnpm/[email protected]/node_modules/supertest/lib/test.js:308:13
❯ Test._assertFunction node_modules/.pnpm/[email protected]/node_modules/supertest/lib/test.js:285:13
❯ Test.assert node_modules/.pnpm/[email protected]/node_modules/supertest/lib/test.js:164:23
❯ Server.localAssert node_modules/.pnpm/[email protected]/node_modules/supertest/lib/test.js:120:14
|
modules/file/file.test.ts > File download > Private > should handle S3 error:
api.planx.uk/modules/file/file.test.ts#L327
AssertionError: expected 'Failed to download private file: Erro…' to match /S3 error!/
- Expected:
/S3 error!/
+ Received:
"Failed to download private file: Error: getaddrinfo ENOTFOUND aws.minio"
❯ modules/file/file.test.ts:327:34
❯ modules/file/file.test.ts:320:7
|
Run API Tests:
api.planx.uk/lib/notify/index.ts#L73
Unexpected any. Specify a different type
|
Run API Tests:
api.planx.uk/modules/auth/strategy/google.ts#L20
Unexpected any. Specify a different type
|
Run API Tests:
api.planx.uk/modules/flows/validate/service/fileTypes.ts#L70
Unexpected any. Specify a different type
|
Run API Tests:
api.planx.uk/modules/gis/service/classifiedRoads.ts#L129
Unexpected any. Specify a different type
|
Run API Tests:
api.planx.uk/modules/gis/service/classifiedRoads.ts#L151
Unexpected any. Specify a different type
|
Run API Tests:
api.planx.uk/modules/gis/service/digitalLand.ts#L100
Unexpected any. Specify a different type
|
Run API Tests:
api.planx.uk/modules/gis/service/digitalLand.ts#L101
Unexpected any. Specify a different type
|
Run API Tests:
api.planx.uk/modules/gis/service/digitalLand.ts#L135
Unexpected any. Specify a different type
|
Run API Tests:
api.planx.uk/modules/gis/service/digitalLand.ts#L183
Unexpected any. Specify a different type
|
Run API Tests:
api.planx.uk/modules/gis/service/digitalLand.ts#L240
Unexpected any. Specify a different type
|
E2E tests:
e2e/tests/ui-driven/src/invite-to-pay/agent.spec.ts#L97
Unexpected use of networkidle
|
E2E tests:
e2e/tests/ui-driven/src/invite-to-pay/nominee.spec.ts#L88
Unexpected use of networkidle
|
E2E tests:
e2e/tests/ui-driven/src/invite-to-pay/nominee.spec.ts#L97
Unexpected use of networkidle
|
E2E tests:
e2e/tests/ui-driven/src/invite-to-pay/nominee.spec.ts#L132
Unexpected use of networkidle
|
Slow Test:
e2e/tests/ui-driven/[chromium] › create-flow.spec.ts#L1
e2e/tests/ui-driven/[chromium] › create-flow.spec.ts took 24.3s
|
Slow Test:
e2e/tests/ui-driven/[chromium] › create-flow-with-geospatial.spec.ts#L1
e2e/tests/ui-driven/[chromium] › create-flow-with-geospatial.spec.ts took 19.1s
|
🎭 Playwright Run Summary
21 passed (1.3m)
|