Closed
Bug 1139487
Opened 10 years ago
Closed 9 years ago
Remove mozprocess.pid, mozprocess.wpk
Categories
(Testing :: Mozbase, defect)
Tracking
(firefox44 fixed)
RESOLVED
FIXED
mozilla44
Tracking | Status | |
---|---|---|
firefox44 | --- | fixed |
People
(Reporter: wlach, Assigned: parkouss)
References
Details
Attachments
(4 files)
6.23 KB,
patch
|
Details | Diff | Splinter Review | |
5.43 KB,
patch
|
Details | Diff | Splinter Review | |
40 bytes,
text/x-review-board-request
|
jmaher
:
review+
|
Details |
40 bytes,
text/x-review-board-request
|
jmaher
:
review+
|
Details |
These functions are known to be broken (see bug 1138759). For code in mozilla-central, we can just use psutil which is included there (nothing there uses mozprocess.pid right now though). The only other consumer of this code is talos. I'd just copy the relevant code into talos directly. If/when we move talos into mozilla-central, we can migrate it to use psutil as well.
Reporter | ||
Comment 1•10 years ago
|
||
This removes these functions from mozprocess.
Assignee: nobody → wlachance
Attachment #8573565 -
Flags: review?(ahalberstadt)
Reporter | ||
Comment 2•10 years ago
|
||
obv this needs a try run, doing one
Attachment #8573566 -
Flags: review?(jmaher)
Reporter | ||
Comment 3•10 years ago
|
||
Try run for mozbase unit tests and talos: https://treeherder.mozilla.org/#/jobs?repo=try&revision=e91dfac29c85
Reporter | ||
Updated•10 years ago
|
Attachment #8573565 -
Flags: review?(ahalberstadt)
Reporter | ||
Updated•10 years ago
|
Attachment #8573566 -
Flags: review?(jmaher)
Reporter | ||
Comment 4•10 years ago
|
||
Unfortunately this approach doesn't work with Windows talos, as it requires compiling some parts of psutil which aren't supported in that environment. I assume this problem has somehow been solved for our other tests (probably by precompiling psutil and putting it in tests.zip), if we ever moved talos in-tree (bug 787200) we would be ok pushing this code. As it is, solving this in alternate ways probably isn't worth the effort. Let's just leave things as they are for now and maybe revisit in the future.
Reporter | ||
Comment 5•10 years ago
|
||
Not working on this at the moment.
Assignee: wlachance → nobody
See Also: → 787200
Comment 6•9 years ago
|
||
ok, psutil is working now, this might be worth revisiting.
Assignee | ||
Comment 7•9 years ago
|
||
Bug 1139487 - Remove mozprocess.pid usage from talos. r=jmaher
Attachment #8670445 -
Flags: review?(jmaher)
Assignee | ||
Comment 8•9 years ago
|
||
Bug 1139487 - Remove mozprocess.pid, mozprocess.wpk. r=jmaher
Attachment #8670446 -
Flags: review?(jmaher)
Assignee | ||
Comment 9•9 years ago
|
||
So, let's see how that goes - I ran a push try on the first patch only,
https://treeherder.mozilla.org/#/jobs?repo=try&revision=cb30fddb5d69
We should ensure that numbers are still consistent.
I tried with dxr to find all mozprocess.pid, mozprocess.wpk usage - seems to me like talos was alone. But maybe a full push to try would be good here to be sure ?
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → j.parkouss
Status: NEW → ASSIGNED
Comment 10•9 years ago
|
||
Comment on attachment 8670446 [details]
MozReview Request: Bug 1139487 - Remove mozprocess.pid, mozprocess.wpk. r=jmaher
https://reviewboard.mozilla.org/r/21367/#review19253
this is nice!
Attachment #8670446 -
Flags: review?(jmaher) → review+
Updated•9 years ago
|
Attachment #8670445 -
Flags: review?(jmaher) → review+
Comment 11•9 years ago
|
||
Comment on attachment 8670445 [details]
MozReview Request: Bug 1139487 - Remove mozprocess.pid usage from talos. r=jmaher
https://reviewboard.mozilla.org/r/21365/#review19255
this is more of a rubber stamp, this change confuses me, not the change, just the code it is in!
Assignee | ||
Comment 12•9 years ago
|
||
So, we should be good, looking at talos results there are no obvious changes:
https://treeherder.mozilla.org/perf.html#/compare?originalProject=mozilla-inbound&originalRevision=d01dd42e654b&newProject=try&newRevision=cb30fddb5d69
So I should still run a try on the two patches just to be sure unit tests are good for each platform.
Assignee | ||
Comment 13•9 years ago
|
||
Assignee | ||
Comment 14•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/9d52d889c77bd25e2ccefcd609570e0b371863d9
Bug 1139487 - Remove mozprocess.pid usage from talos. r=jmaher
https://hg.mozilla.org/integration/mozilla-inbound/rev/c57207f4c801c1af8ded94db984b3fb802e434fc
Bug 1139487 - Remove mozprocess.pid, mozprocess.wpk. r=jmaher
Comment 15•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/9d52d889c77b
https://hg.mozilla.org/mozilla-central/rev/c57207f4c801
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox44:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla44
You need to log in
before you can comment on or make changes to this bug.
Description
•