Skip to content

New errors structure #558

New errors structure

New errors structure #558

Triggered via pull request January 19, 2024 09:00
Status Failure
Total duration 1m 43s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

ci.yml

on: pull_request
Matrix: Build and unit-test on supported platforms and NodeJS versions
Fit to window
Zoom out
Zoom in

Annotations

15 errors
Task Service › should process new task in queue: tests/mock/utils/logger.ts#L25
expect(received).toContainEqual(expected) // deep equality Expected value: {"ctx": {"id": Anything}, "msg": "Activity destroyed"} Received array: [{"ctx": undefined, "msg": "Task Service has started"}, {"ctx": {"taskId": "1"}, "msg": "Starting task"}, {"ctx": {"id": "dd2d9d17-1f40-41e5-90e6-0f597f614d7e"}, "msg": "Activity created"}, {"ctx": {"providerName": "Test Provider", "taskId": "1"}, "msg": "Task sent to provider"}, {"ctx": undefined, "msg": "Script sent. Batch ID: 07803abb-0536-48df-9254-7b93be2f3d42"}, {"ctx": undefined, "msg": "Starting to poll for batch results"}, {"ctx": undefined, "msg": "Polling for batch script execution result"}, {"ctx": undefined, "msg": "Trying to poll for batch execution results from yagna"}, {"ctx": {"results": [{"data": undefined, "eventDate": "2024-01-19T09:01:21.844Z", "index": 0, "isBatchFinished": true, "message": "", "result": "Ok", "stderr": "", "stdout": "some_shell_results"}]}, "msg": "Received batch execution results"}, {"ctx": {"command": "some_shell_command", "provider": "Test Provider"}, "msg": "Running command"}, …] at LoggerMock.expectToInclude (../mock/utils/logger.ts:25:31) at Object.<anonymous> (tasks_service.test.ts:37:5)
Network Service › Nodes › should add node to network: tests/mock/utils/logger.ts#L25
expect(received).toContainEqual(expected) // deep equality Expected value: {"ctx": {"id": "provider_2", "ip": "192.168.0.2"}, "msg": "Node has added to the network."} Received array: [{"ctx": undefined, "msg": "Node has added to the network. ID: test_owner_id, IP: 192.168.0.1"}, {"ctx": {"id": "22704a1a-a7a3-40e0-bed2-aed2e96dfd7a", "ip": "192.168.0.0", "mask": "255.255.255.0"}, "msg": "Network created"}, {"ctx": undefined, "msg": "Network Service has started"}, {"ctx": undefined, "msg": "Node has added to the network. ID: provider_2, IP: 192.168.0.2"}] at LoggerMock.expectToInclude (../mock/utils/logger.ts:25:31) at Object.<anonymous> (network_service.test.ts:33:7)
Build and unit-test on supported platforms and NodeJS versions (20.10.x, ubuntu-latest)
The job was canceled because "_18_19_x_ubuntu-latest" failed.
Task Service › should process new task in queue: tests/mock/utils/logger.ts#L25
expect(received).toContainEqual(expected) // deep equality Expected value: {"ctx": {"id": Anything}, "msg": "Activity destroyed"} Received array: [{"ctx": undefined, "msg": "Task Service has started"}, {"ctx": {"taskId": "1"}, "msg": "Starting task"}, {"ctx": {"id": "bcf0cf06-d149-411d-9d11-7fb5e25f2f65"}, "msg": "Activity created"}, {"ctx": {"providerName": "Test Provider", "taskId": "1"}, "msg": "Task sent to provider"}, {"ctx": undefined, "msg": "Script sent. Batch ID: 78c56d58-12d7-487e-9129-6014f13e45dc"}, {"ctx": undefined, "msg": "Starting to poll for batch results"}, {"ctx": undefined, "msg": "Polling for batch script execution result"}, {"ctx": undefined, "msg": "Trying to poll for batch execution results from yagna"}, {"ctx": {"results": [{"data": undefined, "eventDate": "2024-01-19T09:01:24.534Z", "index": 0, "isBatchFinished": true, "message": "", "result": "Ok", "stderr": "", "stdout": "some_shell_results"}]}, "msg": "Received batch execution results"}, {"ctx": {"command": "some_shell_command", "provider": "Test Provider"}, "msg": "Running command"}, …] at LoggerMock.expectToInclude (../mock/utils/logger.ts:25:31) at Object.<anonymous> (tasks_service.test.ts:37:5)
Network Service › Nodes › should add node to network: tests/mock/utils/logger.ts#L25
expect(received).toContainEqual(expected) // deep equality Expected value: {"ctx": {"id": "provider_2", "ip": "192.168.0.2"}, "msg": "Node has added to the network."} Received array: [{"ctx": undefined, "msg": "Node has added to the network. ID: test_owner_id, IP: 192.168.0.1"}, {"ctx": {"id": "3e9db0d7-03bb-4e84-935a-af7708c4ca20", "ip": "192.168.0.0", "mask": "255.255.255.0"}, "msg": "Network created"}, {"ctx": undefined, "msg": "Network Service has started"}, {"ctx": undefined, "msg": "Node has added to the network. ID: provider_2, IP: 192.168.0.2"}] at LoggerMock.expectToInclude (../mock/utils/logger.ts:25:31) at Object.<anonymous> (network_service.test.ts:33:7)
Build and unit-test on supported platforms and NodeJS versions (18.19.x, windows-latest)
The job was canceled because "_18_19_x_ubuntu-latest" failed.
Build and unit-test on supported platforms and NodeJS versions (20.10.x, windows-latest)
The job was canceled because "_18_19_x_ubuntu-latest" failed.
Build and unit-test on supported platforms and NodeJS versions (18.19.x, macos-latest)
The job was canceled because "_18_19_x_ubuntu-latest" failed.
Build and unit-test on supported platforms and NodeJS versions (20.10.x, macos-latest)
The job was canceled because "_18_19_x_ubuntu-latest" failed.