Closed Bug 1414016 Opened 3 years ago Closed 3 years ago

Windows mingw32 builds are failing on Gecko 58 since the uplift to Beta (Automation Error: Can't checkout https://hg.mozilla.org/build/tools! | Caught exception: could not find the robustcheckout Mercurial extension)

Categories

(Firefox Build System :: General, defect, P5)

defect

Tracking

(firefox58 fixed, firefox59 fixed)

RESOLVED FIXED
mozilla59
Tracking Status
firefox58 --- fixed
firefox59 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: tjr)

References

Details

(Keywords: intermittent-failure)

Attachments

(1 file)

Filed by: rvandermeulen [at] mozilla.com

https://treeherder.mozilla.org/logviewer.html#?job_id=141726323&repo=mozilla-beta

https://queue.taskcluster.net/v1/task/Y874Dzv_SIeMFRQrpvN0dw/runs/0/artifacts/public/logs/live_backing.log

Sorry, I'd been seeing these in my Try simulations as well but had chalked it up to something odd happening with the config hackery needed to support those pushes. Looks like it's real after all.
Flags: needinfo?(tom)
It seems like there's two issues here (at least).

The first is the direct error:

>   INFO - Running main action method: clone_tools
>   INFO - retry: Calling _get_revision with args: (<mozharness.base.vcs.mercurial.MercurialVCS object at 0x7fc280e23750>, '/builds/worker/workspace/build/tools'), kwargs: {}, attempt #1
> WARNING - did not specify revision or branch; assuming "default"
>   INFO - rmtree: /builds/worker/workspace/build/tools
>  DEBUG - /builds/worker/workspace/build/tools doesn't exist.
>   INFO - retry: attempt #1 caught VCSException exception: could not find the robustcheckout Mercurial extension

I'm not sure what's causing this, but it may be related to Bug 1413737



The second is this:

>   INFO - The branch 'mozilla-beta' has custom behavior for the platform 'win32'. Updating self.config with the following from 'platform_overrides' found in 'builds/branch_specifics.py':
>   INFO - {'force_clobber': True,
>   INFO -  'src_mozconfig': 'browser/config/mozconfigs/win32/beta

I'm skeptical this will magically work, so we'll probably need to fix this.
See Also: → 1413737
nalexander got something similar in Fennec land...
(In reply to OrangeFactor Robot from comment #2)
> 4 failures in 857 pushes (0.005 failures/push) were associated with this bug
> in the last 7 days.    
> 
> Repository breakdown:
> * mozilla-beta: 4
> 
> Platform breakdown:
> * windows-mingw32-32: 4
> 
> For more details, see:
> https://brasstacks.mozilla.com/orangefactor/
> ?display=Bug&bugid=1414016&startday=2017-10-30&endday=2017-11-05&tree=all

Yeah -- see https://bugzilla.mozilla.org/show_bug.cgi?id=1413737#c2.  Looked like mozharness is bananas.
The log in comment #0 shows mozharness running from a full checkout. This should "just work."
I fiddled a bit, but at this point I'm unsure how to proceed, but can try stuff if anyone has suggestions. If this is causing annoyances for people, I am perfectly fine orphaning -beta for MinGW / bumping it to Tier 3. (Tor will not use this branch for anything.)

But absent any real fix, and given a lifetime of unlucky lotto tickets, I don't see why this wouldn't come again when we branch beta next time; and in that branch we will care.
Flags: needinfo?(tom)
Leaving these permafailing isn't an option. We need to either shut these builds off on non-Nightly branches or fix their configs.
Flags: needinfo?(tom)
Comment on attachment 8929448 [details]
Bug 1414016 Remove the MinGW Build from beta due to build breaks

https://reviewboard.mozilla.org/r/200774/#review205990

First off, I'm not a peer for this code so I can't give an r+ on it. That said, it'll likely get an r- anyway since you should be disabling this via target_tasks.py instead (probably under filter_beta_release_tasks).
Attachment #8929448 - Flags: review?(ryanvm) → review-
Comment on attachment 8929448 [details]
Bug 1414016 Remove the MinGW Build from beta due to build breaks

https://reviewboard.mozilla.org/r/200774/#review206044
Attachment #8929448 - Flags: review?(aki) → review+
Assignee: nobody → tom
Flags: needinfo?(tom)
Keywords: checkin-needed
Whiteboard: [checkin-needed-beta]
Pushed by ryanvm@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/2c6c13635ddf
Remove the MinGW Build from beta due to build breaks r=aki
Keywords: checkin-needed
A better fix would have been to set run-on-projects in the yaml file instead.
https://hg.mozilla.org/mozilla-central/rev/2c6c13635ddf
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla59
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.