Closed
Bug 1349350
Opened 8 years ago
Closed 8 years ago
IPDL compiler doesn't error out when it finds sync-messages.ini entries without corresponding IPDL sync messages
Categories
(Core :: IPC, defect)
Core
IPC
Tracking
()
RESOLVED
FIXED
mozilla55
Tracking | Status | |
---|---|---|
firefox55 | --- | fixed |
People
(Reporter: erahm, Assigned: erahm)
References
Details
Attachments
(1 file, 1 obsolete file)
2.22 KB,
patch
|
ehsan.akhgari
:
review+
|
Details | Diff | Splinter Review |
Bug 1345111 added what should have been a fatal IPDL build error, but it just dumps log spam instead. Example snippet from a build log from a windows build [1]:
> 16:32:03 INFO - Error: Sync IPC message PDocAccessible::RowIdx not found, it appears to be fixed.
> 16:32:03 INFO - Please remove it from sync-messages.ini.
> 16:32:03 INFO - Error: Sync IPC message PDocAccessible::TableSelectRow not found, it appears to be fixed.
> 16:32:03 INFO - Please remove it from sync-messages.ini.
[1] https://treeherder.mozilla.org/logviewer.html#?job_id=85372495&repo=mozilla-central&lineNumber=3310-3549
Assignee | ||
Updated•8 years ago
|
Flags: needinfo?(ehsan)
Assignee | ||
Comment 1•8 years ago
|
||
The IPDL sync IPC message error checker needs to actually return a result and
exit if it fails.
Ehsan, I think this fixes the checker but I'm not sure how we're supposed to
fix the build errors it's going to cause.
MozReview-Commit-ID: 1ZAuAWRlsvk
Attachment #8849727 -
Flags: review?(ehsan)
Comment 2•8 years ago
|
||
(In reply to Eric Rahm [:erahm] from comment #1)
> Ehsan, I think this fixes the checker but I'm not sure how we're supposed to
> fix the build errors it's going to cause.
You just add a platform= entry for it. That suppresses the error.
Comment 3•8 years ago
|
||
This is sort of a dupe of bug 1347000, if you are going to fix those errors.
Assignee | ||
Comment 4•8 years ago
|
||
(In reply to Andrew McCreight [:mccr8] from comment #3)
> This is sort of a dupe of bug 1347000, if you are going to fix those errors.
I posted a patch for the errors there, we can fix the lack of build failure here.
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → erahm
Assignee | ||
Comment 5•8 years ago
|
||
Assignee | ||
Comment 6•8 years ago
|
||
(In reply to Eric Rahm [:erahm] from comment #5)
> https://treeherder.mozilla.org/#/jobs?repo=try&revision=d9ccdd50ed52
This push was with the error checking fix, I expect the build to fail. The following push fixes the platform dependent messages, I expect it to pass:
https://bugzilla.mozilla.org/show_bug.cgi?id=1347000
Comment 7•8 years ago
|
||
Comment on attachment 8849727 [details] [diff] [review]
Make IPDL checker sync IPC message errors fatal
Review of attachment 8849727 [details] [diff] [review]:
-----------------------------------------------------------------
Thank you!
Attachment #8849727 -
Flags: review?(ehsan) → review+
Updated•8 years ago
|
Flags: needinfo?(ehsan)
Assignee | ||
Comment 8•8 years ago
|
||
Had the error condition inverted, fixed up now.
Attachment #8850086 -
Flags: review?(ehsan)
Assignee | ||
Updated•8 years ago
|
Attachment #8849727 -
Attachment is obsolete: true
Assignee | ||
Comment 9•8 years ago
|
||
Updated•8 years ago
|
Attachment #8850086 -
Flags: review?(ehsan) → review+
Assignee | ||
Comment 10•8 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/59efeb9e45a38e39ae6c30c094f04e8cc62f73fb
Bug 1349350 - Make IPDL checker sync IPC message errors fatal. r=ehsan
Comment 11•8 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
You need to log in
before you can comment on or make changes to this bug.
Description
•