containers / containers/qm

TestingFarm: Attempting to create queue /test_queue_0... FAILED: Permission denied

Open
#986 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
37
Forks
36
Avg merge
10h 36m
Merged PRs (30d)
2

Description

CentOS 9 - CI/CD is failing

```
Complete!
[ INFO ] PASS: Command 'dnf install --setopt=reposdir=/etc/yum.repos.d --installroot=/usr/lib/qm/rootfs -y gcc make || true' successful
[ INFO ] PASS: Command 'podman exec qm mkdir -p /tmp/mqueue_test' successful
[ INFO ] PASS: Command 'podman cp test_mqueue_limit.c qm:/tmp/mqueue_test/' successful
[ INFO ] PASS: Command 'podman cp Makefile qm:/tmp/mqueue_test/' successful
gcc -Wall -Wextra -std=c99 -o test_mqueue_limit test_mqueue_limit.c -lrt
[ INFO ] PASS: Command 'podman exec qm bash -c 'cd /tmp/mqueue_test && make test_mqueue_limit'' successful
Testing message queue limit enforcement...
Attempting to create queue /test_queue_0... FAILED: Permission denied
Unexpected error: Permission denied
[ FAILED ] Error executing command 'podman exec qm bash -c 'cd /tmp/mqueue_test && ./test_mqueue_limit'' with exit code: 1
[ INFO ] Running comprehensive cleanup
[ INFO ] Cleaning up leftover host message queue: /dev/mqueue/host_test_queue_before_1
[ INFO ] Cleaning up leftover host message queue: /dev/mqueue/host_test_queue_before_2
[ INFO ] Cleaning up leftover host message queue: /dev/mqueue/host_test_queue_before_3
[ INFO ] Cleaning up leftover host message queue: /dev/mqueue/host_test_queue_before_4
[ INFO ] Cleaning up leftover host message queue: /dev/mqueue/host_test_queue_before_5
[ INFO ] Cleaning up container message queues
[ INFO ] Cleaning up host compiled test program
rm -f test_mqueue_limit test_host_mqueue
8d2766365e5f6ecd1fad782d46b7f3dca8fcd71d280e5ac9853141ca09c46baf
[ INFO ] PASS: Command 'podman exec qm /usr/bin/podman rm -af' successful
[ INFO ] PASS: Command 'rm -rf /etc/containers/systemd/qm.container.d/' successful
[ INFO ] PASS: Command 'systemctl daemon-reload' successful
[ INFO ] PASS: Command 'systemctl restart qm' successful
Terminated
Shared connection to 18.116.82.122 closed.
```

https://artifacts.dev.testing-farm.io/26cd88f9-2202-4e01-8afe-3c96bf06a8e0/

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the CI output and the test_mqueue_limit.c and Makefile files copied into the qm container. Reproduce the podman exec command on CentOS 9 and investigate why creating /test_queue_0 returns Permission denied. Done means the message-queue limit test completes successfully in the TestingFarm CI run without breaking cleanup.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, centos, linux, shell
Domain
ci-cd, devops, testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.