Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add ci test flow to test task command to launch solo #811

Merged
merged 6 commits into from
Nov 12, 2024

Conversation

JeffreyDallas
Copy link
Contributor

@JeffreyDallas JeffreyDallas commented Nov 7, 2024

Description

This pull request changes the following:

  • add ci test flow to test task command to launch solo

Related Issues

===

task readme

[readme] This is a custom network configuration for the Hedera Hashgraph Solo network.
[readme] The network is configured to have 2 nodes.
[readme] The network is deployed in the namespace solo-test.
[readme] The cluster is deployed in the namespace solo-setup.
[readme] Use command 'task default' to deploy the network.
[readme] Use command 'task destroy' to destroy the network.
[readme] Use command 'task clean' to destroy and clean up the network.
[readme] Use command 'task show:ips' to show the external IPs of the nodes.
[readme] Use command 'task default-with-mirror' to deploy the network with a mirror node.

task default-with-mirror

task: Task "install:node:linux" is up to date
task: [install:kubectl:linux] curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
[install:kubectl:linux]   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
[install:kubectl:linux]                                  Dload  Upload   Total   Spent    Left  Speed
[install:kubectl:linux] 
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   138  100   138    0     0   2605      0 --:--:-- --:--:-- --:--:--  2653
[install:kubectl:linux] 
 89 53.7M   89 48.0M    0     0  94.1M      0 --:--:-- --:--:-- --:--:-- 94.1M
100 53.7M  100 53.7M    0     0   101M      0 --:--:-- --:--:-- --:--:--  303M
task: [install:kubectl:linux] sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl
task: [install:kubectl:linux] rm -rf kubectl
task: [install:helm:linux] curl https://baltocdn.com/helm/signing.asc | gpg --dearmor | sudo tee /usr/share/keyrings/helm.gpg > /dev/null
[install:helm:linux]   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
[install:helm:linux]                                  Dload  Upload   Total   Spent    Left  Speed
[install:helm:linux] 
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  [16](https://github.com/hashgraph/solo/actions/runs/11731166596/job/32683198146?pr=811#step:8:17)99  100  1699    0     0  10284      0 --:--:-- --:--:-- --:--:-- 10296
task: [install:helm:linux] sudo apt-get install apt-transport-https --yes
[install:helm:linux] Reading package lists...
[install:helm:linux] Building dependency tree...
[install:helm:linux] Reading state information...
[install:helm:linux] apt is already the newest version (2.4.13).
[install:helm:linux] 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
task: [install:helm:linux] echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/helm.gpg] https://baltocdn.com/helm/stable/debian/ all main" | sudo tee /etc/apt/sources.list.d/helm-stable-debian.list
[install:helm:linux] deb [arch=amd64 signed-by=/usr/share/keyrings/helm.gpg] https://baltocdn.com/helm/stable/debian/ all main
task: [install:helm:linux] sudo apt-get update
[install:helm:linux] Get:1 https://baltocdn.com/helm/stable/debian all InRelease [7652 B]
[install:helm:linux] Get:2 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
[install:helm:linux] Get:3 http://archive.ubuntu.com/ubuntu jammy InRelease [270 kB]
[install:helm:linux] Get:4 https://baltocdn.com/helm/stable/debian all/main amd64 Packages [5149 B]
[install:helm:linux] Get:5 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1163 kB]
[install:helm:linux] Get:6 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [3241 kB]
[install:helm:linux] Get:7 https://ppa.launchpadcontent.net/git-core/ppa/ubuntu jammy InRelease [24.6 kB]
[install:helm:linux] Get:8 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [2397 kB]
[install:helm:linux] Get:9 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 Packages [44.7 kB]
[install:helm:linux] Get:10 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
[install:helm:linux] Get:11 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]
[install:helm:linux] Get:12 https://ppa.launchpadcontent.net/git-core/ppa/ubuntu jammy/main amd64 Packages [2959 B]
[install:helm:linux] Get:13 http://archive.ubuntu.com/ubuntu jammy/restricted amd64 Packages [164 kB]
[install:helm:linux] Get:14 http://archive.ubuntu.com/ubuntu jammy/multiverse amd64 Packages [266 kB]
[install:helm:linux] Get:15 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages [[17](https://github.com/hashgraph/solo/actions/runs/11731166596/job/32683198146?pr=811#step:8:18)92 kB]
[install:helm:linux] Get:16 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages [17.5 MB]
[install:helm:linux] Get:17 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [2672 kB]
[install:helm:linux] Get:[18](https://github.com/hashgraph/solo/actions/runs/11731166596/job/32683198146?pr=811#step:8:19) http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1452 kB]
[install:helm:linux] Get:[19](https://github.com/hashgraph/solo/actions/runs/11731166596/job/32683198146?pr=811#step:8:20) http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages [51.8 kB]
[install:helm:linux] Get:[20](https://github.com/hashgraph/solo/actions/runs/11731166596/job/32683198146?pr=811#step:8:21) http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [3319 kB]
[install:helm:linux] Get:[21](https://github.com/hashgraph/solo/actions/runs/11731166596/job/32683198146?pr=811#step:8:22) http://archive.ubuntu.com/ubuntu jammy-backports/universe amd64 Packages [33.7 kB]
[install:helm:linux] Get:[22](https://github.com/hashgraph/solo/actions/runs/11731166596/job/32683198146?pr=811#step:8:23) http://archive.ubuntu.com/ubuntu jammy-backports/main amd64 Packages [81.4 kB]
[install:helm:linux] Fetched 34.8 MB in 3s (12.6 MB/s)
[install:helm:linux] Reading package lists...
task: [install:helm:linux] sudo apt-get install helm
[install:helm:linux] Reading package lists...
[install:helm:linux] Building dependency tree...
[install:helm:linux] Reading state information...
[install:helm:linux] The following NEW packages will be installed:
[install:helm:linux]   helm
[install:helm:linux] 0 upgraded, 1 newly installed, 0 to remove and 6 not upgraded.
[install:helm:linux] Need to get 17.3 MB of archives.
[install:helm:linux] After this operation, 57.1 MB of additional disk space will be used.
[install:helm:linux] Get:1 https://baltocdn.com/helm/stable/debian all/main amd64 helm amd64 3.16.2-1 [17.3 MB]
[install:helm:linux] debconf: delaying package configuration, since apt-utils is not installed
[install:helm:linux] Fetched 17.3 MB in 0s (44.2 MB/s)
[install:helm:linux] Selecting previously unselected package helm.
[install:helm:linux] (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 17488 files and directories currently installed.)
[install:helm:linux] Preparing to unpack .../helm_3.16.2-1_amd64.deb ...
[install:helm:linux] Unpacking helm (3.16.2-1) ...
[install:helm:linux] Setting up helm (3.16.2-1) ...
task: [install:kind:linux:x86_64] curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.[24](https://github.com/hashgraph/solo/actions/runs/11731166596/job/32683198146?pr=811#step:8:25).0/kind-linux-amd64
[install:kind:linux:x86_64]   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
[install:kind:linux:x86_64]                                  Dload  Upload   Total   Spent    Left  Speed
[install:kind:linux:x86_64] 
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100    97  100    97    0     0    582      0 --:--:-- --:--:-- --:--:--   584
[install:kind:linux:x86_64] 
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
[install:kind:linux:x86_64] 
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 9697k  100 9697k    0     0  15.2M      0 --:--:-- --:--:-- --:--:--  163M
task: [install:kind:linux:x86_64] chmod +x ./kind
task: [install:kind:linux:x86_64] sudo mv ./kind /usr/local/bin/kind
task: Task "install:kind:linux:aarch64" is up to date
task: [install:solo] npm install -g @hashgraph/solo
[install:solo] npm warn deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
[install:solo] npm warn deprecated [email protected]: this library is no longer supported
[install:solo] npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
[install:solo] npm warn deprecated [email protected]: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
[install:solo] npm warn deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
[install:solo] 
[install:solo] added 432 packages in 11s
[install:solo] 
[install:solo] 85 packages are looking for funding
[install:solo]   run `npm fund` for details
task: [cluster:create] kind create cluster -n "${SOLO_CLUSTER_NAME}" --image "${KIND_IMAGE}"
[cluster:create] Creating cluster "solo-cluster" ...
[cluster:create]  • Ensuring node image (kindest/node:v1.[27](https://github.com/hashgraph/solo/actions/runs/11731166596/job/32683198146?pr=811#step:8:28).3) 🖼  ...
[cluster:create]  ✓ Ensuring node image (kindest/node:v1.27.3) 🖼
[cluster:create]  • Preparing nodes 📦   ...
[cluster:create]  ✓ Preparing nodes 📦 
[cluster:create]  • Writing configuration 📜  ...
[cluster:create]  ✓ Writing configuration 📜
[cluster:create]  • Starting control-plane 🕹️  ...
[cluster:create]  ✓ Starting control-plane 🕹️
[cluster:create]  • Installing CNI 🔌  ...
[cluster:create]  ✓ Installing CNI 🔌
[cluster:create]  • Installing StorageClass 💾  ...
[cluster:create]  ✓ Installing StorageClass 💾
[cluster:create] Set kubectl context to "kind-solo-cluster"
[cluster:create] You can now use your cluster with:
[cluster:create] 
[cluster:create] kubectl cluster-info --context kind-solo-cluster
[cluster:create] 
[cluster:create] Have a nice day! 👋
task: [solo:init] npm run solo-test -- init
[solo:init] 
[solo:init] > @hashgraph/solo@0.[31](https://github.com/hashgraph/solo/actions/runs/11731166596/job/32683198146?pr=811#step:8:32).1 solo-test
[solo:init] > node --no-deprecation --no-warnings --loader ts-node/esm solo.ts init
[solo:init] 
[solo:init] 
[solo:init] ******************************* Solo *********************************************
[solo:init] Version			: 0.31.1
[solo:init] Kubernetes Context	: kind-solo-cluster
[solo:init] Kubernetes Cluster	: kind-solo-cluster
[solo:init] **********************************************************************************
[solo:init] ❯ Setup home directory and cache
[solo:init] ✔ Setup home directory and cache
[solo:init] ❯ Check dependencies
[solo:init] ❯ Check dependency: helm [OS: linux, Release: 5.15.0-118-generic, Arch: x64]
[solo:init] ✔ Check dependency: helm [OS: linux, Release: 5.15.0-118-generic, Arch: x64]
[solo:init] ✔ Check dependencies
[solo:init] ❯ Setup chart manager
[solo:init] ✔ Setup chart manager
[solo:init] ❯ Copy templates in '/home/runner/.solo/cache'
[solo:init] 
[solo:init] ***************************************************************************************
[solo:init] Note: solo stores various artifacts (config, logs, keys etc.) in its home directory: /home/runner/.solo
[solo:init] If a full reset is needed, delete the directory or relevant sub-directories before running 'solo init'.
[solo:init] ***************************************************************************************
[solo:init] ✔ Copy templates in '/home/runner/.solo/cache'
task: [cluster:setup] npm run solo-test -- cluster setup --cluster-setup-namespace "${SOLO_CLUSTER_SETUP_NAMESPACE}"
[cluster:setup] 
[cluster:setup] > @hashgraph/[email protected] solo-test
[cluster:setup] > node --no-deprecation --no-warnings --loader ts-node/esm solo.ts cluster setup --cluster-setup-namespace solo-setup
[cluster:setup] 
[cluster:setup] 
[cluster:setup] ******************************* Solo *********************************************
[cluster:setup] Version			: 0.31.1
[cluster:setup] Kubernetes Context	: kind-solo-cluster
[cluster:setup] Kubernetes Cluster	: kind-solo-cluster
[cluster:setup] **********************************************************************************
[cluster:setup] ❯ Initialize
[cluster:setup] ✔ Initialize
[cluster:setup] ❯ Prepare chart values
[cluster:setup] ✔ Prepare chart values
[cluster:setup] ❯ Install 'solo-cluster-setup' chart
[cluster:setup] ✔ Install 'solo-cluster-setup' chart
task: [solo:keys] npm run solo-test -- node keys --gossip-keys --tls-keys --node-aliases-unparsed node0,node1
[solo:keys] 
[solo:keys] > @hashgraph/[email protected] solo-test
[solo:keys] > node --no-deprecation --no-warnings --loader ts-node/esm solo.ts node keys --gossip-keys --tls-keys --node-aliases-unparsed node0,node1
[solo:keys] 
[solo:keys] 
[solo:keys] ******************************* Solo *********************************************
[solo:keys] Version			: 0.31.1
[solo:keys] Kubernetes Context	: kind-solo-cluster
[solo:keys] Kubernetes Cluster	: kind-solo-cluster
[solo:keys] **********************************************************************************
[solo:keys] ❯ Initialize
[solo:keys] ❯ Acquire lease
[solo:keys] ✔ Acquire lease - namespace not created, skipping lease acquire
[solo:keys] ✔ Initialize
[solo:keys] ❯ Generate gossip keys
[solo:keys] ❯ Backup old files
[solo:keys] ✔ Backup old files
[solo:keys] ❯ Gossip key for node: node0
[solo:keys] ✔ Gossip key for node: node0
[solo:keys] ❯ Gossip key for node: node1
[solo:keys] ✔ Gossip key for node: node1
[solo:keys] ✔ Generate gossip keys
[solo:keys] ❯ Generate gRPC TLS Keys
[solo:keys] ❯ Backup old files
[solo:keys] ❯ TLS key for node: node0
[solo:keys] ❯ TLS key for node: node1
[solo:keys] ✔ Backup old files
[solo:keys] ✔ TLS key for node: node1
[solo:keys] ✔ TLS key for node: node0
[solo:keys] ✔ Generate gRPC TLS Keys
[solo:keys] ❯ Finalize
[solo:keys] ✔ Finalize
task: [solo:network:deploy] npm run solo-test -- network deploy --namespace "${SOLO_NAMESPACE}" --node-aliases-unparsed node0,node1 --release-tag "${CONSENSUS_NODE_VERSION}" --solo-chart-version "${SOLO_CHART_VERSION}"
[solo:network:deploy] 
[solo:network:deploy] > @hashgraph/[email protected] solo-test
[solo:network:deploy] > node --no-deprecation --no-warnings --loader ts-node/esm solo.ts network deploy --namespace solo-test --node-aliases-unparsed node0,node1 --release-tag v0.56.0 --solo-chart-version 0.[34](https://github.com/hashgraph/solo/actions/runs/11731166596/job/32683198146?pr=811#step:8:35).0
[solo:network:deploy] 
[solo:network:deploy] 
[solo:network:deploy] ******************************* Solo *********************************************
[solo:network:deploy] Version			: 0.31.1
[solo:network:deploy] Kubernetes Context	: kind-solo-cluster
[solo:network:deploy] Kubernetes Cluster	: kind-solo-cluster
[solo:network:deploy] Kubernetes Namespace	: solo-test
[solo:network:deploy] **********************************************************************************
[solo:network:deploy] ❯ Initialize
[solo:network:deploy] ❯ Acquire lease
[solo:network:deploy] ✔ Acquire lease - lease acquired successfully, attempt: 1/10
[solo:network:deploy] ✔ Initialize
[solo:network:deploy] ❯ Copy gRPC TLS Certificates
[solo:network:deploy] ↓ Copy gRPC TLS Certificates [SKIPPED: Copy gRPC TLS Certificates]
[solo:network:deploy] ❯ Check if cluster setup chart is installed
[solo:network:deploy] ✔ Check if cluster setup chart is installed
[solo:network:deploy] ❯ Prepare staging directory
[solo:network:deploy] ❯ Copy Gossip keys to staging
[solo:network:deploy] ✔ Copy Gossip keys to staging
[solo:network:deploy] ❯ Copy gRPC TLS keys to staging
[solo:network:deploy] ✔ Copy gRPC TLS keys to staging
[solo:network:deploy] ✔ Prepare staging directory
[solo:network:deploy] ❯ Copy node keys to secrets
[solo:network:deploy] ❯ Copy TLS keys
[solo:network:deploy] ❯ Node: node0
[solo:network:deploy] ❯ Node: node1
[solo:network:deploy] ❯ Copy Gossip keys
[solo:network:deploy] ❯ Copy Gossip keys
[solo:network:deploy] ✔ Copy Gossip keys
[solo:network:deploy] ✔ Node: node1
[solo:network:deploy] ✔ Copy TLS keys
[solo:network:deploy] ✔ Copy Gossip keys
[solo:network:deploy] ✔ Node: node0
[solo:network:deploy] ✔ Copy node keys to secrets
[solo:network:deploy] ❯ Install chart 'solo-deployment'
[solo:network:deploy] ✔ Install chart 'solo-deployment'
[solo:network:deploy] ❯ Check node pods are running
[solo:network:deploy] ❯ Check Node: node0
[solo:network:deploy] ✔ Check Node: node0
[solo:network:deploy] ❯ Check Node: node1
[solo:network:deploy] ✔ Check Node: node1
[solo:network:deploy] ✔ Check node pods are running
[solo:network:deploy] ❯ Check proxy pods are running
[solo:network:deploy] ❯ Check HAProxy for: node0
[solo:network:deploy] ❯ Check HAProxy for: node1
[solo:network:deploy] ❯ Check Envoy Proxy for: node0
[solo:network:deploy] ❯ Check Envoy Proxy for: node1
[solo:network:deploy] ✔ Check Envoy Proxy for: node0
[solo:network:deploy] ✔ Check Envoy Proxy for: node1
[solo:network:deploy] ✔ Check HAProxy for: node0
[solo:network:deploy] ✔ Check HAProxy for: node1
[solo:network:deploy] ✔ Check proxy pods are running
[solo:network:deploy] ❯ Check auxiliary pods are ready
[solo:network:deploy] ❯ Check MinIO
[solo:network:deploy] ✔ Check MinIO
[solo:network:deploy] ✔ Check auxiliary pods are ready
task: [solo:network:deploy] npm run solo-test -- node setup --namespace "${SOLO_NAMESPACE}" --node-aliases-unparsed node0,node1 --release-tag "${CONSENSUS_NODE_VERSION}"
[solo:network:deploy] 
[solo:network:deploy] > @hashgraph/[email protected] solo-test
[solo:network:deploy] > node --no-deprecation --no-warnings --loader ts-node/esm solo.ts node setup --namespace solo-test --node-aliases-unparsed node0,node1 --release-tag v0.[56](https://github.com/hashgraph/solo/actions/runs/11731166596/job/32683198146?pr=811#step:8:57).0
[solo:network:deploy] 
[solo:network:deploy] 
[solo:network:deploy] ******************************* Solo *********************************************
[solo:network:deploy] Version			: 0.31.1
[solo:network:deploy] Kubernetes Context	: kind-solo-cluster
[solo:network:deploy] Kubernetes Cluster	: kind-solo-cluster
[solo:network:deploy] Kubernetes Namespace	: solo-test
[solo:network:deploy] **********************************************************************************
[solo:network:deploy] ❯ Initialize
[solo:network:deploy] ❯ Acquire lease
[solo:network:deploy] ✔ Acquire lease - lease acquired successfully, attempt: 1/10
[solo:network:deploy] ✔ Initialize
[solo:network:deploy] ❯ Identify network pods
[solo:network:deploy] ❯ Check network pod: node0
[solo:network:deploy] ❯ Check network pod: node1
[solo:network:deploy] ✔ Check network pod: node0
[solo:network:deploy] ✔ Check network pod: node1
[solo:network:deploy] ✔ Identify network pods
[solo:network:deploy] ❯ Fetch platform software into network nodes
[solo:network:deploy] ❯ Update node: node0 [ platformVersion = v0.56.0 ]
[solo:network:deploy] ❯ Update node: node1 [ platformVersion = v0.56.0 ]
[solo:network:deploy] ✔ Update node: node1 [ platformVersion = v0.56.0 ]
[solo:network:deploy] ✔ Update node: node0 [ platformVersion = v0.56.0 ]
[solo:network:deploy] ✔ Fetch platform software into network nodes
[solo:network:deploy] ❯ Setup network nodes
[solo:network:deploy] ❯ Node: node0
[solo:network:deploy] ❯ Node: node1
[solo:network:deploy] ❯ Set file permissions
[solo:network:deploy] ❯ Set file permissions
[solo:network:deploy] ✔ Set file permissions
[solo:network:deploy] ✔ Node: node0
[solo:network:deploy] ✔ Set file permissions
[solo:network:deploy] ✔ Node: node1
[solo:network:deploy] ✔ Setup network nodes
task: [solo:node:start] npm run solo-test -- node start --namespace "${SOLO_NAMESPACE}" --node-aliases-unparsed node0,node1 
[solo:node:start] 
[solo:node:start] > @hashgraph/[email protected] solo-test
[solo:node:start] > node --no-deprecation --no-warnings --loader ts-node/esm solo.ts node start --namespace solo-test --node-aliases-unparsed node0,node1
[solo:node:start] 
[solo:node:start] 
[solo:node:start] ******************************* Solo *********************************************
[solo:node:start] Version			: 0.31.1
[solo:node:start] Kubernetes Context	: kind-solo-cluster
[solo:node:start] Kubernetes Cluster	: kind-solo-cluster
[solo:node:start] Kubernetes Namespace	: solo-test
[solo:node:start] **********************************************************************************
[solo:node:start] ❯ Initialize
[solo:node:start] ❯ Acquire lease
[solo:node:start] ✔ Acquire lease - lease acquired successfully, attempt: 1/10
[solo:node:start] ✔ Initialize
[solo:node:start] ❯ Identify existing network nodes
[solo:node:start] ❯ Check network pod: node0
[solo:node:start] ❯ Check network pod: node1
[solo:node:start] ✔ Check network pod: node1
[solo:node:start] ✔ Check network pod: node0
[solo:node:start] ✔ Identify existing network nodes
[solo:node:start] ❯ Starting nodes
[solo:node:start] ❯ Start node: node0
[solo:node:start] ❯ Start node: node1
[solo:node:start] ✔ Start node: node0
[solo:node:start] ✔ Start node: node1
[solo:node:start] ✔ Starting nodes
[solo:node:start] ❯ Enable port forwarding for JVM debugger
[solo:node:start] ↓ Enable port forwarding for JVM debugger [SKIPPED: Enable port forwarding for JVM debugger]
[solo:node:start] ❯ Check all nodes are ACTIVE
[solo:node:start] ❯ Check network pod: node0 
[solo:node:start] ❯ Check network pod: node1 
[solo:node:start] ✔ Check network pod: node0  - status ACTIVE, attempt: 16/120
[solo:node:start] ✔ Check network pod: node1  - status ACTIVE, attempt: 16/120
[solo:node:start] ✔ Check all nodes are ACTIVE
[solo:node:start] ❯ Check node proxies are ACTIVE
[solo:node:start] ❯ Check proxy for node: node0
[solo:node:start] ✔ Check proxy for node: node0
[solo:node:start] ❯ Check proxy for node: node1
[solo:node:start] ✔ Check proxy for node: node1
[solo:node:start] ✔ Check node proxies are ACTIVE
[solo:node:start] ❯ Add node stakes
[solo:node:start] ❯ Adding stake for node: node0
[solo:node:start] ✔ Adding stake for node: node0
[solo:node:start] ❯ Adding stake for node: node1
[solo:node:start] ✔ Adding stake for node: node1
[solo:node:start] ✔ Add node stakes
task: [mirror:deploy] npm run solo-test -- mirror-node deploy --namespace "${SOLO_NAMESPACE}"
[mirror:deploy] 
[mirror:deploy] > @hashgraph/[email protected] solo-test
[mirror:deploy] > node --no-deprecation --no-warnings --loader ts-node/esm solo.ts mirror-node deploy --namespace solo-test
[mirror:deploy] 
[mirror:deploy] 
[mirror:deploy] ******************************* Solo *********************************************
[mirror:deploy] Version			: 0.31.1
[mirror:deploy] Kubernetes Context	: kind-solo-cluster
[mirror:deploy] Kubernetes Cluster	: kind-solo-cluster
[mirror:deploy] Kubernetes Namespace	: solo-test
[mirror:deploy] **********************************************************************************
[mirror:deploy] ❯ Initialize
[mirror:deploy] ❯ Acquire lease
[mirror:deploy] ✔ Acquire lease - lease acquired successfully, attempt: 1/10
[mirror:deploy] ✔ Initialize
[mirror:deploy] ❯ Enable mirror-node
[mirror:deploy] ❯ Prepare address book
[mirror:deploy] ✔ Prepare address book
[mirror:deploy] ❯ Deploy mirror-node
[mirror:deploy] ✔ Deploy mirror-node
[mirror:deploy] ❯ Deploy hedera-explorer
[mirror:deploy] ✔ Deploy hedera-explorer
[mirror:deploy] ✔ Enable mirror-node
[mirror:deploy] ❯ Check pods are ready
[mirror:deploy] ❯ Check Postgres DB
[mirror:deploy] ❯ Check REST API
[mirror:deploy] ❯ Check GRPC
[mirror:deploy] ❯ Check Monitor
[mirror:deploy] ❯ Check Importer
[mirror:deploy] ❯ Check Hedera Explorer
[mirror:deploy] ✔ Check Hedera Explorer
[mirror:deploy] ✔ Check Postgres DB
[mirror:deploy] ✔ Check REST API
[mirror:deploy] ✔ Check GRPC
[mirror:deploy] ✔ Check Monitor
[mirror:deploy] ✔ Check Importer
[mirror:deploy] ✔ Check pods are ready
[mirror:deploy] ❯ Seed DB data
[mirror:deploy] ❯ Insert data in public.file_data
[mirror:deploy] ✔ Insert data in public.file_data
[mirror:deploy] ✔ Seed DB data
task: [mirror:deploy] echo "Enable port forwarding for Hedera Explorer"
task: [mirror:deploy] kubectl port-forward -n "${SOLO_NAMESPACE}" svc/hedera-explorer [80](https://github.com/hashgraph/solo/actions/runs/11731166596/job/32683198146?pr=811#step:8:81)80:80 &
[mirror:deploy] Enable port forwarding for Hedera Explorer

task clean


@JeffreyDallas JeffreyDallas self-assigned this Nov 7, 2024
@JeffreyDallas JeffreyDallas requested review from a team as code owners November 7, 2024 19:14
Copy link
Contributor

github-actions bot commented Nov 7, 2024

Unit Test Results - Windows

  1 files  ±0   35 suites  ±0   16s ⏱️ ±0s
 95 tests ±0   95 ✅ ±0  0 💤 ±0  0 ❌ ±0 
104 runs  ±0  104 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 474bbcf. ± Comparison against base commit 7cd842f.

♻️ This comment has been updated with latest results.

Copy link
Contributor

github-actions bot commented Nov 7, 2024

Unit Test Results - Linux

  1 files  ±0   35 suites  ±0   3s ⏱️ -1s
 95 tests ±0   95 ✅ ±0  0 💤 ±0  0 ❌ ±0 
104 runs  ±0  104 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 474bbcf. ± Comparison against base commit 7cd842f.

♻️ This comment has been updated with latest results.

san-est
san-est previously approved these changes Nov 11, 2024
Copy link
Contributor

@san-est san-est left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.github/workflows/flow-task-test.yaml LGTM

Signed-off-by: Jeffrey Tang <[email protected]>
Copy link
Contributor

github-actions bot commented Nov 12, 2024

E2E Test Report

 16 files  109 suites   1h 1m 12s ⏱️
210 tests 210 ✅ 0 💤 0 ❌
213 runs  213 ✅ 0 💤 0 ❌

Results for commit 474bbcf.

♻️ This comment has been updated with latest results.

Copy link

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
Report missing for 7cd842f1
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (7cd842f) Report Missing Report Missing Report Missing
Head commit (474bbcf) 13560 11836 87.29%

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#811) 0 0 ∅ (not applicable)

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

See your quality gate settings    Change summary preferences

Codacy stopped sending the deprecated coverage status on June 5th, 2024. Learn more

Footnotes

  1. Codacy didn't receive coverage data for the commit, or there was an error processing the received data. Check your integration for errors and validate that your coverage setup is correct.

Copy link

codecov bot commented Nov 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.24%. Comparing base (b66fe05) to head (474bbcf).
Report is 186 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #811      +/-   ##
==========================================
- Coverage   87.09%   86.24%   -0.85%     
==========================================
  Files          40       43       +3     
  Lines       12545    13560    +1015     
  Branches      944      924      -20     
==========================================
+ Hits        10926    11695     +769     
- Misses       1568     1817     +249     
+ Partials       51       48       -3     

see 17 files with indirect coverage changes

Impacted file tree graph

@JeffreyDallas JeffreyDallas merged commit 356f341 into main Nov 12, 2024
43 of 44 checks passed
@JeffreyDallas JeffreyDallas deleted the 00694-D-task-test branch November 12, 2024 18:20
swirlds-automation added a commit that referenced this pull request Dec 31, 2024
## [0.32.0](v0.31.1...v0.32.0) (2024-12-31)

### ⚠ BREAKING CHANGES

* update readme with warning about BREAKING CHANGE in this next release (#730)

### Features

* add ci test flow to test task command to launch solo ([#811](#811)) ([356f341](356f341))
* add example for using javascript SDK ([#832](#832)) ([1d9452e](1d9452e))
* add extended math utils and duration support ([#923](#923)) ([f5a69e7](f5a69e7))
* add separate commands for update ([#735](#735)) ([44c3132](44c3132))
* add solo smoke test to test flow ([#905](#905)) ([79410f0](79410f0))
* add support for flexible lease acquisition and production readiness ([#830](#830)) ([7fa86ad](7fa86ad))
* Add the ability to inject a ca certificate for use in gRPC and gRPC Web ([#753](#753)) ([2cd8a38](2cd8a38))
* add timeout flag to network destroy command ([#821](#821)) ([0fb570b](0fb570b))
* allow settings a reserved static IP address for the consensus nodes HAProxy and Envoy Proxy though the cli with flags ([#937](#937)) ([de9ec2e](de9ec2e))
* change mirror node and explorer from subchart to individual chart ([#743](#743)) ([58f0496](58f0496))
* Create a local config for storing configurations on the users machine ([#803](#803)) ([0a4382d](0a4382d))
* Create remote config  ([#862](#862)) ([e8fe739](e8fe739))
* dynamically construct the genesis-network.json and add it to the values file to be used during network deploy ([#982](#982)) ([1b9b7e6](1b9b7e6))
* expose pod check attempts and delays as environment controlled variables ([#812](#812)) ([a7b3279](a7b3279))
* Implement IOC ([#1010](#1010)) ([ed23a7b](ed23a7b))
* Implement solo context connect ([#863](#863)) ([782b3ec](782b3ec))
* Increase helm chart version and switch to use oci registry ([#788](#788)) ([1973275](1973275))
* **k8s:** introduce Kubernetes lease lock mechanism ([#707](#707)) ([f1b8089](f1b8089))
* new command to save state files and upload state files ([#849](#849)) ([d5a9a18](d5a9a18))
* removed caching of ConfigManager and its flags ([#713](#713)) ([76a61e3](76a61e3))
* Setup mirror node monitor pinger service ([#893](#893)) ([f4c4320](f4c4320))
* update `solo context connect` to connect to single remote cluster ([#993](#993)) ([c9711c5](c9711c5))
* Update document ([#956](#956)) ([b378937](b378937))
* update readme and hugo workflow ([#930](#930)) ([0e08abc](0e08abc))
* Validate a remote config ([#922](#922)) ([a7bbae0](a7bbae0))

### Bug Fixes

* add delay before calling script ([#955](#955)) ([76f4b81](76f4b81))
* allow expired leases to be overwritten ([#828](#828)) ([1fa1d78](1fa1d78))
* bump chart and hedera version,  re-enable node add ([#985](#985)) ([9cae011](9cae011))
* check if setup chart installed or not before network deploy ([#799](#799)) ([6930dab](6930dab))
* document typo ([#988](#988)) ([8e4fe04](8e4fe04))
* Error in `node update` separate commands when new admin key is not supplied ([#854](#854)) ([6e472b5](6e472b5))
* Examples of performance configs for HashSphere and Latitude ([#926](#926)) ([#957](#957)) ([928148b](928148b))
* fix missing file issues when running solo from npm install -g ([#736](#736)) ([2a5cfc1](2a5cfc1))
* fixed genesis-network.json file lock issue ([#1074](#1074)) ([e590516](e590516))
* flag check of node logs command and incorrect download source ([#848](#848)) ([03051f0](03051f0))
* inconsistent failures ([#866](#866)) ([13ea46d](13ea46d))
* local chart directory not being taken correctly ([#983](#983)) ([58e96e1](58e96e1))
* nextNode ID for release version > 0.56.0 ([#765](#765)) ([3b98dd6](3b98dd6))
* node id should start from `1` ([#884](#884)) ([d90c9b5](d90c9b5))
* node update with single node ([#981](#981)) ([74285bf](74285bf))
* patch issue with dist folder not showing up ([#733](#733)) ([077f989](077f989))
* performance improvements for node stop ([#986](#986)) ([437bbc6](437bbc6))
* refactored Taskfiles, fixed bugs with taskfile, lease interval, sdk node client connection, and commands missing quiet flag ([#978](#978)) ([7bb0e99](7bb0e99))
* remote config validation not working ([#967](#967)) ([88c2506](88c2506))
* resolve node update test failures ([#856](#856)) ([5e1c652](5e1c652))
* Revised example configs for Latitude deployment, automation friendly ([#1038](#1038)) ([434daf3](434daf3))
* undefined log output of namespace ([#764](#764)) ([ac15957](ac15957))

### Documentation

* update readme with warning about BREAKING CHANGE in this next release ([#730](#730)) ([06295f6](06295f6))
@swirlds-automation
Copy link
Contributor

🎉 This PR is included in version 0.32.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add a test that will run the example taskfiles to ensure they keep working as we make changes
4 participants