2017-06-07 09:29:49.968889 | Traceback (most recent call last):
2017-06-07 09:29:49.968921 | File "/home/jenkins/workspace/gate-neutron-pep8-ubuntu-xenial/.tox/pep8/bin/pylint", line 11, in <module>
2017-06-07 09:29:49.968933 | sys.exit(run_pylint())
2017-06-07 09:29:49.968974 | File "/home/jenkins/workspace/gate-neutron-pep8-ubuntu-xenial/.tox/pep8/local/lib/python2.7/site-packages/pylint/__init__.py", line 23, in run_pylint
2017-06-07 09:29:49.968986 | Run(sys.argv[1:])
2017-06-07 09:29:49.969025 | File "/home/jenkins/workspace/gate-neutron-pep8-ubuntu-xenial/.tox/pep8/local/lib/python2.7/site-packages/pylint/lint.py", line 1332, in __init__
2017-06-07 09:29:49.969037 | linter.check(args)
2017-06-07 09:29:49.969074 | File "/home/jenkins/workspace/gate-neutron-pep8-ubuntu-xenial/.tox/pep8/local/lib/python2.7/site-packages/pylint/lint.py", line 747, in check
2017-06-07 09:29:49.969090 | self._do_check(files_or_modules)
2017-06-07 09:29:49.969129 | File "/home/jenkins/workspace/gate-neutron-pep8-ubuntu-xenial/.tox/pep8/local/lib/python2.7/site-packages/pylint/lint.py", line 869, in _do_check
2017-06-07 09:29:49.969152 | self.check_astroid_module(ast_node, walker, rawcheckers, tokencheckers)
2017-06-07 09:29:49.969193 | File "/home/jenkins/workspace/gate-neutron-pep8-ubuntu-xenial/.tox/pep8/local/lib/python2.7/site-packages/pylint/lint.py", line 946, in check_astroid_module
2017-06-07 09:29:49.969206 | walker.walk(ast_node)
2017-06-07 09:29:49.969245 | File "/home/jenkins/workspace/gate-neutron-pep8-ubuntu-xenial/.tox/pep8/local/lib/python2.7/site-packages/pylint/utils.py", line 874, in walk
2017-06-07 09:29:49.969255 | self.walk(child)
2017-06-07 09:29:49.969294 | File "/home/jenkins/workspace/gate-neutron-pep8-ubuntu-xenial/.tox/pep8/local/lib/python2.7/site-packages/pylint/utils.py", line 871, in walk
2017-06-07 09:29:49.969304 | cb(astroid)
2017-06-07 09:29:49.969349 | File "/home/jenkins/workspace/gate-neutron-pep8-ubuntu-xenial/.tox/pep8/local/lib/python2.7/site-packages/pylint/checkers/imports.py", line 249, in visit_import
2017-06-07 09:29:49.969368 | importedmodnode = self.get_imported_module(node, name)
2017-06-07 09:29:49.969411 | File "/home/jenkins/workspace/gate-neutron-pep8-ubuntu-xenial/.tox/pep8/local/lib/python2.7/site-packages/pylint/checkers/imports.py", line 288, in get_imported_module
2017-06-07 09:29:49.969428 | return importnode.do_import_module(modname)
2017-06-07 09:29:49.969469 | File "/home/jenkins/workspace/gate-neutron-pep8-ubuntu-xenial/.tox/pep8/local/lib/python2.7/site-packages/astroid/mixins.py", line 119, in do_import_module
2017-06-07 09:29:49.969484 | relative_only=level and level >= 1)
2017-06-07 09:29:49.969525 | File "/home/jenkins/workspace/gate-neutron-pep8-ubuntu-xenial/.tox/pep8/local/lib/python2.7/site-packages/astroid/scoped_nodes.py", line 415, in import_module
2017-06-07 09:29:49.969542 | return MANAGER.ast_from_module_name(modname)
2017-06-07 09:29:49.969584 | File "/home/jenkins/workspace/gate-neutron-pep8-ubuntu-xenial/.tox/pep8/local/lib/python2.7/site-packages/astroid/manager.py", line 161, in ast_from_module_name
2017-06-07 09:29:49.969592 | raise e
2017-06-07 09:29:49.969620 | astroid.exceptions.AstroidImportError: Failed to import module six.moves.urllib.parse with error:
2017-06-07 09:29:49.969636 | No module named six.moves.urllib.parse.
2017-06-07 09:29:50.688358 | ERROR: InvocationError: '/bin/sh ./tools/coding-checks.sh --pylint '
2017-06-07 09:29:50.688923 | ___________________________________ summary ____________________________________
2017-06-07 09:29:50.688975 | ERROR: pep8: commands failed
This is caused by the requirement mismatch of pylint and astroid. /review. openstack. org/#/c/ 469491/ is merged, the execution exception from astroid will disappear.
Once https:/
On the other hand, we neutron still have pylint failure even after it is merged, but this is a different problem and neutron-specific.