Bug 8406

Summary: testimage: getting dumps from successful tests
Product: [QA/Testing] Runtime Testing Reporter: Mariano Lopez <mariano.lopez>
Component: generalAssignee: Mariano Lopez <mariano.lopez>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: benjamin.esquivel
Version: 1.9   
Target Milestone: 2.0   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Mariano Lopez 2015-09-28 14:24:10 UTC
There are some runtime test that even if the test is successful the target and the host are being dump (this only happens when a test fails). This seems to happen only with the syslog tests.
Comment 1 Mariano Lopez 2015-09-28 14:36:14 UTC
It seems the decorators in the syslog test are handling an exception and this will make (sys.exc_info() == (None, None, None)) to be true and it will enter in the dump condition. I will change the condition to search for failed test instead of checking the stack.
Comment 2 Benjamin Esquivel 2015-09-28 15:42:15 UTC
Hi Mariano this condition you're talking about would be to check for the last executed test only so you need to know which was the immediate previous test executed which I think would be easy in the context you're doing your logic.
Comment 3 Mariano Lopez 2015-10-01 15:17:21 UTC
This has been solved with commit:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=df09a6f4e30ae66db69a3d5e7ce2b5488b68e60b