Closed Bug 1880704 Opened 1 years ago Closed 1 year ago

Permafailing QA test_pdf_download | AssertionError('Mismatching screenshots for test_pdf_download_base.png')

Categories

(Firefox Build System :: Task Configuration, defect, P5)

defect

Tracking

(firefox-esr115 unaffected, firefox123 unaffected, firefox124 wontfix, firefox125 fixed)

RESOLVED FIXED
125 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox123 --- unaffected
firefox124 --- wontfix
firefox125 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: gerard-majax)

References

(Regression)

Details

(Keywords: intermittent-failure, regression)

Attachments

(3 files)

Filed by: ncsoregi [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=447548115&repo=mozilla-central
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/LhaogxCARNevpIIx6lvEsg/runs/0/artifacts/public/logs/live_backing.log


[task 2024-02-17T01:11:42.761Z] TEST-START | test_pdf_download
[task 2024-02-17T01:12:51.849Z] Wait for consent form: timed out, maybe it is not here
[task 2024-02-17T01:13:02.026Z] Saving screenshot 'screenshot_fail.png' to '/home/ubuntu/tasks/task_170812943797888/builds/worker/artifacts/screenshot_fail.png'
[task 2024-02-17T01:13:02.146Z] Saving screenshot 'screenshot_fail_parent.png' to '/home/ubuntu/tasks/task_170812943797888/builds/worker/artifacts/screenshot_fail_parent.png'
[task 2024-02-17T01:13:02.295Z] TEST-UNEXPECTED-FAIL | test_pdf_download | AssertionError('Mismatching screenshots for test_pdf_download_base.png')
[task 2024-02-17T01:13:02.295Z] TEST-INFO took 79533ms
[task 2024-02-17T01:13:02.308Z] Traceback (most recent call last):
[task 2024-02-17T01:13:02.308Z]   File "/home/ubuntu/tasks/task_170812943797888/fetches/basic_tests.py", line 77, in __init__
[task 2024-02-17T01:13:02.308Z]     rv = getattr(self, m)(self._expectations[m])
[task 2024-02-17T01:13:02.308Z]   File "/home/ubuntu/tasks/task_170812943797888/fetches/qa_tests.py", line 506, in test_pdf_download
[task 2024-02-17T01:13:02.308Z]     self.assert_rendering(exp, self._driver)
[task 2024-02-17T01:13:02.308Z]   File "/home/ubuntu/tasks/task_170812943797888/fetches/basic_tests.py", line 193, in assert_rendering
[task 2024-02-17T01:13:02.308Z]     assert diff.getbbox() is None, "Mismatching screenshots for {}".format(
[task 2024-02-17T01:13:02.308Z] AssertionError: Mismatching screenshots for test_pdf_download_base.png
[task 2024-02-17T01:13:05.882Z] Exiting with False
[task 2024-02-17T01:13:05.882Z] SUITE-END | took 247s

:gerard-majax hi, can you take a look at this?
Thank you.

Flags: needinfo?(lissyx+mozillians)
Summary: Intermittent test_pdf_download | AssertionError('Mismatching screenshots for test_pdf_download_base.png') → Permafailing test_pdf_download | AssertionError('Mismatching screenshots for test_pdf_download_base.png')
See Also: → 1880706
Summary: Permafailing test_pdf_download | AssertionError('Mismatching screenshots for test_pdf_download_base.png') → Permafailing QA test_pdf_download | AssertionError('Mismatching screenshots for test_pdf_download_base.png')
See Also: → 1880707
Assignee: nobody → lissyx+mozillians
Flags: needinfo?(lissyx+mozillians)

Sorry, I was expecting a bit of intermittence, but not that much and not perma failing. ...

Pushed by alissy@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b06a44eea69a Change how we wait PDF.js loading for QA tests r=mboldan

Set release status flags based on info from the regressing bug 1866798

Status: NEW → RESOLVED
Closed: 1 years ago
Resolution: --- → FIXED
Target Milestone: --- → 125 Branch

@Gerard, this is still perma-failing

L.E. Failure log #2

Status: RESOLVED → REOPENED
Flags: needinfo?(lissyx+mozillians)
Resolution: FIXED → ---
Target Milestone: 125 Branch → ---

Thanks, I dont understand ...

Flags: needinfo?(lissyx+mozillians)

OK let's try:

  • allowing try to re-use mozilla-central built snap packages
  • use canvas for getting the rendered PDF instead of relying on the screenshot from selenium, most if not all of the failures I saw are just toolbar elements
Regressions: 1881661
Pushed by alissy@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/554b19b4f7ac Allow downloading Snap package from mozilla-central r=mboldan https://hg.mozilla.org/integration/autoland/rev/9218ead49f78 Crop more PDF rendering and wait differently for rendering r=mboldan
Status: REOPENED → RESOLVED
Closed: 1 years ago1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 125 Branch
Regressions: 1882434
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: