35 Commits

Author SHA1 Message Date
Federico Ressi
b9574a0aa4 Remove DevStack support from tobiko repository
- Use Tobiko project as default tests directory on zuul jobs
- Remove DevStack plugin

Change-Id: I3f1ab818d835bb5db050d6cbe64dc20fc98b6610
2020-10-01 14:34:39 +02:00
Federico Ressi
206e505292 Let tobiko generate its own SSH key
Change-Id: I444946c91c3462b92a132c7c8349f4eda60aa2dd
2020-09-02 04:31:52 +00:00
Federico Ressi
293430cd65 Test Tobiko against Python 3.8.2
Change-Id: I3ffb8ddc33f2f72a0e34c6bbc84452ecdcebff04
2020-05-14 07:30:26 +02:00
Federico Ressi
633e91fad6 Avoid using tobiko-deploy for TripleO CI jobs
Zuul is already expected to deploy projects to remote hosts

Change-Id: I956712b88fb48ba9bccf6e3294005ae7ba78109b
2020-05-12 15:58:17 +02:00
Federico Ressi
71fee65f97 Avoid using tobiko-deploy for DevStack CI jobs
Zuul is already expected to deploy projects to remote hosts

Change-Id: Ida12be01ab3a568f3887db97188e2675b6ffd1d4
2020-05-12 15:58:17 +02:00
Zuul
ea84e96385 Merge "Switch to new IR plugin for TripleO jobs" 2020-04-29 10:51:40 +00:00
Federico Ressi
1f4e11b118 Update IR plugin
Change-Id: I8a4c483a4ac4b1f8dd1a3ec729ffe5bf6410073e
2020-04-29 05:38:11 +00:00
Federico Ressi
2a5b1c0096 Switch to new IR plugin for TripleO jobs
Change-Id: I548ee769d074114f0aee8a8637498ab4e145ebda
2020-04-29 07:29:31 +02:00
Federico Ressi
b696f70b21 Use the new ansible roles for DevStack CI jobs
- Test cases are being installed on /opt/stack/tobiko
  as the folder is used for DevStack plugin
- DevStack plugin generate /etc/tobiko/tobiko.conf file
- Tobiko roles use zuul user on test host
- Test cases get conf from both configuration files:
  * /etc/tobiko/tobiko.conf (generated by DevStack plugin)
  * /opt/stack/tobiko/tobiko.conf (generated by tobiko-configure
  role)
- Tobiko roles are now in charge of managing files recollection
  therefore log file is no more required to be written
  into DevStack logs folder

Change-Id: If9bc702c3b97764a7ed81e074b407e2f336a6fbf
2020-04-27 08:17:01 +02:00
Federico Ressi
ac7a4a6d61 Switch to 2-node configuration for IR plugin testing
Change-Id: Ifeed49ee6a5f57fc2ebf69adbae16894ad3c69a2
2020-04-15 15:56:13 +02:00
Federico Ressi
86441d7aac Update roles requiring python
Change-Id: Iae5cd4affc3e7d148221e55768fbdf6d28907e54
2020-04-03 11:10:38 +00:00
Federico Ressi
9c5a6ec413 Use zuul tox job for running tox
Change-Id: Iff6f173fa7370947f739d0ccb9e94925fc7ee07a
2020-04-02 08:00:06 +00:00
Federico Ressi
0d9e88a6fe Verify infrared plugin actually collect output files
Change-Id: Ib4f8961f50bd3ed68e472eb0fb6be67e27f156f3
2020-04-02 07:59:20 +00:00
Federico Ressi
7f97e137eb Copy test result files to zull logs dir
Change-Id: I6abef9016403d6b3c2801a9de64a55f237b99fab
2020-03-23 22:37:03 +01:00
Federico Ressi
16c32e366b Restore TripleO CI jobs using new Tobiko role
Run faults and scenario test cases using Tobiko role

Change-Id: I551969bdea7cdebbc1914c5f1753c4fd9ae1dfad
2020-02-12 08:50:03 +00:00
Federico Ressi
a9e9d5ee60 Create Tox InfraRed upstream job
Change-Id: Ib816520d63a51ae37a9be8f2036131bd58ecd054
2020-01-16 15:53:38 +00:00
Federico Ressi
f2b71f000a Rename upstream CI playbooks
rename playbooks/{tobiko-devstack-post-run.yaml => devstack/post.yaml}
rename playbooks/{tobiko-devstack-pre-run.yaml => devstack/pre.yaml}
rename playbooks/{tobiko-devstack-run.yaml => devstack/run.yaml}
rename playbooks/{tobiko-tox-py38-pre-run.yaml => tox-py38/pre.yaml}

Change-Id: I062464604d532fc4878271f4979c14a2b96bb0d6
2020-01-07 14:54:56 +01:00
Federico Ressi
8b43a64d5e Use bindep role to install Python3 packages
Change-Id: I5b171b32b0c8dcd07a82cc56c52af801b89ed7d7
2019-12-23 06:05:16 +01:00
Federico Ressi
94de803520 Compile Python with missing deps and shared libs
Change-Id: I99c5d518736004beed8686ff330a5c7150e3f7c6
2019-12-20 13:10:27 +01:00
Federico Ressi
d3de47fff0 Use Python 3.7 for setting up DevStack on CentOS
Last Nova has stopped supporting python versions smaller
than version 3.6. This is creating troubles to use
CentOS 7 with devstack because support for Python 3 and
CentOS 7 is still not merged

This has been required as below change is still not merged:
 - https://review.opendev.org/688799/

Change-Id: Ia3a15b8fe2badbcb0831136a85eeddc7c65fb524
2019-12-19 06:37:26 +00:00
Federico Ressi
e9d2261951 Run unit tests with Python 3.8
Change-Id: I08cee2a5d671fa9302b067f6466dfedfccdba8f6
2019-12-17 07:30:59 +01:00
Federico Ressi
d2741460ff Add ansible playbooks linters job
- Execute ansible linters on ansible files
- Join all linters verifications in one single job
- Fixes Ansible roles and playbook to pass verification
- Leave pep8 stand alone verification because of legacy
  OpenStack standard testing interface (required by
  openstack-tox-py* zuul project templates)

This is intended to reduce the amount of CI jobs
required to check and gate this project while
adding verification for ansible playbooks and roles

Change-Id: I44e03ffc8af21e798f8c7f709728a318764b328f
2019-12-13 17:35:41 +00:00
Federico Ressi
88cdecbc4f Produce separate named report files
Refactor role with tags for execute pre-run, run and
post-run phases.

Change-Id: I7daff63be56d2746a63e00d21aaa78078e60f60f
2019-12-03 21:06:38 +00:00
Federico Ressi
67a4831aba Prepare tobiko execution in tobiko role
- copy tobiko source files to target host
- provide basic tobiko.conf file with DEFAULT section
- make sure logs dir is writable
- remove obsolete setup tobiko logs dir role

Change-Id: Icff3d8450ce4d84293783d7971f2851f69c00a87
2019-11-28 06:08:13 +01:00
Federico Ressi
7095ff11e9 Create generic ansible Tobiko role for CI
Change-Id: I1d31d9ff30fbde418d0abcc84212b4408ed7e515
2019-11-25 17:56:07 +01:00
Federico Ressi
1fa8dfe997 Fix DevStack CI jobs
Change-Id: I5af61a34c5643874af1c2a6525072dd1d4f8845e
2019-11-18 10:05:29 +01:00
Federico Ressi
7444b88d02 Copy the build ssh key to authorized_keys on all hosts for stack
Change-Id: Id44cbc64efd65254db5a49f4d8200642cf3f58a5
2019-10-05 10:13:39 +02:00
Zuul
aeaa5003a6 Merge "Set path for tobiko logs in devstack tobiko jobs" 2019-09-26 08:44:04 +00:00
Slawek Kaplonski
a47f22d608 Set path for tobiko logs in devstack tobiko jobs
Tobiko should now log its output to '{{ ansible_user_dir }}'
directory thus it will be fetched by Zuul after job ends and
we will be able to check tobiko logs after every CI job run in
Zuul.

Change-Id: I2f6e0edd2878e5a7ffd9697a3eaeea61a4c03674
2019-09-25 20:33:19 +00:00
Federico Ressi
7972b46616 Enable Neutron L3 agent on sub-nodes on upstream CI
The purpouse is being able to test L3-HA scenario tests

Co-Authored-By: Slawomir Kaplonski <skaplons@redhat.com>
Change-Id: I1710c1abf644a6d00f3e4dfc1875b33b84a10013
2019-09-24 12:54:02 +02:00
Federico Ressi
d9c4a13f0c Enable DevStack os-fault plugin
Co-authored-by: Slawek Kaplonski <skaplons@redhat.com>

Change-Id: I704b07e8176e9d1b6ddbff6ecb751fb31da4a8a7
2019-09-02 22:33:00 +02:00
Slawek Kaplonski
a2ace59143 Get parsed test results in tobiko-devstack job
Change-Id: I7ccdc980efc938dee21c3852ebdc67c50136cea4
2019-03-13 22:07:50 +01:00
Federico Ressi
e4ea6d5212 Execute existing neutron tests on upstream CI
Change-Id: I53bdbb535bca8f56399927a85d8cf0e766a5808b
2018-12-14 11:58:15 +01:00
Federico Ressi
1e0f521f10 Add devstack Zuul job
Change-Id: I7121000356dfc992fc4ebe4eb5fa91b4a68faaa4
2018-12-05 14:25:07 +01:00
Federico Ressi
895602c93e Split tox environments requirements files
- add py36 environment
- separate unit tests requirements from neturon test cases
- rename zuul project file
- remote tempest from unit tests requirements

Change-Id: I7b054f679c44cde70d00d1f030853b0c6f528d4d
2018-12-05 08:28:32 +01:00