Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

resctl-bench: upload: Improve debugging when submission fails #321

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Commits on Jul 25, 2024

  1. resctl-bench: upload: Fix spelling of successfully

    Simple spelling fix.
    
    Signed-off-by: Christopher Obbard <[email protected]>
    obbardc committed Jul 25, 2024
    Configuration menu
    Copy the full SHA
    c40134d View commit details
    Browse the repository at this point in the history
  2. resctl-bench: upload: Canonicalize result path

    Currently the upload function will only work if the result to upload is
    found in the local directory. Canonicalize the result path so that we may
    find the result file anywhere on the filesystem.
    
    Signed-off-by: Christopher Obbard <[email protected]>
    obbardc committed Jul 25, 2024
    Configuration menu
    Copy the full SHA
    fd9a731 View commit details
    Browse the repository at this point in the history
  3. resctl-bench: upload: Improve debugging when submission failed

    Currently we don't print a lot when the submission fails. Change the error
    message to be something a little more sensible as well as print the whole
    HTTP response text on an error for additional debugging context.
    
    Signed-off-by: Christopher Obbard <[email protected]>
    obbardc committed Jul 25, 2024
    Configuration menu
    Copy the full SHA
    f879e81 View commit details
    Browse the repository at this point in the history
  4. resctl-bench: upload: Check HTTP status code

    Check if the HTTP status code from the Lambda function is 200 OK. If not,
    print the whole response for additional debugging.
    
    Signed-off-by: Christopher Obbard <[email protected]>
    obbardc committed Jul 25, 2024
    Configuration menu
    Copy the full SHA
    514ce13 View commit details
    Browse the repository at this point in the history