Uploaded image for project: 'Subscription Watch'
  1. Subscription Watch
  2. SWATCH-4041

Implement a retry for Data Router test report upload

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • Automation
    • 1
    • False
    • Hide

      None

      Show
      None
    • 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. 

              jcarvaja@redhat.com Jose Carvajal Hilario
              rh-ee-tlencion Tommaso Lencioni
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: