-
-
Notifications
You must be signed in to change notification settings - Fork 14.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
nixos/tests/keymap: wait for xdotool to succeed #39473
Conversation
xdotool failed in rare cases when a window was already created but not yet decorated by the window manager. also prevent a (never observed but possible) race condition
@GrahamcOfBorg test keymap.dvorak |
@xeji Please PR adding yourself to this list: 😄 https://github.com/NixOS/ofborg/blob/released/config.public.json |
@GrahamcOfBorg test keymap.dvorak |
Oh sorry, I see you're already in known users. I didn't see the eval start on the monitor. :-) |
Failure on aarch64-linux (full log) Attempted: tests.keymap.dvorak Partial log (click to expand)
|
Looks unrelated. Are the tests supposed to work on aarch64 now? I've never seen one succeed. |
No, I think that failure is fine. |
Failure on aarch64-linux (full log) Attempted: tests.keymap.dvorak Partial log (click to expand)
|
ofborg dashboard says x86_64-linux builder is stalled, this may take a while or time out. |
I built it locally just fine. How about I merge it to master and we track its progress on Hydra, reopen the ticket and track it for merging to release once we have confidence? |
Success on x86_64-linux (full log) Attempted: tests.keymap.dvorak Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: tests.keymap.dvorak Partial log (click to expand)
|
Motivation for this change
After merging #39400 we hit another non-deterministic failure:
xdotool
could fail when a new window was already created but not yet decorated by the window manager (thanks @srhb for catching on to this).Fix this by waiting for
xdotool
to succeed. Also prevent a never observed but possible race condition elsewhere in the code.Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)