Started by upstream project "pipeline-templates" build number 1044
originally caused by:
Triggered by Gerrit: https://gerrit.opensdn.io/c/opensdn-io/tf-jenkins/+/2771
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on slave-openstack-gz1_1 (openstack) in workspace /home/jenkins/workspace/test-code-coverage
[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-code-coverage/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 cda36b9a0cbd3a8ebe6746aa895153e664078d3f (refs/remotes/origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f cda36b9a0cbd3a8ebe6746aa895153e664078d3f # timeout=10
Commit message: "Merge "rework code-coverage job""
> git rev-list --no-walk cda36b9a0cbd3a8ebe6746aa895153e664078d3f # 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-env.git
> git init /home/jenkins/workspace/test-code-coverage/src/opensdn-io/tf-dev-env # timeout=10
Fetching upstream changes from https://github.com/opensdn-io/tf-dev-env.git
> git --version # timeout=10
> git --version # 'git version 2.25.1'
> git fetch --tags --force --progress -- https://github.com/opensdn-io/tf-dev-env.git +refs/heads/*:refs/remotes/origin/* # timeout=10
> git config remote.origin.url https://github.com/opensdn-io/tf-dev-env.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 43a71a9f03618935213e765d47882ccb0d25ab86 (refs/remotes/origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 43a71a9f03618935213e765d47882ccb0d25ab86 # timeout=10
Commit message: "disable TLS verify for Raven dnf repos"
> git rev-list --no-walk 43a71a9f03618935213e765d47882ccb0d25ab86 # timeout=10
Copied 4 artifacts from "pipeline-templates" build number 1044
[test-code-coverage] $ /bin/bash -xe /tmp/jenkins17689059131621307443.sh
+ source /home/jenkins/workspace/test-code-coverage/global.env
++ export PIPELINE_BUILD_TAG=jenkins-pipeline-templates-1044
++ PIPELINE_BUILD_TAG=jenkins-pipeline-templates-1044
++ 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/71/2771/24/templates_1044
++ LOGS_PATH=/var/www/logs/jenkins_logs/gerrit/71/2771/24/templates_1044
++ export LOGS_URL=http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/71/2771/24/templates_1044
++ LOGS_URL=http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/71/2771/24/templates_1044
++ 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-2_7_7_1-2_4
++ CONTRAIL_CONTAINER_TAG=master-2_7_7_1-2_4
++ export CONTRAIL_DEPLOYER_CONTAINER_TAG=master-2_7_7_1-2_4
++ CONTRAIL_DEPLOYER_CONTAINER_TAG=master-2_7_7_1-2_4
++ 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-2_7_7_1-2_4
++ CONTRAIL_CONTAINER_TAG_ORIGINAL=master-2_7_7_1-2_4
++ export CONTRAIL_DEPLOYER_CONTAINER_TAG_ORIGINAL=master-2_7_7_1-2_4
++ CONTRAIL_DEPLOYER_CONTAINER_TAG_ORIGINAL=master-2_7_7_1-2_4
++ export GERRIT_PIPELINE=templates
++ GERRIT_PIPELINE=templates
++ export GERRIT_URL=https://gerrit.opensdn.io/
++ GERRIT_URL=https://gerrit.opensdn.io/
++ export GERRIT_CHANGE_ID=Iae2afd13a179ce582f257f8fd3e1027bfbf6f060
++ GERRIT_CHANGE_ID=Iae2afd13a179ce582f257f8fd3e1027bfbf6f060
++ export GERRIT_BRANCH=master
++ GERRIT_BRANCH=master
++ export GERRIT_PROJECT=opensdn-io/tf-jenkins
++ GERRIT_PROJECT=opensdn-io/tf-jenkins
++ export REPOS_CHANNEL=latest
++ REPOS_CHANNEL=latest
+ source /home/jenkins/workspace/test-code-coverage/vars.test-code-coverage.84606.env
++ export CODE_COVERAGE=true
++ CODE_COVERAGE=true
++ export LINUX_DISTR_VER=9
++ LINUX_DISTR_VER=9
++ export LINUX_DISTR=rockylinux
++ LINUX_DISTR=rockylinux
+ desc='Pipeline: pipeline-templates-1044 Random: 84606
'
+ desc+='Merged coverage report
'
+ desc+='Coverage: http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/71/2771/24/templates_1044/test-unit-true/coverage/merged'
+ echo 'DESCRIPTION Pipeline: pipeline-templates-1044 Random: 84606
Merged coverage report
Coverage: http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/71/2771/24/templates_1044/test-unit-true/coverage/merged'
DESCRIPTION Pipeline: pipeline-templates-1044 Random: 84606
Merged coverage report
Coverage: http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/71/2771/24/templates_1044/test-unit-true/coverage/merged
[description-setter] Description set: Pipeline: pipeline-templates-1044 Random: 84606
Merged coverage report
Coverage: http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/71/2771/24/templates_1044/test-unit-true/coverage/merged'
[test-code-coverage] $ /bin/bash -xe /tmp/jenkins18424578835421884438.sh
+ set -eo pipefail
+ source /home/jenkins/workspace/test-code-coverage/global.env
++ export PIPELINE_BUILD_TAG=jenkins-pipeline-templates-1044
++ PIPELINE_BUILD_TAG=jenkins-pipeline-templates-1044
++ 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/71/2771/24/templates_1044
++ LOGS_PATH=/var/www/logs/jenkins_logs/gerrit/71/2771/24/templates_1044
++ export LOGS_URL=http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/71/2771/24/templates_1044
++ LOGS_URL=http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/71/2771/24/templates_1044
++ 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-2_7_7_1-2_4
++ CONTRAIL_CONTAINER_TAG=master-2_7_7_1-2_4
++ export CONTRAIL_DEPLOYER_CONTAINER_TAG=master-2_7_7_1-2_4
++ CONTRAIL_DEPLOYER_CONTAINER_TAG=master-2_7_7_1-2_4
++ 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-2_7_7_1-2_4
++ CONTRAIL_CONTAINER_TAG_ORIGINAL=master-2_7_7_1-2_4
++ export CONTRAIL_DEPLOYER_CONTAINER_TAG_ORIGINAL=master-2_7_7_1-2_4
++ CONTRAIL_DEPLOYER_CONTAINER_TAG_ORIGINAL=master-2_7_7_1-2_4
++ export GERRIT_PIPELINE=templates
++ GERRIT_PIPELINE=templates
++ export GERRIT_URL=https://gerrit.opensdn.io/
++ GERRIT_URL=https://gerrit.opensdn.io/
++ export GERRIT_CHANGE_ID=Iae2afd13a179ce582f257f8fd3e1027bfbf6f060
++ GERRIT_CHANGE_ID=Iae2afd13a179ce582f257f8fd3e1027bfbf6f060
++ export GERRIT_BRANCH=master
++ GERRIT_BRANCH=master
++ export GERRIT_PROJECT=opensdn-io/tf-jenkins
++ GERRIT_PROJECT=opensdn-io/tf-jenkins
++ export REPOS_CHANNEL=latest
++ REPOS_CHANNEL=latest
+ source /home/jenkins/workspace/test-code-coverage/deps.test-code-coverage.84606.env
++ export DEVENV_TAG=sandbox-master-2_7_7_1-2_4
++ DEVENV_TAG=sandbox-master-2_7_7_1-2_4
++ export UNITTEST_TARGETS=controller/src/bfd:test,controller/src/bgp:test,controller/src/cat:test,controller/src/control-node:test,controller/src/dns:test,controller/src/ifmap:test,controller/src/xmpp:test,src/contrail-common/config-client-mgr:test,
++ UNITTEST_TARGETS=controller/src/bfd:test,controller/src/bgp:test,controller/src/cat:test,controller/src/control-node:test,controller/src/dns:test,controller/src/ifmap:test,controller/src/xmpp:test,src/contrail-common/config-client-mgr:test,
++ export DEVENV_TAG=master-2_7_7_1-2_4
++ DEVENV_TAG=master-2_7_7_1-2_4
+ source /home/jenkins/workspace/test-code-coverage/vars.test-code-coverage.84606.env
++ export CODE_COVERAGE=true
++ CODE_COVERAGE=true
++ export LINUX_DISTR_VER=9
++ LINUX_DISTR_VER=9
++ export LINUX_DISTR=rockylinux
++ LINUX_DISTR=rockylinux
+ ./src/opensdn-io/tf-jenkins/infra/gerrit/apply_patchsets.sh ./src opensdn-io/tf-jenkins ./patchsets-info.json
INFO: run 'git fetch https://gerrit.opensdn.io//opensdn-io/tf-jenkins refs/changes/71/2771/24'
From https://gerrit.opensdn.io//opensdn-io/tf-jenkins
* branch refs/changes/71/2771/24 -> FETCH_HEAD
INFO: FETCH_HEAD - cda36b9a Merge "rework code-coverage job"
[detached HEAD acabebd0] WIP: add code-coverage option
Author: tikitavi
Date: Fri Mar 27 12:16:13 2026 +0300
10 files changed, 200 insertions(+), 22 deletions(-)
create mode 100644 jobs/test/unit/coverage_merge/Dockerfile
create mode 100755 jobs/test/unit/coverage_merge/docker-entrypoint-merge.sh
create mode 100755 jobs/test/unit/merge_code_coverage.sh
[test-code-coverage] $ /bin/bash -xe /tmp/jenkins7228923670962122016.sh
+ set -eo pipefail
+ chmod +x ./src/opensdn-io/tf-jenkins/jobs/test/unit/merge_code_coverage.sh
+ ./src/opensdn-io/tf-jenkins/jobs/test/unit/merge_code_coverage.sh
INFO: coverage merge: STREAM=test-unit-true LOGS_PATH=/var/www/logs/jenkins_logs/gerrit/71/2771/24/templates_1044
INFO: coverage merge: expect non-empty files /var/www/logs/jenkins_logs/gerrit/71/2771/24/templates_1044/test-unit-true/coverage/coverage..info (from collect_logs after lcov on each test-unit-*)
Warning: Permanently added 'nexus.gz1.opensdn.io,212.233.90.199' (ECDSA) to the list of known hosts.
INFO: fetched coverage from test-unit-agent (/var/www/logs/jenkins_logs/gerrit/71/2771/24/templates_1044/test-unit-true/coverage/coverage.agent.info)
Warning: Permanently added 'nexus.gz1.opensdn.io,212.233.90.199' (ECDSA) to the list of known hosts.
INFO: fetched coverage from test-unit-bgp (/var/www/logs/jenkins_logs/gerrit/71/2771/24/templates_1044/test-unit-true/coverage/coverage.bgp.info)
INFO: skip test-unit-opserver: missing /var/www/logs/jenkins_logs/gerrit/71/2771/24/templates_1044/test-unit-true/coverage/coverage.opserver.info
INFO: skip test-unit-group-one: missing /var/www/logs/jenkins_logs/gerrit/71/2771/24/templates_1044/test-unit-true/coverage/coverage.group-one.info
INFO: skip test-unit-group-two: missing /var/www/logs/jenkins_logs/gerrit/71/2771/24/templates_1044/test-unit-true/coverage/coverage.group-two.info
Warning: Permanently added 'nexus.gz1.opensdn.io,212.233.90.199' (ECDSA) to the list of known hosts.
INFO: fetched coverage from test-unit-ungrouped (/var/www/logs/jenkins_logs/gerrit/71/2771/24/templates_1044/test-unit-true/coverage/coverage.ungrouped.info)
INFO: building tf-ut-coverage-merge:local
DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
Install the buildx component to build images with BuildKit:
https://docs.docker.com/go/buildx/
Sending build context to Docker daemon 3.584kB
Step 1/5 : FROM alpine:3.19
3.19: Pulling from library/alpine
17a39c0ba978: Pulling fs layer
17a39c0ba978: Verifying Checksum
17a39c0ba978: Download complete
17a39c0ba978: Pull complete
Digest: sha256:6baf43584bcb78f2e5847d1de515f23499913ac9f12bdf834811a3145eb11ca1
Status: Downloaded newer image for alpine:3.19
---> 83b2b6703a62
Step 2/5 : RUN apk add --no-cache bash lcov coreutils
---> Running in 722c5f7fcd62
fetch https://dl-cdn.alpinelinux.org/alpine/v3.19/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.19/community/x86_64/APKINDEX.tar.gz
[91mERROR: unable to select packages:
lcov (no such package):
required by: world[lcov]
[0mThe command '/bin/sh -c apk add --no-cache bash lcov coreutils' returned a non-zero code: 1
Build step 'Execute shell' marked build as failure
Archiving artifacts
Finished: FAILURE