Project

General

Profile

action #119161

Updated by mkittler about 2 years ago

## Observation 

 ``` 
 INFO: Job 1935219 not found  
 INFO: Job 1935211 not found  
 INFO: Inc 25951 has failed job in incidents 
 INFO: Inc 25991 does not have any job_settings 
 INFO: Inc 26161 does not have any aggregates settings 
 ``` 
 (from https://gitlab.suse.de/qa-maintenance/bot-ng/-/jobs/1202686) 

 On the dashboard I couldn't see any jobs for that incident (https://dashboard.qam.suse.de/incident/25951) and when checking the openQA database I also haven't gotten any jobs: 

 ``` 
 openqa=# select id, BUILD from jobs where BUILD like '%25951%'; 
  id | build  
 ----+------- 
 (0 Zeilen) 
 ``` 

 This looks rather weird. It would be good to have an explanation what's going on and if we'd find a way to make it more obvious. 

 ## Acceptance criteria 
 * **AC1:** "has failed job" messages are more specific 

 ## Suggestion 
 * Distinguish between non-existing and (potentially) ignored jobs. The dashboard does not know if there are only ignored jobs so if possible (jobs for products in development groups are not submitted to the dashboard by the bot). Consider transmitting the amount of all/failed/ignored jobs and remembering that so that we can distinguish 
 * Alternative: We could just point to the according gitlab CI step that potentially mentions ignored jobs 
 * Make the message as specific as possible, depending on how much the bot actually known in the accept step

Back