Commit Graph

10 Commits

Author SHA1 Message Date
Mathieu Bultel 9fdfaa1250 add validations playbook for VF component testing
* Removed legacy tripleo-validations role. The new roles will be
  stored in tripleo-validations repo itself
* Removed legacy playbooks tripleo-validations
* Update multinode-undercloud playbook
* Add validations playbook

Change-Id: I477644b085bd77407884bce25947be159bfc5c31
2021-02-04 09:09:46 +00:00
Sorin Sbarnea fce23f7646 lint: enabled whitespace fixes
Adds two checks that were used in order repos (liketq)but not on this
one.

Change-Id: I4ccaf3dc78777b4b661fa17382f2feef8eb0d03e
2020-01-05 14:07:37 +00:00
Zuul a916cdf805 Merge "validations: Allow to customize the max retries" 2019-06-14 22:20:06 +00:00
Sorin Sbarnea 72141b7fab Adopt yamllint strict linting
Upgrades yamllint to latest version and adots use of its strict
checking.

Fix all known problems reported by yamllint so we don't have to do
that while touching these files.

Change-Id: I4bdc520d9e2aff086c4b463718bc1e053261a4f5
Story: https://tree.taiga.io/project/tripleo-ci-board/task/381
2018-11-26 12:37:21 +00:00
Sorin Sbarnea 5fb90bcb09 Fix runtime Ansible warnings
- warning from the output by setting no_log for sensitive
variable.
[WARNING]: Module did not set no_log for influxdb_password

- deprecation of "static", using 'import_tasks' for static
inclusions or 'include_tasks' for dynamic inclusions.

Change-Id: I774d59b0d1bf5324c5a8b7c95a06f07299478e6a
2018-11-07 13:43:26 +00:00
Dimitri Savineau c0e387c37a validations: Allow to customize the max retries
The max tries per validation task is currently hardcoded to 40. On
slow nodes it's possible to reach this limit easily.
This patch allows to customize the max retries and set the default
value to 40 as a backward compatibility.

Change-Id: Id23b6a301bea6592bc033ee8aa475933e171e3d8
2018-06-05 15:28:28 -04:00
Gael Chamoulaud eae835dcaa Modify failed tripleo validations log file name
This patch renames the failed tripleo validations log file to avoid a lot of
confusion, some people do sometimes, with the validate simple role result.

Change-Id: I9e6cb3219a2e9a6beb31ca9b50a061893ea875c2
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
2018-03-27 09:07:05 +00:00
Gael Chamoulaud 86ac8c0ac9 Remove workaround for LP#1701239 bug
The bug [1] has been fixed and released, so this patch removes the workaround.

[1] - https://bugs.launchpad.net/tripleo/+bug/1701239

Change-Id: Icf598f0d99b2518c3e7c3d4d746aac72661bae0d
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
2017-11-08 12:14:44 +00:00
Gael Chamoulaud c424cc70b9 Better long validation task management
When a validation test is running more than 40 seconds, we don't need to exit
the script and simply fail (which is causing some promotion trouble). Instead,
we skip the mistral execution and pass to the other validation test.

Change-Id: I07a61f9e4a013a08e6fbbc152c5afdb06d7ba636
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
2017-08-02 19:42:49 +02:00
Gael Chamoulaud fc5bf6e315 Add new role for tripleo-validations
This patch allows us to run tripleo-validations tests through the
Mistral framework for newton release and above. It also allows us to run
negative tests for pre-introspections validations like:
- undercloud-ram
- undercloud-cpu
- undercloud-disk-space

The pre-deployment and post-deployment should be done and will be done through
different patches.

Change-Id: Iec07a18322252af2d484bc3f06a59dbd1b08f537
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
2017-07-24 07:59:00 +00:00