Project

General

Profile

Actions

action #54602

closed

[kernel[publiccloud] aws ec2 describe-image --dry-run always failing

Added by asmorodskyi over 4 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
Category:
Bugs in existing tests
Target version:
QE Kernel - QE Kernel Done
Start date:
2019-07-24
Due date:
% Done:

0%

Estimated time:
Difficulty:

Description

Observation

all EC2 tests currently failing during check_credentials phase because they can not bypass "aws ec2 describe-image --dry-run" call

boottime

Test suite description

Test will measure boot time of SLE image inside Public Cloud providers ( Amazon,Microsoft, Google )

Reproducible

Fails since (at least) Build 1.38 (current job)

Expected result

Last good: 1.38 (or more recent)

Further details

Always latest result in this scenario: latest

Actions #1

Updated by jlausuch over 4 years ago

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

Updated by jlausuch over 4 years ago

What I found out so far is that the first time it runs the command "aws ec2 describe-image --dry-run " takes around 3 minutes, the next times you run it it takes around 1 second.
Maybe there is some issue of trying to run a aws command with the recent created credentials and AWS needs just some time before using them, but not sure this is the problem here.
Anyway, it's easy solvable by increasing the timeout of the command to some value >3 minutes or simply sleeping a bit before running the first command.

Actions #4

Updated by jlausuch over 4 years ago

https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/8012 to increase the timeout.

Another solution could have been to wait a bit the first time we run the command.

Actions #5

Updated by jlausuch over 4 years ago

  • Status changed from In Progress to Resolved
Actions #6

Updated by jlausuch over 4 years ago

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

Updated by pcervinka over 3 years ago

  • Target version changed from 457 to QE Kernel Done
Actions

Also available in: Atom PDF