Age | Commit message (Collapse) | Author | Files | Lines |
|
add get_current scenario in EnergyRecorder class
enable_recording decorator change:
If a recording session was existing at startup, restart it at the end,
else stop recording
Change-Id: I91524824acb60275e0329452b7d7df2346d7884f
Signed-off-by: Benoit HERARD <benoit.herard@orange.com>
|
|
It also updates all python scripts which call check_os.sh.
The former healthcheck.sh is removed.
No shell script must be executable in git.
Change-Id: If4e8deb50ebd635a9091e3bb79ef61c07b9660dc
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
Only prepare_env.py and run_tests.py remain executable to avoid
breaking the gate.
As soon as the jenkins jobs are updated to run them from $PATH, tox
will be updated to protect against chmod a+x py files. Dockerfile
will be simplified as well.
Change-Id: Iac1a7ceb6b344e800177226ea39919826f6d3735
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
It follows the next updates of the securityscanning package:
- Define config.ini as data_file [1]
- Define security_scan console script [2]
[1] https://gerrit.opnfv.org/gerrit/36635
[2] https://gerrit.opnfv.org/gerrit/36771
Depends-On: I54ffa61f4bcd366c185596056b49e492c88cc78b
Change-Id: I342c00392bb68aad704a89060841eac665e91bdb
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
|
|
|
|
It also stops calling parser_install.sh.
This file is replaced by the 2 new requirements in
docker/thirdparty-requirements.txt:
- tosca-parser
- heat-translator
Change-Id: Ic9dcdd81df9800fc8e559a07f9c100a20bea2290
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
It follows the changes switching to python packages.
It shall be noted that several cmds could be enhanced.
Change-Id: I8cf3595d1e8044b650deb4ec733bf973c0bf1b3f
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
As refstack-client is reinstalled only by the shell setup_env, the path of
.venv and .tempest have been changed.
Change-Id: Id50d0c6384295c2448705961942104abbd799b9b
Signed-off-by: Linda Wang <wangwulin@huawei.com>
|
|
Images by type (cirros, centos, ubuntu) can now have the download URL be
overridden, told to leverage a local file, or have custom configuration
when using the snaps.openstack.tests.openstack_tests.py image settings
helper functions.
JIRA: FUNCTEST-809
Change-Id: I790094a7a26eb5a55f53d6e875c658dc5e7ac2f9
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
Initially, we only executed fds testcase on odl_l2 fdio scenarios.
Now we're extending this to all odl fdio scenarios.
Change-Id: Ieb2454f02847361fdf3274b11f20a996a916ad90
Signed-off-by: juraj.linkes <jlinkes@cisco.com>
|
|
|
|
|
|
Now it can be installed via python package [1] and then be listed in
thirdparty-requirements.txt.
[1] https://gerrit.opnfv.org/gerrit/#/c/36445/
Change-Id: Iae7482865917e51a96a180b0a987ab0ff26a0190
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
Refstack clones the repo in /home/opnfv/.tempest. Rally can use
that repo which is checked out to the REFSTACK_TAG=15.0.0
This way, we avoid having twice the same files.
Change-Id: I9b05d29b1c9bdf3d10539b771d0d20abb2b7cc37
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
|
|
|
|
|
|
Change-Id: If2b6b46f3f192f58636c55f3ddc9e80b9e22be3c
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
|
|
It completes "Use directly OpenStack project packages" [1].
kingbird becomes a dependency.
[1] https://gerrit.opnfv.org/gerrit/#/c/36125/
Change-Id: I2cb9e3a2146a2b2bbae89dde9917c5ace70048a6
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
|
|
When executing a single test case, it is not neccessary
to show duplicated information about the result of the test
case. The functest report only makes sense when running
multiple tests.
e.g. functest testcase run vping_ssh
The report is still showed when doing:
functest testcase run all
Change-Id: I92d97d6111ecd9484a14c72cf4bb0c2bbe3ae6bf
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
|
|
|
|
|
|
Images used are changed to leverage local file.
Change-Id: I42a89c8c33054a23e226d22358fe268770986a76
Signed-off-by: Linda Wang <wangwulin@huawei.com>
|
|
The reason is that some installers have changed the mechanism and the adapters
are not valid any more and the method to access the deployment information fails
Fuel -> MCP
Compass -> Containers
This shall be deactivated to avoid errors in CI until the new installer
adapters are implememnted.
Change-Id: I995b914bf55d5da76f27e715d170dd22e84d677c
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
|
|
[1] introduced a bug when adding "sh" to the call.
There is no need to use sh or bash in the command string.
[1]: https://gerrit.opnfv.org/gerrit/#/c/36163/
Change-Id: I9ce443721b69945a4a749da0caa6c008cc8ca284
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
|
|
1. When running in https environment, functest should provide an
option to disable server certificate verification.
2. For check_os.sh, the param "--insecure" is passed to openstack
cli, e.g.. openstack --insecure server list.
JIRA: FUNCTEST-828
Change-Id: Ie2c5b14152c92e87318fcfaf8b234f59275eb6b8
Signed-off-by: Linda Wang <wangwulin@huawei.com>
|
|
As [1] is merged, the way to call the barometer test case is
different as it is hosted in Barometer repo instead of Functest.
The former files are also simply removed too.
baro-tests is no longer a requirement. It is installed as any
third party project.
[1] https://gerrit.opnfv.org/gerrit/#/c/35927/
Co-Authored-By: Cédric Ollivier <cedric.ollivier@orange.com>
Change-Id: Iea56b48fa781600eb3a6ac74662ea8a29f556f99
Signed-off-by: Jose Lausuch <jose.lausuch@ericsson.com>
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
It also removes relative (and incomplete) references which could be
defined in modules instead of this global configuration.
Change-Id: Ie20dc3547e49b6224aa8100cd380d37b87ece5a9
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
|
|
|
|
After [1], the openstack credentials
are provided to Functest as a volume
directly from CI. The same has to be
done manually.
Functest doesn't need the script
fetch_os_creds.sh any longer.
[1] https://gerrit.opnfv.org/gerrit/#/c/35199/
Change-Id: I0883ad7b248526cfe9df3fde984345bd41869e82
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
|
|
|
|
For some SUTs, the password for creating user is required to contain
at least 8 characters and three types of characters for security.
Change-Id: Iea770397fc6781d24fbfd0798e2da6bd65293866
Signed-off-by: Linda Wang <wangwulin@huawei.com>
|
|
1. Remove get_db_url()
2. If TEST_DB_URL declared in env, update test_db_url in
config_functest.yaml file during env preparation
3. No matter TEST_DB_URL declared in env or not,
Result_DB = CONST.__getattribute__("results_test_db_url")
JIRA: FUNCTEST-763
Change-Id: I20da7ef98bbcc56731e0ff7061b05c1dde6cbfc3
Signed-off-by: Linda Wang <wangwulin@huawei.com>
|
|
1. The image cirros or testvm is required for tempest.conf to run
tempest testcases.
2. If no images are created in openstack, which just match the
img_name_regex (default="^.*(cirros|testvm).*$"), it is needed to
download cirros image online.
Change-Id: Ib5a38a0135b3dd80ad685e33ed35b7b6135b9c87
Signed-off-by: Linda Wang <wangwulin@huawei.com>
|
|
|
|
They replace the former calls in run_tests which are not suitable for all
test cases. Now any test case can define how to clean its resources.
If the snapshot cannot be created, the test case is considered as
failed. Only a message is printed if any failure during cleaning.
It also defines a new class called OSGCTestCase useful for test cases
which don't clean their OpenStack resources.
All test cases located in opnfv_tests/openstack inherit from it to
keep the global behavior unchanged.
It also deletes exit instructions in openstack_clean and
openstack_snapshot, removes clean flags in testcases.yaml and updates
the related utils.
All Docs are modified as well.
JIRA: FUNCTEST-438
Change-Id: I8938e6255708012380389763a24059ace4ce45d8
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
|
|
|
|
It's designed to be called via Jenkins and was fixed by the next rule:
$ find ${FUNCTEST_REPO_DIR} -name "*.sh" \
|xargs grep \#\! |cut -d\: -f 1 |xargs chmod -c 755
Change-Id: I186aa9c3227dbac4e80f9a463632efdb2512020e
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
|
|
It modified the shebang to /usr/bin/env which is considered as more
flexible.
Change-Id: I9c8cdb4243d41a83d524499cc91060d3700e008b
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
1. In run_tests.py, test case name is shown before running:
logger.error(kwargs['test']) -> logger.info(kwargs['test'])
2. In tempest.py, Verication -> Verification
Change-Id: I117838cdb4b0f920c4cf855645d910e623e06868
Signed-off-by: Linda Wang <wangwulin@huawei.com>
|
|
|
|
|
|
They are considered as warnings by flake8.
Change-Id: I84ffedc41c24133aa0d45e312bb095526aa1095b
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
Change-Id: I4ba995d412bfeadc708d5a3c643576097867d1ac
Signed-off-by: Tim Irnich <tim.irnich@ericsson.com>
|
|
Change-Id: I438c8f5ad9a517a19b675205964a427e8b57ac44
Signed-off-by: Gerald Kunzmann <kunzmann@docomolab-euro.com>
|
|
|