Commit Graph

19 Commits

Author SHA1 Message Date
Ghanshyam Mann 72ea117f61 Retire Tripleo: remove repo content
TripleO project is retiring
- https://review.opendev.org/c/openstack/governance/+/905145

this commit remove the content of this project repo

Change-Id: Ic549bdcc76a5e12a0104143fbe79fd0db2c866b0
2024-02-24 11:44:35 -08:00
Arx Cruz 609d10ac97 Deprecating validate-simple
This role is no longer used, and was a long ago replaced with tempest.
Right now, there are still some pieces of code that overwrite the
tempest testrepository.subunit with the pingtest, and so, the best
approach right now is ensure that the validate-simple is not being
called anywhere.

Change-Id: I5a2993fa93c08f842e936c80b0adf4f9fb5c3b0f
2022-10-25 15:19:23 +02:00
yatinkarel 858d532fee Fix dstat setup in jobs
It fails as run_tempest is not defined, now we should
use use_os_tempest instead.

Change-Id: I62358ebaa2792642265db17164bee5a620ef10b1
2022-04-18 14:56:19 +05:30
Arx Cruz b2a3632575 Set condition to run os_tempest
This will avoid all the tasks under tempest.yml to be executed, since
those are only required when run os_tempest.

Related-Bug: #1911696
Change-Id: If546256da1e79d63c102590884e73db49c59e7ab
2021-01-14 18:44:50 +00:00
Arx Cruz d202a61941 Os_tempest everywhere
Remove the logic to choose between validate-tempest and os_tempest.
From now, only os_tempest should be executed.

Also other changes in order to make it work properly:
* Disable stackviz for CentOS-7 based distros.
* In Queens, Auth_url ends with //v3 leading to auth issue, replacing
  it with /v3 fixes the issue.
* Generate clouds.yaml only for overcloud.
* Setting the CURL_CA_BUNDLE in order to avoid invalid ssl certificate
  errors

Related-Bug: #1891372

Co-authored-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
Signed-off-by: Arx Cruz <arxcruz@redhat.com>

Depends-On: https://review.opendev.org/#/c/759830/

Change-Id: I96808cc1d6c01391775a5f38d6dc27b6cf214afa
2021-01-06 16:21:52 +01:00
Sorin Sbarnea 7bd7c86ab1 Move tempest under tasks
Tasks files should never share same folder as playbooks.

Change-Id: I08712f6c18d6884213dca91a5b76e674ef0cb208
2020-10-08 16:36:18 +01:00
Arx Cruz 8c570777f3 Centralize tempest execution
Today we have two roles that run tempest, the first one that is
deprecated, validate-tempest, and the new one os_tempest.
The problem right now is that, in order to deprecate validate-tempest,
we need to ensure a smooth transition, and centralize everything in one
single playbook, is the best way to do it.
Furthermore, move old jobs running on centos 7 require some workarounds
to create the clouds.yaml file, that today would be harder.
This patch consolidate both os_tempest and validate-tempest in one
single playbook, and so, in the future, it's easier to just remove the
calls from validate-tempest in one single place rather than keep
searching for all the places we use it.

Change-Id: I9991f6c0ea51a3bf537bdcafd4220a5a025cc026
2020-07-21 18:34:24 +00:00
yatinkarel ff35d9ba07 Enable os_tempest in quickstart-extras-validate playbook
This is needed so os-tempest can also be used in addition to
validate-tempest role to run tempest when quickstart-extras-validate
playbook is used.

Also let's ensure virtualenv package is installed
when using os-tempest  it can be absent when.

Change-Id: I44ab4eff686100966012118ccd9ac016d6c2ee54
2020-05-14 15:46:02 +05:30
Wes Hayutin da26295b01 remove tripleo-ui validate
tripleo-ui is no longer supported

Change-Id: I1fd4d893a709aa10d125263827fa0a4a13817574
2019-03-22 01:46:30 +00:00
Cédric Jeanneret 53273fa2d1 The |bool seems to prevent the |default to kick in
Change-Id: Ie97f07ac1112b9e79686b2c38bd6dd428c24686d
2019-03-18 06:59:51 +01:00
Cédric Jeanneret 9297f58e12 Ensure default value is set, and is "False"
Closes-Bug: #1819172
Change-Id: I96a393c2be9d7f06b53ea8c759353ecaf7adc148
2019-03-08 15:12:56 +01:00
Chandan Kumar 74983421a1 Raise an error if a service or container is failed
Sometimes container or service does not start, and this
doesn't make the CI fail. Until now, the failed containers
are listed in the /var/log/extras/ tree, but it's not
checked on a regular basis.

This patch intends to make a hard failure in case either
a service or a container doesn't start as expected.

Co-Authored-By: Cédric Jeanneret <cjeanner@redhat.com>
Related-Bug: #1816523
Change-Id: I001e2f27d2b562bb0be87c8eaadcf3622e530498
2019-02-25 11:39:36 +01:00
Sorin Sbarnea cc82349363 Adapt code to newer code style (linters)
Makes those files conformant with current linting rules and avoids
linting errors when we need to toch them again.

Previous doing "pre-commit run -a" uncovered these errors, now is no
longer reporting any other errors.

Change-Id: Ie4cf229c8f11c2b55b323eac23c89483b26d3781
2018-11-16 12:42:51 +00:00
Rafael Folco df408ef9d3 Fix dstat time penalty for failed runs
dstat async task with poll=0 should fire and forget, with 1 sec
max limit for the shell to run and send its process to bg.

The change includes:
 - Ignore errors on dstat play.
 - Enable dstat only when tempest runs.
 - Kills dstat before parsing logs and creating charts.
 - Remove dstat_count.

Closes-Bug: #1760917

Change-Id: I9ee407e8274f3ab6c3aea3650a25cd31772a81d6
2018-04-12 15:25:48 -03:00
Rafael Folco b5e349bc47 Collect dstat on overcloud nodes
Start dstat on overcloud before tempest runs.

Closes-Bug: #1674382

Change-Id: Ifd4bea27b2c5f31b30580c098024ba55c8abda51
2018-03-30 14:50:52 +00:00
Juan Antonio Osorio Robles 126ecf535a Only execute UI validations when UI is enabled
One can disable the UI, and the validation will fail if it's not there.

Change-Id: I7a3e317705c95e3ca368eacb376d88c426f72d54
2018-01-04 13:34:03 +00:00
Wes Hayutin e1cee6df04 add a very simple tripleo-ui validation
The tripleo-ui should always work out of the box.
Let's take a few basic steps to make sure that is
the case.

Change-Id: Ie320cf86a6d6d2bc810221e18f4be5e029c26df2
2017-10-24 14:49:58 -04:00
Luigi Toscano be59e5230b validate-tempest: fixes in the configuration-only workflow
The workflow of
- configure_tempest is only defined twice and used in an important
  condition but it is not really used anywhere; the variable which is
  around is tempest_config. Use tempest_config properly, remove
  then configure_tempest;
- execute validate-tempest also when tempest_config is true,
  not only when run_tempest is true;
- execute the post-tempest task only if run_tempest is true;
  no need to execute it if tempest was simply configured.

Change-Id: I84dce8ff4ebb1df2163b1de6279b35e564efea5b
2017-07-13 11:02:03 +00:00
Jiri Stransky 30ce59c49e Split quickstart-extras.yml into sub-playbooks
This should allow easier composition of custom playbooks from bits and
pieces of quickstart-extras.yml. It will be especially useful when one
wants to reuse existing environment (e.g. deployed undercloud) and
perform additional automated actions on it. (The current solution has
been to use ansible tags, which has been quite error prone for me, and
i've sometimes ended up ruining my dev environment. Composing custom
playbooks is both safer and more straightforward to reason about.)

Depends-On: I513149a9de524dd3f017c583d06c35a165581715
Change-Id: Ie40da10fb96265340b243fff9b48fd18640de978
2017-06-29 19:58:32 +00:00