#1 [internal] load build definition from Dockerfile #1 DONE 0.0s #1 [internal] load build definition from Dockerfile #1 transferring dockerfile: 32B done #1 DONE 0.0s #2 [internal] load .dockerignore #2 transferring context: 2B done #2 DONE 0.0s #3 [internal] load metadata for docker.io/library/node:18.7.0-alpine #3 DONE 0.4s #4 [1/7] FROM docker.io/library/node:18.7.0-alpine@sha256:02a5466bd5abde6cde29c16d83e2f5a10eec11c8dcefa667a2c9f88a7fa8b0b3 #4 DONE 0.0s #5 [internal] load build context #5 transferring context: 114.55kB 0.1s done #5 DONE 0.1s #6 [2/7] WORKDIR /app/tests-js #6 CACHED #7 [3/7] COPY tests-js/package.json /app/tests-js/package.json #7 CACHED #8 [4/7] RUN yarn install #8 CACHED #9 [5/7] WORKDIR /app #9 CACHED #10 [6/7] COPY . /app #10 DONE 0.3s #11 [7/7] WORKDIR /app/tests-js #11 DONE 0.1s #12 exporting to image #12 exporting layers #12 exporting layers 0.3s done #12 writing image sha256:e98eadc0bbdc0809fd2540b1652f250264f2166575be3b9f18890d722b653ded done #12 naming to docker.io/library/docker_soar_js_test done #12 DONE 0.3s Attaching to soar_js_test soar_js_test | yarn run v1.22.19 soar_js_test | warning package.json: No license field soar_js_test | $ jest soar_js_test | console.log soar_js_test | examples [ soar_js_test | '/app/examples/hydrosurv_adapter/platform_status.json', soar_js_test | '/app/examples/hydrosurv_adapter/mission_plan.json', soar_js_test | '/app/examples/hydrosurv_adapter/acknowledgement.json', soar_js_test | '/app/examples/gui_adapter/planning_configuration.json', soar_js_test | '/app/examples/gui_adapter/emergency_mission_plan.json', soar_js_test | '/app/examples/gui_adapter/emergency_mission_command.json', soar_js_test | '/app/examples/ecosub_adapter/platform_status.json', soar_js_test | '/app/examples/ecosub_adapter/platform_status-from_usbl_example.json', soar_js_test | '/app/examples/ecosub_adapter/observation_encoded.json', soar_js_test | '/app/examples/ecosub_adapter/observation.json', soar_js_test | '/app/examples/ecosub_adapter/mission_plan.json', soar_js_test | '/app/examples/autonomy_engine_adapter/platform_status_encoded.json', soar_js_test | '/app/examples/autonomy_engine_adapter/platform_status.json', soar_js_test | '/app/examples/autonomy_engine_adapter/platform_status-from_usbl_example.json', soar_js_test | '/app/examples/autonomy_engine_adapter/planning_configuration.json', soar_js_test | '/app/examples/autonomy_engine_adapter/observation_encoded.json', soar_js_test | '/app/examples/autonomy_engine_adapter/mission_plan_encoded.json', soar_js_test | '/app/examples/autonomy_engine_adapter/mission_plan_HYDROSURV.json', soar_js_test | '/app/examples/autonomy_engine_adapter/mission_plan_ECOSUB.json', soar_js_test | '/app/examples/autonomy_engine_adapter/mission_plan_AH1.json', soar_js_test | '/app/examples/autonomy_engine_adapter/emergency_mission_plan.json', soar_js_test | '/app/examples/autonomy_engine_adapter/emergency_mission_command.json', soar_js_test | '/app/examples/autonomy_engine_adapter/acknowledgement.json' soar_js_test | ] soar_js_test | soar_js_test | at soar-examples.test.js:42:11 soar_js_test | soar_js_test | console.log soar_js_test | validation: /app/examples/ecosub_adapter/observation_encoded.json [ soar_js_test | undefined, soar_js_test | 'payload is not a valid target for a oneOf {"$ref":"#/components/schemas/acknowledgement"}', soar_js_test | undefined, soar_js_test | 'payload is not a valid target for a oneOf {"$ref":"#/components/schemas/mission_plan"}', soar_js_test | undefined, soar_js_test | 'payload is not a valid target for a oneOf {"$ref":"#/components/schemas/mission_plan_encoded"}', soar_js_test | undefined, soar_js_test | 'payload is not a valid target for a oneOf {"$ref":"#/components/schemas/observation"}', soar_js_test | undefined, soar_js_test | 'payload is not a valid target for a oneOf {"$ref":"#/components/schemas/observation_encoded"}', soar_js_test | undefined, soar_js_test | 'payload is not a valid target for a oneOf {"$ref":"#/components/schemas/planning_configuration"}', soar_js_test | undefined, soar_js_test | 'payload is not a valid target for a oneOf {"$ref":"#/components/schemas/platform_status"}', soar_js_test | undefined, soar_js_test | 'payload is not a valid target for a oneOf {"$ref":"#/components/schemas/platform_status_encoded"}' soar_js_test | ] soar_js_test | soar_js_test | at Object.<anonymous> (soar-examples.test.js:49:17) soar_js_test | soar_js_test | console.log soar_js_test | payload observation_encoded [ soar_js_test | 'message_type must be one of the following: platform_status_encoded' soar_js_test | ] soar_js_test | soar_js_test | at Object.<anonymous> (soar-examples.test.js:52:19) soar_js_test | soar_js_test | console.log soar_js_test | validation: /app/examples/autonomy_engine_adapter/platform_status_encoded.json [ 'payloadmatches more than one entry in a oneOf.' ] soar_js_test | soar_js_test | at Object.<anonymous> (soar-examples.test.js:49:17) soar_js_test | soar_js_test | console.log soar_js_test | validation: /app/examples/autonomy_engine_adapter/observation_encoded.json [ soar_js_test | undefined, soar_js_test | 'payload is not a valid target for a oneOf {"$ref":"#/components/schemas/acknowledgement"}', soar_js_test | undefined, soar_js_test | 'payload is not a valid target for a oneOf {"$ref":"#/components/schemas/mission_plan"}', soar_js_test | undefined, soar_js_test | 'payload is not a valid target for a oneOf {"$ref":"#/components/schemas/mission_plan_encoded"}', soar_js_test | undefined, soar_js_test | 'payload is not a valid target for a oneOf {"$ref":"#/components/schemas/observation"}', soar_js_test | undefined, soar_js_test | 'payload is not a valid target for a oneOf {"$ref":"#/components/schemas/observation_encoded"}', soar_js_test | undefined, soar_js_test | 'payload is not a valid target for a oneOf {"$ref":"#/components/schemas/planning_configuration"}', soar_js_test | undefined, soar_js_test | 'payload is not a valid target for a oneOf {"$ref":"#/components/schemas/platform_status"}', soar_js_test | undefined, soar_js_test | 'payload is not a valid target for a oneOf {"$ref":"#/components/schemas/platform_status_encoded"}' soar_js_test | ] soar_js_test | soar_js_test | at Object.<anonymous> (soar-examples.test.js:49:17) soar_js_test | soar_js_test | console.log soar_js_test | payload observation_encoded [ soar_js_test | 'message_type must be one of the following: platform_status_encoded' soar_js_test | ] soar_js_test | soar_js_test | at Object.<anonymous> (soar-examples.test.js:52:19) soar_js_test | soar_js_test | console.log soar_js_test | validation: /app/examples/autonomy_engine_adapter/mission_plan_encoded.json [ soar_js_test | undefined, soar_js_test | 'payload is not a valid target for a oneOf {"$ref":"#/components/schemas/acknowledgement"}', soar_js_test | undefined, soar_js_test | 'payload is not a valid target for a oneOf {"$ref":"#/components/schemas/mission_plan"}', soar_js_test | undefined, soar_js_test | 'payload is not a valid target for a oneOf {"$ref":"#/components/schemas/mission_plan_encoded"}', soar_js_test | undefined, soar_js_test | 'payload is not a valid target for a oneOf {"$ref":"#/components/schemas/observation"}', soar_js_test | undefined, soar_js_test | 'payload is not a valid target for a oneOf {"$ref":"#/components/schemas/observation_encoded"}', soar_js_test | undefined, soar_js_test | 'payload is not a valid target for a oneOf {"$ref":"#/components/schemas/planning_configuration"}', soar_js_test | undefined, soar_js_test | 'payload is not a valid target for a oneOf {"$ref":"#/components/schemas/platform_status"}', soar_js_test | undefined, soar_js_test | 'payload is not a valid target for a oneOf {"$ref":"#/components/schemas/platform_status_encoded"}' soar_js_test | ] soar_js_test | soar_js_test | at Object.<anonymous> (soar-examples.test.js:49:17) soar_js_test | soar_js_test | console.log soar_js_test | payload mission_plan_encoded [ soar_js_test | 'message_type must be one of the following: platform_status_encoded' soar_js_test | ] soar_js_test | soar_js_test | at Object.<anonymous> (soar-examples.test.js:52:19) soar_js_test | soar_js_test | FAIL ./soar-examples.test.js soar_js_test | ✓ schema validates (384 ms) soar_js_test | examples validate soar_js_test | ✓ validate /app/examples/hydrosurv_adapter/platform_status.json (8 ms) soar_js_test | ✓ validate /app/examples/hydrosurv_adapter/mission_plan.json (5 ms) soar_js_test | ✓ validate /app/examples/hydrosurv_adapter/acknowledgement.json (3 ms) soar_js_test | ✓ validate /app/examples/gui_adapter/planning_configuration.json (4 ms) soar_js_test | ✓ validate /app/examples/gui_adapter/emergency_mission_plan.json (3 ms) soar_js_test | ✓ validate /app/examples/gui_adapter/emergency_mission_command.json (4 ms) soar_js_test | ✓ validate /app/examples/ecosub_adapter/platform_status.json (4 ms) soar_js_test | ✓ validate /app/examples/ecosub_adapter/platform_status-from_usbl_example.json (3 ms) soar_js_test | ✕ validate /app/examples/ecosub_adapter/observation_encoded.json (14 ms) soar_js_test | ✓ validate /app/examples/ecosub_adapter/observation.json (3 ms) soar_js_test | ✓ validate /app/examples/ecosub_adapter/mission_plan.json (2 ms) soar_js_test | ✕ validate /app/examples/autonomy_engine_adapter/platform_status_encoded.json (6 ms) soar_js_test | ✓ validate /app/examples/autonomy_engine_adapter/platform_status.json (2 ms) soar_js_test | ✓ validate /app/examples/autonomy_engine_adapter/platform_status-from_usbl_example.json (2 ms) soar_js_test | ✓ validate /app/examples/autonomy_engine_adapter/planning_configuration.json (3 ms) soar_js_test | ✕ validate /app/examples/autonomy_engine_adapter/observation_encoded.json (8 ms) soar_js_test | ✕ validate /app/examples/autonomy_engine_adapter/mission_plan_encoded.json (8 ms) soar_js_test | ✓ validate /app/examples/autonomy_engine_adapter/mission_plan_HYDROSURV.json (2 ms) soar_js_test | ✓ validate /app/examples/autonomy_engine_adapter/mission_plan_ECOSUB.json (2 ms) soar_js_test | ✓ validate /app/examples/autonomy_engine_adapter/mission_plan_AH1.json (2 ms) soar_js_test | ✓ validate /app/examples/autonomy_engine_adapter/emergency_mission_plan.json (3 ms) soar_js_test | ✓ validate /app/examples/autonomy_engine_adapter/emergency_mission_command.json (2 ms) soar_js_test | ✓ validate /app/examples/autonomy_engine_adapter/acknowledgement.json (6 ms) soar_js_test | soar_js_test | ● examples validate › validate /app/examples/ecosub_adapter/observation_encoded.json soar_js_test | soar_js_test | expect(received).toBe(expected) // Object.is equality soar_js_test | soar_js_test | Expected: true soar_js_test | Received: false soar_js_test | soar_js_test | 53 | } soar_js_test | 54 | } soar_js_test | > 55 | expect(valid).toBe(true); soar_js_test | | ^ soar_js_test | 56 | }); soar_js_test | 57 | }); soar_js_test | 58 | }); soar_js_test | soar_js_test | at Object.<anonymous> (soar-examples.test.js:55:21) soar_js_test | soar_js_test | ● examples validate › validate /app/examples/autonomy_engine_adapter/platform_status_encoded.json soar_js_test | soar_js_test | expect(received).toBe(expected) // Object.is equality soar_js_test | soar_js_test | Expected: true soar_js_test | Received: false soar_js_test | soar_js_test | 53 | } soar_js_test | 54 | } soar_js_test | > 55 | expect(valid).toBe(true); soar_js_test | | ^ soar_js_test | 56 | }); soar_js_test | 57 | }); soar_js_test | 58 | }); soar_js_test | soar_js_test | at Object.<anonymous> (soar-examples.test.js:55:21) soar_js_test | soar_js_test | ● examples validate › validate /app/examples/autonomy_engine_adapter/observation_encoded.json soar_js_test | soar_js_test | expect(received).toBe(expected) // Object.is equality soar_js_test | soar_js_test | Expected: true soar_js_test | Received: false soar_js_test | soar_js_test | 53 | } soar_js_test | 54 | } soar_js_test | > 55 | expect(valid).toBe(true); soar_js_test | | ^ soar_js_test | 56 | }); soar_js_test | 57 | }); soar_js_test | 58 | }); soar_js_test | soar_js_test | at Object.<anonymous> (soar-examples.test.js:55:21) soar_js_test | soar_js_test | ● examples validate › validate /app/examples/autonomy_engine_adapter/mission_plan_encoded.json soar_js_test | soar_js_test | expect(received).toBe(expected) // Object.is equality soar_js_test | soar_js_test | Expected: true soar_js_test | Received: false soar_js_test | soar_js_test | 53 | } soar_js_test | 54 | } soar_js_test | > 55 | expect(valid).toBe(true); soar_js_test | | ^ soar_js_test | 56 | }); soar_js_test | 57 | }); soar_js_test | 58 | }); soar_js_test | soar_js_test | at Object.<anonymous> (soar-examples.test.js:55:21) soar_js_test | soar_js_test | Test Suites: 1 failed, 1 total soar_js_test | Tests: 4 failed, 20 passed, 24 total soar_js_test | Snapshots: 0 total soar_js_test | Time: 1.405 s soar_js_test | Ran all test suites. soar_js_test | error Command failed with exit code 1. soar_js_test | info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. soar_js_test exited with code 1