Closed OldStarchy closed 3 years ago
This just started happening with Remote SSH on a system I've previously had no problems with
> Executing task: yarn run watch <
Yarn requires Node.js 4.0 or higher to be installed.
The terminal process "bash '-c', 'yarn run watch'" failed to launch (exit code: 1).
Running "yarn run watch" works fine in the integrated terminal.
@Tyriar this looks like it might be related to the build task not working.
Duplicate of https://github.com/microsoft/vscode/issues/123072, which is also about the recent changes that cause task terminals to have the wrong env.
Maybe, but I'm not sure. Definitely build tasks in SSH/WSL have stopped working recently, but tasks not working in dev containers has been an ongoing issue for at least 6 months. I didn't raise it earlier since I'm still a docker newbie and I thought it might solve itself eventually š¤¦.
I can confirm the referenced issue is now fixed, but tasks are still not working in dev containers, can this issue please be reopened.
Running the same task in WSL and in a Dev Container i get
WSL:
> Executing task: yarn run build <
yarn run v1.22.10
$ webpack --mode development
Build mode development
/* snip */
webpack 5.36.2 compiled successfully in 2786 ms
Done in 3.43s.
Terminal will be reused by tasks, press any key to close it.
DevContainer:
> Executing task: yarn run build <
/bin/bash: yarn: command not found
The terminal process "bash '-c', 'yarn run build'" failed to launch (exit code: 127).
Terminal will be reused by tasks, press any key to close it.
(first and last) ping/bump. @alexr00 / @Tyriar can this issue be reopened please (see above comment).
FYI @chrmarti - report of tasks not working in dev containers
@aNickzz Could you retry with VS Code Insiders and the latest version of the Remote-Containers extension (currently 0.179.0)? If that doesn't work, could you append the dev container log? (F1
> Remote-Containers: Show Container Log
)
Sure;
Version: 1.57.0-insider (user setup) Commit: 286b643ecd231f66f3f2e67e1456f3c601838b46 Date: 2021-05-25T05:24:28.413Z Electron: 12.0.9 Chrome: 89.0.4389.128 Node.js: 14.16.0 V8: 8.9.255.25-electron.0 OS: Windows_NT x64 10.0.19041
Name: Remote - Containers Id: ms-vscode-remote.remote-containers Version: 0.179.0
Name: Remote - WSL Id: ms-vscode-remote.remote-wsl Version: 0.56.3
> Executing task: yarn run build <
/bin/bash: yarn: command not found
The terminal process "bash '-c', 'yarn run build'" failed to launch (exit code: 127).
Terminal will be reused by tasks, press any key to close it.
Where do you have yarn
installed and how is its folder added to the PATH?
@aNickzz Just saw that now in the description above. Could you append the full .bash_profile
and .bashrc
of the vscode
user?
Sure thing, there is no .bash_profile
but here's the .profile
and .bashrc
That looks good. Could you change the log level for Remote-Containers to 'trace' in the settings and post a new log with that? Also make sure to update to the latest Remote-Containers (currently 0.181.0, still requires VS Code Insiders).
Version: 1.57.0-insider (user setup) Commit: fe1eafc80c07608de52a2f9c99fee103dea77f5e Date: 2021-06-04T12:21:40.077Z Electron: 12.0.9 Chrome: 89.0.4389.128 Node.js: 14.16.0 V8: 8.9.255.25-electron.0 OS: Windows_NT x64 10.0.19041
Name: Remote - Containers Id: ms-vscode-remote.remote-containers Version: 0.182.0
Name: Remote - WSL Id: ms-vscode-remote.remote-wsl Version: 0.56.4
It looks like your user account's (in the container) default shell in /etc/passwd
is /bin/sh
. Can you change that to /bin/bash
?
I did this and reloaded the container, and am now able to run the tasks from vscode š š. I've also now added chsh -s /bin/bash vscode
to my dockerfile.
ARG USERNAME=vscode
ARG USER_UID=1000
ARG USER_GID=$USER_UID
# Create a user for vscode to use
RUN groupadd --gid $USER_GID $USERNAME \
&& useradd --uid $USER_UID --gid $USER_GID -m $USERNAME \
# Allow vscode to run sudo commands
&& echo $USERNAME ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/$USERNAME \
&& chmod 0440 /etc/sudoers.d/$USERNAME \
# Required to get vscode tasks to work
&& chsh -s /bin/bash vscode
I guess this all makes sense, but the discoverability of the solution could do with a bit of work. I didn't consider that a user's default shell could be configured (though it's obvious if I think about it), let alone that it would be able to fix this.
Maybe when a task fails it could detect if /bin/sh is the default and if so suggest changing it to /bin/bash...?
I have added to the log output to make this easier to spot. The task code is unaware of Remote-Containers, but making this more discoverable would certainly be good.
Thanks @chrmarti
php:1.7-apache
Logs
```log [410 ms] Remote-Containers 0.177.0 in VS Code 1.57.0-insider (a19565da7dfc739fa26e36aae96113e19fe3806f). [409 ms] Start: Resolving Remote [411 ms] Start: Run: wsl -d Ubuntu -e wslpath -u \\wsl$\Ubuntu\home\sorokin\projects\silverstripe-template [548 ms] Start: Run: wsl -d Ubuntu [723 ms] Setting up container for folder or workspace: /home/sorokin/projects/silverstripe-template [725 ms] Start: Check Docker is running [726 ms] Start: Run: wsl -d Ubuntu -e /bin/sh -c cd '/home/sorokin/projects/silverstripe-template' && DISPLAY='1' ELECTRON_RUN_AS_NODE='1' SSH_ASKPASS='c:\Users\Nick\.vscode-insiders\extensions\ms-vscode-remote.remote-containers-0.177.0\scripts\ssh-askpass.bat' VSCODE_SSH_ASKPASS_NODE='C:\Users\Nick\AppData\Local\Programs\Microsoft VS Code Insiders\Code - Insiders.exe' VSCODE_SSH_ASKPASS_MAIN='c:\Users\Nick\.vscode-insiders\extensions\ms-vscode-remote.remote-containers-0.177.0\dist\common\sshAskpass.js' VSCODE_SSH_ASKPASS_HANDLE='\\.\pipe\ssh-askpass-394387a39bdb455db74ce92892d2e354175abaf2-sock' DOCKER_CONTEXT='default' VSCODE_SSH_ASKPASS_COUNTER='1' docker 'version' '--format' '{{.Server.APIVersion}}' [989 ms] Server API version: 1.41 [1665 ms] Start: Run: wsl -d Ubuntu -e /bin/sh -c cd '/home/sorokin/projects/silverstripe-template' && DISPLAY='1' ELECTRON_RUN_AS_NODE='1' SSH_ASKPASS='c:\Users\Nick\.vscode-insiders\extensions\ms-vscode-remote.remote-containers-0.177.0\scripts\ssh-askpass.bat' VSCODE_SSH_ASKPASS_NODE='C:\Users\Nick\AppData\Local\Programs\Microsoft VS Code Insiders\Code - Insiders.exe' VSCODE_SSH_ASKPASS_MAIN='c:\Users\Nick\.vscode-insiders\extensions\ms-vscode-remote.remote-containers-0.177.0\dist\common\sshAskpass.js' VSCODE_SSH_ASKPASS_HANDLE='\\.\pipe\ssh-askpass-394387a39bdb455db74ce92892d2e354175abaf2-sock' DOCKER_CONTEXT='default' VSCODE_SSH_ASKPASS_COUNTER='2' docker-compose 'version' '--short' [3012 ms] Start: Run: wsl -d Ubuntu -e /bin/sh -c cd '/home/sorokin/projects/silverstripe-template' && DISPLAY='1' ELECTRON_RUN_AS_NODE='1' SSH_ASKPASS='c:\Users\Nick\.vscode-insiders\extensions\ms-vscode-remote.remote-containers-0.177.0\scripts\ssh-askpass.bat' VSCODE_SSH_ASKPASS_NODE='C:\Users\Nick\AppData\Local\Programs\Microsoft VS Code Insiders\Code - Insiders.exe' VSCODE_SSH_ASKPASS_MAIN='c:\Users\Nick\.vscode-insiders\extensions\ms-vscode-remote.remote-containers-0.177.0\dist\common\sshAskpass.js' VSCODE_SSH_ASKPASS_HANDLE='\\.\pipe\ssh-askpass-394387a39bdb455db74ce92892d2e354175abaf2-sock' DOCKER_CONTEXT='default' VSCODE_SSH_ASKPASS_COUNTER='3' docker 'ps' '-q' '-a' '--filter' 'label=com.docker.compose.project=silverstripe-template_devcontainer' '--filter' 'label=com.docker.compose.service=dev' [3208 ms] Start: Run: wsl -d Ubuntu -e /bin/sh -c cd '/home/sorokin/projects/silverstripe-template' && DISPLAY='1' ELECTRON_RUN_AS_NODE='1' SSH_ASKPASS='c:\Users\Nick\.vscode-insiders\extensions\ms-vscode-remote.remote-containers-0.177.0\scripts\ssh-askpass.bat' VSCODE_SSH_ASKPASS_NODE='C:\Users\Nick\AppData\Local\Programs\Microsoft VS Code Insiders\Code - Insiders.exe' VSCODE_SSH_ASKPASS_MAIN='c:\Users\Nick\.vscode-insiders\extensions\ms-vscode-remote.remote-containers-0.177.0\dist\common\sshAskpass.js' VSCODE_SSH_ASKPASS_HANDLE='\\.\pipe\ssh-askpass-394387a39bdb455db74ce92892d2e354175abaf2-sock' DOCKER_CONTEXT='default' VSCODE_SSH_ASKPASS_COUNTER='4' docker 'inspect' '--type' 'container' '7fe5735df5eb' [3443 ms] Start: Run: wsl -d Ubuntu -e /bin/sh -c cd '/home/sorokin/projects/silverstripe-template' && SHELL='/bin/bash' WSL_DISTRO_NAME='Ubuntu' NAME='BeanWithBacon' LOGNAME='sorokin' HOME='/home/sorokin' LANG='C.UTF-8' TERM='xterm-256color' USER='sorokin' SHLVL='1' WSLENV='' XDG_DATA_DIRS='/usr/local/share:/usr/share:/var/lib/snapd/desktop' PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/h/wamp64/bin/php/php7.1.15:/mnt/c/Program Files (x86)/Common Files/Oracle/Java/javapath:/mnt/c/Python37/:/mnt/c/Python37/Scripts:/mnt/c/ProgramData/Oracle/Java/javapath:/mnt/c/Windows/System32:/mnt/c/Windows:/mnt/c/Windows/System32/wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0/:/mnt/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/mnt/c/Program Files/Microsoft SQL Server/130/Tools/Binn/:/mnt/c/Program Files/dotnet/:/mnt/c/Program Files (x86)/GtkSharp/2.12/bin:/mnt/c/Windows/System32:/mnt/c/Windows:/mnt/c/Windows/System32/wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0/:/mnt/c/ProgramData/chocolatey/bin:/mnt/c/Program Files (x86)/LINQPad5:/mnt/c/Program Files (x86)/QuickTime/QTSystem/:/mnt/c/Program Files (x86)/Lua/5.1:/mnt/c/Program Files (x86)/Lua/5.1/clibs:/mnt/c/Program Files/Gource/cmd:/mnt/c/Program Files/Java/jdk1.8.0_162/bin:/mnt/c/Windows/System32/OpenSSH/:/mnt/c/Program Files/NVIDIA Corporation/NVIDIA NvDLISR:/mnt/c/Windows/System32:/mnt/c/Windows:/mnt/c/Windows/System32/wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0/:/mnt/c/Windows/System32/OpenSSH/:/mnt/c/Program Files/Git/cmd:/mnt/c/Program Files/Git/usr/bin:/mnt/c/Program Files/Git/mingw64/bin:/mnt/c/Program Files/Microsoft SQL Server/Client SDK/ODBC/170/Tools/Binn/:/mnt/c/Users/Nick/AppData/Roaming/nvm:/mnt/c/Program Files/nodejs:/mnt/h/Program Files/ngrok-stable-windows-amd64:/mnt/c/Program Files/PowerShell/7/:/mnt/c/ProgramData/ComposerSetup/bin:/mnt/c/Program Files/Docker/Docker/resources/bin:/mnt/c/ProgramData/DockerDesktop/version-bin:/mnt/c/Users/Nick/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/Nick/path:/mnt/c/Users/Nick/AppData/Roaming/Composer/vendor/bin:/mnt/c/Program Files/Oracle/VirtualBox:/mnt/c/Users/Nick/AppData/Local/Programs/Fiddler:/mnt/c/Users/Nick/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/Nick/AppData/Local/Programs/MiKTeX 2.9/miktex/bin/x64/:/mnt/c/Users/Nick/AppData/Local/Programs/Microsoft VS Code Insiders/bin:/mnt/c/Users/Nick/AppData/Roaming/nvm:/mnt/c/Program Files/nodejs:/snap/bin' HOSTTYPE='x86_64' _='/usr/bin/printenv' DISPLAY='1' ELECTRON_RUN_AS_NODE='1' SSH_ASKPASS='c:\Users\Nick\.vscode-insiders\extensions\ms-vscode-remote.remote-containers-0.177.0\scripts\ssh-askpass.bat' VSCODE_SSH_ASKPASS_NODE='C:\Users\Nick\AppData\Local\Programs\Microsoft VS Code Insiders\Code - Insiders.exe' VSCODE_SSH_ASKPASS_MAIN='c:\Users\Nick\.vscode-insiders\extensions\ms-vscode-remote.remote-containers-0.177.0\dist\common\sshAskpass.js' VSCODE_SSH_ASKPASS_HANDLE='\\.\pipe\ssh-askpass-394387a39bdb455db74ce92892d2e354175abaf2-sock' DOCKER_CONTEXT='default' VSCODE_SSH_ASKPASS_COUNTER='6' docker-compose '-f' '/home/sorokin/projects/silverstripe-template/.devcontainer/docker-compose.yml' 'config' '--services' [4144 ms] dev mysql phpmyadmin [4144 ms] [4145 ms] Start: Run: wsl -d Ubuntu -e /bin/sh -c cd '/home/sorokin/projects/silverstripe-template' && DISPLAY='1' ELECTRON_RUN_AS_NODE='1' SSH_ASKPASS='c:\Users\Nick\.vscode-insiders\extensions\ms-vscode-remote.remote-containers-0.177.0\scripts\ssh-askpass.bat' VSCODE_SSH_ASKPASS_NODE='C:\Users\Nick\AppData\Local\Programs\Microsoft VS Code Insiders\Code - Insiders.exe' VSCODE_SSH_ASKPASS_MAIN='c:\Users\Nick\.vscode-insiders\extensions\ms-vscode-remote.remote-containers-0.177.0\dist\common\sshAskpass.js' VSCODE_SSH_ASKPASS_HANDLE='\\.\pipe\ssh-askpass-394387a39bdb455db74ce92892d2e354175abaf2-sock' DOCKER_CONTEXT='default' VSCODE_SSH_ASKPASS_COUNTER='8' docker '-v' [4282 ms] Start: Run: wsl -d Ubuntu -e /bin/sh -c cd '/home/sorokin/projects/silverstripe-template' && DISPLAY='1' ELECTRON_RUN_AS_NODE='1' SSH_ASKPASS='c:\Users\Nick\.vscode-insiders\extensions\ms-vscode-remote.remote-containers-0.177.0\scripts\ssh-askpass.bat' VSCODE_SSH_ASKPASS_NODE='C:\Users\Nick\AppData\Local\Programs\Microsoft VS Code Insiders\Code - Insiders.exe' VSCODE_SSH_ASKPASS_MAIN='c:\Users\Nick\.vscode-insiders\extensions\ms-vscode-remote.remote-containers-0.177.0\dist\common\sshAskpass.js' VSCODE_SSH_ASKPASS_HANDLE='\\.\pipe\ssh-askpass-394387a39bdb455db74ce92892d2e354175abaf2-sock' DOCKER_CONTEXT='default' VSCODE_SSH_ASKPASS_COUNTER='7' docker 'events' '--format' '{{json .}}' '--filter' 'event=start' [4302 ms] Start: Run: wsl -d Ubuntu -e /bin/sh -c cd '/home/sorokin/projects/silverstripe-template' && SHELL='/bin/bash' WSL_DISTRO_NAME='Ubuntu' NAME='BeanWithBacon' LOGNAME='sorokin' HOME='/home/sorokin' LANG='C.UTF-8' TERM='xterm-256color' USER='sorokin' SHLVL='1' WSLENV='' XDG_DATA_DIRS='/usr/local/share:/usr/share:/var/lib/snapd/desktop' PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/h/wamp64/bin/php/php7.1.15:/mnt/c/Program Files (x86)/Common Files/Oracle/Java/javapath:/mnt/c/Python37/:/mnt/c/Python37/Scripts:/mnt/c/ProgramData/Oracle/Java/javapath:/mnt/c/Windows/System32:/mnt/c/Windows:/mnt/c/Windows/System32/wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0/:/mnt/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/mnt/c/Program Files/Microsoft SQL Server/130/Tools/Binn/:/mnt/c/Program Files/dotnet/:/mnt/c/Program Files (x86)/GtkSharp/2.12/bin:/mnt/c/Windows/System32:/mnt/c/Windows:/mnt/c/Windows/System32/wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0/:/mnt/c/ProgramData/chocolatey/bin:/mnt/c/Program Files (x86)/LINQPad5:/mnt/c/Program Files (x86)/QuickTime/QTSystem/:/mnt/c/Program Files (x86)/Lua/5.1:/mnt/c/Program Files (x86)/Lua/5.1/clibs:/mnt/c/Program Files/Gource/cmd:/mnt/c/Program Files/Java/jdk1.8.0_162/bin:/mnt/c/Windows/System32/OpenSSH/:/mnt/c/Program Files/NVIDIA Corporation/NVIDIA NvDLISR:/mnt/c/Windows/System32:/mnt/c/Windows:/mnt/c/Windows/System32/wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0/:/mnt/c/Windows/System32/OpenSSH/:/mnt/c/Program Files/Git/cmd:/mnt/c/Program Files/Git/usr/bin:/mnt/c/Program Files/Git/mingw64/bin:/mnt/c/Program Files/Microsoft SQL Server/Client SDK/ODBC/170/Tools/Binn/:/mnt/c/Users/Nick/AppData/Roaming/nvm:/mnt/c/Program Files/nodejs:/mnt/h/Program Files/ngrok-stable-windows-amd64:/mnt/c/Program Files/PowerShell/7/:/mnt/c/ProgramData/ComposerSetup/bin:/mnt/c/Program Files/Docker/Docker/resources/bin:/mnt/c/ProgramData/DockerDesktop/version-bin:/mnt/c/Users/Nick/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/Nick/path:/mnt/c/Users/Nick/AppData/Roaming/Composer/vendor/bin:/mnt/c/Program Files/Oracle/VirtualBox:/mnt/c/Users/Nick/AppData/Local/Programs/Fiddler:/mnt/c/Users/Nick/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/Nick/AppData/Local/Programs/MiKTeX 2.9/miktex/bin/x64/:/mnt/c/Users/Nick/AppData/Local/Programs/Microsoft VS Code Insiders/bin:/mnt/c/Users/Nick/AppData/Roaming/nvm:/mnt/c/Program Files/nodejs:/snap/bin' HOSTTYPE='x86_64' _='/usr/bin/printenv' DISPLAY='1' ELECTRON_RUN_AS_NODE='1' SSH_ASKPASS='c:\Users\Nick\.vscode-insiders\extensions\ms-vscode-remote.remote-containers-0.177.0\scripts\ssh-askpass.bat' VSCODE_SSH_ASKPASS_NODE='C:\Users\Nick\AppData\Local\Programs\Microsoft VS Code Insiders\Code - Insiders.exe' VSCODE_SSH_ASKPASS_MAIN='c:\Users\Nick\.vscode-insiders\extensions\ms-vscode-remote.remote-containers-0.177.0\dist\common\sshAskpass.js' VSCODE_SSH_ASKPASS_HANDLE='\\.\pipe\ssh-askpass-394387a39bdb455db74ce92892d2e354175abaf2-sock' DOCKER_CONTEXT='default' VSCODE_SSH_ASKPASS_COUNTER='9' docker-compose '--project-name' 'silverstripe-template_devcontainer' '-f' '/home/sorokin/projects/silverstripe-template/.devcontainer/docker-compose.yml' 'up' '-d' Starting silverstripe-template_devcontainer_mysql_1 ... done Starting silverstripe-template_devcontainer_dev_1 ... Starting silverstripe-template_devcontainer_dev_1 ... done [6862 ms] Start: Run: wsl -d Ubuntu -e /bin/sh -c cd '/home/sorokin/projects/silverstripe-template' && DISPLAY='1' ELECTRON_RUN_AS_NODE='1' SSH_ASKPASS='c:\Users\Nick\.vscode-insiders\extensions\ms-vscode-remote.remote-containers-0.177.0\scripts\ssh-askpass.bat' VSCODE_SSH_ASKPASS_NODE='C:\Users\Nick\AppData\Local\Programs\Microsoft VS Code Insiders\Code - Insiders.exe' VSCODE_SSH_ASKPASS_MAIN='c:\Users\Nick\.vscode-insiders\extensions\ms-vscode-remote.remote-containers-0.177.0\dist\common\sshAskpass.js' VSCODE_SSH_ASKPASS_HANDLE='\\.\pipe\ssh-askpass-394387a39bdb455db74ce92892d2e354175abaf2-sock' DOCKER_CONTEXT='default' VSCODE_SSH_ASKPASS_COUNTER='10' docker 'ps' '-q' '-a' '--filter' 'label=com.docker.compose.project=silverstripe-template_devcontainer' '--filter' 'label=com.docker.compose.service=dev' [7143 ms] Start: Run: wsl -d Ubuntu -e /bin/sh -c cd '/home/sorokin/projects/silverstripe-template' && DISPLAY='1' ELECTRON_RUN_AS_NODE='1' SSH_ASKPASS='c:\Users\Nick\.vscode-insiders\extensions\ms-vscode-remote.remote-containers-0.177.0\scripts\ssh-askpass.bat' VSCODE_SSH_ASKPASS_NODE='C:\Users\Nick\AppData\Local\Programs\Microsoft VS Code Insiders\Code - Insiders.exe' VSCODE_SSH_ASKPASS_MAIN='c:\Users\Nick\.vscode-insiders\extensions\ms-vscode-remote.remote-containers-0.177.0\dist\common\sshAskpass.js' VSCODE_SSH_ASKPASS_HANDLE='\\.\pipe\ssh-askpass-394387a39bdb455db74ce92892d2e354175abaf2-sock' DOCKER_CONTEXT='default' VSCODE_SSH_ASKPASS_COUNTER='11' docker 'inspect' '--type' 'container' '7fe5735df5eb' [7386 ms] Start: Inspecting container [7386 ms] Start: Run: wsl -d Ubuntu -e /bin/sh -c cd '/home/sorokin/projects/silverstripe-template' && DISPLAY='1' ELECTRON_RUN_AS_NODE='1' SSH_ASKPASS='c:\Users\Nick\.vscode-insiders\extensions\ms-vscode-remote.remote-containers-0.177.0\scripts\ssh-askpass.bat' VSCODE_SSH_ASKPASS_NODE='C:\Users\Nick\AppData\Local\Programs\Microsoft VS Code Insiders\Code - Insiders.exe' VSCODE_SSH_ASKPASS_MAIN='c:\Users\Nick\.vscode-insiders\extensions\ms-vscode-remote.remote-containers-0.177.0\dist\common\sshAskpass.js' VSCODE_SSH_ASKPASS_HANDLE='\\.\pipe\ssh-askpass-394387a39bdb455db74ce92892d2e354175abaf2-sock' DOCKER_CONTEXT='default' VSCODE_SSH_ASKPASS_COUNTER='12' docker 'inspect' '--type' 'container' '7fe5735df5ebff02e0e9ea0eb1c9b8ad334999439d04da7a7c8e32c76c2c69f2' [7597 ms] Start: Run: wsl -d Ubuntu -e /bin/sh -c cd '/home/sorokin/projects/silverstripe-template' && DISPLAY='1' ELECTRON_RUN_AS_NODE='1' SSH_ASKPASS='c:\Users\Nick\.vscode-insiders\extensions\ms-vscode-remote.remote-containers-0.177.0\scripts\ssh-askpass.bat' VSCODE_SSH_ASKPASS_NODE='C:\Users\Nick\AppData\Local\Programs\Microsoft VS Code Insiders\Code - Insiders.exe' VSCODE_SSH_ASKPASS_MAIN='c:\Users\Nick\.vscode-insiders\extensions\ms-vscode-remote.remote-containers-0.177.0\dist\common\sshAskpass.js' VSCODE_SSH_ASKPASS_HANDLE='\\.\pipe\ssh-askpass-394387a39bdb455db74ce92892d2e354175abaf2-sock' DOCKER_CONTEXT='default' VSCODE_SSH_ASKPASS_COUNTER='13' docker 'exec' '-i' '-u' 'vscode' '-e' 'VSCODE_REMOTE_CONTAINERS_SESSION=09f27078-1bc2-4554-89e1-6282117ebd0d1620563516027' '7fe5735df5ebff02e0e9ea0eb1c9b8ad334999439d04da7a7c8e32c76c2c69f2' '/bin/sh' [7609 ms] Start: Run in container: uname -m [7835 ms] x86_64 [7835 ms] [7836 ms] Start: Run in container: (cat /etc/os-release || cat /usr/lib/os-release) 2>/dev/null [7839 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/" [7839 ms] [7840 ms] Start: Run in container: cat /etc/passwd [7844 ms] Start: Setup shutdown monitor [7845 ms] Forking shutdown monitor: c:\Users\Nick\.vscode-insiders\extensions\ms-vscode-remote.remote-containers-0.177.0\dist\shutdown\shutdownMonitorProcess \\.\pipe\vscode-remote-containers-63647db48560def6f3732716899dcf1884090c3c-sock dockerCompose Debug c:\Users\Nick\AppData\Roaming\Code - Insiders\logs\20210509T220154\exthost1\ms-vscode-remote.remote-containers 1620563517359 [7854 ms] Start: Run in container: test -d /home/vscode/.vscode-server-insiders [7873 ms] [7873 ms] [7873 ms] Start: Run in container: set -o noclobber ; mkdir -p '/home/vscode/.vscode-server-insiders/data/Machine' && { > '/home/vscode/.vscode-server-insiders/data/Machine/.writeMachineSettingsMarker' ; } 2> /dev/null [7882 ms] [7882 ms] [7883 ms] Exit code 2 [7883 ms] Start: Run in container: cat /home/vscode/.vscode-server-insiders/data/Machine/settings.json [7888 ms] [7888 ms] cat: /home/vscode/.vscode-server-insiders/data/Machine/settings.json: No such file or directory [7888 ms] Exit code 1 [7888 ms] Start: Run in container: test -d /home/vscode/.vscode-server-insiders/bin/a19565da7dfc739fa26e36aae96113e19fe3806f [7896 ms] [7897 ms] [7897 ms] Start: Launching Remote-Containers helper. [7897 ms] SSH_AUTH_SOCK not set on host. [7898 ms] Start: Run: wsl -d Ubuntu -e /bin/sh -c cd '/home/sorokin/projects/silverstripe-template' && gpgconf '--list-dir' 'agent-extra-socket' [8070 ms] /home/sorokin/.gnupg/S.gpg-agent.extra [8070 ms] [8070 ms] Start: Run in container: gpgconf --list-dir agent-socket [8074 ms] [8076 ms] /bin/sh: 8: gpgconf: not found [8077 ms] Exit code 127 [8087 ms] Start: Run in container: cat <<'EOF-/tmp/vscode-remote-containers-0e0f3a540be5b4b4dd6154f50473224453c0f4f2.js' >/tmp/vscode-remote-containers-0e0f3a540be5b4b4dd6154f50473224453c0f4f2.js [8097 ms] [8098 ms] [8102 ms] Start: Run in container: cat <<'EOF-/tmp/vscode-remote-containers-server-0e0f3a540be5b4b4dd6154f50473224453c0f4f2.js' >/tmp/vscode-remote-containers-server-0e0f3a540be5b4b4dd6154f50473224453c0f4f2.js [8105 ms] [8105 ms] [8106 ms] Start: Run: wsl -d Ubuntu -e /bin/sh -c cd '/home/sorokin/projects/silverstripe-template' && DISPLAY='1' ELECTRON_RUN_AS_NODE='1' SSH_ASKPASS='c:\Users\Nick\.vscode-insiders\extensions\ms-vscode-remote.remote-containers-0.177.0\scripts\ssh-askpass.bat' VSCODE_SSH_ASKPASS_NODE='C:\Users\Nick\AppData\Local\Programs\Microsoft VS Code Insiders\Code - Insiders.exe' VSCODE_SSH_ASKPASS_MAIN='c:\Users\Nick\.vscode-insiders\extensions\ms-vscode-remote.remote-containers-0.177.0\dist\common\sshAskpass.js' VSCODE_SSH_ASKPASS_HANDLE='\\.\pipe\ssh-askpass-394387a39bdb455db74ce92892d2e354175abaf2-sock' DOCKER_CONTEXT='default' VSCODE_SSH_ASKPASS_COUNTER='14' docker 'exec' '-i' '-u' 'vscode' '-e' 'REMOTE_CONTAINERS_SOCKETS=[]' '-e' 'REMOTE_CONTAINERS_IPC=/tmp/vscode-remote-containers-ipc-0e0f3a540be5b4b4dd6154f50473224453c0f4f2.sock' '7fe5735df5ebff02e0e9ea0eb1c9b8ad334999439d04da7a7c8e32c76c2c69f2' '/home/vscode/.vscode-server-insiders/bin/a19565da7dfc739fa26e36aae96113e19fe3806f/node' '/tmp/vscode-remote-containers-server-0e0f3a540be5b4b4dd6154f50473224453c0f4f2.js' [8224 ms] Start: Run in container: # Test for /home/vscode/.ssh/known_hosts and ssh [8229 ms] /home/vscode/.ssh/known_hosts exists [8230 ms] [8230 ms] Exit code 1 [8232 ms] Start: Run: wsl -d Ubuntu -e /bin/sh -c cd '/home/sorokin/projects/silverstripe-template' && DISPLAY='1' ELECTRON_RUN_AS_NODE='1' SSH_ASKPASS='c:\Users\Nick\.vscode-insiders\extensions\ms-vscode-remote.remote-containers-0.177.0\scripts\ssh-askpass.bat' VSCODE_SSH_ASKPASS_NODE='C:\Users\Nick\AppData\Local\Programs\Microsoft VS Code Insiders\Code - Insiders.exe' VSCODE_SSH_ASKPASS_MAIN='c:\Users\Nick\.vscode-insiders\extensions\ms-vscode-remote.remote-containers-0.177.0\dist\common\sshAskpass.js' VSCODE_SSH_ASKPASS_HANDLE='\\.\pipe\ssh-askpass-394387a39bdb455db74ce92892d2e354175abaf2-sock' DOCKER_CONTEXT='default' VSCODE_SSH_ASKPASS_COUNTER='15' docker 'exec' '-i' '-u' 'root' '7fe5735df5ebff02e0e9ea0eb1c9b8ad334999439d04da7a7c8e32c76c2c69f2' '/bin/sh' [8245 ms] Start: Run in container: command -v git >/dev/null 2>&1 && git config --system credential.helper '!f() { /home/vscode/.vscode-server-insiders/bin/a19565da7dfc739fa26e36aae96113e19fe3806f/node /tmp/vscode-remote-containers-0e0f3a540be5b4b4dd6154f50473224453c0f4f2.js $*; }; f' || true [8550 ms] [8550 ms] [8550 ms] Start: Preparing Extensions [8551 ms] Start: Run in container: set -o noclobber ; mkdir -p '/home/vscode/.vscode-server-insiders/data/Machine' && { > '/home/vscode/.vscode-server-insiders/data/Machine/.installExtensionsMarker' ; } 2> /dev/null [8553 ms] [8554 ms] [8554 ms] Exit code 2 [8557 ms] Extensions cache, install extensions: None [8557 ms] Start: Run in container: test -d /home/vscode/.vscode-server-insiders/extensionsCache && ls /home/vscode/.vscode-server-insiders/extensionsCache || true [8563 ms] aaron-bond.better-comments-2.1.0 adrianhumphreys.silverstripe-1.0.6 alefragnani.numbered-bookmarks-8.0.3 bmewburn.vscode-intelephense-client-1.7.1 dbaeumer.vscode-eslint-2.1.20 eamodio.gitlens-11.4.1 editorconfig.editorconfig-0.16.4 esbenp.prettier-vscode-6.3.2 felixfbecker.php-debug-1.15.1 formulahendry.code-runner-0.11.3 gruntfuggly.todo-tree-0.0.213 junstyle.php-cs-fixer-0.1.158 mhutchie.git-graph-1.30.0 mrmlnc.vscode-scss-0.10.0 mrmlnc.vscode-scss-0.9.1 mtxr.sqltools-0.23.0 mtxr.sqltools-driver-mysql-0.2.0 stylelint.vscode-stylelint-0.86.0 usernamehw.errorlens-3.2.6 [8564 ms] [8565 ms] Extensions cache, copy to remote: None [8566 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 " [8642 ms] Start: Starting VS Code Server [8643 ms] Start: Run in container: /home/vscode/.vscode-server-insiders/bin/a19565da7dfc739fa26e36aae96113e19fe3806f/server.sh --log debug --force-disable-user-env --use-host-proxy --port 0 --extensions-download-dir /home/vscode/.vscode-server-insiders/extensionsCache --start-server [8719 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 42583 [8720 ms] Start: Run in container: echo 42583 >/home/vscode/.vscode-server-insiders/data/Machine/.devport [8721 ms] [8721 ms] [8722 ms] Port forwarding for container port 42583 starts listening on local port. [8723 ms] Port forwarding local port 42583 to container port 42583 [8768 ms] Port forwarding connection from 50995 > 42583 > 42583 in the container. [8769 ms] Start: Run: wsl -d Ubuntu -e /bin/sh -c cd '/home/sorokin/projects/silverstripe-template' && DISPLAY='1' ELECTRON_RUN_AS_NODE='1' SSH_ASKPASS='c:\Users\Nick\.vscode-insiders\extensions\ms-vscode-remote.remote-containers-0.177.0\scripts\ssh-askpass.bat' VSCODE_SSH_ASKPASS_NODE='C:\Users\Nick\AppData\Local\Programs\Microsoft VS Code Insiders\Code - Insiders.exe' VSCODE_SSH_ASKPASS_MAIN='c:\Users\Nick\.vscode-insiders\extensions\ms-vscode-remote.remote-containers-0.177.0\dist\common\sshAskpass.js' VSCODE_SSH_ASKPASS_HANDLE='\\.\pipe\ssh-askpass-394387a39bdb455db74ce92892d2e354175abaf2-sock' DOCKER_CONTEXT='default' VSCODE_SSH_ASKPASS_COUNTER='17' docker 'exec' '-i' '-u' 'vscode' '-e' 'VSCODE_REMOTE_CONTAINERS_SESSION=09f27078-1bc2-4554-89e1-6282117ebd0d1620563516027' '7fe5735df5ebff02e0e9ea0eb1c9b8ad334999439d04da7a7c8e32c76c2c69f2' '/home/vscode/.vscode-server-insiders/bin/a19565da7dfc739fa26e36aae96113e19fe3806f/node' '-e' ' [9124 ms] Start: Run in container: command -v git >/dev/null 2>&1 && git config --global credential.helper '!f() { /home/vscode/.vscode-server-insiders/bin/a19565da7dfc739fa26e36aae96113e19fe3806f/node /tmp/vscode-remote-containers-0e0f3a540be5b4b4dd6154f50473224453c0f4f2.js $*; }; f' || true [9149 ms] [9150 ms] [9210 ms] [12:32:05] Extension host agent started. [9527 ms] Port forwarding connection from 50999 > 42583 > 42583 in the container. [9528 ms] Start: Run: wsl -d Ubuntu -e /bin/sh -c cd '/home/sorokin/projects/silverstripe-template' && DISPLAY='1' ELECTRON_RUN_AS_NODE='1' SSH_ASKPASS='c:\Users\Nick\.vscode-insiders\extensions\ms-vscode-remote.remote-containers-0.177.0\scripts\ssh-askpass.bat' VSCODE_SSH_ASKPASS_NODE='C:\Users\Nick\AppData\Local\Programs\Microsoft VS Code Insiders\Code - Insiders.exe' VSCODE_SSH_ASKPASS_MAIN='c:\Users\Nick\.vscode-insiders\extensions\ms-vscode-remote.remote-containers-0.177.0\dist\common\sshAskpass.js' VSCODE_SSH_ASKPASS_HANDLE='\\.\pipe\ssh-askpass-394387a39bdb455db74ce92892d2e354175abaf2-sock' DOCKER_CONTEXT='default' VSCODE_SSH_ASKPASS_COUNTER='18' docker 'exec' '-i' '-u' 'vscode' '-e' 'VSCODE_REMOTE_CONTAINERS_SESSION=09f27078-1bc2-4554-89e1-6282117ebd0d1620563516027' '7fe5735df5ebff02e0e9ea0eb1c9b8ad334999439d04da7a7c8e32c76c2c69f2' '/home/vscode/.vscode-server-insiders/bin/a19565da7dfc739fa26e36aae96113e19fe3806f/node' '-e' ' [9638 ms] [12:32:06] [::ffff:127.0.0.1][39e9f19b][ManagementConnection] New connection established. [10434 ms] [12:32:07] Deleted from disk mrmlnc.vscode-scss /home/vscode/.vscode-server-insiders/extensions/mrmlnc.vscode-scss-0.9.1 [10549 ms] [12:32:07] [::ffff:127.0.0.1][07cb4c9f][ExtensionHostConnection] New connection established. [10580 ms] [12:32:07] [::ffff:127.0.0.1][07cb4c9f][ExtensionHostConnection] <243> Launched Extension Host Process. [11619 ms] Port forwarding connection from 51004 > 42583 > 42583 in the container. [11620 ms] Start: Run: wsl -d Ubuntu -e /bin/sh -c cd '/home/sorokin/projects/silverstripe-template' && DISPLAY='1' ELECTRON_RUN_AS_NODE='1' SSH_ASKPASS='c:\Users\Nick\.vscode-insiders\extensions\ms-vscode-remote.remote-containers-0.177.0\scripts\ssh-askpass.bat' VSCODE_SSH_ASKPASS_NODE='C:\Users\Nick\AppData\Local\Programs\Microsoft VS Code Insiders\Code - Insiders.exe' VSCODE_SSH_ASKPASS_MAIN='c:\Users\Nick\.vscode-insiders\extensions\ms-vscode-remote.remote-containers-0.177.0\dist\common\sshAskpass.js' VSCODE_SSH_ASKPASS_HANDLE='\\.\pipe\ssh-askpass-394387a39bdb455db74ce92892d2e354175abaf2-sock' DOCKER_CONTEXT='default' VSCODE_SSH_ASKPASS_COUNTER='19' docker 'exec' '-i' '-u' 'vscode' '-e' 'VSCODE_REMOTE_CONTAINERS_SESSION=09f27078-1bc2-4554-89e1-6282117ebd0d1620563516027' '7fe5735df5ebff02e0e9ea0eb1c9b8ad334999439d04da7a7c8e32c76c2c69f2' '/home/vscode/.vscode-server-insiders/bin/a19565da7dfc739fa26e36aae96113e19fe3806f/node' '-e' ' [11620 ms] Port forwarding connection from 51005 > 42583 > 42583 in the container. [11621 ms] Start: Run: wsl -d Ubuntu -e /bin/sh -c cd '/home/sorokin/projects/silverstripe-template' && DISPLAY='1' ELECTRON_RUN_AS_NODE='1' SSH_ASKPASS='c:\Users\Nick\.vscode-insiders\extensions\ms-vscode-remote.remote-containers-0.177.0\scripts\ssh-askpass.bat' VSCODE_SSH_ASKPASS_NODE='C:\Users\Nick\AppData\Local\Programs\Microsoft VS Code Insiders\Code - Insiders.exe' VSCODE_SSH_ASKPASS_MAIN='c:\Users\Nick\.vscode-insiders\extensions\ms-vscode-remote.remote-containers-0.177.0\dist\common\sshAskpass.js' VSCODE_SSH_ASKPASS_HANDLE='\\.\pipe\ssh-askpass-394387a39bdb455db74ce92892d2e354175abaf2-sock' DOCKER_CONTEXT='default' VSCODE_SSH_ASKPASS_COUNTER='20' docker 'exec' '-i' '-u' 'vscode' '-e' 'VSCODE_REMOTE_CONTAINERS_SESSION=09f27078-1bc2-4554-89e1-6282117ebd0d1620563516027' '7fe5735df5ebff02e0e9ea0eb1c9b8ad334999439d04da7a7c8e32c76c2c69f2' '/home/vscode/.vscode-server-insiders/bin/a19565da7dfc739fa26e36aae96113e19fe3806f/node' '-e' ' [12005 ms] Port forwarding connection from 51007 > 42583 > 42583 in the container. [12006 ms] Start: Run: wsl -d Ubuntu -e /bin/sh -c cd '/home/sorokin/projects/silverstripe-template' && DISPLAY='1' ELECTRON_RUN_AS_NODE='1' SSH_ASKPASS='c:\Users\Nick\.vscode-insiders\extensions\ms-vscode-remote.remote-containers-0.177.0\scripts\ssh-askpass.bat' VSCODE_SSH_ASKPASS_NODE='C:\Users\Nick\AppData\Local\Programs\Microsoft VS Code Insiders\Code - Insiders.exe' VSCODE_SSH_ASKPASS_MAIN='c:\Users\Nick\.vscode-insiders\extensions\ms-vscode-remote.remote-containers-0.177.0\dist\common\sshAskpass.js' VSCODE_SSH_ASKPASS_HANDLE='\\.\pipe\ssh-askpass-394387a39bdb455db74ce92892d2e354175abaf2-sock' DOCKER_CONTEXT='default' VSCODE_SSH_ASKPASS_COUNTER='21' docker 'exec' '-i' '-u' 'vscode' '-e' 'VSCODE_REMOTE_CONTAINERS_SESSION=09f27078-1bc2-4554-89e1-6282117ebd0d1620563516027' '7fe5735df5ebff02e0e9ea0eb1c9b8ad334999439d04da7a7c8e32c76c2c69f2' '/home/vscode/.vscode-server-insiders/bin/a19565da7dfc739fa26e36aae96113e19fe3806f/node' '-e' ' [16268 ms] Start: Run in container: cat /proc/305/environ [17788 ms] Port forwarding 51005 > 42583 > 42583 stderr: Remote close [17943 ms] Port forwarding 51005 > 42583 > 42583 terminated with code 0 and signal null. [18101 ms] Port forwarding 51005 > 42583 > 42583: Local close [18327 ms] Port forwarding 51004 > 42583 > 42583 stderr: Remote close [18336 ms] Port forwarding 51007 > 42583 > 42583 stderr: Remote close [18404 ms] Port forwarding 51007 > 42583 > 42583 terminated with code 0 and signal null. [18405 ms] Port forwarding 51004 > 42583 > 42583 terminated with code 0 and signal null. [18571 ms] Extensions cache, remote removals: mrmlnc.vscode-scss-0.9.1 [19865 ms] Port forwarding 51007 > 42583 > 42583: Local close [19865 ms] Port forwarding 51004 > 42583 > 42583: Local close [39999 ms] Port forwarding connection from 51082 > 42583 > 42583 in the container. [40000 ms] Start: Run: wsl -d Ubuntu -e /bin/sh -c cd '/home/sorokin/projects/silverstripe-template' && DISPLAY='1' ELECTRON_RUN_AS_NODE='1' SSH_ASKPASS='c:\Users\Nick\.vscode-insiders\extensions\ms-vscode-remote.remote-containers-0.177.0\scripts\ssh-askpass.bat' VSCODE_SSH_ASKPASS_NODE='C:\Users\Nick\AppData\Local\Programs\Microsoft VS Code Insiders\Code - Insiders.exe' VSCODE_SSH_ASKPASS_MAIN='c:\Users\Nick\.vscode-insiders\extensions\ms-vscode-remote.remote-containers-0.177.0\dist\common\sshAskpass.js' VSCODE_SSH_ASKPASS_HANDLE='\\.\pipe\ssh-askpass-394387a39bdb455db74ce92892d2e354175abaf2-sock' DOCKER_CONTEXT='default' VSCODE_SSH_ASKPASS_COUNTER='22' docker 'exec' '-i' '-u' 'vscode' '-e' 'VSCODE_REMOTE_CONTAINERS_SESSION=09f27078-1bc2-4554-89e1-6282117ebd0d1620563516027' '7fe5735df5ebff02e0e9ea0eb1c9b8ad334999439d04da7a7c8e32c76c2c69f2' '/home/vscode/.vscode-server-insiders/bin/a19565da7dfc739fa26e36aae96113e19fe3806f/node' '-e' ' [40662 ms] [12:32:37] [::ffff:127.0.0.1][07cb4c9f][ExtensionHostConnection] The client has reconnected. [46224 ms] Port forwarding 50999 > 42583 > 42583 stderr: Remote close [46256 ms] Port forwarding 50999 > 42583 > 42583: Local close [46257 ms] Port forwarding 50999 > 42583 > 42583 terminated by extension with code 0 and signal null. [46502 ms] Port forwarding connection from 51090 > 42583 > 42583 in the container. [46503 ms] Start: Run: wsl -d Ubuntu -e /bin/sh -c cd '/home/sorokin/projects/silverstripe-template' && DISPLAY='1' ELECTRON_RUN_AS_NODE='1' SSH_ASKPASS='c:\Users\Nick\.vscode-insiders\extensions\ms-vscode-remote.remote-containers-0.177.0\scripts\ssh-askpass.bat' VSCODE_SSH_ASKPASS_NODE='C:\Users\Nick\AppData\Local\Programs\Microsoft VS Code Insiders\Code - Insiders.exe' VSCODE_SSH_ASKPASS_MAIN='c:\Users\Nick\.vscode-insiders\extensions\ms-vscode-remote.remote-containers-0.177.0\dist\common\sshAskpass.js' VSCODE_SSH_ASKPASS_HANDLE='\\.\pipe\ssh-askpass-394387a39bdb455db74ce92892d2e354175abaf2-sock' DOCKER_CONTEXT='default' VSCODE_SSH_ASKPASS_COUNTER='23' docker 'exec' '-i' '-u' 'vscode' '-e' 'VSCODE_REMOTE_CONTAINERS_SESSION=09f27078-1bc2-4554-89e1-6282117ebd0d1620563516027' '7fe5735df5ebff02e0e9ea0eb1c9b8ad334999439d04da7a7c8e32c76c2c69f2' '/home/vscode/.vscode-server-insiders/bin/a19565da7dfc739fa26e36aae96113e19fe3806f/node' '-e' ' [46504 ms] Port forwarding connection from 51091 > 42583 > 42583 in the container. [46505 ms] Start: Run: wsl -d Ubuntu -e /bin/sh -c cd '/home/sorokin/projects/silverstripe-template' && DISPLAY='1' ELECTRON_RUN_AS_NODE='1' SSH_ASKPASS='c:\Users\Nick\.vscode-insiders\extensions\ms-vscode-remote.remote-containers-0.177.0\scripts\ssh-askpass.bat' VSCODE_SSH_ASKPASS_NODE='C:\Users\Nick\AppData\Local\Programs\Microsoft VS Code Insiders\Code - Insiders.exe' VSCODE_SSH_ASKPASS_MAIN='c:\Users\Nick\.vscode-insiders\extensions\ms-vscode-remote.remote-containers-0.177.0\dist\common\sshAskpass.js' VSCODE_SSH_ASKPASS_HANDLE='\\.\pipe\ssh-askpass-394387a39bdb455db74ce92892d2e354175abaf2-sock' DOCKER_CONTEXT='default' VSCODE_SSH_ASKPASS_COUNTER='24' docker 'exec' '-i' '-u' 'vscode' '-e' 'VSCODE_REMOTE_CONTAINERS_SESSION=09f27078-1bc2-4554-89e1-6282117ebd0d1620563516027' '7fe5735df5ebff02e0e9ea0eb1c9b8ad334999439d04da7a7c8e32c76c2c69f2' '/home/vscode/.vscode-server-insiders/bin/a19565da7dfc739fa26e36aae96113e19fe3806f/node' '-e' ' [46506 ms] Port forwarding connection from 51092 > 42583 > 42583 in the container. [46506 ms] Start: Run: wsl -d Ubuntu -e /bin/sh -c cd '/home/sorokin/projects/silverstripe-template' && DISPLAY='1' ELECTRON_RUN_AS_NODE='1' SSH_ASKPASS='c:\Users\Nick\.vscode-insiders\extensions\ms-vscode-remote.remote-containers-0.177.0\scripts\ssh-askpass.bat' VSCODE_SSH_ASKPASS_NODE='C:\Users\Nick\AppData\Local\Programs\Microsoft VS Code Insiders\Code - Insiders.exe' VSCODE_SSH_ASKPASS_MAIN='c:\Users\Nick\.vscode-insiders\extensions\ms-vscode-remote.remote-containers-0.177.0\dist\common\sshAskpass.js' VSCODE_SSH_ASKPASS_HANDLE='\\.\pipe\ssh-askpass-394387a39bdb455db74ce92892d2e354175abaf2-sock' DOCKER_CONTEXT='default' VSCODE_SSH_ASKPASS_COUNTER='25' docker 'exec' '-i' '-u' 'vscode' '-e' 'VSCODE_REMOTE_CONTAINERS_SESSION=09f27078-1bc2-4554-89e1-6282117ebd0d1620563516027' '7fe5735df5ebff02e0e9ea0eb1c9b8ad334999439d04da7a7c8e32c76c2c69f2' '/home/vscode/.vscode-server-insiders/bin/a19565da7dfc739fa26e36aae96113e19fe3806f/node' '-e' ' [46507 ms] Port forwarding connection from 51093 > 42583 > 42583 in the container. [46508 ms] Start: Run: wsl -d Ubuntu -e /bin/sh -c cd '/home/sorokin/projects/silverstripe-template' && DISPLAY='1' ELECTRON_RUN_AS_NODE='1' SSH_ASKPASS='c:\Users\Nick\.vscode-insiders\extensions\ms-vscode-remote.remote-containers-0.177.0\scripts\ssh-askpass.bat' VSCODE_SSH_ASKPASS_NODE='C:\Users\Nick\AppData\Local\Programs\Microsoft VS Code Insiders\Code - Insiders.exe' VSCODE_SSH_ASKPASS_MAIN='c:\Users\Nick\.vscode-insiders\extensions\ms-vscode-remote.remote-containers-0.177.0\dist\common\sshAskpass.js' VSCODE_SSH_ASKPASS_HANDLE='\\.\pipe\ssh-askpass-394387a39bdb455db74ce92892d2e354175abaf2-sock' DOCKER_CONTEXT='default' VSCODE_SSH_ASKPASS_COUNTER='26' docker 'exec' '-i' '-u' 'vscode' '-e' 'VSCODE_REMOTE_CONTAINERS_SESSION=09f27078-1bc2-4554-89e1-6282117ebd0d1620563516027' '7fe5735df5ebff02e0e9ea0eb1c9b8ad334999439d04da7a7c8e32c76c2c69f2' '/home/vscode/.vscode-server-insiders/bin/a19565da7dfc739fa26e36aae96113e19fe3806f/node' '-e' ' [52278 ms] Port forwarding 51093 > 42583 > 42583 stderr: Remote close [52347 ms] Port forwarding 51093 > 42583 > 42583 terminated with code 0 and signal null. [52351 ms] Port forwarding 51090 > 42583 > 42583 stderr: Remote close [52414 ms] Port forwarding 51090 > 42583 > 42583 terminated with code 0 and signal null. [52450 ms] Port forwarding 51091 > 42583 > 42583 stderr: Remote close [52507 ms] Port forwarding 51091 > 42583 > 42583 terminated with code 0 and signal null. [52521 ms] Port forwarding 51092 > 42583 > 42583 stderr: Remote close [52564 ms] Port forwarding 51092 > 42583 > 42583 terminated with code 0 and signal null. [60673 ms] Port forwarding connection from 51110 > 42583 > 42583 in the container. [60674 ms] Start: Run: wsl -d Ubuntu -e /bin/sh -c cd '/home/sorokin/projects/silverstripe-template' && DISPLAY='1' ELECTRON_RUN_AS_NODE='1' SSH_ASKPASS='c:\Users\Nick\.vscode-insiders\extensions\ms-vscode-remote.remote-containers-0.177.0\scripts\ssh-askpass.bat' VSCODE_SSH_ASKPASS_NODE='C:\Users\Nick\AppData\Local\Programs\Microsoft VS Code Insiders\Code - Insiders.exe' VSCODE_SSH_ASKPASS_MAIN='c:\Users\Nick\.vscode-insiders\extensions\ms-vscode-remote.remote-containers-0.177.0\dist\common\sshAskpass.js' VSCODE_SSH_ASKPASS_HANDLE='\\.\pipe\ssh-askpass-394387a39bdb455db74ce92892d2e354175abaf2-sock' DOCKER_CONTEXT='default' VSCODE_SSH_ASKPASS_COUNTER='27' docker 'exec' '-i' '-u' 'vscode' '-e' 'VSCODE_REMOTE_CONTAINERS_SESSION=09f27078-1bc2-4554-89e1-6282117ebd0d1620563516027' '7fe5735df5ebff02e0e9ea0eb1c9b8ad334999439d04da7a7c8e32c76c2c69f2' '/home/vscode/.vscode-server-insiders/bin/a19565da7dfc739fa26e36aae96113e19fe3806f/node' '-e' ' [61013 ms] [12:32:57] [::ffff:127.0.0.1][07cb4c9f][ExtensionHostConnection] The client has reconnected. [61020 ms] Port forwarding 51082 > 42583 > 42583 stderr: Remote close [61042 ms] Port forwarding 51082 > 42583 > 42583: Local close [61044 ms] Port forwarding 51082 > 42583 > 42583 terminated by extension with code 0 and signal null. [64184 ms] Start: Run in container: cat /proc/595/environ [78587 ms] Extensions cache, remote removals: None [134207 ms] Port forwarding 51093 > 42583 > 42583: Local close [134208 ms] Port forwarding 51092 > 42583 > 42583: Local close [134208 ms] Port forwarding 51091 > 42583 > 42583: Local close [134209 ms] Port forwarding 51090 > 42583 > 42583: Local close [139767 ms] Extensions cache, remote removals: None [144324 ms] Start: Run in container: cat /proc/632/environ [199785 ms] Extensions cache, remote removals: None [259790 ms] Extensions cache, remote removals: None [319802 ms] Extensions cache, remote removals: None [379810 ms] Extensions cache, remote removals: None [439820 ms] Extensions cache, remote removals: None [499838 ms] Extensions cache, remote removals: None [559853 ms] Extensions cache, remote removals: None [619861 ms] Extensions cache, remote removals: None [679873 ms] Extensions cache, remote removals: None [739888 ms] Extensions cache, remote removals: None [799913 ms] Extensions cache, remote removals: None [859932 ms] Extensions cache, remote removals: None [919949 ms] Extensions cache, remote removals: None [960218 ms] Start: Run in container: cat /proc/3209/environ [979967 ms] Extensions cache, remote removals: None [1039997 ms] Extensions cache, remote removals: None [1100016 ms] Extensions cache, remote removals: None [1160035 ms] Extensions cache, remote removals: None [1177283 ms] Port forwarding connection from 52115 > 42583 > 42583 in the container. [1177284 ms] Start: Run: wsl -d Ubuntu -e /bin/sh -c cd '/home/sorokin/projects/silverstripe-template' && DISPLAY='1' ELECTRON_RUN_AS_NODE='1' SSH_ASKPASS='c:\Users\Nick\.vscode-insiders\extensions\ms-vscode-remote.remote-containers-0.177.0\scripts\ssh-askpass.bat' VSCODE_SSH_ASKPASS_NODE='C:\Users\Nick\AppData\Local\Programs\Microsoft VS Code Insiders\Code - Insiders.exe' VSCODE_SSH_ASKPASS_MAIN='c:\Users\Nick\.vscode-insiders\extensions\ms-vscode-remote.remote-containers-0.177.0\dist\common\sshAskpass.js' VSCODE_SSH_ASKPASS_HANDLE='\\.\pipe\ssh-askpass-394387a39bdb455db74ce92892d2e354175abaf2-sock' DOCKER_CONTEXT='default' VSCODE_SSH_ASKPASS_COUNTER='28' docker 'exec' '-i' '-u' 'vscode' '-e' 'VSCODE_REMOTE_CONTAINERS_SESSION=09f27078-1bc2-4554-89e1-6282117ebd0d1620563516027' '7fe5735df5ebff02e0e9ea0eb1c9b8ad334999439d04da7a7c8e32c76c2c69f2' '/home/vscode/.vscode-server-insiders/bin/a19565da7dfc739fa26e36aae96113e19fe3806f/node' '-e' ' [1177652 ms] Port forwarding connection from 52116 > 42583 > 42583 in the container. [1177653 ms] Start: Run: wsl -d Ubuntu -e /bin/sh -c cd '/home/sorokin/projects/silverstripe-template' && DISPLAY='1' ELECTRON_RUN_AS_NODE='1' SSH_ASKPASS='c:\Users\Nick\.vscode-insiders\extensions\ms-vscode-remote.remote-containers-0.177.0\scripts\ssh-askpass.bat' VSCODE_SSH_ASKPASS_NODE='C:\Users\Nick\AppData\Local\Programs\Microsoft VS Code Insiders\Code - Insiders.exe' VSCODE_SSH_ASKPASS_MAIN='c:\Users\Nick\.vscode-insiders\extensions\ms-vscode-remote.remote-containers-0.177.0\dist\common\sshAskpass.js' VSCODE_SSH_ASKPASS_HANDLE='\\.\pipe\ssh-askpass-394387a39bdb455db74ce92892d2e354175abaf2-sock' DOCKER_CONTEXT='default' VSCODE_SSH_ASKPASS_COUNTER='29' docker 'exec' '-i' '-u' 'vscode' '-e' 'VSCODE_REMOTE_CONTAINERS_SESSION=09f27078-1bc2-4554-89e1-6282117ebd0d1620563516027' '7fe5735df5ebff02e0e9ea0eb1c9b8ad334999439d04da7a7c8e32c76c2c69f2' '/home/vscode/.vscode-server-insiders/bin/a19565da7dfc739fa26e36aae96113e19fe3806f/node' '-e' ' [1182673 ms] Port forwarding 52115 > 42583 > 42583 stderr: Remote close [1182707 ms] Port forwarding 52115 > 42583 > 42583 terminated with code 0 and signal null. [1182960 ms] Port forwarding 52116 > 42583 > 42583 stderr: Remote close [1182981 ms] Port forwarding 52116 > 42583 > 42583 terminated with code 0 and signal null. [1192421 ms] Port forwarding 52115 > 42583 > 42583: Local close [1192422 ms] Port forwarding 52116 > 42583 > 42583: Local close [1220065 ms] Extensions cache, remote removals: None [1280081 ms] Extensions cache, remote removals: None [1340102 ms] Extensions cache, remote removals: None [1400119 ms] Extensions cache, remote removals: None [1460144 ms] Extensions cache, remote removals: None [1520168 ms] Extensions cache, remote removals: None ```Steps to Reproduce:
.bashrc
in the container image In my case I'm using this which comes with installing nvm. plus an extra line for composer.bashrc
Run the task
echo $PATH
in a new terminalDoes this issue occur when you try this locally (via WSL)?: Yes
Does this issue occur when you try this locally and all extensions are disabled?: N/A - cannot connect to WSL with extensions disabled
Granted that "local" isn't === "WSL" but environment variables work differently on windows afaik.
Rationale
I'd like to set up a dev container image with all the required tools (eg. yarn and composer), and a template project with all the common tasks (like
yarn
,yarn build
, andcomposer install
) configured, but as demonstrated above,yarn
andcomposer
(which are added to$PATH
in.bashrc
) are not available and the VSCode tasks are unusable.This task is from the built-in task discovery; not defined in
tasks.json