Closed Bug 1494633 Opened 6 years ago Closed 5 years ago

Intermittent ..\testing\xpcshell\selftest.py::XPCShellTestsTests::testChild TEST-UNEXPECTED-FAIL

Categories

(Testing :: XPCShell Harness, defect, P5)

Version 3
defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: intermittent-failure)

Filed by: rgurzau [at] mozilla.com

https://treeherder.mozilla.org/logviewer.html#?job_id=201893715&repo=mozilla-inbound

https://queue.taskcluster.net/v1/task/ESxT7jTpTh-1_0j9OGAtOQ/runs/0/artifacts/public/logs/live_backing.log

1:21:50     INFO - ============================= test session starts =============================
11:21:50     INFO - platform win32 -- Python 2.7.15, pytest-3.6.2, py-1.5.4, pluggy-0.6.0 -- z:\build\build\src\obj-firefox\_virtualenvs\src-5kxztrTV-2.7\Scripts\python.exe
11:21:50     INFO - rootdir: z:\build\build\src, inifile: z:\build\build\src\config\mozunit\mozunit\pytest.ini
11:21:50     INFO - collecting ... collected 55 items
11:21:50     INFO - ..\testing\xpcshell\selftest.py::XPCShellTestsTests::testAddTaskRunNextTest PASSED
11:21:50     INFO - ..\testing\xpcshell\selftest.py::XPCShellTestsTests::testAddTaskSkip PASSED
11:21:50     INFO - ..\testing\xpcshell\selftest.py::XPCShellTestsTests::testAddTaskSkipAll PASSED
11:21:50     INFO - ..\testing\xpcshell\selftest.py::XPCShellTestsTests::testAddTaskStackTrace PASSED
11:21:50     INFO - ..\testing\xpcshell\selftest.py::XPCShellTestsTests::testAddTaskTestFailureInside PASSED
11:21:50     INFO - ..\testing\xpcshell\selftest.py::XPCShellTestsTests::testAddTaskTestMultiple PASSED
11:21:50     INFO - ..\testing\xpcshell\selftest.py::XPCShellTestsTests::testAddTaskTestRejected PASSED
11:21:50     INFO - ..\testing\xpcshell\selftest.py::XPCShellTestsTests::testAddTaskTestSingle PASSED
11:21:50     INFO - ..\testing\xpcshell\selftest.py::XPCShellTestsTests::testAddTestFailing PASSED
11:21:50     INFO - ..\testing\xpcshell\selftest.py::XPCShellTestsTests::testAddTestSimple PASSED
11:21:50     INFO - ..\testing\xpcshell\selftest.py::XPCShellTestsTests::testAddTestUncaughtRejection PASSED
11:21:50     INFO - ..\testing\xpcshell\selftest.py::XPCShellTestsTests::testAddTestUncaughtRejectionJSM PASSED
11:21:50     INFO - ..\testing\xpcshell\selftest.py::XPCShellTestsTests::testAssertStack <- c:\mozilla-build\python\Lib\unittest\case.py SKIPPED
11:21:50     INFO - ..\testing\xpcshell\selftest.py::XPCShellTestsTests::testAsyncCleanup PASSED
11:21:50  WARNING - ..\testing\xpcshell\selftest.py::XPCShellTestsTests::testChild TEST-UNEXPECTED-FAIL
11:21:50     INFO - ..\testing\xpcshell\selftest.py::XPCShellTestsTests::testChildFail PASSED
11:21:50     INFO - ..\testing\xpcshell\selftest.py::XPCShellTestsTests::testChildHang PASSED
11:21:50     INFO - ..\testing\xpcshell\selftest.py::XPCShellTestsTests::testChildMozinfo PASSED
11:21:50     INFO - ..\testing\xpcshell\selftest.py::XPCShellTestsTests::testChildPass PASSED
11:21:50     INFO - ..\testing\xpcshell\selftest.py::XPCShellTestsTests::testDoPrintWhenVerboseExplicit PASSED
11:21:50     INFO - ..\testing\xpcshell\selftest.py::XPCShellTestsTests::testDoPrintWhenVerboseInManifest PASSED
11:21:50     INFO - ..\testing\xpcshell\selftest.py::XPCShellTestsTests::testDoPrintWhenVerboseNotExplicit PASSED
11:21:50     INFO - ..\testing\xpcshell\selftest.py::XPCShellTestsTests::testDoReportForeignObject PASSED
11:21:50     INFO - ..\testing\xpcshell\selftest.py::XPCShellTestsTests::testDoReportNonSyntaxError PASSED
11:21:50     INFO - ..\testing\xpcshell\selftest.py::XPCShellTestsTests::testDoReportRefError PASSED
11:21:50     INFO - ..\testing\xpcshell\selftest.py::XPCShellTestsTests::testDoReportSyntaxError PASSED
11:21:50     INFO - ..\testing\xpcshell\selftest.py::XPCShellTestsTests::testDoThrowForeignObject PASSED
11:21:50     INFO - ..\testing\xpcshell\selftest.py::XPCShellTestsTests::testDoThrowString PASSED
11:21:50     INFO - ..\testing\xpcshell\selftest.py::XPCShellTestsTests::testFail PASSED
See Also: → 1400516
Benjamin can you please take a look at this? 
It's failed on your push for bug 1469027 and green before that: https://tinyurl.com/ybtjud23

Could bug 1469027 be the cause for this failure?
Flags: needinfo?(bbouvier)
I really don't see how it could be related to my patches, except for changes on the binary layout or PGO issues. Could it also be caused by the "see also" bug?
Flags: needinfo?(bbouvier)
Here's a question: the logs seem to show that this is run with `mach python-test`:

11:16:05     INFO - Starting 'mach python-test' with -j16

There seems to be an explicit remark in a comment of this particular test saying that there's a spurious failure when run with `mach python-test`:

https://searchfox.org/mozilla-central/source/testing/xpcshell/selftest.py#664-668

Could that be it?
Geoff can you please take a look here and see if you can think of something or someone who can work on this? 

There are 34 total failures in the last 7 days, 1 on linux64, windows2012-32 opt,pgo and windows2012-64 opt, asan and pgo.
Flags: needinfo?(gbrown)
Assignee: nobody → gbrown
Flags: needinfo?(gbrown)
See Also: → 1103226
Very speculatively: Since this is spawning a new xpcshell test, with unknown mozinfo, could this be related to the fix for bug 1305743 (being backed out now)? Watching for sudden improvement...
See Also: → 1494404
Failure frequency is significantly reduced, but there are still a few (it's unclear if bug 1305743 is implicated). I haven't had a chance to investigate and at this failure rate, I probably won't. 

Also, bug 1396845 might help here.
Assignee: gbrown → nobody
Thank you for looking into this Geoff.
See Also: → 1517686
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.