]> git.pld-linux.org Git - packages/python-gevent.git/blob - known_failures-pld.patch
f21f85be7d379102f4b52691f11533968e813d90
[packages/python-gevent.git] / known_failures-pld.patch
1 diff -dur gevent-1.1.0.orig/known_failures.py gevent-1.1.0/known_failures.py
2 --- gevent-1.1.0.orig/known_failures.py 2016-03-05 14:10:58.000000000 +0100
3 +++ gevent-1.1.0/known_failures.py      2016-03-14 13:24:11.000000000 +0100
4 @@ -33,8 +33,232 @@
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 -]
9  
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',
202 +    'FLAKY monkey_test --Event test_urllib2net.py',
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 +
213 +    # uses DNS and external URLs,
214 +    # requires 'sendfile' python module
215 +    'FLAKY test__examples.py',
216 +
217 +    # expects local TCP port 6000 being available
218 +    'FLAKY test__example_echoserver.py',
219 +
220 +    # another network test
221 +    'FLAKY test__example_portforwarder.py',
222 +
223 +    # DNS
224 +    'FLAKY test__socket_dns.py',
225 +
226 +    # DNS
227 +    'FLAKY test__getaddrinfo_import.py',
228 +
229 +    # uses lsof, which scans /proc
230 +    'FLAKY test__makefile_ref.py',
231 +
232 +    # uses os.forkpty()
233 +    'FLAKY test__monkey_sigchld.py',
234 +]
235  
236  if os.environ.get('GEVENT_RESOLVER') == 'ares' or LEAKTEST:
237      # XXX fix this
This page took 0.090506 seconds and 2 git commands to generate.