Closed
Bug 1411622
Opened 7 years ago
Closed 5 years ago
Intermittent devtools/client/inspector/markup/test/browser_markup_image_tooltip_mutations.js | Test timed out -
Categories
(DevTools :: Inspector, defect, P5)
DevTools
Inspector
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
Firefox 59
People
(Reporter: intermittent-bug-filer, Assigned: pbro)
Details
(Keywords: intermittent-failure, Whiteboard: [stockwell unknown])
Attachments
(2 files)
Filed by: philringnalda [at] gmail.com https://treeherder.mozilla.org/logviewer.html#?job_id=139441985&repo=mozilla-inbound https://queue.taskcluster.net/v1/task/XRS-HTYTTFWWvXXIqQKGpA/runs/0/artifacts/public/logs/live_backing.log
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment 6•7 years ago
|
||
I hit this on a try-push: https://treeherder.mozilla.org/#/jobs?repo=try&revision=eeb437da0a4f71f24d66bdddd3c33b18487eca89&selectedJob=148883524 Shortly after the test timeout message, I got big huge stacktrace-spew about an uncaught rejection -- quads[0] is |undefined| in this code snippet from HTMLTooltip.js: let quads = node.getBoxQuads({relativeTo}); let top = quads[0].bounds.top; let left = quads[0].bounds.left; https://searchfox.org/mozilla-central/rev/7f45cb7cc0229398fc99849bdc150cb6462d6966/devtools/client/shared/widgets/tooltip/HTMLTooltip.js#189 This looks like a reasonably promising avenue for investigation and fixing of this intermittent!
Comment hidden (Intermittent Failures Robot) |
Assignee | ||
Comment 8•7 years ago
|
||
I looked at several of the logs for this intermittent, and found this error coming back every time: TypeError: parent is null MarkupView.prototype._isImagePreviewTarget<@resource://devtools/shared/base-loader.js -> resource://devtools/client/inspector/markup/markup.js:524:1 Here's the code: https://searchfox.org/mozilla-central/source/devtools/client/inspector/markup/markup.js#524 This is executed on mouse over. Every element we hover over is analyzed to see if an image tooltip needs to be displayed. I can see a case where parent would be null here: if target is the <html> element for example, since we only check if we walked up to <body>, we will not bail out and continue to walk up, until parent is null. I think we simply need a null check here.
Comment hidden (mozreview-request) |
Assignee | ||
Comment 10•7 years ago
|
||
I trigger a lot of re-runs on this try build and it seems to be working so far: https://treeherder.mozilla.org/#/jobs?repo=try&revision=291d6d5f969b7cc7a2f8baa34c6482f7e3bc2d1c&group_state=expanded
Comment hidden (Intermittent Failures Robot) |
Assignee | ||
Updated•7 years ago
|
Attachment #8934121 -
Flags: review?(mratcliffe)
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → pbrosset
Status: NEW → ASSIGNED
Comment 12•7 years ago
|
||
mozreview-review |
Comment on attachment 8934121 [details] Bug 1411622 - Check for null nodes when searching for image preview targets in the markupview https://reviewboard.mozilla.org/r/205068/#review213074
Attachment #8934121 -
Flags: review?(mratcliffe) → review+
Comment 13•7 years ago
|
||
Pushed by pbrosset@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5b64e167771a Check for null nodes when searching for image preview targets in the markupview r=miker
Comment 14•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/5b64e167771a
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox59:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 59
Comment 15•6 years ago
|
||
Recent failure log: https://treeherder.mozilla.org/logviewer.html#?job_id=151736985&repo=mozilla-inbound&lineNumber=19160
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment 20•6 years ago
|
||
There have been 30 failures in the last 7 days. Mostly happens on opt mochitests, OSX, Linux, Windows. :gl could you, please, take a look? Recent log: https://treeherder.mozilla.org/logviewer.html#?repo=autoland&job_id=154770209&lineNumber=11991
Flags: needinfo?(gl)
Whiteboard: [stockwell needswork]
Comment hidden (Intermittent Failures Robot) |
Comment 22•6 years ago
|
||
Any chance you can look into this again?
Flags: needinfo?(gl) → needinfo?(pbrosset)
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Updated•6 years ago
|
Product: Firefox → DevTools
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Assignee | ||
Comment 50•6 years ago
|
||
I never got around to investigating this again unfortunately. It's not a super super frequent test failure, but still high enough that we should look into it properly at some stage. The thing is, it only fails on try, and mostly on debug builds it seems. I can't make it fail locally so far (artifact build, non-debug, windows 10, in verify mode). Looking at the logs and code, I see that after the test has updated the src attribute of the element, it attempts to show the tooltip by hovering over it again, but the test now times out because the "show" event never comes. So it's a timing issue, and I have a feeling this might not represent an actual problem users are likely to get into when using devtools. So my suggestion would be, if this picks up too much, to disable it on debug builds.
Flags: needinfo?(pbrosset)
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Assignee | ||
Comment 58•6 years ago
|
||
I'm seeing the error message from comment 6 again: devtools/client/inspector/markup/test/browser_markup_image_tooltip_mutations.js | A promise chain failed to handle a rejection: node.getBoxQuads(...)[0] is undefined; can't access its "getBounds" property - stack: getRelativeRect@resource://devtools/shared/base-loader.js -> resource://devtools/client/shared/widgets/tooltip/HTMLTooltip.js:272:22 _updateContainerBounds@resource://devtools/shared/base-loader.js -> resource://devtools/client/shared/widgets/tooltip/HTMLTooltip.js:481:22 show@resource://devtools/shared/base-loader.js -> resource://devtools/client/shared/widgets/tooltip/HTMLTooltip.js:434:27 async*_onMouseMove/this.toggleTimer</<@resource://devtools/shared/base-loader.js -> resource://devtools/client/shared/widgets/tooltip/TooltipToggle.js:130:11 The test fails on debug and asan only it seems (I don't fully know what asan is, but the test seems to be running as slow on those platforms as on debug, so this is still a timing issue, but we should still investigate this error and fix the code).
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment 66•5 years ago
|
||
Status: REOPENED → RESOLVED
Closed: 6 years ago → 5 years ago
Resolution: --- → INCOMPLETE
Comment 67•5 years ago
|
||
Recent failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=227430139&repo=mozilla-esr60&lineNumber=7361
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment 70•5 years ago
|
||
Status: REOPENED → RESOLVED
Closed: 5 years ago → 5 years ago
Resolution: --- → INCOMPLETE
Comment hidden (Intermittent Failures Robot) |
Comment 72•5 years ago
|
||
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Comment hidden (Intermittent Failures Robot) |
Comment 74•5 years ago
|
||
Status: REOPENED → RESOLVED
Closed: 5 years ago → 5 years ago
Resolution: --- → INCOMPLETE
Comment 75•5 years ago
|
||
Recent failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=252549581&repo=mozilla-esr60&lineNumber=11864
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Comment hidden (Intermittent Failures Robot) |
Comment 77•5 years ago
|
||
Status: REOPENED → RESOLVED
Closed: 5 years ago → 5 years ago
Resolution: --- → INCOMPLETE
Comment 78•5 years ago
|
||
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Comment hidden (Intermittent Failures Robot) |
Comment 80•5 years ago
|
||
https://wiki.mozilla.org/Bug_Triage#Intermittent_Test_Failure_Cleanup
For more information, please visit auto_nag documentation.
Status: REOPENED → RESOLVED
Closed: 5 years ago → 5 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•