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/07/05 13:51] – 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 ===== | ===== fatal: No names found, cannot describe anything ===== | ||
| Line 49: | Line 86: | ||
| **Workaround 2:** [[https:// | **Workaround 2:** [[https:// | ||
| - | |||
| - | |||
| - | ===== fatal: unsafe repository ===== | ||
| - | |||
| - | Error: | ||
| - | |||
| - | < | ||
| - | |||
| - | < | ||
| - | fatal: unsafe repository ('/ | ||
| - | To add an exception for this directory, call: | ||
| - | git config --global --add safe.directory / | ||
| - | </ | ||
| - | |||
| - | Workaround: | ||
| - | |||
| - | <code bash> | ||
| - | git config --global --add safe.directory ${CI_PROJECT_DIR} | ||
| - | </ | ||
| - | |||
| - | Workarounds: | ||
| - | * [[https:// | ||
| - | * [[https:// | ||
| - | |||
| - | |||
| - | **Best workaround: | ||
| - | [[https:// | ||
| - | |||
| - | < | ||
| - | [[runners]] | ||
| - | environment = [" | ||
| - | </ | ||
| - | |||
| - | or re-register runner with args: | ||
| - | <code bash> | ||
| - | gitlab-runner register \ | ||
| - | --env " | ||
| - | --env " | ||
| - | --env " | ||
| - | --env " | ||
| - | </ | ||