-
-
Notifications
You must be signed in to change notification settings - Fork 63
Open
Description
The failing workflow is:
- Fork kiwix-build
- Push a commit to your fork
- Observe most github action jobs are failing, see this failure example: https://github.com/adamlamar/kiwix-build/actions/runs/21456456316
To avoid the failure, we should skip the uploads to tmp.kiwix.org.
Example failure output:
--- Connect to tmp.kiwix.org:30022 ---
/home/runner/.local/lib/python3.10/site-packages/paramiko/client.py:885: UserWarning: Unknown ssh-ed25519 host key for [tmp.kiwix.org]:30022: b'40a99d946e07645ecde210836c2ba25c'
warnings.warn(
Traceback (most recent call last):
File "/home/runner/kiwix-build/.github/scripts/upload_failure_logs.py", line 18, in <module>
upload(ARCHIVE_NAME, "ci@tmp.kiwix.org:30022", "/data/tmp/ci")
File "/home/runner/kiwix-build/.github/scripts/common.py", line 292, in upload
with get_sftp() as sftp:
File "/usr/lib/python3.10/contextlib.py", line 135, in __enter__
return next(self.gen)
File "/home/runner/kiwix-build/.github/scripts/common.py", line 282, in get_sftp
with get_client() as client:
File "/usr/lib/python3.10/contextlib.py", line 135, in __enter__
return next(self.gen)
File "/home/runner/kiwix-build/.github/scripts/common.py", line 267, in get_client
client.connect(
File "/home/runner/.local/lib/python3.10/site-packages/paramiko/client.py", line 483, in connect
self._auth(
File "/home/runner/.local/lib/python3.10/site-packages/paramiko/client.py", line 814, in _auth
raise saved_exception
File "/home/runner/.local/lib/python3.10/site-packages/paramiko/client.py", line 727, in _auth
key = self._key_from_filepath(
File "/home/runner/.local/lib/python3.10/site-packages/paramiko/client.py", line 636, in _key_from_filepath
key = klass.from_private_key_file(key_path, password)
File "/home/runner/.local/lib/python3.10/site-packages/paramiko/pkey.py", line 431, in from_private_key_file
key = cls(filename=filename, ***
File "/home/runner/.local/lib/python3.10/site-packages/paramiko/ed25519key.py", line 60, in __init__
pkformat, data = self._read_private_key("OPENSSH", f)
File "/home/runner/.local/lib/python3.10/site-packages/paramiko/pkey.py", line 525, in _read_private_key
raise SSHException("not a valid {} private key file".format(tag))
paramiko.ssh_exception.SSHException: not a valid OPENSSH private key file
Error: Process completed with exit code 1.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels