This will simplify debugging in cases when we need to know how test vm was configured.
nice idea, but wouldn't be better to use logger.info then it would show this information as we already display the command to ssh and other useful information when we set TEST_DEBUG=1.
logger.info
TEST_DEBUG=1
This is what is currently being shown:
[INFO ] standard-inventory-qcow2: Launching virtual machine for /home/images/rhel-guest-image-8.1.0.qcow2 [INFO ] standard-inventory-qcow2: qemu-kvm is using virtio-rng device [INFO ] standard-inventory-qcow2: qemu-kvm is running with VNC server. PID: 7637 [INFO ] standard-inventory-qcow2: netstat -ltpn4 | grep 7637 # to find VNC server port [INFO ] standard-inventory-qcow2: ssh -p 3655 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i /tmp/inventory-cloudgux3th4j/identity root@127.0.0.3 [INFO ] standard-inventory-qcow2: Password is: foobar [INFO ] standard-inventory-qcow2: Cloudinit init location: /tmp/inventory-cloudgux3th4j [INFO ] standard-inventory-qcow2: export ANSIBLE_INVENTORY=/tmp/inventory-cloudgux3th4j/inventory [INFO ] standard-inventory-qcow2: Wait until parent for provision-script (ansible-playbook) dies or qemu.
Fixed in https://pagure.io/standard-test-roles/pull-request/351
Pull-Request has been closed by bookwar
This will simplify debugging in cases when we need to know how test vm was configured.