Commit Graph

12 Commits (ab50e471b976d2820b8f2ff30de1534491e79f3a)

Author SHA1 Message Date
yong sheng gong e35f072896 Fix post gate hook to accommodate for new os-testr
New os-testr uses stestr under the hood, which creates .stestr but not
.testrepository directory in the current dir. Other than that, it
doesn't seem like there is any difference in the format or names of
files generated in the directory.

Change-Id: I9b7fbba2fe7657bed53f74a22d36ad5116269f69
Closes-bug: #1716746
6 years ago
rajat29 ab6a2557d4 Fix to use . to source script files
Adhering to coding conventions. Refer to ``Code conventions`` at
https://docs.openstack.org/contributor-guide/ for details.
When you have to source a script file, for example, a credentials file
to gain access to user-only or admin-only CLI commands, use . instead of source.
https://docs.openstack.org/contributor-guide/writing-style/code-conventions.html

Change-Id: I267e2282345b5cb97eba8d0c844417354ec24f4c
6 years ago
venkatamahesh c563f6aeb4 Use OpenStack CLI instead of individual CLI
Co-Authored-By: gong yong sheng <gong.yongsheng@99cloud.net>
Co-Authored-By: venkatamahesh <Venkata.Kotha@infinite.com>

Change-Id: Ie4a41b6b5350555b5ebb57fb7b44ebcd89fab2a5
Closes-Bug: #1648086
6 years ago
yong sheng gong 8db5115910 Unlimit the ram quota for testing
Change-Id: Icd57f6f1f17c5190c607418a509ed20c39f38d88
Closes-bug: 1664860
6 years ago
doantungbk 17e28c9d90 Fix dsvm failure caused by devstack plugin and event/auditing func.
This patch will fix dsvm failure:
1. The new changes in devstack [1]. Whereby, plugin was not enabled
to use multiple times. Currently, almost functions like fixup_quota,
add_key and add_secgrp enable plugin which runs multiple times.
2. Some functional tests were not working with event/auditing function.
[1]https://review.openstack.org/#/c/396794/

Change-Id: I1846c0df1d59557919a4caa612f2a4c60fbf7ce8
Closes-Bug: #1646807
7 years ago
Tin Lam 043c147690 Provide support for security groups for ConnectionPoints
Add option for providing security groups in ConnectionPoint
node_type of TOSCA VNF templates.

Co-Authored-By: Sridhar Ramaswamy <srics.r@gmail.com>

Change-Id: I5fabaa8a33d684a591364510ed6d3df93989c419
Closes-Bug: #1591372
7 years ago
gong yong sheng b90d3e4d6d Add a shell script for developers to prepare functional test env
After devstack installation, to run functional test cases, the
nova instance quota, keypair and neutron port quota should be
set to a level which will not block tests. This patch adds a tool
to do this preparation so that developers can easily run
functional tests locally.

Change-Id: I1c2fae110863906e3f7601456dbf79ff06da4c40
Closes-bug: #1617303
7 years ago
Tin Lam 02e42be35b Add key injection support to tosca.nodes.nfv.VDU.Tacker
Implement the 'key_name' parameter in templates by adding the new property
to tacker_nfv_defs.yaml.

Change-Id: I1838b283a60c387a7cb92e6c8ebebe7ca8ac5141
Closes-Bug: #1578785
7 years ago
Sridhar Ramaswamy d9a9892c87 Disable nova quota for dsvm functional test
Parallel execution of tacker functional test ends up
creating lots of VMs and eventually fails hitting the
default max instance of 10. This fix disables quota for
tacker functional test suite. However gate VMs still has
upper constraint on resources like 8GB max limit. To avoid
tripping the actual gate VM resource limit reduce concurrency
to a lower number (2).

Change-Id: I3fe8c012b85554fa21b5b4b64378d68e3d979cc2
Closes-Bug: #1572420
7 years ago
gong yong sheng 8bdccea2bb Collect test result reports
Fix the post_test_hook.sh and tox.ini to use right tox enviroment.
Post_test_hook.sh collects the result reports.

Change-Id: Ie60cd55521d89cb2e00f3ecff0fe3af989e0f6ea
Closes-bug: 1559861
7 years ago
Sridhar Ramaswamy 2c4e277b9d Fix post gate hook to use correct path
Change to tacker dir before invoking tox

Change-Id: Idfdf34ea395ade6e45f8f866a74ca635385714f0
8 years ago
Sridhar Ramaswamy 1e6206ca66 Add tacker devstack-gate functional post test hooks
Change-Id: Ic4a0d6fb2dd6e55a50e081e328a62dc4e9bebfd3
8 years ago