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