bpo-36511 add arm32 buildbot diagnostic messages by paulmon · Pull Request #14251 · python/cpython

I'm trying figure out why ssh.exe doesn't work on Windows when the buildbot worker is running.

The path includes C:\WINDOWS\System32\OpenSSH\ and the location of ssh.exe on my machine is C:\WINDOWS\System32\OpenSSH\ssh.exe

Previously the script had ssh.exe expecting to find it on the path. But at runtime there was this error message: 'ssh' is not recognized as an internal or external command

So I tried adding if "%SSH%"=="" if EXIST %WINDIR%\System32\OpenSSH\ssh.exe (set SSH=%WINDIR%\System32\OpenSSH\ssh.exe) and calling %SSH% in the script

Now it echos SSH = meaning that the test for EXIST failed. From the same console window that I'm launching the worker from ssh.exe is on the path and works fine.

Any ideas? @zware @zooba

EDIT: Steve pointed out in the comments of #13454 that it might be 32-bit vs 64-bit issue. I had 32-bit python installed and ssh.exe appears to be 64-bit only. Trying to update the worker to python 64-bit

https://bugs.python.org/issue36511