Started by timer
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on prd-ubuntu20.04-docker-2c-8g-12944 (ubuntu20.04-docker-2c-8g) in workspace /w/workspace/ci-management-openstack-cron
[ssh-agent] Looking for ssh-agent implementation...
[ssh-agent]   Exec ssh-agent (binary ssh-agent on a remote machine)
$ ssh-agent
SSH_AUTH_SOCK=/tmp/ssh-3aJwfMc5gt54/agent.1524
SSH_AGENT_PID=1526
[ssh-agent] Started.
Running ssh-add (command line suppressed)
Identity added: /w/workspace/ci-management-openstack-cron@tmp/private_key_9053690351227167406.key (/w/workspace/ci-management-openstack-cron@tmp/private_key_9053690351227167406.key)
[ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub)
The recommended git tool is: NONE
using credential edgex-jenkins-ssh
Wiping out workspace first.
Cloning the remote Git repository
Cloning repository git@github.com:edgexfoundry/ci-management
 > git init /w/workspace/ci-management-openstack-cron # timeout=10
Fetching upstream changes from git@github.com:edgexfoundry/ci-management
 > git --version # timeout=10
 > git --version # 'git version 2.25.1'
using GIT_SSH to set credentials SSH Credentials for GitHub
 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/ci-management +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url git@github.com:edgexfoundry/ci-management # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
Avoid second fetch
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
Checking out Revision 25e482c59c71c097cc58524dd7b2701748d645ac (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 25e482c59c71c097cc58524dd7b2701748d645ac # timeout=10
Commit message: "Merge pull request #704 from eb-oss/upgrade-common-packer"
 > git rev-list --no-walk 25e482c59c71c097cc58524dd7b2701748d645ac # timeout=10
 > git remote # timeout=10
 > git submodule init # timeout=10
 > git submodule sync # timeout=10
 > git config --get remote.origin.url # timeout=10
 > git submodule init # timeout=10
 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10
 > git config --get submodule.packer/common-packer.url # timeout=10
 > git config -f .gitmodules --get submodule.packer/common-packer.path # timeout=10
 > git config --get submodule.global-jjb.url # timeout=10
 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10
 > git submodule update --init --recursive packer/common-packer # timeout=10
 > git submodule update --init --recursive global-jjb # timeout=10
Run condition [Boolean condition] enabling prebuild for step [Execute shell]
Run condition [Boolean condition] enabling prebuild for step [Execute shell]
Run condition [Boolean condition] enabling prebuild for step [Execute shell]
Run condition [Boolean condition] enabling prebuild for step [Execute shell]
Run condition [Boolean condition] enabling prebuild for step [Execute shell]
Run condition [Boolean condition] enabling prebuild for step [Execute shell]
Run condition [Boolean condition] enabling prebuild for step [BuilderChain]
provisioning config files...
copy managed file [clouds-yaml] to file:/home/jenkins/.config/openstack/clouds.yaml
copy managed file [npmrc] to file:/home/jenkins/.npmrc
copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf
[ci-management-openstack-cron] $ /bin/bash /tmp/jenkins13564416715341372590.sh
---> python-tools-install.sh
Setup pyenv:
* system (set by /opt/pyenv/version)
* 3.8.20 (set by /opt/pyenv/version)
* 3.9.20 (set by /opt/pyenv/version)
  3.10.15
  3.11.10
lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-29Zo
lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv
lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv)
lf-activate-venv(): INFO: Attempting to install with network-safe options...
lf-activate-venv(): INFO: Base packages installed successfully
lf-activate-venv(): INFO: Installing additional packages: lftools 
lf-activate-venv(): INFO: Adding /tmp/venv-29Zo/bin to PATH
Generating Requirements File
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.
httplib2 0.30.2 requires pyparsing<4,>=3.0.4, but you have pyparsing 2.4.7 which is incompatible.
Python 3.11.10
pip 26.1.2 from /tmp/venv-29Zo/lib/python3.11/site-packages/pip (python 3.11)
aiohappyeyeballs==2.6.2
aiohttp==3.14.1
aiosignal==1.4.0
appdirs==1.4.4
argcomplete==3.6.3
aspy.yaml==1.3.0
attrs==26.1.0
autopage==0.6.0
beautifulsoup4==4.15.0
boto3==1.43.29
botocore==1.43.29
bs4==0.0.2
certifi==2026.5.20
cffi==2.0.0
cfgv==3.5.0
chardet==7.4.3
charset-normalizer==3.4.7
click==8.4.1
cliff==4.14.0
cmd2==4.0.0
cryptography==3.3.2
debtcollector==3.1.0
decorator==5.3.1
defusedxml==0.7.1
Deprecated==1.3.1
distlib==0.4.3
dnspython==2.8.0
docker==7.1.0
dogpile.cache==1.5.0
durationpy==0.10
email-validator==2.3.0
filelock==3.29.4
frozenlist==1.8.0
future==1.0.0
gitdb==4.0.12
GitPython==3.1.50
httplib2==0.30.2
identify==2.6.19
idna==3.18
importlib-resources==1.5.0
iso8601==2.1.0
Jinja2==3.1.6
jmespath==1.1.0
jsonpatch==1.33
jsonpointer==3.1.1
jsonschema==4.26.0
jsonschema-specifications==2025.9.1
keystoneauth1==5.14.0
kubernetes==36.0.2
lftools==0.37.22
lxml==6.1.1
markdown-it-py==4.2.0
MarkupSafe==3.0.3
mdurl==0.1.2
msgpack==1.2.0
multi_key_dict==2.0.3
multidict==6.7.1
munch==4.0.0
netaddr==1.3.0
niet==1.4.2
nodeenv==1.10.0
oauth2client==4.1.3
oauthlib==3.3.1
openstacksdk==4.15.0
os-service-types==1.8.2
osc-lib==4.6.0
oslo.config==10.5.0
oslo.context==6.4.0
oslo.i18n==6.8.0
oslo.log==8.2.0
oslo.serialization==5.10.0
oslo.utils==10.1.1
packaging==26.2
pbr==7.0.3
platformdirs==4.10.0
prettytable==3.17.0
prompt_toolkit==3.0.52
propcache==0.5.2
psutil==7.2.2
pyasn1==0.6.3
pyasn1_modules==0.4.2
pycparser==3.0
pygerrit2==2.0.15
PyGithub==2.9.1
Pygments==2.20.0
PyJWT==2.13.0
PyNaCl==1.6.2
pyparsing==2.4.7
pyperclip==1.11.0
pyrsistent==0.20.0
python-cinderclient==9.9.0
python-dateutil==2.9.0.post0
python-discovery==1.4.2
python-heatclient==5.2.0
python-jenkins==1.8.3
python-keystoneclient==5.8.0
python-magnumclient==4.10.0
python-openstackclient==10.1.0
python-swiftclient==4.10.0
PyYAML==6.0.3
referencing==0.37.0
requests==2.34.2
requests-oauthlib==2.0.0
rfc3986==2.0.0
rich==15.0.0
rich-argparse==1.8.0
rpds-py==2026.5.1
rsa==4.9.1
ruamel.yaml==0.19.1
ruamel.yaml.clib==0.2.15
s3transfer==0.18.0
simplejson==4.1.1
six==1.17.0
smmap==5.0.3
soupsieve==2.8.4
stevedore==5.8.0
tabulate==0.10.0
toml==0.10.2
tomlkit==0.15.0
tqdm==4.68.2
typing_extensions==4.15.0
urllib3==1.26.20
virtualenv==21.5.0
wcwidth==0.8.1
websocket-client==1.9.0
wrapt==2.2.1
xdg==6.0.0
xmltodict==1.0.4
yarl==1.24.2
yq==3.4.3
[EnvInject] - Injecting environment variables from a build step.
[EnvInject] - Injecting as environment variables the properties content 
OS_CLOUD=vex

[EnvInject] - Variables injected successfully.
[Boolean condition] checking [True] against [^(1|y|yes|t|true|on|run)$] (origin token: True)
Run condition [Boolean condition] enabling perform for step [Execute shell]
[ci-management-openstack-cron] $ /bin/bash -l /tmp/jenkins14081137859613443320.sh
---> Orphaned k8s clusters
Setup pyenv:
  system
  3.8.20
  3.9.20
  3.10.15
* 3.11.10 (set by /w/workspace/ci-management-openstack-cron/.python-version)
lf-activate-venv(): INFO: Reuse venv:/tmp/venv-29Zo from file:/tmp/.os_lf_venv
lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv)
lf-activate-venv(): INFO: Attempting to install with network-safe options...
lf-activate-venv(): INFO: Base packages installed successfully
lf-activate-venv(): INFO: Installing additional packages: kubernetes python-heatclient python-openstackclient python-magnumclient 
lf-activate-venv(): INFO: Adding /tmp/venv-29Zo/bin to PATH
-----> Delete orphaned cluster
[Boolean condition] checking [True] against [^(1|y|yes|t|true|on|run)$] (origin token: True)
Run condition [Boolean condition] enabling perform for step [Execute shell]
[ci-management-openstack-cron] $ /bin/bash -l /tmp/jenkins551252411857705582.sh
---> Orphaned stacks
Setup pyenv:
  system
  3.8.20
  3.9.20
  3.10.15
* 3.11.10 (set by /w/workspace/ci-management-openstack-cron/.python-version)
lf-activate-venv(): INFO: Reuse venv:/tmp/venv-29Zo from file:/tmp/.os_lf_venv
lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv)
lf-activate-venv(): INFO: Attempting to install with network-safe options...
lf-activate-venv(): INFO: Base packages installed successfully
lf-activate-venv(): INFO: Installing additional packages: lftools[openstack] kubernetes niet python-heatclient python-openstackclient python-magnumclient yq 
lf-activate-venv(): INFO: Adding /tmp/venv-29Zo/bin to PATH
+ mapfile -t OS_COE_CLUSTERS_ID
++ grep -E '(DELETE_FAILED|UNKNOWN|UNHEALTHY)'
++ openstack --os-cloud vex coe cluster list -f value -c uuid -c name
++ awk '{print $1}'
+ echo '-----> Active clusters -> stacks'
-----> Active clusters -> stacks
+ OS_COE_STACKS=()
+ [[ 0 -gt 0 ]]
+ mapfile -t OS_STACKS
++ awk '{print $1}'
++ 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
+ echo '-----> Active stacks'
-----> Active stacks
+ echo '-----> Delete orphaned stacks'
-----> Delete orphaned stacks
[Boolean condition] checking [True] against [^(1|y|yes|t|true|on|run)$] (origin token: True)
Run condition [Boolean condition] enabling perform for step [Execute shell]
[ci-management-openstack-cron] $ /bin/bash -l /tmp/jenkins12696318012460309960.sh
---> Orphaned servers
Setup pyenv:
  system
  3.8.20
  3.9.20
  3.10.15
* 3.11.10 (set by /w/workspace/ci-management-openstack-cron/.python-version)
lf-activate-venv(): INFO: Reuse venv:/tmp/venv-29Zo from file:/tmp/.os_lf_venv
lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv)
lf-activate-venv(): INFO: Attempting to install with network-safe options...
lf-activate-venv(): INFO: Base packages installed successfully
lf-activate-venv(): INFO: Installing additional packages: lftools[openstack] kubernetes niet python-heatclient python-openstackclient python-magnumclient yq 
lf-activate-venv(): INFO: Adding /tmp/venv-29Zo/bin to PATH
-----> Active servers
prd-ubuntu20.04-docker-2c-8g-12944
prd-centos7-blackbox-4c-2g-12925
prd-centos7-blackbox-4c-2g-12923
prd-centos7-blackbox-4c-2g-12924
prd-centos7-blackbox-4c-2g-12922
-----> Delete orphaned servers
[Boolean condition] checking [True] against [^(1|y|yes|t|true|on|run)$] (origin token: True)
Run condition [Boolean condition] enabling perform for step [Execute shell]
[ci-management-openstack-cron] $ /bin/bash -l /tmp/jenkins6339698466559761563.sh
---> Orphaned ports
Setup pyenv:
  system
  3.8.20
  3.9.20
  3.10.15
* 3.11.10 (set by /w/workspace/ci-management-openstack-cron/.python-version)
lf-activate-venv(): INFO: Reuse venv:/tmp/venv-29Zo from file:/tmp/.os_lf_venv
lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv)
lf-activate-venv(): INFO: Attempting to install with network-safe options...
lf-activate-venv(): INFO: Base packages installed successfully
lf-activate-venv(): INFO: Installing additional packages: lftools[openstack] python-openstackclient 
lf-activate-venv(): INFO: Adding /tmp/venv-29Zo/bin to PATH
No orphaned ports to process.
Build step 'Conditional step (single)' marked build as failure
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 1526 killed;
[ssh-agent] Stopped.
[PostBuildScript] - [INFO] Executing post build scripts.
[ci-management-openstack-cron] $ /bin/bash /tmp/jenkins13718152409978029570.sh
---> sysstat.sh
[ci-management-openstack-cron] $ /bin/bash /tmp/jenkins8991574275714783773.sh
---> package-listing.sh
++ facter osfamily
++ tr '[:upper:]' '[:lower:]'
+ OS_FAMILY=debian
+ workspace=/w/workspace/ci-management-openstack-cron
+ START_PACKAGES=/tmp/packages_start.txt
+ END_PACKAGES=/tmp/packages_end.txt
+ DIFF_PACKAGES=/tmp/packages_diff.txt
+ PACKAGES=/tmp/packages_start.txt
+ '[' /w/workspace/ci-management-openstack-cron ']'
+ PACKAGES=/tmp/packages_end.txt
+ case "${OS_FAMILY}" in
+ grep '^ii'
+ dpkg -l
+ '[' -f /tmp/packages_start.txt ']'
+ '[' -f /tmp/packages_end.txt ']'
+ diff /tmp/packages_start.txt /tmp/packages_end.txt
+ '[' /w/workspace/ci-management-openstack-cron ']'
+ mkdir -p /w/workspace/ci-management-openstack-cron/archives/
+ cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ci-management-openstack-cron/archives/
[ci-management-openstack-cron] $ /bin/bash /tmp/jenkins17880266777925045350.sh
---> capture-instance-metadata.sh
Setup pyenv:
  system
  3.8.20
  3.9.20
  3.10.15
