Closed
Bug 1423353
Opened 8 years ago
Closed 8 years ago
talos has intermittent xperf file access- lets fix this
Categories
(Testing :: Talos, defect)
Testing
Talos
Tracking
(firefox59 fixed)
RESOLVED
FIXED
mozilla59
| Tracking | Status | |
|---|---|---|
| firefox59 | --- | fixed |
People
(Reporter: jmaher, Assigned: igoldan)
References
Details
(Whiteboard: [PI:January])
Attachments
(1 file)
{profile}\extensions\talos-powers@mozilla.org\install.rdf
{talos}\talos\tests\tp5n\cnet.com\i.i.com.com\cnwk.1d\i\tron
{talos}\talos\tests\tp5n\yelp.com\media1.ct.yelpcdn.com\photo
{talos}\talos\tests\tp5n\alibaba.com\i03.i.aliimg.com\images\eng\style\css_images
{firefox}\crash reports\lastcrash
c:\slave\test\build\venv\lib\site-packages\pip\_vendor
{firefox}\browser\features\aushelper@mozilla.org.xpi
c:\users\cltbld.t-w732-ix-112.001\appdata\local\temp
{firefox}\browser\extensions\{uuid}.xpi
{firefox}\browser\features\flyweb@mozilla.org.xpi
{profile}\extensions\talos-powers@mozilla.org\install.rdf
\fi_unknown
most if not all of these are not useful, the two that we should verify are expected are:
{firefox}\browser\features\flyweb@mozilla.org.xpi
{firefox}\browser\features\aushelper@mozilla.org.xpi
I believe we want those in there- I would like to find a way to not report failures on these others- it looks like we are writing bytes for many of these (I assume cache), and we should reduce our failures.
Look at the list of bugs that this blocks for more info
| Reporter | ||
Comment 1•8 years ago
|
||
:igoldan, is this something you could look into- this would resolve 10 intermittent bugs and probably prevent another 10 in the coming months.
Flags: needinfo?(igoldan)
| Assignee | ||
Comment 2•8 years ago
|
||
Yes, I want to look over this bug. Thanks for pointing this issue out!
Flags: needinfo?(igoldan)
| Assignee | ||
Updated•8 years ago
|
Assignee: nobody → igoldan
| Assignee | ||
Comment 3•8 years ago
|
||
(In reply to Joel Maher ( :jmaher) (UTC-5) from comment #0)
> most if not all of these are not useful, the two that we should verify are
> expected are:
> {firefox}\browser\features\flyweb@mozilla.org.xpi
> {firefox}\browser\features\aushelper@mozilla.org.xpi
>
> I believe we want those in there- I would like to find a way to not report
> failures on these others- it looks like we are writing bytes for many of
> these (I assume cache), and we should reduce our failures.
>
> Look at the list of bugs that this blocks for more info
What do you mean by cache? In what way is this causing writing of bytes?
| Reporter | ||
Comment 4•8 years ago
|
||
I honestly have no idea, I just saw in some of the bugs it mentioned these were write bytes, not read bytes- maybe our logic for whitelist isn't applying to write bytes
| Assignee | ||
Comment 5•8 years ago
|
||
Well, we don't care about these read/write bytes. We only match against file patterns from xperf_whitelist.json. If one of our accessed file's pattern is not in there, we cause an intermittent.
| Reporter | ||
Comment 6•8 years ago
|
||
if we can find a generic pattern to ignore the tp5 files, that would help a lot, same with some of the others.
| Comment hidden (mozreview-request) |
| Assignee | ||
Comment 8•8 years ago
|
||
I did a Try push when my changes were 90% done:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=7e7c44346a88bc9b987d5533167d32f895cd2d92
I did another one for the exact code changes in comment 7:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=b19cfeaed609986a8ed01c150e8d573e4e89fc85
| Reporter | ||
Comment 9•8 years ago
|
||
| mozreview-review | ||
Comment on attachment 8935376 [details]
Bug 1423353 - Repush fix for xperf intermittents
https://reviewboard.mozilla.org/r/206274/#review211874
just one nit to consider, overall this looks good and I would like to see this landed sooner rather than later :)
::: testing/talos/talos/xtalos/etlparser.py:39
(Diff revision 1)
> + # with their real representations. So, prepend them with extra backslash.
> + # Read more: https://docs.python.org/2.7/library/re.html#re.sub
> + (re.compile(r'{\w{8}-\w{4}-\w{4}-\w{4}-\w{12}}'), '{uuid}'),
> + (re.compile(r'talos\\tests\\tp5n\\.*'), r'talos\\tests\{tp5n_files}'),
> + (re.compile(r'nvidia corporation\\3d vision\\.*'), '{nvidia_3d_vision}'),
> + (re.compile(r'cltbld\.t-w732-ix-\d+\.\d+'), '{cltbld}'),
I would like to be careful here, cltbld could have other real files we care about, I think we just want to blanket substitute the cache related files.
::: testing/talos/talos/xtalos/etlparser.py:477
(Diff revision 1)
> # " %s"
> # % (filename, (files[row]['DiskReadCount'] +
> # files[row]['DiskWriteCount']),
> # wl[filename]['maxcount']))
> else:
> - errors.append("File '%s' was accessed and we were not expecting"
> + errors.append("File '%s' (normalized from '%s') was accessed and we were not expecting"
this is really great to see! good work on this part
Attachment #8935376 -
Flags: review?(jmaher) → review+
| Assignee | ||
Comment 10•8 years ago
|
||
| mozreview-review-reply | ||
Comment on attachment 8935376 [details]
Bug 1423353 - Repush fix for xperf intermittents
https://reviewboard.mozilla.org/r/206274/#review211874
> I would like to be careful here, cltbld could have other real files we care about, I think we just want to blanket substitute the cache related files.
This will still check the full path for these kinds of files. It only normalizes the variable part, which is the machine instance name. We will still get intermittents for unexpected files accesses under this directory.
Comment 11•8 years ago
|
||
Pushed by jmaher@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/6e523917ee97
Fix xperf intermittents r=jmaher
| Assignee | ||
Comment 12•8 years ago
|
||
This will be backed out, as xperf reports zero values from a badly handled ValueError.
Comment 13•8 years ago
|
||
| backout | ||
Backed out as requested by igoldan.
https://hg.mozilla.org/mozilla-central/rev/a08e1277507b4a72049c758b09a23f51ddc51a14
Flags: needinfo?(igoldan)
| Comment hidden (obsolete) |
| Assignee | ||
Updated•8 years ago
|
Flags: needinfo?(igoldan)
| Reporter | ||
Updated•8 years ago
|
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Updated•8 years ago
|
status-firefox59:
fixed → ---
Target Milestone: mozilla59 → ---
Comment 15•8 years ago
|
||
:igoldan, what is the status of this (is there a replacement patch in the works since the original was backed out)? Thanks
Flags: needinfo?(igoldan)
Whiteboard: [PI:December] → [PI:January]
| Assignee | ||
Comment 16•8 years ago
|
||
Yes, I'm working on adding the fixes. I have to update the way I do imports from the xtalos sub-package. By tomorrow this should be done.
Flags: needinfo?(igoldan)
| Comment hidden (mozreview-request) |
| Assignee | ||
Comment 18•8 years ago
|
||
I tested this on Try [1].
[1] https://treeherder.mozilla.org/#/jobs?repo=try&revision=89286d8818b484597257236af890b70389eaece5
| Reporter | ||
Comment 19•8 years ago
|
||
| mozreview-review | ||
Comment on attachment 8935376 [details]
Bug 1423353 - Repush fix for xperf intermittents
https://reviewboard.mozilla.org/r/206274/#review217476
r+ again
Comment 20•8 years ago
|
||
Pushed by igoldan@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f5b7b31c4da1
Repush fix for xperf intermittents r=jmaher
Comment 21•8 years ago
|
||
| bugherder | ||
Status: REOPENED → RESOLVED
Closed: 8 years ago → 8 years ago
status-firefox59:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla59
You need to log in
before you can comment on or make changes to this bug.
Description
•