neutron/neutron/tests
Rodolfo Alonso Hernandez 7c5ce50a0c Check dnsmasq process is active when spawned
After spawning the "dnsmasq" process in the method
"Dnsmasq._spawn_or_reload_process", we need to check that the "dnsmasq"
process is running and could be detected by the ProcessManager instance
controlling it.

ProcessManager determines if a process is "active":
- If the network ID is in the cmdline used to execute the process.
- If the process is detected by psutil.Process(pid), returning the
  cmdline needed in the first condition.
- If the PID file exists; this is written by the dnsmasq process
  once is started and is needed in the second condition.

To make this feature available for any other process using
ProcessManager, the implementation is done in this class.

Change-Id: I51dc9d342c613afcbcfdc50a1d2811502748f170
Closes-Bug: #1849502
2019-10-25 13:30:30 -04:00
..
common Add more info when parsing config fails 2019-10-18 19:37:05 -04:00
contrib Conntrack Helper - Plugin 2019-08-29 10:41:04 +02:00
etc Convert policy.json into policy-in-code 2018-12-13 20:37:53 +00:00
fullstack Merge "Use admin context when updating router gateway" 2019-10-19 22:44:29 +00:00
functional Merge "ovsdb monitor: handle modified ports" 2019-10-09 09:27:47 +00:00
unit Check dnsmasq process is active when spawned 2019-10-25 13:30:30 -04:00
var
__init__.py
base.py Re execute a test case if fixtures.TimeoutException is thrown 2019-09-12 10:50:07 +00:00
post_mortem_debug.py
tools.py consume WarningsFixture from neutron-lib 2019-07-09 08:32:33 -06:00