adoptium / infrastructure

This repo contains all information about machine maintenance.
Apache License 2.0
84 stars 100 forks source link

Ansible bug: GPG Verification Of Ant Download Hangs Playbook Execution. #3638

Closed steelhead31 closed 1 day ago

steelhead31 commented 3 days ago

Details:

The current Windows playbook fails to complete, on Vagrantm GitHubActions or Azure VMs.

The GPG verification of the Ant binary hangs when importing the gpg key from the keyserver.

steelhead31 commented 3 days ago

After investigation, the gpg key import hangs, as it starts two background process dirmngr, and gpg-agent. These processes prevent ansible from continuing the play, as they run indefinitely.

steelhead31 commented 3 days ago

I've tested many methods of importing the keys, versions of gpg and the 2 switches that may have helped are no longer present. Disabling the binaries via CHMOD alongside using a file import, rather than a URL import appears to work consistently without hanging.