adding logging statements to the test job
Change-Id: I79b201fa59ec0a3cc53c5130e3e42708d8370776
diff --git a/Jenkinsfile-voltha-test b/Jenkinsfile-voltha-test
index 5e2662f..7a78cda 100644
--- a/Jenkinsfile-voltha-test
+++ b/Jenkinsfile-voltha-test
@@ -35,12 +35,16 @@
timeout(180) {
sh """
export KUBECONFIG=$WORKSPACE/${configBaseDir}/${configKubernetesDir}/${configFileName}.conf
+ cd $WORKSPACE
+ rm -rf *.log
screen -dmS voltha-api-minimal bash -c 'while true; do kubectl port-forward -n voltha service/voltha-api 55555:55555; done'
screen -dmS voltha-ssh kubectl port-forward -n voltha service/voltha-cli 5022:5022
export VOLTCONFIG=/home/cord/.volt/config
- kubectl get pods --all-namespaces -o jsonpath="{..image}" |tr -s "[[:space:]]" "\n" | sort | uniq -c
cd $WORKSPACE/voltha-system-tests/tests
robot --removekeywords wuks -d Log -V $WORKSPACE/${configBaseDir}/${configDeploymentDir}/${configFileName}.yaml -v POD_NAME:${configFileName} -v KUBERNETES_CONFIGS_DIR:$WORKSPACE/${configBaseDir}/${configKubernetesDir} functional/Voltha_PODTests.robot || true
+ kubectl get pods --all-namespaces -o jsonpath="{..image}" |tr -s "[[:space:]]" "\n" | sort | uniq -c
+ kubectl get nodes -o wide
+ kubectl get pods -n voltha -o wide
"""
}
}