Bug 8465

Summary: oetest: Dumps doesn't work with kernel_module test
Product: [QA/Testing] Runtime Testing Reporter: Mariano Lopez <mariano.lopez>
Component: generalAssignee: Mariano Lopez <mariano.lopez>
Status: RESOLVED FIXED QA Contact: Daniel Istrate <daniel.alexandrux.istrate>
Severity: normal    
Priority: Medium CC: bogdanx.a.voiculescu, ross.burton
Version: 1.9   
Target Milestone: 2.1 M1   
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-10-08 15:38:37 UTC
kernel_module
Comment 1 Mariano Lopez 2015-10-08 15:54:30 UTC
kernel_module has a tearDown method implemented that overwrites the parent's class (oeRuntimeTest) tearDown and because of this, the dumps doesn't work
Comment 2 Mariano Lopez 2015-10-08 15:58:14 UTC
There are other classes that have a tearDown method defined:

_ptest, buildcvs, buildiptables, buildsudoku, date, gcc, kernelmodule, perl, python, rpm, and smart
Comment 3 Mariano Lopez 2015-10-14 15:00:51 UTC
It is necessary to have define a tearDownLocal method to handle the individual tearDown cases from the tests.
Comment 4 Mariano Lopez 2015-10-15 14:44:42 UTC
Please disregard the classes mentioned previously. The only classes that have tearDown or setUp methods are:

_ptest
date
kernelmodule
scanelf
Comment 5 Mariano Lopez 2015-10-15 14:44:58 UTC
Sent patches to the mailing list
Comment 6 Ross Burton 2015-10-19 19:16:19 UTC
Fixed in oe-core 13282223b07787a92c251f89251e8a49a0e4e3eb.