microsoft / vscode-remote-release

Visual Studio Code Remote Development: Open any folder in WSL, in a Docker container, or on a remote machine using SSH and take advantage of VS Code's full feature set.
https://aka.ms/vscode-remote
Other
3.61k stars 275 forks source link

GPG no secret key in container using gpg comes with Git for Windows #5644

Closed AllanChain closed 2 years ago

AllanChain commented 2 years ago
Expand to see logs ``` [563 ms] Remote-Containers 0.194.0 in VS Code 1.60.2 (7f6ab5485bbc008386c4386d08766667e155244e). [562 ms] Start: Resolving Remote [572 ms] Start: Check Docker is running [572 ms] Start: Run: docker version --format {{.Server.APIVersion}} [1139 ms] Server API version: 1.41 [1143 ms] Start: Run: docker volume ls -q [1721 ms] Start: Run: docker ps -q -a --filter label=vsch.local.repository=https://github.com/Microsoft/vscode-remote-try-node --filter label=vsch.local.repository.volume=vscode-remote-try-node-6789fd329eb29bc56aab44eb27506206 --filter label=vsch.local.repository.folder=vscode-remote-try-node --filter label=vsch.quality=stable [2294 ms] Start: Run: docker inspect --type container a8e11fc2da74 [2845 ms] Start: Starting container [2845 ms] Start: Run: docker start a8e11fc2da74d36abd0fce5d1e3856088b8e9fc5f8e41d15bef8d34d25324ede [3807 ms] Start: Run: docker ps -q -a --filter label=vsch.local.repository=https://github.com/Microsoft/vscode-remote-try-node --filter label=vsch.local.repository.volume=vscode-remote-try-node-6789fd329eb29bc56aab44eb27506206 --filter label=vsch.local.repository.folder=vscode-remote-try-node --filter label=vsch.quality=stable [4319 ms] Start: Run: docker inspect --type container a8e11fc2da74 [4907 ms] Start: Run in container: /bin/sh [4949 ms] Start: Run in container: cat /workspaces/vscode-remote-try-node/.devcontainer/devcontainer.json 2>/dev/null [5548 ms] Start: Inspecting container [5549 ms] Start: Run: docker inspect --type container a8e11fc2da74d36abd0fce5d1e3856088b8e9fc5f8e41d15bef8d34d25324ede [6069 ms] Start: Run in container: /bin/sh [6113 ms] Start: Run in container: uname -m [6704 ms] x86_64 [6704 ms] [6705 ms] Start: Run in container: (cat /etc/os-release || cat /usr/lib/os-release) 2>/dev/null [6710 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/" [6710 ms] [6711 ms] Start: Run in container: cat /etc/passwd [6717 ms] Start: Setup shutdown monitor [6719 ms] Forking shutdown monitor: c:\Users\AC\.vscode\extensions\ms-vscode-remote.remote-containers-0.194.0\dist\shutdown\shutdownMonitorProcess \\.\pipe\vscode-remote-containers-de3d230d7d1aad7924ff4834ab8bdb8860386ae1-sock singleContainer Debug c:\Users\AC\AppData\Roaming\Code\logs\20210928T183757\exthost1\ms-vscode-remote.remote-containers 1632825479966 [6745 ms] Start: Run in container: cat /workspaces/vscode-remote-try-node/.devcontainer/Dockerfile [6752 ms] # See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.195.0/containers/javascript-node/.devcontainer/base.Dockerfile # [Choice] Node.js version (use -bullseye variants on local arm64/Apple Silicon): 16, 14, 12, 16-bullseye, 14-bullseye, 12-bullseye, 16-buster, 14-buster, 12-buster ARG VARIANT=16-bullseye FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:0-${VARIANT} # [Optional] Uncomment this section to install additional OS packages. # RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \ # && apt-get -y install --no-install-recommends # [Optional] Uncomment if you want to install an additional version of node using nvm # ARG EXTRA_NODE_VERSION=10 # RUN su node -c "umask 0002 && ./usr/local/share/nvm/nvm.sh && nvm install ${EXTRA_NODE_VERSION}" # [Optional] Uncomment if you want to install more global node modules # RUN su node -c "npm install -g " [6753 ms] [6753 ms] Start: Run in container: test -d /home/node/.vscode-server [6760 ms] [6760 ms] [6761 ms] Start: Run in container: test -f /var/vscode-server/.patchEtcEnvironmentMarker [6765 ms] [6766 ms] [6767 ms] Start: Run in container: test -f /var/vscode-server/.patchEtcProfileMarker [6771 ms] [6771 ms] [6773 ms] Start: Run in container: test ! -f '/home/node/.vscode-server/data/Machine/.writeMachineSettingsMarker' && set -o noclobber && mkdir -p '/home/node/.vscode-server/data/Machine' && { > '/home/node/.vscode-server/data/Machine/.writeMachineSettingsMarker' ; } 2> /dev/null [6776 ms] [6776 ms] [6777 ms] Exit code 1 [6777 ms] Start: Run in container: cat /home/node/.vscode-server/data/Machine/settings.json [6782 ms] { "remote.portsAttributes": { "3000": { "label": "Hello Remote World", "onAutoForward": "notify" } } } [6782 ms] [6784 ms] Start: Run in container: test -d /home/node/.vscode-server/bin/7f6ab5485bbc008386c4386d08766667e155244e [6788 ms] [6788 ms] [6789 ms] Start: Run in container: test -d /vscode/vscode-server/bin/x64/7f6ab5485bbc008386c4386d08766667e155244e [6793 ms] [6793 ms] [6794 ms] Start: Run in container: /bin/sh [6795 ms] Start: Launching Remote-Containers helper. [6797 ms] Start: Run: gpgconf --list-dir agent-extra-socket [6845 ms] Start: Run in container: touch '/vscode/vscode-server/bin/x64/7f6ab5485bbc008386c4386d08766667e155244e' [6984 ms] /c/Users/AC/.gnupg/S.gpg-agent.extra [6985 ms] [6985 ms] Start: Run in container: gpgconf --list-dir agent-socket [6993 ms] /home/node/.gnupg/S.gpg-agent [6993 ms] [6994 ms] Start: Run in container: gpgconf --list-dir homedir [6999 ms] /home/node/.gnupg [6999 ms] [7000 ms] Start: Run in container: ls '/home/node/.gnupg/private-keys-v1.d' 2>/dev/null [7007 ms] [7008 ms] [7008 ms] Start: Run in container: mkdir -p -m 700 '/home/node/.gnupg' [7010 ms] userEnvProbe: loginInteractiveShell (default) [7011 ms] userEnvProbe shell: /bin/bash [7013 ms] [7013 ms] [7014 ms] Start: Run in container: cat <<'EOF-/tmp/vscode-remote-containers-d1d69b962fbfa963abb01f989f653a49f6f1f125.js' >/tmp/vscode-remote-containers-d1d69b962fbfa963abb01f989f653a49f6f1f125.js [7014 ms] Start: Run: gpgconf --list-dir homedir [7020 ms] [7020 ms] [7020 ms] Start: Run in container: # Test for /home/node/.ssh/known_hosts and ssh [7026 ms] /home/node/.ssh/known_hosts exists [7026 ms] [7026 ms] Exit code 1 [7026 ms] Start: Run in container: cat <<'EOF-/tmp/vscode-remote-containers-server-d1d69b962fbfa963abb01f989f653a49f6f1f125.js' >/tmp/vscode-remote-containers-server-d1d69b962fbfa963abb01f989f653a49f6f1f125.js [7032 ms] [7033 ms] [7034 ms] Start: Run in container: /home/node/.vscode-server/bin/7f6ab5485bbc008386c4386d08766667e155244e/node /tmp/vscode-remote-containers-server-d1d69b962fbfa963abb01f989f653a49f6f1f125.js [7209 ms] /c/Users/AC/.gnupg [7209 ms] [7210 ms] Start: Run in container: gpgconf --list-dir homedir [7214 ms] /home/node/.gnupg [7214 ms] [7215 ms] Start: Run in container: # Test for /home/node/.gnupg/pubring.kbx and gpg [7220 ms] /home/node/.gnupg/pubring.kbx exists [7220 ms] [7220 ms] Exit code 1 [7221 ms] Start: Run in container: # Test for /home/node/.gnupg/trustdb.gpg and gpg [7225 ms] /home/node/.gnupg/trustdb.gpg exists [7225 ms] [7225 ms] Exit code 1 [7226 ms] Start: Run: gpg-connect-agent updatestartuptty /bye [7538 ms] [7538 ms] [7539 ms] Start: Run in container: command -v git >/dev/null 2>&1 && git config --system credential.helper '!f() { /home/node/.vscode-server/bin/7f6ab5485bbc008386c4386d08766667e155244e/node /tmp/vscode-remote-containers-d1d69b962fbfa963abb01f989f653a49f6f1f125.js $*; }; f' || true [7544 ms] [7545 ms] [7545 ms] Start: Preparing Extensions [7546 ms] Start: Run in container: test ! -f '/home/node/.vscode-server/data/Machine/.installExtensionsMarker' && set -o noclobber && mkdir -p '/home/node/.vscode-server/data/Machine' && { > '/home/node/.vscode-server/data/Machine/.installExtensionsMarker' ; } 2> /dev/null [7549 ms] [7550 ms] [7550 ms] Exit code 1 [7553 ms] Extensions cache, install extensions: None [7553 ms] Start: Run in container: test -d /home/node/.vscode-server/extensionsCache && ls /home/node/.vscode-server/extensionsCache || true [7558 ms] dbaeumer.vscode-eslint-2.1.25 [7559 ms] [7559 ms] Start: Run in container: test -d /vscode/vscode-server/extensionsCache && ls /vscode/vscode-server/extensionsCache || true [7564 ms] dbaeumer.vscode-eslint-2.1.25 [7564 ms] [7565 ms] Extensions cache, link in container: None [7566 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 " [7625 ms] Start: Starting VS Code Server [7625 ms] Start: Run in container: /home/node/.vscode-server/bin/7f6ab5485bbc008386c4386d08766667e155244e/server.sh --log debug --force-disable-user-env --use-host-proxy --port 0 --extensions-download-dir /home/node/.vscode-server/extensionsCache --start-server --disable-websocket-compression [7930 ms] * * Visual Studio Code Server * * Reminder: You may only use this software with Visual Studio family products, * as described in the license https://aka.ms/vscode-remote/license * Extension host agent listening on 35257 [7931 ms] Start: Run in container: echo 35257 >'/home/node/.vscode-server/data/Machine/.devport-7f6ab5485bbc008386c4386d08766667e155244e' [7939 ms] [7940 ms] [7941 ms] Port forwarding for container port 35257 starts listening on local port. [7942 ms] Port forwarding local port 35257 to container port 35257 [7944 ms] Start: Run in container: test ! -f '/home/node/.vscode-server/data/Machine/.onCreateCommandMarker' && set -o noclobber && mkdir -p '/home/node/.vscode-server/data/Machine' && { > '/home/node/.vscode-server/data/Machine/.onCreateCommandMarker' ; } 2> /dev/null [7956 ms] userEnvProbe PATHs: Probe: '/usr/local/share/npm-global/bin:/usr/local/share/nvm/current/bin:/usr/local/share/npm-global/bin:/usr/local/share/nvm/current/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/node/.local/bin' Container: '/usr/local/share/npm-global/bin:/usr/local/share/nvm/current/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' [7957 ms] [7957 ms] [7957 ms] Exit code 1 [7958 ms] Start: Run in container: test ! -f '/home/node/.vscode-server/data/Machine/.updateContentCommandMarker' && set -o noclobber && mkdir -p '/home/node/.vscode-server/data/Machine' && { > '/home/node/.vscode-server/data/Machine/.updateContentCommandMarker' ; } 2> /dev/null [7962 ms] [7962 ms] [7962 ms] Exit code 1 [7963 ms] Start: Run in container: test ! -f '/home/node/.vscode-server/data/Machine/.postCreateCommandMarker' && set -o noclobber && mkdir -p '/home/node/.vscode-server/data/Machine' && { > '/home/node/.vscode-server/data/Machine/.postCreateCommandMarker' ; } 2> /dev/null [7969 ms] [7970 ms] [7970 ms] Exit code 1 [7972 ms] Start: Run in container: # Test for /home/node/.gitconfig and git [7976 ms] /home/node/.gitconfig exists [7976 ms] [7976 ms] Exit code 1 [7979 ms] Start: Run in container: command -v git >/dev/null 2>&1 && git config --global credential.helper '!f() { /home/node/.vscode-server/bin/7f6ab5485bbc008386c4386d08766667e155244e/node /tmp/vscode-remote-containers-d1d69b962fbfa963abb01f989f653a49f6f1f125.js $*; }; f' || true [8000 ms] Port forwarding connection from 11664 > 35257 > 35257 in the container. [8001 ms] Start: Run in container: /home/node/.vscode-server/bin/7f6ab5485bbc008386c4386d08766667e155244e/node -e [8003 ms] [8003 ms] [8004 ms] Start: Run in container: mkdir -p '/home/node/.vscode-server/data/Machine' && [ "$(cat '/home/node/.vscode-server/data/Machine/.postStartCommandMarker' 2>/dev/null)" != '2021-09-28T10:38:03.0261859Z' ] && echo '2021-09-28T10:38:03.0261859Z' > '/home/node/.vscode-server/data/Machine/.postStartCommandMarker' [8024 ms] [8024 ms] [8195 ms] [10:38:07] Extension host agent started. [8867 ms] Port forwarding connection from 6092 > 35257 > 35257 in the container. [8868 ms] Start: Run in container: /home/node/.vscode-server/bin/7f6ab5485bbc008386c4386d08766667e155244e/node -e [8888 ms] [10:38:08] [::ffff:127.0.0.1][2c1150e5][ManagementConnection] New connection established. [10726 ms] [10:38:10] [::ffff:127.0.0.1][3182f203][ExtensionHostConnection] New connection established. [10918 ms] [10:38:10] [::ffff:127.0.0.1][3182f203][ExtensionHostConnection] <290> Launched Extension Host Process. [12261 ms] Start: Run in container: cat /proc/310/environ ```

Steps to Reproduce:

  1. add gpg key on Git for Windows
  2. use try-node container
  3. run echo test | gpg2 --clearsign in container terminal Result
    gpg: can't connect to the agent: End of file
    gpg: no default secret key: No secret key
    gpg: [stdin]: clear-sign failed: No secret key

    Rerun after gpg-agent

    gpg: no default secret key: No secret key
    gpg: [stdin]: clear-sign failed: No secret key

List gpg keys:

node ➜ /workspaces/vscode-remote-try-node (main) $ gpg -K
node ➜ /workspaces/vscode-remote-try-node (main) $ gpg -k
/home/node/.gnupg/pubring.kbx
-----------------------------
pub   rsa4096 2020-11-25 [SC]
      C8460611DECE371452F821127FB3A230C1B96686
uid           [ultimate] Allan Chain (MSYS2) <36528777+AllanChain@users.noreply.github.com>
sub   rsa4096 2020-11-25 [E]

Git config:

[user]
        signingKey = 7FB3A230C1B96686
        name = Allan Chain
        email = 36528777+AllanChain@users.noreply.github.com
[commit]
        gpgSign = true
[credential]
        helper = "!f() { /home/node/.vscode-server/bin/7f6ab5485bbc008386c4386d08766667e155244e/node /tmp/vscode-remote-containers-5ba00989fff6278450b4db5775c897c85515934f.js $*; }; f"

Other info:

C:\Users\AC>where gpgconf
D:\Program Files\Git\usr\bin\gpgconf.exe

C:\Users\AC>gpgconf --list-dir homedir
/c/Users/AC/.gnupg

C:\Users\AC>gpgconf --list-dir agent-extra-socket
/c/Users/AC/.gnupg/S.gpg-agent.extra

Does this issue occur when you try this locally?: No Does this issue occur when you try this locally and all extensions are disabled?: No

I think it's the same as #4478. It was marked as March milestone but the problem is not solved.

chrmarti commented 2 years ago

Make sure you are not running gpg-agent inside the container (only the one on Windows is needed).

Are there any additions to the log when you get the gpg: can't connect to the agent: End of file error?

Is there any helpful information when you run gpg2 with --debug-level basic or advanced?

AllanChain commented 2 years ago

There is no additional log printed when running echo test | gpg2 --clearsign --debug-level advanced

Here is the output:

gpg: enabled debug flags: memstat trust extprog
gpg: can't connect to the agent: End of file
gpg: no default secret key: No secret key
gpg: [stdin]: clear-sign failed: No secret key
gpg: keydb: handles=2 locks=0 parse=2 get=2
gpg:        build=0 update=0 insert=0 delete=0
gpg:        reset=0 found=2 not=1 cache=0 not=0
gpg: kid_not_found_cache: count=0 peak=0 flushes=0
gpg: sig_cache: total=2 cached=0 good=0 bad=0
gpg: random usage: poolsize=600 mixed=0 polls=0/0 added=0/0
              outmix=0 getlvl1=0/0 getlvl2=0/0
gpg: rndjent stat: collector=0x0000000000000000 calls=0 bytes=0
gpg: secmem usage: 0/65536 bytes in 0 blocks
galtonova commented 2 years ago

I have the same problem. When I first run echo test | gpg2 --clearsign it says

gpg: can't connect to the agent: End of file
gpg: no default secret key: No secret key
gpg: [stdin]: clear-sign failed: No secret key

But if I try again, it says

gpg: no default secret key: No secret key
gpg: [stdin]: clear-sign failed: No secret key

And of course whenever I commit I get

error: gpg failed to sign the data
fatal: failed to write commit object

In my project gitconfig, I tried both

[gpg]
  program = gpg

and

[gpg]
  program = gpg2

however nothing changed.

I guess it's a problem with socket forwarding so the second time gpg2 runs, local gpg-agent starts to run?

But whatever the problem is, I cannot sign my commits using devcontainers. Is there any guide on setting up commit signing using devcontainers without gpg4win? Maybe something on my computer is preventing forwarding local gpg agent to containers?

EDIT: I'm able to sign locally without any problems. Problems I mentioned above are for running those commands in the container.

chrmarti commented 2 years ago

@galtonova What install/version of GPG are you using locally? Could you attach the log (F1 > Remote-Containers: Show Container Log) from when you are connected to the container and have made a signing attempt?

galtonova commented 2 years ago

@chrmarti I didn't install any external gpg software, it's the gpg bundled with windows git. I use Windows 10 and installed git from https://git-scm.com/download/win. Nothing custom. Only thing I did later was adding C:\Program Files\Git\usr\bin to my PATH and then in the gitconfig set gpg program to gpg.

On my local machine:
C:\Users\galtonova>git --version
git version 2.34.0.windows.1

C:\Users\galtonova>where gpg
C:\Program Files\Git\usr\bin\gpg.exe

C:\Users\galtonova>gpg-agent
gpg-agent[2253]: gpg-agent running and available

C:\Users\galtonova>gpgconf --list-dir homedir
/c/Users/tolgagerekci/.gnupg
When I reopen my project in container (F1 > Remote-Containers: Show Container Log):
[243 ms] Remote-Containers 0.205.2 in VS Code 1.62.3 (ccbaa2d27e38e5afa3e5c21c1c7bef4657064247).
[242 ms] Start: Resolving Remote
[245 ms] Setting up container for folder or workspace: c:\Users\galtonova\Projects\ChannelManagerFunctions
[246 ms] Start: Check Docker is running
[246 ms] Start: Run: docker version --format {{.Server.APIVersion}}
[436 ms] Server API version: 1.41
[474 ms] Start: Run: git rev-parse --show-cdup
[509 ms] Start: Run: docker ps -q -a --filter label=vsch.local.folder=c:\Users\galtonova\Projects\ChannelManagerFunctions --filter label=vsch.quality=stable
[732 ms] Start: Run: docker inspect --type container 9ad83b4383b6
[948 ms] Fetching remote container features: Disabled
[953 ms] Start: Inspecting container
[954 ms] Start: Run: docker inspect --type container 9ad83b4383b674ab3213e91f34262016fe7dba90ecd76532226ac1c3d75c5463
[1195 ms] Start: Run in container: /bin/sh
[1203 ms] Start: Run in container: uname -m
[1501 ms] x86_64
[1501 ms] 
[1501 ms] Start: Run in container: (cat /etc/os-release || cat /usr/lib/os-release) 2>/dev/null
[1502 ms] PRETTY_NAME="Debian GNU/Linux 10 (buster)"
NAME="Debian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
[1502 ms] 
[1503 ms] Start: Run in container: cat /etc/passwd
[1504 ms] Start: Setup shutdown monitor
[1505 ms] Forking shutdown monitor: c:\Users\galtonova\.vscode\extensions\ms-vscode-remote.remote-containers-0.205.2\dist\shutdown\shutdownMonitorProcess \\.\pipe\vscode-remote-containers-06a4becd45a1c65596cb14a6693c99161d2bb9ee-sock singleContainer Debug c:\Users\galtonova\AppData\Roaming\Code\logs\20211122T081516\exthost1\ms-vscode-remote.remote-containers 1637574987764
[1511 ms] Start: Run in container: test -d /home/node/.vscode-server
[1512 ms] 
[1513 ms] 
[1513 ms] Start: Run in container: test -f /var/vscode-server/.patchEtcEnvironmentMarker
[1514 ms] 
[1514 ms] 
[1514 ms] Start: Run in container: test -f /var/vscode-server/.patchEtcProfileMarker
[1515 ms] 
[1516 ms] 
[1516 ms] Start: Run in container: test ! -f '/home/node/.vscode-server/data/Machine/.writeMachineSettingsMarker' && set -o noclobber && mkdir -p '/home/node/.vscode-server/data/Machine' && { > '/home/node/.vscode-server/data/Machine/.writeMachineSettingsMarker' ; } 2> /dev/null
[1517 ms] 
[1517 ms] 
[1517 ms] Exit code 1
[1517 ms] Start: Run in container: cat /home/node/.vscode-server/data/Machine/settings.json
[1519 ms] 
[1519 ms] cat: /home/node/.vscode-server/data/Machine/settings.json: No such file or directory
[1519 ms] Exit code 1
[1519 ms] Start: Run in container: test -d /home/node/.vscode-server/bin/ccbaa2d27e38e5afa3e5c21c1c7bef4657064247
[1520 ms] 
[1520 ms] 
[1520 ms] Start: Run in container: test -d /vscode/vscode-server/bin/linux-x64/ccbaa2d27e38e5afa3e5c21c1c7bef4657064247
[1521 ms] 
[1521 ms] 
[1521 ms] Start: Run in container: /bin/sh
[1522 ms] Start: Launching Remote-Containers helper.
[1522 ms] ssh-agent: SSH_AUTH_SOCK in container (/tmp/vscode-ssh-auth-28b98de1786d986b6a821312bc43050340914809.sock) forwarded to host (\\.\pipe\openssh-ssh-agent).
[1522 ms] Start: Run: gpgconf --list-dir agent-extra-socket
[1530 ms] Start: Run in container: touch '/vscode/vscode-server/bin/linux-x64/ccbaa2d27e38e5afa3e5c21c1c7bef4657064247'
[1561 ms] /c/Users/galtonova/.gnupg/S.gpg-agent.extra
[1561 ms] 
[1561 ms] Start: Run in container: gpgconf --list-dir agent-socket
[1563 ms] /home/node/.gnupg/S.gpg-agent
[1563 ms] 
[1563 ms] Start: Run in container: gpgconf --list-dir homedir
[1564 ms] /home/node/.gnupg
[1565 ms] 
[1565 ms] Start: Run in container: ls '/home/node/.gnupg/private-keys-v1.d' 2>/dev/null
[1566 ms] 
[1566 ms] 
[1566 ms] Start: Run in container: mkdir -p -m 700 '/home/node/.gnupg'
[1567 ms] userEnvProbe: loginInteractiveShell (default)
[1567 ms] userEnvProbe shell: /bin/bash
[1567 ms] 
[1567 ms] 
[1568 ms] Start: Run: gpgconf --list-dir homedir
[1568 ms] Start: Run in container: cat <<'EOF-/tmp/vscode-remote-containers-28b98de1786d986b6a821312bc43050340914809.js' >/tmp/vscode-remote-containers-28b98de1786d986b6a821312bc43050340914809.js
[1569 ms] 
[1569 ms] 
[1569 ms] Start: Run in container: # Test for /home/node/.ssh/known_hosts and ssh
[1570 ms] /home/node/.ssh/known_hosts exists
[1570 ms] 
[1570 ms] Exit code 1
[1570 ms] Start: Run in container: cat <<'EOF-/tmp/vscode-remote-containers-server-28b98de1786d986b6a821312bc43050340914809.js' >/tmp/vscode-remote-containers-server-28b98de1786d986b6a821312bc43050340914809.js
[1572 ms] 
[1572 ms] 
[1572 ms] Start: Run in container: /home/node/.vscode-server/bin/ccbaa2d27e38e5afa3e5c21c1c7bef4657064247/node /tmp/vscode-remote-containers-server-28b98de1786d986b6a821312bc43050340914809.js
[1609 ms] /c/Users/galtonova/.gnupg
[1609 ms] 
[1610 ms] Start: Run in container: gpgconf --list-dir homedir
[1611 ms] /home/node/.gnupg
[1611 ms] 
[1612 ms] Start: Run in container: # Test for /home/node/.gnupg/pubring.kbx and gpg
[1612 ms] /home/node/.gnupg/pubring.kbx exists
[1613 ms] 
[1613 ms] Exit code 1
[1613 ms] Start: Run in container: # Test for /home/node/.gnupg/trustdb.gpg and gpg
[1614 ms] /home/node/.gnupg/trustdb.gpg exists
[1614 ms] 
[1614 ms] Exit code 1
[1614 ms] Start: Run: gpg-connect-agent updatestartuptty /bye
[1871 ms] 
[1871 ms] 
[1872 ms] Start: Run in container: command -v git >/dev/null 2>&1 && git config --system --replace-all credential.helper '!f() { /home/node/.vscode-server/bin/ccbaa2d27e38e5afa3e5c21c1c7bef4657064247/node /tmp/vscode-remote-containers-28b98de1786d986b6a821312bc43050340914809.js $*; }; f' || true
[1873 ms] 
[1873 ms] 
[1874 ms] Start: Preparing Extensions
[1874 ms] Start: Run in container: test ! -f '/home/node/.vscode-server/data/Machine/.installExtensionsMarker' && set -o noclobber && mkdir -p '/home/node/.vscode-server/data/Machine' && { > '/home/node/.vscode-server/data/Machine/.installExtensionsMarker' ; } 2> /dev/null
[1875 ms] 
[1875 ms] 
[1875 ms] Exit code 1
[1876 ms] Extensions cache, install extensions: None
[1876 ms] Start: Run in container: test -d /home/node/.vscode-server/extensionsCache && ls /home/node/.vscode-server/extensionsCache || true
[1878 ms] ahgood.shift-shift-0.0.5
dbaeumer.vscode-eslint-2.2.2
dunn.redis-1.4.0
eamodio.gitlens-11.7.0
eg2.vscode-npm-script-0.3.23
esbenp.prettier-vscode-9.0.0
ms-azuretools.vscode-azurefunctions-1.6.0
ms-azuretools.vscode-azureresourcegroups-0.4.0
ms-azuretools.vscode-docker-1.18.0
ms-vscode.azure-account-0.9.11
wraith13.open-in-github-desktop-1.4.2
[1878 ms] 
[1878 ms] Start: Run in container: test -d /vscode/vscode-server/extensionsCache && ls /vscode/vscode-server/extensionsCache || true
[1880 ms] ahgood.shift-shift-0.0.5
dbaeumer.vscode-eslint-2.2.2
dunn.redis-1.4.0
eamodio.gitlens-11.7.0
eg2.vscode-npm-script-0.3.23
esbenp.prettier-vscode-9.0.0
ms-azuretools.vscode-azurefunctions-1.6.0
ms-azuretools.vscode-azureresourcegroups-0.4.0
ms-azuretools.vscode-docker-1.18.0
ms-vscode.azure-account-0.9.11
wraith13.open-in-github-desktop-1.4.2
[1880 ms] 
[1880 ms] Extensions cache, link in container: None
[1880 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 "
[1907 ms] Extension host agent is already running.
[1908 ms] Start: Run in container: cat '/home/node/.vscode-server/data/Machine/.devport-ccbaa2d27e38e5afa3e5c21c1c7bef4657064247' 2>/dev/null
[1909 ms] 34771
[1909 ms] 
[1909 ms] Port forwarding for container port 34771 starts listening on local port.
[1910 ms] Port forwarding local port 34771 to container port 34771
[1910 ms] Start: Run in container: test ! -f '/home/node/.vscode-server/data/Machine/.onCreateCommandMarker' && set -o noclobber && mkdir -p '/home/node/.vscode-server/data/Machine' && { > '/home/node/.vscode-server/data/Machine/.onCreateCommandMarker' ; } 2> /dev/null
[1911 ms] 
[1911 ms] 
[1911 ms] Exit code 1
[1912 ms] Start: Run in container: test ! -f '/home/node/.vscode-server/data/Machine/.updateContentCommandMarker' && set -o noclobber && mkdir -p '/home/node/.vscode-server/data/Machine' && { > '/home/node/.vscode-server/data/Machine/.updateContentCommandMarker' ; } 2> /dev/null
[1912 ms] 
[1912 ms] 
[1913 ms] Exit code 1
[1913 ms] Start: Run in container: test ! -f '/home/node/.vscode-server/data/Machine/.postCreateCommandMarker' && set -o noclobber && mkdir -p '/home/node/.vscode-server/data/Machine' && { > '/home/node/.vscode-server/data/Machine/.postCreateCommandMarker' ; } 2> /dev/null
[1914 ms] 
[1914 ms] 
[1914 ms] Exit code 1
[1914 ms] Start: Run in container: # Test for /home/node/.gitconfig and git
[1915 ms] /home/node/.gitconfig exists
[1915 ms] 
[1915 ms] Exit code 1
[1916 ms] Start: Run in container: command -v git >/dev/null 2>&1 && git config --global --replace-all credential.helper '!f() { /home/node/.vscode-server/bin/ccbaa2d27e38e5afa3e5c21c1c7bef4657064247/node /tmp/vscode-remote-containers-28b98de1786d986b6a821312bc43050340914809.js $*; }; f' || true
[1917 ms] 
[1917 ms] 
[1918 ms] Start: Run in container: mkdir -p '/home/node/.vscode-server/data/Machine' && [ "$(cat '/home/node/.vscode-server/data/Machine/.postStartCommandMarker' 2>/dev/null)" != '2021-11-22T09:38:10.483520901Z' ] && echo '2021-11-22T09:38:10.483520901Z' > '/home/node/.vscode-server/data/Machine/.postStartCommandMarker'
[1919 ms] 
[1919 ms] 
[1919 ms] Exit code 1
[1996 ms] userEnvProbe PATHs:
Probe:     '/usr/local/share/npm-global/bin:/usr/local/share/nvm/current/bin:/usr/local/share/npm-global/bin:/usr/local/share/nvm/current/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/node/.local/bin'
Container: '/usr/local/share/npm-global/bin:/usr/local/share/nvm/current/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
[2006 ms] Port forwarding connection from 61829 > 34771 > 34771 in the container.
[2006 ms] Start: Run in container: /home/node/.vscode-server/bin/ccbaa2d27e38e5afa3e5c21c1c7bef4657064247/node -e 
[2411 ms] Port forwarding connection from 55029 > 34771 > 34771 in the container.
[2412 ms] Start: Run in container: /home/node/.vscode-server/bin/ccbaa2d27e38e5afa3e5c21c1c7bef4657064247/node -e 
[4406 ms] Start: Run in container: cat /proc/5581/environ
galtonova commented 2 years ago

@chrmarti Also this is the log of me rebuilding the container and then immediately trying to commit

[237 ms] Remote-Containers 0.205.2 in VS Code 1.62.3 (ccbaa2d27e38e5afa3e5c21c1c7bef4657064247).
[237 ms] Start: Resolving Remote
[240 ms] Setting up container for folder or workspace: c:\Users\galtonova\Projects\ChannelManagerFunctions
[247 ms] Start: Check Docker is running
[247 ms] Start: Run: docker version --format {{.Server.APIVersion}}
[429 ms] Server API version: 1.41
[465 ms] Start: Run: git rev-parse --show-cdup
[498 ms] Start: Run: docker ps -q -a --filter label=vsch.local.folder=c:\Users\galtonova\Projects\ChannelManagerFunctions --filter label=vsch.quality=stable
[725 ms] Start: Run: docker build -f c:\Users\galtonova\Projects\ChannelManagerFunctions\.devcontainer\Dockerfile -t vsc-channelmanagerfunctions-4293c48c0ec4a25dc7c4d2cabdb5c3f3 --no-cache --pull --build-arg VARIANT=14 c:\Users\galtonova\Projects\ChannelManagerFunctions\.devcontainer

[+] Building 60.5s (8/8) FINISHED
 => [internal] load build definition from Dockerfile                                                                                                                                                                                  0.0s
 => => transferring dockerfile: 32B                                                                                                                                                                                                   0.0s
 => [internal] load .dockerignore                                                                                                                                                                                                     0.0s
 => => transferring context: 2B                                                                                                                                                                                                       0.0s
 => [internal] load metadata for mcr.microsoft.com/vscode/devcontainers/typescript-node:0-14                                                                                                                                          0.6s
 => CACHED [1/4] FROM mcr.microsoft.com/vscode/devcontainers/typescript-node:0-14@sha256:dd9679b5799f31fd33a73ef9cb78836445f72a345f87e2bb5c5991aa5944a123                                                                             0.0s
 => [2/4] RUN apt-get update && apt-get install gnupg2 -y                                                                                                                                                                            11.7s
 => [3/4] RUN npm i -g npm@7                                                                                                                                                                                                          5.9s
 => [4/4] RUN   cd /tmp &&   wget http://download.redis.io/redis-stable.tar.gz &&   tar xvzf redis-stable.tar.gz &&   cd redis-stable &&   make &&   make install &&   cp -f src/redis-sentinel /usr/local/bin &&   mkdir -p /etc/r  42.1s
 => exporting to image                                                                                                                                                                                                                0.2s
 => => exporting layers                                                                                                                                                                                                               0.2s
 => => writing image sha256:cf7f8817e4043063da250987396643a058a00340b4ae390a9e0ae2dda11a2667                                                                                                                                          0.0s
 => => naming to docker.io/library/vsc-channelmanagerfunctions-4293c48c0ec4a25dc7c4d2cabdb5c3f3                                                                                                                                       0.0s

Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them
[62524 ms] Fetching remote container features: Disabled
[62530 ms] Start: Run: docker inspect --type image vsc-channelmanagerfunctions-4293c48c0ec4a25dc7c4d2cabdb5c3f3
[62834 ms] local container features stored at: c:\Users\galtonova\.vscode\extensions\ms-vscode-remote.remote-containers-0.205.2\dist\node_modules\vscode-dev-containers\container-features
[62835 ms] Start: Run: tar --no-same-owner -x -f -
[62869 ms] Start: Run: docker build -t vsc-channelmanagerfunctions-4293c48c0ec4a25dc7c4d2cabdb5c3f3-features --build-arg BASE_IMAGE=vsc-channelmanagerfunctions-4293c48c0ec4a25dc7c4d2cabdb5c3f3 --build-arg IMAGE_USER=root C:\Users\TOLGAG~1\AppData\Local\Temp\vsch\container-features\0.205.2-1637576560198

[+] Building 112.9s (8/8) FINISHED
 => [internal] load build definition from Dockerfile                                                                                                                                                                                  0.0s
 => => transferring dockerfile: 311B                                                                                                                                                                                                  0.0s
 => [internal] load .dockerignore                                                                                                                                                                                                     0.0s
 => => transferring context: 2B                                                                                                                                                                                                       0.0s
 => [internal] load metadata for docker.io/library/vsc-channelmanagerfunctions-4293c48c0ec4a25dc7c4d2cabdb5c3f3:latest                                                                                                                0.0s
 => [internal] load build context                                                                                                                                                                                                     0.0s
 => => transferring context: 236.97kB                                                                                                                                                                                                 0.0s
 => [1/3] FROM docker.io/library/vsc-channelmanagerfunctions-4293c48c0ec4a25dc7c4d2cabdb5c3f3                                                                                                                                         0.1s
 => [2/3] COPY . /tmp/build-features/                                                                                                                                                                                                 0.0s
 => [3/3] RUN cd /tmp/build-features/f_microsoft-vscode-dev-container && chmod +x ./install.sh && ./install.sh                                                                                                                      112.3s
 => exporting to image                                                                                                                                                                                                                0.5s
 => => exporting layers                                                                                                                                                                                                               0.5s
 => => writing image sha256:6644c6f547c6273a00466ff497bd313e13a0744afa2f9843edfd0b0b4462f703                                                                                                                                          0.0s
 => => naming to docker.io/library/vsc-channelmanagerfunctions-4293c48c0ec4a25dc7c4d2cabdb5c3f3-features                                                                                                                              0.0s

Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them
[176953 ms] Start: Run: docker events --format {{json .}} --filter event=start
[176963 ms] Start: Starting container
[176963 ms] Start: Run: docker run --sig-proxy=false -a STDOUT -a STDERR --mount type=bind,source=c:\Users\galtonova\Projects\ChannelManagerFunctions,target=/workspaces/ChannelManagerFunctions,consistency=cached --mount type=volume,src=vscode,dst=/vscode -l vsch.local.folder=c:\Users\galtonova\Projects\ChannelManagerFunctions -l vsch.quality=stable -l vsch.remote.devPort=0 --entrypoint /bin/sh vsc-channelmanagerfunctions-4293c48c0ec4a25dc7c4d2cabdb5c3f3-features -c echo Container started
[177703 ms] Start: Run: docker ps -q -a --filter label=vsch.local.folder=c:\Users\galtonova\Projects\ChannelManagerFunctions --filter label=vsch.quality=stable
Container started
[177922 ms] Start: Run: docker inspect --type container adcee2d14ccb
[178137 ms] Start: Inspecting container
[178137 ms] Start: Run: docker inspect --type container adcee2d14ccb62258c504c30c68d9d2cf12e461568fb61d57097452d643003cd
[178353 ms] Start: Run in container: /bin/sh
[178361 ms] Start: Run in container: uname -m
[178700 ms] x86_64
[178701 ms] 
[178701 ms] Start: Run in container: (cat /etc/os-release || cat /usr/lib/os-release) 2>/dev/null
[178702 ms] PRETTY_NAME="Debian GNU/Linux 10 (buster)"
NAME="Debian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
[178702 ms] 
[178702 ms] Start: Run in container: cat /etc/passwd
[178704 ms] Start: Updating configuration state
[178708 ms] Start: Setup shutdown monitor
[178709 ms] Forking shutdown monitor: c:\Users\galtonova\.vscode\extensions\ms-vscode-remote.remote-containers-0.205.2\dist\shutdown\shutdownMonitorProcess \\.\pipe\vscode-remote-containers-07aa7d8e7c3a5f0d728b25a582ed167de0d7360f-sock singleContainer Debug c:\Users\galtonova\AppData\Roaming\Code\logs\20211122T081516\exthost1\ms-vscode-remote.remote-containers 1637576497675
[178715 ms] Start: Run in container: test -d /home/node/.vscode-server
[178716 ms] 
[178716 ms] 
[178716 ms] Exit code 1
[178717 ms] Start: Run in container: test -d /home/node/.vscode-remote
[178718 ms] 
[178718 ms] 
[178718 ms] Exit code 1
[178718 ms] Start: Run in container: test -f /var/vscode-server/.patchEtcEnvironmentMarker
[178719 ms] 
[178719 ms] 
[178719 ms] Exit code 1
[178720 ms] Start: Run in container: /bin/sh
[178729 ms] Start: Run in container: test ! -f '/var/vscode-server/.patchEtcEnvironmentMarker' && set -o noclobber && mkdir -p '/var/vscode-server' && { > '/var/vscode-server/.patchEtcEnvironmentMarker' ; } 2> /dev/null
[179149 ms] 
[179149 ms] 
[179150 ms] Start: Run in container: cat >> /etc/environment <<'etcEnvrionmentEOF'
[179151 ms] 
[179151 ms] 
[179151 ms] Start: Run in container: test -f /var/vscode-server/.patchEtcProfileMarker
[179152 ms] 
[179152 ms] 
[179152 ms] Exit code 1
[179152 ms] Start: Run in container: test ! -f '/var/vscode-server/.patchEtcProfileMarker' && set -o noclobber && mkdir -p '/var/vscode-server' && { > '/var/vscode-server/.patchEtcProfileMarker' ; } 2> /dev/null
[179153 ms] 
[179153 ms] 
[179153 ms] Start: Run in container: sed -i -E 's/((^|\s)PATH=)([^\$]*)$/\1${PATH:-\3}/g' /etc/profile || true
[179155 ms] 
[179155 ms] 
[179155 ms] Start: Run in container: test ! -f '/home/node/.vscode-server/data/Machine/.writeMachineSettingsMarker' && set -o noclobber && mkdir -p '/home/node/.vscode-server/data/Machine' && { > '/home/node/.vscode-server/data/Machine/.writeMachineSettingsMarker' ; } 2> /dev/null
[179156 ms] 
[179156 ms] 
[179156 ms] Start: Run in container: cat /home/node/.vscode-server/data/Machine/settings.json
[179157 ms] 
[179157 ms] cat: /home/node/.vscode-server/data/Machine/settings.json: No such file or directory
[179157 ms] Exit code 1
[179158 ms] Start: Run in container: test -d /home/node/.vscode-server/bin/ccbaa2d27e38e5afa3e5c21c1c7bef4657064247
[179159 ms] 
[179159 ms] 
[179159 ms] Exit code 1
[179159 ms] Start: Run in container: test -d /vscode/vscode-server/bin/linux-x64/ccbaa2d27e38e5afa3e5c21c1c7bef4657064247
[179159 ms] 
[179159 ms] 
[179160 ms] Start: Run in container: mkdir -p '/home/node/.vscode-server/bin' && ln -snf '/vscode/vscode-server/bin/linux-x64/ccbaa2d27e38e5afa3e5c21c1c7bef4657064247' '/home/node/.vscode-server/bin/ccbaa2d27e38e5afa3e5c21c1c7bef4657064247'
[179161 ms] 
[179161 ms] 
[179161 ms] Start: Run in container: touch '/vscode/vscode-server/bin/linux-x64/ccbaa2d27e38e5afa3e5c21c1c7bef4657064247'
[179161 ms] Start: Launching Remote-Containers helper.
[179161 ms] ssh-agent: SSH_AUTH_SOCK in container (/tmp/vscode-ssh-auth-c2b0dae6a0e550869709207b3db709ed37d29bc4.sock) forwarded to host (\\.\pipe\openssh-ssh-agent).
[179162 ms] Start: Run: gpgconf --list-dir agent-extra-socket
[179162 ms] 
[179162 ms] 
[179195 ms] /c/Users/galtonova/.gnupg/S.gpg-agent.extra
[179195 ms] 
[179195 ms] Start: Run in container: gpgconf --list-dir agent-socket
[179197 ms] /home/node/.gnupg/S.gpg-agent
[179197 ms] 
[179197 ms] Start: Run in container: gpgconf --list-dir homedir
[179198 ms] /home/node/.gnupg
[179198 ms] 
[179198 ms] Start: Run in container: ls '/home/node/.gnupg/private-keys-v1.d' 2>/dev/null
[179199 ms] 
[179200 ms] 
[179200 ms] Exit code 2
[179200 ms] Start: Run in container: mkdir -p -m 700 '/home/node/.gnupg'
[179200 ms] userEnvProbe: loginInteractiveShell (default)
[179201 ms] userEnvProbe shell: /bin/bash
[179201 ms] 
[179201 ms] 
[179201 ms] Start: Run: gpgconf --list-dir homedir
[179201 ms] Start: Run in container: cat <<'EOF-/tmp/vscode-remote-containers-c2b0dae6a0e550869709207b3db709ed37d29bc4.js' >/tmp/vscode-remote-containers-c2b0dae6a0e550869709207b3db709ed37d29bc4.js
[179202 ms] 
[179202 ms] 
[179202 ms] Start: Run in container: # Test for /home/node/.ssh/known_hosts and ssh
[179204 ms] 
[179204 ms] 
[179204 ms] Start: Run in container: cat <<'EOF-/tmp/vscode-remote-containers-server-c2b0dae6a0e550869709207b3db709ed37d29bc4.js' >/tmp/vscode-remote-containers-server-c2b0dae6a0e550869709207b3db709ed37d29bc4.js
[179205 ms] 
[179205 ms] 
[179206 ms] Start: Run in container: # Copy C:\Users\galtonova\.ssh\known_hosts to /home/node/.ssh/known_hosts
[179206 ms] Start: Run in container: /home/node/.vscode-server/bin/ccbaa2d27e38e5afa3e5c21c1c7bef4657064247/node /tmp/vscode-remote-containers-server-c2b0dae6a0e550869709207b3db709ed37d29bc4.js
[179207 ms] 
[179207 ms] 
[179207 ms] Start: Run in container: command -v git >/dev/null 2>&1 && git config --system --replace-all credential.helper '!f() { /home/node/.vscode-server/bin/ccbaa2d27e38e5afa3e5c21c1c7bef4657064247/node /tmp/vscode-remote-containers-c2b0dae6a0e550869709207b3db709ed37d29bc4.js $*; }; f' || true
[179209 ms] 
[179209 ms] 
[179209 ms] Start: Preparing Extensions
[179209 ms] Start: Run in container: test ! -f '/home/node/.vscode-server/data/Machine/.installExtensionsMarker' && set -o noclobber && mkdir -p '/home/node/.vscode-server/data/Machine' && { > '/home/node/.vscode-server/data/Machine/.installExtensionsMarker' ; } 2> /dev/null
[179211 ms] 
[179211 ms] 
[179212 ms] Extensions cache, install extensions: ms-vscode.azure-account, ms-azuretools.vscode-azurefunctions, ahgood.shift-shift, dbaeumer.vscode-eslint, esbenp.prettier-vscode, ms-azuretools.vscode-docker, eg2.vscode-npm-script, eamodio.gitlens
[179212 ms] Start: Run in container: test -d /home/node/.vscode-server/extensionsCache && ls /home/node/.vscode-server/extensionsCache || true
[179213 ms] 
[179213 ms] 
[179213 ms] Start: Run in container: test -d /vscode/vscode-server/extensionsCache && ls /vscode/vscode-server/extensionsCache || true
[179215 ms] ahgood.shift-shift-0.0.5
dbaeumer.vscode-eslint-2.2.2
dunn.redis-1.4.0
eamodio.gitlens-11.7.0
eg2.vscode-npm-script-0.3.23
esbenp.prettier-vscode-9.0.0
ms-azuretools.vscode-azurefunctions-1.6.0
ms-azuretools.vscode-azureresourcegroups-0.4.0
ms-azuretools.vscode-docker-1.18.0
ms-vscode.azure-account-0.9.11
wraith13.open-in-github-desktop-1.4.2
[179215 ms] 
[179215 ms] Extensions cache, link in container: ahgood.shift-shift-0.0.5, dbaeumer.vscode-eslint-2.2.2, eamodio.gitlens-11.7.0, eg2.vscode-npm-script-0.3.23, esbenp.prettier-vscode-9.0.0, ms-azuretools.vscode-azurefunctions-1.6.0, ms-azuretools.vscode-docker-1.18.0, ms-vscode.azure-account-0.9.11
[179215 ms] Start: Run in container: mkdir -p '/home/node/.vscode-server/extensionsCache' && ln -s '/vscode/vscode-server/extensionsCache'/* '/home/node/.vscode-server/extensionsCache' || true
[179217 ms] 
[179217 ms] 
[179217 ms] Start: Run in container: cd /vscode/vscode-server/extensionsCache && touch 'ahgood.shift-shift-0.0.5' 'dbaeumer.vscode-eslint-2.2.2' 'eamodio.gitlens-11.7.0' 'eg2.vscode-npm-script-0.3.23' 'esbenp.prettier-vscode-9.0.0' 'ms-azuretools.vscode-azurefunctions-1.6.0' 'ms-azuretools.vscode-docker-1.18.0' 'ms-vscode.azure-account-0.9.11'
[179218 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 "
[179222 ms] 
[179222 ms] 
[179232 ms] Start: Starting VS Code Server
[179232 ms] Start: Run in container: /home/node/.vscode-server/bin/ccbaa2d27e38e5afa3e5c21c1c7bef4657064247/server.sh --log debug --force-disable-user-env --use-host-proxy --port 0 --extensions-download-dir /home/node/.vscode-server/extensionsCache --install-extension ms-vscode.azure-account --install-extension ms-azuretools.vscode-azurefunctions --install-extension ahgood.shift-shift --install-extension dbaeumer.vscode-eslint --install-extension esbenp.prettier-vscode --install-extension ms-azuretools.vscode-docker --install-extension eg2.vscode-npm-script --install-extension eamodio.gitlens --start-server --disable-websocket-compression
[179248 ms] /c/Users/galtonova/.gnupg
[179248 ms] 
[179248 ms] Start: Run in container: gpgconf --list-dir homedir
[179250 ms] /home/node/.gnupg
[179250 ms] 
[179250 ms] Start: Run in container: # Test for /home/node/.gnupg/pubring.kbx and gpg
[179251 ms] 
[179252 ms] 
[179252 ms] Start: Run in container: # Copy c:\Users\galtonova\.gnupg\pubring.kbx to /home/node/.gnupg/pubring.kbx
[179253 ms] 
[179253 ms] 
[179253 ms] Start: Run in container: # Test for /home/node/.gnupg/trustdb.gpg and gpg
[179255 ms] 
[179255 ms] 
[179255 ms] Start: Run in container: # Copy c:\Users\galtonova\.gnupg\trustdb.gpg to /home/node/.gnupg/trustdb.gpg
[179256 ms] 
[179256 ms] 
[179256 ms] Start: Run: gpg-connect-agent updatestartuptty /bye
[179589 ms] 

*
* Visual Studio Code Server
*
* Reminder: You may only use this software with Visual Studio family products,
* as described in the license https://aka.ms/vscode-remote/license
*

Extension host agent listening on 43311

[179589 ms] Start: Run in container: echo 43311 >'/home/node/.vscode-server/data/Machine/.devport-ccbaa2d27e38e5afa3e5c21c1c7bef4657064247'
[179590 ms] 
[179590 ms] 
[179590 ms] Port forwarding for container port 43311 starts listening on local port.
[179591 ms] Port forwarding local port 43311 to container port 43311
[179591 ms] Start: Run in container: test ! -f '/home/node/.vscode-server/data/Machine/.onCreateCommandMarker' && set -o noclobber && mkdir -p '/home/node/.vscode-server/data/Machine' && { > '/home/node/.vscode-server/data/Machine/.onCreateCommandMarker' ; } 2> /dev/null
[179593 ms] 
[179593 ms] 
[179593 ms] Start: Run in container: test ! -f '/home/node/.vscode-server/data/Machine/.updateContentCommandMarker' && set -o noclobber && mkdir -p '/home/node/.vscode-server/data/Machine' && { > '/home/node/.vscode-server/data/Machine/.updateContentCommandMarker' ; } 2> /dev/null
[179594 ms] 
[179594 ms] 
[179595 ms] Start: Run in container: test ! -f '/home/node/.vscode-server/data/Machine/.postCreateCommandMarker' && set -o noclobber && mkdir -p '/home/node/.vscode-server/data/Machine' && { > '/home/node/.vscode-server/data/Machine/.postCreateCommandMarker' ; } 2> /dev/null
[179596 ms] 
[179596 ms] 
[179596 ms] Start: Run in container: # Test for /home/node/.gitconfig and git
[179597 ms] 
[179598 ms] 
[179598 ms] Start: Run in container: # Copy C:\Users\galtonova\.gitconfig to /home/node/.gitconfig
[179599 ms] 
[179600 ms] 
[179600 ms] Start: Run in container: command -v git >/dev/null 2>&1 && git config --global --replace-all credential.helper '!f() { /home/node/.vscode-server/bin/ccbaa2d27e38e5afa3e5c21c1c7bef4657064247/node /tmp/vscode-remote-containers-c2b0dae6a0e550869709207b3db709ed37d29bc4.js $*; }; f' || true
[179602 ms] 
[179602 ms] 
[179602 ms] Start: Run in container: mkdir -p '/home/node/.vscode-server/data/Machine' && [ "$(cat '/home/node/.vscode-server/data/Machine/.postStartCommandMarker' 2>/dev/null)" != '2021-11-22T10:24:36.793319571Z' ] && echo '2021-11-22T10:24:36.793319571Z' > '/home/node/.vscode-server/data/Machine/.postStartCommandMarker'
[179603 ms] userEnvProbe PATHs:
Probe:     '/usr/local/share/npm-global/bin:/usr/local/share/nvm/current/bin:/usr/local/share/npm-global/bin:/usr/local/share/nvm/current/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/node/.local/bin'
Container: '/usr/local/share/npm-global/bin:/usr/local/share/nvm/current/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
[179607 ms] 
[179607 ms] 
Running the postStartCommand from devcontainer.json...

[179607 ms] Start: Run in container: /bin/sh -c sudo redis-server /etc/redis/redis.conf && sudo chown -R node:node ./
[179681 ms] Port forwarding connection from 51749 > 43311 > 43311 in the container.
[179681 ms] Start: Run in container: /home/node/.vscode-server/bin/ccbaa2d27e38e5afa3e5c21c1c7bef4657064247/node -e 
[179692 ms] [10:24:38] Extension host agent started.
[179726 ms] Installing extensions...
[180152 ms] [10:24:39] [::ffff:127.0.0.1][64401fb2][ManagementConnection] New connection established.
[180156 ms] Port forwarding connection from 51034 > 43311 > 43311 in the container.
[180156 ms] Start: Run in container: /home/node/.vscode-server/bin/ccbaa2d27e38e5afa3e5c21c1c7bef4657064247/node -e 
[180529 ms] Installing extension 'ms-vscode.azure-account'...
[180536 ms] Installing extension 'ahgood.shift-shift'...
[180537 ms] Installing extension 'dbaeumer.vscode-eslint'...
[180542 ms] Installing extension 'ms-azuretools.vscode-azurefunctions'...
[180579 ms] Installing extension 'eg2.vscode-npm-script'...
[180583 ms] Installing extension 'ms-azuretools.vscode-docker'...
[180588 ms] Installing extension 'esbenp.prettier-vscode'...
[180707 ms] Installing extension 'eamodio.gitlens'...
[180927 ms] [10:24:40] Installing extension: eg2.vscode-npm-script
[180938 ms] [10:24:40] Installing extension: esbenp.prettier-vscode
[180957 ms] [10:24:40] Installing extension: dbaeumer.vscode-eslint
[180958 ms] [10:24:40] Installing extension: ahgood.shift-shift
[180961 ms] [10:24:40] Installing extension: ms-vscode.azure-account
[180979 ms] [10:24:40] Installing extension: ms-azuretools.vscode-azurefunctions
[181036 ms] [10:24:40] Installing extension: ms-azuretools.vscode-docker
[181084 ms] [10:24:40] Installing extension: eamodio.gitlens
[181495 ms] [10:24:40] Downloaded extension: eg2.vscode-npm-script /home/node/.vscode-server/extensionsCache/eg2.vscode-npm-script-0.3.23
[181503 ms] [10:24:40] [::ffff:127.0.0.1][651f56f1][ExtensionHostConnection] New connection established.
[181512 ms] [10:24:40] [::ffff:127.0.0.1][651f56f1][ExtensionHostConnection] <312> Launched Extension Host Process.
[181533 ms] [10:24:40] Downloaded extension: esbenp.prettier-vscode /home/node/.vscode-server/extensionsCache/esbenp.prettier-vscode-9.0.0
[181566 ms] [10:24:40] Downloaded extension: dbaeumer.vscode-eslint /home/node/.vscode-server/extensionsCache/dbaeumer.vscode-eslint-2.2.2
[181566 ms] [10:24:40] Downloaded extension: ahgood.shift-shift /home/node/.vscode-server/extensionsCache/ahgood.shift-shift-0.0.5
[181567 ms] [10:24:40] Downloaded extension: ms-vscode.azure-account /home/node/.vscode-server/extensionsCache/ms-vscode.azure-account-0.9.11
[181584 ms] [10:24:40] Downloaded extension: eamodio.gitlens /home/node/.vscode-server/extensionsCache/eamodio.gitlens-11.7.0
[181637 ms] [10:24:40] Extracted extension to /home/node/.vscode-server/extensions/.d5b9c4b6-c6fd-4bf0-8506-590d334e614b: ahgood.shift-shift
[181652 ms] [10:24:40] Renamed to /home/node/.vscode-server/extensions/ahgood.shift-shift-0.0.5
[181657 ms] [10:24:40] Extracting completed. ahgood.shift-shift
[181657 ms] [10:24:40] Extension installed successfully: ahgood.shift-shift
[181658 ms] Extension 'ahgood.shift-shift' v0.0.5 was successfully installed.
[181861 ms] [10:24:40] Extracted extension to /home/node/.vscode-server/extensions/.5734ba58-c638-4eed-9e0c-e894a8eb9c15: eg2.vscode-npm-script
[181883 ms] [10:24:40] Renamed to /home/node/.vscode-server/extensions/eg2.vscode-npm-script-0.3.23
[181894 ms] [10:24:40] Extracting completed. eg2.vscode-npm-script
[181894 ms] [10:24:40] Extension installed successfully: eg2.vscode-npm-script
[181894 ms] Extension 'eg2.vscode-npm-script' v0.3.23 was successfully installed.
[181907 ms] [10:24:41] Extracted extension to /home/node/.vscode-server/extensions/.8cb1973b-d9c2-4d01-84c4-45bbdc0b3753: ms-vscode.azure-account
[181914 ms] [10:24:41] Renamed to /home/node/.vscode-server/extensions/ms-vscode.azure-account-0.9.11
[181917 ms] [10:24:41] Extracting completed. ms-vscode.azure-account
[181918 ms] [10:24:41] Extension installed successfully: ms-vscode.azure-account
[181918 ms] Extension 'ms-vscode.azure-account' v0.9.11 was successfully installed.
[181971 ms] [10:24:41] Installing extension: ms-azuretools.vscode-azureresourcegroups
[182002 ms] [10:24:41] Downloaded extension: ms-azuretools.vscode-azureresourcegroups /home/node/.vscode-server/extensionsCache/ms-azuretools.vscode-azureresourcegroups-0.4.0
[182112 ms] [10:24:41] Downloaded extension: ms-azuretools.vscode-docker /home/node/.vscode-server/extensionsCache/ms-azuretools.vscode-docker-1.18.0
[182326 ms] [10:24:41] Extracted extension to /home/node/.vscode-server/extensions/.d6638dfa-26ab-44d8-b2c3-7e5d7dba4ad1: ms-azuretools.vscode-azureresourcegroups
[182339 ms] [10:24:41] Renamed to /home/node/.vscode-server/extensions/ms-azuretools.vscode-azureresourcegroups-0.4.0
[182341 ms] [10:24:41] Extracting completed. ms-azuretools.vscode-azureresourcegroups
[182372 ms] [10:24:41] Downloaded extension: ms-azuretools.vscode-azurefunctions /home/node/.vscode-server/extensionsCache/ms-azuretools.vscode-azurefunctions-1.6.0
[182512 ms] [10:24:41] Extracted extension to /home/node/.vscode-server/extensions/.241fc74f-626f-4aa6-99de-e3974de9c08c: ms-azuretools.vscode-docker
[182529 ms] [10:24:41] Renamed to /home/node/.vscode-server/extensions/ms-azuretools.vscode-docker-1.18.0
[182533 ms] [10:24:41] Extracting completed. ms-azuretools.vscode-docker
[182533 ms] [10:24:41] Extension installed successfully: ms-azuretools.vscode-docker
[182534 ms] Extension 'ms-azuretools.vscode-docker' v1.18.0 was successfully installed.
[182661 ms] Port forwarding connection from 59506 > 43311 > 43311 in the container.
[182661 ms] Start: Run in container: /home/node/.vscode-server/bin/ccbaa2d27e38e5afa3e5c21c1c7bef4657064247/node -e 
[182823 ms] [10:24:41] Extracted extension to /home/node/.vscode-server/extensions/.21e6c889-514c-41b3-a602-cb6aa7a200fa: eamodio.gitlens
[182849 ms] [10:24:41] Renamed to /home/node/.vscode-server/extensions/eamodio.gitlens-11.7.0
[182854 ms] [10:24:41] Extracting completed. eamodio.gitlens
[182854 ms] [10:24:41] Extension installed successfully: eamodio.gitlens
[182856 ms] Extension 'eamodio.gitlens' v11.7.0 was successfully installed.
[182930 ms] [10:24:42] Extracted extension to /home/node/.vscode-server/extensions/.6c47d5a7-8e09-488c-a135-6eede85308ab: dbaeumer.vscode-eslint
[182937 ms] [10:24:42] Renamed to /home/node/.vscode-server/extensions/dbaeumer.vscode-eslint-2.2.2
[182938 ms] [10:24:42] Extracting completed. dbaeumer.vscode-eslint
[182939 ms] [10:24:42] Extension installed successfully: dbaeumer.vscode-eslint
Extension 'dbaeumer.vscode-eslint' v2.2.2 was successfully installed.
[182963 ms] [10:24:42] Extracted extension to /home/node/.vscode-server/extensions/.466e9ee5-73ee-48cc-b3df-b5ccb8af42c9: esbenp.prettier-vscode
[182968 ms] [10:24:42] Renamed to /home/node/.vscode-server/extensions/esbenp.prettier-vscode-9.0.0
[182969 ms] [10:24:42] Extracting completed. esbenp.prettier-vscode
[182970 ms] [10:24:42] Extension installed successfully: esbenp.prettier-vscode
[182970 ms] Extension 'esbenp.prettier-vscode' v9.0.0 was successfully installed.
[183164 ms] [10:24:42] Extracted extension to /home/node/.vscode-server/extensions/.646a062b-b8f3-4db6-b0da-e9ba455590d4: ms-azuretools.vscode-azurefunctions
[183169 ms] [10:24:42] Renamed to /home/node/.vscode-server/extensions/ms-azuretools.vscode-azurefunctions-1.6.0
[183170 ms] [10:24:42] Extracting completed. ms-azuretools.vscode-azurefunctions
[183171 ms] [10:24:42] Extension installed successfully: ms-azuretools.vscode-azureresourcegroups
[10:24:42] Extension installed successfully: ms-azuretools.vscode-azurefunctions
[183171 ms] Extension 'ms-azuretools.vscode-azurefunctions' v1.6.0 was successfully installed.
[188503 ms] Port forwarding 59506 > 43311 > 43311 stderr: Remote close
[188529 ms] Port forwarding 59506 > 43311 > 43311 terminated with code 0 and signal null.

[308534 ms] Port forwarding 59506 > 43311 > 43311: Local close with error
[1459587 ms] Port forwarding connection from 56761 > 43311 > 43311 in the container.
[1459587 ms] Start: Run in container: /home/node/.vscode-server/bin/ccbaa2d27e38e5afa3e5c21c1c7bef4657064247/node -e 
[1465367 ms] Port forwarding 56761 > 43311 > 43311 stderr: Remote close
[1465396 ms] Port forwarding 56761 > 43311 > 43311 terminated with code 0 and signal null.
[1473709 ms] Port forwarding 56761 > 43311 > 43311: Local close

[1459587 ms] and later logs are from when I went to version control tab in the vscode and clicked the commit button.

And this is the git command output:

> git -c user.useConfigOnly=true commit --quiet --allow-empty-message --file -
error: gpg failed to sign the data
fatal: failed to write commit object

And my Dockerfile (but the problem was present before I added redis install command to my Dockerfile):

ARG VARIANT="16-bullseye"
FROM mcr.microsoft.com/vscode/devcontainers/typescript-node:0-${VARIANT}

RUN apt-get update && apt-get install gnupg2 -y

RUN npm i -g npm@7

RUN \
  cd /tmp && \
  wget http://download.redis.io/redis-stable.tar.gz && \
  tar xvzf redis-stable.tar.gz && \
  cd redis-stable && \
  make && \
  make install && \
  cp -f src/redis-sentinel /usr/local/bin && \
  mkdir -p /etc/redis && \
  cp -f *.conf /etc/redis && \
  rm -rf /tmp/redis-stable* && \
  sed -i 's/^\(bind .*\)$/# \1/' /etc/redis/redis.conf && \
  sed -i 's/^\(daemonize .*\)$/# \1/' /etc/redis/redis.conf && \
  sed -i 's/^\(dir .*\)$/# \1\ndir \/data/' /etc/redis/redis.conf && \
  sed -i 's/^\(logfile .*\)$/# \1/' /etc/redis/redis.conf && \
  echo 'daemonize yes' >> /etc/redis/redis.conf

VOLUME ["/data"]

And finally the devcontainer.json

{
    "name": "Node.js & TypeScript",
    "build": {
        "dockerfile": "Dockerfile",
        "args": { 
            "VARIANT": "14"
        }
    },
    "settings": {},
    "extensions": [
        "ms-vscode.azure-account",
        "ms-azuretools.vscode-azurefunctions",
        "ahgood.shift-shift",
        "dbaeumer.vscode-eslint",
        "esbenp.prettier-vscode",
        "ms-azuretools.vscode-docker",
        "eg2.vscode-npm-script",
        "eamodio.gitlens"
    ],
    "forwardPorts": [6379],
    "postStartCommand": "sudo redis-server /etc/redis/redis.conf && sudo chown -R node:node ./",
    "remoteUser": "node",
    "features": {
        "git": "latest",
        "git-lfs": "latest"
    }
}
AlbertoFabbri93 commented 2 years ago

I have the exact same problem, it is still not working for me. How do I make sure that gpg-agent is not running inside the container?

MitchTalmadge commented 2 years ago

You can kill gpg-agent by running gpgconf --kill gpg-agent.

However, it still does not work for me:

node ➜ /workspace (main ✗) $ gpgconf --kill gpg-agent
node ➜ /workspace (main ✗) $ echo test | gpg2 --clearsign
gpg: no default secret key: No secret key
gpg: [stdin]: clear-sign failed: No secret key
(base) PS C:\Users\mitch\Desktop> gpgconf --list-dir homedir
c:\users\mitch\.gnupg
gpgconf: Warning: homedir taken from registry key (Software\GNU\GnuPG HomeDir)
AlbertoFabbri93 commented 2 years ago

I have tried gpgconf --kill gpg-agent but, I think that the gpg-agent daemon gets re-started every time gpg is called, if it is not currently running.

chrmarti commented 2 years ago

Make sure the container's ~/.gnupg folder is empty, we don't overwrite any files in there and that might explain why you don't see any keys. If that doesn't help, please append the log from a Remote-Containers session (F1 > Remote-Containers: Show Container Log.)

chrmarti commented 2 years ago

Realizing that you have the gpg-agent running in the container: Make sure you don't start that, it is usually started from a shell startup script in your home folder in the container (e.g., ~/.profile).

AlbertoFabbri93 commented 2 years ago

Make sure the container's ~/.gnupg folder is empty, we don't overwrite any files in there and that might explain why you don't see any keys. If that doesn't help, please append the log from a Remote-Containers session (F1 > Remote-Containers: Show Container Log.)

The directory ~/.gnupg contained the following files:

I deleted all of them but pubring.kbx gets recreated after a short while.

AlbertoFabbri93 commented 2 years ago

Realizing that you have the gpg-agent running in the container: Make sure you don't start that, it is usually started from a shell startup script in your home folder in the container (e.g., ~/.profile).

This is the content of ~/.profile:

# ~/.profile: executed by Bourne-compatible login shells.

if [ "$BASH" ]; then
  if [ -f ~/.bashrc ]; then
    . ~/.bashrc
  fi
fi

mesg n || true

To me it seems like this is the default start-up script. I am sorry but I am not sure where else I should look.

AlbertoFabbri93 commented 2 years ago
Container log ``` [99 ms] Remote-Containers 0.217.1 in VS Code 1.64.0 (5554b12acf27056905806867f251c859323ff7e9). [98 ms] Start: Resolving Remote [124 ms] Setting up container for folder or workspace: c:\Users\albif\Documents\HKR courses\Methods for Sustainable Programming [132 ms] Start: Check Docker is running [132 ms] Start: Run: com.docker.cli version --format {{.Server.APIVersion}} [950 ms] Server API version: 1.41 [1075 ms] Start: Run: com.docker.cli ps -q -a --filter label=vsch.local.folder=c:\Users\albif\Documents\HKR courses\Methods for Sustainable Programming --filter label=vsch.quality=stable [2178 ms] Start: Run: com.docker.cli inspect --type container fd66056b8ddf [3082 ms] Start: Starting container [3083 ms] Start: Run: com.docker.cli start fd66056b8ddf96528e8d9cce18dee113ca7c8279cf36c963441a1daf26b6ee02 [5257 ms] Start: Run: com.docker.cli ps -q -a --filter label=vsch.local.folder=c:\Users\albif\Documents\HKR courses\Methods for Sustainable Programming --filter label=vsch.quality=stable [6124 ms] Start: Run: com.docker.cli inspect --type container fd66056b8ddf [6895 ms] Start: Inspecting container [6895 ms] Start: Run: com.docker.cli inspect --type container fd66056b8ddf96528e8d9cce18dee113ca7c8279cf36c963441a1daf26b6ee02 [7660 ms] Start: Run in container: /bin/sh [7705 ms] Start: Run in container: uname -m [8838 ms] x86_64 [8839 ms] [8840 ms] Start: Run in container: (cat /etc/os-release || cat /usr/lib/os-release) 2>/dev/null [8848 ms] PRETTY_NAME="Debian GNU/Linux 10 (buster)" NAME="Debian GNU/Linux" VERSION_ID="10" VERSION="10 (buster)" VERSION_CODENAME=buster ID=debian HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/" [8850 ms] [8850 ms] Start: Run in container: cat /etc/passwd [8858 ms] Start: Setup shutdown monitor [8860 ms] Forking shutdown monitor: c:\Users\albif\.vscode\extensions\ms-vscode-remote.remote-containers-0.217.1\dist\shutdown\shutdownMonitorProcess \\.\pipe\vscode-remote-containers-adb9a3c9ef9662561ad85be1a1016643b2c9ffae-sock singleContainer Debug c:\Users\albif\AppData\Roaming\Code\logs\20220207T223324\exthost1\ms-vscode-remote.remote-containers 1644269868957 [8877 ms] Start: Run in container: test -d /root/.vscode-server [8887 ms] [8889 ms] [8889 ms] Start: Run in container: test -f /var/vscode-server/.patchEtcEnvironmentMarker [8894 ms] [8894 ms] [8895 ms] Start: Run in container: test -f /var/vscode-server/.patchEtcProfileMarker [8901 ms] [8901 ms] [8902 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 [8907 ms] [8908 ms] [8908 ms] Exit code 1 [8909 ms] Start: Run in container: cat /root/.vscode-server/data/Machine/settings.json [8916 ms] { "python.pythonPath": "/.venv/bin/python3" } [8917 ms] [8918 ms] Start: Run in container: test -d /root/.vscode-server/bin/5554b12acf27056905806867f251c859323ff7e9 [8924 ms] [8925 ms] [8925 ms] Start: Run in container: test -d /vscode/vscode-server/bin/linux-x64/5554b12acf27056905806867f251c859323ff7e9 [8928 ms] [8928 ms] [8928 ms] Start: Run in container: touch '/vscode/vscode-server/bin/linux-x64/5554b12acf27056905806867f251c859323ff7e9' [8929 ms] Start: Launching Remote-Containers helper. [8930 ms] ssh-agent: SSH_AUTH_SOCK in container (/tmp/vscode-ssh-auth-df8905b9ee9211b97a575bb7a27ed5319028bd08.sock) forwarded to local host (\\.\pipe\openssh-ssh-agent). [8932 ms] Start: Run: gpgconf --list-dir agent-extra-socket [8939 ms] [8940 ms] [9247 ms] /c/Users/albif/.gnupg/S.gpg-agent.extra [9247 ms] [9250 ms] Start: Run in container: gpgconf --list-dir agent-socket [9271 ms] /root/.gnupg/S.gpg-agent [9272 ms] [9272 ms] Start: Run in container: gpgconf --list-dir homedir [9277 ms] /root/.gnupg [9277 ms] [9278 ms] Start: Run in container: ls '/root/.gnupg/private-keys-v1.d' 2>/dev/null [9297 ms] [9297 ms] [9298 ms] Start: Run in container: mkdir -p -m 700 '/root/.gnupg' [9301 ms] Start: Run in container: /bin/sh [9306 ms] userEnvProbe: loginInteractiveShell (default) [9308 ms] userEnvProbe shell: /bin/bash [9310 ms] [9310 ms] [9310 ms] Start: Run: gpgconf --list-dir homedir [9328 ms] Start: Run in container: # Test for /root/.ssh/known_hosts and ssh [9334 ms] /root/.ssh/known_hosts exists [9335 ms] [9335 ms] Exit code 1 [9335 ms] Start: Run in container: command -v git >/dev/null 2>&1 && git config --system --replace-all credential.helper '!f() { /root/.vscode-server/bin/5554b12acf27056905806867f251c859323ff7e9/node /tmp/vscode-remote-containers-df8905b9ee9211b97a575bb7a27ed5319028bd08.js $*; }; f' || true [9375 ms] Start: Run in container: cat <<'EOF-/tmp/vscode-remote-containers-df8905b9ee9211b97a575bb7a27ed5319028bd08.js' >/tmp/vscode-remote-containers-df8905b9ee9211b97a575bb7a27ed5319028bd08.js [9376 ms] [9376 ms] [9377 ms] Start: Preparing Extensions [9377 ms] Start: Run in container: test ! -f '/root/.vscode-server/data/Machine/.installExtensionsMarker' && set -o noclobber && mkdir -p '/root/.vscode-server/data/Machine' && { > '/root/.vscode-server/data/Machine/.installExtensionsMarker' ; } 2> /dev/null [9384 ms] [9384 ms] [9384 ms] Exit code 1 [9389 ms] Extensions cache, install extensions: None [9389 ms] Start: Run in container: test -d /root/.vscode-server/extensionsCache && ls /root/.vscode-server/extensionsCache || true [9394 ms] bungcip.better-toml-0.3.2 eamodio.gitlens-11.7.0 gitlab.gitlab-workflow-3.40.2 ms-python.python-2022.0.1786462952 ms-python.vscode-pylance-2022.2.0 ms-toolsai.jupyter-2022.1.1001775990 ms-toolsai.jupyter-keymap-1.0.0 ms-toolsai.jupyter-renderers-1.0.6 mutantdino.resourcemonitor-1.0.7 peakchen90.open-html-in-browser-2.1.8 rust-lang.rust-0.7.8 ryanluker.vscode-coverage-gutters-2.9.1 tht13.html-preview-vscode-0.2.5 vadimcn.vscode-lldb-1.6.3 [9395 ms] [9395 ms] Start: Run in container: test -d /vscode/vscode-server/extensionsCache && ls /vscode/vscode-server/extensionsCache || true [9406 ms] bungcip.better-toml-0.3.2 eamodio.gitlens-11.4.1 eamodio.gitlens-11.7.0 gitlab.gitlab-workflow-3.19.0 gitlab.gitlab-workflow-3.20.0 gitlab.gitlab-workflow-3.40.2 ms-python.python-2021.4.765268190 ms-python.python-2021.5.829140558 ms-python.python-2021.5.840043038 ms-python.python-2022.0.1786462952 ms-python.vscode-pylance-2021.4.3 ms-python.vscode-pylance-2021.5.1 ms-python.vscode-pylance-2021.5.2 ms-python.vscode-pylance-2022.2.0 ms-toolsai.jupyter-2021.5.745244803 ms-toolsai.jupyter-2021.6.811652604 ms-toolsai.jupyter-2021.6.832593372 ms-toolsai.jupyter-2022.1.1001775990 ms-toolsai.jupyter-keymap-1.0.0 ms-toolsai.jupyter-renderers-1.0.6 mutantdino.resourcemonitor-1.0.7 peakchen90.open-html-in-browser-2.1.3 peakchen90.open-html-in-browser-2.1.4 peakchen90.open-html-in-browser-2.1.8 rust-lang.rust-0.7.8 ryanluker.vscode-coverage-gutters-2.7.3 ryanluker.vscode-coverage-gutters-2.9.1 tht13.html-preview-vscode-0.2.5 vadimcn.vscode-lldb-1.6.3 [9406 ms] [9406 ms] Extensions cache, link in container: None [9407 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 " [9495 ms] Start: Run in container: cat '/root/.vscode-server/data/Machine/.connection-token-5554b12acf27056905806867f251c859323ff7e9' 2>/dev/null || (umask 377 && echo 'da9a1e40-4e5a-4086-8985-1381aabca4e6' >'/root/.vscode-server/data/Machine/.connection-token-5554b12acf27056905806867f251c859323ff7e9-0072dfcd-f830-4168-aca3-28dbc8a46e68' && mv -n '/root/.vscode-server/data/Machine/.connection-token-5554b12acf27056905806867f251c859323ff7e9-0072dfcd-f830-4168-aca3-28dbc8a46e68' '/root/.vscode-server/data/Machine/.connection-token-5554b12acf27056905806867f251c859323ff7e9' && rm -f '/root/.vscode-server/data/Machine/.connection-token-5554b12acf27056905806867f251c859323ff7e9-0072dfcd-f830-4168-aca3-28dbc8a46e68' && cat '/root/.vscode-server/data/Machine/.connection-token-5554b12acf27056905806867f251c859323ff7e9') [9506 ms] b83a85c6-66c5-4a47-8864-8bc4e536c280 [9506 ms] [9507 ms] Start: Starting VS Code Server [9526 ms] /c/Users/albif/.gnupg [9526 ms] [9526 ms] Start: Run in container: gpgconf --list-dir homedir [9534 ms] /root/.gnupg [9534 ms] [9550 ms] Start: Run in container: # Test for /root/.gnupg/pubring.kbx and gpg [9555 ms] /root/.gnupg/pubring.kbx exists [9556 ms] [9556 ms] Exit code 1 [9571 ms] Start: Run in container: # Test for /root/.gnupg/trustdb.gpg and gpg [9574 ms] /root/.gnupg/trustdb.gpg exists [9575 ms] [9575 ms] Exit code 1 [9575 ms] Start: Run: gpg-connect-agent updatestartuptty /bye [10684 ms] [10684 ms] [10685 ms] Start: Run in container: cat <<'EOF-/tmp/vscode-remote-containers-server-df8905b9ee9211b97a575bb7a27ed5319028bd08.js' >/tmp/vscode-remote-containers-server-df8905b9ee9211b97a575bb7a27ed5319028bd08.js_1644269879641 [10694 ms] [10694 ms] [10700 ms] Start: Run in Container: /root/.vscode-server/bin/5554b12acf27056905806867f251c859323ff7e9/bin/code-server --log debug --force-disable-user-env --use-host-proxy --accept-server-license-terms --host 127.0.0.1 --port 0 --connection-token-file /root/.vscode-server/data/Machine/.connection-token-5554b12acf27056905806867f251c859323ff7e9 --extensions-download-dir /root/.vscode-server/extensionsCache --start-server --disable-websocket-compression [11153 ms] userEnvProbe PATHs: Probe: '/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' Container: '/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' [11160 ms] * * Visual Studio Code Server * * Reminder: You may only use this software with Visual Studio family products, * as described in the license https://aka.ms/vscode-remote/license * Extension host agent listening on 33887 [11161 ms] Start: Run in container: echo 33887 >'/root/.vscode-server/data/Machine/.devport-5554b12acf27056905806867f251c859323ff7e9' [11165 ms] [11165 ms] [11166 ms] Port forwarding for container port 33887 starts listening on local port. [11169 ms] Port forwarding local port 33887 to container port 33887 [11169 ms] Start: Run in container: test ! -f '/root/.vscode-server/data/Machine/.onCreateCommandMarker' && set -o noclobber && mkdir -p '/root/.vscode-server/data/Machine' && { > '/root/.vscode-server/data/Machine/.onCreateCommandMarker' ; } 2> /dev/null [11172 ms] [11172 ms] [11172 ms] Exit code 1 [11173 ms] Start: Run in container: test ! -f '/root/.vscode-server/data/Machine/.updateContentCommandMarker' && set -o noclobber && mkdir -p '/root/.vscode-server/data/Machine' && { > '/root/.vscode-server/data/Machine/.updateContentCommandMarker' ; } 2> /dev/null [11176 ms] [11176 ms] [11176 ms] Exit code 1 [11176 ms] Start: Run in container: test ! -f '/root/.vscode-server/data/Machine/.postCreateCommandMarker' && set -o noclobber && mkdir -p '/root/.vscode-server/data/Machine' && { > '/root/.vscode-server/data/Machine/.postCreateCommandMarker' ; } 2> /dev/null [11185 ms] [11185 ms] [11185 ms] Exit code 1 [11186 ms] Start: Run in container: # Test for /root/.gitconfig and git [11189 ms] /root/.gitconfig exists [11190 ms] [11190 ms] Exit code 1 [11191 ms] Start: Run in container: command -v git >/dev/null 2>&1 && git config --global --replace-all credential.helper '!f() { /root/.vscode-server/bin/5554b12acf27056905806867f251c859323ff7e9/node /tmp/vscode-remote-containers-df8905b9ee9211b97a575bb7a27ed5319028bd08.js $*; }; f' || true [11198 ms] [11199 ms] [11199 ms] Start: Run in container: mkdir -p '/root/.vscode-server/data/Machine' && [ "$(cat '/root/.vscode-server/data/Machine/.postStartCommandMarker' 2>/dev/null)" != '2022-02-07T21:37:54.184768Z' ] && echo '2022-02-07T21:37:54.184768Z' > '/root/.vscode-server/data/Machine/.postStartCommandMarker' [11208 ms] [11209 ms] [11218 ms] Port forwarding connection from 1031 > 33887 > 33887 in the container. [11218 ms] Start: Run in container: /root/.vscode-server/bin/5554b12acf27056905806867f251c859323ff7e9/node -e [11707 ms] [21:38:00] Extension host agent started. [12747 ms] Port forwarding connection from 1359 > 33887 > 33887 in the container. [12747 ms] Start: Run in container: /root/.vscode-server/bin/5554b12acf27056905806867f251c859323ff7e9/node -e [12803 ms] [21:38:01] [127.0.0.1][25aa49e4][ManagementConnection] New connection established. [15352 ms] Port forwarding connection from 1029 > 33887 > 33887 in the container. [15353 ms] Start: Run in container: /root/.vscode-server/bin/5554b12acf27056905806867f251c859323ff7e9/node -e [16052 ms] [21:38:04] [127.0.0.1][278b3435][ExtensionHostConnection] New connection established. [16052 ms] [21:38:04] [127.0.0.1][278b3435][ExtensionHostConnection] <233> Launched Extension Host Process. [21724 ms] Port forwarding connection from 1025 > 33887 > 33887 in the container. [21726 ms] Start: Run in container: /root/.vscode-server/bin/5554b12acf27056905806867f251c859323ff7e9/node -e [21729 ms] Port forwarding connection from 7593 > 33887 > 33887 in the container. [21730 ms] Start: Run in container: /root/.vscode-server/bin/5554b12acf27056905806867f251c859323ff7e9/node -e [21732 ms] Port forwarding connection from 1026 > 33887 > 33887 in the container. [21733 ms] Start: Run in container: /root/.vscode-server/bin/5554b12acf27056905806867f251c859323ff7e9/node -e [26751 ms] Port forwarding 1029 > 33887 > 33887 stderr: Remote close [26785 ms] Port forwarding 1029 > 33887 > 33887 terminated with code 0 and signal null. [27909 ms] Start: Run in container: cat /proc/416/environ [29049 ms] Port forwarding 7593 > 33887 > 33887 stderr: Remote close [29066 ms] Port forwarding 1029 > 33887 > 33887: Local close [29074 ms] Port forwarding 7593 > 33887 > 33887 terminated with code 0 and signal null. [29088 ms] Port forwarding 7593 > 33887 > 33887: Local close [29292 ms] Port forwarding 1026 > 33887 > 33887 stderr: Remote close [29312 ms] Port forwarding 1026 > 33887 > 33887 terminated with code 0 and signal null. [29612 ms] Port forwarding 1025 > 33887 > 33887 stderr: Remote close [29643 ms] Port forwarding 1025 > 33887 > 33887 terminated with code 0 and signal null. [50626 ms] Port forwarding 1026 > 33887 > 33887: Local close [50626 ms] Port forwarding 1025 > 33887 > 33887: Local close [104231 ms] Port forwarding connection from 31657 > 33887 > 33887 in the container. [104233 ms] Start: Run in container: /root/.vscode-server/bin/5554b12acf27056905806867f251c859323ff7e9/node -e [113211 ms] Port forwarding 31657 > 33887 > 33887 stderr: Remote close [113224 ms] Port forwarding 31657 > 33887 > 33887 terminated with code 0 and signal null. [132371 ms] Port forwarding 31657 > 33887 > 33887: Local close [220969 ms] Start: Run in container: cat /proc/2645/environ [248465 ms] Start: Run in container: cat /proc/4003/environ ```
chrmarti commented 2 years ago

@AlbertoFabbri93 Could you rebuild the container and append the log from that? That will tell us if the pubring.kbx and trustdb.gpg files already were in the container image. You would have to remove them for us to copy your local files over. (@galtonova 's rebuild log shows that the files are copied over as required.)

Also check other config files in the container if they start the gpg-agent, e.g.: grep -i gpg ~/.*

AlbertoFabbri93 commented 2 years ago
Container rebuild log ``` [90 ms] Remote-Containers 0.217.1 in VS Code 1.64.1 (d6ee99e4c045a6716e5c653d7da8e9ae6f5a8b03). [90 ms] Start: Resolving Remote [115 ms] Setting up container for folder or workspace: c:\Users\albif\Documents\HKR courses\Methods for Sustainable Programming [156 ms] Start: Check Docker is running [156 ms] Start: Run: com.docker.cli version --format {{.Server.APIVersion}} [957 ms] Server API version: 1.41 [1067 ms] Start: Run: com.docker.cli ps -q -a --filter label=vsch.local.folder=c:\Users\albif\Documents\HKR courses\Methods for Sustainable Programming --filter label=vsch.quality=stable [1877 ms] Start: Run: com.docker.cli build -f c:\Users\albif\Documents\HKR courses\Methods for Sustainable Programming\.devcontainer\Dockerfile -t vsc-methodsforsustainableprogramming-8b45d8a04a2a2e9e27b0182ffa47f200 --no-cache --pull c:\Users\albif\Documents\HKR courses\Methods for Sustainable Programming [+] Building 112.5s (12/12) FINISHED => [internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 32B 0.0s => [internal] load .dockerignore 0.0s => => transferring context: 35B 0.0s => [internal] load metadata for docker.io/library/python:3.9-slim-buster 4.3s => [auth] library/python:pull token for registry-1.docker.io 0.0s => [internal] load build context 0.0s => => transferring context: 38B 0.0s => CACHED [1/7] FROM docker.io/library/python:3.9-slim-buster@sha256:57d86a0c1513fd410b0730a308bdc62658f484852d81ffeb4fc692043982927f 0.0s => [2/7] RUN apt-get update && apt-get install -y --no-install-recommends build-essential git gnupg2 python3-dev ssh-client graphviz && rm -rf /var/lib/ap 72.6s => [3/7] RUN python -m venv .venv 5.8s => [4/7] RUN .venv/bin/pip install pip --upgrade 4.4s => [5/7] ADD requirements.txt . 0.1s => [6/7] RUN .venv/bin/pip install -r requirements.txt 18.9s => exporting to image 6.2s => => exporting layers 6.2s => => writing image sha256:6e73d8328158ae529fa58cbda54381fe92b4a3074bc5f410e2a34030d6b22835 0.0s => => naming to docker.io/library/vsc-methodsforsustainableprogramming-8b45d8a04a2a2e9e27b0182ffa47f200 0.0s [115232 ms] Start: Run: com.docker.cli events --format {{json .}} --filter event=start [115277 ms] Start: Starting container [115278 ms] Start: Run: com.docker.cli run --sig-proxy=false -a STDOUT -a STDERR --mount source=c:\Users\albif\Documents\HKR courses\Methods for Sustainable Programming,target=/workspace,type=bind,consistency=delegated --mount type=volume,src=vscode,dst=/vscode -l vsch.local.folder=c:\Users\albif\Documents\HKR courses\Methods for Sustainable Programming -l vsch.quality=stable -l vsch.remote.devPort=0 --entrypoint /bin/sh vsc-methodsforsustainableprogramming-8b45d8a04a2a2e9e27b0182ffa47f200 -c echo Container started [117488 ms] Start: Run: com.docker.cli ps -q -a --filter label=vsch.local.folder=c:\Users\albif\Documents\HKR courses\Methods for Sustainable Programming --filter label=vsch.quality=stable Container started [118148 ms] Start: Run: com.docker.cli inspect --type container 29321158c18f [118836 ms] Start: Inspecting container [118836 ms] Start: Run: com.docker.cli inspect --type container 29321158c18fe5e867dac289c165333827e4b025d4f5ddea48b1b6955648ae02 [119566 ms] Start: Run in container: /bin/sh [119606 ms] Start: Run in container: uname -m [121878 ms] x86_64 [121879 ms] [121879 ms] Start: Run in container: (cat /etc/os-release || cat /usr/lib/os-release) 2>/dev/null [121883 ms] PRETTY_NAME="Debian GNU/Linux 10 (buster)" NAME="Debian GNU/Linux" VERSION_ID="10" VERSION="10 (buster)" VERSION_CODENAME=buster ID=debian HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/" [121883 ms] [121884 ms] Start: Run in container: cat /etc/passwd [121888 ms] Start: Updating configuration state [121925 ms] Start: Setup shutdown monitor [121927 ms] Forking shutdown monitor: c:\Users\albif\.vscode\extensions\ms-vscode-remote.remote-containers-0.217.1\dist\shutdown\shutdownMonitorProcess \\.\pipe\vscode-remote-containers-4c2fdca029f5da083a1fe4ec130b3edc4b49ae21-sock singleContainer Debug c:\Users\albif\AppData\Roaming\Code\logs\20220209T153732\exthost1\ms-vscode-remote.remote-containers 1644417707324 [121939 ms] Start: Run in container: test -d /root/.vscode-server [121948 ms] [121949 ms] [121949 ms] Exit code 1 [121952 ms] Start: Run in container: test -d /root/.vscode-remote [121955 ms] [121955 ms] [121955 ms] Exit code 1 [121956 ms] Start: Run in container: test -f /var/vscode-server/.patchEtcEnvironmentMarker [121959 ms] [121960 ms] [121960 ms] Exit code 1 [121961 ms] Start: Run in container: test ! -f '/var/vscode-server/.patchEtcEnvironmentMarker' && set -o noclobber && mkdir -p '/var/vscode-server' && { > '/var/vscode-server/.patchEtcEnvironmentMarker' ; } 2> /dev/null [121980 ms] [121982 ms] [121982 ms] Start: Run in container: cat >> /etc/environment <<'etcEnvrionmentEOF' [121993 ms] [121994 ms] [121994 ms] Start: Run in container: test -f /var/vscode-server/.patchEtcProfileMarker [122000 ms] [122001 ms] [122001 ms] Exit code 1 [122001 ms] Start: Run in container: test ! -f '/var/vscode-server/.patchEtcProfileMarker' && set -o noclobber && mkdir -p '/var/vscode-server' && { > '/var/vscode-server/.patchEtcProfileMarker' ; } 2> /dev/null [122009 ms] [122009 ms] [122010 ms] Start: Run in container: sed -i -E 's/((^|\s)PATH=)([^\$]*)$/\1${PATH:-\3}/g' /etc/profile || true [122026 ms] [122026 ms] [122026 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 [122035 ms] [122035 ms] [122036 ms] Start: Run in container: mkdir -p '/root/.vscode-server/data/Machine' && cat >'/root/.vscode-server/data/Machine/settings.json' <<'settingsJSON' [122043 ms] [122044 ms] [122045 ms] Start: Run in container: test -d /root/.vscode-server/bin/d6ee99e4c045a6716e5c653d7da8e9ae6f5a8b03 [122051 ms] [122052 ms] [122053 ms] Exit code 1 [122053 ms] Start: Run in container: test -d /vscode/vscode-server/bin/linux-x64/d6ee99e4c045a6716e5c653d7da8e9ae6f5a8b03 [122059 ms] [122059 ms] [122059 ms] Start: Run in container: mkdir -p '/root/.vscode-server/bin' && ln -snf '/vscode/vscode-server/bin/linux-x64/d6ee99e4c045a6716e5c653d7da8e9ae6f5a8b03' '/root/.vscode-server/bin/d6ee99e4c045a6716e5c653d7da8e9ae6f5a8b03' [122068 ms] [122069 ms] [122070 ms] Start: Run in container: touch '/vscode/vscode-server/bin/linux-x64/d6ee99e4c045a6716e5c653d7da8e9ae6f5a8b03' [122071 ms] Start: Launching Remote-Containers helper. [122072 ms] ssh-agent: SSH_AUTH_SOCK in container (/tmp/vscode-ssh-auth-4e367e62406e93e9a640b42a719daf7146a433c6.sock) forwarded to local host (\\.\pipe\openssh-ssh-agent). [122072 ms] Start: Run: gpgconf --list-dir agent-extra-socket [122079 ms] [122080 ms] [122212 ms] /c/Users/albif/.gnupg/S.gpg-agent.extra [122212 ms] [122213 ms] Start: Run in container: gpgconf --list-dir agent-socket [122224 ms] /root/.gnupg/S.gpg-agent [122225 ms] [122225 ms] Start: Run in container: gpgconf --list-dir homedir [122228 ms] /root/.gnupg [122228 ms] [122229 ms] Start: Run in container: ls '/root/.gnupg/private-keys-v1.d' 2>/dev/null [122233 ms] [122234 ms] [122234 ms] Exit code 2 [122234 ms] Start: Run in container: mkdir -p -m 700 '/root/.gnupg' [122235 ms] Start: Run in container: /bin/sh [122236 ms] userEnvProbe: loginInteractiveShell (default) [122237 ms] userEnvProbe shell: /bin/bash [122239 ms] [122239 ms] [122239 ms] Start: Run: gpgconf --list-dir homedir [122240 ms] Start: Run in container: # Test for /root/.ssh/known_hosts and ssh [122248 ms] [122248 ms] [122248 ms] Start: Run in container: # Copy C:\Users\albif\.ssh\known_hosts to /root/.ssh/known_hosts [122258 ms] [122258 ms] [122258 ms] Start: Run in container: command -v git >/dev/null 2>&1 && git config --system --replace-all credential.helper '!f() { /root/.vscode-server/bin/d6ee99e4c045a6716e5c653d7da8e9ae6f5a8b03/node /tmp/vscode-remote-containers-4e367e62406e93e9a640b42a719daf7146a433c6.js $*; }; f' || true [122277 ms] [122277 ms] [122278 ms] Start: Preparing Extensions [122279 ms] Start: Run in container: test ! -f '/root/.vscode-server/data/Machine/.installExtensionsMarker' && set -o noclobber && mkdir -p '/root/.vscode-server/data/Machine' && { > '/root/.vscode-server/data/Machine/.installExtensionsMarker' ; } 2> /dev/null [122285 ms] [122285 ms] [122292 ms] Extensions cache, install extensions: ms-python.python, ms-python.vscode-pylance, ryanluker.vscode-coverage-gutters, gitlab.gitlab-workflow, tht13.html-preview-vscode, peakchen90.open-html-in-browser, eamodio.gitlens [122293 ms] Start: Run in container: test -d /root/.vscode-server/extensionsCache && ls /root/.vscode-server/extensionsCache || true [122297 ms] [122297 ms] [122298 ms] Start: Run in container: test -d /vscode/vscode-server/extensionsCache && ls /vscode/vscode-server/extensionsCache || true [122305 ms] bungcip.better-toml-0.3.2 eamodio.gitlens-11.4.1 eamodio.gitlens-11.7.0 gitlab.gitlab-workflow-3.19.0 gitlab.gitlab-workflow-3.20.0 gitlab.gitlab-workflow-3.40.2 ms-python.python-2021.4.765268190 ms-python.python-2021.5.829140558 ms-python.python-2021.5.840043038 ms-python.python-2022.0.1786462952 ms-python.python-2022.0.1814523869 ms-python.vscode-pylance-2021.4.3 ms-python.vscode-pylance-2021.5.1 ms-python.vscode-pylance-2021.5.2 ms-python.vscode-pylance-2022.2.0 ms-toolsai.jupyter-2021.5.745244803 ms-toolsai.jupyter-2021.6.811652604 ms-toolsai.jupyter-2021.6.832593372 ms-toolsai.jupyter-2022.1.1001775990 ms-toolsai.jupyter-keymap-1.0.0 ms-toolsai.jupyter-renderers-1.0.6 mutantdino.resourcemonitor-1.0.7 peakchen90.open-html-in-browser-2.1.3 peakchen90.open-html-in-browser-2.1.4 peakchen90.open-html-in-browser-2.1.8 rust-lang.rust-0.7.8 ryanluker.vscode-coverage-gutters-2.7.3 ryanluker.vscode-coverage-gutters-2.9.1 tht13.html-preview-vscode-0.2.5 vadimcn.vscode-lldb-1.6.3 [122306 ms] [122306 ms] Extensions cache, link in container: eamodio.gitlens-11.4.1, eamodio.gitlens-11.7.0, gitlab.gitlab-workflow-3.19.0, gitlab.gitlab-workflow-3.20.0, gitlab.gitlab-workflow-3.40.2, ms-python.python-2021.4.765268190, ms-python.python-2021.5.829140558, ms-python.python-2021.5.840043038, ms-python.python-2022.0.1786462952, ms-python.python-2022.0.1814523869, ms-python.vscode-pylance-2021.4.3, ms-python.vscode-pylance-2021.5.1, ms-python.vscode-pylance-2021.5.2, ms-python.vscode-pylance-2022.2.0, peakchen90.open-html-in-browser-2.1.3, peakchen90.open-html-in-browser-2.1.4, peakchen90.open-html-in-browser-2.1.8, ryanluker.vscode-coverage-gutters-2.7.3, ryanluker.vscode-coverage-gutters-2.9.1, tht13.html-preview-vscode-0.2.5 [122307 ms] Start: Run in container: mkdir -p '/root/.vscode-server/extensionsCache' && ln -s '/vscode/vscode-server/extensionsCache'/* '/root/.vscode-server/extensionsCache' || true [122322 ms] Start: Run in container: cat <<'EOF-/tmp/vscode-remote-containers-4e367e62406e93e9a640b42a719daf7146a433c6.js' >/tmp/vscode-remote-containers-4e367e62406e93e9a640b42a719daf7146a433c6.js [122324 ms] [122324 ms] [122326 ms] Start: Run in container: cd /vscode/vscode-server/extensionsCache && touch 'eamodio.gitlens-11.4.1' 'eamodio.gitlens-11.7.0' 'gitlab.gitlab-workflow-3.19.0' 'gitlab.gitlab-workflow-3.20.0' 'gitlab.gitlab-workflow-3.40.2' 'ms-python.python-2021.4.765268190' 'ms-python.python-2021.5.829140558' 'ms-python.python-2021.5.840043038' 'ms-python.python-2022.0.1786462952' 'ms-python.python-2022.0.1814523869' 'ms-python.vscode-pylance-2021.4.3' 'ms-python.vscode-pylance-2021.5.1' 'ms-python.vscode-pylance-2021.5.2' 'ms-python.vscode-pylance-2022.2.0' 'peakchen90.open-html-in-browser-2.1.3' 'peakchen90.open-html-in-browser-2.1.4' 'peakchen90.open-html-in-browser-2.1.8' 'ryanluker.vscode-coverage-gutters-2.7.3' 'ryanluker.vscode-coverage-gutters-2.9.1' 'tht13.html-preview-vscode-0.2.5' [122345 ms] [122346 ms] [122346 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 " [122457 ms] Start: Run in container: cat '/root/.vscode-server/data/Machine/.connection-token-d6ee99e4c045a6716e5c653d7da8e9ae6f5a8b03' 2>/dev/null || (umask 377 && echo '81d024fa-67ca-40d2-8de8-13fa2be56b04' >'/root/.vscode-server/data/Machine/.connection-token-d6ee99e4c045a6716e5c653d7da8e9ae6f5a8b03-0fee1899-c202-45cc-a10a-42990acb4ca7' && mv -n '/root/.vscode-server/data/Machine/.connection-token-d6ee99e4c045a6716e5c653d7da8e9ae6f5a8b03-0fee1899-c202-45cc-a10a-42990acb4ca7' '/root/.vscode-server/data/Machine/.connection-token-d6ee99e4c045a6716e5c653d7da8e9ae6f5a8b03' && rm -f '/root/.vscode-server/data/Machine/.connection-token-d6ee99e4c045a6716e5c653d7da8e9ae6f5a8b03-0fee1899-c202-45cc-a10a-42990acb4ca7' && cat '/root/.vscode-server/data/Machine/.connection-token-d6ee99e4c045a6716e5c653d7da8e9ae6f5a8b03') [122472 ms] /c/Users/albif/.gnupg [122472 ms] [122474 ms] 81d024fa-67ca-40d2-8de8-13fa2be56b04 [122475 ms] [122475 ms] Start: Run in container: gpgconf --list-dir homedir [122475 ms] Start: Starting VS Code Server [122479 ms] /root/.gnupg [122479 ms] [122480 ms] Start: Run in container: # Test for /root/.gnupg/pubring.kbx and gpg [122484 ms] [122484 ms] [122484 ms] Start: Run in container: # Copy c:\Users\albif\.gnupg\pubring.kbx to /root/.gnupg/pubring.kbx [122491 ms] [122491 ms] [122492 ms] Start: Run in container: # Test for /root/.gnupg/trustdb.gpg and gpg [122499 ms] [122499 ms] [122500 ms] Start: Run in container: # Copy c:\Users\albif\.gnupg\trustdb.gpg to /root/.gnupg/trustdb.gpg [122507 ms] [122507 ms] [122508 ms] Start: Run: gpg-connect-agent updatestartuptty /bye [123425 ms] [123425 ms] [123425 ms] Start: Run in container: cat <<'EOF-/tmp/vscode-remote-containers-server-4e367e62406e93e9a640b42a719daf7146a433c6.js' >/tmp/vscode-remote-containers-server-4e367e62406e93e9a640b42a719daf7146a433c6.js_1644417830749 [123431 ms] [123432 ms] [123437 ms] Start: Run in Container: /root/.vscode-server/bin/d6ee99e4c045a6716e5c653d7da8e9ae6f5a8b03/bin/code-server --log debug --force-disable-user-env --use-host-proxy --accept-server-license-terms --host 127.0.0.1 --port 0 --connection-token-file /root/.vscode-server/data/Machine/.connection-token-d6ee99e4c045a6716e5c653d7da8e9ae6f5a8b03 --extensions-download-dir /root/.vscode-server/extensionsCache --install-extension ms-python.python --install-extension ms-python.vscode-pylance --install-extension ryanluker.vscode-coverage-gutters --install-extension gitlab.gitlab-workflow --install-extension tht13.html-preview-vscode --install-extension peakchen90.open-html-in-browser --install-extension eamodio.gitlens --start-server --disable-websocket-compression [123800 ms] userEnvProbe PATHs: Probe: '/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' Container: '/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' [123802 ms] * * Visual Studio Code Server * * Reminder: You may only use this software with Visual Studio family products, * as described in the license https://aka.ms/vscode-remote/license * Extension host agent listening on 41809 [123802 ms] Start: Run in container: echo 41809 >'/root/.vscode-server/data/Machine/.devport-d6ee99e4c045a6716e5c653d7da8e9ae6f5a8b03' [123806 ms] [123806 ms] [123806 ms] Port forwarding for container port 41809 starts listening on local port. [123807 ms] Port forwarding local port 41809 to container port 41809 [123808 ms] Start: Run in container: test ! -f '/root/.vscode-server/data/Machine/.onCreateCommandMarker' && set -o noclobber && mkdir -p '/root/.vscode-server/data/Machine' && { > '/root/.vscode-server/data/Machine/.onCreateCommandMarker' ; } 2> /dev/null [123812 ms] [123813 ms] [123813 ms] Start: Run in container: test ! -f '/root/.vscode-server/data/Machine/.updateContentCommandMarker' && set -o noclobber && mkdir -p '/root/.vscode-server/data/Machine' && { > '/root/.vscode-server/data/Machine/.updateContentCommandMarker' ; } 2> /dev/null [123847 ms] [123848 ms] [123849 ms] Start: Run in container: test ! -f '/root/.vscode-server/data/Machine/.postCreateCommandMarker' && set -o noclobber && mkdir -p '/root/.vscode-server/data/Machine' && { > '/root/.vscode-server/data/Machine/.postCreateCommandMarker' ; } 2> /dev/null [123860 ms] [123860 ms] [123864 ms] Start: Run in container: # Test for /root/.gitconfig and git [123875 ms] [123875 ms] [123875 ms] Start: Run in container: # Copy C:\Users\albif\.gitconfig to /root/.gitconfig [123883 ms] [123883 ms] [123885 ms] Start: Run in container: command -v git >/dev/null 2>&1 && git config --global --replace-all credential.helper '!f() { /root/.vscode-server/bin/d6ee99e4c045a6716e5c653d7da8e9ae6f5a8b03/node /tmp/vscode-remote-containers-4e367e62406e93e9a640b42a719daf7146a433c6.js $*; }; f' || true [123893 ms] [123894 ms] [123894 ms] Start: Run in container: mkdir -p '/root/.vscode-server/data/Machine' && [ "$(cat '/root/.vscode-server/data/Machine/.postStartCommandMarker' 2>/dev/null)" != '2022-02-09T14:43:44.7971561Z' ] && echo '2022-02-09T14:43:44.7971561Z' > '/root/.vscode-server/data/Machine/.postStartCommandMarker' [123896 ms] Port forwarding connection from 7856 > 41809 > 41809 in the container. [123896 ms] Start: Run in container: /root/.vscode-server/bin/d6ee99e4c045a6716e5c653d7da8e9ae6f5a8b03/node -e [123906 ms] [123906 ms] [124335 ms] Installing extensions... [124337 ms] [14:43:51] Extension host agent started. [124876 ms] Installing extension 'ms-python.vscode-pylance'... [124892 ms] Installing extension 'ms-python.python'... [124976 ms] Installing extension 'ryanluker.vscode-coverage-gutters'... [124993 ms] Installing extension 'gitlab.gitlab-workflow'... [125002 ms] Installing extension 'peakchen90.open-html-in-browser'... [125022 ms] Installing extension 'tht13.html-preview-vscode'... [125061 ms] [14:43:52] ExtensionManagementService#TargetPlatform: linux-x64 [125063 ms] [14:43:52] Getting Manifest... ms-python.vscode-pylance [125063 ms] [14:43:52] Getting Manifest... ms-python.python [125070 ms] [14:43:52] Getting Manifest... ryanluker.vscode-coverage-gutters [125070 ms] [14:43:52] Getting Manifest... gitlab.gitlab-workflow [125071 ms] [14:43:52] Getting Manifest... peakchen90.open-html-in-browser [14:43:52] Getting Manifest... tht13.html-preview-vscode [125230 ms] Installing extension 'eamodio.gitlens'... [125230 ms] [14:43:52] Getting Manifest... eamodio.gitlens [125256 ms] [14:43:52] Installing extension: ryanluker.vscode-coverage-gutters [125266 ms] [14:43:52] Installing extension: peakchen90.open-html-in-browser [125282 ms] [14:43:52] Installing extension: gitlab.gitlab-workflow [125330 ms] [14:43:52] Installing extension: ms-python.vscode-pylance [125391 ms] [14:43:52] Installing extension: tht13.html-preview-vscode [125411 ms] [14:43:52] Installing extension: ms-python.python [125648 ms] [14:43:52] Installing extension: eamodio.gitlens [125787 ms] Port forwarding connection from 1024 > 41809 > 41809 in the container. [125788 ms] Start: Run in container: /root/.vscode-server/bin/d6ee99e4c045a6716e5c653d7da8e9ae6f5a8b03/node -e [125893 ms] [14:43:53] [127.0.0.1][4147406e][ManagementConnection] New connection established. [126930 ms] [14:43:54] Getting Manifest... ms-python.python [127524 ms] [14:43:54] [127.0.0.1][ec8db1e1][ExtensionHostConnection] New connection established. [127545 ms] [14:43:54] [127.0.0.1][ec8db1e1][ExtensionHostConnection] <262> Launched Extension Host Process. [127925 ms] [14:43:55] Downloaded extension: peakchen90.open-html-in-browser /root/.vscode-server/extensionsCache/peakchen90.open-html-in-browser-2.1.8 [127926 ms] [14:43:55] Downloaded extension: ryanluker.vscode-coverage-gutters /root/.vscode-server/extensionsCache/ryanluker.vscode-coverage-gutters-2.9.1 [127934 ms] [14:43:55] Downloaded extension: gitlab.gitlab-workflow /root/.vscode-server/extensionsCache/gitlab.gitlab-workflow-3.40.2 [127948 ms] [14:43:55] Downloaded extension: tht13.html-preview-vscode /root/.vscode-server/extensionsCache/tht13.html-preview-vscode-0.2.5 [127974 ms] [14:43:55] Downloaded extension: eamodio.gitlens /root/.vscode-server/extensionsCache/eamodio.gitlens-11.7.0 [128012 ms] [14:43:55] Getting Manifest... ms-toolsai.jupyter [128310 ms] [14:43:55] Getting Manifest... ms-toolsai.jupyter-keymap [128412 ms] [14:43:55] Getting Manifest... ms-toolsai.jupyter-renderers [128593 ms] [14:43:55] Getting Manifest... ms-python.vscode-pylance [128778 ms] [14:43:56] Getting Manifest... ms-toolsai.jupyter [128957 ms] [14:43:56] Installing extension: ms-toolsai.jupyter [128962 ms] [14:43:56] Installing extension: ms-toolsai.jupyter-keymap [128963 ms] [14:43:56] Installing extension: ms-toolsai.jupyter-renderers [14:43:56] Extension is already requested to install ms-python.vscode-pylance [129213 ms] [14:43:56] Getting Manifest... ms-toolsai.jupyter-keymap [129399 ms] [14:43:56] Downloaded extension: ms-python.python /root/.vscode-server/extensionsCache/ms-python.python-2022.0.1814523869 [129400 ms] [14:43:56] Downloaded extension: ms-toolsai.jupyter /root/.vscode-server/extensionsCache/ms-toolsai.jupyter-2022.1.1001775990 [129400 ms] [14:43:56] Downloaded extension: ms-toolsai.jupyter-keymap /root/.vscode-server/extensionsCache/ms-toolsai.jupyter-keymap-1.0.0 [129401 ms] [14:43:56] Downloaded extension: ms-toolsai.jupyter-renderers /root/.vscode-server/extensionsCache/ms-toolsai.jupyter-renderers-1.0.6 [129401 ms] [14:43:56] Getting Manifest... ms-toolsai.jupyter-renderers [129734 ms] [14:43:57] Extension is already requested to install ms-python.python [129734 ms] [14:43:57] Extension is already requested to install ms-toolsai.jupyter [14:43:57] Extension is already requested to install ms-toolsai.jupyter-keymap [129735 ms] [14:43:57] Extension is already requested to install ms-toolsai.jupyter-renderers [129879 ms] [14:43:57] Downloaded extension: ms-python.vscode-pylance /root/.vscode-server/extensionsCache/ms-python.vscode-pylance-2022.2.0 [129912 ms] [14:43:57] Extracted extension to /root/.vscode-server/extensions/.bfea3d82-60a1-47f8-8a1d-b5088925c0d0: ms-toolsai.jupyter-keymap [129949 ms] [14:43:57] Renamed to /root/.vscode-server/extensions/ms-toolsai.jupyter-keymap-1.0.0 [129960 ms] [14:43:57] Extracting completed. ms-toolsai.jupyter-keymap [130788 ms] [14:43:58] Extracted extension to /root/.vscode-server/extensions/.12e73d5a-ed4c-479e-babf-b241bc0192c1: gitlab.gitlab-workflow [130878 ms] [14:43:58] Renamed to /root/.vscode-server/extensions/gitlab.gitlab-workflow-3.40.2 [130932 ms] [14:43:58] Extracting completed. gitlab.gitlab-workflow [130933 ms] [14:43:58] Extension installed successfully: gitlab.gitlab-workflow [130940 ms] Extension 'gitlab.gitlab-workflow' v3.40.2 was successfully installed. [131221 ms] Port forwarding connection from 1026 > 41809 > 41809 in the container. [131223 ms] Start: Run in container: /root/.vscode-server/bin/d6ee99e4c045a6716e5c653d7da8e9ae6f5a8b03/node -e [133785 ms] [14:44:01] Extracted extension to /root/.vscode-server/extensions/.b629c8fa-bc1f-40c1-be6a-45d9ffad1b8a: ms-toolsai.jupyter-renderers [133837 ms] [14:44:01] Renamed to /root/.vscode-server/extensions/ms-toolsai.jupyter-renderers-1.0.6 [133850 ms] [14:44:01] Extracting completed. ms-toolsai.jupyter-renderers [135272 ms] [14:44:02] Extracted extension to /root/.vscode-server/extensions/.8aa38ef3-775b-48ca-8059-c870dbb3c359: eamodio.gitlens [135346 ms] [14:44:02] Renamed to /root/.vscode-server/extensions/eamodio.gitlens-11.7.0 [135373 ms] [14:44:02] Extracting completed. eamodio.gitlens [135375 ms] [14:44:02] Extension installed successfully: eamodio.gitlens [135397 ms] Extension 'eamodio.gitlens' v11.7.0 was successfully installed. [137886 ms] Port forwarding 1026 > 41809 > 41809 stderr: Remote close [137904 ms] Port forwarding 1026 > 41809 > 41809 terminated with code 0 and signal null. [138190 ms] [14:44:05] Extracted extension to /root/.vscode-server/extensions/.f20bdcd3-07c1-4bc8-aa15-4114be1526c6: ryanluker.vscode-coverage-gutters [138210 ms] [14:44:05] Renamed to /root/.vscode-server/extensions/ryanluker.vscode-coverage-gutters-2.9.1 [138216 ms] [14:44:05] Extracting completed. ryanluker.vscode-coverage-gutters [138217 ms] [14:44:05] Extension installed successfully: ryanluker.vscode-coverage-gutters [138220 ms] Extension 'ryanluker.vscode-coverage-gutters' v2.9.1 was successfully installed. [138345 ms] Port forwarding 1026 > 41809 > 41809: Local close [138961 ms] [14:44:06] Extracted extension to /root/.vscode-server/extensions/.31ceb0a4-2b00-48c5-8486-6bbd3cc4a9c1: ms-toolsai.jupyter [139017 ms] [14:44:06] Renamed to /root/.vscode-server/extensions/ms-toolsai.jupyter-2022.1.1001775990 [139038 ms] [14:44:06] Extracting completed. ms-toolsai.jupyter [139644 ms] [14:44:06] Extracted extension to /root/.vscode-server/extensions/.3d4580d1-f9cb-4930-b58f-1d83b0c7bd41: peakchen90.open-html-in-browser [139662 ms] [14:44:06] Renamed to /root/.vscode-server/extensions/peakchen90.open-html-in-browser-2.1.8 [139666 ms] [14:44:06] Extracting completed. peakchen90.open-html-in-browser [139666 ms] [14:44:06] Extension installed successfully: peakchen90.open-html-in-browser [139667 ms] Extension 'peakchen90.open-html-in-browser' v2.1.8 was successfully installed. [141115 ms] [14:44:08] Extracted extension to /root/.vscode-server/extensions/.956fe2be-18fb-4385-9584-01de5866f80a: tht13.html-preview-vscode [141130 ms] [14:44:08] Renamed to /root/.vscode-server/extensions/tht13.html-preview-vscode-0.2.5 [141135 ms] [14:44:08] Extracting completed. tht13.html-preview-vscode [141135 ms] [14:44:08] Extension installed successfully: tht13.html-preview-vscode [141136 ms] Extension 'tht13.html-preview-vscode' v0.2.5 was successfully installed. [144443 ms] [14:44:11] Extracted extension to /root/.vscode-server/extensions/.677101a3-bbb7-4ef5-aa7c-41ac1d455143: ms-python.python [144472 ms] [14:44:11] Renamed to /root/.vscode-server/extensions/ms-python.python-2022.0.1814523869 [144479 ms] [14:44:11] Extracting completed. ms-python.python [144481 ms] [14:44:11] Extension installed successfully: ms-toolsai.jupyter-keymap [144483 ms] [14:44:11] Extension installed successfully: ms-toolsai.jupyter-renderers [144484 ms] [14:44:11] Extension installed successfully: ms-toolsai.jupyter [144486 ms] [14:44:11] Extension installed successfully: ms-python.python [144497 ms] Extension 'ms-python.python' v2022.0.1814523869 was successfully installed. [147710 ms] [14:44:15] Extracted extension to /root/.vscode-server/extensions/.bcb65b0e-62b1-4df4-a548-af9c0603c38e: ms-python.vscode-pylance [147746 ms] [14:44:15] Renamed to /root/.vscode-server/extensions/ms-python.vscode-pylance-2022.2.0 [147749 ms] [14:44:15] Extracting completed. ms-python.vscode-pylance [147749 ms] [14:44:15] Extension installed successfully: ms-python.vscode-pylance [147753 ms] Extension 'ms-python.vscode-pylance' v2022.2.0 was successfully installed. ```

It looks like pubring.kbx and trustdb.gpg get copied over.

AlbertoFabbri93 commented 2 years ago

This is what I get if I execute grep -i gpg ~/.*:

grep: /root/.: Is a directory
grep: /root/..: Is a directory
grep: /root/.cache: Is a directory
/root/.gitconfig:       gpgsign = true
/root/.gitconfig:       # gpgsign = true
grep: /root/.gnupg: Is a directory
grep: /root/.ssh: Is a directory
grep: /root/.vscode-server: Is a directory

To me everything looks fine, I tried a few other variations of the above command but I didn't see anything unusual. Do you have any other idea?

chrmarti commented 2 years ago

@AlbertoFabbri93 Could you append your devcontainer.json and Dockerfile (and docker-compose.yml if you use one)?

AlbertoFabbri93 commented 2 years ago
Dockerfile ``` # The FROM instruction specifies the Parent Image from which you are building FROM python:3.9-slim-buster # Avoid error while installing python packages and clear apt cache RUN apt-get update && apt-get install -y --no-install-recommends \ build-essential \ git \ gnupg2 \ python3-dev \ ssh-client \ graphviz \ && rm -rf /var/lib/apt/lists/* # The WORKDIR command is used to define the working directory of a Docker container at any given time # Any RUN, CMD, ADD, COPY, or ENTRYPOINT command will be executed in the specified working directory WORKDIR / # Install pip requirements in Python virtual environments ENV VIRTUAL_ENV=.venv RUN python -m venv $VIRTUAL_ENV RUN $VIRTUAL_ENV/bin/pip install pip --upgrade # While similar, ADD and COPY are actually different commands # COPY is the simplest of the two, since it just copies a file or a directory from your host to your image # ADD does this too, but also has some more magical features like extracting TAR files or fetching files from remote URLs ADD requirements.txt . RUN $VIRTUAL_ENV/bin/pip install -r requirements.txt # Switching to a non-root user, please refer to https://aka.ms/vscode-docker-python-user-rights # RUN useradd appuser && chown -R appuser /app # USER appuser # -------------------------------------------- # EXPOSE and ENV are cheap commands to run. If you bust the cache for them, rebuilding them is almost instantaneous. # Therefore, it’s best to declare these commands as late as possible. # You should only ever declare ENVs whenever you need them in your build process. # Makes sure the Python interpreter see the setup.py file (thus it knows about the package) ENV PYTHONPATH="${PYTHONPATH}:/workspace" # Keeps Python from generating .pyc files in the container ENV PYTHONDONTWRITEBYTECODE=1 # Turns off buffering for easier container logging ENV PYTHONUNBUFFERED=1 # -------------------------------------------- ```
devcontainer.json ``` { "name": "Methods for Sustainable Programming Container", "dockerFile": "Dockerfile", "context": "..", "workspaceMount": "source=${localWorkspaceFolder},target=/workspace,type=bind,consistency=delegated", "workspaceFolder": "/workspace", "extensions": [ "ms-python.python", "ms-python.vscode-pylance", "ryanluker.vscode-coverage-gutters", "gitlab.gitlab-workflow", "tht13.html-preview-vscode", "peakchen90.open-html-in-browser", "eamodio.gitlens" ], "settings": { "python.pythonPath": "/.venv/bin/python3", } } ```
chrmarti commented 2 years ago

Using:

# The FROM instruction specifies the Parent Image from which you are building
FROM python:3.9-slim-buster

# Avoid error while installing python packages and clear apt cache
RUN apt-get update && apt-get install -y --no-install-recommends \
    build-essential \
    git \
    gnupg2 \
    python3-dev \
    ssh-client \
    graphviz \
    && rm -rf /var/lib/apt/lists/*

I get a dev container with:

root@c0852832510a:~# ls -la .gnupg/
total 340
drwx------ 2 root root   4096 Feb 11 07:20 .
drwx------ 1 root root   4096 Feb 11 07:20 ..
srwxr-xr-x 1 root root      0 Feb 11 07:20 S.gpg-agent
-rw-r--r-- 1 root root 332112 Feb 11 07:20 pubring.kbx
-rw-r--r-- 1 root root   1280 Feb 11 07:20 trustdb.gpg

And no gpg-agent running. If the gpg-agent is started in the container, it takes over without having the private keys available.

The suggested test seems to work:

root@c0852832510a:~# echo test | gpg2 --clearsign
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

test

Do you have a dotfiles repository configured in your user settings?

AlbertoFabbri93 commented 2 years ago

I tried echo test | gpg2 --clearsign but it does not work. I am not entirely sure what do you want to know with your last question... do you mean if I save all my configuration dotfiles inside a git repo?

AlbertoFabbri93 commented 2 years ago

Do you have any news?

chrmarti commented 2 years ago

You can configure a dotfiles repository in your VS Code user settings which could affect the outcome here.

Have you tried using the above Dockerfile? With this: Is the gpg-agent running inside the container? (It should not.)

AlbertoFabbri93 commented 2 years ago

You can configure a dotfiles repository in your VS Code user settings which could affect the outcome here.

No, I have not done that.

Have you tried using the above Dockerfile? With this: Is the gpg-agent running inside the container? (It should not.)

With the above Dockerfile the behaviour is exactly the same as usual. If I type pgrep gpg-agent before trying to commit with git I get nothing. If I try to commit I get the usual gpg error and if I then execute pgrep gpg-agent I get the ID of that process. If I kill the gpg-agent it is re-started every time I try to commit with git.

chrmarti commented 2 years ago

Does echo test | gpg2 --clearsign work on your local machine?

Could you:

Log level setting:

image
AlbertoFabbri93 commented 2 years ago

Does echo test | gpg2 --clearsign work on your local machine?

No, only echo test | gpg --clearsign works.

Could you:

  • Set Remote-Containers log level to 'trace' in the user settings.

  • Rebuild the container (using the above Dockerfile) to start from scratch.

  • Run ls -la ~/.gnupg/ in the container and post its output here.
root@1ee27b7746af:/workspaces/test# ls -la ~/.gnupg/
total 16
drwx------ 2 root root 4096 Feb 23 17:27 .
drwx------ 1 root root 4096 Feb 23 17:27 ..
srwxr-xr-x 1 root root    0 Feb 23 17:27 S.gpg-agent
-rw-r--r-- 1 root root 2498 Feb 23 17:27 pubring.kbx
-rw-r--r-- 1 root root 1280 Feb 23 17:27 trustdb.gpg
  • Run echo test | gpg2 --clearsign in the container and post its output here.
root@1ee27b7746af:/workspaces/test# echo test | gpg2 --clearsign
gpg: can't connect to the agent: End of file
gpg: no default secret key: No secret key
gpg: [stdin]: clear-sign failed: No secret key
root@1ee27b7746af:/workspaces/test# echo test | gpg --clearsign
gpg: no default secret key: No secret key
gpg: [stdin]: clear-sign failed: No secret key
  • Post the log output here. (F1 > Remote-Containers: Show Container Log)

Log level setting: image

Container log ``` [79 ms] Remote-Containers 0.217.4 in VS Code 1.64.2 (f80445acd5a3dadef24aa209168452a3d97cc326). [78 ms] Start: Resolving Remote [103 ms] Setting up container for folder or workspace: c:\Users\albif\Documents\test [118 ms] Start: Check Docker is running [118 ms] Start: Run: com.docker.cli version --format {{.Server.APIVersion}} [897 ms] Stop (779 ms): Run: com.docker.cli version --format {{.Server.APIVersion}} [898 ms] Server API version: 1.41 [898 ms] Stop (780 ms): Check Docker is running [977 ms] Start: Run: git rev-parse --show-cdup [1053 ms] Stop (76 ms): Run: git rev-parse --show-cdup [1055 ms] Start: Run: com.docker.cli ps -q -a --filter label=vsch.local.folder=c:\Users\albif\Documents\test --filter label=vsch.quality=stable [1832 ms] Stop (777 ms): Run: com.docker.cli ps -q -a --filter label=vsch.local.folder=c:\Users\albif\Documents\test --filter label=vsch.quality=stable [1833 ms] Start: Run: com.docker.cli inspect --type container 74ef35895ce6 [2683 ms] Stop (850 ms): Run: com.docker.cli inspect --type container 74ef35895ce6 [2683 ms] Start: Removing Existing Container [2683 ms] Start: Run: com.docker.cli rm -f 74ef35895ce66d823cdaecd0e35987db9d3e40e7bbef50369ca866b680c0fdbd [3717 ms] Stop (1034 ms): Run: com.docker.cli rm -f 74ef35895ce66d823cdaecd0e35987db9d3e40e7bbef50369ca866b680c0fdbd [3717 ms] Stop (1034 ms): Removing Existing Container [3719 ms] Start: Run: com.docker.cli build -f c:\Users\albif\Documents\test\Dockerfile -t vsc-test-85876c52ac44e4cbd3036eb229a1fca6 c:\Users\albif\Documents\test [+] Building 3.5s (7/7) FINISHED => [internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 32B 0.0s => [internal] load .dockerignore 0.0s => => transferring context: 2B 0.0s => [internal] load metadata for docker.io/library/python:3.9-slim-buster 3.2s => [auth] library/python:pull token for registry-1.docker.io 0.0s => [1/2] FROM docker.io/library/python:3.9-slim-buster@sha256:57d86a0c15 0.0s => CACHED [2/2] RUN apt-get update && apt-get install -y --no-install-re 0.0s => exporting to image 0.1s => => exporting layers 0.0s => => writing image sha256:cf8879e3c4becac84c5d0a91eada7249329ecc759417c 0.1s => => naming to docker.io/library/vsc-test-85876c52ac44e4cbd3036eb229a1f 0.0s [8033 ms] Stop (4314 ms): Run: com.docker.cli build -f c:\Users\albif\Documents\test\Dockerfile -t vsc-test-85876c52ac44e4cbd3036eb229a1fca6 c:\Users\albif\Documents\test [8038 ms] Start: Run: com.docker.cli events --format {{json .}} --filter event=start [8077 ms] Start: Starting container [8078 ms] Start: Run: com.docker.cli run --sig-proxy=false -a STDOUT -a STDERR --mount type=bind,source=c:\Users\albif\Documents\test,target=/workspaces/test,consistency=cached --mount type=volume,src=vscode,dst=/vscode -l vsch.local.folder=c:\Users\albif\Documents\test -l vsch.quality=stable -l vsch.remote.devPort=0 --entrypoint /bin/sh vsc-test-85876c52ac44e4cbd3036eb229a1fca6 -c echo Container started [9242 ms] Log: startEventSeen#data {"status":"start","id":"1ee27b7746afc0d923e8a0142b48b5831b380ff3b0dc5e010f271f93196a01fa","from":"vsc-test-85876c52ac44e4cbd3036eb229a1fca6","Type":"container","Action":"start","Actor":{"ID":"1ee27b7746afc0d923e8a0142b48b5831b380ff3b0dc5e010f271f93196a01fa","Attributes":{"desktop.docker.io/mounts/0/Source":"c:\\Users\\albif\\Documents\\test","desktop.docker.io/mounts/0/SourceKind":"hostFile","desktop.docker.io/mounts/0/Target":"/workspaces/test","image":"vsc-test-85876c52ac44e4cbd3036eb229a1fca6","name":"confident_bardeen","vsch.local.folder":"c:\\Users\\albif\\Documents\\test","vsch.quality":"stable","vsch.remote.devPort":"0"}},"scope":"local","time":1645637251,"timeNano":1645637251997475000} [9244 ms] Stop (1167 ms): Starting container [9244 ms] Start: Run: com.docker.cli ps -q -a --filter label=vsch.local.folder=c:\Users\albif\Documents\test --filter label=vsch.quality=stable [9252 ms] Stop (1214 ms): Run: com.docker.cli events --format {{json .}} --filter event=start Container started [10054 ms] Stop (810 ms): Run: com.docker.cli ps -q -a --filter label=vsch.local.folder=c:\Users\albif\Documents\test --filter label=vsch.quality=stable [10055 ms] Start: Run: com.docker.cli inspect --type container 1ee27b7746af [10837 ms] Stop (782 ms): Run: com.docker.cli inspect --type container 1ee27b7746af [10838 ms] Start: Inspecting container [10838 ms] Start: Run: com.docker.cli inspect --type container 1ee27b7746afc0d923e8a0142b48b5831b380ff3b0dc5e010f271f93196a01fa [11576 ms] Stop (738 ms): Run: com.docker.cli inspect --type container 1ee27b7746afc0d923e8a0142b48b5831b380ff3b0dc5e010f271f93196a01fa [11576 ms] Stop (738 ms): Inspecting container [11578 ms] Start: Run in container: /bin/sh [11611 ms] Start: Run in container: uname -m [12582 ms] x86_64 [12583 ms] [12583 ms] Stop (972 ms): Run in container: uname -m [12583 ms] Start: Run in container: (cat /etc/os-release || cat /usr/lib/os-release) 2>/dev/null [12590 ms] PRETTY_NAME="Debian GNU/Linux 10 (buster)" NAME="Debian GNU/Linux" VERSION_ID="10" VERSION="10 (buster)" VERSION_CODENAME=buster ID=debian HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/" [12590 ms] [12590 ms] Stop (7 ms): Run in container: (cat /etc/os-release || cat /usr/lib/os-release) 2>/dev/null [12591 ms] Start: Run in container: cat /etc/passwd [12594 ms] Stop (3 ms): Run in container: cat /etc/passwd [12595 ms] Start: Updating configuration state [12618 ms] Stop (23 ms): Updating configuration state [12618 ms] Start: Setup shutdown monitor [12619 ms] Forking shutdown monitor: c:\Users\albif\.vscode\extensions\ms-vscode-remote.remote-containers-0.217.4\dist\shutdown\shutdownMonitorProcess \\.\pipe\vscode-remote-containers-86a743a756522502bffc05482b8bfa73c68d5ffe-sock singleContainer Trace c:\Users\albif\AppData\Roaming\Code\logs\20220223T182317\exthost1\ms-vscode-remote.remote-containers 1645637242756 [12630 ms] Stop (12 ms): Setup shutdown monitor [12631 ms] Start: Run in container: test -d /root/.vscode-server [12637 ms] [12637 ms] [12637 ms] Exit code 1 [12638 ms] Stop (7 ms): Run in container: test -d /root/.vscode-server [12638 ms] Start: Run in container: test -d /root/.vscode-remote [12641 ms] [12641 ms] [12641 ms] Exit code 1 [12641 ms] Stop (3 ms): Run in container: test -d /root/.vscode-remote [12642 ms] Start: Run in container: test -f /var/vscode-server/.patchEtcEnvironmentMarker [12649 ms] [12649 ms] [12649 ms] Exit code 1 [12649 ms] Stop (7 ms): Run in container: test -f /var/vscode-server/.patchEtcEnvironmentMarker [12650 ms] Start: Run in container: test ! -f '/var/vscode-server/.patchEtcEnvironmentMarker' && set -o noclobber && mkdir -p '/var/vscode-server' && { > '/var/vscode-server/.patchEtcEnvironmentMarker' ; } 2> /dev/null [12663 ms] [12664 ms] [12665 ms] Stop (15 ms): Run in container: test ! -f '/var/vscode-server/.patchEtcEnvironmentMarker' && set -o noclobber && mkdir -p '/var/vscode-server' && { > '/var/vscode-server/.patchEtcEnvironmentMarker' ; } 2> /dev/null [12665 ms] Start: Run in container: cat >> /etc/environment <<'etcEnvrionmentEOF' [12669 ms] [12670 ms] [12670 ms] Stop (5 ms): Run in container: cat >> /etc/environment <<'etcEnvrionmentEOF' [12670 ms] Start: Run in container: test -f /var/vscode-server/.patchEtcProfileMarker [12672 ms] [12673 ms] [12673 ms] Exit code 1 [12674 ms] Stop (4 ms): Run in container: test -f /var/vscode-server/.patchEtcProfileMarker [12674 ms] Start: Run in container: test ! -f '/var/vscode-server/.patchEtcProfileMarker' && set -o noclobber && mkdir -p '/var/vscode-server' && { > '/var/vscode-server/.patchEtcProfileMarker' ; } 2> /dev/null [12678 ms] [12679 ms] [12679 ms] Stop (5 ms): Run in container: test ! -f '/var/vscode-server/.patchEtcProfileMarker' && set -o noclobber && mkdir -p '/var/vscode-server' && { > '/var/vscode-server/.patchEtcProfileMarker' ; } 2> /dev/null [12679 ms] Start: Run in container: sed -i -E 's/((^|\s)PATH=)([^\$]*)$/\1${PATH:-\3}/g' /etc/profile || true [12689 ms] [12689 ms] [12689 ms] Stop (10 ms): Run in container: sed -i -E 's/((^|\s)PATH=)([^\$]*)$/\1${PATH:-\3}/g' /etc/profile || true [12689 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 [12694 ms] [12695 ms] [12695 ms] Stop (6 ms): 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 [12695 ms] Start: Run in container: cat /root/.vscode-server/data/Machine/settings.json [12699 ms] [12699 ms] cat: /root/.vscode-server/data/Machine/settings.json: No such file or directory [12700 ms] Exit code 1 [12700 ms] Stop (5 ms): Run in container: cat /root/.vscode-server/data/Machine/settings.json [12701 ms] Start: Run in container: test -d /root/.vscode-server/bin/f80445acd5a3dadef24aa209168452a3d97cc326 [12703 ms] [12704 ms] [12704 ms] Exit code 1 [12704 ms] Stop (3 ms): Run in container: test -d /root/.vscode-server/bin/f80445acd5a3dadef24aa209168452a3d97cc326 [12704 ms] Start: Run in container: test -d /vscode/vscode-server/bin/linux-x64/f80445acd5a3dadef24aa209168452a3d97cc326 [12707 ms] [12708 ms] [12708 ms] Stop (4 ms): Run in container: test -d /vscode/vscode-server/bin/linux-x64/f80445acd5a3dadef24aa209168452a3d97cc326 [12708 ms] Start: Run in container: mkdir -p '/root/.vscode-server/bin' && ln -snf '/vscode/vscode-server/bin/linux-x64/f80445acd5a3dadef24aa209168452a3d97cc326' '/root/.vscode-server/bin/f80445acd5a3dadef24aa209168452a3d97cc326' [12715 ms] [12716 ms] [12716 ms] Stop (8 ms): Run in container: mkdir -p '/root/.vscode-server/bin' && ln -snf '/vscode/vscode-server/bin/linux-x64/f80445acd5a3dadef24aa209168452a3d97cc326' '/root/.vscode-server/bin/f80445acd5a3dadef24aa209168452a3d97cc326' [12716 ms] Start: Run in container: touch '/vscode/vscode-server/bin/linux-x64/f80445acd5a3dadef24aa209168452a3d97cc326' [12717 ms] Start: Launching Remote-Containers helper. [12717 ms] ssh-agent: SSH_AUTH_SOCK in container (/tmp/vscode-ssh-auth-4180dbfea03ccaf98dd5e8e2d8d28618108062f7.sock) forwarded to local host (\\.\pipe\openssh-ssh-agent). [12718 ms] Start: Run: gpgconf --list-dir agent-extra-socket [12722 ms] [12722 ms] [12722 ms] Stop (6 ms): Run in container: touch '/vscode/vscode-server/bin/linux-x64/f80445acd5a3dadef24aa209168452a3d97cc326' [12866 ms] Stop (148 ms): Run: gpgconf --list-dir agent-extra-socket [12867 ms] /c/Users/albif/.gnupg/S.gpg-agent.extra [12867 ms] [12867 ms] Start: Run in container: gpgconf --list-dir agent-socket [12884 ms] /root/.gnupg/S.gpg-agent [12884 ms] [12885 ms] Stop (18 ms): Run in container: gpgconf --list-dir agent-socket [12885 ms] Start: Run in container: gpgconf --list-dir homedir [12889 ms] /root/.gnupg [12889 ms] [12890 ms] Stop (5 ms): Run in container: gpgconf --list-dir homedir [12890 ms] Start: Run in container: ls '/root/.gnupg/private-keys-v1.d' 2>/dev/null [12897 ms] [12898 ms] [12898 ms] Exit code 2 [12898 ms] Stop (8 ms): Run in container: ls '/root/.gnupg/private-keys-v1.d' 2>/dev/null [12898 ms] Start: Run in container: mkdir -p -m 700 '/root/.gnupg' [12899 ms] Start: Run in container: /bin/sh [12900 ms] Stop (183 ms): Launching Remote-Containers helper. [12901 ms] userEnvProbe: loginInteractiveShell (default) [12902 ms] userEnvProbe shell: /bin/bash [12903 ms] [12903 ms] [12904 ms] Stop (6 ms): Run in container: mkdir -p -m 700 '/root/.gnupg' [12904 ms] Start: Run: gpgconf --list-dir homedir [12917 ms] Start: Run in container: # Test for /root/.ssh/known_hosts and ssh [12924 ms] [12924 ms] [12925 ms] Stop (8 ms): Run in container: # Test for /root/.ssh/known_hosts and ssh [12925 ms] Start: Run in container: # Copy C:\Users\albif\.ssh\known_hosts to /root/.ssh/known_hosts [12933 ms] [12933 ms] [12933 ms] Stop (8 ms): Run in container: # Copy C:\Users\albif\.ssh\known_hosts to /root/.ssh/known_hosts [12934 ms] Start: Run in container: command -v git >/dev/null 2>&1 && git config --system --replace-all credential.helper '!f() { /root/.vscode-server/bin/f80445acd5a3dadef24aa209168452a3d97cc326/node /tmp/vscode-remote-containers-4180dbfea03ccaf98dd5e8e2d8d28618108062f7.js $*; }; f' || true [12951 ms] Start: Run in container: cat <<'EOF-/tmp/vscode-remote-containers-4180dbfea03ccaf98dd5e8e2d8d28618108062f7.js' >/tmp/vscode-remote-containers-4180dbfea03ccaf98dd5e8e2d8d28618108062f7.js [12950 ms] Starting monitor process... [12971 ms] [12971 ms] [12971 ms] Stop (37 ms): Run in container: command -v git >/dev/null 2>&1 && git config --system --replace-all credential.helper '!f() { /root/.vscode-server/bin/f80445acd5a3dadef24aa209168452a3d97cc326/node /tmp/vscode-remote-containers-4180dbfea03ccaf98dd5e8e2d8d28618108062f7.js $*; }; f' || true [12971 ms] Start: Preparing Extensions [12972 ms] Start: Run in container: test ! -f '/root/.vscode-server/data/Machine/.installExtensionsMarker' && set -o noclobber && mkdir -p '/root/.vscode-server/data/Machine' && { > '/root/.vscode-server/data/Machine/.installExtensionsMarker' ; } 2> /dev/null [12974 ms] Received message: [{"type":"configure","sequence":0,"options":{"cwd":"c:\\Users\\albif\\Documents\\test","dockerCLI":"com.docker.cli","env":{"ALLUSERSPROFILE":"C:\\ProgramData","APPDATA":"C:\\Users\\albif\\AppData\\Roaming","APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL":"1","ChocolateyInstall":"C:\\ProgramData\\chocolatey","ChocolateyLastPathUpdate":"132876668375187905","ChocolateyToolsLocation":"C:\\tools","CHROME_CRASHPAD_PIPE_NAME":"\\\\.\\pipe\\crashpad_16868_RVKTKEJNRJKWHHHQ","CommonProgramFiles":"C:\\Program Files\\Common Files","CommonProgramFiles(x86)":"C:\\Program Files (x86)\\Common Files","CommonProgramW6432":"C:\\Program Files\\Common Files","COMPUTERNAME":"NOTEBOOK-DELL","ComSpec":"C:\\WINDOWS\\system32\\cmd.exe","DriverData":"C:\\Windows\\System32\\Drivers\\DriverData","ELECTRON_RUN_AS_NODE":"1","GIT_LFS_PATH":"C:\\Program Files\\Git LFS","HOMEDRIVE":"C:","HOMEPATH":"\\Users\\albif","LOCALAPPDATA":"C:\\Users\\albif\\AppData\\Local","LOGONSERVER":"\\\\NOTEBOOK-DELL","NUMBER_OF_PROCESSORS":"8","OneDrive":"C:\\Users\\albif\\OneDrive","OneDriveConsumer":"C:\\Users\\albif\\OneDrive","OPENSSL_CONF":"C:\\Program Files\\OpenSSL-Win64\\bin\\openssl.cfg","ORIGINAL_XDG_CURRENT_DESKTOP":"undefined","OS":"Windows_NT","Path":"C:\\Program Files\\Eclipse Adoptium\\jdk-17.0.2.8-hotspot\\bin;C:\\Python310\\Scripts\\;C:\\Python310\\;C:\\Program Files\\AdoptOpenJDK\\jdk-16.0.1.9-hotspot\\bin;C:\\Python39\\Scripts\\;C:\\Python39\\;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Users\\albif\\AppData\\Local\\Android\\Sdk\\platform-tools;C:\\Program Files\\dotnet\\;C:\\Program Files\\Calibre2\\;C:\\Program Files\\Git LFS;C:\\ProgramData\\chocolatey\\bin;C:\\Program Files\\Wireshark;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\ProgramData\\chocolatey\\lib\\maven\\apache-maven-3.8.4\\bin;C:\\Program Files\\PowerShell\\7\\;C:\\Users\\albif\\.oh-my-posh;C:\\Program Files\\Git\\cmd;C:\\Program Files\\nodejs\\;C:\\Program Files\\Docker\\Docker\\resources\\bin;C:\\ProgramData\\DockerDesktop\\version-bin;C:\\Users\\albif\\AppData\\Local\\Programs\\Python\\Python38\\Scripts\\;C:\\Users\\albif\\AppData\\Local\\Programs\\Python\\Python38\\;C:\\Users\\albif\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Program Files\\OpenSSL-Win64\\bin;C:\\Program Files\\ffmpeg\\bin;C:\\Users\\albif\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Program Files (x86)\\Mercurial;C:\\Users\\albif\\Documents\\Utilities\\git-cinnabar;C:\\Python27;C:\\Program Files (x86)\\GnuPG\\bin;C:\\Users\\albif\\AppData\\Roaming\\cabal\\bin;C:\\ProgramData\\chocolatey\\lib\\ghc\\tools\\ghc-8.10.3\\bin;C:\\ProgramData\\chocolatey\\lib\\ghc\\tools\\ghc-8.10.4\\bin;C:\\Program Files\\Git\\usr\\bin;C:\\Program Files\\MySQL\\MySQL Server 8.0\\bin;C:\\tools\\ghc-9.0.1\\bin;C:\\Users\\albif\\AppData\\Roaming\\Python\\Python39\\Scripts;C:\\Program Files\\Mercurial\\;C:\\Users\\albif\\AppData\\Local\\Pandoc\\;C:\\Program Files (x86)\\Nmap;C:\\Users\\albif\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Program Files\\heroku\\bin;C:\\Users\\albif\\AppData\\Roaming\\npm","PATHEXT":".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.PY;.PYW","POWERSHELL_DISTRIBUTION_CHANNEL":"MSI:Windows 10 Home","PROCESSOR_ARCHITECTURE":"AMD64","PROCESSOR_IDENTIFIER":"Intel64 Family 6 Model 142 Stepping 10, GenuineIntel","PROCESSOR_LEVEL":"6","PROCESSOR_REVISION":"8e0a","ProgramData":"C:\\ProgramData","ProgramFiles":"C:\\Program Files","ProgramFiles(x86)":"C:\\Program Files (x86)","ProgramW6432":"C:\\Program Files","PSModulePath":"C:\\Program Files\\WindowsPowerShell\\Modules;C:\\WINDOWS\\system32\\WindowsPowerShell\\v1.0\\Modules","PUBLIC":"C:\\Users\\Public","SESSIONNAME":"Console","SystemDrive":"C:","SystemRoot":"C:\\WINDOWS","TEMP":"C:\\Users\\albif\\AppData\\Local\\Temp","TMP":"C:\\Users\\albif\\AppData\\Local\\Temp","USERDOMAIN":"NOTEBOOK-DELL","USERDOMAIN_ROAMINGPROFILE":"NOTEBOOK-DELL","USERNAME":"albif","USERPROFILE":"C:\\Users\\albif","VSCODE_AMD_ENTRYPOINT":"vs/workbench/services/extensions/node/extensionHostProcess","VSCODE_CODE_CACHE_PATH":"C:\\Users\\albif\\AppData\\Roaming\\Code\\CachedData\\f80445acd5a3dadef24aa209168452a3d97cc326","VSCODE_CWD":"C:\\Users\\albif\\AppData\\Local\\Programs\\Microsoft VS Code","VSCODE_HANDLES_UNCAUGHT_ERRORS":"true","VSCODE_IPC_HOOK":"\\\\.\\pipe\\0c70797e98735dfdaa832b02f5033060-1.64.2-main-sock","VSCODE_IPC_HOOK_EXTHOST":"\\\\.\\pipe\\vscode-ipc-390c699c-a3b3-4334-a1ab-968565467140-sock","VSCODE_LOG_NATIVE":"false","VSCODE_LOG_STACK":"false","VSCODE_NLS_CONFIG":"{\"locale\":\"en-gb\",\"availableLanguages\":{},\"_languagePackSupport\":true}","VSCODE_PID":"16868","VSCODE_PIPE_LOGGING":"true","VSCODE_VERBOSE_LOGGING":"true","windir":"C:\\WINDOWS","ZES_ENABLE_SYSMAN":"1","_MSYS2_BASH":"C:\\tools\\msys64\\usr\\bin\\bash.exe","_MSYS2_PREFIX":"x86_64","DISPLAY":"1","SSH_ASKPASS":"c:\\Users\\albif\\.vscode\\extensions\\ms-vscode-remote.remote-containers-0.217.4\\scripts\\ssh-askpass.bat","VSCODE_SSH_ASKPASS_NODE":"C:\\Users\\albif\\AppData\\Local\\Programs\\Microsoft VS Code\\Code.exe","VSCODE_SSH_ASKPASS_EXTRA_ARGS":"--ms-enable-electron-run-as-node","VSCODE_SSH_ASKPASS_MAIN":"c:\\Users\\albif\\.vscode\\extensions\\ms-vscode-remote.remote-containers-0.217.4\\dist\\common\\sshAskpass.js","VSCODE_SSH_ASKPASS_HANDLE":"\\\\.\\pipe\\ssh-askpass-b3e7205fc5017ea049866e123544ff2387af600b-sock","DOCKER_CONTEXT":"default","SSH_AUTH_SOCK":"\\\\.\\pipe\\openssh-ssh-agent"},"containerId":"1ee27b7746afc0d923e8a0142b48b5831b380ff3b0dc5e010f271f93196a01fa","user":"root","sessionId":"a52b08b3-8f20-4fe7-b338-8e942ca9c30e1645637241427","logLevel":1,"delay":10000}}] [12980 ms] [12980 ms] [12980 ms] Stop (8 ms): Run in container: test ! -f '/root/.vscode-server/data/Machine/.installExtensionsMarker' && set -o noclobber && mkdir -p '/root/.vscode-server/data/Machine' && { > '/root/.vscode-server/data/Machine/.installExtensionsMarker' ; } 2> /dev/null [12987 ms] Extensions cache, install extensions: eamodio.gitlens [12987 ms] Start: Run in container: test -d /root/.vscode-server/extensionsCache && ls /root/.vscode-server/extensionsCache || true [12990 ms] [12990 ms] [12990 ms] Stop (3 ms): Run in container: test -d /root/.vscode-server/extensionsCache && ls /root/.vscode-server/extensionsCache || true [12991 ms] Start: Run in container: test -d /vscode/vscode-server/extensionsCache && ls /vscode/vscode-server/extensionsCache || true [12996 ms] bungcip.better-toml-0.3.2 eamodio.gitlens-11.4.1 eamodio.gitlens-11.7.0 gitlab.gitlab-workflow-3.19.0 gitlab.gitlab-workflow-3.20.0 gitlab.gitlab-workflow-3.40.2 ms-python.python-2021.4.765268190 ms-python.python-2021.5.829140558 ms-python.python-2021.5.840043038 ms-python.python-2022.0.1786462952 ms-python.python-2022.0.1814523869 ms-python.vscode-pylance-2021.4.3 ms-python.vscode-pylance-2021.5.1 ms-python.vscode-pylance-2021.5.2 ms-python.vscode-pylance-2022.2.0 ms-python.vscode-pylance-2022.2.1 ms-toolsai.jupyter-2021.5.745244803 ms-toolsai.jupyter-2021.6.811652604 ms-toolsai.jupyter-2021.6.832593372 ms-toolsai.jupyter-2022.1.1001775990 ms-toolsai.jupyter-2022.1.1001821375 ms-toolsai.jupyter-keymap-1.0.0 ms-toolsai.jupyter-renderers-1.0.6 mutantdino.resourcemonitor-1.0.7 peakchen90.open-html-in-browser-2.1.3 peakchen90.open-html-in-browser-2.1.4 peakchen90.open-html-in-browser-2.1.8 rust-lang.rust-0.7.8 ryanluker.vscode-coverage-gutters-2.7.3 ryanluker.vscode-coverage-gutters-2.9.1 tht13.html-preview-vscode-0.2.5 vadimcn.vscode-lldb-1.6.3 [12996 ms] [12996 ms] Stop (5 ms): Run in container: test -d /vscode/vscode-server/extensionsCache && ls /vscode/vscode-server/extensionsCache || true [12997 ms] Extensions cache, link in container: eamodio.gitlens-11.4.1, eamodio.gitlens-11.7.0 [12997 ms] Start: Run in container: mkdir -p '/root/.vscode-server/extensionsCache' && ln -s '/vscode/vscode-server/extensionsCache'/* '/root/.vscode-server/extensionsCache' || true [13006 ms] [13007 ms] [13007 ms] Stop (10 ms): Run in container: mkdir -p '/root/.vscode-server/extensionsCache' && ln -s '/vscode/vscode-server/extensionsCache'/* '/root/.vscode-server/extensionsCache' || true [13007 ms] Stop (36 ms): Preparing Extensions [13007 ms] Start: Run in container: cd /vscode/vscode-server/extensionsCache && touch 'eamodio.gitlens-11.4.1' 'eamodio.gitlens-11.7.0' [13012 ms] [13013 ms] [13013 ms] Stop (6 ms): Run in container: cd /vscode/vscode-server/extensionsCache && touch 'eamodio.gitlens-11.4.1' 'eamodio.gitlens-11.7.0' [13013 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 " [13089 ms] Stop (185 ms): Run: gpgconf --list-dir homedir [13090 ms] /c/Users/albif/.gnupg [13090 ms] [13101 ms] Stop (88 ms): 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 " [13102 ms] Start: Run in container: gpgconf --list-dir homedir [13103 ms] Running extension host agents: [] [13107 ms] /root/.gnupg [13107 ms] [13107 ms] Stop (5 ms): Run in container: gpgconf --list-dir homedir [13107 ms] Start: Run in container: cat '/root/.vscode-server/data/Machine/.connection-token-f80445acd5a3dadef24aa209168452a3d97cc326' 2>/dev/null || (umask 377 && echo '65195e8c-9656-483b-a844-ee9f85548edb' >'/root/.vscode-server/data/Machine/.connection-token-f80445acd5a3dadef24aa209168452a3d97cc326-6c78d436-84fa-43d4-80ed-ebd389c246a6' && mv -n '/root/.vscode-server/data/Machine/.connection-token-f80445acd5a3dadef24aa209168452a3d97cc326-6c78d436-84fa-43d4-80ed-ebd389c246a6' '/root/.vscode-server/data/Machine/.connection-token-f80445acd5a3dadef24aa209168452a3d97cc326' && rm -f '/root/.vscode-server/data/Machine/.connection-token-f80445acd5a3dadef24aa209168452a3d97cc326-6c78d436-84fa-43d4-80ed-ebd389c246a6' && cat '/root/.vscode-server/data/Machine/.connection-token-f80445acd5a3dadef24aa209168452a3d97cc326') [13118 ms] 65195e8c-9656-483b-a844-ee9f85548edb [13119 ms] [13119 ms] Stop (12 ms): Run in container: cat '/root/.vscode-server/data/Machine/.connection-token-f80445acd5a3dadef24aa209168452a3d97cc326' 2>/dev/null || (umask 377 && echo '65195e8c-9656-483b-a844-ee9f85548edb' >'/root/.vscode-server/data/Machine/.connection-token-f80445acd5a3dadef24aa209168452a3d97cc326-6c78d436-84fa-43d4-80ed-ebd389c246a6' && mv -n '/root/.vscode-server/data/Machine/.connection-token-f80445acd5a3dadef24aa209168452a3d97cc326-6c78d436-84fa-43d4-80ed-ebd389c246a6' '/root/.vscode-server/data/Machine/.connection-token-f80445acd5a3dadef24aa209168452a3d97cc326' && rm -f '/root/.vscode-server/data/Machine/.connection-token-f80445acd5a3dadef24aa209168452a3d97cc326-6c78d436-84fa-43d4-80ed-ebd389c246a6' && cat '/root/.vscode-server/data/Machine/.connection-token-f80445acd5a3dadef24aa209168452a3d97cc326') [13119 ms] Start: Run in container: # Test for /root/.gnupg/pubring.kbx and gpg [13120 ms] Start: Starting VS Code Server [13126 ms] [13126 ms] [13126 ms] Stop (7 ms): Run in container: # Test for /root/.gnupg/pubring.kbx and gpg [13126 ms] Start: Run in container: # Copy c:\Users\albif\.gnupg\pubring.kbx to /root/.gnupg/pubring.kbx [13133 ms] [13134 ms] [13134 ms] Stop (8 ms): Run in container: # Copy c:\Users\albif\.gnupg\pubring.kbx to /root/.gnupg/pubring.kbx [13136 ms] Start: Run in container: # Test for /root/.gnupg/trustdb.gpg and gpg [13140 ms] [13141 ms] [13141 ms] Stop (5 ms): Run in container: # Test for /root/.gnupg/trustdb.gpg and gpg [13141 ms] Start: Run in container: # Copy c:\Users\albif\.gnupg\trustdb.gpg to /root/.gnupg/trustdb.gpg [13149 ms] [13149 ms] [13150 ms] Stop (9 ms): Run in container: # Copy c:\Users\albif\.gnupg\trustdb.gpg to /root/.gnupg/trustdb.gpg [13150 ms] Start: Run: gpg-connect-agent updatestartuptty /bye [13303 ms] Stop (153 ms): Run: gpg-connect-agent updatestartuptty /bye [14032 ms] [14032 ms] [14032 ms] Stop (1081 ms): Run in container: cat <<'EOF-/tmp/vscode-remote-containers-4180dbfea03ccaf98dd5e8e2d8d28618108062f7.js' >/tmp/vscode-remote-containers-4180dbfea03ccaf98dd5e8e2d8d28618108062f7.js [14032 ms] Start: Run in container: cat <<'EOF-/tmp/vscode-remote-containers-server-4180dbfea03ccaf98dd5e8e2d8d28618108062f7.js' >/tmp/vscode-remote-containers-server-4180dbfea03ccaf98dd5e8e2d8d28618108062f7.js_1645637256788 [14038 ms] [14038 ms] [14038 ms] Stop (6 ms): Run in container: cat <<'EOF-/tmp/vscode-remote-containers-server-4180dbfea03ccaf98dd5e8e2d8d28618108062f7.js' >/tmp/vscode-remote-containers-server-4180dbfea03ccaf98dd5e8e2d8d28618108062f7.js_1645637256788 [14041 ms] Start: Run in Container: /bin/bash -lic '/root/.vscode-server/bin/f80445acd5a3dadef24aa209168452a3d97cc326/node' -p '"2c19e6a75e4b42f149905273a365c867" + JSON.stringify(process.env) + "2c19e6a75e4b42f149905273a365c867"' [14042 ms] Start: Run in Container: /root/.vscode-server/bin/f80445acd5a3dadef24aa209168452a3d97cc326/bin/code-server --log trace --force-disable-user-env --use-host-proxy --accept-server-license-terms --host 127.0.0.1 --port 0 --connection-token-file /root/.vscode-server/data/Machine/.connection-token-f80445acd5a3dadef24aa209168452a3d97cc326 --extensions-download-dir /root/.vscode-server/extensionsCache --install-extension eamodio.gitlens --start-server --disable-websocket-compression [14495 ms] Stop (454 ms): Run in Container: /bin/bash -lic '/root/.vscode-server/bin/f80445acd5a3dadef24aa209168452a3d97cc326/node' -p '"2c19e6a75e4b42f149905273a365c867" + JSON.stringify(process.env) + "2c19e6a75e4b42f149905273a365c867"' [14497 ms] 2c19e6a75e4b42f149905273a365c867{"HOSTNAME":"1ee27b7746af","PYTHON_VERSION":"3.9.10","REMOTE_CONTAINERS_IPC":"/tmp/vscode-remote-containers-ipc-4180dbfea03ccaf98dd5e8e2d8d28618108062f7.sock","PWD":"/vscode/vscode-server/bin/linux-x64/f80445acd5a3dadef24aa209168452a3d97cc326","PYTHON_SETUPTOOLS_VERSION":"58.1.0","HOME":"/root","LANG":"C.UTF-8","GPG_KEY":"E3FF2839C048B25C084DEBE9B26995E310250568","REMOTE_CONTAINERS_SOCKETS":"[\"/tmp/vscode-ssh-auth-4180dbfea03ccaf98dd5e8e2d8d28618108062f7.sock\",\"/root/.gnupg/S.gpg-agent\"]","SHLVL":"0","PYTHON_PIP_VERSION":"21.2.4","PYTHON_GET_PIP_SHA256":"7c5239cea323cadae36083079a5ee6b2b3d56f25762a0c060d2867b89e5e06c5","PYTHON_GET_PIP_URL":"https://github.com/pypa/get-pip/raw/2caf84b14febcda8077e59e9b8a6ef9a680aa392/public/get-pip.py","PATH":"/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin","_":"/root/.vscode-server/bin/f80445acd5a3dadef24aa209168452a3d97cc326/node"}2c19e6a75e4b42f149905273a365c867 [14497 ms] bash: cannot set terminal process group (110): Inappropriate ioctl for device bash: no job control in this shell [14498 ms] userEnvProbe parsed: { "HOSTNAME": "1ee27b7746af", "PYTHON_VERSION": "3.9.10", "REMOTE_CONTAINERS_IPC": "/tmp/vscode-remote-containers-ipc-4180dbfea03ccaf98dd5e8e2d8d28618108062f7.sock", "PWD": "/vscode/vscode-server/bin/linux-x64/f80445acd5a3dadef24aa209168452a3d97cc326", "PYTHON_SETUPTOOLS_VERSION": "58.1.0", "HOME": "/root", "LANG": "C.UTF-8", "GPG_KEY": "E3FF2839C048B25C084DEBE9B26995E310250568", "REMOTE_CONTAINERS_SOCKETS": "[\"/tmp/vscode-ssh-auth-4180dbfea03ccaf98dd5e8e2d8d28618108062f7.sock\",\"/root/.gnupg/S.gpg-agent\"]", "SHLVL": "0", "PYTHON_PIP_VERSION": "21.2.4", "PYTHON_GET_PIP_SHA256": "7c5239cea323cadae36083079a5ee6b2b3d56f25762a0c060d2867b89e5e06c5", "PYTHON_GET_PIP_URL": "https://github.com/pypa/get-pip/raw/2caf84b14febcda8077e59e9b8a6ef9a680aa392/public/get-pip.py", "PATH": "/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin", "_": "/root/.vscode-server/bin/f80445acd5a3dadef24aa209168452a3d97cc326/node" } [14498 ms] userEnvProbe PATHs: Probe: '/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' Container: '/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' [14502 ms] * * Visual Studio Code Server * * Reminder: You may only use this software with Visual Studio family products, * as described in the license https://aka.ms/vscode-remote/license * Extension host agent listening on 33655 [14503 ms] Stop (1383 ms): Starting VS Code Server [14503 ms] Start: Run in container: echo 33655 >'/root/.vscode-server/data/Machine/.devport-f80445acd5a3dadef24aa209168452a3d97cc326' [14505 ms] [14506 ms] [14506 ms] Stop (3 ms): Run in container: echo 33655 >'/root/.vscode-server/data/Machine/.devport-f80445acd5a3dadef24aa209168452a3d97cc326' [14506 ms] Port forwarding for container port 33655 starts listening on local port. [14508 ms] Port forwarding local port 33655 to container port 33655 [14508 ms] Start: Run in container: test ! -f '/root/.vscode-server/data/Machine/.onCreateCommandMarker' && set -o noclobber && mkdir -p '/root/.vscode-server/data/Machine' && { > '/root/.vscode-server/data/Machine/.onCreateCommandMarker' ; } 2> /dev/null [14513 ms] [14514 ms] [14514 ms] Stop (6 ms): Run in container: test ! -f '/root/.vscode-server/data/Machine/.onCreateCommandMarker' && set -o noclobber && mkdir -p '/root/.vscode-server/data/Machine' && { > '/root/.vscode-server/data/Machine/.onCreateCommandMarker' ; } 2> /dev/null [14515 ms] Start: Run in container: test ! -f '/root/.vscode-server/data/Machine/.updateContentCommandMarker' && set -o noclobber && mkdir -p '/root/.vscode-server/data/Machine' && { > '/root/.vscode-server/data/Machine/.updateContentCommandMarker' ; } 2> /dev/null [14520 ms] [14520 ms] [14520 ms] Stop (5 ms): Run in container: test ! -f '/root/.vscode-server/data/Machine/.updateContentCommandMarker' && set -o noclobber && mkdir -p '/root/.vscode-server/data/Machine' && { > '/root/.vscode-server/data/Machine/.updateContentCommandMarker' ; } 2> /dev/null [14521 ms] Start: Run in container: test ! -f '/root/.vscode-server/data/Machine/.postCreateCommandMarker' && set -o noclobber && mkdir -p '/root/.vscode-server/data/Machine' && { > '/root/.vscode-server/data/Machine/.postCreateCommandMarker' ; } 2> /dev/null [14527 ms] Stop (14449 ms): Resolving Remote [14528 ms] [14528 ms] [14528 ms] Stop (7 ms): Run in container: test ! -f '/root/.vscode-server/data/Machine/.postCreateCommandMarker' && set -o noclobber && mkdir -p '/root/.vscode-server/data/Machine' && { > '/root/.vscode-server/data/Machine/.postCreateCommandMarker' ; } 2> /dev/null [14530 ms] Start: Run in container: # Test for /root/.gitconfig and git [14534 ms] [14535 ms] [14535 ms] Stop (5 ms): Run in container: # Test for /root/.gitconfig and git [14535 ms] Start: Run in container: # Copy C:\Users\albif\.gitconfig to /root/.gitconfig [14542 ms] [14542 ms] [14542 ms] Stop (7 ms): Run in container: # Copy C:\Users\albif\.gitconfig to /root/.gitconfig [14543 ms] Start: Run in container: command -v git >/dev/null 2>&1 && git config --global --replace-all credential.helper '!f() { /root/.vscode-server/bin/f80445acd5a3dadef24aa209168452a3d97cc326/node /tmp/vscode-remote-containers-4180dbfea03ccaf98dd5e8e2d8d28618108062f7.js $*; }; f' || true [14550 ms] [14551 ms] [14551 ms] Stop (8 ms): Run in container: command -v git >/dev/null 2>&1 && git config --global --replace-all credential.helper '!f() { /root/.vscode-server/bin/f80445acd5a3dadef24aa209168452a3d97cc326/node /tmp/vscode-remote-containers-4180dbfea03ccaf98dd5e8e2d8d28618108062f7.js $*; }; f' || true [14552 ms] Start: Run in container: mkdir -p '/root/.vscode-server/data/Machine' && [ "$(cat '/root/.vscode-server/data/Machine/.postStartCommandMarker' 2>/dev/null)" != '2022-02-23T17:27:31.9843268Z' ] && echo '2022-02-23T17:27:31.9843268Z' > '/root/.vscode-server/data/Machine/.postStartCommandMarker' [14559 ms] [14559 ms] [14559 ms] Stop (7 ms): Run in container: mkdir -p '/root/.vscode-server/data/Machine' && [ "$(cat '/root/.vscode-server/data/Machine/.postStartCommandMarker' 2>/dev/null)" != '2022-02-23T17:27:31.9843268Z' ] && echo '2022-02-23T17:27:31.9843268Z' > '/root/.vscode-server/data/Machine/.postStartCommandMarker' [14595 ms] Port forwarding connection from 1025 > 33655 > 33655 in the container. [14605 ms] Start: Run in container: /root/.vscode-server/bin/f80445acd5a3dadef24aa209168452a3d97cc326/node -e [14970 ms] [17:27:37] Remote configuration data at /root/.vscode-server [14971 ms] [17:27:37] process arguments: { _: [], host: '127.0.0.1', port: '0', 'connection-token-file': '/root/.vscode-server/data/Machine/.connection-token-f80445acd5a3dadef24aa209168452a3d97cc326', 'without-connection-token': false, 'disable-websocket-compression': true, 'print-startup-performance': false, 'print-ip-address': false, 'accept-server-license-terms': true, 'disable-telemetry': false, log: 'trace', 'force-disable-user-env': true, 'enable-sync': false, 'extensions-download-dir': '/root/.vscode-server/extensionsCache', 'install-extension': [ 'eamodio.gitlens' ], 'list-extensions': false, 'show-versions': false, force: false, 'do-not-sync': false, 'pre-release': false, 'start-server': true, 'enable-remote-auto-shutdown': false, 'remote-auto-shutdown-without-delay': false, 'use-host-proxy': true, 'without-browser-env-var': false, help: false, version: false, 'user-data-dir': '/root/.vscode-server/data', 'builtin-extensions-dir': '/vscode/vscode-server/bin/linux-x64/f80445acd5a3dadef24aa209168452a3d97cc326/extensions', 'extensions-dir': '/root/.vscode-server/extensions', logsPath: '/root/.vscode-server/data/logs/20220223T172737' } [15000 ms] [17:27:37] Started scanning user extensions [15062 ms] [17:27:37] resolveShellEnv(): running (macOS/Linux) [15063 ms] [17:27:37] getUnixShellEnvironment#runAsNode undefined [15066 ms] [17:27:37] getUnixShellEnvironment#noAttach undefined [15066 ms] [17:27:37] getUnixShellEnvironment#env { HOSTNAME: '1ee27b7746af', PYTHON_PIP_VERSION: '21.2.4', HOME: '/root', GPG_KEY: 'E3FF2839C048B25C084DEBE9B26995E310250568', REMOTE_CONTAINERS_IPC: '/tmp/vscode-remote-containers-ipc-4180dbfea03ccaf98dd5e8e2d8d28618108062f7.sock', PYTHON_GET_PIP_URL: 'https://github.com/pypa/get-pip/raw/2caf84b14febcda8077e59e9b8a6ef9a680aa392/public/get-pip.py', PATH: '/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', VSCODE_AGENT_FOLDER: '/root/.vscode-server', REMOTE_CONTAINERS_SOCKETS: '["/tmp/vscode-ssh-auth-4180dbfea03ccaf98dd5e8e2d8d28618108062f7.sock","/root/.gnupg/S.gpg-agent"]', LANG: 'C.UTF-8', SHELL: '/bin/bash', PYTHON_VERSION: '3.9.10', PYTHON_SETUPTOOLS_VERSION: '58.1.0', PWD: '/vscode/vscode-server/bin/linux-x64/f80445acd5a3dadef24aa209168452a3d97cc326', PYTHON_GET_PIP_SHA256: '7c5239cea323cadae36083079a5ee6b2b3d56f25762a0c060d2867b89e5e06c5', ELECTRON_RUN_AS_NODE: '1', ELECTRON_NO_ATTACH_CONSOLE: '1' } [15086 ms] [17:27:37] getUnixShellEnvironment#shell /bin/bash [15087 ms] [17:27:37] getUnixShellEnvironment#spawn ["-ilc"] '/vscode/vscode-server/bin/linux-x64/f80445acd5a3dadef24aa209168452a3d97cc326/node' -p '"90cdec8c369d" + JSON.stringify(process.env) + "90cdec8c369d"' [15099 ms] Installing extensions... [15099 ms] [17:27:37] Started scanning user extensions [15105 ms] [17:27:37] Extension host agent started. [15137 ms] [17:27:37] [File Watcher (node.js)] Request to start watching: /root/.vscode-server/data/Machine (excludes: ),/root/.vscode-server/data/Machine/settings.json (excludes: ),/root/.vscode-server/extensions (excludes: ) [15190 ms] [17:27:37] Scanned user extensions: 0 [15203 ms] [17:27:37] Scanned user extensions: 0 [15230 ms] [17:27:37] [File Watcher (node.js)] Started watching: '/root/.vscode-server/extensions' [15242 ms] [17:27:37] [Disk FileSystemProvider]: request to acquire resource lock (/root/.vscode-server/data/machineid) [15264 ms] [17:27:37] [Disk FileSystemProvider]: new resource lock created (/root/.vscode-server/data/machineid) [15269 ms] [17:27:38] [File Watcher (node.js)] Started watching: '/root/.vscode-server/data/Machine' [15270 ms] [17:27:38] [File Watcher (node.js)] Error: ENOENT: no such file or directory, stat '/root/.vscode-server/data/Machine/settings.json' [15280 ms] [17:27:38] Deleting vsix from cache /root/.vscode-server/extensionsCache/eamodio.gitlens-11.4.1 [15283 ms] [17:27:38] Deleting vsix from cache /root/.vscode-server/extensionsCache/gitlab.gitlab-workflow-3.20.0 [15288 ms] [17:27:38] Deleting vsix from cache /root/.vscode-server/extensionsCache/gitlab.gitlab-workflow-3.19.0 [15289 ms] [17:27:38] Deleting vsix from cache /root/.vscode-server/extensionsCache/ms-python.python-2022.0.1786462952 [15289 ms] [17:27:38] Deleting vsix from cache /root/.vscode-server/extensionsCache/ms-python.python-2021.5.840043038 [15290 ms] [17:27:38] Deleting vsix from cache /root/.vscode-server/extensionsCache/ms-python.python-2021.5.829140558 [15291 ms] [17:27:38] Deleting vsix from cache /root/.vscode-server/extensionsCache/ms-python.python-2021.4.765268190 [15291 ms] [17:27:38] Deleting vsix from cache /root/.vscode-server/extensionsCache/ms-python.vscode-pylance-2022.2.0 [15292 ms] [17:27:38] Deleting vsix from cache /root/.vscode-server/extensionsCache/ms-python.vscode-pylance-2021.5.2 [15293 ms] [17:27:38] Deleting vsix from cache /root/.vscode-server/extensionsCache/ms-python.vscode-pylance-2021.5.1 [15293 ms] [17:27:38] Deleting vsix from cache /root/.vscode-server/extensionsCache/ms-python.vscode-pylance-2021.4.3 [15296 ms] [17:27:38] Deleting vsix from cache /root/.vscode-server/extensionsCache/ms-toolsai.jupyter-2022.1.1001775990 [17:27:38] Deleting vsix from cache /root/.vscode-server/extensionsCache/ms-toolsai.jupyter-2021.6.832593372 [17:27:38] Deleting vsix from cache /root/.vscode-server/extensionsCache/ms-toolsai.jupyter-2021.6.811652604 [15297 ms] [17:27:38] Deleting vsix from cache /root/.vscode-server/extensionsCache/ms-toolsai.jupyter-2021.5.745244803 [15302 ms] [17:27:38] Deleting vsix from cache /root/.vscode-server/extensionsCache/peakchen90.open-html-in-browser-2.1.4 [15303 ms] [17:27:38] Deleting vsix from cache /root/.vscode-server/extensionsCache/peakchen90.open-html-in-browser-2.1.3 [17:27:38] Deleting vsix from cache /root/.vscode-server/extensionsCache/ryanluker.vscode-coverage-gutters-2.7.3 [15313 ms] [17:27:38] getUnixShellEnvironment#raw 90cdec8c369d{"SHELL":"/bin/bash","HOSTNAME":"1ee27b7746af","PYTHON_VERSION":"3.9.10","ELECTRON_RUN_AS_NODE":"1","REMOTE_CONTAINERS_IPC":"/tmp/vscode-remote-containers-ipc-4180dbfea03ccaf98dd5e8e2d8d28618108062f7.sock","PWD":"/vscode/vscode-server/bin/linux-x64/f80445acd5a3dadef24aa209168452a3d97cc326","PYTHON_SETUPTOOLS_VERSION":"58.1.0","HOME":"/root","LANG":"C.UTF-8","GPG_KEY":"E3FF2839C048B25C084DEBE9B26995E310250568","VSCODE_AGENT_FOLDER":"/root/.vscode-server","REMOTE_CONTAINERS_SOCKETS":"[\"/tmp/vscode-ssh-auth-4180dbfea03ccaf98dd5e8e2d8d28618108062f7.sock\",\"/root/.gnupg/S.gpg-agent\"]","SHLVL":"0","PYTHON_PIP_VERSION":"21.2.4","PYTHON_GET_PIP_SHA256":"7c5239cea323cadae36083079a5ee6b2b3d56f25762a0c060d2867b89e5e06c5","ELECTRON_NO_ATTACH_CONSOLE":"1","PYTHON_GET_PIP_URL":"https://github.com/pypa/get-pip/raw/2caf84b14febcda8077e59e9b8a6ef9a680aa392/public/get-pip.py","PATH":"/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin","_":"/vscode/vscode-server/bin/linux-x64/f80445acd5a3dadef24aa209168452a3d97cc326/node"}90cdec8c369d [15314 ms] [17:27:38] getUnixShellEnvironment#stderr bash: cannot set terminal process group (-1): Inappropriate ioctl for device bash: no job control in this shell [15318 ms] [17:27:38] getUnixShellEnvironment#result { SHELL: '/bin/bash', HOSTNAME: '1ee27b7746af', PYTHON_VERSION: '3.9.10', REMOTE_CONTAINERS_IPC: '/tmp/vscode-remote-containers-ipc-4180dbfea03ccaf98dd5e8e2d8d28618108062f7.sock', PWD: '/vscode/vscode-server/bin/linux-x64/f80445acd5a3dadef24aa209168452a3d97cc326', PYTHON_SETUPTOOLS_VERSION: '58.1.0', HOME: '/root', LANG: 'C.UTF-8', GPG_KEY: 'E3FF2839C048B25C084DEBE9B26995E310250568', VSCODE_AGENT_FOLDER: '/root/.vscode-server', REMOTE_CONTAINERS_SOCKETS: '["/tmp/vscode-ssh-auth-4180dbfea03ccaf98dd5e8e2d8d28618108062f7.sock","/root/.gnupg/S.gpg-agent"]', SHLVL: '0', PYTHON_PIP_VERSION: '21.2.4', PYTHON_GET_PIP_SHA256: '7c5239cea323cadae36083079a5ee6b2b3d56f25762a0c060d2867b89e5e06c5', PYTHON_GET_PIP_URL: 'https://github.com/pypa/get-pip/raw/2caf84b14febcda8077e59e9b8a6ef9a680aa392/public/get-pip.py', PATH: '/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', _: '/vscode/vscode-server/bin/linux-x64/f80445acd5a3dadef24aa209168452a3d97cc326/node' } [15326 ms] [17:27:38] [Disk FileSystemProvider]: resource lock disposed (/root/.vscode-server/data/machineid) [15335 ms] [17:27:38] RequestService#request https://marketplace.visualstudio.com/_apis/public/gallery/extensionquery [15340 ms] [17:27:38] resolveShellEnv(): skipped (--force-disable-user-env) [15642 ms] [17:27:38] RequestService#request https://eamodio.gallerycdn.vsassets.io/extensions/eamodio/gitlens/11.7.0/1637268068613/Microsoft.VisualStudio.Code.Manifest [15642 ms] [17:27:38] resolveShellEnv(): skipped (--force-disable-user-env) [15850 ms] Installing extension 'eamodio.gitlens'... [17:27:38] ExtensionManagementService.refreshReportedCache [15851 ms] [17:27:38] RequestService#request https://az764295.vo.msecnd.net/extensions/marketplace.json [15852 ms] [17:27:38] resolveShellEnv(): skipped (--force-disable-user-env) [15934 ms] [17:27:38] ExtensionManagementService.refreshControlCache { malicious: [ { id: 'visualstuiocode.emmet' }, { id: 'joaomoreno.banana' }, { id: 'JacobeanResearchandDevelopmentLLC.vscode-scxml-preview' }, { id: 'joaquin6.package-watch' }, { id: 'KazuoCode.gthubsum' }, { id: 'MaxGotovkin.tslens' } ], unsupportedPreReleaseExtensions: { 'github.vscode-pull-request-github-insiders': { id: 'github.vscode-pull-request-github', displayName: 'GitHub Pull Requests and Issues' }, 'ms-vscode-remote.remote-ssh-nightly': { id: 'ms-vscode-remote.remote-ssh', displayName: 'Remote - SSH' }, 'ms-vscode-remote.remote-ssh-edit-nightly': { id: 'ms-vscode-remote.remote-ssh-edit', displayName: 'Remote - SSH: Editing Configuration Files' } } } [15941 ms] [17:27:38] ExtensionManagementService#TargetPlatform: linux-x64 [15947 ms] [17:27:38] Getting Manifest... eamodio.gitlens [15947 ms] [17:27:38] RequestService#request https://eamodio.gallerycdn.vsassets.io/extensions/eamodio/gitlens/11.7.0/1637268068613/Microsoft.VisualStudio.Code.Manifest [17:27:38] resolveShellEnv(): skipped (--force-disable-user-env) [16121 ms] [17:27:38] Installing extension: eamodio.gitlens [16121 ms] [17:27:38] Started scanning system extensions [16122 ms] [17:27:38] Started scanning user extensions [16135 ms] [17:27:38] Scanned user extensions: 0 [16298 ms] [17:27:39] Scanned system extensions: 30 [16300 ms] [17:27:39] Started scanning system extensions [16302 ms] [17:27:39] Started scanning user extensions [16308 ms] [17:27:39] Scanned user extensions: 0 [16402 ms] [17:27:39] Scanned system extensions: 30 [16404 ms] [17:27:39] Started scanning system extensions [16406 ms] [17:27:39] Started scanning user extensions [16414 ms] [17:27:39] Scanned user extensions: 0 [16445 ms] Port forwarding connection from 1026 > 33655 > 33655 in the container. [16453 ms] Start: Run in container: /root/.vscode-server/bin/f80445acd5a3dadef24aa209168452a3d97cc326/node -e [16531 ms] [17:27:39] [127.0.0.1][cb13b91f][ManagementConnection] New connection established. [16569 ms] [17:27:39] Scanned system extensions: 30 [16570 ms] [17:27:39] Started downloading extension: eamodio.gitlens [16589 ms] [17:27:39] Started scanning system extensions [16593 ms] [17:27:39] Started scanning user extensions [17:27:39] Started scanning user extensions [16874 ms] [17:27:39] Downloaded extension: eamodio.gitlens /root/.vscode-server/extensionsCache/eamodio.gitlens-11.7.0 [18532 ms] Port forwarding process for 1025 > 33655 > 33655 in the container: [ { "pid": 16232, "ppid": 16868, "bin": "C:\\Users\\albif\\AppData\\Local\\Programs\\Microsoft VS Code\\Code.exe", "name": "Code.exe", "cmd": "\"C:\\Users\\albif\\AppData\\Local\\Programs\\Microsoft VS Code\\Code.exe\" --type=utility --utility-sub-type=network.mojom.NetworkService --field-trial-handle=1404,16762080445812214328,6127305767144246858,131072 --disable-features=CookiesWithoutSameSiteMustBeSecure,SameSiteByDefaultCookies,SpareRendererForSitePerProcess,WinRetrieveSuggestionsOnlyOnDemand --lang=en-GB --service-sandbox-type=none --user-data-dir=\"C:\\Users\\albif\\AppData\\Roaming\\Code\" --standard-schemes=vscode-webview,vscode-file --secure-schemes=vscode-webview,vscode-file --bypasscsp-schemes --cors-schemes=vscode-webview,vscode-file --fetch-schemes=vscode-webview,vscode-file --service-worker-schemes=vscode-webview --streaming-schemes --mojo-platform-channel-handle=1904 /prefetch:8" } ] [19136 ms] Port forwarding process for 1026 > 33655 > 33655 in the container: [ { "pid": 16232, "ppid": 16868, "bin": "C:\\Users\\albif\\AppData\\Local\\Programs\\Microsoft VS Code\\Code.exe", "name": "Code.exe", "cmd": "\"C:\\Users\\albif\\AppData\\Local\\Programs\\Microsoft VS Code\\Code.exe\" --type=utility --utility-sub-type=network.mojom.NetworkService --field-trial-handle=1404,16762080445812214328,6127305767144246858,131072 --disable-features=CookiesWithoutSameSiteMustBeSecure,SameSiteByDefaultCookies,SpareRendererForSitePerProcess,WinRetrieveSuggestionsOnlyOnDemand --lang=en-GB --service-sandbox-type=none --user-data-dir=\"C:\\Users\\albif\\AppData\\Roaming\\Code\" --standard-schemes=vscode-webview,vscode-file --secure-schemes=vscode-webview,vscode-file --bypasscsp-schemes --cors-schemes=vscode-webview,vscode-file --fetch-schemes=vscode-webview,vscode-file --service-worker-schemes=vscode-webview --streaming-schemes --mojo-platform-channel-handle=1904 /prefetch:8" } ] [19322 ms] Received message: [{"type":"configure","sequence":1,"options":{"cwd":"c:\\Users\\albif\\Documents\\test","dockerCLI":"com.docker.cli","env":{"ALLUSERSPROFILE":"C:\\ProgramData","APPDATA":"C:\\Users\\albif\\AppData\\Roaming","APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL":"1","ChocolateyInstall":"C:\\ProgramData\\chocolatey","ChocolateyLastPathUpdate":"132876668375187905","ChocolateyToolsLocation":"C:\\tools","CHROME_CRASHPAD_PIPE_NAME":"\\\\.\\pipe\\crashpad_16868_RVKTKEJNRJKWHHHQ","CommonProgramFiles":"C:\\Program Files\\Common Files","CommonProgramFiles(x86)":"C:\\Program Files (x86)\\Common Files","CommonProgramW6432":"C:\\Program Files\\Common Files","COMPUTERNAME":"NOTEBOOK-DELL","ComSpec":"C:\\WINDOWS\\system32\\cmd.exe","DriverData":"C:\\Windows\\System32\\Drivers\\DriverData","ELECTRON_RUN_AS_NODE":"1","GIT_LFS_PATH":"C:\\Program Files\\Git LFS","HOMEDRIVE":"C:","HOMEPATH":"\\Users\\albif","LOCALAPPDATA":"C:\\Users\\albif\\AppData\\Local","LOGONSERVER":"\\\\NOTEBOOK-DELL","NUMBER_OF_PROCESSORS":"8","OneDrive":"C:\\Users\\albif\\OneDrive","OneDriveConsumer":"C:\\Users\\albif\\OneDrive","OPENSSL_CONF":"C:\\Program Files\\OpenSSL-Win64\\bin\\openssl.cfg","ORIGINAL_XDG_CURRENT_DESKTOP":"undefined","OS":"Windows_NT","Path":"C:\\Program Files\\Eclipse Adoptium\\jdk-17.0.2.8-hotspot\\bin;C:\\Python310\\Scripts\\;C:\\Python310\\;C:\\Program Files\\AdoptOpenJDK\\jdk-16.0.1.9-hotspot\\bin;C:\\Python39\\Scripts\\;C:\\Python39\\;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Users\\albif\\AppData\\Local\\Android\\Sdk\\platform-tools;C:\\Program Files\\dotnet\\;C:\\Program Files\\Calibre2\\;C:\\Program Files\\Git LFS;C:\\ProgramData\\chocolatey\\bin;C:\\Program Files\\Wireshark;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\ProgramData\\chocolatey\\lib\\maven\\apache-maven-3.8.4\\bin;C:\\Program Files\\PowerShell\\7\\;C:\\Users\\albif\\.oh-my-posh;C:\\Program Files\\Git\\cmd;C:\\Program Files\\nodejs\\;C:\\Program Files\\Docker\\Docker\\resources\\bin;C:\\ProgramData\\DockerDesktop\\version-bin;C:\\Users\\albif\\AppData\\Local\\Programs\\Python\\Python38\\Scripts\\;C:\\Users\\albif\\AppData\\Local\\Programs\\Python\\Python38\\;C:\\Users\\albif\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Program Files\\OpenSSL-Win64\\bin;C:\\Program Files\\ffmpeg\\bin;C:\\Users\\albif\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Program Files (x86)\\Mercurial;C:\\Users\\albif\\Documents\\Utilities\\git-cinnabar;C:\\Python27;C:\\Program Files (x86)\\GnuPG\\bin;C:\\Users\\albif\\AppData\\Roaming\\cabal\\bin;C:\\ProgramData\\chocolatey\\lib\\ghc\\tools\\ghc-8.10.3\\bin;C:\\ProgramData\\chocolatey\\lib\\ghc\\tools\\ghc-8.10.4\\bin;C:\\Program Files\\Git\\usr\\bin;C:\\Program Files\\MySQL\\MySQL Server 8.0\\bin;C:\\tools\\ghc-9.0.1\\bin;C:\\Users\\albif\\AppData\\Roaming\\Python\\Python39\\Scripts;C:\\Program Files\\Mercurial\\;C:\\Users\\albif\\AppData\\Local\\Pandoc\\;C:\\Program Files (x86)\\Nmap;C:\\Users\\albif\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Program Files\\heroku\\bin;C:\\Users\\albif\\AppData\\Roaming\\npm","PATHEXT":".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.PY;.PYW","POWERSHELL_DISTRIBUTION_CHANNEL":"MSI:Windows 10 Home","PROCESSOR_ARCHITECTURE":"AMD64","PROCESSOR_IDENTIFIER":"Intel64 Family 6 Model 142 Stepping 10, GenuineIntel","PROCESSOR_LEVEL":"6","PROCESSOR_REVISION":"8e0a","ProgramData":"C:\\ProgramData","ProgramFiles":"C:\\Program Files","ProgramFiles(x86)":"C:\\Program Files (x86)","ProgramW6432":"C:\\Program Files","PSModulePath":"C:\\Program Files\\WindowsPowerShell\\Modules;C:\\WINDOWS\\system32\\WindowsPowerShell\\v1.0\\Modules","PUBLIC":"C:\\Users\\Public","SESSIONNAME":"Console","SystemDrive":"C:","SystemRoot":"C:\\WINDOWS","TEMP":"C:\\Users\\albif\\AppData\\Local\\Temp","TMP":"C:\\Users\\albif\\AppData\\Local\\Temp","USERDOMAIN":"NOTEBOOK-DELL","USERDOMAIN_ROAMINGPROFILE":"NOTEBOOK-DELL","USERNAME":"albif","USERPROFILE":"C:\\Users\\albif","VSCODE_AMD_ENTRYPOINT":"vs/workbench/services/extensions/node/extensionHostProcess","VSCODE_CODE_CACHE_PATH":"C:\\Users\\albif\\AppData\\Roaming\\Code\\CachedData\\f80445acd5a3dadef24aa209168452a3d97cc326","VSCODE_CWD":"C:\\Users\\albif\\AppData\\Local\\Programs\\Microsoft VS Code","VSCODE_HANDLES_UNCAUGHT_ERRORS":"true","VSCODE_IPC_HOOK":"\\\\.\\pipe\\0c70797e98735dfdaa832b02f5033060-1.64.2-main-sock","VSCODE_IPC_HOOK_EXTHOST":"\\\\.\\pipe\\vscode-ipc-390c699c-a3b3-4334-a1ab-968565467140-sock","VSCODE_LOG_NATIVE":"false","VSCODE_LOG_STACK":"false","VSCODE_NLS_CONFIG":"{\"locale\":\"en-gb\",\"availableLanguages\":{},\"_languagePackSupport\":true}","VSCODE_PID":"16868","VSCODE_PIPE_LOGGING":"true","VSCODE_VERBOSE_LOGGING":"true","windir":"C:\\WINDOWS","ZES_ENABLE_SYSMAN":"1","_MSYS2_BASH":"C:\\tools\\msys64\\usr\\bin\\bash.exe","_MSYS2_PREFIX":"x86_64","DISPLAY":"1","SSH_ASKPASS":"c:\\Users\\albif\\.vscode\\extensions\\ms-vscode-remote.remote-containers-0.217.4\\scripts\\ssh-askpass.bat","VSCODE_SSH_ASKPASS_NODE":"C:\\Users\\albif\\AppData\\Local\\Programs\\Microsoft VS Code\\Code.exe","VSCODE_SSH_ASKPASS_EXTRA_ARGS":"--ms-enable-electron-run-as-node","VSCODE_SSH_ASKPASS_MAIN":"c:\\Users\\albif\\.vscode\\extensions\\ms-vscode-remote.remote-containers-0.217.4\\dist\\common\\sshAskpass.js","VSCODE_SSH_ASKPASS_HANDLE":"\\\\.\\pipe\\ssh-askpass-b3e7205fc5017ea049866e123544ff2387af600b-sock","DOCKER_CONTEXT":"default","SSH_AUTH_SOCK":"\\\\.\\pipe\\openssh-ssh-agent"},"containerId":"1ee27b7746afc0d923e8a0142b48b5831b380ff3b0dc5e010f271f93196a01fa","user":"root","sessionId":"a52b08b3-8f20-4fe7-b338-8e942ca9c30e1645637241427","logLevel":1,"delay":10000}}] [19957 ms] [17:27:42] Extracted extension to /root/.vscode-server/extensions/.13387d5f-b6e3-4024-82f8-6ab8baab5ea4: eamodio.gitlens [19976 ms] [17:27:42] [127.0.0.1][f59181f6][ExtensionHostConnection] New connection established. [20017 ms] [17:27:42] [127.0.0.1][f59181f6][ExtensionHostConnection] <261> Launched Extension Host Process. [20128 ms] [17:27:42] Renamed to /root/.vscode-server/extensions/eamodio.gitlens-11.7.0 [20129 ms] [17:27:42] Extracting completed. eamodio.gitlens [20129 ms] [17:27:42] Extension installed successfully: eamodio.gitlens [20130 ms] Extension 'eamodio.gitlens' v11.7.0 was successfully installed. [21222 ms] Start: Run in container: cat /proc/273/environ [21248 ms] Stop (26 ms): Run in container: cat /proc/273/environ [23028 ms] Extensions cache, copy to shared cache: None [79334 ms] Received message: [] [83039 ms] Extensions cache, copy to shared cache: None [139347 ms] Received message: [] [143059 ms] Extensions cache, copy to shared cache: None [199359 ms] Received message: [] [203078 ms] Extensions cache, copy to shared cache: None [259369 ms] Received message: [] [263091 ms] Extensions cache, copy to shared cache: None ```
chrmarti commented 2 years ago

Thanks, this all looks like it should work - except it doesn't. What do you get when running gpg --version locally?

AlbertoFabbri93 commented 2 years ago
gpg --version
gpg (GnuPG) 2.2.29-unknown
libgcrypt 1.9.3-unknown
Copyright (C) 2021 Free Software Foundation, Inc.
License GNU GPL-3.0-or-later <https://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Home: /c/Users/albif/.gnupg
Supported algorithms:
Pubkey: RSA, ELG, DSA, ECDH, ECDSA, EDDSA
Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH,
        CAMELLIA128, CAMELLIA192, CAMELLIA256
Hash: SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2
github-actions[bot] commented 2 years ago

Hey @chrmarti, this issue might need further attention.

@AllanChain, you can help us out by closing this issue if the problem no longer exists, or adding more information.

github-actions[bot] commented 2 years ago

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!

chrmarti commented 2 years ago

@AlbertoFabbri93 Looking at Home: /c/Users/albif/.gnupg, do you know why it is not using C:\ for the path? Is this Cygwin?

github-actions[bot] commented 2 years ago

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!

AlbertoFabbri93 commented 2 years ago

@AlbertoFabbri93 Looking at Home: /c/Users/albif/.gnupg, do you know why it is not using C:\ for the path? Is this Cygwin?

I do not know, I am not using Cygwin. I am using the gpg executable that comes with git for Windows. I am not using Gpg4win.