Add additional logging to test 1940

Test 1940 occasionally times out on test servers. Add additional
logging to the test so we can figure out where exactly it is getting
stuck.

Test: ./test.py --host -j50
Bug: 70988713
Change-Id: I04e5e9ecbc02907f8606c4a14578994d5f53de45
2 files changed