aboutsummaryrefslogtreecommitdiffstats
path: root/ansible
AgeCommit message (Collapse)AuthorFilesLines
2020-11-12Add timeout as needed by Gitlab CI/CDCédric Ollivier3-0/+9
Gitlab CI/CD sets 1h as default timeout. The timeout is valid for all test cases in tiers (current XtestingCI design). Change-Id: I1ffae060ee8fd26426a9ee9a2ad2cd131ff9abe9 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-11-09Run vnfs in parallelCédric Ollivier1-2/+0
Jenkins slaves must be limited to 2 (default setup) if needed. Change-Id: Ic05552085988efda0ff4a283ff84942e263750ca Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-11-09Split Gates in a dedicated site.ymlCédric Ollivier2-27/+82
Change-Id: If470f70359442fabba6c5064f65aff972597131e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-08-06Use alpine edge for py3-distlib onlyCédric Ollivier1-1/+1
Alpine 3.12 doesn't offer a version compatible with latest OpenStack constraints. It may fix all issues when compiling Functest for arm [1]. [1] https://travis-ci.org/github/collivier/functest/jobs/715229717 Change-Id: I7f55cafff2c7a34909440c5ca1d1f641194761c9 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-07-19Use alpine edgeCédric Ollivier1-1/+1
Last upper-constraints updates force Alpine edge. https://build.opnfv.org/ci/job/functest-core-docker-build-amd64-master/941/console Change-Id: If2c7d434cfa45e676e3d236a2f59f916b43b5cd1 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-07-16Add tempest_cyborg in Functest ansible roleCédric Ollivier1-0/+1
Change-Id: I58ae820e10af29be757616fb5faf716453169e25 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-07-03Add patrole user and reader testingCédric Ollivier1-1/+3
The regexes will be updated in a second change (chicken and egg between Functest and Releng) Change-Id: I4273a80799730fe30c941a7b2966cfee46f24d4a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-06-24Remove build data in CNTT playbookCédric Ollivier1-27/+0
It's useless from a CNTT point of view. It remains in the classical IaaS verification to ease creating Functest Jenkins Jobs. Change-Id: Icb13ab7d0e43b4cf968cab4041b6827c11c20cbc Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-06-06Update to alpine3.12Cédric Ollivier2-2/+2
https://alpinelinux.org/posts/Alpine-3.12.0-released.html Change-Id: Ie7c72abd10d70b90d65f260d595c0ca47b69a8c0 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-06-05Run VNF in parallel in Functest default playbookCédric Ollivier1-2/+0
They pass in parallel if the bandwidth is good enough. https://build.opnfv.org/ci/view/functest/job/functest-latest-daily/679/ Change-Id: I2f466f7f25898d8af3004da1d3ef2208e4410f7c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-05-01Rename barbican->tempest_barbican & octavia->tempest_octaviaCédric Ollivier1-2/+2
It unifies all test case names. Change-Id: I38576f2d6bae6ef0236b6acfbd30c0446d3a2eca Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-05-01Remove neutron_trunk; networking_bgpvpn and networking_sfcCédric Ollivier1-3/+0
They were all merged in neutron-tempest-plugin. Change-Id: Iefe3bf98fc41d0dab5a7cec640337c672a7b1a69 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-04-29Add tempest_telemetryCédric Ollivier1-0/+1
It runs all telemetry-tempest-plugin tests except test_autoscaling which is currently failing in our gates. Change-Id: I2c712eda71799e96735419e1c547a775be659156 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-04-28Rename neutron_tempest_plugin_api to tempest_neutronCédric Ollivier2-2/+2
It conforms with the other test case names Change-Id: Ia8836375c26ea4f1bff3637f7078e5f70f83c5fb Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-04-27Add tempest_heat in CNTT smokeCédric Ollivier1-0/+1
It increases Heat coverage [1]. [1] http://artifacts.opnfv.org/functest/24ELW4C5RKD4/functest-ovn-opnfv-functest-smoke-latest-tempest_heat-run-34/tempest_heat/tempest-report.html Change-Id: I6630e4827a59b2ded34e5c271b9155df3b25f588 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-04-06Add tempest_heat (heat-tempest-plugin)Cédric Ollivier1-0/+1
It asks for the Fedora-Cloud-Base image and a second user account. It should be noted that heat-tempest-plugin duplicates all configs from tempest. Minimal image is still Cirros and the first account is the admin one. Then it conforms with the TempestCommon logic. AodhAlarmTest is skipped by default because pre conditions are missing. SoftwareConfigIntegrationTest is skipped as in gates because it requires a custom image [1] [1] https://github.com/openstack/heat/blob/master/devstack/lib/heat#L444 Change-Id: I8b39dc65ef3714411cd828e17b95e124f2e90f34 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-04-01Rename CNTT specific testcasesCédric Ollivier1-9/+9
Test DB and API don't support suites which raise side effects in Cachet if both IaaS verification and CNTT conformance are executed. Vmtp and Shaker haven't been modified for CNTT. They will be renamed once CNTT asks for new post processing. http://testresults.opnfv.org:8080/ Change-Id: I64e06694620027faa06b6d9d339684f5e8d733d7 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-01-24Update Alpine to 3.11Cédric Ollivier2-2/+2
It also updates Python to 3.8 (default version). It selects arm32v6 et arm64v8 repos and switches multiarch binfmt. https://alpinelinux.org/posts/Alpine-3.11.0-released.html Change-Id: Ib41cf0ab805ce2137658f3ff656b0a88c7b4ebf5 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-01-09Revert "Ease overriding tempest_conf.yaml"Cédric Ollivier1-1/+0
It raises side effects if the file is missing (trying to mount a directory onto a file) which is the default case. This reverts commit fe4c595edbaa31a43b94c5065fb14cab932ddffd. Change-Id: Ic24bbbbadfe0cd8901ed66357e95f466cee8da80 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-01-02Ease overriding tempest_conf.yamlCédric Ollivier1-0/+1
It works asis in Functest gates but its values mays be modified by users at their convenience. Change-Id: Id83c01693818802d11eb3822b59a508ac09990c3 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-11-27Propose CNTT Compliance playbookCédric Ollivier2-5/+73
It eases building CI/CD toolchains everywhere veryfing the compliance between CNTT Chapter 5 API and local platforms. Change-Id: Ia5375031d5e8cafca808d52c71dde70f80e841e9 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-10-26Add keystone-tempest-pluginCédric Ollivier1-0/+1
It adds tempest_keystone which runs the tests proposed by keystone-tempest-plugin [1]. [1] https://opendev.org/openstack/keystone-tempest-plugin Change-Id: I83db584c37fe63a549ccf396b03e034778254b3a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-10-26Add cinder-tempest-pluginCédric Ollivier1-0/+1
It adds tempest_cinder which runs the tests proposed by cinder-tempest-plugin [1]. test_incremental_backup is disabled because it currently fails vs Functest SUT (under analysis). [1] https://opendev.org/openstack/cinder-tempest-plugin Change-Id: I85b255eb05b9ab1c74c3829148da5230d6c7647e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-10-26Add healthcheck Horizon testsCédric Ollivier1-0/+1
It runs TestDashboardBasicOps as proposed by tempest-horizon [1]. It's skipped if DASHBOARD_URL is unset (default). [1] https://opendev.org/openstack/tempest-horizon Change-Id: I1b6b5609412770609f412da4927641588b173ed6 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-09-17Add tempest_slow and octavia in ansible/site.yamlCédric Ollivier1-0/+2
Change-Id: Ie2f418f34d9c0a0651a58795da8c87fd27012c5b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-08-31Remove Features containersCédric Ollivier1-10/+0
Most the features are stopped and Functest shouldn't host dead code. Functest is a framework (Docker and Python modules) which can be still reused by any third-party (OPNFV Feature or anything else) in its tree and CI. Change-Id: Ia8475ce295b2cdcddbfcfc5b17ea2ab9e51a8afb Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-08-22Protect tag in functest.yamlCédric Ollivier1-1/+3
Else 3.10 becomes falsy 3.1. It also conforms with latest changes in Xtesting ansible role [1]. https://github.com/collivier/ansible-role-xtesting/commit/292ab576fb8f0a13519bacc5ec46561a3ed8f838 Change-Id: I75e57f05d99381c9d0608aa4a88f0b12d9b6a9cf Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-07-27Switch to Python 3.7 and Alpine 3.10Cédric Ollivier1-1/+1
It also allows building docs as doc8 is broken due to latest OpenStack's upper-constraints. pylint is updated to 2.3.1 (lastest py3.7 version) It disables perm as umask is currently false on lf-virtual1. Change-Id: If09d4796d48b7d0591e7926621d3bbf5ca1b6c24 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-05-16Add all RefStack listsCédric Ollivier1-1/+3
It adds platform and object targets. refstack_defcore is renamed to refstack_compute. Change-Id: Iad5bfb27be614aada98eef5b3148965e65210725 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-03-25Remove snaps testcases from site.ymlCédric Ollivier1-3/+0
Change-Id: I5f979b5ad704f8d9b35dd54deda33f910fe08a25 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-03-23Update Alpine tag in ansible/site.yml and build.shCédric Ollivier1-1/+1
It complete the previous commit updating Alpine [1]. [1] https://git.opnfv.org/functest/commit/docker/core/Dockerfile?id=ee700ae5c7ab1fa3e761c330686f89f3ddefbfd3 Change-Id: Icec39d36c661ba3eb3e79c9abb592897f46efa22 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-03-08Remove SDNVPN as it doesn't participate to hunterCédric Ollivier1-1/+0
Change-Id: Iddeaa3890635103b66042a918ab66cabd8fdee60 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-02-11Update ansible/site.yml (rally_full)Cédric Ollivier1-6/+1
It conforms with "Move rally_full in benchmarking" [1] [1] https://gerrit.opnfv.org/gerrit/#/c/66911/ Change-Id: I6382f6e612343896a1d817675e122d2c1e0b1a38 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-02-06Move testcases in the right tiersCédric Ollivier1-4/+4
Here are the moves: - tempest_smoke in healthcheck - tempest_full and tempest_scenario in smoke - rally_jobs in benchmarking It avoids conflicts between benchmarking tools and few functional tests (short timeouts). Then it should allow running in parallel all testcases in one tiers. It also allows cleaning the additional steps defined in releng. rally_full could move in benchmarking in a second step. Change-Id: I0bc657557a61c7d9bf7679b4f2dbda08c36728ca Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-01-14Remove fds in all branchesCédric Ollivier1-1/+0
FDS didn't participate to Gambia. Removing it in all branches avoids compexifying the jjbs. This patch will be reverted as soon as the support is ready. Change-Id: I9fb293b2972e0deb318ac9d3d08377039ea247e4 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-01-06Switch from port to dport in site.ymlCédric Ollivier1-1/+1
port is reserved in ansible Change-Id: I87842857514e8fb589e565ece83552418a93c550 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-01-05Conform with new tag configsCédric Ollivier2-26/+51
It allows generating gate jobs. Change-Id: I741da199bca7617e73eb1e4638fcb4139b872141 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-12-11Deploy Functest CI toolchainsCédric Ollivier1-0/+78
It eases verifying OpenStack by deploying the full testing toolchain via Ansible. As opposed to the Releng model, all tests can be executed in parallel. It leverages on Xtesting Ansible role which currently deploys Jenkins, Minio and S3www and loads all jobs in Jenkins. Last components (MongoDB, TestAPI and dashboard) will be deployed in the next update of the ansible role. To deploy the testing toolchain: $ ansible-galaxy install collivier.xtesting $ ansible-playbook ansible/site.yml Change-Id: I260806c1d19562891d2ed9c52ba37a82bf60792e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>