Skip to content

Instantly share code, notes, and snippets.

@MeirP-3
Created April 7, 2022 09:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MeirP-3/abbcb34b7ee7906c911f28fe59c15104 to your computer and use it in GitHub Desktop.
Save MeirP-3/abbcb34b7ee7906c911f28fe59c15104 to your computer and use it in GitHub Desktop.
Container log
[41 ms] Remote-Containers 0.231.4 in VS Code 1.66.0 (e18005f0f1b33c29e81d732535d8c0e47cafb0b5).
[40 ms] Start: Resolving Remote
[47 ms] Start: Run: kubectl exec -it my-dev-pod-86974569bc-f8l6g --context example --namespace example --container my-dev-pod -- /bin/sh -c VSCODE_REMOTE_CONTAINERS_SESSION='d9c76cba-f81e-488e-97ca-9e6ce5b543a21649321391744' /bin/sh
[52 ms] Start: Run in container: echo $PATH
[2348 ms] /go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[2349 ms] Unable to use a TTY - input is not a terminal or the right kind of file
[2349 ms] Start: Run in container: id -un
[2495 ms] root
[2495 ms]
[2496 ms] Start: Run in container: uname -m
[2642 ms] x86_64
[2642 ms]
[2643 ms] Start: Run in container: (cat /etc/os-release || cat /usr/lib/os-release) 2>/dev/null
[2788 ms] PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
[2788 ms]
[2789 ms] Start: Run in container: cat /etc/passwd
[2935 ms] Start: Run in container: test -d /root/.vscode-server
[3081 ms]
[3081 ms]
[3082 ms] Start: Run in container: test ! -f '/root/.vscode-server/data/Machine/.writeMachineSettingsMarker' && set -o noclobber && mkdir -p '/root/.vscode-server/data/Machine' && { > '/root/.vscode-server/data/Machine/.writeMachineSettingsMarker' ; } 2> /dev/null
[3227 ms]
[3227 ms]
[3227 ms] Exit code 1
[3228 ms] Start: Run in container: cat /root/.vscode-server/data/Machine/settings.json
[3373 ms]
[3374 ms] cat: /root/.vscode-server/data/Machine/settings.json: No such file or directory
[3374 ms] Exit code 1
[3375 ms] Start: Run in container: test -d /root/.vscode-server/bin/e18005f0f1b33c29e81d732535d8c0e47cafb0b5
[3519 ms]
[3520 ms]
[3521 ms] Start: Launching Remote-Containers helper.
[3522 ms] ssh-agent: SSH_AUTH_SOCK in container (/tmp/vscode-ssh-auth-53b80e5c2f0123251d884c2b80cb81303a4bb033.sock) forwarded to local host (/run/user/1001/keyring/ssh).
[3522 ms] Start: Run: gpgconf --list-dir agent-extra-socket
[3528 ms] /run/user/1001/gnupg/S.gpg-agent.extra
[3528 ms]
[3528 ms] Start: Run in container: gpgconf --list-dir agent-socket
[3675 ms] /root/.gnupg/S.gpg-agent
[3676 ms]
[3676 ms] Start: Run in container: gpgconf --list-dir homedir
[3821 ms] /root/.gnupg
[3822 ms]
[3822 ms] Start: Run in container: ls '/root/.gnupg/private-keys-v1.d' 2>/dev/null
[3968 ms]
[3968 ms]
[3968 ms] Exit code 2
[3969 ms] Start: Run in container: mkdir -p -m 700 '/root/.gnupg'
[3969 ms] Start: Run: kubectl exec -it my-dev-pod-86974569bc-f8l6g --context example --namespace example --container my-dev-pod -- /bin/sh
[3975 ms] userEnvProbe: loginInteractiveShell (default)
[3976 ms] userEnvProbe shell: /bin/bash
[3976 ms] Start: Run in container: cat <<'EOF-/tmp/vscode-remote-containers-53b80e5c2f0123251d884c2b80cb81303a4bb033.js' >/tmp/vscode-remote-containers-53b80e5c2f0123251d884c2b80cb81303a4bb033.js
[4114 ms]
[4114 ms]
[4114 ms] Start: Run in container: # Test for /root/.ssh/known_hosts and ssh
[4114 ms] Start: Run: gpgconf --list-dir homedir
[4120 ms] /home/my/.gnupg
[4120 ms]
[4258 ms] /root/.ssh/known_hosts exists
[4258 ms]
[4259 ms] Exit code 1
[4259 ms] Start: Run in container: gpgconf --list-dir homedir
[4404 ms] /root/.gnupg
[4405 ms]
[4405 ms] Start: Run in container: command -v git >/dev/null 2>&1 && git config --system --replace-all credential.helper '!f() { /root/.vscode-server/bin/e18005f0f1b33c29e81d732535d8c0e47cafb0b5/node /tmp/vscode-remote-containers-53b80e5c2f0123251d884c2b80cb81303a4bb033.js $*; }; f' || true
[4551 ms]
[4551 ms]
[4551 ms] Start: Run in container: # Test for /root/.gnupg/pubring.kbx and gpg
[4695 ms] /root/.gnupg/pubring.kbx exists
[4696 ms]
[4696 ms] Exit code 1
[4696 ms] Start: Run in container: for pid in `cd /proc && ls -d [0-9]*`; do { echo $pid ; readlink /proc/$pid/cwd ; readlink /proc/$pid/ns/mnt ; cat /proc/$pid/stat | tr "
[5417 ms] Start: Run in container: # Test for /root/.gnupg/trustdb.gpg and gpg
[5421 ms] Extension host agent is already running.
[5561 ms] /root/.gnupg/trustdb.gpg exists
[5561 ms]
[5561 ms] Exit code 1
[5562 ms] Start: Run in container: cat '/root/.vscode-server/data/Machine/.devport-e18005f0f1b33c29e81d732535d8c0e47cafb0b5' 2>/dev/null
[5562 ms] Start: Run: gpg-connect-agent updatestartuptty /bye
[5707 ms] 38585
[5707 ms]
[5708 ms] Port forwarding for container port 38585 starts listening on local port.
[5709 ms] Port forwarding local port 38585 to container port 38585
[5710 ms] Start: Run in container: # Test for /root/.gitconfig and git
[5855 ms] /root/.gitconfig exists
[5855 ms]
[5855 ms] Exit code 1
[5856 ms] Start: Run in container: command -v git >/dev/null 2>&1 && git config --global --replace-all credential.helper '!f() { /root/.vscode-server/bin/e18005f0f1b33c29e81d732535d8c0e47cafb0b5/node /tmp/vscode-remote-containers-53b80e5c2f0123251d884c2b80cb81303a4bb033.js $*; }; f' || true
[6002 ms]
[6002 ms]
[6274 ms]
[6274 ms] Unable to use a TTY - input is not a terminal or the right kind of file
[6275 ms] Start: Run in container: cat <<'EOF-/tmp/vscode-remote-containers-server-53b80e5c2f0123251d884c2b80cb81303a4bb033.js' >/tmp/vscode-remote-containers-server-53b80e5c2f0123251d884c2b80cb81303a4bb033.js_1649321398772
[6565 ms]
[6565 ms]
[7157 ms] userEnvProbe PATHs:
Probe: '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
Container: '/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
Merged: '/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
[7189 ms] Port forwarding connection from 48676 > 38585 > 38585 in the container.
[7190 ms] Start: Run: kubectl exec -it my-dev-pod-86974569bc-f8l6g --context example --namespace example --container my-dev-pod -- /bin/sh -c VSCODE_REMOTE_CONTAINERS_SESSION='d9c76cba-f81e-488e-97ca-9e6ce5b543a21649321391744' /root/.vscode-server/bin/e18005f0f1b33c29e81d732535d8c0e47cafb0b5/node '-e' '
[8293 ms] Port forwarding 48676 > 38585 > 38585 stderr: Unable to use a TTY - input is not a terminal or the right kind of file
[9450 ms] Port forwarding 48676 > 38585 > 38585 stderr: Connection established
[9510 ms] Port forwarding connection from 48678 > 38585 > 38585 in the container.
[9510 ms] Start: Run: kubectl exec -it my-dev-pod-86974569bc-f8l6g --context example --namespace example --container my-dev-pod -- /bin/sh -c VSCODE_REMOTE_CONTAINERS_SESSION='d9c76cba-f81e-488e-97ca-9e6ce5b543a21649321391744' /root/.vscode-server/bin/e18005f0f1b33c29e81d732535d8c0e47cafb0b5/node '-e' '
[9663 ms] Port forwarding 48676 > 38585 > 38585 stderr: Remote close
[9674 ms] Port forwarding 48676 > 38585 > 38585 terminated with code 0 and signal null.
[9675 ms] Port forwarding 48676 > 38585 > 38585: Local close
[10586 ms] Port forwarding 48678 > 38585 > 38585 stderr: Unable to use a TTY - input is not a terminal or the right kind of file
[11740 ms] Port forwarding 48678 > 38585 > 38585 stderr: Connection established
[11915 ms] Port forwarding 48678 > 38585 > 38585 stderr: Remote close
[11922 ms] Port forwarding 48678 > 38585 > 38585 terminated with code 0 and signal null.
[11923 ms] Port forwarding 48678 > 38585 > 38585: Local close
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment