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:
xdotoolcould 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
xdotoolto succeed. Also prevent a never observed but possible race condition elsewhere in the code.Things done
build-use-sandboxinnix.confon non-NixOS)nix-shell -p nox --run "nox-review wip"./result/bin/)