You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by "Bernhard M. Wiedemann (JIRA)" <ji...@apache.org> on 2019/03/11 08:43:00 UTC
[jira] [Created] (LIBCLOUD-1038) VCLTests.test_create_node fails
after 2038
Bernhard M. Wiedemann created LIBCLOUD-1038:
-----------------------------------------------
Summary: VCLTests.test_create_node fails after 2038
Key: LIBCLOUD-1038
URL: https://issues.apache.org/jira/browse/LIBCLOUD-1038
Project: Libcloud
Issue Type: Bug
Components: Compute
Affects Versions: 2.4.0
Reporter: Bernhard M. Wiedemann
Related to [https://en.wikipedia.org/wiki/Year_2038_problem]
with the context of [https://github.com/apache/libcloud/pull/1279]
building openSUSE Tumbleweed's python-apache-libcloud package in the year 2039 on x86_64 resulted in this test failure:
??__________________________ VCLTests.test_create_node __________________??
??self = <libcloud.test.compute.test_vcl.VCLTests testMethod=test_create>??
??def test_create_node(self):??
?? image = self.driver.list_images()[0]??
??> node = self.driver.create_node(image=image)??
??libcloud/test/compute/test_vcl.py:54:??
??_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _??
??libcloud/compute/drivers/vcl.py:132: in create_node??
?? length??
??libcloud/compute/drivers/vcl.py:102: in _vcl_request??
?? *args??
??libcloud/common/xmlrpc.py:106: in request??
?? data = xmlrpclib.dumps(args, methodname=method_name, allow_none=Tr)??
??/usr/lib64/python2.7/xmlrpclib.py:1094: in dumps??
?? data = m.dumps(params)??
??/usr/lib64/python2.7/xmlrpclib.py:638: in dumps??
?? dump(v, write)??
??/usr/lib64/python2.7/xmlrpclib.py:660: in __dump??
?? f(self, value, write)??
??_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _??
??self = <xmlrpclib.Marshaller instance at 0x7f37112cafc8>, value = 21820??
??write = <built-in method append of list object at 0x7f37112ca998>??
??def dump_int(self, value, write):??
?? # in case ints are > 32 bits??
?? if value > MAXINT or value < MININT:??
??> raise OverflowError, "int exceeds XML-RPC limits"??
??E OverflowError: int exceeds XML-RPC limits??
??/usr/lib64/python2.7/xmlrpclib.py:671: OverflowError??
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)