actions / runner-images

GitHub Actions runner images
MIT License
9.12k stars 2.82k forks source link

Ubuntu image build error #9715

Closed jaswant-dnv closed 1 week ago

jaswant-dnv commented 1 week ago

Description

Ubuntu image build error for gpgkey

Platforms affected

Runner images affected

Image version and build link

Image 20240414.1.0

Is it regression?

N/A

Expected behavior

Image build completes

Actual behavior

==> azure-arm.build_image: gpg: keyserver receive failed: Connection timed out ==> azure-arm.build_image: Provisioning step had errors: Running the cleanup provisioner, if present... ==> azure-arm.build_image: ==> azure-arm.build_image: Deleting Virtual Machine deployment and its attatched res

Repro steps

rerun pipeline

Alexey-Ayupov commented 1 week ago

Hello @jaswant-dnv. We aware of the problem with gpg during "Heroku" installation. Do you have the same issue? From the provided log it is not obvious what script cause the issue.

jaswant-dnv commented 1 week ago
azure-arm.build_image: Running tests from '/imagegeneration/tests/Tools.Tests.ps1'
azure-arm.build_image: Describing clang
azure-arm.build_image:   [+] clang 13 263ms (226ms|37ms)
azure-arm.build_image:   [+] clang 14 176ms (174ms|2ms)
azure-arm.build_image:   [+] clang 15 185ms (182ms|3ms)
azure-arm.build_image: Tests completed in 1.45s
azure-arm.build_image: Tests Passed: 3, Failed: 0, Skipped: 0 NotRun: 94

==> azure-arm.build_image: Provisioning with shell script: /agent/_work/1/s/runner-images/images/ubuntu/templates/../scripts/build/install-swift.sh ==> azure-arm.build_image: Downloading package from https://swift.org/builds/swift-5.10-release/ubuntu2204/swift-5.10-RELEASE/swift-5.10-RELEASE-ubuntu22.04.tar.gz to /tmp/swift-5.10-RELEASE-ubuntu22.04.tar.gz...

[debug]Agent environment resources - Disk: / Available 31174.00 MB out of 85160.00 MB, Memory: Used 1330.00 MB out of 15981.00 MB, CPU: Usage 1.42%

==> azure-arm.build_image: Package downloaded in 6 seconds ==> azure-arm.build_image: gpg: directory '/root/.gnupg' created ==> azure-arm.build_image: gpg: keybox '/root/.gnupg/pubring.kbx' created

[debug]Agent environment resources - Disk: / Available 31174.00 MB out of 85160.00 MB, Memory: Used 1334.00 MB out of 15981.00 MB, CPU: Usage 1.41%

[debug]Agent environment resources - Disk: / Available 31174.00 MB out of 85160.00 MB, Memory: Used 1331.00 MB out of 15981.00 MB, CPU: Usage 1.41%

[debug]Agent environment resources - Disk: / Available 31174.00 MB out of 85160.

Alexey-Ayupov commented 1 week ago

Hi @jaswant-dnv. We have fixed the problematic script and now it works in our pipelines. Please update your fork and try again.

If you have other questions feel free to reach us.

jaswant-dnv commented 6 days ago

We still observe same error

==> azure-arm.build_image: Provisioning with shell script: /agent/_work/1/s/runner-images/images/ubuntu/templates/../scripts/build/install-swift.sh ==> azure-arm.build_image: Downloading package from https://swift.org/builds/swift-5.10-release/ubuntu2204/swift-5.10-RELEASE/swift-5.10-RELEASE-ubuntu22.04.tar.gz to /tmp/swift-5.10-RELEASE-ubuntu22.04.tar.gz... ==> azure-arm.build_image: gpg: directory '/root/.gnupg' created ==> azure-arm.build_image: gpg: keybox '/root/.gnupg/pubring.kbx' created ==> azure-arm.build_image: gpg: keyserver receive failed: Connection timed out ==> azure-arm.build_image: Provisioning step had errors: Running the cleanup provisioner, if present... ==> azure-arm.build_image: ==> azure-arm.build_image: Deleting Virtual Machine deployment and its attatched resources

pelu28 commented 5 days ago

error still occuring with same error message as above