Closed Bug 1224848 Opened 9 years ago Closed 5 years ago

Intermittent e10s browser_pdfjs_zoom.js | Test timed out

Categories

(Firefox :: PDF Viewer, defect, P3)

defect

Tracking

()

RESOLVED FIXED
Firefox 70
Tracking Status
e10s + ---
firefox45 --- wontfix
firefox-esr60 --- wontfix
firefox-esr68 --- wontfix
firefox68 --- wontfix
firefox69 --- wontfix
firefox70 --- fixed

People

(Reporter: philor, Assigned: Snuffleupagus)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: intermittent-failure, regression, Whiteboard: [pdfjs-c-testing])

Attachments

(1 file, 2 obsolete files)

Priority: -- → P2
Whiteboard: [pdfjs-c-testing]
Blocks: e10s-tests
tracking-e10s: --- → +
Moving to p3 because no activity for at least 1 year(s). See https://github.com/mozilla/bug-handling/blob/master/policy/triage-bugzilla.md#how-do-you-triage for more information
Priority: P2 → P3

The new failures are a regression from bug 786674. Snufflepagus, can you take a look?

Flags: needinfo?(jonas.jenwald)
Keywords: regression
Regressed by: 786674
Attached patch zoom-cleanup.diff (obsolete) — Splinter Review

(In reply to Sebastian Hengst [:aryx] (needinfo on intermittent or backout) from comment #3)

The new failures are a regression from bug 786674. Snufflepagus, can you take a look?

Well, I cannot reproduce any failures locally on Windows so I'm not really sure what to do here.
The only idea I have is that we're not waiting for the viewer to close before ending the new zoom test, which maybe affects timings!?

Flags: needinfo?(jonas.jenwald)
Attachment #9078335 - Flags: feedback?(bdahl)
Attachment #9078335 - Flags: feedback?(bdahl)
Attached patch zoom-event-order.diff (obsolete) — Splinter Review

(In reply to Sebastian Hengst [:aryx] (needinfo on intermittent or backout) from comment #6)

The log at https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=256690287&repo=mozilla-central&lineNumber=6430 shows that the new test executes until https://hg.mozilla.org/mozilla-central/file/64af83fa5586ed42ff59d8c645edaec9b28e3c88/browser/extensions/pdfjs/test/browser_pdfjs_zoom.js#l241 whose document content has viewer UI message at https://hg.mozilla.org/mozilla-central/file/64af83fa5586ed42ff59d8c645edaec9b28e3c88/browser/extensions/pdfjs/test/browser_pdfjs_zoom.js#l214 still gets printed. The await waitForRender after never resolves: https://hg.mozilla.org/mozilla-central/file/64af83fa5586ed42ff59d8c645edaec9b28e3c88/browser/extensions/pdfjs/test/browser_pdfjs_zoom.js#l217 - has the pagerendered event already been processed?

As you've probably guessed I'm not very experienced with Firefox tests, so thank you for helping out with deciphering the test logs.
The only idea that jumped at me was to re-order the waitForRenderAndGetWidth calls and the FullZoom.{enlarge, reset, reduce} calls such that it (hopefully) should be impossible to miss an event.

:aryx, since I don't have try access: If you have time, could I maybe trouble you to help me push this patch to try to see if it helps at all?

Attachment #9078335 - Attachment is obsolete: true
Attachment #9078347 - Flags: feedback?(bdahl)

(In reply to Sebastian Hengst [:aryx] (needinfo on intermittent or backout) from comment #9)

0/41 runs failed in Try run: https://treeherder.mozilla.org/#/jobs?repo=try&selectedJob=256754460&revision=71acdd9a89cdcf8f75f38e2c55b078f913524834

:aryx, thanks a lot for helping out here!

These results certainly look promising enough so I've submitted an actual patch for review, fingers crossed it's enough to fix the new intermittent.

Attachment #9078347 - Flags: feedback?(bdahl)
Attachment #9078347 - Attachment is obsolete: true
Keywords: checkin-needed

Pushed by apavel@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/606676e2dd21
Attempt to reduce intermittent test failures in the newly added PDF.js FullZoom tests by re-ordering the event registrations and zoom calls. r=bdahl

Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 70
Assignee: nobody → jonas.jenwald
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: