Skip to content

Conversation

@DavidSpickett
Copy link
Contributor

Fixes llvm/llvm-project#165336.

Our quick bots run on a shared server with many other bots. Some are assigned cores, others are not. It's a bit chaotic but generally it works out. In this case, lately it has not for clangd tests.

We could change the timeouts in clangd testing, but in theory the OS could stall a process for minutes. I don't want to make everyone else deal with that timeout just for our server.

Instead, disable clangd tests on these bots and rely on the other bots who also run the tests but do not have this flakiness.

For instance our single stage SVE bots and 2 stage Armv8 32-bit bot.

This increases the response time for a clangd failure to around 30 minutes for AArch64 and 3 hours for Arm 32-bit. The latter is not great but I've not so far seen a clangd failure that was 32-bit specific, so I'm ok with the risk.

Fixes llvm/llvm-project#165336.

Our quick bots run on a shared server with many other bots.
Some are assigned cores, others are not. It's a bit chaotic but
generally it works out. In this case, lately it has not for
clangd tests.

We could change the timeouts in clangd testing, but in theory
the OS could stall a process for minutes. I don't want to
make everyone else deal with that timeout just for our server.

Instead, disable clangd tests on these bots and rely on the other
bots who also run the tests but do not have this flakiness.

For instance our single stage SVE bots and 2 stage Armv8 32-bit
bot.

This increases the response time for a clangd failure to around
30 minutes for AArch64 and 3 hours for Arm 32-bit. The latter is
not great but I've not so far seen a clangd failure that was
32-bit specific, so I'm ok with the risk.
Copy link
Contributor

@antmox antmox left a comment

Choose a reason for hiding this comment

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

LGTM

@DavidSpickett DavidSpickett merged commit cb6fa57 into llvm:main Oct 30, 2025
4 checks passed
@DavidSpickett DavidSpickett deleted the arm-clangd branch October 30, 2025 15:38
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.

[clangd] flaky tests on clang-aarch64-quick buildbot

2 participants