This repository was archived by the owner on Nov 28, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 43
This repository was archived by the owner on Nov 28, 2022. It is now read-only.
goroutine error at cwctl start in VS code on Ubuntu WSL #3234
Copy link
Copy link
Open
Labels
Description
Codewind version: 0.14.1
OS: Ubuntu 20.04 WSL on Windows 10 build 19041.572
Che version:
IDE extension version: 0.14.1
IDE version: VS code 1.50.1
Kubernetes cluster:
Description:
==> Run cwctl --json start -t 0.14.1 | 15:00:50.255
Debug: false
panic: runtime error: slice bounds out of range
goroutine 1 [running]:
github.com/godbus/dbus.getSessionBusPlatformAddress(0x16f578f, 0x18, 0x0, 0x0)
/go/pkg/mod/github.com/godbus/[email protected]+incompatible/conn_other.go:30 +0x2c0
github.com/godbus/dbus.getSessionBusAddress(0x0, 0x0, 0x0, 0x0)
/go/pkg/mod/github.com/godbus/[email protected]+incompatible/conn.go:96 +0xa6
github.com/godbus/dbus.SessionBusPrivate(0x8, 0x1783160, 0xc0002095f8)
/go/pkg/mod/github.com/godbus/[email protected]+incompatible/conn.go:101 +0x22
github.com/godbus/dbus.SessionBus(0x0, 0x0, 0x0)
/go/pkg/mod/github.com/godbus/[email protected]+incompatible/conn.go:73 +0xad
github.com/zalando/go-keyring/secret_service.NewSecretService(0x5, 0x1, 0xc000042180)
/go/pkg/mod/github.com/zalando/[email protected]/secret_service/secret_service.go:50 +0x26
github.com/zalando/go-keyring.secretServiceProvider.Get(0xc000042180, 0x1a, 0x16ee323, 0x12, 0x0, 0x0, 0x0, 0x0)
/go/pkg/mod/github.com/zalando/[email protected]/keyring_linux.go:78 +0x39
github.com/zalando/go-keyring.Get(...)
/go/pkg/mod/github.com/zalando/[email protected]/keyring.go:32
github.com/eclipse/codewind-installer/pkg/security.GetSecretFromKeyring(0x16e19c1, 0x5, 0x16ee323, 0x12, 0x7f80723ec008, 0x0, 0x96ebc1)
/home/jenkins/agent/src/github.com/eclipse/codewind-installer/pkg/security/keychain.go:164 +0x53e
github.com/eclipse/codewind-installer/pkg/docker.getDockerCredentials(0x16e19c1, 0x5, 0xc000492000, 0x0)
/home/jenkins/agent/src/github.com/eclipse/codewind-installer/pkg/docker/docker.go:679 +0x57
github.com/eclipse/codewind-installer/pkg/docker.writeDockerConfigSecretFile(0xc000321350, 0x14, 0xc000321350, 0x14, 0xc000209a38)
/home/jenkins/agent/src/github.com/eclipse/codewind-installer/pkg/docker/filesystem.go:84 +0x48
github.com/eclipse/codewind-installer/pkg/docker.WriteToComposeFile(0xc000321350, 0x28, 0xc000209b00, 0x2)
/home/jenkins/agent/src/github.com/eclipse/codewind-installer/pkg/docker/filesystem.go:45 +0xa31
github.com/eclipse/codewind-installer/pkg/actions.StartCommand(0xc00041f080, 0xc000321350, 0x28, 0x16eedde, 0x13)
/home/jenkins/agent/src/github.com/eclipse/codewind-installer/pkg/actions/start.go:44 +0x271
github.com/eclipse/codewind-installer/pkg/actions.Commands.func15(0xc00041f080, 0x0, 0xc000408e20)
/home/jenkins/agent/src/github.com/eclipse/codewind-installer/pkg/actions/commands.go:298 +0x58
github.com/urfave/cli.HandleAction(0x14c7400, 0x1782f48, 0xc00041f080, 0xc00041f080, 0x0)
/go/pkg/mod/github.com/urfave/[email protected]/app.go:514 +0xbe
github.com/urfave/cli.Command.Run(0x16e1b47, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x16fc3c7, 0x1d, 0x0, ...)
/go/pkg/mod/github.com/urfave/[email protected]/command.go:171 +0x4d2
github.com/urfave/cli.(*App).Run(0xc00044c1c0, 0xc0000dc000, 0x5, 0x5, 0x0, 0x0)
/go/pkg/mod/github.com/urfave/[email protected]/app.go:265 +0x733
github.com/eclipse/codewind-installer/pkg/actions.Commands()
/home/jenkins/agent/src/github.com/eclipse/codewind-installer/pkg/actions/commands.go:1053 +0x966e
main.main()
/home/jenkins/agent/src/github.com/eclipse/codewind-installer/cmd/cli/main.go:26 +0x2c
==> End cwctl --json start -t 0.14.1 | 15:00:50.314 (Took 59ms)
Steps to reproduce:
Clean install of Ubuntu 20.04 WSL from the windows store.
Start VS code in de WSL (code .).
Download the Codewind extension. (wait for installation to complete)
Start local codewind from the Codewind: Home page or the Explorer tab.
Workaround: