{"action":"created","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/33920","repository_url":"https://api.github.com/repos/saltstack/salt","labels_url":"https://api.github.com/repos/saltstack/salt/issues/33920/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/33920/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/33920/events","html_url":"https://github.com/saltstack/salt/issues/33920","id":159518495,"number":33920,"title":"[develop] Not all processes are properly stopped when running test suite","user":{"login":"rallytime","id":6547906,"avatar_url":"https://avatars.githubusercontent.com/u/6547906?v=3","gravatar_id":"","url":"https://api.github.com/users/rallytime","html_url":"https://github.com/rallytime","followers_url":"https://api.github.com/users/rallytime/followers","following_url":"https://api.github.com/users/rallytime/following{/other_user}","gists_url":"https://api.github.com/users/rallytime/gists{/gist_id}","starred_url":"https://api.github.com/users/rallytime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rallytime/subscriptions","organizations_url":"https://api.github.com/users/rallytime/orgs","repos_url":"https://api.github.com/users/rallytime/repos","events_url":"https://api.github.com/users/rallytime/events{/privacy}","received_events_url":"https://api.github.com/users/rallytime/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/saltstack/salt/labels/Bug","name":"Bug","color":"e11d21"},{"url":"https://api.github.com/repos/saltstack/salt/labels/Core","name":"Core","color":"fef2c0"},{"url":"https://api.github.com/repos/saltstack/salt/labels/High%20Severity","name":"High Severity","color":"ff9143"},{"url":"https://api.github.com/repos/saltstack/salt/labels/P2","name":"P2","color":"155fb5"},{"url":"https://api.github.com/repos/saltstack/salt/labels/Tests","name":"Tests","color":"006b75"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/saltstack/salt/milestones/13","html_url":"https://github.com/saltstack/salt/milestones/Approved","labels_url":"https://api.github.com/repos/saltstack/salt/milestones/13/labels","id":9265,"number":13,"title":"Approved","description":"All issues that are ready to be worked on, both bugs and features.","creator":{"login":"thatch45","id":507599,"avatar_url":"https://avatars.githubusercontent.com/u/507599?v=3","gravatar_id":"","url":"https://api.github.com/users/thatch45","html_url":"https://github.com/thatch45","followers_url":"https://api.github.com/users/thatch45/followers","following_url":"https://api.github.com/users/thatch45/following{/other_user}","gists_url":"https://api.github.com/users/thatch45/gists{/gist_id}","starred_url":"https://api.github.com/users/thatch45/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thatch45/subscriptions","organizations_url":"https://api.github.com/users/thatch45/orgs","repos_url":"https://api.github.com/users/thatch45/repos","events_url":"https://api.github.com/users/thatch45/events{/privacy}","received_events_url":"https://api.github.com/users/thatch45/received_events","type":"User","site_admin":false},"open_issues":3164,"closed_issues":3942,"state":"open","created_at":"2011-05-14T04:00:56Z","updated_at":"2016-08-22T20:42:56Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2016-06-09T22:01:24Z","updated_at":"2016-08-22T21:26:42Z","closed_at":null,"body":"### Description of Issue/Question\r\nWhen running the test suite on the `develop` branch, not all of the test processes that are spun up by the integration tests are shut down appropriately when the integration tests finish. The syndic process is always left hanging around, the sub-minion process is often (though not always) left running, and sometimes even the master and minion processes remain.\r\n\r\n### Steps to Reproduce Issue\r\nRun any integration test on the develop. Then look at the process list once the test(s) finish executing and CLI returns. Multiple test runs will leave many processes hanging around. This can cause socket errors when starting the test suite again.\r\n```\r\n#root@rallytime:~# ps aux | grep salt\r\nroot      7425  0.0  1.7 309728 35716 pts/4    Sl   21:18   0:00 /usr/bin/python /tmp/salt-tests-tmpdir/scripts/cli_salt_master.py -c /tmp/salt-tests-tmpdir/config -l quiet\r\nroot      7426  0.0  1.8 465388 37568 pts/4    Sl   21:18   0:00 /usr/bin/python /tmp/salt-tests-tmpdir/scripts/cli_salt_master.py -c /tmp/salt-tests-tmpdir/config -l quiet\r\nroot      7433  0.5  0.0      0     0 pts/4    Z    21:18   0:01 [cli_salt_master] <defunct>\r\nroot      7436  0.6  2.5 334736 52200 pts/4    Sl   21:18   0:02 /usr/bin/python /tmp/salt-tests-tmpdir/scripts/cli_salt_master.py -c /tmp/salt-tests-tmpdir/config -l quiet\r\nroot      7437  0.4  2.3 331072 48472 pts/4    Sl   21:18   0:01 /usr/bin/python /tmp/salt-tests-tmpdir/scripts/cli_salt_master.py -c /tmp/salt-tests-tmpdir/config -l quiet\r\nroot      7684  0.1  1.8 313348 37500 pts/4    Sl   21:18   0:00 /usr/bin/python /tmp/salt-tests-tmpdir/scripts/cli_salt_minion.py -c /tmp/salt-tests-tmpdir/config -l quiet --disable-keepalive\r\nroot      7983  0.0  1.8 313348 37484 pts/4    Sl   21:18   0:00 /usr/bin/python /tmp/salt-tests-tmpdir/scripts/cli_salt_minion.py -c /tmp/salt-tests-tmpdir/config/sub-minion -l quiet --disable-keepalive\r\nroot      8085  0.5  2.3 548940 47936 pts/4    Sl   21:18   0:01 /usr/bin/python /tmp/salt-tests-tmpdir/scripts/cli_salt_syndic.py -c /tmp/salt-tests-tmpdir/config/syndic-minion -l quiet\r\nroot      8400  0.0  1.9 334200 39968 pts/4    Sl   21:18   0:00 /usr/bin/python /tmp/salt-tests-tmpdir/scripts/cli_salt_syndic.py -c /tmp/salt-tests-tmpdir/config/syndic-minion -l quiet\r\n```\r\n\r\n### Versions Report\r\n```\r\nroot@rallytime:~# salt --versions\r\nSalt Version:\r\n           Salt: 2016.3.0-688-g62edce6\r\n\r\nDependency Versions:\r\n           cffi: 0.8.6\r\n       cherrypy: 5.0.1\r\n       dateutil: 2.4.2\r\n          gitdb: 0.6.4\r\n      gitpython: 1.0.1\r\n          ioflo: Not Installed\r\n         Jinja2: 2.8\r\n        libgit2: Not Installed\r\n        libnacl: Not Installed\r\n       M2Crypto: 0.21.1\r\n           Mako: Not Installed\r\n   msgpack-pure: Not Installed\r\n msgpack-python: 0.4.6\r\n   mysql-python: Not Installed\r\n      pycparser: 2.10\r\n       pycrypto: 2.6.1\r\n         pygit2: Not Installed\r\n         Python: 2.7.6 (default, Jun 22 2015, 17:58:13)\r\n   python-gnupg: Not Installed\r\n         PyYAML: 3.10\r\n          PyZMQ: 14.5.0\r\n           RAET: Not Installed\r\n          smmap: 0.9.0\r\n        timelib: Not Installed\r\n        Tornado: 4.2.1\r\n            ZMQ: 4.0.5\r\n\r\nSystem Versions:\r\n           dist: Ubuntu 14.04 trusty\r\n        machine: x86_64\r\n        release: 4.4.0-x86_64-linode63\r\n         system: Linux\r\n        version: Ubuntu 14.04 trusty\r\n```"},"comment":{"url":"https://api.github.com/repos/saltstack/salt/issues/comments/241556042","html_url":"https://github.com/saltstack/salt/issues/33920#issuecomment-241556042","issue_url":"https://api.github.com/repos/saltstack/salt/issues/33920","id":241556042,"user":{"login":"s0undt3ch","id":300048,"avatar_url":"https://avatars.githubusercontent.com/u/300048?v=3","gravatar_id":"","url":"https://api.github.com/users/s0undt3ch","html_url":"https://github.com/s0undt3ch","followers_url":"https://api.github.com/users/s0undt3ch/followers","following_url":"https://api.github.com/users/s0undt3ch/following{/other_user}","gists_url":"https://api.github.com/users/s0undt3ch/gists{/gist_id}","starred_url":"https://api.github.com/users/s0undt3ch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s0undt3ch/subscriptions","organizations_url":"https://api.github.com/users/s0undt3ch/orgs","repos_url":"https://api.github.com/users/s0undt3ch/repos","events_url":"https://api.github.com/users/s0undt3ch/events{/privacy}","received_events_url":"https://api.github.com/users/s0undt3ch/received_events","type":"User","site_admin":false},"created_at":"2016-08-22T21:26:42Z","updated_at":"2016-08-22T21:26:42Z","body":"@rallytime does the machine from where you got that `ps` output has `psutils` installed?"}}
{"actor":{"display_login":"s0undt3ch"}}