18:04:32 Started by timer 18:04:32 Running as SYSTEM 18:04:32 [EnvInject] - Loading node environment variables. 18:04:32 Building remotely on prd-centos8-builder-1c-1g-18135 (centos8-builder-1c-1g) in workspace /w/workspace/ci-management-openstack-cron 18:04:32 [ssh-agent] Looking for ssh-agent implementation... 18:04:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:04:33 $ ssh-agent 18:04:33 SSH_AUTH_SOCK=/tmp/ssh-VmR6HZZlDJrW/agent.5137 18:04:33 SSH_AGENT_PID=5138 18:04:33 [ssh-agent] Started. 18:04:33 Running ssh-add (command line suppressed) 18:04:33 Identity added: /w/workspace/ci-management-openstack-cron@tmp/private_key_17545179433161266221.key (jenkins-ssh) 18:04:33 [ssh-agent] Using credentials jenkins (jenkins) 18:04:33 The recommended git tool is: NONE 18:04:38 using credential jenkins 18:04:38 Wiping out workspace first. 18:04:38 Cloning the remote Git repository 18:04:38 Cloning repository ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ci-management 18:04:38 > git init /w/workspace/ci-management-openstack-cron # timeout=10 18:04:39 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ci-management 18:04:39 > git --version # timeout=10 18:04:39 > git --version # 'git version 2.39.3' 18:04:39 using GIT_SSH to set credentials jenkins 18:04:39 [INFO] Currently running in a labeled security context 18:04:39 [INFO] Currently SELinux is 'enforcing' on the host 18:04:39 > /usr/bin/chcon --type=ssh_home_t /w/workspace/ci-management-openstack-cron@tmp/jenkins-gitclient-ssh1339873749719382934.key 18:04:39 > git fetch --tags --force --progress -- ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ci-management +refs/heads/*:refs/remotes/origin/* # timeout=10 18:04:40 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ci-management # timeout=10 18:04:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:04:40 Avoid second fetch 18:04:40 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 18:04:40 Checking out Revision c27d74fc57b8d3f8acf91bffd89a3b8024497df2 (refs/remotes/origin/master) 18:04:40 > git config core.sparsecheckout # timeout=10 18:04:40 > git checkout -f c27d74fc57b8d3f8acf91bffd89a3b8024497df2 # timeout=10 18:04:41 Commit message: "Chore: Update global-jjb" 18:04:41 > git rev-list --no-walk c27d74fc57b8d3f8acf91bffd89a3b8024497df2 # timeout=10 18:04:41 > git remote # timeout=10 18:04:41 > git submodule init # timeout=10 18:04:41 > git submodule sync # timeout=10 18:04:41 > git config --get remote.origin.url # timeout=10 18:04:41 > git submodule init # timeout=10 18:04:41 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 18:04:41 > git config --get submodule.packer/common-packer.url # timeout=10 18:04:41 > git config -f .gitmodules --get submodule.packer/common-packer.path # timeout=10 18:04:41 > git config --get submodule.global-jjb.url # timeout=10 18:04:41 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 18:04:41 > git submodule update --init --recursive packer/common-packer # timeout=10 18:04:42 > git submodule update --init --recursive global-jjb # timeout=10 18:04:43 Run condition [Boolean condition] enabling prebuild for step [Execute shell] 18:04:43 Run condition [Boolean condition] enabling prebuild for step [Execute shell] 18:04:43 Run condition [Boolean condition] enabling prebuild for step [Execute shell] 18:04:43 Run condition [Boolean condition] enabling prebuild for step [Execute shell] 18:04:43 Run condition [Boolean condition] enabling prebuild for step [Execute shell] 18:04:43 Run condition [Boolean condition] enabling prebuild for step [Execute shell] 18:04:43 Run condition [Boolean condition] enabling prebuild for step [BuilderChain] 18:04:43 provisioning config files... 18:04:43 copy managed file [clouds-yaml] to file:/home/jenkins/.config/openstack/clouds.yaml 18:04:43 copy managed file [npmrc] to file:/home/jenkins/.npmrc 18:04:43 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 18:04:43 [ci-management-openstack-cron] $ /bin/bash /tmp/jenkins14614426782649221419.sh 18:04:43 ---> python-tools-install.sh 18:04:43 Setup pyenv: 18:04:43 system 18:04:43 * 3.8.13 (set by /opt/pyenv/version) 18:04:44 * 3.9.13 (set by /opt/pyenv/version) 18:04:44 * 3.10.6 (set by /opt/pyenv/version) 18:04:48 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-2yU8 18:04:48 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 18:04:52 lf-activate-venv(): INFO: Installing: lftools 18:05:28 lf-activate-venv(): INFO: Adding /tmp/venv-2yU8/bin to PATH 18:05:28 Generating Requirements File 18:06:05 Python 3.10.6 18:06:05 pip 23.3.1 from /tmp/venv-2yU8/lib/python3.10/site-packages/pip (python 3.10) 18:06:05 appdirs==1.4.4 18:06:05 argcomplete==3.1.6 18:06:05 aspy.yaml==1.3.0 18:06:05 attrs==23.1.0 18:06:05 autopage==0.5.2 18:06:05 Babel==2.13.1 18:06:05 beautifulsoup4==4.12.2 18:06:05 boto3==1.29.0 18:06:05 botocore==1.32.0 18:06:05 bs4==0.0.1 18:06:05 cachetools==5.3.2 18:06:05 certifi==2023.7.22 18:06:05 cffi==1.16.0 18:06:05 cfgv==3.4.0 18:06:05 chardet==5.2.0 18:06:05 charset-normalizer==3.3.2 18:06:05 click==8.1.7 18:06:05 cliff==4.4.0 18:06:05 cmd2==2.4.3 18:06:05 cryptography==3.3.2 18:06:05 debtcollector==2.5.0 18:06:05 decorator==5.1.1 18:06:05 defusedxml==0.7.1 18:06:05 Deprecated==1.2.14 18:06:05 distlib==0.3.7 18:06:05 dnspython==2.4.2 18:06:05 docker==4.2.2 18:06:05 dogpile.cache==1.2.2 18:06:05 email-validator==2.1.0.post1 18:06:05 filelock==3.13.1 18:06:05 future==0.18.3 18:06:05 gitdb==4.0.11 18:06:05 GitPython==3.1.40 18:06:05 google-auth==2.23.4 18:06:05 httplib2==0.22.0 18:06:05 identify==2.5.31 18:06:05 idna==3.4 18:06:05 importlib-metadata==6.8.0 18:06:05 importlib-resources==1.5.0 18:06:05 iso8601==2.1.0 18:06:05 Jinja2==3.1.2 18:06:05 jmespath==1.0.1 18:06:05 jsonpatch==1.33 18:06:05 jsonpointer==2.4 18:06:05 jsonschema==4.19.2 18:06:05 jsonschema-specifications==2023.11.1 18:06:05 keystoneauth1==5.3.0 18:06:05 kubernetes==28.1.0 18:06:05 lftools==0.37.8 18:06:05 lxml==4.9.3 18:06:05 MarkupSafe==2.1.3 18:06:05 msgpack==1.0.7 18:06:05 multi-key-dict==2.0.3 18:06:05 munch==4.0.0 18:06:05 netaddr==0.9.0 18:06:05 netifaces==0.11.0 18:06:05 niet==1.4.2 18:06:05 nodeenv==1.8.0 18:06:05 oauth2client==4.1.3 18:06:05 oauthlib==3.2.2 18:06:05 openstacksdk==0.62.0 18:06:05 os-client-config==2.1.0 18:06:05 os-service-types==1.7.0 18:06:05 osc-lib==2.9.0 18:06:05 oslo.config==9.2.0 18:06:05 oslo.context==5.3.0 18:06:05 oslo.i18n==6.2.0 18:06:05 oslo.log==5.4.0 18:06:05 oslo.serialization==5.2.0 18:06:05 oslo.utils==6.3.0 18:06:05 packaging==23.2 18:06:05 pbr==6.0.0 18:06:05 platformdirs==3.11.0 18:06:05 prettytable==3.9.0 18:06:05 pyasn1==0.5.0 18:06:05 pyasn1-modules==0.3.0 18:06:05 pycparser==2.21 18:06:05 pygerrit2==2.0.15 18:06:05 PyGithub==2.1.1 18:06:05 pyinotify==0.9.6 18:06:05 PyJWT==2.8.0 18:06:05 PyNaCl==1.5.0 18:06:05 pyparsing==2.4.7 18:06:05 pyperclip==1.8.2 18:06:05 pyrsistent==0.20.0 18:06:05 python-cinderclient==9.4.0 18:06:05 python-dateutil==2.8.2 18:06:05 python-heatclient==3.3.0 18:06:05 python-jenkins==1.8.2 18:06:05 python-keystoneclient==5.2.0 18:06:05 python-magnumclient==4.2.0 18:06:05 python-novaclient==18.4.0 18:06:05 python-openstackclient==6.0.0 18:06:05 python-swiftclient==4.4.0 18:06:05 pytz==2023.3.post1 18:06:05 PyYAML==6.0.1 18:06:05 referencing==0.31.0 18:06:05 requests==2.31.0 18:06:05 requests-oauthlib==1.3.1 18:06:05 requestsexceptions==1.4.0 18:06:05 rfc3986==2.0.0 18:06:05 rpds-py==0.12.0 18:06:05 rsa==4.9 18:06:05 ruamel.yaml==0.18.5 18:06:05 ruamel.yaml.clib==0.2.8 18:06:05 s3transfer==0.7.0 18:06:05 simplejson==3.19.2 18:06:05 six==1.16.0 18:06:05 smmap==5.0.1 18:06:05 soupsieve==2.5 18:06:05 stevedore==5.1.0 18:06:05 tabulate==0.9.0 18:06:05 toml==0.10.2 18:06:05 tomlkit==0.12.3 18:06:05 tqdm==4.66.1 18:06:05 typing_extensions==4.8.0 18:06:05 tzdata==2023.3 18:06:05 urllib3==1.26.18 18:06:05 virtualenv==20.24.6 18:06:05 wcwidth==0.2.10 18:06:05 websocket-client==1.6.4 18:06:05 wrapt==1.16.0 18:06:05 xdg==6.0.0 18:06:05 xmltodict==0.13.0 18:06:05 yq==3.2.3 18:06:05 zipp==3.17.0 18:06:06 [EnvInject] - Injecting environment variables from a build step. 18:06:06 [EnvInject] - Injecting as environment variables the properties content 18:06:06 OS_CLOUD=vex 18:06:06 18:06:06 [EnvInject] - Variables injected successfully. 18:06:06 [Boolean condition] checking [True] against [^(1|y|yes|t|true|on|run)$] (origin token: True) 18:06:06 Run condition [Boolean condition] enabling perform for step [Execute shell] 18:06:07 [ci-management-openstack-cron] $ /bin/bash -l /tmp/jenkins17714972832117308647.sh 18:06:07 ---> Orphaned k8s clusters 18:06:07 Setup pyenv: 18:06:07 system 18:06:07 3.8.13 18:06:07 3.9.13 18:06:07 * 3.10.6 (set by /w/workspace/ci-management-openstack-cron/.python-version) 18:06:07 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-2yU8 from file:/tmp/.os_lf_venv 18:06:09 lf-activate-venv(): INFO: Installing: kubernetes python-heatclient python-openstackclient python-magnumclient 18:06:20 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. 18:06:20 lftools 0.37.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.0.0 which is incompatible. 18:06:20 virtualenv 20.24.6 requires platformdirs<4,>=3.9.1, but you have platformdirs 4.0.0 which is incompatible. 18:06:21 lf-activate-venv(): INFO: Adding /tmp/venv-2yU8/bin to PATH 18:06:26 -----> Delete orphaned cluster 18:06:26 [Boolean condition] checking [True] against [^(1|y|yes|t|true|on|run)$] (origin token: True) 18:06:26 Run condition [Boolean condition] enabling perform for step [Execute shell] 18:06:26 [ci-management-openstack-cron] $ /bin/bash -l /tmp/jenkins7730121531588913352.sh 18:06:26 ---> Orphaned stacks 18:06:26 Setup pyenv: 18:06:26 system 18:06:26 3.8.13 18:06:26 3.9.13 18:06:26 * 3.10.6 (set by /w/workspace/ci-management-openstack-cron/.python-version) 18:06:26 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-2yU8 from file:/tmp/.os_lf_venv 18:06:28 lf-activate-venv(): INFO: Installing: lftools[openstack] kubernetes niet python-heatclient python-openstackclient python-magnumclient yq 18:06:49 lf-activate-venv(): INFO: Adding /tmp/venv-2yU8/bin to PATH 18:06:49 + mapfile -t OS_COE_CLUSTERS_ID 18:06:49 ++ openstack --os-cloud vex coe cluster list -f value -c uuid -c name 18:06:49 ++ grep -E '(DELETE_FAILED|UNKNOWN|UNHEALTHY)' 18:06:49 ++ awk '{print $1}' 18:06:53 + echo '-----> Active clusters -> stacks' 18:06:53 -----> Active clusters -> stacks 18:06:53 + OS_COE_STACKS=() 18:06:53 + [[ 0 -gt 0 ]] 18:06:53 + mapfile -t OS_STACKS 18:06:53 ++ 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 18:06:53 ++ awk '{print $1}' 18:06:55 + echo '-----> Active stacks' 18:06:55 -----> Active stacks 18:06:55 + echo '-----> Delete orphaned stacks' 18:06:55 -----> Delete orphaned stacks 18:06:55 [Boolean condition] checking [True] against [^(1|y|yes|t|true|on|run)$] (origin token: True) 18:06:55 Run condition [Boolean condition] enabling perform for step [Execute shell] 18:06:55 [ci-management-openstack-cron] $ /bin/bash -l /tmp/jenkins4058898102719475264.sh 18:06:55 ---> Orphaned servers 18:06:55 Setup pyenv: 18:06:55 system 18:06:56 3.8.13 18:06:56 3.9.13 18:06:56 * 3.10.6 (set by /w/workspace/ci-management-openstack-cron/.python-version) 18:06:56 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-2yU8 from file:/tmp/.os_lf_venv 18:06:57 lf-activate-venv(): INFO: Installing: lftools[openstack] kubernetes niet python-heatclient python-openstackclient python-magnumclient yq 18:07:13 lf-activate-venv(): INFO: Adding /tmp/venv-2yU8/bin to PATH 18:07:18 -----> Active servers 18:07:18 prd-centos8-builder-1c-1g-18135 18:07:18 -----> Delete orphaned servers 18:07:18 ERROR: Failed to fetch data from https://jenkins.o-ran-sc.org/sandbox/computer/api/json?tree=computer[displayName] with status code 502 18:07:18 18:07:18