Invoke id -u VS uid -u
Change-Id: I172d9ee14e59c76b3f65ae76d057b65736dd78fc
diff --git a/jjb/voltha-e2e/voltha-2.8.yaml b/jjb/voltha-e2e/voltha-2.8.yaml
index 994a79d..912e530 100644
--- a/jjb/voltha-e2e/voltha-2.8.yaml
+++ b/jjb/voltha-e2e/voltha-2.8.yaml
@@ -30,7 +30,7 @@
code-branch: 'voltha-2.8'
extraHelmFlags: '--set kafka.externalAccess.enabled=true,kafka.externalAccess.service.type=NodePort,kafka.externalAccess.service.nodePorts[0]=30201,kafka.externalAccess.service.domain=127.0.0.1'
time-trigger: "H H/23 * * *"
- logLevel: 'DEBUG'
+ logLevel: 'INFO'
testTargets: |
- target: voltha-pm-data-single-kind-att
workflow: att
diff --git a/vars/pkill_port_forward.groovy b/vars/pkill_port_forward.groovy
index 54644b2..77bf5c4 100644
--- a/vars/pkill_port_forward.groovy
+++ b/vars/pkill_port_forward.groovy
@@ -80,7 +80,7 @@
sh(
label : 'Display port forwarding (pre-pgrep-pkill)',
script : """
-pgrep --uid \$(uid -u) --list-full --full 'port-forw'
+pgrep --uid \$(id -u) --list-full --full 'port-forw'
""")
}
@@ -90,7 +90,7 @@
script : """
echo -e "\n** vars/pkill_port_forward.groovy [DEBUG]: pgrep-pkill check"
if [[ \$(pgrep --count 'port-forw') -gt 0 ]]; then
- pkill --uid \$(uid -u) --echo --list-full --full 'port-forw'
+ pkill --uid \$(id -u) --echo --list-full --full 'port-forw'
fi
""")