-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mediacard/sdhc-storage-manual case fail with NTFS #1587
Labels
Comments
Thank you for reporting us your feedback! The internal ticket has been created: https://warthogs.atlassian.net/browse/CHECKBOX-1648.
|
Jefferyyen
added a commit
to Jefferyyen/checkbox
that referenced
this issue
Nov 13, 2024
Hi, I also ran into this issue: canonical#1587 I tried this change on my DUT and it works for mediacard test.
Jefferyyen
added a commit
to Jefferyyen/checkbox
that referenced
this issue
Nov 14, 2024
…l#1587) To prevent the inserted storage from failing to mount twice, first ensure it is unmounted. Because the OS will auto-mount the inserted storage, the existing subprocess.call(["mount", device_to_mount, FOLDER_TO_MOUNT]) command will cause an error if the format of inserted storage is NTFS. Perform an umount on device_to_mount (e.g., for the media card in canonical#1587, it would be umount /dev/mmcblk0p1) before attempting to mount it again to avoid this issue.
Jefferyyen
added a commit
to Jefferyyen/checkbox
that referenced
this issue
Dec 2, 2024
…l#1587) To prevent the inserted storage from failing to mount twice, first ensure it is unmounted. Because the OS will auto-mount the inserted storage, the existing subprocess.call(["mount", device_to_mount, FOLDER_TO_MOUNT]) command will cause an error if the format of inserted storage is NTFS. Perform an umount on device_to_mount (e.g., for the media card in canonical#1587, it would be umount /dev/mmcblk0p1) before attempting to mount it again to avoid this issue.
Jefferyyen
added a commit
to Jefferyyen/checkbox
that referenced
this issue
Dec 3, 2024
…l#1587) To prevent the inserted storage from failing to mount twice, first ensure it is unmounted. Because the OS will auto-mount the inserted storage, the existing subprocess.call(["mount", device_to_mount, FOLDER_TO_MOUNT]) command will cause an error if the format of inserted storage is NTFS. Perform an umount on device_to_mount (e.g., for the media card in canonical#1587, it would be umount /dev/mmcblk0p1) before attempting to mount it again to avoid this issue.
fernando79513
pushed a commit
that referenced
this issue
Dec 3, 2024
…1599) * Umount the device first during mount_usb_storage() (Bugfix) (#1587) To prevent the inserted storage from failing to mount twice, first ensure it is unmounted. Because the OS will auto-mount the inserted storage, the existing subprocess.call(["mount", device_to_mount, FOLDER_TO_MOUNT]) command will cause an error if the format of inserted storage is NTFS. Perform an umount on device_to_mount (e.g., for the media card in #1587, it would be umount /dev/mmcblk0p1) before attempting to mount it again to avoid this issue. * Update usb_read_write.py * Update usb_read_write.py update the comment correctly * Update usb_read_write.py Correct the blank line
fernando79513
added a commit
that referenced
this issue
Dec 3, 2024
…ugFix) (…" This reverts commit d0c208e.
Close it due to #1599 merged |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug Description
checkbox try to mount SD card, which already auto mounted by system.
FAT32 could be mounted twice, but NTFS not.
FAT:
NTFS:
Cert-blocker Test Case
To Reproduce
checkbox-cli run com.canonical.certification::mediacard/sdhc-storage-manual
Environment
Checkbox Type: Debian
Checkbox Version: 4.2.0~dev127 ~ubuntu24.04.1
Relevant log output
Additional context
No response
The text was updated successfully, but these errors were encountered: