[yocto] [auh][PATCH 14/20] testimage.py: add extra logging for the testimage logs retrieval

Alexander Kanavin alexander.kanavin at linux.intel.com
Thu Dec 14 08:35:54 PST 2017


From: Alexander Kanavin <alex.kanavin at gmail.com>

This helped with diagnozing issues described in
https://bugzilla.yoctoproject.org/show_bug.cgi?id=12396

Signed-off-by: Alexander Kanavin <alex.kanavin at gmail.com>
---
 modules/testimage.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/testimage.py b/modules/testimage.py
index c3352e5..6c4ed2b 100644
--- a/modules/testimage.py
+++ b/modules/testimage.py
@@ -98,8 +98,10 @@ class TestImage():
             if name in files:
                 result.append(os.path.join(root, name))
 
+        D("Found logs named %s for machine %s: %s" %(name, machine, result))
         for ptest_log in result:
             if machine in ptest_log:
+                D("Picked log: %s" %(ptest_log))
                 return ptest_log
 
     def _get_failed_recipe(self, log):
-- 
2.15.0




More information about the yocto mailing list