You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#cache: npm Disabling this because it causes the workflow to hang and eventually timeout
60
59
61
60
- name: Create .env file
62
61
run: cp .env.example .env
@@ -112,6 +111,29 @@ jobs:
112
111
- name: Run the test in ${{ inputs.testfilter }}
113
112
run: npx hardhat test --grep ${{ inputs.testfilter }}
114
113
114
+
- name: Debug consensus node pod
115
+
if: always()
116
+
shell: bash
117
+
run: |
118
+
set +e
119
+
NS="$(kubectl get namespaces | grep solo | grep -v 'solo-setup' | awk '{print $1}')"
120
+
POD="network-node1-0"
121
+
122
+
echo "== Pod describe ($POD) =="
123
+
kubectl describe pod "$POD" -n "$NS"
124
+
125
+
echo "== Pod status (restart counts + last state) =="
126
+
kubectl get pod "$POD" -n "$NS" -o jsonpath='{range .status.containerStatuses[*]}{.name}{"\tready="}{.ready}{"\trestarts="}{.restartCount}{"\tlastFinished="}{.lastState.terminated.finishedAt}{"\tlastReason="}{.lastState.terminated.reason}{"\tlastExit="}{.lastState.terminated.exitCode}{"\n"}{end}'; echo
127
+
128
+
echo "== Events (namespace, sorted) =="
129
+
kubectl get events -n "$NS" --sort-by=.lastTimestamp
0 commit comments