Project

General

Profile

Actions

action #134111

closed

[tools] MTUI to check for install log duplicates

Added by vpelcak over 1 year ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
Start date:
2023-08-11
Due date:
% Done:

0%

Estimated time:
Tags:

Description

When exporting openQA test results to MTUI, I often encounter duplicated logs:

mtui-auto> export
info: exporting log to /home/vpelcak/qam/templates/SUSE:Maintenance:30198:305245/install_logs/sles_12-SP5_x86_64.log
info: exporting log to /home/vpelcak/qam/templates/SUSE:Maintenance:30198:305245/install_logs/sles_12-SP5_ppc64le.log
info: exporting log to /home/vpelcak/qam/templates/SUSE:Maintenance:30198:305245/install_logs/sles_12-SP5_s390x.log
info: exporting log to /home/vpelcak/qam/templates/SUSE:Maintenance:30198:305245/install_logs/sles_12-SP3_x86_64.log
warning: file /home/vpelcak/qam/templates/SUSE:Maintenance:30198:305245/install_logs/sles_12-SP5_x86_64.log exists.
Should I overwrite /home/vpelcak/qam/templates/SUSE:Maintenance:30198:305245/install_logs/sles_12-SP5_x86_64.log (y/N) 
info: exporting log to /home/vpelcak/qam/templates/SUSE:Maintenance:30198:305245/install_logs/sles_12-SP5_x86_64.1691738000
warning: file /home/vpelcak/qam/templates/SUSE:Maintenance:30198:305245/install_logs/sles_12-SP5_ppc64le.log exists.
Should I overwrite /home/vpelcak/qam/templates/SUSE:Maintenance:30198:305245/install_logs/sles_12-SP5_ppc64le.log (y/N) 
info: exporting log to /home/vpelcak/qam/templates/SUSE:Maintenance:30198:305245/install_logs/sles_12-SP5_ppc64le.1691738001
info: exporting log to /home/vpelcak/qam/templates/SUSE:Maintenance:30198:305245/install_logs/sles_12-SP5_aarch64.log
warning: file /home/vpelcak/qam/templates/SUSE:Maintenance:30198:305245/install_logs/sles_12-SP5_s390x.log exists.
Should I overwrite /home/vpelcak/qam/templates/SUSE:Maintenance:30198:305245/install_logs/sles_12-SP5_s390x.log (y/N) 
info: exporting log to /home/vpelcak/qam/templates/SUSE:Maintenance:30198:305245/install_logs/sles_12-SP5_s390x.1691738001

MTUI should contain check for those duplicates and act accordingly.

Acceptance Criteria
AC1: MTUI no longer reports duplicated logs.

Actions

Also available in: Atom PDF