Skip to content

Fix adding worker with mycelium to k8s #5483

Fix adding worker with mycelium to k8s

Fix adding worker with mycelium to k8s #5483

GitHub Actions / JEST Tests succeeded Dec 18, 2024 in 1s

98 passed, 11 failed and 4 skipped

Tests failed

❌ packages/grid_client/tests/test-reports/report.xml

113 tests were completed in 2698s with 98 passed, 11 failed and 4 skipped.

Test suite Passed Failed Skipped Time
algorand.test.ts 5✅ 2⚪ 4s
algorand.test.ts 1✅ 55s
capacity_planner.test.ts 7✅ 1❌ 11s
casperlabs.test.ts 1✅ 72s
compute_capacity.test.ts 6✅ 678ms
contracts.test.ts 5✅ 48s
currency.test.ts 18✅ 5s
discourse.test.ts 1⚪ 785ms
funkwhale.test.ts 1✅ 91s
gateways.test.ts 1❌ 258s
kubernetes.test.ts 3✅ 656s
kvstore.test.ts 1✅ 16s
mattermost.test.ts 1✅ 72s
nextcloud.test.ts 1✅ 78s
nodepilot.test.ts 1⚪ 738ms
peertube.test.ts 1✅ 71s
presearch.test.ts 1✅ 90s
qsfs.test.ts 2❌ 363s
query_to_string.test.ts 6✅ 326ms
root_fs.test.ts 2✅ 201ms
stellar.test.ts 7✅ 37s
subsquid.test.ts 1✅ 96s
taiga.test.ts 1✅ 150s
tfchain.test.ts 8✅ 173s
umbrel.test.ts 1✅ 102s
vm.test.ts 2✅ 2❌ 147s
volume.test.ts 3✅ 881ms
wordpress.test.ts 1✅ 72s
zdb.test.ts 1❌ 24s
zmachine.test.ts 12✅ 768ms
zmount.test.ts 2✅ 4❌ 700ms

✅ algorand.test.ts

 TC1247 - Algorand: Create Account
  ✅ TC1247 - Algorand: Create Account
 TC1248 - Algorand: Import Account
  ✅ TC1248 - Algorand: Import Account
 TC1249 - Algorand: Get Account
  ✅ TC1249 - Algorand: Get Account
 TC1250 - Algorand: Check if Account exists
  ✅ TC1250 - Algorand: Check if Account exists
 TC1251 - Algorand: List Accounts
  ✅ TC1251 - Algorand: List Accounts
 TC1252 - Algorand: Get Account assets
  ⚪ TC1252 - Algorand: Get Account assets
 TC1253 - Algorand: Get Account assets by address
  ⚪ TC1253 - Algorand: Get Account assets by address

✅ algorand.test.ts

 TC2727 - Applications: Deploy Algorand
  ✅ TC2727 - Applications: Deploy Algorand

❌ capacity_planner.test.ts

 TC1239 - Capacity Planner: Get Farms
  ✅ TC1239 - Capacity Planner: Get Farms
 TC1240 - Capacity Planner: Get All Farms
  ✅ TC1240 - Capacity Planner: Get All Farms
 TC1241 - Capacity Planner: Get Nodes
  ✅ TC1241 - Capacity Planner: Get Nodes
 TC1242 - Capacity Planner: Get All Nodes
  ✅ TC1242 - Capacity Planner: Get All Nodes
 TC1243 - Capacity Planner: Filter Nodes
  ❌ TC1243 - Capacity Planner: Filter Nodes
	Error: expect(received).toBeGreaterThanOrEqual(expected)
 TC1244 - Capacity Planner: Get Free Public IPs
  ✅ TC1244 - Capacity Planner: Get Free Public IPs
 TC1245 - Capacity Planner: Get Free Resources of a Specific Node
  ✅ TC1245 - Capacity Planner: Get Free Resources of a Specific Node
 TC1246 - Capacity Planner: Get Farm ID From Farm Name
  ✅ TC1246 - Capacity Planner: Get Farm ID From Farm Name

✅ casperlabs.test.ts

 TC2683 - Applications: Deploy Casperlabs
  ✅ TC2683 - Applications: Deploy Casperlabs

✅ compute_capacity.test.ts

Compute Capacity module Compute Capacity instance is of type ComputeCapacity.
  ✅ Compute Capacity module Compute Capacity instance is of type ComputeCapacity.
Compute Capacity module Min values for cpu & memory.
  ✅ Compute Capacity module Min values for cpu & memory.
Compute Capacity module Max values for cpu & memory.
  ✅ Compute Capacity module Max values for cpu & memory.
Compute Capacity module cpu & memory doesn't accept decimal values.
  ✅ Compute Capacity module cpu & memory doesn't accept decimal values.
Compute Capacity module cpu & memory empty values.
  ✅ Compute Capacity module cpu & memory empty values.
Compute Capacity module An error should be thrown if cpu & memory negative values.
  ✅ Compute Capacity module An error should be thrown if cpu & memory negative values.

✅ contracts.test.ts

 TC1269 - Contracts: Create Node Contract
  ✅ TC1269 - Contracts: Create Node Contract
 TC1270 - Contracts: Create Name Contract
  ✅ TC1270 - Contracts: Create Name Contract
 TC1271 - Contracts: Get Node Contract By Node ID & Contract Hash
  ✅ TC1271 - Contracts: Get Node Contract By Node ID & Contract Hash
 TC1272 - Contracts: Get Name Contract
  ✅ TC1272 - Contracts: Get Name Contract
 TC1273 - Contracts: Update Node Contract
  ✅ TC1273 - Contracts: Update Node Contract

✅ currency.test.ts

Testing TFT module tft module to be instance of TFTUSDConversionService
  ✅ Testing TFT module tft module to be instance of TFTUSDConversionService
Testing TFT module should return value with 2 decimals.
  ✅ Testing TFT module should return value with 2 decimals.
Testing TFT module should convert to the correct value based on tftPrice.
  ✅ Testing TFT module should convert to the correct value based on tftPrice.
Testing TFT module convertTFTtoUSD function to throw if passed a negative value.
  ✅ Testing TFT module convertTFTtoUSD function to throw if passed a negative value.
Testing TFT module convertUSDtoTFT function returns a valid value.
  ✅ Testing TFT module convertUSDtoTFT function returns a valid value.
Testing TFT module convertUSDtoTFT function to throw if passed a negative value.
  ✅ Testing TFT module convertUSDtoTFT function to throw if passed a negative value.
Testing TFT module dailyTFT function returns a valid value.
  ✅ Testing TFT module dailyTFT function returns a valid value.
Testing TFT module dailyTFT function throws if passed anything other than a positive value.
  ✅ Testing TFT module dailyTFT function throws if passed anything other than a positive value.
Testing TFT module monthlyTFT function returns a valid value.
  ✅ Testing TFT module monthlyTFT function returns a valid value.
Testing TFT module monthlyTFT function throws if passed anything other than a positive value.
  ✅ Testing TFT module monthlyTFT function throws if passed anything other than a positive value.
Testing TFT module yearlyTFT function returns a valid value.
  ✅ Testing TFT module yearlyTFT function returns a valid value.
Testing TFT module yearlyTFT function throws if passed anything other than a positive value.
  ✅ Testing TFT module yearlyTFT function throws if passed anything other than a positive value.
Testing TFT module dailyUSD function returns a valid value.
  ✅ Testing TFT module dailyUSD function returns a valid value.
Testing TFT module dailyUSD function throws if passed anything other than a positive value.
  ✅ Testing TFT module dailyUSD function throws if passed anything other than a positive value.
Testing TFT module monthlyUSD function returns a valid value.
  ✅ Testing TFT module monthlyUSD function returns a valid value.
Testing TFT module monthlyUSD function throws if passed anything other than a positive value.
  ✅ Testing TFT module monthlyUSD function throws if passed anything other than a positive value.
Testing TFT module yearlyUSD function returns a valid value.
  ✅ Testing TFT module yearlyUSD function returns a valid value.
Testing TFT module yearlyUSD function throws if passed anything other than a positive value.
  ✅ Testing TFT module yearlyUSD function throws if passed anything other than a positive value.

✅ discourse.test.ts

 TC2690 - Applications: Deploy Discourse
  ⚪ TC2690 - Applications: Deploy Discourse

✅ funkwhale.test.ts

 TC2685 - Applications: Deploy Funkwhale
  ✅ TC2685 - Applications: Deploy Funkwhale

❌ gateways.test.ts

 TC1237 - Gateways: Expose a VM Over Gateway
  ❌ TC1237 - Gateways: Expose a VM Over Gateway
	Error: Gateway is unreachable after multiple retries

✅ kubernetes.test.ts

 TC1231 - Kubernetes: Deploy a Kubernetes Cluster
  ✅ TC1231 - Kubernetes: Deploy a Kubernetes Cluster
 TC1232 - Kubernetes: Add Worker
  ✅ TC1232 - Kubernetes: Add Worker
 TC1233 - Kubernetes: Delete Worker
  ✅ TC1233 - Kubernetes: Delete Worker

✅ kvstore.test.ts

 TC1238 - KVStore: Use TFChain KVStore
  ✅ TC1238 - KVStore: Use TFChain KVStore

✅ mattermost.test.ts

 TC2689 - Applications: Deploy Mattermost
  ✅ TC2689 - Applications: Deploy Mattermost

✅ nextcloud.test.ts

 TC2692 - Applications: Deploy Nextcloud
  ✅ TC2692 - Applications: Deploy Nextcloud

✅ nodepilot.test.ts

 TC2701 - Applications: Deploy Nodepilot
  ⚪ TC2701 - Applications: Deploy Nodepilot

✅ peertube.test.ts

 TC2684 - Applications: Deploy Peertube
  ✅ TC2684 - Applications: Deploy Peertube

✅ presearch.test.ts

 TC2728 - Applications: Deploy Presearch
  ✅ TC2728 - Applications: Deploy Presearch

❌ qsfs.test.ts

 TC1234 - QSFS: Deploy QSFS underneath a VM
  ❌ TC1234 - QSFS: Deploy QSFS underneath a VM
	Error: thrown: "Exceeded timeout of 300000 ms for a test.
 TC1235 - QSFS: Deploy QSFS Underneath a Kubernetes Cluster
  ❌ TC1235 - QSFS: Deploy QSFS Underneath a Kubernetes Cluster
	Error: WorkloadDeployError: Failed to deploy zdb with name 5cc1pux51irc9982 on node 11 due to: failed to create zdb namespace: failed to connect to 0-db: fb45d10b-***: dial unix /var/run/zdb_fb45d10b-***/zdb.sock: connect: connection refused.

✅ query_to_string.test.ts

Convert object to query string should return an empty string when given an empty object
  ✅ Convert object to query string should return an empty string when given an empty object
Convert object to query string should correctly convert an object with string values to a query string
  ✅ Convert object to query string should correctly convert an object with string values to a query string
Convert object to query string should correctly convert an object with number values to a query string
  ✅ Convert object to query string should correctly convert an object with number values to a query string
Convert object to query string should correctly convert an object with mixed types of values to a query string
  ✅ Convert object to query string should correctly convert an object with mixed types of values to a query string
Convert object to query string should filter out undefined values from the object
  ✅ Convert object to query string should filter out undefined values from the object
Convert object to query string should filter out empty string values from the object
  ✅ Convert object to query string should filter out empty string values from the object

✅ root_fs.test.ts

Calculate the rootFS size based on the machine specs should return 2GB when the options are provided
  ✅ Calculate the rootFS size based on the machine specs should return 2GB when the options are provided
Calculate the rootFS size based on the machine specs should return 0.48828125 when CPU cores and RAM are zero
  ✅ Calculate the rootFS size based on the machine specs should return 0.48828125 when CPU cores and RAM are zero

✅ stellar.test.ts

 TC1254 - Stellar: Create Account
  ✅ TC1254 - Stellar: Create Account
 TC1255 - Stellar: Import Account
  ✅ TC1255 - Stellar: Import Account
 TC1256 - Stellar: Get Account
  ✅ TC1256 - Stellar: Get Account
 TC1257 - Stellar: Check if Account exists
  ✅ TC1257 - Stellar: Check if Account exists
 TC1258 - Stellar: List Accounts
  ✅ TC1258 - Stellar: List Accounts
 TC1259 - Stellar: Get Account assets
  ✅ TC1259 - Stellar: Get Account assets
 TC1260 - Stellar: Get Account assets by address
  ✅ TC1260 - Stellar: Get Account assets by address

✅ subsquid.test.ts

 TC2693 - Applications: Deploy Subsquid
  ✅ TC2693 - Applications: Deploy Subsquid

✅ taiga.test.ts

 TC2691 - Applications: Deploy Taiga
  ✅ TC2691 - Applications: Deploy Taiga

✅ tfchain.test.ts

 TC1261 - TFChain: Create Account
  ✅ TC1261 - TFChain: Create Account
 TC1262 - TFChain: Import Account
  ✅ TC1262 - TFChain: Import Account
 TC1263 - TFChain: Get Account
  ✅ TC1263 - TFChain: Get Account
 TC1264 - TFChain: Check if Account exists
  ✅ TC1264 - TFChain: Check if Account exists
 TC1265 - TFChain: List Accounts
  ✅ TC1265 - TFChain: List Accounts
 TC1266 - TFChain: Get Account assets
  ✅ TC1266 - TFChain: Get Account assets
 TC1267 - TFChain: Get Account assets by address
  ✅ TC1267 - TFChain: Get Account assets by address
 TC1268 - TFChain: Transfer TFTs
  ✅ TC1268 - TFChain: Transfer TFTs

✅ umbrel.test.ts

 TC2694 - Applications: Deploy Umbrel
  ✅ TC2694 - Applications: Deploy Umbrel

❌ vm.test.ts

 TC1228 - VM: Deploy a VM
  ✅ TC1228 - VM: Deploy a VM
 TC2847 - VM: Deploy a VM With Mycelium
  ❌ TC2847 - VM: Deploy a VM With Mycelium
	Error: connect ENETUNREACH 4bb:84d3:9d53:58c4:ff0f:0:200:2:22
 TC1229 - VM: Deploy a VM With a Disk
  ✅ TC1229 - VM: Deploy a VM With a Disk
 TC1230 - VM: Deploy Multiple VMs on Different Nodes
  ❌ TC1230 - VM: Deploy Multiple VMs on Different Nodes
	Error: WorkloadDeployError: Failed to deploy zmachine with name 3u75g3fp49bbqvm on node 177 due to: failed to satisfy required capacity: cannot fulfil required memory size 4254072832 bytes out of usable 3989655552 bytes.

✅ volume.test.ts

Test volume workload. volume should be type of Volume
  ✅ Test volume workload. volume should be type of Volume
Test volume workload. should fail if passed invalid size
  ✅ Test volume workload. should fail if passed invalid size
Test volume workload. should fail if volume was assigned to an invalid parsed obj
  ✅ Test volume workload. should fail if volume was assigned to an invalid parsed obj

✅ wordpress.test.ts

 TC2700 - Applications: Deploy Wordpress
  ✅ TC2700 - Applications: Deploy Wordpress

❌ zdb.test.ts

 TC1236 - ZDB: Deploy ZDBs
  ❌ TC1236 - ZDB: Deploy ZDBs
	Error: WorkloadDeployError: Failed to deploy zdb with name 7om4sep0omjuitg on node 11 due to: failed to create zdb namespace: failed to connect to 0-db: fb45d10b-***: dial unix /var/run/zdb_fb45d10b-***/zdb.sock: connect: connection refused.

✅ zmachine.test.ts

Zmachine Class Tests should create a valid Zmachine instance
  ✅ Zmachine Class Tests should create a valid Zmachine instance
Zmachine Class Tests should correctly serialize and deserialize a Zmachine instance
  ✅ Zmachine Class Tests should correctly serialize and deserialize a Zmachine instance
Zmachine Class Tests should correctly handle env vars
  ✅ Zmachine Class Tests should correctly handle env vars
Zmachine Class Tests should correctly compute the challenge string
  ✅ Zmachine Class Tests should correctly compute the challenge string
Zmachine Class Tests should correctly handle the gpu array
  ✅ Zmachine Class Tests should correctly handle the gpu array
Zmachine Class Tests should fail validation for entering invalid flist
  ✅ Zmachine Class Tests should fail validation for entering invalid flist
Zmachine Class Tests should fail validation for entering invalid entrypoint
  ✅ Zmachine Class Tests should fail validation for entering invalid entrypoint
Zmachine Class Tests should fail validation for entering invalid size
  ✅ Zmachine Class Tests should fail validation for entering invalid size
Zmachine Class Tests should throw error if network public_ip is invalid
  ✅ Zmachine Class Tests should throw error if network public_ip is invalid
Zmachine Class Tests should throw error if network interfaces values are invalid
  ✅ Zmachine Class Tests should throw error if network interfaces values are invalid
Zmachine Class Tests should throw an error if mount name is empty
  ✅ Zmachine Class Tests should throw an error if mount name is empty
Zmachine Class Tests should fail if zmachine is parsed to an invalid object
  ✅ Zmachine Class Tests should fail if zmachine is parsed to an invalid object

❌ zmount.test.ts

Zmount module Zmount instance is of type Zmount.
  ✅ Zmount module Zmount instance is of type Zmount.
Zmount module Min value for size.
  ❌ Zmount module Min value for size.
	Error: expect(received).toThrow()
Zmount module Max value for size.
  ❌ Zmount module Max value for size.
	Error: thrown: ValidationError {
Zmount module Size doesn't accept decimal value.
  ❌ Zmount module Size doesn't accept decimal value.
	Error: thrown: ValidationError {
Zmount module Size empty value.
  ✅ Zmount module Size empty value.
Zmount module Size negative value.
  ❌ Zmount module Size negative value.
	Error: thrown: ValidationError {

Annotations

Check failure on line 142 in packages/grid_client/tests/modules/capacity_planner.test.ts

See this annotation in the file changed.

@github-actions github-actions / JEST Tests

capacity_planner.test.ts ► TC1243 - Capacity Planner: Filter Nodes ► TC1243 - Capacity Planner: Filter Nodes

Failed test found in:
  packages/grid_client/tests/test-reports/report.xml
Error:
  Error: expect(received).toBeGreaterThanOrEqual(expected)
Raw output
Error: expect(received).toBeGreaterThanOrEqual(expected)

Expected: >= 10737418240
Received:    -18446735065488155000
    at Object.<anonymous> (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/packages/grid_client/tests/modules/capacity_planner.test.ts:142:80)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 67 in packages/grid_client/tests/modules/gateways.test.ts

See this annotation in the file changed.

@github-actions github-actions / JEST Tests

gateways.test.ts ► TC1237 - Gateways: Expose a VM Over Gateway ► TC1237 - Gateways: Expose a VM Over Gateway

Failed test found in:
  packages/grid_client/tests/test-reports/report.xml
Error:
  Error: Gateway is unreachable after multiple retries
Raw output
Error: Gateway is unreachable after multiple retries
    at testGateway (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/packages/grid_client/tests/modules/gateways.test.ts:67:11)
    at Object.<anonymous> (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/packages/grid_client/tests/modules/gateways.test.ts:247:3)

Check failure on line 29 in packages/grid_client/tests/modules/qsfs.test.ts

See this annotation in the file changed.

@github-actions github-actions / JEST Tests

qsfs.test.ts ► TC1234 - QSFS: Deploy QSFS underneath a VM ► TC1234 - QSFS: Deploy QSFS underneath a VM

Failed test found in:
  packages/grid_client/tests/test-reports/report.xml
Error:
  Error: thrown: "Exceeded timeout of 300000 ms for a test.
Raw output
Error: thrown: "Exceeded timeout of 300000 ms for a test.
Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."
    at Object.<anonymous> (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/packages/grid_client/tests/modules/qsfs.test.ts:29:1)
    at Runtime._execModule (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/node_modules/jest-runtime/build/index.js:1429:24)
    at Runtime._loadModule (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/node_modules/jest-runtime/build/index.js:1013:12)
    at Runtime.requireModule (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/node_modules/jest-runtime/build/index.js:873:12)
    at jestAdapter (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/node_modules/@jest/core/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13)
    at runTestInternal (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/node_modules/jest-runner/build/runTest.js:444:34)

Check failure on line 82 in packages/grid_client/src/high_level/twinDeploymentHandler.ts

See this annotation in the file changed.

@github-actions github-actions / JEST Tests

qsfs.test.ts ► TC1235 - QSFS: Deploy QSFS Underneath a Kubernetes Cluster ► TC1235 - QSFS: Deploy QSFS Underneath a Kubernetes Cluster

Failed test found in:
  packages/grid_client/tests/test-reports/report.xml
Error:
  Error: WorkloadDeployError: Failed to deploy zdb with name 5cc1pux51irc9982 on node 11 due to: failed to create zdb namespace: failed to connect to 0-db: fb45d10b-***: dial unix /var/run/zdb_fb45d10b-***/zdb.sock: connect: connection refused.
Raw output
Error: WorkloadDeployError: Failed to deploy zdb with name 5cc1pux51irc9982 on node 11 due to: failed to create zdb namespace: failed to connect to 0-db: fb45d10b-***: dial unix /var/run/zdb_fb45d10b-***/zdb.sock: connect: connection refused.
    at TwinDeploymentHandler.checkWorkload (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/packages/grid_client/src/high_level/twinDeploymentHandler.ts:82:13)
    at TwinDeploymentHandler.checkWorkload [as waitForDeployment] (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/packages/grid_client/src/high_level/twinDeploymentHandler.ts:109:22)
    at async Promise.all (index 0)
    at TwinDeploymentHandler.handle (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/packages/grid_client/src/high_level/twinDeploymentHandler.ts:602:7)
    at QSFSZdbsModule.deploy (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/packages/grid_client/src/modules/qsfs_zdbs.ts:97:23)
    at QSFSZdbsModule.descriptor.value (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/packages/grid_client/src/modules/utils.ts:19:12)
    at Object.<anonymous> (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/packages/grid_client/tests/modules/qsfs.test.ts:512:19)

Check failure on line 0 in packages/grid_client/tests/test-reports/report.xml

See this annotation in the file changed.

@github-actions github-actions / JEST Tests

vm.test.ts ► TC2847 - VM: Deploy a VM With Mycelium ► TC2847 - VM: Deploy a VM With Mycelium

Failed test found in:
  packages/grid_client/tests/test-reports/report.xml
Error:
  Error: connect ENETUNREACH 4bb:84d3:9d53:58c4:ff0f:0:200:2:22
Raw output
Error: connect ENETUNREACH 4bb:84d3:9d53:58c4:ff0f:0:200:2:22
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16)

Check failure on line 82 in packages/grid_client/src/high_level/twinDeploymentHandler.ts

See this annotation in the file changed.

@github-actions github-actions / JEST Tests

vm.test.ts ► TC1230 - VM: Deploy Multiple VMs on Different Nodes ► TC1230 - VM: Deploy Multiple VMs on Different Nodes

Failed test found in:
  packages/grid_client/tests/test-reports/report.xml
Error:
  Error: WorkloadDeployError: Failed to deploy zmachine with name 3u75g3fp49bbqvm on node 177 due to: failed to satisfy required capacity: cannot fulfil required memory size 4254072832 bytes out of usable 3989655552 bytes.
Raw output
Error: WorkloadDeployError: Failed to deploy zmachine with name 3u75g3fp49bbqvm on node 177 due to: failed to satisfy required capacity: cannot fulfil required memory size 4254072832 bytes out of usable 3989655552 bytes.
    at TwinDeploymentHandler.checkWorkload (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/packages/grid_client/src/high_level/twinDeploymentHandler.ts:82:13)
    at TwinDeploymentHandler.checkWorkload [as waitForDeployment] (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/packages/grid_client/src/high_level/twinDeploymentHandler.ts:109:22)
    at async Promise.all (index 3)
    at TwinDeploymentHandler.handle (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/packages/grid_client/src/high_level/twinDeploymentHandler.ts:602:7)
    at MachinesModule.deploy (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/packages/grid_client/src/modules/machines.ts:144:23)
    at MachinesModule.descriptor.value (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/packages/grid_client/src/modules/utils.ts:19:12)
    at Object.<anonymous> (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/packages/grid_client/tests/modules/vm.test.ts:652:15)

Check failure on line 82 in packages/grid_client/src/high_level/twinDeploymentHandler.ts

See this annotation in the file changed.

@github-actions github-actions / JEST Tests

zdb.test.ts ► TC1236 - ZDB: Deploy ZDBs ► TC1236 - ZDB: Deploy ZDBs

Failed test found in:
  packages/grid_client/tests/test-reports/report.xml
Error:
  Error: WorkloadDeployError: Failed to deploy zdb with name 7om4sep0omjuitg on node 11 due to: failed to create zdb namespace: failed to connect to 0-db: fb45d10b-***: dial unix /var/run/zdb_fb45d10b-***/zdb.sock: connect: connection refused.
Raw output
Error: WorkloadDeployError: Failed to deploy zdb with name 7om4sep0omjuitg on node 11 due to: failed to create zdb namespace: failed to connect to 0-db: fb45d10b-***: dial unix /var/run/zdb_fb45d10b-***/zdb.sock: connect: connection refused.
    at TwinDeploymentHandler.checkWorkload (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/packages/grid_client/src/high_level/twinDeploymentHandler.ts:82:13)
    at TwinDeploymentHandler.checkWorkload [as waitForDeployment] (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/packages/grid_client/src/high_level/twinDeploymentHandler.ts:109:22)
    at async Promise.all (index 0)
    at TwinDeploymentHandler.handle (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/packages/grid_client/src/high_level/twinDeploymentHandler.ts:602:7)
    at ZdbsModule.deploy (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/packages/grid_client/src/modules/zdb.ts:109:23)
    at ZdbsModule.descriptor.value (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/packages/grid_client/src/modules/utils.ts:19:12)
    at Object.<anonymous> (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/packages/grid_client/tests/modules/zdb.test.ts:98:15)

Check failure on line 20 in packages/grid_client/tests/modules/zmount.test.ts

See this annotation in the file changed.

@github-actions github-actions / JEST Tests

zmount.test.ts ► Zmount module Min value for size. ► Zmount module Min value for size.

Failed test found in:
  packages/grid_client/tests/test-reports/report.xml
Error:
  Error: expect(received).toThrow()
Raw output
Error: expect(received).toThrow()

Received function did not throw
    at Object.<anonymous> (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/packages/grid_client/tests/modules/zmount.test.ts:20:20)
    at Promise.then.completed (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/node_modules/@jest/core/node_modules/jest-circus/build/utils.js:293:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/node_modules/@jest/core/node_modules/jest-circus/build/utils.js:226:10)
    at _callCircusTest (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/node_modules/@jest/core/node_modules/jest-circus/build/run.js:297:40)
    at _runTest (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/node_modules/@jest/core/node_modules/jest-circus/build/run.js:233:3)
    at _runTestsForDescribeBlock (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/node_modules/@jest/core/node_modules/jest-circus/build/run.js:135:9)
    at _runTestsForDescribeBlock (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/node_modules/@jest/core/node_modules/jest-circus/build/run.js:130:9)
    at run (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/node_modules/@jest/core/node_modules/jest-circus/build/run.js:68:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/node_modules/@jest/core/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/node_modules/@jest/core/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/node_modules/jest-runner/build/runTest.js:444:34)

Check failure on line 8 in packages/grid_client/tests/modules/zmount.test.ts

See this annotation in the file changed.

@github-actions github-actions / JEST Tests

zmount.test.ts ► Zmount module Max value for size. ► Zmount module Max value for size.

Failed test found in:
  packages/grid_client/tests/test-reports/report.xml
Error:
  Error: thrown: ValidationError {
Raw output
Error: thrown: ValidationError {
  "children": Array [],
  "constraints": Object {
    "max": "size must not be greater than 10995116277760",
  },
  "property": "size",
  "target": Object {
    "size": 110381289062500,
  },
  "value": 110381289062500,
}
    at /home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/packages/grid_client/tests/modules/zmount.test.ts:23:3
    at _dispatchDescribe (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/node_modules/@jest/core/node_modules/jest-circus/build/index.js:91:26)
    at describe (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/node_modules/@jest/core/node_modules/jest-circus/build/index.js:55:5)
    at Object.<anonymous> (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/packages/grid_client/tests/modules/zmount.test.ts:8:1)
    at Runtime._execModule (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/node_modules/jest-runtime/build/index.js:1429:24)
    at Runtime._loadModule (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/node_modules/jest-runtime/build/index.js:1013:12)
    at Runtime.requireModule (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/node_modules/jest-runtime/build/index.js:873:12)
    at jestAdapter (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/node_modules/@jest/core/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13)
    at runTestInternal (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/node_modules/jest-runner/build/runTest.js:444:34)

Check failure on line 8 in packages/grid_client/tests/modules/zmount.test.ts

See this annotation in the file changed.

@github-actions github-actions / JEST Tests

zmount.test.ts ► Zmount module Size doesn't accept decimal value. ► Zmount module Size doesn't accept decimal value.

Failed test found in:
  packages/grid_client/tests/test-reports/report.xml
Error:
  Error: thrown: ValidationError {
Raw output
Error: thrown: ValidationError {
  "children": Array [],
  "constraints": Object {
    "isInt": "size must be an integer number",
    "min": "size must not be less than 104857600",
  },
  "property": "size",
  "target": Object {
    "size": 1.5,
  },
  "value": 1.5,
}
    at /home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/packages/grid_client/tests/modules/zmount.test.ts:33:3
    at _dispatchDescribe (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/node_modules/@jest/core/node_modules/jest-circus/build/index.js:91:26)
    at describe (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/node_modules/@jest/core/node_modules/jest-circus/build/index.js:55:5)
    at Object.<anonymous> (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/packages/grid_client/tests/modules/zmount.test.ts:8:1)
    at Runtime._execModule (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/node_modules/jest-runtime/build/index.js:1429:24)
    at Runtime._loadModule (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/node_modules/jest-runtime/build/index.js:1013:12)
    at Runtime.requireModule (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/node_modules/jest-runtime/build/index.js:873:12)
    at jestAdapter (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/node_modules/@jest/core/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13)
    at runTestInternal (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/node_modules/jest-runner/build/runTest.js:444:34)

Check failure on line 8 in packages/grid_client/tests/modules/zmount.test.ts

See this annotation in the file changed.

@github-actions github-actions / JEST Tests

zmount.test.ts ► Zmount module Size negative value. ► Zmount module Size negative value.

Failed test found in:
  packages/grid_client/tests/test-reports/report.xml
Error:
  Error: thrown: ValidationError {
Raw output
Error: thrown: ValidationError {
  "children": Array [],
  "constraints": Object {
    "min": "size must not be less than 104857600",
  },
  "property": "size",
  "target": Object {
    "size": -1,
  },
  "value": -1,
}
    at /home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/packages/grid_client/tests/modules/zmount.test.ts:49:3
    at _dispatchDescribe (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/node_modules/@jest/core/node_modules/jest-circus/build/index.js:91:26)
    at describe (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/node_modules/@jest/core/node_modules/jest-circus/build/index.js:55:5)
    at Object.<anonymous> (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/packages/grid_client/tests/modules/zmount.test.ts:8:1)
    at Runtime._execModule (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/node_modules/jest-runtime/build/index.js:1429:24)
    at Runtime._loadModule (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/node_modules/jest-runtime/build/index.js:1013:12)
    at Runtime.requireModule (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/node_modules/jest-runtime/build/index.js:873:12)
    at jestAdapter (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/node_modules/@jest/core/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13)
    at runTestInternal (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/node_modules/jest-runner/build/runTest.js:444:34)