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

test_timestamp_values fails on 32bit platforms

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 3.10.1
    • 3.11
    • Tests
    • None
    • Ubuntu 20.04 LTS, arm-linux-gnueabihf

    Description

      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

       

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: