canonical / checkbox

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.
https://checkbox.readthedocs.io
GNU General Public License v3.0
33 stars 49 forks source link

dock/all-init-thunderbolt3-storage-manual is not set user to root #1545

Closed hanhsuan closed 4 weeks ago

hanhsuan commented 1 month ago

Bug Description

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

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.

Additional context

No response

syncronize-issues-to-jira[bot] commented 1 month ago

Thank you for reporting us your feedback!

The internal ticket has been created: https://warthogs.atlassian.net/browse/CHECKBOX-1618.

This message was autogenerated