Perma TEST-UNEXPECTED-FAIL | target.generated-files.tar.gz/target.generated-files.tar/ipc/ipdl/BlobTypes.cpp differs. See the diff.html or diff.txt artifact
Categories
(Core :: IPC, defect, P5)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox76 | --- | unaffected |
| firefox77 | --- | unaffected |
| firefox78 | --- | fixed |
People
(Reporter: intermittent-bug-filer, Assigned: rstewart)
References
(Regression)
Details
(Keywords: intermittent-failure, regression, Whiteboard: [retriggered])
Crash Data
Attachments
(2 files)
Filed by: rgurzau [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=301016931&repo=mozilla-central
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/AXdYVYV7R_WqZWaiM3F5Ow/runs/0/artifacts/public/logs/live_backing.log
[task 2020-05-06T11:31:24.256Z] |########################## | 97% xpcom/ds/nsGkAtomConsts.h ETA: 0:00:00
[task 2020-05-06T11:31:24.259Z] |########################## | 97% xpcom/ds/nsGkAtomList.h ETA: 0:00:00
[task 2020-05-06T11:31:24.277Z] |########################## | 98% …parser/xpidl/xpidllex.py ETA: 0:00:00
[task 2020-05-06T11:31:24.308Z] |########################## | 98% …arser/xpidl/xpidlyacc.py ETA: 0:00:00
[task 2020-05-06T11:31:25.854Z] |########################## | 98% …lect/xptinfo/xptdata.cpp ETA: 0:00:00
[task 2020-05-06T11:31:25.854Z] |########################## | 99% …s/gtest/dafsa_test_1.inc ETA: 0:00:00
[task 2020-05-06T11:31:25.855Z] |########################## | 99% xpcom/xpcom-config.h ETA: 0:00:00
[task 2020-05-06T11:31:25.856Z] |########################## | 99% xpcom/xpcom-private.h ETA: 0:00:00
[task 2020-05-06T11:31:25.858Z] |###########################| 100% ETA: 0:00:00
[task 2020-05-06T11:31:25.858Z] |###########################| 100% ETA: 0:00:00
[task 2020-05-06T11:31:25.858Z] |###########################| 100% ETA: 0:00:00
[task 2020-05-06T11:31:25.858Z] |###########################| 100% ETA: 0:00:00
[task 2020-05-06T11:32:52.179Z] |###########################| 100% Time: 0:00:26
[task 2020-05-06T11:32:52.179Z] + report_error diff
[task 2020-05-06T11:32:52.179Z] + python3
[task 2020-05-06T11:32:52.234Z] TEST-UNEXPECTED-FAIL | target.generated-files.tar.gz/target.generated-files.tar/ipc/ipdl/BlobTypes.cpp differs. See the diff.html or diff.txt artifact
[task 2020-05-06T11:32:52.234Z] TEST-UNEXPECTED-FAIL | target.generated-files.tar.gz/target.generated-files.tar/ipc/ipdl/CacheTypes.cpp differs. See the diff.html or diff.txt artifact
[task 2020-05-06T11:32:52.234Z] TEST-UNEXPECTED-FAIL | target.generated-files.tar.gz/target.generated-files.tar/ipc/ipdl/ChannelInfo.cpp differs. See the diff.html or diff.txt artifact
[task 2020-05-06T11:32:52.234Z] TEST-UNEXPECTED-FAIL | target.generated-files.tar.gz/target.generated-files.tar/ipc/ipdl/ClientIPCTypes.cpp differs. See the diff.html or diff.txt artifact
[task 2020-05-06T11:32:52.234Z] TEST-UNEXPECTED-FAIL | target.generated-files.tar.gz/target.generated-files.tar/ipc/ipdl/DOMTypes.cpp differs. See the diff.html or diff.txt artifact
Comment 1•6 years ago
|
||
Ricky, is there any chance this was caused by changes in Bug 1632916 ?
Could you take a few mins to check?
Thank you.
Updated•6 years ago
|
Comment 2•6 years ago
|
||
Set release status flags based on info from the regressing bug 1632916
| Assignee | ||
Comment 3•6 years ago
|
||
Python 3's built-in hashing of strings is non-deterministic for some godforsaken reason, so we'll have to replace it with a deterministic hash. I'll get a patch in shortly.
| Assignee | ||
Updated•6 years ago
|
| Assignee | ||
Comment 4•6 years ago
|
||
xptcodegen.py does a lot of stuff with indexing into the contents of a dict generated by the json library. This is going to yield unpredictable results on Python 3.6 and below where dictionary iteration order is nondeterministic between subsequent invocations of a python3 process. Fix this nondeterminism by loading the JSON data into an OrderedDict, as the documentation suggests.
| Assignee | ||
Comment 5•6 years ago
|
||
The hashes of certain strings is used indirectly in generating IDL C++ files. Before, we were using the hash() function to generate these hashes, which in Python 3 is non-deterministic over subsequent python3 processes, causing bugs like bug 1635755. Instead, use a specific, deterministic hash to avoid spurious diff failures.
The md5 hash function isn't completely cryptographically secure but the security of the hashes isn't important for us in this case since we're just using them as a per-string identifier. We could use a more robust hash function but there may be performance implications from doing so.
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Comment 8•6 years ago
|
||
| bugherder | ||
Comment 9•6 years ago
|
||
From the initial list of failures only this was left after today's merge: https://treeherder.mozilla.org/logviewer.html#?job_id=301536129&repo=mozilla-central
TEST-UNEXPECTED-FAIL | target.generated-files.tar.gz/target.generated-files.tar/xpcom/reflect/xptinfo/xptdata.cpp differs. See the diff.html or diff.txt artifact
Updated•6 years ago
|
| Comment hidden (Intermittent Failures Robot) |
| Assignee | ||
Comment 11•6 years ago
|
||
That's expected, that file is handled by revision D74443 which isn't landed yet.
Updated•6 years ago
|
Comment 12•6 years ago
|
||
| Assignee | ||
Comment 13•6 years ago
|
||
We should be good after the this patch makes it to central.
Updated•6 years ago
|
Comment 14•6 years ago
|
||
| bugherder | ||
| Comment hidden (Intermittent Failures Robot) |
Updated•6 years ago
|
Description
•