Pull request #442 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of bnevis-i for edgexfoundry/device-sdk-c Loading trusted files from base branch main at 60c720530b7232d7be6f88f4d69bf42c6efbb654 rather than 2745f2671e0e88176ed45855f9521961cbf0ba6a Obtained Jenkinsfile from 60c720530b7232d7be6f88f4d69bf42c6efbb654 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-ssh12179282325584348071.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh17942266889004512947.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-442/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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/PR-442/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15772050783760397198.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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/PR-442/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10005370821927331489.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh11976570784270156517.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-442/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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/PR-442/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16900337450634203430.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-5192 in /w/workspace/edgexfoundry_device-sdk-c_PR-442 [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_PR-442 # 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 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/442/head:refs/remotes/origin/PR-442 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 60c720530b7232d7be6f88f4d69bf42c6efbb654 into PR head commit 2745f2671e0e88176ed45855f9521961cbf0ba6a Merge succeeded, producing 4a71e5de4feb9c007fb0b194932bfb48d7e80df9 Checking out Revision 4a71e5de4feb9c007fb0b194932bfb48d7e80df9 (PR-442) > git config core.sparsecheckout # timeout=10 > git checkout -f 2745f2671e0e88176ed45855f9521961cbf0ba6a # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 60c720530b7232d7be6f88f4d69bf42c6efbb654 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4a71e5de4feb9c007fb0b194932bfb48d7e80df9 # timeout=10 Commit message: "Merge commit '60c720530b7232d7be6f88f4d69bf42c6efbb654' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:56:05 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:56:05 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:56:05 ========================================================= 01:56:05 EdgeX Global Pipelines Version Info 01:56:05 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:56:06 ------------------- 01:56:06 stable info: 01:56:06 ------------------- 01:56:06 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:56:06 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 01:56:06 Message: update stable to v1.0.244 01:56:07 ------------------- 01:56:07 experimental info: 01:56:07 ------------------- 01:56:07 Commited By: **** collab-it+edgex@linuxfoundation.org 01:56:07 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 01:56:07 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:56:07 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 01:56:07 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 01:56:07 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:56:07 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:56:07 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:56:07 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 01:56:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 01:56:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:56:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:56:08 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 01:56:08 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:56:08 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:56:08 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:56:08 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 01:56:08 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:56:08 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:56:08 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:56:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-442 [Pipeline] echo 01:56:08 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-442 [Pipeline] echo 01:56:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-442 [Pipeline] echo 01:56:08 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4a71e5de4feb9c007fb0b194932bfb48d7e80df9 [Pipeline] echo 01:56:08 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4a71e5d [Pipeline] echo 01:56:08 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:56:08 provisioning config files... 01:56:08 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-442@tmp/config12430418896699115911tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:56:09 ---> docker-login.sh 01:56:09 nexus3.edgexfoundry.org:10001 01:56:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:56:10 Configure a credential helper to remove this warning. See 01:56:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:56:10 01:56:10 Login Succeeded 01:56:10 nexus3.edgexfoundry.org:10002 01:56:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:56:10 Configure a credential helper to remove this warning. See 01:56:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:56:10 01:56:10 Login Succeeded 01:56:10 nexus3.edgexfoundry.org:10003 01:56:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:56:10 Configure a credential helper to remove this warning. See 01:56:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:56:10 01:56:10 Login Succeeded 01:56:10 nexus3.edgexfoundry.org:10004 01:56:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:56:10 Configure a credential helper to remove this warning. See 01:56:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:56:10 01:56:10 Login Succeeded 01:56:10 docker.io 01:56:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:56:10 Configure a credential helper to remove this warning. See 01:56:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:56:10 01:56:10 Login Succeeded 01:56:10 ---> docker-login.sh ends [Pipeline] } 01:56:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 01:56:11 + git rev-list -1 --merges 4a71e5de4feb9c007fb0b194932bfb48d7e80df9~1..4a71e5de4feb9c007fb0b194932bfb48d7e80df9 [Pipeline] echo 01:56:11 -----------> git rev-list -1 --merges 4a71e5de4feb9c007fb0b194932bfb48d7e80df9~1..4a71e5de4feb9c007fb0b194932bfb48d7e80df9 4a71e5de4feb9c007fb0b194932bfb48d7e80df9 01:56:11 4a71e5de4feb9c007fb0b194932bfb48d7e80df9 [false] [Pipeline] sh 01:56:11 + git log --format=format:%s -1 4a71e5de4feb9c007fb0b194932bfb48d7e80df9 [Pipeline] echo 01:56:12 ========================================================= 01:56:12 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:56:12 ========================================================= 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 01:56:12 + git rev-list -1 --merges 4a71e5de4feb9c007fb0b194932bfb48d7e80df9~1..4a71e5de4feb9c007fb0b194932bfb48d7e80df9 [Pipeline] echo 01:56:12 -----------> git rev-list -1 --merges 4a71e5de4feb9c007fb0b194932bfb48d7e80df9~1..4a71e5de4feb9c007fb0b194932bfb48d7e80df9 4a71e5de4feb9c007fb0b194932bfb48d7e80df9 01:56:12 4a71e5de4feb9c007fb0b194932bfb48d7e80df9 [false] [Pipeline] sh 01:56:13 + git log --format=format:%s -1 4a71e5de4feb9c007fb0b194932bfb48d7e80df9 [Pipeline] echo 01:56:13 ========================================================= 01:56:13 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:56:13 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 01:56:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:56:13 + grep -v github /etc/ssh/ssh_known_hosts 01:56:13 + [ -e /tmp/ssh_known_hosts ] 01:56:13 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:56:13 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:56:13 + sudo tee -a /etc/ssh/ssh_known_hosts 01:56:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:56:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:56:14 01:56:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:56:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:56:15 0.1.4: Pulling from edgex-devops/py-git-semver 01:56:15 b85a868b505f: Pulling fs layer 01:56:15 e2be974225ed: Pulling fs layer 01:56:15 339a4e72a1f5: Pulling fs layer 01:56:15 988bab9f4d93: Pulling fs layer 01:56:15 1469e6f7b9e6: Pulling fs layer 01:56:15 eaf3925da568: Pulling fs layer 01:56:15 bab4dde63d76: Pulling fs layer 01:56:15 bde34c3a00c8: Pulling fs layer 01:56:15 b352a97aabf1: Pulling fs layer 01:56:15 4872d77fe225: Pulling fs layer 01:56:15 5851b861e8e6: Pulling fs layer 01:56:15 988bab9f4d93: Waiting 01:56:15 1469e6f7b9e6: Waiting 01:56:15 bab4dde63d76: Waiting 01:56:15 5851b861e8e6: Waiting 01:56:15 bde34c3a00c8: Waiting 01:56:15 4872d77fe225: Waiting 01:56:15 b352a97aabf1: Waiting 01:56:15 eaf3925da568: Waiting 01:56:15 988bab9f4d93: Verifying Checksum 01:56:15 988bab9f4d93: Download complete 01:56:15 1469e6f7b9e6: Verifying Checksum 01:56:15 1469e6f7b9e6: Download complete 01:56:15 eaf3925da568: Verifying Checksum 01:56:15 eaf3925da568: Download complete 01:56:15 339a4e72a1f5: Verifying Checksum 01:56:15 339a4e72a1f5: Download complete 01:56:15 bde34c3a00c8: Verifying Checksum 01:56:15 bde34c3a00c8: Download complete 01:56:15 b352a97aabf1: Verifying Checksum 01:56:15 b352a97aabf1: Download complete 01:56:15 4872d77fe225: Verifying Checksum 01:56:15 4872d77fe225: Download complete 01:56:15 5851b861e8e6: Download complete 01:56:15 b85a868b505f: Verifying Checksum 01:56:15 b85a868b505f: Download complete 01:56:16 bab4dde63d76: Verifying Checksum 01:56:16 bab4dde63d76: Download complete 01:56:17 b85a868b505f: Pull complete 01:56:17 e2be974225ed: Pull complete 01:56:17 339a4e72a1f5: Pull complete 01:56:17 988bab9f4d93: Pull complete 01:56:17 1469e6f7b9e6: Pull complete 01:56:17 eaf3925da568: Pull complete 01:56:19 bab4dde63d76: Pull complete 01:56:19 bde34c3a00c8: Pull complete 01:56:19 b352a97aabf1: Pull complete 01:56:19 4872d77fe225: Pull complete 01:56:19 5851b861e8e6: Pull complete 01:56:19 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:56:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:56:19 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:56:19 prd-ubuntu20.04-docker-8c-8g-5192 does not seem to be running inside a container 01:56:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-442 -v /w/workspace/edgexfoundry_device-sdk-c_PR-442:/w/workspace/edgexfoundry_device-sdk-c_PR-442:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-442@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-442@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:56:22 $ docker top c5ea5c51a5804d336d5e4a1eb4d336a7e84220f212840b61f371d58be6cff169 -eo pid,comm 01:56:22 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). 01:56:22 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:56:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:56:22 [ssh-agent] Looking for ssh-agent implementation... 01:56:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:56:22 $ docker exec c5ea5c51a5804d336d5e4a1eb4d336a7e84220f212840b61f371d58be6cff169 ssh-agent 01:56:22 SSH_AUTH_SOCK=/tmp/ssh-rTAshXx271IT/agent.31 01:56:22 SSH_AGENT_PID=37 01:56:22 Running ssh-add (command line suppressed) 01:56:22 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-442@tmp/private_key_14653841684913567819.key (/w/workspace/edgexfoundry_device-sdk-c_PR-442@tmp/private_key_14653841684913567819.key) 01:56:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:56:22 + git tag --points-at HEAD [Pipeline] } 01:56:22 $ docker exec --env ******** --env ******** c5ea5c51a5804d336d5e4a1eb4d336a7e84220f212840b61f371d58be6cff169 ssh-agent -k 01:56:23 unset SSH_AUTH_SOCK; 01:56:23 unset SSH_AGENT_PID; 01:56:23 echo Agent pid 37 killed; 01:56:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:56:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:56:23 [ssh-agent] Looking for ssh-agent implementation... 01:56:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:56:23 $ docker exec c5ea5c51a5804d336d5e4a1eb4d336a7e84220f212840b61f371d58be6cff169 ssh-agent 01:56:23 SSH_AUTH_SOCK=/tmp/ssh-Q3Y3qvVVbeFV/agent.69 01:56:23 SSH_AGENT_PID=75 01:56:23 Running ssh-add (command line suppressed) 01:56:23 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-442@tmp/private_key_7310725518361898949.key (/w/workspace/edgexfoundry_device-sdk-c_PR-442@tmp/private_key_7310725518361898949.key) 01:56:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:56:23 + git semver init 01:56:24 2023-02-09 01:56:23,952 [run_init] DEBUG init version:0.0.0 force:False 01:56:24 2023-02-09 01:56:23,953 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-442/.semver 01:56:24 2023-02-09 01:56:23,953 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-442/.semver 01:56:24 2023-02-09 01:56:23,953 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-442/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-442, universal_newlines=False, shell=None, istream=None) 01:56:24 2023-02-09 01:56:24,865 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-442/.git/info/exclude 01:56:24 2023-02-09 01:56:24,866 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-442/.semver/PR-442 with force:False 01:56:24 2023-02-09 01:56:24,866 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-442/.semver/PR-442 01:56:24 2023-02-09 01:56:24,870 [execute] INFO git cat-file --batch-check 01:56:24 2023-02-09 01:56:24,871 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-442/.semver, universal_newlines=False, shell=None, istream=) 01:56:24 2023-02-09 01:56:24,876 [execute] INFO git cat-file --batch 01:56:24 2023-02-09 01:56:24,877 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-442/.semver, universal_newlines=False, shell=None, istream=) 01:56:24 2023-02-09 01:56:24,881 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-442/.semver/PR-442 01:56:24 0.0.0 [Pipeline] } 01:56:25 $ docker exec --env ******** --env ******** c5ea5c51a5804d336d5e4a1eb4d336a7e84220f212840b61f371d58be6cff169 ssh-agent -k 01:56:25 unset SSH_AUTH_SOCK; 01:56:25 unset SSH_AGENT_PID; 01:56:25 echo Agent pid 75 killed; 01:56:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:56:25 + git semver [Pipeline] } 01:56:25 $ docker stop --time=1 c5ea5c51a5804d336d5e4a1eb4d336a7e84220f212840b61f371d58be6cff169 01:56:27 $ docker rm -f --volumes c5ea5c51a5804d336d5e4a1eb4d336a7e84220f212840b61f371d58be6cff169 [Pipeline] // withDockerContainer [Pipeline] sh 01:56:27 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:56:27 Stashed 1 file(s) [Pipeline] echo 01:56:27 [edgeXSemver]: initialized semver on version 0.0.0 [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 01:56:28 provisioning config files... 01:56:28 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-442@tmp/config5452805397706391292tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:56:28 ---> docker-login.sh 01:56:28 nexus3.edgexfoundry.org:10001 01:56:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:56:28 Configure a credential helper to remove this warning. See 01:56:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:56:28 01:56:28 Login Succeeded 01:56:28 nexus3.edgexfoundry.org:10002 01:56:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:56:28 Configure a credential helper to remove this warning. See 01:56:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:56:28 01:56:28 Login Succeeded 01:56:28 nexus3.edgexfoundry.org:10003 01:56:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:56:28 Configure a credential helper to remove this warning. See 01:56:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:56:28 01:56:28 Login Succeeded 01:56:28 nexus3.edgexfoundry.org:10004 01:56:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:56:28 Configure a credential helper to remove this warning. See 01:56:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:56:28 01:56:28 Login Succeeded 01:56:28 docker.io 01:56:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:56:29 Configure a credential helper to remove this warning. See 01:56:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:56:29 01:56:29 Login Succeeded 01:56:29 ---> docker-login.sh ends [Pipeline] } 01:56:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:56:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:56:29 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 01:56:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:56:29 ========================================================= 01:56:29 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 01:56:29 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:56:29 + 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 . 01:56:29 Sending build context to Docker daemon 4.799MB 01:56:29 Step 1/21 : ARG BASE=alpine:3.16 01:56:29 Step 2/21 : FROM ${BASE} as builder 01:56:29 latest: Pulling from edgex-devops/edgex-gcc-base 01:56:29 213ec9aee27d: Pulling fs layer 01:56:29 0f09ad1b1b37: Pulling fs layer 01:56:30 213ec9aee27d: Verifying Checksum 01:56:30 213ec9aee27d: Download complete 01:56:30 213ec9aee27d: Pull complete 01:56:31 0f09ad1b1b37: Verifying Checksum 01:56:31 0f09ad1b1b37: Download complete 01:56:33 0f09ad1b1b37: Pull complete 01:56:33 Digest: sha256:64e9d1beac36a0037884aaf44bcf94b2de593689edef1cdaec9f2b2ef7c7c108 01:56:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 01:56:33 ---> b2bbfebb3566 01:56:33 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 01:56:35 ---> Running in 423f8d8cf645 01:56:35 Connecting to iotech.jfrog.io (3.248.100.191:443) 01:56:35 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 01:56:35 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 01:56:35 '/etc/apk/keys/alpine.dev.rsa.pub' saved 01:56:36 Removing intermediate container 423f8d8cf645 01:56:36 ---> c11f078d33f4 01:56:36 Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 01:56:36 ---> Running in fbc8f5d88792 01:56:36 Removing intermediate container fbc8f5d88792 01:56:36 ---> 5f4baf9600d7 01:56:36 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.4-dev hiredis-dev 01:56:36 ---> Running in 8e60fc4ea0ac 01:56:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:56:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:56:37 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 01:56:37 WARNING: This apk-tools is OLD! Some packages might not function properly. 01:56:37 (1/14) Installing hiredis (1.0.2-r0) 01:56:37 (2/14) Installing hiredis-dev (1.0.2-r0) 01:56:37 (3/14) Installing iotech-iot-1.4 (1.4.0-r0) 01:56:38 (4/14) Installing iotech-iot-1.4-dev (1.4.0-r0) 01:56:38 (5/14) Installing libcbor (0.9.0-r1) 01:56:38 (6/14) Installing libcbor-dev (0.9.0-r1) 01:56:38 (7/14) Installing ncurses-dev (6.3_p20220521-r0) 01:56:38 (8/14) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 01:56:39 (9/14) Installing libblkid (2.38-r1) 01:56:39 (10/14) Installing libuuid (2.38-r1) 01:56:39 (11/14) Installing libfdisk (2.38-r1) 01:56:39 (12/14) Installing libmount (2.38-r1) 01:56:39 (13/14) Installing libsmartcols (2.38-r1) 01:56:39 (14/14) Installing util-linux-dev (2.38-r1) 01:56:39 Executing busybox-1.35.0-r17.trigger 01:56:39 OK: 280 MiB in 90 packages 01:56:40 Removing intermediate container 8e60fc4ea0ac 01:56:40 ---> da99d8a053ce 01:56:40 Step 6/21 : RUN mkdir /tmp/sdk 01:56:40 ---> Running in be44844ece9c 01:56:40 Removing intermediate container be44844ece9c 01:56:40 ---> c81d1cc04461 01:56:40 Step 7/21 : COPY VERSION /tmp/sdk 01:56:40 ---> f34182dc480a 01:56:40 Step 8/21 : COPY src /tmp/sdk/src 01:56:41 ---> 726b672ac774 01:56:41 Step 9/21 : COPY include /tmp/sdk/include 01:56:41 ---> c75102f3ddbf 01:56:41 Step 10/21 : COPY scripts /tmp/sdk/scripts 01:56:41 ---> 090e895bc807 01:56:41 Step 11/21 : COPY LICENSE /tmp/sdk 01:56:41 ---> 110471ec2f26 01:56:41 Step 12/21 : COPY Attribution.txt /tmp/sdk 01:56:41 ---> 8de1319a0c73 01:56:41 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 01:56:41 ---> Running in e51500b5d0c7 01:56:41 + CPPCHECK=false 01:56:41 + DOCGEN=false 01:56:41 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 01:56:41 + TOMLVER=SDK-0.2 01:56:41 + CUTILVER=1.4 01:56:41 + '[' 0 -gt 0 ] 01:56:41 + readlink -f ./scripts/build.sh 01:56:41 + dirname /tmp/sdk/scripts/build.sh 01:56:41 + dirname /tmp/sdk/scripts 01:56:41 + ROOT=/tmp/sdk 01:56:41 + cd /tmp/sdk 01:56:41 + '[' '!' -d deps ] 01:56:41 + mkdir deps 01:56:41 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 01:56:41 + tar -C deps -z -x -f - 01:56:41 Connecting to github.com (140.82.113.3:443) 01:56:41 Connecting to codeload.github.com (140.82.113.10:443) 01:56:42 writing to stdout 01:56:42 - 100% |********************************| 16451 0:00:00 ETA 01:56:42 written to stdout 01:56:42 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 01:56:42 + mkdir -p /tmp/sdk/build/release 01:56:42 + cd /tmp/sdk/build/release 01:56:42 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 01:56:42 -- The C compiler identification is GNU 11.2.1 01:56:42 -- Detecting C compiler ABI info 01:56:42 -- Detecting C compiler ABI info - done 01:56:42 -- Check for working C compiler: /usr/bin/cc - skipped 01:56:42 -- Detecting C compile features 01:56:42 -- Detecting C compile features - done 01:56:42 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 01:56:42 -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") 01:56:42 -- Found LIBYAML: /usr/lib/libyaml.so 01:56:42 -- Found LIBUUID: /usr/lib/libuuid.so 01:56:42 -- Found LIBCBOR: /usr/lib/libcbor.so 01:56:42 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 01:56:42 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 01:56:42 -- Found IOT: /opt/iotech/iot/1.4/lib/libiot.so 01:56:42 -- /opt/iotech/iot/1.4/include 01:56:42 -- C SDK 0.0.0 for Linux 01:56:42 -- Performing Test CSDK_HAVE_ATOMIC 01:56:42 -- Performing Test CSDK_HAVE_ATOMIC - Success 01:56:42 -- Found Curses: /usr/lib/libcurses.so 01:56:42 -- Configuring done 01:56:42 -- Generating done 01:56:42 -- Build files have been written to: /tmp/sdk/build/release 01:56:42 + make all package 01:56:42 + tee release.log 01:56:42 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 01:56:42 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 01:56:42 [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o 01:56:43 Still waiting to schedule task 01:56:43 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-5190’ 01:56:43 [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 01:56:43 [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 01:56:43 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 01:56:43 [ 13%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 01:56:44 [ 15%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 01:56:44 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 01:56:44 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 01:56:44 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 01:56:44 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 01:56:45 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 01:56:45 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 01:56:45 [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 01:56:45 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 01:56:45 [ 33%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 01:56:45 [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o 01:56:46 [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 01:56:46 [ 39%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 01:56:46 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 01:56:47 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 01:56:47 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 01:56:47 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 01:56:47 [ 49%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 01:56:47 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 01:56:48 [ 52%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 01:56:48 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 01:56:48 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 01:56:48 [ 58%] Building C object c/CMakeFiles/csdk.dir/service.c.o 01:56:49 [ 60%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 01:56:49 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 01:56:50 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 01:56:50 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 01:56:50 [ 68%] Linking C shared library libcsdk.so 01:56:50 [ 68%] Built target csdk 01:56:50 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 01:56:50 [ 72%] Linking C executable template 01:56:50 [ 72%] Built target template 01:56:50 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 01:56:50 [ 76%] Linking C executable device-counter 01:56:50 [ 76%] Built target device-counter 01:56:50 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 01:56:50 [ 80%] Linking C executable device-random 01:56:50 [ 80%] Built target device-random 01:56:50 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 01:56:51 [ 84%] Linking C executable device-gyro 01:56:51 [ 84%] Built target device-gyro 01:56:51 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 01:56:51 [ 88%] Linking C executable device-bitfields 01:56:51 [ 88%] Built target device-bitfields 01:56:51 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 01:56:51 [ 92%] Linking C executable template-discovery 01:56:51 [ 92%] Built target template-discovery 01:56:51 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 01:56:51 [ 96%] Linking C executable device-file 01:56:51 [ 96%] Built target device-file 01:56:51 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 01:56:51 [100%] Linking C executable device-terminal 01:56:51 [100%] Built target device-terminal 01:56:51 Run CPack packaging tool... 01:56:51 CPack: Create package using TGZ 01:56:51 CPack: Install projects 01:56:51 CPack: - Run preinstall target for: Csdk 01:56:52 CPack: - Install project: Csdk [] 01:56:52 CPack: Create package 01:56:52 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 01:56:52 + '[' false '=' true ] 01:56:52 + '[' false '=' true ] 01:56:52 + mkdir -p /tmp/sdk/build/debug 01:56:52 + cd /tmp/sdk/build/debug 01:56:52 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 01:56:52 -- The C compiler identification is GNU 11.2.1 01:56:52 -- Detecting C compiler ABI info 01:56:52 -- Detecting C compiler ABI info - done 01:56:52 -- Check for working C compiler: /usr/bin/cc - skipped 01:56:52 -- Detecting C compile features 01:56:52 -- Detecting C compile features - done 01:56:52 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 01:56:52 -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") 01:56:52 -- Found LIBYAML: /usr/lib/libyaml.so 01:56:52 -- Found LIBUUID: /usr/lib/libuuid.so 01:56:52 -- Found LIBCBOR: /usr/lib/libcbor.so 01:56:52 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 01:56:52 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 01:56:52 -- Found IOT: /opt/iotech/iot/1.4/lib/libiot.so 01:56:52 -- /opt/iotech/iot/1.4/include 01:56:52 -- C SDK 0.0.0 for Linux 01:56:52 -- Performing Test CSDK_HAVE_ATOMIC 01:56:52 -- Performing Test CSDK_HAVE_ATOMIC - Success 01:56:52 -- Found Curses: /usr/lib/libcurses.so 01:56:52 -- Configuring done 01:56:52 -- Generating done 01:56:52 -- Build files have been written to: /tmp/sdk/build/debug 01:56:52 + make 01:56:52 + tee debug.log 01:56:52 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 01:56:52 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 01:56:52 [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o 01:56:52 [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 01:56:53 [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 01:56:53 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 01:56:53 [ 13%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 01:56:53 [ 15%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 01:56:53 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 01:56:53 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 01:56:53 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 01:56:53 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 01:56:53 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 01:56:53 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 01:56:53 [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 01:56:53 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 01:56:54 [ 33%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 01:56:54 [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o 01:56:54 [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 01:56:54 [ 39%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 01:56:54 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 01:56:54 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 01:56:54 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 01:56:54 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 01:56:54 [ 49%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 01:56:54 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 01:56:55 [ 52%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 01:56:55 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 01:56:55 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 01:56:55 [ 58%] Building C object c/CMakeFiles/csdk.dir/service.c.o 01:56:55 [ 60%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 01:56:55 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 01:56:55 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 01:56:55 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 01:56:55 [ 68%] Linking C shared library libcsdk.so 01:56:55 [ 68%] Built target csdk 01:56:55 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 01:56:56 [ 72%] Linking C executable template 01:56:56 [ 72%] Built target template 01:56:56 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 01:56:56 [ 76%] Linking C executable device-counter 01:56:56 [ 76%] Built target device-counter 01:56:56 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 01:56:56 [ 80%] Linking C executable device-random 01:56:56 [ 80%] Built target device-random 01:56:56 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 01:56:56 [ 84%] Linking C executable device-gyro 01:56:56 [ 84%] Built target device-gyro 01:56:56 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 01:56:56 [ 88%] Linking C executable device-bitfields 01:56:56 [ 88%] Built target device-bitfields 01:56:56 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 01:56:56 [ 92%] Linking C executable template-discovery 01:56:56 [ 92%] Built target template-discovery 01:56:56 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 01:56:56 [ 96%] Linking C executable device-file 01:56:56 [ 96%] Built target device-file 01:56:56 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 01:56:57 [100%] Linking C executable device-terminal 01:56:57 [100%] Built target device-terminal 01:56:57 make: Entering directory '/tmp/sdk/build/release' 01:56:57 make[1]: Entering directory '/tmp/sdk/build/release' 01:56:57 make[2]: Entering directory '/tmp/sdk/build/release' 01:56:57 make[2]: Leaving directory '/tmp/sdk/build/release' 01:56:57 [ 68%] Built target csdk 01:56:57 make[2]: Entering directory '/tmp/sdk/build/release' 01:56:57 make[2]: Leaving directory '/tmp/sdk/build/release' 01:56:57 [ 72%] Built target template 01:56:57 make[2]: Entering directory '/tmp/sdk/build/release' 01:56:57 make[2]: Leaving directory '/tmp/sdk/build/release' 01:56:57 [ 76%] Built target device-counter 01:56:57 make[2]: Entering directory '/tmp/sdk/build/release' 01:56:57 make[2]: Leaving directory '/tmp/sdk/build/release' 01:56:57 [ 80%] Built target device-random 01:56:57 make[2]: Entering directory '/tmp/sdk/build/release' 01:56:57 make[2]: Leaving directory '/tmp/sdk/build/release' 01:56:57 [ 84%] Built target device-gyro 01:56:57 make[2]: Entering directory '/tmp/sdk/build/release' 01:56:57 make[2]: Leaving directory '/tmp/sdk/build/release' 01:56:57 [ 88%] Built target device-bitfields 01:56:57 make[2]: Entering directory '/tmp/sdk/build/release' 01:56:57 make[2]: Leaving directory '/tmp/sdk/build/release' 01:56:57 [ 92%] Built target template-discovery 01:56:57 make[2]: Entering directory '/tmp/sdk/build/release' 01:56:57 make[2]: Leaving directory '/tmp/sdk/build/release' 01:56:57 [ 96%] Built target device-file 01:56:57 make[2]: Entering directory '/tmp/sdk/build/release' 01:56:57 make[2]: Leaving directory '/tmp/sdk/build/release' 01:56:57 [100%] Built target device-terminal 01:56:57 make[1]: Leaving directory '/tmp/sdk/build/release' 01:56:57 Install the project... 01:56:57 -- Install configuration: "Release" 01:56:57 -- Installing: /usr/local/lib/libcsdk.so 01:56:57 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 01:56:57 -- Installing: /usr/local/include 01:56:57 -- Installing: /usr/local/include/devsdk 01:56:57 -- Installing: /usr/local/include/devsdk/devsdk.h 01:56:57 -- Installing: /usr/local/include/devsdk/devsdk-base.h 01:56:57 -- Installing: /usr/local/include/edgex 01:56:57 -- Installing: /usr/local/include/edgex/edgex.h 01:56:57 -- Installing: /usr/local/include/edgex/devices.h 01:56:57 -- Installing: /usr/local/include/edgex/profiles.h 01:56:57 -- Installing: /usr/local/include/edgex/edgex-base.h 01:56:57 -- Installing: /usr/local/include/edgex/rest-server.h 01:56:57 -- Installing: /usr/local/include/edgex/csdk-defs.h 01:56:57 -- Installing: /usr/local/share/device-sdk-c/LICENSE 01:56:57 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 01:56:57 make: Leaving directory '/tmp/sdk/build/release' 01:56:58 Removing intermediate container e51500b5d0c7 01:56:58 ---> 5981cd94718b 01:56:58 Step 14/21 : FROM ${BASE} 01:56:58 ---> b2bbfebb3566 01:56:58 Step 15/21 : LABEL maintainer="IOTech " 01:56:58 ---> Running in c7aa15040de2 01:56:58 Removing intermediate container c7aa15040de2 01:56:58 ---> 3589dceb9cc2 01:56:58 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 01:56:58 ---> Running in d15c2a365ee8 01:56:58 Connecting to iotech.jfrog.io (52.212.211.236:443) 01:56:58 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 01:56:58 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 01:56:58 '/etc/apk/keys/alpine.dev.rsa.pub' saved 01:56:59 Removing intermediate container d15c2a365ee8 01:56:59 ---> 01842f2daa4b 01:56:59 Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 01:56:59 ---> Running in 5ea21914e12e 01:56:59 Removing intermediate container 5ea21914e12e 01:56:59 ---> 4a2b5f2c621f 01:56:59 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 01:56:59 ---> Running in bfaaeed1e9cd 01:57:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:57:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:57:00 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 01:57:01 WARNING: This apk-tools is OLD! Some packages might not function properly. 01:57:01 (1/7) Installing curl (7.83.1-r5) 01:57:01 (2/7) Installing hiredis (1.0.2-r0) 01:57:01 (3/7) Installing hiredis-dev (1.0.2-r0) 01:57:01 (4/7) Installing iotech-iot-1.4 (1.4.0-r0) 01:57:02 (5/7) Installing libcbor (0.9.0-r1) 01:57:02 (6/7) Installing libuuid (2.38-r1) 01:57:02 (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 01:57:02 Executing busybox-1.35.0-r17.trigger 01:57:02 OK: 275 MiB in 83 packages 01:57:03 Removing intermediate container bfaaeed1e9cd 01:57:03 ---> b5840093ddd3 01:57:03 Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 01:57:03 ---> 56450ebdc4db 01:57:03 Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib 01:57:03 ---> 305ac4733e65 01:57:03 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 01:57:03 ---> c18fa45f6f0a 01:57:03 Successfully built c18fa45f6f0a 01:57:03 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 01:57:04 + docker inspect -f . ci-base-image-x86_64 01:57:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:57:04 prd-ubuntu20.04-docker-8c-8g-5192 does not seem to be running inside a container 01:57:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-442 -v /w/workspace/edgexfoundry_device-sdk-c_PR-442:/w/workspace/edgexfoundry_device-sdk-c_PR-442:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-442@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-442@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:57:04 $ docker top 921a9aa1492a739d45c786d671d31f24a0ae65ba3b6811f240ff99da1f64ae85 -eo pid,comm [Pipeline] { [Pipeline] sh 01:57:04 + make test 01:57:04 echo "make test" 01:57:04 make test [Pipeline] } 01:57:04 $ docker stop --time=1 921a9aa1492a739d45c786d671d31f24a0ae65ba3b6811f240ff99da1f64ae85 01:57:06 $ docker rm -f --volumes 921a9aa1492a739d45c786d671d31f24a0ae65ba3b6811f240ff99da1f64ae85 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:57:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:57:07 + ls -al . 01:57:07 total 204 01:57:07 drwxrwxr-x 9 jenkins jenkins 4096 Feb 9 01:56 . 01:57:07 drwxrwxr-x 4 jenkins jenkins 4096 Feb 9 01:55 .. 01:57:07 drwxrwxr-x 8 jenkins jenkins 4096 Feb 9 01:56 .git 01:57:07 drwxrwxr-x 2 jenkins jenkins 4096 Feb 9 01:56 .github 01:57:07 -rw-rw-r-- 1 jenkins jenkins 176 Feb 9 01:56 .gitignore 01:57:07 drwxr-xr-x 3 jenkins jenkins 4096 Feb 9 01:56 .semver 01:57:07 -rw-rw-r-- 1 jenkins jenkins 3104 Feb 9 01:56 Attribution.txt 01:57:07 -rw-rw-r-- 1 jenkins jenkins 8583 Feb 9 01:56 CHANGES 01:57:07 -rw-rw-r-- 1 jenkins jenkins 108574 Feb 9 01:56 Doxyfile 01:57:07 -rw-rw-r-- 1 jenkins jenkins 677 Feb 9 01:56 GOVERNANCE.md 01:57:07 -rw-rw-r-- 1 jenkins jenkins 784 Feb 9 01:56 Jenkinsfile 01:57:07 -rw-rw-r-- 1 jenkins jenkins 10174 Feb 9 01:56 LICENSE 01:57:07 -rw-rw-r-- 1 jenkins jenkins 444 Feb 9 01:56 Makefile 01:57:07 -rw-rw-r-- 1 jenkins jenkins 618 Feb 9 01:56 OWNERS.md 01:57:07 -rw-rw-r-- 1 jenkins jenkins 4086 Feb 9 01:56 README.md 01:57:07 -rw-rw-r-- 1 jenkins jenkins 1245 Feb 9 01:56 README.v3.md 01:57:07 -rw-rw-r-- 1 jenkins jenkins 5 Feb 9 01:56 VERSION 01:57:07 drwxrwxr-x 2 jenkins jenkins 4096 Feb 9 01:56 docs 01:57:07 drwxrwxr-x 4 jenkins jenkins 4096 Feb 9 01:56 include 01:57:07 drwxrwxr-x 2 jenkins jenkins 4096 Feb 9 01:56 scripts 01:57:07 drwxrwxr-x 4 jenkins jenkins 4096 Feb 9 01:56 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:57:07 + 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=4a71e5de4feb9c007fb0b194932bfb48d7e80df9 --label arch=amd64 --label version=0.0.0 . 01:57:07 Sending build context to Docker daemon 4.799MB 01:57:07 Step 1/17 : ARG BASE=alpine:3.16 01:57:07 Step 2/17 : FROM ${BASE} 01:57:07 ---> c18fa45f6f0a 01:57:07 Step 3/17 : LABEL maintainer="IOTech " 01:57:07 ---> Running in 32fc0f220f06 01:57:07 Removing intermediate container 32fc0f220f06 01:57:07 ---> 789c80f4aa6f 01:57:07 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 01:57:08 ---> Running in 84dd89312220 01:57:08 Connecting to iotech.jfrog.io (34.240.65.14:443) 01:57:08 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 01:57:08 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 01:57:08 '/etc/apk/keys/alpine.dev.rsa.pub' saved 01:57:08 Removing intermediate container 84dd89312220 01:57:08 ---> 7f3f4b90bee5 01:57:08 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 01:57:08 ---> Running in 80a66473d390 01:57:09 Removing intermediate container 80a66473d390 01:57:09 ---> f3582aa61e9a 01:57:09 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.4-dev && mkdir -p /edgex-c-sdk/build 01:57:09 ---> Running in 88b3b37c9e43 01:57:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:57:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:57:09 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 01:57:10 WARNING: This apk-tools is OLD! Some packages might not function properly. 01:57:10 (1/8) Installing iotech-iot-1.4-dev (1.4.0-r0) 01:57:10 (2/8) Installing libcbor-dev (0.9.0-r1) 01:57:10 (3/8) Installing ncurses-dev (6.3_p20220521-r0) 01:57:10 (4/8) Installing libblkid (2.38-r1) 01:57:10 (5/8) Installing libfdisk (2.38-r1) 01:57:10 (6/8) Installing libmount (2.38-r1) 01:57:10 (7/8) Installing libsmartcols (2.38-r1) 01:57:10 (8/8) Installing util-linux-dev (2.38-r1) 01:57:10 Executing busybox-1.35.0-r17.trigger 01:57:10 OK: 280 MiB in 91 packages 01:57:10 Removing intermediate container 88b3b37c9e43 01:57:10 ---> d902ea0cc171 01:57:10 Step 7/17 : COPY VERSION /edgex-c-sdk/ 01:57:11 ---> 3efe0c409679 01:57:11 Step 8/17 : COPY src /edgex-c-sdk/src/ 01:57:11 ---> 1e56f7fbfa80 01:57:11 Step 9/17 : COPY include /edgex-c-sdk/include/ 01:57:11 ---> 3517d323f552 01:57:11 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 01:57:11 ---> 8bb36bc1db42 01:57:11 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 01:57:11 ---> 3290ca992417 01:57:11 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 01:57:11 ---> 8141866cfbe5 01:57:11 Step 13/17 : WORKDIR /edgex-c-sdk 01:57:11 ---> Running in f616802f2469 01:57:12 Removing intermediate container f616802f2469 01:57:12 ---> 6dec3b5c3c97 01:57:12 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 01:57:12 ---> Running in 3ef68728623d 01:57:12 Removing intermediate container 3ef68728623d 01:57:12 ---> a03024a0edd2 01:57:12 Step 15/17 : LABEL arch=amd64 01:57:12 ---> Running in fc9bbadd18f1 01:57:12 Removing intermediate container fc9bbadd18f1 01:57:12 ---> 681e4e195d1f 01:57:12 Step 16/17 : LABEL git_sha=4a71e5de4feb9c007fb0b194932bfb48d7e80df9 01:57:12 ---> Running in 13a7d8648f89 01:57:12 Removing intermediate container 13a7d8648f89 01:57:12 ---> 131348ff939f 01:57:12 Step 17/17 : LABEL version=0.0.0 01:57:12 ---> Running in bc2aa17082c2 01:57:12 Removing intermediate container bc2aa17082c2 01:57:12 ---> 20d1cbb621d2 01:57:12 [Warning] One or more build-args [MAKE ARCH] were not consumed 01:57:12 Successfully built 20d1cbb621d2 01:57:12 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 01:57:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:57:13 01:57:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:57:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:57:13 latest: Pulling from edgex-lftools-log-publisher 01:57:13 5eb5b503b376: Pulling fs layer 01:57:13 5c69ac0246d0: Pulling fs layer 01:57:13 ec43610c2a17: Pulling fs layer 01:57:13 3a2ae6a8a46f: Pulling fs layer 01:57:13 33b1e0a273af: Pulling fs layer 01:57:13 5d3b04190fa2: Pulling fs layer 01:57:13 2f39f015ded8: Pulling fs layer 01:57:13 33b1e0a273af: Waiting 01:57:13 5d3b04190fa2: Waiting 01:57:13 3a2ae6a8a46f: Waiting 01:57:13 2f39f015ded8: Waiting 01:57:13 5c69ac0246d0: Verifying Checksum 01:57:13 5c69ac0246d0: Download complete 01:57:13 3a2ae6a8a46f: Verifying Checksum 01:57:13 3a2ae6a8a46f: Download complete 01:57:13 33b1e0a273af: Verifying Checksum 01:57:13 33b1e0a273af: Download complete 01:57:13 5d3b04190fa2: Download complete 01:57:13 ec43610c2a17: Verifying Checksum 01:57:13 ec43610c2a17: Download complete 01:57:14 5eb5b503b376: Verifying Checksum 01:57:14 5eb5b503b376: Download complete 01:57:14 2f39f015ded8: Verifying Checksum 01:57:14 2f39f015ded8: Download complete 01:57:14 5eb5b503b376: Pull complete 01:57:15 5c69ac0246d0: Pull complete 01:57:15 ec43610c2a17: Pull complete 01:57:15 3a2ae6a8a46f: Pull complete 01:57:15 33b1e0a273af: Pull complete 01:57:15 5d3b04190fa2: Pull complete 01:57:20 2f39f015ded8: Pull complete 01:57:20 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:57:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:57:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:57:20 prd-ubuntu20.04-docker-8c-8g-5192 does not seem to be running inside a container 01:57:20 $ 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_PR-442 -v /w/workspace/edgexfoundry_device-sdk-c_PR-442:/w/workspace/edgexfoundry_device-sdk-c_PR-442:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-442@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-442@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:57:23 $ docker top 439ac2e7199c9caba871fd1170afb64d33c35e6a130061ec2032110c32a433bf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:57:24 ---> job-cost.sh 01:57:24 lf-activate-venv: SKIPPING 01:57:24 INFO: No Stack... 01:57:24 INFO: Retrieving Pricing Info for: v3-standard-8 01:57:25 INFO: Archiving Costs [Pipeline] sh 01:57:25 + cat /w/workspace/edgexfoundry_device-sdk-c_PR-442/archives/cost.csv 01:57:25 + cut -d, -f6 [Pipeline] lock 01:57:25 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-442-1-stack-cost] 01:57:25 Resource [jenkins-edgexfoundry-device-sdk-c-PR-442-1-stack-cost] did not exist. Created. 01:57:25 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-442-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:57:26 + echo total: 0.2199999988079071 [Pipeline] stash 01:57:26 Stashed 1 file(s) [Pipeline] } 01:57:26 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-442-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:57:26 $ docker stop --time=1 439ac2e7199c9caba871fd1170afb64d33c35e6a130061ec2032110c32a433bf 01:57:27 $ docker rm -f --volumes 439ac2e7199c9caba871fd1170afb64d33c35e6a130061ec2032110c32a433bf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:00:04 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5193 in /w/workspace/edgexfoundry_device-sdk-c_PR-442 [Pipeline] { [Pipeline] ws 02:00:04 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 02:00:04 Selected Git installation does not exist. Using Default 02:00:04 The recommended git tool is: NONE 02:00:09 using credential edgex-jenkins-ssh 02:00:09 Cloning the remote Git repository 02:00:09 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 02:00:09 > git init /w/workspace/device-sdk-c/1 # timeout=10 02:00:09 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 02:00:09 > git --version # timeout=10 02:00:09 > git --version # 'git version 2.25.1' 02:00:09 using GIT_SSH to set credentials SSH Credentials for GitHub 02:00:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:00:10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 02:00:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:00:12 Merging remotes/origin/main commit 60c720530b7232d7be6f88f4d69bf42c6efbb654 into PR head commit 2745f2671e0e88176ed45855f9521961cbf0ba6a 02:00:11 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 02:00:11 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 02:00:11 using GIT_SSH to set credentials SSH Credentials for GitHub 02:00:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/442/head:refs/remotes/origin/PR-442 +refs/heads/main:refs/remotes/origin/main # timeout=10 02:00:12 > git config core.sparsecheckout # timeout=10 02:00:12 > git checkout -f 2745f2671e0e88176ed45855f9521961cbf0ba6a # timeout=10 02:00:12 > git remote # timeout=10 02:00:12 > git config --get remote.origin.url # timeout=10 02:00:12 using GIT_SSH to set credentials SSH Credentials for GitHub 02:00:12 > git merge 60c720530b7232d7be6f88f4d69bf42c6efbb654 # timeout=10 02:00:13 Merge succeeded, producing 077ccc421da0bdc73dd1358f7000c32d9a1382b3 02:00:13 Checking out Revision 077ccc421da0bdc73dd1358f7000c32d9a1382b3 (PR-442) 02:00:13 > git rev-parse HEAD^{commit} # timeout=10 02:00:13 > git config core.sparsecheckout # timeout=10 02:00:13 > git checkout -f 077ccc421da0bdc73dd1358f7000c32d9a1382b3 # timeout=10 02:00:16 Commit message: "Merge commit '60c720530b7232d7be6f88f4d69bf42c6efbb654' into HEAD" 02:00:16 First time build. Skipping changelog. 02:00:16 > git --version # timeout=10 02:00:16 > git --version # 'git version 2.25.1' 02:00:16 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:00:17 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:00:17 % Total % Received % Xferd Average Speed Time Time Time Current 02:00:17 Dload Upload Total Spent Left Speed 02:00:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 86741 0 --:--:-- --:--:-- --:--:-- 86741 [Pipeline] sh 02:00:18 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:00:18 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:00:18 + sudo tee /etc/docker/daemon.new 02:00:18 { 02:00:18 "registry-mirrors": [ 02:00:18 "https://nexus3.edgexfoundry.org:10001" 02:00:18 ], 02:00:18 "bip": "10.250.0.254/24", 02:00:18 "hosts": [ 02:00:18 "tcp://0.0.0.0:5555", 02:00:18 "unix:///var/run/docker.sock" 02:00:18 ], 02:00:18 "mtu": 1458, 02:00:18 "selinux-enabled": true, 02:00:18 "seccomp-profile": "/etc/docker/seccomp.json" 02:00:18 } [Pipeline] sh 02:00:19 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:00:19 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:00:37 provisioning config files... 02:00:37 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config12448996219161359872tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:00:38 ---> docker-login.sh 02:00:38 nexus3.edgexfoundry.org:10001 02:00:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:00:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:00:39 Configure a credential helper to remove this warning. See 02:00:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:00:39 02:00:39 Login Succeeded 02:00:39 nexus3.edgexfoundry.org:10002 02:00:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:00:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:00:39 Configure a credential helper to remove this warning. See 02:00:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:00:39 02:00:39 Login Succeeded 02:00:39 nexus3.edgexfoundry.org:10003 02:00:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:00:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:00:39 Configure a credential helper to remove this warning. See 02:00:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:00:39 02:00:39 Login Succeeded 02:00:39 nexus3.edgexfoundry.org:10004 02:00:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:00:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:00:40 Configure a credential helper to remove this warning. See 02:00:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:00:40 02:00:40 Login Succeeded 02:00:40 docker.io 02:00:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:00:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:00:40 Configure a credential helper to remove this warning. See 02:00:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:00:40 02:00:40 Login Succeeded 02:00:40 ---> docker-login.sh ends [Pipeline] } 02:00:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:00:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:00:41 [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo 02:00:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:00:41 ========================================================= 02:00:41 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 02:00:41 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:41 + 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 . 02:00:42 Sending build context to Docker daemon 2.93MB 02:00:42 Step 1/21 : ARG BASE=alpine:3.16 02:00:42 Step 2/21 : FROM ${BASE} as builder 02:00:42 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 02:00:42 9b18e9b68314: Pulling fs layer 02:00:42 1def92ead452: Pulling fs layer 02:00:42 9b18e9b68314: Verifying Checksum 02:00:42 9b18e9b68314: Download complete 02:00:42 9b18e9b68314: Pull complete 02:00:44 1def92ead452: Verifying Checksum 02:00:44 1def92ead452: Download complete 02:00:52 1def92ead452: Pull complete 02:00:52 Digest: sha256:3c74c28e8b16bff0b36cfc53656b3ae71c0a9fddc9bd5376ab4c3f9356b3cc6c 02:00:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 02:00:52 ---> 9a9802766715 02:00:52 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 02:00:52 ---> Running in 507df3d46295 02:00:53 Connecting to iotech.jfrog.io (52.212.211.236:443) 02:00:54 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 02:00:54 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 02:00:54 '/etc/apk/keys/alpine.dev.rsa.pub' saved 02:00:54 Removing intermediate container 507df3d46295 02:00:54 ---> ed5c61fefdfe 02:00:54 Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 02:00:54 ---> Running in 543d058ae200 02:00:56 Removing intermediate container 543d058ae200 02:00:56 ---> 7ce78e4ca3c6 02:00:56 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.4-dev hiredis-dev 02:00:56 ---> Running in 72816b9b5573 02:00:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 02:00:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 02:00:58 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz 02:00:59 WARNING: This apk-tools is OLD! Some packages might not function properly. 02:00:59 (1/14) Installing hiredis (1.0.2-r0) 02:00:59 (2/14) Installing hiredis-dev (1.0.2-r0) 02:00:59 (3/14) Installing iotech-iot-1.4 (1.4.0-r0) 02:00:59 (4/14) Installing iotech-iot-1.4-dev (1.4.0-r0) 02:00:59 (5/14) Installing libcbor (0.9.0-r1) 02:00:59 (6/14) Installing libcbor-dev (0.9.0-r1) 02:00:59 (7/14) Installing ncurses-dev (6.3_p20220521-r0) 02:00:59 (8/14) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 02:01:00 (9/14) Installing libblkid (2.38-r1) 02:01:00 (10/14) Installing libuuid (2.38-r1) 02:01:00 (11/14) Installing libfdisk (2.38-r1) 02:01:00 (12/14) Installing libmount (2.38-r1) 02:01:00 (13/14) Installing libsmartcols (2.38-r1) 02:01:00 (14/14) Installing util-linux-dev (2.38-r1) 02:01:01 Executing busybox-1.35.0-r17.trigger 02:01:01 OK: 286 MiB in 90 packages 02:01:02 Removing intermediate container 72816b9b5573 02:01:02 ---> 4937a5940128 02:01:02 Step 6/21 : RUN mkdir /tmp/sdk 02:01:02 ---> Running in 1805ca439899 02:01:04 Removing intermediate container 1805ca439899 02:01:04 ---> 2604474e204b 02:01:04 Step 7/21 : COPY VERSION /tmp/sdk 02:01:04 ---> f946706b1b92 02:01:04 Step 8/21 : COPY src /tmp/sdk/src 02:01:05 ---> ae018b4fb49e 02:01:05 Step 9/21 : COPY include /tmp/sdk/include 02:01:05 ---> 3594ed28a41a 02:01:05 Step 10/21 : COPY scripts /tmp/sdk/scripts 02:01:06 ---> 86f60b0cafda 02:01:06 Step 11/21 : COPY LICENSE /tmp/sdk 02:01:06 ---> cd85d38966d1 02:01:06 Step 12/21 : COPY Attribution.txt /tmp/sdk 02:01:07 ---> a9d52bafa19a 02:01:07 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 02:01:07 ---> Running in b0777a686798 02:01:08 + CPPCHECK=false 02:01:08 + DOCGEN=false 02:01:08 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 02:01:08 + TOMLVER=SDK-0.2 02:01:08 + CUTILVER=1.4 02:01:08 + '[' 0 -gt 0 ] 02:01:08 + readlink -f ./scripts/build.sh 02:01:08 + dirname /tmp/sdk/scripts/build.sh 02:01:08 + dirname /tmp/sdk/scripts 02:01:08 + ROOT=/tmp/sdk 02:01:08 + cd /tmp/sdk 02:01:08 + '[' '!' -d deps ] 02:01:08 + mkdir deps 02:01:08 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 02:01:08 + tar -C deps -z -x -f - 02:01:08 Connecting to github.com (140.82.114.4:443) 02:01:08 Connecting to codeload.github.com (140.82.114.10:443) 02:01:08 writing to stdout 02:01:08 - 100% |********************************| 16451 0:00:00 ETA 02:01:08 written to stdout 02:01:08 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 02:01:08 + mkdir -p /tmp/sdk/build/release 02:01:08 + cd /tmp/sdk/build/release 02:01:08 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 02:01:08 -- The C compiler identification is GNU 11.2.1 02:01:08 -- Detecting C compiler ABI info 02:01:09 -- Detecting C compiler ABI info - done 02:01:09 -- Check for working C compiler: /usr/bin/cc - skipped 02:01:09 -- Detecting C compile features 02:01:09 -- Detecting C compile features - done 02:01:09 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 02:01:09 -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") 02:01:09 -- Found LIBYAML: /usr/lib/libyaml.so 02:01:09 -- Found LIBUUID: /usr/lib/libuuid.so 02:01:09 -- Found LIBCBOR: /usr/lib/libcbor.so 02:01:09 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 02:01:09 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 02:01:09 -- Found IOT: /opt/iotech/iot/1.4/lib/libiot.so 02:01:09 -- /opt/iotech/iot/1.4/include 02:01:09 -- C SDK 0.0.0 for Linux 02:01:09 -- Performing Test CSDK_HAVE_ATOMIC 02:01:10 -- Performing Test CSDK_HAVE_ATOMIC - Success 02:01:10 -- Found Curses: /usr/lib/libcurses.so 02:01:10 -- Configuring done 02:01:10 -- Generating done 02:01:10 -- Build files have been written to: /tmp/sdk/build/release 02:01:10 + make all package 02:01:10 + tee release.log 02:01:10 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 02:01:11 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 02:01:12 [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o 02:01:15 [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 02:01:17 [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 02:01:17 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 02:01:18 [ 13%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 02:01:20 [ 15%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 02:01:20 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 02:01:22 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 02:01:23 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 02:01:24 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 02:01:25 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 02:01:26 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 02:01:27 [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 02:01:27 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 02:01:31 [ 33%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 02:01:31 [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o 02:01:32 [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 02:01:34 [ 39%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 02:01:34 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 02:01:41 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 02:01:41 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 02:01:41 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 02:01:42 [ 49%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 02:01:44 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 02:01:46 [ 52%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 02:01:47 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 02:01:48 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 02:01:49 [ 58%] Building C object c/CMakeFiles/csdk.dir/service.c.o 02:01:52 [ 60%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 02:01:57 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 02:01:58 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 02:01:58 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 02:01:59 [ 68%] Linking C shared library libcsdk.so 02:01:59 [ 68%] Built target csdk 02:01:59 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 02:02:00 [ 72%] Linking C executable template 02:02:01 [ 72%] Built target template 02:02:01 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 02:02:01 [ 76%] Linking C executable device-counter 02:02:02 [ 76%] Built target device-counter 02:02:02 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 02:02:02 [ 80%] Linking C executable device-random 02:02:02 [ 80%] Built target device-random 02:02:03 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 02:02:03 [ 84%] Linking C executable device-gyro 02:02:04 [ 84%] Built target device-gyro 02:02:04 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 02:02:04 [ 88%] Linking C executable device-bitfields 02:02:04 [ 88%] Built target device-bitfields 02:02:04 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 02:02:06 [ 92%] Linking C executable template-discovery 02:02:06 [ 92%] Built target template-discovery 02:02:06 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 02:02:07 [ 96%] Linking C executable device-file 02:02:07 [ 96%] Built target device-file 02:02:07 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 02:02:08 [100%] Linking C executable device-terminal 02:02:08 [100%] Built target device-terminal 02:02:09 Run CPack packaging tool... 02:02:09 CPack: Create package using TGZ 02:02:09 CPack: Install projects 02:02:09 CPack: - Run preinstall target for: Csdk 02:02:09 CPack: - Install project: Csdk [] 02:02:09 CPack: Create package 02:02:09 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 02:02:09 + '[' false '=' true ] 02:02:09 + '[' false '=' true ] 02:02:09 + mkdir -p /tmp/sdk/build/debug 02:02:09 + cd /tmp/sdk/build/debug 02:02:09 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 02:02:10 -- The C compiler identification is GNU 11.2.1 02:02:10 -- Detecting C compiler ABI info 02:02:10 -- Detecting C compiler ABI info - done 02:02:10 -- Check for working C compiler: /usr/bin/cc - skipped 02:02:10 -- Detecting C compile features 02:02:10 -- Detecting C compile features - done 02:02:10 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 02:02:10 -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") 02:02:10 -- Found LIBYAML: /usr/lib/libyaml.so 02:02:10 -- Found LIBUUID: /usr/lib/libuuid.so 02:02:10 -- Found LIBCBOR: /usr/lib/libcbor.so 02:02:10 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 02:02:10 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 02:02:10 -- Found IOT: /opt/iotech/iot/1.4/lib/libiot.so 02:02:10 -- /opt/iotech/iot/1.4/include 02:02:10 -- C SDK 0.0.0 for Linux 02:02:10 -- Performing Test CSDK_HAVE_ATOMIC 02:02:11 -- Performing Test CSDK_HAVE_ATOMIC - Success 02:02:11 -- Found Curses: /usr/lib/libcurses.so 02:02:11 -- Configuring done 02:02:11 -- Generating done 02:02:11 -- Build files have been written to: /tmp/sdk/build/debug 02:02:11 + make 02:02:11 + tee debug.log 02:02:11 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 02:02:12 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 02:02:12 [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o 02:02:13 [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 02:02:14 [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 02:02:14 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 02:02:15 [ 13%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 02:02:15 [ 15%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 02:02:16 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 02:02:16 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 02:02:17 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 02:02:17 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 02:02:18 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 02:02:18 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 02:02:18 [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 02:02:19 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 02:02:20 [ 33%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 02:02:20 [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o 02:02:20 [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 02:02:21 [ 39%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 02:02:21 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 02:02:23 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 02:02:23 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 02:02:23 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 02:02:24 [ 49%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 02:02:24 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 02:02:26 [ 52%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 02:02:27 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 02:02:27 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 02:02:28 [ 58%] Building C object c/CMakeFiles/csdk.dir/service.c.o 02:02:29 [ 60%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 02:02:30 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 02:02:30 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 02:02:30 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 02:02:31 [ 68%] Linking C shared library libcsdk.so 02:02:31 [ 68%] Built target csdk 02:02:31 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 02:02:31 [ 72%] Linking C executable template 02:02:31 [ 72%] Built target template 02:02:31 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 02:02:32 [ 76%] Linking C executable device-counter 02:02:32 [ 76%] Built target device-counter 02:02:32 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 02:02:33 [ 80%] Linking C executable device-random 02:02:33 [ 80%] Built target device-random 02:02:33 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 02:02:33 [ 84%] Linking C executable device-gyro 02:02:34 [ 84%] Built target device-gyro 02:02:34 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 02:02:34 [ 88%] Linking C executable device-bitfields 02:02:34 [ 88%] Built target device-bitfields 02:02:34 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 02:02:35 [ 92%] Linking C executable template-discovery 02:02:35 [ 92%] Built target template-discovery 02:02:35 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 02:02:36 [ 96%] Linking C executable device-file 02:02:36 [ 96%] Built target device-file 02:02:36 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 02:02:36 [100%] Linking C executable device-terminal 02:02:37 [100%] Built target device-terminal 02:02:37 make: Entering directory '/tmp/sdk/build/release' 02:02:37 make[1]: Entering directory '/tmp/sdk/build/release' 02:02:37 make[2]: Entering directory '/tmp/sdk/build/release' 02:02:37 make[2]: Leaving directory '/tmp/sdk/build/release' 02:02:37 [ 68%] Built target csdk 02:02:37 make[2]: Entering directory '/tmp/sdk/build/release' 02:02:37 make[2]: Leaving directory '/tmp/sdk/build/release' 02:02:37 [ 72%] Built target template 02:02:37 make[2]: Entering directory '/tmp/sdk/build/release' 02:02:37 make[2]: Leaving directory '/tmp/sdk/build/release' 02:02:37 [ 76%] Built target device-counter 02:02:37 make[2]: Entering directory '/tmp/sdk/build/release' 02:02:37 make[2]: Leaving directory '/tmp/sdk/build/release' 02:02:37 [ 80%] Built target device-random 02:02:37 make[2]: Entering directory '/tmp/sdk/build/release' 02:02:37 make[2]: Leaving directory '/tmp/sdk/build/release' 02:02:37 [ 84%] Built target device-gyro 02:02:37 make[2]: Entering directory '/tmp/sdk/build/release' 02:02:37 make[2]: Leaving directory '/tmp/sdk/build/release' 02:02:37 [ 88%] Built target device-bitfields 02:02:37 make[2]: Entering directory '/tmp/sdk/build/release' 02:02:37 make[2]: Leaving directory '/tmp/sdk/build/release' 02:02:37 [ 92%] Built target template-discovery 02:02:37 make[2]: Entering directory '/tmp/sdk/build/release' 02:02:37 make[2]: Leaving directory '/tmp/sdk/build/release' 02:02:37 [ 96%] Built target device-file 02:02:37 make[2]: Entering directory '/tmp/sdk/build/release' 02:02:37 make[2]: Leaving directory '/tmp/sdk/build/release' 02:02:37 [100%] Built target device-terminal 02:02:37 make[1]: Leaving directory '/tmp/sdk/build/release' 02:02:37 Install the project... 02:02:37 -- Install configuration: "Release" 02:02:37 -- Installing: /usr/local/lib/libcsdk.so 02:02:37 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 02:02:37 -- Installing: /usr/local/include 02:02:37 -- Installing: /usr/local/include/devsdk 02:02:37 -- Installing: /usr/local/include/devsdk/devsdk.h 02:02:37 -- Installing: /usr/local/include/devsdk/devsdk-base.h 02:02:37 -- Installing: /usr/local/include/edgex 02:02:37 -- Installing: /usr/local/include/edgex/rest-server.h 02:02:37 -- Installing: /usr/local/include/edgex/edgex.h 02:02:37 -- Installing: /usr/local/include/edgex/edgex-base.h 02:02:37 -- Installing: /usr/local/include/edgex/devices.h 02:02:37 -- Installing: /usr/local/include/edgex/profiles.h 02:02:37 -- Installing: /usr/local/include/edgex/csdk-defs.h 02:02:37 -- Installing: /usr/local/share/device-sdk-c/LICENSE 02:02:37 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 02:02:37 make: Leaving directory '/tmp/sdk/build/release' 02:02:39 Removing intermediate container b0777a686798 02:02:39 ---> 01932251cdd0 02:02:39 Step 14/21 : FROM ${BASE} 02:02:39 ---> 9a9802766715 02:02:39 Step 15/21 : LABEL maintainer="IOTech " 02:02:39 ---> Running in c8b81f661887 02:02:39 Removing intermediate container c8b81f661887 02:02:39 ---> 422e7a021ded 02:02:39 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 02:02:39 ---> Running in d7484a7a9e61 02:02:40 Connecting to iotech.jfrog.io (52.212.211.236:443) 02:02:41 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 02:02:41 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 02:02:41 '/etc/apk/keys/alpine.dev.rsa.pub' saved 02:02:41 Removing intermediate container d7484a7a9e61 02:02:41 ---> c060d4245b61 02:02:41 Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 02:02:41 ---> Running in 6190695ec9b0 02:02:43 Removing intermediate container 6190695ec9b0 02:02:43 ---> 8eaa461f87ed 02:02:43 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 02:02:43 ---> Running in 65c42a0f69d6 02:02:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 02:02:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 02:02:45 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz 02:02:46 WARNING: This apk-tools is OLD! Some packages might not function properly. 02:02:46 (1/7) Installing curl (7.83.1-r5) 02:02:46 (2/7) Installing hiredis (1.0.2-r0) 02:02:46 (3/7) Installing hiredis-dev (1.0.2-r0) 02:02:46 (4/7) Installing iotech-iot-1.4 (1.4.0-r0) 02:02:46 (5/7) Installing libcbor (0.9.0-r1) 02:02:47 (6/7) Installing libuuid (2.38-r1) 02:02:47 (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 02:02:47 Executing busybox-1.35.0-r17.trigger 02:02:47 OK: 281 MiB in 83 packages 02:02:48 Removing intermediate container 65c42a0f69d6 02:02:48 ---> 2f176cf03e01 02:02:48 Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 02:02:49 ---> 28bdf1d17512 02:02:49 Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib 02:02:49 ---> 7984afde5def 02:02:49 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 02:02:50 ---> 5eb0c3176775 02:02:50 Successfully built 5eb0c3176775 02:02:50 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 02:02:51 + docker inspect -f . ci-base-image-arm64 02:02:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:02:51 prd-ubuntu20.04-docker-arm64-4c-16g-5193 does not seem to be running inside a container 02:02:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:02:52 $ docker top 1b009afd759689e8a6a1f68a2e75c0e160443a2b15dd2f532e3fedffbcf1c552 -eo pid,comm [Pipeline] { [Pipeline] sh 02:02:53 + make test 02:02:53 echo "make test" 02:02:53 make test [Pipeline] } 02:02:53 $ docker stop --time=1 1b009afd759689e8a6a1f68a2e75c0e160443a2b15dd2f532e3fedffbcf1c552 02:02:55 $ docker rm -f --volumes 1b009afd759689e8a6a1f68a2e75c0e160443a2b15dd2f532e3fedffbcf1c552 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:02:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:02:56 + ls -al . 02:02:56 total 200 02:02:56 drwxrwxr-x 8 jenkins jenkins 4096 Feb 9 02:00 . 02:02:56 drwxrwxr-x 4 jenkins jenkins 4096 Feb 9 02:00 .. 02:02:56 drwxrwxr-x 8 jenkins jenkins 4096 Feb 9 02:00 .git 02:02:56 drwxrwxr-x 2 jenkins jenkins 4096 Feb 9 02:00 .github 02:02:56 -rw-rw-r-- 1 jenkins jenkins 176 Feb 9 02:00 .gitignore 02:02:56 -rw-rw-r-- 1 jenkins jenkins 3104 Feb 9 02:00 Attribution.txt 02:02:56 -rw-rw-r-- 1 jenkins jenkins 8583 Feb 9 02:00 CHANGES 02:02:56 -rw-rw-r-- 1 jenkins jenkins 108574 Feb 9 02:00 Doxyfile 02:02:56 -rw-rw-r-- 1 jenkins jenkins 677 Feb 9 02:00 GOVERNANCE.md 02:02:56 -rw-rw-r-- 1 jenkins jenkins 784 Feb 9 02:00 Jenkinsfile 02:02:56 -rw-rw-r-- 1 jenkins jenkins 10174 Feb 9 02:00 LICENSE 02:02:56 -rw-rw-r-- 1 jenkins jenkins 444 Feb 9 02:00 Makefile 02:02:56 -rw-rw-r-- 1 jenkins jenkins 618 Feb 9 02:00 OWNERS.md 02:02:56 -rw-rw-r-- 1 jenkins jenkins 4086 Feb 9 02:00 README.md 02:02:56 -rw-rw-r-- 1 jenkins jenkins 1245 Feb 9 02:00 README.v3.md 02:02:56 -rw-rw-r-- 1 jenkins jenkins 5 Feb 9 01:56 VERSION 02:02:56 drwxrwxr-x 2 jenkins jenkins 4096 Feb 9 02:00 docs 02:02:56 drwxrwxr-x 4 jenkins jenkins 4096 Feb 9 02:00 include 02:02:56 drwxrwxr-x 2 jenkins jenkins 4096 Feb 9 02:00 scripts 02:02:56 drwxrwxr-x 4 jenkins jenkins 4096 Feb 9 02:00 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:02:56 + 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=077ccc421da0bdc73dd1358f7000c32d9a1382b3 --label arch=arm64 --label version=0.0.0 . 02:02:56 Sending build context to Docker daemon 2.93MB 02:02:56 Step 1/17 : ARG BASE=alpine:3.16 02:02:56 Step 2/17 : FROM ${BASE} 02:02:56 ---> 5eb0c3176775 02:02:56 Step 3/17 : LABEL maintainer="IOTech " 02:02:57 ---> Running in 5c6fdc751ff3 02:02:57 Removing intermediate container 5c6fdc751ff3 02:02:57 ---> f23cd8d82cd0 02:02:57 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 02:02:57 ---> Running in 53b83704c1d0 02:02:58 Connecting to iotech.jfrog.io (3.251.51.216:443) 02:02:58 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 02:02:58 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 02:02:58 '/etc/apk/keys/alpine.dev.rsa.pub' saved 02:02:59 Removing intermediate container 53b83704c1d0 02:02:59 ---> 9bd88a86086d 02:02:59 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 02:02:59 ---> Running in 6a4cad64d409 02:03:01 Removing intermediate container 6a4cad64d409 02:03:01 ---> 84dde171b1b7 02:03:01 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.4-dev && mkdir -p /edgex-c-sdk/build 02:03:01 ---> Running in 54624bf81b82 02:03:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 02:03:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 02:03:03 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz 02:03:04 WARNING: This apk-tools is OLD! Some packages might not function properly. 02:03:04 (1/8) Installing iotech-iot-1.4-dev (1.4.0-r0) 02:03:04 (2/8) Installing libcbor-dev (0.9.0-r1) 02:03:04 (3/8) Installing ncurses-dev (6.3_p20220521-r0) 02:03:04 (4/8) Installing libblkid (2.38-r1) 02:03:04 (5/8) Installing libfdisk (2.38-r1) 02:03:04 (6/8) Installing libmount (2.38-r1) 02:03:04 (7/8) Installing libsmartcols (2.38-r1) 02:03:04 (8/8) Installing util-linux-dev (2.38-r1) 02:03:04 Executing busybox-1.35.0-r17.trigger 02:03:04 OK: 286 MiB in 91 packages 02:03:05 Removing intermediate container 54624bf81b82 02:03:05 ---> aaaab1811eeb 02:03:05 Step 7/17 : COPY VERSION /edgex-c-sdk/ 02:03:06 ---> 3a049507943b 02:03:06 Step 8/17 : COPY src /edgex-c-sdk/src/ 02:03:06 ---> 28d9e326c654 02:03:06 Step 9/17 : COPY include /edgex-c-sdk/include/ 02:03:07 ---> 5a73f77a3f9d 02:03:07 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 02:03:07 ---> 8e92073b9abb 02:03:07 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 02:03:08 ---> 5b8d31527751 02:03:08 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 02:03:08 ---> dc4199dcbb33 02:03:08 Step 13/17 : WORKDIR /edgex-c-sdk 02:03:08 ---> Running in 44a27122ec04 02:03:08 Removing intermediate container 44a27122ec04 02:03:08 ---> 56ba2255973f 02:03:08 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 02:03:09 ---> Running in 5e2f3aad8847 02:03:09 Removing intermediate container 5e2f3aad8847 02:03:09 ---> e43b48596b33 02:03:09 Step 15/17 : LABEL arch=arm64 02:03:09 ---> Running in dcb7d46f9858 02:03:09 Removing intermediate container dcb7d46f9858 02:03:09 ---> 1a3c465c32a0 02:03:09 Step 16/17 : LABEL git_sha=077ccc421da0bdc73dd1358f7000c32d9a1382b3 02:03:10 ---> Running in d06d6894b767 02:03:10 Removing intermediate container d06d6894b767 02:03:10 ---> 478327dfadd0 02:03:10 Step 17/17 : LABEL version=0.0.0 02:03:10 ---> Running in 351563aec44c 02:03:10 Removing intermediate container 351563aec44c 02:03:10 ---> d10f94ebd38a 02:03:10 [Warning] One or more build-args [ARCH MAKE] were not consumed 02:03:10 Successfully built d10f94ebd38a 02:03:10 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 02:03:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:03:11 02:03:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:03:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:03:11 arm64: Pulling from edgex-lftools-log-publisher 02:03:11 8998bd30e6a1: Pulling fs layer 02:03:11 04944245beec: Pulling fs layer 02:03:11 699f458cf7ca: Pulling fs layer 02:03:11 765212b225bb: Pulling fs layer 02:03:11 f23df028b6ca: Pulling fs layer 02:03:11 d65c8cfc05b1: Pulling fs layer 02:03:11 2437ff75d9bd: Pulling fs layer 02:03:11 765212b225bb: Waiting 02:03:11 f23df028b6ca: Waiting 02:03:11 d65c8cfc05b1: Waiting 02:03:11 2437ff75d9bd: Waiting 02:03:11 04944245beec: Verifying Checksum 02:03:11 04944245beec: Download complete 02:03:11 765212b225bb: Verifying Checksum 02:03:11 765212b225bb: Download complete 02:03:11 f23df028b6ca: Verifying Checksum 02:03:11 f23df028b6ca: Download complete 02:03:11 d65c8cfc05b1: Verifying Checksum 02:03:11 d65c8cfc05b1: Download complete 02:03:12 699f458cf7ca: Verifying Checksum 02:03:12 699f458cf7ca: Download complete 02:03:12 8998bd30e6a1: Verifying Checksum 02:03:12 8998bd30e6a1: Download complete 02:03:15 2437ff75d9bd: Verifying Checksum 02:03:15 2437ff75d9bd: Download complete 02:03:16 8998bd30e6a1: Pull complete 02:03:16 04944245beec: Pull complete 02:03:18 699f458cf7ca: Pull complete 02:03:18 765212b225bb: Pull complete 02:03:19 f23df028b6ca: Pull complete 02:03:19 d65c8cfc05b1: Pull complete 02:03:34 2437ff75d9bd: Pull complete 02:03:34 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:03:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:03:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:03:34 prd-ubuntu20.04-docker-arm64-4c-16g-5193 does not seem to be running inside a container 02:03:34 $ 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/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 02:03:37 $ docker top bc8cef392bfa6ea89b7ec81cad5c7fbbdff1c67d476bbce838051597791ba69b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:03:38 ---> job-cost.sh 02:03:38 lf-activate-venv: SKIPPING 02:03:38 INFO: No Stack... 02:03:38 INFO: Retrieving Pricing Info for: v3-standard-4 02:03:39 INFO: Archiving Costs [Pipeline] sh 02:03:39 + cat /w/workspace/device-sdk-c/1/archives/cost.csv 02:03:40 + cut -d, -f6 [Pipeline] lock 02:03:40 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-442-1-stack-cost] 02:03:40 Resource [jenkins-edgexfoundry-device-sdk-c-PR-442-1-stack-cost] did not exist. Created. 02:03:40 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-442-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:03:41 /w/workspace/device-sdk-c/1@tmp/durable-41768cf3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:03:41 + echo total: 0.10999999940395355 [Pipeline] stash 02:03:41 Warning: overwriting stash ‘stack-cost’ 02:03:42 Stashed 1 file(s) [Pipeline] } 02:03:42 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-442-1-stack-cost] [Pipeline] // lock [Pipeline] } 02:03:42 $ docker stop --time=1 bc8cef392bfa6ea89b7ec81cad5c7fbbdff1c67d476bbce838051597791ba69b 02:03:43 $ docker rm -f --volumes bc8cef392bfa6ea89b7ec81cad5c7fbbdff1c67d476bbce838051597791ba69b [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) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 02:03:45 + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-442/archives ] 02:03:45 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-442/archives 02:03:45 total 16 02:03:45 drwxr-xr-x 3 root root 4096 Feb 9 01:57 . 02:03:45 drwxrwxr-x 10 jenkins jenkins 4096 Feb 9 01:57 .. 02:03:45 drwxr-xr-x 2 root root 4096 Feb 9 01:57 cost 02:03:45 -rw-r--r-- 1 root root 84 Feb 9 01:57 cost.csv 02:03:45 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-442/archives 02:03:45 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-442/archives 02:03:45 total 16 02:03:45 drwxr-xr-x 3 jenkins jenkins 4096 Feb 9 01:57 . 02:03:45 drwxrwxr-x 10 jenkins jenkins 4096 Feb 9 01:57 .. 02:03:45 drwxr-xr-x 2 jenkins jenkins 4096 Feb 9 01:57 cost 02:03:45 -rw-r--r-- 1 jenkins jenkins 84 Feb 9 01:57 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:03:45 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:03:46 ---> package-listing.sh 02:03:46 ++ facter osfamily 02:03:46 ++ tr '[:upper:]' '[:lower:]' 02:03:47 + OS_FAMILY=debian 02:03:47 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-442 02:03:47 + START_PACKAGES=/tmp/packages_start.txt 02:03:47 + END_PACKAGES=/tmp/packages_end.txt 02:03:47 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:03:47 + PACKAGES=/tmp/packages_start.txt 02:03:47 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-442 ']' 02:03:47 + PACKAGES=/tmp/packages_end.txt 02:03:47 + case "${OS_FAMILY}" in 02:03:47 + dpkg -l 02:03:47 + grep '^ii' 02:03:47 + '[' -f /tmp/packages_start.txt ']' 02:03:47 + '[' -f /tmp/packages_end.txt ']' 02:03:47 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:03:47 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-442 ']' 02:03:47 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-442/archives/ 02:03:47 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-442/archives/ [Pipeline] echo 02:03:47 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_PR-442/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:03:47 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:03:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:03:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:03:48 prd-ubuntu20.04-docker-8c-8g-5192 does not seem to be running inside a container 02:03:48 $ 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_PR-442/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_PR-442 -v /w/workspace/edgexfoundry_device-sdk-c_PR-442:/w/workspace/edgexfoundry_device-sdk-c_PR-442:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-442@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-442@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:03:48 $ docker top 1b409a225be12aa9651b0dbb1c5082c9909aa579db4b9a81bb89ad5b3cd8fec5 -eo pid,comm [Pipeline] { [Pipeline] sh 02:03:48 + touch /tmp/pre-build-complete [Pipeline] sh 02:03:49 + mkdir -p /var/log/sysstat [Pipeline] sh 02:03:49 + ls /var/log/sa-host 02:03:49 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:03:49 provisioning config files... 02:03:49 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-442@tmp/config15340309574412106591tmp [Pipeline] { [Pipeline] echo 02:03:49 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:03:49 ---> create-netrc.sh [Pipeline] } 02:03:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:03:50 ---> python-tools-install.sh [Pipeline] echo 02:03:50 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:03:50 ---> sudo-logs.sh 02:03:50 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:03:50 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:03:51 ---> job-cost.sh 02:03:51 lf-activate-venv: SKIPPING 02:03:51 DEBUG: total: 0.2199999988079071 02:03:51 INFO: Retrieving Stack Cost... 02:03:52 INFO: Retrieving Pricing Info for: v3-standard-8 02:03:52 INFO: Archiving Costs [Pipeline] echo 02:03:52 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:03:52 ---> logs-deploy.sh 02:03:52 lf-activate-venv: SKIPPING 02:03:52 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-442/1 02:03:52 INFO: archiving workspace using pattern(s): 02:03:54 Archives upload complete. 02:03:54 INFO: archiving logs to Nexus 02:03:54 ---> uname -a: 02:03:54 Linux prd-ubuntu20-04-docker-8c-8g-5192 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 02:03:54 02:03:54 02:03:54 ---> lscpu: 02:03:54 Architecture: x86_64 02:03:54 CPU op-mode(s): 32-bit, 64-bit 02:03:54 Byte Order: Little Endian 02:03:54 Address sizes: 40 bits physical, 48 bits virtual 02:03:54 CPU(s): 8 02:03:54 On-line CPU(s) list: 0-7 02:03:54 Thread(s) per core: 1 02:03:54 Core(s) per socket: 1 02:03:54 Socket(s): 8 02:03:54 NUMA node(s): 1 02:03:54 Vendor ID: AuthenticAMD 02:03:54 CPU family: 23 02:03:54 Model: 49 02:03:54 Model name: AMD EPYC-Rome Processor 02:03:54 Stepping: 0 02:03:54 CPU MHz: 2799.998 02:03:54 BogoMIPS: 5599.99 02:03:54 Virtualization: AMD-V 02:03:54 Hypervisor vendor: KVM 02:03:54 Virtualization type: full 02:03:54 L1d cache: 256 KiB 02:03:54 L1i cache: 256 KiB 02:03:54 L2 cache: 4 MiB 02:03:54 L3 cache: 128 MiB 02:03:54 NUMA node0 CPU(s): 0-7 02:03:54 Vulnerability Itlb multihit: Not affected 02:03:54 Vulnerability L1tf: Not affected 02:03:54 Vulnerability Mds: Not affected 02:03:54 Vulnerability Meltdown: Not affected 02:03:54 Vulnerability Mmio stale data: Not affected 02:03:54 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 02:03:54 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 02:03:54 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 02:03:54 Vulnerability Srbds: Not affected 02:03:54 Vulnerability Tsx async abort: Not affected 02:03:54 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 02:03:54 02:03:54 02:03:54 ---> nproc: 02:03:54 8 02:03:54 02:03:54 02:03:54 ---> df -h: 02:03:54 Filesystem Size Used Avail Use% Mounted on 02:03:54 overlay 155G 11G 145G 7% / 02:03:54 tmpfs 64M 0 64M 0% /dev 02:03:54 tmpfs 16G 0 16G 0% /sys/fs/cgroup 02:03:54 shm 64M 0 64M 0% /dev/shm 02:03:54 /dev/vda1 155G 11G 145G 7% /facter-os 02:03:54 02:03:54 02:03:54 ---> sar -b -r -n DEV: 02:03:54 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-5192) 02/09/23 _x86_64_ (8 CPU) 02:03:54 02:03:54 01:55:19 LINUX RESTART (8 CPU) 02:03:54 02:03:54 01:56:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 02:03:54 01:57:01 253.49 10.38 243.11 0.00 1750.11 24447.26 0.00 02:03:54 01:58:01 120.23 0.20 120.03 0.00 10.80 19044.96 0.00 02:03:54 01:59:01 1.07 0.00 1.07 0.00 0.00 12.15 0.00 02:03:54 02:00:01 1.70 0.00 1.70 0.00 0.00 18.80 0.00 02:03:54 02:01:01 54.40 11.78 42.62 0.00 5194.40 8776.81 0.00 02:03:54 02:02:01 6.55 0.02 6.53 0.00 0.13 127.85 0.00 02:03:54 02:03:01 0.95 0.00 0.95 0.00 0.00 10.93 0.00 02:03:54 Average: 62.62 3.20 59.43 0.00 993.71 7491.10 0.00 02:03:54 02:03:54 01:56:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 02:03:54 01:57:01 29569852 31552488 772980 2.35 68284 2203052 1953492 5.76 1077732 1898036 1608 02:03:54 01:58:01 29095368 31585680 715056 2.17 89828 2658612 1736148 5.12 1056676 2338096 12 02:03:54 01:59:01 29095476 31585836 714740 2.17 89864 2658616 1736148 5.12 1056524 2338100 12 02:03:54 02:00:01 29104484 31594800 705948 2.15 89912 2658740 1752260 5.16 1047156 2338232 24 02:03:54 02:01:01 28575788 31571716 712348 2.17 123464 3114832 1806492 5.32 1372516 2506028 980 02:03:54 02:02:01 28585940 31577016 707652 2.15 122024 3111572 1798716 5.30 1367004 2502772 4 02:03:54 02:03:01 28585884 31576964 707660 2.15 122052 3111576 1798716 5.30 1366784 2502776 4 02:03:54 Average: 28944685 31577786 719483 2.19 100775 2788143 1797425 5.30 1192056 2346291 378 02:03:54 02:03:54 01:56:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 02:03:54 01:57:01 lo 5.67 5.67 0.55 0.55 0.00 0.00 0.00 0.00 02:03:54 01:57:01 veth9093f79 2.42 4.15 0.22 48.89 0.00 0.00 0.00 0.00 02:03:54 01:57:01 docker0 11.30 15.71 0.89 154.73 0.00 0.00 0.00 0.00 02:03:54 01:57:01 ens3 252.32 181.52 3632.87 88.40 0.00 0.00 0.00 0.00 02:03:54 01:58:01 lo 1.27 1.27 0.12 0.12 0.00 0.00 0.00 0.00 02:03:54 01:58:01 docker0 4.42 6.97 0.30 71.76 0.00 0.00 0.00 0.00 02:03:54 01:58:01 ens3 120.50 80.32 2610.97 18.55 0.00 0.00 0.00 0.00 02:03:54 01:59:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:03:54 01:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:03:54 01:59:01 ens3 0.90 0.67 0.05 0.06 0.00 0.00 0.00 0.00 02:03:54 02:00:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 02:03:54 02:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:03:54 02:00:01 ens3 1.43 0.58 2.81 0.04 0.00 0.00 0.00 0.00 02:03:54 02:01:01 lo 0.60 0.60 0.06 0.06 0.00 0.00 0.00 0.00 02:03:54 02:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:03:54 02:01:01 ens3 126.19 73.69 2785.23 5.69 0.00 0.00 0.00 0.00 02:03:54 02:02:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 02:03:54 02:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:03:54 02:02:01 ens3 0.30 0.23 0.02 0.02 0.00 0.00 0.00 0.00 02:03:54 02:03:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:03:54 02:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:03:54 02:03:01 ens3 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 02:03:54 Average: lo 1.13 1.13 0.11 0.11 0.00 0.00 0.00 0.00 02:03:54 Average: docker0 2.24 3.24 0.17 32.35 0.00 0.00 0.00 0.00 02:03:54 Average: ens3 71.66 48.15 1290.28 16.11 0.00 0.00 0.00 0.00 02:03:54 02:03:54 02:03:54 ---> sar -P ALL: 02:03:54 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-5192) 02/09/23 _x86_64_ (8 CPU) 02:03:54 02:03:54 01:55:19 LINUX RESTART (8 CPU) 02:03:54 02:03:54 01:56:01 CPU %user %nice %system %iowait %steal %idle 02:03:54 01:57:01 all 8.09 0.00 3.04 1.92 0.05 86.89 02:03:54 01:57:01 0 6.71 0.00 2.97 0.13 0.05 90.14 02:03:54 01:57:01 1 5.42 0.00 1.99 0.34 0.05 92.20 02:03:54 01:57:01 2 8.88 0.00 3.22 0.75 0.07 87.08 02:03:54 01:57:01 3 7.71 0.00 2.96 0.32 0.05 88.96 02:03:54 01:57:01 4 10.55 0.00 3.46 0.08 0.03 85.87 02:03:54 01:57:01 5 8.87 0.00 3.27 3.67 0.05 84.13 02:03:54 01:57:01 6 8.45 0.00 3.88 7.73 0.05 79.89 02:03:54 01:57:01 7 8.15 0.00 2.58 2.36 0.07 86.85 02:03:54 01:58:01 all 3.32 0.00 1.61 0.93 0.03 94.11 02:03:54 01:58:01 0 2.93 0.00 1.34 0.10 0.02 95.61 02:03:54 01:58:01 1 4.15 0.00 1.54 0.20 0.03 94.08 02:03:54 01:58:01 2 3.55 0.00 1.98 4.15 0.02 90.30 02:03:54 01:58:01 3 3.08 0.00 1.79 1.62 0.03 93.47 02:03:54 01:58:01 4 2.90 0.00 1.96 0.30 0.03 94.81 02:03:54 01:58:01 5 3.74 0.00 1.39 0.72 0.03 94.11 02:03:54 01:58:01 6 3.13 0.00 1.44 0.05 0.03 95.34 02:03:54 01:58:01 7 3.05 0.00 1.43 0.29 0.03 95.20 02:03:54 01:59:01 all 0.24 0.00 0.02 0.00 0.01 99.73 02:03:54 01:59:01 0 0.02 0.00 0.02 0.00 0.02 99.95 02:03:54 01:59:01 1 0.00 0.00 0.00 0.00 0.00 100.00 02:03:54 01:59:01 2 0.03 0.00 0.00 0.00 0.02 99.95 02:03:54 01:59:01 3 0.03 0.00 0.02 0.02 0.02 99.92 02:03:54 01:59:01 4 0.02 0.00 0.02 0.00 0.00 99.97 02:03:54 01:59:01 5 0.02 0.00 0.03 0.00 0.00 99.95 02:03:54 01:59:01 6 0.02 0.00 0.03 0.00 0.00 99.95 02:03:54 01:59:01 7 1.78 0.00 0.07 0.00 0.02 98.14 02:03:54 02:00:01 all 0.29 0.00 0.01 0.00 0.00 99.70 02:03:54 02:00:01 0 0.03 0.00 0.02 0.00 0.00 99.95 02:03:54 02:00:01 1 0.03 0.00 0.00 0.00 0.00 99.97 02:03:54 02:00:01 2 0.02 0.00 0.03 0.02 0.00 99.93 02:03:54 02:00:01 3 0.07 0.00 0.02 0.02 0.00 99.90 02:03:54 02:00:01 4 0.02 0.00 0.00 0.00 0.00 99.98 02:03:54 02:00:01 5 0.10 0.00 0.02 0.00 0.00 99.88 02:03:54 02:00:01 6 0.02 0.00 0.02 0.00 0.00 99.97 02:03:54 02:00:01 7 1.99 0.00 0.00 0.00 0.00 98.01 02:03:54 02:01:01 all 2.47 0.00 1.42 0.57 0.02 95.52 02:03:54 02:01:01 0 4.08 0.00 1.20 0.75 0.02 93.95 02:03:54 02:01:01 1 2.79 0.00 1.27 0.10 0.02 95.82 02:03:54 02:01:01 2 1.19 0.00 0.70 0.23 0.02 97.86 02:03:54 02:01:01 3 1.30 0.00 0.75 1.52 0.03 96.40 02:03:54 02:01:01 4 1.70 0.00 1.44 0.07 0.02 96.78 02:03:54 02:01:01 5 2.36 0.00 1.47 0.37 0.02 95.79 02:03:54 02:01:01 6 3.39 0.00 2.80 1.00 0.02 92.79 02:03:54 02:01:01 7 2.97 0.00 1.74 0.51 0.03 94.74 02:03:54 02:02:01 all 0.09 0.00 0.06 0.01 0.01 99.84 02:03:54 02:02:01 0 0.03 0.00 0.03 0.00 0.02 99.92 02:03:54 02:02:01 1 0.12 0.00 0.05 0.02 0.02 99.80 02:03:54 02:02:01 2 0.07 0.00 0.08 0.00 0.00 99.85 02:03:54 02:02:01 3 0.02 0.00 0.03 0.05 0.00 99.90 02:03:54 02:02:01 4 0.03 0.00 0.05 0.03 0.00 99.88 02:03:54 02:02:01 5 0.27 0.00 0.12 0.00 0.02 99.60 02:03:54 02:02:01 6 0.13 0.00 0.02 0.00 0.00 99.85 02:03:54 02:02:01 7 0.03 0.00 0.07 0.00 0.00 99.90 02:03:54 02:03:01 all 0.01 0.00 0.01 0.00 0.00 99.97 02:03:54 02:03:01 0 0.00 0.00 0.00 0.00 0.00 100.00 02:03:54 02:03:01 1 0.05 0.00 0.00 0.02 0.00 99.93 02:03:54 02:03:01 2 0.02 0.00 0.00 0.00 0.02 99.97 02:03:54 02:03:01 3 0.03 0.00 0.02 0.02 0.00 99.93 02:03:54 02:03:01 4 0.00 0.00 0.00 0.00 0.00 100.00 02:03:54 02:03:01 5 0.02 0.00 0.02 0.00 0.00 99.97 02:03:54 02:03:01 6 0.00 0.00 0.00 0.00 0.00 100.00 02:03:54 02:03:01 7 0.00 0.00 0.03 0.00 0.02 99.95 02:03:54 Average: all 2.06 0.00 0.88 0.49 0.02 96.55 02:03:54 Average: 0 1.97 0.00 0.79 0.14 0.02 97.08 02:03:54 Average: 1 1.79 0.00 0.69 0.10 0.02 97.41 02:03:54 Average: 2 1.96 0.00 0.86 0.74 0.02 96.43 02:03:54 Average: 3 1.74 0.00 0.79 0.51 0.02 96.94 02:03:54 Average: 4 2.16 0.00 0.99 0.07 0.01 96.77 02:03:54 Average: 5 2.19 0.00 0.90 0.68 0.02 96.22 02:03:54 Average: 6 2.15 0.00 1.17 1.25 0.01 95.42 02:03:54 Average: 7 2.56 0.00 0.84 0.45 0.02 96.14 02:03:54 02:03:54 02:03:54