[ovirt-devel] [VDSM] Network test failing randomly - needs un-ordered compare?

Nir Soffer nsoffer at redhat.com
Fri Mar 30 11:13:29 UTC 2018


We have this failure in unrelated patch:

http://jenkins.ovirt.org/job/vdsm_master_check-patch-el7-x86_64/22723/consoleFull


The issue seems to comparing strings instead of sets.


The next run was successful. I did not check if it run on the same slave.

http://jenkins.ovirt.org/job/vdsm_master_check-patch-el7-x86_64/22724/


*00:08:51.242* =================================== FAILURES
===================================

*00:08:51.243* ________________
LinkBondTests.test_bond_set_two_arp_ip_targets
________________*00:08:51.243* *00:08:51.243* self =
<network.integration.link_bond_test.LinkBondTests
testMethod=test_bond_set_two_arp_ip_targets>*00:08:51.244*
*00:08:51.244*     def
test_bond_set_two_arp_ip_targets(self):*00:08:51.244*         OPTIONS
= {*00:08:51.244*             'mode': '1',*00:08:51.245*
'arp_interval': '1000',*00:08:51.245*             'arp_ip_target':
'10.1.3.1,10.1.2.1'}*00:08:51.245*     *00:08:51.245*         with
bond_device() as bond:*00:08:51.245*
bond.set_options(OPTIONS)*00:08:51.246*
bond.refresh()*00:08:51.246* >
self.assertEqual(bond.options, OPTIONS)*00:08:51.246* E
AssertionError: {'mode': '1', 'arp_interval': '1000', 'arp_ip_target':
'10.1.2.1,10.1.3.1'} != {'mode': '1', 'arp_interval': '1000',
'arp_ip_target': '10.1.3.1,10.1.2.1'}*00:08:51.248* E           -
{'arp_interval': '1000', 'arp_ip_target': '10.1.2.1,10.1.3.1', 'mode':
'1'}*00:08:51.248* E           ?
             ---------*00:08:51.249* E           *00:08:51.249* E
     + {'arp_interval': '1000', 'arp_ip_target': '10.1.3.1,10.1.2.1',
'mode': '1'}*00:08:51.249* E           ?
             +++++++++*00:08:51.250* *00:08:51.250*
network/integration/link_bond_test.py:159:
AssertionError*00:08:51.250* ------------------------------ Captured
log call -------------------------------*00:08:51.251* sysfs_driver.py
            57 INFO     Bond bond_ge9DfJ has been
created.*00:08:51.251* cmdutils.py                150 DEBUG
/sbin/ip link set dev bond_ge9DfJ down (cwd None)*00:08:51.252*
cmdutils.py                158 DEBUG    SUCCESS: <err> = ''; <rc> =
0*00:08:51.252* sysfs_driver.py            102 INFO     Bond
bond_ge9DfJ options set: {'mode': '1', 'arp_interval': '1000',
'arp_ip_target': '10.1.3.1,10.1.2.1'}.*00:08:51.253* sysfs_driver.py
          67 INFO     Bond bond_ge9DfJ has been
destroyed.*00:08:51.254* =============== 1 failed, 36 passed, 12
skipped in 10.57 seconds ===============
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/devel/attachments/20180330/3fe0e2f7/attachment.html>


More information about the Devel mailing list