Created
May 2, 2012 16:40
-
-
Save msabramo/2578035 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| Setting up Salt daemons to execute tests | |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| .....................................................++ | |
| .................................................................................................................................++ | |
| No handlers could be found for logger "salt.master" | |
| No handlers could be found for logger "salt.minion" | |
| .................................................................++ | |
| .........................................++ | |
| ............................................FF......... | |
| ====================================================================== | |
| FAIL: test_list_functions (sysmod.SysModuleTest) | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/Users/marca/dev/git-repos/salt/tests/integration/modules/sysmod.py", line 17, in test_list_functions | |
| self.assertTrue('pkg.install' in funcs) | |
| AssertionError: False is not true | |
| ====================================================================== | |
| FAIL: test_list_modules (sysmod.SysModuleTest) | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/Users/marca/dev/git-repos/salt/tests/integration/modules/sysmod.py", line 25, in test_list_modules | |
| self.assertTrue('pkg' in mods) | |
| AssertionError: False is not true | |
| ---------------------------------------------------------------------- | |
| Ran 55 tests in 9.113s | |
| FAILED (failures=2) | |
| .......... | |
| ---------------------------------------------------------------------- | |
| Ran 10 tests in 6.141s | |
| OK | |
| Traceback (most recent call last): | |
| File "/Users/marca/dev/git-repos/salt/scripts/salt-key", line 6, in <module> | |
| import salt.cli | |
| File "/Users/marca/dev/git-repos/salt/salt/__init__.py", line 14, in <module> | |
| import salt.config | |
| File "/Users/marca/dev/git-repos/salt/salt/config.py", line 13, in <module> | |
| import yaml | |
| File "build/bdist.macosx-10.6-x86_64/egg/yaml/__init__.py", line 14, in <module> | |
| File "build/bdist.macosx-10.6-x86_64/egg/yaml/cyaml.py", line 5, in <module> | |
| File "build/bdist.macosx-10.6-x86_64/egg/_yaml.py", line 7, in <module> | |
| File "build/bdist.macosx-10.6-x86_64/egg/_yaml.py", line 3, in __bootstrap__ | |
| File "/Users/marca/dev/git-repos/salt/salt-virtualenv/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py", line 698, in <module> | |
| def subscribe(self, callback): | |
| File "/Users/marca/dev/git-repos/salt/salt-virtualenv/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py", line 701, in Environment | |
| return | |
| File "/Users/marca/dev/git-repos/salt/salt-virtualenv/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py", line 96, in get_supported_platform | |
| distutils.util.get_platform() normally reports the minimum version | |
| File "/Users/marca/dev/git-repos/salt/salt-virtualenv/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py", line 222, in get_build_platform | |
| # fallback for MacPorts | |
| File "/Users/marca/.pythonbrew/pythons/Python-2.7.2/lib/python2.7/distutils/util.py", line 98, in get_platform | |
| cfgvars = get_config_vars() | |
| File "/Users/marca/dev/git-repos/salt/salt-virtualenv/lib/python2.7/distutils/__init__.py", line 88, in sysconfig_get_config_vars | |
| real_vars = old_get_config_vars(*args) | |
| File "/Users/marca/.pythonbrew/pythons/Python-2.7.2/lib/python2.7/distutils/sysconfig.py", line 487, in get_config_vars | |
| func() | |
| File "/Users/marca/.pythonbrew/pythons/Python-2.7.2/lib/python2.7/distutils/sysconfig.py", line 363, in _init_posix | |
| filename = get_makefile_filename() | |
| File "/Users/marca/.pythonbrew/pythons/Python-2.7.2/lib/python2.7/distutils/sysconfig.py", line 209, in get_makefile_filename | |
| lib_dir = get_python_lib(plat_specific=1, standard_lib=1) | |
| File "/Users/marca/dev/git-repos/salt/salt-virtualenv/lib/python2.7/distutils/__init__.py", line 81, in sysconfig_get_python_lib | |
| prefix = sys.real_prefix | |
| AttributeError: 'module' object has no attribute 'real_prefix' | |
| FTraceback (most recent call last): | |
| File "/Users/marca/dev/git-repos/salt/scripts/salt-key", line 6, in <module> | |
| import salt.cli | |
| File "/Users/marca/dev/git-repos/salt/salt/__init__.py", line 14, in <module> | |
| import salt.config | |
| File "/Users/marca/dev/git-repos/salt/salt/config.py", line 13, in <module> | |
| import yaml | |
| File "build/bdist.macosx-10.6-x86_64/egg/yaml/__init__.py", line 14, in <module> | |
| File "build/bdist.macosx-10.6-x86_64/egg/yaml/cyaml.py", line 5, in <module> | |
| File "build/bdist.macosx-10.6-x86_64/egg/_yaml.py", line 7, in <module> | |
| File "build/bdist.macosx-10.6-x86_64/egg/_yaml.py", line 3, in __bootstrap__ | |
| File "/Users/marca/dev/git-repos/salt/salt-virtualenv/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py", line 698, in <module> | |
| def subscribe(self, callback): | |
| File "/Users/marca/dev/git-repos/salt/salt-virtualenv/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py", line 701, in Environment | |
| return | |
| File "/Users/marca/dev/git-repos/salt/salt-virtualenv/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py", line 96, in get_supported_platform | |
| distutils.util.get_platform() normally reports the minimum version | |
| File "/Users/marca/dev/git-repos/salt/salt-virtualenv/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py", line 222, in get_build_platform | |
| # fallback for MacPorts | |
| File "/Users/marca/.pythonbrew/pythons/Python-2.7.2/lib/python2.7/distutils/util.py", line 98, in get_platform | |
| cfgvars = get_config_vars() | |
| File "/Users/marca/dev/git-repos/salt/salt-virtualenv/lib/python2.7/distutils/__init__.py", line 88, in sysconfig_get_config_vars | |
| real_vars = old_get_config_vars(*args) | |
| File "/Users/marca/.pythonbrew/pythons/Python-2.7.2/lib/python2.7/distutils/sysconfig.py", line 487, in get_config_vars | |
| func() | |
| File "/Users/marca/.pythonbrew/pythons/Python-2.7.2/lib/python2.7/distutils/sysconfig.py", line 363, in _init_posix | |
| filename = get_makefile_filename() | |
| File "/Users/marca/.pythonbrew/pythons/Python-2.7.2/lib/python2.7/distutils/sysconfig.py", line 209, in get_makefile_filename | |
| lib_dir = get_python_lib(plat_specific=1, standard_lib=1) | |
| File "/Users/marca/dev/git-repos/salt/salt-virtualenv/lib/python2.7/distutils/__init__.py", line 81, in sysconfig_get_python_lib | |
| prefix = sys.real_prefix | |
| AttributeError: 'module' object has no attribute 'real_prefix' | |
| FTraceback (most recent call last): | |
| File "/Users/marca/dev/git-repos/salt/scripts/salt-key", line 6, in <module> | |
| import salt.cli | |
| File "/Users/marca/dev/git-repos/salt/salt/__init__.py", line 14, in <module> | |
| import salt.config | |
| File "/Users/marca/dev/git-repos/salt/salt/config.py", line 13, in <module> | |
| import yaml | |
| File "build/bdist.macosx-10.6-x86_64/egg/yaml/__init__.py", line 14, in <module> | |
| File "build/bdist.macosx-10.6-x86_64/egg/yaml/cyaml.py", line 5, in <module> | |
| File "build/bdist.macosx-10.6-x86_64/egg/_yaml.py", line 7, in <module> | |
| File "build/bdist.macosx-10.6-x86_64/egg/_yaml.py", line 3, in __bootstrap__ | |
| File "/Users/marca/dev/git-repos/salt/salt-virtualenv/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py", line 698, in <module> | |
| def subscribe(self, callback): | |
| File "/Users/marca/dev/git-repos/salt/salt-virtualenv/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py", line 701, in Environment | |
| return | |
| File "/Users/marca/dev/git-repos/salt/salt-virtualenv/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py", line 96, in get_supported_platform | |
| distutils.util.get_platform() normally reports the minimum version | |
| File "/Users/marca/dev/git-repos/salt/salt-virtualenv/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py", line 222, in get_build_platform | |
| # fallback for MacPorts | |
| File "/Users/marca/.pythonbrew/pythons/Python-2.7.2/lib/python2.7/distutils/util.py", line 98, in get_platform | |
| cfgvars = get_config_vars() | |
| File "/Users/marca/dev/git-repos/salt/salt-virtualenv/lib/python2.7/distutils/__init__.py", line 88, in sysconfig_get_config_vars | |
| real_vars = old_get_config_vars(*args) | |
| File "/Users/marca/.pythonbrew/pythons/Python-2.7.2/lib/python2.7/distutils/sysconfig.py", line 487, in get_config_vars | |
| func() | |
| File "/Users/marca/.pythonbrew/pythons/Python-2.7.2/lib/python2.7/distutils/sysconfig.py", line 363, in _init_posix | |
| filename = get_makefile_filename() | |
| File "/Users/marca/.pythonbrew/pythons/Python-2.7.2/lib/python2.7/distutils/sysconfig.py", line 209, in get_makefile_filename | |
| lib_dir = get_python_lib(plat_specific=1, standard_lib=1) | |
| File "/Users/marca/dev/git-repos/salt/salt-virtualenv/lib/python2.7/distutils/__init__.py", line 81, in sysconfig_get_python_lib | |
| prefix = sys.real_prefix | |
| AttributeError: 'module' object has no attribute 'real_prefix' | |
| .Traceback (most recent call last): | |
| File "/Users/marca/dev/git-repos/salt/scripts/salt-run", line 6, in <module> | |
| import salt.cli | |
| File "/Users/marca/dev/git-repos/salt/salt/__init__.py", line 14, in <module> | |
| import salt.config | |
| File "/Users/marca/dev/git-repos/salt/salt/config.py", line 13, in <module> | |
| import yaml | |
| File "build/bdist.macosx-10.6-x86_64/egg/yaml/__init__.py", line 14, in <module> | |
| File "build/bdist.macosx-10.6-x86_64/egg/yaml/cyaml.py", line 5, in <module> | |
| File "build/bdist.macosx-10.6-x86_64/egg/_yaml.py", line 7, in <module> | |
| File "build/bdist.macosx-10.6-x86_64/egg/_yaml.py", line 3, in __bootstrap__ | |
| File "/Users/marca/dev/git-repos/salt/salt-virtualenv/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py", line 698, in <module> | |
| def subscribe(self, callback): | |
| File "/Users/marca/dev/git-repos/salt/salt-virtualenv/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py", line 701, in Environment | |
| return | |
| File "/Users/marca/dev/git-repos/salt/salt-virtualenv/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py", line 96, in get_supported_platform | |
| distutils.util.get_platform() normally reports the minimum version | |
| File "/Users/marca/dev/git-repos/salt/salt-virtualenv/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py", line 222, in get_build_platform | |
| # fallback for MacPorts | |
| File "/Users/marca/.pythonbrew/pythons/Python-2.7.2/lib/python2.7/distutils/util.py", line 98, in get_platform | |
| cfgvars = get_config_vars() | |
| File "/Users/marca/dev/git-repos/salt/salt-virtualenv/lib/python2.7/distutils/__init__.py", line 88, in sysconfig_get_config_vars | |
| real_vars = old_get_config_vars(*args) | |
| File "/Users/marca/.pythonbrew/pythons/Python-2.7.2/lib/python2.7/distutils/sysconfig.py", line 487, in get_config_vars | |
| func() | |
| File "/Users/marca/.pythonbrew/pythons/Python-2.7.2/lib/python2.7/distutils/sysconfig.py", line 363, in _init_posix | |
| filename = get_makefile_filename() | |
| File "/Users/marca/.pythonbrew/pythons/Python-2.7.2/lib/python2.7/distutils/sysconfig.py", line 209, in get_makefile_filename | |
| lib_dir = get_python_lib(plat_specific=1, standard_lib=1) | |
| File "/Users/marca/dev/git-repos/salt/salt-virtualenv/lib/python2.7/distutils/__init__.py", line 81, in sysconfig_get_python_lib | |
| prefix = sys.real_prefix | |
| AttributeError: 'module' object has no attribute 'real_prefix' | |
| FTraceback (most recent call last): | |
| File "/Users/marca/dev/git-repos/salt/scripts/salt-run", line 6, in <module> | |
| import salt.cli | |
| File "/Users/marca/dev/git-repos/salt/salt/__init__.py", line 14, in <module> | |
| import salt.config | |
| File "/Users/marca/dev/git-repos/salt/salt/config.py", line 13, in <module> | |
| import yaml | |
| File "build/bdist.macosx-10.6-x86_64/egg/yaml/__init__.py", line 14, in <module> | |
| File "build/bdist.macosx-10.6-x86_64/egg/yaml/cyaml.py", line 5, in <module> | |
| File "build/bdist.macosx-10.6-x86_64/egg/_yaml.py", line 7, in <module> | |
| File "build/bdist.macosx-10.6-x86_64/egg/_yaml.py", line 3, in __bootstrap__ | |
| File "/Users/marca/dev/git-repos/salt/salt-virtualenv/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py", line 698, in <module> | |
| def subscribe(self, callback): | |
| File "/Users/marca/dev/git-repos/salt/salt-virtualenv/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py", line 701, in Environment | |
| return | |
| File "/Users/marca/dev/git-repos/salt/salt-virtualenv/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py", line 96, in get_supported_platform | |
| distutils.util.get_platform() normally reports the minimum version | |
| File "/Users/marca/dev/git-repos/salt/salt-virtualenv/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py", line 222, in get_build_platform | |
| # fallback for MacPorts | |
| File "/Users/marca/.pythonbrew/pythons/Python-2.7.2/lib/python2.7/distutils/util.py", line 98, in get_platform | |
| cfgvars = get_config_vars() | |
| File "/Users/marca/dev/git-repos/salt/salt-virtualenv/lib/python2.7/distutils/__init__.py", line 88, in sysconfig_get_config_vars | |
| real_vars = old_get_config_vars(*args) | |
| File "/Users/marca/.pythonbrew/pythons/Python-2.7.2/lib/python2.7/distutils/sysconfig.py", line 487, in get_config_vars | |
| func() | |
| File "/Users/marca/.pythonbrew/pythons/Python-2.7.2/lib/python2.7/distutils/sysconfig.py", line 363, in _init_posix | |
| filename = get_makefile_filename() | |
| File "/Users/marca/.pythonbrew/pythons/Python-2.7.2/lib/python2.7/distutils/sysconfig.py", line 209, in get_makefile_filename | |
| lib_dir = get_python_lib(plat_specific=1, standard_lib=1) | |
| File "/Users/marca/dev/git-repos/salt/salt-virtualenv/lib/python2.7/distutils/__init__.py", line 81, in sysconfig_get_python_lib | |
| prefix = sys.real_prefix | |
| AttributeError: 'module' object has no attribute 'real_prefix' | |
| . | |
| ====================================================================== | |
| FAIL: test_list (key.KeyTest) | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/Users/marca/dev/git-repos/salt/tests/integration/shell/key.py", line 18, in test_list | |
| self.assertEqual(data, expect) | |
| AssertionError: Lists differ: [''] != ['\x1b[1;31mUnaccepted Keys:\x... | |
| First differing element 0: | |
| [1;31mUnaccepted Keys:[0m | |
| Second list contains 4 additional elements. | |
| First extra element 1: | |
| [1;32mAccepted Keys:[0m | |
| + ['\x1b[1;31mUnaccepted Keys:\x1b[0m', | |
| + '\x1b[1;32mAccepted Keys:\x1b[0m', | |
| + '\x1b[0;32mminion\x1b[0m', | |
| + '\x1b[1;34mRejected:\x1b[0m', | |
| - [''] | |
| ? ^ | |
| + ''] | |
| ? ^ | |
| ====================================================================== | |
| FAIL: test_list_acc (key.KeyTest) | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/Users/marca/dev/git-repos/salt/tests/integration/shell/key.py", line 27, in test_list_acc | |
| ['\x1b[0;32mminion\x1b[0m', ''] | |
| AssertionError: Lists differ: [''] != ['\x1b[0;32mminion\x1b[0m', ''... | |
| First differing element 0: | |
| [0;32mminion[0m | |
| Second list contains 1 additional elements. | |
| First extra element 1: | |
| - [''] | |
| + ['\x1b[0;32mminion\x1b[0m', ''] | |
| ====================================================================== | |
| FAIL: test_in_docs (runner.RunTest) | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/Users/marca/dev/git-repos/salt/tests/integration/shell/runner.py", line 17, in test_in_docs | |
| self.assertIn('jobs.active:', data) | |
| AssertionError: 'jobs.active:' not found in '' | |
| ---------------------------------------------------------------------- | |
| Ran 5 tests in 1.191s | |
| FAILED (failures=3) | |
| ........ | |
| ---------------------------------------------------------------------- | |
| Ran 8 tests in 0.034s | |
| OK | |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| Starting Module Tests | |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| Starting Client Tests | |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| Starting Shell Tests | |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| Starting Unit Tests | |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Doing
pip install distributein the virtualenv seemed to fix all of thesys.real_prefixerrors.