mitogen-hq / mitogen

Distributed self-replicating programs in Python
https://mitogen.networkgenomics.com/
BSD 3-Clause "New" or "Revised" License
2.35k stars 199 forks source link

CI: sshd: "Received disconnect from ::1 port 22:2: Too many authentication failures" #1186

Open moreati opened 2 weeks ago

moreati commented 2 weeks ago

Seen on macOS 13 (Van_313_10, py313-mode_localhost-ansible10-strategy_linear) job https://github.com/mitogen-hq/mitogen/actions/runs/11700584431/job/32586284545?pr=1184

PLAY [integration/ssh/templated_by_inv.yml] ************************************

TASK [meta _raw_params=reset_connection] ***************************************
Wednesday 06 November 2024  09:54:28 +0000 (0:00:00.011)       0:04:56.538 **** 

TASK [meta _raw_params=reset_connection] ***************************************
Wednesday 06 November 2024  09:54:28 +0000 (0:00:00.054)       0:04:56.592 **** 

TASK [meta _raw_params=reset_connection] ***************************************
Wednesday 06 November 2024  09:54:28 +0000 (0:00:00.059)       0:04:56.652 **** 

TASK [meta _raw_params=reset_connection] ***************************************
Wednesday 06 November 2024  09:54:28 +0000 (0:00:00.111)       0:04:56.764 **** 

TASK [meta _raw_params=reset_connection] ***************************************
Wednesday 06 November 2024  09:54:28 +0000 (0:00:00.030)       0:04:56.795 **** 

TASK [meta _raw_params=reset_connection] ***************************************
Wednesday 06 November 2024  09:54:28 +0000 (0:00:00.029)       0:04:56.824 **** 

TASK [Templated variables in inventory ] ***************************************
Wednesday 06 November 2024  09:54:28 +0000 (0:00:00.014)       0:04:56.839 **** 
[WARNING]: Platform darwin on host tt-password is using the discovered Python
interpreter at /usr/bin/python3, but future installation of another Python
interpreter could change the meaning of that path. See
https://docs.ansible.com/ansible-
core/2.17/reference_appendices/interpreter_discovery.html for more information.
[WARNING]: Platform darwin on host tt-host-key-checking is using the discovered
Python interpreter at /usr/bin/python3, but future installation of another
Python interpreter could change the meaning of that path. See
https://docs.ansible.com/ansible-
core/2.17/reference_appendices/interpreter_discovery.html for more information.
[WARNING]: Platform darwin on host tt-port is using the discovered Python
interpreter at /usr/bin/python3, but future installation of another Python
interpreter could change the meaning of that path. See
https://docs.ansible.com/ansible-
core/2.17/reference_appendices/interpreter_discovery.html for more information.
[WARNING]: Platform darwin on host tt-ssh-executable is using the discovered
Python interpreter at /usr/bin/python3, but future installation of another
Python interpreter could change the meaning of that path. See
https://docs.ansible.com/ansible-
core/2.17/reference_appendices/interpreter_discovery.html for more information.
[WARNING]: Platform darwin on host tt-private-key-file is using the discovered
Python interpreter at /usr/bin/python3, but future installation of another
Python interpreter could change the meaning of that path. See
https://docs.ansible.com/ansible-
core/2.17/reference_appendices/interpreter_discovery.html for more information.
fatal: [tt-remote-user]: UNREACHABLE! => changed=false 
  msg: |-
    Failed to connect to the host via ssh: Warning: Permanently added 'localhost' (ED25519) to the list of known hosts.
    Permission denied, please try again.
    Received disconnect from ::1 port 22:2: Too many authentication failures
    Disconnected from ::1 port 22
  unreachable: true
ok: [tt-password]
ok: [tt-host-key-checking]
ok: [tt-port]
ok: [tt-ssh-executable]
ok: [tt-private-key-file]

PLAY [integration/ssh/templated_by_play_keyword.yml] ***************************

refs #1133, #1184

moreati commented 2 weeks ago

Use community.general.launchd, once https://github.com/ansible-collections/community.general/pull/9102 is merged/released