* 3.11.10 (set by /w/workspace/ci-management-openstack-cron/.python-version)
lf-activate-venv(): INFO: Reuse venv:/tmp/venv-29Zo from file:/tmp/.os_lf_venv
lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv)
lf-activate-venv(): INFO: Attempting to install with network-safe options...
lf-activate-venv(): INFO: Base packages installed successfully
lf-activate-venv(): INFO: Installing additional packages: lftools 
lf-activate-venv(): INFO: Adding /tmp/venv-29Zo/bin to PATH
INFO: Running in OpenStack, capturing instance metadata
[ci-management-openstack-cron] $ /bin/bash /tmp/jenkins3895400931166910460.sh
provisioning config files...
copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ci-management-openstack-cron@tmp/config4959805498255303044tmp
Regular expression run condition: Expression=[^.*logs-s3.*], Label=[]
Run condition [Regular expression match] preventing perform for step [Provide Configuration files]
[EnvInject] - Injecting environment variables from a build step.
[EnvInject] - Injecting as environment variables the properties content 
SERVER_ID=logs

[EnvInject] - Variables injected successfully.
[ci-management-openstack-cron] $ /bin/bash /tmp/jenkins5803809791046570723.sh
---> create-netrc.sh
[ci-management-openstack-cron] $ /bin/bash /tmp/jenkins4976950435789853325.sh
---> python-tools-install.sh
Setup pyenv:
  system
  3.8.20
  3.9.20
  3.10.15
* 3.11.10 (set by /w/workspace/ci-management-openstack-cron/.python-version)
lf-activate-venv(): INFO: Reuse venv:/tmp/venv-29Zo from file:/tmp/.os_lf_venv
lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv)
lf-activate-venv(): INFO: Attempting to install with network-safe options...
lf-activate-venv(): INFO: Base packages installed successfully
lf-activate-venv(): INFO: Installing additional packages: lftools 
lf-activate-venv(): INFO: Adding /tmp/venv-29Zo/bin to PATH
[ci-management-openstack-cron] $ /bin/bash /tmp/jenkins18296398327493789920.sh
---> sudo-logs.sh
Archiving 'sudo' log..
[ci-management-openstack-cron] $ /bin/bash /tmp/jenkins5712938696632971107.sh
---> job-cost.sh
Setup pyenv:
  system
  3.8.20
  3.9.20
  3.10.15
* 3.11.10 (set by /w/workspace/ci-management-openstack-cron/.python-version)
lf-activate-venv(): INFO: Reuse venv:/tmp/venv-29Zo from file:/tmp/.os_lf_venv
lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv)
lf-activate-venv(): INFO: Attempting to install with network-safe options...
lf-activate-venv(): INFO: Base packages installed successfully
lf-activate-venv(): INFO: Installing additional packages: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 
lf-activate-venv(): INFO: Adding /tmp/venv-29Zo/bin to PATH
INFO: No Stack...
INFO: Retrieving Pricing Info for: v3-standard-2
INFO: Archiving Costs
[ci-management-openstack-cron] $ /bin/bash -l /tmp/jenkins11169194556783177232.sh
---> logs-deploy.sh
Setup pyenv:
  system
  3.8.20
  3.9.20
  3.10.15
* 3.11.10 (set by /w/workspace/ci-management-openstack-cron/.python-version)
lf-activate-venv(): INFO: Reuse venv:/tmp/venv-29Zo from file:/tmp/.os_lf_venv
lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv)
lf-activate-venv(): INFO: Attempting to install with network-safe options...
lf-activate-venv(): INFO: Base packages installed successfully
lf-activate-venv(): INFO: Installing additional packages: lftools 
lf-activate-venv(): INFO: Adding /tmp/venv-29Zo/bin to PATH
INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/ci-management-openstack-cron/62894
INFO: archiving workspace using pattern(s): 
Archives upload complete.
INFO: archiving logs to Nexus
---> uname -a:
Linux prd-ubuntu20-04-docker-2c-8g-12944 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux


