Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stack Overflow / Panic with Docker Compose project #4797

Closed
ebenoist opened this issue Jul 27, 2021 · 7 comments · Fixed by #4799
Closed

Stack Overflow / Panic with Docker Compose project #4797

ebenoist opened this issue Jul 27, 2021 · 7 comments · Fixed by #4799
Assignees
Labels
bug Something isn't working

Comments

@ebenoist
Copy link
Contributor

Expected Behavior

Tilt commands should not result in a stack overflow and panic. This seems likely related to issues with docker-compose YAML parsing and the injection of environment variables, but I'll continue to dig in.

Current Behavior

Beginning Tiltfile execution
time="2021-07-27T09:55:53-05:00" level=warning msg="The PWD variable is not set. Defaulting to a blank string."
time="2021-07-27T09:55:53-05:00" level=warning msg="The PWD variable is not set. Defaulting to a blank string."
time="2021-07-27T09:55:53-05:00" level=warning msg="The PWD variable is not set. Defaulting to a blank string."
time="2021-07-27T09:55:53-05:00" level=warning msg="The PWD variable is not set. Defaulting to a blank string."
time="2021-07-27T09:55:53-05:00" level=warning msg="The GITHUB_USER variable is not set. Defaulting to a blank string."
time="2021-07-27T09:55:53-05:00" level=warning msg="The GITHUB_USER variable is not set. Defaulting to a blank string."
time="2021-07-27T09:55:53-05:00" level=warning msg="The GITHUB_USER variable is not set. Defaulting to a blank string."
time="2021-07-27T09:55:53-05:00" level=warning msg="The GITHUB_USER variable is not set. Defaulting to a blank string."
time="2021-07-27T09:55:53-05:00" level=warning msg="The GITHUB_PACKAGE_PULL_TOKEN variable is not set. Defaulting to a blank string."
time="2021-07-27T09:55:53-05:00" level=warning msg="The GITHUB_USER variable is not set. Defaulting to a blank string."
time="2021-07-27T09:55:53-05:00" level=warning msg="The GITHUB_USER variable is not set. Defaulting to a blank string."
time="2021-07-27T09:55:53-05:00" level=warning msg="The GITHUB_PACKAGE_PULL_TOKEN variable is not set. Defaulting to a blank string."
time="2021-07-27T09:55:53-05:00" level=warning msg="The GITHUB_PACKAGE_PULL_TOKEN variable is not set. Defaulting to a blank string."
time="2021-07-27T09:55:53-05:00" level=warning msg="The GITHUB_USER variable is not set. Defaulting to a blank string."
time="2021-07-27T09:55:53-05:00" level=warning msg="The GITHUB_USER variable is not set. Defaulting to a blank string."
time="2021-07-27T09:55:53-05:00" level=warning msg="The GITHUB_USER variable is not set. Defaulting to a blank string."
time="2021-07-27T09:55:53-05:00" level=warning msg="The GITHUB_USER variable is not set. Defaulting to a blank string."
time="2021-07-27T09:55:53-05:00" level=warning msg="The GITHUB_PACKAGE_PULL_TOKEN variable is not set. Defaulting to a blank string."
time="2021-07-27T09:55:53-05:00" level=warning msg="The GITHUB_USER variable is not set. Defaulting to a blank string."
time="2021-07-27T09:55:53-05:00" level=warning msg="The SENTRY_RELEASE variable is not set. Defaulting to a blank string."
time="2021-07-27T09:55:53-05:00" level=warning msg="The BRAZE_API_KEY variable is not set. Defaulting to a blank string."
time="2021-07-27T09:55:53-05:00" level=warning msg="The SENTRY_RELEASE variable is not set. Defaulting to a blank string."
time="2021-07-27T09:55:53-05:00" level=warning msg="The DATABASE_PASSWORD variable is not set. Defaulting to a blank string."
time="2021-07-27T09:55:53-05:00" level=warning msg="The SENTRY_RELEASE variable is not set. Defaulting to a blank string."
time="2021-07-27T09:55:53-05:00" level=warning msg="The SENTRY_RELEASE variable is not set. Defaulting to a blank string."
time="2021-07-27T09:55:53-05:00" level=warning msg="The SENTRY_RELEASE variable is not set. Defaulting to a blank string."
time="2021-07-27T09:55:53-05:00" level=warning msg="The SENTRY_RELEASE variable is not set. Defaulting to a blank string."
time="2021-07-27T09:55:53-05:00" level=warning msg="The REVISION variable is not set. Defaulting to a blank string."
time="2021-07-27T09:55:53-05:00" level=warning msg="The SENTRY_RELEASE variable is not set. Defaulting to a blank string."
runtime: goroutine stack exceeds 1000000000-byte limit
runtime: sp=0xc020f60388 stack=[0xc020f60000, 0xc040f60000]
fatal error: stack overflow

runtime stack:
runtime.throw(0x695eb7f, 0xe)
	/usr/local/go/src/runtime/panic.go:1117 +0x72
runtime.newstack()
	/usr/local/go/src/runtime/stack.go:1069 +0x7ed
runtime.morestack()
	/usr/local/go/src/runtime/asm_amd64.s:458 +0x8f

goroutine 1 [running]:
reflect.valueInterface(0x6545c40, 0xc000507980, 0x16, 0x1, 0x0, 0x0)
	/usr/local/go/src/reflect/value.go:1019 +0x1b3 fp=0xc020f60398 sp=0xc020f60390 pc=0x40aa633
reflect.Value.Interface(...)
	/usr/local/go/src/reflect/value.go:1016
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:117 +0xbe fp=0xc020f604b0 sp=0xc020f60398 pc=0x51d169e
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f605c8 sp=0xc020f604b0 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f606e0 sp=0xc020f605c8 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f607f8 sp=0xc020f606e0 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f60910 sp=0xc020f607f8 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f60a28 sp=0xc020f60910 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f60b40 sp=0xc020f60a28 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f60c58 sp=0xc020f60b40 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f60d70 sp=0xc020f60c58 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f60e88 sp=0xc020f60d70 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f60fa0 sp=0xc020f60e88 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f610b8 sp=0xc020f60fa0 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f611d0 sp=0xc020f610b8 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f612e8 sp=0xc020f611d0 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f61400 sp=0xc020f612e8 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f61518 sp=0xc020f61400 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f61630 sp=0xc020f61518 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f61748 sp=0xc020f61630 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f61860 sp=0xc020f61748 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f61978 sp=0xc020f61860 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f61a90 sp=0xc020f61978 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f61ba8 sp=0xc020f61a90 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f61cc0 sp=0xc020f61ba8 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f61dd8 sp=0xc020f61cc0 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f61ef0 sp=0xc020f61dd8 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f62008 sp=0xc020f61ef0 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f62120 sp=0xc020f62008 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f62238 sp=0xc020f62120 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f62350 sp=0xc020f62238 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f62468 sp=0xc020f62350 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f62580 sp=0xc020f62468 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f62698 sp=0xc020f62580 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f627b0 sp=0xc020f62698 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f628c8 sp=0xc020f627b0 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f629e0 sp=0xc020f628c8 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f62af8 sp=0xc020f629e0 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f62c10 sp=0xc020f62af8 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f62d28 sp=0xc020f62c10 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f62e40 sp=0xc020f62d28 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f62f58 sp=0xc020f62e40 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f63070 sp=0xc020f62f58 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f63188 sp=0xc020f63070 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f632a0 sp=0xc020f63188 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f633b8 sp=0xc020f632a0 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f634d0 sp=0xc020f633b8 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f635e8 sp=0xc020f634d0 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f63700 sp=0xc020f635e8 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f63818 sp=0xc020f63700 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f63930 sp=0xc020f63818 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f63a48 sp=0xc020f63930 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f63b60 sp=0xc020f63a48 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f63c78 sp=0xc020f63b60 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f63d90 sp=0xc020f63c78 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f63ea8 sp=0xc020f63d90 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f63fc0 sp=0xc020f63ea8 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f640d8 sp=0xc020f63fc0 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f641f0 sp=0xc020f640d8 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f64308 sp=0xc020f641f0 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f64420 sp=0xc020f64308 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f64538 sp=0xc020f64420 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f64650 sp=0xc020f64538 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f64768 sp=0xc020f64650 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f64880 sp=0xc020f64768 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f64998 sp=0xc020f64880 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f64ab0 sp=0xc020f64998 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f64bc8 sp=0xc020f64ab0 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f64ce0 sp=0xc020f64bc8 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f64df8 sp=0xc020f64ce0 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f64f10 sp=0xc020f64df8 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f65028 sp=0xc020f64f10 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f65140 sp=0xc020f65028 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f65258 sp=0xc020f65140 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f65370 sp=0xc020f65258 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f65488 sp=0xc020f65370 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f655a0 sp=0xc020f65488 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f656b8 sp=0xc020f655a0 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f657d0 sp=0xc020f656b8 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f658e8 sp=0xc020f657d0 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f65a00 sp=0xc020f658e8 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f65b18 sp=0xc020f65a00 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f65c30 sp=0xc020f65b18 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f65d48 sp=0xc020f65c30 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f65e60 sp=0xc020f65d48 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f65f78 sp=0xc020f65e60 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f66090 sp=0xc020f65f78 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f661a8 sp=0xc020f66090 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f662c0 sp=0xc020f661a8 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f663d8 sp=0xc020f662c0 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f664f0 sp=0xc020f663d8 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f66608 sp=0xc020f664f0 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f66720 sp=0xc020f66608 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f66838 sp=0xc020f66720 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f66950 sp=0xc020f66838 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f66a68 sp=0xc020f66950 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f66b80 sp=0xc020f66a68 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f66c98 sp=0xc020f66b80 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f66db0 sp=0xc020f66c98 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f66ec8 sp=0xc020f66db0 pc=0x51d183f
gopkg.in/yaml%2ev3.(*encoder).marshal(0xc000dbe000, 0x0, 0x0, 0x6545c40, 0xc000507980, 0x16)
	/root/project/vendor/gopkg.in/yaml.v3/encode.go:148 +0x25f fp=0xc020f66fe0 sp=0xc020f66ec8 pc=0x51d183f

goroutine 19 [chan receive]:
k8s.io/klog/v2.(*loggingT).flushDaemon(0x8350a40)
	/root/project/vendor/k8s.io/klog/v2/klog.go:1164 +0x8b
created by k8s.io/klog/v2.init.0
	/root/project/vendor/k8s.io/klog/v2/klog.go:418 +0xdf

goroutine 13 [select]:
go.opencensus.io/stats/view.(*worker).start(0xc0009afc80)
	/root/project/vendor/go.opencensus.io/stats/view/worker.go:298 +0xcd
created by go.opencensus.io/stats/view.init.0
	/root/project/vendor/go.opencensus.io/stats/view/worker.go:34 +0x68

goroutine 14 [sleep]:
time.Sleep(0x6fc23ac00)
	/usr/local/go/src/runtime/time.go:193 +0xd2
sigs.k8s.io/controller-runtime/pkg/log.init.0.func1()
	/root/project/vendor/sigs.k8s.io/controller-runtime/pkg/log/log.go:63 +0x45
created by sigs.k8s.io/controller-runtime/pkg/log.init.0
	/root/project/vendor/sigs.k8s.io/controller-runtime/pkg/log/log.go:62 +0x35

goroutine 102 [IO wait]:
internal/poll.runtime_pollWait(0xaae9c88, 0x72, 0xffffffffffffffff)
	/usr/local/go/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc0005cb818, 0x72, 0x4200, 0x42f2, 0xffffffffffffffff)
	/usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45
internal/poll.(*pollDesc).waitRead(...)
	/usr/local/go/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc0005cb800, 0xc000d34800, 0x42f2, 0x42f2, 0x0, 0x0, 0x0)
	/usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5
net.(*netFD).Read(0xc0005cb800, 0xc000d34800, 0x42f2, 0x42f2, 0x42ed, 0xc000d34800, 0x5)
	/usr/local/go/src/net/fd_posix.go:55 +0x4f
net.(*conn).Read(0xc000486030, 0xc000d34800, 0x42f2, 0x42f2, 0x0, 0x0, 0x0)
	/usr/local/go/src/net/net.go:183 +0x91
crypto/tls.(*atLeastReader).Read(0xc000791728, 0xc000d34800, 0x42f2, 0x42f2, 0x42ed, 0xc000446000, 0x0)
	/usr/local/go/src/crypto/tls/conn.go:776 +0x63
bytes.(*Buffer).ReadFrom(0xc0008d05f8, 0x6d37e20, 0xc000791728, 0x400cd65, 0x6574e40, 0x688dc00)
	/usr/local/go/src/bytes/buffer.go:204 +0xbe
crypto/tls.(*Conn).readFromUntil(0xc0008d0380, 0xafe35a0, 0xc000486030, 0x5, 0xc000486030, 0x9)
	/usr/local/go/src/crypto/tls/conn.go:798 +0xf3
crypto/tls.(*Conn).readRecordOrCCS(0xc0008d0380, 0x0, 0x0, 0xc00006c800)
	/usr/local/go/src/crypto/tls/conn.go:605 +0x115
crypto/tls.(*Conn).readRecord(...)
	/usr/local/go/src/crypto/tls/conn.go:573
crypto/tls.(*Conn).Read(0xc0008d0380, 0xc000995000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/usr/local/go/src/crypto/tls/conn.go:1276 +0x165
bufio.(*Reader).Read(0xc00055f200, 0xc0004ee3b8, 0x9, 0x9, 0x46d290b, 0xc0004f3c78, 0x40083c5)
	/usr/local/go/src/bufio/bufio.go:227 +0x222
io.ReadAtLeast(0x6d37ba0, 0xc00055f200, 0xc0004ee3b8, 0x9, 0x9, 0x9, 0xc000ba2b80, 0xfef6f52e74c100, 0xc000ba2b80)
	/usr/local/go/src/io/io.go:328 +0x87
io.ReadFull(...)
	/usr/local/go/src/io/io.go:347
golang.org/x/net/http2.readFrameHeader(0xc0004ee3b8, 0x9, 0x9, 0x6d37ba0, 0xc00055f200, 0x0, 0xc000000000, 0x405aa45, 0x40763a0)
	/root/project/vendor/golang.org/x/net/http2/frame.go:237 +0x89
golang.org/x/net/http2.(*Framer).ReadFrame(0xc0004ee380, 0xc000bae2a0, 0x0, 0x0, 0x0)
	/root/project/vendor/golang.org/x/net/http2/frame.go:492 +0xa5
golang.org/x/net/http2.(*clientConnReadLoop).run(0xc0004f3fa8, 0x0, 0x0)
	/root/project/vendor/golang.org/x/net/http2/transport.go:1819 +0xd8
golang.org/x/net/http2.(*ClientConn).readLoop(0xc00049f200)
	/root/project/vendor/golang.org/x/net/http2/transport.go:1741 +0x6f
created by golang.org/x/net/http2.(*Transport).newClientConn
	/root/project/vendor/golang.org/x/net/http2/transport.go:705 +0x6c5

goroutine 146 [syscall]:
os/signal.signal_recv(0x0)
	/usr/local/go/src/runtime/sigqueue.go:165 +0x9d
os/signal.loop()
	/usr/local/go/src/os/signal/signal_unix.go:23 +0x25
created by os/signal.Notify.func1.1
	/usr/local/go/src/os/signal/signal.go:151 +0x45

goroutine 126 [chan receive]:
github.com/tilt-dev/tilt/internal/cli.preCommand.func1(0xc0002f1c80, 0xc000a5d170, 0x6dc85a8, 0xc0009aaa40)
	/root/project/internal/cli/cli.go:123 +0x38
created by github.com/tilt-dev/tilt/internal/cli.preCommand
	/root/project/internal/cli/cli.go:122 +0x40c

goroutine 106 [IO wait]:
internal/poll.runtime_pollWait(0xaae9ba0, 0x72, 0xffffffffffffffff)
	/usr/local/go/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc0009ae418, 0x72, 0x1500, 0x15c2, 0xffffffffffffffff)
	/usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45
internal/poll.(*pollDesc).waitRead(...)
	/usr/local/go/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc0009ae400, 0xc000407000, 0x15c2, 0x15c2, 0x0, 0x0, 0x0)
	/usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5
net.(*netFD).Read(0xc0009ae400, 0xc000407000, 0x15c2, 0x15c2, 0x1, 0xc000e9d860, 0x4146975)
	/usr/local/go/src/net/fd_posix.go:55 +0x4f
net.(*conn).Read(0xc000486728, 0xc000407000, 0x15c2, 0x15c2, 0x0, 0x0, 0x0)
	/usr/local/go/src/net/net.go:183 +0x91
crypto/tls.(*atLeastReader).Read(0xc000f2e030, 0xc000407000, 0x15c2, 0x15c2, 0x4071656, 0xc000578d80, 0x0)
	/usr/local/go/src/crypto/tls/conn.go:776 +0x63
bytes.(*Buffer).ReadFrom(0xc0008d0978, 0x6d37e20, 0xc000f2e030, 0x400cd65, 0x6574e40, 0x688dc00)
	/usr/local/go/src/bytes/buffer.go:204 +0xbe
crypto/tls.(*Conn).readFromUntil(0xc0008d0700, 0xafe35a0, 0xc000486728, 0x5, 0xc000486728, 0x27)
	/usr/local/go/src/crypto/tls/conn.go:798 +0xf3
crypto/tls.(*Conn).readRecordOrCCS(0xc0008d0700, 0x0, 0x0, 0x0)
	/usr/local/go/src/crypto/tls/conn.go:605 +0x115
crypto/tls.(*Conn).readRecord(...)
	/usr/local/go/src/crypto/tls/conn.go:573
crypto/tls.(*Conn).Read(0xc0008d0700, 0xc000a0c000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/usr/local/go/src/crypto/tls/conn.go:1276 +0x165
bufio.(*Reader).Read(0xc000472d80, 0xc0010602d8, 0x9, 0x9, 0x11, 0x0, 0x0)
	/usr/local/go/src/bufio/bufio.go:227 +0x222
io.ReadAtLeast(0x6d37ba0, 0xc000472d80, 0xc0010602d8, 0x9, 0x9, 0x9, 0xc000e9dd08, 0x41b123b, 0xc001068228)
	/usr/local/go/src/io/io.go:328 +0x87
io.ReadFull(...)
	/usr/local/go/src/io/io.go:347
net/http.http2readFrameHeader(0xc0010602d8, 0x9, 0x9, 0x6d37ba0, 0xc000472d80, 0x0, 0x0, 0xc0006237e8, 0x0)
	/usr/local/go/src/net/http/h2_bundle.go:1477 +0x89
net/http.(*http2Framer).ReadFrame(0xc0010602a0, 0xc000e24018, 0x0, 0x0, 0x0)
	/usr/local/go/src/net/http/h2_bundle.go:1735 +0xa5
net/http.(*http2clientConnReadLoop).run(0xc000e9dfa8, 0x0, 0x0)
	/usr/local/go/src/net/http/h2_bundle.go:8322 +0xd8
net/http.(*http2ClientConn).readLoop(0xc000623680)
	/usr/local/go/src/net/http/h2_bundle.go:8244 +0x6f
created by net/http.(*http2Transport).newClientConn
	/usr/local/go/src/net/http/h2_bundle.go:7208 +0x6c5

Context

tilt doctor Output

Tilt: v0.22.1, built 2021-07-23
System: darwin-amd64
---
Docker
- Host: [default]
- Server Version: 20.10.7
- API Version: 1.41
- Builder: 2
---
Kubernetes
- Env: docker-for-desktop
- Context: docker-desktop
- Cluster Name: docker-desktop
- Namespace: default
- Container Runtime: docker
- Version: v1.21.2
- Cluster Local Registry: none
---
Thanks for seeing the Tilt Doctor!
Please send the info above when filing bug reports. 💗

The info below helps us understand how you're using Tilt so we can improve,
but is not required to ask for help.
---
Analytics Settings
--> (These results reflect your personal opt in/out status and may be overridden by an `analytics_settings` call in your Tiltfile)
- User Mode: default
- Machine: 9dba14d67dd4c502e594a05aa1a0e5ec
- Repo: cRR/E/70wkdhrc4gmDvLsg==
...
@ebenoist ebenoist added the bug Something isn't working label Jul 27, 2021
@ebenoist
Copy link
Contributor Author

Could this be related? #4795

@landism
Copy link
Member

landism commented Jul 27, 2021

Thanks for the report!

Do you have any repro information you're able to share?

@milas
Copy link
Contributor

milas commented Jul 27, 2021

Since you're on the latest version of Docker for Mac, could you try to parse your docker-compose.yml with Compose v2?

Run from directory with your docker-compose.yml config or pass path with -f:

docker-compose enable-v2
docker-compose config

You might need to pass some placeholder values for your environment values for it to substitute, e.g.

PWD="/fake" GITHUB_USER="user" GITHUB_PACKAGE_PULL_TOKEN="token" SENTRY_RELEASE="dev" BRAZE_API_KEY="token" DATABASE_PASSWORD="password" REVISION="rev" docker-compose config

If it successfully outputs a version of your config, great! If it outputs an error, can you paste back here?

(After you've done this, you can always switch back to Compose v1 with docker-compose disable-v2.)

@ebenoist
Copy link
Contributor Author

@milas No problem. We had to turn off compose v2 to deal with this issue, which y'all merged (thanks!).

❥ docker-compose enable-v2
❥ docker-compose config
services:
  arbiter:
    build:
      context: /Users/erik/dev/arbiter
      dockerfile: /Users/erik/dev/arbiter/Dockerfile
      args:
      // truncated, but it's all here

@ebenoist
Copy link
Contributor Author

Thanks for the report!

Do you have any repro information you're able to share?

I'd be happy to share the docker-compose.yml and Tiltfile, but would rather do that via a DM. I'm Erik Benoist on the k8s slack.

@ebenoist
Copy link
Contributor Author

Shared some additional details with @milas on Slack. Y'all are incredible as always. Thanks again and let me know if there's anything additional I can share.

milas added a commit that referenced this issue Jul 27, 2021
Some of the `compose-go` types are not marshalable with `yaml.v3`:
they will trigger infinite recursion and a stack overflow panic.

Internally, `compose-cli` uses `yaml.v2` when marshaling (e.g. for
output via `docker-compose config`).

This is now explicitly used, and a test has been added to prevent
regression. Due to other issues/requirements, `compose-go` is also
in the midst of upgrading to `yaml.v3`, so in the future we should
be able to upgrade it and switch to `yaml.v3` for marshaling its
types.

Fixes #4797.
@milas
Copy link
Contributor

milas commented Jul 27, 2021

Thanks for sharing your compose file! I just opened #4799 which now passes using it :)

@milas milas changed the title Tilt v0.22.1 Stack Overflow / Panic Stack Overflow / Panic with Docker Compose project Jul 27, 2021
@milas milas self-assigned this Jul 27, 2021
milas added a commit that referenced this issue Jul 28, 2021
Some of the `compose-go` types are not marshalable with `yaml.v3`:
they will trigger infinite recursion and a stack overflow panic.

Internally, `compose-cli` uses `yaml.v2` when marshaling (e.g. for
output via `docker-compose config`).

This is now explicitly used, and a test has been added to prevent
regression. Due to other issues/requirements, `compose-go` is also
in the midst of upgrading to `yaml.v3`, so in the future we should
be able to upgrade it and switch to `yaml.v3` for marshaling its
types.

Fixes #4797.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants