-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
Change argument handling in remote-test-server
and add new flags
#102193
Change argument handling in remote-test-server
and add new flags
#102193
Conversation
Moving this to draft as I need to also update the in-tree places where we call |
There doesn't seem to be anything in our repository using those flags from a cursory glance. |
@bors r+ rollup=iffy |
☀️ Test successful - checks-actions |
Finished benchmarking commit (b34cff1): comparison URL. Overall result: no relevant changes - no action needed@rustbot label: -perf-regression Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesThis benchmark run did not return any relevant results for this metric. Footnotes |
…ovements, r=Mark-Simulacrum Change argument handling in `remote-test-server` and add new flags This PR updates `remote-test-server` to add two new flags: * `--sequential` disables parallel test execution, accepting one connection at the time instead. We need this for Ferrocene as one of our emulators occasionally deadlocks when running multiple tests in parallel. * `--bind <ip:port>` allows customizing the IP and port `remote-test-server` binds to, rather than using the default value. While I was changing the flags, and [after chatting on what to do on Zulip](https://rust-lang.zulipchat.com/#narrow/stream/326414-t-infra.2Fbootstrap/topic/remote-test-server.20flags), I took this opportunity to cleanup argument handling in `remote-test-server`, which is a breaking change: * The `verbose` argument has been renamed to the `--verbose` flag. * The `remote` argument has been removed in favor of the `--bind 0.0.0.0:12345` flag. The only thing the argument did was to change the bound IP to 0.0.0.0, which can easily be replicated with `--bind` and also is not secure as our "remote" default. I'm also open to keep the old arguments with deprecation warnings. r? `@Mark-Simulacrum`
This PR updates
remote-test-server
to add two new flags:--sequential
disables parallel test execution, accepting one connection at the time instead. We need this for Ferrocene as one of our emulators occasionally deadlocks when running multiple tests in parallel.--bind <ip:port>
allows customizing the IP and portremote-test-server
binds to, rather than using the default value.While I was changing the flags, and after chatting on what to do on Zulip, I took this opportunity to cleanup argument handling in
remote-test-server
, which is a breaking change:verbose
argument has been renamed to the--verbose
flag.remote
argument has been removed in favor of the--bind 0.0.0.0:12345
flag. The only thing the argument did was to change the bound IP to 0.0.0.0, which can easily be replicated with--bind
and also is not secure as our "remote" default.I'm also open to keep the old arguments with deprecation warnings.
r? @Mark-Simulacrum