Skip to content

Error: opening file io.bfq.weight for writing: Permission denied #8737

@cevich

Description

@cevich

/kind bug

Description

On Ubuntu 20.10 w/ CgroupsV2 & crun (see #8312) the podman run blkio-weight test fails.

Steps to reproduce the issue:

  1. Boot Ubuntu 20.10 host with kernel option systemd.unified_cgroup_hierarchy=1

  2. Run make localintegration

Describe the results you received:

(Typical failure example)

[+0498s] Podman run 
[+0498s]   podman run blkio-weight test
[+0498s]   /var/tmp/go/src/github.com/containers/podman/test/e2e/run_test.go:481
[+0498s] 
[+0498s] [BeforeEach] Podman run
[+0498s]   /var/tmp/go/src/github.com/containers/podman/test/e2e/run_test.go:28
[+0498s] [It] podman run blkio-weight test
[+0498s]   /var/tmp/go/src/github.com/containers/podman/test/e2e/run_test.go:481
[+0498s] Running: podman ... --blkio-weight=15 ...
[+0498s] Error: opening file `io.bfq.weight` for writing: Permission denied: OCI permission denied

Describe the results you expected:

This test should skip on hosts with kernels lacking the BFQ scheduler (like Ubuntu <= 20.10)

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.locked - please file new issue/PRAssist humans wanting to comment on an old issue or PR with locked comments.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions