1. Holger Krekel
  2. tox

Issues

Issue #68 invalid

`tox -e py26` in tox tip fails

Marc Abramowitz
created an issue

When I run tox on itself with the latest tip from Mercurial, the tests for Python 2.7 pass, but the tests for 2.6 and 2.5 fail with some strange errors. I don't know if this is a genuine problem or something unique to my environment (OS X 10.6.8) (I'm wondering if others can reproduce this?). Here's the output for 2.6:

marc@hyperion:~/dev/hg-repos/tox_quickstart
21:22:43 $ tox -e py26
GLOB sdist-make: /Users/marc/dev/hg-repos/tox_quickstart/setup.py
py26 sdist-reinst: /Users/marc/dev/hg-repos/tox_quickstart/.tox/dist/tox-1.4.3.dev2.zip
py26 runtests: commands[0]
=========================================================================================================== test session starts ============================================================================================================
platform darwin -- Python 2.6.5 -- pytest-2.3.4
tox comes from: '/Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/lib/python2.6/site-packages/tox/__init__.pyc'
collected 132 items 

tests/test_config.py ...................................................................
tests/test_quickstart.py .............
tests/test_venv.py .s............s..............
tests/test_z_cmdline.py ...........F...FFFF..F.

================================================================================================================= FAILURES =================================================================================================================
_____________________________________________________________________________________________________________ test_unknown_dep _____________________________________________________________________________________________________________

cmd = <tox._pytestplugin.Cmd instance at 0x1f55fa8>, initproj = <function initproj at 0x1c3a9f0>

    def test_unknown_dep(cmd, initproj):
        initproj("dep123-0.7", filedefs={
            'tests': {'test_hello.py': "def test_hello(): pass"},
            'tox.ini': '''
                [testenv]
                deps=qweqwe123
                changedir=tests
            '''
        })
        result = cmd.run("tox", )
        assert result.ret
        result.stdout.fnmatch_lines([
>           "*ERROR*could not install*qweqwe123*",
        ])
E       assert '*ERROR*could...ll*qweqwe123*' == u'ERROR:   pyt...python-0.log)'
E         - *ERROR*could not install*qweqwe123*
E         + ERROR:   python: InvocationError: /Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/bin/python /Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/lib/python2.6/site-packages/virtualenv.py --distribute python (see /private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_unknown_dep0/dep123/.tox/python/log/python-0.log)

/Users/marc/dev/hg-repos/tox_quickstart/tests/test_z_cmdline.py:240: AssertionError
------------------------------------------------------------------------------------------------------------- Captured stdout --------------------------------------------------------------------------------------------------------------
created project in /private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_unknown_dep0/dep123
/private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_unknown_dep0/dep123$ tox
GLOB sdist-make: /private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_unknown_dep0/dep123/setup.py
python create: /private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_unknown_dep0/dep123/.tox/python
ERROR: invocation failed, logfile: /private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_unknown_dep0/dep123/.tox/python/log/python-0.log
ERROR: actionid=python
msg=getenv
cmdargs=['/Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/bin/python', '/Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/lib/python2.6/site-packages/virtualenv.py', '--distribute', 'python']
env={'rvm_scripts_path': '/Users/marc/.rvm/scripts', 'rvm_usr_path': '/Users/marc/.rvm/usr', 'COM_GOOGLE_CHROME_FRAMEWORK_SERVICE_PROCESS/USERS/MARC/LIBRARY/APPLICATION_SUPPORT/GOOGLE/CHROME_SOCKET': '/tmp/launch-rarCxB/ServiceProcessSocket', 'HISTFILE': '/Users/marc/.bash_history-', 'LESS': '-rich4MP%t?f%f :stdin .?pb%pb\\%:?lbLine %lb:?bbByte %bb:-...', 'PERLBREW_PERL': 'perl-5.12.2', 'AUTOJUMP_DATA_DIR': '/Users/marc/.local/share/autojump', 'rvm_man_path': '/Users/marc/.rvm/man', 'rvm_path': '/Users/marc/.rvm', 'LESSOPEN': '|/usr/local/bin/lesspipe.sh %s', 'rvm_docs_path': '/Users/marc/.rvm/docs', 'RUBY_VERSION': 'ruby-1.9.2-p290', 'rvm_project_rvmrc': '1', 'LOGNAME': 'marc', 'USER': 'marc', 'PROMPT_COMMAND': 'history -a; [ -f .dirrc ] && . .dirrc', 'PATH': '/private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_unknown_dep0/dep123/.tox/python/bin:/Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/bin:/Library/Frameworks/Python.framework/Versions/2.7/bin:/Library/Frameworks/Python.framework/Versions/2.7/bin:/Library/Frameworks/Python.framework/Versions/2.6/bin:/Users/marc/.rvm/gems/ruby-1.9.2-p290@rails3tutorial/bin:/Users/marc/.rvm/gems/ruby-1.9.2-p290@global/bin:/Users/marc/.rvm/rubies/ruby-1.9.2-p290/bin:/Users/marc/.rvm/bin:/Users/marc/perl5/perlbrew/bin:/Users/marc/perl5/perlbrew/perls/perl-5.12.2/bin:~/bin:/usr/local/share/python:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/usr/X11/bin:/usr/local/share/npm/bin', 'HOME': '/Users/marc', 'CLICOLOR': 'true', 'rvm_examples_path': '/Users/marc/.rvm/examples', 'DISPLAY': '/tmp/launch-Ny7MoX/org.x:0', 'PERLBREW_PATH': '/Users/marc/perl5/perlbrew/bin:/Users/marc/perl5/perlbrew/perls/perl-5.12.2/bin', 'rvm_ruby_string': 'ruby-1.9.2-p290', 'rvm_gemset_name': 'rails3tutorial', 'rvm_src_path': '/Users/marc/.rvm/src', 'PERLBREW_VERSION': '0.22', 'SHELL': '/bin/bash', 'COLORFGBG': '7;0', 'COMMAND_MODE': 'legacy', 'SHLVL': '1', 'rvm_patches_path': '/Users/marc/.rvm/patches', 'rvm_version': '1.8.3', 'SECURITYSESSIONID': '2525f0', 'ITERM_SESSION_ID': 'w0t7p0', 'rvm_log_path': '/Users/marc/.rvm/log', 'EDITOR': 'emacs', 'rvm_reload_flag': '0', 'rvm_repos_path': '/Users/marc/.rvm/repos', 'rvm_verbose_flag': '0', 'AUTOJUMP_HOME': '/Users/marc', 'GEM_PATH': '/Users/marc/.rvm/gems/ruby-1.9.2-p290@rails3tutorial:/Users/marc/.rvm/gems/ruby-1.9.2-p290@global', 'rvm_loaded_flag': '1', 'rvm_gemsets_path': '/Users/marc/.rvm/gemsets', 'WORKON_HOME': '/Users/marc/python/virtualenvs', 'rvm_user_install_flag': '1', 'rvm_prefix': '/Users/marc', 'PERLBREW_ROOT': '/Users/marc/perl5/perlbrew', 'rvm_debug_flag': '0', 'PYTHONPATH': '/private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_unknown_dep0/dep123', 'COMP_WORDBREAKS': ' \t\n"\'><;|&(:', 'TERM': 'xterm', 'SSH_AUTH_SOCK': '/tmp/launch-64KlgP/Listeners', 'IRBRC': '/Users/marc/.rvm/rubies/ruby-1.9.2-p290/.irbrc', 'TERM_PROGRAM': 'iTerm.app', 'MY_RUBY_HOME': '/Users/marc/.rvm/rubies/ruby-1.9.2-p290', 'Apple_PubSub_Socket_Render': '/tmp/launch-60yVK2/Render', 'ITERM_PROFILE': 'tmux', 'rvm_env_string': 'ruby-1.9.2-p290@rails3tutorial', 'rvm_tmp_path': '/Users/marc/.rvm/tmp', '_': '/Library/Frameworks/Python.framework/Versions/2.7/bin/tox', 'LANG': 'en_US.UTF-8', 'HISTIGNORE': '&:ls:mutt:[bf]g:exit', 'PERL5LIB': '/Users/marc/lib/perl', 'JAVA_HOME': '/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home', 'rvm_user_path': '/Users/marc/.rvm/user', 'TMPDIR': '/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/', 'LSCOLORS': 'ExGxCxDxCxegedabagacad', 'rvm_rubies_path': '/Users/marc/.rvm/rubies', 'OLDPWD': '/Users/marc/dev/hg-repos', 'rvm_wrappers_path': '/Users/marc/.rvm/wrappers', 'rvm_archives_path': '/Users/marc/.rvm/archives', 'NODE_PATH': '/usr/local/lib/node:/usr/local/lib/node_modules', '__CF_USER_TEXT_ENCODING': '0x1F5:0:0', 'CVSEDITOR': 'emacs', 'PWD': '/Users/marc/dev/hg-repos/tox_quickstart', 'rvm_gems_path': '/Users/marc/.rvm/gems', 'rvm_help_path': '/Users/marc/.rvm/help', 'rvm_lib_path': '/Users/marc/.rvm/lib', 'SHMUX_SSH_OPTS': '', 'rvm_environments_path': '/Users/marc/.rvm/environments', 'rvm_gems_cache_path': '/Users/marc/.rvm/gems/cache', 'rvm_bin_path': '/Users/marc/.rvm/bin', 'PAGER': 'most', 'PATH_WITHOUT_PERLBREW': '~/bin:/usr/local/share/python:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/usr/X11/bin:/usr/local/share/npm/bin', 'GEM_HOME': '/Users/marc/.rvm/gems/ruby-1.9.2-p290@rails3tutorial'}
Using real prefix '/Library/Frameworks/Python.framework/Versions/2.6'
New python executable in python/bin/python
Installing distribute.......
  Complete output from command /private/var/folders...ox/python/bin/python -c "# Called from virtua...main(sys.argv[1:])
" /Users/marc/dev/hg-r...ute-0.6.28-py2.6.egg:
    File "<string>", line 4
    import sys
              ^
SyntaxError: invalid syntax
----------------------------------------
...Installing distribute...done.
Traceback (most recent call last):
  File "/Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/lib/python2.6/site-packages/virtualenv.py", line 2557, in <module>
    main()
  File "/Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/lib/python2.6/site-packages/virtualenv.py", line 961, in main
    never_download=options.never_download)
  File "/Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/lib/python2.6/site-packages/virtualenv.py", line 1068, in create_environment
    search_dirs=search_dirs, never_download=never_download)
  File "/Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/lib/python2.6/site-packages/virtualenv.py", line 613, in install_distribute
    search_dirs=search_dirs, never_download=never_download)
  File "/Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/lib/python2.6/site-packages/virtualenv.py", line 580, in _install_req
    cwd=cwd)
  File "/Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/lib/python2.6/site-packages/virtualenv.py", line 1039, in call_subprocess
    % (cmd_desc, proc.returncode))
