Run Valgrind builds on Mac slaves

RESOLVED INCOMPLETE

Status

Release Engineering
General Automation
P4
enhancement
RESOLVED INCOMPLETE
6 years ago
5 months ago

People

(Reporter: gkw, Unassigned)

Tracking

({sec-want})

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [sg:want P4][valgrind])

(Reporter)

Description

6 years ago
Currently, Valgrind builds are produced (and tested) in Linux 32-bit and Linux 64-bit machines. Ideally, "V" builds should be produced (and tested) in Mac environments as well.

Valgrind supports Snow Leopard 10.6.x now and should probably support Lion 10.7.x in the future.
Priority: -- → P4
Whiteboard: [sg:want P4] → [sg:want P4][valgrind]
(Reporter)

Updated

5 years ago
Depends on: 750856
Keywords: sec-want
(Reporter)

Comment 1

5 years ago
Note that testing on Mac Valgrind builds have an implication - because .dSYM folders are produced, -j1 is recommended (preventing parallel processes), and this will take a long time to execute even jstests.

See bug 801911 comment 8, it takes 8.5 hours on -j1 on Mac Valgrind build running jstests without --track-origins=yes.

Comment 2

5 years ago
That sounds fixable.  Change Valgrind to handle races better, or run the shell under Valgrind once with a minimal test set first, or run dsymutil manually before running Valgrind?
(Reporter)

Comment 3

5 years ago
> Change Valgrind to handle races better,

> or run dsymutil manually before running Valgrind?

Julian might know how feasible these are.

> or run the shell under Valgrind once with a minimal test set first, 

Yeah, we could run the PGO tests similar to the current Linux tests. Do you mean the browser instead of the shell?
(Reporter)

Comment 4

5 years ago
On Mac, there seems to be an even larger performance penalty. In single-threaded jit-tests, a run without --track-origins=yes takes ~1.8 days, but a Linux run with --track-origins=yes takes ~1.3 days.

The upcoming work in bug 638219 to enable multithreaded testing for jit-tests should make things significantly faster, but this is probably only limited to Linux builds due to comment 1.
(Assignee)

Updated

4 years ago
Product: mozilla.org → Release Engineering
Summary: Run Valgrind builds on Mac Tinderboxes → Run Valgrind builds on Mac slaves
Component: Other → General Automation
QA Contact: catlee

Updated

5 months ago
Status: NEW → RESOLVED
Last Resolved: 5 months ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.