Intermittently tempest run fails because SSH connection to instance fails - "ERROR ovsdbapp.backend.ovs_idl.transaction - RevisionConflict: OVN revision number for * (type: ports) is equal or higher than the given resource"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Triaged
|
High
|
Unassigned |
Bug Description
Description
===========
Job periodic-
Tempest error - "SSHException: Error reading SSH protocol banner"
Ovn Error - "ERROR ovsdbapp.
Some example of failed jobs:-
=======
Issue is not consistent but seens ~4-5 in within last month, job build history details:-
Error Snippet
=============
~~~
2020-04-09 02:17:22.883221 | primary | TASK [os_tempest : Generate test-list file] *******
2020-04-09 02:17:22.883312 | primary | Thursday 09 April 2020 02:17:22 +0000 (0:00:01.150) 0:55:32.125 ********
2020-04-09 02:17:27.269093 | primary | ok: [undercloud]
2020-04-09 02:17:27.278638 | primary |
2020-04-09 02:17:27.278709 | primary | PLAY RECAP *******
2020-04-09 02:17:27.278922 | primary | overcloud-
2020-04-09 02:17:27.279058 | primary | overcloud-
2020-04-09 02:17:27.279167 | primary | overcloud-
2020-04-09 02:17:27.279265 | primary | undercloud : ok=42 changed=19 unreachable=0 failed=1 skipped=191 rescued=0 ignored=0
2020-04-09 02:17:27.279283 | primary |
2020-04-09 02:17:27.279348 | primary | Thursday 09 April 2020 02:17:27 +0000 (0:00:04.396) 0:55:36.522 ********
2020-04-09 02:17:27.279406 | primary | =======
2020-04-09 02:17:27.280681 | primary | os_tempest : Execute tempest tests -------
2020-04-09 02:17:27.280873 | primary | os_tempest : Install distro packages -------
2020-04-09 02:17:27.280920 | primary | os_tempest : Executing python-tempestconf -------
2020-04-09 02:17:27.281004 | primary | os_tempest : Create router -------
2020-04-09 02:17:27.281057 | primary | os_tempest : List tempest tests -------
2020-04-09 02:17:27.281153 | primary | os_tempest : Add tempest users -------
2020-04-09 02:17:27.281213 | primary | os_tempest : Ensure private network exists -------
2020-04-09 02:17:27.281259 | primary | os_tempest : Add tempest projects -------
2020-04-09 02:17:27.281303 | primary | os_tempest : Generate test-list file -------
2020-04-09 02:17:27.281347 | primary | os_tempest : Ensure public subnet exists -------
2020-04-09 02:17:27.281392 | primary | Gathering Facts -------
2020-04-09 02:17:27.281435 | primary | os_tempest : Ensure public network exists -------
2020-04-09 02:17:27.281479 | primary | os_tempest : Ensure private subnet exists -------
2020-04-09 02:17:27.281524 | primary | os_tempest : Generate tempest test whitelist -------
2020-04-09 02:17:27.281568 | primary | os_tempest : Override tempestconf profile -------
2020-04-09 02:17:27.281612 | primary | os_tempest : Generate tempest test blacklist -------
2020-04-09 02:17:27.281656 | primary | os_tempest : Initialise tempest workspace -------
2020-04-09 02:17:27.281700 | primary | os_tempest : Create tempest directories -------
2020-04-09 02:17:27.281744 | primary | os_tempest : Get the admin user project id -------
2020-04-09 02:17:27.281830 | primary | Copy clouds.yaml file from user's home to /root directory --------------- 2.02s
2020-04-09 02:17:27.410939 | primary | +(./toci_
2020-04-09 02:17:27.411603 | primary | +(./toci_
2020-04-09 02:17:27.411710 | primary | +(./toci_
2020-04-09 02:17:27.411853 | primary | +(./toci_
2020-04-09 02:17:27.411955 | primary | Playbook run of baremetal-
~~~
Tempest logs:-
=============
~~~
2020-04-09 02:08:48.535 359177 ERROR paramiko.transport [-] Traceback (most recent call last):: SSHException: Error reading SSH protocol banner
2020-04-09 02:08:48.535 359177 ERROR paramiko.transport [-] File "/usr/lib/
2020-04-09 02:08:48.535 359177 ERROR paramiko.transport [-] self._check_
2020-04-09 02:08:48.535 359177 ERROR paramiko.transport [-] File "/usr/lib/
2020-04-09 02:08:48.536 359177 ERROR paramiko.transport [-] "Error reading SSH protocol banner" + str(e): SSHException: Error reading SSH protocol banner
2020-04-09 02:08:48.536 359177 ERROR paramiko.transport [-] SSHException: Error reading SSH protocol banner: SSHException: Error reading SSH protocol banner
2020-04-09 02:08:48.536 359177 ERROR paramiko.transport [-] : SSHException: Error reading SSH protocol banner
2020-04-09 02:08:48.570 359177 WARNING tempest.
2020-04-09 02:08:53.130 359178 WARNING tempest.
2020-04-09 02:08:54.075 359177 INFO tempest.
~~~
OVN logs:-
========
~~~
2020-04-09 02:03:05.229 32 ERROR ovsdbapp.
File "/usr/lib/
txn.
File "/usr/lib/
command.
File "/usr/lib/
resource_
RevisionConflict: OVN revision number for d1c27633-
~~~
tags: | added: alert |
Hi,
Found one interesting log:-
https:/ /logserver. rdoproject. org/openstack- periodic- latest- released/ opendev. org/openstack/ tripleo- ci/master/ periodic- tripleo- ci-centos- 7-ovb-1ctlr_ 2comp-featurese t020-train/ 8f33a89/ logs/undercloud /var/log/ tempest/ tempest_ run.log. txt.gz
~~~ tempest_ plugin. scenario. test_trunk. TrunkTest. test_trunk_ subport_ lifecycle [199.260836s] ... FAILED
{0} neutron_
Captured traceback: python2. 7/site- packages/ neutron_ tempest_ plugin/ scenario/ test_trunk. py", line 221, in test_trunk_ subport_ lifecycle
self._ wait_for_ port(port) python2. 7/site- packages/ neutron_ tempest_ plugin/ scenario/ test_trunk. py", line 141, in _wait_for_port format( port['id' ], status))) python2. 7/site- packages/ neutron_ tempest_ plugin/ common/ utils.py" , line 82, in wait_until_true aaba-4067- bbc3-22eea33012 c8' to transition to get status 'ACTIVE'.
~~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
File "/usr/lib/
File "/usr/lib/
"status {!r}.".
File "/usr/lib/
raise exception
RuntimeError: Timed out waiting for port u'2ff1e990-