yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #64820
[Bug 1697833] [NEW] func: neutron.agent.linux.utils.ProcessExecutionError: Exit code: 255; Stdin: ; Stdout: ; Stderr: Unable to create lock file /run/ebtables.lock.
Public bug reported:
http://logs.openstack.org/21/473721/2/gate/gate-neutron-dsvm-functional-
ubuntu-xenial/788a8a8/testr_results.html.gz
neutron.tests.functional.agent.linux.test_linuxbridge_arp_protect.LinuxBridgeARPSpoofTestCase
test_arp_correct_protection
traceback-1: {{{
Traceback (most recent call last):
File "neutron/tests/functional/agent/linux/test_linuxbridge_arp_protect.py", line 44, in _ensure_rules_cleaned
self.assertEqual([], rules, 'Test leaked ebtables rules')
File "/opt/stack/new/neutron/.tox/dsvm-functional/local/lib/python2.7/site-packages/testtools/testcase.py", line 411, in assertEqual
self.assertThat(observed, matcher, message)
File "/opt/stack/new/neutron/.tox/dsvm-functional/local/lib/python2.7/site-packages/testtools/testcase.py", line 498, in assertThat
raise mismatch_error
testtools.matchers._impl.MismatchError: !=:
reference = []
actual = [u'-i test-veth0d943e -j neutronMAC-test-veth0d943e',
u'-i test-veth0d943e --among-src fa:16:3e:7f:c8:97, -j RETURN ',
u'-p ARP --arp-ip-src 192.168.0.1 -j ACCEPT ']
: Test leaked ebtables rules
}}}
Traceback (most recent call last):
File "neutron/tests/base.py", line 118, in func
return f(self, *args, **kwargs)
File "neutron/tests/functional/agent/linux/test_linuxbridge_arp_protect.py", line 62, in test_arp_correct_protection
self._add_arp_protection(self.source, [self.source.ip])
File "neutron/tests/functional/agent/linux/test_linuxbridge_arp_protect.py", line 53, in _add_arp_protection
arp_protect.setup_arp_spoofing_protection(name, port_dict)
File "neutron/plugins/ml2/drivers/linuxbridge/agent/arp_protect.py", line 57, in setup_arp_spoofing_protection
install_arp_spoofing_protection(vif, addresses, current_rules)
File "/opt/stack/new/neutron/.tox/dsvm-functional/local/lib/python2.7/site-packages/oslo_concurrency/lockutils.py", line 271, in inner
return f(*args, **kwargs)
File "neutron/plugins/ml2/drivers/linuxbridge/agent/arp_protect.py", line 114, in install_arp_spoofing_protection
vif_chain, '-p', 'ARP'])
File "neutron/plugins/ml2/drivers/linuxbridge/agent/arp_protect.py", line 194, in ebtables
return execute(['ebtables', '--concurrent'] + comm, run_as_root=True)
File "neutron/agent/linux/ip_lib.py", line 900, in execute
log_fail_as_error=log_fail_as_error, **kwargs)
File "neutron/agent/linux/utils.py", line 151, in execute
raise ProcessExecutionError(msg, returncode=returncode)
neutron.agent.linux.utils.ProcessExecutionError: Exit code: 255; Stdin: ; Stdout: ; Stderr: Unable to create lock file /run/ebtables.lock.
** Affects: neutron
Importance: Critical
Status: New
** Tags: functional-tests gate-failure
** Changed in: neutron
Importance: Undecided => Critical
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1697833
Title:
func: neutron.agent.linux.utils.ProcessExecutionError: Exit code: 255;
Stdin: ; Stdout: ; Stderr: Unable to create lock file
/run/ebtables.lock.
Status in neutron:
New
Bug description:
http://logs.openstack.org/21/473721/2/gate/gate-neutron-dsvm-
functional-ubuntu-xenial/788a8a8/testr_results.html.gz
neutron.tests.functional.agent.linux.test_linuxbridge_arp_protect.LinuxBridgeARPSpoofTestCase
test_arp_correct_protection
traceback-1: {{{
Traceback (most recent call last):
File "neutron/tests/functional/agent/linux/test_linuxbridge_arp_protect.py", line 44, in _ensure_rules_cleaned
self.assertEqual([], rules, 'Test leaked ebtables rules')
File "/opt/stack/new/neutron/.tox/dsvm-functional/local/lib/python2.7/site-packages/testtools/testcase.py", line 411, in assertEqual
self.assertThat(observed, matcher, message)
File "/opt/stack/new/neutron/.tox/dsvm-functional/local/lib/python2.7/site-packages/testtools/testcase.py", line 498, in assertThat
raise mismatch_error
testtools.matchers._impl.MismatchError: !=:
reference = []
actual = [u'-i test-veth0d943e -j neutronMAC-test-veth0d943e',
u'-i test-veth0d943e --among-src fa:16:3e:7f:c8:97, -j RETURN ',
u'-p ARP --arp-ip-src 192.168.0.1 -j ACCEPT ']
: Test leaked ebtables rules
}}}
Traceback (most recent call last):
File "neutron/tests/base.py", line 118, in func
return f(self, *args, **kwargs)
File "neutron/tests/functional/agent/linux/test_linuxbridge_arp_protect.py", line 62, in test_arp_correct_protection
self._add_arp_protection(self.source, [self.source.ip])
File "neutron/tests/functional/agent/linux/test_linuxbridge_arp_protect.py", line 53, in _add_arp_protection
arp_protect.setup_arp_spoofing_protection(name, port_dict)
File "neutron/plugins/ml2/drivers/linuxbridge/agent/arp_protect.py", line 57, in setup_arp_spoofing_protection
install_arp_spoofing_protection(vif, addresses, current_rules)
File "/opt/stack/new/neutron/.tox/dsvm-functional/local/lib/python2.7/site-packages/oslo_concurrency/lockutils.py", line 271, in inner
return f(*args, **kwargs)
File "neutron/plugins/ml2/drivers/linuxbridge/agent/arp_protect.py", line 114, in install_arp_spoofing_protection
vif_chain, '-p', 'ARP'])
File "neutron/plugins/ml2/drivers/linuxbridge/agent/arp_protect.py", line 194, in ebtables
return execute(['ebtables', '--concurrent'] + comm, run_as_root=True)
File "neutron/agent/linux/ip_lib.py", line 900, in execute
log_fail_as_error=log_fail_as_error, **kwargs)
File "neutron/agent/linux/utils.py", line 151, in execute
raise ProcessExecutionError(msg, returncode=returncode)
neutron.agent.linux.utils.ProcessExecutionError: Exit code: 255; Stdin: ; Stdout: ; Stderr: Unable to create lock file /run/ebtables.lock.
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1697833/+subscriptions
Follow ups