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

Remote Executor Not Respecting Test Timeout #16467

Closed
cjohnstoniv opened this issue Oct 13, 2022 · 3 comments
Closed

Remote Executor Not Respecting Test Timeout #16467

cjohnstoniv opened this issue Oct 13, 2022 · 3 comments
Labels
awaiting-user-response Awaiting a response from the author team-Remote-Exec Issues and PRs for the Execution (Remote) team type: bug untriaged

Comments

@cjohnstoniv
Copy link

Description of the bug:

When running Bazel (5.3.1, observed in previous versions as well) with a remote executor it seems that the "test timeout" functionality of Bazel isn't properly working.

When running with remote cache a test that takes greater than the allotted max time based on its size DOES take effect and these tests clearly fail with timeouts.

However when running with remote executor a test that takes longer than the timeout is not timing out at that point and continues to run for way longer.

What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.

Run any test with a remote executor that takes longer than the max allowed time.

Which operating system are you running Bazel on?

Mac,Windows,RH Linux (RHEL)

What is the output of bazel info release?

release 5.3.1

If bazel info release returns development version or (@non-git), tell us how you built Bazel.

No response

What's the output of git remote get-url origin; git rev-parse master; git rev-parse HEAD ?

No response

Have you found anything relevant by searching the web?

Tried searching, but was unable to find any existing cases mentioning this.

Any other information, logs, or outputs that you want to share?

No response

@ShreeM01 ShreeM01 added type: bug untriaged team-Remote-Exec Issues and PRs for the Execution (Remote) team labels Oct 13, 2022
@coeuvre
Copy link
Member

coeuvre commented Oct 14, 2022

Can you provide a minimal repro? might be duplicate of #12349.

@coeuvre coeuvre added the awaiting-user-response Awaiting a response from the author label Oct 14, 2022
@coeuvre
Copy link
Member

coeuvre commented Oct 18, 2022

Closing. Feel free to reopen it if you think it's not a duplicate.

@coeuvre coeuvre closed this as completed Oct 18, 2022
@celestialorb
Copy link

I'm experiencing this as well. When running a Bazel test with test_timeout specified and using a remote executor I'm seeing individual tests run way past the test_timeout specified for all tests in that run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-user-response Awaiting a response from the author team-Remote-Exec Issues and PRs for the Execution (Remote) team type: bug untriaged
Projects
None yet
Development

No branches or pull requests

4 participants