add support for JVM monitoring 98/85398/14
authorStanislav Chlebec <stanislav.chlebec@pantheon.tech>
Fri, 25 Oct 2019 17:33:42 +0000 (19:33 +0200)
committerStanislav Chlebec <stanislav.chlebec@pantheon.tech>
Wed, 6 Nov 2019 09:07:46 +0000 (10:07 +0100)
commita95c8644b21d57dd0d0519b2ef4cefd0da1ad3dc
tree7209a2d2339777bd530820c61707471ac7303161
parentebf97a45fa6d937ed300d4235b3eb7776f4876fa
add support for JVM monitoring

in common-functions.sh
    - function get_features:
      add decanter-collector-jmx,decanter-appender-elasticsearch to the variable
      to allow the proper decanter feature installation
    - the new function add_jvm_support():
      allow executing of scripts
       .../test/csit/scripts/set_elasticsearch_attribute_short.sh (or ...long.sh)
       .../test/csit/scripts/set_jvm_common_attribute.sh
      for allow  decanter & elasticsearch configuration & installation
      and eliminate the need to list them
      in scriptplans files (in the folder integration/test/csit/scriptplans)
      This function is called from scripts
      integration-configure-clustering.sh and integration-deploy-controller-run-test.sh
    - function get_test_suites:
      added python call to generate plots to eliminate the need to list
      integration/test/csit/suites/integration/Create_JVM_Plots.robot
      in testplans (in the folder integration/test/csit/testplans)

jenkins job parameters

    - update description of parameter CONTROLLERFEATURES
    - create the new parameter ELASTICSEARCHATTRIBUTE

    ELASTICSEARCHATTRIBUTE will serve for indicating how to set
    elasticsearch attribute while calling of respective shell script from
    releng/builder/jjb/integration/common-functions.sh function run_plan

get rid of explicit mentions of decantor related features in current yaml files

elasticsearch-attribute
- set default to short in jjb/defaults.yaml
- set value to long in all projects which contain the longevity functionality
- new job parameter ELASTICSEARCHATTRIBUTE inserted to the integration-controller-parameters macro in jjb/integration/integration-macros.yaml
- adding setting of the new parameter to each template (reffering the integration-csit-parameters macro) in jjb/integration/integration-templates.yaml
- adding setting of the new parameter to the template refering the integration-controller-parameters macro in jjb/integration/distribution/distribution-templates.yaml

JIRA: INTTEST-14
Signed-off-by: Stanislav Chlebec <stanislav.chlebec@pantheon.tech>
Change-Id: I3745ac190563ccaab03d4ce8e49f1bfd53eb8b56
26 files changed:
jjb/bgpcep/bgpcep-csit-bgpclustering-longevity.yaml
jjb/controller/controller-csit-cs-chasing-leader.yaml
jjb/controller/controller-csit-cs-partnheal.yaml
jjb/controller/controller-csit-ddb-expl-lead-movement.yaml
jjb/controller/controller-csit-dnb-noloss.yaml
jjb/controller/controller-csit-drb-partnheal.yaml
jjb/controller/controller-csit-drb-precedence.yaml
jjb/defaults.yaml
jjb/integration/common-functions.sh
jjb/integration/distribution/distribution-templates.yaml
jjb/integration/integration-configure-clustering.sh
jjb/integration/integration-deploy-controller-run-test.sh
jjb/integration/integration-macros.yaml
jjb/integration/integration-templates.yaml
jjb/netconf/netconf-scale.yaml
jjb/netvirt/netvirt-csit-hwvtep-openstack.yaml
jjb/netvirt/netvirt-csit-multi-apex.yaml
jjb/netvirt/netvirt-csit-multi-openstack-upgrade.yaml
jjb/netvirt/netvirt-csit-multi-openstack.yaml
jjb/openflowplugin/openflowplugin-csit-clustering-perf-bulkomatic.yaml
jjb/openflowplugin/openflowplugin-csit-longevity.yaml
jjb/openflowplugin/openflowplugin-csit-perf-bulkomatic.yaml
jjb/openflowplugin/openflowplugin-csit-scale-link.yaml
jjb/openflowplugin/openflowplugin-csit-scale-switch.yaml
jjb/openflowplugin/openflowplugin-csit-scale.yaml
jjb/ovsdb/ovsdb-csit-clustering.yaml