Comment 3 for bug 1654287

Revision history for this message
Daniel Alvarez (dalvarezs) wrote : Re: functional test netns_cleanup failing in gate

After adding further logs we can see this at [1]. So looks like rootwrap-daemon is actually returning the output of the previous command:

2017-01-11 17:15:38.179 27681 DEBUG neutron.agent.linux.utils [req-45c79637-b3f6-4a55-87e9-4974410bf578 - - - - -] Running command (rootwrap daemon): ['ip', 'netns', 'exec', 'qdhcp-65b9d72c-685d-4646-9d54-19a63d9d968f', 'find', '/sys/class/net', '-maxdepth', '1', '-type', 'l', '-printf', '%f '] execute_rootwrap_daemon neutron/agent/linux/utils.py:108
2017-01-11 17:15:38.250 27681 DEBUG neutron.agent.linux.utils [req-45c79637-b3f6-4a55-87e9-4974410bf578 - - - - -] Exit code: 0 execute neutron/agent/linux/utils.py:149
2017-01-11 17:15:38.251 27681 DEBUG neutron.agent.linux.ip_lib [req-45c79637-b3f6-4a55-87e9-4974410bf578 - - - - -] get_devices(): Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
Active UNIX domain sockets (only servers)
Proto RefCnt Flags Type State I-Node PID/Program name Path
 get_devices neutron/agent/linux/ip_lib.py:140

[1] http://logs.openstack.org/73/373973/13/check/gate-neutron-dsvm-functional-ubuntu-xenial/20b6a30/logs/dsvm-functional-logs/neutron.tests.functional.cmd.test_netns_cleanup.NetnsCleanupTest.test_cleanup_network_namespaces_cleans_dhcp_and_l3_namespaces.txt.gz