[vdsm][network] false test failiures in CI

Hi there, recently some patches of mine failed on CI with this error which is totally unrelated and which seems bogus. Could some network developer please have a look and improve the current state? :) https://gerrit.ovirt.org/#/c/87881/ 19:43:33 ====================================================================== 19:43:33 ERROR: test_list_ipv4_ipv6 (network.ip_address_test.IPAddressTest) 19:43:33 ---------------------------------------------------------------------- 19:43:33 Traceback (most recent call last): 19:43:33 File "/home/jenkins/workspace/vdsm_4.2_check-patch-fc27-x86_64/vdsm/tests/testValidation.py", line 330, in wrapper 19:43:33 return f(*args, **kwargs) 19:43:33 File "/home/jenkins/workspace/vdsm_4.2_check-patch-fc27-x86_64/vdsm/tests/network/ip_address_test.py", line 289, in test_list_ipv4_ipv6 19:43:33 ipv6_addresses=[IPV6_B_WITH_PREFIXLEN] 19:43:33 File "/home/jenkins/workspace/vdsm_4.2_check-patch-fc27-x86_64/vdsm/tests/network/ip_address_test.py", line 297, in _test_list 19:43:33 address.IPAddressData(addr, device=nic)) 19:43:33 File "/home/jenkins/workspace/vdsm_4.2_check-patch-fc27-x86_64/vdsm/lib/vdsm/network/ip/address/iproute2.py", line 40, in add 19:43:33 addr_data.address, addr_data.prefixlen, addr_data.family 19:43:33 File "/usr/lib64/python2.7/contextlib.py", line 35, in __exit__ 19:43:33 self.gen.throw(type, value, traceback) 19:43:33 File "/home/jenkins/workspace/vdsm_4.2_check-patch-fc27-x86_64/vdsm/lib/vdsm/network/ip/address/iproute2.py", line 91, in _translate_iproute2_exception 19:43:33 new_exception, new_exception(str(address_data), error_message), tb) 19:43:33 File "/home/jenkins/workspace/vdsm_4.2_check-patch-fc27-x86_64/vdsm/lib/vdsm/network/ip/address/iproute2.py", line 86, in _translate_iproute2_exception 19:43:33 yield 19:43:33 File "/home/jenkins/workspace/vdsm_4.2_check-patch-fc27-x86_64/vdsm/lib/vdsm/network/ip/address/iproute2.py", line 40, in add 19:43:33 addr_data.address, addr_data.prefixlen, addr_data.family 19:43:33 File "/home/jenkins/workspace/vdsm_4.2_check-patch-fc27-x86_64/vdsm/lib/vdsm/network/ipwrapper.py", line 561, in addrAdd 19:43:33 _exec_cmd(command) 19:43:33 File "/home/jenkins/workspace/vdsm_4.2_check-patch-fc27-x86_64/vdsm/lib/vdsm/network/ipwrapper.py", line 482, in _exec_cmd 19:43:33 raise exc(returnCode, error.splitlines()) 19:43:33 IPAddressAddError: ("IPAddressData(device='dummy_ZVN3L' address=IPv6Interface(u'2002:99::1/64') scope=None flags=None)", 'RTNETLINK answers: Permission denied') I had other failures, but they look like known issues (mkimage, no port on protocol detector) -- Francesco Romani Senior SW Eng., Virtualization R&D Red Hat IRC: fromani github: @fromanirh

Looks like IPv6 is disabled on that slave, therefore all IPv6 related tests failed. We will add a test to check IPv6 availability so we can easily detect this in advance, but we do require IPv6 to be available. Opening a ticker with infra-support. On Tue, Feb 20, 2018 at 1:20 PM, Francesco Romani <fromani@redhat.com> wrote:
Hi there,
recently some patches of mine failed on CI with this error which is totally unrelated and which seems bogus.
Could some network developer please have a look and improve the current state? :)
https://gerrit.ovirt.org/#/c/87881/
19:43:33 ====================================================================== 19:43:33 ERROR: test_list_ipv4_ipv6 (network.ip_address_test.IPAddressTest) 19:43:33 ---------------------------------------------------------------------- 19:43:33 Traceback (most recent call last): 19:43:33 File "/home/jenkins/workspace/vdsm_4.2_check-patch-fc27-x86_64/ vdsm/tests/testValidation.py", line 330, in wrapper 19:43:33 return f(*args, **kwargs) 19:43:33 File "/home/jenkins/workspace/vdsm_4.2_check-patch-fc27-x86_64/ vdsm/tests/network/ip_address_test.py", line 289, in test_list_ipv4_ipv6 19:43:33 ipv6_addresses=[IPV6_B_WITH_PREFIXLEN] 19:43:33 File "/home/jenkins/workspace/vdsm_4.2_check-patch-fc27-x86_64/ vdsm/tests/network/ip_address_test.py", line 297, in _test_list 19:43:33 address.IPAddressData(addr, device=nic)) 19:43:33 File "/home/jenkins/workspace/vdsm_4.2_check-patch-fc27-x86_64/ vdsm/lib/vdsm/network/ip/address/iproute2.py", line 40, in add 19:43:33 addr_data.address, addr_data.prefixlen, addr_data.family 19:43:33 File "/usr/lib64/python2.7/contextlib.py", line 35, in __exit__ 19:43:33 self.gen.throw(type, value, traceback) 19:43:33 File "/home/jenkins/workspace/vdsm_4.2_check-patch-fc27-x86_64/ vdsm/lib/vdsm/network/ip/address/iproute2.py", line 91, in _translate_iproute2_exception 19:43:33 new_exception, new_exception(str(address_data), error_message), tb) 19:43:33 File "/home/jenkins/workspace/vdsm_4.2_check-patch-fc27-x86_64/ vdsm/lib/vdsm/network/ip/address/iproute2.py", line 86, in _translate_iproute2_exception 19:43:33 yield 19:43:33 File "/home/jenkins/workspace/vdsm_4.2_check-patch-fc27-x86_64/ vdsm/lib/vdsm/network/ip/address/iproute2.py", line 40, in add 19:43:33 addr_data.address, addr_data.prefixlen, addr_data.family 19:43:33 File "/home/jenkins/workspace/vdsm_4.2_check-patch-fc27-x86_64/ vdsm/lib/vdsm/network/ipwrapper.py", line 561, in addrAdd 19:43:33 _exec_cmd(command) 19:43:33 File "/home/jenkins/workspace/vdsm_4.2_check-patch-fc27-x86_64/ vdsm/lib/vdsm/network/ipwrapper.py", line 482, in _exec_cmd 19:43:33 raise exc(returnCode, error.splitlines()) 19:43:33 IPAddressAddError: ("IPAddressData(device='dummy_ZVN3L' address=IPv6Interface(u'2002:99::1/64') scope=None flags=None)", 'RTNETLINK answers: Permission denied')
I had other failures, but they look like known issues (mkimage, no port on protocol detector)
-- Francesco Romani Senior SW Eng., Virtualization R&D Red Hat IRC: fromani github: @fromanirh
participants (2)
-
Edward Haas
-
Francesco Romani