Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run all steps in a container #44969

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from
Draft

Conversation

ellahathaway
Copy link
Member

@dotnet-issue-labeler dotnet-issue-labeler bot added Area-Infrastructure untriaged Request triage from a team member labels Nov 19, 2024
@ellahathaway
Copy link
Member Author

/azp run sdk-unified-build-full

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@ellahathaway
Copy link
Member Author

Source-build isn't running all steps in containers: https://dev.azure.com/dnceng/internal/_build/results?buildId=2585278&view=results

The legs don't run the "initialize containers" step, so I'm working to determine why. This doesn't happen in PR checks.

@MichaelSimons
Copy link
Member

/azp run dotnet-source-build-lite

Copy link

No pipelines are associated with this pull request.

@ellahathaway
Copy link
Member Author

Source-build isn't running all steps in containers: https://dev.azure.com/dnceng/internal/_build/results?buildId=2585278&view=results

The legs don't run the "initialize containers" step, so I'm working to determine why. This doesn't happen in PR checks.

This is because the internal pipelines use 1ES PTs. I'm adjusting the templates so that the containers work in with these yamls.

- ${{ if ne(parameters.runOnline, 'True') }}:
- script: |
set -ex
sudo ip link set eth0 up
Copy link
Member Author

Choose a reason for hiding this comment

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

After enabling the network, the offline build fails while running the tests:

/__w/1/s/test/TestUtilities/TestUtilities.csproj : error NU1301: Unable to load the service index for source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public/nuget/v3/index.json. [/__w/1/s/test/tests.proj]

I'm investigating

Copy link
Member Author

@ellahathaway ellahathaway Nov 22, 2024

Choose a reason for hiding this comment

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

I think that the connection has been reestablished, but DNS resolution is not working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Infrastructure untriaged Request triage from a team member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Run all VMR CI steps in containers
3 participants