Closed Bug 1630426 Opened 4 years ago Closed 4 years ago

mach taskgraph tasks --json write logging to stdout instead of stderr

Categories

(Firefox Build System :: General, defect)

defect

Tracking

(firefox-esr68 unaffected, firefox75 unaffected, firefox76 unaffected, firefox77 fixed)

RESOLVED FIXED
mozilla77
Tracking Status
firefox-esr68 --- unaffected
firefox75 --- unaffected
firefox76 --- unaffected
firefox77 --- fixed

People

(Reporter: bc, Assigned: bc)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

./mach taskgraph full --json > /tmp/stdout 2> /tmp/stderr

should write the logging output to stderr but it no longer does so and it combined the json and logging together into stdout.

I bisected this to:

user:        Ricky Stewart <rstewart@mozilla.com>
date:        Wed Apr 15 04:00:15 2020 +0000
summary:     Bug 1628621 - Ensure whenever we write to the terminal, if ascii or charmap are the default locale, use utf-8 instead. r=glandium
Assignee: nobody → bob
Status: NEW → ASSIGNED
Attachment #9140881 - Attachment description: Bug 1630426 - mach should log to stderr if not logging to a file, ? → Bug 1630426 - mach should log to stderr if not logging to a file, r=tomprince

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: General → Task Configuration
Component: Task Configuration → General
Pushed by bclary@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/6e1e0f5cae3f
mach should log to stderr if not logging to a file, r=rstewart
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla77
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: