Bug 7899

Summary: ERROR: Execution of event handler 'errorreport_handler' failed
Product: [Yocto Project Subprojects] Error Reporting tool Reporter: Michael Wood <michael.g.wood>
Component: Error Reporting ToolAssignee: Mariano Lopez <mariano.lopez>
Status: VERIFIED FIXED QA Contact: Cristina Agurida <cristina-danielax.agurida>
Severity: normal    
Priority: Medium+ CC: alexandru.c.georgescu, ross.burton
Version: unspecified   
Target Milestone: 1.9 M3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Attachments:
Description Flags
full-error-log
none
exception log
none
part of the parsed output none

Description Michael Wood 2015-06-17 10:56:44 UTC
Created attachment 2552 [details]
full-error-log

ERROR: Execution of event handler 'errorreport_handler' failed
Traceback (most recent call last):
  File "errorreport_handler(e)", line 38, in errorreport_handler(e=<bb.event.BuildCompleted object at 0x32a2690>)
Comment 1 Michael Wood 2015-06-17 11:22:58 UTC
Created attachment 2553 [details]
exception log
Comment 2 Mariano Lopez 2015-06-18 15:25:24 UTC
Hi Michael,

I need the steps to reproduce the issue. Can you share this?

Thanks
Comment 3 Michael Wood 2015-06-22 10:10:44 UTC
I was just forwarding this on as a report from Ross (cc'd) maybe he can give more info.
Comment 4 Ross Burton 2015-06-22 10:47:30 UTC
The reproducer steps were "build something".  My guess was something in the output was not being sufficiently escaped.
Comment 5 Mariano Lopez 2015-06-25 14:49:24 UTC
Created attachment 2562 [details]
part of the parsed output

It looks like the problem is with the synchronization writing into "error-report.txt". If you check the attachment with the last part of the parsed output of the exception log, you can see two task that failed wrote into that file.
Comment 6 Ross Burton 2015-06-25 15:03:03 UTC
Aha.  So, each failure needs to go to a random filename in case there are parallel errors being reported?
Comment 7 Mariano Lopez 2015-06-26 14:05:17 UTC
Sent patch to review
Comment 9 Cristina Agurida 2015-07-22 14:02:07 UTC
Verified on master: 0f8d89ce66cfffccc9911d6c61470a585173b79d