OSError: Command /private/var/folders...ox/python/bin/python -c "# Called from virtua...main(sys.argv[1:])
" /Users/marc/dev/hg-r...ute-0.6.28-py2.6.egg failed with error code 1

ERROR: InvocationError: /Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/bin/python /Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/lib/python2.6/site-packages/virtualenv.py --distribute python (see /private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_unknown_dep0/dep123/.tox/python/log/python-0.log)
___________________________________ summary ____________________________________
ERROR:   python: InvocationError: /Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/bin/python /Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/lib/python2.6/site-packages/virtualenv.py --distribute python (see /private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_unknown_dep0/dep123/.tox/python/log/python-0.log)
nomatch: '*ERROR*could not install*qweqwe123*'
    and: u'GLOB sdist-make: /private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_unknown_dep0/dep123/setup.py'
    and: u'python create: /private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_unknown_dep0/dep123/.tox/python'
    and: u'ERROR: invocation failed, logfile: /private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_unknown_dep0/dep123/.tox/python/log/python-0.log'
    and: u'ERROR: actionid=python'
    and: u'msg=getenv'
    and: u"cmdargs=['/Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/bin/python', '/Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/lib/python2.6/site-packages/virtualenv.py', '--distribute', 'python']"
    and: u'env={\'rvm_scripts_path\': \'/Users/marc/.rvm/scripts\', \'rvm_usr_path\': \'/Users/marc/.rvm/usr\', \'COM_GOOGLE_CHROME_FRAMEWORK_SERVICE_PROCESS/USERS/MARC/LIBRARY/APPLICATION_SUPPORT/GOOGLE/CHROME_SOCKET\': \'/tmp/launch-rarCxB/ServiceProcessSocket\', \'HISTFILE\': \'/Users/marc/.bash_history-\', \'LESS\': \'-rich4MP%t?f%f :stdin .?pb%pb\\\\%:?lbLine %lb:?bbByte %bb:-...\', \'PERLBREW_PERL\': \'perl-5.12.2\', \'AUTOJUMP_DATA_DIR\': \'/Users/marc/.local/share/autojump\', \'rvm_man_path\': \'/Users/marc/.rvm/man\', \'rvm_path\': \'/Users/marc/.rvm\', \'LESSOPEN\': \'|/usr/local/bin/lesspipe.sh %s\', \'rvm_docs_path\': \'/Users/marc/.rvm/docs\', \'RUBY_VERSION\': \'ruby-1.9.2-p290\', \'rvm_project_rvmrc\': \'1\', \'LOGNAME\': \'marc\', \'USER\': \'marc\', \'PROMPT_COMMAND\': \'history -a; [ -f .dirrc ] && . .dirrc\', \'PATH\': \'/private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_unknown_dep0/dep123/.tox/python/bin:/Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/bin:/Library/Frameworks/Python.framework/Versions/2.7/bin:/Library/Frameworks/Python.framework/Versions/2.7/bin:/Library/Frameworks/Python.framework/Versions/2.6/bin:/Users/marc/.rvm/gems/ruby-1.9.2-p290@rails3tutorial/bin:/Users/marc/.rvm/gems/ruby-1.9.2-p290@global/bin:/Users/marc/.rvm/rubies/ruby-1.9.2-p290/bin:/Users/marc/.rvm/bin:/Users/marc/perl5/perlbrew/bin:/Users/marc/perl5/perlbrew/perls/perl-5.12.2/bin:~/bin:/usr/local/share/python:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/usr/X11/bin:/usr/local/share/npm/bin\', \'HOME\': \'/Users/marc\', \'CLICOLOR\': \'true\', \'rvm_examples_path\': \'/Users/marc/.rvm/examples\', \'DISPLAY\': \'/tmp/launch-Ny7MoX/org.x:0\', \'PERLBREW_PATH\': \'/Users/marc/perl5/perlbrew/bin:/Users/marc/perl5/perlbrew/perls/perl-5.12.2/bin\', \'rvm_ruby_string\': \'ruby-1.9.2-p290\', \'rvm_gemset_name\': \'rails3tutorial\', \'rvm_src_path\': \'/Users/marc/.rvm/src\', \'PERLBREW_VERSION\': \'0.22\', \'SHELL\': \'/bin/bash\', \'COLORFGBG\': \'7;0\', \'COMMAND_MODE\': \'legacy\', \'SHLVL\': \'1\', \'rvm_patches_path\': \'/Users/marc/.rvm/patches\', \'rvm_version\': \'1.8.3\', \'SECURITYSESSIONID\': \'2525f0\', \'ITERM_SESSION_ID\': \'w0t7p0\', \'rvm_log_path\': \'/Users/marc/.rvm/log\', \'EDITOR\': \'emacs\', \'rvm_reload_flag\': \'0\', \'rvm_repos_path\': \'/Users/marc/.rvm/repos\', \'rvm_verbose_flag\': \'0\', \'AUTOJUMP_HOME\': \'/Users/marc\', \'GEM_PATH\': \'/Users/marc/.rvm/gems/ruby-1.9.2-p290@rails3tutorial:/Users/marc/.rvm/gems/ruby-1.9.2-p290@global\', \'rvm_loaded_flag\': \'1\', \'rvm_gemsets_path\': \'/Users/marc/.rvm/gemsets\', \'WORKON_HOME\': \'/Users/marc/python/virtualenvs\', \'rvm_user_install_flag\': \'1\', \'rvm_prefix\': \'/Users/marc\', \'PERLBREW_ROOT\': \'/Users/marc/perl5/perlbrew\', \'rvm_debug_flag\': \'0\', \'PYTHONPATH\': \'/private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_unknown_dep0/dep123\', \'COMP_WORDBREAKS\': \' \\t\\n"\\\'><;|&(:\', \'TERM\': \'xterm\', \'SSH_AUTH_SOCK\': \'/tmp/launch-64KlgP/Listeners\', \'IRBRC\': \'/Users/marc/.rvm/rubies/ruby-1.9.2-p290/.irbrc\', \'TERM_PROGRAM\': \'iTerm.app\', \'MY_RUBY_HOME\': \'/Users/marc/.rvm/rubies/ruby-1.9.2-p290\', \'Apple_PubSub_Socket_Render\': \'/tmp/launch-60yVK2/Render\', \'ITERM_PROFILE\': \'tmux\', \'rvm_env_string\': \'ruby-1.9.2-p290@rails3tutorial\', \'rvm_tmp_path\': \'/Users/marc/.rvm/tmp\', \'_\': \'/Library/Frameworks/Python.framework/Versions/2.7/bin/tox\', \'LANG\': \'en_US.UTF-8\', \'HISTIGNORE\': \'&:ls:mutt:[bf]g:exit\', \'PERL5LIB\': \'/Users/marc/lib/perl\', \'JAVA_HOME\': \'/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home\', \'rvm_user_path\': \'/Users/marc/.rvm/user\', \'TMPDIR\': \'/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/\', \'LSCOLORS\': \'ExGxCxDxCxegedabagacad\', \'rvm_rubies_path\': \'/Users/marc/.rvm/rubies\', \'OLDPWD\': \'/Users/marc/dev/hg-repos\', \'rvm_wrappers_path\': \'/Users/marc/.rvm/wrappers\', \'rvm_archives_path\': \'/Users/marc/.rvm/archives\', \'NODE_PATH\': \'/usr/local/lib/node:/usr/local/lib/node_modules\', \'__CF_USER_TEXT_ENCODING\': \'0x1F5:0:0\', \'CVSEDITOR\': \'emacs\', \'PWD\': \'/Users/marc/dev/hg-repos/tox_quickstart\', \'rvm_gems_path\': \'/Users/marc/.rvm/gems\', \'rvm_help_path\': \'/Users/marc/.rvm/help\', \'rvm_lib_path\': \'/Users/marc/.rvm/lib\', \'SHMUX_SSH_OPTS\': \'\', \'rvm_environments_path\': \'/Users/marc/.rvm/environments\', \'rvm_gems_cache_path\': \'/Users/marc/.rvm/gems/cache\', \'rvm_bin_path\': \'/Users/marc/.rvm/bin\', \'PAGER\': \'most\', \'PATH_WITHOUT_PERLBREW\': \'~/bin:/usr/local/share/python:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/usr/X11/bin:/usr/local/share/npm/bin\', \'GEM_HOME\': \'/Users/marc/.rvm/gems/ruby-1.9.2-p290@rails3tutorial\'}'
    and: u"Using real prefix '/Library/Frameworks/Python.framework/Versions/2.6'"
    and: u'New python executable in python/bin/python'
    and: u'Installing distribute.......'
    and: u'  Complete output from command /private/var/folders...ox/python/bin/python -c "# Called from virtua...main(sys.argv[1:])'
    and: u'" /Users/marc/dev/hg-r...ute-0.6.28-py2.6.egg:'
    and: u'    File "<string>", line 4'
    and: u'    import sys'
    and: u'              ^'
    and: u'SyntaxError: invalid syntax'
    and: u'----------------------------------------'
    and: u'...Installing distribute...done.'
    and: u'Traceback (most recent call last):'
    and: u'  File "/Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/lib/python2.6/site-packages/virtualenv.py", line 2557, in <module>'
    and: u'    main()'
    and: u'  File "/Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/lib/python2.6/site-packages/virtualenv.py", line 961, in main'
    and: u'    never_download=options.never_download)'
    and: u'  File "/Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/lib/python2.6/site-packages/virtualenv.py", line 1068, in create_environment'
    and: u'    search_dirs=search_dirs, never_download=never_download)'
    and: u'  File "/Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/lib/python2.6/site-packages/virtualenv.py", line 613, in install_distribute'
    and: u'    search_dirs=search_dirs, never_download=never_download)'
    and: u'  File "/Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/lib/python2.6/site-packages/virtualenv.py", line 580, in _install_req'
    and: u'    cwd=cwd)'
    and: u'  File "/Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/lib/python2.6/site-packages/virtualenv.py", line 1039, in call_subprocess'
    and: u'    % (cmd_desc, proc.returncode))'
    and: u'OSError: Command /private/var/folders...ox/python/bin/python -c "# Called from virtua...main(sys.argv[1:])'
    and: u'" /Users/marc/dev/hg-r...ute-0.6.28-py2.6.egg failed with error code 1'
    and: u''
    and: u'ERROR: InvocationError: /Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/bin/python /Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/lib/python2.6/site-packages/virtualenv.py --distribute python (see /private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_unknown_dep0/dep123/.tox/python/log/python-0.log)'
    and: u'___________________________________ summary ____________________________________'
    and: u'ERROR:   python: InvocationError: /Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/bin/python /Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/lib/python2.6/site-packages/virtualenv.py --distribute python (see /private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_unknown_dep0/dep123/.tox/python/log/python-0.log)'
_____________________________________________________________________________________________________________ test_test_simple _____________________________________________________________________________________________________________

cmd = <tox._pytestplugin.Cmd instance at 0x1ccf990>, initproj = <function initproj at 0x1f61c30>

    def test_test_simple(cmd, initproj):
        initproj("example123-0.5", filedefs={
            'tests': {'test_hello.py': """
                def test_hello(pytestconfig):
                    pass
                """,
            },
            'tox.ini': '''
                [testenv]
                changedir=tests
                commands=
                    py.test --basetemp={envtmpdir} --junitxml=junit-{envname}.xml []
                deps=pytest
            '''
        })
        result = cmd.run("tox")
>       assert not result.ret
E       assert not 1
E        +  where 1 = <tox._pytestplugin.RunResult instance at 0x1ccfe68>.ret

/Users/marc/dev/hg-repos/tox_quickstart/tests/test_z_cmdline.py:308: AssertionError
------------------------------------------------------------------------------------------------------------- Captured stdout --------------------------------------------------------------------------------------------------------------
created project in /private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_test_simple0/example123
/private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_test_simple0/example123$ tox
GLOB sdist-make: /private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_test_simple0/example123/setup.py
python create: /private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_test_simple0/example123/.tox/python
ERROR: invocation failed, logfile: /private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_test_simple0/example123/.tox/python/log/python-0.log
ERROR: actionid=python
msg=getenv
cmdargs=['/Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/bin/python', '/Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/lib/python2.6/site-packages/virtualenv.py', '--distribute', 'python']
env={'rvm_scripts_path': '/Users/marc/.rvm/scripts', 'rvm_usr_path': '/Users/marc/.rvm/usr', 'COM_GOOGLE_CHROME_FRAMEWORK_SERVICE_PROCESS/USERS/MARC/LIBRARY/APPLICATION_SUPPORT/GOOGLE/CHROME_SOCKET': '/tmp/launch-rarCxB/ServiceProcessSocket', 'HISTFILE': '/Users/marc/.bash_history-', 'LESS': '-rich4MP%t?f%f :stdin .?pb%pb\\%:?lbLine %lb:?bbByte %bb:-...', 'PERLBREW_PERL': 'perl-5.12.2', 'AUTOJUMP_DATA_DIR': '/Users/marc/.local/share/autojump', 'rvm_man_path': '/Users/marc/.rvm/man', 'rvm_path': '/Users/marc/.rvm', 'LESSOPEN': '|/usr/local/bin/lesspipe.sh %s', 'rvm_docs_path': '/Users/marc/.rvm/docs', 'RUBY_VERSION': 'ruby-1.9.2-p290', 'rvm_project_rvmrc': '1', 'LOGNAME': 'marc', 'USER': 'marc', 'PROMPT_COMMAND': 'history -a; [ -f .dirrc ] && . .dirrc', 'PATH': '/private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_test_simple0/example123/.tox/python/bin:/Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/bin:/Library/Frameworks/Python.framework/Versions/2.7/bin:/Library/Frameworks/Python.framework/Versions/2.7/bin:/Library/Frameworks/Python.framework/Versions/2.6/bin:/Users/marc/.rvm/gems/ruby-1.9.2-p290@rails3tutorial/bin:/Users/marc/.rvm/gems/ruby-1.9.2-p290@global/bin:/Users/marc/.rvm/rubies/ruby-1.9.2-p290/bin:/Users/marc/.rvm/bin:/Users/marc/perl5/perlbrew/bin:/Users/marc/perl5/perlbrew/perls/perl-5.12.2/bin:~/bin:/usr/local/share/python:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/usr/X11/bin:/usr/local/share/npm/bin', 'HOME': '/Users/marc', 'CLICOLOR': 'true', 'rvm_examples_path': '/Users/marc/.rvm/examples', 'DISPLAY': '/tmp/launch-Ny7MoX/org.x:0', 'PERLBREW_PATH': '/Users/marc/perl5/perlbrew/bin:/Users/marc/perl5/perlbrew/perls/perl-5.12.2/bin', 'rvm_ruby_string': 'ruby-1.9.2-p290', 'rvm_gemset_name': 'rails3tutorial', 'rvm_src_path': '/Users/marc/.rvm/src', 'PERLBREW_VERSION': '0.22', 'SHELL': '/bin/bash', 'COLORFGBG': '7;0', 'COMMAND_MODE': 'legacy', 'SHLVL': '1', 'rvm_patches_path': '/Users/marc/.rvm/patches', 'rvm_version': '1.8.3', 'SECURITYSESSIONID': '2525f0', 'ITERM_SESSION_ID': 'w0t7p0', 'rvm_log_path': '/Users/marc/.rvm/log', 'EDITOR': 'emacs', 'rvm_reload_flag': '0', 'rvm_repos_path': '/Users/marc/.rvm/repos', 'rvm_verbose_flag': '0', 'AUTOJUMP_HOME': '/Users/marc', 'GEM_PATH': '/Users/marc/.rvm/gems/ruby-1.9.2-p290@rails3tutorial:/Users/marc/.rvm/gems/ruby-1.9.2-p290@global', 'rvm_loaded_flag': '1', 'rvm_gemsets_path': '/Users/marc/.rvm/gemsets', 'WORKON_HOME': '/Users/marc/python/virtualenvs', 'rvm_user_install_flag': '1', 'rvm_prefix': '/Users/marc', 'PERLBREW_ROOT': '/Users/marc/perl5/perlbrew', 'rvm_debug_flag': '0', 'PYTHONPATH': '/private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_test_simple0/example123', 'COMP_WORDBREAKS': ' \t\n"\'><;|&(:', 'TERM': 'xterm', 'SSH_AUTH_SOCK': '/tmp/launch-64KlgP/Listeners', 'IRBRC': '/Users/marc/.rvm/rubies/ruby-1.9.2-p290/.irbrc', 'TERM_PROGRAM': 'iTerm.app', 'MY_RUBY_HOME': '/Users/marc/.rvm/rubies/ruby-1.9.2-p290', 'Apple_PubSub_Socket_Render': '/tmp/launch-60yVK2/Render', 'ITERM_PROFILE': 'tmux', 'rvm_env_string': 'ruby-1.9.2-p290@rails3tutorial', 'rvm_tmp_path': '/Users/marc/.rvm/tmp', '_': '/Library/Frameworks/Python.framework/Versions/2.7/bin/tox', 'LANG': 'en_US.UTF-8', 'HISTIGNORE': '&:ls:mutt:[bf]g:exit', 'PERL5LIB': '/Users/marc/lib/perl', 'JAVA_HOME': '/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home', 'rvm_user_path': '/Users/marc/.rvm/user', 'TMPDIR': '/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/', 'LSCOLORS': 'ExGxCxDxCxegedabagacad', 'rvm_rubies_path': '/Users/marc/.rvm/rubies', 'OLDPWD': '/Users/marc/dev/hg-repos', 'rvm_wrappers_path': '/Users/marc/.rvm/wrappers', 'rvm_archives_path': '/Users/marc/.rvm/archives', 'NODE_PATH': '/usr/local/lib/node:/usr/local/lib/node_modules', '__CF_USER_TEXT_ENCODING': '0x1F5:0:0', 'CVSEDITOR': 'emacs', 'PWD': '/Users/marc/dev/hg-repos/tox_quickstart', 'rvm_gems_path': '/Users/marc/.rvm/gems', 'rvm_help_path': '/Users/marc/.rvm/help', 'rvm_lib_path': '/Users/marc/.rvm/lib', 'SHMUX_SSH_OPTS': '', 'rvm_environments_path': '/Users/marc/.rvm/environments', 'rvm_gems_cache_path': '/Users/marc/.rvm/gems/cache', 'rvm_bin_path': '/Users/marc/.rvm/bin', 'PAGER': 'most', 'PATH_WITHOUT_PERLBREW': '~/bin:/usr/local/share/python:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/usr/X11/bin:/usr/local/share/npm/bin', 'GEM_HOME': '/Users/marc/.rvm/gems/ruby-1.9.2-p290@rails3tutorial'}
Using real prefix '/Library/Frameworks/Python.framework/Versions/2.6'
New python executable in python/bin/python
Installing distribute.......
  Complete output from command /private/var/folders...ox/python/bin/python -c "# Called from virtua...main(sys.argv[1:])
" /Users/marc/dev/hg-r...ute-0.6.28-py2.6.egg:
    File "<string>", line 4
    import sys
              ^
SyntaxError: invalid syntax
----------------------------------------
...Installing distribute...done.
Traceback (most recent call last):
  File "/Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/lib/python2.6/site-packages/virtualenv.py", line 2557, in <module>
    main()
  File "/Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/lib/python2.6/site-packages/virtualenv.py", line 961, in main
    never_download=options.never_download)
  File "/Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/lib/python2.6/site-packages/virtualenv.py", line 1068, in create_environment
    search_dirs=search_dirs, never_download=never_download)
  File "/Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/lib/python2.6/site-packages/virtualenv.py", line 613, in install_distribute
    search_dirs=search_dirs, never_download=never_download)
  File "/Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/lib/python2.6/site-packages/virtualenv.py", line 580, in _install_req
    cwd=cwd)
  File "/Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/lib/python2.6/site-packages/virtualenv.py", line 1039, in call_subprocess
    % (cmd_desc, proc.returncode))
OSError: Command /private/var/folders...ox/python/bin/python -c "# Called from virtua...main(sys.argv[1:])
" /Users/marc/dev/hg-r...ute-0.6.28-py2.6.egg failed with error code 1

ERROR: InvocationError: /Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/bin/python /Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/lib/python2.6/site-packages/virtualenv.py --distribute python (see /private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_test_simple0/example123/.tox/python/log/python-0.log)
___________________________________ summary ____________________________________
ERROR:   python: InvocationError: /Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/bin/python /Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/lib/python2.6/site-packages/virtualenv.py --distribute python (see /private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_test_simple0/example123/.tox/python/log/python-0.log)
____________________________________________________________________________________________________________ test_test_piphelp _____________________________________________________________________________________________________________

initproj = <function initproj at 0x1f73070>, cmd = <tox._pytestplugin.Cmd instance at 0x1ccf260>

    def test_test_piphelp(initproj, cmd):
        initproj("example123", filedefs={'tox.ini': """
            # content of: tox.ini
            [testenv]
            commands=pip -h
            [testenv:py25]
            basepython=python
            [testenv:py26]
            basepython=python
        """})
        result = cmd.run("tox")
