Age | Commit message (Collapse) | Author | Files | Lines |
|
For heat scenario in rally, assign heat_stack_owner role to
the new created users.
Change-Id: I86a74ca88993ed3782d21b22eb5933d639d86c94
Signed-off-by: Linda Wang <wangwulin@huawei.com>
|
|
And also, remove the params "tempest_use_custom_images" and
"unique_names" of vping, rally and tempest.
Change-Id: Ic4243ef2f5e965910e5befa87db8d585cad34fa2
Signed-off-by: Linda Wang <wangwulin@huawei.com>
|
|
Change-Id: I272f0eb6fb0f2a274484a3dcfacd8ed65e4a5b23
Signed-off-by: Linda Wang <wangwulin@huawei.com>
|
|
Mainly, update "rally deployment create --file=rally_conf.json"
to "rally deployment create --fromenv"
Change-Id: I6dd4c7ea2d9d6f47dee49a4fd416e62bd557f45e
Signed-off-by: Linda Wang <wangwulin@huawei.com>
|
|
|
|
JIRA: SNAPS-202
Change-Id: I115b4927b287a5525f4c1b95128d91f5229c7856
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
|
|
Replace obsolete os.popen with subprocess module usage in command
output retrieval. Do not use shell as the program to execute.
Change-Id: Ic63bb0f393750c3b85a35a37fecd46c1c1b96602
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
|
|
In some deployments, the retrieved external network by the
def get_external_networks in Snaps checked by "router:external"
is not available. So it is necessary to specify the available
external network as an env by user.
Change-Id: I333e91dd106ed307541a9a197280199fde86bd30
Signed-off-by: Linda Wang <wangwulin@huawei.com>
|
|
|
|
|
|
JIRA: FUNCTEST-890
Change-Id: Iac2f833fa2b704cd7caa6083e39e48e2df315890
Signed-off-by: Linda Wang <wangwulin@huawei.com>
|
|
Otherwise, this line could not be matched:
{0} tempest.api.identity.v3.test_tokens.TokensV3Test.test_create_token [0.143237s] ... ok
-> the matched result: tempest.api.identity.v3.test_t
Change-Id: I97282a9c98a889a015a40f9ad2d700906bb88fb1
Signed-off-by: Linda Wang <wangwulin@huawei.com>
|
|
Change-Id: I3392068b4a47d35bf0d91fe6d93f2de268f198bf
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
JIRA: FUNCTEST-889
Change-Id: I96776da7af50b2c33c34dd731b5500b891d263d6
Signed-off-by: Linda Wang <wangwulin@huawei.com>
|
|
Change-Id: I03e422d5dae0ced9cd7a5477c31359ffc7795c42
Signed-off-by: Linda Wang <wangwulin@huawei.com>
|
|
Otherwise several exceptions are raised in TestCase constructors
(those defined in heathcheck).
Change-Id: I4cb054f7092ea9db02cb8c4469e99848533c556b
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
|
|
Remove network and servers context and set image and flavor as a
scenario parameters.
Change-Id: I5181ccce61c4f58af3737619d1b7d259cf539937
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
|
|
Included several CinderQos and CinderVolumeTypes scenarios introduced
by the recent Rally version.
Change-Id: Ibd2affa2e0d24ec79d3b4518456ca0f0457ace9f
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
|
|
Included several new NeutronNetworks and NeutronSecurityGroup
scenarios introduced by the recent Rally version.
Change-Id: I87ad0947ab6b4e1faf8fcad9006dbe34251c313b
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
|
|
Several new NovaServers and NovaServerGroups scenarios available along
with the recent Rally update.
Change-Id: Iee27174923da5a1a25991d8ab5e18f1d404b09ef
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
|
|
|
|
Some new glance scenarios have been added in Rally stable/0.10 [1].
[1]: https://github.com/openstack/rally/releases/tag/0.10.0
Co-Authored-By: Juha Kosonen <juha.kosonen@nokia.com>
Change-Id: I91ffe31b8cc5c94991c9bdd6e33b756c447d82ce
Signed-off-by: Linda Wang <wangwulin@huawei.com>
|
|
Nova-Network are not alive any more and have been removed
in Rally stable/0.10 [1].
[1]: https://github.com/openstack/rally/releases/tag/0.10.0
JIRA: FUNCTEST-883
Change-Id: I45a20504589003a39ff27770709de6881e69aee3
Signed-off-by: Linda Wang <wangwulin@huawei.com>
|
|
The test NovaServers.boot_and_migrate_server needs at least 2 compute
nodes:
https://github.com/openstack/rally/blob/stable/0.9/rally/plugins/openstack/scenarios/nova/servers.py#L763-L765
Change-Id: I4ddf99188094ced57225d886037b00e91f3b68e6
Signed-off-by: Linda Wang <wangwulin@huawei.com>
|
|
Live migration test cases were excluded if tempest was not executed
before rally since tempest config file is created during the execution
of tempest.
Remove the dependency to config file and define the support based on
the number of computes as done in tempest.
Change-Id: I57c18b7c57e6a4bc8bfbdfb4beb5f8d67c6269c4
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
|
|
It completes "Bug fix: vping_userdata test status was not properly
reported" [1].
[1] https://gerrit.opnfv.org/gerrit/#/c/43911/
Change-Id: I7e8be6cd564a24ca174e63cfc295861c51cae8ed
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
It fixes vping_userdata as it allows getting metadata due to the
gateway defined for the subnet.
It could be noted that DHCP can add the route needed if no gateway is
defined and if force_metadata is set in dhcp_agent.ini.
Change-Id: Ia62e0f00e3d2caee6262dd9cd9966d1f21fe40d5
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
vping_base is calling vping_userdata
vping_user data could return only EX_TESTCASE_FAILED or EX_OK
by default vping_base always returns EX_OK (based on self.result=100..)
it returned EX_RUN_ERROR only if upper class report EX_RUN_ERROR
that is why vping_userdata was always PASS even if the trace "Ping OK"
cannot be retrieved from the Nova console
it seems that when running the vping_userdata, we systematically got
Failed to read iid from metadata
Change-Id: If72441dd93bffada5c7a5399c87db68d7ebeebed
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
|
|
1. When creating VM, the type of the param userdata should be str, to
conform with that in snaps [1].
2. Remove the infinite loop for vping in userdata
3. Fix the criteria for vping_userdata and vping_ssh
[1]: https://git.opnfv.org/snaps/tree/snaps/openstack/utils/nova_utils.py#n92
Change-Id: I262a7ebb93ec90bb6f8f3acb5d564f210abcfc4b
Signed-off-by: Linda Wang <wangwulin@huawei.com>
|
|
Create flavors and use them in rally scenarios instead of expecting
certain flavors to pre-exist.
Change-Id: I77c94ab80fcabd7b80ffb36f9856a48121858009
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
|
|
Change-Id: I0a78a16d44c1e0e0b2edec2e43954c1f08e8bb09
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
|
|
|
|
Use SNAPS to create and delete resources.
Change-Id: Ic4d390382acea2be196e8a7518cb8cce25276a45
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
|
|
Append a guid to the end of names of resources created for tempest,
including project, user, network, images and flavors.
Change-Id: I01fc7c5cb45cd5724a99ba1d220c3f3f7d6639cf
Signed-off-by: Linda Wang <wangwulin@huawei.com>
|
|
Rally scenarios don't require volume type to exist as a precondition.
Change-Id: Id735346e062af084635fd8f76f3686005b9b8add
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
|
|
For tempest or rally, if there are more than 1 compute node, live
migration related tests should not be skipped or blacklisted if
shared storage is enabled via ceph.
Change-Id: Ic93e4f508b597c657abe8d246f0cf9c2b5dfd020
Signed-off-by: Linda Wang <wangwulin@huawei.com>
|
|
|
|
Change-Id: Ia53ac75c913f351412180b9b71a56b4c5fbbe4a5
Signed-off-by: Linda Wang <wangwulin@huawei.com>
|
|
All the resources including the project, user, network,
images and flavors to enable tempest running, are created
by snaps-OO, which will definitely clean up those finally.
Change-Id: Iea3e3f275cc6cfd2cee421fcafef90aaf2e6cf3e
Signed-off-by: Linda Wang <wangwulin@huawei.com>
|
|
|
|
|
|
|
|
When generating refstack client reference tempest conf file,
the step of tempest.conf backup is necessary.
So if the dir results/tempest is absent, error shows:
[Errno 2] No such file or directory:
'/home/opnfv/functest/results/tempest/tempest.conf'
Change-Id: I7aba5baff55a51881d125b28f99d71d0cc0a5c72
Signed-off-by: Linda Wang <wangwulin@huawei.com>
|
|
Not in use after removal of multisite support [1].
[1] https://gerrit.opnfv.org/gerrit/#/c/39569/
Change-Id: I1346c78743690a2e5279d3b1883501dfe19078e3
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
|
|
Requires a deprecated Ceilometer API which was removed in ocata. Panko
provides the API but is not yet supported by OPNFV installers.
Change-Id: I85ab97099b8adfa1d15fe4195bc5703f2f4e83b8
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
|
|
JIRA: FUNCTEST-774
Change-Id: I259a9a37e40dba6a6594941d989e5aa1858e4a04
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
|
|
Add extra properties to the cirros image
for ARM architecture.
In the glanceclient repository, the create method
expects **kwargs as parameters, thus an extra_properties
variable containing a dictionary of property-value pairs
can be added (if given) to the image to be created.
If the properties do not appear, the call should not affect
the image properties because the dictionary is initialized
as empty.
Change-Id: I690da90e6c6f250bd0a3d99cce39aa250e19b9c2
Signed-off-by: Catalina Focsa <catalina.focsa@enea.com>
|
|
Ceilometer Events API is deprecated and removed in ocata. Panko
provides the API but is not yet supported by OPNFV installers.
Change-Id: I4bf29ca9371fa87a43df3ce32ac206a5e9363468
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
|