devpod
devpod copied to clipboard
Fatal Process Exited Status 1, upon running agent.
What happened?
Installed the Devpod Package to Win 11, with WSL2 and docker using combinations of PHPStorm and Code-Insiders for IDEs
What did you expect to happen instead?
This was a virgin install and expected the app to bring up a working container.
How can we reproduce the bug? (as minimally and precisely as possible)
Installed on Drive D instead of C. Tried to create a fresh workspace using Devpod from Windows.
The following is the log output.
[07:38:40] debug No pro instance available, skipping provider upgrade check
[07:38:40] debug Acquired workspace lock...
[07:38:40] debug Acquire workspace lock...
[07:38:40] info Creating devcontainer...
[07:38:40] debug Adding ssh keys to agent, disable via 'devpod context set-options -o SSH_ADD_PRIVATE_KEYS=false'
[07:38:40] debug Inject and run command: 'D:\Program Files\DevPod\devpod-cli.exe' helper ssh-server --stdio --debug
[07:38:40] debug Error adding private keys to ssh-agent: ssh-agent is not started
[07:38:40] debug Attempting to create SSH client
[07:38:40] debug Execute command locally
[07:38:40] debug SSH client created
[07:38:40] debug SSH session created
[07:38:40] info Execute SSH server command: D:\Program Files\DevPod\devpod-cli.exe helper sh -c 'D:\Program Files\DevPod\devpod-cli.exe' agent workspace up --workspace-info 'H4sIAAAAAAAA/8xUXW/iOBT9K6v7nBBKP7TyWxfYLdrOgJgw
<TRUNCATED FOR SECURITY REASONS BECAUSE THIS LOOKS LIKE A KEY>
UxCtz4UjhtDErCZ2ZWAWFkbPuvE5NZL7KoYmile0b9f231r+D6XcnJrx98vpzXiyOJ6/zoaTw/uLKR2qc+fvuP/tT2Xfx0NJh/3DZ/MTAAD//wEAAP//JNRDgtcFAAA=' --debug
[07:47:18] info Use C:\Users\olson.devpod\agent\contexts\default\workspaces\test-ws-name as workspace dir
[07:47:18] debug Created logger
[07:47:18] debug Received ping from agent
[07:47:18] debug Credentials server started on port 14892...
[07:47:19] debug Incoming client connection at /
[07:47:19] debug Credentials server started...
[07:47:19] debug Create content folder C:\Users\olson.devpod\agent\contexts\default\workspaces\test-ws-name\content
[07:47:19] info Clone repository
[07:47:19] info URL: https://github.com/microsoft/vscode-remote-try-php
[07:47:20] info Successfully cloned repository
[07:47:20] debug Cloning into 'C:\Users\olson.devpod\agent\contexts\default\workspaces\test-ws-name\content'...
[07:47:20] debug remote: Enumerating objects: 201, done.
remote: Counting objects: 100% (76/76), done. % (1/76)
remote: Compressing objects: 100% (6/6), done. 16% (1/6)
remote: Total 201 (delta 71), reused 70 (delta 70), pack-reused 125 (from 1)
Receiving objects: 100% (201/201), 50.83 KiB | 929.00 KiB/s, done.
Resolving deltas: 100% (94/94), done.0% (0/94)
[07:47:20] debug Skipping configuring daemon
[07:47:20] info invalid docker builder
[07:47:20] info devcontainer up
[07:47:20] info github.com/loft-sh/devpod/cmd/agent/workspace.(*UpCmd).Run
[07:47:20] info D:/a/devpod/devpod/cmd/agent/workspace/up.go:96
[07:47:20] info github.com/loft-sh/devpod/cmd/agent/workspace.NewUpCmd.func1
[07:47:20] info D:/a/devpod/devpod/cmd/agent/workspace/up.go:52
[07:47:20] info github.com/spf13/cobra.(*Command).execute
[07:47:20] info D:/a/devpod/devpod/vendor/github.com/spf13/cobra/command.go:985
[07:47:20] info github.com/spf13/cobra.(*Command).ExecuteC
[07:47:20] info D:/a/devpod/devpod/vendor/github.com/spf13/cobra/command.go:1117
[07:47:20] info github.com/spf13/cobra.(*Command).Execute
[07:47:20] info D:/a/devpod/devpod/vendor/github.com/spf13/cobra/command.go:1041
[07:47:20] info github.com/loft-sh/devpod/cmd.Execute
[07:47:20] info D:/a/devpod/devpod/cmd/root.go:81
[07:47:20] info main.main
[07:47:20] info D:/a/devpod/devpod/main.go:6
[07:47:20] info runtime.main
[07:47:20] info C:/Users/runneradmin/go/pkg/mod/golang.org/[email protected]/src/runtime/proc.go:271
[07:47:20] info runtime.goexit
[07:47:20] info C:/Users/runneradmin/go/pkg/mod/golang.org/[email protected]/src/runtime/asm_amd64.s:1695
[07:47:20] info exit status 1
[07:47:20] debug Connection to SSH Server closed
[07:47:20] debug Done creating devcontainer
[07:47:20] debug Done executing ssh server helper command
[07:47:20] fatal Process exited with status 1
run agent command
github.com/loft-sh/devpod/pkg/devcontainer/sshtunnel.ExecuteCommand.func2
D:/a/devpod/devpod/pkg/devcontainer/sshtunnel/sshtunnel.go:129
runtime.goexit
C:/Users/runneradmin/go/pkg/mod/golang.org/[email protected]/src/runtime/asm_amd64.s:1695
NOTE: See above... "info D:/a/devpod/devpod/main.go:6" this path does not exist.
Local Environment:
- DevPod Version: v0.6.11
- Operating System: windows
- ARCH of the OS: AMD64
DevPod Provider:
- Cloud Provider: NONE
- Kubernetes Provider: v1.31.4
- Local/remote provider: docker
- Custom provider: None Used
Anything else we need to know?
Also, that key was truncated some to prevent disclosing what appeared to be a key from my bug report above.
[07:38:40] info Execute SSH server command: D:\Program Files\DevPod\devpod-cli.exe helper sh -c 'D:\Program Files\DevPod\devpod-cli.exe' agent workspace up --workspace-info 'H4sIAAAAAAAA/8xUXW/iOBT9K6v7nBBKP7TyWxfYLdrOgJgw
UxCtz4UjhtDErCZ2ZWAWFkbPuvE5NZL7KoYmile0b9f231r+D6XcnJrx98vpzXiyOJ6/zoaTw/uLKR2qc+fvuP/tT2Xfx0NJh/3DZ/MTAAD//wEAAP//JNRDgtcFAAA=' --debug
Hey @Webtoaster, thanks for reporting this issue.
Could you provide us with the contents of %USERPROFILE%\.devpod\contexts\default\workspaces\test-ws-name\workspace.json?
Hey @Webtoaster, thanks for reporting this issue. Could you provide us with the contents of
%USERPROFILE%\.devpod\contexts\default\workspaces\test-ws-name\workspace.json?
Contents below....
{"id":"test-ws-name","uid":"default-te-9f3e3","provider":{"name":"docker","options":{"DOCKER_PATH":{"value":"C:\Program Files\Docker\Docker\resources\bin","userProvided":true},"INACTIVITY_TIMEOUT":{"value":"4h","userProvided":true}}},"machine":{},"ide":{"name":"vscode-insiders"},"source":{"gitRepository":"https://github.com/microsoft/vscode-remote-try-php"},"devContainerPath":"E:\tmp\devpod\test","creationTimestamp":"2025-02-06T13:47:17Z","lastUsed":"2025-02-06T13:47:17Z","context":"default"}
Thanks, looks normal to me.
What about this one %USERPROFILE%\.devpod\agent\contexts\default\workspaces\test-ws-name\workspace.json (note the \agent)?
The error seems to be [07:47:20] info invalid docker builder
** "agent": { "local": "true", "path": "C:\Users\olson\AppData\Roaming\devpod\devpod.exe", "downloadURL": "https://github.com/loft-sh/devpod/releases/download/v0.6.11", "containerInactivityTimeout": "4h", "injectGitCredentials": "true", "exec": {}, "dockerless": {}, "docker": { "path": "docker", "install": "false", "builder": "desktop-linux", "env": { "DOCKER_HOST": "localhost" } },**
Note the download URL. This throws a 404 error from the github server. ** "downloadURL": "https://github.com/loft-sh/devpod/releases/download/v0.6.11", ** Is it not supposed to call the agent from this URL? https://github.com/loft-sh/devpod/tree/main/cmd/agent
This issue is stale because it has been open for 60 days with no activity.
This issue was closed because it has been inactive for 30 days since being marked as stale.