Project

General

Profile

Actions

action #123397

closed

[qe-core][leap15.4 update]test fails in kubectl

Added by rfan1 almost 2 years ago. Updated almost 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Bugs in existing tests
Target version:
Start date:
2023-01-20
Due date:
% Done:

100%

Estimated time:
Difficulty:

Description

Observation

openQA test in scenario opensuse-15.4-DVD-Updates-x86_64-extra_tests_textmode_kubectl_containers@64bit fails in
kubectl

Test suite description

Maintainer: dheidler. Extra tests about CLI software in container module

Reproducible

Fails since (at least) Build 20230119-2 (current job)

Expected result

Last good: 20230119-1 (or more recent)

Further details

Always latest result in this scenario: latest

Actions #1

Updated by ph03nix almost 2 years ago

This bug is likely for the QE-C Squad, no?

Actions #2

Updated by ph03nix almost 2 years ago

  • Status changed from New to In Progress
  • Assignee set to ph03nix
Actions #3

Updated by ph03nix almost 2 years ago

Likely a sporadic issue, but we might want to retry on those issues.

Actions #4

Updated by ph03nix almost 2 years ago

curl -sfL https://get.k3s.io | INSTALL_K3S_SKIP_START=true sh -s - --disable=metrics-server' timed out

Let's see if this is an issue with get.k3s.io ....

Actions #5

Updated by ph03nix almost 2 years ago

tumbleweed:~ # curl -sfL https://get.k3s.io | INSTALL_K3S_SKIP_START=true sh -s - --disable=metrics-server
[INFO]  Finding release for channel stable
[INFO]  Using v1.25.5+k3s2 as release
[INFO]  Downloading hash https://github.com/k3s-io/k3s/releases/download/v1.25.5+k3s2/sha256sum-amd64.txt
[INFO]  Downloading binary https://github.com/k3s-io/k3s/releases/download/v1.25.5+k3s2/k3s
[INFO]  Verifying binary download
[INFO]  Installing k3s to /usr/local/bin/k3s
[ERROR]  Failed to find the k3s-selinux policy, please install:
    yum install -y container-selinux
    yum install -y https://rpm.rancher.io/k3s/stable/common/centos/8/noarch/k3s-selinux-1.2-2.el8.noarch.rpm

But I have installed SELinux on that system:

SELinux status:                 enabled
SELinuxfs mount:                /sys/fs/selinux
SELinux root directory:         /etc/selinux
Loaded policy name:             targeted
Current mode:                   enforcing
Mode from config file:          enforcing
Policy MLS status:              enabled
Policy deny_unknown status:     allowed
Memory protection checking:     actual (secure)
Max kernel policy version:      33

This looks like a k3s issue.

Actions #6

Updated by ph03nix almost 2 years ago

Synching up with QE-C to check what we should do about this.

Actions #7

Updated by ph03nix almost 2 years ago

I'm also mildly annoyed that it suggests to install a RedHat package on Tumbleweed.

Actions #10

Updated by ph03nix almost 2 years ago

k3s is in code freeze and the fix will be applied afterwards. See https://github.com/k3s-io/k3s/pull/6791#pullrequestreview-1263975959

Actions #11

Updated by ph03nix almost 2 years ago

No idea why the test runs are now working, but there are four passing test runs in a row now: https://openqa.opensuse.org/tests/3059498#next_previous

Actions #12

Updated by ph03nix almost 2 years ago

  • % Done changed from 0 to 100

Leaving open for 1-2 days to check if this is sporadic, but for now it looks as resolved.

Actions #13

Updated by ph03nix almost 2 years ago

  • Status changed from In Progress to Resolved
Actions

Also available in: Atom PDF