xpra icon
Bug tracker and wiki

Opened 4 months ago

Last modified 4 months ago

#2432 assigned defect

test failures during rpmbuild

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: blocker Milestone: 4.0
Component: tests Version: 3.0.x
Keywords: Cc:


Tests were re-enabled in r23918 because the tests pass when run from the command line, even from a clean user account logged in via su.
But they still fail during rpmbuild:

running unit.server.server_sockets_test

FAIL: test_ssl (__main__.ServerSocketsTest)
Traceback (most recent call last):
  File "/home/antoine/rpmbuild/BUILD/xpra-3.0-python3/unittests/unit/server/server_sockets_test.py", line 139, in test_ssl
    test_connect("ssl://" % ssl_port, EXIT_OK, noverify)
  File "/home/antoine/rpmbuild/BUILD/xpra-3.0-python3/unittests/unit/server/server_sockets_test.py", line 136, in test_connect
    assert r==exit_code, "expected info client to return %s but got %s" % (exit_code, client.poll())
AssertionError: expected info client to return 0 but got None

From the command line:

running all the tests in ['/home/guest/trunk/src/unittests/unit/server/server_sockets_test.py']
running unit.server.server_sockets_test

Ran 5 tests in 65.168s


Change History (2)

comment:1 Changed 4 months ago by Antoine Martin

Status: newassigned
xpra initialization error:
 failed to setup tcp socket on [Errno 98] Address already in use

A stray server from the previous failed test?

FAIL: test_to_server (__main__.X11ClipboardTest)
Traceback (most recent call last):
  File "/home/antoine/rpmbuild/BUILD/xpra-3.0-python3/unittests/unit/client/x11_clipboard_test.py", line 27, in test_to_server
  File "/home/antoine/rpmbuild/BUILD/xpra-3.0-python3/unittests/unit/client/x11_clipboard_test_util.py", line 83, in do_test_copy
    self.do_test_copy_selection(selection, direction)
  File "/home/antoine/rpmbuild/BUILD/xpra-3.0-python3/unittests/unit/client/x11_clipboard_test_util.py", line 69, in do_test_copy_selection
    self.copy_and_verify(client_display, server_display, direction in ("both", "to-server"), selection=selection)
  File "/home/antoine/rpmbuild/BUILD/xpra-3.0-python3/unittests/unit/client/x11_clipboard_test_util.py", line 43, in copy_and_verify
    assert new_value==value, "clipboard contents do not match, expected '%s' but got '%s'" % (value, new_value)
AssertionError: clipboard contents do not match, expected '6d40a0ce2284457c8d0eb23e504483d9' but got '00bd4f66e351473794ce8bd304a0157b'

comment:2 Changed 4 months ago by Antoine Martin

removing the python2 tests "fixes" things, so something must be left over from those tests.
Just to get moving again, r24039 removes those tests again.

Another issue seems to be some spinning xpra_signal_listener processes left behind.
Doesn't occur with v4.0, odd.

Note: See TracTickets for help on using tickets.