[Python-Dev] python3.5.3: xmlrpc_net unit test fail
Craig Rodrigues
rodrigc at freebsd.org
Thu Apr 12 11:50:54 EDT 2018
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 at 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: <ProtocolError for 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 at python.org
> https://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe: https://mail.python.org/mailman/options/python-dev/
> rodrigc%40freebsd.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20180412/6dd66ce2/attachment.html>
More information about the Python-Dev
mailing list