Project

General

Profile

action #164296

Updated by tinita 2 days ago

## Observation 
 As observed in #162038 openQA jobs ended up with no autoinst-log.txt because the files could not be uploaded due to "timestamp mismatch". That error is actually written in the "reason" field but openqa-label-known-issues does not look at this field if autoinst-log.txt is not present, e.g. due to the reason that the job could be too old and shouldn't be looked at anyway. 

 ## Acceptance criteria 
 * **AC1:** openqa-label-known-issues also checks the "reason" field even if autoinst-log.txt does not exist at all 
 * **AC2:** old jobs where autoinst-log.txt is already deleted are still not considered for review 

 ## Suggestions 
 * Take a look into https://github.com/os-autoinst/scripts/blob/master/openqa-label-known-issues#L143 how the reason is added to "out" already but in the next line we handle the case when the autoinst-log.txt can not be downloaded 
 * If you want to learn more about openqa-label-known-issues please read https://github.com/os-autoinst/scripts/#auto-review---automatically-detect-known-issues-in-openqa-jobs-label-openqa-jobs-with-ticket-references-and-optionally-retrigger 





Back