setup_test_environment.sh: When setting up the virtual interface, it might
result in failure depending on what physical device is used. This commits
makes the script retry until there is a success. If there is no suitable
device, it will report a failure.

This is a round-about that should be further investigated. the ideal is
that the tool creates its own interface so that it doesn't depend on
the current ones in the machine.