Closed jaswant-dnv closed 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.
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...
==> 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
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.
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
error still occuring with same error message as above
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