Skip to content

Instantly share code, notes, and snippets.

@iJebus
Created October 20, 2021 09:07
Show Gist options
  • Save iJebus/bda2bb0bd4c6cfaeca9c92472de90f31 to your computer and use it in GitHub Desktop.
Save iJebus/bda2bb0bd4c6cfaeca9c92472de90f31 to your computer and use it in GitHub Desktop.
waypoint 0.6.0 errors
git clone https://github.com/hashicorp/waypoint-examples.git
cd waypoint-examples/docker/ruby
waypoint install -platform=docker -accept-tos
waypoint init
waypoint up
# make some edits to ruby per the tutorial
waypoint up
$ waypoint exec -vvv /bin/bash
2021-10-20T17:03:04.145+0800 [INFO]  waypoint: waypoint version: full_string="v0.6.0 (e365aa8a)" version=v0.6.0 prerelease="" metadata="" revision=e365aa8a
2021-10-20T17:03:04.145+0800 [TRACE] waypoint: starting interrupt listener for context cancellation
2021-10-20T17:03:04.146+0800 [TRACE] waypoint: interrupt listener goroutine started
2021-10-20T17:03:04.149+0800 [DEBUG] waypoint: home configuration directory: path=/Users/liamjones/Library/Preferences/waypoint
2021-10-20T17:03:04.157+0800 [TRACE] waypoint: no API client provided, initializing connection if possible
2021-10-20T17:03:04.157+0800 [TRACE] waypoint.server: WithLocal set, server credentials optional
2021-10-20T17:03:04.157+0800 [INFO]  waypoint.server: attempting to source credentials and connect
2021-10-20T17:03:04.158+0800 [DEBUG] waypoint.serverclient: connection information: address=localhost:9701 tls=true tls_skip_verify=true send_auth=true has_token=true
2021-10-20T17:03:04.196+0800 [DEBUG] waypoint.server: connection established with sourced credentials
2021-10-20T17:03:04.196+0800 [TRACE] waypoint: requesting version info from server
2021-10-20T17:03:04.204+0800 [INFO]  waypoint: server version info: version=v0.6.0 api_min=1 api_current=1 entrypoint_min=1 entrypoint_current=1
2021-10-20T17:03:04.204+0800 [INFO]  waypoint: negotiated api version: version=1
2021-10-20T17:03:04.204+0800 [DEBUG] waypoint: starting runner to process local jobs
2021-10-20T17:03:04.204+0800 [DEBUG] waypoint.runner: Created runner: id=01FJEF14GC4TZBJTVGH6BR3BKP
2021-10-20T17:03:04.204+0800 [DEBUG] waypoint.runner: registering runner
2021-10-20T17:03:04.206+0800 [DEBUG] waypoint.runner: runner registered, waiting for first config processing
2021-10-20T17:03:04.207+0800 [INFO]  waypoint.runner.config_recv: new configuration received
2021-10-20T17:03:04.207+0800 [TRACE] waypoint.runner.watch_config.watchloop: got source config update but ignoring since there is no diff
2021-10-20T17:03:04.207+0800 [DEBUG] waypoint.runner.watch_config.watchloop: new config variables received, scheduling refresh
2021-10-20T17:03:04.208+0800 [TRACE] waypoint.runner.watch_config.watchloop: calculating changes between old and new config
2021-10-20T17:03:04.709+0800 [TRACE] waypoint.runner.watch_config.watchloop: refreshing app configuration
2021-10-20T17:03:04.709+0800 [DEBUG] waypoint.runner.watch_config.watchloop: new configuration computed
2021-10-20T17:03:04.709+0800 [TRACE] waypoint.runner.watch_config: received new app config
2021-10-20T17:03:04.709+0800 [INFO]  waypoint.runner: runner registered with server and ready

2021-10-20T17:03:04.709+0800 [TRACE] waypoint: stopping signal listeners and cancelling the context
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x28 pc=0x3a4efda]

goroutine 1 [running]:
github.com/hashicorp/waypoint/internal/client.(*Project).App(...)
	/home/circleci/project/waypoint/internal/client/app.go:24
github.com/hashicorp/waypoint/internal/cli.(*baseCommand).DoApp(0xc000c24000, 0x4a2f880, 0xc00075e980, 0xc00109fc90, 0x0, 0x0)
	/home/circleci/project/waypoint/internal/cli/base.go:460 +0x19a
github.com/hashicorp/waypoint/internal/cli.(*ExecCommand).Run(0xc000762be8, 0xc00075e920, 0x1, 0x2, 0xc000284a40)
	/home/circleci/project/waypoint/internal/cli/exec.go:121 +0x335
github.com/mitchellh/cli.(*CLI).Run(0xc000ba2000, 0xc000b3fee8, 0x4a70e78, 0xc000760700)
	/home/circleci/go/pkg/mod/github.com/mitchellh/cli@v1.1.2/cli.go:262 +0x41a
github.com/hashicorp/waypoint/internal/cli.Main(0xc00075e900, 0x3, 0x4, 0x0)
	/home/circleci/project/waypoint/internal/cli/main.go:126 +0x57a
main.main()
	/home/circleci/project/waypoint/cmd/waypoint/main.go:14 +0xa5
$ waypoint logs -vvv
2021-10-20T17:04:20.877+0800 [INFO]  waypoint: waypoint version: full_string="v0.6.0 (e365aa8a)" version=v0.6.0 prerelease="" metadata="" revision=e365aa8a
2021-10-20T17:04:20.878+0800 [TRACE] waypoint: starting interrupt listener for context cancellation
2021-10-20T17:04:20.878+0800 [TRACE] waypoint: interrupt listener goroutine started
2021-10-20T17:04:20.880+0800 [DEBUG] waypoint: home configuration directory: path=/Users/liamjones/Library/Preferences/waypoint
2021-10-20T17:04:20.894+0800 [TRACE] waypoint: no API client provided, initializing connection if possible
2021-10-20T17:04:20.894+0800 [TRACE] waypoint.server: WithLocal set, server credentials optional
2021-10-20T17:04:20.894+0800 [INFO]  waypoint.server: attempting to source credentials and connect
2021-10-20T17:04:20.894+0800 [DEBUG] waypoint.serverclient: connection information: address=localhost:9701 tls=true tls_skip_verify=true send_auth=true has_token=true
2021-10-20T17:04:20.926+0800 [DEBUG] waypoint.server: connection established with sourced credentials
2021-10-20T17:04:20.927+0800 [TRACE] waypoint: requesting version info from server
2021-10-20T17:04:20.940+0800 [INFO]  waypoint: server version info: version=v0.6.0 api_min=1 api_current=1 entrypoint_min=1 entrypoint_current=1
2021-10-20T17:04:20.940+0800 [INFO]  waypoint: negotiated api version: version=1
2021-10-20T17:04:20.940+0800 [DEBUG] waypoint: starting runner to process local jobs
2021-10-20T17:04:20.941+0800 [DEBUG] waypoint.runner: Created runner: id=01FJEF3FECCXDXQ5AKQFBB7KWT
2021-10-20T17:04:20.941+0800 [DEBUG] waypoint.runner: registering runner
2021-10-20T17:04:20.942+0800 [DEBUG] waypoint.runner: runner registered, waiting for first config processing
2021-10-20T17:04:20.944+0800 [INFO]  waypoint.runner.config_recv: new configuration received
2021-10-20T17:04:20.944+0800 [TRACE] waypoint.runner.watch_config.watchloop: got source config update but ignoring since there is no diff
2021-10-20T17:04:20.944+0800 [DEBUG] waypoint.runner.watch_config.watchloop: new config variables received, scheduling refresh
2021-10-20T17:04:20.944+0800 [TRACE] waypoint.runner.watch_config.watchloop: calculating changes between old and new config
2021-10-20T17:04:21.444+0800 [TRACE] waypoint.runner.watch_config.watchloop: refreshing app configuration
2021-10-20T17:04:21.445+0800 [DEBUG] waypoint.runner.watch_config.watchloop: new configuration computed
2021-10-20T17:04:21.445+0800 [TRACE] waypoint.runner.watch_config: received new app config
2021-10-20T17:04:21.445+0800 [INFO]  waypoint.runner: runner registered with server and ready

2021-10-20T17:04:21.445+0800 [TRACE] waypoint: stopping signal listeners and cancelling the context
2021-10-20T17:04:21.445+0800 [WARN]  waypoint: context cancelled, stopping interrupt listener loop
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x28 pc=0x3a4efda]

goroutine 1 [running]:
github.com/hashicorp/waypoint/internal/client.(*Project).App(...)
	/home/circleci/project/waypoint/internal/client/app.go:24
github.com/hashicorp/waypoint/internal/cli.(*baseCommand).DoApp(0xc000518c40, 0x4a2f880, 0xc000592c40, 0xc000f9fca8, 0x0, 0x0)
	/home/circleci/project/waypoint/internal/cli/base.go:460 +0x19a
github.com/hashicorp/waypoint/internal/cli.(*LogsCommand).Run(0xc00030b0a8, 0xc000334650, 0x0, 0x0, 0xc000c5e4b0)
	/home/circleci/project/waypoint/internal/cli/logs.go:37 +0x134
github.com/mitchellh/cli.(*CLI).Run(0xc00016d540, 0xc000b3fee8, 0x4a70e78, 0xc00068c400)
	/home/circleci/go/pkg/mod/github.com/mitchellh/cli@v1.1.2/cli.go:262 +0x41a
github.com/hashicorp/waypoint/internal/cli.Main(0xc000334640, 0x2, 0x2, 0x0)
	/home/circleci/project/waypoint/internal/cli/main.go:126 +0x57a
main.main()
	/home/circleci/project/waypoint/cmd/waypoint/main.go:14 +0xa5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment