Project

General

Profile

Actions

action #94531

open

OpenQA worker randomly skips uploading artefacts for whole test modules

Added by MDoucha over 3 years ago. Updated about 2 years ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
Regressions/Crashes
Target version:
Start date:
2021-06-23
Due date:
% Done:

0%

Estimated time:

Description

Observation

Once in a while, some jobs randomly end up with one or more modules missing all screenshots and console output. The boxes do appear in OpenQA web UI but only show Unable to read foo-123.txt. or blank box instead of a screenshot:
https://openqa.suse.de/tests/6308588#step/cn_pec_sh/1

Worker-log.txt shows that the missing files were not uploaded at all. The worker uploaded all artefacts for update_kernel and install_ltp but there's not a single line with Uploading artefact cn_pec_sh-*.txt or Uploading artefact shutdown_ltp-*.txt (except for log assets uploaded by calling upload_logs() in the test itself):
https://openqa.suse.de/tests/6308588/logfile?filename=worker-log.txt

I've seen this happen randomly multiple times, usually it's just one module in the middle of a test run. Everything before it and after it gets uploaded correctly.

Steps to reproduce

  • Look for jobs with test modules steps that include Unable to read

Expected result

another job in the same scenario as the original one shows correct expected data in steps, https://openqa.suse.de/tests/6312792#step/cn_pec_sh/1 shows

# wait_serial expected: "# "
# Result:

# 

Acceptance criteria

  • AC1: test module steps are uploaded again for openqa.suse.de LTP cases in general

Suggestions

  • Find fail ratio
  • Try to reproduce problem locally
  • Find out what files the openQA worker should try to upload

Out of scope

  • If we find a problem in the custom LTP runner don't try to fix that on openQA side but have it be fixed within os-autoinst-distri-opensuse

Files

scan_details.py (1.73 KB) scan_details.py MDoucha, 2021-06-30 11:24
filter_details.py (776 Bytes) filter_details.py MDoucha, 2021-06-30 13:07
joblist.txt (8.4 KB) joblist.txt MDoucha, 2021-07-01 13:58
missing_results-2021-08.txt (20.2 KB) missing_results-2021-08.txt Affected jobs in the last month MDoucha, 2021-09-01 11:45
missing_results-2021-09.txt (22 KB) missing_results-2021-09.txt Affected jobs in September MDoucha, 2021-09-30 09:52
results.txt (12 KB) results.txt mkittler, 2022-04-12 13:09

Related issues 2 (0 open2 closed)

Related to openQA Project - action #102332: Unable to read *.json: Can't open file in o3 openQA logs /var/log/openqa size:MResolvedkraih2021-11-122022-01-28

Actions
Related to openQA Project - action #102786: Text results "unable to read" when showing result page during test execution, i.e. while an openQA test is running size:MResolvedmkittler2021-11-22

Actions
Actions

Also available in: Atom PDF