>       assert not result.ret
E       assert not 1
E        +  where 1 = <tox._pytestplugin.RunResult instance at 0x1ccf328>.ret

/Users/marc/dev/hg-repos/tox_quickstart/tests/test_z_cmdline.py:354: AssertionError
------------------------------------------------------------------------------------------------------------- Captured stdout --------------------------------------------------------------------------------------------------------------
created project in /private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_test_piphelp0/example123
/private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_test_piphelp0/example123$ tox
GLOB sdist-make: /private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_test_piphelp0/example123/setup.py
py26 create: /private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_test_piphelp0/example123/.tox/py26
ERROR: invocation failed, logfile: /private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_test_piphelp0/example123/.tox/py26/log/py26-0.log
ERROR: actionid=py26
msg=getenv
cmdargs=['/Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/bin/python', '/Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/lib/python2.6/site-packages/virtualenv.py', '--distribute', 'py26']
env={'rvm_scripts_path': '/Users/marc/.rvm/scripts', 'rvm_usr_path': '/Users/marc/.rvm/usr', 'COM_GOOGLE_CHROME_FRAMEWORK_SERVICE_PROCESS/USERS/MARC/LIBRARY/APPLICATION_SUPPORT/GOOGLE/CHROME_SOCKET': '/tmp/launch-rarCxB/ServiceProcessSocket', 'HISTFILE': '/Users/marc/.bash_history-', 'LESS': '-rich4MP%t?f%f :stdin .?pb%pb\\%:?lbLine %lb:?bbByte %bb:-...', 'PERLBREW_PERL': 'perl-5.12.2', 'AUTOJUMP_DATA_DIR': '/Users/marc/.local/share/autojump', 'rvm_man_path': '/Users/marc/.rvm/man', 'rvm_path': '/Users/marc/.rvm', 'LESSOPEN': '|/usr/local/bin/lesspipe.sh %s', 'rvm_docs_path': '/Users/marc/.rvm/docs', 'RUBY_VERSION': 'ruby-1.9.2-p290', 'rvm_project_rvmrc': '1', 'LOGNAME': 'marc', 'USER': 'marc', 'PROMPT_COMMAND': 'history -a; [ -f .dirrc ] && . .dirrc', 'PATH': '/private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_test_piphelp0/example123/.tox/py26/bin:/Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/bin:/Library/Frameworks/Python.framework/Versions/2.7/bin:/Library/Frameworks/Python.framework/Versions/2.7/bin:/Library/Frameworks/Python.framework/Versions/2.6/bin:/Users/marc/.rvm/gems/ruby-1.9.2-p290@rails3tutorial/bin:/Users/marc/.rvm/gems/ruby-1.9.2-p290@global/bin:/Users/marc/.rvm/rubies/ruby-1.9.2-p290/bin:/Users/marc/.rvm/bin:/Users/marc/perl5/perlbrew/bin:/Users/marc/perl5/perlbrew/perls/perl-5.12.2/bin:~/bin:/usr/local/share/python:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/usr/X11/bin:/usr/local/share/npm/bin', 'HOME': '/Users/marc', 'CLICOLOR': 'true', 'rvm_examples_path': '/Users/marc/.rvm/examples', 'DISPLAY': '/tmp/launch-Ny7MoX/org.x:0', 'PERLBREW_PATH': '/Users/marc/perl5/perlbrew/bin:/Users/marc/perl5/perlbrew/perls/perl-5.12.2/bin', 'rvm_ruby_string': 'ruby-1.9.2-p290', 'rvm_gemset_name': 'rails3tutorial', 'rvm_src_path': '/Users/marc/.rvm/src', 'PERLBREW_VERSION': '0.22', 'SHELL': '/bin/bash', 'COLORFGBG': '7;0', 'COMMAND_MODE': 'legacy', 'SHLVL': '1', 'rvm_patches_path': '/Users/marc/.rvm/patches', 'rvm_version': '1.8.3', 'SECURITYSESSIONID': '2525f0', 'ITERM_SESSION_ID': 'w0t7p0', 'rvm_log_path': '/Users/marc/.rvm/log', 'EDITOR': 'emacs', 'rvm_reload_flag': '0', 'rvm_repos_path': '/Users/marc/.rvm/repos', 'rvm_verbose_flag': '0', 'AUTOJUMP_HOME': '/Users/marc', 'GEM_PATH': '/Users/marc/.rvm/gems/ruby-1.9.2-p290@rails3tutorial:/Users/marc/.rvm/gems/ruby-1.9.2-p290@global', 'rvm_loaded_flag': '1', 'rvm_gemsets_path': '/Users/marc/.rvm/gemsets', 'WORKON_HOME': '/Users/marc/python/virtualenvs', 'rvm_user_install_flag': '1', 'rvm_prefix': '/Users/marc', 'PERLBREW_ROOT': '/Users/marc/perl5/perlbrew', 'rvm_debug_flag': '0', 'PYTHONPATH': '/private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_test_piphelp0/example123', 'COMP_WORDBREAKS': ' \t\n"\'><;|&(:', 'TERM': 'xterm', 'SSH_AUTH_SOCK': '/tmp/launch-64KlgP/Listeners', 'IRBRC': '/Users/marc/.rvm/rubies/ruby-1.9.2-p290/.irbrc', 'TERM_PROGRAM': 'iTerm.app', 'MY_RUBY_HOME': '/Users/marc/.rvm/rubies/ruby-1.9.2-p290', 'Apple_PubSub_Socket_Render': '/tmp/launch-60yVK2/Render', 'ITERM_PROFILE': 'tmux', 'rvm_env_string': 'ruby-1.9.2-p290@rails3tutorial', 'rvm_tmp_path': '/Users/marc/.rvm/tmp', '_': '/Library/Frameworks/Python.framework/Versions/2.7/bin/tox', 'LANG': 'en_US.UTF-8', 'HISTIGNORE': '&:ls:mutt:[bf]g:exit', 'PERL5LIB': '/Users/marc/lib/perl', 'JAVA_HOME': '/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home', 'rvm_user_path': '/Users/marc/.rvm/user', 'TMPDIR': '/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/', 'LSCOLORS': 'ExGxCxDxCxegedabagacad', 'rvm_rubies_path': '/Users/marc/.rvm/rubies', 'OLDPWD': '/Users/marc/dev/hg-repos', 'rvm_wrappers_path': '/Users/marc/.rvm/wrappers', 'rvm_archives_path': '/Users/marc/.rvm/archives', 'NODE_PATH': '/usr/local/lib/node:/usr/local/lib/node_modules', '__CF_USER_TEXT_ENCODING': '0x1F5:0:0', 'CVSEDITOR': 'emacs', 'PWD': '/Users/marc/dev/hg-repos/tox_quickstart', 'rvm_gems_path': '/Users/marc/.rvm/gems', 'rvm_help_path': '/Users/marc/.rvm/help', 'rvm_lib_path': '/Users/marc/.rvm/lib', 'SHMUX_SSH_OPTS': '', 'rvm_environments_path': '/Users/marc/.rvm/environments', 'rvm_gems_cache_path': '/Users/marc/.rvm/gems/cache', 'rvm_bin_path': '/Users/marc/.rvm/bin', 'PAGER': 'most', 'PATH_WITHOUT_PERLBREW': '~/bin:/usr/local/share/python:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/usr/X11/bin:/usr/local/share/npm/bin', 'GEM_HOME': '/Users/marc/.rvm/gems/ruby-1.9.2-p290@rails3tutorial'}
Using real prefix '/Library/Frameworks/Python.framework/Versions/2.6'
New python executable in py26/bin/python
Installing distribute.......
  Complete output from command /private/var/folders....tox/py26/bin/python -c "# Called from virtua...main(sys.argv[1:])
" /Users/marc/dev/hg-r...ute-0.6.28-py2.6.egg:
    File "<string>", line 4
    import sys
              ^
SyntaxError: invalid syntax
----------------------------------------
...Installing distribute...done.
Traceback (most recent call last):
  File "/Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/lib/python2.6/site-packages/virtualenv.py", line 2557, in <module>
    main()
  File "/Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/lib/python2.6/site-packages/virtualenv.py", line 961, in main
    never_download=options.never_download)
  File "/Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/lib/python2.6/site-packages/virtualenv.py", line 1068, in create_environment
    search_dirs=search_dirs, never_download=never_download)
  File "/Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/lib/python2.6/site-packages/virtualenv.py", line 613, in install_distribute
    search_dirs=search_dirs, never_download=never_download)
  File "/Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/lib/python2.6/site-packages/virtualenv.py", line 580, in _install_req
    cwd=cwd)
  File "/Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/lib/python2.6/site-packages/virtualenv.py", line 1039, in call_subprocess
    % (cmd_desc, proc.returncode))
OSError: Command /private/var/folders....tox/py26/bin/python -c "# Called from virtua...main(sys.argv[1:])
" /Users/marc/dev/hg-r...ute-0.6.28-py2.6.egg failed with error code 1

