]> git.pld-linux.org Git - packages/python-gevent.git/blob - known_failures-pld.patch
Version: 1.0.2
[packages/python-gevent.git] / known_failures-pld.patch
1 diff -dur -x '*.orig' gevent-1.0.2.orig/known_failures.py gevent-1.0.2/known_failures.py
2 --- gevent-1.0.2.orig/known_failures.py 2015-05-23 14:04:13.000000000 +0200
3 +++ gevent-1.0.2/known_failures.py      2015-07-14 15:20:53.000000000 +0200
4 @@ -16,6 +16,86 @@
5      # Sometimes fails with AssertionError: ...\nIOError: close() called during concurrent operation on the same file object.\n'
6      # Sometimes it contains "\nUnhandled exception in thread started by \nsys.excepthook is missing\nlost sys.stderr\n"
7      "FLAKY test__subprocess_interrupted.py",
8 +
9 +######################################################
10 +# Problems which should be investigated
11 +
12 +# AttributeError: 'module' object has no attribute '_url_collapse_path_split'
13 +'monkey_test --Event test_httpservers.py',
14 +'monkey_test test_httpservers.py',
15 +
16 +#   AssertionError: The 304 response must have no body
17 +# and:
18 +#       File "/home/users/jajcus/rpm/BUILD/gevent-1.0/gevent/hub.py", line 331, in s
19 +#         return greenlet.switch(self)
20 +#     Timeout: 1 second: test timed out
21 +'FLAKY test__pywsgi.py',
22 +
23 +######################################################
24 +# Tests which fail when building with system libev
25 +
26 +# test__core_stat.py fails on 32-bit builders when using system
27 +# libev
28 +#
29 +##  Watcher <stat at 0x86b078c> reacted after 0.0019 seconds (write)
30 +##  Watcher <stat at 0x86b078c> reacted after 0.0019 seconds (unlink)
31 +##  Traceback (most recent call last):
32 +##    File "test__core_stat.py", line 54, in <module>
33 +##      assert watcher.attr is None, watcher.attr
34 +##  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)
35 +#* * * -u test__core_stat.py
36 +
37 +
38 +# When  building with system libev the 'fileno()' method of the
39 +# loop object is not implemented. It seems to be used only be the
40 +# test code, though.
41 +
42 +# | /usr/bin/python -u test__destroy.py
43 +#   Traceback (most recent call last):
44 +#     File "test__destroy.py", line 14, in <module>
45 +#       assert saved_loop.fileno() is None, saved_loop
46 +#   AttributeError: 'gevent.core.loop' object has no attribute 'fileno'
47 +'FLAKY test__destroy.py',
48 +
49 +# | /usr/bin/python -u test_close_backend_fd.py
50 +#   Traceback (most recent call last):
51 +#     File "test_close_backend_fd.py", line 11, in <module>
52 +#       fileno = hub.loop.fileno()
53 +#   AttributeError: 'gevent.core.loop' object has no attribute 'fileno'
54 +'FLAKY test_close_backend_fd.py',
55 +
56 +######################################################
57 +# Tests which may fail on our builders
58 +
59 +# attempts to bind to port 53
60 +'FLAKY test_ares_timeout.py',
61 +
62 +# depends on external service
63 +'FLAKY test__socket_ssl.py',
64 +
65 +# depends on external URL accessibility
66 +'FLAKY monkey_test test_urllib2net.py',
67 +'FLAKY monkey_test --Event test_urllib2net.py',
68 +
69 +# requires webpy, not in PLD
70 +# has expectations on local TCP ports availability
71 +'FLAKY test___example_servers.py',
72 +
73 +#    File "test__socket.py", line 140, in test_sendall_timeout
74 +#      self.assertRaises(self.TIMEOUT_ERROR, client.sendall, data_sent)
75 +#  AssertionError: timeout not raised
76 +'FLAKY test__socket.py',
77 +
78 +# uses DNS and external URLs,
79 +# requires 'sendfile' python module
80 +'FLAKY test__examples.py',
81 +
82 +# expects local TCP port 6000 being available
83 +'FLAKY test__example_echoserver.py',
84 +
85 +# another network test
86 +'FLAKY test__example_portforwarder.py',
87 +
88  ]
89  
90  if sys.version_info[:2] <= (2, 6):
This page took 0.033554 seconds and 4 git commands to generate.