Project

General

Profile

Actions

action #93713

closed

openqa-in-OpenQA fails in openqa-from-containers

Added by livdywan over 3 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
Regressions/Crashes
Target version:
Start date:
2021-06-09
Due date:
2021-06-30
% Done:

0%

Estimated time:

Description

Observation

Test in openqa-in-OpenQA fails in openqa-from-containers

See: https://openqa.opensuse.org/tests/1775715# and also several previous runs

# Test died: command 'for i in {1..3}; do docker build openQA/container/webui -t openqa_webui && break; done' timed out at openqa//tests/containers/build.pm line 8.
Actions #1

Updated by okurz over 3 years ago

  • Category set to Regressions/Crashes
  • Status changed from New to Workable
  • Priority changed from Normal to High
  • Target version set to Ready

By default you can consider regressions in our tests as "Workable" and at least "High" and immediately in "Ready"

Actions #2

Updated by ilausuch over 3 years ago

  • Status changed from Workable to In Progress
  • Assignee set to ilausuch
Actions #3

Updated by ilausuch over 3 years ago

Well, the problem here is the time that this spend installing the packages during the building.
This could be a problem because of the weigth of the process (internal problem) or because the connectivity with the
repository mirrors (external problem).

I created this PR
https://github.com/os-autoinst/os-autoinst-distri-openQA/pull/70

An alternative option could be to have a pre-built image with only the installation process.
I am thinking we could create a Dockerfile-base file with the installation, that will always be executed
previously, therefore when real Dockerfile will try to build will got this part from the previous image.

Actions #4

Updated by livdywan over 3 years ago

ilausuch wrote:

Well, the problem here is the time that this spend installing the packages during the building.
This could be a problem because of the weigth of the process (internal problem) or because the connectivity with the
repository mirrors (external problem).

I created this PR
https://github.com/os-autoinst/os-autoinst-distri-openQA/pull/70

Okay, so this is bumping the timeout in case e.g. the worker is busy 🤔️

An alternative option could be to have a pre-built image with only the installation process.
I am thinking we could create a Dockerfile-base file with the installation, that will always be executed
previously, therefore when real Dockerfile will try to build will got this part from the previous image.

Can we publish and re-use the containers from compose.yml? That's already running for every PR.

Actions #5

Updated by ilausuch over 3 years ago

It is not a reuse, because this could be dangerous and won't test this effectively. My point is to split the image in two. But after thinking in that, I don't believe it is a good solution:

  • We don't have enough common installation process between the openQA containers (webui, worker,...)
  • We will add confusion in the building process So I think we should discard this idea.
Actions #6

Updated by ilausuch over 3 years ago

Merged. I'll wait some more test to check if this solution is really effective

Actions #7

Updated by openqa_review over 3 years ago

  • Due date set to 2021-06-30

Setting due date based on mean cycle time of SUSE QE Tools

Actions #8

Updated by ilausuch over 3 years ago

  • Status changed from In Progress to Resolved

Seems that the last runs went ok

Actions

Also available in: Atom PDF