Bug 5638 - xmlrpc calls can hang indefinitely in the automatic tests
Summary: xmlrpc calls can hang indefinitely in the automatic tests
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Automatic tests (show other bugs)
Version: pre-1.0
Hardware: PC Unknown
: P2 Normal
Target Milestone: MediumPrio
Assignee: Karl Mikaelsson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-10 13:30 CEST by Pierre Ossman
Modified: 2015-09-15 10:51 CEST (History)
1 user (show)

See Also:
Acceptance Criteria:


Attachments

Description Pierre Ossman cendio 2015-09-10 13:30:39 CEST
If the component under test crashes, then we can often be left in a state where the XMLRPC connection is still alive, but a response will never be given. But xmlrpclib unfortunetely has no timeout mechanism so the entire test system will just hang.

We should have system in place that aborts calls (or even whole tests) that take too long.
Comment 1 Pierre Ossman cendio 2015-09-10 15:43:16 CEST
lib/thintest/tlclient.py uses SIGALRM for timeout management. Could be an option.

Note You need to log in before you can comment on or make changes to this bug.