Bug 12396

Summary: AUH: retrieving logs after running testimages is broken in multiple ways
Product: [Yocto Project Subprojects] Automated Update Handler Reporter: Alexander Kanavin <alex.kanavin>
Component: Automatic Update HandlerAssignee: Alexander Kanavin <alex.kanavin>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium+    
Version: unspecified   
Target Milestone: 2.5 M2   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Bug Depends on:    
Bug Blocks: 12360    

Description Alexander Kanavin 2017-12-05 15:48:39 UTC
1) AUH was never adapted to newer testimage, which a) requires 'ptest' in TEST_SUITES if ptests are to be run; b) writes logs to ptest_log/* instead of ptest.log.

2) finding logs for a certain machine is doubly broken: for qemux86 machine it returns qemux86_64 logs, for qemux86-64 machine it returns nothing at all because logs are in qemux86_64 (underscore!) directory.
Comment 1 Alexander Kanavin 2017-12-21 16:37:20 UTC
Patches posted to yocto@ list and available here:
http://git.yoctoproject.org/cgit/cgit.cgi/auto-upgrade-helper/log/?h=devel