Skip to content

Conversation

@github-actions
Copy link
Contributor

Base PullRequest

default branch (https://github.com/electrocucaracha/lint-devstack/tree/master)

Command results

Details:
add path
/home/runner/work/_actions/technote-space/create-pr-action/91114507cf92349bec0a9a501c2edf1635427bc5/node_modules/npm-check-updates/build/src/bin
./ci/update_versions.sh
command -v shfmt > /dev/null || curl -s "https://i.jpillora.com/mvdan/sh!!?as=shfmt" | bash
Installing mvdan/sh latest as shfmt (linux/amd64).....
Installed at /usr/local/bin/shfmt
shfmt -l -w -s  -i 4 .
command -v yamlfmt > /dev/null || curl -s "https://i.jpillora.com/google/yamlfmt!!" | bash
Installing google/yamlfmt latest (linux/amd64).....
Installed at /usr/local/bin/yamlfmt
yamlfmt -dstar **/*.{yaml,yml}
command -v prettier > /dev/null || npm install prettier

added 1 package in 918ms

1 package is looking for funding
  run `npm fund` for details
npx prettier . --write
�[90m.editorconfig-checker.json�[39m 31ms (unchanged)
�[90m.github/actions/vagrant-setup/action.yml�[39m 22ms (unchanged)
�[90m.github/prompts/sembr.prompt.md�[39m 51ms (unchanged)
�[90m.github/workflows/linter.yml�[39m 15ms (unchanged)
�[90m.github/workflows/on-demand_ci.yml�[39m 16ms (unchanged)
�[90m.github/workflows/scheduled_distros.yml�[39m 9ms (unchanged)
�[90m.github/workflows/spell.yml�[39m 7ms (unchanged)
�[90m.github/workflows/update.yml�[39m 13ms (unchanged)
�[90m.pre-commit-config.yaml�[39m 6ms (unchanged)
�[90m.rubocop.yml�[39m 2ms (unchanged)
�[90m.spellcheck.yml�[39m 2ms (unchanged)
�[90mactionlint.yml�[39m 1ms (unchanged)
�[90mdistros_supported.yml�[39m 2ms (unchanged)
�[90mREADME.md�[39m 23ms (unchanged)
�[90mtesting_numa_config.yml�[39m 2ms (unchanged)
�[90mvm_config.yml�[39m 6ms (unchanged)

stderr:

#=#=#                                                                          

######################################################################## 100.0%
#=#=#                                                                          

######################################################################## 100.0%

Changed files

Changed file:
  • .github/actions/vagrant-setup/action.yml

:octocat: Repo | 📝 Issues | 🏬 Marketplace

@qodo-code-review
Copy link

CI Feedback 🧐

A test triggered by this PR failed. Here is an AI-generated analysis of the failure:

Action: check-ci-baremetal-jammy

Failed stage: Deploy services [❌]

Failed test name: ""

Failure summary:

The action failed during DevStack setup when pip install -e /opt/stack/keystone attempted to build
an editable install for Keystone.
The editable build failed in the PEP517 requirements step because
pbr tried to call setuptools.build_meta.get_requires_for_build_editable, but the installed
setuptools.build_meta does not provide that attribute:
- Error occurs while "Getting requirements to
build editable" (pip PEP517 hook).
- Traceback ends with: AttributeError: module
'setuptools.build_meta' has no attribute 'get_requires_for_build_editable' (from
/tmp/.../pbr/build.py calling setuptools.build_meta).
This indicates an incompatible/mismatched
setuptools/pbr (or packaging toolchain) version on the runner for Python 3.11, causing stack.sh to
exit with code 1.

Relevant error logs:
1:  ##[group]Runner Image Provisioner
2:  Hosted Compute Agent
...

995:  ++ stackrc:source:771                       :   SERVICE_PROTOCOL=http
996:  +++ stackrc:source:777                       :   nproc
997:  +++ stackrc:source:777                       :   nproc
998:  ++ stackrc:source:777                       :   API_WORKERS=2
999:  ++ stackrc:source:780                       :   SERVICE_TIMEOUT=60
1000:  ++ stackrc:source:783                       :   NOVA_READY_TIMEOUT=60
1001:  ++ stackrc:source:786                       :   SERVICE_GRACEFUL_SHUTDOWN_TIMEOUT=5
1002:  ++ stackrc:source:789                       :   WORKER_TIMEOUT=80
1003:  +++ stackrc:source:797                       :   trueorfalse False OFFLINE
1004:  +++ functions-common:trueorfalse:222         :   local xtrace
1005:  ++++ functions-common:trueorfalse:223         :   set +o
1006:  ++++ functions-common:trueorfalse:223         :   grep xtrace
1007:  +++ functions-common:trueorfalse:223         :   xtrace='set -o xtrace'
1008:  +++ functions-common:trueorfalse:224         :   set +o xtrace
1009:  ++ stackrc:source:797                       :   OFFLINE=False
1010:  +++ stackrc:source:802                       :   trueorfalse False ERROR_ON_CLONE
1011:  +++ functions-common:trueorfalse:222         :   local xtrace
1012:  ++++ functions-common:trueorfalse:223         :   set +o
1013:  ++++ functions-common:trueorfalse:223         :   grep xtrace
1014:  +++ functions-common:trueorfalse:223         :   xtrace='set -o xtrace'
1015:  +++ functions-common:trueorfalse:224         :   set +o xtrace
1016:  ++ stackrc:source:802                       :   ERROR_ON_CLONE=False
1017:  +++ stackrc:source:805                       :   trueorfalse True ENABLE_DEBUG_LOG_LEVEL
...

5052:  + inc/python:setup_package:447             :   local extras=
5053:  + inc/python:setup_package:451             :   [[ -n -e ]]
5054:  + inc/python:setup_package:451             :   [[ -z '' ]]
5055:  + inc/python:setup_package:451             :   [[ ! -e =~ ^-.* ]]
5056:  + inc/python:setup_package:456             :   [[ ! -z '' ]]
5057:  + inc/python:setup_package:461             :   [[ 0 == 1 ]]
5058:  + inc/python:setup_package:465             :   pip_install -e /opt/stack/keystone
5059:  Using python 3.11 to install /opt/stack/keystone
5060:  + inc/python:pip_install:210               :   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 -e /opt/stack/keystone
5061:  Obtaining file:///opt/stack/keystone
5062:  Installing build dependencies: started
5063:  Installing build dependencies: finished with status 'done'
5064:  Checking if build backend supports build_editable: started
5065:  Checking if build backend supports build_editable: finished with status 'done'
5066:  Getting requirements to build editable: started
5067:  Getting requirements to build editable: finished with status 'error'
5068:  error: subprocess-exited-with-error
5069:  × Getting requirements to build editable did not run successfully.
5070:  │ exit code: 1
5071:  ╰─> [13 lines of output]
5072:  Traceback (most recent call last):
5073:  File "/usr/lib/python3/dist-packages/pip/_vendor/pep517/in_process/_in_process.py", line 363, in <module>
5074:  main()
5075:  File "/usr/lib/python3/dist-packages/pip/_vendor/pep517/in_process/_in_process.py", line 345, in main
5076:  json_out['return_val'] = hook(**hook_input['kwargs'])
5077:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
5078:  File "/usr/lib/python3/dist-packages/pip/_vendor/pep517/in_process/_in_process.py", line 144, in get_requires_for_build_editable
5079:  return hook(config_settings)
5080:  ^^^^^^^^^^^^^^^^^^^^^
5081:  File "/tmp/pip-build-env-e4c5snqg/overlay/local/lib/python3.11/dist-packages/pbr/build.py", line 100, in get_requires_for_build_editable
5082:  return build_meta.get_requires_for_build_editable(
5083:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
5084:  AttributeError: module 'setuptools.build_meta' has no attribute 'get_requires_for_build_editable'. Did you mean: 'get_requires_for_build_sdist'?
5085:  [end of output]
5086:  note: This error originates from a subprocess, and is likely not a problem with pip.
5087:  error: subprocess-exited-with-error
5088:  × Getting requirements to build editable did not run successfully.
5089:  │ exit code: 1
5090:  ╰─> See above for output.
5091:  note: This error originates from a subprocess, and is likely not a problem with pip.
5092:  + inc/python:pip_install:1                 :   exit_trap
5093:  + ./stack.sh:exit_trap:549                 :   local r=1
5094:  ++ ./stack.sh:exit_trap:550                 :   jobs -p
5095:  + ./stack.sh:exit_trap:550                 :   jobs=
5096:  + ./stack.sh:exit_trap:553                 :   [[ -n '' ]]
5097:  + ./stack.sh:exit_trap:559                 :   '[' -f '' ']'
5098:  + ./stack.sh:exit_trap:564                 :   kill_spinner
5099:  + ./stack.sh:kill_spinner:459              :   '[' '!' -z '' ']'
5100:  + ./stack.sh:exit_trap:566                 :   [[ 1 -ne 0 ]]
5101:  + ./stack.sh:exit_trap:567                 :   echo 'Error on exit'
5102:  Error on exit
5103:  + ./stack.sh:exit_trap:569                 :   type -p generate-subunit
5104:  + ./stack.sh:exit_trap:570                 :   generate-subunit 1768613056 117 fail
5105:  + ./stack.sh:exit_trap:572                 :   [[ -z /opt/stack/data/logs ]]
5106:  + ./stack.sh:exit_trap:575                 :   /opt/hostedtoolcache/Python/3.11.14/x64/bin/python3.11 /opt/stack/devstack/tools/worlddump.py -d /opt/stack/data/logs
5107:  + ./stack.sh:exit_trap:584                 :   exit 1
5108:  ##[error]Process completed with exit code 1.
5109:  Post job cleanup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants