You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The action failed during DevStack setup while installing keystone in editable mode with pip (pip install -e /opt/stack/keystone). pip failed at the "Preparing editable metadata (pyproject.toml)" step because pbr attempted to call setuptools.build_meta.prepare_metadata_for_build_editable, but the installed setuptools does not provide that attribute: - Error: AttributeError: module 'setuptools.build_meta' has no attribute 'prepare_metadata_for_build_editable' (shown in the traceback at pbr/build.py:109) This caused metadata generation to fail (metadata-generation-failed), and stack.sh exited with code 1.
Relevant error logs:
1: ##[group]Runner Image Provisioner2: Hosted Compute Agent
...
1023: ++ stackrc:source:771 : SERVICE_PROTOCOL=http1024: +++ stackrc:source:777 : nproc1025: +++ stackrc:source:777 : nproc1026: ++ stackrc:source:777 : API_WORKERS=21027: ++ stackrc:source:780 : SERVICE_TIMEOUT=601028: ++ stackrc:source:783 : NOVA_READY_TIMEOUT=601029: ++ stackrc:source:786 : SERVICE_GRACEFUL_SHUTDOWN_TIMEOUT=51030: ++ stackrc:source:789 : WORKER_TIMEOUT=801031: +++ stackrc:source:797 : trueorfalse False OFFLINE1032: +++ functions-common:trueorfalse:222 : local xtrace1033: ++++ functions-common:trueorfalse:223 : set +o1034: ++++ functions-common:trueorfalse:223 : grep xtrace1035: +++ functions-common:trueorfalse:223 : xtrace='set -o xtrace'1036: +++ functions-common:trueorfalse:224 : set +o xtrace1037: ++ stackrc:source:797 : OFFLINE=False1038: +++ stackrc:source:802 : trueorfalse False ERROR_ON_CLONE1039: +++ functions-common:trueorfalse:222 : local xtrace1040: ++++ functions-common:trueorfalse:223 : set +o1041: ++++ functions-common:trueorfalse:223 : grep xtrace1042: +++ functions-common:trueorfalse:223 : xtrace='set -o xtrace'1043: +++ functions-common:trueorfalse:224 : set +o xtrace1044: ++ stackrc:source:802 : ERROR_ON_CLONE=False1045: +++ stackrc:source:805 : trueorfalse True ENABLE_DEBUG_LOG_LEVEL
...
5132: + inc/python:setup_package:454 : local project_dir=/opt/stack/keystone5133: + inc/python:setup_package:455 : local flags=-e5134: + inc/python:setup_package:456 : local extras=5135: + inc/python:setup_package:460 : [[ -n -e ]]5136: + inc/python:setup_package:460 : [[ -z '' ]]5137: + inc/python:setup_package:460 : [[ ! -e =~ ^-.* ]]5138: + inc/python:setup_package:465 : [[ ! -z '' ]]5139: + inc/python:setup_package:470 : [[ 0 == 1 ]]5140: + inc/python:setup_package:474 : pip_install -e /opt/stack/keystone5141: Using python 3.11 to install /opt/stack/keystone5142: + inc/python:pip_install:219 : sudo -H LC_ALL=en_US.UTF-8 http_proxy= https_proxy= no_proxy= PIP_FIND_LINKS= python3.11 -m pip install -c /home/runner/requirements/upper-constraints.txt --no-build-isolation -e /opt/stack/keystone5143: Obtaining file:///opt/stack/keystone5144: Checking if build backend supports build_editable: started5145: Checking if build backend supports build_editable: finished with status 'done'5146: Preparing editable metadata (pyproject.toml): started5147: Preparing editable metadata (pyproject.toml): finished with status 'error'5148: error: subprocess-exited-with-error5149: × Preparing editable metadata (pyproject.toml) did not run successfully.5150: │ exit code: 15151: ╰─> [13 lines of output]5152: Traceback (most recent call last):5153: File "/usr/lib/python3/dist-packages/pip/_vendor/pep517/in_process/_in_process.py", line 363, in <module>5154: main()5155: File "/usr/lib/python3/dist-packages/pip/_vendor/pep517/in_process/_in_process.py", line 345, in main5156: json_out['return_val'] = hook(**hook_input['kwargs'])5157: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^5158: File "/usr/lib/python3/dist-packages/pip/_vendor/pep517/in_process/_in_process.py", line 191, in prepare_metadata_for_build_editable5159: return hook(metadata_directory, config_settings)5160: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^5161: File "/usr/local/lib/python3.11/dist-packages/pbr/build.py", line 109, in prepare_metadata_for_build_editable5162: return build_meta.prepare_metadata_for_build_editable(5163: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^5164: AttributeError: module 'setuptools.build_meta' has no attribute 'prepare_metadata_for_build_editable'. Did you mean: 'prepare_metadata_for_build_wheel'?5165: [end of output]5166: note: This error originates from a subprocess, and is likely not a problem with pip.5167: error: metadata-generation-failed5168: × Encountered error while generating package metadata.5169: ╰─> See above for output.5170: note: This is an issue with the package mentioned above, not pip.5171: hint: See above for details.5172: + inc/python:pip_install:1 : exit_trap5173: + ./stack.sh:exit_trap:549 : local r=15174: ++ ./stack.sh:exit_trap:550 : jobs -p5175: + ./stack.sh:exit_trap:550 : jobs=5176: + ./stack.sh:exit_trap:553 : [[ -n '' ]]5177: + ./stack.sh:exit_trap:559 : '[' -f '' ']'5178: + ./stack.sh:exit_trap:564 : kill_spinner5179: + ./stack.sh:kill_spinner:459 : '[' '!' -z '' ']'5180: + ./stack.sh:exit_trap:566 : [[ 1 -ne 0 ]]5181: + ./stack.sh:exit_trap:567 : echo 'Error on exit'5182: Error on exit5183: + ./stack.sh:exit_trap:569 : type -p generate-subunit5184: + ./stack.sh:exit_trap:570 : generate-subunit 1773885709 106 fail5185: + ./stack.sh:exit_trap:572 : [[ -z /opt/stack/data/logs ]]5186: + ./stack.sh:exit_trap:575 : /opt/hostedtoolcache/Python/3.11.15/x64/bin/python3.11 /opt/stack/devstack/tools/worlddump.py -d /opt/stack/data/logs5187: + ./stack.sh:exit_trap:584 : exit 15188: ##[error]Process completed with exit code 1.5189: Post job cleanup.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Base PullRequest
default branch (https://github.com/electrocucaracha/lint-devstack/tree/master)
Command results
Details:
add path
./ci/update_versions.sh
stderr:
Changed files
Changed file: