Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-2150

test_timestamp_values fails on 32bit platforms

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.11
    • Affects Version/s: 3.10.1
    • Component/s: Tests
    • Labels:
      None
    • Environment:
      Ubuntu 20.04 LTS, arm-linux-gnueabihf

      the following test fails on arm-linux-gnueabihf. with 3.10.x.  It succeeded with 3.7.x. Not sure if that's an issue with the bindings, or mongodb itself.

      ====================================================================== ERROR: test_timestamp_values (test_objectid.TestObjectId) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/test/test_objectid.py", line 193, in test_timestamp_values oid.generation_time, File "/<<PKGBUILDDIR>>/bson/objectid.py", line 234, in generation_time return datetime.datetime.fromtimestamp(timestamp, utc) OverflowError: timestamp out of range for platform time_t ---------------------------------------------------------------------- Ran 317 tests in 10.625s

       

            Assignee:
            shane.harvey@mongodb.com Shane Harvey
            Reporter:
            doko@ubuntu.com Matthias K.
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: