Skip to content

v2.2.0-rc4

v2.2.0-rc4 #53

GitHub Actions / JEST Tests succeeded Nov 14, 2023 in 1s

JEST Tests ✅

Tests failed

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

46 tests were completed in 671s with 40 passed, 6 failed and 0 skipped.

Test suite Passed Failed Skipped Time
algorand.test.ts 7✅ 6s
capacity_planner.test.ts 8✅ 15s
contracts.test.ts 5✅ 49s
gateways.test.ts 1❌ 17s
kubernetes.test.ts 1✅ 2❌ 203s
kvstore.test.ts 1✅ 18s
qsfs.test.ts 2❌ 22s
stellar.test.ts 7✅ 41s
tfchain.test.ts 8✅ 172s
vm.test.ts 2✅ 1❌ 94s
zdb.test.ts 1✅ 33s

✅ 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

✅ 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
 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

✅ 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

❌ gateways.test.ts

 TC1237 - Gateways: Expose a VM Over Gateway
  ❌ TC1237 - Gateways: Expose a VM Over Gateway
	Error: Error getting node 14: Error: Failed to send request to twinId 22 with command: zos.statistics.get, payload:  due to Didn't get a response after 10 seconds

❌ kubernetes.test.ts

 TC1231 - Kubernetes: Deploy a Kubernetes Cluster
  ❌ TC1231 - Kubernetes: Deploy a Kubernetes Cluster
	Error: Node 128 is not available for user with twinId: 51, maybe it's rented by another user or node is dedicated. use capacity planning with availableFor option.
 TC1232 - Kubernetes: Add Worker
  ❌ TC1232 - Kubernetes: Add Worker
	Error: Error getting node 28: Error: Failed to send request to twinId 12 with command: zos.statistics.get, payload:  due to Didn't get a response after 10 seconds
 TC1233 - Kubernetes: Delete Worker
  ✅ TC1233 - Kubernetes: Delete Worker

✅ kvstore.test.ts

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

❌ qsfs.test.ts

 TC1234 - QSFS: Deploy QSFS underneath a VM
  ❌ TC1234 - QSFS: Deploy QSFS underneath a VM
	Error: Error getting node 28: Error: Failed to send request to twinId 12 with command: zos.statistics.get, payload:  due to Didn't get a response after 10 seconds
 TC1235 - QSFS: Deploy QSFS Underneath a Kubernetes Cluster
  ❌ TC1235 - QSFS: Deploy QSFS Underneath a Kubernetes Cluster
	Error: Error getting node 34: Error: Failed to send request to twinId 18 with command: zos.statistics.get, payload:  due to 255 stderr: ERROR: cannot access '/mnt/ee10ada4-d2e6-4fe2-98a0-c7c97a2eeba7': No such file or directory

✅ 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

✅ 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

❌ vm.test.ts

 TC1228 - VM: Deploy a VM
  ✅ TC1228 - VM: Deploy a VM
 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: Node 127 is not available for user with twinId: 51, maybe it's rented by another user or node is dedicated. use capacity planning with availableFor option.

✅ zdb.test.ts

 TC1236 - ZDB: Deploy ZDBs
  ✅ TC1236 - ZDB: Deploy ZDBs

Annotations

Check failure on line 265 in packages/grid_client/src/primitives/nodes.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: Error getting node 14: Error: Failed to send request to twinId 22 with command: zos.statistics.get, payload:  due to Didn't get a response after 10 seconds
Raw output
Error: Error getting node 14: Error: Failed to send request to twinId 22 with command: zos.statistics.get, payload:  due to Didn't get a response after 10 seconds
    at Error (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/packages/grid_client/src/primitives/nodes.ts:265:17)
    at Nodes.nodeHasResources (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/packages/grid_client/src/primitives/nodes.ts:399:23)
    at VMHL.create (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/packages/grid_client/src/high_level/machine.ts:63:11)
    at MachinesModule._createDeployment (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/packages/grid_client/src/modules/machines.ts:50:40)
    at MachinesModule.deploy (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/packages/grid_client/src/modules/machines.ts:92:50)
    at MachinesModule.descriptor.value (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/packages/grid_client/src/modules/utils.ts:12:12)
    at MachinesModule.descriptor.value (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/packages/grid_client/src/helpers/validator.ts:23:12)
    at Object.<anonymous> (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/packages/grid_client/tests/modules/gateways.test.ts:130:15)

Check failure on line 69 in packages/grid_client/src/high_level/machine.ts

See this annotation in the file changed.

@github-actions github-actions / JEST Tests

kubernetes.test.ts ► TC1231 - Kubernetes: Deploy a Kubernetes Cluster ► TC1231 - Kubernetes: Deploy a Kubernetes Cluster

Failed test found in:
  packages/grid_client/tests/test-reports/report.xml
Error:
  Error: Node 128 is not available for user with twinId: 51, maybe it's rented by another user or node is dedicated. use capacity planning with availableFor option.
Raw output
Error: Node 128 is not available for user with twinId: 51, maybe it's rented by another user or node is dedicated. use capacity planning with availableFor option.
    at VMHL.Error [as create] (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/packages/grid_client/src/high_level/machine.ts:69:13)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at KubernetesHL.add_worker (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/packages/grid_client/src/high_level/kubernetes.ts:123:12)
    at K8sModule._createDeployment (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/packages/grid_client/src/modules/k8s.ts:138:33)
    at K8sModule.deploy (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/packages/grid_client/src/modules/k8s.ts:183:46)
    at K8sModule.descriptor.value (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/packages/grid_client/src/modules/utils.ts:12:12)
    at K8sModule.descriptor.value (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/packages/grid_client/src/helpers/validator.ts:23:12)
    at Object.<anonymous> (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/packages/grid_client/tests/modules/kubernetes.test.ts:171:15)

Check failure on line 265 in packages/grid_client/src/primitives/nodes.ts

See this annotation in the file changed.

@github-actions github-actions / JEST Tests

kubernetes.test.ts ► TC1232 - Kubernetes: Add Worker ► TC1232 - Kubernetes: Add Worker

Failed test found in:
  packages/grid_client/tests/test-reports/report.xml
Error:
  Error: Error getting node 28: Error: Failed to send request to twinId 12 with command: zos.statistics.get, payload:  due to Didn't get a response after 10 seconds
Raw output
Error: Error getting node 28: Error: Failed to send request to twinId 12 with command: zos.statistics.get, payload:  due to Didn't get a response after 10 seconds
    at Error (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/packages/grid_client/src/primitives/nodes.ts:265:17)
    at Nodes.nodeHasResources (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/packages/grid_client/src/primitives/nodes.ts:399:23)
    at VMHL.create (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/packages/grid_client/src/high_level/machine.ts:63:11)
    at KubernetesHL.add_master (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/packages/grid_client/src/high_level/kubernetes.ts:53:12)
    at K8sModule._createDeployment (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/packages/grid_client/src/modules/k8s.ts:95:43)
    at K8sModule.deploy (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/packages/grid_client/src/modules/k8s.ts:183:46)
    at K8sModule.descriptor.value (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/packages/grid_client/src/modules/utils.ts:12:12)
    at K8sModule.descriptor.value (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/packages/grid_client/src/helpers/validator.ts:23:12)
    at Object.<anonymous> (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/packages/grid_client/tests/modules/kubernetes.test.ts:445:15)

Check failure on line 265 in packages/grid_client/src/primitives/nodes.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: Error getting node 28: Error: Failed to send request to twinId 12 with command: zos.statistics.get, payload:  due to Didn't get a response after 10 seconds
Raw output
Error: Error getting node 28: Error: Failed to send request to twinId 12 with command: zos.statistics.get, payload:  due to Didn't get a response after 10 seconds
    at Error (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/packages/grid_client/src/primitives/nodes.ts:265:17)
    at Nodes.nodeHasResources (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/packages/grid_client/src/primitives/nodes.ts:399:23)
    at ZdbHL.create (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/packages/grid_client/src/high_level/zdb.ts:23:11)
    at QSFSZdbsModule._createDeployment (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/packages/grid_client/src/modules/qsfs_zdbs.ts:41:30)
    at QSFSZdbsModule.deploy (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/packages/grid_client/src/modules/qsfs_zdbs.ts:65:29)
    at QSFSZdbsModule.descriptor.value (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/packages/grid_client/src/modules/utils.ts:12:12)
    at QSFSZdbsModule.descriptor.value (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/packages/grid_client/src/helpers/validator.ts:23:12)
    at Object.<anonymous> (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/packages/grid_client/tests/modules/qsfs.test.ts:160:19)

Check failure on line 265 in packages/grid_client/src/primitives/nodes.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: Error getting node 34: Error: Failed to send request to twinId 18 with command: zos.statistics.get, payload:  due to 255 stderr: ERROR: cannot access '/mnt/ee10ada4-d2e6-4fe2-98a0-c7c97a2eeba7': No such file or directory
Raw output
Error: Error getting node 34: Error: Failed to send request to twinId 18 with command: zos.statistics.get, payload:  due to 255 stderr: ERROR: cannot access '/mnt/ee10ada4-d2e6-4fe2-98a0-c7c97a2eeba7': No such file or directory
ERROR: can't access '/mnt/ee10ada4-d2e6-4fe2-98a0-c7c97a2eeba7'
: exit status 1
    at Error (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/packages/grid_client/src/primitives/nodes.ts:265:17)
    at Nodes.nodeHasResources (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/packages/grid_client/src/primitives/nodes.ts:399:23)
    at ZdbHL.create (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/packages/grid_client/src/high_level/zdb.ts:23:11)
    at QSFSZdbsModule._createDeployment (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/packages/grid_client/src/modules/qsfs_zdbs.ts:41:30)
    at QSFSZdbsModule.deploy (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/packages/grid_client/src/modules/qsfs_zdbs.ts:65:29)
    at QSFSZdbsModule.descriptor.value (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/packages/grid_client/src/modules/utils.ts:12:12)
    at QSFSZdbsModule.descriptor.value (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/packages/grid_client/src/helpers/validator.ts:23:12)
    at Object.<anonymous> (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/packages/grid_client/tests/modules/qsfs.test.ts:484:19)

Check failure on line 69 in packages/grid_client/src/high_level/machine.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: Node 127 is not available for user with twinId: 51, maybe it's rented by another user or node is dedicated. use capacity planning with availableFor option.
Raw output
Error: Node 127 is not available for user with twinId: 51, maybe it's rented by another user or node is dedicated. use capacity planning with availableFor option.
    at VMHL.Error [as create] (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/packages/grid_client/src/high_level/machine.ts:69:13)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at MachinesModule._createDeployment (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/packages/grid_client/src/modules/machines.ts:50:40)
    at MachinesModule.deploy (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/packages/grid_client/src/modules/machines.ts:92:50)
    at MachinesModule.descriptor.value (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/packages/grid_client/src/modules/utils.ts:12:12)
    at MachinesModule.descriptor.value (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/packages/grid_client/src/helpers/validator.ts:23:12)
    at Object.<anonymous> (/home/runner/work/tfgrid-sdk-ts/tfgrid-sdk-ts/packages/grid_client/tests/modules/vm.test.ts:476:15)