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

Conversation

obbardc
Copy link
Contributor

@obbardc obbardc commented Jul 25, 2024

No description provided.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jul 25, 2024
Simple spelling fix.

Signed-off-by: Christopher Obbard <[email protected]>
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 obbardc force-pushed the wip/obbardc/bench-upload-fixes branch from 5e36e56 to 7da4c23 Compare July 25, 2024 14:28
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]>
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 obbardc force-pushed the wip/obbardc/bench-upload-fixes branch from 7da4c23 to 514ce13 Compare July 25, 2024 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants