Skip to content

Commit 80d8492

Browse files
MaisenbacherDigaw
authored andcommitted
CI: fix podman device permissions
The nvme_create_max_ns_test test case is failing to create more than one namespace due to the lack of access permissions in the /dev tree within the test container. Instead of passing only the default namespace of the testing device to the container we now bind mount the entire /dev tree, giving the container access to all devices within the test VM. Signed-off-by: Dennis Maisenbacher <[email protected]>
1 parent 6f3cfb1 commit 80d8492

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/run-nightly-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ jobs:
126126
#command set.
127127
128128
sudo podman run --privileged \
129-
--device="${BDEV0}":"${BDEV0}":rwm \
129+
-v /dev:/dev \
130130
-e BDEV0 \
131131
-v "${PWD}/test.sh":"/test.sh" \
132132
-v "${PWD}/nvme-cli":"/nvme-cli":z \

0 commit comments

Comments
 (0)