-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[common] Correct definition of alternate host name #17873
Conversation
The value of the "alternate" host is completely at the discretion of the server operator (via the `alternate_hosts` configuration). It is not guaranteed to have any resemblance to the primary host name. Despite this, the shared `get-host-info.sub.js` file attempted to derive the alternate host name in terms of the primary host name. Replace that faulty derivation with the value which is present in the server configuration.
@Hexcles this patch failed Chrome's stability check. I'm trying to determine if it's due to the content of the change, the number of affected tests, a glitch in the infrastructure. The logs report
And finally
We don't have timestamps, but I think the runner was actually hanging here. That's because we only intermittently print memory information, so it's unlikely to have occurred during a normal test execution. Do you think we should just retry? |
...then again, if the runner was hanging for a significant length of time, then we'd expect to see a number of messages about memory availability. |
I think the task is most likely timing out because of too many tests affected, but there could an infra glitch that led to incomplete (unflushed?) logs. |
@Hexcles Further research supports the theory that the timeout is due to the number of tests being run, not the change itself (see below). Would you be up for admin-merging? Or would you like me to check something else, first? This second attempt timed out on a different test:
So this patch isn't causing a deterministic timeout. It may be exposing some flaky behavior, but I can't reproduce that locally. I've run the stability checker on each of the tests that were running when the previous two builds timed out:
That command produces the same result on
I opened a draft pull request with an inconsequential change to the same file, and the stability checks timed out in Chrome there, as well. |
I stumbled upon #15819 which seems like an easy fix (add one more field to the returned object). While we are at it, shall we fix that as well? |
Reading over that request, I have differing opinions about the technical implementation (I'd rather define that as |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah that's cool. I'll merge this now. Thanks!
Thank you! Following up on gh-15819 presently |
The value of the "alternate" host is completely at the discretion of the
server operator (via the
alternate_hosts
configuration). It is notguaranteed to have any resemblance to the primary host name. Despite
this, the shared
get-host-info.sub.js
file attempted to derive thealternate host name in terms of the primary host name.
Replace that faulty derivation with the value which is present in the
server configuration.