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

cherry-pick: fix: ensure /etc/kubernetes/certs exists before generating kubelet serving cert #5583

Merged
merged 1 commit into from
Jan 15, 2025

fix: ensure /etc/kubernetes/certs exists before generating kubelet se…

9b5de9d
Select commit
Loading
Failed to load commit list.
Merged

cherry-pick: fix: ensure /etc/kubernetes/certs exists before generating kubelet serving cert #5583

fix: ensure /etc/kubernetes/certs exists before generating kubelet se…
9b5de9d
Select commit
Loading
Failed to load commit list.
Azure Pipelines / Agentbaker E2E failed Jan 15, 2025 in 38m 28s

Build #20250115.20 had test failures

Details

Tests

  • Failed: 8 (15.38%)
  • Passed: 44 (84.62%)
  • Other: 0 (0.00%)
  • Total: 52

Annotations

Check failure on line 2926 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Agentbaker E2E

Build log #L2926

Bash exited with code '1'.

Check failure on line 1 in Test_azurelinuxv2AirGap

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Agentbaker E2E

Test_azurelinuxv2AirGap

Failed
Raw output
    scenario_helpers_test.go:96: running scenario "Test_azurelinuxv2AirGap" with vhd: "/subscriptions/c4c3550e-a965-4993-a50c-628fd38cd3e1/resourceGroups/aksvhdtestbuildrg/providers/Microsoft.Compute/galleries/PackerSigGalleryEastUS/images/AzureLinuxV2gen2/versions/1.1736845474.4892", tags {Name:Test_azurelinuxv2AirGap ImageName:AzureLinuxV2gen2 OS:azurelinux Arch:amd64 Airgap:true GPU:false WASM:false ServerTLSBootstrapping:false Scriptless:false}
    aks_model.go:205: Creating private Azure Container Registry in rg abe2e-westus3
    aks_model.go:209: Private ACR already exists at id /subscriptions/8ecadfc9-d1a3-4ea4-b844-0d9f87e4d7c8/resourceGroups/abe2e-westus3/providers/Microsoft.ContainerRegistry/registries/privateacre2ewestus3, skipping creation
    cluster.go:170: cluster abe2e-kubenet-airgap-64149 already exists in rg abe2e-westus3
    cluster.go:213: Attempt 1: creating or updating cluster abe2e-kubenet-airgap-64149 in region westus3 and rg abe2e-westus3
    cluster.go:183: creating or updating cluster abe2e-kubenet-airgap-64149 in rg westus3
    types.go:218: 
        	Error Trace:	/mnt/vss/_work/1/s/e2e/types.go:218
        	            				/mnt/vss/_work/1/s/e2e/scenario_helpers_test.go:59
        	            				/mnt/vss/_work/1/s/e2e/scenario_test.go:46
        	Error:      	Received unexpected error:
        	            	failed to create cluster: failed to begin aks cluster creation: PUT https://management.azure.com/subscriptions/8ecadfc9-d1a3-4ea4-b844-0d9f87e4d7c8/resourceGroups/abe2e-westus3/providers/Microsoft.ContainerService/managedClusters/abe2e-kubenet-airgap-64149
        	            	--------------------------------------------------------------------------------
        	            	RESPONSE 400: 400 Bad Request
        	            	ERROR CODE: OperationNotAllowed
        	            	--------------------------------------------------------------------------------
        	            	{
        	            	  "code": "OperationNotAllowed",
        	            	  "details": null,
        	            	  "message": "Operations are not allowed when the managed cluster is not in the Running power state.",
        	            	  "subcode": ""
        	            	}
        	            	--------------------------------------------------------------------------------
        	Test:       	Test_azurelinuxv2AirGap

Check failure on line 1 in Test_azurelinuxv2ARM64AirGap

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Agentbaker E2E

Test_azurelinuxv2ARM64AirGap

Failed
Raw output
    vhd.go:230: image version /subscriptions/c4c3550e-a965-4993-a50c-628fd38cd3e1/resourceGroups/aksvhdtestbuildrg/providers/Microsoft.Compute/galleries/PackerSigGalleryEastUS/images/AzureLinuxV2gen2arm64/versions/1.1736962116.29510 is already replicated to region westus3
    scenario_helpers_test.go:96: running scenario "Test_azurelinuxv2ARM64AirGap" with vhd: "/subscriptions/c4c3550e-a965-4993-a50c-628fd38cd3e1/resourceGroups/aksvhdtestbuildrg/providers/Microsoft.Compute/galleries/PackerSigGalleryEastUS/images/AzureLinuxV2gen2arm64/versions/1.1736962116.29510", tags {Name:Test_azurelinuxv2ARM64AirGap ImageName:AzureLinuxV2gen2arm64 OS:azurelinux Arch:arm64 Airgap:true GPU:false WASM:false ServerTLSBootstrapping:false Scriptless:false}
    types.go:218: 
        	Error Trace:	/mnt/vss/_work/1/s/e2e/types.go:218
        	            				/mnt/vss/_work/1/s/e2e/scenario_helpers_test.go:59
        	            				/mnt/vss/_work/1/s/e2e/scenario_test.go:91
        	Error:      	Received unexpected error:
        	            	failed to create cluster: failed to begin aks cluster creation: PUT https://management.azure.com/subscriptions/8ecadfc9-d1a3-4ea4-b844-0d9f87e4d7c8/resourceGroups/abe2e-westus3/providers/Microsoft.ContainerService/managedClusters/abe2e-kubenet-airgap-64149
        	            	--------------------------------------------------------------------------------
        	            	RESPONSE 400: 400 Bad Request
        	            	ERROR CODE: OperationNotAllowed
        	            	--------------------------------------------------------------------------------
        	            	{
        	            	  "code": "OperationNotAllowed",
        	            	  "details": null,
        	            	  "message": "Operations are not allowed when the managed cluster is not in the Running power state.",
        	            	  "subcode": ""
        	            	}
        	            	--------------------------------------------------------------------------------
        	Test:       	Test_azurelinuxv2ARM64AirGap

Check failure on line 1 in Test_marinerv2AirGap

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Agentbaker E2E

Test_marinerv2AirGap

Failed
Raw output
    scenario_helpers_test.go:96: running scenario "Test_marinerv2AirGap" with vhd: "/subscriptions/c4c3550e-a965-4993-a50c-628fd38cd3e1/resourceGroups/aksvhdtestbuildrg/providers/Microsoft.Compute/galleries/PackerSigGalleryEastUS/images/CBLMarinerV2gen2/versions/1.1736759042.32303", tags {Name:Test_marinerv2AirGap ImageName:CBLMarinerV2gen2 OS:mariner Arch:amd64 Airgap:true GPU:false WASM:false ServerTLSBootstrapping:false Scriptless:false}
    types.go:218: 
        	Error Trace:	/mnt/vss/_work/1/s/e2e/types.go:218
        	            				/mnt/vss/_work/1/s/e2e/scenario_helpers_test.go:59
        	            				/mnt/vss/_work/1/s/e2e/scenario_test.go:293
        	Error:      	Received unexpected error:
        	            	failed to create cluster: failed to begin aks cluster creation: PUT https://management.azure.com/subscriptions/8ecadfc9-d1a3-4ea4-b844-0d9f87e4d7c8/resourceGroups/abe2e-westus3/providers/Microsoft.ContainerService/managedClusters/abe2e-kubenet-airgap-64149
        	            	--------------------------------------------------------------------------------
        	            	RESPONSE 400: 400 Bad Request
        	            	ERROR CODE: OperationNotAllowed
        	            	--------------------------------------------------------------------------------
        	            	{
        	            	  "code": "OperationNotAllowed",
        	            	  "details": null,
        	            	  "message": "Operations are not allowed when the managed cluster is not in the Running power state.",
        	            	  "subcode": ""
        	            	}
        	            	--------------------------------------------------------------------------------
        	Test:       	Test_marinerv2AirGap

Check failure on line 1 in Test_marinerv2ARM64AirGap

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Agentbaker E2E

Test_marinerv2ARM64AirGap

Failed
Raw output
    scenario_helpers_test.go:96: running scenario "Test_marinerv2ARM64AirGap" with vhd: "/subscriptions/c4c3550e-a965-4993-a50c-628fd38cd3e1/resourceGroups/aksvhdtestbuildrg/providers/Microsoft.Compute/galleries/PackerSigGalleryEastUS/images/CBLMarinerV2gen2arm64/versions/1.1736962113.18126", tags {Name:Test_marinerv2ARM64AirGap ImageName:CBLMarinerV2gen2arm64 OS:mariner Arch:arm64 Airgap:true GPU:false WASM:false ServerTLSBootstrapping:false Scriptless:false}
    types.go:218: 
        	Error Trace:	/mnt/vss/_work/1/s/e2e/types.go:218
        	            				/mnt/vss/_work/1/s/e2e/scenario_helpers_test.go:59
        	            				/mnt/vss/_work/1/s/e2e/scenario_test.go:339
        	Error:      	Received unexpected error:
        	            	failed to create cluster: failed to begin aks cluster creation: PUT https://management.azure.com/subscriptions/8ecadfc9-d1a3-4ea4-b844-0d9f87e4d7c8/resourceGroups/abe2e-westus3/providers/Microsoft.ContainerService/managedClusters/abe2e-kubenet-airgap-64149
        	            	--------------------------------------------------------------------------------
        	            	RESPONSE 400: 400 Bad Request
        	            	ERROR CODE: OperationNotAllowed
        	            	--------------------------------------------------------------------------------
        	            	{
        	            	  "code": "OperationNotAllowed",
        	            	  "details": null,
        	            	  "message": "Operations are not allowed when the managed cluster is not in the Running power state.",
        	            	  "subcode": ""
        	            	}
        	            	--------------------------------------------------------------------------------
        	Test:       	Test_marinerv2ARM64AirGap