Age | Commit message (Collapse) | Author | Files | Lines |
|
Because the service running flags of Gnocchi and Aodh
are overwritten in the loop of the compute node, once the flag
become false, the tests on all subsequent nodes are skipped.
This change makes to use new flags for each compute node.
Change-Id: Idc807419151b34b29f0117c9a7708a16a20d70dd
Signed-off-by: Toshiaki Takahashi <takahashi.tsc@ncos.nec.co.jp>
|
|
* Because the type of the variable res[3] is bool,
we should not compare it with a string.
* The expression "or 'None'" is always the same result,
because 'None' is a constant value.
It should be included in the comparison.
Change-Id: I25defad98d612d21027218438ca2a28744292cf5
Signed-off-by: Toshiaki Takahashi <takahashi.tsc@ncos.nec.co.jp>
|
|
Change-Id: I926d0d03781a98e3509d7f9c4f4eaffc1320919b
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
|
|
* 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>
|
|
* 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>
|
|
* 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>
|
|
Follow on to the change #52775
Fixed the if/else logic while installing the mcelog. And
added log messages to show on which node, mcelog is installed.
Change-Id: If5f61b1a780abd243516699e352a55baf0db96f7
Signed-off-by: Sharada Shiddibhavi <sharada.shiddibhavi@intel.com>
|
|
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>
|
|
It inherits from xtesting.core.feature [1].
[1] http://xtesting.readthedocs.io/en/latest/apidoc/xtesting.core.feature.html
Change-Id: Ib547aa60d9b8bf61ab5433496d7149a43355d08c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
The version of CentOS that's used no longer matches the version that
is explicitly checked in collectd.py:mcelog_install.
As a result the code on L637-L642[1] is now being called.
This code was syntactically incorrect, however, was previously not being
called, witht eh update to the version, it is now being executed and
causing failures in deployment [2].
[1] https://github.com/opnfv/barometer/blob/c10400426df872be3236677dcb749c755f4a559c/baro_tests/collectd.py#L637-L642
[2] https://build.opnfv.org/ci/job/functest-apex-baremetal-daily-master/809/consoleText
Change-Id: I35274d4ede17510c3ae03c756eda7bc9f78b4e17
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
|
|
This patch contains improvements to the log messages
in Barometer test suite.
Change-Id: I6f0ba5260e2ecdbc90c27a93e4901636e4f66b42
Signed-off-by: Sharada Shiddibhavi <sharada.shiddibhavi@intel.com>
|
|
The SNMP testcases has been removed from the Barometer
testsuite.
Change-Id: Ie51df5bdc20a83f8e08aa3ccc2126cf43b0fc1d9
Signed-off-by: Sharada Shiddibhavi <sharada.shiddibhavi@intel.com>
|
|
In this patch we remove the step of restarting collectd before
Gnocchi test and adding it only before CSV testing. This also
has fix to functest result status at the end of test execution.
Change-Id: I2113ce8c5234535ab6f8d8c524038ead39e6df38
Signed-off-by: Sharada Shiddibhavi <sharada.shiddibhavi@intel.com>
|
|
This patch contains modifications to the path for CSV
directories
Change-Id: Ia74a6aba47fc51d0d8783df34eebcfc94e3f011d
Signed-off-by: Sharada Shiddibhavi <sharada.shiddibhavi@intel.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
It also removes the exec right on mce-inject_ea and installs it in
$PATH. requirements.txt is also created to install the abstract
dependencies.
Change-Id: I176df99d2f40e1910079f5efa3f28a8c170a922d
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
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>
|
|
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>
|
|
It completes the previous patch in Functest [1].
[1] https://gerrit.opnfv.org/gerrit/#/c/36163/
Change-Id: Idb334fe2cd394837f34690eb5d6426840424c150
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
The decision by Functest team is that 3rd party
test cases should host the test in their respective
repositories.
Change-Id: Ibfd6dbc417fa797b96792a902797e610dab5b167
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
|
|
This patch adds the use of mce-inject utility during the mcelog testing.
It also includes a few (unrelated) flake8 corrections.
Change-Id: Idd3a7005aad1d1d1f7ae2d3107fbd02c959798c8
Signed-off-by: Calin Gherghe <calin.gherghe@intel.com>
|
|
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>
|
|
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>
|
|
This module will be installed in functest so that
we can do things like
from baro_tests import collectd
result = collectd.main()
This way, we can avoid running bash commands in python to
call other python scripts.
Change-Id: Id3801a30648668ac2f1885cd298b920586584a18
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
|