Refactor etag #191
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
ci.yaml
on: pull_request_target
Sensitive jobs are safe to be run
4s
Sensitive jobs aren't labeled safe to be run
0s
Mark integration test as not run
5s
Matrix: Deploy to Kubernetes
Ready for merging
2s
Report if workflow failed
3s
Annotations
14 errors and 29 warnings
Build Docker container
Process completed with exit code 254.
|
handleWorkRequest > Throws when an old timeout is encountered.:
tests/api.v2/events/validateAndSubmitWork.test.js#L21
Error: expect(received).toMatch(expected)
Expected pattern: /^Request timed out at/
Received string: "Cannot destructure property 'experimentId' of '((cov_2rad0nxqb3(...).s[10]++) , data)' as it is undefined."
at Object.<anonymous> (/home/runner/work/api/api/tests/api.v2/events/validateAndSubmitWork.test.js:37:25)
|
handleWorkRequest > Throws when type isnt valid.:
tests/api.v2/events/validateAndSubmitWork.test.js#L43
Error: expect(received).toMatch(expected)
Expected pattern: /^Error: type does not match the pattern/
Received string: "Cannot destructure property 'experimentId' of '((cov_2rad0nxqb3(...).s[10]++) , data)' as it is undefined."
at Object.<anonymous> (/home/runner/work/api/api/tests/api.v2/events/validateAndSubmitWork.test.js:59:25)
|
handleWorkRequest > Throws when an invalid distanceMetric in getEmbedding is encountered.:
tests/api.v2/events/validateAndSubmitWork.test.js#L65
Error: expect(received).toMatch(expected)
Expected pattern: /^Error: distanceMetric must be one of the following:/
Received string: "Cannot destructure property 'experimentId' of '((cov_2rad0nxqb3(...).s[10]++) , data)' as it is undefined."
at Object.<anonymous> (/home/runner/work/api/api/tests/api.v2/events/validateAndSubmitWork.test.js:81:25)
|
handleWorkRequest > Throws when an invalid minimumDistance in getEmbedding is encountered.:
tests/api.v2/events/validateAndSubmitWork.test.js#L87
Error: expect(received).toMatch(expected)
Expected pattern: /^Error: minimumDistance must be at least 0/
Received string: "Cannot destructure property 'experimentId' of '((cov_2rad0nxqb3(...).s[10]++) , data)' as it is undefined."
at Object.<anonymous> (/home/runner/work/api/api/tests/api.v2/events/validateAndSubmitWork.test.js:103:25)
|
handleWorkRequest > Throws when there is a missing config property.:
tests/api.v2/events/validateAndSubmitWork.test.js#L109
Error: expect(received).toMatch(expected)
Expected pattern: /^Error: minimumDistance is a required field/
Received string: "Cannot destructure property 'experimentId' of '((cov_2rad0nxqb3(...).s[10]++) , data)' as it is undefined."
at Object.<anonymous> (/home/runner/work/api/api/tests/api.v2/events/validateAndSubmitWork.test.js:125:25)
|
handleWorkRequest > Throws if pipeline is not yet done or have failed:
tests/api.v2/events/validateAndSubmitWork.test.js#L131
Error: expect(received).toMatch(expected)
Expected substring: "Work request can not be handled because pipeline is RUNNING"
Received string: "Cannot destructure property 'experimentId' of '((cov_2rad0nxqb3(...).s[10]++) , data)' as it is undefined."
at Object.<anonymous> (/home/runner/work/api/api/tests/api.v2/events/validateAndSubmitWork.test.js:154:25)
|
handleWorkRequest > Submits work request when correct request and and pipeline status are present:
tests/api.v2/events/validateAndSubmitWork.test.js#L160
TypeError: Cannot destructure property 'experimentId' of '((cov_2rad0nxqb3(...).s[10]++) , data)' as it is undefined.
at validateAndSubmitWork (/home/runner/work/api/api/src/api.v2/events/validateAndSubmitWork.js:13:11)
at Object.<anonymous> (/home/runner/work/api/api/tests/api.v2/events/validateAndSubmitWork.test.js:171:11)
at Object.asyncJestTest (/home/runner/work/api/api/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:106:37)
at /home/runner/work/api/api/node_modules/jest-jasmine2/build/queueRunner.js:45:12
at new Promise (<anonymous>)
at mapper (/home/runner/work/api/api/node_modules/jest-jasmine2/build/queueRunner.js:28:19)
at /home/runner/work/api/api/node_modules/jest-jasmine2/build/queueRunner.js:75:41
|
submitWorkEmbedding > submits the work and the ETag / params are correct:
tests/api.v2/helpers/worker/submitMarkerHeatmapWork.test.js#L50
TypeError: Cannot read property 'map' of undefined
at getExtraDependencies (/home/runner/work/api/api/src/api.v2/helpers/worker/workSubmit/getExtraDependencies.js:78:33)
at submitMarkerHeatmapWork (/home/runner/work/api/api/src/api.v2/helpers/worker/workSubmit/submitMarkerHeatmapWork.js:20:35)
at Object.<anonymous> (/home/runner/work/api/api/tests/api.v2/helpers/worker/submitMarkerHeatmapWork.test.js:51:24)
at Object.asyncJestTest (/home/runner/work/api/api/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:106:37)
at /home/runner/work/api/api/node_modules/jest-jasmine2/build/queueRunner.js:45:12
at new Promise (<anonymous>)
at mapper (/home/runner/work/api/api/node_modules/jest-jasmine2/build/queueRunner.js:28:19)
at /home/runner/work/api/api/node_modules/jest-jasmine2/build/queueRunner.js:75:41
|
Handle work socket callback > submits work:
tests/api.v2/events/handleWorkRequest.test.js#L23
TypeError: Cannot read property 'select' of undefined
at ExperimentExecution.find (/home/runner/work/api/api/src/api.v2/model/BasicModel.js:33:21)
at getPipelineStatus (/home/runner/work/api/api/src/api.v2/helpers/pipeline/getPipelineStatus.js:277:54)
at getExperimentBackendStatus (/home/runner/work/api/api/src/api.v2/helpers/backendStatus/getExperimentBackendStatus.js:8:7)
at generateETag (/home/runner/work/api/api/src/api.v2/helpers/worker/generateEtag.js:18:31)
at handleWorkRequest (/home/runner/work/api/api/src/api.v2/events/handleWorkRequest.js:32:22)
at Object.<anonymous> (/home/runner/work/api/api/tests/api.v2/events/handleWorkRequest.test.js:26:11)
at Object.asyncJestTest (/home/runner/work/api/api/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:106:37)
at /home/runner/work/api/api/node_modules/jest-jasmine2/build/queueRunner.js:45:12
at new Promise (<anonymous>)
at mapper (/home/runner/work/api/api/node_modules/jest-jasmine2/build/queueRunner.js:28:19)
at /home/runner/work/api/api/node_modules/jest-jasmine2/build/queueRunner.js:75:41
|
Handle work socket callback > If the worker fails, the API emits a work-response with error:
tests/api.v2/events/handleWorkRequest.test.js#L31
TypeError: Cannot read property 'select' of undefined
at ExperimentExecution.find (/home/runner/work/api/api/src/api.v2/model/BasicModel.js:33:21)
at getPipelineStatus (/home/runner/work/api/api/src/api.v2/helpers/pipeline/getPipelineStatus.js:277:54)
at getExperimentBackendStatus (/home/runner/work/api/api/src/api.v2/helpers/backendStatus/getExperimentBackendStatus.js:8:7)
at generateETag (/home/runner/work/api/api/src/api.v2/helpers/worker/generateEtag.js:18:31)
at handleWorkRequest (/home/runner/work/api/api/src/api.v2/events/handleWorkRequest.js:32:22)
at Object.<anonymous> (/home/runner/work/api/api/tests/api.v2/events/handleWorkRequest.test.js:34:11)
at Object.asyncJestTest (/home/runner/work/api/api/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:106:37)
at /home/runner/work/api/api/node_modules/jest-jasmine2/build/queueRunner.js:45:12
at new Promise (<anonymous>)
at mapper (/home/runner/work/api/api/node_modules/jest-jasmine2/build/queueRunner.js:28:19)
at /home/runner/work/api/api/node_modules/jest-jasmine2/build/queueRunner.js:75:41
|
Handle work socket callback > data without authorization also throws an error:
tests/api.v2/events/handleWorkRequest.test.js#L39
Error: Authentication token must be present.
at handleWorkRequest (/home/runner/work/api/api/src/api.v2/events/handleWorkRequest.js:28:11)
at Object.<anonymous> (/home/runner/work/api/api/tests/api.v2/events/handleWorkRequest.test.js:41:11)
at Object.asyncJestTest (/home/runner/work/api/api/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:106:37)
at /home/runner/work/api/api/node_modules/jest-jasmine2/build/queueRunner.js:45:12
at new Promise (<anonymous>)
at mapper (/home/runner/work/api/api/node_modules/jest-jasmine2/build/queueRunner.js:28:19)
at /home/runner/work/api/api/node_modules/jest-jasmine2/build/queueRunner.js:75:41
|
work routes tests > Get work request returns 200:
tests/api.v2/routes/work.test.js#L20
Error: expected 200 "OK", got 404 "Not Found"
at Test.Object.<anonymous>.Test._assertStatus (/home/runner/work/api/api/node_modules/supertest/lib/test.js:268:12)
at Test.Object.<anonymous>.Test._assertFunction (/home/runner/work/api/api/node_modules/supertest/lib/test.js:283:11)
at Test.Object.<anonymous>.Test.assert (/home/runner/work/api/api/node_modules/supertest/lib/test.js:173:18)
at Server.localAssert (/home/runner/work/api/api/node_modules/supertest/lib/test.js:131:12)
at Object.onceWrapper (events.js:519:28)
at Server.emit (events.js:400:28)
at Server.emit (domain.js:475:12)
at emitCloseNT (net.js:1677:8)
at processTicksAndRejections (internal/process/task_queues.js:81:21)
|
Run tests
Some jest tests failed.
|
Mark integration test as not run
The following actions uses node12 which is deprecated and will be forced to run on node16: tzkhan/pr-update-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Mark integration test as not run
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/
|
Mark integration test as not run
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/
|
Mark integration test as not run
No updates were made to PR title
|
Mark integration test as not run
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/
|
Mark integration test as not run
No updates were made to PR body
|
Build Docker container
The following actions uses node12 which is deprecated and will be forced to run on node16: aws-actions/configure-aws-credentials@v1, docker/build-push-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Build Docker container
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/
|
Build Docker container
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/
|
Build Docker container
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/
|
Build Docker container
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/
|
Build Docker container
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/
|
Build Docker container
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/
|
Build Docker container
Your docker password is not masked. See https://github.com/aws-actions/amazon-ecr-login#docker-credentials for more information.
|
Run tests
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v2, c-hive/gha-npm-cache@v1, mattallty/jest-github-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Run tests
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/
|
Run tests
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/
|
Run tests
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/
|
Run tests
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/
|
Deploy to Kubernetes (production)
The following actions uses node12 which is deprecated and will be forced to run on node16: aws-actions/configure-aws-credentials@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Deploy to Kubernetes (production)
Your docker password is not masked. See https://github.com/aws-actions/amazon-ecr-login#docker-credentials for more information.
|
Deploy to Kubernetes (production)
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/
|
Deploy to Kubernetes (staging)
The following actions uses node12 which is deprecated and will be forced to run on node16: aws-actions/configure-aws-credentials@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Deploy to Kubernetes (staging)
Your docker password is not masked. See https://github.com/aws-actions/amazon-ecr-login#docker-credentials for more information.
|
Deploy to Kubernetes (staging)
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/
|
Deploy to Kubernetes (develop)
The following actions uses node12 which is deprecated and will be forced to run on node16: aws-actions/configure-aws-credentials@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Deploy to Kubernetes (develop)
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/
|
Deploy to Kubernetes (develop)
Your docker password is not masked. See https://github.com/aws-actions/amazon-ecr-login#docker-credentials for more information.
|
Report if workflow failed
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/
|