Age | Commit message (Collapse) | Author | Files | Lines |
|
Now run_tests.py calls directly OpenDaylightTesting.functest_run().
It mainly reads env vars as exec_test.sh does.
Change-Id: Ibb44a7ca67e9218d34d13b8dd539e772902fe5b8
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
fix missed the apt-get action
Change-Id: Iac94576a2f712133eee92e4b5460f85d59e90e94
Signed-off-by: Ferenc Cserepkei <ferenc.cserepkei@ericsson.com>
|
|
The fix https://gerrit.opnfv.org/gerrit/#/c/19351 will need
more time for dicussion. In the meanwhile we can use this
one so that CI does not break anymore.
Change-Id: Icbd54200bd62e5019c2a556699ceb41afdb229ca
Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
|
|
|
|
|
|
In openstack_util.py, when create/get/update network or other resources failed,
False is returned, which is incompatible with success return value such as id, network_nic.
JIRA: FUNCTEST-427
Change-Id: Id2f55d8524e5aff150ba6bfb799085377a63baa4
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
During generating tempest.conf file rally tries to download
cirros image from the internet if no suitable images exist in
the configuration. This change ensures that cirros image is
created before generating tempest.conf file.
JIRA: FUNCTEST-195
Change-Id: I9e2df8af40bd02db9b78b8b6b730b4f4168a8b2d
Signed-off-by: vitikkan <viktor.tikkanen@nokia.com>
|
|
It conforms to the current implementation of functest_utils
Change-Id: I50fa05fbf81a7c76cf4a6e3ef906fffe8aec15bf
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
In rally, image_exists is used to decide whether the image
resource should be cleaned or not. But unlike rally,
image_exists in vping is only assigned but not never be actually used.
JIRA: FUNCTEST-426
Change-Id: Id2089dd2a9734ba957cc1c80d4dc31bc27907b0a
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
Change-Id: Ia70c1db358b727a910a38b679de0e3c6febdb0cd
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
Change-Id: I91681736817f881ca53e5124328bd4399aa54740
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
|
|
* changes:
Avoid opening tmp files twice
Add logs (info)
Improve errors and status codes management
|
|
It avoids opening stdout.txt twice and removes it at the end.
Change-Id: I7e006b52f49dd32543676259e0a1be2473670487
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
|
|
It adds logs (info) when status is ok and fixes an exception printing
too. It removes one useless log (debug).
Change-Id: Ia59c3985ae749b80d0e0c07f331220bd33cd8007
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
Run returns the number of errors which is irrelevant to catch as
they are published to DB. Useless generated files are desactivated too.
Change-Id: I2baf6d5242c5f4095302a47ff90272fb95103457
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
It protects against a direct call to push_to_db without a previous run
even if it can not happen in the current implementation.
Change-Id: Ifa00aed60912fa8b96b80d581067548ac6727fb5
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
|
|
|
|
There are lots of common processes in vPing_userdata.py
and vPing_ssh.py, abstract and refactor them.
JIRA: FUNCTEST-414
Change-Id: I4cd2c635318c063319d2a3c31f9a1e512eeea6c8
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
All files where __main__ is checked can now be executed by everyone.
It results from [1] like the next commit [2].
[1] find . -name "*.py" |xargs grep __main__ |cut -d\: -f 1 |xargs chmod 755
[2] https://gerrit.opnfv.org/gerrit/#/c/16737/
Change-Id: I75395892e9e6afbf8ac9c995258496be557aad5f
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
It now relies on Robotframework API instead of parsing output.xml.
The type of critical and elapsedime fields are now bool and int
respectively. start_date and stop_date has been fixed too.
JIRA: FUNCTEST-367
Change-Id: I59f3ad2109345395ccf01a714301a14f9323f088
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
We changed the way to download a single file from gerrit
We point now to the original file as bugs in tacker were fixed
Change-Id: I566b2f95ac1ab6032f22180bb42d0fa49482058c
Signed-off-by: Manuel Buil <manuel.buil@ericsson.com>
|
|
It mainly removes prefixes, '#' and '@' and changes details to tests.
It deletes useless comments too.
Change-Id: I7807a7429a90e7c7c15f8662008a5a768f96be98
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
It removes useless odlreport2db args as functest_utils parses env vars
too and erases this previous values.
All mandatory env vars are still checked in exec_test.sh.
Change-Id: I3dd299dcad1758b994cf9d53ef65a5b83dc46b97
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
|
|
It conforms to OpenStack Style Guidelines [1]
[1] http://docs.openstack.org/developer/hacking/
Change-Id: I995ff7fa3be995ca59e59c070b93394cd7200066
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
Change-Id: I3ddb9c38010c6f19ebd507990b57c9c498f49da8
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
|
|
JIRA: FUNCTEST-416
Change-Id: I1a5800be0dcf75573f44e6214b23917aadc1cbf7
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
|
|
Change-Id: I0ae03b1f13bbc8801d8c14fa6ff1b93117c80e91
Signed-off-by: wuwb1989 <wuwenbin2@huawei.com>
|
|
|
|
Only last part of blacklist.txt file was loaded by yaml.safe_load()
function. File format is corrected.
JIRA: FUNCTEST-418
Change-Id: I9c922b1a7b739e7d0c0d5afa3e0ea700749f9d50
Signed-off-by: vitikkan <viktor.tikkanen@nokia.com>
|
|
Parser testcase fails in Functest. Because
there's on Parser debug info, make it difficult
to track failures.
JIRA: FUNCTEST-417
Change-Id: I04152de702f216dc053bdd7922a5672b5712aaff
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
Change-Id: If722e0d3376b8d04766b1eb871caadc5bc6e7c18
Signed-off-by: CNlucius <lukai1@huawei.com>
|
|
Change-Id: I54d56cb2266ae627e4518f06b14705b672e6f74e
Signed-off-by: wuwb1989 <wuwenbin2@huawei.com>
|
|
Change-Id: Idda3a3a5c8fb20f6894675eb087417e150f8646d
Signed-off-by: meimei <meimei@huawei.com>
|
|
|
|
JIRA: FUNCTEST-388
Performs simple connection test, using socket from std python
library. If no connection can be made, socket will timeout and
gracefully move to trying the next compute / control node.
Change-Id: I0048d74d607c8824688c73791c9646f9e9186756
Signed-off-by: Luke Hinds <lukehinds@gmail.com>
|
|
JIRA: FUNCTEST-67
Change-Id: I03620f7f41f78da0ab004d55f72da88e9a30a1ea
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
|
|
|
|
|
|
JIRA: FUNCTEST-268
Change-Id: I8c8a3eff4a7e94b963c0307010a60723dc13a537
Signed-off-by: boucherv <valentin.boucher@orange.com>
|
|
|
|
The tacker post script was modified in the fuel plug-in and thus the link
must be changed
Change-Id: I541eb43baf70171cb7c7ceb3fae284309a1a458b
Signed-off-by: Manuel Buil <manuel.buil@ericsson.com>
|
|
Change-Id: I004225131de57f1597edc62558a3a3e42f31b504
Signed-off-by: meimei <meimei@huawei.com>
|
|
Change-Id: I23ff06b53e45e9aa226f430e7d2fb75025281b9e
Signed-off-by: meimei <meimei@huawei.com>
|
|
When changing the classifier, ODL needs some seconds to update
the switches and sometimes they are not changed when the script
executes the second part of the test ==> test fails
Change-Id: I1fa3306eb7b283d708dbd736d2365456559db9b9
Signed-off-by: Manuel Buil <manuel.buil@ericsson.com>
|
|
|
|
parser has no report flag, every time we run the test the results will be reported to db
JIRA: FUNCTEST-410
Change-Id: I6336b4c367fd8edc70e076b81d01d9356580bc22
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|