VOL-5155 - triage failure in periodic-voltha-test-bbsim-2.12

jjb/pipeline/voltha/master/bbsim-tests.groovy
jjb/pipeline/voltha/voltha-2.12/bbsim-tests.groovy
--------------------------------------------------
  o Fixing minor problems

Change-Id: Iaef26b14ac38584789f7c28b70c9775edad7137e
diff --git a/jjb/pipeline/voltha/master/bbsim-tests.groovy b/jjb/pipeline/voltha/master/bbsim-tests.groovy
index 396ff9f..9429d6b 100644
--- a/jjb/pipeline/voltha/master/bbsim-tests.groovy
+++ b/jjb/pipeline/voltha/master/bbsim-tests.groovy
@@ -25,7 +25,7 @@
 //------------------//
 //---]  GLOBAL  [---//
 //------------------//
-String clusterName = 'kind-ci' // was def
+String clusterName = 'kind-ci'
 
 // -----------------------------------------------------------------------
 // Intent:
@@ -487,7 +487,7 @@
          */
         sh(label  : 'pgrep_proc - kill-pre',
            script : """
-pgrep --uid "\$(id -u)" --list-full --full 'kail-startup' || true,
+pgrep --uid "\$(id -u)" --list-full --full 'kail-startup' || true
 """)
         sh(label  : 'pkill_proc - kail',
            script : """
@@ -498,7 +498,7 @@
 
         sh(label  : 'pgrep_proc - kill-post',
            script : """
-pgrep --uid "\$(id -u)" --list-full --full 'kail || true'
+pgrep --uid "\$(id -u)" --list-full --full 'kail || true
 """)
         
         println("${iam}: LEAVE")
diff --git a/jjb/pipeline/voltha/voltha-2.12/bbsim-tests.groovy b/jjb/pipeline/voltha/voltha-2.12/bbsim-tests.groovy
index 7dbeffb..adf0808 100644
--- a/jjb/pipeline/voltha/voltha-2.12/bbsim-tests.groovy
+++ b/jjb/pipeline/voltha/voltha-2.12/bbsim-tests.groovy
@@ -25,7 +25,7 @@
 //------------------//
 //---]  GLOBAL  [---//
 //------------------//
-String clusterName = 'kind-ci' // was def
+String clusterName = 'kind-ci'
 
 // -----------------------------------------------------------------------
 // Intent:
@@ -487,7 +487,7 @@
          */
         sh(label  : 'pgrep_proc - kill-pre',
            script : """
-pgrep --uid "\$(id -u)" --list-full --full 'kail-startup' || true,
+pgrep --uid "\$(id -u)" --list-full --full 'kail-startup' || true
 """)
         sh(label  : 'pkill_proc - kail',
            script : """
@@ -498,7 +498,7 @@
 
         sh(label  : 'pgrep_proc - kill-post',
            script : """
-pgrep --uid "\$(id -u)" --list-full --full 'kail || true'
+pgrep --uid "\$(id -u)" --list-full --full 'kail || true
 """)
         
         println("${iam}: LEAVE")
diff --git a/vars/pgrep_proc.groovy b/vars/pgrep_proc.groovy
index 556a599..9629de4 100644
--- a/vars/pgrep_proc.groovy
+++ b/vars/pgrep_proc.groovy
@@ -73,6 +73,10 @@
 
     println("** ${iam}: ENTER")
 
+    // var = Gstring throws exception due to cast problem.
+    // var = [ 'foo', 'bar' 'tans' ].join(' ').toString() fails
+    throw new Exception("Not yet implemented")
+    
     try {
         process(proc, args)
     }
diff --git a/vars/pkill_proc.groovy b/vars/pkill_proc.groovy
index 0a1fe5d..56a1d9b 100644
--- a/vars/pkill_proc.groovy
+++ b/vars/pkill_proc.groovy
@@ -85,6 +85,10 @@
 
     println("** ${iam}: ENTER")
 
+    // var = Gstring throws exception due to cast problem.
+    // var = [ 'foo', 'bar' 'tans' ].join(' ').toString() fails
+    throw new Exception("Not yet implemented")
+
     try {
         // Limit process matching by default
         if (! mymap.containsKey('command_only')) {