Skip to content

Conversation

@cheenamalhotra
Copy link
Member

@cheenamalhotra cheenamalhotra commented Nov 7, 2024

Addresses #2952
We can continue testing with Ub 20 while it's in LTS support.

WIP: Waiting for .NET 9 availability on Ubuntu 22

@cheenamalhotra cheenamalhotra marked this pull request as draft November 7, 2024 22:04
@codecov
Copy link

codecov bot commented Dec 4, 2024

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 60.75%. Comparing base (95253ac) to head (2a9f920).
⚠️ Report is 158 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2988      +/-   ##
==========================================
- Coverage   67.21%   60.75%   -6.46%     
==========================================
  Files         220      293      +73     
  Lines       45629    65108   +19479     
==========================================
+ Hits        30671    39559    +8888     
- Misses      14958    25549   +10591     
Flag Coverage Δ
netcore 70.44% <ø> (?)
netfx 64.67% <ø> (-2.54%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@cheenamalhotra
Copy link
Member Author

cheenamalhotra commented Dec 5, 2024

We don't seem to have .NET 9 available in Ubuntu 22 runner images just yet. Latest image
Neither can we install them as artifacts, due to .NET 9 missing from packages.microsoft.com, ref: dotnet/sdk#44869

Continuing to stay on hold.

@MichelZ
Copy link
Contributor

MichelZ commented Dec 5, 2024

@cheenamalhotra Can you update the branch from main and see if it works?
I think the pipeline should take care of all .NET needs now

@MichelZ
Copy link
Contributor

MichelZ commented Dec 5, 2024

Also from the latest build the issue seems to be that it fails to configure SQL Server:
https://sqlclientdrivers.visualstudio.com/public/_build/results?buildId=101168&view=logs&j=73c774a9-2c54-5dc8-eea7-24a41fc100ce&t=9c8fa434-0e21-5143-7879-db8639331619


/usr/bin/bash /mnt/vss/_work/_temp/346a7ca7-f41d-40a6-89d8-7f847b3fb24f.sh
Failed to stop mssql-server.service: Unit mssql-server.service not loaded.
Running mssql-conf setup...
sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
sudo: a password is required
Waiting for SQL Server to start...
Waiting for SQL Server to start...
Waiting for SQL Server to start...
Waiting for SQL Server to start...
Waiting for SQL Server to start...
Cannot connect to SQL Server, installation aborted

##[error]Bash exited with code '1'.
Finishing: Configure SQL Server [Linux]

@cheenamalhotra
Copy link
Member Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@cheenamalhotra
Copy link
Member Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@cheenamalhotra
Copy link
Member Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@cheenamalhotra
Copy link
Member Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@cheenamalhotra cheenamalhotra marked this pull request as ready for review October 28, 2025 02:41
@cheenamalhotra cheenamalhotra requested a review from a team as a code owner October 28, 2025 02:41
Copilot AI review requested due to automatic review settings October 28, 2025 02:41
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the CI pipeline configuration to enable testing on Ubuntu 22.04 while maintaining Ubuntu 20.04 support during its LTS period. The changes prepare the infrastructure for .NET 9 availability on Ubuntu 22.04.

  • Adds Ubuntu 22.04 test images alongside existing Ubuntu 20.04 images
  • Updates Azure SQL and Enclave SQL test configurations to use Ubuntu 22.04
  • Includes a reminder comment to drop Ubuntu 20.04 testing after April 2025

@paulmedynski paulmedynski self-assigned this Oct 30, 2025
@cheenamalhotra cheenamalhotra merged commit 2fed073 into dotnet:main Nov 6, 2025
249 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants