Age | Commit message (Collapse) | Author | Files | Lines |
|
* Update docs/submodules/functest from branch 'master'
- Update self.result value to INT
So far, the test cases are storing a string "PASS" "FAIL"
in the self.result variable.
The way the new framework works is with INT Values.
Change-Id: I45e8693327740faadd8254b21569adfb2cefa6c8
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
|
|
* Update docs/submodules/functest from branch 'master'
- Merge "Conform constants.py with the minimal standards"
- Conform constants.py with the minimal standards
It adds the shebang to constants.py and its dependencies and stops
importing from a relative path. It stops printing obsolete values too.
It adds python3 support to them by the way.
Change-Id: Ie7bddcf253eb245844d9e11c17acc69943c1ba63
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
* Update docs/submodules/releng from branch 'master'
- Set again run_tests.py's report flag
It was deleted by the previous change [1]
[1] https://gerrit.opnfv.org/gerrit/#/c/34137/
Change-Id: Icfc9b43c30febe21501a9413196cc84f9553ce39
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
* Update docs/submodules/joid from branch 'master'
- fixed syntax error.
Change-Id: I04d4fa6fbf68bfe3f320f18a4168be9dd73da6cf
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
|
|
* Update docs/submodules/functest from branch 'master'
- Merge "Fix an unorderable types error (if python 3)"
- Fix an unorderable types error (if python 3)
Change-Id: I07c5a548f10a1779faead4d9c596a1976aff8866
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
* Update docs/submodules/functest from branch 'master'
- Merge "Add Python3 support to the ODL testcase"
- Add Python3 support to the ODL testcase
It also adds this support to its dependencies.
Change-Id: I0534f0c7b0e15a9ee89f522f314cf5200874454c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
* Update docs/submodules/functest from branch 'master'
- Merge "Converted vPing to leverage the object-oriented SNAPS library."
- Converted vPing to leverage the object-oriented SNAPS library.
JIRA: FUNCTEST-577
1. Replaced procedural openstack_utils with the object-oriented SNAPS
library
2. Tests now clean themselves up.
3. Improved code documentation.
4. Removed dependency on file-based Cirros image and now leveraging the
download URL.
5. Removed hardcoded location to the testcases.yaml file to leverage
the value in config_functest.yaml
6. Included optional flavor metadata based on the scenario being tested
7. Included support for multi-part images.
8. Added enhanced support for configurable images. see SNAPS-76
Fixed line length verification problem with the previous submission
Fixed retrieval of external network name to be dynamic.
Changed external network name retrieval to leverage the newly merged
snap_util.get_ext_net_name() function
Added the creation and deletion of flavors.
SNAPS now has the ability to add/remove security groups from running instances.
Changed VMInstance constructor by moving userdata to configuration object.
Change-Id: I0ef5e268eb153d696bb4d9a7533f780e5c603d26
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
* Update docs/submodules/sdnvpn from branch 'master'
- Update logger via logging.getLogger()
1. The module functest.utils.functest_logger has been deleted and
logger has been reconfigured in functest [1].
2. Update all related modules to get loggers via logging.getLogger().
[1] https://gerrit.opnfv.org/gerrit/#/c/34019/
JIRA: FUNCTEST-824
Change-Id: I89f5d15342b5f257fbc2700655e255a4e28bd36f
Signed-off-by: Linda Wang <wangwulin@huawei.com>
|
|
* Update docs/submodules/daisy from branch 'master'
- add separated disk for ceph in multi-nodes virtual deploy
Change-Id: Ic3f67bb889c20e95916a1052f0cfa1e238f133a8
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
|
|
* Update docs/submodules/functest from branch 'master'
- Update/Add requirements to run ODL robot CSIT
It conforms test_odl.py with the new RobotFramework API too.
It also updates test-requirements.txt as required by the current
implementation of run_unit_tests.sh.
Co-Authored-By: Cédric Ollivier <cedric.ollivier@orange.com>
Change-Id: Ibca0150a40d3b8a3f736be1e9dcbf9ce56af0299
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
* Update docs/submodules/releng from branch 'master'
- Merge "bugfix: /resources.json and /APIs cannot be accessed"
- bugfix: /resources.json and /APIs cannot be accessed
1. change the join way of discover_url
2. limit tornado version not to use latest 4.5
Change-Id: I39dfd3b32bf232a7c144087bc9d5f88fb6798ee7
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
* Update docs/submodules/qtip from branch 'master'
- Merge "delete unuse code in directory /qtip"
- delete unuse code in directory /qtip
Change-Id: I6732c7cf572d5b744c3a176ce266b9739e9233fd
Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
|
|
* Update docs/submodules/qtip from branch 'master'
- Merge "delete unuse code in directory legacy"
- delete unuse code in directory legacy
Change-Id: I31427e8a59ea241e882f41222f211fffe709043f
Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
|
|
* Update docs/submodules/yardstick from branch 'master'
- fix multi-monitor unitest hang
need to mock SSH.from_node().execute.return_value
because we switch most SSH calls to use from_node()
factory function
Change-Id: Ibea525c2fcc243d41de8ccbcd40bc98532d69006
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
|
|
* Update docs/submodules/netready from branch 'master'
- Update logger in netready via logging.getLogger()
1. The module functest.utils.functest_logger has been deleted and
logger has been reconfigured in functest [1].
2. Update gluon-test-suite.py to get logger via logging.getLogger().
[1] https://gerrit.opnfv.org/gerrit/#/c/34019/
JIRA: FUNCTEST-824
Change-Id: If7254171bf1146dc7f5a0792705cecf2e84d15c5
Signed-off-by: Linda Wang <wangwulin@huawei.com>
|
|
* Update docs/submodules/kvmfornfv from branch 'master'
- Merge "Adding breaktrace & disabling timer migration"
- Adding breaktrace & disabling timer migration
This patch is used to update yardstick branch and provide
breaktrace value for executing cyclictest. Also used to
disable kernel timer migration on guest.
Change-Id: I44237b6a3711aa22bcabd0aaad199057efa38137
Signed-off-by: Gundarapu Kalyan Reddy <reddyx.gundarapu@intel.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Added support for offline testing
Expanded the image_metadata used by the tests for overriding default
images for not only supporting 3part images but also to support offline
testing as required by Functest.
JIRA: SNAPS-67
Change-Id: I6975e7b51fa879fe984af64402939c465df95184
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
* Update docs/submodules/kvmfornfv from branch 'master'
- Generating a kvmfornfv rpm which doesn't includes the debug info
for Danube release 3 Apex installer
Upstream status: N/A
Change-Id: Ia5c36969419cb45d362990ad7cd23e3b4d7c5045
Signed-off-by: davidjchou <david.j.chou@intel.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Ensure creators' constructors cannot raise exceptions.
While creating unit tests for vPing that is using SNAPS, exceptions can
be raised when retrieving their respective OpenStack clients with
incorrect credentials. Moved client retrieval to the create() method
which one should expect exceptions to be raised.
JIRA: SNAPS-81
Change-Id: Id8e4279f60b97704b25a89c6312dcf2ebdc3f459
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
* Update docs/submodules/functest from branch 'master'
- Merge "Fix one minor typo"
- Fix one minor typo
Change-Id: Id17070985adfbe7817f3be25b47f583cb9ef90b6
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
* Update docs/submodules/functest from branch 'master'
- Merge "Fully cover the decorator"
- Fully cover the decorator
Change-Id: I1f1c938f0715e6afb7edbb8242f9a6c9cbfa65b5
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
* Update docs/submodules/functest from branch 'master'
- Merge "Assign the wrapped function’s attributes"
- Assign the wrapped function’s attributes
It mainly assigns to the wrapper push_results_to_db's __name__,
__module__ and __doc__ and the documentation string.
Change-Id: Idc882ac4e743699a4887e46c5066e0983c90afd9
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
* Update docs/submodules/functest from branch 'master'
- Merge "Additional Unit Tests for core modules"
- Additional Unit Tests for core modules
This patch adds unit tests for vnf and pytest_suite_runner.
It also fixes several pylint warnings/errors.
Additional tests are required to check args values.
Co-Authored-By: Cédric Ollivier <cedric.ollivier@orange.com>
Change-Id: I75a829233481655c794402830e1da037ab7cdb8d
Signed-off-by: ashishk1994 <ashishk.iiit@gmail.com>
|
|
* Update docs/submodules/functest from branch 'master'
- Merge "Get a logger before printing"
- Get a logger before printing
It also fixes pylint errors.
Change-Id: I0d973360574a517724d0be3986c788c3ce7f54d4
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
* Update docs/submodules/releng from branch 'master'
- Merge "jjb: xci: bifrost: Clone git repositories to $WORKSPACE"
- jjb: xci: bifrost: Clone git repositories to $WORKSPACE
Commit 0638af211db1 ("jjb: xci: xci-deploy.sh: Run the deployment
script as normal user") dropped 'sudo' from the bifrost provisioning
script. However this broke the jobs since the repositories were being
cloned into /opt where the jenkins user has not access to. As such,
clone the repositories in the $WORKSPACE directory instead.
Fixes: 0638af211db1 ("jjb: xci: xci-deploy.sh: Run the deployment script as normal user")
Change-Id: I55baceaada04496884470997562e3f512f2444a0
Signed-off-by: Markos Chandras <mchandras@suse.de>
|
|
* Update docs/submodules/releng from branch 'master'
- Merge "jjb: xci: xci-deploy.sh: Run the deployment script as normal user"
- jjb: xci: xci-deploy.sh: Run the deployment script as normal user
xci-deploy.sh can now be run as normal user so fix the Jenkins job
accordingly.
Change-Id: Ifd0d7e4c42c930dbee0bbc30836fadc1a54f2f95
Signed-off-by: Markos Chandras <mchandras@suse.de>
|
|
* Update docs/submodules/releng from branch 'master'
- Merge "prototypes: xci: Look for SSH keys in $HOME directory"
- prototypes: xci: Look for SSH keys in $HOME directory
We no longer run everything as root so we need to look for SSH keys
in the appropriate home directory.
Change-Id: Iae1f7eb80059e7d369c8e0c8b6c33c6a4f673f94
Signed-off-by: Markos Chandras <mchandras@suse.de>
|
|
* Update docs/submodules/releng from branch 'master'
- Merge "prototypes: xci: Move host keys away from / directory"
- prototypes: xci: Move host keys away from / directory
Putting the host keys in '/' requires root privileges so
it's best if we place them in the same directory like the
rest of the XCI files.
Change-Id: I030ed3d6cbb57bb984a78aeffb4eca2bd5c10bb0
Signed-off-by: Markos Chandras <mchandras@suse.de>
|
|
* Update docs/submodules/releng from branch 'master'
- Merge "prototypes: xci: Add ability to use local repositories for testing"
- prototypes: xci: Add ability to use local repositories for testing
When developing XCI features it's useful to be able to use the local
repositories rather than cloning them from git since that makes
it harder to test local modifications against XCI. As such, we add
three new variables which can be used to hold local paths to the
bifrost, releng and openstack-ansible repositories. We are still
cloning the repositories but we then use the 'synchronize' Ansible
module to copy modified files from the local repositories.
Change-Id: I6d593ea48d8b9c51415d9d0848f77a498ef2f486
Signed-off-by: Markos Chandras <mchandras@suse.de>
|
|
* Update docs/submodules/releng from branch 'master'
- Merge "prototypes: bifrost: Remove OPNFV specific group_vars file"
- prototypes: bifrost: Remove OPNFV specific group_vars file
The only reason we had this file was because we had to define our own
'ssh_public_key_path' variable to look in the /root directory since we
were running everything as root. Since we are now moving away from this
approach, this file is not needed anymore.
Change-Id: Ic938c4c8c877c95ce261721dc32fc5147081e236
Signed-off-by: Markos Chandras <mchandras@suse.de>
|
|
* Update docs/submodules/releng from branch 'master'
- Merge "prototypes: xci: configure-localhost: Use 'connection: local'"
- prototypes: xci: configure-localhost: Use 'connection: local'
Since we are operating on localhost, there is no need to do that via ssh
so we use 'connection: local' instead. Moreover, we do not need to
execute everything as root so we drop the remote user directive.
Change-Id: Ib2127edad29e2da1cd1beebf42cb8f0d278ce3ad
Signed-off-by: Markos Chandras <mchandras@suse.de>
|
|
* Update docs/submodules/releng from branch 'master'
- Merge "prototypes: xci: provision-vm-nodes: Do not provision VMs as root."
- prototypes: xci: provision-vm-nodes: Do not provision VMs as root.
There is no need to provision VM nodes as root. The only thing that we
need to run as root is the destroy-env.sh script and for that we move
it to its own play so we can use Ansible's become directive. Moreover,
since this playbook operates on localhost we can use 'connection: local'
so we don't have to execute everything via ssh and possibly speed up
the whole process.
Change-Id: Ia9efd5f30e95385b5cf193dde352f93551846c0e
Signed-off-by: Markos Chandras <mchandras@suse.de>
|
|
* Update docs/submodules/releng from branch 'master'
- Merge "prototypes: xci: user-vars: Move root directory away from /opt"
- prototypes: xci: user-vars: Move root directory away from /opt
Having everything in the /opt implies root privileges. However, xci
should work as normal user and as such we use the /tmp directory as
the root directory.
Change-Id: I985ded289208e1de53ad0ba878afd5bfd745c3fd
Signed-off-by: Markos Chandras <mchandras@suse.de>
|
|
* Update docs/submodules/releng from branch 'master'
- Merge "prototypes: xci: xci-deploy: Do not use sudo when connecting to remote hosts"
- prototypes: xci: xci-deploy: Do not use sudo when connecting to remote hosts
In preparation for running xci-deploy as normal user, we do not need to
gain elevated privileges in order to connect to remote hosts. SSH keys
will be placed in user's ssh directory so we can ssh as normal user.
Change-Id: Ieb705515ec191955a646839e8f195d089df184bd
Signed-off-by: Markos Chandras <mchandras@suse.de>
|
|
* Update docs/submodules/releng from branch 'master'
- Merge "prototypes: xci: Do not require root privileges in xci-deploy"
- prototypes: xci: Do not require root privileges in xci-deploy
There is no good reason to run the script as root. If elevated
privileges are required then we will do it on a per case basis.
Change-Id: I7195fb3a0026ea20ce04e0b652dd3c1c56ca5741
Signed-off-by: Markos Chandras <mchandras@suse.de>
|
|
* Update docs/submodules/functest from branch 'master'
- Add enabled flag in testcases.yaml
This will allow enable/disable test cases directly
using true/false.
Change-Id: Iaa7d051ebb8dd9e5a6f835a823f58f1e17a87b8d
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
|
|
* Update docs/submodules/functest from branch 'master'
- Switch from generate_report to PrettyTable
run_tests.py now relies on PrettyTable as most of the openstack clients.
generate_report.py and its related unit tests are simply removed.
It sets padding_width=5 in testcase.py too to conform with
run_tests.py.
Now report is printed in every case.
Change-Id: Id9ce93f984503f25d6a2150482f397853fa3dd64
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
* Update docs/submodules/functest from branch 'master'
- Update framework pres
It takes into account the next framework modifications:
- Switch TestCase attribute criteria to result [1]
- Manage criteria in TestCase [2]
- Print the real testcase duration [3]
- Rename TestCase check_result() to is_successful() [4]
[1] https://gerrit.opnfv.org/gerrit/#/c/33695/
[2] https://gerrit.opnfv.org/gerrit/#/c/33697/
[3] https://gerrit.opnfv.org/gerrit/#/c/34369/
[4] https://gerrit.opnfv.org/gerrit/#/c/34373/
Change-Id: I3a6790e4233ef4c55b0535618dacf702f779f28b
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
* Update docs/submodules/functest from branch 'master'
- Fix how to get tier_name
The tier name was incorrect when passing a test case as run_test.py arg.
Change-Id: I6f439fc7b90facb3f0553798bd1fe06ac9f09475
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
* Update docs/submodules/releng from branch 'master'
- Apex: add ramdisk and kernel to upload
Change-Id: I81e89f9fe313977d6a06c6283cc5301f672a77c3
Signed-off-by: Tim Rozet <trozet@redhat.com>
|
|
* Update docs/submodules/functest from branch 'master'
- Merge "Modify TestCase.__str__() to use PrettyTable"
- Modify TestCase.__str__() to use PrettyTable
It adds PrettyTable as requirement even if it's already defined in
OpenStack client dependencies.
If the TestCase object is considered as invalid, it simply returns the
default str.
Change-Id: Iee788aef2a13694d9482560977cbbf21c7f2c967
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
* Update docs/submodules/releng from branch 'master'
- Merge "refactor config parser to facilitate adding new configs"
- refactor config parser to facilitate adding new configs
refactor hardcoded config.py to facilitate adding new
configurations come along with web portal and Authentication
features
Change-Id: Ibc16166ade0d6e730bb4c9d81e9b9bc9b297faa1
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
* Update docs/submodules/yardstick from branch 'master'
- Bugfix: change monitor command in tc019
JIRA: YARDSTICK-655
The original openstack command used for monitoring high availability openstack
nova-api service in tc019 is "nova image-list", the "openstack image list" command
used in tc019 now may not correctly show the nova-api service status.
This is patch swtich the monitor command to "openstack server list".
Change-Id: I8810f28b4328ceb4d911a3041a24774ae9cae8f0
Signed-off-by: JingLu5 <lvjing5@huawei.com>
|
|
* Update docs/submodules/qtip from branch 'master'
- Merge "Add support for manually installed (not using installer) OPNFV pod"
- Add support for manually installed (not using installer) OPNFV pod
Change-Id: I314882dd8a9e491f253f825a8da7ec4c91ed3321
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
|
|
* Update docs/submodules/qtip from branch 'master'
- Merge "Add arithmetic metrics"
- Add arithmetic metrics
Change-Id: I99b118931fd78a7908f32ddb418264576468118e
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
|
|
* Update docs/submodules/vswitchperf from branch 'master'
- Merge "xena_pairs: Add pairs topology for 2544 testing"
- xena_pairs: Add pairs topology for 2544 testing
Add xena pairs topology and port removal options for JSON
files with RFC2544 testing. Refactored JSON code for
better expansion later.
Resolved pathing issues related to previous patch allowing
for execution of VSPerf from any directory.
JIRA: VSPERF-502
Change-Id: Ida60c1223ae0f45f8879351770ab7fdce859b59b
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
|
|
* Update docs/submodules/bottlenecks from branch 'master'
- Delete testcase of rubbos and vstf.
JIRA:BOTTLENECK-167
This patch will delete vstf and rubbos testcase code.
Include some testcase config file,
if there will be someone who want to use this testcase
maybe B or C version code will contain those testcase.
if you use the D version code to run this two testcase
we will info you that:
Rubbos testsuite is not updating anymore.
This entrance for running Rubbos within Bottlenecks is no longer supported.
Change-Id: I04e4042ff3998b3696df2ed47a9ffab6f1620ec3
Signed-off-by: liyin <liyin11@huawei.com>
|
|
* Update docs/submodules/qtip from branch 'master'
- Switch to qtip-cli for ci job
Change-Id: Id485803a56a89ef1dd80d3597bcc10e7d70cd87a
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
|
|
* Update docs/submodules/qtip from branch 'master'
- Remove prompt for teardown
Interactive prompt will block automatic task execution in CI
Change-Id: I435045186660ddda517f847e7cc33174e878da6d
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
|
|
* Update docs/submodules/yardstick from branch 'master'
- Merge "Add a new monitor type: MultiMonitor that can run any number of other monitors at the same time."
- Add a new monitor type: MultiMonitor that can run any number of other monitors at the same time.
JIRA: YARDSTICK-397
Change-Id: Ic5cb79f0820029e306373abead1ea43fac9abee2
Signed-off-by: HuanLi <lihuansse@tongji.edu.cn>
|