aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-08-17Fix last redirects in docsCédric Ollivier5-6/+6
It takes into account last warnings from Sphinx linkcheck. Change-Id: I6927c4cac910cff9f2c25d0009d5052556483cf3 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 0690a7975a4ceacea91898cef626fae5330f1ada)
2019-08-17Allow rally_jobs without external networkCédric Ollivier1-0/+3
rally_jobs can verify network providers by skipping: - NeutronNetworks.create_and_delete_floating_ips - NeutronNetworks.create_and_list_floating_ips - NeutronNetworks.associate_and_dissociate_floating_ips Co-Authored-By: Juha Kosonen <juha.kosonen@nokia.com> Change-Id: Ibda66e47f4d1101b53435ef4cd144dacbabff165 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 0dfe9d377b0170b74455129222f12ff1ccb99814) (cherry picked from commit 54b3752cb07cbebe06988673bd4a71d375cc499a)
2019-08-17Fix rally task file manipulationJuha Kosonen1-11/+11
Remove empty workload entries when applying blacklist in RallyJobs. Rally considers task file as invalid if it contains entries whose workload list empty. Change-Id: I34867c0aeea9c5ecf1294959d680e6de535be9cd Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com> (cherry picked from commit 60c021dffb4297abd4810c4ceb4c2c4d9d07b619)
2019-08-17Pin sphinx===1.7.6Cédric Ollivier1-0/+1
Else linkcheck fails when processing Rebaca url [1] [1] https://build.opnfv.org/ci/job/functest-verify-unit-tests-and-docs-iruya/151/console Change-Id: Ia1054820ee61a495648dd34df5f79e470e44595d Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-08-10Run Functest unit tests and linters via CircleCICédric Ollivier1-0/+26
It runs tox and publishes the artifacts. It's worth mentioning that all docker images are already built via Travis CI (amd64, arm and arm64) [1]. https://travis-ci.org/collivier/functest Change-Id: I48720f4f13dd1a93469b042000dd86a01854d8f0 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 17fd4cc911eca9d289fc481ee7a615299f17415a)
2019-08-03Increase verify venv list in travis-ciCédric Ollivier1-1/+3
It cannot run perm due to the false umask in travis-ci [1]. [1] https://travis-ci.community/t/file-permissions-just-gone-up-to-664/1547/4 Change-Id: I788d846b1737cdff49959376e5bc92d8d1c4c970 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 2d11bc6f387552f95127a6a92a38df11f658597c)
2019-08-03Run perm when checking all changesCédric Ollivier1-1/+1
It should be forbidden in releng jjbs if still needed. Change-Id: I7622f43603d41bb169d8a1341a38ed2d451459b2 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 7c88b0f951fc7b7818594f563112a379704e0879)
2019-07-27Select the latest tempest versionCédric Ollivier6-6/+6
It selects the first release including our fixes. Change-Id: I553abc2df3c6adc727a24b9a27a7737f78fa3f5e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-07-27Add proxy in cloudify_imsThierry ALLENO1-2/+10
Add http-proxy configuration for pip in cloudify_ims testcase. Correct some errors. Change-Id: If502e4054098a39982435326f04d9274e4c66a98 Signed-off-by: Thierry ALLENO <thierry.alleno@orange.com>
2019-07-27Enable py36 unit testsCédric Ollivier7-68/+73
It benefits from the swith to lf-virtual1. Change-Id: Ib38bf0adb09df62173894d048fb06c48b3a4b462 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-07-21Conform with new ODL urlsCédric Ollivier1-1/+1
It now clones https://git.opendaylight.org/gerrit/integration/test Change-Id: Icff918305de1092cf6e985490188d409178273e1 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit ccaa81668ae3b084056789b187de5c794beeec4a)
2019-07-11Reuse same cidr in jujuCédric Ollivier1-1/+1
It seems fine with latest juju updates and eases setting no_proxy rules. Change-Id: I30e66568ec7339fc038b27e5ca47b26959842bf8 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-07-11Allow scenarios without external networkCédric Ollivier3-2/+13
It allows creating testcases leveraging on Functest scenarios without external network. Then Rally can verify network providers by only skipping NovaServers.boot_server_associate_and_dissociate_floating_ip Change-Id: I07a9348214f7557195c7201466f7e37b2b980206 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit a30e0c35f248cc9225e628e3a64723b2184d6087)
2019-07-10set proxies in ubuntu for juju_epc use caseThierry ALLENO1-12/+66
Modification in add_proxy.sh in order to set proxy for juju_epc in various middleware(maven, subversion,...). And add some control for modification of cloudify container. Remove some trailing lines and define http_proxy using http_proxy_host and http_proxy_port. Change-Id: I9d85387f107b1b050ee96bf0ee6df9ba662b0df4 Signed-off-by: Thierry ALLENO <thierry.alleno@orange.com> (cherry picked from commit 16bd94efa559df105c28b90c891c84088b0c651e)
2019-07-02Update python versions and testcase list in docsCédric Ollivier2-10/+14
Change-Id: I0ed395c39dd7e0ad1bf0f5d181fe6c2c397809e4 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-06-29Add Barbican scenario in RallyCédric Ollivier6-1/+107
It doesn't run BarbicanSecrets.create_symmetric_and_delete which is currently failing [1]. Barbican testing is optional as Gnocchi. [1] https://bugs.launchpad.net/rally/+bug/1819285 Change-Id: I9121ce3c9f29ba05069c905325327d4c4d0b9e71 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 902b70b40e61a2afe4d92ba7759a33f1306d54ca)
2019-06-29Update Rally packagesCédric Ollivier1-2/+2
It now selects releases instead of a commit id. Change-Id: I45d438674baf1c7de00748b81e6dc9024ee28840 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-06-29Merge "Add swift scenario in rally" into stable/iruyaCedric Ollivier3-1/+76
2019-06-28Add swift scenario in rallyCédric Ollivier3-1/+76
As for refstack_object, it forces swift in SUT. Role is hardcoded to admin as for a few Neutron tests. Change-Id: I0ae823fc8f31016d37831a82f7a50e92b2ed5f58 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 72a238d63d6e2e15eb74d02c3030663404c3872c)
2019-06-26Merge "Add warning messages in vyos_vrouter" into stable/iruyaCedric Ollivier2-1/+9
2019-06-26Merge "Set proxies in Cloudify container" into stable/iruyaJuha Kosonen1-17/+39
2019-06-26Merge "Fix link in docs (E2 Testing in Kubernetes)" into stable/iruyaJuha Kosonen1-1/+1
2019-06-25Add warning messages in vyos_vrouterCédric Ollivier2-1/+9
Both Cloudify based testcases print the same warning messages if NEW_USER_ROLE is admin. An additional whitespace is removed too. Change-Id: Idf2a2ea4373efdc579f0ac3e0a69ec08a7fbf105 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit b95cdce13a8c51f285e285a3c4332cf1732abadb)
2019-06-25Set proxies in Cloudify containerCédric Ollivier1-17/+39
add_proxy.sh now modifies Cloudify containers to allow proxies. It follows "Update and enable Cloudify-based testcases" [1] [1] https://gerrit.opnfv.org/gerrit/#/c/66909/ Co-Authored-By: Thierry ALLENO <thierry.alleno@orange.com> Change-Id: I54cfcd73685695c5f66f24acd32f126786acf48e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit f246dd3889df5302756c9c73d70b346695aca146)
2019-06-25Fix link in docs (E2 Testing in Kubernetes)Cédric Ollivier1-1/+1
It conforms with "Cleanup tombstone files in community/devel" [1] and fixes the gates [2] [1] https://github.com/kubernetes/community/commit/4bb72158434b2d29094b06af4c9bda284e5417fd [2] https://build.opnfv.org/ci/job/functest-verify-iruya/111/ Change-Id: I052bdac9a43a346ce07f93d8183f53767c757930 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 655020449ba281dce52821cd36f5dd01bffebee9)
2019-06-20Remove quota about instances in shakerCédric Ollivier1-0/+4
The default quota could be inadequate if lots of computes. Change-Id: I510d3ebd14c2a910b7be2bacc0b99d3059a7a881 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 234be6e5895a91ca3a83f3bef12a10631bbe6522)
2019-06-19Update tempest commit idCédric Ollivier6-5/+6
It includes "Fix region leaks after testing endpoints" [1]. [1] https://github.com/openstack/tempest/commit/e8088d1218eba0b8e4ed59fa5ca30ac9b664b7fb Change-Id: I063a9c4e2f09a27c79ea77ba0cf9307642950070 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-06-15Fix ShellCheck warningsCédric Ollivier1-4/+4
Change-Id: Idf571b39d38b9184b2e08c183d4afe44784fbfe6 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit db7c7d3031c8f9a562c6e3db0922e1cfb92ea92b)
2019-06-15Turn all bashate warnings as errorsCédric Ollivier2-4/+9
Change-Id: Ic350ed8269347f5853a6d7b4e75cfccba6d85dcf Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 12b1a3258219cd301866ea79924e08cfb2a7420e)
2019-06-09Add rally_jobs in config patchesCédric Ollivier2-0/+10
Change-Id: Iaf99ee1d6ea0b2c81874daf959f7430c564a1051 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit e39bc8e266d451f2e0ade7b26aae6d6895d07234)
2019-06-09Add one missing output decode in rally.pyCédric Ollivier1-1/+1
It partially cherry-picks "Conform with latest Neutron rally job" [1] [1] https://gerrit.opnfv.org/gerrit/#/c/68021/ Change-Id: I4943f737be29bcadfead427a7852964e6438a018 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-06-09Blacklist test_list_metadef_namespaces (Patrole)Cédric Ollivier2-0/+2
It seems dependent on test order (404 if no namespace) and sometimes fails in gates [1][2][3]. It will be enabled as soon it's fixed upstream or if SUT is wrong here. [1] https://build.opnfv.org/ci/job/functest-opnfv-functest-smoke-latest-patrole-run/ [2] https://build.opnfv.org/ci/job/functest-opnfv-functest-smoke-iruya-patrole-run/ [3] https://build.opnfv.org/ci/job/functest-opnfv-functest-smoke-hunter-patrole-run/ Change-Id: I68e71e9b0753089e5620d6689ddff37fe66aeab7 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 02b9592a129472ffd26206541f8efefe1f759957)
2019-06-08Update all patches about functest configsCédric Ollivier2-19/+36
It takes into account the last updates about snaps, cloudify and refstack. Change-Id: I959f8ed1c98cd1879b51b62252aeb38918af6a2c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit dbb00ca3ee3e3349b42c8133dee6b1abdbcb10c3)
2019-06-08Pin ruamel.yaml.jinja2Cédric Ollivier1-0/+1
It's out of openstack/requirements and last version breaks our stable containers [1]. It will be updated in master in a second step to ease cherry-picking. [1] https://build.opnfv.org/ci/job/functest-verify-unit-tests-and-docs-hunter/322/console Change-Id: I76e1965d49e6be6f185611bcfcd056d81bc599fe Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 3472870b0e42c135d004e0006ad3e3607036e553)
2019-06-04Updated from global requirementsCédric Ollivier1-1/+2
Change-Id: Icdca3cdc4abbe39e8e65f336b58cfb0bd4b61281 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-06-03Publish rally logsCédric Ollivier3-25/+48
Both Rally and Tempest publish Rally debug logs. It also moves the logics from tempest to rally. Change-Id: I5c057d830202baddd73577ade1b09ce304e3c5a5 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit bc88eff8f5850f8207431bb8d1958fe6b9cd09e8)
2019-06-01Merge "correct permanent redirects in documentation" into stable/iruyaCedric Ollivier6-14/+14
2019-06-01correct permanent redirects in documentationVincentDanno6-14/+14
Change-Id: I5bcb402f51541483a2797629c44485e5d75913e3 Signed-off-by: VincentDanno <vincent.danno@orange.com>
2019-06-01Decode tempest exception output (py3)Cédric Ollivier2-2/+3
https://build.opnfv.org/ci/job/functest-opnfv-functest-smoke-latest-refstack_compute-run/30/console Change-Id: I77264525917af5f67cdecae85ef7a50439499db8 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-05-28Remove PyNacl contraints in FeaturesCédric Ollivier7-1/+7
It conforms with "Install PyNaCl via package" [1]. functest-feature may raise timeouts when cross-compiling PyNacl [2]. [1] https://gerrit.opnfv.org/gerrit/#/c/67956/ [2] https://travis-ci.org/collivier/functest/jobs/538119733 Change-Id: I986677b869f62caee6be219ee1de622b7bc20ca4 Signed-off-by: Cédric Ollivier <ollivier.cedric@gmail.com> (cherry picked from commit 7a628f087403089d282cda14bcba858d8b0bc6c3)
2019-05-28Stop downgrading pipCédric Ollivier1-3/+0
The pip package poposed by Alpine is fine. Change-Id: I415757b8f4028c76e9d8cec4895306d843d42ac2 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 5819ff6a14e7e89b6c7004336bfcabed9f16baa4)
2019-05-28Install PyNaCl via packageCédric Ollivier2-8/+7
Building functest-core container sometimes reaches travis-ci timeout [0]. It currently selects the right version in master and stable/hunter. [0] https://travis-ci.org/collivier/functest/jobs/531417730 Change-Id: Ie6c8e729f76c98c6f8c8e9ca01b2c998081f7ce8 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 6aad708727e41eaa8f61a104323386568a163dd3)
2019-05-25Run bandit when verifying changesCédric Ollivier3-1/+8
It reports only MEDIUM issues or higher like nova [1]. It selects bandit 1.1.0 as defined in nova and neutron lower constraints [2]. [1] https://github.com/openstack/nova/blob/master/tox.ini#L221 [2] https://github.com/openstack/nova/blob/master/lower-constraints.txt#L8 Change-Id: I6fc505f684701792d3e03659eb0feea8321452c0 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 0440ffcac18991395799e5aafc9243e028917ab6)
2019-05-25Set utf-8 in decode and encode callsCédric Ollivier10-56/+57
It eases backporting in iruya and hunter as a few logs can't be decoded as ascii [1]. [1] https://build.opnfv.org/ci/job/functest-opnfv-functest-vnf-iruya-juju_epc-run/56/console Change-Id: I52a6f9a25130cbf62e8ce3b9972064ab73177665 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 5853dd1ef3c522a975f9685250b1b3e85588f738)
2019-05-24Decode Bytes in logging callsCédric Ollivier5-36/+39
It fixes a few incorrect types in log calls [1]. [1] https://build.opnfv.org/ci/view/functest/job/functest-latest-daily/163/ Change-Id: I01790f6454694f434d31366f9c1cf9d98ff5a9cf Signed-off-by: Cédric Ollivier <ollivier.cedric@gmail.com> (cherry picked from commit 7d58f89103a8c44fd166c3e06b492ade63e5c5b3)
2019-05-23Enable Vmtp if py3Cédric Ollivier1-3/+4
It leverages on last Vmtp review which adds py3 support [1]. [1] https://review.opendev.org/659970 Change-Id: I8319b9e7eb88b9015961188d47657a8c67e0f8da Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit f994b9180b621ae6bb6397acd23de8f1a625c4cd)
2019-05-23Update to Python3Cédric Ollivier11-86/+57
Functest containers leverage on Python3 instead of python2. https://mail.python.org/pipermail/python-dev/2018-March/152348.html It also updates robotframework librairies to latest release and Vmtp to master ([1] is needed) It patches cloudify rest client to support python3. Vmtp is currently disabled because it currently supports python2 only. [1] https://github.com/openstack/vmtp/commit/a5d062881d91bf4f547d92c6e289bea30feb5d6e#diff-b4ef698db8ca845e5845c4618278f29a Change-Id: I39964a212ec2d4dbf53c9ea7c63f02e0b6a05b48 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 2a0702ea914a574ffa7c6d6f83a5c606e24ebd0a)
2019-05-23Update Pylint score (10/10) in Release notesCédric Ollivier1-1/+1
https://build.opnfv.org/ci/job/functest-verify-unit-tests-and-docs-master/2239/console Change-Id: I5f124250aba3aa9a5ca0bc01221c06843bba1b35 Signed-off-by: Cédric Ollivier <ollivier.cedric@gmail.com> (cherry picked from commit ab5dfff578e7c9686882c844ff2c0fed1f663e6f)
2019-05-21Avoid running local dnsmasq when testing IMSCédric Ollivier5-36/+25
It may be unsafe and it's useless for testing IMS if BONO_IP is set. Change-Id: I8b0f010956defbfa1fd22b5aa5cbea70bd2968a4 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit a82827bd4f93c318f0bc2554928ab2213d1ee766)
2019-05-18Update tempest to avoid resource leaks in EndPointGroupsTestCédric Ollivier5-5/+5
It includes "Fix resource leaks in EndPointGroupsTest" [1] which removes the 2 remaining tempest services. It's worth mentioning they raised side effects when trying to connect to Horizon. Change-Id: Ic85fa38a4690c5532d10d21d2eec64d99ab1e8cd Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>