Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CICD in WindowServer Error 모음 및 해결과정 #5

Closed
SAgiKPJH opened this issue Mar 13, 2024 · 5 comments
Closed

CICD in WindowServer Error 모음 및 해결과정 #5

SAgiKPJH opened this issue Mar 13, 2024 · 5 comments
Assignees

Comments

@SAgiKPJH
Copy link
Contributor

  • CICD in WindowServer Error 모음 및 해결과정 정리
@SAgiKPJH SAgiKPJH self-assigned this Mar 13, 2024
@SAgiKPJH
Copy link
Contributor Author

SAgiKPJH commented Mar 13, 2024

Error

image

Running with gitlab-runner 16.9.1 (782c6ecb) on 박주형(192.168.100.185) rAznDbgq, system ID: s_6429108e418

Preparing the "docker-windows" executor

ERROR: Failed to remove network for build
ERROR: Job failed: invalid volume specification: "c:\\cache"

해결방법

@SAgiKPJH
Copy link
Contributor Author

SAgiKPJH commented Mar 13, 2024

Error

image

error: could not lock config file C:\GitLab-Runner\builds\SsajZJLk\0\mirero\project\daq\6.0\recipe-creator\recipe-creator.tmp\git-template\config: No such file or directory
ERROR: Job failed: exit status 255

또는

error: could not lock config file, No such file or directory
ERROR: Job failed: exit status 255

해결 방법

  • git runner Register 할 때 다음과 같이 powershell -> pwsh(관리자 powershell)로 변경합니다.
    • --executor "shell" --shell "powershell" -> -executor "shell" --shell "pwsh"

@SAgiKPJH
Copy link
Contributor Author

SAgiKPJH commented Mar 13, 2024

Error - 문자열 길이가 너무 길어 발생한 문제

image

hint: Setting `core.longPaths` may allow the deletion to succeed.
hint: Disable this message with "git config advice.nameTooLong false"
ERROR: Job failed: exit status 1

해결방법

  • core.longpaths 설정을 활성화하면 Git에서 긴 파일 경로를 처리할 수 있게 됩니다.
git config --system core.longpaths true

@SAgiKPJH
Copy link
Contributor Author

SAgiKPJH commented Mar 13, 2024

Error

image

fatal: bad boolean config value 'true~' for 'core.longpaths'
warning: die() called many times. Recursion error or racy threaded death!
fatal: bad boolean config value 'true~' for 'core.longpaths'
ERROR: Job failed: exit status 1

해결방법

  • gitconfig 파일 내 true~키워드를 true로 변경합니다.
  • 이는 truetrue~로 잘 못 기입해서 발생한 문제입니다.
  • 이후 반드시 gitconfig.lock 파일을 제거합니다.

@SAgiKPJH
Copy link
Contributor Author

Error

image

Preparing the "docker-windows" executor
ERROR: Failed to remove network for build
ERROR: Preparation failed: Cannot connect to the Docker daemon at npipe:////./pipe/docker_engine. Is the docker daemon running? (docker.go:933:6[4](http://wish.mirero.co.kr/mirero/project/daq/6.0/recipe-creator/recipe-creator/-/jobs/35051#L4)s)
Will be retried in 3s ...

해결방법

  • Docker 재시작합니다.
  • Docker가 실행중이지 않기 때문에 발생한 문제입니다.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant