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