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

Python 3.13 mod_wsgi tests failing

    • Type: Icon: Build Failure Build Failure
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 4.11
    • Affects Version/s: None
    • Component/s: None
    • None
    • Python Drivers
    • Not Needed
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?

      Python 3.13 mod_wsgi tests started failing today after PYTHON-5016 was merged:

       [2024/12/31 11:34:21.634] HTTP request sent, awaiting response... 500 Internal Server Error
       [2024/12/31 11:34:21.634] 2024-12-31 19:34:21 ERROR 500: Internal Server Error.
       [2024/12/31 11:34:21.635] [Tue Dec 31 19:34:21.206092 2024] [mpm_prefork:notice] [pid 47448] AH00163: Apache/2.4.52 (Ubuntu) mod_wsgi/4.9.4 Python/3.13 configured -- resuming normal operations
       [2024/12/31 11:34:21.635] [Tue Dec 31 19:34:21.206177 2024] [core:notice] [pid 47448] AH00094: Command line: '/usr/sbin/apache2 -f /data/mci/59b9cdedc722b9c63a9d46a869f06586/src/test/mod_wsgi_test/apache24ubuntu161404.conf'
       [2024/12/31 11:34:21.635] [Tue Dec 31 19:34:21.633311 2024] [wsgi:error] [pid 47450] [remote 127.0.0.1:49012] mod_wsgi (pid=47450): Failed to exec Python script file '/data/mci/59b9cdedc722b9c63a9d46a869f06586/src/test/mod_wsgi_test/mod_wsgi_test.py'.
       [2024/12/31 11:34:21.635] [Tue Dec 31 19:34:21.633356 2024] [wsgi:error] [pid 47450] [remote 127.0.0.1:49012] mod_wsgi (pid=47450): Exception occurred processing WSGI script '/data/mci/59b9cdedc722b9c63a9d46a869f06586/src/test/mod_wsgi_test/mod_wsgi_test.py'.
       [2024/12/31 11:34:21.635] [Tue Dec 31 19:34:21.633612 2024] [wsgi:error] [pid 47450] [remote 127.0.0.1:49012] Traceback (most recent call last):
       [2024/12/31 11:34:21.635] [Tue Dec 31 19:34:21.633847 2024] [wsgi:error] [pid 47450] [remote 127.0.0.1:49012]   File "/data/mci/59b9cdedc722b9c63a9d46a869f06586/src/test/mod_wsgi_test/mod_wsgi_test.py", line 52, in <module>
       [2024/12/31 11:34:21.635] [Tue Dec 31 19:34:21.633851 2024] [wsgi:error] [pid 47450] [remote 127.0.0.1:49012]     assert bson.has_c()
       [2024/12/31 11:34:21.635] [Tue Dec 31 19:34:21.633852 2024] [wsgi:error] [pid 47450] [remote 127.0.0.1:49012]            ~~~~~~~~~~^^
       [2024/12/31 11:34:21.635] [Tue Dec 31 19:34:21.633866 2024] [wsgi:error] [pid 47450] [remote 127.0.0.1:49012] AssertionError
      

      https://evergreen.mongodb.com/task/mongo_python_driver_mod_wsgi_ubuntu_22_python3.13_mod_wsgi_standalone_b3ce9320f00b94047a0160f739e63b0a34427d8c_24_12_31_19_26_45

            Assignee:
            steve.silvester@mongodb.com Steve Silvester
            Reporter:
            shane.harvey@mongodb.com Shane Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: