Closed Bug 1700801 Opened 5 years ago Closed 5 years ago

[M-fis-xorig] TEST-UNEXPECTED-PASS | layout/generic/test/test_bug756984.html | fail-if condition in manifest - We expected at least one failure

Categories

(Core :: Layout, defect)

defect

Tracking

()

RESOLVED FIXED
89 Branch
Fission Milestone M7a
Tracking Status
firefox-esr78 --- wontfix
firefox86 --- wontfix
firefox87 --- wontfix
firefox88 --- wontfix
firefox89 --- fixed

People

(Reporter: cpeterson, Assigned: emilio)

References

Details

(Whiteboard: [layout:triage-discuss])

Attachments

(1 file)

ahal hit this TEST-UNEXPECTED-PASS when trying to to enable mochitest-plain in fission-xorigin mode on more platforms in bug 1694835:

https://treeherder.mozilla.org/jobs?repo=try&revision=a4813c46eff128482994870bf8a06677022cee24&selectedTaskRun=TjKj0jluRJyAFeNT5JSRbQ.0

TEST-UNEXPECTED-PASS | layout/generic/test/test_bug756984.html | fail-if condition in manifest - We expected at least one failure

This test was annotated to fail-if xorigin in bug 1602668:

https://searchfox.org/mozilla-central/rev/368607c4cd5be547021945e4ae60e8eb4365b3c4/layout/generic/test/mochitest.ini#81-83

[test_bug756984.html]
fail-if =
    os == 'linux' && os_version == '18.04'  # Bug 1600208 permafail on ubuntu1804
    xorigin

Why does the test fail for xorigin && !fission but unexpectedly pass for xorigin && fission? Sounds like a test bug. We should either fix the test, add a skip-if xorigin && fission, or always skip-if xorigin.

Patricia, is adding the [layout:triage-discuss] whiteboard tag still the correct method to get a bug on the Layout team's triage radar?

This layout test is annotated as failing in mochitest "xorigin" mode (by bug 1602668 with no explanation), but the test is unexpectedly passing in xorigin mode when Fission is enabled. Having a Layout engineer diagnose why the test fails in xorigin without Fission and unexpectedly passes with Fission would be a big help for the Fission team.

Severity: S4 → --
Component: Mochitest → Layout
Flags: needinfo?(plawless)
Priority: P2 → --
Product: Testing → Core
See Also: → 1600208
Whiteboard: [layout:triage-discuss]
Version: Default → unspecified

Do you have a log of the failure when fission is disabled?

Flags: needinfo?(cpeterson)

(In reply to Emilio Cobos Álvarez (:emilio) from comment #2)

Do you have a log of the failure when fission is disabled?

Unfortunately, I don't.

These xorigin mode tests were originally intended to be run in "xorigin && !fission" and "xorigin && fission". The original annotations differentiated between those cases, but I see we currently only ever run these xorigin tests with both fission and xorigin mode enabled ("M-fis-xorig"). So this test's fail-if = xorigin annotation effectively implies and fission because we never test xorigin without fission. :(

Here is the mach command to run the test with xorigin without fission:

mach mochitest --enable-xorigin-tests

Flags: needinfo?(cpeterson) → needinfo?(emilio)

The test passes also without fission here, so we should just remove that fails-if annotation, looks like.

Flags: needinfo?(emilio)
Severity: -- → S3

(In reply to Emilio Cobos Álvarez (:emilio) from comment #4)

The test passes also without fission here, so we should just remove that fails-if annotation, looks like.

Would you mind making that change?

Flags: needinfo?(plawless) → needinfo?(emilio)
Flags: needinfo?(emilio)
Assignee: nobody → emilio
Attachment #9213178 - Attachment description: WIP: Bug 1700801 - Remove stale test annotation. → Bug 1700801 - Remove stale test annotation. r=#layout-reviewers
Status: NEW → ASSIGNED
Attachment #9213178 - Attachment description: Bug 1700801 - Remove stale test annotation. r=#layout-reviewers → Bug 1700801 - Remove stale test annotation of test_bug756984 which passes with fission-xorigin. r=#layout-reviewers
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/977f76231d70 Remove stale test annotation of test_bug756984 which passes with fission-xorigin. r=layout-reviewers,TYLin
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 89 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: