Skip to content

chore: update ubuntu scriptless e2e flow

bb6f742
Select commit
Loading
Failed to load commit list.
Draft

feat: skip cloud-init ready report and add standalone report_ready script #8056

chore: update ubuntu scriptless e2e flow
bb6f742
Select commit
Loading
Failed to load commit list.
Azure Pipelines / Agentbaker E2E failed Mar 11, 2026 in 24m 26s

Build #20260311.14 had test failures

Details

Tests

  • Failed: 4 (4.12%)
  • Passed: 93 (95.88%)
  • Other: 0 (0.00%)
  • Total: 97

Annotations

Check failure on line 719 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Agentbaker E2E

Build log #L719

Script failed with exit code: 1

Check failure on line 1 in Test_AzureLinux3OSGuard_PMC_Install

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Agentbaker E2E

Test_AzureLinux3OSGuard_PMC_Install

Failed
Raw output
=== RUN   Test_AzureLinux3OSGuard_PMC_Install
=== PAUSE Test_AzureLinux3OSGuard_PMC_Install
=== CONT  Test_AzureLinux3OSGuard_PMC_Install
    azure.go:469: [0.000s] Looking up images in https://ms.portal.azure.com/#@microsoft.onmicrosoft.com/resource/subscriptions/c4c3550e-a965-4993-a50c-628fd38cd3e1/resourceGroups/aksvhdtestbuildrg/providers/Microsoft.Compute/galleries/PackerSigGalleryEastUS/images/aks-azurelinux-v3-osguard-gen2-fips-tl/overview
    azure.go:558: [29.507s] Image version /subscriptions/c4c3550e-a965-4993-a50c-628fd38cd3e1/resourceGroups/aksvhdtestbuildrg/providers/Microsoft.Compute/galleries/PackerSigGalleryEastUS/images/AzureLinuxOSGuardOSGuardV3gen2fipsTL/versions/1.1773174316.5530 is already in region westus3
    vhd.go:329: [29.508s] got version by tag branch=refs/heads/main: https://ms.portal.azure.com/#@microsoft.onmicrosoft.com/resource/subscriptions/c4c3550e-a965-4993-a50c-628fd38cd3e1/resourceGroups/aksvhdtestbuildrg/providers/Microsoft.Compute/galleries/PackerSigGalleryEastUS/images/aks-azurelinux-v3-osguard-gen2-fips-tl/versions/1.1773174316.5530/overview
    test_helpers.go:362: [29.508s] TAGS {Name:Test_AzureLinux3OSGuard_PMC_Install ImageName:AzureLinuxOSGuardOSGuardV3gen2fipsTL OS:azurelinux Arch:amd64 NetworkIsolated:false NonAnonymousACR:false GPU:false WASM:false BootstrapTokenFallback:false KubeletCustomConfig:false Scriptless:false VHDCaching:false MockAzureChinaCloud:false VMSeriesCoverageTest:false}
    test_helpers.go:199: [29.508s] → running scenario...
    test_helpers.go:231: [29.508s] → preparing AKS node...
    vmss.go:298: [29.508s] → creating VMSS 8kal-2026-03-11-azurelinux3osguardpmcinstall...
    vmss.go:219: [31.085s] VMSS portal link: https://ms.portal.azure.com/#@microsoft.onmicrosoft.com/resource/subscriptions/8ecadfc9-d1a3-4ea4-b844-0d9f87e4d7c8/resourceGroups/MC_abe2e-westus3_abe2e-kubenet-v4-e1f58_westus3/providers/Microsoft.Compute/virtualMachineScaleSets/8kal-2026-03-11-azurelinux3osguardpmcinstall/overview
    vmss.go:225: [31.085s] Managed cluster portal link: https://ms.portal.azure.com/#@microsoft.onmicrosoft.com/resource/subscriptions/8ecadfc9-d1a3-4ea4-b844-0d9f87e4d7c8/resourceGroups/MC_abe2e-westus3_abe2e-kubenet-v4-e1f58_westus3/providers/Microsoft.ContainerService/managedClusters/abe2e-kubenet-v4-e1f58/overview
    vmss.go:331: [39.925s] VM will be automatically deleted after the test finishes, to preserve it for debugging purposes set KEEP_VMSS=true or pause the test with a breakpoint before the test finishes or failed
    vmss.go:335: [39.925s] SSH Instructions: (may take a few minutes for the VM to be ready for SSH)
        ========================
        az network bastion ssh --target-resource-id "/subscriptions/8ecadfc9-d1a3-4ea4-b844-0d9f87e4d7c8/resourceGroups/MC_abe2e-westus3_abe2e-kubenet-v4-e1f58_westus3/providers/Microsoft.Compute/virtualMachineScaleSets/8kal-2026-03-11-azurelinux3osguardpmcinstall/virtualMachines/0" --name "abe2e-kubenet-v4-e1f58-bastion" --resource-group MC_abe2e-westus3_abe2e-kubenet-v4-e1f58_westus3 --auth-type ssh-key --username azureuser --ssh-key /tmp/private-key-806495381
        
    bastionssh.go:304: [202.410s] Attempt 1/5 establishing SSH over bastion to 10.224.0.155
    vmss.go:385: [205.401s] VM reached running state
    vmss.go:355: [205.401s] ✓ creating VMSS 8kal-2026-03-11-azurelinux3osguardpmcinstall done (175.9s)
    kube.go:149: [205.401s] → waiting for node 8kal-2026-03-11-azurelinux3osguardpmcinstall to be ready...
    kube.go:181: [205.533s] node 8kal-2026-03-11-azurelinux3osguardpmcinstall000000 is ready. Taints: [{"key":"node.kubernetes.io/network-unavailable","effect":"NoSchedule","timeAdded":"2026-03-11T04:30:36Z"}] Conditions: [{"type":"NetworkUnavailable","status":"True","lastHeartbeatTime":"2026-03-11T04:30:36Z","lastTransitionTime":"2026-03-11T04:30:36Z","reason":"NodeInitialization","message":"Waiting for cloud routes"},{"type":"MemoryPressure","status":"False","lastHeartbeatTime":"2026-03-11T04:30:

Check failure on line 1 in Test_ACL_SecureTLSBootstrapping_BootstrapToken_Fallback

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Agentbaker E2E

Test_ACL_SecureTLSBootstrapping_BootstrapToken_Fallback

Failed
Raw output
=== RUN   Test_ACL_SecureTLSBootstrapping_BootstrapToken_Fallback
=== PAUSE Test_ACL_SecureTLSBootstrapping_BootstrapToken_Fallback
=== CONT  Test_ACL_SecureTLSBootstrapping_BootstrapToken_Fallback
    test_helpers.go:362: [41.321s] TAGS {Name:Test_ACL_SecureTLSBootstrapping_BootstrapToken_Fallback ImageName:aclgen2TL OS:azurecontainerlinux Arch:amd64 NetworkIsolated:false NonAnonymousACR:false GPU:false WASM:false BootstrapTokenFallback:true KubeletCustomConfig:false Scriptless:false VHDCaching:false MockAzureChinaCloud:false VMSeriesCoverageTest:false}
    test_helpers.go:199: [41.338s] → running scenario...
    test_helpers.go:231: [41.338s] → preparing AKS node...
    vmss.go:298: [41.338s] → creating VMSS hqir-2026-03-11-aclsecuretlsbootstrappingbootstraptokenfa...
    vmss.go:219: [42.412s] VMSS portal link: https://ms.portal.azure.com/#@microsoft.onmicrosoft.com/resource/subscriptions/8ecadfc9-d1a3-4ea4-b844-0d9f87e4d7c8/resourceGroups/MC_abe2e-westus3_abe2e-kubenet-v4-e1f58_westus3/providers/Microsoft.Compute/virtualMachineScaleSets/hqir-2026-03-11-aclsecuretlsbootstrappingbootstraptokenfa/overview
    vmss.go:225: [42.412s] Managed cluster portal link: https://ms.portal.azure.com/#@microsoft.onmicrosoft.com/resource/subscriptions/8ecadfc9-d1a3-4ea4-b844-0d9f87e4d7c8/resourceGroups/MC_abe2e-westus3_abe2e-kubenet-v4-e1f58_westus3/providers/Microsoft.ContainerService/managedClusters/abe2e-kubenet-v4-e1f58/overview
    vmss.go:331: [48.079s] VM will be automatically deleted after the test finishes, to preserve it for debugging purposes set KEEP_VMSS=true or pause the test with a breakpoint before the test finishes or failed
    vmss.go:335: [48.079s] SSH Instructions: (may take a few minutes for the VM to be ready for SSH)
        ========================
        az network bastion ssh --target-resource-id "/subscriptions/8ecadfc9-d1a3-4ea4-b844-0d9f87e4d7c8/resourceGroups/MC_abe2e-westus3_abe2e-kubenet-v4-e1f58_westus3/providers/Microsoft.Compute/virtualMachineScaleSets/hqir-2026-03-11-aclsecuretlsbootstrappingbootstraptokenfa/virtualMachines/0" --name "abe2e-kubenet-v4-e1f58-bastion" --resource-group MC_abe2e-westus3_abe2e-kubenet-v4-e1f58_westus3 --auth-type ssh-key --username azureuser --ssh-key /tmp/private-key-806495381
        
    bastionssh.go:304: [270.597s] Attempt 1/5 establishing SSH over bastion to 10.224.0.171
    vmss.go:385: [273.170s] VM reached running state
    vmss.go:355: [273.170s] ✓ creating VMSS hqir-2026-03-11-aclsecuretlsbootstrappingbootstraptokenfa done (231.8s)
    kube.go:149: [273.170s] → waiting for node hqir-2026-03-11-aclsecuretlsbootstrappingbootstraptokenfa to be ready...
    kube.go:181: [273.201s] node hqir-2026-03-11-aclsecuretlsbootstrappingbootstraptokenfa000000 is ready. Taints: [{"key":"node.kubernetes.io/network-unavailable","effect":"NoSchedule","timeAdded":"2026-03-11T04:32:02Z"}] Conditions: [{"type":"NetworkUnavailable","status":"True","lastHeartbeatTime":"2026-03-11T04:32:02Z","lastTransitionTime":"2026-03-11T04:32:02Z","reason":"NodeInitialization","message":"Waiting for cloud routes"},{"type":"MemoryPressure","status":"False","lastHeartbeatTime":"2026-03-11T04:31:51Z","lastTransitionTime":"2026-03-11T04:31:50Z","reason":"KubeletHasSufficientMemory","message":"kubelet has sufficient memory available"},{"type":"DiskPressure","status":"False","lastHeartbeatTime":"2026-03-11T04:31:51Z","lastTransitionTime":"2026-03-11T04:31:50Z","reason":"KubeletHasNoDiskPressure","message":"kubelet has no disk pressure"},{"type":"PIDPressure","status":"False","lastHeartbeatTime":"2026-03-11T04:31:51Z","lastTransitionTime":"2026-03-11T04:31:50Z","reason":"KubeletHasSufficientPID","message":"kubelet has sufficient PID available"},{"type":"Ready","status":"True","lastHeartbeatTime":"2026-03-11T04:31:51Z","lastTransitionTime":"2026-03-11T04:31:51Z","reason":"KubeletReady","message":"kubelet is posting ready status"}]
    kube.go:182: [273.201s] ✓ waiting for node hqir-2026-03-11-aclsecuretlsboo

Check failure on line 1 in Test_Ubuntu2204Gen2_Containerd_NetworkIsolatedCluster_NonAnonymousNoneCached_InstallPackage

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Agentbaker E2E

Test_Ubuntu2204Gen2_Containerd_NetworkIsolatedCluster_NonAnonymousNoneCached_InstallPackage

Failed
Raw output
=== RUN   Test_Ubuntu2204Gen2_Containerd_NetworkIsolatedCluster_NonAnonymousNoneCached_InstallPackage
=== PAUSE Test_Ubuntu2204Gen2_Containerd_NetworkIsolatedCluster_NonAnonymousNoneCached_InstallPackage
=== CONT  Test_Ubuntu2204Gen2_Containerd_NetworkIsolatedCluster_NonAnonymousNoneCached_InstallPackage
    azure.go:658: [0.000s] Looking up images for gallery subscription c4c3550e-a965-4993-a50c-628fd38cd3e1 resource group aksvhdtestbuildrg gallery name PackerSigGalleryEastUS image name 2204Gen2 version 1.1725612526.29638 
    azure.go:558: [14.140s] Image version /subscriptions/c4c3550e-a965-4993-a50c-628fd38cd3e1/resourceGroups/aksvhdtestbuildrg/providers/Microsoft.Compute/galleries/PackerSigGalleryEastUS/images/2204Gen2/versions/1.1725612526.29638 is already in region westus3
    vhd.go:321: [14.141s] Got image by version: https://ms.portal.azure.com/#@microsoft.onmicrosoft.com/resource/subscriptions/c4c3550e-a965-4993-a50c-628fd38cd3e1/resourceGroups/aksvhdtestbuildrg/providers/Microsoft.Compute/galleries/PackerSigGalleryEastUS/images/aks-ubuntu-containerd-22.04-gen2/versions/1.1725612526.29638/overview
    test_helpers.go:362: [14.141s] TAGS {Name:Test_Ubuntu2204Gen2_Containerd_NetworkIsolatedCluster_NonAnonymousNoneCached_InstallPackage ImageName:2204Gen2 OS:ubuntu Arch:amd64 NetworkIsolated:true NonAnonymousACR:true GPU:false WASM:false BootstrapTokenFallback:false KubeletCustomConfig:false Scriptless:false VHDCaching:false MockAzureChinaCloud:false VMSeriesCoverageTest:false}
    test_helpers.go:199: [14.141s] → running scenario...
    test_helpers.go:231: [53.350s] → preparing AKS node...
    vmss.go:298: [53.351s] → creating VMSS k9i2-2026-03-11-ubuntu2204gen2containerdnetworkisolatedcl...
    vmss.go:219: [53.731s] VMSS portal link: https://ms.portal.azure.com/#@microsoft.onmicrosoft.com/resource/subscriptions/8ecadfc9-d1a3-4ea4-b844-0d9f87e4d7c8/resourceGroups/MC_abe2e-westus3_abe2e-azure-networkisolated-v1-7939b_westus3/providers/Microsoft.Compute/virtualMachineScaleSets/k9i2-2026-03-11-ubuntu2204gen2containerdnetworkisolatedcl/overview
    vmss.go:225: [53.731s] Managed cluster portal link: https://ms.portal.azure.com/#@microsoft.onmicrosoft.com/resource/subscriptions/8ecadfc9-d1a3-4ea4-b844-0d9f87e4d7c8/resourceGroups/MC_abe2e-westus3_abe2e-azure-networkisolated-v1-7939b_westus3/providers/Microsoft.ContainerService/managedClusters/abe2e-azure-networkisolated-v1-7939b/overview
    vmss.go:331: [59.583s] VM will be automatically deleted after the test finishes, to preserve it for debugging purposes set KEEP_VMSS=true or pause the test with a breakpoint before the test finishes or failed
    vmss.go:335: [59.583s] SSH Instructions: (may take a few minutes for the VM to be ready for SSH)
        ========================
        az network bastion ssh --target-resource-id "/subscriptions/8ecadfc9-d1a3-4ea4-b844-0d9f87e4d7c8/resourceGroups/MC_abe2e-westus3_abe2e-azure-networkisolated-v1-7939b_westus3/providers/Microsoft.Compute/virtualMachineScaleSets/k9i2-2026-03-11-ubuntu2204gen2containerdnetworkisolatedcl/virtualMachines/0" --name "abe2e-azure-networkisolated-v1-7939b-bastion" --resource-group MC_abe2e-westus3_abe2e-azure-networkisolated-v1-7939b_westus3 --auth-type ssh-key --username azureuser --ssh-key /tmp/private-key-806495381
        
    bastionssh.go:304: [463.600s] Attempt 1/5 establishing SSH over bastion to 10.224.0.255
    vmss.go:385: [464.904s] VM reached running state
    vmss.go:355: [464.904s] ✓ creating VMSS k9i2-2026-03-11-ubuntu2204gen2containerdnetworkisolatedcl done (411.6s)
    kube.go:149: [464.905s] → waiting for node k9i2-2026-03-11-ubuntu2204gen2containerdnetworkisolatedcl to be ready...
    kube.go:186: [464.956s] node k9i2-2026-03-11-ubuntu2204gen2containerdnetworkisolatedcl000000 is not ready. Taints: [{"key":"node.kubernetes.io/not-ready","effect":"NoSchedule"},{"key":"node.kubernetes.io/not-ready","effect":"NoExecute","timeAdded":"2026-03-11T04:35:03Z"}] Conditions: [{"type":"MemoryP