[Bug 912522] Re: usb_test fails on non-writable filesystems

2012-02-10 Thread Launchpad Bug Tracker
This bug was fixed in the package checkbox - 0.13.1 --- checkbox (0.13.1) precise; urgency=low New upstream release (LP: #925090): [Brendan Donegan] * Fixed the cpu_topology script so that it doesn't mistake the word 'processor' in the value of another field for the field '

[Bug 912522] Re: usb_test fails on non-writable filesystems

2012-02-07 Thread Launchpad Bug Tracker
** Branch linked: lp:~roadmr/ubuntu/precise/checkbox/0.13.1-retry -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/912522 Title: usb_test fails on non-writable filesystems To manage notifications abou

[Bug 912522] Re: usb_test fails on non-writable filesystems

2012-02-03 Thread Marc Tardif
** Changed in: checkbox Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/912522 Title: usb_test fails on non-writable filesystems To manage notifications a

[Bug 912522] Re: usb_test fails on non-writable filesystems

2012-02-01 Thread Daniel Manrique
** Changed in: checkbox (Ubuntu) Status: Triaged => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/912522 Title: usb_test fails on non-writable filesystems To manage notificatio

[Bug 912522] Re: usb_test fails on non-writable filesystems

2012-02-01 Thread Launchpad Bug Tracker
** Branch linked: lp:~roadmr/ubuntu/precise/checkbox/0.13.1 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/912522 Title: usb_test fails on non-writable filesystems To manage notifications about this

[Bug 912522] Re: usb_test fails on non-writable filesystems

2012-02-01 Thread Daniel Manrique
** Branch unlinked: lp:~roadmr/ubuntu/precise/checkbox/0.13.1 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/912522 Title: usb_test fails on non-writable filesystems To manage notifications about th

[Bug 912522] Re: usb_test fails on non-writable filesystems

2012-02-01 Thread Launchpad Bug Tracker
** Branch linked: lp:~roadmr/ubuntu/precise/checkbox/0.13.1 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/912522 Title: usb_test fails on non-writable filesystems To manage notifications about this

Re: [Bug 912522] Re: usb_test fails on non-writable filesystems

2012-01-21 Thread Jeff Lane
On 01/21/2012 12:53 PM, Brendan Donegan wrote: > Jeff, > > Have you tried using the 'DeviceIsReadOnly' property of > org.freedesktop.UDisks.Device? That might be a straightforward way of > telling if a partition is read-only. > Was looking at that the other day, but haven't tried it just yet... T

[Bug 912522] Re: usb_test fails on non-writable filesystems

2012-01-21 Thread Brendan Donegan
Jeff, Have you tried using the 'DeviceIsReadOnly' property of org.freedesktop.UDisks.Device? That might be a straightforward way of telling if a partition is read-only. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.laun

[Bug 912522] Re: usb_test fails on non-writable filesystems

2012-01-20 Thread Jeff Lane
Yeah, that would have triggered the bug since the live USB would be mounted read-only. I actually tested this initially using my stick mentioned above with one of the partitions remounted read-only, so I had one mounted read-write, one read-only and one read-write but no read permissions for non-r

[Bug 912522] Re: usb_test fails on non-writable filesystems

2012-01-20 Thread AJenbo
As fare as i remember all i did was run the test from a live USB, posibly the reason was that the drive was filled. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/912522 Title: usb_test fails on non-

[Bug 912522] Re: usb_test fails on non-writable filesystems

2012-01-19 Thread Jeff Lane
So if it encounters a usb device with say... 3 partitions and two of those partitions are not writable and one IS, it will complete testing ALL partitions, then fail overall by saying "Completed X iterations of testing, but there were errors." And the script output will tell you which partitions f

[Bug 912522] Re: usb_test fails on non-writable filesystems

2012-01-19 Thread Brendan Donegan
I'm not sure I quite understand. With the changes you made, does the test still fail if it has any writable partitions? In my opinion it shouldn't - it just makes things confusing for the tester. As Daniel mentioned before, a good idea might be to test reading at a minimum for read-only partitions.

[Bug 912522] Re: usb_test fails on non-writable filesystems

2012-01-18 Thread Jeff Lane
Well, now the test doesn't fail at all... well it does. I've modified the script to behave better, Instead of a nasty traceback, all you get is an overall fail of the test and output that tells you which partition failed. I tried in on my own systems with 2 usb keys: 1: Common use case, 8GB USB

[Bug 912522] Re: usb_test fails on non-writable filesystems

2012-01-18 Thread Launchpad Bug Tracker
** Branch linked: lp:~bladernr/checkbox/fix-usb-firewire-tests -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/912522 Title: usb_test fails on non-writable filesystems To manage notifications about t

[Bug 912522] Re: usb_test fails on non-writable filesystems

2012-01-18 Thread AJenbo
>I'd rather lose whats on my laptops HDD than what I have stored on USB disks. Your not every one :) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/912522 Title: usb_test fails on non-writable filesy

[Bug 912522] Re: usb_test fails on non-writable filesystems

2012-01-18 Thread Daniel Manrique
Hi! Well, maybe the description should be changed from "test fails" to "test fails with a nasty trace" :) I agree that it we can't write, then we can't write, and just changing this so that the test exits gracefully with "no writable partitions on the device" would be quite acceptable. However,

[Bug 912522] Re: usb_test fails on non-writable filesystems

2012-01-18 Thread Jeff Lane
I'm recreating this and wondering just how big a case this is... I think the best solution is brendan's, just write to what's writeable... plus I think I'll add to the description suggesting that usb keys are used in preference over usb HDDs. I'm just concerned, given the comments here, that some

[Bug 912522] Re: usb_test fails on non-writable filesystems

2012-01-09 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: checkbox (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/912522 Title: us

[Bug 912522] Re: usb_test fails on non-writable filesystems

2012-01-06 Thread Daniel Manrique
Hi François, the usb/disk_detect test checks if the partitions are mounted (usb_test -l). usb_test -t is used by usb/storage_transfer, and although the purpose is a bit vague ("This test will check your USB connection."), as Brendan mentions, we want to test that the drive can be written to witho

[Bug 912522] Re: usb_test fails on non-writable filesystems

2012-01-06 Thread Brendan Donegan
We want to check the USB subsystem is working properly. Just mounting a partition is not really good enough (would you test Wifi by just checking that it pairs with an access point?). I would suggest that we should try to write to every partition which is writable, and just ignore the ones that are

[Bug 912522] Re: usb_test fails on non-writable filesystems

2012-01-05 Thread François Tissandier
"The test needs to verify that the drive is writable, so if I can't write to it, it should still fail, but do so in a graceful manner." Are you sure ? What is this test supposed to do ? I thought it was just to check if Ubuntu can mount a partition from a USB stick/harddrive. Why should it necessa

[Bug 912522] Re: usb_test fails on non-writable filesystems

2012-01-05 Thread Daniel Manrique
Note that this was verified too with the new usb_test from checkbox trunk (r1160), so this complements bug 887049 that happened on a USB stick with multiple partitions, some of which were unwritable. I took the liberty of subscribing François as he was also experiencing this problem. ** Also affe

[Bug 912522] Re: usb_test fails on non-writable filesystems

2012-01-05 Thread Daniel Manrique
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/912522 Title: usb_test fails on non-writable filesystems To manage notifications about this bug go to: https://bugs.launchpad.net/checkbox/+bug/912522/+