Bug 8406 - testimage: getting dumps from successful tests
Summary: testimage: getting dumps from successful tests
Status: RESOLVED FIXED
Alias: None
Product: Runtime Testing
Classification: QA/Testing
Component: general (show other bugs)
Version: 1.9
Hardware: x86 Multiple
: Medium normal
Target Milestone: 2.0
Assignee: Mariano Lopez
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-09-28 14:24 UTC by Mariano Lopez
Modified: 2015-10-01 15:18 UTC (History)
1 user (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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