Started by upstream project "pipeline-templates" build number 344
originally caused by:
Triggered by Gerrit: https://gerrit.opensdn.io/c/opensdn-io/tf-dev-env/+/1087
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on slave-openstack-gz1_1 (openstack) in workspace /home/jenkins/workspace/test-sanity
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is disabled by the job configuration...
[WS-CLEANUP] Done
The recommended git tool is: git
No credentials specified
Wiping out workspace first.
Cloning the remote Git repository
Cloning repository https://github.com/opensdn-io/tf-jenkins.git
> git init /home/jenkins/workspace/test-sanity/src/opensdn-io/tf-jenkins # timeout=10
Fetching upstream changes from https://github.com/opensdn-io/tf-jenkins.git
> git --version # timeout=10
> git --version # 'git version 2.25.1'
> git fetch --tags --force --progress -- https://github.com/opensdn-io/tf-jenkins.git +refs/heads/*:refs/remotes/origin/* # timeout=10
> git config remote.origin.url https://github.com/opensdn-io/tf-jenkins.git # 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 9f8e5112e6afffc83f1aafdcb467bce8e93a75d8 (refs/remotes/origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 9f8e5112e6afffc83f1aafdcb467bce8e93a75d8 # timeout=10
Commit message: "fix tempalte for ansible-os-r24.1"
> git rev-list --no-walk 9f8e5112e6afffc83f1aafdcb467bce8e93a75d8 # timeout=10
The recommended git tool is: NONE
No credentials specified
Wiping out workspace first.
Cloning the remote Git repository
Cloning repository https://github.com/opensdn-io/tf-dev-test.git
> git init /home/jenkins/workspace/test-sanity/src/opensdn-io/tf-dev-test # timeout=10
Fetching upstream changes from https://github.com/opensdn-io/tf-dev-test.git
> git --version # timeout=10
> git --version # 'git version 2.25.1'
> git fetch --tags --force --progress -- https://github.com/opensdn-io/tf-dev-test.git +refs/heads/*:refs/remotes/origin/* # timeout=10
> git config remote.origin.url https://github.com/opensdn-io/tf-dev-test.git # 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 7d57e6ad56e107ec937c00cf7ea0b7ce8e07b9b8 (refs/remotes/origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 7d57e6ad56e107ec937c00cf7ea0b7ce8e07b9b8 # timeout=10
Commit message: "change image name prefix from contrail to opensdn"
> git rev-list --no-walk 7d57e6ad56e107ec937c00cf7ea0b7ce8e07b9b8 # timeout=10
Copied 3 artifacts from "pipeline-templates" build number 344
[test-sanity] $ /bin/bash -xe /tmp/jenkins11481348093689869946.sh
+ source /home/jenkins/workspace/test-sanity/global.env
++ export PIPELINE_BUILD_TAG=jenkins-pipeline-templates-344
++ PIPELINE_BUILD_TAG=jenkins-pipeline-templates-344
++ export SLAVE=openstack
++ SLAVE=openstack
++ export SLAVE_REGION=gz1
++ SLAVE_REGION=gz1
++ export LOGS_HOST=nexus.gz1.opensdn.io
++ LOGS_HOST=nexus.gz1.opensdn.io
++ export LOGS_PATH=/var/www/logs/jenkins_logs/gerrit/87/1087/68/templates_344
++ LOGS_PATH=/var/www/logs/jenkins_logs/gerrit/87/1087/68/templates_344
++ export LOGS_URL=http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/87/1087/68/templates_344
++ LOGS_URL=http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/87/1087/68/templates_344
++ export SITE_MIRROR=http://nexus.gz1.opensdn.io/repository
++ SITE_MIRROR=http://nexus.gz1.opensdn.io/repository
++ export CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5101
++ CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5101
++ export DEPLOYER_CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5101
++ DEPLOYER_CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5101
++ export CONTRAIL_CONTAINER_TAG=master-1_0_8_7-6_8
++ CONTRAIL_CONTAINER_TAG=master-1_0_8_7-6_8
++ export CONTRAIL_DEPLOYER_CONTAINER_TAG=master-1_0_8_7-6_8
++ CONTRAIL_DEPLOYER_CONTAINER_TAG=master-1_0_8_7-6_8
++ export CONTAINER_REGISTRY_ORIGINAL=nexus.gz1.opensdn.io:5101
++ CONTAINER_REGISTRY_ORIGINAL=nexus.gz1.opensdn.io:5101
++ export DEPLOYER_CONTAINER_REGISTRY_ORIGINAL=nexus.gz1.opensdn.io:5101
++ DEPLOYER_CONTAINER_REGISTRY_ORIGINAL=nexus.gz1.opensdn.io:5101
++ export CONTRAIL_CONTAINER_TAG_ORIGINAL=master-1_0_8_7-6_8
++ CONTRAIL_CONTAINER_TAG_ORIGINAL=master-1_0_8_7-6_8
++ export CONTRAIL_DEPLOYER_CONTAINER_TAG_ORIGINAL=master-1_0_8_7-6_8
++ CONTRAIL_DEPLOYER_CONTAINER_TAG_ORIGINAL=master-1_0_8_7-6_8
++ export GERRIT_PIPELINE=templates
++ GERRIT_PIPELINE=templates
++ export GERRIT_URL=https://gerrit.opensdn.io/
++ GERRIT_URL=https://gerrit.opensdn.io/
++ export GERRIT_CHANGE_ID=Ia289594db44a05f440b740738a5dd8dac0500583
++ GERRIT_CHANGE_ID=Ia289594db44a05f440b740738a5dd8dac0500583
++ export GERRIT_BRANCH=master
++ GERRIT_BRANCH=master
++ export GERRIT_PROJECT=opensdn-io/tf-dev-env
++ GERRIT_PROJECT=opensdn-io/tf-dev-env
++ export REPOS_CHANNEL=latest
++ REPOS_CHANNEL=latest
+ source /home/jenkins/workspace/test-sanity/deps.test-sanity.56413.env
++ export PROVIDER=openstack
++ PROVIDER=openstack
++ export ENVIRONMENT_OS=ubuntu22
++ ENVIRONMENT_OS=ubuntu22
++ export IMAGE=4744ca8a-852c-4f31-8cf0-48b97ea797c5
++ IMAGE=4744ca8a-852c-4f31-8cf0-48b97ea797c5
++ export IMAGE_SSH_USER=ubuntu
++ IMAGE_SSH_USER=ubuntu
++ export INSTANCE_IDS=3fad4fa0-369f-4e32-803a-7b3b1f561f1d,
++ INSTANCE_IDS=3fad4fa0-369f-4e32-803a-7b3b1f561f1d,
++ export instance_ip=10.0.0.41
++ instance_ip=10.0.0.41
++ export CONTROLLER_NODES=10.0.0.41,
++ CONTROLLER_NODES=10.0.0.41,
++ export ORCHESTRATOR=openstack
++ ORCHESTRATOR=openstack
++ export DEPLOYER=ansible
++ DEPLOYER=ansible
++ export JOB_LOGS_PATH=ansible-os-rocky9
++ JOB_LOGS_PATH=ansible-os-rocky9
+ desc='Pipeline: pipeline-templates-344 Random: 56413 Stream: ansible-os-rocky9'
+ desc+='
Job logs: http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/87/1087/68/templates_344/ansible-os-rocky9'
+ echo 'DESCRIPTION Pipeline: pipeline-templates-344 Random: 56413 Stream: ansible-os-rocky9
Job logs: http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/87/1087/68/templates_344/ansible-os-rocky9'
DESCRIPTION Pipeline: pipeline-templates-344 Random: 56413 Stream: ansible-os-rocky9
Job logs: http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/87/1087/68/templates_344/ansible-os-rocky9
[description-setter] Description set: Pipeline: pipeline-templates-344 Random: 56413 Stream: ansible-os-rocky9
Job logs: http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/87/1087/68/templates_344/ansible-os-rocky9'
[test-sanity] $ /bin/bash -xe /tmp/jenkins14110940565842762620.sh
+ set -eo pipefail
+ source /home/jenkins/workspace/test-sanity/global.env
++ export PIPELINE_BUILD_TAG=jenkins-pipeline-templates-344
++ PIPELINE_BUILD_TAG=jenkins-pipeline-templates-344
++ export SLAVE=openstack
++ SLAVE=openstack
++ export SLAVE_REGION=gz1
++ SLAVE_REGION=gz1
++ export LOGS_HOST=nexus.gz1.opensdn.io
++ LOGS_HOST=nexus.gz1.opensdn.io
++ export LOGS_PATH=/var/www/logs/jenkins_logs/gerrit/87/1087/68/templates_344
++ LOGS_PATH=/var/www/logs/jenkins_logs/gerrit/87/1087/68/templates_344
++ export LOGS_URL=http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/87/1087/68/templates_344
++ LOGS_URL=http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/87/1087/68/templates_344
++ export SITE_MIRROR=http://nexus.gz1.opensdn.io/repository
++ SITE_MIRROR=http://nexus.gz1.opensdn.io/repository
++ export CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5101
++ CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5101
++ export DEPLOYER_CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5101
++ DEPLOYER_CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5101
++ export CONTRAIL_CONTAINER_TAG=master-1_0_8_7-6_8
++ CONTRAIL_CONTAINER_TAG=master-1_0_8_7-6_8
++ export CONTRAIL_DEPLOYER_CONTAINER_TAG=master-1_0_8_7-6_8
++ CONTRAIL_DEPLOYER_CONTAINER_TAG=master-1_0_8_7-6_8
++ export CONTAINER_REGISTRY_ORIGINAL=nexus.gz1.opensdn.io:5101
++ CONTAINER_REGISTRY_ORIGINAL=nexus.gz1.opensdn.io:5101
++ export DEPLOYER_CONTAINER_REGISTRY_ORIGINAL=nexus.gz1.opensdn.io:5101
++ DEPLOYER_CONTAINER_REGISTRY_ORIGINAL=nexus.gz1.opensdn.io:5101
++ export CONTRAIL_CONTAINER_TAG_ORIGINAL=master-1_0_8_7-6_8
++ CONTRAIL_CONTAINER_TAG_ORIGINAL=master-1_0_8_7-6_8
++ export CONTRAIL_DEPLOYER_CONTAINER_TAG_ORIGINAL=master-1_0_8_7-6_8
++ CONTRAIL_DEPLOYER_CONTAINER_TAG_ORIGINAL=master-1_0_8_7-6_8
++ export GERRIT_PIPELINE=templates
++ GERRIT_PIPELINE=templates
++ export GERRIT_URL=https://gerrit.opensdn.io/
++ GERRIT_URL=https://gerrit.opensdn.io/
++ export GERRIT_CHANGE_ID=Ia289594db44a05f440b740738a5dd8dac0500583
++ GERRIT_CHANGE_ID=Ia289594db44a05f440b740738a5dd8dac0500583
++ export GERRIT_BRANCH=master
++ GERRIT_BRANCH=master
++ export GERRIT_PROJECT=opensdn-io/tf-dev-env
++ GERRIT_PROJECT=opensdn-io/tf-dev-env
++ export REPOS_CHANNEL=latest
++ REPOS_CHANNEL=latest
+ ./src/opensdn-io/tf-jenkins/infra/gerrit/apply_patchsets.sh ./src opensdn-io/tf-jenkins ./patchsets-info.json
+ ./src/opensdn-io/tf-jenkins/infra/gerrit/apply_patchsets.sh ./src opensdn-io/tf-dev-test ./patchsets-info.json
[test-sanity] $ /bin/bash -xe /tmp/jenkins4595240147790336182.sh
+ set -eo pipefail
+ source /home/jenkins/workspace/test-sanity/global.env
++ export PIPELINE_BUILD_TAG=jenkins-pipeline-templates-344
++ PIPELINE_BUILD_TAG=jenkins-pipeline-templates-344
++ export SLAVE=openstack
++ SLAVE=openstack
++ export SLAVE_REGION=gz1
++ SLAVE_REGION=gz1
++ export LOGS_HOST=nexus.gz1.opensdn.io
++ LOGS_HOST=nexus.gz1.opensdn.io
++ export LOGS_PATH=/var/www/logs/jenkins_logs/gerrit/87/1087/68/templates_344
++ LOGS_PATH=/var/www/logs/jenkins_logs/gerrit/87/1087/68/templates_344
++ export LOGS_URL=http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/87/1087/68/templates_344
++ LOGS_URL=http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/87/1087/68/templates_344
++ export SITE_MIRROR=http://nexus.gz1.opensdn.io/repository
++ SITE_MIRROR=http://nexus.gz1.opensdn.io/repository
++ export CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5101
++ CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5101
++ export DEPLOYER_CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5101
++ DEPLOYER_CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5101
++ export CONTRAIL_CONTAINER_TAG=master-1_0_8_7-6_8
++ CONTRAIL_CONTAINER_TAG=master-1_0_8_7-6_8
++ export CONTRAIL_DEPLOYER_CONTAINER_TAG=master-1_0_8_7-6_8
++ CONTRAIL_DEPLOYER_CONTAINER_TAG=master-1_0_8_7-6_8
++ export CONTAINER_REGISTRY_ORIGINAL=nexus.gz1.opensdn.io:5101
++ CONTAINER_REGISTRY_ORIGINAL=nexus.gz1.opensdn.io:5101
++ export DEPLOYER_CONTAINER_REGISTRY_ORIGINAL=nexus.gz1.opensdn.io:5101
++ DEPLOYER_CONTAINER_REGISTRY_ORIGINAL=nexus.gz1.opensdn.io:5101
++ export CONTRAIL_CONTAINER_TAG_ORIGINAL=master-1_0_8_7-6_8
++ CONTRAIL_CONTAINER_TAG_ORIGINAL=master-1_0_8_7-6_8
++ export CONTRAIL_DEPLOYER_CONTAINER_TAG_ORIGINAL=master-1_0_8_7-6_8
++ CONTRAIL_DEPLOYER_CONTAINER_TAG_ORIGINAL=master-1_0_8_7-6_8
++ export GERRIT_PIPELINE=templates
++ GERRIT_PIPELINE=templates
++ export GERRIT_URL=https://gerrit.opensdn.io/
++ GERRIT_URL=https://gerrit.opensdn.io/
++ export GERRIT_CHANGE_ID=Ia289594db44a05f440b740738a5dd8dac0500583
++ GERRIT_CHANGE_ID=Ia289594db44a05f440b740738a5dd8dac0500583
++ export GERRIT_BRANCH=master
++ GERRIT_BRANCH=master
++ export GERRIT_PROJECT=opensdn-io/tf-dev-env
++ GERRIT_PROJECT=opensdn-io/tf-dev-env
++ export REPOS_CHANNEL=latest
++ REPOS_CHANNEL=latest
+ source ./src/opensdn-io/tf-jenkins/infra/openstack/definitions
++ export PROVIDER=openstack
++ PROVIDER=openstack
++ export OS_NETWORK=management
++ OS_NETWORK=management
++ export OS_DATA_NETWORK=data
++ OS_DATA_NETWORK=data
++ export OS_SG=default
++ OS_SG=default
++ export RESERVED_INSTANCES_COUNT=3
++ RESERVED_INSTANCES_COUNT=3
++ export RESERVED_CORES_COUNT=16
++ RESERVED_CORES_COUNT=16
++ export VM_BOOT_RETRIES=120
++ VM_BOOT_RETRIES=120
++ export VM_BOOT_DELAY=60
++ VM_BOOT_DELAY=60
++ export VOLUME_TYPE=ceph-ssd
++ VOLUME_TYPE=ceph-ssd
++ ENVIRONMENT_OS=rocky9
++ VM_TYPES=(['xsmall']='STD3-1-4' ['small']='STD3-2-8' ['medium']='STD3-4-16' ['large']='STD3-8-32')
++ declare -A VM_TYPES
++ VOLUME_SIZE=(['xsmall']='50' ['small']='50' ['medium']='80' ['large']='80')
++ declare -A VOLUME_SIZE
++ OS_IMAGES=(['CENTOS7']='prepared-centos7' ['CENTOS8']='prepared-centos8' ['UBUNTU20']='prepared-ubuntu20' ['UBUNTU22']='prepared-ubuntu22' ['ROCKY9']='prepared-rocky92')
++ declare -A OS_IMAGES
++ OS_IMAGE_USERS=(['CENTOS7']='centos' ['CENTOS8']='centos' ['UBUNTU20']='ubuntu' ['UBUNTU22']='ubuntu' ['ROCKY9']='rocky' ['ROCKY92']='rocky')
++ declare -A OS_IMAGE_USERS
++ OS_IMAGES_UP=(['CENTOS7']='centos' ['CENTOS8']='centos' ['UBUNTU20']='ubuntu' ['UBUNTU22']='ubuntu' ['ROCKY9']='rocky' ['ROCKY92']='rocky')
++ declare -A OS_IMAGES_UP
++ OS_IMAGES_DOWN=(['CENTOS7']='' ['CENTOS8']='' ['UBUNTU20']='' ['UBUNTU22']='' ['ROCKY9']='' ['ROCKY92']='')
++ declare -A OS_IMAGES_DOWN
++ SSH_OPTIONS='-T -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o PasswordAuthentication=no'
+ source /home/jenkins/workspace/test-sanity/deps.test-sanity.56413.env
++ export PROVIDER=openstack
++ PROVIDER=openstack
++ export ENVIRONMENT_OS=ubuntu22
++ ENVIRONMENT_OS=ubuntu22
++ export IMAGE=4744ca8a-852c-4f31-8cf0-48b97ea797c5
++ IMAGE=4744ca8a-852c-4f31-8cf0-48b97ea797c5
++ export IMAGE_SSH_USER=ubuntu
++ IMAGE_SSH_USER=ubuntu
++ export INSTANCE_IDS=3fad4fa0-369f-4e32-803a-7b3b1f561f1d,
++ INSTANCE_IDS=3fad4fa0-369f-4e32-803a-7b3b1f561f1d,
++ export instance_ip=10.0.0.41
++ instance_ip=10.0.0.41
++ export CONTROLLER_NODES=10.0.0.41,
++ CONTROLLER_NODES=10.0.0.41,
++ export ORCHESTRATOR=openstack
++ ORCHESTRATOR=openstack
++ export DEPLOYER=ansible
++ DEPLOYER=ansible
++ export JOB_LOGS_PATH=ansible-os-rocky9
++ JOB_LOGS_PATH=ansible-os-rocky9
+ source /home/jenkins/workspace/test-sanity/vars.test-sanity.56413.env
/tmp/jenkins4595240147790336182.sh: line 7: /home/jenkins/workspace/test-sanity/vars.test-sanity.56413.env: No such file or directory
+ /bin/true
+ export FULL_LOGS_PATH=/var/www/logs/jenkins_logs/gerrit/87/1087/68/templates_344/ansible-os-rocky9
+ FULL_LOGS_PATH=/var/www/logs/jenkins_logs/gerrit/87/1087/68/templates_344/ansible-os-rocky9
+ export TARGET=sanity
+ TARGET=sanity
+ ./src/opensdn-io/tf-jenkins/jobs/test/functional/run.sh
INFO: Test sanity started Mon Mar 31 12:21:55 UTC 2025
Warning: Permanently added '10.0.0.41' (ECDSA) to the list of known hosts.
Warning: Permanently added '10.0.0.41' (ECDSA) to the list of known hosts.
DEPLOYER=ansible
CONTRAIL_CONTAINER_TAG=master-1_0_8_7-6_8
CONTRAIL_DEPLOYER_CONTAINER_TAG=master-1_0_8_7-6_8
CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5101
DEPLOYER_CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5101
ORCHESTRATOR=openstack
OPENSTACK_VERSION="yoga"
CONTROLLER_NODES="10.0.0.41 "
AGENT_NODES="10.0.0.41"
CONTROL_NODES="10.0.0.41 "
SSL_ENABLE="false"
LEGACY_ANALYTICS_ENABLE="true"
HUGE_PAGES_1G=
CONTAINER_RUNTIME=docker
K8S_CA=
DEPLOY_IPA_SERVER=
IPA_PASSWORD=
OPENSTACK_CONTROLLER_NODES='10.0.0.41'
OS_AUTH_URL='http://10.0.0.41:5000/v3'
AUTH_PASSWORD='contrail123'
AUTH_URL=''
INFO: [ensure python3 is present]
Reading package lists...
Building dependency tree...
Reading state information...
python3-distutils is already the newest version (3.10.8-1~22.04).
python3-minimal is already the newest version (3.10.6-1~22.04).
python3-minimal set to manually installed.
The following packages were automatically installed and are no longer required:
apport-symptoms distro-info libnetplan0 python3-debconf python3-debian
python3-magic python3-pexpect python3-problem-report python3-ptyprocess
python3-systemd
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 59 not upgraded.
INFO: [docker install]
INFO: distro=ubuntu detected
INFO: docker installed: Docker version 28.0.4, build b8034c0
[docker config]
DEBUG: is_registry_insecure: nexus.gz1.opensdn.io:5101
HTTP/1.1 404 Not Found
Content-Type: text/plain; charset=utf-8
X-Content-Type-Options: nosniff
Date: Mon, 31 Mar 2025 12:21:57 GMT
Content-Length: 19
DEBUG: is_registry_insecure: nexus.gz1.opensdn.io:5101 is insecure
Registry nexus.gz1.opensdn.io:5101 is configured in /etc/docker/daemon.json. Skip.
INFO: test_target is ci_sanity
pip 25.0.1 from /usr/local/lib/python3.10/dist-packages/pip (python 3.10)
Looking in indexes: http://tf-mirrors.gz1.opensdn.io/root/pypi/+simple/
Requirement already satisfied: jinja2 in /usr/lib/python3/dist-packages (3.0.3)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
set ssh options for ubuntu user
INFO: get testrunner.sh from image
INFO: docker installed: Docker version 28.0.4, build b8034c0
master-1_0_8_7-6_8: Pulling from opensdn-test-test
446f83f14b23: Already exists
7b2583c6d0b0: Already exists
1a7b16598737: Already exists
c5871dc3e797: Already exists
f1a6bc96d968: Already exists
d6711c59a450: Already exists
24462dcdefd1: Already exists
8915c72288f0: Already exists
bd068a0417d7: Already exists
a4af153661da: Pulling fs layer
b08cb7e7e2e0: Pulling fs layer
22808a7a6126: Pulling fs layer
36e76be5e291: Pulling fs layer
36e76be5e291: Waiting
a4af153661da: Verifying Checksum
a4af153661da: Download complete
b08cb7e7e2e0: Verifying Checksum
b08cb7e7e2e0: Download complete
a4af153661da: Pull complete
b08cb7e7e2e0: Pull complete
22808a7a6126: Verifying Checksum
22808a7a6126: Download complete
22808a7a6126: Pull complete
36e76be5e291: Verifying Checksum
36e76be5e291: Download complete
36e76be5e291: Pull complete
Digest: sha256:c69d3f2d7de2b04f9d079ef31d97dfa3a6f48fcc881ed66490c381dfa8e15b1b
Status: Downloaded newer image for nexus.gz1.opensdn.io:5101/opensdn-test-test:master-1_0_8_7-6_8
nexus.gz1.opensdn.io:5101/opensdn-test-test:master-1_0_8_7-6_8
441f6c6829acae88a11835f247ef28d2996e2a734eb80bf8db1dbb6890a22b0d
H8tNZcNiZy
INFO: prepare input parameters from template /home/ubuntu/src/opensdn-io/tf-dev-test/tf-sanity/tf_test_input.yaml.j2
INFO: TF test input:
provider_config:
bms:
ssh_user: "ubuntu"
ssh_pwd:
domainsuffix: ""
instances:
10_0_0_41:
ip: 10.0.0.41
provider: bms
roles:
analytics:
analytics_snmp:
analytics_alarm:
analytics_database:
config:
config_database:
control:
webui:
openstack:
vrouter:
openstack_compute:
contrail_configuration:
LOG_LEVEL: SYS_DEBUG
CONTRAIL_CONTAINER_TAG: master-1_0_8_7-6_8
CLOUD_ORCHESTRATOR: openstack
OPENSTACK_VERSION: yoga
AUTH_MODE: keystone
KEYSTONE_AUTH_URL_VERSION: /v3
ANALYTICSDB_ENABLE: "true"
ANALYTICS_ALARM_ENABLE: "true"
ANALYTICS_SNMP_ENABLE: "true"
CONTROLLER_NODES: "10.0.0.41"
# Network isolation case.
# services might be on different IPs,
# but list of nodes is still in CONTROLLER_NODES
CONTROL_NODES: "10.0.0.41,"
orchestrator_configuration:
keystone:
version: v3
password: contrail123
deployment:
orchestrator: openstack
deployer: contrail-ansible-deployer
test_configuration:
image_web_server: nexus.opensdn.io/repository/
use_project_scoped_token: True
container_runtime: docker
INFO: run tests...
./tf_test_input.yaml
./tf_test_input.yaml
+ trap resume_pid 10
+ getopts :T:t:p:f:h opt
+ TESTBED=/opt/contrail/utils/fabfile/testbeds/testbed.py
+ CONTRAIL_FABPATH=/opt/contrail/utils
+ CONTRAIL_TEST_FOLDER=/contrail-test
+ FEATURE=sanity
+ TEST_TAGS=ci_sanity
+ [[ ! -f /contrail-test/contrail_test_input.yaml ]]
+ '[' '!' /opt/contrail/utils/fabfile/testbeds/testbed.py -ef /opt/contrail/utils/fabfile/testbeds/testbed.py ']'
+ mkdir -p /opt/contrail/utils/fabfile/testbeds/
+ cp /opt/contrail/utils/fabfile/testbeds/testbed.py /opt/contrail/utils/fabfile/testbeds/testbed.py
cp: cannot stat '/opt/contrail/utils/fabfile/testbeds/testbed.py': No such file or directory
+ cd /contrail-test
+ run_tests='./run_tests.sh --contrail-fab-path /opt/contrail/utils '
+ [[ -n '' ]]
+ [[ -n ci_sanity ]]
+ [[ ci_sanity =~ ci_sanity ]]
+ export ci_image=cirros
+ ci_image=cirros
+ ./run_tests.sh --contrail-fab-path /opt/contrail/utils -T ci_sanity
+ declare -a pids
+ trap resume_pids 10 1 2 3 6
+ source tools/common.sh
+ export PYTHON=/usr/bin/python3
+ PYTHON=/usr/bin/python3
++ which testr
which: no testr in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin)
+ TESTR=
++ which subunit2junitxml
which: no subunit2junitxml in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin)
+ SUBUNIT2JUNIT=
+ rm -rf .testrepository
+ testrargs=
+ path=
+ tags=
+ venv=.venv
+ with_venv=tools/with_venv.sh
+ always_venv=0
+ never_venv=1
+ no_site_packages=0
+ debug=0
+ force=0
+ wrapper=
+ config_file=
+ update=0
+ upgrade=0
+ upload=0
+ logging=0
+ logging_config=logging.conf
+ concurrency=
+ parallel=0
+ failure_threshold=
+ contrail_fab_path=/opt/contrail/utils
++ date +%Y_%m_%d_%H_%M_%S
+ export SCRIPT_TS=2025_03_31_12_22_22
+ SCRIPT_TS=2025_03_31_12_22_22
++ getopt -o pVNnfuUsthdC:lLmF:T:c: -l test-failure-threshold:,prepare,virtual-env,no-virtual-env,no-site-packages,force,upgrade,k8s_upgrade,update,upload,sanity,parallel,help,debug,config:,logging,logging-config,send-mail,features:,tags:,concurrency:,contrail-fab-path: -- --contrail-fab-path /opt/contrail/utils -T ci_sanity
+ options=' --contrail-fab-path '\''/opt/contrail/utils'\'' -T '\''ci_sanity'\'' --'
+ eval set -- --contrail-fab-path ''\''/opt/contrail/utils'\''' -T ''\''ci_sanity'\''' --
++ set -- --contrail-fab-path /opt/contrail/utils -T ci_sanity --
+ first_uu=yes
+ '[' 5 -gt 0 ']'
+ case "$1" in
+ contrail_fab_path=/opt/contrail/utils
+ shift
+ shift
+ '[' 3 -gt 0 ']'
+ case "$1" in
+ tags=ci_sanity
+ shift
+ shift
+ '[' 1 -gt 0 ']'
+ case "$1" in
+ '[' yes == yes ']'
+ first_uu=no
+ shift
+ '[' 0 -gt 0 ']'
++ echo ci_sanity
++ sed 's/,/ /g'
+ tags=ci_sanity
+ config_file=/contrail-test/contrail_test_input.yaml
+ [[ -n /contrail-test/contrail_test_input.yaml ]]
+ export TEST_CONFIG_FILE=/contrail-test/contrail_test_input.yaml
+ TEST_CONFIG_FILE=/contrail-test/contrail_test_input.yaml
+ prepare
+ '[' -n /contrail-test/contrail_test_input.yaml ']'
++ readlink -f /contrail-test/contrail_test_input.yaml
+ config_file=/contrail-test/contrail_test_input.yaml
++ dirname /contrail-test/contrail_test_input.yaml
+ export TEST_CONFIG_DIR=/contrail-test
+ TEST_CONFIG_DIR=/contrail-test
++ basename /contrail-test/contrail_test_input.yaml
+ export TEST_CONFIG_FILE=contrail_test_input.yaml
+ TEST_CONFIG_FILE=contrail_test_input.yaml
+ ssh_key_gen
+ [[ -f /root/.ssh/id_rsa ]]
+ [[ -f /root/.ssh/id_rsa.pub ]]
+ return 0
+ start_ssh_agent
+ ssh-add -l
+ '[' 2 == 2 ']'
+ test -r /root/.ssh-agent
+ ssh-add -l
+ '[' 2 == 2 ']'
+ umask 066
+ ssh-agent
+ eval 'SSH_AUTH_SOCK=/tmp/ssh-XXXXXXbqDs5W/agent.24; export SSH_AUTH_SOCK;
SSH_AGENT_PID=25; export SSH_AGENT_PID;
echo Agent pid 25;'
++ SSH_AUTH_SOCK=/tmp/ssh-XXXXXXbqDs5W/agent.24
++ export SSH_AUTH_SOCK
++ SSH_AGENT_PID=25
++ export SSH_AGENT_PID
++ echo Agent pid 25
+ ssh-add
Identity added: /root/.ssh/id_rsa (jenkins@tf-jenkins)
+ source_file_ssh_agent
+ cat
+ '[' 0 -eq 1 ']'
+ export REPORT_DETAILS_FILE=report_details_2025_03_31_12_22_22.ini
+ REPORT_DETAILS_FILE=report_details_2025_03_31_12_22_22.ini
+ export REPORT_FILE=report/junit-noframes.html
+ REPORT_FILE=report/junit-noframes.html
++ dirname ./run_tests.sh
+ cd .
+ '[' 0 -eq 1 ']'
+ '[' 1 -eq 0 ']'
+ export PYTHONPATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/contrail-test/fixtures:/contrail-test/scripts:/contrail-test
+ PYTHONPATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/contrail-test/fixtures:/contrail-test/scripts:/contrail-test
+ apply_patches
+ apply_junitxml_patch
+ patch_path=/contrail-test/tools/patches
+ src_path=/usr/lib/python2.6/site-packages
+ '[' -d /usr/lib/python2.6/site-packages/junitxml ']'
+ src_path=/usr/local/lib/python2.7/dist-packages
+ '[' -d /usr/local/lib/python2.7/dist-packages/junitxml ']'
+ src_path=/usr/lib/python2.7/site-packages/
+ '[' -d /usr/lib/python2.7/site-packages//junitxml ']'
+ patch -d -p0 -N --dry-run --silent
+ '[' 2 -eq 0 ']'
+ filepath=/usr/local/lib/python3.6/site-packages/junitxml
+ patch -d /usr/local/lib/python3.6/site-packages/junitxml -p0 -N --dry-run --silent
+ '[' 2 -eq 0 ']'
+ apply_subunitfilters_patch
+ patch_path=/contrail-test/tools/patches
+ filepath=/usr/local/lib/python3.6/site-packages/subunit
+ patch -p0 -N --dry-run --silent /usr/local/lib/python3.6/site-packages/subunit/filters.py
1 out of 1 hunk FAILED
+ '[' 1 -eq 0 ']'
+ export TEST_DELAY_FACTOR=1
+ TEST_DELAY_FACTOR=1
+ export TEST_RETRY_FACTOR=1
+ TEST_RETRY_FACTOR=1
+ rm -rf 'result*.xml'
++ get_result_xml
++ result_xml=result_2025_03_31_12_22_22_13534.xml
++ echo result_2025_03_31_12_22_22_13534.xml
+ result_xml=result_2025_03_31_12_22_22_13534.xml
++ get_result_xml
++ result_xml=result_2025_03_31_12_22_22_27129.xml
++ echo result_2025_03_31_12_22_22_27129.xml
+ serial_result_xml=result_2025_03_31_12_22_22_27129.xml
+ GIVEN_TEST_PATH=
+ '[' '!' -z cirros ']'
+ export ci_image
+ check_test_discovery
+ echo 'Checking if test-discovery is fine'
Checking if test-discovery is fine
+ bash -x tools/check_test_discovery.sh
+ echo 'Validating if test discovery passes in scripts/ and serial_scripts'
Validating if test discovery passes in scripts/ and serial_scripts
+ echo ''
+ GIVEN_TEST_PATH=
+ export PYTHON=/usr/bin/python3
+ PYTHON=/usr/bin/python3
++ which testr
which: no testr in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin)
+ export TESTR=
+ TESTR=
+ export PYTHONPATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/contrail-test/scripts:/contrail-test/fixtures
+ PYTHONPATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/contrail-test/scripts:/contrail-test/fixtures
+ export OS_TEST_PATH=./scripts
+ OS_TEST_PATH=./scripts
+ list-tests
tools/check_test_discovery.sh: line 10: list-tests: command not found
+ exit 1
+ die 'Test discovery failed!'
+ local 'message=Test discovery failed!'
+ '[' -z 'Test discovery failed!' ']'
+ echo './run_tests.sh: line 216: check_test_discovery: Test discovery failed!.'
./run_tests.sh: line 216: check_test_discovery: Test discovery failed!.
+ exit 1
+ rv_run_test=1
+ '[' -d /contrail-test.save ']'
+ cp -f /opt/contrail/utils/fabfile/testbeds/testbed.py /contrail-test.save/
cp: cannot stat '/opt/contrail/utils/fabfile/testbeds/testbed.py': No such file or directory
+ rsync -L -a --exclude logs/ --exclude report/ /contrail-test /contrail-test.save/
+ exit 1
tput: No value for $TERM and no -T specified
grep: /home/ubuntu/contrail-test-runs/*/reports/TESTS-TestSuites.xml: No such file or directory
ERROR: there were failures during the test.
See detailed logs in /home/ubuntu/contrail-test-runs
INFO: collect logs
~/contrail-test-runs/2025_03_31_12_22_21 ~
logs/
tar: *: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors
~
INFO: Test sanity finished Mon Mar 31 12:22:22 UTC 2025
+ res=1
+ ./src/opensdn-io/tf-jenkins/jobs/test/functional/collect_logs.sh
~/workspace/test-sanity/logs ~/workspace/test-sanity
Warning: Permanently added '10.0.0.41' (ECDSA) to the list of known hosts.
logs/
~/workspace/test-sanity
Warning: Permanently added 'nexus.gz1.opensdn.io,212.233.90.199' (ECDSA) to the list of known hosts.
Warning: Permanently added 'nexus.gz1.opensdn.io,212.233.90.199' (ECDSA) to the list of known hosts.
INFO: logs saved
+ exit 1
Build step 'Execute shell' marked build as failure
Archiving artifacts
Finished: FAILURE