23:03:51 Started by timer 23:03:51 Running as SYSTEM 23:03:54 [EnvInject] - Loading node environment variables. 23:03:54 Building remotely on prd-ubuntu20.04-docker-2c-8g-9455 (ubuntu20.04-docker-2c-8g) in workspace /w/workspace/ci-management-openstack-cron 23:03:54 [ssh-agent] Looking for ssh-agent implementation... 23:03:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:03:54 $ ssh-agent 23:03:55 SSH_AUTH_SOCK=/tmp/ssh-TDboupMZfTnV/agent.1539 23:03:55 SSH_AGENT_PID=1541 23:03:55 [ssh-agent] Started. 23:03:55 Running ssh-add (command line suppressed) 23:03:55 Identity added: /w/workspace/ci-management-openstack-cron@tmp/private_key_343090283146655599.key (/w/workspace/ci-management-openstack-cron@tmp/private_key_343090283146655599.key) 23:03:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:03:55 The recommended git tool is: NONE 23:04:00 using credential edgex-jenkins-ssh 23:04:00 Wiping out workspace first. 23:04:00 Cloning the remote Git repository 23:04:00 Cloning repository git@github.com:edgexfoundry/ci-management 23:04:00 > git init /w/workspace/ci-management-openstack-cron # timeout=10 23:04:00 Fetching upstream changes from git@github.com:edgexfoundry/ci-management 23:04:00 > git --version # timeout=10 23:04:00 > git --version # 'git version 2.25.1' 23:04:00 using GIT_SSH to set credentials SSH Credentials for GitHub 23:04:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/ci-management +refs/heads/*:refs/remotes/origin/* # timeout=10 23:04:01 > git config remote.origin.url git@github.com:edgexfoundry/ci-management # timeout=10 23:04:01 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:04:02 Avoid second fetch 23:04:02 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 23:04:02 Checking out Revision 25e482c59c71c097cc58524dd7b2701748d645ac (refs/remotes/origin/master) 23:04:02 > git config core.sparsecheckout # timeout=10 23:04:02 > git checkout -f 25e482c59c71c097cc58524dd7b2701748d645ac # timeout=10 23:04:03 Commit message: "Merge pull request #704 from eb-oss/upgrade-common-packer" 23:04:03 > git rev-list --no-walk 25e482c59c71c097cc58524dd7b2701748d645ac # timeout=10 23:04:03 > git remote # timeout=10 23:04:03 > git submodule init # timeout=10 23:04:03 > git submodule sync # timeout=10 23:04:03 > git config --get remote.origin.url # timeout=10 23:04:03 > git submodule init # timeout=10 23:04:03 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 23:04:03 > git config --get submodule.packer/common-packer.url # timeout=10 23:04:03 > git config -f .gitmodules --get submodule.packer/common-packer.path # timeout=10 23:04:03 > git config --get submodule.global-jjb.url # timeout=10 23:04:03 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 23:04:04 > git submodule update --init --recursive packer/common-packer # timeout=10 23:04:04 > git submodule update --init --recursive global-jjb # timeout=10 23:04:09 Run condition [Boolean condition] enabling prebuild for step [Execute shell] 23:04:09 Run condition [Boolean condition] enabling prebuild for step [Execute shell] 23:04:09 Run condition [Boolean condition] enabling prebuild for step [Execute shell] 23:04:09 Run condition [Boolean condition] enabling prebuild for step [Execute shell] 23:04:09 Run condition [Boolean condition] enabling prebuild for step [Execute shell] 23:04:09 Run condition [Boolean condition] enabling prebuild for step [Execute shell] 23:04:09 Run condition [Boolean condition] enabling prebuild for step [BuilderChain] 23:04:09 provisioning config files... 23:04:09 copy managed file [clouds-yaml] to file:/home/jenkins/.config/openstack/clouds.yaml 23:04:09 copy managed file [npmrc] to file:/home/jenkins/.npmrc 23:04:09 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 23:04:09 [ci-management-openstack-cron] $ /bin/bash /tmp/jenkins4489738235014775024.sh 23:04:09 ---> python-tools-install.sh 23:04:09 Setup pyenv: 23:04:09 * system (set by /opt/pyenv/version) 23:04:09 * 3.8.20 (set by /opt/pyenv/version) 23:04:09 * 3.9.20 (set by /opt/pyenv/version) 23:04:09 3.10.15 23:04:09 3.11.10 23:04:14 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-aRjX 23:04:14 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 23:04:14 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 23:04:14 lf-activate-venv(): INFO: Attempting to install with network-safe options... 23:04:17 lf-activate-venv(): INFO: Base packages installed successfully 23:04:17 lf-activate-venv(): INFO: Installing additional packages: lftools 23:04:36 lf-activate-venv(): INFO: Adding /tmp/venv-aRjX/bin to PATH 23:04:36 Generating Requirements File 23:04:52 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. 23:04:52 httplib2 0.30.2 requires pyparsing<4,>=3.0.4, but you have pyparsing 2.4.7 which is incompatible. 23:04:52 Python 3.11.10 23:04:53 pip 26.1.1 from /tmp/venv-aRjX/lib/python3.11/site-packages/pip (python 3.11) 23:04:53 appdirs==1.4.4 23:04:53 argcomplete==3.6.3 23:04:53 aspy.yaml==1.3.0 23:04:53 attrs==26.1.0 23:04:53 autopage==0.6.0 23:04:53 beautifulsoup4==4.14.3 23:04:53 boto3==1.43.9 23:04:53 botocore==1.43.9 23:04:53 bs4==0.0.2 23:04:53 certifi==2026.4.22 23:04:53 cffi==2.0.0 23:04:53 cfgv==3.5.0 23:04:53 chardet==7.4.3 23:04:53 charset-normalizer==3.4.7 23:04:53 click==8.3.3 23:04:53 cliff==4.14.0 23:04:53 cmd2==3.5.1 23:04:53 cryptography==3.3.2 23:04:53 debtcollector==3.1.0 23:04:53 decorator==5.2.1 23:04:53 defusedxml==0.7.1 23:04:53 Deprecated==1.3.1 23:04:53 distlib==0.4.0 23:04:53 dnspython==2.8.0 23:04:53 docker==7.1.0 23:04:53 dogpile.cache==1.5.0 23:04:53 durationpy==0.10 23:04:53 email-validator==2.3.0 23:04:53 filelock==3.29.0 23:04:53 future==1.0.0 23:04:53 gitdb==4.0.12 23:04:53 GitPython==3.1.50 23:04:53 httplib2==0.30.2 23:04:53 identify==2.6.19 23:04:53 idna==3.15 23:04:53 importlib-resources==1.5.0 23:04:53 iso8601==2.1.0 23:04:53 Jinja2==3.1.6 23:04:53 jmespath==1.1.0 23:04:53 jsonpatch==1.33 23:04:53 jsonpointer==3.1.1 23:04:53 jsonschema==4.26.0 23:04:53 jsonschema-specifications==2025.9.1 23:04:53 keystoneauth1==5.14.0 23:04:53 kubernetes==35.0.0 23:04:53 lftools==0.37.22 23:04:53 lxml==6.1.0 23:04:53 markdown-it-py==4.2.0 23:04:53 MarkupSafe==3.0.3 23:04:53 mdurl==0.1.2 23:04:53 msgpack==1.1.2 23:04:53 multi_key_dict==2.0.3 23:04:53 munch==4.0.0 23:04:53 netaddr==1.3.0 23:04:53 niet==1.4.2 23:04:53 nodeenv==1.10.0 23:04:53 oauth2client==4.1.3 23:04:53 oauthlib==3.3.1 23:04:53 openstacksdk==4.12.0 23:04:53 os-service-types==1.8.2 23:04:53 osc-lib==4.6.0 23:04:53 oslo.config==10.3.0 23:04:53 oslo.context==6.3.0 23:04:53 oslo.i18n==6.7.2 23:04:53 oslo.log==8.1.0 23:04:53 oslo.serialization==5.9.1 23:04:53 oslo.utils==10.0.1 23:04:53 packaging==26.2 23:04:53 pbr==7.0.3 23:04:53 platformdirs==4.9.6 23:04:53 prettytable==3.17.0 23:04:53 psutil==7.2.2 23:04:53 pyasn1==0.6.3 23:04:53 pyasn1_modules==0.4.2 23:04:53 pycparser==3.0 23:04:53 pygerrit2==2.0.15 23:04:53 PyGithub==2.9.1 23:04:53 Pygments==2.20.0 23:04:53 PyJWT==2.12.1 23:04:53 PyNaCl==1.6.2 23:04:53 pyparsing==2.4.7 23:04:53 pyperclip==1.11.0 23:04:53 pyrsistent==0.20.0 23:04:53 python-cinderclient==9.9.0 23:04:53 python-dateutil==2.9.0.post0 23:04:53 python-discovery==1.3.1 23:04:53 python-heatclient==5.1.0 23:04:53 python-jenkins==1.8.3 23:04:53 python-keystoneclient==5.8.0 23:04:53 python-magnumclient==4.10.0 23:04:53 python-openstackclient==9.0.0 23:04:53 python-swiftclient==4.10.0 23:04:53 PyYAML==6.0.3 23:04:53 referencing==0.37.0 23:04:53 requests==2.34.2 23:04:53 requests-oauthlib==2.0.0 23:04:53 rfc3986==2.0.0 23:04:53 rich==15.0.0 23:04:53 rich-argparse==1.8.0 23:04:53 rpds-py==0.30.0 23:04:53 rsa==4.9.1 23:04:53 ruamel.yaml==0.19.1 23:04:53 ruamel.yaml.clib==0.2.15 23:04:53 s3transfer==0.17.0 23:04:53 simplejson==4.1.1 23:04:53 six==1.17.0 23:04:53 smmap==5.0.3 23:04:53 soupsieve==2.8.3 23:04:53 stevedore==5.7.0 23:04:53 tabulate==0.10.0 23:04:53 toml==0.10.2 23:04:53 tomlkit==0.15.0 23:04:53 tqdm==4.67.3 23:04:53 typing_extensions==4.15.0 23:04:53 urllib3==1.26.20 23:04:53 virtualenv==21.3.3 23:04:53 wcwidth==0.7.0 23:04:53 websocket-client==1.9.0 23:04:53 wrapt==2.1.2 23:04:53 xdg==6.0.0 23:04:53 xmltodict==1.0.4 23:04:53 yq==3.4.3 23:04:53 [EnvInject] - Injecting environment variables from a build step. 23:04:53 [EnvInject] - Injecting as environment variables the properties content 23:04:53 OS_CLOUD=vex 23:04:53 23:04:53 [EnvInject] - Variables injected successfully. 23:04:53 [Boolean condition] checking [True] against [^(1|y|yes|t|true|on|run)$] (origin token: True) 23:04:53 Run condition [Boolean condition] enabling perform for step [Execute shell] 23:04:53 [ci-management-openstack-cron] $ /bin/bash -l /tmp/jenkins14233537526389953085.sh 23:04:53 ---> Orphaned k8s clusters 23:04:53 Setup pyenv: 23:04:53 system 23:04:53 3.8.20 23:04:53 3.9.20 23:04:53 3.10.15 23:04:53 * 3.11.10 (set by /w/workspace/ci-management-openstack-cron/.python-version) 23:04:53 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-aRjX from file:/tmp/.os_lf_venv 23:04:53 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 23:04:53 lf-activate-venv(): INFO: Attempting to install with network-safe options... 23:04:55 lf-activate-venv(): INFO: Base packages installed successfully 23:04:55 lf-activate-venv(): INFO: Installing additional packages: kubernetes python-heatclient python-openstackclient python-magnumclient 23:04:59 lf-activate-venv(): INFO: Adding /tmp/venv-aRjX/bin to PATH 23:05:02 -----> Delete orphaned cluster 23:05:02 [Boolean condition] checking [True] against [^(1|y|yes|t|true|on|run)$] (origin token: True) 23:05:02 Run condition [Boolean condition] enabling perform for step [Execute shell] 23:05:02 [ci-management-openstack-cron] $ /bin/bash -l /tmp/jenkins17769140730559215366.sh 23:05:02 ---> Orphaned stacks 23:05:02 Setup pyenv: 23:05:02 system 23:05:02 3.8.20 23:05:02 3.9.20 23:05:02 3.10.15 23:05:02 * 3.11.10 (set by /w/workspace/ci-management-openstack-cron/.python-version) 23:05:02 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-aRjX from file:/tmp/.os_lf_venv 23:05:02 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 23:05:02 lf-activate-venv(): INFO: Attempting to install with network-safe options... 23:05:04 lf-activate-venv(): INFO: Base packages installed successfully 23:05:04 lf-activate-venv(): INFO: Installing additional packages: lftools[openstack] kubernetes niet python-heatclient python-openstackclient python-magnumclient yq 23:05:13 lf-activate-venv(): INFO: Adding /tmp/venv-aRjX/bin to PATH 23:05:13 + mapfile -t OS_COE_CLUSTERS_ID 23:05:13 ++ openstack --os-cloud vex coe cluster list -f value -c uuid -c name 23:05:13 ++ grep -E '(DELETE_FAILED|UNKNOWN|UNHEALTHY)' 23:05:13 ++ awk '{print $1}' 23:05:16 + echo '-----> Active clusters -> stacks' 23:05:16 -----> Active clusters -> stacks 23:05:16 + OS_COE_STACKS=() 23:05:16 + [[ 0 -gt 0 ]] 23:05:16 + mapfile -t OS_STACKS 23:05:16 ++ 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 23:05:16 ++ awk '{print $1}' 23:05:17 + echo '-----> Active stacks' 23:05:17 -----> Active stacks 23:05:17 + echo '-----> Delete orphaned stacks' 23:05:17 -----> Delete orphaned stacks 23:05:17 [Boolean condition] checking [True] against [^(1|y|yes|t|true|on|run)$] (origin token: True) 23:05:17 Run condition [Boolean condition] enabling perform for step [Execute shell] 23:05:17 [ci-management-openstack-cron] $ /bin/bash -l /tmp/jenkins10262621833596063793.sh 23:05:17 ---> Orphaned servers 23:05:17 Setup pyenv: 23:05:17 system 23:05:17 3.8.20 23:05:17 3.9.20 23:05:17 3.10.15 23:05:17 * 3.11.10 (set by /w/workspace/ci-management-openstack-cron/.python-version) 23:05:17 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-aRjX from file:/tmp/.os_lf_venv 23:05:17 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 23:05:17 lf-activate-venv(): INFO: Attempting to install with network-safe options... 23:05:19 lf-activate-venv(): INFO: Base packages installed successfully 23:05:19 lf-activate-venv(): INFO: Installing additional packages: lftools[openstack] kubernetes niet python-heatclient python-openstackclient python-magnumclient yq 23:05:26 lf-activate-venv(): INFO: Adding /tmp/venv-aRjX/bin to PATH 23:05:33 -----> Active servers 23:05:33 prd-ubuntu20.04-docker-2c-8g-9455 23:05:33 prd-centos7-blackbox-4c-2g-8950 23:05:33 prd-centos7-blackbox-4c-2g-8949 23:05:33 -----> Delete orphaned servers 23:06:12 ERROR: Failed to fetch data from https://jenkins.edgexfoundry.org/computer/api/json?tree=computer[displayName] with status code 500 23:06:12 23:06:12