buildkite / buildkite/agent

Poorly formatted logs for logs of size > 1 MB

Open
#1,555 2 comments 0 reactions 0 assignees View on GitHub
bug good-first-issue
Dominant language
Go
Stars
1.1k
Forks
378
Avg merge
2d 6h
Merged PRs (30d)
74

Description

Buildkite agent version >= 3.28.1 produces poorly formatted logs(size > 1MB) for builds with non zero exit codes .This seems to happen when the build commands are run through Buildkite.

This is also causing some builds that were working on older versions of the agent to break so it may be a symptom of an underlying issue as this

This is also causing builds that were working for older version of agent to fail
![output](https://user-images.githubusercontent.com/8452095/149663159-21fbb550-9ec5-4e1d-ae99-2d8a3ed96160.png)

Contributor guide

Open the contributing guide

Research direction

No source files, tests, or entry points are named. Start by reproducing the behavior with Buildkite agent version 3.28.1 or newer using a build command that emits more than 1 MB and exits nonzero, then compare its formatting and success behavior with an older agent version. Done means the large failing build log is correctly formatted and does not cause previously working builds to fail.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
ci-cd
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.