Download/install links of several packages are out of date, which fail the server deployment process.
....
10:44:55 ERROR| could not get version from <module 'astroid' from '/usr/local/autotest/site-packages/astroid/__init__.pyc'>
10:44:55 INFO | imported astroid version .
10:44:55 INFO | Good checksum for existing Astroid package.
10:44:55 ERROR| could not get version from <module 'logilab' from '/usr/local/autotest/site-packages/logilab/__init__.pyc'>
10:44:55 INFO | imported logilab version .
10:44:55 INFO | Good checksum for existing LogilabCommon package.
10:44:55 ERROR| could not get version from <module 'pylint' from '/usr/local/autotest/site-packages/pylint/__init__.pyc'>
10:44:55 INFO | imported pylint version .
10:44:55 INFO | Good checksum for existing PyLint package.
10:44:55 DEBUG| Running '/usr/bin/git --git-dir=/tmp/tmpCLfDmihdctools/.git --work-tree=/tmp/tmpCLfDmihdctools count-objects'
......
Installed /usr/local/autotest/ExternalSource/mock-2.0.0/pbr-1.10.0-py2.7.egg
Marker evaluation failed, see the following error. For more information see: http://docs.openstack.org/developer/pbr/compatibility.html#evaluate-marker
ERROR:root:Error parsing
Traceback (most recent call last):
File "/usr/local/autotest/ExternalSource/mock-2.0.0/pbr-1.10.0-py2.7.egg/pbr/core.py", line 111, in pbr
attrs = util.cfg_to_args(path, dist.script_args)
File "/usr/local/autotest/ExternalSource/mock-2.0.0/pbr-1.10.0-py2.7.egg/pbr/util.py", line 248, in cfg_to_args
kwargs = setup_cfg_to_setup_kwargs(config, script_args)
File "/usr/local/autotest/ExternalSource/mock-2.0.0/pbr-1.10.0-py2.7.egg/pbr/util.py", line 431, in setup_cfg_to_setup_kwargs
if pkg_resources.evaluate_marker('(%s)' % env_marker):
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1271, in evaluate_marker
return cls.interpret(parser.expr(text).totuple(1)[1])
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1306, in interpret
return op(nodelist)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1223, in atom
return cls.interpret(nodelist[2])
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1306, in interpret
return op(nodelist)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1241, in comparison
raise SyntaxError(repr(cop)+" operator not allowed in environment markers")
SyntaxError: '<' operator not allowed in environment markers
error in setup command: Error parsing /usr/local/autotest/ExternalSource/mock-2.0.0/setup.cfg: SyntaxError: '<' operator not allowed in environment markers
10:45:10 ERROR| bdist_egg of setuptools failed.
10:45:10 ERROR| Unable to build and install Mock.
Error: None
10:45:10 INFO | tar -xzf '/usr/local/autotest/ExternalSource/Imaging-1.1.7.tar.gz'
10:45:10 INFO | '/usr/bin/python' setup.py build
......
SyntaxError: invalid syntax
Compiling /usr/local/autotest/site-packages/pylint/test/input/func_return_outside_func.py ...
File "/usr/local/autotest/site-packages/pylint/test/input/func_return_outside_func.py", line 3
return
SyntaxError: 'return' outside function
Compiling /usr/local/autotest/site-packages/pylint/test/input/func_return_yield_mix.py ...
SyntaxError: 'return' with argument inside generator (func_return_yield_mix.py, line 8)
Compiling /usr/local/autotest/site-packages/pylint/test/input/func_syntax_error.py ...
File "/usr/local/autotest/site-packages/pylint/test/input/func_syntax_error.py", line 1
def toto
^
SyntaxError: invalid syntax
Compiling /usr/local/autotest/site-packages/pylint/test/input/func_unknown_encoding.py ...
File "/usr/local/autotest/site-packages/pylint/test/input/func_unknown_encoding.py", line 0
SyntaxError: unknown encoding: IBO-8859-1
Compiling /usr/local/autotest/site-packages/pylint/test/input/func_w0705.py ...
File "/usr/local/autotest/site-packages/pylint/test/input/func_w0705.py", line 28
__revision__ += 1
SyntaxError: default 'except:' must be last
Compiling /usr/local/autotest/site-packages/pylint/test/input/func_yield_outside_func.py ...
File "/usr/local/autotest/site-packages/pylint/test/input/func_yield_outside_func.py", line 3
yield 1
SyntaxError: 'yield' outside function
Compiling /usr/local/autotest/site-packages/pylint/test/input/syntax_error.py ...
Sorry: IndentationError: expected an indented block (syntax_error.py, line 2)
10:45:56 INFO | chmod -R a+rX '/usr/local/autotest/site-packages'
10:45:56 ERROR| Unable to build and install Mock.
Error: None
Traceback (most recent call last):
File "./site_utils/deploy_server_local.py", line 474, in <module>
sys.exit(main(sys.argv[1:]))
File "./site_utils/deploy_server_local.py", line 461, in main
behaviors.skip_service_status)
File "./site_utils/deploy_server_local.py", line 327, in run_deploy_actions
update_command(cmd, dryrun=dryrun)
File "./site_utils/deploy_server_local.py", line 218, in update_command
stderr=subprocess.STDOUT)
File "/usr/lib/python2.7/subprocess.py", line 573, in check_output
raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command '/usr/local/autotest/utils/build_externals.py' returned non-zero exit status 1
Comment 1 by xixuan@chromium.org
, Sep 7 2016