Timeout doesn't work for manual tests

Bug #377986 reported by Javier Collado on 2009-05-18
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Checkbox
Medium
Marc Tardif

Bug Description

When running a manual test that contains a command and a description with the $output placeholder, the test is skipped and shown in the results page as not being handled by any plugin. Looking into the logs, it seems that the problem is because the command takes too long to complete according to this error message:
DBusException: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

If the test is run with a timeout value added in the test suite, then a different error arises and the command is also aborted:
AttributeError: 'Frontend' object has no attribute 'test'

Please find attached the backtrace for both errors.

Related branches

Javier Collado (javier.collado) wrote :
Javier Collado (javier.collado) wrote :

I forgot to ask, what is the default timeout value? I would have expected it to be infinite by default, but it seems it's not or maybe I'm mixing two different timeouts (the on for the test and the on for dbus).

Changed in checkbox:
assignee: nobody → Marc Tardif (cr3)
Javier Collado (javier.collado) wrote :

One side effect of this problem seems to be that test case execution finishes unexpectedly and test report is displayed without running shell test cases

David Murphy (schwuk) on 2009-06-18
Changed in checkbox:
importance: Undecided → Medium
milestone: none → 0.8-alpha3
status: New → Triaged
Marc Tardif (cr3) on 2009-07-23
Changed in checkbox:
status: Triaged → In Progress
Marc Tardif (cr3) on 2009-07-23
Changed in checkbox:
status: In Progress → Fix Committed
Marc Tardif (cr3) on 2009-08-25
Changed in checkbox:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments