Closed
Bug 1279016
Opened 8 years ago
Closed 8 years ago
dont query_post_upload_cmd env var if not in buildbot infra
Categories
(Release Engineering :: Applications: MozharnessCore, defect)
Release Engineering
Applications: MozharnessCore
Tracking
(firefox50 fixed)
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
firefox50 | --- | fixed |
People
(Reporter: pmoore, Assigned: pmoore)
References
Details
Attachments
(1 file, 1 obsolete file)
When taskcluster builds run in mozharness, the BuildbotMixin is inherited, even though the build is running in taskcluster. For windows try pushes, query_who gets called but cannot handle self.buildbot_config not being set. I guess this problem must be solved for linux 64 builds, I'm not sure how though. I propose to handle with if not self.buildbot_config: .... However, maybe there is a more elegant way?
Assignee | ||
Comment 1•8 years ago
|
||
Looks like the linux builds use a fake buildprops.json: https://hg.mozilla.org/mozilla-central/file/cb493102af8a/testing/docker/desktop-build/Dockerfile#l24 I don't want to do that in the windows builds, so I'll apply a fix to the code instead.
Assignee | ||
Comment 2•8 years ago
|
||
That should do it.
Comment 3•8 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/59218/diff/#index_header See other reviews: https://reviewboard.mozilla.org/r/59218/
Attachment #8762679 -
Flags: review?(pmoore)
Updated•8 years ago
|
Summary: testing/mozharness/mozharness/mozilla/buildbot.py should handle self.buildbot_config not being set in query_who method → dont query_post_upload_cmd env var if not in buildbot infra
Comment 4•8 years ago
|
||
Comment on attachment 8761554 [details] [diff] [review] bug1279016_gecko_v1.patch pmoore and I decided to condition of the call that invokes query_who instead
Attachment #8761554 -
Attachment is obsolete: true
Attachment #8761554 -
Flags: review?(jlund)
Assignee | ||
Comment 5•8 years ago
|
||
Comment on attachment 8762679 [details] Bug 1279016 - dont query_post_upload_cmd env var if not in buildbot infra, https://reviewboard.mozilla.org/r/59218/#review56252 Awesome!!!! Thanks Jordan. =)
Attachment #8762679 -
Flags: review?(pmoore) → review+
Comment 6•8 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/b1e2e1c0e5912f7ad331950b63871a72ac2807a5 Bug 1279016 - dont query_post_upload_cmd env var if not in buildbot infra, r=pmoore
Comment 7•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/b1e2e1c0e591
You need to log in
before you can comment on or make changes to this bug.
Description
•