[VOL-5100] - periodic-voltha-test-bbsim
[VOL-5101] - voltha testing and kind command version
vars/installVoltctl.groovy
--------------------------
- Update v2.12 to last frozen release version to establish a baseline.
- Will update when voltctl is published again.
vars/installKind.groovy
-----------------------
- Jenkins complained about bash FUNCNAME[1] string inlined within a
script block. Just remove it, var syntax is valid and script is
simple enough to stand alone w/o message decorations.
jjb/pipeline/voltha/master/bbsim-tests.groovy
---------------------------------------------
- Now where is voltctl being downloaded from (?-Makefile-?).
- Shell commands exist to install if exists but no mention of where it came from.
- Inline a call to installVoltctl.sh, script is aware of release branching and versions.
- Added a getIam() method to decorate script log messages.
- Cannot simply use callstack, internally jenkins will rewrite to support serialization.
- Move installKind() into a named method with try/catch block, exited quietly last time.
- Added comments and mild indentation cleanup for statements.
Change-Id: I4402d83c054a4e942505b8375a0ac00578879114
diff --git a/vars/installKind.groovy b/vars/installKind.groovy
index e7cc57a..f0ed70d 100644
--- a/vars/installKind.groovy
+++ b/vars/installKind.groovy
@@ -42,7 +42,7 @@
function error()
{
- echo "** ${FUNCNAME[1]} ERROR: $*"
+ echo "** ERROR: $*"
exit 1
}
diff --git a/vars/installVoltctl.groovy b/vars/installVoltctl.groovy
index f5f54af..1055e03 100644
--- a/vars/installVoltctl.groovy
+++ b/vars/installVoltctl.groovy
@@ -37,9 +37,9 @@
// This logic seems odd given we branch & tag repositories
// for release so hilight non-frozen until we know for sure.
def released=[
- // 'voltha-2.12' : '?.?.?'
- // https://github.com/opencord/voltctl/releases/tag/v1.8.1
- // 'voltha-2.11' : '1.8.4',
+ // v1.9.1 - https://github.com/opencord/voltctl/releases/tag/untagged-cd611c39178f25b95a87
+ 'voltha-2.12' : '1.8.45',
+ // 'voltha-2.11' : '1.8.45',
// https://github.com/opencord/voltctl/releases/tag/v1.7.6
'voltha-2.10' : '1.7.6',
'voltha-2.9' : '1.7.4',