Skip to content

Instantly share code, notes, and snippets.

@Vye
Created November 25, 2014 20:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Vye/d626af1209c3cedb7961 to your computer and use it in GitHub Desktop.
Save Vye/d626af1209c3cedb7961 to your computer and use it in GitHub Desktop.
(venv)vye@kuchiha {~/repos/vsalt(integration_tests)} $ ./tests/runtests.py -n integration.modules.cmdmod.CMDModuleTest.test_sudo_run -v
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* Transplanting configuration files to '/tmp/salt-tests-tmpdir/config'
* Current Directory: /home/vye/repos/vsalt
* Test suite is running under PID 12348
* Logging tests on /tmp/salt-runtests.log
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* Max open files setting is too low(1024) for running the tests
* Trying to raise the limit to 3072
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* Setting up Salt daemons to execute tests
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vye/repos/vsalt/salt/modules/config.py:251: DeprecationWarning: pillar_opts will default to False in the Lithium releaseuse_sudo: False
use_sudo: False
use_sudo: False
/home/vye/repos/vsalt/salt/modules/config.py:251: DeprecationWarning: pillar_opts will default to False in the Lithium releaseuse_sudo: False
use_sudo: False
use_sudo: False
* Waiting at most 0:02:00 for minions(minion, sub_minion) to connect back
* minion connected.
* sub_minion connected.
* Syncing minion's modules (saltutil.sync_modules)
use_sudo: False
use_sudo: False
use_sudo: False
use_sudo: False
* [Quit in 0:02:00] Waiting for minion, sub_minionuse_sudo: False
use_sudo: False
* Synced minion modules: modules.override_test, modules.runtests_decorators, modules.runtests_helpers, modules.salttest
* Synced sub_minion modules: modules.override_test, modules.runtests_decorators, modules.runtests_helpers, modules.salttest
* Syncing minion's states (saltutil.sync_states)
* [Quit in 0:02:00] Waiting for minion, sub_minionuse_sudo: False
use_sudo: False
use_sudo: False
use_sudo: False
use_sudo: False
use_sudo: False
* Synced minion states: states.salttest
* Synced sub_minion states: states.salttest
========================================================================================================================================================================================================
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Starting integration.modules.cmdmod.CMDModuleTest.test_sudo_run Tests
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
test_sudo_run (integration.modules.cmdmod.CMDModuleTest) ... /home/vye/repos/vsalt/salt/modules/config.py:251: DeprecationWarning: pillar_opts will default to False in the Lithium releaseuse_sudo: False
/home/vye/repos/vsalt/salt/minion.py:186: DeprecationWarning: The list of function args and kwargs should be parsed by salt.utils.args.parse_input() before calling salt.minion.load_args_and_kwargs()./home/vye/repos/vsalt/salt/modules/config.py:251: DeprecationWarning: pillar_opts will default to False in the Lithium releaseuse_sudo: False
ok
----------------------------------------------------------------------
Ran 1 test in 0.767s
OK
======================================================================================== Overall Tests Report ========================================================================================
*** No Problems Found While Running Tests ************************************************************************************************************************************************************
========================================================================================================================================================================================================
OK (total=1, skipped=0, passed=1, failures=0, errors=0)
======================================================================================== Overall Tests Report ========================================================================================
Exception TypeError: "argument of type 'NoneType' is not iterable" in <bound method MasterEvent.__del__ of <salt.utils.event.MasterEvent object at 0x3f6ecd0>> ignored
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment