[Build Failure] ECS test python installation failure

XMLWordPrintableJSON

    • Type: Build Failure
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: Infrastructure
    • None
    • Python Drivers
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None

      Name of Failure:

      E: Couldn't find any package by regex 'python3.10-dev'

      Link to task:

      https://spruce.mongodb.com/task/mongo_python_driver_auth_aws_ubuntu_20_test_auth_aws_latest_ecs_python3.10_46974363b4bd42405c7a8f3285997f9688094440_25_10_06_18_02_53/logs?execution=1

      Context of when and why the failure occurred:

      Deadsnakes dropped support for Ubuntu 20, which was EOL in May. We'll need to use iam_auth_ecs_task_definition_jammy to switch to Ubuntu 22.

      Stack trace:

       [2025/10/07 04:54:09.594] + add-apt-repository -y ppa:deadsnakes/ppa
       [2025/10/07 04:54:09.594] + apt-get -qq install python3.10 python3.10-venv build-essential python3.10-dev -y
       [2025/10/07 04:54:11.638] E: Unable to locate package python3.10-venv
       [2025/10/07 04:54:11.639] E: Couldn't find any package by glob 'python3.10-venv'
       [2025/10/07 04:54:11.639] E: Couldn't find any package by regex 'python3.10-venv'
       [2025/10/07 04:54:11.639] E: Unable to locate package python3.10-dev
       [2025/10/07 04:54:11.639] E: Couldn't find any package by glob 'python3.10-dev'
       [2025/10/07 04:54:11.639] E: Couldn't find any package by regex 'python3.10-dev'
      

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

              Created:
              Updated: