Closed Bug 1350582 Opened 7 years ago Closed 7 years ago

Add a CI task to (just) build with both optimization and debugging disabled on our main platforms

Categories

(Firefox Build System :: General, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1341404

People

(Reporter: jwatt, Unassigned)

References

Details

On Mac debug builds run so slowly nowadays it's virtually impossible to get things done. I've come to the conclusion I generally need to build with --disable-debug to be productive, but then I don't want optimizations to mess with the debugger. Hence I'm trying to build with both debug and optimization disabled. That is:

  ac_add_options --disable-debug --disable-optimize

Unfortunately I just encountered a build error with that configuration (bug 1350581). Apparently this happens not infrequently because we don't have a build machine that tests this configuration. Can we add one please?
I think that by default both opt and debug builds have optimization enabled. So I'm not sure if we test any configuration with optimization disabled.
This isn't something Treeherder would do.
Component: Treeherder: Infrastructure → General Automation
Product: Tree Management → Release Engineering
QA Contact: catlee
Nathan, would you be able to get this a step closer to happening? Or all the way... ;)
Component: General Automation → Build Config
Flags: needinfo?(nfroyd)
Product: Release Engineering → Core
QA Contact: catlee
Summary: Add a task to build with both optimization and debugging turned off → Add a CI task to (just) build with both optimization and debugging turned off on our main platforms
Version: --- → unspecified
To be clear, from IRC:

This bug is about making the combination of mozconfig options actually result in a successful (local) build, and has nothing to do with changing actual CI Automation to utilize those options.
It's about making sure that bustage of:

  ac_add_options --disable-debug --disable-optimize

shows up on treehearder and gets backed out.

It seems to me that involves adding builds that use those options (one for windows, one for mac and one for linux would do I think, and I don't care if they run tests). I'd have thought adding new builds counts as "changing actual CI Automation", but maybe you're using that phrase to mean changing the tools, or something.
(In reply to Jonathan Watt [:jwatt] from comment #5)
> It's about making sure that bustage of:
> 
>   ac_add_options --disable-debug --disable-optimize
> 
> shows up on treehearder and gets backed out.
> 
> It seems to me that involves adding builds that use those options (one for
> windows, one for mac and one for linux would do I think, and I don't care if
> they run tests). I'd have thought adding new builds counts as "changing
> actual CI Automation", but maybe you're using that phrase to mean changing
> the tools, or something.

Ahhh this was me, misunderstanding the desire here.

So whats needed is

(*) someone fixing the bustage of this
(*) Someone adding the tasks to the tree in some acceptable cadence (if agreed as a desire).

If this bug is indeed about the second piece, this *does* belong in releng.  I'm going to n-i catlee to quantify that its both something we want to do and to see how it fits on priorities.
Component: Build Config → General Automation
Flags: needinfo?(nfroyd) → needinfo?(catlee)
Product: Core → Release Engineering
QA Contact: catlee
I think the build team is best suited to answering whether we *should* do this. Should this be a supported configuration?

If the answer is yes, then the build team is also best suited to modifying the task graphs to create and maintain these jobs.
Component: General Automation → Build Config
Flags: needinfo?(catlee)
Product: Release Engineering → Firefox
QA Contact: catlee
Summary: Add a CI task to (just) build with both optimization and debugging turned off on our main platforms → Add a CI task to (just) build with both optimization and debugging disabled on our main platforms
(In reply to Andrew McCreight [:mccr8] from comment #1)
> I think that by default both opt and debug builds have optimization enabled.
> So I'm not sure if we test any configuration with optimization disabled.

Indeed, which is why the following wasn't picked up by our build infrastructure:

https://bugzilla.mozilla.org/show_bug.cgi?id=1364727#c22
See Also: → 1341404
Going to duplicate this, since the dup bug will have builds added for desktop tier 1 platforms.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Component: Build Config → General
Product: Firefox → Firefox Build System
You need to log in before you can comment on or make changes to this bug.