ERROR: InvocationError: /Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/bin/python /Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/lib/python2.6/site-packages/virtualenv.py --distribute py26 (see /private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_test_piphelp0/example123/.tox/py26/log/py26-0.log)
py25 create: /private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_test_piphelp0/example123/.tox/py25
ERROR: invocation failed, logfile: /private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_test_piphelp0/example123/.tox/py25/log/py25-0.log
ERROR: actionid=py25
msg=getenv
cmdargs=['/Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/bin/python', '/Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/lib/python2.6/site-packages/virtualenv.py', '--distribute', 'py25']
env={'rvm_scripts_path': '/Users/marc/.rvm/scripts', 'rvm_usr_path': '/Users/marc/.rvm/usr', 'COM_GOOGLE_CHROME_FRAMEWORK_SERVICE_PROCESS/USERS/MARC/LIBRARY/APPLICATION_SUPPORT/GOOGLE/CHROME_SOCKET': '/tmp/launch-rarCxB/ServiceProcessSocket', 'HISTFILE': '/Users/marc/.bash_history-', 'LESS': '-rich4MP%t?f%f :stdin .?pb%pb\\%:?lbLine %lb:?bbByte %bb:-...', 'PERLBREW_PERL': 'perl-5.12.2', 'AUTOJUMP_DATA_DIR': '/Users/marc/.local/share/autojump', 'rvm_man_path': '/Users/marc/.rvm/man', 'rvm_path': '/Users/marc/.rvm', 'LESSOPEN': '|/usr/local/bin/lesspipe.sh %s', 'rvm_docs_path': '/Users/marc/.rvm/docs', 'RUBY_VERSION': 'ruby-1.9.2-p290', 'rvm_project_rvmrc': '1', 'LOGNAME': 'marc', 'USER': 'marc', 'PROMPT_COMMAND': 'history -a; [ -f .dirrc ] && . .dirrc', 'PATH': '/private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_test_piphelp0/example123/.tox/py25/bin:/Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/bin:/Library/Frameworks/Python.framework/Versions/2.7/bin:/Library/Frameworks/Python.framework/Versions/2.7/bin:/Library/Frameworks/Python.framework/Versions/2.6/bin:/Users/marc/.rvm/gems/ruby-1.9.2-p290@rails3tutorial/bin:/Users/marc/.rvm/gems/ruby-1.9.2-p290@global/bin:/Users/marc/.rvm/rubies/ruby-1.9.2-p290/bin:/Users/marc/.rvm/bin:/Users/marc/perl5/perlbrew/bin:/Users/marc/perl5/perlbrew/perls/perl-5.12.2/bin:~/bin:/usr/local/share/python:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/usr/X11/bin:/usr/local/share/npm/bin', 'HOME': '/Users/marc', 'CLICOLOR': 'true', 'rvm_examples_path': '/Users/marc/.rvm/examples', 'DISPLAY': '/tmp/launch-Ny7MoX/org.x:0', 'PERLBREW_PATH': '/Users/marc/perl5/perlbrew/bin:/Users/marc/perl5/perlbrew/perls/perl-5.12.2/bin', 'rvm_ruby_string': 'ruby-1.9.2-p290', 'rvm_gemset_name': 'rails3tutorial', 'rvm_src_path': '/Users/marc/.rvm/src', 'PERLBREW_VERSION': '0.22', 'SHELL': '/bin/bash', 'COLORFGBG': '7;0', 'COMMAND_MODE': 'legacy', 'SHLVL': '1', 'rvm_patches_path': '/Users/marc/.rvm/patches', 'rvm_version': '1.8.3', 'SECURITYSESSIONID': '2525f0', 'ITERM_SESSION_ID': 'w0t7p0', 'rvm_log_path': '/Users/marc/.rvm/log', 'EDITOR': 'emacs', 'rvm_reload_flag': '0', 'rvm_repos_path': '/Users/marc/.rvm/repos', 'rvm_verbose_flag': '0', 'AUTOJUMP_HOME': '/Users/marc', 'GEM_PATH': '/Users/marc/.rvm/gems/ruby-1.9.2-p290@rails3tutorial:/Users/marc/.rvm/gems/ruby-1.9.2-p290@global', 'rvm_loaded_flag': '1', 'rvm_gemsets_path': '/Users/marc/.rvm/gemsets', 'WORKON_HOME': '/Users/marc/python/virtualenvs', 'rvm_user_install_flag': '1', 'rvm_prefix': '/Users/marc', 'PERLBREW_ROOT': '/Users/marc/perl5/perlbrew', 'rvm_debug_flag': '0', 'PYTHONPATH': '/private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_test_piphelp0/example123', 'COMP_WORDBREAKS': ' \t\n"\'><;|&(:', 'TERM': 'xterm', 'SSH_AUTH_SOCK': '/tmp/launch-64KlgP/Listeners', 'IRBRC': '/Users/marc/.rvm/rubies/ruby-1.9.2-p290/.irbrc', 'TERM_PROGRAM': 'iTerm.app', 'MY_RUBY_HOME': '/Users/marc/.rvm/rubies/ruby-1.9.2-p290', 'Apple_PubSub_Socket_Render': '/tmp/launch-60yVK2/Render', 'ITERM_PROFILE': 'tmux', 'rvm_env_string': 'ruby-1.9.2-p290@rails3tutorial', 'rvm_tmp_path': '/Users/marc/.rvm/tmp', '_': '/Library/Frameworks/Python.framework/Versions/2.7/bin/tox', 'LANG': 'en_US.UTF-8', 'HISTIGNORE': '&:ls:mutt:[bf]g:exit', 'PERL5LIB': '/Users/marc/lib/perl', 'JAVA_HOME': '/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home', 'rvm_user_path': '/Users/marc/.rvm/user', 'TMPDIR': '/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/', 'LSCOLORS': 'ExGxCxDxCxegedabagacad', 'rvm_rubies_path': '/Users/marc/.rvm/rubies', 'OLDPWD': '/Users/marc/dev/hg-repos', 'rvm_wrappers_path': '/Users/marc/.rvm/wrappers', 'rvm_archives_path': '/Users/marc/.rvm/archives', 'NODE_PATH': '/usr/local/lib/node:/usr/local/lib/node_modules', '__CF_USER_TEXT_ENCODING': '0x1F5:0:0', 'CVSEDITOR': 'emacs', 'PWD': '/Users/marc/dev/hg-repos/tox_quickstart', 'rvm_gems_path': '/Users/marc/.rvm/gems', 'rvm_help_path': '/Users/marc/.rvm/help', 'rvm_lib_path': '/Users/marc/.rvm/lib', 'SHMUX_SSH_OPTS': '', 'rvm_environments_path': '/Users/marc/.rvm/environments', 'rvm_gems_cache_path': '/Users/marc/.rvm/gems/cache', 'rvm_bin_path': '/Users/marc/.rvm/bin', 'PAGER': 'most', 'PATH_WITHOUT_PERLBREW': '~/bin:/usr/local/share/python:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/usr/X11/bin:/usr/local/share/npm/bin', 'GEM_HOME': '/Users/marc/.rvm/gems/ruby-1.9.2-p290@rails3tutorial'}
Using real prefix '/Library/Frameworks/Python.framework/Versions/2.6'
New python executable in py25/bin/python
Installing distribute.......
  Complete output from command /private/var/folders....tox/py25/bin/python -c "# Called from virtua...main(sys.argv[1:])
" /Users/marc/dev/hg-r...ute-0.6.28-py2.6.egg:
    File "<string>", line 4
    import sys
              ^
SyntaxError: invalid syntax
----------------------------------------
...Installing distribute...done.
Traceback (most recent call last):
  File "/Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/lib/python2.6/site-packages/virtualenv.py", line 2557, in <module>
    main()
  File "/Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/lib/python2.6/site-packages/virtualenv.py", line 961, in main
    never_download=options.never_download)
  File "/Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/lib/python2.6/site-packages/virtualenv.py", line 1068, in create_environment
    search_dirs=search_dirs, never_download=never_download)
  File "/Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/lib/python2.6/site-packages/virtualenv.py", line 613, in install_distribute
    search_dirs=search_dirs, never_download=never_download)
  File "/Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/lib/python2.6/site-packages/virtualenv.py", line 580, in _install_req
    cwd=cwd)
  File "/Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/lib/python2.6/site-packages/virtualenv.py", line 1039, in call_subprocess
    % (cmd_desc, proc.returncode))
OSError: Command /private/var/folders....tox/py25/bin/python -c "# Called from virtua...main(sys.argv[1:])
" /Users/marc/dev/hg-r...ute-0.6.28-py2.6.egg failed with error code 1

ERROR: InvocationError: /Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/bin/python /Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/lib/python2.6/site-packages/virtualenv.py --distribute py25 (see /private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_test_piphelp0/example123/.tox/py25/log/py25-0.log)
___________________________________ summary ____________________________________
ERROR:   py26: InvocationError: /Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/bin/python /Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/lib/python2.6/site-packages/virtualenv.py --distribute py26 (see /private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_test_piphelp0/example123/.tox/py26/log/py26-0.log)
ERROR:   py25: InvocationError: /Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/bin/python /Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/lib/python2.6/site-packages/virtualenv.py --distribute py25 (see /private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_test_piphelp0/example123/.tox/py25/log/py25-0.log)
_______________________________________________________________________________________________________________ test_notest ________________________________________________________________________________________________________________

initproj = <function initproj at 0x1f73230>, cmd = <tox._pytestplugin.Cmd instance at 0x1f63b20>

    def test_notest(initproj, cmd):
        initproj("example123", filedefs={'tox.ini': """
            # content of: tox.ini
            [testenv:py25]
            basepython=python
        """})
        result = cmd.run("tox", "-v", "--notest")
>       assert not result.ret
E       assert not 1
E        +  where 1 = <tox._pytestplugin.RunResult instance at 0x1f635f8>.ret

/Users/marc/dev/hg-repos/tox_quickstart/tests/test_z_cmdline.py:363: AssertionError
------------------------------------------------------------------------------------------------------------- Captured stdout --------------------------------------------------------------------------------------------------------------
created project in /private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_notest1/example123
/private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_notest1/example123$ tox -v --notest
using tox.ini: /private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_notest1/example123/tox.ini
using tox-1.4.3.dev2 from /Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/lib/python2.6/site-packages/tox/__init__.pyc
GLOB sdist-make: /private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_notest1/example123/setup.py
  /private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_notest1/example123$ /Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/bin/python /private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_notest1/example123/setup.py sdist --formats=zip --dist-dir /private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_notest1/example123/.tox/dist >/private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_notest1/example123/.tox/log/tox-0.log
py25 create: /private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_notest1/example123/.tox/py25
  /private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_notest1/example123/.tox$ /Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/bin/python /Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/lib/python2.6/site-packages/virtualenv.py --distribute py25 >/private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_notest1/example123/.tox/py25/log/py25-0.log
ERROR: invocation failed, logfile: /private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_notest1/example123/.tox/py25/log/py25-0.log
ERROR: actionid=py25
msg=getenv
cmdargs=['/Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/bin/python', '/Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/lib/python2.6/site-packages/virtualenv.py', '--distribute', 'py25']
env={'rvm_scripts_path': '/Users/marc/.rvm/scripts', 'rvm_usr_path': '/Users/marc/.rvm/usr', 'COM_GOOGLE_CHROME_FRAMEWORK_SERVICE_PROCESS/USERS/MARC/LIBRARY/APPLICATION_SUPPORT/GOOGLE/CHROME_SOCKET': '/tmp/launch-rarCxB/ServiceProcessSocket', 'HISTFILE': '/Users/marc/.bash_history-', 'LESS': '-rich4MP%t?f%f :stdin .?pb%pb\\%:?lbLine %lb:?bbByte %bb:-...', 'PERLBREW_PERL': 'perl-5.12.2', 'AUTOJUMP_DATA_DIR': '/Users/marc/.local/share/autojump', 'rvm_man_path': '/Users/marc/.rvm/man', 'rvm_path': '/Users/marc/.rvm', 'LESSOPEN': '|/usr/local/bin/lesspipe.sh %s', 'rvm_docs_path': '/Users/marc/.rvm/docs', 'RUBY_VERSION': 'ruby-1.9.2-p290', 'rvm_project_rvmrc': '1', 'LOGNAME': 'marc', 'USER': 'marc', 'PROMPT_COMMAND': 'history -a; [ -f .dirrc ] && . .dirrc', 'PATH': '/private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_notest1/example123/.tox/py25/bin:/Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/bin:/Library/Frameworks/Python.framework/Versions/2.7/bin:/Library/Frameworks/Python.framework/Versions/2.7/bin:/Library/Frameworks/Python.framework/Versions/2.6/bin:/Users/marc/.rvm/gems/ruby-1.9.2-p290@rails3tutorial/bin:/Users/marc/.rvm/gems/ruby-1.9.2-p290@global/bin:/Users/marc/.rvm/rubies/ruby-1.9.2-p290/bin:/Users/marc/.rvm/bin:/Users/marc/perl5/perlbrew/bin:/Users/marc/perl5/perlbrew/perls/perl-5.12.2/bin:~/bin:/usr/local/share/python:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/usr/X11/bin:/usr/local/share/npm/bin', 'HOME': '/Users/marc', 'CLICOLOR': 'true', 'rvm_examples_path': '/Users/marc/.rvm/examples', 'DISPLAY': '/tmp/launch-Ny7MoX/org.x:0', 'PERLBREW_PATH': '/Users/marc/perl5/perlbrew/bin:/Users/marc/perl5/perlbrew/perls/perl-5.12.2/bin', 'rvm_ruby_string': 'ruby-1.9.2-p290', 'rvm_gemset_name': 'rails3tutorial', 'rvm_src_path': '/Users/marc/.rvm/src', 'PERLBREW_VERSION': '0.22', 'SHELL': '/bin/bash', 'COLORFGBG': '7;0', 'COMMAND_MODE': 'legacy', 'SHLVL': '1', 'rvm_patches_path': '/Users/marc/.rvm/patches', 'rvm_version': '1.8.3', 'SECURITYSESSIONID': '2525f0', 'ITERM_SESSION_ID': 'w0t7p0', 'rvm_log_path': '/Users/marc/.rvm/log', 'EDITOR': 'emacs', 'rvm_reload_flag': '0', 'rvm_repos_path': '/Users/marc/.rvm/repos', 'rvm_verbose_flag': '0', 'AUTOJUMP_HOME': '/Users/marc', 'GEM_PATH': '/Users/marc/.rvm/gems/ruby-1.9.2-p290@rails3tutorial:/Users/marc/.rvm/gems/ruby-1.9.2-p290@global', 'rvm_loaded_flag': '1', 'rvm_gemsets_path': '/Users/marc/.rvm/gemsets', 'WORKON_HOME': '/Users/marc/python/virtualenvs', 'rvm_user_install_flag': '1', 'rvm_prefix': '/Users/marc', 'PERLBREW_ROOT': '/Users/marc/perl5/perlbrew', 'rvm_debug_flag': '0', 'PYTHONPATH': '/private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_notest1/example123', 'COMP_WORDBREAKS': ' \t\n"\'><;|&(:', 'TERM': 'xterm', 'SSH_AUTH_SOCK': '/tmp/launch-64KlgP/Listeners', 'IRBRC': '/Users/marc/.rvm/rubies/ruby-1.9.2-p290/.irbrc', 'TERM_PROGRAM': 'iTerm.app', 'MY_RUBY_HOME': '/Users/marc/.rvm/rubies/ruby-1.9.2-p290', 'Apple_PubSub_Socket_Render': '/tmp/launch-60yVK2/Render', 'ITERM_PROFILE': 'tmux', 'rvm_env_string': 'ruby-1.9.2-p290@rails3tutorial', 'rvm_tmp_path': '/Users/marc/.rvm/tmp', '_': '/Library/Frameworks/Python.framework/Versions/2.7/bin/tox', 'LANG': 'en_US.UTF-8', 'HISTIGNORE': '&:ls:mutt:[bf]g:exit', 'PERL5LIB': '/Users/marc/lib/perl', 'JAVA_HOME': '/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home', 'rvm_user_path': '/Users/marc/.rvm/user', 'TMPDIR': '/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/', 'LSCOLORS': 'ExGxCxDxCxegedabagacad', 'rvm_rubies_path': '/Users/marc/.rvm/rubies', 'OLDPWD': '/Users/marc/dev/hg-repos', 'rvm_wrappers_path': '/Users/marc/.rvm/wrappers', 'rvm_archives_path': '/Users/marc/.rvm/archives', 'NODE_PATH': '/usr/local/lib/node:/usr/local/lib/node_modules', '__CF_USER_TEXT_ENCODING': '0x1F5:0:0', 'CVSEDITOR': 'emacs', 'PWD': '/Users/marc/dev/hg-repos/tox_quickstart', 'rvm_gems_path': '/Users/marc/.rvm/gems', 'rvm_help_path': '/Users/marc/.rvm/help', 'rvm_lib_path': '/Users/marc/.rvm/lib', 'SHMUX_SSH_OPTS': '', 'rvm_environments_path': '/Users/marc/.rvm/environments', 'rvm_gems_cache_path': '/Users/marc/.rvm/gems/cache', 'rvm_bin_path': '/Users/marc/.rvm/bin', 'PAGER': 'most', 'PATH_WITHOUT_PERLBREW': '~/bin:/usr/local/share/python:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/usr/X11/bin:/usr/local/share/npm/bin', 'GEM_HOME': '/Users/marc/.rvm/gems/ruby-1.9.2-p290@rails3tutorial'}
Using real prefix '/Library/Frameworks/Python.framework/Versions/2.6'
New python executable in py25/bin/python
Installing distribute.......
  Complete output from command /private/var/folders....tox/py25/bin/python -c "# Called from virtua...main(sys.argv[1:])
" /Users/marc/dev/hg-r...ute-0.6.28-py2.6.egg:
    File "<string>", line 4
    import sys
              ^
SyntaxError: invalid syntax
----------------------------------------
...Installing distribute...done.
Traceback (most recent call last):
  File "/Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/lib/python2.6/site-packages/virtualenv.py", line 2557, in <module>
    main()
  File "/Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/lib/python2.6/site-packages/virtualenv.py", line 961, in main
    never_download=options.never_download)
  File "/Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/lib/python2.6/site-packages/virtualenv.py", line 1068, in create_environment
    search_dirs=search_dirs, never_download=never_download)
  File "/Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/lib/python2.6/site-packages/virtualenv.py", line 613, in install_distribute
    search_dirs=search_dirs, never_download=never_download)
  File "/Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/lib/python2.6/site-packages/virtualenv.py", line 580, in _install_req
    cwd=cwd)
  File "/Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/lib/python2.6/site-packages/virtualenv.py", line 1039, in call_subprocess
    % (cmd_desc, proc.returncode))
OSError: Command /private/var/folders....tox/py25/bin/python -c "# Called from virtua...main(sys.argv[1:])
" /Users/marc/dev/hg-r...ute-0.6.28-py2.6.egg failed with error code 1

ERROR: InvocationError: /Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/bin/python /Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/lib/python2.6/site-packages/virtualenv.py --distribute py25 (see /private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_notest1/example123/.tox/py25/log/py25-0.log)
___________________________________ summary ____________________________________
ERROR:   py25: InvocationError: /Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/bin/python /Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/lib/python2.6/site-packages/virtualenv.py --distribute py25 (see /private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_notest1/example123/.tox/py25/log/py25-0.log)
_____________________________________________________________________________________________________ test_env_PYTHONDONTWRITEBYTECODE _____________________________________________________________________________________________________

initproj = <function initproj at 0x1f733b0>, cmd = <tox._pytestplugin.Cmd instance at 0x1d734b8>, monkeypatch = <_pytest.monkeypatch.monkeypatch instance at 0x1d73990>

    def test_env_PYTHONDONTWRITEBYTECODE(initproj, cmd, monkeypatch):
        initproj("example123", filedefs={'tox.ini': ''})
        monkeypatch.setenv("PYTHONDOWNWRITEBYTECODE", 1)
        result = cmd.run("tox", "-v", "--notest")
>       assert not result.ret
E       assert not 1
E        +  where 1 = <tox._pytestplugin.RunResult instance at 0x1d73878>.ret

/Users/marc/dev/hg-repos/tox_quickstart/tests/test_z_cmdline.py:378: AssertionError
------------------------------------------------------------------------------------------------------------- Captured stdout --------------------------------------------------------------------------------------------------------------
created project in /private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_env_PYTHONDONTWRITEBYTECODE0/example123
/private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_env_PYTHONDONTWRITEBYTECODE0/example123$ tox -v --notest
using tox.ini: /private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_env_PYTHONDONTWRITEBYTECODE0/example123/tox.ini
using tox-1.4.3.dev2 from /Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/lib/python2.6/site-packages/tox/__init__.pyc
GLOB sdist-make: /private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_env_PYTHONDONTWRITEBYTECODE0/example123/setup.py
  /private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_env_PYTHONDONTWRITEBYTECODE0/example123$ /Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/bin/python /private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_env_PYTHONDONTWRITEBYTECODE0/example123/setup.py sdist --formats=zip --dist-dir /private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_env_PYTHONDONTWRITEBYTECODE0/example123/.tox/dist >/private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_env_PYTHONDONTWRITEBYTECODE0/example123/.tox/log/tox-0.log
python create: /private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_env_PYTHONDONTWRITEBYTECODE0/example123/.tox/python
  /private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_env_PYTHONDONTWRITEBYTECODE0/example123/.tox$ /Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/bin/python /Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/lib/python2.6/site-packages/virtualenv.py --distribute python >/private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_env_PYTHONDONTWRITEBYTECODE0/example123/.tox/python/log/python-0.log
ERROR: invocation failed, logfile: /private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_env_PYTHONDONTWRITEBYTECODE0/example123/.tox/python/log/python-0.log
ERROR: actionid=python
msg=getenv
cmdargs=['/Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/bin/python', '/Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/lib/python2.6/site-packages/virtualenv.py', '--distribute', 'python']
env={'LESS': '-rich4MP%t?f%f :stdin .?pb%pb\\%:?lbLine %lb:?bbByte %bb:-...', 'RUBY_VERSION': 'ruby-1.9.2-p290', 'SHELL': '/bin/bash', 'COLORFGBG': '7;0', 'rvm_version': '1.8.3', 'SECURITYSESSIONID': '2525f0', 'rvm_repos_path': '/Users/marc/.rvm/repos', 'JAVA_HOME': '/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home', 'AUTOJUMP_HOME': '/Users/marc', 'rvm_gemsets_path': '/Users/marc/.rvm/gemsets', 'WORKON_HOME': '/Users/marc/python/virtualenvs', 'PYTHONPATH': '/private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_env_PYTHONDONTWRITEBYTECODE0/example123', 'MY_RUBY_HOME': '/Users/marc/.rvm/rubies/ruby-1.9.2-p290', 'rvm_gems_cache_path': '/Users/marc/.rvm/gems/cache', 'rvm_user_path': '/Users/marc/.rvm/user', 'rvm_gems_path': '/Users/marc/.rvm/gems', 'rvm_lib_path': '/Users/marc/.rvm/lib', 'rvm_bin_path': '/Users/marc/.rvm/bin', 'PATH_WITHOUT_PERLBREW': '~/bin:/usr/local/share/python:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/usr/X11/bin:/usr/local/share/npm/bin', 'PYTHONDOWNWRITEBYTECODE': '1', 'rvm_path': '/Users/marc/.rvm', 'LESSOPEN': '|/usr/local/bin/lesspipe.sh %s', 'USER': 'marc', 'PROMPT_COMMAND': 'history -a; [ -f .dirrc ] && . .dirrc', 'rvm_examples_path': '/Users/marc/.rvm/examples', 'rvm_ruby_string': 'ruby-1.9.2-p290', '__CF_USER_TEXT_ENCODING': '0x1F5:0:0', 'PERLBREW_VERSION': '0.22', 'SHLVL': '1', 'EDITOR': 'emacs', 'TERM_PROGRAM': 'iTerm.app', 'GEM_PATH': '/Users/marc/.rvm/gems/ruby-1.9.2-p290@rails3tutorial:/Users/marc/.rvm/gems/ruby-1.9.2-p290@global', 'LANG': 'en_US.UTF-8', 'rvm_debug_flag': '0', 'ITERM_PROFILE': 'tmux', '_': '/Library/Frameworks/Python.framework/Versions/2.7/bin/tox', 'PERL5LIB': '/Users/marc/lib/perl', 'rvm_archives_path': '/Users/marc/.rvm/archives', 'rvm_help_path': '/Users/marc/.rvm/help', 'rvm_environments_path': '/Users/marc/.rvm/environments', 'PAGER': 'most', 'COMMAND_MODE': 'legacy', 'HISTFILE': '/Users/marc/.bash_history-', 'PERLBREW_PERL': 'perl-5.12.2', 'AUTOJUMP_DATA_DIR': '/Users/marc/.local/share/autojump', 'rvm_man_path': '/Users/marc/.rvm/man', 'rvm_docs_path': '/Users/marc/.rvm/docs', 'rvm_rubies_path': '/Users/marc/.rvm/rubies', 'HOME': '/Users/marc', 'DISPLAY': '/tmp/launch-Ny7MoX/org.x:0', 'rvm_verbose_flag': '0', 'rvm_gemset_name': 'rails3tutorial', 'Apple_PubSub_Socket_Render': '/tmp/launch-60yVK2/Render', 'TMPDIR': '/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/', 'rvm_prefix': '/Users/marc', 'rvm_user_install_flag': '1', 'IRBRC': '/Users/marc/.rvm/rubies/ruby-1.9.2-p290/.irbrc', 'CVSEDITOR': 'emacs', 'rvm_src_path': '/Users/marc/.rvm/src', 'GEM_HOME': '/Users/marc/.rvm/gems/ruby-1.9.2-p290@rails3tutorial', 'rvm_scripts_path': '/Users/marc/.rvm/scripts', 'rvm_usr_path': '/Users/marc/.rvm/usr', 'COM_GOOGLE_CHROME_FRAMEWORK_SERVICE_PROCESS/USERS/MARC/LIBRARY/APPLICATION_SUPPORT/GOOGLE/CHROME_SOCKET': '/tmp/launch-rarCxB/ServiceProcessSocket', 'rvm_project_rvmrc': '1', 'LOGNAME': 'marc', 'PATH': '/private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_env_PYTHONDONTWRITEBYTECODE0/example123/.tox/python/bin:/Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/bin:/Library/Frameworks/Python.framework/Versions/2.7/bin:/Library/Frameworks/Python.framework/Versions/2.7/bin:/Library/Frameworks/Python.framework/Versions/2.6/bin:/Users/marc/.rvm/gems/ruby-1.9.2-p290@rails3tutorial/bin:/Users/marc/.rvm/gems/ruby-1.9.2-p290@global/bin:/Users/marc/.rvm/rubies/ruby-1.9.2-p290/bin:/Users/marc/.rvm/bin:/Users/marc/perl5/perlbrew/bin:/Users/marc/perl5/perlbrew/perls/perl-5.12.2/bin:~/bin:/usr/local/share/python:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/usr/X11/bin:/usr/local/share/npm/bin', 'NODE_PATH': '/usr/local/lib/node:/usr/local/lib/node_modules', 'rvm_patches_path': '/Users/marc/.rvm/patches', 'PERLBREW_PATH': '/Users/marc/perl5/perlbrew/bin:/Users/marc/perl5/perlbrew/perls/perl-5.12.2/bin', 'TERM': 'xterm', 'SHMUX_SSH_OPTS': '', 'ITERM_SESSION_ID': 'w0t7p0', 'rvm_log_path': '/Users/marc/.rvm/log', 'rvm_env_string': 'ruby-1.9.2-p290@rails3tutorial', 'rvm_reload_flag': '0', 'rvm_loaded_flag': '1', 'COMP_WORDBREAKS': ' \t\n"\'><;|&(:', 'PERLBREW_ROOT': '/Users/marc/perl5/perlbrew', 'SSH_AUTH_SOCK': '/tmp/launch-64KlgP/Listeners', 'rvm_tmp_path': '/Users/marc/.rvm/tmp', 'HISTIGNORE': '&:ls:mutt:[bf]g:exit', 'LSCOLORS': 'ExGxCxDxCxegedabagacad', 'OLDPWD': '/Users/marc/dev/hg-repos', 'rvm_wrappers_path': '/Users/marc/.rvm/wrappers', 'CLICOLOR': 'true', 'PWD': '/Users/marc/dev/hg-repos/tox_quickstart'}
Using real prefix '/Library/Frameworks/Python.framework/Versions/2.6'
New python executable in python/bin/python
Installing distribute.......
  Complete output from command /private/var/folders...ox/python/bin/python -c "# Called from virtua...main(sys.argv[1:])
" /Users/marc/dev/hg-r...ute-0.6.28-py2.6.egg:
    File "<string>", line 4
    import sys
              ^
SyntaxError: invalid syntax
----------------------------------------
...Installing distribute...done.
Traceback (most recent call last):
  File "/Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/lib/python2.6/site-packages/virtualenv.py", line 2557, in <module>
    main()
  File "/Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/lib/python2.6/site-packages/virtualenv.py", line 961, in main
    never_download=options.never_download)
  File "/Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/lib/python2.6/site-packages/virtualenv.py", line 1068, in create_environment
    search_dirs=search_dirs, never_download=never_download)
  File "/Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/lib/python2.6/site-packages/virtualenv.py", line 613, in install_distribute
    search_dirs=search_dirs, never_download=never_download)
  File "/Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/lib/python2.6/site-packages/virtualenv.py", line 580, in _install_req
    cwd=cwd)
  File "/Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/lib/python2.6/site-packages/virtualenv.py", line 1039, in call_subprocess
    % (cmd_desc, proc.returncode))
OSError: Command /private/var/folders...ox/python/bin/python -c "# Called from virtua...main(sys.argv[1:])
" /Users/marc/dev/hg-r...ute-0.6.28-py2.6.egg failed with error code 1

ERROR: InvocationError: /Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/bin/python /Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/lib/python2.6/site-packages/virtualenv.py --distribute python (see /private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_env_PYTHONDONTWRITEBYTECODE0/example123/.tox/python/log/python-0.log)
___________________________________ summary ____________________________________
ERROR:   python: InvocationError: /Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/bin/python /Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/lib/python2.6/site-packages/virtualenv.py --distribute python (see /private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_env_PYTHONDONTWRITEBYTECODE0/example123/.tox/python/log/python-0.log)
___________________________________________________________________________________________________________ test_separate_sdist ____________________________________________________________________________________________________________

cmd = <tox._pytestplugin.Cmd instance at 0x1ce4210>, initproj = <function initproj at 0x1f61eb0>

    def test_separate_sdist(cmd, initproj):
        distshare = cmd.tmpdir.join("distshare")
        initproj("pkg123-0.7", filedefs={
            'tox.ini': """
                [tox]
                distshare=%s
                sdistsrc={distshare}/pkg123-0.7.zip
            """ % distshare
        })
        result = cmd.run("tox", "--sdistonly")
        assert not result.ret
        l = distshare.listdir()
        assert len(l) == 1
        sdistfile = l[0]
        result = cmd.run("tox", "-v", "--notest")
>       assert not result.ret
E       assert not 1
E        +  where 1 = <tox._pytestplugin.RunResult instance at 0x1ce4378>.ret

/Users/marc/dev/hg-repos/tox_quickstart/tests/test_z_cmdline.py:422: AssertionError
------------------------------------------------------------------------------------------------------------- Captured stdout --------------------------------------------------------------------------------------------------------------
created project in /private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_separate_sdist0/pkg123
/private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_separate_sdist0/pkg123$ tox --sdistonly
GLOB sdist-make: /private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_separate_sdist0/pkg123/setup.py
/private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_separate_sdist0/pkg123$ tox -v --notest
using tox.ini: /private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_separate_sdist0/pkg123/tox.ini
using tox-1.4.3.dev2 from /Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/lib/python2.6/site-packages/tox/__init__.pyc
python create: /private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_separate_sdist0/pkg123/.tox/python
  /private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_separate_sdist0/pkg123/.tox$ /Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/bin/python /Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/lib/python2.6/site-packages/virtualenv.py --distribute python >/private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_separate_sdist0/pkg123/.tox/python/log/python-0.log
ERROR: invocation failed, logfile: /private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_separate_sdist0/pkg123/.tox/python/log/python-0.log
ERROR: actionid=python
msg=getenv
cmdargs=['/Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/bin/python', '/Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/lib/python2.6/site-packages/virtualenv.py', '--distribute', 'python']
env={'rvm_scripts_path': '/Users/marc/.rvm/scripts', 'rvm_usr_path': '/Users/marc/.rvm/usr', 'COM_GOOGLE_CHROME_FRAMEWORK_SERVICE_PROCESS/USERS/MARC/LIBRARY/APPLICATION_SUPPORT/GOOGLE/CHROME_SOCKET': '/tmp/launch-rarCxB/ServiceProcessSocket', 'HISTFILE': '/Users/marc/.bash_history-', 'LESS': '-rich4MP%t?f%f :stdin .?pb%pb\\%:?lbLine %lb:?bbByte %bb:-...', 'PERLBREW_PERL': 'perl-5.12.2', 'AUTOJUMP_DATA_DIR': '/Users/marc/.local/share/autojump', 'rvm_man_path': '/Users/marc/.rvm/man', 'rvm_path': '/Users/marc/.rvm', 'LESSOPEN': '|/usr/local/bin/lesspipe.sh %s', 'rvm_docs_path': '/Users/marc/.rvm/docs', 'RUBY_VERSION': 'ruby-1.9.2-p290', 'rvm_project_rvmrc': '1', 'LOGNAME': 'marc', 'USER': 'marc', 'PROMPT_COMMAND': 'history -a; [ -f .dirrc ] && . .dirrc', 'PATH': '/private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_separate_sdist0/pkg123/.tox/python/bin:/Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/bin:/Library/Frameworks/Python.framework/Versions/2.7/bin:/Library/Frameworks/Python.framework/Versions/2.7/bin:/Library/Frameworks/Python.framework/Versions/2.6/bin:/Users/marc/.rvm/gems/ruby-1.9.2-p290@rails3tutorial/bin:/Users/marc/.rvm/gems/ruby-1.9.2-p290@global/bin:/Users/marc/.rvm/rubies/ruby-1.9.2-p290/bin:/Users/marc/.rvm/bin:/Users/marc/perl5/perlbrew/bin:/Users/marc/perl5/perlbrew/perls/perl-5.12.2/bin:~/bin:/usr/local/share/python:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/usr/X11/bin:/usr/local/share/npm/bin', 'HOME': '/Users/marc', 'CLICOLOR': 'true', 'rvm_examples_path': '/Users/marc/.rvm/examples', 'DISPLAY': '/tmp/launch-Ny7MoX/org.x:0', 'PERLBREW_PATH': '/Users/marc/perl5/perlbrew/bin:/Users/marc/perl5/perlbrew/perls/perl-5.12.2/bin', 'rvm_ruby_string': 'ruby-1.9.2-p290', 'rvm_gemset_name': 'rails3tutorial', 'rvm_src_path': '/Users/marc/.rvm/src', 'PERLBREW_VERSION': '0.22', 'SHELL': '/bin/bash', 'COLORFGBG': '7;0', 'COMMAND_MODE': 'legacy', 'SHLVL': '1', 'rvm_patches_path': '/Users/marc/.rvm/patches', 'rvm_version': '1.8.3', 'SECURITYSESSIONID': '2525f0', 'ITERM_SESSION_ID': 'w0t7p0', 'rvm_log_path': '/Users/marc/.rvm/log', 'EDITOR': 'emacs', 'rvm_reload_flag': '0', 'rvm_repos_path': '/Users/marc/.rvm/repos', 'rvm_verbose_flag': '0', 'AUTOJUMP_HOME': '/Users/marc', 'GEM_PATH': '/Users/marc/.rvm/gems/ruby-1.9.2-p290@rails3tutorial:/Users/marc/.rvm/gems/ruby-1.9.2-p290@global', 'rvm_loaded_flag': '1', 'rvm_gemsets_path': '/Users/marc/.rvm/gemsets', 'WORKON_HOME': '/Users/marc/python/virtualenvs', 'rvm_user_install_flag': '1', 'rvm_prefix': '/Users/marc', 'PERLBREW_ROOT': '/Users/marc/perl5/perlbrew', 'rvm_debug_flag': '0', 'PYTHONPATH': '/private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_separate_sdist0/pkg123', 'COMP_WORDBREAKS': ' \t\n"\'><;|&(:', 'TERM': 'xterm', 'SSH_AUTH_SOCK': '/tmp/launch-64KlgP/Listeners', 'IRBRC': '/Users/marc/.rvm/rubies/ruby-1.9.2-p290/.irbrc', 'TERM_PROGRAM': 'iTerm.app', 'MY_RUBY_HOME': '/Users/marc/.rvm/rubies/ruby-1.9.2-p290', 'Apple_PubSub_Socket_Render': '/tmp/launch-60yVK2/Render', 'ITERM_PROFILE': 'tmux', 'rvm_env_string': 'ruby-1.9.2-p290@rails3tutorial', 'rvm_tmp_path': '/Users/marc/.rvm/tmp', '_': '/Library/Frameworks/Python.framework/Versions/2.7/bin/tox', 'LANG': 'en_US.UTF-8', 'HISTIGNORE': '&:ls:mutt:[bf]g:exit', 'PERL5LIB': '/Users/marc/lib/perl', 'JAVA_HOME': '/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home', 'rvm_user_path': '/Users/marc/.rvm/user', 'TMPDIR': '/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/', 'LSCOLORS': 'ExGxCxDxCxegedabagacad', 'rvm_rubies_path': '/Users/marc/.rvm/rubies', 'OLDPWD': '/Users/marc/dev/hg-repos', 'rvm_wrappers_path': '/Users/marc/.rvm/wrappers', 'rvm_archives_path': '/Users/marc/.rvm/archives', 'NODE_PATH': '/usr/local/lib/node:/usr/local/lib/node_modules', '__CF_USER_TEXT_ENCODING': '0x1F5:0:0', 'CVSEDITOR': 'emacs', 'PWD': '/Users/marc/dev/hg-repos/tox_quickstart', 'rvm_gems_path': '/Users/marc/.rvm/gems', 'rvm_help_path': '/Users/marc/.rvm/help', 'rvm_lib_path': '/Users/marc/.rvm/lib', 'SHMUX_SSH_OPTS': '', 'rvm_environments_path': '/Users/marc/.rvm/environments', 'rvm_gems_cache_path': '/Users/marc/.rvm/gems/cache', 'rvm_bin_path': '/Users/marc/.rvm/bin', 'PAGER': 'most', 'PATH_WITHOUT_PERLBREW': '~/bin:/usr/local/share/python:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/usr/X11/bin:/usr/local/share/npm/bin', 'GEM_HOME': '/Users/marc/.rvm/gems/ruby-1.9.2-p290@rails3tutorial'}
Using real prefix '/Library/Frameworks/Python.framework/Versions/2.6'
New python executable in python/bin/python
Installing distribute.......
  Complete output from command /private/var/folders...ox/python/bin/python -c "# Called from virtua...main(sys.argv[1:])
" /Users/marc/dev/hg-r...ute-0.6.28-py2.6.egg:
    File "<string>", line 4
    import sys
              ^
SyntaxError: invalid syntax
----------------------------------------
...Installing distribute...done.
Traceback (most recent call last):
  File "/Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/lib/python2.6/site-packages/virtualenv.py", line 2557, in <module>
    main()
  File "/Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/lib/python2.6/site-packages/virtualenv.py", line 961, in main
    never_download=options.never_download)
  File "/Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/lib/python2.6/site-packages/virtualenv.py", line 1068, in create_environment
    search_dirs=search_dirs, never_download=never_download)
  File "/Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/lib/python2.6/site-packages/virtualenv.py", line 613, in install_distribute
    search_dirs=search_dirs, never_download=never_download)
  File "/Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/lib/python2.6/site-packages/virtualenv.py", line 580, in _install_req
    cwd=cwd)
  File "/Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/lib/python2.6/site-packages/virtualenv.py", line 1039, in call_subprocess
    % (cmd_desc, proc.returncode))
OSError: Command /private/var/folders...ox/python/bin/python -c "# Called from virtua...main(sys.argv[1:])
" /Users/marc/dev/hg-r...ute-0.6.28-py2.6.egg failed with error code 1

ERROR: InvocationError: /Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/bin/python /Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/lib/python2.6/site-packages/virtualenv.py --distribute python (see /private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_separate_sdist0/pkg123/.tox/python/log/python-0.log)
___________________________________ summary ____________________________________
ERROR:   python: InvocationError: /Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/bin/python /Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/lib/python2.6/site-packages/virtualenv.py --distribute python (see /private/var/folders/EV/EVpZ2D-dFr0Q0VP8cVxFc++++TI/-Tmp-/pytest-299/test_separate_sdist0/pkg123/.tox/python/log/python-0.log)
------------------------------------------------------------------------- generated xml file: /Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/log/junit-py26.xml -------------------------------------------------------------------------
============================================================================================= 6 failed, 124 passed, 2 skipped in 81.38 seconds =============================================================================================
ERROR: InvocationError: '/Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/bin/py.test --junitxml=/Users/marc/dev/hg-repos/tox_quickstart/.tox/py26/log/junit-py26.xml'
_________________________________________________________________________________________________________________ summary __________________________________________________________________________________________________________________
ERROR:   py26: commands failed

Here's the summary results of running tox (all environments):

_________________________________________________________________________________________________________________ summary __________________________________________________________________________________________________________________
  py27: commands succeeded
ERROR:   py26: commands failed
ERROR:   py25: commands failed
ERROR:   py31: commands failed
  py32: commands succeeded
  py33: commands succeeded
  docs: commands succeeded

Comments (6)

  1. Holger Krekel repo owner

    for me tox -e py25,py26,py27,py33 passes on trunk. Do you still see the issue? If so, please open another one (or did we discuss and resolve the issue already, can't remember, sorry)

  2. Marc Abramowitz reporter

    I can't remember for sure either, but I think that we determined that these test_z_cmdline .py failures were due to a problem in my environment and I think that we resolved it at some point. In fact, I think that you determined that it had to do with a buggy version of virtualenv and upgrading virtualenv fixed it.

    Now when I run the tests, I get several failures in test_config.py -- at least some of these seem to be due to the fact that I do not have Python 2.4 installed on my system. Is this known to be required to run all the tests? I wonder if it could be modified to skip rather than fail when it's missing?

    On a tangent, you said in a recent commit:

    fix a test that failed due to a recent merge - i'd really like a way to ensure test are passing before merging a pull request ...

    The easiest way that I know to do this is to use Travis CI (see https://bitbucket.org/hpk42/tox/issue/69/any-interest-in-running-travis-ci-on-tox) -- but to my knowledge that would only work if people were sending pull requests to a GitHub repo. Certainly it is easy to push hg commits to a GitHub repo using hg-git, but I don't know if there's anything that lets you clone pull requests from Bitbucket to GitHub. Maybe Ronny knows. Or maybe Ronny can make this work without Travis CI in the CI system that he mentioned that he was building.

  3. Holger Krekel repo owner

    I'll talk to Ronny once he submitted his thesis. I am actually also working on new CI system approaches. Meanwhile, i think connecting a github repo and using Travis wouldn't be a bad idea. It doesn't cover windows tests, however, does it?

  4. Log in to comment