Skip to content

revert

revert #8925

Triggered via push December 9, 2024 21:56
Status Failure
Total duration 31m 25s
Artifacts

deploy.yml

on: push
Configure
0s
Configure
Matrix: A11y Tests
Matrix: Cypress Tests
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 4 warnings
Unit Test: services/app-api/notification/createUserNotifications.test.js#L25
Error: expect(received).toEqual(expected) // deep equality Expected: {"body": {"insertedCount": 0, "message": "No active user-targeted system notifications to sync."}, "statusCode": 200} Received: undefined at Object.<anonymous> (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/notification/createUserNotifications.test.js:25:20)
Unit Test: services/app-api/notification/createUserNotifications.test.js#L53
Error: expect(received).toEqual(expected) // deep equality Expected: {"body": {"insertedCount": 1, "message": "User notifications synced successfully."}, "statusCode": 200} Received: undefined at Object.<anonymous> (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/notification/createUserNotifications.test.js:53:20)
Unit Test: services/app-api/notification/createUserNotifications.test.js#L81
Error: expect(received).toEqual(expected) // deep equality Expected: {"body": {"insertedCount": 0, "message": "User notifications synced successfully."}, "statusCode": 200} Received: undefined at Object.<anonymous> (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/notification/createUserNotifications.test.js:81:20)
Unit Test: services/app-api/notification/createUserNotifications.test.js#L204
Error: expect(received).rejects.toThrow() Matcher error: received value must be a promise or a function returning a promise Received has value: undefined at Object.toThrow (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/node_modules/expect/build/index.js:204:13) at Object.<anonymous> (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/notification/createUserNotifications.test.js:93:63) at Promise.then.completed (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/node_modules/jest-circus/build/run.js:316:40) at _runTest (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/node_modules/jest-runner/build/runTest.js:444:34)
Unit Test: services/app-api/utils/actionDelegate.test.js#L87
Error: expect(received).toEqual(expected) // deep equality - Expected - 0 + Received + 1 Array [ "Withdraw Package", + "Upload Subsequent Documents", "Withdraw Formal RAI Response", ] at Object.<anonymous> (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/utils/actionDelegate.test.js:87:21) at Promise.then.completed (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/node_modules/jest-circus/build/run.js:316:40) at _runTest (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/node_modules/jest-runner/build/runTest.js:444:34)
Unit Test: services/app-api/notification/getActiveUserNotifications.test.js#L174
Error: expect(received).resolves.toStrictEqual(expected) // deep equality Expected: {"body": [{"dismissed": false, "header": "User Notification 1", "pk": "USER#12345", "sk": "NOTIFICATION#1"}, {"dismissed": false, "header": "User Notification 2", "pk": "USER#12345", "sk": "NOTIFICATION#2"}], "statusCode": 200} Received: [{"dismissed": false, "header": "User Notification 1", "pk": "USER#12345", "sk": "NOTIFICATION#1"}, {"dismissed": false, "header": "User Notification 2", "pk": "USER#12345", "sk": "NOTIFICATION#2"}] at Object.toStrictEqual (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/node_modules/expect/build/index.js:174:22) at Object.<anonymous> (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/notification/getActiveUserNotifications.test.js:41:97) at Promise.then.completed (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/node_modules/jest-circus/build/run.js:316:40) at _runTest (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/node_modules/jest-runner/build/runTest.js:444:34)
Unit Test: services/app-api/notification/getActiveUserNotifications.test.js#L174
Error: expect(received).resolves.toStrictEqual(expected) // deep equality Expected: {"body": [], "statusCode": 200} Received: [] at Object.toStrictEqual (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/node_modules/expect/build/index.js:174:22) at Object.<anonymous> (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/notification/getActiveUserNotifications.test.js:50:97) at Promise.then.completed (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/node_modules/jest-circus/build/run.js:316:40) at _runTest (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/node_modules/jest-runner/build/runTest.js:444:34)
Unit Test: services/app-api/form/submitWaiverExtensionT.test.js#L80
Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 1 @@ -1,7 +1,7 @@ Object { - "body": "{\"error\":\"Unexpected token i in JSON at position 0\"}", + "body": "{\"error\":\"Unexpected token 'i', \\\"invalidJson\\\" is not valid JSON\"}", "headers": Object { "Access-Control-Allow-Credentials": true, "Access-Control-Allow-Origin": "*", }, "statusCode": 500, at Object.<anonymous> (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/form/submitWaiverExtensionT.test.js:80:18)
Unit Test: services/app-api/notification/getActiveSystemNotifications.test.js#L1
Error: expect(received).resolves.toStrictEqual(expected) // deep equality Expected: {"body": [{"GSI1pk": "SYSTEM", "GSI1sk": "2024-01-01T00:00:00Z#2025-01-01T00:00:00Z", "header": "System Notification 1"}, {"GSI1pk": "SYSTEM", "GSI1sk": "2024-06-01T00:00:00Z#2025-06-01T00:00:00Z", "header": "System Notification 2"}], "statusCode": "200"} Received: [{"GSI1pk": "SYSTEM", "GSI1sk": "2024-01-01T00:00:00Z#2025-01-01T00:00:00Z", "header": "System Notification 1"}, {"GSI1pk": "SYSTEM", "GSI1sk": "2024-06-01T00:00:00Z#2025-06-01T00:00:00Z", "header": "System Notification 2"}] at Object.toStrictEqual (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/node_modules/expect/build/index.js:174:22) at Object.<anonymous> (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/notification/getActiveSystemNotifications.test.js:38:94) at Promise.then.completed (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/node_modules/jest-circus/build/run.js:316:40) at _runTest (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/node_modules/jest-runner/build/runTest.js:444:34)
Unit Test: services/app-api/notification/getActiveSystemNotifications.test.js#L174
Error: expect(received).resolves.toStrictEqual(expected) // deep equality Expected: {"body": [], "statusCode": "200"} Received: [] at Object.toStrictEqual (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/node_modules/expect/build/index.js:174:22) at Object.<anonymous> (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/notification/getActiveSystemNotifications.test.js:48:94) at Promise.then.completed (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/node_modules/jest-circus/build/run.js:316:40) at _runTest (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/home/runner/work/macpro-onemac/macpro-onemac/services/app-api/node_modules/jest-runner/build/runTest.js:444:34)
Deploy
Process completed with exit code 1.
Lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Unit Test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Deploy
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Deploy
Skip setting environment url as environment 'pentest' may contain secret.