-
Notifications
You must be signed in to change notification settings - Fork 523
capture sauce connect debug logging in drone ui tests #69366
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
Open
davidsbailey
wants to merge
27
commits into
staging
Choose a base branch
from
extend-sc-tunnel-timeout
base: staging
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+15
−1
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Background
The impetus for this PR was to diagnose the following failure mode in drone ui tests: https://drone.cdn-code.org/code-dot-org/code-dot-org/43686/2/5
many of the failures appear to have the same error message. here is one example: https://cucumber-logs.s3.amazonaws.com/circle/43686/Chrome_teacher_tools_authored_hints_output.html?versionId=qnbT33Vi_4tqllxkH1KPF82jCo8fBB3P
My hypothesis was that some saucelabs timeout was being exceeded and the tunnel was closing, due to the
--first-run-localflag introducing a long delay between when the tunnel was set up and the firs time we tried to access it. I was unable to confirm this, so instead I'm resorting to turning on some debug logging in hopes of getting some more clues the next time this comes up.docs: https://docs.saucelabs.com/dev/cli/sauce-connect-5/run/
Description
Done in this PR:
infoTesting story
Follow-up work
--log-http proxy:error. On a test run with many failures, this produced about 20K lines of logging: https://drone.cdn-code.org/code-dot-org/code-dot-org/43795/2/5 . If the original problem recurs and the logging added in this PR doesn't turn up anything useful, we could consider turning on this http logging again, possibly grepping it to get just the url and status code: