Caddy automated builds failing?

https://caddyserver.com/api/download and caddy upgrade seem to be hanging as of the time of this post. I’ll fall back to xcaddy for now.

1 Like

Thanks, our build server isn’t very powerful. Maybe time to upgrade it soon. I’ll look into it when I get back to my desk.

Hello,

trying to build Caddy using “Download Caddy” spins forever and never actually finishes, likewise using the same packages and trying to upgrade caddy execuable results in never ending wait

# caddy upgrade
2022/11/03 13:44:59.535 INFO    this executable will be replaced        {"path": "/backup/src/apps/caddy/bin/caddy"}
2022/11/03 13:44:59.535 INFO    requesting build        {"os": "linux", "arch": "amd64", "packages": ["github.com/mholt/caddy-l4", "github.com/caddyserver/transform-encoder", "github.com/caddy-dns/cloudflare", "github.com/mholt/caddy-webdav"]}

it started happening Oct 27, 2022, that when i noticed it as my containers are failing to build

#27 [linux/arm/v7 builder 2/2] RUN xcaddy build --with github.com/caddyserver/transform-encoder
#27 382.3 go: downloading cloud.google.com/go/iam v0.1.0
#27 382.3 go: downloading github.com/jackc/pgmock v0.0.0-20210724152146-4ad1a8207f65
#27 382.4 go: downloading github.com/lib/pq v1.10.2
#27 382.5 go: downloading github.com/jmespath/go-jmespath v0.4.0
#27 383.1 go: downloading golang.org/x/oauth2 v0.0.0-20220608161450-d0670ef3b1eb
#27 383.7 go: downloading cloud.google.com/go/compute v1.6.1
#27 384.1 go: downloading go.opencensus.io v0.23.0
#27 385.5 go: downloading google.golang.org/appengine v1.6.7
#27 386.4 go: downloading github.com/OneOfOne/xxhash v1.2.2
#27 386.4 go: downloading github.com/spaolacci/murmur3 v1.1.0
#27 386.6 go: downloading github.com/googleapis/enterprise-certificate-proxy v0.0.0-20220520183353-fd19c99a87aa
#27 386.6 go: downloading github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da
#27 387.3 2022/10/27 14:49:09 [INFO] exec (timeout=0s): /usr/local/go/bin/go build -o /usr/bin/caddy -ldflags -w -s -trimpath 
Error: The operation was canceled.

This is case it was one package failing to be downloaded i think

This appears to be a bug in the go get command. It’s spinning at 168% CPU (using half of all 3 cores) and has been running for 59h 29m.

I’ve restarted the server in the hopes it will kick things back to normal. Sorry for the delay (I was traveling).

thanks for the awesome information.

1 Like

The issue still seems to exist as my caddy upgrade related commands are all failing.

This topic was automatically closed after 30 days. New replies are no longer allowed.