Age | Commit message (Collapse) | Author | Files | Lines |
|
* Update docs/submodules/snaps from branch 'master'
- Merge "Ignore several files"
- Ignore several files
Change-Id: Ie00d9a995e1cf96f2754d30fc0a77f3254c811c7
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Merge "Leverage on pbr (Python Build Reasonableness)"
- Leverage on pbr (Python Build Reasonableness)
It also updates requirements according to OpenStack stable/ocata
except for nova client version as snaps needs nova support of
floating IP which has been removed in pike [1] (8.0.0 [2]).
It must be reverted to >=6.0.0,!=7.0.0 as soon as snaps calls the
related neutron commands.
[1] https://github.com/openstack/python-novaclient/blob/master/releasenotes/notes/pike-rm-deprecated-net-272aeb62b329a5bc.yaml
[2] https://docs.openstack.org/releasenotes/python-novaclient/unreleased.html
Change-Id: Iaa0285471da5f2f73cbfef038c9902e1c39fa009
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Need to move file resources required by tests.
Functest was not installing the heat resource files required
by the snaps tests being run by Functest as the heat template
file used by the tests as it was under the repository's root
directory which is causing tests to fail.
Change-Id: I214d2e61e92f7dfa2e9859dded1e7ea08706314d
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Changed logic to return only active availability zones.
Change-Id: I75d92976f4486933d432a8066159dbb66c12daf5
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Create download directory if not exists before downloading image file.
Change-Id: I6d51681d4e0d58b96a00bfeb144d6bfcb8ae04e6
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Fixed problems found in Functest after implementing offline testing.
JIRA: FUNCTEST-809
Change-Id: I5e579b141eb513b0f9db36959014b8f945afe6a0
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Removed current working directory logic retrieving test file resources.
Some of the SNAPS tests leverage file resources contained within the
project. These resources were being accessed via relative paths which
required the test clients to ensure that the CWD was the <repo>/snaps
directory. Replaced that logic to leverage the import pkg_resources
making the tests much more flexible and robust.
JIRA: SNAPS-89
Change-Id: Ic9c429ee53e4dd785641e11e1ed4de5aeeab54d1
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Merge "Added custom security group with ICMP and SSH rules."
- Added custom security group with ICMP and SSH rules.
This was done for all tests exercising floating IPs.
Also added check to all of these tests to ensure the VMs
all have received their private IP address via DHCP.
JIRA: FUNCTEST-834
Change-Id: I88ae2fecc3f8e507641adf24cb65a0583f4db24c
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Added support for applying Heat Templates
Second patch expanded support to both files and dict() objects.
Third patch exposes new accessor for status and outputs.
JIRA: SNAPS-86
Change-Id: Ie7e8d883b4cc1a08dbe851fc9cbf663396334909
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Fixed RST warning.
Change-Id: I45f6161c51a018d91c9363980d6a6b279532101c
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Refactor keystone endpoint tests to the proper test class.
Also added documentation for those three tests.
Change-Id: I38a728ba9e258a821341621978953e0529a0c1a1
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Updated installation documents and fixed problems found during investigation.
The code changes are primarily required when the runtime environment is Windows.
JIRA: SNAPS-75
Change-Id: Ia2134861dd96e1d2c4b597f42fb348929e787a51
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Find packages in setup.py
Change-Id: I73c46d1c9bfaabcd7d2ba793d4c2e8244e549de1
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Merge "Fixed error in ansible_utils_tests.py and added ansible helper method to the OpenStackVMInstance class."
- Fixed error in ansible_utils_tests.py and added ansible helper
method to the OpenStackVMInstance class.
Test error was due to the image configuration having the incorrect
user applied. The helper method will make it easier for adhoc
ansible playbooks to be applied to running instances.
JIRA: SNAPS-83
Change-Id: I6b229e0adb836dd3d5ea7b468d38d93f880589a2
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Fix typo in setup.py
It forbids gating in functest.
Change-Id: I3f0b943678ee4af869073b56ca1235da23d98b1a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Add the function of getting endpoint
Functest is trying to leverage SNAPS-OO library to replace some
utility functions, in which def get_endpoint is called by testcases
onos, odl, multisite and cloudify_ims.
JIRA: SNAPS-78
Change-Id: Icb2778e0337a5d4246762ac3037773b39d5d554d
Signed-off-by: Linda Wang <wangwulin@huawei.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- bugfix: get_security_group_by_id always return first element
add check on id before return value
fixed kwarg into the neutron.list_security_groups to the correct one 'id'
added unit test to ensure this function always works as designed
JIRA: SNAPS-82
Change-Id: I965e1dd54fd1efa8c2d7f6efb87c78ab24cca0e5
Signed-off-by: Morgan Richomme <morgan.richomme@orange.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/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/snaps from branch 'master'
- Merge "Restricted dependency of the novaclient."
- Restricted dependency of the novaclient.
The 8.0.0 version is not backwards compatible with 7.1
JIRA: SNAPS-73
Change-Id: I76f52e0e1e212e1e4053ade6279b1117ab740cde
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Merge "Modified code to support both Python 2.7 and 3.x"
- Modified code to support both Python 2.7 and 3.x
* Tested on Python 2.7.10 and 3.4.4
* Updated installation documentation
JIRA: SNAPS-30
Change-Id: I94a37d218be8ea47bbbcfb560197737430fcb3ba
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Fixed some redundant dict() key checks that can cause runtime errors.
Change-Id: I9d05e6cc69526b7424b65e171da1fa4e99e02149
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Changed image metadata to support cirros, ubuntu, and centos.
The image metadata that was designed for multi-part form support
did not take into account tests that require ubuntu or centos
tests.
JIRA: SNAPS-76
Change-Id: I95c7b74b8f7d7b78c3842b5e716fd7b466107c9c
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Merge "Refactored multi-part images."
- Refactored multi-part images.
The logic used for creating multi-part images for the Danube release
was copied all throughout the tests, which was not sustainable.
This patch encapsulates the kernel and ramdisk images within the
same OpenStackImage object as the disk image.
JIRA: SNAPS-59
Change-Id: I45ec0ccc666accb4e768c41e249e6130dc07f6d1
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Merge "Matching test_check_vm_ip_dhcp on ip only"
- Matching test_check_vm_ip_dhcp on ip only
No nee dto look for the string surrounding the ip that's being looked
for in this test. simplifying the code to only look for the ip
Change-Id: I80e6336c58573e5970eafe2608daf7c61e43b717
Signed-off-by: Dan Radez <dradez@redhat.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Merge "Fixed test for security groups when checking for project/tenant ID"
- Fixed test for security groups when checking for project/tenant ID
This problem has only been observed on the WindRiver pod during the
OPNFV Plug/Hackfest
JIRA: SNAPS-72
Change-Id: I59f4c10129007efe11cce7272b6690125057e266
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Fixed issue caused previous patch which did not merge correctly.
JIRA: SNAPS-57
Change-Id: I60e7cf2fea37fc337ac7adc01283476a00aca99c
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Fixed the Glance connection test routines.
test_glance_connect_success gave a false positive and
test_glance_connect_fail gave a false negative.
Both were calling incorrect APIs due to copying from the equivalent
nova_utils.py test.
JIRA: SNAPS-57
Change-Id: I1246d535f8bd376c163315dc889ff5bacebb12ec
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Added support for Glance v2
Updated copyright date on new and edited files to current year.
JIRA: SNAPS-66
Change-Id: I491157d6ced8bd9322f99272fc14e00168faaf29
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Merge "Run all test suites when none chosen."
- Run all test suites when none chosen.
Changed the test_runner.py to run all four suites of tests
when none have been chosen.
JIRA: SNAPS-10
Change-Id: I9f8f543f9aca07d01911bd8812478bf470673575
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Ensuring each port manipulation test waits for the instance to become active
The problem with OpenStack is that when one attempts to delete an instance
that is still spawning, it can take an inordinate amount of time for OpenStack
to complete the request resulting in artifacts being left.
JIRA: SNAPS-64
Change-Id: I39f33291e650c00a8b5a40cb0051b99b71923acf
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Refactored SNAPS tests to take in the actual OSCreds object.
The code previously had individual parameters for different
aspects of the credentials. This change not only makes the
method calls easier, but it also helps the logs from becoming
too verbose as each test case was instantiating its own OSCreds
instance.
JIRA: SNAPS-23
Change-Id: I8860e7329b9ec59d78e5977af74f4d3073496f24
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Merge "Renamed test application and added new command line arguments."
- Renamed test application and added new command line arguments.
JIRA: SNAPS-10
Change-Id: I809a93f67ee0931df9601a0095775fe6303bbfbb
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Merge "Fixed two tests that never had their networks removed on tearDown()"
- Fixed two tests that never had their networks removed on tearDown()
JIRA: SNAPS-56
Change-Id: I43d47f59f5b15805dce425f148ec5c990055ca73
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Problem found while working on FUNCTEST-577 where instances with
security groups need to be active before application.
JIRA: FUNCTEST-577
Change-Id: I0d31b6afe4a378b3be85b335ba5f1568a0b26708
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Merge "Check for kernel_url and ramdisk_url keys in dict"
- Check for kernel_url and ramdisk_url keys in dict
Need to check if the above keys exist in image_metadata
before checking for their assigned values in case
they are not declared (e.g. obsolete when creating a
one part image)
Change-Id: I22fa259b320a425d6ad030eeb9bf68b4c06b667f
Signed-off-by: Catalina Focsa <catalina.focsa@enea.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Call to ansible_utils.apply_playbook needed named paramteters.
Change-Id: I4454a0598df4e630a4588f7c0d4af108e8747a46
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Fixed cleanup after failed deploy
Added exception handling when performing a cleanup after
a failed deploy.
This is a temporay fix, that will not impact FuncTest.
Router and network clean calls will eventually need to be
updated.
JIRA : SNAPS-55
Change-Id: I24d79802f02357015ada20726e170dd5128754f1
Signed-off-by: randyl <r.levensalor@cablelabs.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Correcting minor issues with the documentation
Correcting some formatting and minor content changes.
Change-Id: Idf75e8c6985bae9a2df26c54c559a20d46b6ac1f
Signed-off-by: randyl <r.levensalor@cablelabs.com>
|
|
1. HEAD seems to be out of sync for the submodules
This patch fixes the HEAD so that henceforth
gerrit automatically updates the refs to latest
commit ID.
2. Adding openretriever to list of submodules
Change-Id: I341a0a898f46cd10ccdc65ef209f76500dd3c4a6
Signed-off-by: ShubhamRathi <shubhamiiitbackup@gmail.com>
|
|
1. Added onvo, snaps, barometer submodules
2. Renamed a few titles
Change-Id: I8b47e68d64a9a16576abbc2891a39b6dacf164ca
Signed-off-by: ShubhamRathi <shubhamiiitbackup@gmail.com>
|