[winswitch] Xpra 3 Test Failures

Lemings, Brad [US] (MS) Eric.Lemings at ngc.com
Tue Jan 28 22:27:21 GMT 2020


Hello,

I'm trying to rebuild the SRPM downloaded from https://xpra.org/dists/RedHat/7.7/SRPMS/xpra-3.0.5-0.r24939xpra1.el7_7.src.rpm.

I get the following test failures.

...
2243 Ran 2 tests in 2.249s
2244 
2245 OK
2246 Python Cryptography:
2247   Encryption:
2248          1KB:   0.2ms:                5MB/s
2249       1024KB:   3.2ms:              311MB/s
2250   Decryption:
2251          1KB:   0.2ms:                4MB/s
2252       1024KB:  55.1ms:               18MB/s
2253   Overall:
2254          1KB:   0.1ms:               10MB/s
2255       1024KB:  29.8ms:               33MB/s
2256 running unit.server.server_sockets_test
2257 
2258 ..FE.
2259 ======================================================================
2260 ERROR: test_tcp_socket (__main__.ServerSocketsTest)
2261 ----------------------------------------------------------------------
2262 Traceback (most recent call last):
2263   File "/rpmbuild.xpra3-rhel7.7/BUILD/xpra-3.0.5-python2/unittests/unit/server/server_sockets_test.py", line 71, in test_tcp_socket
2264     self._test_connect(["--bind-tcp=0.0.0.0:%i" % port], "allow", [], b"hello", "ws://127.0.0.1:%i/" % port, EXIT_OK)
2265   File " /rpmbuild.xpra3-rhel7.7/BUILD/xpra-3.0.5-python2/unittests/unit/server/server_sockets_test.py", line 47, in _test_connect
2266     raise Exception("version client failed to connect, returned %s" % estr(r))
2267 Exception: version client failed to connect, returned 1 : CONNECTION_LOST
2268 
2269 ======================================================================
2270 FAIL: test_ssl (__main__.ServerSocketsTest)
2271 ----------------------------------------------------------------------
2272 Traceback (most recent call last):
2273   File "/rpmbuild.xpra3-rhel7.7/BUILD/xpra-3.0.5-python2/unittests/unit/server/server_sockets_test.py", line 143, in test_ssl
2274     test_connect("wss://127.0.0.1:%i/" % tcp_port, EXIT_OK, noverify)
2275   File "/rpmbuild.xpra3-rhel7.7/BUILD/xpra-3.0.5-python2/unittests/unit/server/server_sockets_test.py", line 136, in test_connect
2276     assert r==exit_code, "expected info client to return %s but got %s" % (exit_code, client.poll())
2277 AssertionError: expected info client to return 0 but got None
2278 
2279 ----------------------------------------------------------------------
2280 Ran 5 tests in 81.019s
2281 
2282 FAILED (failures=1, errors=1)
2283 failure on unit.server.server_sockets_test, exit code=1
2284 error: Bad exit status from /var/tmp/rpm-tmp.oV8cjR (%check)
2285 
2286 
2287 RPM build errors:
2288     Bad exit status from /var/tmp/rpm-tmp.oV8cjR (%check)

Any clues what might be causing this?

Thanks,
Eric.




More information about the shifter-users mailing list