10:03:56 Started by timer 10:03:56 Running as SYSTEM 10:03:58 [EnvInject] - Loading node environment variables. 10:03:58 Building remotely on prd-ubuntu20.04-docker-2c-8g-14836 (ubuntu20.04-docker-2c-8g) in workspace /w/workspace/ci-management-openstack-cron 10:03:59 [ssh-agent] Looking for ssh-agent implementation... 10:03:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:03:59 $ ssh-agent 10:03:59 SSH_AUTH_SOCK=/tmp/ssh-Ul0OAEVx0DU9/agent.1520 10:03:59 SSH_AGENT_PID=1522 10:03:59 [ssh-agent] Started. 10:03:59 Running ssh-add (command line suppressed) 10:03:59 Identity added: /w/workspace/ci-management-openstack-cron@tmp/private_key_5449891482395238845.key (/w/workspace/ci-management-openstack-cron@tmp/private_key_5449891482395238845.key) 10:03:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:03:59 The recommended git tool is: NONE 10:04:04 using credential edgex-jenkins-ssh 10:04:04 Wiping out workspace first. 10:04:04 Cloning the remote Git repository 10:04:04 Cloning repository git@github.com:edgexfoundry/ci-management 10:04:04 > git init /w/workspace/ci-management-openstack-cron # timeout=10 10:04:04 Fetching upstream changes from git@github.com:edgexfoundry/ci-management 10:04:04 > git --version # timeout=10 10:04:04 > git --version # 'git version 2.25.1' 10:04:04 using GIT_SSH to set credentials SSH Credentials for GitHub 10:04:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/ci-management +refs/heads/*:refs/remotes/origin/* # timeout=10 10:04:05 > git config remote.origin.url git@github.com:edgexfoundry/ci-management # timeout=10 10:04:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:04:06 Avoid second fetch 10:04:06 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 10:04:06 Checking out Revision 25e482c59c71c097cc58524dd7b2701748d645ac (refs/remotes/origin/master) 10:04:06 > git config core.sparsecheckout # timeout=10 10:04:06 > git checkout -f 25e482c59c71c097cc58524dd7b2701748d645ac # timeout=10 10:04:06 Commit message: "Merge pull request #704 from eb-oss/upgrade-common-packer" 10:04:06 > git rev-list --no-walk 25e482c59c71c097cc58524dd7b2701748d645ac # timeout=10 10:04:07 > git remote # timeout=10 10:04:07 > git submodule init # timeout=10 10:04:07 > git submodule sync # timeout=10 10:04:07 > git config --get remote.origin.url # timeout=10 10:04:07 > git submodule init # timeout=10 10:04:07 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 10:04:07 > git config --get submodule.packer/common-packer.url # timeout=10 10:04:07 > git config -f .gitmodules --get submodule.packer/common-packer.path # timeout=10 10:04:07 > git config --get submodule.global-jjb.url # timeout=10 10:04:07 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 10:04:07 > git submodule update --init --recursive packer/common-packer # timeout=10 10:04:07 > git submodule update --init --recursive global-jjb # timeout=10 10:04:12 Run condition [Boolean condition] enabling prebuild for step [Execute shell] 10:04:12 Run condition [Boolean condition] enabling prebuild for step [Execute shell] 10:04:12 Run condition [Boolean condition] enabling prebuild for step [Execute shell] 10:04:12 Run condition [Boolean condition] enabling prebuild for step [Execute shell] 10:04:12 Run condition [Boolean condition] enabling prebuild for step [Execute shell] 10:04:12 Run condition [Boolean condition] enabling prebuild for step [Execute shell] 10:04:12 Run condition [Boolean condition] enabling prebuild for step [BuilderChain] 10:04:12 provisioning config files... 10:04:12 copy managed file [clouds-yaml] to file:/home/jenkins/.config/openstack/clouds.yaml 10:04:12 copy managed file [npmrc] to file:/home/jenkins/.npmrc 10:04:12 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 10:04:12 [ci-management-openstack-cron] $ /bin/bash /tmp/jenkins4542158593685035160.sh 10:04:12 ---> python-tools-install.sh 10:04:12 Setup pyenv: 10:04:12 * system (set by /opt/pyenv/version) 10:04:12 * 3.8.20 (set by /opt/pyenv/version) 10:04:12 * 3.9.20 (set by /opt/pyenv/version) 10:04:12 3.10.15 10:04:12 3.11.10 10:04:17 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-HW8Z 10:04:17 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 10:04:17 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 10:04:17 lf-activate-venv(): INFO: Attempting to install with network-safe options... 10:04:21 lf-activate-venv(): INFO: Base packages installed successfully 10:04:21 lf-activate-venv(): INFO: Installing additional packages: lftools 10:04:41 lf-activate-venv(): INFO: Adding /tmp/venv-HW8Z/bin to PATH 10:04:41 Generating Requirements File 10:05:02 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. 10:05:02 httplib2 0.30.2 requires pyparsing<4,>=3.0.4, but you have pyparsing 2.4.7 which is incompatible. 10:05:03 Python 3.11.10 10:05:03 pip 26.1.2 from /tmp/venv-HW8Z/lib/python3.11/site-packages/pip (python 3.11) 10:05:03 aiohappyeyeballs==2.7.1 10:05:03 aiohttp==3.14.1 10:05:03 aiosignal==1.4.0 10:05:03 appdirs==1.4.4 10:05:03 argcomplete==3.7.0 10:05:03 aspy.yaml==1.3.0 10:05:03 attrs==26.1.0 10:05:03 autopage==0.6.0 10:05:03 beautifulsoup4==4.15.0 10:05:03 boto3==1.43.45 10:05:03 botocore==1.43.45 10:05:03 bs4==0.0.2 10:05:03 certifi==2026.6.17 10:05:03 cffi==2.1.0 10:05:03 cfgv==3.5.0 10:05:03 chardet==7.4.3 10:05:03 charset-normalizer==3.4.9 10:05:03 click==8.4.2 10:05:03 cliff==4.14.0 10:05:03 cmd2==4.1.1 10:05:03 cryptography==3.3.2 10:05:03 debtcollector==3.1.0 10:05:03 decorator==5.3.1 10:05:03 defusedxml==0.7.1 10:05:03 Deprecated==1.3.1 10:05:03 distlib==0.4.3 10:05:03 dnspython==2.8.0 10:05:03 docker==7.2.0 10:05:03 dogpile.cache==1.5.0 10:05:03 durationpy==0.10 10:05:03 email-validator==2.3.0 10:05:03 filelock==3.29.7 10:05:03 frozenlist==1.8.0 10:05:03 future==1.0.0 10:05:03 gitdb==4.0.12 10:05:03 GitPython==3.1.50 10:05:03 httplib2==0.30.2 10:05:03 identify==2.6.19 10:05:03 idna==3.18 10:05:03 importlib-resources==1.5.0 10:05:03 iso8601==2.1.0 10:05:03 Jinja2==3.1.6 10:05:03 jmespath==1.1.0 10:05:03 jsonpatch==1.33 10:05:03 jsonpointer==3.1.1 10:05:03 jsonschema==4.26.0 10:05:03 jsonschema-specifications==2025.9.1 10:05:03 keystoneauth1==5.15.0 10:05:03 kubernetes==36.0.2 10:05:03 lftools==0.37.22 10:05:03 lxml==6.1.1 10:05:03 markdown-it-py==4.2.0 10:05:03 MarkupSafe==3.0.3 10:05:03 mdurl==0.1.2 10:05:03 msgpack==1.2.1 10:05:03 multi_key_dict==2.0.3 10:05:03 multidict==6.7.1 10:05:03 munch==4.0.0 10:05:03 netaddr==1.3.0 10:05:03 niet==1.4.2 10:05:03 nodeenv==1.10.0 10:05:03 oauth2client==4.1.3 10:05:03 oauthlib==3.3.1 10:05:03 openstacksdk==4.17.0 10:05:03 os-service-types==1.8.2 10:05:03 osc-lib==4.6.0 10:05:03 oslo.config==10.5.0 10:05:03 oslo.context==6.4.0 10:05:03 oslo.i18n==6.8.0 10:05:03 oslo.log==8.2.0 10:05:03 oslo.serialization==5.10.0 10:05:03 oslo.utils==10.1.1 10:05:03 packaging==26.2 10:05:03 pbr==7.0.3 10:05:03 platformdirs==4.10.0 10:05:03 prettytable==3.18.0 10:05:03 prompt_toolkit==3.0.52 10:05:03 propcache==0.5.2 10:05:03 psutil==7.2.2 10:05:03 pyasn1==0.6.4 10:05:03 pyasn1_modules==0.4.2 10:05:03 pycparser==3.0 10:05:03 pygerrit2==2.0.15 10:05:03 PyGithub==2.9.1 10:05:03 Pygments==2.20.0 10:05:03 PyJWT==2.13.0 10:05:03 PyNaCl==1.6.2 10:05:03 pyparsing==2.4.7 10:05:03 pyperclip==1.11.0 10:05:03 pyrsistent==0.20.0 10:05:03 python-cinderclient==9.9.0 10:05:03 python-dateutil==2.9.0.post0 10:05:03 python-discovery==1.4.4 10:05:03 python-heatclient==5.2.0 10:05:03 python-jenkins==1.8.3 10:05:03 python-keystoneclient==5.8.0 10:05:03 python-magnumclient==4.11.0 10:05:03 python-openstackclient==10.1.0 10:05:03 python-swiftclient==4.10.0 10:05:03 PyYAML==6.0.3 10:05:03 referencing==0.37.0 10:05:03 requests==2.34.2 10:05:03 requests-oauthlib==2.0.0 10:05:03 rfc3986==2.0.0 10:05:03 rich==15.0.0 10:05:03 rich-argparse==1.8.0 10:05:03 rpds-py==2026.6.3 10:05:03 rsa==4.9.1 10:05:03 ruamel.yaml==0.19.1 10:05:03 ruamel.yaml.clib==0.2.15 10:05:03 s3transfer==0.19.0 10:05:03 simplejson==4.1.1 10:05:03 six==1.17.0 10:05:03 smmap==5.0.3 10:05:03 soupsieve==2.8.4 10:05:03 stevedore==5.9.0 10:05:03 tabulate==0.10.0 10:05:03 toml==0.10.2 10:05:03 tomlkit==0.15.0 10:05:03 tqdm==4.68.4 10:05:03 typing_extensions==4.16.0 10:05:03 urllib3==1.26.20 10:05:03 virtualenv==21.6.0 10:05:03 wcwidth==0.8.2 10:05:03 websocket-client==1.9.0 10:05:03 wrapt==2.2.2 10:05:03 xdg==6.0.0 10:05:03 xmltodict==1.0.4 10:05:03 yarl==1.24.2 10:05:03 yq==4.1.1 10:05:03 [EnvInject] - Injecting environment variables from a build step. 10:05:03 [EnvInject] - Injecting as environment variables the properties content 10:05:03 OS_CLOUD=vex 10:05:03 10:05:03 [EnvInject] - Variables injected successfully. 10:05:03 [Boolean condition] checking [True] against [^(1|y|yes|t|true|on|run)$] (origin token: True) 10:05:03 Run condition [Boolean condition] enabling perform for step [Execute shell] 10:05:03 [ci-management-openstack-cron] $ /bin/bash -l /tmp/jenkins13898305958176538112.sh 10:05:03 ---> Orphaned k8s clusters 10:05:03 Setup pyenv: 10:05:03 system 10:05:03 3.8.20 10:05:03 3.9.20 10:05:03 3.10.15 10:05:03 * 3.11.10 (set by /w/workspace/ci-management-openstack-cron/.python-version) 10:05:03 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-HW8Z from file:/tmp/.os_lf_venv 10:05:03 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 10:05:03 lf-activate-venv(): INFO: Attempting to install with network-safe options... 10:05:05 lf-activate-venv(): INFO: Base packages installed successfully 10:05:05 lf-activate-venv(): INFO: Installing additional packages: kubernetes python-heatclient python-openstackclient python-magnumclient 10:05:11 lf-activate-venv(): INFO: Adding /tmp/venv-HW8Z/bin to PATH 10:05:14 -----> Delete orphaned cluster 10:05:14 [Boolean condition] checking [True] against [^(1|y|yes|t|true|on|run)$] (origin token: True) 10:05:14 Run condition [Boolean condition] enabling perform for step [Execute shell] 10:05:14 [ci-management-openstack-cron] $ /bin/bash -l /tmp/jenkins4162402198170322553.sh 10:05:14 ---> Orphaned stacks 10:05:14 Setup pyenv: 10:05:14 system 10:05:14 3.8.20 10:05:14 3.9.20 10:05:14 3.10.15 10:05:14 * 3.11.10 (set by /w/workspace/ci-management-openstack-cron/.python-version) 10:05:14 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-HW8Z from file:/tmp/.os_lf_venv 10:05:14 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 10:05:14 lf-activate-venv(): INFO: Attempting to install with network-safe options... 10:05:16 lf-activate-venv(): INFO: Base packages installed successfully 10:05:16 lf-activate-venv(): INFO: Installing additional packages: lftools[openstack] kubernetes niet python-heatclient python-openstackclient python-magnumclient yq 10:05:27 lf-activate-venv(): INFO: Adding /tmp/venv-HW8Z/bin to PATH 10:05:27 + mapfile -t OS_COE_CLUSTERS_ID 10:05:27 ++ openstack --os-cloud vex coe cluster list -f value -c uuid -c name 10:05:27 ++ awk '{print $1}' 10:05:27 ++ grep -E '(DELETE_FAILED|UNKNOWN|UNHEALTHY)' 10:05:29 + echo '-----> Active clusters -> stacks' 10:05:29 -----> Active clusters -> stacks 10:05:29 + OS_COE_STACKS=() 10:05:29 + [[ 0 -gt 0 ]] 10:05:29 + mapfile -t OS_STACKS 10:05:29 ++ awk '{print $1}' 10:05:29 ++ openstack --os-cloud vex stack list -f value -c 'Stack Name' -c 'Stack Status' --property stack_status=CREATE_COMPLETE --property stack_status=DELETE_FAILED --property stack_status=CREATE_FAILED 10:05:31 + echo '-----> Active stacks' 10:05:31 -----> Active stacks 10:05:31 + echo '-----> Delete orphaned stacks' 10:05:31 -----> Delete orphaned stacks 10:05:31 [Boolean condition] checking [True] against [^(1|y|yes|t|true|on|run)$] (origin token: True) 10:05:31 Run condition [Boolean condition] enabling perform for step [Execute shell] 10:05:31 [ci-management-openstack-cron] $ /bin/bash -l /tmp/jenkins12024732254877905678.sh 10:05:31 ---> Orphaned servers 10:05:31 Setup pyenv: 10:05:31 system 10:05:31 3.8.20 10:05:31 3.9.20 10:05:31 3.10.15 10:05:31 * 3.11.10 (set by /w/workspace/ci-management-openstack-cron/.python-version) 10:05:31 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-HW8Z from file:/tmp/.os_lf_venv 10:05:31 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 10:05:31 lf-activate-venv(): INFO: Attempting to install with network-safe options... 10:05:33 lf-activate-venv(): INFO: Base packages installed successfully 10:05:33 lf-activate-venv(): INFO: Installing additional packages: lftools[openstack] kubernetes niet python-heatclient python-openstackclient python-magnumclient yq 10:05:42 lf-activate-venv(): INFO: Adding /tmp/venv-HW8Z/bin to PATH 10:05:48 -----> Active servers 10:05:48 prd-ubuntu20.04-docker-2c-8g-14836 10:05:48 prd-ubuntu20.04-docker-8c-8g-14834 10:05:48 prd-centos7-blackbox-4c-2g-14261 10:05:48 prd-centos7-blackbox-4c-2g-14260 10:05:48 -----> Delete orphaned servers 10:07:03 ERROR: Failed to fetch data from https://jenkins.edgexfoundry.org/sandbox/computer/api/json?tree=computer[displayName] with status code 500 10:07:03 10:07:03