Project

General

Profile

Actions

action #54962

closed

[kernel][public cloud] Timeout on `img-proof --version`

Added by cfconrad over 5 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Bugs in existing tests
Target version:
QE Kernel - QE Kernel Done
Start date:
2019-08-01
Due date:
% Done:

0%

Estimated time:
Difficulty:

Description

Observation

openQA test in scenario sle-12-SP5-Azure-Standard-On-Demand-x86_64-publiccloud_ipa_on_demand_azure@az_Standard_A2_v2 fails in
ipa

The problem is, that when you take a look to https://openqa.suse.de/tests/3198792/file/serial_terminal.txt you will find the full output like:

# cat > /tmp/script4b0jz.sh << 'EOT_4b0jz'; echo 4b0jz-$?-
> img-proof --version
> EOT_4b0jz
4b0jz-0-
# echo 4b0jz; bash -oe pipefail /tmp/script4b0jz.sh ; echo SCRIPT_FINISHED4b0jz-$?-
4b0jz
img-proof, version 4.2.1
SCRIPT_FINISHED4b0jz-0-

Reproducible

Fails since (at least) Build 1.50

Expected result

Last good: (unknown) (or more recent)

Further details

Always latest result in this scenario: latest

Actions #1

Updated by jlausuch over 5 years ago

  • Status changed from New to In Progress
  • Assignee set to jlausuch
Actions #2

Updated by jlausuch over 5 years ago

I didnĀ“t find a reason why the first command of img-proof fails.

I collected measurements of time it takes to issue this command and you can see that it's always the first time the command is issued. Examples:
http://fromm.arch.suse.de/tests/6871#step/ipa/101
http://fromm.arch.suse.de/tests/6870#step/ipa/98
http://fromm.arch.suse.de/tests/6869#step/ipa/101
http://fromm.arch.suse.de/tests/6868#step/ipa/98

so basically:

> time img-proof --version
img-proof, version 4.2.1
real    1m15.379s
user    0m1.531s
sys 0m0.174s
> time img-proof --version
img-proof, version 4.2.1
real    0m1.344s
user    0m1.226s
sys 0m0.116s
> time img-proof --version
img-proof, version 4.2.1
real    0m1.314s
user    0m1.232s
sys 0m0.080s
> time img-proof --version
img-proof, version 4.2.1
real    0m1.312s
user    0m1.205s
sys 0m0.104s
> time img-proof --version
img-proof, version 4.2.1
real    0m1.308s
user    0m1.180s
sys 0m0.125s

In this case it takes 1m15.379s to finish the execution of only FIRST command. For other runs, I collected times like 3m10.174s, 2m27.819s, 2m41.498s.
So, the behaviour is not very consistent.

This PR is a quick fix for this issue, specifying the timeout to 300s (5min) to be in the safe side:
https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/8097

Actions #3

Updated by jlausuch over 5 years ago

  • Status changed from In Progress to Resolved
Actions #4

Updated by jlausuch over 5 years ago

@cfconrad please check that this issue is not appearing any more in last build: https://openqa.suse.de/tests/overview?distri=sle&version=12-SP5&build=1.53&groupid=210

Actions #5

Updated by jlausuch over 5 years ago

  • Status changed from Resolved to Closed
  • Target version changed from 445 to 457
Actions #6

Updated by pcervinka about 4 years ago

  • Target version changed from 457 to QE Kernel Done
Actions

Also available in: Atom PDF