Closed fnordahl closed 2 years ago
2022-05-13 07:08:40 DEBUG unit.neutron-api-plugin-ovn/2.juju-log server.go:327 Running the apt-get install command as .is-git-installed not set 2022-05-13 07:08:40 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 Reading package lists... 2022-05-13 07:08:40 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 Building dependency tree... 2022-05-13 07:08:40 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 Reading state information... 2022-05-13 07:08:40 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 git is already the newest version (1:2.25.1-1ubuntu3.4). 2022-05-13 07:08:40 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 git set to manually installed. 2022-05-13 07:08:41 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 0 upgraded, 0 newly installed, 0 to remove and 12 not upgraded. 2022-05-13 07:08:41 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 Reading package lists... 2022-05-13 07:08:41 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 Building dependency tree... 2022-05-13 07:08:41 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 Reading state information... 2022-05-13 07:08:42 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 python3-dev is already the newest version (3.8.2-0ubuntu2). 2022-05-13 07:08:42 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 python3-dev set to manually installed. 2022-05-13 07:08:42 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 python3-setuptools is already the newest version (45.2.0-1). 2022-05-13 07:08:42 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 python3-wheel is already the newest version (0.34.2-1). 2022-05-13 07:08:42 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 python3-wheel set to manually installed. 2022-05-13 07:08:42 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 build-essential is already the newest version (12.8ubuntu1.1). 2022-05-13 07:08:42 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 build-essential set to manually installed. 2022-05-13 07:08:42 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 python3-yaml is already the newest version (5.3.1-1ubuntu0.1). 2022-05-13 07:08:42 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 python3-yaml set to manually installed. 2022-05-13 07:08:42 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 python3-pip is already the newest version (20.0.2-5ubuntu1.6). 2022-05-13 07:08:42 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 0 upgraded, 0 newly installed, 0 to remove and 12 not upgraded. 2022-05-13 07:08:42 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 Reading package lists... 2022-05-13 07:08:42 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 Building dependency tree... 2022-05-13 07:08:42 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 Reading state information... 2022-05-13 07:08:43 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 0 upgraded, 0 newly installed, 0 to remove and 12 not upgraded. 2022-05-13 07:08:43 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 Reading package lists... 2022-05-13 07:08:43 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 Building dependency tree... 2022-05-13 07:08:43 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 Reading state information... 2022-05-13 07:08:44 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 The following additional packages will be installed: 2022-05-13 07:08:44 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 python3-distlib python3-filelock python3-virtualenv 2022-05-13 07:08:44 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 The following NEW packages will be installed: 2022-05-13 07:08:44 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 python3-distlib python3-filelock python3-virtualenv virtualenv 2022-05-13 07:08:44 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 0 upgraded, 4 newly installed, 0 to remove and 12 not upgraded. 2022-05-13 07:08:44 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 Need to get 189 kB of archives. 2022-05-13 07:08:44 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 After this operation, 995 kB of additional disk space will be used. 2022-05-13 07:08:44 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 Get:1 http://nova.clouds.archive.ubuntu.com/ubuntu focal/universe amd64 python3-distlib all 0.3.0-1 [116 kB] 2022-05-13 07:08:44 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 Get:2 http://nova.clouds.archive.ubuntu.com/ubuntu focal/universe amd64 python3-filelock all 3.0.12-2 [7948 B] 2022-05-13 07:08:44 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 Get:3 http://nova.clouds.archive.ubuntu.com/ubuntu focal-updates/universe amd64 python3-virtualenv all 20.0.17-1ubuntu0.4 [62.7 kB] 2022-05-13 07:08:44 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 Get:4 http://nova.clouds.archive.ubuntu.com/ubuntu focal-updates/universe amd64 virtualenv all 20.0.17-1ubuntu0.4 [2144 B] 2022-05-13 07:08:45 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 Fetched 189 kB in 0s (4307 kB/s) 2022-05-13 07:08:45 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 Selecting previously unselected package python3-distlib. (Reading database ... 87979 files and directories currently installed.)go:60 (Reading database ... 2022-05-13 07:08:45 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 Preparing to unpack .../python3-distlib_0.3.0-1_all.deb ... 2022-05-13 07:08:45 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 Unpacking python3-distlib (0.3.0-1) ... 2022-05-13 07:08:45 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 Selecting previously unselected package python3-filelock. 2022-05-13 07:08:45 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 Preparing to unpack .../python3-filelock_3.0.12-2_all.deb ... 2022-05-13 07:08:45 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 Unpacking python3-filelock (3.0.12-2) ... 2022-05-13 07:08:45 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 Selecting previously unselected package python3-virtualenv. 2022-05-13 07:08:45 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 Preparing to unpack .../python3-virtualenv_20.0.17-1ubuntu0.4_all.deb ... 2022-05-13 07:08:45 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 Unpacking python3-virtualenv (20.0.17-1ubuntu0.4) ... 2022-05-13 07:08:45 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 Selecting previously unselected package virtualenv. 2022-05-13 07:08:45 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 Preparing to unpack .../virtualenv_20.0.17-1ubuntu0.4_all.deb ... 2022-05-13 07:08:45 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 Unpacking virtualenv (20.0.17-1ubuntu0.4) ... 2022-05-13 07:08:45 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 Setting up python3-filelock (3.0.12-2) ... 2022-05-13 07:08:46 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 Setting up python3-distlib (0.3.0-1) ... 2022-05-13 07:08:46 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 Setting up python3-virtualenv (20.0.17-1ubuntu0.4) ... 2022-05-13 07:08:47 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 Setting up virtualenv (20.0.17-1ubuntu0.4) ... 2022-05-13 07:08:47 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 Processing triggers for man-db (2.9.1-1) ... 2022-05-13 07:08:52 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 created virtual environment CPython3.8.10.final.0-64 in 358ms 2022-05-13 07:08:52 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 creator CPython3Posix(dest=/var/lib/juju/agents/unit-neutron-api-plugin-ovn-2/.venv, clear=False, global=False) 2022-05-13 07:08:52 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 seeder FromAppData(download=False, pip=latest, setuptools=latest, wheel=latest, pkg_resources=latest, via=copy, app_data_dir=/root/.local/share/virtualenv/seed-app-data/v1.0.1.debian.1) 2022-05-13 07:08:52 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 activators BashActivator,CShellActivator,FishActivator,PowerShellActivator,PythonActivator,XonshActivator 2022-05-13 07:08:55 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 Looking in links: wheelhouse 2022-05-13 07:08:55 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 Processing ./wheelhouse/pip-22.1.tar.gz 2022-05-13 07:08:55 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 Installing build dependencies: started 2022-05-13 07:09:00 DEBUG juju.worker.uniter.remotestate watcher.go:701 got a relation units change for neutron-api-plugin-ovn/2 : {28 {map[ovn-central/0:{0}] map[] []}} 2022-05-13 07:09:02 DEBUG juju.worker.uniter.remotestate watcher.go:701 got a relation units change for neutron-api-plugin-ovn/2 : {28 {map[ovn-central/2:{0}] map[] []}} 2022-05-13 07:09:08 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 Installing build dependencies: finished with status 'done' 2022-05-13 07:09:08 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 Getting requirements to build wheel: started 2022-05-13 07:09:09 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 Getting requirements to build wheel: finished with status 'done' 2022-05-13 07:09:09 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 Preparing wheel metadata: started 2022-05-13 07:09:12 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 Preparing wheel metadata: finished with status 'done' 2022-05-13 07:09:12 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 Building wheels for collected packages: pip 2022-05-13 07:09:12 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 Building wheel for pip (PEP 517): started 2022-05-13 07:09:15 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 Building wheel for pip (PEP 517): finished with status 'done' 2022-05-13 07:09:15 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 Created wheel for pip: filename=pip-22.1-py3-none-any.whl size=2140566 sha256=d5e2268e2e42715446a1e265a2699d23f33d1ad3a04b2081b535ac0850eb64db 2022-05-13 07:09:15 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 Stored in directory: /root/.cache/pip/wheels/e4/af/28/679b388cf1d2475b76862b0b7fc7391193fffa5152a23d57d6 2022-05-13 07:09:15 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 Successfully built pip 2022-05-13 07:09:15 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 Installing collected packages: pip 2022-05-13 07:09:15 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 Attempting uninstall: pip 2022-05-13 07:09:15 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 Found existing installation: pip 20.0.2 2022-05-13 07:09:15 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 Uninstalling pip-20.0.2: 2022-05-13 07:09:15 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 Successfully uninstalled pip-20.0.2 2022-05-13 07:09:17 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 Successfully installed pip-22.1 2022-05-13 07:09:17 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 Looking in links: wheelhouse 2022-05-13 07:09:17 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 Requirement already satisfied: setuptools in /var/lib/juju/agents/unit-neutron-api-plugin-ovn-2/.venv/lib/python3.8/site-packages (44.0.0) 2022-05-13 07:09:17 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 Collecting setuptools 2022-05-13 07:09:17 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 Using cached setuptools-62.2.0-py3-none-any.whl 2022-05-13 07:09:17 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 Installing collected packages: setuptools 2022-05-13 07:09:17 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 Attempting uninstall: setuptools 2022-05-13 07:09:17 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 Found existing installation: setuptools 44.0.0 2022-05-13 07:09:18 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 Uninstalling setuptools-44.0.0: 2022-05-13 07:09:18 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 Successfully uninstalled setuptools-44.0.0 2022-05-13 07:09:18 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 Successfully installed setuptools-62.2.0 2022-05-13 07:09:19 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 Looking in links: wheelhouse 2022-05-13 07:09:19 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 Processing ./wheelhouse/setuptools_scm-6.4.2.tar.gz 2022-05-13 07:09:19 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 Installing build dependencies: started 2022-05-13 07:09:33 DEBUG unit.neutron-api-plugin-ovn/2.install logger.go:60 Installing build dependencies: finished with status 'error' 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 error: subprocess-exited-with-error 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 × pip subprocess to install build dependencies did not run successfully. 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 │ exit code: 2 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 ╰─> [81 lines of output] 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 Looking in links: wheelhouse 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 Collecting setuptools>=45 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 Using cached setuptools-62.2.0-py3-none-any.whl 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 Collecting wheel 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 Using cached wheel-0.37.1-py2.py3-none-any.whl 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 Processing ./wheelhouse/tomli-2.0.1.tar.gz 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 Installing build dependencies: started 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 Installing build dependencies: finished with status 'done' 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 Getting requirements to build wheel: started 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 Getting requirements to build wheel: finished with status 'done' 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 Preparing metadata (pyproject.toml): started 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 Preparing metadata (pyproject.toml): finished with status 'done' 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 Processing ./wheelhouse/packaging-21.3.tar.gz 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 Installing build dependencies: started 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 Installing build dependencies: finished with status 'done' 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 Getting requirements to build wheel: started 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 Getting requirements to build wheel: finished with status 'done' 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 Preparing metadata (pyproject.toml): started 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 Preparing metadata (pyproject.toml): finished with status 'done' 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 Processing ./wheelhouse/pyparsing-3.0.9.tar.gz 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 Installing build dependencies: started 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 Installing build dependencies: finished with status 'done' 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 Getting requirements to build wheel: started 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 Getting requirements to build wheel: finished with status 'done' 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 ERROR: Exception: 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 Traceback (most recent call last): 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 File "/tmp/pip-standalone-pip-2ardr18d/__env_pip__.zip/pip/_internal/cli/base_command.py", line 167, in exc_logging_wrapper 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 status = run_func(*args) 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 File "/tmp/pip-standalone-pip-2ardr18d/__env_pip__.zip/pip/_internal/cli/req_command.py", line 205, in wrapper 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 return func(self, options, args) 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 File "/tmp/pip-standalone-pip-2ardr18d/__env_pip__.zip/pip/_internal/commands/install.py", line 340, in run 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 requirement_set = resolver.resolve( 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 File "/tmp/pip-standalone-pip-2ardr18d/__env_pip__.zip/pip/_internal/resolution/resolvelib/resolver.py", line 94, in resolve 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 result = self._result = resolver.resolve( 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 File "/tmp/pip-standalone-pip-2ardr18d/__env_pip__.zip/pip/_vendor/resolvelib/resolvers.py", line 481, in resolve 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 state = resolution.resolve(requirements, max_rounds=max_rounds) 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 File "/tmp/pip-standalone-pip-2ardr18d/__env_pip__.zip/pip/_vendor/resolvelib/resolvers.py", line 373, in resolve 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 failure_causes = self._attempt_to_pin_criterion(name) 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 File "/tmp/pip-standalone-pip-2ardr18d/__env_pip__.zip/pip/_vendor/resolvelib/resolvers.py", line 213, in _attempt_to_pin_criterion 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 criteria = self._get_updated_criteria(candidate) 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 File "/tmp/pip-standalone-pip-2ardr18d/__env_pip__.zip/pip/_vendor/resolvelib/resolvers.py", line 204, in _get_updated_criteria 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 self._add_to_criteria(criteria, requirement, parent=candidate) 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 File "/tmp/pip-standalone-pip-2ardr18d/__env_pip__.zip/pip/_vendor/resolvelib/resolvers.py", line 172, in _add_to_criteria 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 if not criterion.candidates: 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 File "/tmp/pip-standalone-pip-2ardr18d/__env_pip__.zip/pip/_vendor/resolvelib/structs.py", line 151, in __bool__ 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 return bool(self._sequence) 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 File "/tmp/pip-standalone-pip-2ardr18d/__env_pip__.zip/pip/_internal/resolution/resolvelib/found_candidates.py", line 155, in __bool__ 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 return any(self) 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 File "/tmp/pip-standalone-pip-2ardr18d/__env_pip__.zip/pip/_internal/resolution/resolvelib/found_candidates.py", line 143, in <genexpr> 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 return (c for c in iterator if id(c) not in self._incompatible_ids) 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 File "/tmp/pip-standalone-pip-2ardr18d/__env_pip__.zip/pip/_internal/resolution/resolvelib/found_candidates.py", line 47, in _iter_built 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 candidate = func() 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 File "/tmp/pip-standalone-pip-2ardr18d/__env_pip__.zip/pip/_internal/resolution/resolvelib/factory.py", line 215, in _make_candidate_from_link 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 self._link_candidate_cache[link] = LinkCandidate( 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 File "/tmp/pip-standalone-pip-2ardr18d/__env_pip__.zip/pip/_internal/resolution/resolvelib/candidates.py", line 291, in __init__ 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 super().__init__( 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 File "/tmp/pip-standalone-pip-2ardr18d/__env_pip__.zip/pip/_internal/resolution/resolvelib/candidates.py", line 161, in __init__ 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 self.dist = self._prepare() 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 File "/tmp/pip-standalone-pip-2ardr18d/__env_pip__.zip/pip/_internal/resolution/resolvelib/candidates.py", line 230, in _prepare 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 dist = self._prepare_distribution() 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 File "/tmp/pip-standalone-pip-2ardr18d/__env_pip__.zip/pip/_internal/resolution/resolvelib/candidates.py", line 302, in _prepare_distribution 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True) 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 File "/tmp/pip-standalone-pip-2ardr18d/__env_pip__.zip/pip/_internal/operations/prepare.py", line 421, in prepare_linked_requirement 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 return self._prepare_linked_requirement(req, parallel_builds) 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 File "/tmp/pip-standalone-pip-2ardr18d/__env_pip__.zip/pip/_internal/operations/prepare.py", line 490, in _prepare_linked_requirement 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 dist = _get_prepared_distribution( 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 File "/tmp/pip-standalone-pip-2ardr18d/__env_pip__.zip/pip/_internal/operations/prepare.py", line 57, in _get_prepared_distribution 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 abstract_dist.prepare_distribution_metadata(finder, build_isolation) 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 File "/tmp/pip-standalone-pip-2ardr18d/__env_pip__.zip/pip/_internal/distributions/sdist.py", line 45, in prepare_distribution_metadata 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 self._install_build_reqs(finder) 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 File "/tmp/pip-standalone-pip-2ardr18d/__env_pip__.zip/pip/_internal/distributions/sdist.py", line 114, in _install_build_reqs 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 conflicting, missing = self.req.build_env.check_requirements(build_reqs) 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 File "/tmp/pip-standalone-pip-2ardr18d/__env_pip__.zip/pip/_internal/build_env.py", line 178, in check_requirements 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 if req.marker is not None and not req.marker.evaluate(): 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 File "/tmp/pip-standalone-pip-2ardr18d/__env_pip__.zip/pip/_vendor/packaging/markers.py", line 304, in evaluate 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 return _evaluate_markers(self._markers, current_environment) 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 File "/tmp/pip-standalone-pip-2ardr18d/__env_pip__.zip/pip/_vendor/packaging/markers.py", line 234, in _evaluate_markers 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 lhs_value = _get_env(environment, lhs.value) 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 File "/tmp/pip-standalone-pip-2ardr18d/__env_pip__.zip/pip/_vendor/packaging/markers.py", line 215, in _get_env 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 raise UndefinedEnvironmentName( 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 pip._vendor.packaging.markers.UndefinedEnvironmentName: 'extra' does not exist in evaluation environment. 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 [end of output] 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 note: This error originates from a subprocess, and is likely not a problem with pip. 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 error: subprocess-exited-with-error 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 × pip subprocess to install build dependencies did not run successfully. 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 │ exit code: 2 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 ╰─> See above for output. 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 2022-05-13 07:09:33 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 note: This error originates from a subprocess, and is likely not a problem with pip. 2022-05-13 07:09:34 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 Traceback (most recent call last): 2022-05-13 07:09:34 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 File "/var/lib/juju/agents/unit-neutron-api-plugin-ovn-2/charm/hooks/install", line 8, in <module> 2022-05-13 07:09:34 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 basic.bootstrap_charm_deps() 2022-05-13 07:09:34 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 File "/var/lib/juju/agents/unit-neutron-api-plugin-ovn-2/charm/lib/charms/layer/basic.py", line 197, in bootstrap_charm_deps 2022-05-13 07:09:34 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 _update_if_newer(pip, pre_install_pkgs) 2022-05-13 07:09:34 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 File "/var/lib/juju/agents/unit-neutron-api-plugin-ovn-2/charm/lib/charms/layer/basic.py", line 348, in _update_if_newer 2022-05-13 07:09:34 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 check_call([pip, 'install', '-U', '--no-index', '-f', 'wheelhouse', 2022-05-13 07:09:34 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 File "/usr/lib/python3.8/subprocess.py", line 364, in check_call 2022-05-13 07:09:34 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 raise CalledProcessError(retcode, cmd) 2022-05-13 07:09:34 WARNING unit.neutron-api-plugin-ovn/2.install logger.go:60 subprocess.CalledProcessError: Command '['/var/lib/juju/agents/unit-neutron-api-plugin-ovn-2/.venv/bin/pip', 'install', '-U', '--no-index', '-f', 'wheelhouse', 'setuptools-scm']' returned non-zero exit status 1. 2022-05-13 07:09:34 ERROR juju.worker.uniter.operation runhook.go:146 hook "install" (via explicit, bespoke hook script) failed: exit status 1
Fixed by #202
For the record: upstream bug https://github.com/pypa/setuptools_scm/issues/713