[Pkg-privacy-maintainers] GUI tests for MAT
Sascha Steinbiss
satta at tetrinetsucht.de
Tue Apr 12 11:56:58 UTC 2016
Hi again,
> ======================================================================
> FAIL: test_gui_statusbar_updates (__main__.TestMatGUIFunctional)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/tmp/adt-run.PVQbvy/build.EC4/mat-0.6.1/debian/tests/check-mat", line 260, in test_gui_statusbar_updates
> self.assertIn(("Cleaning %s" % os.path.basename(f)), sw.stbm)
> AssertionError: 'Cleaning dirty \xc3\xa9.ogg' not found in ['Cleaning dirty \xc3\xa9.pdf', 'Cleaning dirty \xc3\xa9.tar.gz', 'Cleaning dirty \xc3\xa9.png', 'Cleaning dirty \xc3\xa9.zip', 'Cleaning dirty \xc3\xa9.odt', 'Cleaning dirty \xc3\xa9.tar.bz2', 'Cleaning dirty \xc3\xa9.tif', 'Cleaning dirty \xc3\xa9.tar', 'Cleaning dirty \xc3\xa9.torrent', 'Cleaning dirty \xc3\xa9.jpg', 'Ready']
>
> Any idea what's going on?
Unfortunately I can't reproduce these here. However, since I can't use
KVM in my qemu setup, everything is very slow and not particularly
stable, leading to other problems during the dogtail tests like an
apparent loss of connection to the accessibility interface:
...
searching for descendent of [DEAD]: child withE
** (check-mat:6521): WARNING **: AT-SPI: Error in GetItems,
sender=(null), error=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.
...
======================================================================
ERROR: test_gui_cleans_stuff (__main__.TestMatGUIFunctional)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/adt-run.v6MkcO/build.hkG/mat-0.6.1/debian/tests/check-mat",
line 151, in test_gui_cleans_stuff
self.add_dirty_directory_contents()
File "/tmp/adt-run.v6MkcO/build.hkG/mat-0.6.1/debian/tests/check-mat",
line 118, in add_dirty_directory_contents
window.child("OK").click()
File "/usr/lib/python2.7/dist-packages/dogtail/tree.py", line 468, in
click
clickX = self.position[0] + self.size[0] / 2
File "/usr/lib/python2.7/dist-packages/dogtail/tree.py", line 405, in
position
return self.queryComponent().getPosition(pyatspi.DESKTOP_COORDS)
File "/usr/lib/python2.7/dist-packages/pyatspi/component.py", line
151, in getPosition
return pointToList(Atspi.Component.get_position(self.obj, coord_type))
Error: atspi_error: The process appears to be hung. (1)
In LXC everything looks fine to me, even after repeated runs. Can you
confirm the issues you are seeing are reproducible in qemu?
Cheers
Sascha
--
The Wellcome Trust Sanger Institute is operated by Genome Research
Limited, a charity registered in England with number 1021457 and a
company registered in England with number 2742969, whose registered
office is 215 Euston Road, London, NW1 2BE.
More information about the Pkg-privacy-maintainers
mailing list