openstack-tox-* are failing in opendev with "env name py38 conflicting with base python python3"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Critical
|
Unassigned |
Bug Description
openstack-tox-* are failing in opendev with the following error:
2023-01-05 19:16:15.170283 | ubuntu-focal | .pkg: 425 D accepted PythonInfo(
2023-01-05 19:16:15.173218 | ubuntu-focal | Traceback (most recent call last):
2023-01-05 19:16:15.173263 | ubuntu-focal | File "/home/
2023-01-05 19:16:15.173272 | ubuntu-focal | sys.exit(run())
2023-01-05 19:16:15.173279 | ubuntu-focal | File "/home/
2023-01-05 19:16:15.173286 | ubuntu-focal | result = main(sys.argv[1:] if args is None else args)
2023-01-05 19:16:15.173292 | ubuntu-focal | File "/home/
2023-01-05 19:16:15.173299 | ubuntu-focal | result = handler(state)
2023-01-05 19:16:15.173306 | ubuntu-focal | File "/home/
2023-01-05 19:16:15.173313 | ubuntu-focal | return run_sequential(
2023-01-05 19:16:15.173319 | ubuntu-focal | File "/home/
2023-01-05 19:16:15.173325 | ubuntu-focal | return execute(state, max_workers=1, has_spinner=False, live=True)
2023-01-05 19:16:15.173331 | ubuntu-focal | File "/home/
2023-01-05 19:16:15.173353 | ubuntu-focal | state.envs.
2023-01-05 19:16:15.173366 | ubuntu-focal | File "/home/
2023-01-05 19:16:15.173373 | ubuntu-focal | envs, active = self._defined_envs, self._env_
2023-01-05 19:16:15.173379 | ubuntu-focal | File "/home/
2023-01-05 19:16:15.173385 | ubuntu-focal | raise failed[
2023-01-05 19:16:15.173392 | ubuntu-focal | File "/home/
2023-01-05 19:16:15.173401 | ubuntu-focal | run_env.package_env = self._build_
2023-01-05 19:16:15.173421 | ubuntu-focal | File "/home/
2023-01-05 19:16:15.173425 | ubuntu-focal | name_type = next(child_
2023-01-05 19:16:15.173430 | ubuntu-focal | File "/home/
2023-01-05 19:16:15.173435 | ubuntu-focal | yield from super()
2023-01-05 19:16:15.173439 | ubuntu-focal | File "/home/
2023-01-05 19:16:15.173444 | ubuntu-focal | pkg_env = run_env.
2023-01-05 19:16:15.173448 | ubuntu-focal | File "/home/
2023-01-05 19:16:15.173454 | ubuntu-focal | return self.load(item)
2023-01-05 19:16:15.173459 | ubuntu-focal | File "/home/
2023-01-05 19:16:15.173463 | ubuntu-focal | return config_
2023-01-05 19:16:15.173467 | ubuntu-focal | File "/home/
2023-01-05 19:16:15.173472 | ubuntu-focal | value = self.default(conf, args.env_name) if callable(
2023-01-05 19:16:15.173476 | ubuntu-focal | File "/home/
2023-01-05 19:16:15.173481 | ubuntu-focal | run_py = cast(Python, run_env)
2023-01-05 19:16:15.173487 | ubuntu-focal | File "/home/
2023-01-05 19:16:15.173493 | ubuntu-focal | base_pythons: list[str] = self.conf[
2023-01-05 19:16:15.173498 | ubuntu-focal | File "/home/
2023-01-05 19:16:15.173502 | ubuntu-focal | return self.load(item)
2023-01-05 19:16:15.173507 | ubuntu-focal | File "/home/
2023-01-05 19:16:15.173511 | ubuntu-focal | return config_
2023-01-05 19:16:15.173515 | ubuntu-focal | File "/home/
2023-01-05 19:16:15.173519 | ubuntu-focal | value = self.post_
2023-01-05 19:16:15.173524 | ubuntu-focal | File "/home/
2023-01-05 19:16:15.173528 | ubuntu-focal | return self._validate_
2023-01-05 19:16:15.173532 | ubuntu-focal | File "/home/
2023-01-05 19:16:15.173536 | ubuntu-focal | raise Fail(msg)
2023-01-05 19:16:15.173541 | ubuntu-focal | tox.tox_
Example logs:
^^ is a py39 test - with error:
tox.tox_
Changed in tripleo: | |
status: | Triaged → In Progress |
This error just started to be visible in check/gate - seen in tripleo-ansile and THT jobs