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/06/15 12:40] – 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 ??? | ||
Line 13: | Line 60: | ||
Looks like SSH client is not installed in Job image (install '' | Looks like SSH client is not installed in Job image (install '' | ||
- | Workaround: use relative submodules as described in [[https://docs.gitlab.com/ | + | **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:// | ||
- | ===== fatal: unsafe repository ===== | + | Ubuntu helper flavour contains ssh client: |
+ | <code bash> | ||
+ | docker run --rm -it gitlab/ | ||
+ | docker run --rm -it gitlab/ | ||
+ | </ | ||
- | Error: | ||
- | <code>fatal: detected dubious ownership in repository at</code> | + | **Solution**: |
+ | <file toml config.toml> | ||
+ | [runners.docker] | ||
+ | helper_image = " | ||
+ | helper_image_flavor = " | ||
+ | </file> | ||
- | < | + | **Workaround 1:** use relative submodules as described in [[https://docs.gitlab.com/ee/ci/git_submodules.html# |
- | fatal: unsafe repository ('/builds/rPrca3qv/0/group/project' | + | |
- | To add an exception for this directory, call: | + | |
- | git config | + | |
- | </ | + | |
- | + | ||
- | Workaround: | + | |
- | <code bash> | + | **Workaround 2:** [[https:// |
- | git config | + | |
- | </ | + | |
- | [[https:// | ||
===== CAfile: none ===== | ===== CAfile: none ===== |