mozilla-releng / mozilla-releng/scriptworker

Scriptworker hangs if script writes really long line

Open
#362 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
5
Forks
39
Avg merge
4h 18m
Merged PRs (30d)
6

Description

If a balrogworker submit-toplevel task is re-run after all the balrog submit jobs, then the blob printed out by balrogclient here is on the order of 600k. This cause the log processing on scriptworker to hang (or something). Balrogscript currently writes logs synchronously, which meant it hung trying to write the log.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading client/balrogclient/api.py lines 155-160 and tracing the Balrogscript log-writing path described in the issue. Re-run the balrogworker submit-toplevel scenario with the roughly 600k output blob, then verify that scriptworker log processing completes without hanging.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
devops
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.