Project

General

Profile

Actions

action #168706

closed

[BCI] Collect BCI requirements

Added by ph03nix about 1 month ago. Updated 1 day ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
Start date:
2024-10-22
Due date:
% Done:

80%

Estimated time:

Description

@jlausuch requested to collect the BCI test setup requirements for a discussion about BCI testing on SLEM

Actions #1

Updated by ph03nix about 1 month ago · Edited

Ok, I tested the required packages for BCI test on Leap Micro 5.5. I used 5.5 because I could add the Leap 15.6 repository there, and continue checking if installing the missing packages would make us able to run BCI-Test on the Leap Micro platform. The results are representative for SLEM 5.5.

For SLEM 6.0 we run into the issue, that there is no SLES16/Leap16 available where we could "borrow" the missing dependencies.

The missing packages for making BCI-Test run on SLE-Micro are (this list is outdated, see https://progress.opensuse.org/issues/168706#note-14)

  • gcc (comes with additional dependencies from the package)
  • python3-devel
  • python3-pip
  • postgresql-server-devel

The postgresql-server-devel package might not be required after https://github.com/SUSE/BCI-tests/pull/621 but that one is still under testing/development.

Actions #2

Updated by ph03nix about 1 month ago

  • Status changed from In Progress to Feedback

Reporting back to @jlausuch who requested this list of dependencies.

Actions #3

Updated by ph03nix about 1 month ago

I could also verify that when installing the listed dependencies on Leap Micro 5.5, BCI-Test runs. I tested this with the BCI minimal test runs from OBS:

export OS_VERSION=tumbleweed
export TARGET=factory-totest
timeout 5400 tox -e minimal -- -rxX -n auto -k "bci-minimal_latest"
...
============================== 3 passed in 15.48s ==============================
___________________________________ summary ____________________________________
  minimal: commands succeeded
  congratulations :)
Actions #4

Updated by dirkmueller about 1 month ago

you also don't need "gcc" or "python3-devel" after https://github.com/SUSE/BCI-tests/pull/621

Actions #5

Updated by ph03nix about 1 month ago

dirkmueller wrote in #note-4:

you also don't need "gcc" or "python3-devel" after https://github.com/SUSE/BCI-tests/pull/621

That simplifies the workflow by A LOT. Thnx.

Actions #6

Updated by jlausuch about 1 month ago

Still, I see python3-pip and postgresql-server-devel would be needed.

We basically need to add it here: https://build.suse.de/project/show/QA:Head and you need to add this repo in the tests.

For pip, would this one help? https://build.suse.de/package/show/home:dgarcia:branches:SUSE:SLE-15-SP7:GA/python313-pip

Actions #7

Updated by ph03nix about 1 month ago

Remove some of the discussed dependencies from above: https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/20467/files

Actions #8

Updated by ph03nix about 1 month ago

  • Status changed from Feedback to In Progress
  • % Done changed from 0 to 80

jlausuch wrote in #note-6:

Still, I see python3-pip and postgresql-server-devel would be needed.

We basically need to add it here: https://build.suse.de/project/show/QA:Head and you need to add this repo in the tests.

For pip, would this one help? https://build.suse.de/package/show/home:dgarcia:branches:SUSE:SLE-15-SP7:GA/python313-pip

Please wait before proceeding, we're right now tidying the dependencies. Likely python3-devel also can go. postgresql-server-devel has already been removed in https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/20467/files.

I will report back with the new dependencies, once this is fixed.

Actions #10

Updated by ph03nix about 1 month ago

Re-creating HDDs and observing this week's test runs.

Actions #11

Updated by ph03nix about 1 month ago

  • Tags set to containers
Actions #12

Updated by ph03nix about 1 month ago

  • Subject changed from Collect BCI requirements to [BCI] Collect BCI requirements
Actions #13

Updated by ph03nix about 1 month ago

Actions #14

Updated by ph03nix about 1 month ago · Edited

The new list of dependencies is:

  • podman (present in SLEM6)
  • buildah (not present)
  • git-core (present in SLEM6)
  • python3 (present in SLEM6)
  • jq (present in SLEM6)
  • python3-pip (not present in SLEM6)
  • skopeo (present in SLEM6)

https://openqa.suse.de/tests/overview?distri=sle&version=15-SP5&build=32.6_init-image&groupid=475 shows that this new reduced set of dependencies is working.

In SLEM6 the following packages are missing: buildah and python3-pip.

Actions #15

Updated by ph03nix about 1 month ago

  • Status changed from In Progress to Feedback
Actions #16

Updated by ph03nix 29 days ago

  • Priority changed from High to Normal
Actions #17

Updated by jlausuch 29 days ago

I'll try to add those 2 packages in https://build.suse.de/project/show/QA:Head in both targets: SL-Micro-6.0 and SL-Micro-6.1

Actions #18

Updated by ph03nix 1 day ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF