Bug ID 1203311
Summary python-softlayer / xmlrpc y2038 problem
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware Other
OS All
Status NEW
Severity Normal
Priority P5 - None
Component Other
Assignee mcepl@suse.com
Reporter bwiedemann@suse.com
QA Contact qa-bugs@suse.de
CC dmueller@suse.com
Found By Development
Blocker ---

While working on reproducible builds for openSUSE, I found that
our python-softlayer package failed tests in 2038 with


 self = <xmlrpc.client.Marshaller object at 0x7fa5770e91f0>, value = 2167459529
 write = <built-in method append of list object at 0x7fa577194740>

     def dump_long(self, value, write):
         if value > MAXINT or value < MININT:
 >           raise OverflowError("int exceeds XML-RPC limits")
 E           OverflowError: int exceeds XML-RPC limits

 /usr/lib64/python3.8/xmlrpc/client.py:539: OverflowError
 =========================== short test summary info
============================
 FAILED tests/CLI/modules/cdn_tests.py::CdnTests::test_detail_account -
Overfl...
 FAILED tests/managers/cdn_tests.py::CDNTests::test_detail_usage_metric -
Over...
 =========== 2 failed, 1831 passed, 6 skipped, 5 deselected in 38.01s
===========


To Reproduce:
osc co openSUSE:Factory/python-softlayer && cd $_
osc build --noservice --trust-all-projects --vm-type=kvm \
  --alternative-project=home:bmwiedemann:reproducible \
  --build-opt=--vm-custom-opt="-rtc base=2038-01-20T00:00:00" \
  openSUSE_Tumbleweed x86_64


You are receiving this mail because: