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
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-4974410bf5 78 - - - - -] Running command (rootwrap daemon): ['ip', 'netns', 'exec', 'qdhcp- 65b9d72c- 685d-4646- 9d54-19a63d9d96 8f', 'find', '/sys/class/net', '-maxdepth', '1', '-type', 'l', '-printf', '%f '] execute_ rootwrap_ daemon neutron/ agent/linux/ utils.py: 108 agent.linux. utils [req-45c79637- b3f6-4a55- 87e9-4974410bf5 78 - - - - -] Exit code: 0 execute neutron/ agent/linux/ utils.py: 149 agent.linux. ip_lib [req-45c79637- b3f6-4a55- 87e9-4974410bf5 78 - - - - -] get_devices(): Active Internet connections (only servers) agent/linux/ ip_lib. py:140
2017-01-11 17:15:38.250 27681 DEBUG neutron.
2017-01-11 17:15:38.251 27681 DEBUG neutron.
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/
[1] http:// logs.openstack. org/73/ 373973/ 13/check/ gate-neutron- dsvm-functional -ubuntu- xenial/ 20b6a30/ logs/dsvm- functional- logs/neutron. tests.functiona l.cmd.test_ netns_cleanup. NetnsCleanupTes t.test_ cleanup_ network_ namespaces_ cleans_ dhcp_and_ l3_namespaces. txt.gz