Project

General

Profile

Actions

action #163787

open

https://progress.opensuse.org/issues/163787 [openqa-in-openqa] autoinst-log.txt uploaded from within the test should always return non-empty content if jobs are actually executed size:S

Added by okurz 16 days ago. Updated 1 day ago.

Status:
In Progress
Priority:
High
Assignee:
Category:
Feature requests
Target version:
Start date:
2024-07-11
Due date:
2024-08-09 (Due in 13 days)
% Done:

0%

Estimated time:

Description

Observation

openQA test in scenario openqa-Tumbleweed-dev-x86_64-openqa_install+publish@64bit-2G fails in
test_running due to #163784
but investigation is harder because as visible in https://openqa.opensuse.org/tests/4333739#step/test_running/16 no autoinst-log.txt is found but still an empty file is uploaded.

Acceptance criteria

  • AC1: test_running_autoinst-log.txt has non-zero content also on incomplete jobs failing in early stages

Suggestions

  • Instead of (cat foo.txt */*/bar.txt ||: | tee …) consider using find … -exec … or another approach which only uploads a file if it actually exists and does not print confusing error messages
  • Others uploaded files do not seem to be affected
  • This affects any Incomplete jobs in openQA-in-openQA tests, e.g. if CASEDIR is invalid

Related issues 1 (1 open0 closed)

Related to openQA Project - action #163784: [openqa-in-openqa] test fails in test_running on "retry -s 10 -r 6 -e -- sh -c 'test -f /var/lib/openqa/share/tests/*/.git/config", probably due to transient network errors size:SWorkable2024-07-11

Actions
Actions

Also available in: Atom PDF