-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Use different Ubuntu pools for Ubuntu tests to avoid disk space issues. #20742
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Much appreciated! Let's hope we don't find these agents are missing much.
Eventually, it'll be interesting to get #20704 in and see how much space these guys have lying about.
- Updated the `default-build.yml` to have a new parameter specific to Ubuntu listed `useHostedUbuntu`. If we feel the need to expand the parameters usage outside of the Ubuntu configuration we can always rename to `useHosted`. Also didn't want to touch the `isTestingJob` because I wasn't sure of hte implications. - Updated the Ubuntu test job to turn off hosted pools. Fixes https://github.com/dotnet/aspnetcore-internal/issues/3574
fc86c36
to
7e7c9b4
Compare
@dougbu are those pools/queues correct? It looks like it's attempting to run our Linux scripts on a windows box for the Linux jobs: |
queue: buildpool.ubuntu.1604.amd64.open | ||
${{ if eq(variables['System.TeamProject'], 'internal') }}: | ||
name: NetCoreInternal-Pool | ||
queue: buildpool.ubuntu.1604.amd64 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ilyas1974 and @riarenas how are we messing up here? These jobs are trying to run on Windows agents.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is useHostedUbuntu
somehow undefined here so it is using the default?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My suspicion based on https://helix.dot.net/api/2019-06-17/info/queues (now that I look closely) is queue names are case-sensitive. I just pushed a commit to see if that's the case.
queue: buildpool.ubuntu.1604.amd64.open | ||
${{ if eq(variables['System.TeamProject'], 'internal') }}: | ||
name: NetCoreInternal-Pool | ||
queue: buildpool.ubuntu.1604.amd64 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is useHostedUbuntu
somehow undefined here so it is using the default?
@@ -83,6 +83,7 @@ jobs: | |||
enableTelemetry: true | |||
helixRepo: dotnet/aspnetcore | |||
helixType: build.product/ | |||
useHostedUbuntu: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Whether or not queue names are case-sensitive, this placement was the root cause. I didn't remember that this section is about passing parameters into the job.yml template when talking to @NTaylorMullen about this. This parameter default needs to be near the top of the file
Yes, that was broken too as I mentioned here. My bad. |
Strange that some server tests are failing here, with a file not found. Also this warning in the build:
|
@Pilchie thanks for digging into this! @ilyas1974 and @riarenas, I'll see if the missing file errors are all related to not having |
I'm not sure why the build said it didn't find
@BrennanConroy @anurse do we actually need the HTTP rewrite model? Otherwise, what package should we ask for? https://packages.ubuntu.com/xenial/pcre2-utils looks close but more low level than the agents usually deal with. Of course, continuing after the error implies eng/scripts/install-nginx-linux.sh and probably install-nginx-mac.sh need |
I doubt we need http rewrite |
- also add `set -euo pipefail` to the script for fast failure
Wow, I think we're done with the Ubuntu test job timing out 🚀 Thanks @NTaylorMullen @ilyas1974 @Pilchie @BrennanConroy @riarenas @pranavkm @MattGal @markwilkie and anyone I'm forgetting for your help❕ I'll get this in tonight or tomorrow morning, depending on the remaining two (unchanged) build jobs. |
default-build.yml
to have a new parameter specific to Ubuntu listeduseHostedUbuntu
. If we feel the need to expand the parameters usage outside of the Ubuntu configuration we can always rename touseHosted
. Also didn't want to touch theisTestingJob
because I wasn't sure of hte implications.Fixes https://github.com/dotnet/aspnetcore-internal/issues/3574