[Build Failure] ECS test must run on Ubuntu

XMLWordPrintableJSON

    • 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?
    • None
    • None
    • None
    • None
    • None
    • None

      Name of Failure:

      No such file or directory: '/etc/lsb-release'

      Link to task:

      https://spruce.mongodb.com/task/mongo_python_driver_auth_aws_rhel8_test_auth_aws_latest_ecs_python3.10_db6dad95beae6ad2b9b8b60b00d37a67810b743e_26_01_26_12_51_26/logs?execution=1

      Context of when and why the failure occurred:

      PYTHON-5605 switched us from Ubuntu 20 to RHEL 8. We need to run ECS on Ubuntu 24.

      Stack trace:

      [2026/01/26 12:18:31.741] INFO     Running command '/data/mci/db5e0fdac65070cec80e200dfea3ed58/drivers-tools/.evergreen/auth_aws/aws_setup.sh ecs'...
      [2026/01/26 12:18:31.746] /data/mci/db5e0fdac65070cec80e200dfea3ed58/drivers-tools/.evergreen/auth_aws /data/mci/db5e0fdac65070cec80e200dfea3ed58/src
      [2026/01/26 12:18:31.876] INFO     Running aws_tester.py with ecs...
      [2026/01/26 12:18:31.876] Traceback (most recent call last):
      [2026/01/26 12:18:31.876]   File "/data/mci/db5e0fdac65070cec80e200dfea3ed58/drivers-tools/.evergreen/auth_aws/aws_tester.py", line 350, in <module>
      [2026/01/26 12:18:31.876]     main()
      [2026/01/26 12:18:31.876]     ~~~~^^
      [2026/01/26 12:18:31.876]   File "/data/mci/db5e0fdac65070cec80e200dfea3ed58/drivers-tools/.evergreen/auth_aws/aws_tester.py", line 344, in main
      [2026/01/26 12:18:31.876]     creds = args.func()
      [2026/01/26 12:18:31.876]   File "/data/mci/db5e0fdac65070cec80e200dfea3ed58/drivers-tools/.evergreen/auth_aws/aws_tester.py", line 122, in setup_ecs
      [2026/01/26 12:18:31.876]     with open("/etc/lsb-release") as fid:
      [2026/01/26 12:18:31.876]          ~~~~^^^^^^^^^^^^^^^^^^^^
      [2026/01/26 12:18:31.876] FileNotFoundError: [Errno 2] No such file or directory: '/etc/lsb-release'
      [2026/01/26 12:18:31.902] ERROR    None
      [2026/01/26 12:18:31.902] ERROR    Command '['/data/mci/db5e0fdac65070cec80e200dfea3ed58/drivers-tools/.evergreen/auth_aws/aws_setup.sh', 'ecs']' returned non-zero exit status 1.
      

            Assignee:
            Steve Silvester
            Reporter:
            Steve Silvester
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: