Checkbox is a testing framework used to validate device compatibility with Ubuntu Linux. It’s the testing tool developed for the purposes of the Ubuntu Certification program.
The user of test case id: thunderbolt/storage-manual is root, however id: dock/all-init-thunderbolt3-storage-manual is normal user. This will make the test fail.
To Reproduce
run id: dock/all-init-thunderbolt3-storage-manual test
Environment
OS: 24.04
checkbox type: debian
checkbox version: 4.2.0.dev99
Relevant log output
--------- Testing insertion ---------
INSERT NOW
Timeout: 30 seconds
INFO:usable partition: nvme1n1p1
INFO:Thunderbolt insertion test passed.
------- Insertion test passed -------
--------- Testing read/write --------
DEBUG:generating a random file
Mounting the USB storage
nvme1n1p1
DEBUG:try to mount usb storage for testing
mount: /tmp/tmp17apr2v0: must be superuser to use mount.
dmesg(1) may have more information after failed mount system call.
ERROR:mount /dev/nvme1n1p1 on /tmp/tmp17apr2v0 failed.
INFO:context manager exit: unmount USB storage
umount: /tmp/tmp17apr2v0: not mounted.
WARNING:umount /tmp/tmp17apr2v0 failed.
INFO:Remove temporary folders and files.
Bug Description
The user of test case
id: thunderbolt/storage-manual
is root, howeverid: dock/all-init-thunderbolt3-storage-manual
is normal user. This will make the test fail.To Reproduce
run
id: dock/all-init-thunderbolt3-storage-manual
testEnvironment
Relevant log output
Additional context
No response