(original) (raw)

That unit test was written when https://buildbot.python.org was running at Buildbot version 8
which had an XMLRPC interface. Last year, buildbot.python.org was upgraded to Buildbot version 9,
which dropped the XMLRPC interface in favor of a REST API. So that link no longer works.

The unit change was changed to skip:

https://github.com/python/cpython/blob/master/Lib/test/test\_xmlrpc\_net.py#L8


--
Craig


On Thu, Apr 12, 2018 at 3:16 AM, Nikita Gupta <nikitarulz@gmail.com> wrote:
Hi All,

Before installing python 3.5.3, i performed the test cases provided with the source tar ball.
But 3 tests failed. I figured out the reason for other 2\. But 1 test case is out of my understanding.

Re-running test 'test\_xmlrpc\_net' in verbose mode
test\_python\_builders (test.test\_xmlrpc\_net.PythonBuildersTest) ... ERROR

======================================================================
ERROR: test\_python\_builders (test.test\_xmlrpc\_net.PythonBuildersTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/pkgs/Python-3.5.3/Lib/test/test\_xmlrpc\_net.py", line 17, in test\_python\_builders
builders = server.getAllBuilders()
File "/pkgs/Python-3.5.3/Lib/xmlrpc/client.py", line 1092, in \_\_call\_\_
return self.\_\_send(self.\_\_name, args)
File "/pkgs/Python-3.5.3/Lib/xmlrpc/client.py", line 1432, in \_\_request
verbose=self.\_\_verbose
File "/pkgs/Python-3.5.3/Lib/xmlrpc/client.py", line 1134, in request
return self.single\_request(host, handler, request\_body, verbose)
File "/pkgs/Python-3.5.3/Lib/xmlrpc/client.py", line 1167, in single\_request
dict(resp.getheaders())
xmlrpc.client.ProtocolError: buildbot.python.org/all/xmlrpc/: 503 Service Unavailable>

----------------------------------------------------------------------
Ran 1 test in 0.215s

FAILED (errors=1)
test test\_xmlrpc\_net failed

Can somebody highlight the reason of failure.


--
Regards,
Nikita Gupta

\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: https://mail.python.org/mailman/options/python-dev/rodrigc%40freebsd.org