ansible / ansible-zuul-jobs

Zuul job definitions for the Ansible tenant.
Apache License 2.0
23 stars 43 forks source link

KVM / virt nodes ? #654

Open apatard opened 4 years ago

apatard commented 4 years ago

molecule-vagrant is needing support for virtualization and from time to time, the tests are failing due to missing support for virtualization. The tests are failing like this:

centos-8 | Error while creating domain: Error saving the server: Call to virDomainDefineXML failed: invalid argument: could not find capabilities for domaintype=kvm

(ref: https://dashboard.zuul.ansible.com/t/ansible/build/426dd647e97141b9b87f49b6a4c4b364/log/job-output.txt)

Not only it makes the testsuite fail randomly, but it's also a waste of resources. Is there a way to run tests only on hosts providing virtualization ?

ssbarnea commented 4 years ago

@pabelanger @goneri Can you please help/advise with this? This job really needs virtualization support, maybe we have specific nodesets we can mention to avoid failing randomly.

@apatard Were you able to find failures on other nodes than centos-8 or is specific to them? -- I see jobs running on other platforms at https://github.com/ansible-community/molecule-vagrant/blob/master/zuul.d/layout.yaml#L14-L17

apatard commented 4 years ago

No, it's not specific to centos. For instance, this old log on fedora: https://dashboard.zuul.ansible.com/t/ansible/build/8218cc176f9f401fbdbe16fe07b4f2a9/log/job-output.txt

goneri commented 4 years ago

I removed centos-8 from AWS for now, https://github.com/ansible-network/windmill-config/pull/740. I will see later how we can properly identify the nodes with the kvm capability and the others (EC2).

goneri commented 3 years ago

See: https://github.com/ansible-network/windmill-config/pull/743