Comment 1 for bug 1840706

Revision history for this message
Ryan Beisner (1chb1n) wrote :

The barbican-vault charm is also similarly affected:

https://openstack-ci-reports.ubuntu.com/artifacts/test_charm_pipeline_func_smoke/openstack/charm-barbican-vault/676809/2/11691/index.html

https://openstack-ci-reports.ubuntu.com/artifacts/test_charm_pipeline_func_smoke/openstack/charm-barbican-vault/676809/2/11691/test_charm_func_smoke_14177/juju-status-zaza-2db4f643169f.txt

https://openstack-ci-reports.ubuntu.com/artifacts/test_charm_pipeline_func_smoke/openstack/charm-barbican-vault/676809/2/11691/test_charm_func_smoke_14177/juju-crashdump-5c65973c-b60e-47ce-9ef7-da7c5c99e9e6.tar.xz

2019-08-19 20:11:36 DEBUG install Traceback (most recent call last):
2019-08-19 20:11:36 DEBUG install File "/var/lib/juju/agents/unit-barbican-vault-0/.venv/lib/python3.6/site-packages/pip/_vendor/pep517/_in_process.py", line 207, in <module>
2019-08-19 20:11:36 DEBUG install main()
2019-08-19 20:11:36 DEBUG install File "/var/lib/juju/agents/unit-barbican-vault-0/.venv/lib/python3.6/site-packages/pip/_vendor/pep517/_in_process.py", line 197, in main
2019-08-19 20:11:36 DEBUG install json_out['return_val'] = hook(**hook_input['kwargs'])
2019-08-19 20:11:36 DEBUG install File "/var/lib/juju/agents/unit-barbican-vault-0/.venv/lib/python3.6/site-packages/pip/_vendor/pep517/_in_process.py", line 69, in prepare_metadata_for_build_wheel
2019-08-19 20:11:36 DEBUG install return hook(metadata_directory, config_settings)
2019-08-19 20:11:36 DEBUG install File "/usr/lib/python3/dist-packages/setuptools/build_meta.py", line 140, in prepare_metadata_for_build_wheel
2019-08-19 20:11:36 DEBUG install self.run_setup()
2019-08-19 20:11:36 DEBUG install File "/usr/lib/python3/dist-packages/setuptools/build_meta.py", line 211, in run_setup
2019-08-19 20:11:36 DEBUG install self).run_setup(setup_script=setup_script)
2019-08-19 20:11:36 DEBUG install File "/usr/lib/python3/dist-packages/setuptools/build_meta.py", line 126, in run_setup
2019-08-19 20:11:36 DEBUG install exec(compile(code, __file__, 'exec'), locals())
2019-08-19 20:11:36 DEBUG install File "setup.py", line 82, in <module>
2019-08-19 20:11:36 DEBUG install python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*',
2019-08-19 20:11:36 DEBUG install File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 145, in setup
2019-08-19 20:11:36 DEBUG install return distutils.core.setup(**attrs)
2019-08-19 20:11:36 DEBUG install File "/usr/lib/python3.6/distutils/core.py", line 148, in setup
2019-08-19 20:11:36 DEBUG install dist.run_commands()
2019-08-19 20:11:36 DEBUG install File "/usr/lib/python3.6/distutils/dist.py", line 955, in run_commands
2019-08-19 20:11:36 DEBUG install self.run_command(cmd)
2019-08-19 20:11:36 DEBUG install File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
2019-08-19 20:11:36 DEBUG install cmd_obj.run()
2019-08-19 20:11:36 DEBUG install File "/usr/lib/python3/dist-packages/setuptools/command/dist_info.py", line 36, in run
2019-08-19 20:11:36 DEBUG install bdist_wheel.egg2dist(egg_info.egg_info, dist_info_dir)
2019-08-19 20:11:36 DEBUG install File "/usr/lib/python3/dist-packages/wheel/bdist_wheel.py", line 443, in egg2dist
2019-08-19 20:11:36 DEBUG install shutil.copy(license, os.path.join(self.distinfo_dir, license_filename))
2019-08-19 20:11:36 DEBUG install File "/var/lib/juju/agents/unit-barbican-vault-0/.venv/lib/python3.6/posixpath.py", line 80, in join
2019-08-19 20:11:36 DEBUG install a = os.fspath(a)
2019-08-19 20:11:36 DEBUG install TypeError: expected str, bytes or os.PathLike object, not NoneType
2019-08-19 20:11:36 DEBUG install ----------------------------------------
2019-08-19 20:11:37 DEBUG install ERROR: Command "/var/lib/juju/agents/unit-barbican-vault-0/.venv/bin/python3 /var/lib/juju/agents/unit-barbican-vault-0/.venv/lib/python3.6/site-packages/pip/_vendor/pep517/_in_process.py prepare_metadata_for_build_wheel /tmp/tmp828vkn14" failed with error code 1 in /tmp/pip-req-build-bi39k2k1
2019-08-19 20:11:37 DEBUG install Traceback (most recent call last):
2019-08-19 20:11:37 DEBUG install File "/var/lib/juju/agents/unit-barbican-vault-0/charm/hooks/install", line 8, in <module>
2019-08-19 20:11:37 DEBUG install basic.bootstrap_charm_deps()
2019-08-19 20:11:37 DEBUG install File "lib/charms/layer/basic.py", line 117, in bootstrap_charm_deps
2019-08-19 20:11:37 DEBUG install glob('wheelhouse/*'))
2019-08-19 20:11:37 DEBUG install File "/usr/lib/python3.6/subprocess.py", line 311, in check_call
2019-08-19 20:11:37 DEBUG install raise CalledProcessError(retcode, cmd)
2019-08-19 20:11:37 DEBUG install subprocess.CalledProcessError: Command '['/var/lib/juju/agents/unit-barbican-vault-0/.venv/bin/pip', 'install', '-U', '--no-index', '-f', 'wheelhouse', 'wheelhouse/charms.openstack-0.0.1.dev1.zip', 'wheelhouse/Tempita-0.5.2.tar.gz', 'wheelhouse/chardet-3.0.4.tar.gz', 'wheelhouse/netaddr-0.7.19.tar.gz', 'wheelhouse/setuptools_scm-1.17.0.tar.gz', 'wheelhouse/setuptools-41.1.0.zip', 'wheelhouse/six-1.12.0.tar.gz', 'wheelhouse/netifaces-0.10.9.tar.gz', 'wheelhouse/urllib3-1.25.3.tar.gz', 'wheelhouse/pyaml-19.4.1.tar.gz', 'wheelhouse/idna-2.8.tar.gz', 'wheelhouse/charms.reactive-1.2.1.tar.gz', 'wheelhouse/hvac-0.9.5.tar.gz', 'wheelhouse/PyYAML-5.1.2.tar.gz', 'wheelhouse/certifi-2019.6.16.tar.gz', 'wheelhouse/MarkupSafe-1.1.1.tar.gz', 'wheelhouse/charmhelpers-0.20.1.tar.gz', 'wheelhouse/Jinja2-2.10.1.tar.gz', 'wheelhouse/wheel-0.33.6.tar.gz', 'wheelhouse/requests-2.22.0.tar.gz', 'wheelhouse/pip-19.1.1.tar.gz']' returned non-zero exit status 1.
2019-08-19 20:11:37 ERROR juju.worker.uniter.operation runhook.go:132 hook "install" failed: exit status 1