xiaobiaozhao opened a new issue, #3159:
URL: https://github.com/apache/kvrocks/issues/3159

   ### Search before asking
   
   - [x] I had searched in the 
[issues](https://github.com/apache/kvrocks/issues) and found no similar issues.
   
   
   ### Version
   
   env:
   ```
   cat /etc/os-release 
   PRETTY_NAME="Ubuntu 24.04.1 LTS"
   NAME="Ubuntu"
   VERSION_ID="24.04"
   VERSION="24.04.1 LTS (Noble Numbat)"
   VERSION_CODENAME=noble
   ID=ubuntu
   ID_LIKE=debian
   HOME_URL="https://www.ubuntu.com/";
   SUPPORT_URL="https://help.ubuntu.com/";
   BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/";
   
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy";
   UBUNTU_CODENAME=noble
   LOGO=ubuntu-logo
   ```
   I got the following error when using devcontainer in this ubuntu environment.
   ```
   [219 ms] Dev Containers 0.422.1 over Remote - SSH 0.120.0 in VS Code 1.103.2 
(6f17636121051a53c88d3e605c491d22af2ba755).
   [219 ms] Start: Resolving Remote
   [224 ms] Start: Loading environment from ExecServer
   [228 ms] Host OS: linux 6.8.0-79-generic
   [228 ms] Host CWD: /home/xiaobiao/work/kvrocks
   [228 ms] Start: Run: /bin/sh 
   [234 ms] Start: Run in host: echo ~
   [278 ms] /home/xiaobiao
   [278 ms] 
   [278 ms] Start: Run in host: id -un
   [323 ms] xiaobiao
   [323 ms] 
   [323 ms] Start: Run in host:  (command -v getent >/dev/null 2>&1 && getent 
passwd 'xiaobiao' || grep -E '^xiaobiao|^[^:]*:[^:]*:xiaobiao:' /etc/passwd || 
true)
   [368 ms] userEnvProbe: loginInteractiveShell (default)
   [368 ms] userEnvProbe: not found in cache
   [368 ms] userEnvProbe shell: /bin/bash
   [699 ms] userEnvProbe PATHs:
   Probe:     
'/home/xiaobiao/.g/bin:/home/xiaobiao/.g/go/bin:/home/xiaobiao/go/bin:/home/xiaobiao/FP-depends/liquibase-3.8.6:/home/xiaobiao/FP-depends/apache-maven-3.6.0/bin:/home/xiaobiao/.g/bin:/home/xiaobiao/.g/go/bin:/home/xiaobiao/go/bin:/home/xiaobiao/.sdkman/candidates/java/current/bin:/home/xiaobiao/FP-depends/liquibase-3.8.6:/home/xiaobiao/FP-depends/apache-maven-3.6.0/bin:/home/xiaobiao/.nvm/versions/node/v16.13.2/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/xiaobiao/.bin:/usr/local/node-20.9/bin:/home/xiaobiao/.bin:/usr/local/node-20.9/bin'
   Container: None
   [708 ms] Setting up container for folder or workspace: 
/home/xiaobiao/work/kvrocks
   [708 ms] Host authority: ssh-remote+d
   [808 ms] Start: Check Docker is running
   [809 ms] Start: Run: docker version
   [861 ms] Client:
    Version:
   [861 ms]            27.5.1
    API version:       1.47
    Go version:        go1.22.2
    Git commit:        27.5.1-0ubuntu3~24.04.2
    Built:             Mon Jun  2 11:51:53 2025
    OS/Arch:           linux/amd64
    Context:           default
   
   Server:
    Engine:
   [862 ms]   Version:          27.5.1
     API version:      1.47 (minimum version 1.24)
     Go version:       go1.22.2
   [862 ms]   Git commit:       27.5.1-0ubuntu3~24.04.2
     Built:            Mon Jun  2 11:51:53 2025
     OS/Arch:          linux/amd64
   [862 ms] 
     Experimental:     false
    containerd:
   [862 ms]   Version:          1.7.24
     GitCommit:        
    runc:
   [863 ms]   Version:          1.1.12-0ubuntu3.1
     GitCommit:        
    docker-init:
   [863 ms]   Version:          0.19.0
     GitCommit:        
   [865 ms] Start: Run: docker volume ls -q
   [916 ms] Start: Run: docker ps -q -a --filter 
label=vsch.local.folder=/home/xiaobiao/work/kvrocks --filter 
label=vsch.quality=stable
   [972 ms] Start: Run: docker ps -q -a --filter 
label=devcontainer.local_folder=/home/xiaobiao/work/kvrocks --filter 
label=devcontainer.config_file=/home/xiaobiao/work/kvrocks/.devcontainer/devcontainer.json
   [1031 ms] Start: Run: docker ps -q -a --filter 
label=devcontainer.local_folder=/home/xiaobiao/work/kvrocks
   [1080 ms] Start: Run: docker ps -q -a --filter 
label=devcontainer.local_folder=/home/xiaobiao/work/kvrocks
   [1133 ms] Running Dev Containers CLI:   up --container-session-data-folder 
/tmp/devcontainers-ff960716-7379-41bd-a212-d5e49833bcb01756894217315 
--workspace-folder /home/xiaobiao/work/kvrocks --workspace-mount-consistency 
cached --gpu-availability detect --id-label 
devcontainer.local_folder=/home/xiaobiao/work/kvrocks --id-label 
devcontainer.config_file=/home/xiaobiao/work/kvrocks/.devcontainer/devcontainer.json
 --log-level debug --log-format json --config 
/home/xiaobiao/work/kvrocks/.devcontainer/devcontainer.json 
--default-user-env-probe loginInteractiveShell --mount 
type=volume,source=vscode,target=/vscode,external=true --skip-post-create 
--update-remote-user-uid-default on --mount-workspace-git-root 
--include-configuration --include-merged-configuration
   [1134 ms] Start: Checking for Dev Containers CLI
   [1145 ms] Start: Run: 
/home/xiaobiao/.vscode-server/cli/servers/Stable-6f17636121051a53c88d3e605c491d22af2ba755/server/node
 
/home/xiaobiao/.vscode-remote-containers/dist/dev-containers-cli-0.422.1/dist/spec-node/devContainersSpecCLI.js
 up --container-session-data-folder 
/tmp/devcontainers-ff960716-7379-41bd-a212-d5e49833bcb01756894217315 
--workspace-folder /home/xiaobiao/work/kvrocks --workspace-mount-consistency 
cached --gpu-availability detect --id-label 
devcontainer.local_folder=/home/xiaobiao/work/kvrocks --id-label 
devcontainer.config_file=/home/xiaobiao/work/kvrocks/.devcontainer/devcontainer.json
 --log-level debug --log-format json --config 
/home/xiaobiao/work/kvrocks/.devcontainer/devcontainer.json 
--default-user-env-probe loginInteractiveShell --mount 
type=volume,source=vscode,target=/vscode,external=true --skip-post-create 
--update-remote-user-uid-default on --mount-workspace-git-root 
--include-configuration --include-merged-configuration
   [1393 ms] @devcontainers/cli 0.79.0. Node.js v22.17.0. linux 
6.8.0-79-generic x64.
   [1393 ms] Start: Run: docker buildx version
   [1412 ms] 
   [1412 ms] docker: 'buildx' is not a docker command.
   See 'docker --help'
   
   [1412 ms] Exit code 1
   [1412 ms] Start: Run: docker -v
   [1431 ms] Start: Resolving Remote
   [1433 ms] Start: Run: git rev-parse --show-cdup
   [1458 ms] Failed to fetch control manifest: connect ECONNREFUSED 
192.168.0.21:1080
   [1458 ms] Start: Run: docker ps -q -a --filter 
label=devcontainer.local_folder=/home/xiaobiao/work/kvrocks --filter 
label=devcontainer.config_file=/home/xiaobiao/work/kvrocks/.devcontainer/devcontainer.json
   [1480 ms] Start: Run: docker inspect --type image ubuntu:noble
   [1505 ms] Start: Run: docker build -f 
/tmp/devcontainercli-xiaobiao/container-features/0.79.0-1756894219376/Dockerfile-with-features
 -t 
vsc-kvrocks-48e2a3862d168895018c540c281af52b7787d31e1c5eb86032a0a4951f4f9a96 
--target dev_containers_target_stage --build-arg 
_DEV_CONTAINERS_BASE_IMAGE=dev_container_auto_added_stage_label 
/home/xiaobiao/work/kvrocks/.devcontainer
   DEPRECATED: The legacy builder is deprecated and will be removed in a future 
release.
               Install the buildx component to build images with BuildKit:
               https://docs.docker.com/go/buildx/
   
   Sending build context to Docker daemon  4.655kB
   Step 1/5 : ARG _DEV_CONTAINERS_BASE_IMAGE=placeholder
   Step 2/5 : FROM ubuntu:noble AS dev_container_auto_added_stage_label
    ---> 802541663949
   Step 3/5 : RUN apt update     && apt install -y         git build-essential 
cmake libtool python3 libssl-dev python3-pip         wget curl clang-format-14 
clang-tidy-14 golang-go ninja-build         redis-tools vim python3-redis 
redis-server clang lld mold gdb fish
    ---> Using cache
    ---> db33f2ff3ac2
   Step 4/5 : RUN BUILD_DIR=$(pwd) && git clone https://github.com/jsha/minica 
/opt/minica     && cd /opt/minica && git checkout 
96a5c93723cf3d34b50b3e723a9f05cd3765bc67 && go build && cd $BUILD_DIR     && 
echo 'export PATH=/opt/minica:$PATH' >> $HOME/.bashrc
    ---> Running in c9cde715eb20
   Cloning into '/opt/minica'...
   fatal: unable to access 'https://github.com/jsha/minica/': Failed to connect 
to github.com port 443 after 134840 ms: Couldn't connect to server
   The command '/bin/sh -c BUILD_DIR=$(pwd) && git clone 
https://github.com/jsha/minica /opt/minica     && cd /opt/minica && git 
checkout 96a5c93723cf3d34b50b3e723a9f05cd3765bc67 && go build && cd $BUILD_DIR  
   && echo 'export PATH=/opt/minica:$PATH' >> $HOME/.bashrc' returned a 
non-zero code: 128
   [136538 ms] Error: Command failed: docker build -f 
/tmp/devcontainercli-xiaobiao/container-features/0.79.0-1756894219376/Dockerfile-with-features
 -t 
vsc-kvrocks-48e2a3862d168895018c540c281af52b7787d31e1c5eb86032a0a4951f4f9a96 
--target dev_containers_target_stage --build-arg 
_DEV_CONTAINERS_BASE_IMAGE=dev_container_auto_added_stage_label 
/home/xiaobiao/work/kvrocks/.devcontainer
   [136538 ms]     at y6 
(/home/xiaobiao/.vscode-remote-containers/dist/dev-containers-cli-0.422.1/dist/spec-node/devContainersSpecCLI.js:468:1933)
   [136539 ms]     at async pw 
(/home/xiaobiao/.vscode-remote-containers/dist/dev-containers-cli-0.422.1/dist/spec-node/devContainersSpecCLI.js:467:1886)
   [136539 ms]     at async ax 
(/home/xiaobiao/.vscode-remote-containers/dist/dev-containers-cli-0.422.1/dist/spec-node/devContainersSpecCLI.js:467:608)
   [136539 ms]     at async H6 
(/home/xiaobiao/.vscode-remote-containers/dist/dev-containers-cli-0.422.1/dist/spec-node/devContainersSpecCLI.js:484:3842)
   [136539 ms]     at async BC 
(/home/xiaobiao/.vscode-remote-containers/dist/dev-containers-cli-0.422.1/dist/spec-node/devContainersSpecCLI.js:484:4957)
   [136539 ms]     at async d7 
(/home/xiaobiao/.vscode-remote-containers/dist/dev-containers-cli-0.422.1/dist/spec-node/devContainersSpecCLI.js:665:202)
   [136540 ms]     at async f7 
(/home/xiaobiao/.vscode-remote-containers/dist/dev-containers-cli-0.422.1/dist/spec-node/devContainersSpecCLI.js:664:14804)
   [136540 ms]     at async 
/home/xiaobiao/.vscode-remote-containers/dist/dev-containers-cli-0.422.1/dist/spec-node/devContainersSpecCLI.js:484:1188
   [136541 ms] Exit code 1
   [136547 ms] Command failed: 
/home/xiaobiao/.vscode-server/cli/servers/Stable-6f17636121051a53c88d3e605c491d22af2ba755/server/node
 
/home/xiaobiao/.vscode-remote-containers/dist/dev-containers-cli-0.422.1/dist/spec-node/devContainersSpecCLI.js
 up --container-session-data-folder 
/tmp/devcontainers-ff960716-7379-41bd-a212-d5e49833bcb01756894217315 
--workspace-folder /home/xiaobiao/work/kvrocks --workspace-mount-consistency 
cached --gpu-availability detect --id-label 
devcontainer.local_folder=/home/xiaobiao/work/kvrocks --id-label 
devcontainer.config_file=/home/xiaobiao/work/kvrocks/.devcontainer/devcontainer.json
 --log-level debug --log-format json --config 
/home/xiaobiao/work/kvrocks/.devcontainer/devcontainer.json 
--default-user-env-probe loginInteractiveShell --mount 
type=volume,source=vscode,target=/vscode,external=true --skip-post-create 
--update-remote-user-uid-default on --mount-workspace-git-root 
--include-configuration --include-merged-configuration
   [136548 ms] Exit code 1
   ```
   
   ### Minimal reproduce step
   
   1. vscode ssh to remote ubuntu. 
   2. open kvrocks dir & open devcontainer.
   
   ### What did you expect to see?
   
   use devcontainer on ubuntu .
   
   ### What did you see instead?
   
   Look at title.
   
   ### Anything Else?
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] I'm willing to submit a PR!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to