]> git.pld-linux.org Git - packages/python-gevent.git/blame - known_failures-pld.patch
rebuild with tests and docs
[packages/python-gevent.git] / known_failures-pld.patch
CommitLineData
3c6d899b
AM
1diff -urNp -x '*.orig' gevent-1.4.0.org/src/gevent/tests/known_failures.py gevent-1.4.0/src/gevent/tests/known_failures.py
2--- gevent-1.4.0.org/src/gevent/tests/known_failures.py 2019-01-04 12:51:44.000000000 +0100
3+++ gevent-1.4.0/src/gevent/tests/known_failures.py 2021-03-05 09:43:56.691802201 +0100
4@@ -30,8 +30,277 @@ FAILING_TESTS = [
4fc6ecf8
JK
5 # we don't have that option without a new commit---and sometimes we really need a build
6 # to succeed in order to get a release wheel
7 'FLAKY test__issue6.py',
8-]
2fed4eba 9
4fc6ecf8
JK
10+ ######################################################
11+ # Problems which should be investigated
12+
13+ # AssertionError: The 304 response must have no body
14+ # and:
15+ # File "/home/users/jajcus/rpm/BUILD/gevent-1.0/gevent/hub.py", line 331, in s
16+ # return greenlet.switch(self)
17+ # Timeout: 1 second: test timed out
18+ 'FLAKY test__pywsgi.py',
19+
20+ #======================================================================
21+ #ERROR: test_proxy_tunnel_without_status_line (__main__.BasicTest)
22+ #----------------------------------------------------------------------
23+ #Traceback (most recent call last):
24+ # File "test_httplib.py", line 589, in test_proxy_tunnel_without_status_line
25+ # conn._tunnel()
26+ # File "/usr/lib64/python2.7/httplib.py", line 819, in _tunnel
27+ # line = response.fp.readline(_MAXLINE + 1)
28+ #TypeError: readline() takes exactly 1 argument (2 given)
29+ #
30+ #======================================================================
31+ #FAIL: test_connect (__main__.TunnelTests)
32+ #----------------------------------------------------------------------
33+ #Traceback (most recent call last):
34+ # File "test_httplib.py", line 858, in test_connect
35+ # self.assertNotIn('Host: destination.com:None', conn.sock.data)
36+ #AssertionError: 'Host: destination.com:None' unexpectedly found in 'CONNECT destination.com:80 HTTP/1.0\r\n\r\nHEAD / HTTP/1.1\r\nHost: destination.com:None\r\nAccept-Encoding: identity\r\nContent-Length: 0\r\n\r\n'
37+ #
38+ #----------------------------------------------------------------------
39+ # fails even without gevent (plain Python)
40+ 'FLAKY test_httplib.py',
41+
42+ #======================================================================
43+ #FAIL: test_query_with_continuous_slashes (__main__.CGIHTTPServerTestCase)
44+ #----------------------------------------------------------------------
45+ #Traceback (most recent call last):
46+ # File "test_httpservers.py", line 566, in test_query_with_continuous_slashes
47+ #AssertionError: Tuples differ: ('k=aa%2F%2Fbb&//q//p//=//a//b... != ('k=aa/bb&/q/p/=/a/b/\n', 'tex...
48+ #
49+ #First differing element 0:
50+ #k=aa%2F%2Fbb&//q//p//=//a//b//
51+ #
52+ #k=aa/bb&/q/p/=/a/b/
53+ #
54+ #
55+ #- ('k=aa%2F%2Fbb&//q//p//=//a//b//\n', 'text/html', 200)
56+ #? ^^^^^^ - - - - - -
57+ #
58+ #+ ('k=aa/bb&/q/p/=/a/b/\n', 'text/html', 200)
59+ #? ^
60+ #
61+ #
62+ #======================================================================
63+ #FAIL: test_query_with_multiple_question_mark (__main__.CGIHTTPServerTestCase)
64+ #----------------------------------------------------------------------
65+ #Traceback (most recent call last):
66+ # File "test_httpservers.py", line 559, in test_query_with_multiple_question_mark
67+ #AssertionError: Tuples differ: ('a=b?c=d\n', 'text/html', 200... != ('c=d\n', 'text/html', 200)
68+ #
69+ #First differing element 0:
70+ #a=b?c=d
71+ #
72+ #c=d
73+ #
74+ #
75+ #- ('a=b?c=d\n', 'text/html', 200)
76+ #? ----
77+ #
78+ #+ ('c=d\n', 'text/html', 200)
79+ #
80+ #----------------------------------------------------------------------
81+ 'FLAKY test_httpservers.py',
82+
83+
84+ #FAIL: test_options (__main__.ContextTests)
85+ #----------------------------------------------------------------------
86+ #Traceback (most recent call last):
87+ # File "test_ssl.py", line 143, in f
88+ # return func(*args, **kwargs)
89+ # File "test_ssl.py", line 745, in test_options
90+ # ctx.options)
91+ #AssertionError: 2197816319 != 2164261887L
92+ #
93+ #======================================================================
94+ #FAIL: test_protocol_sslv23 (__main__.ThreadedTests)
95+ #Connecting to an SSLv23 server with various client options
96+ #----------------------------------------------------------------------
97+ #Traceback (most recent call last):
98+ # File "test_ssl.py", line 143, in f
99+ # return func(*args, **kwargs)
100+ # File "test_ssl.py", line 2249, in test_protocol_sslv23
101+ # try_protocol_combo(ssl.PROTOCOL_SSLv23, ssl.PROTOCOL_SSLv3, False)
102+ # File "test_ssl.py", line 1998, in try_protocol_combo
103+ # ssl.get_protocol_name(server_protocol)))
104+ #AssertionError: Client protocol PROTOCOL_SSLv3 succeeded with server protocol PROTOCOL_SSLv23!
105+ #
106+ #======================================================================
107+ #FAIL: test_protocol_sslv3 (__main__.ThreadedTests)
108+ #Connecting to an SSLv3 server with various client options
109+ #----------------------------------------------------------------------
110+ #Traceback (most recent call last):
111+ # File "test_ssl.py", line 143, in f
112+ # return func(*args, **kwargs)
113+ # File "test_ssl.py", line 2292, in test_protocol_sslv3
114+ # False, client_options=ssl.OP_NO_SSLv2)
115+ # File "test_ssl.py", line 1998, in try_protocol_combo
116+ # ssl.get_protocol_name(server_protocol)))
117+ #AssertionError: Client protocol PROTOCOL_SSLv23 succeeded with server protocol PROTOCOL_SSLv3!
118+ #
119+ #----------------------------------------------------------------------
120+ 'FLAKY test_ssl.py',
121+
122+ # FAIL: test_sendall_timeout (__main__.TestSSL)
123+ #----------------------------------------------------------------------
124+ #Traceback (most recent call last):
125+ # File "/home/users/jajcus/rpm/BUILD/gevent-1.1.0/greentest/greentest.py", line 280, in wrapped
126+ # return method(self, *args, **kwargs)
127+ # File "/home/users/jajcus/rpm/BUILD/gevent-1.1.0/greentest/greentest.py", line 269, in wrapped
128+ # return method(self, *args, **kwargs)
129+ # File "/home/users/jajcus/rpm/BUILD/gevent-1.1.0/greentest/test__socket.py", line 188, in test_sendall_timeout
130+ # self.assertRaises(self.TIMEOUT_ERROR, client.sendall, self._test_sendall_data)
131+ #AssertionError: timeout not raised by sendall
132+ #
133+ #======================================================================
134+ #FAIL: test_ssl_sendall_timeout0 (__main__.TestSSL)
135+ #----------------------------------------------------------------------
136+ #Traceback (most recent call last):
137+ # File "/home/users/jajcus/rpm/BUILD/gevent-1.1.0/greentest/greentest.py", line 280, in wrapped
138+ # return method(self, *args, **kwargs)
139+ # File "/home/users/jajcus/rpm/BUILD/gevent-1.1.0/greentest/greentest.py", line 269, in wrapped
140+ # return method(self, *args, **kwargs)
141+ # File "test__ssl.py", line 53, in test_ssl_sendall_timeout0
142+ # self.assertRaises(expected, client.sendall, self._test_sendall_data)
143+ #AssertionError: SSLWantWriteError not raised by sendall
144+ #
145+ #----------------------------------------------------------------------
146+ 'FLAKY test__ssl.py',
147+
148+ #FAIL: test_reset_internal_locks (__main__.EventTests)
149+ #----------------------------------------------------------------------
150+ #Traceback (most recent call last):
151+ # File "lock_tests.py", line 316, in test_reset_internal_locks
152+ # self.assertIs(type(new_lock), type(old_lock))
153+ #AssertionError: <class 'threading._RLock'> is not <class 'gevent.thread.LockType'>
154+ #
155+ #----------------------------------------------------------------------
156+ 'FLAKY test_threading.py',
157+
158+ ######################################################
159+ # Tests which fail when building with system libev
160+
161+ # test__core_stat.py fails on 32-bit builders when using system
162+ # libev
163+ #
164+ ## Watcher <stat at 0x86b078c> reacted after 0.0019 seconds (write)
165+ ## Watcher <stat at 0x86b078c> reacted after 0.0019 seconds (unlink)
166+ ## Traceback (most recent call last):
167+ ## File "test__core_stat.py", line 54, in <module>
168+ ## assert watcher.attr is None, watcher.attr
169+ ## AssertionError: posix.stat_result(st_mode=2001, st_ino=0L, st_dev=581509237251768320L, st_nlink=1000, st_uid=0, st_gid=0, st_size=5983298792366014472L, st_atime=1393095309, st_mtime=0, st_ctime=-1)
170+ #* * * -u test__core_stat.py
171+
172+
173+ # When building with system libev the 'fileno()' method of the
174+ # loop object is not implemented. It seems to be used only be the
175+ # test code, though.
176+
177+ # | /usr/bin/python -u test__destroy.py
178+ # Traceback (most recent call last):
179+ # File "test__destroy.py", line 14, in <module>
180+ # assert saved_loop.fileno() is None, saved_loop
181+ # AttributeError: 'gevent.core.loop' object has no attribute 'fileno'
182+ 'FLAKY test__destroy.py',
183+
184+ # | /usr/bin/python -u test_close_backend_fd.py
185+ # Traceback (most recent call last):
186+ # File "test_close_backend_fd.py", line 11, in <module>
187+ # fileno = hub.loop.fileno()
188+ # AttributeError: 'gevent.core.loop' object has no attribute 'fileno'
189+ 'FLAKY test_close_backend_fd.py',
190+
191+ ######################################################
192+ # Tests which may fail on our builders
193+
194+ # attempts to bind to port 53
195+ 'FLAKY test_ares_timeout.py',
196+
197+ # depends on external service
198+ 'FLAKY test__socket_ssl.py',
199+
200+ # depends on external URL accessibility
201+ 'FLAKY monkey_test test_urllib2net.py',
5a03dc88 202+ #'FLAKY monkey_test --Event test_urllib2net.py',
4fc6ecf8
JK
203+
204+ # requires webpy, not in PLD
205+ # has expectations on local TCP ports availability
206+ 'FLAKY test___example_servers.py',
207+
208+ # File "test__socket.py", line 140, in test_sendall_timeout
209+ # self.assertRaises(self.TIMEOUT_ERROR, client.sendall, data_sent)
210+ # AssertionError: timeout not raised
211+ 'FLAKY test__socket.py',
212+
25ec3431
JR
213+ # Traceback (most recent call last):
214+ # File "/usr/lib64/python3.6/runpy.py", line 193, in _run_module_as_main
215+ # "__main__", mod_spec)
216+ # File "/usr/lib64/python3.6/runpy.py", line 85, in _run_code
217+ # exec(code, run_globals)
218+ # File "/home/users/baggins/devel/PLD/rpm/BUILD/gevent-1.2.1/src/greentest/monkey_test.py", line 41, in <module>
219+ # exec(module_code, globals())
220+ # File "test_socket.py", line 5600, in <module>
221+ # test_main()
222+ # File "test_socket.py", line 5596, in test_main
223+ # support.run_unittest(*tests)
224+ # File "/usr/lib64/python3.6/test/support/__init__.py", line 1923, in run_unittest
225+ # _run_suite(suite)
226+ # File "/usr/lib64/python3.6/test/support/__init__.py", line 1898, in _run_suite
227+ # raise TestFailed(err)
228+ # test.support.TestFailed: Traceback (most recent call last):
229+ # File "/usr/lib64/python3.6/test/support/__init__.py", line 556, in wrapper
230+ # return func(*args, **kw)
231+ # File "test_socket.py", line 5470, in test_aead_aes_gcm
232+ # res = op.recv(assoclen + len(plain) + taglen)
233+ # File "/home/users/baggins/devel/PLD/rpm/BUILD/gevent-1.2.1/build-3/lib.linux-x86_64-3.6/gevent/_socket3.py", line 333, in recv
234+ # return _socket.socket.recv(self._sock, *args)
235+ # OSError: [Errno 22] Invalid argument
236+ 'FLAKY test_socket.py',
237+
4fc6ecf8
JK
238+ # uses DNS and external URLs,
239+ # requires 'sendfile' python module
240+ 'FLAKY test__examples.py',
241+
242+ # expects local TCP port 6000 being available
243+ 'FLAKY test__example_echoserver.py',
244+
245+ # another network test
246+ 'FLAKY test__example_portforwarder.py',
247+
248+ # DNS
249+ 'FLAKY test__socket_dns.py',
250+
4f53d0c0
JB
251+ # DNS, non-deterministic order
252+ 'FLAKY test__socket_dns6.py',
253+
4fc6ecf8
JK
254+ # DNS
255+ 'FLAKY test__getaddrinfo_import.py',
966035b1
JK
256+
257+ # uses lsof, which scans /proc
258+ 'FLAKY test__makefile_ref.py',
259+
260+ # uses os.forkpty()
261+ 'FLAKY test__monkey_sigchld.py',
17db3161
JK
262+
263+ # network
264+ 'FLAKY test__server.py',
265+ 'FLAKY test__server_pywsgi.py',
756010cf 266+ 'FLAKY test_urllib2net.py',
5a03dc88
JB
267+
268+ # certificate verify failed
756010cf 269+ 'FLAKY test_urllib2_localnet.py',
5a03dc88
JB
270+ # one warning too little?
271+ 'FLAKY test__monkey.py',
272+ # non-deterministic
273+ 'FLAKY test__hub.py',
274+ # "thread_ident=X" vs "thread_ident=-X" on py3.8?
275+ 'FLAKY test__util.py',
276+ # memory corruption under py3.8?
277+ 'FLAKY test__monkey_sigchld_2.py',
278+ 'FLAKY test__monkey_sigchld_3.py'
4fc6ecf8
JK
279+]
280
17db3161 281 if sys.platform == 'win32':
3c6d899b 282 IGNORED_TESTS = [
This page took 0.173374 seconds and 5 git commands to generate.