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/05/23 20:23] – niziak | git:gitlab:ci:issues [2025/03/12 09:07] (current) – niziak | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== CI Issues ====== | ====== CI Issues ====== | ||
- | ===== fatal: unsafe repository | + | ===== Connection closed by remote host ===== |
- | Error: | + | On 22 CPU machine, when Buildroot is in parallel download mode ('' |
- | < | + | < |
+ | kex_exchange_identification: Connection closed by remote host | ||
+ | Connection closed by 192.168.64.240 port 22 | ||
+ | </ | ||
+ | In Gitlab server logs: | ||
< | < | ||
- | fatal: unsafe repository ('/ | + | gitlab sshd[1800758]: error: beginning MaxStartups throttling |
- | To add an exception for this directory, call: | + | gitlab sshd[1800758]: |
- | git config --global --add safe.directory / | + | |
</ | </ | ||
- | Workaround: | + | 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> | <code bash> | ||
- | git config | + | docker run --rm -it registry.gitlab.com/ |
</ | </ | ||
- | [[https:// | + | It is possible to chose flavour of helper image: [[https:// |
+ | |||
+ | Images source: | ||
+ | |||
+ | 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 | ||
+ | |||
+ | **Workaround 2:** [[https:// | ||
===== CAfile: none ===== | ===== CAfile: none ===== |