Started by timer
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on prd-ubuntu20.04-docker-2c-8g-8326 (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-AlmEK1mt4Sre/agent.1544
SSH_AGENT_PID=1546
[ssh-agent] Started.
Running ssh-add (command line suppressed)
Identity added: /w/workspace/ci-management-openstack-cron@tmp/private_key_2990569997939325422.key (/w/workspace/ci-management-openstack-cron@tmp/private_key_2990569997939325422.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/jenkins7016933594873346031.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-S3uy
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-S3uy/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 from /tmp/venv-S3uy/lib/python3.11/site-packages/pip (python 3.11)
appdirs==1.4.4
argcomplete==3.6.3
aspy.yaml==1.3.0
attrs==26.1.0
autopage==0.6.0
beautifulsoup4==4.14.3
boto3==1.42.96
botocore==1.42.96
bs4==0.0.2
certifi==2026.4.22
cffi==2.0.0
cfgv==3.5.0
chardet==7.4.3
charset-normalizer==3.4.7
click==8.3.3
cliff==4.13.3
cmd2==3.5.1
cryptography==3.3.2
debtcollector==3.1.0
decorator==5.2.1
defusedxml==0.7.1
Deprecated==1.3.1
distlib==0.4.0
dnspython==2.8.0
docker==7.1.0
dogpile.cache==1.5.0
durationpy==0.10
email-validator==2.3.0
filelock==3.29.0
future==1.0.0
gitdb==4.0.12
GitPython==3.1.47
httplib2==0.30.2
identify==2.6.19
idna==3.13
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.13.1
kubernetes==35.0.0
lftools==0.37.22
lxml==6.1.0
markdown-it-py==4.0.0
MarkupSafe==3.0.3
mdurl==0.1.2
msgpack==1.1.2
multi_key_dict==2.0.3
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.12.0
os-service-types==1.8.2
osc-lib==4.5.0
oslo.config==10.3.0
oslo.context==6.3.0
oslo.i18n==6.7.2
oslo.log==8.1.0
oslo.serialization==5.9.1
oslo.utils==10.0.1
packaging==26.2
pbr==7.0.3
platformdirs==4.9.6
prettytable==3.17.0
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.12.1
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.2.2
python-heatclient==5.1.0
python-jenkins==1.8.3
python-keystoneclient==5.8.0
python-magnumclient==4.10.0
python-openstackclient==9.0.0
python-swiftclient==4.10.0
PyYAML==6.0.3
referencing==0.37.0
requests==2.33.1
requests-oauthlib==2.0.0
rfc3986==2.0.0
rich==15.0.0
rich-argparse==1.7.2
rpds-py==0.30.0
rsa==4.9.1
ruamel.yaml==0.19.1
ruamel.yaml.clib==0.2.15
s3transfer==0.16.1
simplejson==4.1.1
six==1.17.0
smmap==5.0.3
soupsieve==2.8.3
stevedore==5.7.0
tabulate==0.10.0
toml==0.10.2
tomlkit==0.14.0
tqdm==4.67.3
typing_extensions==4.15.0
urllib3==1.26.20
virtualenv==21.3.0
wcwidth==0.6.0
websocket-client==1.9.0
wrapt==2.1.2
xdg==6.0.0
xmltodict==1.0.4
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/jenkins2761992862547236286.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-S3uy 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-S3uy/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/jenkins13398890021833049431.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-S3uy 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-S3uy/bin to PATH
+ mapfile -t OS_COE_CLUSTERS_ID
++ openstack --os-cloud vex coe cluster list -f value -c uuid -c name
++ awk '{print $1}'
++ grep -E '(DELETE_FAILED|UNKNOWN|UNHEALTHY)'
+ echo '-----> Active clusters -> stacks'
-----> Active clusters -> stacks
+ OS_COE_STACKS=()
+ [[ 0 -gt 0 ]]
+ mapfile -t OS_STACKS
++ 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
++ awk '{print $1}'
+ 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/jenkins13099620352944896537.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-S3uy 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-S3uy/bin to PATH
-----> Active servers
prd-ubuntu20.04-docker-2c-8g-8326
-----> 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/jenkins6087464212625065304.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-S3uy 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-S3uy/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 1546 killed;
[ssh-agent] Stopped.
[PostBuildScript] - [INFO] Executing post build scripts.
[ci-management-openstack-cron] $ /bin/bash /tmp/jenkins8903046375884332830.sh
---> sysstat.sh
[ci-management-openstack-cron] $ /bin/bash /tmp/jenkins4994107642525075323.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
+ dpkg -l
+ grep '^ii'
+ '[' -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/jenkins15819466898417066777.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-S3uy 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-S3uy/bin to PATH
INFO: Running in OpenStack, capturing instance metadata
[ci-management-openstack-cron] $ /bin/bash /tmp/jenkins15269138503450598514.sh
provisioning config files...
copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ci-management-openstack-cron@tmp/config6242374287964904609tmp
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/jenkins11666379171064215816.sh
---> create-netrc.sh
[ci-management-openstack-cron] $ /bin/bash /tmp/jenkins736103977972583291.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-S3uy 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-S3uy/bin to PATH
[ci-management-openstack-cron] $ /bin/bash /tmp/jenkins7798543216814410948.sh
---> sudo-logs.sh
Archiving 'sudo' log..
[ci-management-openstack-cron] $ /bin/bash /tmp/jenkins12769682061500570315.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-S3uy 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-S3uy/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/jenkins7079749730204483211.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-S3uy 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-S3uy/bin to PATH
INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/ci-management-openstack-cron/61765
INFO: archiving workspace using pattern(s): 
Archives upload complete.
INFO: archiving logs to Nexus
