meta data for this page
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
git:gitlab:ci:issues [2023/04/26 14:18] – niziak | git:gitlab:ci:issues [2025/03/12 09:07] (current) – niziak | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== CI Issues ====== | ====== CI Issues ====== | ||
+ | |||
+ | ===== Connection closed by remote host ===== | ||
+ | |||
+ | On 22 CPU machine, when Buildroot is in parallel download mode ('' | ||
+ | |||
+ | < | ||
+ | kex_exchange_identification: | ||
+ | Connection closed by 192.168.64.240 port 22 | ||
+ | </ | ||
+ | |||
+ | In Gitlab server logs: | ||
+ | < | ||
+ | gitlab sshd[1800758]: | ||
+ | gitlab sshd[1800758]: | ||
+ | </ | ||
+ | |||
+ | Solution: [[https:// | ||
+ | |||
+ | |||
+ | ===== remote: You are not allowed to download code from this project. ===== | ||
+ | |||
+ | < | ||
+ | Cloning into '/ | ||
+ | remote: You are not allowed to download code from this project. | ||
+ | fatal: unable to access ' | ||
+ | fatal: clone of ' | ||
+ | </ | ||
+ | |||
+ | Reason: | ||
+ | [[https:// | ||
+ | |||
+ | More: | ||
+ | [[https:// | ||
+ | |||
+ | Solution: | ||
+ | * Go to '' | ||
+ | * Settings --> CI/CD --> Token Access | ||
+ | |||
+ | ===== fatal: No names found, cannot describe anything ===== | ||
+ | |||
+ | < | ||
+ | |||
+ | When '' | ||
+ | |||
+ | Possible reasons of failure: | ||
+ | * shallow clone, to unshallow run '' | ||
+ | * gitlab ??? | ||
+ | |||
+ | |||
+ | ===== cannot run ssh ===== | ||
+ | < | ||
+ | Synchronizing submodule url for ' | ||
+ | Cloning into ' | ||
+ | error: cannot run ssh: No such file or directory | ||
+ | fatal: unable to fork | ||
+ | fatal: clone of ' | ||
+ | </ | ||
+ | |||
+ | Looks like SSH client is not installed in Job image (install '' | ||
+ | |||
+ | **Reason:** During clone operation Gitlab Runner is using small helper (around 66MB) image where ssh client is not installed: | ||
+ | <code bash> | ||
+ | docker run --rm -it registry.gitlab.com/ | ||
+ | </ | ||
+ | |||
+ | It is possible to chose flavour of helper image: [[https:// | ||
+ | |||
+ | Images source: [[https:// | ||
+ | |||
+ | Ubuntu helper flavour contains ssh client: | ||
+ | <code bash> | ||
+ | docker run --rm -it gitlab/ | ||
+ | docker run --rm -it gitlab/ | ||
+ | </ | ||
+ | |||
+ | |||
+ | **Solution**: | ||
+ | <file toml config.toml> | ||
+ | [runners.docker] | ||
+ | helper_image = " | ||
+ | helper_image_flavor = " | ||
+ | </ | ||
+ | |||
+ | **Workaround 1:** use relative submodules as described in [[https:// | ||
+ | |||
+ | **Workaround 2:** [[https:// | ||
+ | |||
===== CAfile: none ===== | ===== CAfile: none ===== |