Closed Bug 1508504 Opened 6 years ago Closed 4 years ago

--setenv is not working on try server

Categories

(Developer Infrastructure :: Try, defect, P5)

defect

Tracking

(firefox76 fixed)

RESOLVED FIXED
mozilla76
Tracking Status
firefox76 --- fixed

People

(Reporter: alwu, Assigned: tomprince)

References

Details

Attachments

(1 file)

It seems that `--setenv` is not working on try server, because I used `--setenv MOZ_LOG=XXX:5` but no log showed. 

However, if I use the way which is adding `logging.XXX` in `all.js`, the log would show correctly.

Try syntax isn't very well supported these days, but I do have plans to make |mach try syntax| use the try_task_config.json method of transferring task information in bug 1400295. That basically just means that it will be able to use a structured and reliable way to pass things like environment variables to the decision task, just like |mach try fuzzy --env|.

Fixing that bug will fix this one automatically, so I'll leave this open for now and will accept patches. But likely will focus on the other one over this.

Priority: -- → P5
See Also: → 1400295

This converts --setenv into env in try_task_config at parameter
generation time.

Assignee: nobody → mozilla
Status: NEW → ASSIGNED
Pushed by mozilla@hocat.ca:
https://hg.mozilla.org/integration/autoland/rev/6f8e1178b3f2
[tryselect] Handle try syntax `--setenv` like `--env`; r=ahal
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla76
Product: Firefox Build System → Developer Infrastructure
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: