test: General retry mechanism for certain VM failures
test: General retry mechanism for certain VM failures

Including a VM that fails to get an address from the DHCP server.
Retry these failures 5 times. Include libvirt domain name collision
in the same logic, but only for dynamically generated names.

Closes #3141
Reviewed-by: Marius Vollmer <bb11c6e942c5cc765df5f04da146b3198127a7a3@redhat.com>

moraleslazaro/cockpit,vanloswang/cockpit,deryni/cockpit,dperpeet/cockpit,stefwalter/cockpit,garrett/cockpit,jscotka/cockpit,larskarlitski/cockpit,michalskrivanek/cockpit,sgallagher/cockpit,stefwalter/cockpit,Scribery/cockpit,cockpituous/cockpit,sgallagher/cockpit,SotolitoLabs/cockpit,FireDrunk/cockpit,larsu/cockpit,andreasn/cockpit,matobet/cockpit,dperpeet/cockpit,jscotka/cockpit,dperpeet/cockpit,deryni/cockpit,vanloswang/cockpit,garrett/cockpit,matobet/cockpit,deryni/cockpit,mvollmer/cockpit,Scribery/cockpit,moraleslazaro/cockpit,xhad/cockpit,moraleslazaro/cockpit,stefwalter/cockpit,sgallagher/cockpit,cockpituous/cockpit,xhad/cockpit,sgallagher/cockpit,harishanand95/cockpit,cockpit-project/cockpit,larskarlitski/cockpit,mvollmer/cockpit,arilivigni/cockpit,jscotka/cockpit,martinpitt/cockpit,dperpeet/cockpit,xhad/cockpit,Scribery/cockpit,sgallagher/cockpit,petervo/cockpit,petervo/cockpit,larsu/cockpit,larskarlitski/cockpit,FireDrunk/cockpit,michalskrivanek/cockpit,vanloswang/cockpit,matobet/cockpit,petervo/cockpit,arilivigni/cockpit,martinpitt/cockpit,xhad/cockpit,garrett/cockpit,dperpeet/cockpit,arilivigni/cockpit,SotolitoLabs/cockpit,arilivigni/cockpit,harishanand95/cockpit,cockpit-project/cockpit,dperpeet/cockpit,matobet/cockpit,mareklibra/cockpit,andreasn/cockpit,mareklibra/cockpit,Scribery/cockpit,FireDrunk/cockpit,dperpeet/cockpit,deryni/cockpit,arilivigni/cockpit,SotolitoLabs/cockpit,stefwalter/cockpit,larsu/cockpit,matobet/cockpit,cockpituous/cockpit,mvollmer/cockpit,vanloswang/cockpit,moraleslazaro/cockpit,larsu/cockpit,petervo/cockpit,xhad/cockpit,cockpituous/cockpit,petervo/cockpit,moraleslazaro/cockpit,sgallagher/cockpit,cockpituous/cockpit,michalskrivanek/cockpit,sgallagher/cockpit,martinpitt/cockpit,andreasn/cockpit,jscotka/cockpit,mareklibra/cockpit,vanloswang/cockpit,cockpit-project/cockpit,arilivigni/cockpit,SotolitoLabs/cockpit,mareklibra/cockpit,SotolitoLabs/cockpit,andreasn/cockpit,SotolitoLabs/cockpit,harishanand95/cockpit,moraleslazaro/cockpit,michalskrivanek/cockpit,harishanand95/cockpit,deryni/cockpit,FireDrunk/cockpit,andreasn/cockpit,harishanand95/cockpit,larskarlitski/cockpit,mareklibra/cockpit,Scribery/cockpit,Scribery/cockpit,stefwalter/cockpit,martinpitt/cockpit,mvollmer/cockpit,andreasn/cockpit,larsu/cockpit,xhad/cockpit,martinpitt/cockpit,matobet/cockpit,petervo/cockpit,jscotka/cockpit,vanloswang/cockpit,cockpit-project/cockpit,larskarlitski/cockpit,larskarlitski/cockpit,cockpit-project/cockpit,harishanand95/cockpit,michalskrivanek/cockpit,andreasn/cockpit,michalskrivanek/cockpit,cockpituous/cockpit,stefwalter/cockpit,garrett/cockpit,jscotka/cockpit,mareklibra/cockpit,deryni/cockpit,arilivigni/cockpit,deryni/cockpit,vanloswang/cockpit,stefwalter/cockpit,xhad/cockpit,garrett/cockpit,harishanand95/cockpit,SotolitoLabs/cockpit,moraleslazaro/cockpit,petervo/cockpit,larskarlitski/cockpit,michalskrivanek/cockpit,Scribery/cockpit,mareklibra/cockpit,FireDrunk/cockpit,mvollmer/cockpit,larsu/cockpit