lichess-org / lila-docker

Lichess local development using Docker Compose.
GNU Affero General Public License v3.0
44 stars 44 forks source link

Devcontainer not working in remote #125

Open iib0011 opened 1 month ago

iib0011 commented 1 month ago

It works with docker in local but not with Gitpod. It stays stuck at this step.

In local the autocompletion is very slow takes more than 10 min. 100% CPU 4.5 Ghz, 86% Memory 32 Gb

[2784 ms] Dev Containers 0.384.0 over Remote - SSH 0.114.3 in VS Code 1.93.1 (38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40).
[2783 ms] Start: Loading environment from ExecServer
[2830 ms] Host OS: linux 6.1.91-060191-generic
[2830 ms] Host CWD: /workspace/lila-docker
[2830 ms] Start: Run: /bin/sh 
[3109 ms] Start: Run in host: echo ~
[3459 ms] /home/gitpod
[3459 ms] 
[3459 ms] Start: Run in host: id -un
[3600 ms] gitpod
[3601 ms] 
[3602 ms] Start: Run in host:  (command -v getent >/dev/null 2>&1 && getent passwd 'gitpod' || grep -E '^gitpod|^[^:]*:[^:]*:gitpod:' /etc/passwd || true)
[3669 ms] userEnvProbe: loginInteractiveShell (default)
[3669 ms] userEnvProbe: not found in cache
[3669 ms] userEnvProbe shell: /bin/bash
[4597 ms] userEnvProbe PATHs:
Probe:     '/home/gitpod/.nix-profile/bin:/home/gitpod/.local/bin:/home/gitpod/.sdkman/candidates/maven/current/bin:/home/gitpod/.sdkman/candidates/java/current/bin:/home/gitpod/.sdkman/candidates/gradle/current/bin:/workspace/.cargo/bin:/home/gitpod/.rvm/gems/ruby-3.2.5/bin:/home/gitpod/.rvm/gems/ruby-3.2.5@global/bin:/home/gitpod/.rvm/rubies/ruby-3.2.5/bin:/home/gitpod/.pyenv/shims:/workspace/go/bin:/home/gitpod/.nix-profile/bin:/ide/bin/remote-cli:/home/gitpod/go/bin:/home/gitpod/go-packages/bin:/home/gitpod/.nvm/versions/node/v20.17.0/bin:/home/gitpod/.yarn/bin:/home/gitpod/.pnpm:/home/gitpod/.pyenv/bin:/home/gitpod/.rvm/bin:/home/gitpod/.cargo/bin:/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin/:/home/gitpod/.local/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/gitpod/.nvm/versions/node/v20.17.0/bin:/home/gitpod/.rvm/bin'
Container: None
[13323 ms] Initializing configuration support...
[13323 ms] Internal initialization of dev container support package...
[41894 ms] Start: Loading environment from ExecServer
[41941 ms] Host OS: linux 6.1.91-060191-generic
[41941 ms] Host CWD: /workspace/lila-docker
[41941 ms] Start: Run: /bin/sh 
[42709 ms] Start: Run in host: echo ~
[42779 ms] /home/gitpod
[42780 ms] 
[42781 ms] Start: Run in host: id -un
[42866 ms] gitpod
[42866 ms] 
[42867 ms] Start: Run in host:  (command -v getent >/dev/null 2>&1 && getent passwd 'gitpod' || grep -E '^gitpod|^[^:]*:[^:]*:gitpod:' /etc/passwd || true)
[42939 ms] userEnvProbe: loginInteractiveShell (default)
[42939 ms] userEnvProbe: not found in cache
[42939 ms] userEnvProbe shell: /bin/bash
[43744 ms] userEnvProbe PATHs:
Probe:     '/home/gitpod/.nix-profile/bin:/home/gitpod/.local/bin:/home/gitpod/.sdkman/candidates/maven/current/bin:/home/gitpod/.sdkman/candidates/java/current/bin:/home/gitpod/.sdkman/candidates/gradle/current/bin:/workspace/.cargo/bin:/home/gitpod/.rvm/gems/ruby-3.2.5/bin:/home/gitpod/.rvm/gems/ruby-3.2.5@global/bin:/home/gitpod/.rvm/rubies/ruby-3.2.5/bin:/home/gitpod/.pyenv/shims:/workspace/go/bin:/home/gitpod/.nix-profile/bin:/ide/bin/remote-cli:/home/gitpod/go/bin:/home/gitpod/go-packages/bin:/home/gitpod/.nvm/versions/node/v20.17.0/bin:/home/gitpod/.yarn/bin:/home/gitpod/.pnpm:/home/gitpod/.pyenv/bin:/home/gitpod/.rvm/bin:/home/gitpod/.cargo/bin:/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin/:/home/gitpod/.local/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/gitpod/.nvm/versions/node/v20.17.0/bin:/home/gitpod/.rvm/bin'
Container: None
[44569 ms] Start: Run: docker version --format {{json .}}
[45237 ms] {"Client":{"Platform":{"Name":"Docker Engine - Community"},"Version":"24.0.9","ApiVersion":"1.43","DefaultAPIVersion":"1.43","GitCommit":"2936816","GoVersion":"go1.20.13","Os":"linux","Arch":"amd64","BuildTime":"Thu Feb  1 00:48:39 2024","Context":"default"},"Server":{"Platform":{"Name":"Docker Engine - Community"},"Components":[{"Name":"Engine","Version":"24.0.9","Details":{"ApiVersion":"1.43","Arch":"amd64","BuildTime":"Thu Feb  1 00:48:39 2024","Experimental":"false","GitCommit":"fca702d","GoVersion":"go1.20.13","KernelVersion":"6.1.91-060191-generic","MinAPIVersion":"1.12","Os":"linux"}},{"Name":"containerd","Version":"1.7.21","Details":{"GitCommit":"472731909fa34bd7bc9c087e4c27943f9835f111"}},{"Name":"gitpod","Version":"1.1.9","Details":{"GitCommit":"v1.1.9-0-gccaecfcb"}},{"Name":"docker-init","Version":"0.19.0","Details":{"GitCommit":"de40ad0"}}],"Version":"24.0.9","ApiVersion":"1.43","MinAPIVersion":"1.12","GitCommit":"fca702d","GoVersion":"go1.20.13","Os":"linux","Arch":"amd64","KernelVersion":"6.1.91-060191-generic","BuildTime":"2024-02-01T00:48:39.000000000+00:00"}}
[45430 ms] Running Dev Containers CLI:   read-configuration --workspace-folder /workspace/lila-docker --log-level debug --log-format json --config /workspace/lila-docker/.devcontainer/devcontainer.json --include-merged-configuration --mount-workspace-git-root
[45430 ms] Start: Checking for Dev Containers CLI
[45479 ms] Start: Copying Dev Containers CLI
[45775 ms] Start: Run: tar --no-same-owner -x -f -