This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2009年05月15日 01:34 by ezio.melotti, last changed 2022年04月11日 14:56 by admin. This issue is now closed.
| Messages (5) | |||
|---|---|---|---|
| msg87785 - (view) | Author: Ezio Melotti (ezio.melotti) * (Python committer) | Date: 2009年05月15日 01:34 | |
./python -m test.regrtest -uall -v test_xmlrpc_net Could not find '/home/wolf/py3k/Lib/test' in sys.path to remove it test_xmlrpc_net test_current_time (test.test_xmlrpc_net.CurrentTimeTest) ... ERROR ====================================================================== ERROR: test_current_time (test.test_xmlrpc_net.CurrentTimeTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/wolf/py3k/Lib/test/test_xmlrpc_net.py", line 18, in test_current_time t0 = server.currentTime.getCurrentTime() File "/home/wolf/py3k/Lib/xmlrpc/client.py", line 1091, in __call__ return self.__send(self.__name, args) File "/home/wolf/py3k/Lib/xmlrpc/client.py", line 1333, in __request verbose=self.__verbose File "/home/wolf/py3k/Lib/xmlrpc/client.py", line 1127, in request dict(resp.getheaders()) xmlrpc.client.ProtocolError: <ProtocolError for time.xmlrpc.com/RPC2: 302 Found> ---------------------------------------------------------------------- Ran 1 test in 0.148s FAILED (errors=1) test test_xmlrpc_net failed -- Traceback (most recent call last): File "/home/wolf/py3k/Lib/test/test_xmlrpc_net.py", line 18, in test_current_time t0 = server.currentTime.getCurrentTime() File "/home/wolf/py3k/Lib/xmlrpc/client.py", line 1091, in __call__ return self.__send(self.__name, args) File "/home/wolf/py3k/Lib/xmlrpc/client.py", line 1333, in __request verbose=self.__verbose File "/home/wolf/py3k/Lib/xmlrpc/client.py", line 1127, in request dict(resp.getheaders()) xmlrpc.client.ProtocolError: <ProtocolError for time.xmlrpc.com/RPC2: 302 Found> 1 test failed: test_xmlrpc_net Apparently the error was raised because: 1) time.xmlrpc.com wasn't reachable 2) the ISP (not the browser) returned a "302 Found" and an error page 3) the test expected something else and failed This is somewhat related to #3583. |
|||
| msg124677 - (view) | Author: R. David Murray (r.david.murray) * (Python committer) | Date: 2010年12月26日 19:42 | |
IMO there's no way to fix this. I suggest closing it as invalid, since the problem is a buggy ISP DNS server, and the problem only occurs when time.xmlrpc.com is down. The canonical fix to problems like this is to remove dependency on the external service, but that would presumably defeat the entire purpose of test_xmlrpc_net. So one "fix" would be to delete this test entirely. Which if we have mock-server xmlrpc tests, might not be out of the question as a solution. Note that the second test in that file tests against the xmlrpc interface of our buildbot master, and that support has been formally removed by upstream and only restored by us...presumably at some point we'll drop support for it too, when it breaks too badly to be easily forward ported. Since there was, if I remember correctly, an extended period when xmlrpc.com's time service was down, simply deleting this test file may in fact be the best move. |
|||
| msg124805 - (view) | Author: Antoine Pitrou (pitrou) * (Python committer) | Date: 2010年12月28日 17:16 | |
+1 on simply removing this test. *.xmlrpc.com look(s) totally unmaintained. |
|||
| msg124813 - (view) | Author: R. David Murray (r.david.murray) * (Python committer) | Date: 2010年12月28日 19:08 | |
See also issue 6533. |
|||
| msg171345 - (view) | Author: Ezio Melotti (ezio.melotti) * (Python committer) | Date: 2012年09月26日 16:42 | |
da148f0d86bd added a skip to the test (see #13434). Also xmlrpc.com now redirects to xmlrpc.scripting.com. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:56:48 | admin | set | github: 50277 |
| 2012年09月26日 16:42:52 | ezio.melotti | set | status: open -> closed resolution: out of date messages: + msg171345 stage: resolved |
| 2010年12月28日 19:08:38 | r.david.murray | set | nosy:
loewis, pitrou, kristjan.jonsson, ezio.melotti, r.david.murray messages: + msg124813 |
| 2010年12月28日 17:16:11 | pitrou | set | nosy:
+ pitrou messages: + msg124805 |
| 2010年12月26日 19:42:16 | r.david.murray | set | nosy:
+ r.david.murray messages: + msg124677 versions: + Python 2.7, Python 3.2 |
| 2009年10月11日 15:45:06 | ezio.melotti | set | priority: low nosy: + loewis, kristjan.jonsson |
| 2009年05月15日 01:34:25 | ezio.melotti | create | |