ubuntu 24.04 - Script exited with non-zero exit status: 1. #11649
Replies: 6 comments
-
Hi @Malaw80s , Thank you for bringing this issue to our attention. We will look into this issue and will update you after investigating. |
Beta Was this translation helpful? Give feedback.
-
Hi @Malaw80s , Ubuntu-24 image has been rolled out, could you please try to build the image. If error , kindly revert with sample workflow or the pipeline build for issue resolution. Thanks |
Beta Was this translation helpful? Give feedback.
-
Hi @vidyasagarnimmagaddi it's still failing at the same point. |
Beta Was this translation helpful? Give feedback.
-
HI @Malaw80s , We are not facing issue in image build, Kindly share the repro-steps which you have followed. |
Beta Was this translation helpful? Give feedback.
-
Hi @vidyasagarnimmagaddi $env:VNET_RESOURCE_GROUP= 'sample' Import-Module $(System.DefaultWorkingDirectory)/_actions_runner-images/helpers/GenerateResourcesAndImage.ps1 but it's failing at this point with the errors I shared above |
Beta Was this translation helpful? Give feedback.
-
Hi @Malaw80s . This issue is not related to runner-image repository. It seems like an issue with permissions in your cloud(service connection,permissions, contributor access etc..) Hence we are moving this to discussion. |
Beta Was this translation helpful? Give feedback.
-
Description
Hello,
I'm trying to create an image for ubuntu 24.04 but it's keep failing with error below
2025-02-11T19:15:47.6735734Z �[0;32m azure-arm.build_image: More info: https://launchpad.net/~git-core/+archive/ubuntu/ppa�[0m
2025-02-11T19:15:47.6736078Z �[0;32m azure-arm.build_image: Removing repository.�[0m
2025-02-11T19:15:47.6737813Z �[0;32m azure-arm.build_image: Removing entry from /etc/apt/sources.list.d/git-core-ubuntu-ppa-noble.sources�[0m
2025-02-11T19:15:52.8335039Z �[1;31m==> azure-arm.build_image: Script exited with non-zero exit status: 1. Allowed exit codes are: [0]�[0m
2025-02-11T19:15:52.8346312Z �[1;32m==> azure-arm.build_image: Step "StepProvision" failed�[0m
2025-02-11T19:15:52.8346712Z �[1;32m==> azure-arm.build_image: Provisioning step had errors: Running the cleanup provisioner, if present...�[0m
2025-02-11T19:15:52.8346992Z �[1;32m==> azure-arm.build_image:
Platforms affected
Runner images affected
Image version and build link
[RESOURCENAME] --> [Runner-Image-Ubuntu2404]
Is it regression?
no
Expected behavior
it should finish creating the image
Actual behavior
2025-02-11T19:15:47.6735367Z �[0;32m azure-arm.build_image: For release candidates, go to https://launchpad.net/~git-core/+archive/candidate .�[0m
2025-02-11T19:15:47.6735734Z �[0;32m azure-arm.build_image: More info: https://launchpad.net/~git-core/+archive/ubuntu/ppa�[0m
2025-02-11T19:15:47.6736078Z �[0;32m azure-arm.build_image: Removing repository.�[0m
2025-02-11T19:15:47.6737813Z �[0;32m azure-arm.build_image: Removing entry from /etc/apt/sources.list.d/git-core-ubuntu-ppa-noble.sources�[0m
2025-02-11T19:15:52.8335039Z �[1;31m==> azure-arm.build_image: Script exited with non-zero exit status: 1. Allowed exit codes are: [0]�[0m
2025-02-11T19:15:52.8346312Z �[1;32m==> azure-arm.build_image: Step "StepProvision" failed�[0m
2025-02-11T19:15:52.8346712Z �[1;32m==> azure-arm.build_image: Provisioning step had errors: Running the cleanup provisioner, if present...�[0m
2025-02-11T19:15:52.8346992Z �[1;32m==> azure-arm.build_image:
2025-02-11T19:15:52.8347232Z ==> azure-arm.build_image: Deleting Virtual Machine deployment and its attatched resources...�[0m
Repro steps
we are running an azure pipeline
with a powershell script
Import-Module $(System.DefaultWorkingDirectory)/_actions_runner-images/helpers/GenerateResourcesAndImage.ps1 (ResourceGroupName)" -ImageGenerationRepositoryRoot "$(System.DefaultWorkingDirectory)/_actions_runner-images" -ImageType (AzureLocation)" -AzureClientId (AzureClientSecret) -AzureTenantId $(AzureTenantId) -Force
GenerateResourcesAndImage -SubscriptionId
Beta Was this translation helpful? Give feedback.
All reactions