OK, so testing this, with checkbox 0.13.7 installed, I ran the test command from the above command. It failed with something relating to udisks not being present. It seems that the usb tests require udisks, so I installed, then retested.
I got a failure and this blurb in the submission.xml file: <question name="usb/storage-preinserted"> <answer type="multiple_choice">fail</answer> <answer_choices> <value type="str">fail</value> <value type="str">pass</value> <value type="str">uninitiated</value> <value type="str">unresolved</value> <value type="str">unsupported</value> <value type="str">untested</value> </answer_choices> <comment>mount: only root can do that </comment> </question> Then I upgraded to checkbox 0.13.8: $ dpkg --list 'checkbox*' Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Description +++-==============-==============-============================================ ii checkbox 0.13.8 System testing application ii checkbox-cli 0.13.8 Command line interface for checkbox un checkbox-gtk <none> (no description available) On rerunning the test command, the result is now passed: <question name="usb/storage-preinserted"> <answer type="multiple_choice">pass</answer> <answer_choices> <value type="str">fail</value> <value type="str">pass</value> <value type="str">uninitiated</value> <value type="str">unresolved</value> <value type="str">unsupported</value> <value type="str">untested</value> </answer_choices> <comment>-------------------- removable devices currently mounted: None removable devices currently not mounted: /dev/sdb1 -------------------- Now mounting /dev/sdb1 on /tmp/tmpFtzHPt Found the following mounted ['usb'] partitions: /dev/sdb1 : /tmp/tmpFtzHPt -------------------- Running ['usb'] file transfer test for 1 iterations Creating Temp Data file File name is :/tmp/tmpBPZSM5 File size is 1048576 bytes Parent hash is: 6af0821bb5cdb072a93d3fb40b904c59 Copying /tmp/tmpBPZSM5 to /tmp/tmpFtzHPt Hashing copy on /tmp/tmpFtzHPt Hash of /tmp/tmpFtzHPt/tmpBPZSM5 on /tmp/tmpFtzHPt is 6af0821bb5cdb072a93d3fb40b904c59 Now umounting /dev/sdb1 on /tmp/tmpFtzHPt Successfully completed 1 ['usb'] file transfer test iterations </comment> </question> I'll mark this bug verification-done, with the comments that udisks needs to be present (not a problem for ubuntu desktop but may be needed explicitly on server or variants), and the test command needed a minor tweak as it was referring to an incorrect job. ** Tags removed: verification-needed ** Tags added: verification-done -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1004131 Title: removable_storage_test fails on server for USB devices To manage notifications about this bug go to: https://bugs.launchpad.net/checkbox/+bug/1004131/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
