Skip to content

perf tests: Fix minor issues in blink layout tests runner#42346

Merged
jschwe merged 2 commits intoservo:mainfrom
jschwe:update_perf_script
Feb 5, 2026
Merged

perf tests: Fix minor issues in blink layout tests runner#42346
jschwe merged 2 commits intoservo:mainfrom
jschwe:update_perf_script

Conversation

@jschwe
Copy link
Copy Markdown
Member

@jschwe jschwe commented Feb 4, 2026

  • Catch MaxRetryError exception and retry, to avoid logging warnings. This was observed on macos and can happen during startup of servo.
  • Change the default port, since 7000 was reported by multiple people to cause "port in use" errors.

Testing: Manual testing

- Catch MaxRetryError exception and retry, to avoid logging
  warnings. This was observed on macos and can happen during startup of
  servo.
- Change the default port, since 7000 was reported by multiple people to
  cause "port in use" errors.

Signed-off-by: Jonathan Schwender <[email protected]>
@servo-highfive servo-highfive added the S-awaiting-review There is new code that needs to be reviewed. label Feb 4, 2026
@jschwe jschwe changed the title layout tests: Fix minor issues perf tests: Fix minor issues in blink layout tests runner Feb 4, 2026
try:
driver = webdriver.Remote(command_executor=f"http://127.0.0.1:{webdriver_port}", options=options)
except (ConnectionError, ProtocolError):
except (ConnectionError, ProtocolError, MaxRetryError):
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we catch the MaxRetryError won't this loop infinitely in the case of failure?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, we have a while loop around this that measures time.

Signed-off-by: Jonathan Schwender <[email protected]>
@servo-highfive servo-highfive removed the S-awaiting-review There is new code that needs to be reviewed. label Feb 4, 2026
@jschwe jschwe added this pull request to the merge queue Feb 5, 2026
@servo-highfive servo-highfive added the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Feb 5, 2026
Merged via the queue into servo:main with commit 22ead03 Feb 5, 2026
29 checks passed
@jschwe jschwe deleted the update_perf_script branch February 5, 2026 04:46
@servo-highfive servo-highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Feb 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants