-
Task
-
Resolution: Done
-
Major
-
None
-
None
-
1
-
False
-
-
False
-
subs-swatch-lightning
-
-
-
Swatch Lightning Sprint 1
Data Router test report upload has been seen to fail for timeout sporadically.
About to execute droute command: /droute send --url=https://datarouter.ccitredhat.com --username=smqe-datarouter --password=***MASKED*** --metadata=datarouter.json --results=swatch-utilization/ct/target/surefire-reports/TEST*.xml Command completed with exit code: 2 Output length: 217 characters Output content: Remote: > <html><body><h1>504 Gateway Time-out</h1> > The server didn't respond in time. > </body></html> > Request: https://datarouter.ccitredhat.com/api/authenticate Failed to get auth methods: 504 Gateway Time-out Data Router send operation failed with exit code: 2
We want a retry mechanism (evaluate the kind of retry) in place to attenuate such conditions (status code 5xx in general).
Acceptance Criteria:
- On error, the test report upload with Data Router is retried until it succeed or the max retry is reached.