nodepool image-build failed

asked 2015-12-28 01:07:28 -0500

thelo gravatar image

updated 2015-12-28 02:37:46 -0500

Hi all,

I am trying to set up a CI following the openstackci project http://git.openstack.org/cgit/openstack-infra/puppet-openstackci/tree/contrib/README.md)

At some point I try to build the nodepool images ( based on the project config directory : https://github.com/thelo-gaultier/itri-disco-ci

I check the first error message:

usr/zuul-env]/returns:     error in setup command: Error parsing /usr/zuul-env/src/zuul/setup.cfg: ImportError: No module named testrepository (

However I did install: python-testrepository and python3-testrepository ( from the terminal the command "from testrepository import commands" works fine )

Can anyone tell me what I am missing? and also is there a way to reproduce this faster ( in my case it takes easily 2.5h)

Many thanks

nodepool@test:/opt$ nodepool image-build dpc

.... # Long long execution

2015-12-28 06:58:14,771 INFO nodepool.image.build.dpc: Notice: /Stage[main]/Openstack_project::Slave_common/Python::Virtualenv[/usr/zuul-env]/Python::Requirements[/etc/zuul-env-reqs.txt_/usr/zuul-env]/Exec[python_requirements/etc/zuul-env-reqs.txt_/usr/zuul-env]/returns:   Running setup.py develop for zuul
2015-12-28 06:58:14,772 INFO nodepool.image.build.dpc: Notice: /Stage[main]/Openstack_project::Slave_common/Python::Virtualenv[/usr/zuul-env]/Python::Requirements[/etc/zuul-env-reqs.txt_/usr/zuul-env]/Exec[python_requirements/etc/zuul-env-reqs.txt_/usr/zuul-env]/returns:     Complete output from command /usr/zuul-env/bin/python -c "import setuptools, tokenize; __file__='/usr/zuul-env/src/zuul/setup.py'; exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" develop --no-deps:
2015-12-28 06:58:14,772 INFO nodepool.image.build.dpc: Notice: /Stage[main]/Openstack_project::Slave_common/Python::Virtualenv[/usr/zuul-env]/Python::Requirements[/etc/zuul-env-reqs.txt_/usr/zuul-env]/Exec[python_requirements/etc/zuul-env-reqs.txt_/usr/zuul-env]/returns:     ERROR:root:Error parsing
2015-12-28 06:58:14,773 INFO nodepool.image.build.dpc: Notice: /Stage[main]/Openstack_project::Slave_common/Python::Virtualenv[/usr/zuul-env]/Python::Requirements[/etc/zuul-env-reqs.txt_/usr/zuul-env]/Exec[python_requirements/etc/zuul-env-reqs.txt_/usr/zuul-env]/returns:     Traceback (most recent call last):
2015-12-28 06:58:14,773 INFO nodepool.image.build.dpc: Notice: /Stage[main]/Openstack_project::Slave_common/Python::Virtualenv[/usr/zuul-env]/Python::Requirements[/etc/zuul-env-reqs.txt_/usr/zuul-env]/Exec[python_requirements/etc/zuul-env-reqs.txt_/usr/zuul-env]/returns:       File "/usr/zuul-env/local/lib/python2.7/site-packages/pbr/core.py", line 109, in pbr
2015-12-28 06:58:14,774 INFO nodepool.image.build.dpc: Notice: /Stage[main]/Openstack_project::Slave_common/Python::Virtualenv[/usr/zuul-env]/Python::Requirements[/etc/zuul-env-reqs.txt_/usr/zuul-env]/Exec[python_requirements/etc/zuul-env-reqs.txt_/usr/zuul-env]/returns:         attrs = util.cfg_to_args(path)
2015-12-28 06:58:14,774 INFO nodepool.image.build.dpc: Notice: /Stage[main]/Openstack_project::Slave_common/Python::Virtualenv[/usr/zuul-env]/Python::Requirements[/etc/zuul-env-reqs.txt_/usr/zuul-env]/Exec[python_requirements/etc/zuul-env-reqs.txt_/usr/zuul-env]/returns:       File "/usr/zuul-env/local/lib/python2.7/site-packages/pbr/util.py", line 261, in cfg_to_args
2015-12-28 06:58:14,775 INFO nodepool.image.build.dpc: Notice: /Stage[main]/Openstack_project::Slave_common/Python::Virtualenv[/usr/zuul-env]/Python::Requirements[/etc/zuul-env-reqs.txt_/usr/zuul-env]/Exec[python_requirements/etc/zuul-env-reqs.txt_/usr/zuul-env]/returns:         wrap_commands(kwargs)
2015-12-28 06:58:14,776 INFO nodepool.image.build.dpc: Notice: /Stage[main]/Openstack_project::Slave_common ...
(more)
edit retag flag offensive close merge delete