]>
Commit | Line | Data |
---|---|---|
4f53d0c0 JB |
1 | --- gevent-1.1.0.orig/src/greentest/known_failures.py 2016-03-05 14:10:58.000000000 +0100 |
2 | +++ gevent-1.1.0/src/greentest/known_failures.py 2016-03-14 13:24:11.000000000 +0100 | |
3 | @@ -33,8 +33,235 @@ | |
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', | |
201 | + 'FLAKY monkey_test --Event test_urllib2net.py', | |
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 | + | |
212 | + # uses DNS and external URLs, | |
213 | + # requires 'sendfile' python module | |
214 | + 'FLAKY test__examples.py', | |
215 | + | |
216 | + # expects local TCP port 6000 being available | |
217 | + 'FLAKY test__example_echoserver.py', | |
218 | + | |
219 | + # another network test | |
220 | + 'FLAKY test__example_portforwarder.py', | |
221 | + | |
222 | + # DNS | |
223 | + 'FLAKY test__socket_dns.py', | |
224 | + | |
4f53d0c0 JB |
225 | + # DNS, non-deterministic order |
226 | + 'FLAKY test__socket_dns6.py', | |
227 | + | |
4fc6ecf8 JK |
228 | + # DNS |
229 | + 'FLAKY test__getaddrinfo_import.py', | |
966035b1 JK |
230 | + |
231 | + # uses lsof, which scans /proc | |
232 | + 'FLAKY test__makefile_ref.py', | |
233 | + | |
234 | + # uses os.forkpty() | |
235 | + 'FLAKY test__monkey_sigchld.py', | |
4fc6ecf8 JK |
236 | +] |
237 | ||
238 | if os.environ.get('GEVENT_RESOLVER') == 'ares' or LEAKTEST: | |
239 | # XXX fix this |