Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ed51e6acf64310a02c241751e963c5ca7bfef27d Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1743010580506134515.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh2560206940731408293.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6966981912544869393.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1892855708794819547.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11890996840987681039.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-3072 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > 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/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision ed51e6acf64310a02c241751e963c5ca7bfef27d (main) Commit message: "Merge pull request #473 from FelixTing/issue-472" > git config core.sparsecheckout # timeout=10 > git checkout -f ed51e6acf64310a02c241751e963c5ca7bfef27d # timeout=10 > git rev-list --no-walk 136cafe662967de566bf86f438bc7a15752c35f9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:28:00 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:28:00 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:28:00 ========================================================= 23:28:00 EdgeX Global Pipelines Version Info 23:28:00 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:28:01 ------------------- 23:28:01 stable info: 23:28:01 ------------------- 23:28:01 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:28:01 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 23:28:01 Message: update stable to v1.0.250 23:28:01 ------------------- 23:28:01 experimental info: 23:28:01 ------------------- 23:28:01 Commited By: **** collab-it+edgex@linuxfoundation.org 23:28:01 Commit SHA: e40317f62605a4f3b5f0b8a3ca7537e8fb1ff910 23:28:01 Message: update experimental to v1.0.252 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:28:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 23:28:02 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 23:28:02 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:28:02 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:28:02 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:28:02 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 23:28:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 23:28:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:28:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:28:02 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 23:28:02 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:28:02 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:28:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:28:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 23:28:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:28:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:28:02 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:28:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 23:28:02 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 23:28:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 23:28:02 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ed51e6acf64310a02c241751e963c5ca7bfef27d [Pipeline] echo 23:28:02 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ed51e6a [Pipeline] echo 23:28:02 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:28:02 provisioning config files... 23:28:02 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config12787389986905861701tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:28:02 ---> docker-login.sh 23:28:02 nexus3.edgexfoundry.org:10001 23:28:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:28:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:28:03 Configure a credential helper to remove this warning. See 23:28:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:28:03 23:28:03 Login Succeeded 23:28:03 nexus3.edgexfoundry.org:10002 23:28:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:28:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:28:03 Configure a credential helper to remove this warning. See 23:28:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:28:03 23:28:03 Login Succeeded 23:28:03 nexus3.edgexfoundry.org:10003 23:28:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:28:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:28:03 Configure a credential helper to remove this warning. See 23:28:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:28:03 23:28:03 Login Succeeded 23:28:03 nexus3.edgexfoundry.org:10004 23:28:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:28:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:28:04 Configure a credential helper to remove this warning. See 23:28:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:28:04 23:28:04 Login Succeeded 23:28:04 docker.io 23:28:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:28:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:28:04 Configure a credential helper to remove this warning. See 23:28:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:28:04 23:28:04 Login Succeeded 23:28:04 ---> docker-login.sh ends [Pipeline] } 23:28:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 23:28:04 + git rev-list -1 --merges ed51e6acf64310a02c241751e963c5ca7bfef27d~1..ed51e6acf64310a02c241751e963c5ca7bfef27d [Pipeline] echo 23:28:04 -----------> git rev-list -1 --merges ed51e6acf64310a02c241751e963c5ca7bfef27d~1..ed51e6acf64310a02c241751e963c5ca7bfef27d ed51e6acf64310a02c241751e963c5ca7bfef27d 23:28:04 ed51e6acf64310a02c241751e963c5ca7bfef27d [false] [Pipeline] sh 23:28:05 + git log --format=format:%s -1 ed51e6acf64310a02c241751e963c5ca7bfef27d [Pipeline] echo 23:28:05 ========================================================= 23:28:05 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:28:05 ========================================================= Stage "Build LTS Release Image" skipped due to when conditional [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to when conditional [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:28:05 + git rev-list -1 --merges ed51e6acf64310a02c241751e963c5ca7bfef27d~1..ed51e6acf64310a02c241751e963c5ca7bfef27d [Pipeline] echo 23:28:05 -----------> git rev-list -1 --merges ed51e6acf64310a02c241751e963c5ca7bfef27d~1..ed51e6acf64310a02c241751e963c5ca7bfef27d ed51e6acf64310a02c241751e963c5ca7bfef27d 23:28:05 ed51e6acf64310a02c241751e963c5ca7bfef27d [false] [Pipeline] sh 23:28:05 + git log --format=format:%s -1 ed51e6acf64310a02c241751e963c5ca7bfef27d [Pipeline] echo 23:28:05 ========================================================= 23:28:05 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:28:05 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 23:28:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:28:06 + grep -v github /etc/ssh/ssh_known_hosts 23:28:06 + [ -e /tmp/ssh_known_hosts ] 23:28:06 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:28:06 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:28:06 + sudo tee -a /etc/ssh/ssh_known_hosts 23:28:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:28:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:28:06 23:28:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:28:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:28:07 0.1.4: Pulling from edgex-devops/py-git-semver 23:28:07 b85a868b505f: Pulling fs layer 23:28:07 e2be974225ed: Pulling fs layer 23:28:07 339a4e72a1f5: Pulling fs layer 23:28:07 988bab9f4d93: Pulling fs layer 23:28:07 1469e6f7b9e6: Pulling fs layer 23:28:07 eaf3925da568: Pulling fs layer 23:28:07 bab4dde63d76: Pulling fs layer 23:28:07 bde34c3a00c8: Pulling fs layer 23:28:07 b352a97aabf1: Pulling fs layer 23:28:07 4872d77fe225: Pulling fs layer 23:28:07 5851b861e8e6: Pulling fs layer 23:28:07 bab4dde63d76: Waiting 23:28:07 bde34c3a00c8: Waiting 23:28:07 b352a97aabf1: Waiting 23:28:07 4872d77fe225: Waiting 23:28:07 5851b861e8e6: Waiting 23:28:07 eaf3925da568: Waiting 23:28:07 1469e6f7b9e6: Waiting 23:28:07 988bab9f4d93: Waiting 23:28:07 e2be974225ed: Verifying Checksum 23:28:07 e2be974225ed: Download complete 23:28:07 988bab9f4d93: Verifying Checksum 23:28:07 988bab9f4d93: Download complete 23:28:07 1469e6f7b9e6: Verifying Checksum 23:28:07 1469e6f7b9e6: Download complete 23:28:07 eaf3925da568: Verifying Checksum 23:28:07 eaf3925da568: Download complete 23:28:07 339a4e72a1f5: Verifying Checksum 23:28:07 339a4e72a1f5: Download complete 23:28:07 bde34c3a00c8: Download complete 23:28:07 b352a97aabf1: Download complete 23:28:07 4872d77fe225: Verifying Checksum 23:28:07 4872d77fe225: Download complete 23:28:07 5851b861e8e6: Download complete 23:28:07 b85a868b505f: Verifying Checksum 23:28:07 b85a868b505f: Download complete 23:28:07 bab4dde63d76: Verifying Checksum 23:28:09 b85a868b505f: Pull complete 23:28:09 e2be974225ed: Pull complete 23:28:09 339a4e72a1f5: Pull complete 23:28:09 988bab9f4d93: Pull complete 23:28:10 1469e6f7b9e6: Pull complete 23:28:10 eaf3925da568: Pull complete 23:28:12 bab4dde63d76: Pull complete 23:28:12 bde34c3a00c8: Pull complete 23:28:13 b352a97aabf1: Pull complete 23:28:13 4872d77fe225: Pull complete 23:28:13 5851b861e8e6: Pull complete 23:28:14 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:28:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:28:14 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:28:14 prd-ubuntu20.04-docker-8c-8g-3072 does not seem to be running inside a container 23:28:14 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:28:28 $ docker top ab78bf6e9e91f4c06d86cfed885da8d2ffc87bdfbc585d951d4f670b47eaf609 -eo pid,comm 23:28:28 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 23:28:28 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:28:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:28:28 [ssh-agent] Looking for ssh-agent implementation... 23:28:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:28:28 $ docker exec ab78bf6e9e91f4c06d86cfed885da8d2ffc87bdfbc585d951d4f670b47eaf609 ssh-agent 23:28:28 SSH_AUTH_SOCK=/tmp/ssh-0oN7uULXV2xt/agent.14 23:28:28 SSH_AGENT_PID=21 23:28:28 Running ssh-add (command line suppressed) 23:28:29 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_8234870800386399126.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_8234870800386399126.key) 23:28:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:28:29 + git tag --points-at HEAD [Pipeline] } 23:28:29 $ docker exec --env ******** --env ******** ab78bf6e9e91f4c06d86cfed885da8d2ffc87bdfbc585d951d4f670b47eaf609 ssh-agent -k 23:28:29 unset SSH_AUTH_SOCK; 23:28:29 unset SSH_AGENT_PID; 23:28:29 echo Agent pid 21 killed; 23:28:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:28:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:28:29 [ssh-agent] Looking for ssh-agent implementation... 23:28:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:28:29 $ docker exec ab78bf6e9e91f4c06d86cfed885da8d2ffc87bdfbc585d951d4f670b47eaf609 ssh-agent 23:28:29 SSH_AUTH_SOCK=/tmp/ssh-40LjN9T3EJOn/agent.71 23:28:29 SSH_AGENT_PID=77 23:28:29 Running ssh-add (command line suppressed) 23:28:29 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_10602110400656833767.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_10602110400656833767.key) 23:28:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:28:30 + git semver init 23:28:30 2023-08-07 23:28:30,369 [run_init] DEBUG init version:0.0.0 force:False 23:28:30 2023-08-07 23:28:30,371 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_main/.semver 23:28:30 2023-08-07 23:28:30,372 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_main/.semver 23:28:30 2023-08-07 23:28:30,372 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) 23:28:31 2023-08-07 23:28:31,256 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_main/.git/info/exclude 23:28:31 2023-08-07 23:28:31,256 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:False 23:28:31 2023-08-07 23:28:31,256 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 23:28:31 2023-08-07 23:28:31,256 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 23:28:31 3.1.0-dev.8 [Pipeline] } 23:28:31 $ docker exec --env ******** --env ******** ab78bf6e9e91f4c06d86cfed885da8d2ffc87bdfbc585d951d4f670b47eaf609 ssh-agent -k 23:28:31 unset SSH_AUTH_SOCK; 23:28:31 unset SSH_AGENT_PID; 23:28:31 echo Agent pid 77 killed; 23:28:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:28:31 + git semver [Pipeline] } 23:28:32 $ docker stop --time=1 ab78bf6e9e91f4c06d86cfed885da8d2ffc87bdfbc585d951d4f670b47eaf609 23:28:33 $ docker rm -f --volumes ab78bf6e9e91f4c06d86cfed885da8d2ffc87bdfbc585d951d4f670b47eaf609 [Pipeline] // withDockerContainer [Pipeline] sh 23:28:33 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:28:34 Stashed 1 file(s) [Pipeline] echo 23:28:34 [edgeXSemver]: initialized semver on version 3.1.0-dev.8 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:28:34 provisioning config files... 23:28:34 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config14454856366449971238tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:28:34 ---> docker-login.sh 23:28:34 nexus3.edgexfoundry.org:10001 23:28:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:28:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:28:34 Configure a credential helper to remove this warning. See 23:28:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:28:34 23:28:34 Login Succeeded 23:28:34 nexus3.edgexfoundry.org:10002 23:28:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:28:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:28:34 Configure a credential helper to remove this warning. See 23:28:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:28:34 23:28:34 Login Succeeded 23:28:34 nexus3.edgexfoundry.org:10003 23:28:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:28:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:28:34 Configure a credential helper to remove this warning. See 23:28:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:28:34 23:28:34 Login Succeeded 23:28:34 nexus3.edgexfoundry.org:10004 23:28:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:28:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:28:34 Configure a credential helper to remove this warning. See 23:28:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:28:34 23:28:34 Login Succeeded 23:28:34 docker.io 23:28:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:28:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:28:35 Configure a credential helper to remove this warning. See 23:28:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:28:35 23:28:35 Login Succeeded 23:28:35 ---> docker-login.sh ends [Pipeline] } 23:28:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:28:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:28:35 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 23:28:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:28:35 ========================================================= 23:28:35 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 23:28:35 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:28:35 + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . 23:28:35 Sending build context to Docker daemon 4.867MB 23:28:35 Step 1/21 : ARG BASE=alpine:3.16 23:28:35 Step 2/21 : FROM ${BASE} as builder 23:28:35 latest: Pulling from edgex-devops/edgex-gcc-base 23:28:35 91d30c5bc195: Pulling fs layer 23:28:35 316e5a4585fb: Pulling fs layer 23:28:35 91d30c5bc195: Verifying Checksum 23:28:35 91d30c5bc195: Download complete 23:28:35 91d30c5bc195: Pull complete 23:28:36 316e5a4585fb: Verifying Checksum 23:28:38 316e5a4585fb: Pull complete 23:28:38 Digest: sha256:46ce083f99ae49712d4f1141acdd2e69c9eb8e11ca29cc7d79d78bb0a10585c4 23:28:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 23:28:38 ---> e83ffa357ff4 23:28:38 Step 3/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 23:28:44 ---> Running in 3c4ede54df4b 23:28:44 Connecting to iotech.jfrog.io (34.251.0.175:443) 23:28:44 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 23:28:44 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 23:28:44 '/etc/apk/keys/alpine.dev.rsa.pub' saved 23:28:45 Removing intermediate container 3c4ede54df4b 23:28:45 ---> 8232a3305d01 23:28:45 Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 23:28:45 ---> Running in 30c9f4d59eaf 23:28:46 Removing intermediate container 30c9f4d59eaf 23:28:46 ---> 574748e2f86f 23:28:46 Step 5/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev 23:28:46 ---> Running in 80e1b25d16b6 23:28:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:28:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:28:47 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 23:28:47 WARNING: This apk-tools is OLD! Some packages might not function properly. 23:28:47 (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) 23:28:47 (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) 23:28:47 (3/16) Installing hiredis (1.0.2-r0) 23:28:47 (4/16) Installing hiredis-dev (1.0.2-r0) 23:28:47 (5/16) Installing iotech-iot-1.5 (1.5.0-r0) 23:28:48 (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) 23:28:48 (7/16) Installing libcbor (0.9.0-r1) 23:28:48 (8/16) Installing libcbor-dev (0.9.0-r1) 23:28:48 (9/16) Installing ncurses-dev (6.3_p20220521-r1) 23:28:48 (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 23:28:49 (11/16) Installing libblkid (2.38-r1) 23:28:49 (12/16) Installing libuuid (2.38-r1) 23:28:49 (13/16) Installing libfdisk (2.38-r1) 23:28:49 (14/16) Installing libmount (2.38-r1) 23:28:49 Still waiting to schedule task 23:28:49 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 23:28:49 (15/16) Installing libsmartcols (2.38-r1) 23:28:49 (16/16) Installing util-linux-dev (2.38-r1) 23:28:49 Executing busybox-1.35.0-r17.trigger 23:28:49 OK: 280 MiB in 90 packages 23:28:50 Removing intermediate container 80e1b25d16b6 23:28:50 ---> 07b5ecab00f6 23:28:50 Step 6/21 : RUN mkdir /tmp/sdk 23:28:50 ---> Running in ba5690d0941f 23:28:52 Removing intermediate container ba5690d0941f 23:28:52 ---> b5b077fc06c7 23:28:52 Step 7/21 : COPY VERSION /tmp/sdk 23:28:52 ---> 8fdf7a430006 23:28:52 Step 8/21 : COPY src /tmp/sdk/src 23:28:52 ---> 4f1df85a39d3 23:28:52 Step 9/21 : COPY include /tmp/sdk/include 23:28:53 ---> a8e52a5cb806 23:28:53 Step 10/21 : COPY scripts /tmp/sdk/scripts 23:28:53 ---> aa4655ed2c30 23:28:53 Step 11/21 : COPY LICENSE /tmp/sdk 23:28:53 ---> e0a89cbd14f9 23:28:53 Step 12/21 : COPY Attribution.txt /tmp/sdk 23:28:54 ---> e3cd199ec5df 23:28:54 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 23:28:54 ---> Running in 3aa852ee291d 23:28:54 + CPPCHECK=false 23:28:54 + DOCGEN=false 23:28:54 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 23:28:54 + '[' 0 -gt 0 ] 23:28:54 + readlink -f ./scripts/build.sh 23:28:54 + dirname /tmp/sdk/scripts/build.sh 23:28:54 + dirname /tmp/sdk/scripts 23:28:54 + ROOT=/tmp/sdk 23:28:54 + cd /tmp/sdk 23:28:54 + mkdir -p /tmp/sdk/build/release 23:28:54 + cd /tmp/sdk/build/release 23:28:54 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 23:28:54 -- The C compiler identification is GNU 11.2.1 23:28:54 -- Detecting C compiler ABI info 23:28:54 -- Detecting C compiler ABI info - done 23:28:54 -- Check for working C compiler: /usr/bin/cc - skipped 23:28:54 -- Detecting C compile features 23:28:54 -- Detecting C compile features - done 23:28:54 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 23:28:54 -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") 23:28:54 -- Found LIBYAML: /usr/lib/libyaml.so 23:28:54 -- Found LIBUUID: /usr/lib/libuuid.so 23:28:54 -- Found LIBCBOR: /usr/lib/libcbor.so 23:28:54 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 23:28:54 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 23:28:54 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 23:28:54 -- /opt/iotech/iot/1.5/include 23:28:54 -- C SDK 3.1.0-dev.8 for Linux 23:28:54 -- Performing Test CSDK_HAVE_ATOMIC 23:28:54 -- Performing Test CSDK_HAVE_ATOMIC - Success 23:28:54 -- Found Curses: /usr/lib/libcurses.so 23:28:54 -- Configuring done 23:28:54 -- Generating done 23:28:54 -- Build files have been written to: /tmp/sdk/build/release 23:28:54 + make all package 23:28:54 + tee release.log 23:28:55 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 23:28:55 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 23:28:55 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 23:28:55 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 23:28:55 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 23:28:55 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 23:28:56 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 23:28:56 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 23:28:56 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 23:28:56 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 23:28:56 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 23:28:57 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 23:28:57 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 23:28:57 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 23:28:57 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 23:28:57 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 23:28:57 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 23:28:58 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 23:28:58 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 23:28:58 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 23:28:58 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 23:28:59 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 23:28:59 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 23:28:59 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 23:28:59 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 23:28:59 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 23:28:59 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 23:29:00 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 23:29:00 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 23:29:00 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 23:29:00 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 23:29:01 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 23:29:01 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 23:29:01 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 23:29:01 [ 68%] Linking C shared library libcsdk.so 23:29:01 [ 68%] Built target csdk 23:29:01 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 23:29:01 [ 72%] Linking C executable template 23:29:01 [ 72%] Built target template 23:29:01 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 23:29:01 [ 76%] Linking C executable device-counter 23:29:01 [ 76%] Built target device-counter 23:29:01 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 23:29:02 [ 80%] Linking C executable device-random 23:29:02 [ 80%] Built target device-random 23:29:02 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 23:29:02 [ 84%] Linking C executable device-gyro 23:29:02 [ 84%] Built target device-gyro 23:29:02 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 23:29:02 [ 88%] Linking C executable device-bitfields 23:29:02 [ 88%] Built target device-bitfields 23:29:02 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 23:29:02 [ 92%] Linking C executable template-discovery 23:29:02 [ 92%] Built target template-discovery 23:29:02 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 23:29:02 [ 96%] Linking C executable device-file 23:29:02 [ 96%] Built target device-file 23:29:02 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 23:29:02 [100%] Linking C executable device-terminal 23:29:03 [100%] Built target device-terminal 23:29:03 Run CPack packaging tool... 23:29:03 CPack: Create package using TGZ 23:29:03 CPack: Install projects 23:29:03 CPack: - Run preinstall target for: Csdk 23:29:03 CPack: - Install project: Csdk [] 23:29:03 CPack: Create package 23:29:03 CPack: - package: /tmp/sdk/build/release/csdk-3.1.0-dev.8.tar.gz generated. 23:29:03 + '[' false '=' true ] 23:29:03 + '[' false '=' true ] 23:29:03 + mkdir -p /tmp/sdk/build/debug 23:29:03 + cd /tmp/sdk/build/debug 23:29:03 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 23:29:03 -- The C compiler identification is GNU 11.2.1 23:29:03 -- Detecting C compiler ABI info 23:29:03 -- Detecting C compiler ABI info - done 23:29:03 -- Check for working C compiler: /usr/bin/cc - skipped 23:29:03 -- Detecting C compile features 23:29:03 -- Detecting C compile features - done 23:29:03 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 23:29:03 -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") 23:29:03 -- Found LIBYAML: /usr/lib/libyaml.so 23:29:03 -- Found LIBUUID: /usr/lib/libuuid.so 23:29:03 -- Found LIBCBOR: /usr/lib/libcbor.so 23:29:03 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 23:29:03 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 23:29:03 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 23:29:03 -- /opt/iotech/iot/1.5/include 23:29:03 -- C SDK 3.1.0-dev.8 for Linux 23:29:03 -- Performing Test CSDK_HAVE_ATOMIC 23:29:03 -- Performing Test CSDK_HAVE_ATOMIC - Success 23:29:03 -- Found Curses: /usr/lib/libcurses.so 23:29:03 -- Configuring done 23:29:03 -- Generating done 23:29:03 -- Build files have been written to: /tmp/sdk/build/debug 23:29:03 + make 23:29:03 + tee debug.log 23:29:03 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 23:29:03 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 23:29:03 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 23:29:03 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 23:29:04 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 23:29:04 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 23:29:04 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 23:29:04 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 23:29:04 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 23:29:04 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 23:29:04 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 23:29:04 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 23:29:04 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 23:29:04 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 23:29:04 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 23:29:04 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 23:29:05 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 23:29:05 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 23:29:05 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 23:29:05 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 23:29:05 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 23:29:05 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 23:29:05 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 23:29:05 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 23:29:06 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 23:29:06 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 23:29:06 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 23:29:06 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 23:29:06 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 23:29:06 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 23:29:06 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 23:29:06 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 23:29:06 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 23:29:06 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 23:29:06 [ 68%] Linking C shared library libcsdk.so 23:29:07 [ 68%] Built target csdk 23:29:07 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 23:29:07 [ 72%] Linking C executable template 23:29:07 [ 72%] Built target template 23:29:07 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 23:29:07 [ 76%] Linking C executable device-counter 23:29:07 [ 76%] Built target device-counter 23:29:07 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 23:29:07 [ 80%] Linking C executable device-random 23:29:07 [ 80%] Built target device-random 23:29:07 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 23:29:07 [ 84%] Linking C executable device-gyro 23:29:07 [ 84%] Built target device-gyro 23:29:07 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 23:29:07 [ 88%] Linking C executable device-bitfields 23:29:07 [ 88%] Built target device-bitfields 23:29:07 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 23:29:07 [ 92%] Linking C executable template-discovery 23:29:07 [ 92%] Built target template-discovery 23:29:07 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 23:29:07 [ 96%] Linking C executable device-file 23:29:07 [ 96%] Built target device-file 23:29:07 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 23:29:08 [100%] Linking C executable device-terminal 23:29:08 [100%] Built target device-terminal 23:29:08 make: Entering directory '/tmp/sdk/build/release' 23:29:08 make[1]: Entering directory '/tmp/sdk/build/release' 23:29:08 make[2]: Entering directory '/tmp/sdk/build/release' 23:29:08 make[2]: Leaving directory '/tmp/sdk/build/release' 23:29:08 [ 68%] Built target csdk 23:29:08 make[2]: Entering directory '/tmp/sdk/build/release' 23:29:08 make[2]: Leaving directory '/tmp/sdk/build/release' 23:29:08 [ 72%] Built target template 23:29:08 make[2]: Entering directory '/tmp/sdk/build/release' 23:29:08 make[2]: Leaving directory '/tmp/sdk/build/release' 23:29:08 [ 76%] Built target device-counter 23:29:08 make[2]: Entering directory '/tmp/sdk/build/release' 23:29:08 make[2]: Leaving directory '/tmp/sdk/build/release' 23:29:08 [ 80%] Built target device-random 23:29:08 make[2]: Entering directory '/tmp/sdk/build/release' 23:29:08 make[2]: Leaving directory '/tmp/sdk/build/release' 23:29:08 [ 84%] Built target device-gyro 23:29:08 make[2]: Entering directory '/tmp/sdk/build/release' 23:29:08 make[2]: Leaving directory '/tmp/sdk/build/release' 23:29:08 [ 88%] Built target device-bitfields 23:29:08 make[2]: Entering directory '/tmp/sdk/build/release' 23:29:08 make[2]: Leaving directory '/tmp/sdk/build/release' 23:29:08 [ 92%] Built target template-discovery 23:29:08 make[2]: Entering directory '/tmp/sdk/build/release' 23:29:08 make[2]: Leaving directory '/tmp/sdk/build/release' 23:29:08 [ 96%] Built target device-file 23:29:08 make[2]: Entering directory '/tmp/sdk/build/release' 23:29:08 make[2]: Leaving directory '/tmp/sdk/build/release' 23:29:08 [100%] Built target device-terminal 23:29:08 make[1]: Leaving directory '/tmp/sdk/build/release' 23:29:08 Install the project... 23:29:08 -- Install configuration: "Release" 23:29:08 -- Installing: /usr/local/lib/libcsdk.so 23:29:08 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 23:29:08 -- Installing: /usr/local/include 23:29:08 -- Installing: /usr/local/include/devsdk 23:29:08 -- Installing: /usr/local/include/devsdk/devsdk.h 23:29:08 -- Installing: /usr/local/include/devsdk/devsdk-base.h 23:29:08 -- Installing: /usr/local/include/edgex 23:29:08 -- Installing: /usr/local/include/edgex/edgex.h 23:29:08 -- Installing: /usr/local/include/edgex/devices.h 23:29:08 -- Installing: /usr/local/include/edgex/profiles.h 23:29:08 -- Installing: /usr/local/include/edgex/edgex-base.h 23:29:08 -- Installing: /usr/local/include/edgex/rest-server.h 23:29:08 -- Installing: /usr/local/include/edgex/csdk-defs.h 23:29:08 -- Installing: /usr/local/share/device-sdk-c/LICENSE 23:29:08 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 23:29:08 make: Leaving directory '/tmp/sdk/build/release' 23:29:09 Removing intermediate container 3aa852ee291d 23:29:09 ---> 7f1029307a44 23:29:09 Step 14/21 : FROM ${BASE} 23:29:09 ---> e83ffa357ff4 23:29:09 Step 15/21 : LABEL maintainer="IOTech " 23:29:09 ---> Running in 5bd330f23002 23:29:09 Removing intermediate container 5bd330f23002 23:29:09 ---> dbd05f381049 23:29:09 Step 16/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 23:29:09 ---> Running in dd22f0b69ae2 23:29:10 Connecting to iotech.jfrog.io (52.212.187.237:443) 23:29:10 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 23:29:10 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 23:29:10 '/etc/apk/keys/alpine.dev.rsa.pub' saved 23:29:10 Removing intermediate container dd22f0b69ae2 23:29:10 ---> 5fa14a02319f 23:29:10 Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 23:29:11 ---> Running in aac0c866a235 23:29:12 Removing intermediate container aac0c866a235 23:29:12 ---> 1915e0867f71 23:29:12 Step 18/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor paho-mqtt-c-dev-1.3 iotech-iot-1.4 hiredis-dev 23:29:12 ---> Running in 24d28c78bd67 23:29:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:29:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:29:12 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 23:29:13 WARNING: This apk-tools is OLD! Some packages might not function properly. 23:29:13 (1/7) Installing curl (8.2.1-r0) 23:29:13 (2/7) Installing hiredis (1.0.2-r0) 23:29:13 (3/7) Installing hiredis-dev (1.0.2-r0) 23:29:13 (4/7) Installing iotech-iot-1.4 (1.4.2-r0) 23:29:14 (5/7) Installing libcbor (0.9.0-r1) 23:29:14 (6/7) Installing libuuid (2.38-r1) 23:29:14 (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 23:29:14 Executing busybox-1.35.0-r17.trigger 23:29:14 OK: 276 MiB in 83 packages 23:29:15 Removing intermediate container 24d28c78bd67 23:29:15 ---> 1886285c2bf7 23:29:15 Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 23:29:15 ---> 1110b01b510a 23:29:15 Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib 23:29:16 ---> 3826d90b6432 23:29:16 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 23:29:16 ---> 66563c332cb7 23:29:16 Successfully built 66563c332cb7 23:29:16 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:29:17 + docker inspect -f . ci-base-image-x86_64 23:29:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:29:17 prd-ubuntu20.04-docker-8c-8g-3072 does not seem to be running inside a container 23:29:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:29:17 $ docker top 34809c7c10ad2f38ba6701f3f7f7ed014a4717b9bc60b4ad397f6fc501a840f2 -eo pid,comm [Pipeline] { [Pipeline] sh 23:29:18 + make test 23:29:18 echo "make test" 23:29:18 make test [Pipeline] } 23:29:18 $ docker stop --time=1 34809c7c10ad2f38ba6701f3f7f7ed014a4717b9bc60b4ad397f6fc501a840f2 23:29:19 $ docker rm -f --volumes 34809c7c10ad2f38ba6701f3f7f7ed014a4717b9bc60b4ad397f6fc501a840f2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:29:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:29:20 + ls -al . 23:29:20 total 212 23:29:20 drwxrwxr-x 9 jenkins jenkins 4096 Aug 7 23:28 . 23:29:20 drwxrwxr-x 4 jenkins jenkins 4096 Aug 7 23:27 .. 23:29:20 drwxrwxr-x 8 jenkins jenkins 4096 Aug 7 23:28 .git 23:29:20 drwxrwxr-x 2 jenkins jenkins 4096 Aug 7 23:27 .github 23:29:20 -rw-rw-r-- 1 jenkins jenkins 176 Aug 7 23:27 .gitignore 23:29:20 drwxr-xr-x 3 jenkins jenkins 4096 Aug 7 23:28 .semver 23:29:20 -rw-rw-r-- 1 jenkins jenkins 2908 Aug 7 23:27 Attribution.txt 23:29:20 -rw-rw-r-- 1 jenkins jenkins 9268 Aug 7 23:27 CHANGES 23:29:20 -rw-rw-r-- 1 jenkins jenkins 108574 Aug 7 23:27 Doxyfile 23:29:20 -rw-rw-r-- 1 jenkins jenkins 677 Aug 7 23:27 GOVERNANCE.md 23:29:20 -rw-rw-r-- 1 jenkins jenkins 784 Aug 7 23:27 Jenkinsfile 23:29:20 -rw-rw-r-- 1 jenkins jenkins 10174 Aug 7 23:27 LICENSE 23:29:20 -rw-rw-r-- 1 jenkins jenkins 444 Aug 7 23:27 Makefile 23:29:20 -rw-rw-r-- 1 jenkins jenkins 618 Aug 7 23:27 OWNERS.md 23:29:20 -rw-rw-r-- 1 jenkins jenkins 1651 Aug 7 23:27 README.IOT.md 23:29:20 -rw-rw-r-- 1 jenkins jenkins 4215 Aug 7 23:27 README.md 23:29:20 -rw-rw-r-- 1 jenkins jenkins 1245 Aug 7 23:27 README.v3.md 23:29:20 -rw-rw-r-- 1 jenkins jenkins 11 Aug 7 23:28 VERSION 23:29:20 drwxrwxr-x 2 jenkins jenkins 4096 Aug 7 23:27 docs 23:29:20 drwxrwxr-x 4 jenkins jenkins 4096 Aug 7 23:27 include 23:29:20 drwxrwxr-x 2 jenkins jenkins 4096 Aug 7 23:27 scripts 23:29:20 drwxrwxr-x 4 jenkins jenkins 4096 Aug 7 23:27 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:29:20 + docker build -t device-sdk -f scripts/Dockerfile.alpine --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=ed51e6acf64310a02c241751e963c5ca7bfef27d --label arch=amd64 --label version=3.1.0-dev.8 . 23:29:20 Sending build context to Docker daemon 4.867MB 23:29:20 Step 1/17 : ARG BASE=alpine:3.16 23:29:20 Step 2/17 : FROM ${BASE} 23:29:20 ---> 66563c332cb7 23:29:20 Step 3/17 : LABEL maintainer="IOTech " 23:29:21 ---> Running in 28d33b4ac5ac 23:29:21 Removing intermediate container 28d33b4ac5ac 23:29:21 ---> 5d3e407db5a6 23:29:21 Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 23:29:21 ---> Running in d671777b5452 23:29:21 Connecting to iotech.jfrog.io (52.213.100.220:443) 23:29:22 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 23:29:22 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 23:29:22 '/etc/apk/keys/alpine.dev.rsa.pub' saved 23:29:22 Removing intermediate container d671777b5452 23:29:22 ---> 855e54c296f2 23:29:22 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 23:29:22 ---> Running in abfd78a3ccbf 23:29:23 Removing intermediate container abfd78a3ccbf 23:29:23 ---> b3dc3afba5e7 23:29:23 Step 6/17 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev && mkdir -p /edgex-c-sdk/build 23:29:23 ---> Running in 4851f03efa87 23:29:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:29:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:29:24 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 23:29:24 WARNING: This apk-tools is OLD! Some packages might not function properly. 23:29:24 (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) 23:29:24 (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) 23:29:24 (3/11) Installing iotech-iot-1.5 (1.5.0-r0) 23:29:25 (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) 23:29:25 (5/11) Installing libcbor-dev (0.9.0-r1) 23:29:25 (6/11) Installing ncurses-dev (6.3_p20220521-r1) 23:29:25 (7/11) Installing libblkid (2.38-r1) 23:29:25 (8/11) Installing libfdisk (2.38-r1) 23:29:25 (9/11) Installing libmount (2.38-r1) 23:29:25 (10/11) Installing libsmartcols (2.38-r1) 23:29:25 (11/11) Installing util-linux-dev (2.38-r1) 23:29:25 Executing busybox-1.35.0-r17.trigger 23:29:25 OK: 281 MiB in 92 packages 23:29:26 Removing intermediate container 4851f03efa87 23:29:26 ---> fbbf06ad230a 23:29:26 Step 7/17 : COPY VERSION /edgex-c-sdk/ 23:29:26 ---> 51ef71288ce0 23:29:26 Step 8/17 : COPY src /edgex-c-sdk/src/ 23:29:27 ---> daaafe139eeb 23:29:27 Step 9/17 : COPY include /edgex-c-sdk/include/ 23:29:27 ---> d625d71adbb7 23:29:27 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 23:29:27 ---> d95a687a6f5a 23:29:27 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 23:29:28 ---> 7ad6caf1a12a 23:29:28 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 23:29:28 ---> 3173c6222b8e 23:29:28 Step 13/17 : WORKDIR /edgex-c-sdk 23:29:28 ---> Running in 67079e49d323 23:29:28 Removing intermediate container 67079e49d323 23:29:28 ---> a804e966fc2a 23:29:28 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 23:29:28 ---> Running in ab9aae68dca0 23:29:28 Removing intermediate container ab9aae68dca0 23:29:28 ---> 1372e894340c 23:29:28 Step 15/17 : LABEL arch=amd64 23:29:28 ---> Running in 4b47e1563be7 23:29:28 Removing intermediate container 4b47e1563be7 23:29:28 ---> f4297e0ae2c1 23:29:28 Step 16/17 : LABEL git_sha=ed51e6acf64310a02c241751e963c5ca7bfef27d 23:29:28 ---> Running in 33b7f8e93d22 23:29:29 Removing intermediate container 33b7f8e93d22 23:29:29 ---> 909ded7fab64 23:29:29 Step 17/17 : LABEL version=3.1.0-dev.8 23:29:29 ---> Running in 2a485823d26b 23:29:29 Removing intermediate container 2a485823d26b 23:29:29 ---> 5585c930d5cf 23:29:29 [Warning] One or more build-args [MAKE ARCH] were not consumed 23:29:29 Successfully built 5585c930d5cf 23:29:29 Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:29:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:29:29 23:29:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:29:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:29:30 latest: Pulling from edgex-lftools-log-publisher 23:29:30 5eb5b503b376: Pulling fs layer 23:29:30 5c69ac0246d0: Pulling fs layer 23:29:30 ec43610c2a17: Pulling fs layer 23:29:30 3a2ae6a8a46f: Pulling fs layer 23:29:30 33b1e0a273af: Pulling fs layer 23:29:30 5d3b04190fa2: Pulling fs layer 23:29:30 2f39f015ded8: Pulling fs layer 23:29:30 33b1e0a273af: Waiting 23:29:30 5d3b04190fa2: Waiting 23:29:30 2f39f015ded8: Waiting 23:29:30 3a2ae6a8a46f: Waiting 23:29:30 5c69ac0246d0: Verifying Checksum 23:29:30 5c69ac0246d0: Download complete 23:29:30 3a2ae6a8a46f: Verifying Checksum 23:29:30 3a2ae6a8a46f: Download complete 23:29:30 33b1e0a273af: Verifying Checksum 23:29:30 33b1e0a273af: Download complete 23:29:30 ec43610c2a17: Verifying Checksum 23:29:30 ec43610c2a17: Download complete 23:29:30 5d3b04190fa2: Download complete 23:29:30 5eb5b503b376: Download complete 23:29:30 2f39f015ded8: Download complete 23:29:31 5eb5b503b376: Pull complete 23:29:31 5c69ac0246d0: Pull complete 23:29:31 ec43610c2a17: Pull complete 23:29:32 3a2ae6a8a46f: Pull complete 23:29:32 33b1e0a273af: Pull complete 23:29:32 5d3b04190fa2: Pull complete 23:29:37 2f39f015ded8: Pull complete 23:29:37 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:29:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:29:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:29:37 prd-ubuntu20.04-docker-8c-8g-3072 does not seem to be running inside a container 23:29:37 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:29:44 $ docker top 76002de13004e23b6a64670d4cbc871b25f46637f2b4757d3a654863e21da964 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:29:44 ---> job-cost.sh 23:29:44 lf-activate-venv: SKIPPING 23:29:44 INFO: No Stack... 23:29:44 INFO: Retrieving Pricing Info for: v3-standard-8 23:29:44 INFO: Archiving Costs [Pipeline] sh 23:29:45 + cut -d, -f6 23:29:45 + cat /w/workspace/edgexfoundry_device-sdk-c_main/archives/cost.csv [Pipeline] lock 23:29:45 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-57-stack-cost] 23:29:45 Resource [jenkins-edgexfoundry-device-sdk-c-main-57-stack-cost] did not exist. Created. 23:29:45 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-57-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:29:45 + echo total: 0.2199999988079071 [Pipeline] stash 23:29:45 Stashed 1 file(s) [Pipeline] } 23:29:45 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-57-stack-cost] [Pipeline] // lock [Pipeline] } 23:29:45 $ docker stop --time=1 76002de13004e23b6a64670d4cbc871b25f46637f2b4757d3a654863e21da964 23:29:46 $ docker rm -f --volumes 76002de13004e23b6a64670d4cbc871b25f46637f2b4757d3a654863e21da964 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:30:13 Running on prd-ubuntu20.04-docker-arm64-4c-16g-3073 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] ws 23:30:13 Running in /w/workspace/device-sdk-c/57 [Pipeline] { [Pipeline] checkout 23:30:13 Selected Git installation does not exist. Using Default 23:30:13 The recommended git tool is: NONE 23:30:18 using credential edgex-jenkins-ssh 23:30:18 Cloning the remote Git repository 23:30:18 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 23:30:18 > git init /w/workspace/device-sdk-c/57 # timeout=10 23:30:18 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 23:30:18 > git --version # timeout=10 23:30:18 > git --version # 'git version 2.25.1' 23:30:18 using GIT_SSH to set credentials SSH Credentials for GitHub 23:30:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:30:20 Avoid second fetch 23:30:20 Checking out Revision ed51e6acf64310a02c241751e963c5ca7bfef27d (main) 23:30:19 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 23:30:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:30:20 > git config core.sparsecheckout # timeout=10 23:30:20 > git checkout -f ed51e6acf64310a02c241751e963c5ca7bfef27d # timeout=10 23:30:21 Commit message: "Merge pull request #473 from FelixTing/issue-472" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:30:22 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:30:22 % Total % Received % Xferd Average Speed Time Time Time Current 23:30:22 Dload Upload Total Spent Left Speed 23:30:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 68187 0 --:--:-- --:--:-- --:--:-- 67824 100 12751 100 12751 0 0 67824 0 --:--:-- --:--:-- --:--:-- 67465 [Pipeline] sh 23:30:22 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:30:23 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:30:23 + sudo tee /etc/docker/daemon.new 23:30:23 { 23:30:23 "registry-mirrors": [ 23:30:23 "https://nexus3.edgexfoundry.org:10001" 23:30:23 ], 23:30:23 "bip": "10.250.0.254/24", 23:30:23 "hosts": [ 23:30:23 "tcp://0.0.0.0:5555", 23:30:23 "unix:///var/run/docker.sock" 23:30:23 ], 23:30:23 "mtu": 1458, 23:30:23 "selinux-enabled": true, 23:30:23 "seccomp-profile": "/etc/docker/seccomp.json" 23:30:23 } [Pipeline] sh 23:30:23 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:30:23 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:30:42 provisioning config files... 23:30:42 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/57@tmp/config4933093872159810593tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:30:42 ---> docker-login.sh 23:30:42 nexus3.edgexfoundry.org:10001 23:30:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:30:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:30:42 Configure a credential helper to remove this warning. See 23:30:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:30:42 23:30:42 Login Succeeded 23:30:42 nexus3.edgexfoundry.org:10002 23:30:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:30:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:30:43 Configure a credential helper to remove this warning. See 23:30:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:30:43 23:30:43 Login Succeeded 23:30:43 nexus3.edgexfoundry.org:10003 23:30:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:30:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:30:43 Configure a credential helper to remove this warning. See 23:30:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:30:43 23:30:43 Login Succeeded 23:30:43 nexus3.edgexfoundry.org:10004 23:30:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:30:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:30:44 Configure a credential helper to remove this warning. See 23:30:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:30:44 23:30:44 Login Succeeded 23:30:44 docker.io 23:30:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:30:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:30:44 Configure a credential helper to remove this warning. See 23:30:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:30:44 23:30:44 Login Succeeded 23:30:44 ---> docker-login.sh ends [Pipeline] } 23:30:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:30:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:30:44 [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo 23:30:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:30:44 ========================================================= 23:30:44 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 23:30:44 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:30:45 + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . 23:30:45 Sending build context to Docker daemon 2.909MB 23:30:45 Step 1/21 : ARG BASE=alpine:3.16 23:30:45 Step 2/21 : FROM ${BASE} as builder 23:30:45 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 23:30:45 547446be3368: Pulling fs layer 23:30:45 76bd08e1cacc: Pulling fs layer 23:30:45 547446be3368: Verifying Checksum 23:30:45 547446be3368: Download complete 23:30:46 547446be3368: Pull complete 23:30:48 76bd08e1cacc: Download complete 23:30:56 76bd08e1cacc: Pull complete 23:30:56 Digest: sha256:e2ae639067a511a7973e9e369d25ddd915310c8cf663528363fa06e26cb01fbe 23:30:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 23:30:56 ---> 295cd00e64f4 23:30:56 Step 3/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 23:30:56 ---> Running in 7e934efeeebd 23:30:57 Connecting to iotech.jfrog.io (52.50.11.76:443) 23:30:58 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 23:30:58 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 23:30:58 '/etc/apk/keys/alpine.dev.rsa.pub' saved 23:30:58 Removing intermediate container 7e934efeeebd 23:30:58 ---> f168d57a34ba 23:30:58 Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 23:30:58 ---> Running in 4242f61f7942 23:31:00 Removing intermediate container 4242f61f7942 23:31:00 ---> d7f07264fd02 23:31:00 Step 5/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev 23:31:00 ---> Running in 9c0b21ab882f 23:31:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:31:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:31:02 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz 23:31:02 WARNING: This apk-tools is OLD! Some packages might not function properly. 23:31:03 (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) 23:31:03 (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) 23:31:03 (3/16) Installing hiredis (1.0.2-r0) 23:31:03 (4/16) Installing hiredis-dev (1.0.2-r0) 23:31:03 (5/16) Installing iotech-iot-1.5 (1.5.0-r0) 23:31:03 (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) 23:31:03 (7/16) Installing libcbor (0.9.0-r1) 23:31:03 (8/16) Installing libcbor-dev (0.9.0-r1) 23:31:03 (9/16) Installing ncurses-dev (6.3_p20220521-r1) 23:31:03 (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 23:31:04 (11/16) Installing libblkid (2.38-r1) 23:31:04 (12/16) Installing libuuid (2.38-r1) 23:31:04 (13/16) Installing libfdisk (2.38-r1) 23:31:04 (14/16) Installing libmount (2.38-r1) 23:31:04 (15/16) Installing libsmartcols (2.38-r1) 23:31:04 (16/16) Installing util-linux-dev (2.38-r1) 23:31:04 Executing busybox-1.35.0-r17.trigger 23:31:04 OK: 286 MiB in 90 packages 23:31:05 Removing intermediate container 9c0b21ab882f 23:31:05 ---> 15f88d3e023d 23:31:05 Step 6/21 : RUN mkdir /tmp/sdk 23:31:06 ---> Running in 543f4f079b66 23:31:10 Removing intermediate container 543f4f079b66 23:31:10 ---> b5f225baf296 23:31:10 Step 7/21 : COPY VERSION /tmp/sdk 23:31:10 ---> b0946668b397 23:31:10 Step 8/21 : COPY src /tmp/sdk/src 23:31:11 ---> 7c8f4160ac0d 23:31:11 Step 9/21 : COPY include /tmp/sdk/include 23:31:12 ---> 21c1df4a1859 23:31:12 Step 10/21 : COPY scripts /tmp/sdk/scripts 23:31:12 ---> e143cf1a1ec2 23:31:12 Step 11/21 : COPY LICENSE /tmp/sdk 23:31:13 ---> 0fcdaaa9729b 23:31:13 Step 12/21 : COPY Attribution.txt /tmp/sdk 23:31:13 ---> 7b5a4fc4e544 23:31:13 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 23:31:13 ---> Running in 1177dd434736 23:31:14 + CPPCHECK=false 23:31:14 + DOCGEN=false 23:31:14 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 23:31:14 + '[' 0 -gt 0 ] 23:31:14 + readlink -f ./scripts/build.sh 23:31:14 + dirname /tmp/sdk/scripts/build.sh 23:31:14 + dirname /tmp/sdk/scripts 23:31:14 + ROOT=/tmp/sdk 23:31:14 + cd /tmp/sdk 23:31:14 + mkdir -p /tmp/sdk/build/release 23:31:14 + cd /tmp/sdk/build/release 23:31:14 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 23:31:14 -- The C compiler identification is GNU 11.2.1 23:31:14 -- Detecting C compiler ABI info 23:31:15 -- Detecting C compiler ABI info - done 23:31:15 -- Check for working C compiler: /usr/bin/cc - skipped 23:31:15 -- Detecting C compile features 23:31:15 -- Detecting C compile features - done 23:31:15 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 23:31:15 -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") 23:31:15 -- Found LIBYAML: /usr/lib/libyaml.so 23:31:15 -- Found LIBUUID: /usr/lib/libuuid.so 23:31:15 -- Found LIBCBOR: /usr/lib/libcbor.so 23:31:15 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 23:31:15 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 23:31:15 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 23:31:15 -- /opt/iotech/iot/1.5/include 23:31:15 -- C SDK 3.1.0-dev.8 for Linux 23:31:15 -- Performing Test CSDK_HAVE_ATOMIC 23:31:15 -- Performing Test CSDK_HAVE_ATOMIC - Success 23:31:15 -- Found Curses: /usr/lib/libcurses.so 23:31:16 -- Configuring done 23:31:16 -- Generating done 23:31:16 -- Build files have been written to: /tmp/sdk/build/release 23:31:16 + + maketee all release.log package 23:31:16 23:31:16 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 23:31:17 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 23:31:18 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 23:31:19 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 23:31:19 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 23:31:20 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 23:31:22 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 23:31:24 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 23:31:24 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 23:31:25 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 23:31:27 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 23:31:27 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 23:31:28 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 23:31:29 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 23:31:30 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 23:31:31 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 23:31:31 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 23:31:34 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 23:31:34 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 23:31:35 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 23:31:36 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 23:31:41 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 23:31:42 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 23:31:42 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 23:31:43 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 23:31:43 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 23:31:45 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 23:31:48 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 23:31:48 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 23:31:49 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 23:31:50 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 23:31:53 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 23:31:54 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 23:31:54 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 23:31:54 [ 68%] Linking C shared library libcsdk.so 23:31:55 [ 68%] Built target csdk 23:31:55 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 23:31:56 [ 72%] Linking C executable template 23:31:56 [ 72%] Built target template 23:31:56 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 23:31:57 [ 76%] Linking C executable device-counter 23:31:57 [ 76%] Built target device-counter 23:31:57 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 23:31:57 [ 80%] Linking C executable device-random 23:31:58 [ 80%] Built target device-random 23:31:58 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 23:31:58 [ 84%] Linking C executable device-gyro 23:31:59 [ 84%] Built target device-gyro 23:31:59 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 23:31:59 [ 88%] Linking C executable device-bitfields 23:31:59 [ 88%] Built target device-bitfields 23:31:59 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 23:32:00 [ 92%] Linking C executable template-discovery 23:32:01 [ 92%] Built target template-discovery 23:32:01 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 23:32:02 [ 96%] Linking C executable device-file 23:32:02 [ 96%] Built target device-file 23:32:02 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 23:32:03 [100%] Linking C executable device-terminal 23:32:03 [100%] Built target device-terminal 23:32:03 Run CPack packaging tool... 23:32:03 CPack: Create package using TGZ 23:32:03 CPack: Install projects 23:32:03 CPack: - Run preinstall target for: Csdk 23:32:04 CPack: - Install project: Csdk [] 23:32:04 CPack: Create package 23:32:04 CPack: - package: /tmp/sdk/build/release/csdk-3.1.0-dev.8.tar.gz generated. 23:32:04 + '[' false '=' true ] 23:32:04 + '[' false '=' true ] 23:32:04 + mkdir -p /tmp/sdk/build/debug 23:32:04 + cd /tmp/sdk/build/debug 23:32:04 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 23:32:04 -- The C compiler identification is GNU 11.2.1 23:32:04 -- Detecting C compiler ABI info 23:32:05 -- Detecting C compiler ABI info - done 23:32:05 -- Check for working C compiler: /usr/bin/cc - skipped 23:32:05 -- Detecting C compile features 23:32:05 -- Detecting C compile features - done 23:32:05 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 23:32:05 -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") 23:32:05 -- Found LIBYAML: /usr/lib/libyaml.so 23:32:05 -- Found LIBUUID: /usr/lib/libuuid.so 23:32:05 -- Found LIBCBOR: /usr/lib/libcbor.so 23:32:05 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 23:32:05 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 23:32:05 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 23:32:05 -- /opt/iotech/iot/1.5/include 23:32:05 -- C SDK 3.1.0-dev.8 for Linux 23:32:05 -- Performing Test CSDK_HAVE_ATOMIC 23:32:05 -- Performing Test CSDK_HAVE_ATOMIC - Success 23:32:05 -- Found Curses: /usr/lib/libcurses.so 23:32:06 -- Configuring done 23:32:06 -- Generating done 23:32:06 -- Build files have been written to: /tmp/sdk/build/debug 23:32:06 + + maketee 23:32:06 debug.log 23:32:06 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 23:32:06 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 23:32:07 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 23:32:07 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 23:32:08 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 23:32:08 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 23:32:09 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 23:32:09 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 23:32:09 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 23:32:10 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 23:32:10 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 23:32:11 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 23:32:11 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 23:32:12 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 23:32:12 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 23:32:12 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 23:32:13 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 23:32:14 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 23:32:14 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 23:32:14 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 23:32:15 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 23:32:16 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 23:32:16 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 23:32:17 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 23:32:17 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 23:32:18 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 23:32:18 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 23:32:20 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 23:32:20 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 23:32:20 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 23:32:21 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 23:32:22 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 23:32:22 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 23:32:22 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 23:32:23 [ 68%] Linking C shared library libcsdk.so 23:32:23 [ 68%] Built target csdk 23:32:23 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 23:32:23 [ 72%] Linking C executable template 23:32:24 [ 72%] Built target template 23:32:24 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 23:32:24 [ 76%] Linking C executable device-counter 23:32:24 [ 76%] Built target device-counter 23:32:24 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 23:32:25 [ 80%] Linking C executable device-random 23:32:25 [ 80%] Built target device-random 23:32:25 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 23:32:25 [ 84%] Linking C executable device-gyro 23:32:25 [ 84%] Built target device-gyro 23:32:26 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 23:32:26 [ 88%] Linking C executable device-bitfields 23:32:26 [ 88%] Built target device-bitfields 23:32:26 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 23:32:27 [ 92%] Linking C executable template-discovery 23:32:27 [ 92%] Built target template-discovery 23:32:27 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 23:32:27 [ 96%] Linking C executable device-file 23:32:28 [ 96%] Built target device-file 23:32:28 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 23:32:28 [100%] Linking C executable device-terminal 23:32:28 [100%] Built target device-terminal 23:32:28 make: Entering directory '/tmp/sdk/build/release' 23:32:28 make[1]: Entering directory '/tmp/sdk/build/release' 23:32:28 make[2]: Entering directory '/tmp/sdk/build/release' 23:32:29 make[2]: Leaving directory '/tmp/sdk/build/release' 23:32:29 [ 68%] Built target csdk 23:32:29 make[2]: Entering directory '/tmp/sdk/build/release' 23:32:29 make[2]: Leaving directory '/tmp/sdk/build/release' 23:32:29 [ 72%] Built target template 23:32:29 make[2]: Entering directory '/tmp/sdk/build/release' 23:32:29 make[2]: Leaving directory '/tmp/sdk/build/release' 23:32:29 [ 76%] Built target device-counter 23:32:29 make[2]: Entering directory '/tmp/sdk/build/release' 23:32:29 make[2]: Leaving directory '/tmp/sdk/build/release' 23:32:29 [ 80%] Built target device-random 23:32:29 make[2]: Entering directory '/tmp/sdk/build/release' 23:32:29 make[2]: Leaving directory '/tmp/sdk/build/release' 23:32:29 [ 84%] Built target device-gyro 23:32:29 make[2]: Entering directory '/tmp/sdk/build/release' 23:32:29 make[2]: Leaving directory '/tmp/sdk/build/release' 23:32:29 [ 88%] Built target device-bitfields 23:32:29 make[2]: Entering directory '/tmp/sdk/build/release' 23:32:29 make[2]: Leaving directory '/tmp/sdk/build/release' 23:32:29 [ 92%] Built target template-discovery 23:32:29 make[2]: Entering directory '/tmp/sdk/build/release' 23:32:29 make[2]: Leaving directory '/tmp/sdk/build/release' 23:32:29 [ 96%] Built target device-file 23:32:29 make[2]: Entering directory '/tmp/sdk/build/release' 23:32:29 make[2]: Leaving directory '/tmp/sdk/build/release' 23:32:29 [100%] Built target device-terminal 23:32:29 make[1]: Leaving directory '/tmp/sdk/build/release' 23:32:29 Install the project... 23:32:29 -- Install configuration: "Release" 23:32:29 -- Installing: /usr/local/lib/libcsdk.so 23:32:29 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 23:32:29 -- Installing: /usr/local/include 23:32:29 -- Installing: /usr/local/include/devsdk 23:32:29 -- Installing: /usr/local/include/devsdk/devsdk.h 23:32:29 -- Installing: /usr/local/include/devsdk/devsdk-base.h 23:32:29 -- Installing: /usr/local/include/edgex 23:32:29 -- Installing: /usr/local/include/edgex/rest-server.h 23:32:29 -- Installing: /usr/local/include/edgex/edgex.h 23:32:29 -- Installing: /usr/local/include/edgex/edgex-base.h 23:32:29 -- Installing: /usr/local/include/edgex/devices.h 23:32:29 -- Installing: /usr/local/include/edgex/profiles.h 23:32:29 -- Installing: /usr/local/include/edgex/csdk-defs.h 23:32:29 -- Installing: /usr/local/share/device-sdk-c/LICENSE 23:32:29 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 23:32:29 make: Leaving directory '/tmp/sdk/build/release' 23:32:31 Removing intermediate container 1177dd434736 23:32:31 ---> e2aedfbc7edd 23:32:31 Step 14/21 : FROM ${BASE} 23:32:31 ---> 295cd00e64f4 23:32:31 Step 15/21 : LABEL maintainer="IOTech " 23:32:31 ---> Running in 5f2dbffa19c7 23:32:31 Removing intermediate container 5f2dbffa19c7 23:32:31 ---> 78475443ec57 23:32:31 Step 16/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 23:32:31 ---> Running in 50b1893df577 23:32:32 Connecting to iotech.jfrog.io (52.50.11.76:443) 23:32:32 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 23:32:32 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 23:32:32 '/etc/apk/keys/alpine.dev.rsa.pub' saved 23:32:33 Removing intermediate container 50b1893df577 23:32:33 ---> 28aa69cc595c 23:32:33 Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 23:32:33 ---> Running in c587c4d31a3b 23:32:34 Removing intermediate container c587c4d31a3b 23:32:34 ---> dc89cd1fd065 23:32:34 Step 18/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor paho-mqtt-c-dev-1.3 iotech-iot-1.4 hiredis-dev 23:32:34 ---> Running in 81f655bf1fb6 23:32:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:32:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:32:36 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz 23:32:37 WARNING: This apk-tools is OLD! Some packages might not function properly. 23:32:37 (1/7) Installing curl (8.2.1-r0) 23:32:37 (2/7) Installing hiredis (1.0.2-r0) 23:32:37 (3/7) Installing hiredis-dev (1.0.2-r0) 23:32:37 (4/7) Installing iotech-iot-1.4 (1.4.2-r0) 23:32:38 (5/7) Installing libcbor (0.9.0-r1) 23:32:38 (6/7) Installing libuuid (2.38-r1) 23:32:38 (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 23:32:39 Executing busybox-1.35.0-r17.trigger 23:32:39 OK: 281 MiB in 83 packages 23:32:40 Removing intermediate container 81f655bf1fb6 23:32:40 ---> 2d1d1bb5393e 23:32:40 Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 23:32:43 ---> fa79e8c55dfa 23:32:43 Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib 23:32:43 ---> 44f37fae62a6 23:32:43 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 23:32:44 ---> 34f67a00d527 23:32:44 Successfully built 34f67a00d527 23:32:44 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:32:44 + docker inspect -f . ci-base-image-arm64 23:32:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:32:44 prd-ubuntu20.04-docker-arm64-4c-16g-3073 does not seem to be running inside a container 23:32:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/57 -v /w/workspace/device-sdk-c/57:/w/workspace/device-sdk-c/57:rw,z -v /w/workspace/device-sdk-c/57@tmp:/w/workspace/device-sdk-c/57@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:32:46 $ docker top 722663e4adfb7f5a2865dae8b943c675b6730ac1edb054aaf56771968c0585df -eo pid,comm [Pipeline] { [Pipeline] sh 23:32:46 + make test 23:32:46 echo "make test" 23:32:46 make test [Pipeline] } 23:32:46 $ docker stop --time=1 722663e4adfb7f5a2865dae8b943c675b6730ac1edb054aaf56771968c0585df 23:32:48 $ docker rm -f --volumes 722663e4adfb7f5a2865dae8b943c675b6730ac1edb054aaf56771968c0585df [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:32:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:32:49 + ls -al . 23:32:49 total 208 23:32:49 drwxrwxr-x 8 jenkins jenkins 4096 Aug 7 23:30 . 23:32:49 drwxrwxr-x 4 jenkins jenkins 4096 Aug 7 23:30 .. 23:32:49 drwxrwxr-x 8 jenkins jenkins 4096 Aug 7 23:30 .git 23:32:49 drwxrwxr-x 2 jenkins jenkins 4096 Aug 7 23:30 .github 23:32:49 -rw-rw-r-- 1 jenkins jenkins 176 Aug 7 23:30 .gitignore 23:32:49 -rw-rw-r-- 1 jenkins jenkins 2908 Aug 7 23:30 Attribution.txt 23:32:49 -rw-rw-r-- 1 jenkins jenkins 9268 Aug 7 23:30 CHANGES 23:32:49 -rw-rw-r-- 1 jenkins jenkins 108574 Aug 7 23:30 Doxyfile 23:32:49 -rw-rw-r-- 1 jenkins jenkins 677 Aug 7 23:30 GOVERNANCE.md 23:32:49 -rw-rw-r-- 1 jenkins jenkins 784 Aug 7 23:30 Jenkinsfile 23:32:49 -rw-rw-r-- 1 jenkins jenkins 10174 Aug 7 23:30 LICENSE 23:32:49 -rw-rw-r-- 1 jenkins jenkins 444 Aug 7 23:30 Makefile 23:32:49 -rw-rw-r-- 1 jenkins jenkins 618 Aug 7 23:30 OWNERS.md 23:32:49 -rw-rw-r-- 1 jenkins jenkins 1651 Aug 7 23:30 README.IOT.md 23:32:49 -rw-rw-r-- 1 jenkins jenkins 4215 Aug 7 23:30 README.md 23:32:49 -rw-rw-r-- 1 jenkins jenkins 1245 Aug 7 23:30 README.v3.md 23:32:49 -rw-rw-r-- 1 jenkins jenkins 11 Aug 7 23:28 VERSION 23:32:49 drwxrwxr-x 2 jenkins jenkins 4096 Aug 7 23:30 docs 23:32:49 drwxrwxr-x 4 jenkins jenkins 4096 Aug 7 23:30 include 23:32:49 drwxrwxr-x 2 jenkins jenkins 4096 Aug 7 23:30 scripts 23:32:49 drwxrwxr-x 4 jenkins jenkins 4096 Aug 7 23:30 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:32:49 + docker build -t device-sdk-arm64 -f scripts/Dockerfile.alpine --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=ed51e6acf64310a02c241751e963c5ca7bfef27d --label arch=arm64 --label version=3.1.0-dev.8 . 23:32:49 Sending build context to Docker daemon 2.909MB 23:32:49 Step 1/17 : ARG BASE=alpine:3.16 23:32:49 Step 2/17 : FROM ${BASE} 23:32:49 ---> 34f67a00d527 23:32:49 Step 3/17 : LABEL maintainer="IOTech " 23:32:50 ---> Running in 61f79eb588b4 23:32:50 Removing intermediate container 61f79eb588b4 23:32:50 ---> 72c8c08b7851 23:32:50 Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 23:32:50 ---> Running in db665d9f4c05 23:32:51 Connecting to iotech.jfrog.io (52.213.100.220:443) 23:32:51 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 23:32:51 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 23:32:51 '/etc/apk/keys/alpine.dev.rsa.pub' saved 23:32:52 Removing intermediate container db665d9f4c05 23:32:52 ---> d7432c794e4d 23:32:52 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 23:32:52 ---> Running in f131514c14d3 23:32:57 Removing intermediate container f131514c14d3 23:32:57 ---> d93416ceed6b 23:32:57 Step 6/17 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev && mkdir -p /edgex-c-sdk/build 23:32:57 ---> Running in cff3b5c5da3e 23:32:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:32:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:32:59 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz 23:32:59 WARNING: This apk-tools is OLD! Some packages might not function properly. 23:32:59 (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) 23:32:59 (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) 23:32:59 (3/11) Installing iotech-iot-1.5 (1.5.0-r0) 23:33:00 (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) 23:33:00 (5/11) Installing libcbor-dev (0.9.0-r1) 23:33:00 (6/11) Installing ncurses-dev (6.3_p20220521-r1) 23:33:00 (7/11) Installing libblkid (2.38-r1) 23:33:00 (8/11) Installing libfdisk (2.38-r1) 23:33:00 (9/11) Installing libmount (2.38-r1) 23:33:00 (10/11) Installing libsmartcols (2.38-r1) 23:33:00 (11/11) Installing util-linux-dev (2.38-r1) 23:33:00 Executing busybox-1.35.0-r17.trigger 23:33:01 OK: 287 MiB in 92 packages 23:33:02 Removing intermediate container cff3b5c5da3e 23:33:02 ---> c2254dafe22e 23:33:02 Step 7/17 : COPY VERSION /edgex-c-sdk/ 23:33:02 ---> ef1d1b3d19f2 23:33:02 Step 8/17 : COPY src /edgex-c-sdk/src/ 23:33:03 ---> 504016e1f5c5 23:33:03 Step 9/17 : COPY include /edgex-c-sdk/include/ 23:33:03 ---> 23478006506b 23:33:03 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 23:33:04 ---> aa393b0372d5 23:33:04 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 23:33:04 ---> 305454685c8a 23:33:04 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 23:33:05 ---> 66e67729090f 23:33:05 Step 13/17 : WORKDIR /edgex-c-sdk 23:33:05 ---> Running in 2024691db4f8 23:33:05 Removing intermediate container 2024691db4f8 23:33:05 ---> 70aeb050c9f1 23:33:05 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 23:33:05 ---> Running in 6f74d0177b9d 23:33:05 Removing intermediate container 6f74d0177b9d 23:33:05 ---> 14dae66a2d3a 23:33:05 Step 15/17 : LABEL arch=arm64 23:33:05 ---> Running in ac6ef5e30bea 23:33:06 Removing intermediate container ac6ef5e30bea 23:33:06 ---> c81cf926f907 23:33:06 Step 16/17 : LABEL git_sha=ed51e6acf64310a02c241751e963c5ca7bfef27d 23:33:06 ---> Running in 0f9a6e7105f3 23:33:06 Removing intermediate container 0f9a6e7105f3 23:33:06 ---> 6bbb7f4714e2 23:33:06 Step 17/17 : LABEL version=3.1.0-dev.8 23:33:06 ---> Running in c0409af91100 23:33:06 Removing intermediate container c0409af91100 23:33:06 ---> c32b7b40cad5 23:33:06 [Warning] One or more build-args [MAKE ARCH] were not consumed 23:33:06 Successfully built c32b7b40cad5 23:33:06 Successfully tagged device-sdk-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:33:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:33:07 23:33:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:33:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:33:07 arm64: Pulling from edgex-lftools-log-publisher 23:33:07 8998bd30e6a1: Pulling fs layer 23:33:07 04944245beec: Pulling fs layer 23:33:07 699f458cf7ca: Pulling fs layer 23:33:07 765212b225bb: Pulling fs layer 23:33:07 f23df028b6ca: Pulling fs layer 23:33:07 d65c8cfc05b1: Pulling fs layer 23:33:07 2437ff75d9bd: Pulling fs layer 23:33:07 765212b225bb: Waiting 23:33:07 f23df028b6ca: Waiting 23:33:07 d65c8cfc05b1: Waiting 23:33:07 2437ff75d9bd: Waiting 23:33:07 04944245beec: Verifying Checksum 23:33:07 04944245beec: Download complete 23:33:07 765212b225bb: Verifying Checksum 23:33:07 765212b225bb: Download complete 23:33:08 d65c8cfc05b1: Verifying Checksum 23:33:08 d65c8cfc05b1: Download complete 23:33:08 699f458cf7ca: Verifying Checksum 23:33:08 699f458cf7ca: Download complete 23:33:08 8998bd30e6a1: Verifying Checksum 23:33:08 8998bd30e6a1: Download complete 23:33:11 2437ff75d9bd: Verifying Checksum 23:33:11 2437ff75d9bd: Download complete 23:33:12 8998bd30e6a1: Pull complete 23:33:13 04944245beec: Pull complete 23:33:14 699f458cf7ca: Pull complete 23:33:14 765212b225bb: Pull complete 23:33:15 f23df028b6ca: Pull complete 23:33:15 d65c8cfc05b1: Pull complete 23:33:30 2437ff75d9bd: Pull complete 23:33:30 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:33:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:33:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:33:30 prd-ubuntu20.04-docker-arm64-4c-16g-3073 does not seem to be running inside a container 23:33:30 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/57 -v /w/workspace/device-sdk-c/57:/w/workspace/device-sdk-c/57:rw,z -v /w/workspace/device-sdk-c/57@tmp:/w/workspace/device-sdk-c/57@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:33:32 $ docker top 085ceedaf935ff2ecc9a013587f85295e6a018b525b191d3b74132341d6dd536 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:33:33 ---> job-cost.sh 23:33:33 lf-activate-venv: SKIPPING 23:33:33 INFO: No Stack... 23:33:33 INFO: Retrieving Pricing Info for: v3-standard-4 23:33:34 INFO: Archiving Costs [Pipeline] sh 23:33:35 + cat /w/workspace/device-sdk-c/57/archives/cost.csv 23:33:35 + cut -d, -f6 [Pipeline] lock 23:33:35 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-57-stack-cost] 23:33:35 Resource [jenkins-edgexfoundry-device-sdk-c-main-57-stack-cost] did not exist. Created. 23:33:35 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-57-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:33:35 /w/workspace/device-sdk-c/57@tmp/durable-c9faa5d1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:33:35 + echo total: 0.10999999940395355 [Pipeline] stash 23:33:35 Warning: overwriting stash ‘stack-cost’ 23:33:36 Stashed 1 file(s) [Pipeline] } 23:33:36 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-57-stack-cost] [Pipeline] // lock [Pipeline] } 23:33:36 $ docker stop --time=1 085ceedaf935ff2ecc9a013587f85295e6a018b525b191d3b74132341d6dd536 23:33:38 $ docker rm -f --volumes 085ceedaf935ff2ecc9a013587f85295e6a018b525b191d3b74132341d6dd536 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] sh 23:33:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:33:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:33:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:33:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:33:39 prd-ubuntu20.04-docker-8c-8g-3072 does not seem to be running inside a container 23:33:39 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:33:39 $ docker top fd4a39fa8d9bda8cb64665660821a6826374dd6abfea515a87482e0a51d5f78c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:33:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:33:39 [ssh-agent] Looking for ssh-agent implementation... 23:33:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:33:39 $ docker exec fd4a39fa8d9bda8cb64665660821a6826374dd6abfea515a87482e0a51d5f78c ssh-agent 23:33:39 SSH_AUTH_SOCK=/tmp/ssh-Rt5Daggx9jVS/agent.31 23:33:39 SSH_AGENT_PID=37 23:33:39 Running ssh-add (command line suppressed) 23:33:39 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_17560587204143322874.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_17560587204143322874.key) 23:33:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:33:40 + git semver tag 23:33:40 2023-08-07 23:33:40,447 [run_tag] DEBUG tag force:False 23:33:40 2023-08-07 23:33:40,447 [check_head_tag] DEBUG check head tag 23:33:40 2023-08-07 23:33:40,447 [execute] INFO git cat-file --batch-check 23:33:40 2023-08-07 23:33:40,448 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) 23:33:40 2023-08-07 23:33:40,451 [execute] INFO git cat-file --batch 23:33:40 2023-08-07 23:33:40,451 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) 23:33:40 2023-08-07 23:33:40,460 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 23:33:40 2023-08-07 23:33:40,460 [execute] INFO git tag -a v3.1.0-dev.8 -m v3.1.0-dev.8 23:33:40 2023-08-07 23:33:40,460 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.8', '-m', 'v3.1.0-dev.8'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) 23:33:40 2023-08-07 23:33:40,464 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 23:33:40 3.1.0-dev.8 [Pipeline] } 23:33:40 $ docker exec --env ******** --env ******** fd4a39fa8d9bda8cb64665660821a6826374dd6abfea515a87482e0a51d5f78c ssh-agent -k 23:33:40 unset SSH_AUTH_SOCK; 23:33:40 unset SSH_AGENT_PID; 23:33:40 echo Agent pid 37 killed; 23:33:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:33:40 + git semver [Pipeline] } 23:33:41 $ docker stop --time=1 fd4a39fa8d9bda8cb64665660821a6826374dd6abfea515a87482e0a51d5f78c 23:33:42 $ docker rm -f --volumes fd4a39fa8d9bda8cb64665660821a6826374dd6abfea515a87482e0a51d5f78c [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:33:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:33:42 23:33:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:33:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:33:43 0.23.1-centos7: Pulling from edgex-lftools 23:33:43 ab5ef0e58194: Pulling fs layer 23:33:43 9712f1f96733: Pulling fs layer 23:33:43 63f879dbbcfc: Pulling fs layer 23:33:43 0d9ebad4ef96: Pulling fs layer 23:33:43 e9a5061849ea: Pulling fs layer 23:33:43 d747dcd14b5f: Pulling fs layer 23:33:43 2de7ff778b66: Pulling fs layer 23:33:43 0d9ebad4ef96: Waiting 23:33:43 e9a5061849ea: Waiting 23:33:43 2de7ff778b66: Waiting 23:33:43 9712f1f96733: Verifying Checksum 23:33:43 9712f1f96733: Download complete 23:33:43 63f879dbbcfc: Verifying Checksum 23:33:43 63f879dbbcfc: Download complete 23:33:43 0d9ebad4ef96: Verifying Checksum 23:33:43 0d9ebad4ef96: Download complete 23:33:43 ab5ef0e58194: Verifying Checksum 23:33:43 ab5ef0e58194: Download complete 23:33:43 d747dcd14b5f: Download complete 23:33:43 e9a5061849ea: Verifying Checksum 23:33:43 e9a5061849ea: Download complete 23:33:44 2de7ff778b66: Verifying Checksum 23:33:44 2de7ff778b66: Download complete 23:33:46 ab5ef0e58194: Pull complete 23:33:46 9712f1f96733: Pull complete 23:33:46 63f879dbbcfc: Pull complete 23:33:50 0d9ebad4ef96: Pull complete 23:33:50 e9a5061849ea: Pull complete 23:33:50 d747dcd14b5f: Pull complete 23:33:51 2de7ff778b66: Pull complete 23:33:51 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 23:33:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:33:51 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:33:51 prd-ubuntu20.04-docker-8c-8g-3072 does not seem to be running inside a container 23:33:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 23:33:56 $ docker top 91447e5b74bfb4ec1505f96ffcb0c33ffb4dad1a36350ff267d553fdde7aedbc -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 23:33:56 provisioning config files... 23:33:56 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config7914269363993572096tmp 23:33:56 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config6213176270833721666tmp 23:33:56 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config218792283303023769tmp [Pipeline] { [Pipeline] echo 23:33:56 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 23:33:57 ---> sigul-configuration.sh 23:33:57 gpg: directory `/root/.gnupg' created 23:33:57 gpg: new configuration file `/root/.gnupg/gpg.conf' created 23:33:57 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 23:33:57 gpg: keyring `/root/.gnupg/secring.gpg' created 23:33:57 gpg: keyring `/root/.gnupg/pubring.gpg' created 23:33:57 gpg: CAST5 encrypted data 23:33:57 gpg: encrypted with 1 passphrase 23:33:57 gpg: WARNING: message was not integrity protected [Pipeline] sh 23:33:57 + mkdir /home/jenkins 23:33:57 + mkdir /home/jenkins/sigul [Pipeline] sh 23:33:57 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 23:33:57 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 23:33:57 ---> sigul-install.sh 23:33:57 Sigul already installed; skipping installation. [Pipeline] sh 23:33:58 + git tag --list 23:33:58 0.7.0 23:33:58 0.7.1 23:33:58 1.0.0 23:33:58 v1.0.1 23:33:58 v1.0.2 23:33:58 v1.0.3 23:33:58 v1.1.0 23:33:58 v1.1.1 23:33:58 v1.2.0 23:33:58 v1.2.1 23:33:58 v1.2.2 23:33:58 v1.3.0 23:33:58 v1.3.1 23:33:58 v2.0.0 23:33:58 v2.1.0 23:33:58 v2.2.0 23:33:58 v2.3.0 23:33:58 v3.0 23:33:58 v3.0.0 23:33:58 v3.0.1 23:33:58 v3.1.0-dev.1 23:33:58 v3.1.0-dev.2 23:33:58 v3.1.0-dev.3 23:33:58 v3.1.0-dev.4 23:33:58 v3.1.0-dev.5 23:33:58 v3.1.0-dev.6 23:33:58 v3.1.0-dev.7 23:33:58 v3.1.0-dev.8 [Pipeline] sh 23:33:58 + lftools sign git-tag v3.1.0-dev.8 23:33:59 Signing Git tag with Sigul... 23:33:59 Signing v3.1.0-dev.8 [Pipeline] echo 23:33:59 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 23:33:59 ---> sigul-configuration-cleanup.sh [Pipeline] } 23:33:59 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 23:33:59 $ docker stop --time=1 91447e5b74bfb4ec1505f96ffcb0c33ffb4dad1a36350ff267d553fdde7aedbc 23:34:00 $ docker rm -f --volumes 91447e5b74bfb4ec1505f96ffcb0c33ffb4dad1a36350ff267d553fdde7aedbc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 23:34:01 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:34:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:34:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:34:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:34:01 prd-ubuntu20.04-docker-8c-8g-3072 does not seem to be running inside a container 23:34:01 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:34:02 $ docker top 8022d5d38d26fe39d222ebd590a1d6ae6d4553aa5ace7e1c55db31f08f0ae0b2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:34:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:34:02 [ssh-agent] Looking for ssh-agent implementation... 23:34:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:34:02 $ docker exec 8022d5d38d26fe39d222ebd590a1d6ae6d4553aa5ace7e1c55db31f08f0ae0b2 ssh-agent 23:34:02 SSH_AUTH_SOCK=/tmp/ssh-PK8Ixmoi6L3g/agent.32 23:34:02 SSH_AGENT_PID=38 23:34:02 Running ssh-add (command line suppressed) 23:34:02 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_14745058012466495780.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_14745058012466495780.key) 23:34:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:34:02 + git semver bump pre 23:34:02 2023-08-07 23:34:02,896 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 23:34:02 2023-08-07 23:34:02,896 [bump_version] DEBUG bumping version:3.1.0-dev.8 on axis:pre with prefix:dev 23:34:02 2023-08-07 23:34:02,896 [bump_version] DEBUG bumped version:3.1.0-dev.9 23:34:02 2023-08-07 23:34:02,896 [write_version] DEBUG write version:3.1.0-dev.9 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:True 23:34:02 2023-08-07 23:34:02,896 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 23:34:02 2023-08-07 23:34:02,896 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 23:34:02 2023-08-07 23:34:02,898 [execute] INFO git cat-file --batch-check 23:34:02 2023-08-07 23:34:02,898 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) 23:34:02 2023-08-07 23:34:02,903 [execute] INFO git cat-file --batch 23:34:02 2023-08-07 23:34:02,904 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) 23:34:02 2023-08-07 23:34:02,909 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 23:34:02 3.1.0-dev.9 [Pipeline] } 23:34:02 $ docker exec --env ******** --env ******** 8022d5d38d26fe39d222ebd590a1d6ae6d4553aa5ace7e1c55db31f08f0ae0b2 ssh-agent -k 23:34:03 unset SSH_AUTH_SOCK; 23:34:03 unset SSH_AGENT_PID; 23:34:03 echo Agent pid 38 killed; 23:34:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:34:03 + git semver [Pipeline] } 23:34:03 $ docker stop --time=1 8022d5d38d26fe39d222ebd590a1d6ae6d4553aa5ace7e1c55db31f08f0ae0b2 23:34:04 $ docker rm -f --volumes 8022d5d38d26fe39d222ebd590a1d6ae6d4553aa5ace7e1c55db31f08f0ae0b2 [Pipeline] // withDockerContainer [Pipeline] sh 23:34:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:34:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:34:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:34:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:34:05 prd-ubuntu20.04-docker-8c-8g-3072 does not seem to be running inside a container 23:34:05 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:34:05 $ docker top 46cf7756b269ef123052952c1adbf66585e3ff3775ec0f59c7350d5e6b36d134 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:34:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:34:06 [ssh-agent] Looking for ssh-agent implementation... 23:34:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:34:06 $ docker exec 46cf7756b269ef123052952c1adbf66585e3ff3775ec0f59c7350d5e6b36d134 ssh-agent 23:34:06 SSH_AUTH_SOCK=/tmp/ssh-xph5xIBPuPKv/agent.32 23:34:06 SSH_AGENT_PID=38 23:34:06 Running ssh-add (command line suppressed) 23:34:06 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_10426802544305684642.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_10426802544305684642.key) 23:34:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:34:06 + git semver push 23:34:06 2023-08-07 23:34:06,771 [run_push] DEBUG push 23:34:06 2023-08-07 23:34:06,772 [execute] INFO git cat-file --batch-check 23:34:06 2023-08-07 23:34:06,772 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) 23:34:06 2023-08-07 23:34:06,776 [execute] INFO git rev-list 4a73670290833d4ce3e23c15f7a57e9a84162be9 -- 23:34:06 2023-08-07 23:34:06,776 [execute] DEBUG Popen(['git', 'rev-list', '4a73670290833d4ce3e23c15f7a57e9a84162be9', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) 23:34:06 2023-08-07 23:34:06,783 [execute] INFO git fetch -v origin 23:34:06 2023-08-07 23:34:06,784 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=True, shell=None, istream=None) 23:34:07 2023-08-07 23:34:07,255 [run_push] DEBUG no remote changes detected 23:34:07 2023-08-07 23:34:07,255 [execute] INFO git push origin semver 23:34:07 2023-08-07 23:34:07,256 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) 23:34:07 2023-08-07 23:34:07,994 [run_push] DEBUG push all version tags 23:34:07 2023-08-07 23:34:07,995 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 23:34:07 2023-08-07 23:34:07,995 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) 23:34:08 2023-08-07 23:34:08,863 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 23:34:08 3.1.0-dev.9 [Pipeline] } 23:34:08 $ docker exec --env ******** --env ******** 46cf7756b269ef123052952c1adbf66585e3ff3775ec0f59c7350d5e6b36d134 ssh-agent -k 23:34:09 unset SSH_AUTH_SOCK; 23:34:09 unset SSH_AGENT_PID; 23:34:09 echo Agent pid 38 killed; 23:34:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:34:09 + git semver [Pipeline] } 23:34:09 $ docker stop --time=1 46cf7756b269ef123052952c1adbf66585e3ff3775ec0f59c7350d5e6b36d134 23:34:10 $ docker rm -f --volumes 46cf7756b269ef123052952c1adbf66585e3ff3775ec0f59c7350d5e6b36d134 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 23:34:11 + [ -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ] 23:34:11 + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives 23:34:11 total 16 23:34:11 drwxr-xr-x 3 root root 4096 Aug 7 23:29 . 23:34:11 drwxrwxr-x 10 jenkins jenkins 4096 Aug 7 23:33 .. 23:34:11 drwxr-xr-x 2 root root 4096 Aug 7 23:29 cost 23:34:11 -rw-r--r-- 1 root root 83 Aug 7 23:29 cost.csv 23:34:11 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_main/archives 23:34:11 + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives 23:34:11 total 16 23:34:11 drwxr-xr-x 3 jenkins jenkins 4096 Aug 7 23:29 . 23:34:11 drwxrwxr-x 10 jenkins jenkins 4096 Aug 7 23:33 .. 23:34:11 drwxr-xr-x 2 jenkins jenkins 4096 Aug 7 23:29 cost 23:34:11 -rw-r--r-- 1 jenkins jenkins 83 Aug 7 23:29 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:34:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:34:12 ---> package-listing.sh 23:34:12 ++ facter osfamily 23:34:12 ++ tr '[:upper:]' '[:lower:]' 23:34:12 + OS_FAMILY=debian 23:34:12 + workspace=/w/workspace/edgexfoundry_device-sdk-c_main 23:34:12 + START_PACKAGES=/tmp/packages_start.txt 23:34:12 + END_PACKAGES=/tmp/packages_end.txt 23:34:12 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:34:12 + PACKAGES=/tmp/packages_start.txt 23:34:12 + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' 23:34:12 + PACKAGES=/tmp/packages_end.txt 23:34:12 + case "${OS_FAMILY}" in 23:34:12 + grep '^ii' 23:34:12 + dpkg -l 23:34:12 + '[' -f /tmp/packages_start.txt ']' 23:34:12 + '[' -f /tmp/packages_end.txt ']' 23:34:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:34:12 + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' 23:34:12 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/ 23:34:12 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [Pipeline] echo 23:34:12 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:34:13 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:34:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:34:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:34:13 prd-ubuntu20.04-docker-8c-8g-3072 does not seem to be running inside a container 23:34:13 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:34:13 $ docker top 26c659be92acdf45331deb40a50bb5555c635b33fa7b778b6fb46cbb61a0200f -eo pid,comm [Pipeline] { [Pipeline] sh 23:34:14 + touch /tmp/pre-build-complete [Pipeline] sh 23:34:14 + mkdir -p /var/log/sysstat [Pipeline] sh 23:34:14 + ls /var/log/sa-host 23:34:14 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:34:14 provisioning config files... 23:34:14 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config4061997687630022947tmp [Pipeline] { [Pipeline] echo 23:34:14 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:34:15 ---> create-netrc.sh [Pipeline] } 23:34:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:34:15 ---> python-tools-install.sh [Pipeline] echo 23:34:15 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:34:15 ---> sudo-logs.sh 23:34:15 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:34:15 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:34:16 ---> job-cost.sh 23:34:16 lf-activate-venv: SKIPPING 23:34:16 DEBUG: total: 0.2199999988079071 23:34:16 INFO: Retrieving Stack Cost... 23:34:16 INFO: Retrieving Pricing Info for: v3-standard-8 23:34:16 INFO: Archiving Costs [Pipeline] echo 23:34:16 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:34:17 ---> logs-deploy.sh 23:34:17 lf-activate-venv: SKIPPING 23:34:17 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/57 23:34:17 INFO: archiving workspace using pattern(s): 23:34:18 Archives upload complete. 23:34:18 INFO: archiving logs to Nexus