Commit ed8737d
Fix Linux pool/image pairing in 1ES NonOfficial scaffold
Build #684757 (the first ADO build of the new 1ES scaffold) was cancelled
at the prep stage with:
Remote machine provider issue: Failed to request agent.
Exception Image PSMMSAzureLinux3.0-Secure doesn't exist in pool PowerShell1ES
Root cause: PowerShell1ES (the team-owned 1ES managed pool, id 108, 35 agents)
only carries MMS2022 (Windows Server 2022). It does NOT have any Linux image
deployed. The original scaffold tentatively assumed PSMMSAzureLinux3.0-Secure
was present based on a partial read of the CloudTest.png inventory; build
#684757 disproved that assumption.
Fix:
* prep/SetVars (Stages.yml) -> PowerShell1ES + MMS2022 + os: windows
SetVars only runs pwsh to compute version variables; no Linux-specific
tooling is required. Using the proven Windows pairing from the apiscan POC
also avoids gating prep on a second pool authorization on first run.
* linux.yml build job -> Azure-Pipelines-1ESPT-ExDShared
+ ubuntu-latest + os: linux
* testartifacts.yml nonwin job -> same
Azure-Pipelines-1ESPT-ExDShared is the E+D org's shared 1ES PT-managed
Linux pool (24 D2ads_v5 agents, 8 GiB RAM, 75 GiB temp storage, Ubuntu 22.04
LTS with the full Microsoft-hosted dev tooling). It is the documented
standard fallback per the 1ES PT migration guide.
If/when a team-owned Linux image lands on PowerShell1ES (would need a
PsImageFactory PR similar to the unmerged addAzureCLI PR that put MMS2022
there), swap the pool: block in 2 places: templates/linux.yml build job and
templates/testartifacts.yml nonwin job.
Also updates the POOL/IMAGE STRATEGY comment in the entry pipeline and
drops the now-resolved "Confirm Linux pool/image mapping" TODO.
All 4 modified files validated with ConvertFrom-Yaml; no stale pairing
references remain in code (only in comments documenting the lesson).
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 0da97e8 commit ed8737d
4 files changed
Lines changed: 32 additions & 17 deletions
File tree
- .pipelines/1ES
- templates
- stages
Lines changed: 11 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
43 | 47 | | |
44 | 48 | | |
45 | 49 | | |
| |||
61 | 65 | | |
62 | 66 | | |
63 | 67 | | |
64 | | - | |
65 | 68 | | |
66 | 69 | | |
67 | 70 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
11 | 18 | | |
12 | 19 | | |
13 | 20 | | |
| |||
22 | 29 | | |
23 | 30 | | |
24 | 31 | | |
25 | | - | |
26 | | - | |
| 32 | + | |
| 33 | + | |
27 | 34 | | |
28 | 35 | | |
29 | 36 | | |
| |||
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
23 | 25 | | |
24 | 26 | | |
25 | | - | |
26 | | - | |
| 27 | + | |
| 28 | + | |
27 | 29 | | |
28 | 30 | | |
29 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
99 | 102 | | |
100 | | - | |
101 | | - | |
| 103 | + | |
| 104 | + | |
102 | 105 | | |
103 | 106 | | |
104 | 107 | | |
| |||
0 commit comments