Commit Graph

30 Commits

Author SHA1 Message Date
Sagi Shnaidman c2b508aba6 Remove legacy and unused code from tripleo-ci
Remove all redundant and unused anymore legacy code from repo.

Change-Id: If2d28afbae4fb4eb353fd9b21326993673af0d42
2017-07-12 15:42:39 +03:00
Steve Baker 5ccdf00217 Don't capture quickstart.tar.gz
This archive appears to not contain any logs, but contains the
quickstart runtime files (including all site-packages).

There is space savings of 44MB per job from removing this file.

Change-Id: I3085c1f7807925e144550adf3cd94ec41fcc121e
Related-Bug: #1698172
2017-06-16 12:29:09 +12:00
David Moreau-Simard f6adce68e3 gzip the ARA report after generating it
ARA behaves well gzipped and shaves a lot of the size due to it being
composed mostly of text.

Change-Id: I49509eaeb36e62512e7ab487cb9ea5c074f49084
2017-06-15 08:59:31 -04:00
David Moreau-Simard e10052f8a9 Replace "ara generate" by "ara generate html", move report to ara_oooq
The newest version of ARA, 0.11, deprecated "ara generate" in favor
of "ara generate html". "ara generate" will be removed sometime in
the future so let's adjust it right away.

Change-Id: Idb3332922250d6320ebf2800dda0c9d77e5a4f08
2017-04-25 08:54:12 -04:00
Juan Antonio Osorio Robles 2af4c1271c Remove installation of moreutils and replace ts
epel is no longer available.

Change-Id: If6affd68edafec683db0be2f5695455e907ad311
Closes-Bug: 1682488
2017-04-13 22:01:52 +00:00
Jenkins 324d73805e Merge "Enabling oooq jobs to be consumed by openstack-health" 2017-04-07 22:36:31 +00:00
Arx Cruz b0b97d2b66 Adding periodic-ovb-nonha-tempest-oooq.yml file
This file is required for
periodic-tripleo-ci-centos-7-ovb-nonha-tempest-oooq job run properly.
The change I2aff7d0869d4deadddf6fefc273a81e2f996c0e8 creates a new
settings format for ovb settings, and one of the jobs started to
fail because this file was missing.

Change-Id: I4abbbef86fba2ebe1993dc682ee40dbcf2955b6d
2017-04-07 12:25:14 +02:00
Arx Cruz f0cda98b3a Enabling oooq jobs to be consumed by openstack-health
Openstack-health verify if testrepository.subunit file exists in the
root log dir for each job at http://logs.openstack.org. If file exists
it will shows up in https://status.openstack.org/openstack-health with
all tempest tests executed
Depends-On: Id2f8f0414f153600de6a3390eab4719a5a7d7c98

Change-Id: If6721d31fda341d462b5d8953d9e77c9cbb107c8
2017-04-05 18:20:14 +02:00
Sagi Shnaidman f61c5e51d8 Set REMAINING_TIME for local run
When running CI scripts locally it fails because REMAINING_TIME is
propagated by infra before the job starts. This patch sets it to
some default value if it wasn't set before.

Change-Id: I0050046db17e50ddd17a7115e46c4684afa87b2f
2017-04-02 17:23:33 +03:00
Sagi Shnaidman 46cfeed27f New ovb playbook and settings
New format of OVB playbook with new roles.

Change-Id: I2aff7d0869d4deadddf6fefc273a81e2f996c0e8
2017-03-30 14:11:04 +03:00
Sagi Shnaidman 5a58c9a231 Stop deployment before jobs end
Stop deployment if it exceeds maximum timeout so that logs
could be collected.

Change-Id: Ia4e1ef2a10987b06406b343353066ea9d76f8e28
Related-Bug: #1649742
2017-03-27 20:58:48 +03:00
Jenkins 1ffc9350eb Merge "Replace "ara generate" by "ara generate html"" 2017-03-22 02:50:53 +00:00
Sagi Shnaidman 47195d2a71 Disable tempest in container job
Disable tempest in containers jobs until performance will be
improved.

Change-Id: Ic42e1ed4611056c15466d6e606e34952dbd67ef6
2017-03-15 11:29:47 +02:00
Sagi Shnaidman d8c44b4517 Support deploy args in OVB jobs
Support quickstart deploy args in OVB jobs. Use multinic
configuration with tripleo-ci network templates.
Remove hack with ssh user.

Depends-On: I5f78b908fe41a1304295fad4e0187d049b16fa80
Change-Id: I26f1f7ca269faed13c93c126f019ea85118ef844
2017-02-28 07:04:47 +00:00
Arx Cruz 65b668ab5d Removing enable_cinder_backup from tempest job
Even though the enable_cinder_backup is set to true, and the facts are
properly set to enable the cinder-backup service, the upstream ovb oooq
jobs don't use deploy_args to parse the backup_args facts, so, it
doesn't actually enable cinder-backup, however, make tempest ran the
tests that requires it, failing.

Change-Id: Ic8ab026e517403f79e493e5a4eb1da9281dcf44d
2017-02-23 14:10:29 +01:00
Sagi Shnaidman f34fbafc51 Fix quickstart issues
Run tempest in the same playbook.
Don't run postci function.
Use exclude list collect only logs we need.

Change-Id: Ib72a70facfb4fa180334ae5f470d34d1fb201668
2017-02-16 18:15:30 +02:00
David Moreau-Simard 83a81d36d0 Replace "ara generate" by "ara generate html"
The newest version of ARA, 0.11, deprecated "ara generate" in favor
of "ara generate html". "ara generate" will be removed sometime in
the future so let's adjust it right away.

Change-Id: Ie8e57ada6eda5109d1e8748c988b46c0ec8c3b3b
2017-02-13 12:27:54 -05:00
Attila Darazs dc73b9836b Improve console readability for quickstart jobs
* force disable colors for ansible, as jobs seem to be running in a TTY
* use "|| true" everywhere
* redirect stderr into the collected logs output
* display warning if log collection fails

Change-Id: Ic169510226796d76babd4f3dc54855cb0c7842cc
2017-01-31 15:30:58 +01:00
Jenkins d7ebf58a39 Merge "Remove references to Liberty (now EOL'd)" 2017-01-31 02:04:59 +00:00
Sagi Shnaidman 6eb3421491 Fix building in oooq ovb jobs
Built packages weren't injected to overcloud images and weren't
injected on overcloud. This patch fixes it.

Change-Id: I3f3ffb88e5a4221dd8a28e809774ee41b6c1ceac
2017-01-27 13:58:32 +02:00
Julie Pichon 08af9ed794 Remove references to Liberty (now EOL'd)
Change-Id: I57d977e48bac4cf703d9c428a0f527baa1968d99
2017-01-26 08:55:59 +00:00
Sagi Shnaidman ecd2ac388b Fix logging issues for quickstart jobs
Make logs visible in the browser.
Redirect ansible log collection output to file.
Remove redundant duplicates.

Change-Id: Ia5c8dc64f8dfbb6e5af3dbdcb6f1310b22e42756
2017-01-25 14:55:36 +02:00
Gabriele Cerami 0555247b5c OOQ/OVB: Add configurations for tempest job
This change is about replacing current tempest job with a one using
quickstart, proposed in https://review.openstack.org/420647.
We specify a new name and job type containing "oooq" so quickstart
script will be activated, and inside this script we're checking if the
TOCI_JOBTYPE contains the pattern to trigger tempest.
We are changing the test to apply on nonha deployments instead of HA,
and setting the ansible variables accordingly.
The configuration tested locally for a successful full tempest run use
the minimal_pacemaker quickstart configuration, but overriding the
variables that activate the ping test and set the variables that
activate tempest test. Cinder-backup service is not enable by default
and we are enabling to make some tests pass.i
We're going to run the full list of tests, with some exceptions added to
the skip list.

Change-Id: I3084e020e6997efd804306b3350dc9752cda549e
2017-01-18 21:05:08 +01:00
Sagi Shnaidman 96c6cc973a Fix current bugs for oooq job
Sometimes validate with pingtest fails, but tempest passes,
it should be still failure.
Add undercloud users.
Change logs location.
Fix collect logs usage.
Prevent failure if overcloud_containers is undefined.
Use ARA for ansible statistics.

Change-Id: Ib06f4d0bd6551c288c39f8964d20ee3817ddfb65
2017-01-18 01:30:14 +02:00
Jenkins 261468bcd7 Merge "Use quickstart-extras checked out from zuul refs" 2017-01-14 01:29:23 +00:00
John Trowbridge 4351b8d46f Use quickstart-extras checked out from zuul refs
We have gates using OVB running on all quickstart-extras patches,
however they are currently not actually checking out the change.
See https://review.openstack.org/418022 for evidence.

This could likely be resolved more cleanly than in this patch, but
in order to keep from breaking the quickstart based OVB jobs we
should get the job actually testing changes ASAP.

Change-Id: I810e6f0457f82e2378697a1a63d37a5d80ce852f
2017-01-12 17:14:17 +00:00
Sagi Shnaidman ae3608d9e9 TripleO containers job with quickstart
TripleO containers job with quickstart without
network isolation, using ctlplane network only.
The multi-nic net-iso configuation will be in next
iteration.
Change-Id: Ia76310762960970ea928e4788c8fd3aabb35ea0a
2017-01-11 15:55:53 +02:00
Sagi Shnaidman 905d7c1367 Fix OOOQ OVB jobs
Fix tripleo-quickstart OVB jobs

Change-Id: I1a5ba719f8a08918ffa8f210315e5e0df89de6ef
2016-12-23 08:21:38 +02:00
Harry Rybacki 512c59cb64 Update role path for collect-logs
With merger of tripleo-collect-logs and other roles into the
tripleo-quickstart-extras role the role name has changed from
'tripleo-collect-logs' to 'collect-logs'

Change-Id: Ie456dbf679dc85ec625cb59b03e19e57c28b25e5
2016-11-29 08:27:49 -05:00
Sagi Shnaidman a99e2a523d Full quickstart gate run on OVB
Run quickstart experimental gate on OVB environment

Change-Id: I396f191c18c2b7e066dd9488765c3f66180d78f0
2016-11-23 14:20:38 +02:00