Uploaded image for project: 'Libcloud'
  1. Libcloud
  2. LIBCLOUD-1038

VCLTests.test_create_node fails after 2038

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.4.0
    • Fix Version/s: None
    • Component/s: Compute
    • Labels:
      None

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              bmwiedemann Bernhard M. Wiedemann
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: