#56467 closed defect (fixed)
Travis logs are truncated
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | admin@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | server/hosting | Version: | |
Keywords: | Cc: | ||
Port: |
Change History (6)
comment:1 follow-up: 2 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)
comment:2 Changed 6 years ago by l2dy (Zero King)
Replying to ryandesign:
Replying to ryandesign:
These logs are truncated to the first 12288 bytes (exactly 12K)
This log is truncated to the first 16384 bytes (exactly 16K)
Does some part of uploading the logfile involve 4096-byte (4K) chunks?
Actually 2KiB chunks, see https://github.com/golang/go/blob/go1.10.2/src/net/http/client.go#L595.
I'm testing a retryable HTTP client from HashiCorp, see https://github.com/macports/mpbot-github/commits/develop.
comment:3 follow-up: 4 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)
Any luck resolving this issue?
comment:4 Changed 6 years ago by l2dy (Zero King)
Replying to ryandesign:
Any luck resolving this issue?
With this debug commit and this build, it seems that the log file generated by func mpbbToLog
is truncated. I'm investigating.
comment:5 Changed 6 years ago by l2dy (Zero King)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed in [3081068a518d5bd41d10f53e2afdbfde91eae40e/mpbot-github]. I forgot to flush the writer when the command failed.
Replying to ryandesign:
These logs are truncated to the first 12288 bytes (exactly 12K)
This log is truncated to the first 16384 bytes (exactly 16K)
Does some part of uploading the logfile involve 4096-byte (4K) chunks?