Azure / azure-sdk-tools

Tools repository leveraged by the Azure SDK team.
MIT License
114 stars 180 forks source link

Migrate all pipelines off Ubuntu 18.04 by 4/1/2023 #5472

Closed mikeharder closed 1 year ago

mikeharder commented 1 year ago

The Ubuntu 18.04 image will be fully unsupported on 4/1/2023 (actions/runner-images#5583). Any pipelines still using Ubuntu 18.04 should be upgraded to Ubuntu 20.04 or 22.04 before this date.

You can view the pipelines still running in pool azsdk-pool-mms-ubuntu-1804-general here:

https://dev.azure.com/azure-sdk/internal/_settings/agentqueues?queueId=120&view=jobs

I found the following repos still using Ubuntu 18.04. Search for "18.04" or "1804".

https://github.com/Azure/azure-rest-api-specs-pipeline https://github.com/azure/azure-sdk-for-c https://github.com/azure/azure-sdk-for-cpp https://github.com/Azure/azure-sdk-for-python

Related work:

Page to check which builds are still using the Ubuntu 18 pool: https://dev.azure.com/azure-sdk/_settings/agentpools?poolId=19&view=jobs

konrad-jamrozik commented 1 year ago

PR: https://devdiv.visualstudio.com/DevDiv/_git/openapi-alps/pullrequest/455967

konrad-jamrozik commented 1 year ago

Related issue, possible blocker:

There is also relevant email thread about it:

RE: Error of "No usable version of the libssl was found" when running autorest.csharp V2 in swagger pipeline

konrad-jamrozik commented 1 year ago

Search queries:

MMSUbuntu18 https://github.com/search?q=org%3AAzure+%28path%3A*.y*ml+OR+path%3A*.json%29+MMSUbuntu18&type=code

ubuntu18 https://github.com/search?q=org%3AAzure+%28path%3A*.y*ml+OR+path%3A*.json%29+ubuntu18&type=code

mikeharder commented 1 year ago

Additional searches that may catch a few more cases:

Name of our DevOps Pool azsdk-pool-mms-ubuntu-1804-general https://github.com/search?q=org%3AAzure+%28path%3A*.y*ml+OR+path%3A*.json%29+azsdk-pool-mms-ubuntu-1804-general&type=code

Name of GitHub Actions Image (needs to be filtered to repos we own) ubuntu-18.04 https://github.com/search?q=org%3AAzure+%28path%3A*.y*ml+OR+path%3A*.json%29+ubuntu-18.04&type=code

konrad-jamrozik commented 1 year ago

Some more queries:

org:Azure (path:*.y*ml OR path:*.json) MMSUbuntu18 OR azsdk-pool-mms-ubuntu-1804 https://github.com/search?q=org%3AAzure+%28path%3A*.y*ml+OR+path%3A*.json%29+MMSUbuntu18+OR+azsdk-pool-mms-ubuntu-1804&type=code

org:Azure (path:*.y*ml OR path:*.json) MMSUbuntu18 OR azsdk-pool-mms-ubuntu-1804 OR ubuntu-18 OR ubuntu18
https://github.com/search?q=org%3AAzure+%28path%3A*.y*ml+OR+path%3A*.json%29+MMSUbuntu18+OR+azsdk-pool-mms-ubuntu-1804+OR+ubuntu-18+OR+ubuntu18&type=code

konrad-jamrozik commented 1 year ago

I am not submitting any PR against https://github.com/Azure/embedded-wireless-framework/ because:

konrad-jamrozik commented 1 year ago

For https://github.com/Azure/azure-uamqp-python I made a direct commit, as no PR was necessary: https://github.com/Azure/azure-uamqp-python/commit/bf1118c156bcf863250ef87f26bc29159d7f1674

Same here:

konrad-jamrozik commented 1 year ago

I am not submitting any PR against https://github.com/Azure/iotedgedev

The search query returned only this:

pool:
  name: Azure-IoT-EdgeExperience-1ES-Hosted-Linux
  demands:
    - ImageOverride -equals MMSUbuntu18.04TLS

which is unrelated to our pools or images.

Similar story with:

konrad-jamrozik commented 1 year ago

Status update as of 4/21/2023 PDT 6:30 PM. I did all the necessary updates.

Once this PR is merged:

and search index updated to current main, then:

konrad-jamrozik commented 1 year ago

I got a notification of following failure for https://github.com/Azure/azure-uamqp-python:

image

Attempting fix by following commit:

Job to monitor:

Update: the job succeeded.

konrad-jamrozik commented 1 year ago

There have been no new builds scheduled since April 24: https://dev.azure.com/azure-sdk/_settings/agentpools?poolId=19&view=jobs

Closing this issue as resolved.