Adding debug logs to setOnosLogLevels to debug issues on the scale cluster
Change-Id: Ie5a4e6acf0a0a999a54ab501c282d643c086b08f
diff --git a/vars/setOnosLogLevels.groovy b/vars/setOnosLogLevels.groovy
index 5723d5c..0c18fd4 100644
--- a/vars/setOnosLogLevels.groovy
+++ b/vars/setOnosLogLevels.groovy
@@ -22,6 +22,7 @@
println "Setting log levels on ${instance}"
sh """
_TAG="onos-pf" bash -c "while true; do kubectl port-forward -n ${cfg.onosNamespace} ${instance} 8101; done"&
+ ps aux | grep port-forward
"""
for (int j = 0; j < cfg.apps.size(); j++) {
@@ -32,6 +33,7 @@
}
sh """
ps e -ww -A | grep _TAG="onos-pf" | grep -v grep | awk '{print \$1}' | xargs --no-run-if-empty kill -9
+ ps aux | grep port-forward
"""
}
}