It adds the ability to specify custom tripleo.overcloud_ssh_username
option to tobiko.conf file.
This is needed for some downstream jobs that use a custom ssh user
rather than default one (heat-admin).
Change-Id: I42a8e2d294bbe21f127150d45670be0a540b9e2f
After some given seconds of timeout test runner execution self-interrupt
to avoid hitting jobs timeout.
The problem is that when it occurs all remaining test cases that didn't started
yet are missing from the reports.
This changes things by marking such test cases as skipped, so that we
can see it from test results.
Change-Id: Idd0064812fc5a2da295712914c4531bdef466c24
Tobiko IR tasks failed on some downstream environments when the
undercloud hostname was not undercloud-0
When this happens, the tobiko IR command can be executed with
--undercloud-host or --underclout-ssh-host options
RHOSENTDFG-1695
Change-Id: Ife055b62682044bdc446e6447ef9da562fe4bb73
Co-Author: Eduardo Olivares Toledo <eolivare@redhat.com>
This is due to a missing package and some poor static vars
which I remove here..
EROROR messages:
ERROR! the role 'haproxy' was not found in /home/stack/tripleo-validations/playbooks/roles:/home/stack/.ansible/roles:/var/log/validations/artifacts/c658cc41-926c-42a1-8933-ad37da38aa4d_haproxy.yaml_2020-07-03T22:/var/log/validations/artifacts/c658cc41-926c-42a1-8933-ad37da38aa4d_haproxy.yaml_2020-07-03T22:55:33.205590Z/runner_di_bi277gxt/55:/var/log/validations/artifacts/c658cc41-926c-42a1-8933-ad37da38aa4d_haproxy.yaml_2020-07-03T22:55:33.205590Z/runner_di_bi277gxt/33.205590Z/roles:/home/stack/tobiko/roles:/usr/share/ansible/roles:/usr/share/ceph-ansible/roles:/etc/ansible/roles:/usr/share/validations-common/roles:/home/stack/tripleo-validations/playbooks
The error appears to be in '/home/stack/tripleo-validations/playbooks/haproxy.yaml': line 17, column 7, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
roles:
- haproxy
^ here
Change-Id: Ib4879a848da7022723566b3ecb4422640d8a8268
- This adds the v>=1.0 dependency of tripleo validations-lib (py library)
and the validations lib ansible checks as master
- We are adding the post-deployment group to the overcloud checks
- For now the checks will be passive - won't fail the test but report
failures if the are found
Change-Id: I8f768219fb52c64616f155583b77d6948b54abee
- Dockerfile file is intended for running test cases
without using tox
- infrared_plugin/Dockerfile file is intended to run
Tobiko IR plugin
- docker-compose file is intended to emulate the tox
experience by using docker
All images are build staring from official CentOS 8
image.
Change-Id: I2f57f6e1c9c6161cef9448d25027d784ebd37e2c
This is required for test execution not to fail because of the plugin
doesn't perform checkout from git
Change-Id: I57a327e1888c6910a76eda9257cd47a774f225ba
- create plugin roles folder with tasks required
only by the plugin
- remove unused roles from tobiko roles folder
- link tobiko roles one by one to plugin roles folder
Change-Id: If74642f04b451cffc61c55560cd5004db14475ae
Tox venv commands are expected to return a code that indicates
test cases final outcome:
- 0 => any test vase has failed
- 1 => some test case has failed
- not in [0, 1] => any other error
This change handles the special case when some test cases have
failed. In any of below cases:
- JENKINS_URL environment variable is defined on controller node
- --ignore-test-failure flag is passed to IR plugin
then the plugin runs without treating it as an error.
This has been introduced because when running the plugin from
a Jenkins slave host, Jenkins itself is expected to check test
case have failed looking at produced Junit XML artifacts.
Change-Id: Ia7d7f736ae18a7561dced2271228d86ca658e892
test_host fact got from localhost has to be get
from hostvars when outside from a play because no
host is being considered for it.
Change-Id: I1902837ae10c8c5fb3010923ddafc9f03712d05c