Started by upstream project "pipeline-check" build number 1235
originally caused by:
Triggered by Gerrit: https://gerrit.opensdn.io/c/opensdn-io/tf-test/+/1289
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 e35f3491f5b56b4f63bfb586e8728615888f36dc (refs/remotes/origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f e35f3491f5b56b4f63bfb586e8728615888f36dc # timeout=10
Commit message: "Merge "use api worker count for ansible-k8s""
> git rev-list --no-walk e35f3491f5b56b4f63bfb586e8728615888f36dc # 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 db3640e1a06d21357e58f0b472192976152a0ea5 (refs/remotes/origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f db3640e1a06d21357e58f0b472192976152a0ea5 # timeout=10
Commit message: "Merge "Add tempest tests""
> git rev-list --no-walk db3640e1a06d21357e58f0b472192976152a0ea5 # timeout=10
Copied 4 artifacts from "pipeline-check" build number 1235
[test-sanity] $ /bin/bash -xe /tmp/jenkins4740592498764239459.sh
+ source /home/jenkins/workspace/test-sanity/global.env
++ export PIPELINE_BUILD_TAG=jenkins-pipeline-check-1235
++ PIPELINE_BUILD_TAG=jenkins-pipeline-check-1235
++ 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/89/1289/1/check_1235
++ LOGS_PATH=/var/www/logs/jenkins_logs/gerrit/89/1289/1/check_1235
++ export LOGS_URL=http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/89/1289/1/check_1235
++ LOGS_URL=http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/89/1289/1/check_1235
++ 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_2_8_9-1
++ CONTRAIL_CONTAINER_TAG=master-1_2_8_9-1
++ export CONTRAIL_DEPLOYER_CONTAINER_TAG=master-1_2_8_9-1
++ CONTRAIL_DEPLOYER_CONTAINER_TAG=master-1_2_8_9-1
++ 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_2_8_9-1
++ CONTRAIL_CONTAINER_TAG_ORIGINAL=master-1_2_8_9-1
++ export CONTRAIL_DEPLOYER_CONTAINER_TAG_ORIGINAL=master-1_2_8_9-1
++ CONTRAIL_DEPLOYER_CONTAINER_TAG_ORIGINAL=master-1_2_8_9-1
++ export GERRIT_PIPELINE=check
++ GERRIT_PIPELINE=check
++ export GERRIT_URL=https://gerrit.opensdn.io/
++ GERRIT_URL=https://gerrit.opensdn.io/
++ export GERRIT_CHANGE_ID=Ic6d8b9c97745dc80dbca9965f0d5a263c1031609
++ GERRIT_CHANGE_ID=Ic6d8b9c97745dc80dbca9965f0d5a263c1031609
++ export GERRIT_BRANCH=master
++ GERRIT_BRANCH=master
++ export GERRIT_PROJECT=opensdn-io/tf-test
++ GERRIT_PROJECT=opensdn-io/tf-test
++ export REPOS_CHANNEL=latest
++ REPOS_CHANNEL=latest
+ source /home/jenkins/workspace/test-sanity/deps.test-sanity.53160.env
++ export PROVIDER=openstack
++ PROVIDER=openstack
++ export ENVIRONMENT_OS=ubuntu22
++ ENVIRONMENT_OS=ubuntu22
++ export DATA_NETWORK=10.20.0.0/24
++ DATA_NETWORK=10.20.0.0/24
++ head -1
++ export VROUTER_GATEWAY=10.20.0.1
++ VROUTER_GATEWAY=10.20.0.1
++ 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=0055a655-c7a6-4e16-bc30-bccfe36a583e,
++ INSTANCE_IDS=0055a655-c7a6-4e16-bc30-bccfe36a583e,
++ export instance_ip=10.0.0.38
++ instance_ip=10.0.0.38
++ export CONTROLLER_NODES=10.0.0.38,
++ CONTROLLER_NODES=10.0.0.38,
++ export CONTROL_NODES=10.20.0.18,
++ CONTROL_NODES=10.20.0.18,
++ export ORCHESTRATOR=openstack
++ ORCHESTRATOR=openstack
++ export DEPLOYER=ansible
++ DEPLOYER=ansible
++ export JOB_LOGS_PATH=ansible-os
++ JOB_LOGS_PATH=ansible-os
+ desc='Pipeline: pipeline-check-1235 Random: 53160 Stream: ansible-os'
+ desc+='
Job logs: http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/89/1289/1/check_1235/ansible-os'
+ echo 'DESCRIPTION Pipeline: pipeline-check-1235 Random: 53160 Stream: ansible-os
Job logs: http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/89/1289/1/check_1235/ansible-os'
DESCRIPTION Pipeline: pipeline-check-1235 Random: 53160 Stream: ansible-os
Job logs: http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/89/1289/1/check_1235/ansible-os
[description-setter] Description set: Pipeline: pipeline-check-1235 Random: 53160 Stream: ansible-os
Job logs: http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/89/1289/1/check_1235/ansible-os'
[test-sanity] $ /bin/bash -xe /tmp/jenkins12951095793973021279.sh
+ set -eo pipefail
+ source /home/jenkins/workspace/test-sanity/global.env
++ export PIPELINE_BUILD_TAG=jenkins-pipeline-check-1235
++ PIPELINE_BUILD_TAG=jenkins-pipeline-check-1235
++ 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/89/1289/1/check_1235
++ LOGS_PATH=/var/www/logs/jenkins_logs/gerrit/89/1289/1/check_1235
++ export LOGS_URL=http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/89/1289/1/check_1235
++ LOGS_URL=http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/89/1289/1/check_1235
++ 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_2_8_9-1
++ CONTRAIL_CONTAINER_TAG=master-1_2_8_9-1
++ export CONTRAIL_DEPLOYER_CONTAINER_TAG=master-1_2_8_9-1
++ CONTRAIL_DEPLOYER_CONTAINER_TAG=master-1_2_8_9-1
++ 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_2_8_9-1
++ CONTRAIL_CONTAINER_TAG_ORIGINAL=master-1_2_8_9-1
++ export CONTRAIL_DEPLOYER_CONTAINER_TAG_ORIGINAL=master-1_2_8_9-1
++ CONTRAIL_DEPLOYER_CONTAINER_TAG_ORIGINAL=master-1_2_8_9-1
++ export GERRIT_PIPELINE=check
++ GERRIT_PIPELINE=check
++ export GERRIT_URL=https://gerrit.opensdn.io/
++ GERRIT_URL=https://gerrit.opensdn.io/
++ export GERRIT_CHANGE_ID=Ic6d8b9c97745dc80dbca9965f0d5a263c1031609
++ GERRIT_CHANGE_ID=Ic6d8b9c97745dc80dbca9965f0d5a263c1031609
++ export GERRIT_BRANCH=master
++ GERRIT_BRANCH=master
++ export GERRIT_PROJECT=opensdn-io/tf-test
++ GERRIT_PROJECT=opensdn-io/tf-test
++ 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/jenkins17647985876852518639.sh
+ set -eo pipefail
+ source /home/jenkins/workspace/test-sanity/global.env
++ export PIPELINE_BUILD_TAG=jenkins-pipeline-check-1235
++ PIPELINE_BUILD_TAG=jenkins-pipeline-check-1235
++ 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/89/1289/1/check_1235
++ LOGS_PATH=/var/www/logs/jenkins_logs/gerrit/89/1289/1/check_1235
++ export LOGS_URL=http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/89/1289/1/check_1235
++ LOGS_URL=http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/89/1289/1/check_1235
++ 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_2_8_9-1
++ CONTRAIL_CONTAINER_TAG=master-1_2_8_9-1
++ export CONTRAIL_DEPLOYER_CONTAINER_TAG=master-1_2_8_9-1
++ CONTRAIL_DEPLOYER_CONTAINER_TAG=master-1_2_8_9-1
++ 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_2_8_9-1
++ CONTRAIL_CONTAINER_TAG_ORIGINAL=master-1_2_8_9-1
++ export CONTRAIL_DEPLOYER_CONTAINER_TAG_ORIGINAL=master-1_2_8_9-1
++ CONTRAIL_DEPLOYER_CONTAINER_TAG_ORIGINAL=master-1_2_8_9-1
++ export GERRIT_PIPELINE=check
++ GERRIT_PIPELINE=check
++ export GERRIT_URL=https://gerrit.opensdn.io/
++ GERRIT_URL=https://gerrit.opensdn.io/
++ export GERRIT_CHANGE_ID=Ic6d8b9c97745dc80dbca9965f0d5a263c1031609
++ GERRIT_CHANGE_ID=Ic6d8b9c97745dc80dbca9965f0d5a263c1031609
++ export GERRIT_BRANCH=master
++ GERRIT_BRANCH=master
++ export GERRIT_PROJECT=opensdn-io/tf-test
++ GERRIT_PROJECT=opensdn-io/tf-test
++ 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.53160.env
++ export PROVIDER=openstack
++ PROVIDER=openstack
++ export ENVIRONMENT_OS=ubuntu22
++ ENVIRONMENT_OS=ubuntu22
++ export DATA_NETWORK=10.20.0.0/24
++ DATA_NETWORK=10.20.0.0/24
++ head -1
++ export VROUTER_GATEWAY=10.20.0.1
++ VROUTER_GATEWAY=10.20.0.1
++ 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=0055a655-c7a6-4e16-bc30-bccfe36a583e,
++ INSTANCE_IDS=0055a655-c7a6-4e16-bc30-bccfe36a583e,
++ export instance_ip=10.0.0.38
++ instance_ip=10.0.0.38
++ export CONTROLLER_NODES=10.0.0.38,
++ CONTROLLER_NODES=10.0.0.38,
++ export CONTROL_NODES=10.20.0.18,
++ CONTROL_NODES=10.20.0.18,
++ export ORCHESTRATOR=openstack
++ ORCHESTRATOR=openstack
++ export DEPLOYER=ansible
++ DEPLOYER=ansible
++ export JOB_LOGS_PATH=ansible-os
++ JOB_LOGS_PATH=ansible-os
+ source /home/jenkins/workspace/test-sanity/vars.test-sanity.53160.env
++ export MONITORING_DEPLOY_TARGET=AIO
++ MONITORING_DEPLOY_TARGET=AIO
++ export MONITORING_DEPLOYER=ansible
++ MONITORING_DEPLOYER=ansible
++ export MONITORING_ORCHESTRATOR=os
++ MONITORING_ORCHESTRATOR=os
++ export USE_DATAPLANE_NETWORK=true
++ USE_DATAPLANE_NETWORK=true
+ export FULL_LOGS_PATH=/var/www/logs/jenkins_logs/gerrit/89/1289/1/check_1235/ansible-os
+ FULL_LOGS_PATH=/var/www/logs/jenkins_logs/gerrit/89/1289/1/check_1235/ansible-os
+ export TARGET=sanity
+ TARGET=sanity
+ ./src/opensdn-io/tf-jenkins/jobs/test/functional/run.sh
INFO: Test sanity started Tue Jan 7 11:19:50 UTC 2025
Warning: Permanently added '10.0.0.38' (ECDSA) to the list of known hosts.
Warning: Permanently added '10.0.0.38' (ECDSA) to the list of known hosts.
DEPLOYER=ansible
CONTRAIL_CONTAINER_TAG=master-1_2_8_9-1
CONTRAIL_DEPLOYER_CONTAINER_TAG=master-1_2_8_9-1
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.38 "
AGENT_NODES="10.0.0.38"
CONTROL_NODES="10.20.0.18 "
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.38'
OS_AUTH_URL='http://10.0.0.38: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 27.4.1, build b9d17ea
[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: Tue, 07 Jan 2025 11:19:52 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 24.3.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 27.4.1, build b9d17ea
master-1_2_8_9-1: Pulling from contrail-test-test
2d473b07cdd5: Already exists
893aae3c4e5f: Already exists
e50a8a856e74: Already exists
0796066b0d86: Already exists
646770b5eb54: Already exists
48ef4725ef76: Already exists
545f38003457: Already exists
4ebde8b6d384: Already exists
03b8ae6eaea3: Already exists
8ef88630931d: Pulling fs layer
53720ac9e1b5: Pulling fs layer
41352e2e1c60: Pulling fs layer
b7680b998bb3: Pulling fs layer
b7680b998bb3: Waiting
8ef88630931d: Verifying Checksum
8ef88630931d: Download complete
53720ac9e1b5: Download complete
8ef88630931d: Pull complete
53720ac9e1b5: Pull complete
41352e2e1c60: Verifying Checksum
41352e2e1c60: Download complete
41352e2e1c60: Pull complete
b7680b998bb3: Verifying Checksum
b7680b998bb3: Download complete
b7680b998bb3: Pull complete
Digest: sha256:8327a32e78d135dbea12d94c7dcf11a3a75afeff6eea9e53613ac81af50bb1ed
Status: Downloaded newer image for nexus.gz1.opensdn.io:5101/contrail-test-test:master-1_2_8_9-1
nexus.gz1.opensdn.io:5101/contrail-test-test:master-1_2_8_9-1
320a49944c17beb56de3aa9864d0f84073823e52b5173450c37ab3da45a16c14
qFeSSfF8qv
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_38:
ip: 10.0.0.38
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_2_8_9-1
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.38"
# Network isolation case.
# services might be on different IPs,
# but list of nodes is still in CONTROLLER_NODES
CONTROL_NODES: "10.20.0.18,"
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
+ TESTR=/usr/local/bin/testr
++ which subunit2junitxml
+ SUBUNIT2JUNIT=/usr/local/bin/subunit2junitxml
+ 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
+ send_mail=0
+ concurrency=
+ parallel=0
+ failure_threshold=
+ contrail_fab_path=/opt/contrail/utils
++ date +%Y_%m_%d_%H_%M_%S
+ export SCRIPT_TS=2025_01_07_11_20_06
+ SCRIPT_TS=2025_01_07_11_20_06
++ 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-SOssYHcT0aBB/agent.24; export SSH_AUTH_SOCK;
SSH_AGENT_PID=25; export SSH_AGENT_PID;
echo Agent pid 25;'
++ SSH_AUTH_SOCK=/tmp/ssh-SOssYHcT0aBB/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_01_07_11_20_06.ini
+ REPORT_DETAILS_FILE=report_details_2025_01_07_11_20_06.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_testtools_patch_for_centos
+ find_python_version
++ python --version
++ grep python
Python 2.7.5
+ output=
++ python -c 'import sys; print(sys.version_info[:])'
+ output='(2, 7, 5, '\''final'\'', 0)'
+ substring='2, 6, 6'
+ echo '(2, 7, 5, '\''final'\'', 0)'
+ grep -q '2, 6, 6'
+ echo 'no match'
no match
+ return 1
+ '[' 1 -eq 0 ']'
+ 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
+ '[' 0 -eq 0 ']'
+ echo 'Applied patch for python3'
Applied patch for python3
+ cd /usr/local/lib/python3.6/site-packages/junitxml
+ patch -p0 -N
patching file __init__.py
+ 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
+ '[' 0 -eq 0 ']'
+ echo 'Applied subunit-filter patch for python3'
Applied subunit-filter patch for python3
+ patch -p0 -N /usr/local/lib/python3.6/site-packages/subunit/filters.py
patching file /usr/local/lib/python3.6/site-packages/subunit/filters.py
+ 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_01_07_11_20_06_27311.xml
++ echo result_2025_01_07_11_20_06_27311.xml
+ result_xml=result_2025_01_07_11_20_06_27311.xml
++ get_result_xml
++ result_xml=result_2025_01_07_11_20_06_10901.xml
++ echo result_2025_01_07_11_20_06_10901.xml
+ serial_result_xml=result_2025_01_07_11_20_06_10901.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
+ export TESTR=/usr/local/bin/testr
+ TESTR=/usr/local/bin/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
+ /usr/local/bin/testr list-tests
running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-6000} \
${PYTHON:-/usr/bin/python3} -m subunit.run discover -t ./ ${OS_TEST_PATH:-./scripts} --list
--- import errors ---
Failed to import test module: scripts.analytics.test_analytics
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/unittest2/loader.py", line 456, in _find_test_path
module = self._get_module_from_name(name)
File "/usr/local/lib/python3.6/site-packages/unittest2/loader.py", line 395, in _get_module_from_name
__import__(name)
File "/contrail-test/scripts/analytics/test_analytics.py", line 353
@test.attr(type=['sanity', ''dev_sanity_dpdk'])
^
SyntaxError: invalid syntax
Failed to import test module: scripts.analytics.test_analytics_basic
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/unittest2/loader.py", line 456, in _find_test_path
module = self._get_module_from_name(name)
File "/usr/local/lib/python3.6/site-packages/unittest2/loader.py", line 395, in _get_module_from_name
__import__(name)
File "/contrail-test/scripts/analytics/test_analytics_basic.py", line 7, in
class AnalyticsBasicTestSanity(base.AnalyticsBaseTest):
NameError: name 'base' is not defined
Failed to import test module: scripts.k8s_scripts.test_pod
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/unittest2/loader.py", line 456, in _find_test_path
module = self._get_module_from_name(name)
File "/usr/local/lib/python3.6/site-packages/unittest2/loader.py", line 395, in _get_module_from_name
__import__(name)
File "/contrail-test/scripts/k8s_scripts/test_pod.py", line 6, in
class TestPod(BaseK8sTest):
File "/contrail-test/scripts/k8s_scripts/test_pod.py", line 20, in TestPod
@test.attr(type=['ci_contrail_go_k8s_sanity'])
NameError: name 'test' is not defined
Non-zero exit code (2) from test listing.
+ exit 1
+ die 'Test discovery failed!'
+ local 'message=Test discovery failed!'
+ '[' -z 'Test discovery failed!' ']'
+ echo './run_tests.sh: line 227: check_test_discovery: Test discovery failed!.'
./run_tests.sh: line 227: 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_01_07_11_20_06 ~
logs/
logs/tcutils.collector.opserver_results.log
tar: *: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors
~
INFO: Test sanity finished Tue Jan 7 11:20:14 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.38' (ECDSA) to the list of known hosts.
logs/
logs/tcutils.collector.opserver_results.log
~/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