[OSTF]Need to add retries on each tests method
Bug #1360321 reported by
Tatyanka
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Opinion
|
High
|
Artem Roma |
Bug Description
We have workaround for Oslo-messaging, when it faced with AMQP server on 10.108.20.5:5673 is unreachable: [Errno 111] ECONNREFUSED. Trying again in 1 seconds.
it retries to connect after 1-3 seconds several times, but when ostf running, some of test method can invoke openstack exactly in time when oslo-messaging trying to re-connect. As result we can false-negative ostf tests statuses like this one:
As soon as env was reverted - I run tests again and it is passed
Changed in fuel: | |
status: | New → Opinion |
tags: | added: release-notes |
To post a comment you must log in.
Tanya, what exactly those test methods are? If it's access to OpenStack REST API, and it fails due to ECONNREFUSED to RabbitMQ - then I would say that it is OpenStack issue: it should handle this exception, and hold users request to REST API instead of responding with error. It can retry to access RabbitMQ, so user will just wait a little bit longer - but will get successful response.