Hi,
From time to time, I see the following failure of a network test.
I understood from Ed that it is a CI known issue.
Would appreciate if this can be fixed ASAP. Thanks.
09:59:56 self = <network.integration.ovs.ovs_info_test.TestOvsInfo testMethod=test_ovs_info_with_sb_nic>
09:59:56
09:59:56 def test_ovs_info_with_sb_nic(self):
09:59:56 with dummy_device() as nic:
09:59:56 > with _setup_ovs_network(self.ovsdb, nic):
09:59:56
09:59:56 network/integration/ovs/ovs_info_test.py:78:
09:59:56 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
09:59:56 /usr/lib64/python2.7/contextlib.py:17: in __enter__
09:59:56 return self.gen.next()
09:59:56 network/integration/ovs/ovs_info_test.py:63: in _setup_ovs_network
09:59:56 t.add(*_northbound_port())
09:59:56 ../lib/vdsm/network/ovs/driver/__init__.py:46: in __exit__
09:59:56 self.result = self.commit()
09:59:56 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
09:59:56
09:59:56 self = <vdsm.network.ovs.driver.vsctl.Transaction object at 0x7fdbab22db50>
09:59:56
09:59:56 def commit(self):
09:59:56 if not self.commands:
09:59:56 return
09:59:56
09:59:56 timeout_option = []
09:59:56 if self.timeout:
09:59:56 timeout_option = ['--timeout=' + str(self.timeout)]
09:59:56
09:59:56 args = []
09:59:56 for command in self.commands:
09:59:56 args += ['--'] + command.cmd
09:59:56 exec_line = [_ovs_vsctl_cmd()] + timeout_option + OUTPUT_FORMAT + args
09:59:56 logging.debug('Executing commands: %s' % ' '.join(exec_line))
09:59:56
09:59:56 rc, out, err = netcmd.exec_sync(exec_line)
09:59:56 if rc != 0:
09:59:56 err = err.splitlines()
09:59:56 if OvsDBConnectionError.is_ovs_db_conn_error(err):
09:59:56 raise OvsDBConnectionError('\n'.join(err))
09:59:56 else:
09:59:56 raise ConfigNetworkError(
09:59:56 ne.ERR_BAD_PARAMS,
09:59:56 > 'Executing commands failed: %s' % '\n'.join(err))
09:59:56 E ConfigNetworkError: (21, 'Executing commands failed: ovs-vsctl: cannot create a bridge named vdsmbr_test because a bridge named vdsmbr_test already exists')
09:59:56
09:59:56 ../lib/vdsm/network/ovs/driver/vsctl.py:78: ConfigNetworkError