summaryrefslogtreecommitdiffstats
path: root/baro_tests/config_server.py
AgeCommit message (Collapse)AuthorFilesLines
2018-03-22[functest] Skip RDT tests if on a virtual nodeEmma Foley1-1/+1
* Skip RDT tests if the node is virtual. * Push fake positive results to try avoid failure TODO: Get the test passing. Currently, the individual tests show a pass, however, the overall test shows a failure. Change-Id: Iedfb125a15ed1b9d41a3d48148a4ac363a89b90b Signed-off-by: Emma Foley <emma.l.foley@intel.com>
2018-03-20[functest] Update tests for AodhEmma Foley1-6/+15
* Update the check for timestamp to use state_timestamp instead state_timestamp indicates the last change in state of the alarm, timestamp is the last update to the alarm settings. This is not what we're looking for with aodh tests, so check the state update instead. * Trigger an alarm state change before checking whether the alram was updated. Notification in collectd aren't necessarily updated at a regular interval, so we have to do some action and check whether the alarm is updated. JIRA: BAROMETER-91 Change-Id: I26d9bb1ec7e50e07053e69068d241e4c4cbc30dc Signed-off-by: Emma Foley <emma.l.foley@intel.com>
2018-03-15Update functest to fix failing testsEmma Foley1-1/+16
* MCE log plugin was failing becaue it wasn't enables * Updated a check for kernel version to match Fraser compute nodes on Apex * RDT was failing when virtual compute nodes were used * Add check to detect whether compute node is a VM * Skip RDT when running in a VM * Gnocchi metrics were failing * increase the wait time between checking metrics * CSV checks were failing on Hugepages * functest was assuming that tests were running on a system with at least two NUMA nodes * Only check for metrics on node0 of the system * Report was showing FAIL even if a test was not executed * Update the report output to show SKIP instead JIRA: BAROMETER-91 Change-Id: I4f70fc84fce80054a7aca2116357b0233f355f70 Signed-off-by: Emma Foley <emma.l.foley@intel.com>
2018-03-02Switch from openstack.creds to the new env_fileCédric Ollivier1-13/+8
This file was renamed to avoid linking Kubernetes testcases to OpenStack credentials. This patch is mandatory for gating. Change-Id: I6b4e7e83d6dfc8cf1d60bf016ef258a273156ffe Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-10-10Adding improvements to the log messagesSharada Shiddibhavi1-3/+9
This patch contains improvements to the log messages in Barometer test suite. Change-Id: I6f0ba5260e2ecdbc90c27a93e4901636e4f66b42 Signed-off-by: Sharada Shiddibhavi <sharada.shiddibhavi@intel.com>
2017-10-09Removing SNMP testcases from Barometer testsuiteSharada Shiddibhavi1-2/+12
The SNMP testcases has been removed from the Barometer testsuite. Change-Id: Ie51df5bdc20a83f8e08aa3ccc2126cf43b0fc1d9 Signed-off-by: Sharada Shiddibhavi <sharada.shiddibhavi@intel.com>
2017-09-23Adding improvements to Barometer testcasesSharada Shiddibhavi1-6/+29
This patch conatins changes to path of files mce-inject_ea and csv.conf Change-Id: Ifbe4eb6f875753b58f5ee4ecc12baa014e15b03a Signed-off-by: Sharada Shiddibhavi <sharada.shiddibhavi@intel.com>
2017-09-21Modyfying method to get env variables in BarometerSharada Shiddibhavi1-5/+6
This patch adds changes to get the environment variables into the baroneter tests Change-Id: I93f18d64d6db25885987b702b36f6d2403bcb24d Signed-off-by: Sharada Shiddibhavi <sharada.shiddibhavi@intel.com>
2017-09-20Adding improvements to SNMP testcasesSharada Shiddibhavi1-9/+17
This patch contains improvements to testcases for Hugepages, Intel_RDT and mcelog verification using SNMP Change-Id: I3451e0acd9c791e6145bb15e7ba8f3525bc0f0e8 Signed-off-by: Sharada Shiddibhavi <sharada.shiddibhavi@intel.com>
2017-09-15Adding SNMP testcases to Functest-Barometer projectSharada Shiddibhavi1-4/+61
This patch contains tetscases for another write plugin SNMP Change-Id: I281d21540cb95f1e74bfdaa6b5a355dc6f48c9b4 Signed-off-by: Sharada Shiddibhavi <sharada.shiddibhavi@intel.com> Change-Id: I281d21540cb95f1e74bfdaa6b5a355dc6f48c9b4 Signed-off-by: Sharada Shiddibhavi <sharada.shiddibhavi@intel.com>
2017-09-13Modified CSV verification, added Gnocchi and AODH testcasesSharada Shiddibhavi1-168/+146
This patch contains changes in CSV directory path and added testcases for Gnocchi and AODH plugins Change-Id: Icff77546be0b747279522c18e7b3aaa32df2f7c4 Signed-off-by: Sharada Shiddibhavi <sharada.shiddibhavi@intel.com>
2017-09-05Adding different method to access compute and controllersSharada Shiddibhavi1-2/+5
This patch is similar to previous patch in adding a different method to log into the controller and compute nodes. Change-Id: I75332fbb794605477a7c751b59016ffb1a8cf3f2 Signed-off-by: Sharada Shiddibhavi <sharada.shiddibhavi@intel.com>
2017-08-31Adding different method to access compute and controllersSharada Shiddibhavi1-309/+106
This patch contains a different method to log into nodes and adding csv.conf file to test with CSV method Change-Id: I9e1e839c0e897e8780119d16eca6136808302259 Signed-off-by: Sharada Shiddibhavi <sharada.shiddibhavi@intel.com>
2017-08-25Added testcases for Gnocchi, AODH, SNMP and Intel_RDTSharada Shiddibhavi1-5/+111
Added testcases for newly added plugins - Gnocchi, AODH, SNMP and Intel RDT for Functest-Barometer project Change-Id: Ice7db5a49852d95e9c3054a0670dbd193f40f26c Signed-off-by: Sharada Shiddibhavi <sharada.shiddibhavi@intel.com>
2017-08-23Added Functest testcases for Barometer projectSharada Shiddibhavi1-104/+256
Added different method to get user credentials of the installer nodes instead of reading from installer_params.yaml Change-Id: I97419c942e1cd9f943a62c36dbce424872a10cb1 Signed-off-by: Sharada Shiddibhavi <sharada.shiddibhavi@intel.com>
2017-03-10Fix for Functest 'BarometerCollectd ERROR - Private key file not found'Calin Gherghe1-2/+1
This patch addresses the blocking Functest issue regarding the ssh keys. It eliminates the need of using the baro_utils/get_ssh_keys.sh script. Change-Id: I4499e48257ddab955ae6694c2ece0bff5e877cad Signed-off-by: Calin Gherghe <calin.gherghe@intel.com>
2017-02-17Initial Barometer Functest ScriptsCalin Gherghe1-0/+503
This patch adds scripts to be used with Functest for the barometer project. This will be expanded with future patchsets. Change-Id: I627f5e9c2b0d693f34bdc4f205989b0913f338db Signed-off-by: Calin Gherghe <calin.gherghe@intel.com>