Closed
Bug 1240059
Opened 10 years ago
Closed 10 years ago
Report resource usage data even if psutil is unavailable
Categories
(Firefox Build System :: General, defect)
Firefox Build System
General
Tracking
(firefox47 fixed)
RESOLVED
FIXED
mozilla47
| Tracking | Status | |
|---|---|---|
| firefox47 | --- | fixed |
People
(Reporter: dminor, Assigned: chmanchester)
References
Details
Attachments
(1 file)
There's no guarantee that psutil will be available on Windows. We should still report the system information derivable from the platform module along with build duration so we have some data available for Windows builds which lack psutil.
| Assignee | ||
Updated•10 years ago
|
Assignee: nobody → cmanchester
| Assignee | ||
Comment 1•10 years ago
|
||
Assuming psutil is available is also a problem when imports run before the virtualenv is bootstrapped, which is the case for clobbers in automation (many central and try builds), so we're missing data for many of those builds.
| Assignee | ||
Comment 2•10 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/33655/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/33655/
Attachment #8715929 -
Flags: review?(gps)
Updated•10 years ago
|
Attachment #8715929 -
Flags: review?(gps) → review+
Comment 3•10 years ago
|
||
Comment on attachment 8715929 [details]
MozReview Request: Bug 1240059 - Treat psutil as optional in record_resource_usage. r=gps
https://reviewboard.mozilla.org/r/33655/#review30337
Comment 4•10 years ago
|
||
(In reply to Chris Manchester [:chmanchester] from comment #1)
> Assuming psutil is available is also a problem when imports run before the
> virtualenv is bootstrapped, which is the case for clobbers in automation
> (many central and try builds), so we're missing data for many of those
> builds.
I noticed this the other day when I tried to run `mach resource-usage` after a local clobber build on Windows. It would be nice to figure out a way to fix that.
| Assignee | ||
Comment 5•10 years ago
|
||
(In reply to Ted Mielczarek [:ted.mielczarek] from comment #4)
> (In reply to Chris Manchester [:chmanchester] from comment #1)
> > Assuming psutil is available is also a problem when imports run before the
> > virtualenv is bootstrapped, which is the case for clobbers in automation
> > (many central and try builds), so we're missing data for many of those
> > builds.
>
> I noticed this the other day when I tried to run `mach resource-usage` after
> a local clobber build on Windows. It would be nice to figure out a way to
> fix that.
This patch may help if that was in the last few weeks.
Comment 7•10 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 10 years ago
status-firefox47:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla47
Updated•7 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•