Comment 11 for bug 1285770

Revision history for this message
Jeff Lane  (bladernr) wrote :

This is strange, here it is on my 1U at home:
ubuntu@supermicro:~$ /usr/lib/plainbox-providers-1/checkbox/bin/removable_storage_test -l usb
/usr/lib/python3/dist-packages/checkbox_support/dbus/__init__.py:51: PyGIDeprecationWarning: MainLoop is deprecated; use GLib.MainLoop instead
  loop = GObject.MainLoop()
--------------------
Removable devices currently mounted:
None
Removable devices currently not mounted:
/dev/sdb5
/dev/sdb1
--------------------
 (I threw in a USB stick that apparently has two partitions on it)

and here's the test running manually...
ubuntu@supermicro:~$ sudo /usr/lib/plainbox-providers-1/checkbox/bin/removable_storage_test -s 268400000 usb
/usr/lib/python3/dist-packages/checkbox_support/dbus/__init__.py:51: PyGIDeprecationWarning: MainLoop is deprecated; use GLib.MainLoop instead
  loop = GObject.MainLoop()
Found the following mounted usb partitions:
    /dev/sdb1 : /tmp/tmp0o7hwrye : 480000000 bits/s
    /dev/sdb5 : /tmp/tmp86iqw2nf : 480000000 bits/s
--------------------
/dev/sdb1 (Total Data Size / iteration: 255.9662 MB):
WARNING:root:[Iteration 0] Parent and Child copy hashes mismatch on /tmp/tmp0o7hwrye/tmpzgt5hdva.0!
WARNING:root: Parent hash: 0d9cf2ea426c80c091fdae9a0f52e9f7
WARNING:root: Child hash: 272117014235fe71e010d08cba0688ff
 [Iteration 0] Average Speed: 3.2519
 Summary:
  Total Data Attempted: 255.9662 MB
  Total Time to write: 78.7139 secs
  Average Write Time: 78.7139 secs
  Average Write Speed: 3.2519 MB/s
/dev/sdb5 (Total Data Size / iteration: 255.9662 MB):
 [Iteration 0] Average Speed: 5.9514
 Summary:
  Total Data Attempted: 255.9662 MB
  Total Time to write: 43.0096 secs
  Average Write Time: 43.0096 secs
  Average Write Speed: 5.9514 MB/s
WARNING:root:Completed 1 test iterations, but there were errors

Now some versions:
ii plainbox-insecure-policy 0.6~dev+bzr2863+pkg2~ubuntu14.04.1
ii plainbox-provider-certification-server 0.1~dev+bzr2863+pkg4~ubuntu14.04.1
ii plainbox-provider-checkbox 0.4~dev+bzr2863+pkg1~ubuntu14.04.1
ii plainbox-provider-resource-generic 0.3~dev+bzr2863+pkg2~ubuntu14.04.1
ii python3-plainbox 0.6~dev+bzr2863+pkg2~ubuntu14.04.1
ii checkbox-ng 0.3~dev+bzr2869+pkg1~ubuntu14.04.1
ii plainbox-provider-checkbox 0.4~dev+bzr2863+pkg1~ubuntu14.04.1
ii python3-checkbox-ng 0.3~dev+bzr2869+pkg1~ubuntu14.04.1
ii python3-checkbox-support 0.2~dev+bzr2863+pkg1~ubuntu14.04.1