Bug 1203311 - python-softlayer / xmlrpc y2038 problem
python-softlayer / xmlrpc y2038 problem
Status: RESOLVED UPSTREAM
Classification: openSUSE
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Other
Current
Other All
: P5 - None : Normal (vote)
: ---
Assigned To: Matej Cepl
E-mail List
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2022-09-11 07:13 UTC by Bernhard Wiedemann
Modified: 2022-10-10 11:45 UTC (History)
2 users (show)

See Also:
Found By: Development
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bernhard Wiedemann 2022-09-11 07:13:05 UTC
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
Comment 1 Matej Cepl 2022-10-06 15:35:12 UTC
Could I ask for some logs to the upstream ticket, please? I have hard time to run osc build with vm on my system (not sure, what’s wrong).
Comment 2 Dirk Mueller 2022-10-07 09:44:29 UTC
(In reply to Matej Cepl from comment #1)
> Could I ask for some logs to the upstream ticket, please? I have hard time
> to run osc build with vm on my system (not sure, what’s wrong).

if you're using tumbleweed, you're hitting https://github.com/openSUSE/obs-build/pull/893
Comment 3 Matej Cepl 2022-10-10 11:45:56 UTC
I think this bug should be better be resolved upstream. Of course, when the solution is found we will update our package as well.