Skip to content

Ubuntu Swap Tests are not actually running Swap. #121704

Closed
kubernetes/test-infra
#31211
@kannon92

Description

@kannon92

Which jobs are failing?

https://testgrid.k8s.io/sig-node-kubelet#kubelet-gce-e2e-swap-ubuntu and https://testgrid.k8s.io/sig-node-kubelet#kubelet-gce-e2e-swap-ubuntu-serial

Which tests are failing?

https://testgrid.k8s.io/sig-node-kubelet#kubelet-gce-e2e-swap-ubuntu and https://testgrid.k8s.io/sig-node-kubelet#kubelet-gce-e2e-swap-ubuntu-serial

These tests are not failing but they are not actually testing what we want.

Since when has it been failing?

A long time.

Testgrid link

No response

Reason for failure (if possible)

If you look at the logs of the swap jobs, you will see this:

  STEP: Expecting no swap. feature gate on? false isCgroupV2? false is QoS burstable? false @ 11/02/23 18:47:41.956

These logs are saying that there are two issues for the swap tests.

  1. The feature toggle is not enabled for ubuntu jobs.
  2. The job is running cgroup v1.

One can be fixed by adding --feature-service-gates=NodeSwap=true.

Anything else we need to know?

kubernetes/test-infra#31134 was an example to fix the fedora swap jobs.

It looks like there is some more work needed to configure a containerd cgroup v2 machine.

Relevant SIG(s)

/sig node

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/failing-testCategorizes issue or PR as related to a consistently or frequently failing test.priority/important-longtermImportant over the long term, but may not be staffed and/or may need multiple releases to complete.sig/nodeCategorizes an issue or PR as relevant to SIG Node.triage/acceptedIndicates an issue or PR is ready to be actively worked on.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions