Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
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>
|
|
|
|
JIRA: SNAPS-57
Change-Id: I60e7cf2fea37fc337ac7adc01283476a00aca99c
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
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>
|
|
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>
|
|
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>
|
|
|
|
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>
|
|
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>
|
|
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>
|
|
|
|
JIRA: SNAPS-10
Change-Id: I809a93f67ee0931df9601a0095775fe6303bbfbb
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
|
|
JIRA: SNAPS-56
Change-Id: I43d47f59f5b15805dce425f148ec5c990055ca73
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
security groups need to be active before application.
JIRA: FUNCTEST-577
Change-Id: I0d31b6afe4a378b3be85b335ba5f1568a0b26708
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
|
|
Change-Id: I4454a0598df4e630a4588f7c0d4af108e8747a46
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
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>
|
|
Correcting some formatting and minor content changes.
Change-Id: Idf75e8c6985bae9a2df26c54c559a20d46b6ac1f
Signed-off-by: randyl <r.levensalor@cablelabs.com>
|
|
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>
|
|
|
|
The test in the class SimpleHealthCheck uses the console output
to determine whether or not the VM obtains a DHCP lease which
contains a very image-specific check. When a client changes
the image from what the test was designed for, the console
output can change causing the test to fail unless it is simply
timing out. This patch will output the full console log on
failure or on success when the logger is configured as DEBUG.
JIRA: SNAPS-47
Change-Id: I2041ca1aed8bd1e2fb65932591f4acbd4d3cd720
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
when using snaps to test small OpenStack env(devstack or all-in-one),
testcase will fail due to not enough memory for a vm. As a
basic test using cirros, only allocating ip and test the connectivity is
needed, 128M should be enough.
the error msg is:
File "/usr/local/lib/python2.7/dist-packages/novaclient/client.py",
line 80, in request
raise exceptions.from_response(resp, body, url, method)
ClientException: Unknown Error (HTTP 504)
Change-Id: Ibfb27018ffd25292bcf80f69e8cb205b2c9c334b
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
|
|
This fix uses the possibility to pass custom imformation about the
image via image_metadata variable. In the integration tests it checks
for this info and creates a 3-part image if the kernel_url and
ramdisk_url are set. The fix also allows the default url to be overriden
as well as passing extra-properties. All the metadata info comes from
the app.
The part in functest where the custom config is set for creating a 3-part
image is https://gerrit.opnfv.org/gerrit/29987
Change-Id: Ib2ad823705dbea68d672514c7c89b150c9c6dc63
Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
|
|
The SSH Validate call needs to be checked before passing tests.
test_ssh_client_fip_before_active and test_ssh_client_fip_after_active
run the SSH Verify function, but do not check the return value.
You will see an error in the test log file, but the test will
appear to have passed.
JIRA: SNAPS-45
Added an Assert True test to the SSH Validate return.
Change-Id: Ib86ec38c7b5a64061a1ace4293336e3021c59013
Signed-off-by: randyl <r.levensalor@cablelabs.com>
|
|
This fix adds the possibility to pass custom imformation about the
image via image_metadata variable. In SimpleHealthcheck it checks
for this info and creates a 3-part image if the kernel_url and
ramdisk_url are set. The fix also allows the default url to be
overriden as well as passing extra-properties. All the metadata info
comes from the app.
The part in functest where the custom config is set for creating
a 3-part image is https://gerrit.opnfv.org/gerrit/#/c/29851/
JIRA: ARMBAND-222
Change-Id: I11435d8bab4cf097b4079b6984741869f83aee2b
Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
|
|
metadata."
|
|
NFVI's configured for OVS/DPDK and fd.io scenarios required special
metadata for flavors in order for VM instances to be activated. This
patch allows for setting a value to be applied to all tests. With
this change, the default value is being removed that only partially
addressed this issue.
JIRA: SNAPS-38
Change-Id: Ic42944a849f710f631fe7ac6fbefb720a73f0b77
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
Modified index.rst to include the other docs.
Removed redundnat items.
Cleaned up the examples.
JIRA: SNAPS-41
Change-Id: I7058f1604135f6a2af0376d7b3d2ebc7bafd63e7
Signed-off-by: randyl <r.levensalor@cablelabs.com>
|
|
test_suite_builder#add_openstack_integration_tests() which is
being used to add SNAPS-OO tests to Functest.snaps_smoke test case.
JIRA: SNAPS-39
Change-Id: Ib9d7fea3a132ac29078ce052b5e334c7e5076b61
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
in IntegrationTests.rst.
JIRA: SNAPS-32
Change-Id: I20b3917840b5caf26f1a12caf0231f5f0801999d
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
|
|
This patch adds a new setting for images, extra_properties.
This field is a dict and can be used to create a 3-part image
by setting the kernel_id and the ramdisk_id of the main image.
Unit tests have been added to set some generic property, for
creation of the 3-part image, and for creating an instance
with that 3-part image
JIRA: SNAPS-32
Change-Id: Ifb53d1da1085fcd6429ddc0607c905522db5e8bb
Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
|
|
of security groups during server instantiation."
|
|
Fixing the addition of security groups during server instantiation.
JIRA: SNAPS-35
Change-Id: Id29b18ba1454538e2cd72ffa33ed3dc47120944f
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
image_user values
to the SNAPS-OO application deploy_venv.py.
Decided to stop raising an exception when ansible cannot properly apply the playbook and
simply logging the problem as a WARN.
Change-Id: I4ae74bbaa80a5d9763cc9352810c1620af3192af
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
JIRA: SNAPS-33
Change-Id: I7f8e0ff80da97f6be6df21b20e0a878f2fc18636
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
|
|
JIRA: SNAPS-29
Change-Id: I180a0ad0db531ba3c32ad35e41381baebd164724
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
|
|
|
|
In order to properly support standard and DPDK installations, the default metadata value is hw:mem_page_size=any."
|
|
versions. Moved examples directory up one under repo root Moved RST files under docs/how-to-use"
|
|
application."
|
|
JIRA: SNAPS-3
CableLabs JIRA SNAPS-155
Change-Id: Ic1c07b7d75e04578495cb2f2881798da4c2571a2
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
Change-Id: I10565206e81a2d960e42c808345e91c32cc4b57c
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
In order to properly support standard and DPDK installations, the
default metadata value is hw:mem_page_size=any.
JIRA: SNAPS-28
JIRA: FUNCTEST-737
Change-Id: Ic882e8f85a97320d65ede3d6a00735a909a4ead2
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
Removed MD versions.
Moved examples directory up one under repo root
Moved RST files under docs/how-to-use
Change-Id: I4137b8591e4ae63e40674a7f5f8243d928efee0c
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
Change-Id: I70a2778718c5e7f21fd14e4ad28c9269d3761cc7
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
Change-Id: I028dc92b441aa81f9f1538fab229162f9a30bd8e
Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
|