fix(runner): emit ssh session timeout marker
Some checks failed
CD Pipeline / workflow-shape (push) Successful in 0s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / tests (push) Successful in 33s
CD Pipeline / build-and-deploy (push) Failing after 27s
CD Pipeline / post-deploy-checks (push) Has been skipped
Some checks failed
CD Pipeline / workflow-shape (push) Successful in 0s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / tests (push) Successful in 33s
CD Pipeline / build-and-deploy (push) Failing after 27s
CD Pipeline / post-deploy-checks (push) Has been skipped
This commit is contained in:
@@ -131,7 +131,15 @@ jobs:
|
||||
else
|
||||
echo "harbor_110_remote_ssh_publickey_offered=false"
|
||||
fi
|
||||
if printf '%s\n' "${diag_output}" | grep -q "we sent a publickey packet, wait for reply" \
|
||||
if printf '%s\n' "${diag_output}" | grep -q "Server accepts key" \
|
||||
&& printf '%s\n' "${diag_output}" | grep -Eq "timed out|Timeout, server"; then
|
||||
echo "harbor_110_remote_ssh_server_accepts_key_then_session_timeout=true"
|
||||
echo "SSH_AUTH user=wooo mode=publickey rc=${diag_rc} classification=server_accepts_key_then_timeout"
|
||||
else
|
||||
echo "harbor_110_remote_ssh_server_accepts_key_then_session_timeout=false"
|
||||
fi
|
||||
if { printf '%s\n' "${diag_output}" | grep -q "we sent a publickey packet, wait for reply" \
|
||||
|| printf '%s\n' "${diag_output}" | grep -q "Server accepts key"; } \
|
||||
&& printf '%s\n' "${diag_output}" | grep -Eq "timed out|Timeout, server"; then
|
||||
echo "harbor_110_remote_ssh_publickey_reply_timeout_seen=true"
|
||||
echo "harbor_110_remote_ssh_publickey_auth_stalled=true"
|
||||
|
||||
Reference in New Issue
Block a user