Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-9238

improve post-qa squash api connection failure messages

    Details

    • Type: Story
    • Status: Won't Fix
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: QA
    • Labels:
      None

      Description

      I've stumbled across post-qa 1.2.0 returning a less than help error message when the http basic auth credentials are rejected:

      {('Connection broken: IncompleteRead(0 bytes read)', IncompleteRead(0 bytes read))
      

      An error message and/or http status code similar to what is printed upon success would be a major improvement. E.g.:

      POST https://jhoblitt-larry-squash.lsst.codes/dashboard/api/jobs/ status: 201
      

        Attachments

          Issue Links

            Activity

            Hide
            afausti Angelo Fausti added a comment -

            post-qa was replaced by lsst.verify

            The post method is more user-friendly now:

            https://github.com/lsst/verify/blob/master/python/lsst/verify/squash.py#L190

            Show
            afausti Angelo Fausti added a comment - post-qa was replaced by lsst.verify The post method is more user-friendly now: https://github.com/lsst/verify/blob/master/python/lsst/verify/squash.py#L190

              People

              • Assignee:
                afausti Angelo Fausti
                Reporter:
                jhoblitt Joshua Hoblitt
                Watchers:
                Angelo Fausti, Jonathan Sick, Joshua Hoblitt
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel