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)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla55
Tracking Status
firefox55 --- fixed

People

(Reporter: erahm, Assigned: erahm)

References

Details

Attachments

(1 file, 1 obsolete file)

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
Flags: needinfo?(ehsan)
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)
(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.
This is sort of a dupe of bug 1347000, if you are going to fix those errors.
(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.
Depends on: 1347000
Assignee: nobody → erahm
(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 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+
Flags: needinfo?(ehsan)
Had the error condition inverted, fixed up now.
Attachment #8850086 - Flags: review?(ehsan)
Attachment #8849727 - Attachment is obsolete: true
Attachment #8850086 - Flags: review?(ehsan) → review+
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.

Attachment

General

Created:
Updated:
Size: