Comment 23 for bug 1834637

Revision history for this message
Flavio Fernandes (ffernand) wrote :

I had these loops running over the weekend [1] and was unable to reproduce the bug after applying the 686571 changes in patchset 2.

As you can see in the output below [2], I did see some failures in test, but they were all related to nova unable to ssh into a vm [3] after creation; which I consider outside the scope of bug 1834637.

[1]:

# main shell session
while : ; do \
   cd /opt/stack/tempest && while [ $? -eq 0 ]; \
   do sleep 1 ; echo '' ; date +"%D %T %Z" | tee -a /vagrant/tempest.log ; \
   tempest run --regex \
      neutron_tempest_plugin.scenario.test_trunk.TrunkTest.test_trunk_subport_lifecycle 2>&1 | tee -a /vagrant/tempest.log ; \
   done ; \
   sleep 30 ; \
done

# on another session
while : ; do openstack port list ; sleep 1 ; done

# on another session
while : ; do openstack port create --network private blablabla ; \
sleep 3 ; openstack port delete blablabla && echo deleted ; sleep 3 ; done

[2]:

$ ls -lah tempest.log
-rw-r--r-- 1 flaviof flaviof 3.4M Oct 7 04:59 tempest.log
$ grep -c "... ok" tempest.log
2340
$ grep -c "... FAILED" tempest.log
27

[3]:

$ grep -c 'File "tempest/lib/common/ssh.py", line 107, in _get_ssh_connection' tempest.log
54 <== 2 failed attempts for each one of the 27 failed tests

See attached log for more details.