Project

General

Profile

Actions

action #107356

closed

[qe-core][opensuse] Leap 15.4 test fails in transactional_update - died on missing curl on the system

Added by lkocman over 2 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
Bugs in existing tests
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:

Description

Observation

I've seen quite a lot of tests fail on fetching data from some local network

Test died: command 'curl -O http://10.0.2.2:20023/icB0CfVLbjL606QC/data/microos/utt-opensuse-aarch64.tgz' failed at /usr/lib/os-autoinst/testapi.pm line 963

openQA test in scenario opensuse-15.4-DVD-aarch64-transactional_server@aarch64 fails in
transactional_update

Test suite description

Installation only of the transactional updates and read-only root fs role.

Maintainer: SergioAtSUSE slindomansilla@suse.com

Reproducible

Fails since (at least) Build 118.1

AC

AC1: Make transactional_update related modules fatal.
AC2: Investigate if missing curl is a product bug.
AC3: Make a note in the next manual validation ticket to test also transactional server role, where available

Expected result

Last good: (unknown) (or more recent)

Further details

Always latest result in this scenario: latest


Files

Screenshot_20220317_111938.png (88.6 KB) Screenshot_20220317_111938.png curl installation akumar, 2022-03-17 05:49
Actions #2

Updated by lkocman over 2 years ago

  • Subject changed from Leap 15.4 test fails in transactional_update - died on curl to Leap 15.4 test fails in transactional_update - died on missing curl
Actions #3

Updated by lkocman over 2 years ago

seems like curl is simply not available same here https://openqa.opensuse.org/tests/2207326#step/transactional_update/10

Actions #4

Updated by lkocman over 2 years ago

  • Subject changed from Leap 15.4 test fails in transactional_update - died on missing curl to Leap 15.4 test fails in transactional_update - died on missing curl on the system
Actions #5

Updated by lkocman over 2 years ago

  • Priority changed from Normal to High

increasing prio as this affects several tests

Actions #6

Updated by maritawerner over 2 years ago

  • Subject changed from Leap 15.4 test fails in transactional_update - died on missing curl on the system to [qe-core] Leap 15.4 test fails in transactional_update - died on missing curl on the system
Actions #7

Updated by tjyrinki_suse over 2 years ago

  • Status changed from New to Workable
  • Start date deleted (2022-02-23)
Actions #8

Updated by tjyrinki_suse over 2 years ago

  • Target version set to QE-Core: Next
Actions #9

Updated by tjyrinki_suse over 2 years ago

  • Subject changed from [qe-core] Leap 15.4 test fails in transactional_update - died on missing curl on the system to [qe-core][opensuse] Leap 15.4 test fails in transactional_update - died on missing curl on the system
  • Target version changed from QE-Core: Next to QE-Core: Ready

rationale:

  • bug in existing test does not need a refining session, needs studying by the assignee
  • adding tag [opensuse] to indicate it does not seem to affect SLE currently
Actions #10

Updated by akumar over 2 years ago

  • Assignee set to akumar
Actions #11

Updated by szarate over 2 years ago

@lkocman I think this is a product bug (missing curl), or has it been removed from transactional server role (i.e, intended behavior)?

Actions #12

Updated by szarate over 2 years ago

Avi, one idea that comes to mind, is to make the module fatal, so that the tests don't continue, and create invalid results: https://openqa.opensuse.org/tests/2243926#step/health_check/6

Actions #13

Updated by szarate over 2 years ago

  • Description updated (diff)
Actions #15

Updated by akumar over 2 years ago

Thank you Santiago.
I tried installing curl with trup_install, which works fine. But yes, question is why curl is not present in the build by default.

Actions #16

Updated by szarate over 2 years ago

Avi, FYI Lubos is currently working on AC2.

Actions #17

Updated by akumar over 2 years ago

Thanks Santi!
@lkocman, any update on missing curl?

Actions #18

Updated by akumar over 2 years ago

  • Status changed from Workable to In Progress
Actions #19

Updated by akumar over 2 years ago

Filed a product bug for missing curl - https://bugzilla.suse.com/show_bug.cgi?id=1197913

Actions #20

Updated by akumar over 2 years ago

Lubos has fixed the issue of missing curl in sle15.4 transactional server role. (https://bugzilla.suse.com/show_bug.cgi?id=1197913)

And the Pull request for the changes to make transactional_update module fatal - https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/14630

Actions #21

Updated by akumar over 2 years ago

Changes for making the transactional_update module fatal was merged. But Jose pointed out that it is also being executed in SLE Micro and MicroOS where further tests module execution is required irrespective of transactional_update result. Hence reverting the commit in https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/14642

@szarate, in that case, should we cancel the AC1 or do you have any other ideas?

Actions #22

Updated by akumar over 2 years ago

Thanks to @lkocman, curl is present in latest Leap 15.4 transactional role build and the tests are run fine.
https://openqa.opensuse.org/tests/2280332#step/transactional_update/4

Actions #23

Updated by szarate over 2 years ago

  • Status changed from In Progress to Resolved

This has been resolved, it was a product bug.

Actions

Also available in: Atom PDF