Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of iain-anderson for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 6c84a767c6ce4573f9a920010352f64502cb5330+f0de00cff149ffe86b90fb2b2675cd2706e94b93 (22243950d8ddc2e76f832d06a984816d467ad156) Running in Durability level: PERFORMANCE_OPTIMIZED 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 > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # 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 > 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared 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 > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared 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: [[centos7-docker-4c-2g, ubuntu18.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_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-c DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-17217 in /w/workspace/edgexfoundry_device-sdk-c_PR-313 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout 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-313 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.24.3' 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/313/head:refs/remotes/origin/PR-313 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit f0de00cff149ffe86b90fb2b2675cd2706e94b93 into PR head commit 6c84a767c6ce4573f9a920010352f64502cb5330 Merge succeeded, producing 7989b4eb7bfc6589ca65fb97f4b6e9bcd4f2a424 Checking out Revision 7989b4eb7bfc6589ca65fb97f4b6e9bcd4f2a424 (PR-313) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c84a767c6ce4573f9a920010352f64502cb5330 # 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 f0de00cff149ffe86b90fb2b2675cd2706e94b93 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7989b4eb7bfc6589ca65fb97f4b6e9bcd4f2a424 # timeout=10 Commit message: "Merge commit 'f0de00cff149ffe86b90fb2b2675cd2706e94b93' into HEAD" > git rev-list --no-walk 6c84a767c6ce4573f9a920010352f64502cb5330 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:55:41 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:55:41 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:55:41 ========================================================= 22:55:41 EdgeX Global Pipelines Version Info 22:55:41 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:55:43 ------------------- 22:55:43 stable info: 22:55:43 ------------------- 22:55:43 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:55:43 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 22:55:43 Message: update stable to v1.0.173 22:55:44 ------------------- 22:55:44 experimental info: 22:55:44 ------------------- 22:55:44 Commited By: **** collab-it+edgex@linuxfoundation.org 22:55:44 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 22:55:44 Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:55:44 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 22:55:44 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 22:55:44 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:55:44 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:55:44 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:55:44 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo 22:55:44 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 22:55:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 22:55:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:55:45 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-c [Pipeline] echo 22:55:45 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:55:45 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:55:45 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:55:45 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 22:55:45 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:55:45 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:55:46 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 22:55:46 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 22:55:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-313 [Pipeline] echo 22:55:46 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-313 [Pipeline] echo 22:55:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-313 [Pipeline] echo 22:55:46 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7989b4eb7bfc6589ca65fb97f4b6e9bcd4f2a424 [Pipeline] echo 22:55:46 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7989b4e [Pipeline] echo 22:55:46 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 22:55:46 provisioning config files... 22:55:47 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-313@tmp/config4605118764640116448tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:55:47 ---> docker-login.sh 22:55:47 nexus3.edgexfoundry.org:10001 22:55:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:55:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:55:47 Configure a credential helper to remove this warning. See 22:55:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:55:47 22:55:47 Login Succeeded 22:55:47 nexus3.edgexfoundry.org:10002 22:55:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:55:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:55:47 Configure a credential helper to remove this warning. See 22:55:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:55:47 22:55:47 Login Succeeded 22:55:47 nexus3.edgexfoundry.org:10003 22:55:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:55:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:55:48 Configure a credential helper to remove this warning. See 22:55:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:55:48 22:55:48 Login Succeeded 22:55:48 nexus3.edgexfoundry.org:10004 22:55:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:55:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:55:48 Configure a credential helper to remove this warning. See 22:55:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:55:48 22:55:48 Login Succeeded 22:55:48 docker.io 22:55:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:55:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:55:48 Configure a credential helper to remove this warning. See 22:55:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:55:48 22:55:48 Login Succeeded 22:55:48 ---> docker-login.sh ends [Pipeline] } 22:55:48 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 22:55:50 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:55:50 22:55:50 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:55:50 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:55:50 latest: Pulling from edgex-devops/git-semver 22:55:50 31603596830f: Pulling fs layer 22:55:50 2a8b12db71e7: Pulling fs layer 22:55:50 6ca5941a6612: Pulling fs layer 22:55:50 ecc8261a40a4: Pulling fs layer 22:55:50 ecc8261a40a4: Waiting 22:55:50 2a8b12db71e7: Verifying Checksum 22:55:50 2a8b12db71e7: Download complete 22:55:50 31603596830f: Verifying Checksum 22:55:50 31603596830f: Download complete 22:55:51 ecc8261a40a4: Verifying Checksum 22:55:51 ecc8261a40a4: Download complete 22:55:51 6ca5941a6612: Verifying Checksum 22:55:51 6ca5941a6612: Download complete 22:55:51 31603596830f: Pull complete 22:55:51 2a8b12db71e7: Pull complete 22:55:52 6ca5941a6612: Pull complete 22:55:52 ecc8261a40a4: Pull complete 22:55:52 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 22:55:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:55:52 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 22:55:52 prd-centos7-docker-4c-2g-17217 does not seem to be running inside a container 22:55:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-313 -v /w/workspace/edgexfoundry_device-sdk-c_PR-313:/w/workspace/edgexfoundry_device-sdk-c_PR-313:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-313@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-313@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 22:55:55 $ docker top 2b10527aa424d2eb5dc416c1abd1069bee61f5507d354a260c4a34fbd474f418 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:55:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:55:55 [ssh-agent] Looking for ssh-agent implementation... 22:55:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:55:55 $ docker exec 2b10527aa424d2eb5dc416c1abd1069bee61f5507d354a260c4a34fbd474f418 ssh-agent 22:55:55 SSH_AUTH_SOCK=/tmp/ssh-wahdozRKyRzA/agent.13 22:55:55 SSH_AGENT_PID=18 22:55:55 Running ssh-add (command line suppressed) 22:55:55 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-313@tmp/private_key_3725856819293279156.key (/w/workspace/edgexfoundry_device-sdk-c_PR-313@tmp/private_key_3725856819293279156.key) 22:55:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:55:56 + git tag --points-at HEAD [Pipeline] } 22:55:56 $ docker exec --env ******** --env ******** 2b10527aa424d2eb5dc416c1abd1069bee61f5507d354a260c4a34fbd474f418 ssh-agent -k 22:55:56 unset SSH_AUTH_SOCK; 22:55:56 unset SSH_AGENT_PID; 22:55:56 echo Agent pid 18 killed; 22:55:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:55:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:55:56 [ssh-agent] Looking for ssh-agent implementation... 22:55:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:55:56 $ docker exec 2b10527aa424d2eb5dc416c1abd1069bee61f5507d354a260c4a34fbd474f418 ssh-agent 22:55:56 SSH_AUTH_SOCK=/tmp/ssh-uOoK51vx8csm/agent.47 22:55:56 SSH_AGENT_PID=52 22:55:57 Running ssh-add (command line suppressed) 22:55:57 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-313@tmp/private_key_3274687420970419882.key (/w/workspace/edgexfoundry_device-sdk-c_PR-313@tmp/private_key_3274687420970419882.key) 22:55:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:55:57 + git semver init 22:55:57 # -> Open(): unable to determine branch for HEAD 22:55:57 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-313/.git 22:55:57 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-313 22:55:57 # $SEMVER_REMOTE_NAME = origin 22:55:57 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:55:57 # $SEMVER_USER_NAME = edgex-jenkins 22:55:57 # $SEMVER_BRANCH = PR-313 22:55:57 # $SEMVER_TEMP = /tmp/semver-254494185 22:55:57 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 22:55:58 # '/tmp/semver-254494185' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-313/.semver' 22:55:58 # -> Force: false 22:55:58 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-313/.semver [Pipeline] } 22:55:58 $ docker exec --env ******** --env ******** 2b10527aa424d2eb5dc416c1abd1069bee61f5507d354a260c4a34fbd474f418 ssh-agent -k 22:55:58 unset SSH_AUTH_SOCK; 22:55:58 unset SSH_AGENT_PID; 22:55:58 echo Agent pid 52 killed; 22:55:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:55:58 + git semver [Pipeline] } 22:55:58 $ docker stop --time=1 2b10527aa424d2eb5dc416c1abd1069bee61f5507d354a260c4a34fbd474f418 22:56:00 $ docker rm -f 2b10527aa424d2eb5dc416c1abd1069bee61f5507d354a260c4a34fbd474f418 [Pipeline] // withDockerContainer [Pipeline] sh 22:56:00 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:56:00 Stashed 1 file(s) [Pipeline] echo 22:56:00 [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] node [Pipeline] node 22:56:16 Still waiting to schedule task 22:56:16 Waiting for next available executor on ‘centos7-docker-4c-2g’ 22:56:16 Still waiting to schedule task 22:56:16 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 22:58:52 Running on prd-centos7-docker-4c-2g-17218 in /w/workspace/edgexfoundry_device-sdk-c_PR-313 [Pipeline] { [Pipeline] ws 22:58:52 Running in /w/workspace/device-sdk-c/3 [Pipeline] { [Pipeline] checkout 22:58:55 using credential edgex-jenkins-ssh 22:58:55 Cloning the remote Git repository 22:58:55 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 22:58:55 > git init /w/workspace/device-sdk-c/3 # timeout=10 22:58:55 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 22:58:55 > git --version # timeout=10 22:58:55 > git --version # 'git version 2.24.3' 22:58:55 using GIT_SSH to set credentials SSH Credentials for GitHub 22:58:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:58:56 Merging remotes/origin/master commit f0de00cff149ffe86b90fb2b2675cd2706e94b93 into PR head commit 6c84a767c6ce4573f9a920010352f64502cb5330 22:58:57 Merge succeeded, producing 2885053ba17c1819e2901fd7756a0b88ce1a2682 22:58:57 Checking out Revision 2885053ba17c1819e2901fd7756a0b88ce1a2682 (PR-313) 22:58:56 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 22:58:56 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:58:56 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 22:58:56 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 22:58:56 using GIT_SSH to set credentials SSH Credentials for GitHub 22:58:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/313/head:refs/remotes/origin/PR-313 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:58:56 > git config core.sparsecheckout # timeout=10 22:58:56 > git checkout -f 6c84a767c6ce4573f9a920010352f64502cb5330 # timeout=10 22:58:56 > git remote # timeout=10 22:58:56 > git config --get remote.origin.url # timeout=10 22:58:56 using GIT_SSH to set credentials SSH Credentials for GitHub 22:58:56 > git merge f0de00cff149ffe86b90fb2b2675cd2706e94b93 # timeout=10 22:58:57 > git rev-parse HEAD^{commit} # timeout=10 22:58:57 > git config core.sparsecheckout # timeout=10 22:58:57 > git checkout -f 2885053ba17c1819e2901fd7756a0b88ce1a2682 # timeout=10 22:59:00 Commit message: "Merge commit 'f0de00cff149ffe86b90fb2b2675cd2706e94b93' into HEAD" 22:59:00 > git rev-list --no-walk 6c84a767c6ce4573f9a920010352f64502cb5330 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:59:02 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 22:59:02 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 22:59:02 + sudo service docker restart 22:59:02 + true 22:59:02 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 22:59:03 provisioning config files... 22:59:03 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/3@tmp/config8658031700589084751tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:59:04 ---> docker-login.sh 22:59:04 nexus3.edgexfoundry.org:10001 22:59:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:59:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:59:04 Configure a credential helper to remove this warning. See 22:59:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:59:04 22:59:04 Login Succeeded 22:59:04 nexus3.edgexfoundry.org:10002 22:59:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:59:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:59:04 Configure a credential helper to remove this warning. See 22:59:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:59:04 22:59:04 Login Succeeded 22:59:04 nexus3.edgexfoundry.org:10003 22:59:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:59:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:59:05 Configure a credential helper to remove this warning. See 22:59:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:59:05 22:59:05 Login Succeeded 22:59:05 nexus3.edgexfoundry.org:10004 22:59:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:59:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:59:05 Configure a credential helper to remove this warning. See 22:59:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:59:05 22:59:05 Login Succeeded 22:59:05 docker.io 22:59:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:59:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:59:05 Configure a credential helper to remove this warning. See 22:59:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:59:05 22:59:05 Login Succeeded 22:59:05 ---> docker-login.sh ends [Pipeline] } 22:59:05 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:59:05 ========================================================= 22:59:05 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 22:59:05 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:59:06 + 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 . 22:59:06 Sending build context to Docker daemon 2.544MB 22:59:06 Step 1/21 : ARG BASE=alpine:3.12 22:59:06 Step 2/21 : FROM ${BASE} as builder 22:59:06 latest: Pulling from edgex-devops/edgex-gcc-base 22:59:06 e7c96db7181b: Pulling fs layer 22:59:06 4c13bbce0fe7: Pulling fs layer 22:59:06 6059c847ac2f: Pulling fs layer 22:59:06 4c13bbce0fe7: Verifying Checksum 22:59:06 4c13bbce0fe7: Download complete 22:59:06 e7c96db7181b: Verifying Checksum 22:59:06 e7c96db7181b: Download complete 22:59:06 e7c96db7181b: Pull complete 22:59:07 4c13bbce0fe7: Pull complete 22:59:08 6059c847ac2f: Verifying Checksum 22:59:08 6059c847ac2f: Download complete 22:59:13 6059c847ac2f: Pull complete 22:59:13 Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e 22:59:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 22:59:13 ---> 5eabd8fd8ba2 22:59:13 Step 3/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev 22:59:14 ---> Running in 62307be89e0a 22:59:15 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 22:59:16 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 22:59:17 (1/8) Installing ncurses-dev (6.1_p20190105-r0) 22:59:17 (2/8) Installing libuuid (2.33-r0) 22:59:17 (3/8) Installing libblkid (2.33-r0) 22:59:17 (4/8) Installing libfdisk (2.33-r0) 22:59:17 (5/8) Installing libmount (2.33-r0) 22:59:17 (6/8) Installing libsmartcols (2.33-r0) 22:59:17 (7/8) Installing util-linux-dev (2.33-r0) 22:59:17 (8/8) Installing wget (1.20.3-r0) 22:59:18 Executing busybox-1.29.3-r10.trigger 22:59:18 OK: 272 MiB in 83 packages 22:59:18 Removing intermediate container 62307be89e0a 22:59:18 ---> 8822456f7f82 22:59:18 Step 4/21 : ENV CBOR_VERSION=0.5.0 22:59:18 ---> Running in 829e2ae6362b 22:59:19 Removing intermediate container 829e2ae6362b 22:59:19 ---> 2004c9510474 22:59:19 Step 5/21 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install 22:59:19 ---> Running in d1e581220f6e 22:59:19 --2020-12-22 22:59:19-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 22:59:19 Resolving github.com... 140.82.114.4 22:59:19 Connecting to github.com|140.82.114.4|:443... connected. 22:59:19 HTTP request sent, awaiting response... 302 Found 22:59:19 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 22:59:19 --2020-12-22 22:59:19-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 22:59:19 Resolving codeload.github.com... 140.82.113.9 22:59:19 Connecting to codeload.github.com|140.82.113.9|:443... connected. 22:59:19 HTTP request sent, awaiting response... 200 OK 22:59:19 Length: unspecified [application/x-gzip] 22:59:19 Saving to: 'STDOUT' 22:59:19  22:59:19 0K .......... .......... .......... .......... .......... 1.52M 22:59:19 50K .......... .......... .......... .......... .......... 3.14M 22:59:19 100K .......... .......... .......... .......... .......... 40.5M 22:59:19 150K .......... .......... .......... .......... .......... 45.1M 22:59:19 200K .......... .......... .......... .......... .......... 3.42M 22:59:19 250K .......... .......... .......... .......... .......... 10.7M 22:59:19 300K .......... .......... .......... .......... .......... 7.79M 22:59:19 350K .......... .......... .......... .......... .......... 10.2M 22:59:19 400K .......... .......... .......... .......... .......... 9.40M 22:59:19 450K .......... .......... .......... .......... .......... 11.7M 22:59:19 500K .......... .......... .......... .......... .......... 9.46M 22:59:19 550K .......... .......... .......... .......... .......... 5.76M 22:59:19 600K .......... .......... .......... .......... .......... 2.05M 22:59:19 650K .......... .......... .......... .......... .......... 4.95M 22:59:19 700K .. 40.1M=0.1s 22:59:19 22:59:19 2020-12-22 22:59:19 (5.03 MB/s) - written to stdout [719348] 22:59:19 22:59:20 -- The C compiler identification is GNU 8.3.0 22:59:20 -- The CXX compiler identification is GNU 8.3.0 22:59:20 -- Check for working C compiler: /usr/bin/cc 22:59:20 -- Check for working C compiler: /usr/bin/cc -- works 22:59:20 -- Detecting C compiler ABI info 22:59:20 -- Detecting C compiler ABI info - done 22:59:20 -- Detecting C compile features 22:59:20 -- Detecting C compile features - done 22:59:20 -- Check for working CXX compiler: /usr/bin/c++ 22:59:20 -- Check for working CXX compiler: /usr/bin/c++ -- works 22:59:20 -- Detecting CXX compiler ABI info 22:59:20 -- Detecting CXX compiler ABI info - done 22:59:20 -- Detecting CXX compile features 22:59:21 -- Detecting CXX compile features - done 22:59:21 -- Looking for include file endian.h 22:59:21 -- Looking for include file endian.h - found 22:59:21 -- Check if the system is big endian 22:59:21 -- Searching 16 bit integer 22:59:21 -- Looking for sys/types.h 22:59:21 -- Looking for sys/types.h - found 22:59:21 -- Looking for stdint.h 22:59:21 -- Looking for stdint.h - found 22:59:21 -- Looking for stddef.h 22:59:21 -- Looking for stddef.h - found 22:59:21 -- Check size of unsigned short 22:59:21 -- Check size of unsigned short - done 22:59:21 -- Using unsigned short 22:59:21 -- Check if the system is big endian - little endian 22:59:21 -- Check size of size_t 22:59:21 -- Check size of size_t - done 22:59:21 CMake Warning at examples/CMakeLists.txt:16 (find_package): 22:59:21 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 22:59:21 asked CMake to find a package configuration file provided by "cJSON", but 22:59:21 CMake did not find one. 22:59:21 22:59:21 Could not find a package configuration file provided by "cJSON" with any of 22:59:21 the following names: 22:59:21 22:59:21 cJSONConfig.cmake 22:59:21 cjson-config.cmake 22:59:21 22:59:21 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 22:59:21 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 22:59:21 provides a separate development package or SDK, be sure it has been 22:59:21 installed. 22:59:21 22:59:21 22:59:21 -- Configuring done 22:59:21 -- Generating done 22:59:21 -- Build files have been written to: /tmp/cbor 22:59:21 Scanning dependencies of target cbor_shared 22:59:21 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 22:59:22 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 22:59:22 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 22:59:22 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 22:59:22 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 22:59:22 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 22:59:22 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 22:59:22 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 22:59:22 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 22:59:23 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 22:59:23 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 22:59:23 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 22:59:23 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 22:59:23 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 22:59:23 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 22:59:23 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 22:59:23 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 22:59:23 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 22:59:23 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 22:59:23 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 22:59:23 [ 40%] Linking C shared library libcbor.so 22:59:23 [ 40%] Built target cbor_shared 22:59:23 Scanning dependencies of target cbor 22:59:23 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 22:59:24 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 22:59:24 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 22:59:24 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 22:59:24 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 22:59:24 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 22:59:24 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 22:59:24 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 22:59:24 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 22:59:24 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 22:59:25 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 22:59:25 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 22:59:25 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 22:59:25 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 22:59:25 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 22:59:25 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 22:59:25 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 22:59:25 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 22:59:25 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 22:59:25 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 22:59:25 [ 80%] Linking C static library libcbor.a 22:59:25 [ 80%] Built target cbor 22:59:25 Scanning dependencies of target create_items 22:59:25 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 22:59:25 [ 84%] Linking C executable create_items 22:59:25 [ 84%] Built target create_items 22:59:25 Scanning dependencies of target readfile 22:59:25 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 22:59:25 [ 88%] Linking C executable readfile 22:59:26 [ 88%] Built target readfile 22:59:26 Scanning dependencies of target streaming_parser 22:59:26 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 22:59:26 [ 92%] Linking C executable streaming_parser 22:59:26 [ 92%] Built target streaming_parser 22:59:26 Scanning dependencies of target sort 22:59:26 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 22:59:26 [ 96%] Linking C executable sort 22:59:26 [ 96%] Built target sort 22:59:26 Scanning dependencies of target hello 22:59:26 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 22:59:26 [100%] Linking C executable hello 22:59:26 [100%] Built target hello 22:59:26 Install the project... 22:59:26 -- Install configuration: "Release" 22:59:26 -- Installing: /usr/local/include/cbor/configuration.h 22:59:26 -- Installing: /usr/local/lib64/libcbor.a 22:59:26 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 22:59:26 -- Installing: /usr/local/lib64/libcbor.so.0 22:59:26 -- Installing: /usr/local/lib64/libcbor.so 22:59:26 -- Up-to-date: /usr/local/include/cbor 22:59:26 -- Installing: /usr/local/include/cbor/arrays.h 22:59:26 -- Installing: /usr/local/include/cbor/bytestrings.h 22:59:26 -- Installing: /usr/local/include/cbor/callbacks.h 22:59:26 -- Installing: /usr/local/include/cbor/common.h 22:59:26 -- Installing: /usr/local/include/cbor/data.h 22:59:26 -- Installing: /usr/local/include/cbor/encoding.h 22:59:26 -- Installing: /usr/local/include/cbor/floats_ctrls.h 22:59:26 -- Installing: /usr/local/include/cbor/internal 22:59:26 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 22:59:26 -- Installing: /usr/local/include/cbor/internal/encoders.h 22:59:26 -- Installing: /usr/local/include/cbor/internal/loaders.h 22:59:26 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 22:59:26 -- Installing: /usr/local/include/cbor/internal/stack.h 22:59:26 -- Installing: /usr/local/include/cbor/internal/unicode.h 22:59:26 -- Installing: /usr/local/include/cbor/ints.h 22:59:26 -- Installing: /usr/local/include/cbor/maps.h 22:59:26 -- Installing: /usr/local/include/cbor/serialization.h 22:59:26 -- Installing: /usr/local/include/cbor/streaming.h 22:59:26 -- Installing: /usr/local/include/cbor/strings.h 22:59:26 -- Installing: /usr/local/include/cbor/tags.h 22:59:26 -- Installing: /usr/local/include/cbor.h 22:59:26 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 22:59:29 Removing intermediate container d1e581220f6e 22:59:29 ---> 1f14bebc89b1 22:59:29 Step 6/21 : RUN mkdir /tmp/sdk 22:59:29 ---> Running in 56a038cf8268 22:59:29 Removing intermediate container 56a038cf8268 22:59:29 ---> 2c975be91ea7 22:59:29 Step 7/21 : COPY VERSION /tmp/sdk 22:59:30 ---> ffe88374853a 22:59:30 Step 8/21 : COPY src /tmp/sdk/src 22:59:30 ---> d012a510f7d0 22:59:30 Step 9/21 : COPY include /tmp/sdk/include 22:59:31 ---> 0a03199e0b71 22:59:31 Step 10/21 : COPY scripts /tmp/sdk/scripts 22:59:31 ---> 45abcc26876f 22:59:31 Step 11/21 : COPY LICENSE /tmp/sdk 22:59:31 ---> a54bde58c933 22:59:31 Step 12/21 : COPY Attribution.txt /tmp/sdk 22:59:31 ---> 42c8715733cc 22:59:31 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 22:59:31 ---> Running in 4418c34d168d 22:59:32 + CPPCHECK=false 22:59:32 + DOCGEN=false 22:59:32 + TOMLVER=SDK-0.2 22:59:32 + CUTILVER=1.1.1 22:59:32 + '[' 0 -gt 0 ] 22:59:32 + readlink -f ./scripts/build.sh 22:59:32 + dirname /tmp/sdk/scripts/build.sh 22:59:32 + dirname /tmp/sdk/scripts 22:59:32 + ROOT=/tmp/sdk 22:59:32 + cd /tmp/sdk 22:59:32 + '[' '!' -d deps ] 22:59:32 + mkdir deps 22:59:32 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 22:59:32 + tar -C deps -z -x -f - 22:59:32 --2020-12-22 22:59:32-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 22:59:32 Resolving github.com... 140.82.114.4 22:59:32 Connecting to github.com|140.82.114.4|:443... connected. 22:59:32 HTTP request sent, awaiting response... 302 Found 22:59:32 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 22:59:32 --2020-12-22 22:59:32-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 22:59:32 Resolving codeload.github.com... 140.82.113.9 22:59:32 Connecting to codeload.github.com|140.82.113.9|:443... connected. 22:59:32 HTTP request sent, awaiting response... 200 OK 22:59:32 Length: unspecified [application/x-gzip] 22:59:32 Saving to: 'STDOUT' 22:59:32  22:59:32 0K .......... ......  1.03M=0.02s 22:59:32 22:59:32 2020-12-22 22:59:32 (1.03 MB/s) - written to stdout [16451] 22:59:32 22:59:32 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 22:59:32 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.1.tar.gz 22:59:32 + tar -C deps -z -x -f - 22:59:32 --2020-12-22 22:59:32-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.1.tar.gz 22:59:32 Resolving github.com... 140.82.114.4 22:59:32 Connecting to github.com|140.82.114.4|:443... connected. 22:59:32 HTTP request sent, awaiting response... 302 Found 22:59:32 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.1 [following] 22:59:32 --2020-12-22 22:59:32-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.1 22:59:32 Resolving codeload.github.com... 140.82.113.9 22:59:32 Connecting to codeload.github.com|140.82.113.9|:443... connected. 22:59:33 HTTP request sent, awaiting response... 200 OK 22:59:33 Length: unspecified [application/x-gzip] 22:59:33 Saving to: 'STDOUT' 22:59:33  22:59:33 0K .......... .......... .......... .......... .......... 1.63M 22:59:33 50K .......... .......... .......... .......... .......... 3.31M 22:59:33 100K .......... .......... .......... .......... .......... 28.4M 22:59:33 150K .......... .......... ..... 35.9M=0.05s 22:59:33 22:59:33 2020-12-22 22:59:33 (3.63 MB/s) - written to stdout [179833] 22:59:33 22:59:33 + mkdir -p src/c/iot 22:59:33 + cp deps/iotech-c-utils-1.1.1/src/c/base64.c deps/iotech-c-utils-1.1.1/src/c/component.c deps/iotech-c-utils-1.1.1/src/c/config.c deps/iotech-c-utils-1.1.1/src/c/container.c deps/iotech-c-utils-1.1.1/src/c/data.c deps/iotech-c-utils-1.1.1/src/c/hash.c deps/iotech-c-utils-1.1.1/src/c/iot.c deps/iotech-c-utils-1.1.1/src/c/json.c deps/iotech-c-utils-1.1.1/src/c/logger.c deps/iotech-c-utils-1.1.1/src/c/os.c deps/iotech-c-utils-1.1.1/src/c/scheduler.c deps/iotech-c-utils-1.1.1/src/c/thread.c deps/iotech-c-utils-1.1.1/src/c/threadpool.c deps/iotech-c-utils-1.1.1/src/c/time.c deps/iotech-c-utils-1.1.1/src/c/yxml.c src/c/iot 22:59:33 + mkdir -p include/iot 22:59:33 + cp deps/iotech-c-utils-1.1.1/include/iot/base64.h deps/iotech-c-utils-1.1.1/include/iot/component.h deps/iotech-c-utils-1.1.1/include/iot/config.h deps/iotech-c-utils-1.1.1/include/iot/container.h deps/iotech-c-utils-1.1.1/include/iot/data.h deps/iotech-c-utils-1.1.1/include/iot/hash.h deps/iotech-c-utils-1.1.1/include/iot/iot.h deps/iotech-c-utils-1.1.1/include/iot/json.h deps/iotech-c-utils-1.1.1/include/iot/logger.h deps/iotech-c-utils-1.1.1/include/iot/os.h deps/iotech-c-utils-1.1.1/include/iot/scheduler.h deps/iotech-c-utils-1.1.1/include/iot/thread.h deps/iotech-c-utils-1.1.1/include/iot/threadpool.h deps/iotech-c-utils-1.1.1/include/iot/time.h deps/iotech-c-utils-1.1.1/include/iot/typecode.h deps/iotech-c-utils-1.1.1/include/iot/yxml.h include/iot 22:59:33 + mkdir -p include/iot/os 22:59:33 + cp deps/iotech-c-utils-1.1.1/include/iot/os/linux.h deps/iotech-c-utils-1.1.1/include/iot/os/macos.h deps/iotech-c-utils-1.1.1/include/iot/os/zephyr.h include/iot/os 22:59:33 + mkdir -p /tmp/sdk/build/release 22:59:33 + cd /tmp/sdk/build/release 22:59:33 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 22:59:33 -- The C compiler identification is GNU 8.3.0 22:59:33 -- Check for working C compiler: /usr/bin/cc 22:59:33 -- Check for working C compiler: /usr/bin/cc -- works 22:59:33 -- Detecting C compiler ABI info 22:59:33 -- Detecting C compiler ABI info - done 22:59:33 -- Detecting C compile features 22:59:33 -- Detecting C compile features - done 22:59:33 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 22:59:33 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 22:59:33 -- Found LIBYAML: /usr/lib/libyaml.so 22:59:33 -- Found LIBUUID: /usr/lib/libuuid.so 22:59:33 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 22:59:33 -- C SDK 0.0.0 for Linux 22:59:33 -- Performing Test CSDK_HAVE_ATOMIC 22:59:33 -- Performing Test CSDK_HAVE_ATOMIC - Success 22:59:33 -- Found Curses: /usr/lib/libcurses.so 22:59:34 -- Configuring done 22:59:34 -- Generating done 22:59:34 -- Build files have been written to: /tmp/sdk/build/release 22:59:34 + make 22:59:34 + tee release.log 22:59:34 Scanning dependencies of target csdk 22:59:34 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 22:59:34 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 22:59:34 [ 4%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 22:59:34 [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o 22:59:35 [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 22:59:35 [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 22:59:35 [ 11%] Building C object c/CMakeFiles/csdk.dir/data.c.o 22:59:35 [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o 22:59:35 [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 22:59:36 [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 22:59:36 [ 17%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 22:59:36 [ 19%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 22:59:36 [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 22:59:36 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 22:59:36 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 22:59:37 [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 22:59:37 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 22:59:37 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 22:59:37 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 22:59:37 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 22:59:38 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 22:59:38 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 22:59:38 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 22:59:38 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 22:59:39 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 22:59:39 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 22:59:39 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 22:59:39 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 22:59:39 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 22:59:39 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 22:59:40 [ 49%] Building C object c/CMakeFiles/csdk.dir/map.c.o 22:59:40 [ 50%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 22:59:40 [ 52%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 22:59:40 [ 53%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 22:59:41 [ 55%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 22:59:41 [ 57%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 22:59:41 [ 58%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 22:59:42 [ 60%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 22:59:42 [ 61%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 22:59:42 [ 63%] Building C object c/CMakeFiles/csdk.dir/service.c.o 22:59:42 [ 65%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 22:59:43 [ 66%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 22:59:43 [ 68%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 22:59:44 [ 69%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 22:59:44 [ 71%] Linking C shared library libcsdk.so 22:59:44 [ 71%] Built target csdk 22:59:44 Scanning dependencies of target template 22:59:44 [ 73%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 22:59:44 [ 74%] Linking C executable template 22:59:44 [ 74%] Built target template 22:59:44 Scanning dependencies of target device-counter 22:59:44 [ 76%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 22:59:45 [ 77%] Linking C executable device-counter 22:59:45 [ 77%] Built target device-counter 22:59:45 Scanning dependencies of target device-random 22:59:45 [ 79%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 22:59:45 [ 80%] Linking C executable device-random 22:59:45 [ 80%] Built target device-random 22:59:45 Scanning dependencies of target device-gyro 22:59:45 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 22:59:45 [ 84%] Linking C executable device-gyro 22:59:45 [ 84%] Built target device-gyro 22:59:45 Scanning dependencies of target device-bitfields 22:59:45 [ 85%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 22:59:45 [ 87%] Linking C executable device-bitfields 22:59:45 [ 87%] Built target device-bitfields 22:59:45 Scanning dependencies of target template-discovery 22:59:45 [ 88%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 22:59:45 [ 90%] Linking C executable template-discovery 22:59:45 [ 90%] Built target template-discovery 22:59:45 Scanning dependencies of target device-file 22:59:45 [ 92%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 22:59:46 [ 93%] Linking C executable device-file 22:59:46 [ 93%] Built target device-file 22:59:46 Scanning dependencies of target device-terminal 22:59:46 [ 95%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 22:59:46 [ 96%] Linking C executable device-terminal 22:59:46 [ 96%] Built target device-terminal 22:59:46 Scanning dependencies of target templatev1 22:59:46 [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o 22:59:46 [100%] Linking C executable templatev1 22:59:46 [100%] Built target templatev1 22:59:46 + make package 22:59:46 + tee -a release.log 22:59:46 [ 71%] Built target csdk 22:59:47 [ 74%] Built target template 22:59:47 [ 77%] Built target device-counter 22:59:47 [ 80%] Built target device-random 22:59:47 [ 84%] Built target device-gyro 22:59:47 [ 87%] Built target device-bitfields 22:59:47 [ 90%] Built target template-discovery 22:59:47 [ 93%] Built target device-file 22:59:47 [ 96%] Built target device-terminal 22:59:47 [100%] Built target templatev1 22:59:47 Run CPack packaging tool... 22:59:47 CPack: Create package using TGZ 22:59:47 CPack: Install projects 22:59:47 CPack: - Run preinstall target for: Csdk 22:59:47 CPack: - Install project: Csdk 22:59:47 CPack: Create package 22:59:47 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 22:59:47 + '[' false '=' true ] 22:59:47 + '[' false '=' true ] 22:59:47 + mkdir -p /tmp/sdk/build/debug 22:59:47 + cd /tmp/sdk/build/debug 22:59:47 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 22:59:47 -- The C compiler identification is GNU 8.3.0 22:59:47 -- Check for working C compiler: /usr/bin/cc 22:59:47 -- Check for working C compiler: /usr/bin/cc -- works 22:59:47 -- Detecting C compiler ABI info 22:59:47 -- Detecting C compiler ABI info - done 22:59:47 -- Detecting C compile features 22:59:47 -- Detecting C compile features - done 22:59:47 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 22:59:47 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 22:59:47 -- Found LIBYAML: /usr/lib/libyaml.so 22:59:47 -- Found LIBUUID: /usr/lib/libuuid.so 22:59:47 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 22:59:47 -- C SDK 0.0.0 for Linux 22:59:47 -- Performing Test CSDK_HAVE_ATOMIC 22:59:48 -- Performing Test CSDK_HAVE_ATOMIC - Success 22:59:48 -- Found Curses: /usr/lib/libcurses.so 22:59:48 -- Configuring done 22:59:48 -- Generating done 22:59:48 -- Build files have been written to: /tmp/sdk/build/debug 22:59:48 + make 22:59:48 + tee debug.log 22:59:48 Scanning dependencies of target csdk 22:59:48 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 22:59:48 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 22:59:48 [ 4%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 22:59:48 [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o 22:59:48 [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 22:59:48 [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 22:59:48 [ 11%] Building C object c/CMakeFiles/csdk.dir/data.c.o 22:59:49 [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o 22:59:49 [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 22:59:49 [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 22:59:49 [ 17%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 22:59:49 [ 19%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 22:59:49 [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 22:59:49 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 22:59:49 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 22:59:49 [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 22:59:50 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 22:59:50 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 22:59:50 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 22:59:50 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 22:59:50 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 22:59:50 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 22:59:50 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 22:59:50 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 22:59:50 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 22:59:50 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 22:59:50 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 22:59:50 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 22:59:50 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 22:59:50 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 22:59:51 [ 49%] Building C object c/CMakeFiles/csdk.dir/map.c.o 22:59:51 [ 50%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 22:59:51 [ 52%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 22:59:51 [ 53%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 22:59:51 [ 55%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 22:59:51 [ 57%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 22:59:51 [ 58%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 22:59:51 [ 60%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 22:59:51 [ 61%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 22:59:52 [ 63%] Building C object c/CMakeFiles/csdk.dir/service.c.o 22:59:52 [ 65%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 22:59:52 [ 66%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 22:59:52 [ 68%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 22:59:52 [ 69%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 22:59:52 [ 71%] Linking C shared library libcsdk.so 22:59:52 [ 71%] Built target csdk 22:59:52 Scanning dependencies of target template 22:59:52 [ 73%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 22:59:52 [ 74%] Linking C executable template 22:59:52 [ 74%] Built target template 22:59:52 Scanning dependencies of target device-counter 22:59:52 [ 76%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 22:59:53 [ 77%] Linking C executable device-counter 22:59:53 [ 77%] Built target device-counter 22:59:53 Scanning dependencies of target device-random 22:59:53 [ 79%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 22:59:53 [ 80%] Linking C executable device-random 22:59:53 [ 80%] Built target device-random 22:59:53 Scanning dependencies of target device-gyro 22:59:53 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 22:59:53 [ 84%] Linking C executable device-gyro 22:59:53 [ 84%] Built target device-gyro 22:59:53 Scanning dependencies of target device-bitfields 22:59:53 [ 85%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 22:59:53 [ 87%] Linking C executable device-bitfields 22:59:53 [ 87%] Built target device-bitfields 22:59:53 Scanning dependencies of target template-discovery 22:59:53 [ 88%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 22:59:53 [ 90%] Linking C executable template-discovery 22:59:53 [ 90%] Built target template-discovery 22:59:53 Scanning dependencies of target device-file 22:59:53 [ 92%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 22:59:54 [ 93%] Linking C executable device-file 22:59:54 [ 93%] Built target device-file 22:59:54 Scanning dependencies of target device-terminal 22:59:54 [ 95%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 22:59:54 [ 96%] Linking C executable device-terminal 22:59:54 [ 96%] Built target device-terminal 22:59:54 Scanning dependencies of target templatev1 22:59:54 [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o 22:59:54 [100%] Linking C executable templatev1 22:59:54 [100%] Built target templatev1 22:59:54 make: Entering directory '/tmp/sdk/build/release' 22:59:54 make[1]: Entering directory '/tmp/sdk/build/release' 22:59:54 make[2]: Entering directory '/tmp/sdk/build/release' 22:59:54 make[2]: Leaving directory '/tmp/sdk/build/release' 22:59:54 [ 71%] Built target csdk 22:59:54 make[2]: Entering directory '/tmp/sdk/build/release' 22:59:54 make[2]: Leaving directory '/tmp/sdk/build/release' 22:59:54 [ 74%] Built target template 22:59:54 make[2]: Entering directory '/tmp/sdk/build/release' 22:59:54 make[2]: Leaving directory '/tmp/sdk/build/release' 22:59:54 [ 77%] Built target device-counter 22:59:54 make[2]: Entering directory '/tmp/sdk/build/release' 22:59:54 make[2]: Leaving directory '/tmp/sdk/build/release' 22:59:54 [ 80%] Built target device-random 22:59:54 make[2]: Entering directory '/tmp/sdk/build/release' 22:59:54 make[2]: Leaving directory '/tmp/sdk/build/release' 22:59:54 [ 84%] Built target device-gyro 22:59:54 make[2]: Entering directory '/tmp/sdk/build/release' 22:59:54 make[2]: Leaving directory '/tmp/sdk/build/release' 22:59:54 [ 87%] Built target device-bitfields 22:59:54 make[2]: Entering directory '/tmp/sdk/build/release' 22:59:54 make[2]: Leaving directory '/tmp/sdk/build/release' 22:59:54 [ 90%] Built target template-discovery 22:59:54 make[2]: Entering directory '/tmp/sdk/build/release' 22:59:54 make[2]: Leaving directory '/tmp/sdk/build/release' 22:59:54 [ 93%] Built target device-file 22:59:54 make[2]: Entering directory '/tmp/sdk/build/release' 22:59:54 make[2]: Leaving directory '/tmp/sdk/build/release' 22:59:54 [ 96%] Built target device-terminal 22:59:54 make[2]: Entering directory '/tmp/sdk/build/release' 22:59:54 make[2]: Leaving directory '/tmp/sdk/build/release' 22:59:54 [100%] Built target templatev1 22:59:54 make[1]: Leaving directory '/tmp/sdk/build/release' 22:59:54 Install the project... 22:59:54 -- Install configuration: "Release" 22:59:54 -- Installing: /usr/local/lib/libcsdk.so 22:59:54 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 22:59:54 -- Up-to-date: /usr/local/include 22:59:54 -- Installing: /usr/local/include/devsdk 22:59:54 -- Installing: /usr/local/include/devsdk/devsdk-base.h 22:59:54 -- Installing: /usr/local/include/devsdk/devsdk.h 22:59:54 -- Installing: /usr/local/include/edgex 22:59:54 -- Installing: /usr/local/include/edgex/device-mgmt.h 22:59:54 -- Installing: /usr/local/include/edgex/devices.h 22:59:54 -- Installing: /usr/local/include/edgex/devsdk.h 22:59:54 -- Installing: /usr/local/include/edgex/edgex-base.h 22:59:54 -- Installing: /usr/local/include/edgex/edgex.h 22:59:54 -- Installing: /usr/local/include/edgex/error.h 22:59:54 -- Installing: /usr/local/include/edgex/eventgen.h 22:59:54 -- Installing: /usr/local/include/edgex/os.h 22:59:54 -- Installing: /usr/local/include/edgex/profiles.h 22:59:54 -- Installing: /usr/local/include/edgex/rest-server.h 22:59:54 -- Installing: /usr/local/include/edgex/csdk-defs.h 22:59:54 -- Installing: /usr/local/include/iot 22:59:54 -- Installing: /usr/local/include/iot/base64.h 22:59:54 -- Installing: /usr/local/include/iot/component.h 22:59:54 -- Installing: /usr/local/include/iot/config.h 22:59:54 -- Installing: /usr/local/include/iot/container.h 22:59:54 -- Installing: /usr/local/include/iot/data.h 22:59:54 -- Installing: /usr/local/include/iot/hash.h 22:59:54 -- Installing: /usr/local/include/iot/iot.h 22:59:54 -- Installing: /usr/local/include/iot/json.h 22:59:54 -- Installing: /usr/local/include/iot/logger.h 22:59:54 -- Installing: /usr/local/include/iot/os.h 22:59:54 -- Installing: /usr/local/include/iot/scheduler.h 22:59:54 -- Installing: /usr/local/include/iot/thread.h 22:59:54 -- Installing: /usr/local/include/iot/threadpool.h 22:59:54 -- Installing: /usr/local/include/iot/time.h 22:59:54 -- Installing: /usr/local/include/iot/typecode.h 22:59:54 -- Installing: /usr/local/include/iot/yxml.h 22:59:54 -- Installing: /usr/local/include/iot/os 22:59:54 -- Installing: /usr/local/include/iot/os/linux.h 22:59:54 -- Installing: /usr/local/include/iot/os/macos.h 22:59:54 -- Installing: /usr/local/include/iot/os/zephyr.h 22:59:54 -- Installing: /usr/local/share/device-sdk-c/LICENSE 22:59:54 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 22:59:54 make: Leaving directory '/tmp/sdk/build/release' 22:59:56 Removing intermediate container 4418c34d168d 22:59:56 ---> b212247b5b34 22:59:56 Step 14/21 : FROM ${BASE} 22:59:56 ---> 5eabd8fd8ba2 22:59:56 Step 15/21 : LABEL maintainer="IOTech " 22:59:56 ---> Running in b4fba5477d5e 22:59:56 Removing intermediate container b4fba5477d5e 22:59:56 ---> ff2a7f83434a 22:59:56 Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid 22:59:56 ---> Running in 307494ccd126 22:59:57 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 22:59:57 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 22:59:58 (1/3) Installing curl (7.64.0-r5) 22:59:58 (2/3) Installing libuuid (2.33-r0) 22:59:58 (3/3) Installing wget (1.20.3-r0) 22:59:59 Executing busybox-1.29.3-r10.trigger 22:59:59 OK: 268 MiB in 78 packages 22:59:59 Removing intermediate container 307494ccd126 22:59:59 ---> f4910ac91793 22:59:59 Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 22:59:59 ---> d300011c12f8 22:59:59 Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 22:59:59 ---> a95a50275ae8 22:59:59 Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib 23:00:00 ---> ad7d8906a785 23:00:00 Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 23:00:00 ---> d194a0017fcd 23:00:00 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 23:00:00 ---> 680b566d76b5 23:00:00 Successfully built 680b566d76b5 23:00:00 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:00:01 + docker inspect -f . ci-base-image-x86_64 23:00:01 . [Pipeline] withDockerContainer 23:00:01 prd-centos7-docker-4c-2g-17218 does not seem to be running inside a container 23:00:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/3 -v /w/workspace/device-sdk-c/3:/w/workspace/device-sdk-c/3:rw,z -v /w/workspace/device-sdk-c/3@tmp:/w/workspace/device-sdk-c/3@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 23:00:02 $ docker top 368a68553d8b9f87726e226c00cd6a3d76660a17e7d1fc16bdc44ce1f662e05e -eo pid,comm [Pipeline] { [Pipeline] sh 23:00:03 + make test 23:00:03 echo "make test" 23:00:03 make test [Pipeline] } 23:00:03 $ docker stop --time=1 368a68553d8b9f87726e226c00cd6a3d76660a17e7d1fc16bdc44ce1f662e05e 23:00:04 $ docker rm -f 368a68553d8b9f87726e226c00cd6a3d76660a17e7d1fc16bdc44ce1f662e05e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:00:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:00:08 + ls -al . 23:00:08 total 160 23:00:08 drwxrwxr-x. 8 jenkins jenkins 260 Dec 22 22:58 . 23:00:08 drwxrwxr-x. 4 jenkins jenkins 28 Dec 22 22:58 .. 23:00:08 -rw-rw-r--. 1 jenkins jenkins 3104 Dec 22 22:58 Attribution.txt 23:00:08 -rw-rw-r--. 1 jenkins jenkins 6383 Dec 22 22:58 CHANGES 23:00:08 drwxrwxr-x. 2 jenkins jenkins 144 Dec 22 22:58 docs 23:00:08 -rw-rw-r--. 1 jenkins jenkins 108574 Dec 22 22:58 Doxyfile 23:00:08 drwxrwxr-x. 8 jenkins jenkins 179 Dec 22 22:59 .git 23:00:08 drwxrwxr-x. 2 jenkins jenkins 81 Dec 22 22:58 .github 23:00:08 -rw-rw-r--. 1 jenkins jenkins 176 Dec 22 22:58 .gitignore 23:00:08 drwxrwxr-x. 4 jenkins jenkins 33 Dec 22 22:58 include 23:00:08 -rw-rw-r--. 1 jenkins jenkins 784 Dec 22 22:58 Jenkinsfile 23:00:08 -rw-rw-r--. 1 jenkins jenkins 10174 Dec 22 22:58 LICENSE 23:00:08 -rw-rw-r--. 1 jenkins jenkins 449 Dec 22 22:58 Makefile 23:00:08 -rw-rw-r--. 1 jenkins jenkins 2697 Dec 22 22:58 README.md 23:00:08 -rw-rw-r--. 1 jenkins jenkins 6451 Dec 22 22:58 README.v2.md 23:00:08 drwxrwxr-x. 2 jenkins jenkins 98 Dec 22 22:58 scripts 23:00:08 drwxrwxr-x. 4 jenkins jenkins 50 Dec 22 22:58 src 23:00:08 -rw-rw-r--. 1 jenkins jenkins 5 Dec 22 22:56 VERSION [Pipeline] isUnix [Pipeline] sh 23:00:08 + docker build -t docker-device-sdk-c -f scripts/Dockerfile.alpine --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=7989b4eb7bfc6589ca65fb97f4b6e9bcd4f2a424 --label arch=amd64 --label version=0.0.0 . 23:00:08 Sending build context to Docker daemon 2.544MB 23:00:08 Step 1/15 : ARG BASE=alpine:3.12 23:00:08 Step 2/15 : FROM ${BASE} 23:00:08 ---> 680b566d76b5 23:00:08 Step 3/15 : LABEL maintainer="IOTech " 23:00:09 ---> Running in 3631af8ca462 23:00:09 Removing intermediate container 3631af8ca462 23:00:09 ---> d94c63acbd7c 23:00:09 Step 4/15 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev && mkdir -p /edgex-c-sdk/build 23:00:09 ---> Running in 200d35a4584d 23:00:10 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 23:00:10 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 23:00:10 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 23:00:10 (2/6) Installing libblkid (2.33-r0) 23:00:11 (3/6) Installing libfdisk (2.33-r0) 23:00:11 (4/6) Installing libmount (2.33-r0) 23:00:11 (5/6) Installing libsmartcols (2.33-r0) 23:00:11 (6/6) Installing util-linux-dev (2.33-r0) 23:00:11 Executing busybox-1.29.3-r10.trigger 23:00:11 OK: 272 MiB in 84 packages 23:00:12 Removing intermediate container 200d35a4584d 23:00:12 ---> dd112f521e74 23:00:12 Step 5/15 : COPY VERSION /edgex-c-sdk/ 23:00:12 ---> 161faaae7cce 23:00:12 Step 6/15 : COPY src /edgex-c-sdk/src/ 23:00:13 ---> e0efc05bbd6b 23:00:13 Step 7/15 : COPY include /edgex-c-sdk/include/ 23:00:13 ---> 362c72b6037a 23:00:13 Step 8/15 : COPY scripts /edgex-c-sdk/scripts 23:00:13 ---> 5af9f3f84ae3 23:00:13 Step 9/15 : COPY LICENSE /edgex-c-sdk/ 23:00:13 ---> 32cbfea6ea90 23:00:13 Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ 23:00:14 ---> 4951ab7bd094 23:00:14 Step 11/15 : WORKDIR /edgex-c-sdk 23:00:14 ---> Running in 0909aa1ccac5 23:00:14 Removing intermediate container 0909aa1ccac5 23:00:14 ---> eccba93add7b 23:00:14 Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 23:00:14 ---> Running in 17a9ec2ef288 23:00:14 Removing intermediate container 17a9ec2ef288 23:00:14 ---> 402e14f8207d 23:00:14 Step 13/15 : LABEL arch=amd64 23:00:14 ---> Running in 66af130bcd33 23:00:14 Removing intermediate container 66af130bcd33 23:00:14 ---> 560ddb5342e6 23:00:14 Step 14/15 : LABEL git_sha=7989b4eb7bfc6589ca65fb97f4b6e9bcd4f2a424 23:00:14 ---> Running in 34b9eec872cf 23:00:14 Removing intermediate container 34b9eec872cf 23:00:14 ---> 93f72ed762ac 23:00:14 Step 15/15 : LABEL version=0.0.0 23:00:14 ---> Running in 9df793733d3a 23:00:15 Removing intermediate container 9df793733d3a 23:00:15 ---> e80115686095 23:00:15 [Warning] One or more build-args [MAKE ARCH] were not consumed 23:00:15 Successfully built e80115686095 23:00:15 Successfully tagged docker-device-sdk-c:latest [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 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 23:00:33 Running on prd-ubuntu18.04-docker-arm64-4c-16g-17219 in /w/workspace/edgexfoundry_device-sdk-c_PR-313 [Pipeline] { [Pipeline] ws 23:00:33 Running in /w/workspace/device-sdk-c/3 [Pipeline] { [Pipeline] checkout 23:00:38 using credential edgex-jenkins-ssh 23:00:38 Cloning the remote Git repository 23:00:38 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 23:00:38 > git init /w/workspace/device-sdk-c/3 # timeout=10 23:00:38 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 23:00:38 > git --version # timeout=10 23:00:38 > git --version # 'git version 2.17.1' 23:00:38 using GIT_SSH to set credentials SSH Credentials for GitHub 23:00:38 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:00:40 Merging remotes/origin/master commit f0de00cff149ffe86b90fb2b2675cd2706e94b93 into PR head commit 6c84a767c6ce4573f9a920010352f64502cb5330 23:00:40 Merge succeeded, producing 5e7ebfb1e41e81925da99492799996b87c5cf08d 23:00:40 Checking out Revision 5e7ebfb1e41e81925da99492799996b87c5cf08d (PR-313) 23:00:39 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 23:00:39 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:00:39 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 23:00:39 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 23:00:39 using GIT_SSH to set credentials SSH Credentials for GitHub 23:00:39 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/313/head:refs/remotes/origin/PR-313 +refs/heads/master:refs/remotes/origin/master # timeout=10 23:00:40 > git config core.sparsecheckout # timeout=10 23:00:40 > git checkout -f 6c84a767c6ce4573f9a920010352f64502cb5330 # timeout=10 23:00:40 > git remote # timeout=10 23:00:40 > git config --get remote.origin.url # timeout=10 23:00:40 using GIT_SSH to set credentials SSH Credentials for GitHub 23:00:40 > git merge f0de00cff149ffe86b90fb2b2675cd2706e94b93 # timeout=10 23:00:40 > git rev-parse HEAD^{commit} # timeout=10 23:00:40 > git config core.sparsecheckout # timeout=10 23:00:40 > git checkout -f 5e7ebfb1e41e81925da99492799996b87c5cf08d # timeout=10 23:00:45 Commit message: "Merge commit 'f0de00cff149ffe86b90fb2b2675cd2706e94b93' into HEAD" 23:00:45 > git rev-list --no-walk 6c84a767c6ce4573f9a920010352f64502cb5330 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:00:47 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 23:00:47 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 23:00:48 + sudo service docker restart 23:00:48 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 23:00:50 provisioning config files... 23:00:50 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/3@tmp/config7656890029631106064tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:00:51 ---> docker-login.sh 23:00:51 nexus3.edgexfoundry.org:10001 23:00:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:00:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:00:52 Configure a credential helper to remove this warning. See 23:00:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:00:52 23:00:52 Login Succeeded 23:00:52 nexus3.edgexfoundry.org:10002 23:00:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:00:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:00:52 Configure a credential helper to remove this warning. See 23:00:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:00:52 23:00:52 Login Succeeded 23:00:53 nexus3.edgexfoundry.org:10003 23:00:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:00:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:00:53 Configure a credential helper to remove this warning. See 23:00:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:00:53 23:00:53 Login Succeeded 23:00:53 nexus3.edgexfoundry.org:10004 23:00:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:00:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:00:53 Configure a credential helper to remove this warning. See 23:00:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:00:53 23:00:53 Login Succeeded 23:00:53 docker.io 23:00:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:00:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:00:54 Configure a credential helper to remove this warning. See 23:00:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:00:54 23:00:54 Login Succeeded 23:00:54 ---> docker-login.sh ends [Pipeline] } 23:00:54 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:00:55 ========================================================= 23:00:55 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 23:00:55 ========================================================= [Pipeline] isUnix [Pipeline] sh 23:00:55 + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . 23:00:55 Sending build context to Docker daemon 2.543MB 23:00:56 Step 1/21 : ARG BASE=alpine:3.12 23:00:56 Step 2/21 : FROM ${BASE} as builder 23:00:56 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 23:00:56 0362ad1dd800: Pulling fs layer 23:00:56 f2cdb1532d8b: Pulling fs layer 23:00:56 37ed683be191: Pulling fs layer 23:00:56 f2cdb1532d8b: Verifying Checksum 23:00:56 f2cdb1532d8b: Download complete 23:00:56 0362ad1dd800: Verifying Checksum 23:00:56 0362ad1dd800: Download complete 23:00:57 0362ad1dd800: Pull complete 23:00:57 f2cdb1532d8b: Pull complete 23:00:58 37ed683be191: Verifying Checksum 23:00:58 37ed683be191: Download complete 23:01:09 37ed683be191: Pull complete 23:01:09 Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f 23:01:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 23:01:09 ---> b23d30803547 23:01:09 Step 3/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev 23:01:09 ---> Running in efd5970a05ec 23:01:10 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 23:01:11 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 23:01:11 (1/8) Installing ncurses-dev (6.1_p20190105-r0) 23:01:11 (2/8) Installing libuuid (2.33-r0) 23:01:11 (3/8) Installing libblkid (2.33-r0) 23:01:12 (4/8) Installing libfdisk (2.33-r0) 23:01:12 (5/8) Installing libmount (2.33-r0) 23:01:12 (6/8) Installing libsmartcols (2.33-r0) 23:01:12 (7/8) Installing util-linux-dev (2.33-r0) 23:01:12 (8/8) Installing wget (1.20.3-r0) 23:01:12 Executing busybox-1.29.3-r10.trigger 23:01:12 OK: 285 MiB in 83 packages 23:01:14 Removing intermediate container efd5970a05ec 23:01:14 ---> 07182fde4cee 23:01:14 Step 4/21 : ENV CBOR_VERSION=0.5.0 23:01:14 ---> Running in 8f4609b52755 23:01:14 Removing intermediate container 8f4609b52755 23:01:14 ---> 5f37ee16fc4e 23:01:14 Step 5/21 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install 23:01:14 ---> Running in 0302b8b89494 23:01:15 --2020-12-22 23:01:15-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 23:01:16 Resolving github.com... 140.82.114.3 23:01:16 Connecting to github.com|140.82.114.3|:443... connected. 23:01:16 HTTP request sent, awaiting response... 302 Found 23:01:16 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 23:01:16 --2020-12-22 23:01:15-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 23:01:16 Resolving codeload.github.com... 140.82.113.10 23:01:16 Connecting to codeload.github.com|140.82.113.10|:443... connected. 23:01:16 HTTP request sent, awaiting response... 200 OK 23:01:16 Length: unspecified [application/x-gzip] 23:01:16 Saving to: 'STDOUT' 23:01:16  23:01:16 0K .......... .......... .......... .......... .......... 1.31M 23:01:16 50K .......... .......... .......... .......... .......... 2.48M 23:01:16 100K .......... .......... .......... .......... .......... 2.66M 23:01:16 150K .......... .......... .......... .......... .......... 8.43M 23:01:16 200K .......... .......... .......... .......... .......... 15.0M 23:01:16 250K .......... .......... .......... .......... .......... 3.09M 23:01:16 300K .......... .......... .......... .......... .......... 3.98M 23:01:16 350K .......... .......... .......... .......... .......... 6.00M 23:01:16 400K .......... .......... .......... .......... .......... 4.57M 23:01:16 450K .......... .......... .......... .......... .......... 5.30M 23:01:16 500K .......... .......... .......... .......... .......... 5.09M 23:01:16 550K .......... .......... .......... .......... .......... 5.51M 23:01:16 600K .......... .......... .......... .......... .......... 796K 23:01:16 650K .......... .......... .......... .......... .......... 2.54M 23:01:16 700K ..      4746G=0.2s 23:01:16 23:01:16 2020-12-22 23:01:16 (2.85 MB/s) - written to stdout [719348] 23:01:16 23:01:16 -- The C compiler identification is GNU 8.3.0 23:01:17 -- The CXX compiler identification is GNU 8.3.0 23:01:17 -- Check for working C compiler: /usr/bin/cc 23:01:17 -- Check for working C compiler: /usr/bin/cc -- works 23:01:17 -- Detecting C compiler ABI info 23:01:17 -- Detecting C compiler ABI info - done 23:01:17 -- Detecting C compile features 23:01:18 -- Detecting C compile features - done 23:01:18 -- Check for working CXX compiler: /usr/bin/c++ 23:01:18 -- Check for working CXX compiler: /usr/bin/c++ -- works 23:01:18 -- Detecting CXX compiler ABI info 23:01:18 -- Detecting CXX compiler ABI info - done 23:01:18 -- Detecting CXX compile features 23:01:20 -- Detecting CXX compile features - done 23:01:20 -- Looking for include file endian.h 23:01:20 -- Looking for include file endian.h - found 23:01:20 -- Check if the system is big endian 23:01:20 -- Searching 16 bit integer 23:01:20 -- Looking for sys/types.h 23:01:20 -- Looking for sys/types.h - found 23:01:20 -- Looking for stdint.h 23:01:21 -- Looking for stdint.h - found 23:01:21 -- Looking for stddef.h 23:01:21 -- Looking for stddef.h - found 23:01:21 -- Check size of unsigned short 23:01:21 -- Check size of unsigned short - done 23:01:21 -- Using unsigned short 23:01:21 -- Check if the system is big endian - little endian 23:01:21 -- Check size of size_t 23:01:22 -- Check size of size_t - done 23:01:22 CMake Warning at examples/CMakeLists.txt:16 (find_package): 23:01:22 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 23:01:22 asked CMake to find a package configuration file provided by "cJSON", but 23:01:22 CMake did not find one. 23:01:22 23:01:22 Could not find a package configuration file provided by "cJSON" with any of 23:01:22 the following names: 23:01:22 23:01:22 cJSONConfig.cmake 23:01:22 cjson-config.cmake 23:01:22 23:01:22 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 23:01:22 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 23:01:22 provides a separate development package or SDK, be sure it has been 23:01:22 installed. 23:01:22 23:01:22 23:01:22 -- Configuring done 23:01:22 -- Generating done 23:01:22 -- Build files have been written to: /tmp/cbor 23:01:22 Scanning dependencies of target cbor_shared 23:01:22 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 23:01:23 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 23:01:23 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 23:01:24 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 23:01:24 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 23:01:25 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 23:01:25 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 23:01:25 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 23:01:25 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 23:01:25 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 23:01:26 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 23:01:26 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 23:01:26 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 23:01:27 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 23:01:27 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 23:01:27 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 23:01:28 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 23:01:28 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 23:01:28 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 23:01:28 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 23:01:29 [ 40%] Linking C shared library libcbor.so 23:01:29 [ 40%] Built target cbor_shared 23:01:29 Scanning dependencies of target cbor 23:01:29 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 23:01:30 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 23:01:30 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 23:01:30 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 23:01:32 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 23:01:32 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 23:01:32 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 23:01:32 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 23:01:32 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 23:01:32 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 23:01:33 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 23:01:33 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 23:01:34 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 23:01:34 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 23:01:35 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 23:01:35 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 23:01:35 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 23:01:35 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 23:01:36 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 23:01:36 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 23:01:36 [ 80%] Linking C static library libcbor.a 23:01:36 [ 80%] Built target cbor 23:01:36 Scanning dependencies of target create_items 23:01:36 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 23:01:36 [ 84%] Linking C executable create_items 23:01:36 [ 84%] Built target create_items 23:01:36 Scanning dependencies of target readfile 23:01:36 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 23:01:37 [ 88%] Linking C executable readfile 23:01:37 [ 88%] Built target readfile 23:01:37 Scanning dependencies of target streaming_parser 23:01:37 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 23:01:37 [ 92%] Linking C executable streaming_parser 23:01:37 [ 92%] Built target streaming_parser 23:01:37 Scanning dependencies of target sort 23:01:37 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 23:01:37 [ 96%] Linking C executable sort 23:01:38 [ 96%] Built target sort 23:01:38 Scanning dependencies of target hello 23:01:38 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 23:01:38 [100%] Linking C executable hello 23:01:38 [100%] Built target hello 23:01:38 Install the project... 23:01:38 -- Install configuration: "Release" 23:01:38 -- Installing: /usr/local/include/cbor/configuration.h 23:01:38 -- Installing: /usr/local/lib64/libcbor.a 23:01:38 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 23:01:38 -- Installing: /usr/local/lib64/libcbor.so.0 23:01:38 -- Installing: /usr/local/lib64/libcbor.so 23:01:38 -- Up-to-date: /usr/local/include/cbor 23:01:38 -- Installing: /usr/local/include/cbor/streaming.h 23:01:38 -- Installing: /usr/local/include/cbor/ints.h 23:01:38 -- Installing: /usr/local/include/cbor/floats_ctrls.h 23:01:38 -- Installing: /usr/local/include/cbor/bytestrings.h 23:01:38 -- Installing: /usr/local/include/cbor/encoding.h 23:01:38 -- Installing: /usr/local/include/cbor/serialization.h 23:01:38 -- Installing: /usr/local/include/cbor/data.h 23:01:38 -- Installing: /usr/local/include/cbor/common.h 23:01:38 -- Installing: /usr/local/include/cbor/callbacks.h 23:01:38 -- Installing: /usr/local/include/cbor/strings.h 23:01:38 -- Installing: /usr/local/include/cbor/tags.h 23:01:38 -- Installing: /usr/local/include/cbor/internal 23:01:38 -- Installing: /usr/local/include/cbor/internal/encoders.h 23:01:38 -- Installing: /usr/local/include/cbor/internal/loaders.h 23:01:38 -- Installing: /usr/local/include/cbor/internal/stack.h 23:01:38 -- Installing: /usr/local/include/cbor/internal/unicode.h 23:01:38 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 23:01:38 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 23:01:38 -- Installing: /usr/local/include/cbor/arrays.h 23:01:38 -- Installing: /usr/local/include/cbor/maps.h 23:01:38 -- Installing: /usr/local/include/cbor.h 23:01:38 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 23:01:40 Removing intermediate container 0302b8b89494 23:01:40 ---> 49d186323c77 23:01:40 Step 6/21 : RUN mkdir /tmp/sdk 23:01:40 ---> Running in 5dca6fb1bd21 23:01:43 Removing intermediate container 5dca6fb1bd21 23:01:43 ---> 42e1367528b8 23:01:43 Step 7/21 : COPY VERSION /tmp/sdk 23:01:43 ---> 6a1ba7ea5529 23:01:43 Step 8/21 : COPY src /tmp/sdk/src 23:01:44 ---> 6c2ec9a84647 23:01:44 Step 9/21 : COPY include /tmp/sdk/include 23:01:45 ---> 68219e572ec3 23:01:45 Step 10/21 : COPY scripts /tmp/sdk/scripts 23:01:45 ---> 586e74355335 23:01:45 Step 11/21 : COPY LICENSE /tmp/sdk 23:01:46 ---> e584380f6e61 23:01:46 Step 12/21 : COPY Attribution.txt /tmp/sdk 23:01:47 ---> 8a109fe1141d 23:01:47 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 23:01:47 ---> Running in fa827abd6553 23:01:48 + CPPCHECK=false 23:01:48 + DOCGEN=false 23:01:48 + TOMLVER=SDK-0.2 23:01:48 + CUTILVER=1.1.1 23:01:48 + '[' 0 -gt 0 ] 23:01:48 + readlink -f ./scripts/build.sh 23:01:48 + dirname /tmp/sdk/scripts/build.sh 23:01:48 + dirname /tmp/sdk/scripts 23:01:48 + ROOT=/tmp/sdk 23:01:48 + cd /tmp/sdk 23:01:48 + '[' '!' -d deps ] 23:01:48 + mkdir deps 23:01:48 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 23:01:48 + tar -C deps -z -x -f - 23:01:48 --2020-12-22 23:01:48-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 23:01:48 Resolving github.com... 140.82.112.3 23:01:48 Connecting to github.com|140.82.112.3|:443... connected. 23:01:48 HTTP request sent, awaiting response... 302 Found 23:01:48 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 23:01:48 --2020-12-22 23:01:48-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 23:01:48 Resolving codeload.github.com... 140.82.113.10 23:01:48 Connecting to codeload.github.com|140.82.113.10|:443... connected. 23:01:48 HTTP request sent, awaiting response... 200 OK 23:01:48 Length: unspecified [application/x-gzip] 23:01:48 Saving to: 'STDOUT' 23:01:48 23:01:48 0K .......... ......  836K=0.02s 23:01:48 23:01:48 2020-12-22 23:01:48 (836 KB/s) - written to stdout [16451] 23:01:48 23:01:48 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 23:01:48 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.1.tar.gz 23:01:48 + tar -C deps -z -x -f - 23:01:48 --2020-12-22 23:01:48-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.1.tar.gz 23:01:48 Resolving github.com... 140.82.112.3 23:01:48 Connecting to github.com|140.82.112.3|:443... connected. 23:01:49 HTTP request sent, awaiting response... 302 Found 23:01:49 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.1 [following] 23:01:49 --2020-12-22 23:01:48-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.1 23:01:49 Resolving codeload.github.com... 140.82.113.10 23:01:49 Connecting to codeload.github.com|140.82.113.10|:443... connected. 23:01:49 HTTP request sent, awaiting response... 200 OK 23:01:49 Length: unspecified [application/x-gzip] 23:01:49 Saving to: 'STDOUT' 23:01:49  23:01:49 0K .......... .......... .......... .......... .......... 1.61M 23:01:49 50K .......... .......... .......... .......... .......... 3.12M 23:01:49 100K .......... .......... .......... .......... .......... 3.72M 23:01:49 150K .......... .......... .....   1.52M=0.08s 23:01:49 23:01:49 2020-12-22 23:01:49 (2.27 MB/s) - written to stdout [179833] 23:01:49 23:01:49 + mkdir -p src/c/iot 23:01:49 + cp deps/iotech-c-utils-1.1.1/src/c/base64.c deps/iotech-c-utils-1.1.1/src/c/component.c deps/iotech-c-utils-1.1.1/src/c/config.c deps/iotech-c-utils-1.1.1/src/c/container.c deps/iotech-c-utils-1.1.1/src/c/data.c deps/iotech-c-utils-1.1.1/src/c/hash.c deps/iotech-c-utils-1.1.1/src/c/iot.c deps/iotech-c-utils-1.1.1/src/c/json.c deps/iotech-c-utils-1.1.1/src/c/logger.c deps/iotech-c-utils-1.1.1/src/c/os.c deps/iotech-c-utils-1.1.1/src/c/scheduler.c deps/iotech-c-utils-1.1.1/src/c/thread.c deps/iotech-c-utils-1.1.1/src/c/threadpool.c deps/iotech-c-utils-1.1.1/src/c/time.c deps/iotech-c-utils-1.1.1/src/c/yxml.c src/c/iot 23:01:49 + mkdir -p include/iot 23:01:49 + cp deps/iotech-c-utils-1.1.1/include/iot/base64.h deps/iotech-c-utils-1.1.1/include/iot/component.h deps/iotech-c-utils-1.1.1/include/iot/config.h deps/iotech-c-utils-1.1.1/include/iot/container.h deps/iotech-c-utils-1.1.1/include/iot/data.h deps/iotech-c-utils-1.1.1/include/iot/hash.h deps/iotech-c-utils-1.1.1/include/iot/iot.h deps/iotech-c-utils-1.1.1/include/iot/json.h deps/iotech-c-utils-1.1.1/include/iot/logger.h deps/iotech-c-utils-1.1.1/include/iot/os.h deps/iotech-c-utils-1.1.1/include/iot/scheduler.h deps/iotech-c-utils-1.1.1/include/iot/thread.h deps/iotech-c-utils-1.1.1/include/iot/threadpool.h deps/iotech-c-utils-1.1.1/include/iot/time.h deps/iotech-c-utils-1.1.1/include/iot/typecode.h deps/iotech-c-utils-1.1.1/include/iot/yxml.h include/iot 23:01:49 + mkdir -p include/iot/os 23:01:49 + cp deps/iotech-c-utils-1.1.1/include/iot/os/linux.h deps/iotech-c-utils-1.1.1/include/iot/os/macos.h deps/iotech-c-utils-1.1.1/include/iot/os/zephyr.h include/iot/os 23:01:49 + mkdir -p /tmp/sdk/build/release 23:01:49 + cd /tmp/sdk/build/release 23:01:49 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 23:01:49 -- The C compiler identification is GNU 8.3.0 23:01:49 -- Check for working C compiler: /usr/bin/cc 23:01:49 -- Check for working C compiler: /usr/bin/cc -- works 23:01:49 -- Detecting C compiler ABI info 23:01:50 -- Detecting C compiler ABI info - done 23:01:50 -- Detecting C compile features 23:01:50 -- Detecting C compile features - done 23:01:50 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 23:01:50 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 23:01:50 -- Found LIBYAML: /usr/lib/libyaml.so 23:01:50 -- Found LIBUUID: /usr/lib/libuuid.so 23:01:50 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 23:01:50 -- C SDK 0.0.0 for Linux 23:01:51 -- Performing Test CSDK_HAVE_ATOMIC 23:01:51 -- Performing Test CSDK_HAVE_ATOMIC - Success 23:01:51 -- Found Curses: /usr/lib/libcurses.so 23:01:51 -- Configuring done 23:01:51 -- Generating done 23:01:51 -- Build files have been written to: /tmp/sdk/build/release 23:01:51 + make 23:01:51 + tee release.log 23:01:51 Scanning dependencies of target csdk 23:01:51 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 23:01:52 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 23:01:52 [ 4%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 23:01:53 [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o 23:01:55 [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 23:01:55 [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 23:01:55 [ 11%] Building C object c/CMakeFiles/csdk.dir/data.c.o 23:01:57 [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o 23:01:59 [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 23:01:59 [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 23:02:00 [ 17%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 23:02:00 [ 19%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 23:02:00 [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 23:02:01 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 23:02:01 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 23:02:04 [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 23:02:05 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 23:02:05 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 23:02:06 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 23:02:06 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 23:02:09 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 23:02:09 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 23:02:09 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 23:02:10 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 23:02:10 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 23:02:10 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 23:02:11 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 23:02:12 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 23:02:12 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 23:02:12 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 23:02:14 [ 49%] Building C object c/CMakeFiles/csdk.dir/map.c.o 23:02:15 [ 50%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 23:02:16 [ 52%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 23:02:16 [ 53%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 23:02:20 [ 55%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 23:02:20 [ 57%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 23:02:21 [ 58%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 23:02:21 [ 60%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 23:02:22 [ 61%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 23:02:24 [ 63%] Building C object c/CMakeFiles/csdk.dir/service.c.o 23:02:25 [ 65%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 23:02:29 [ 66%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 23:02:29 [ 68%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 23:02:30 [ 69%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 23:02:31 [ 71%] Linking C shared library libcsdk.so 23:02:31 [ 71%] Built target csdk 23:02:31 Scanning dependencies of target template 23:02:31 [ 73%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 23:02:31 [ 74%] Linking C executable template 23:02:32 [ 74%] Built target template 23:02:32 Scanning dependencies of target device-counter 23:02:32 [ 76%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 23:02:32 [ 77%] Linking C executable device-counter 23:02:32 [ 77%] Built target device-counter 23:02:32 Scanning dependencies of target device-random 23:02:32 [ 79%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 23:02:33 [ 80%] Linking C executable device-random 23:02:33 [ 80%] Built target device-random 23:02:33 Scanning dependencies of target device-gyro 23:02:33 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 23:02:33 [ 84%] Linking C executable device-gyro 23:02:34 [ 84%] Built target device-gyro 23:02:34 Scanning dependencies of target device-bitfields 23:02:34 [ 85%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 23:02:34 [ 87%] Linking C executable device-bitfields 23:02:34 [ 87%] Built target device-bitfields 23:02:34 Scanning dependencies of target template-discovery 23:02:35 [ 88%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 23:02:35 [ 90%] Linking C executable template-discovery 23:02:35 [ 90%] Built target template-discovery 23:02:35 Scanning dependencies of target device-file 23:02:35 [ 92%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 23:02:36 [ 93%] Linking C executable device-file 23:02:36 [ 93%] Built target device-file 23:02:36 Scanning dependencies of target device-terminal 23:02:36 [ 95%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 23:02:37 [ 96%] Linking C executable device-terminal 23:02:37 [ 96%] Built target device-terminal 23:02:37 Scanning dependencies of target templatev1 23:02:37 [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o 23:02:37 [100%] Linking C executable templatev1 23:02:38 [100%] Built target templatev1 23:02:38 + make package 23:02:38 + tee -a release.log 23:02:38 [ 71%] Built target csdk 23:02:38 [ 74%] Built target template 23:02:38 [ 77%] Built target device-counter 23:02:38 [ 80%] Built target device-random 23:02:38 [ 84%] Built target device-gyro 23:02:38 [ 87%] Built target device-bitfields 23:02:38 [ 90%] Built target template-discovery 23:02:38 [ 93%] Built target device-file 23:02:38 [ 96%] Built target device-terminal 23:02:38 [100%] Built target templatev1 23:02:38 Run CPack packaging tool... 23:02:38 CPack: Create package using TGZ 23:02:38 CPack: Install projects 23:02:38 CPack: - Run preinstall target for: Csdk 23:02:39 CPack: - Install project: Csdk 23:02:39 CPack: Create package 23:02:39 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 23:02:39 + '[' false '=' true ] 23:02:39 + '[' false '=' true ] 23:02:39 + mkdir -p /tmp/sdk/build/debug 23:02:39 + cd /tmp/sdk/build/debug 23:02:39 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 23:02:39 -- The C compiler identification is GNU 8.3.0 23:02:39 -- Check for working C compiler: /usr/bin/cc 23:02:40 -- Check for working C compiler: /usr/bin/cc -- works 23:02:40 -- Detecting C compiler ABI info 23:02:40 -- Detecting C compiler ABI info - done 23:02:40 -- Detecting C compile features 23:02:41 -- Detecting C compile features - done 23:02:41 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 23:02:41 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 23:02:41 -- Found LIBYAML: /usr/lib/libyaml.so 23:02:41 -- Found LIBUUID: /usr/lib/libuuid.so 23:02:41 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 23:02:41 -- C SDK 0.0.0 for Linux 23:02:41 -- Performing Test CSDK_HAVE_ATOMIC 23:02:41 -- Performing Test CSDK_HAVE_ATOMIC - Success 23:02:41 -- Found Curses: /usr/lib/libcurses.so 23:02:41 -- Configuring done 23:02:41 -- Generating done 23:02:41 -- Build files have been written to: /tmp/sdk/build/debug 23:02:41 + make 23:02:41 + tee debug.log 23:02:41 Scanning dependencies of target csdk 23:02:42 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 23:02:42 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 23:02:42 [ 4%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 23:02:42 [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o 23:02:43 [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 23:02:43 [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 23:02:44 [ 11%] Building C object c/CMakeFiles/csdk.dir/data.c.o 23:02:44 [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o 23:02:44 [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 23:02:45 [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 23:02:45 [ 17%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 23:02:45 [ 19%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 23:02:46 [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 23:02:46 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 23:02:46 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 23:02:47 [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 23:02:47 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 23:02:47 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 23:02:48 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 23:02:48 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 23:02:48 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 23:02:49 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 23:02:49 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 23:02:49 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 23:02:49 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 23:02:50 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 23:02:50 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 23:02:50 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 23:02:50 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 23:02:50 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 23:02:51 [ 49%] Building C object c/CMakeFiles/csdk.dir/map.c.o 23:02:51 [ 50%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 23:02:52 [ 52%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 23:02:52 [ 53%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 23:02:53 [ 55%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 23:02:53 [ 57%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 23:02:53 [ 58%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 23:02:53 [ 60%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 23:02:54 [ 61%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 23:02:55 [ 63%] Building C object c/CMakeFiles/csdk.dir/service.c.o 23:02:55 [ 65%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 23:02:56 [ 66%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 23:02:56 [ 68%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 23:02:57 [ 69%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 23:02:57 [ 71%] Linking C shared library libcsdk.so 23:02:57 [ 71%] Built target csdk 23:02:57 Scanning dependencies of target template 23:02:57 [ 73%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 23:02:57 [ 74%] Linking C executable template 23:02:58 [ 74%] Built target template 23:02:58 Scanning dependencies of target device-counter 23:02:58 [ 76%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 23:02:58 [ 77%] Linking C executable device-counter 23:02:58 [ 77%] Built target device-counter 23:02:58 Scanning dependencies of target device-random 23:02:58 [ 79%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 23:02:59 [ 80%] Linking C executable device-random 23:02:59 [ 80%] Built target device-random 23:02:59 Scanning dependencies of target device-gyro 23:02:59 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 23:02:59 [ 84%] Linking C executable device-gyro 23:02:59 [ 84%] Built target device-gyro 23:02:59 Scanning dependencies of target device-bitfields 23:02:59 [ 85%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 23:02:59 [ 87%] Linking C executable device-bitfields 23:03:00 [ 87%] Built target device-bitfields 23:03:00 Scanning dependencies of target template-discovery 23:03:00 [ 88%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 23:03:00 [ 90%] Linking C executable template-discovery 23:03:00 [ 90%] Built target template-discovery 23:03:00 Scanning dependencies of target device-file 23:03:00 [ 92%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 23:03:00 [ 93%] Linking C executable device-file 23:03:01 [ 93%] Built target device-file 23:03:01 Scanning dependencies of target device-terminal 23:03:01 [ 95%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 23:03:01 [ 96%] Linking C executable device-terminal 23:03:01 [ 96%] Built target device-terminal 23:03:01 Scanning dependencies of target templatev1 23:03:01 [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o 23:03:02 [100%] Linking C executable templatev1 23:03:02 [100%] Built target templatev1 23:03:02 make: Entering directory '/tmp/sdk/build/release' 23:03:02 make[1]: Entering directory '/tmp/sdk/build/release' 23:03:02 make[2]: Entering directory '/tmp/sdk/build/release' 23:03:02 make[2]: Leaving directory '/tmp/sdk/build/release' 23:03:02 [ 71%] Built target csdk 23:03:02 make[2]: Entering directory '/tmp/sdk/build/release' 23:03:02 make[2]: Leaving directory '/tmp/sdk/build/release' 23:03:02 [ 74%] Built target template 23:03:02 make[2]: Entering directory '/tmp/sdk/build/release' 23:03:02 make[2]: Leaving directory '/tmp/sdk/build/release' 23:03:02 [ 77%] Built target device-counter 23:03:02 make[2]: Entering directory '/tmp/sdk/build/release' 23:03:02 make[2]: Leaving directory '/tmp/sdk/build/release' 23:03:02 [ 80%] Built target device-random 23:03:02 make[2]: Entering directory '/tmp/sdk/build/release' 23:03:02 make[2]: Leaving directory '/tmp/sdk/build/release' 23:03:02 [ 84%] Built target device-gyro 23:03:02 make[2]: Entering directory '/tmp/sdk/build/release' 23:03:02 make[2]: Leaving directory '/tmp/sdk/build/release' 23:03:02 [ 87%] Built target device-bitfields 23:03:02 make[2]: Entering directory '/tmp/sdk/build/release' 23:03:02 make[2]: Leaving directory '/tmp/sdk/build/release' 23:03:02 [ 90%] Built target template-discovery 23:03:02 make[2]: Entering directory '/tmp/sdk/build/release' 23:03:02 make[2]: Leaving directory '/tmp/sdk/build/release' 23:03:02 [ 93%] Built target device-file 23:03:02 make[2]: Entering directory '/tmp/sdk/build/release' 23:03:02 make[2]: Leaving directory '/tmp/sdk/build/release' 23:03:02 [ 96%] Built target device-terminal 23:03:02 make[2]: Entering directory '/tmp/sdk/build/release' 23:03:02 make[2]: Leaving directory '/tmp/sdk/build/release' 23:03:02 [100%] Built target templatev1 23:03:02 make[1]: Leaving directory '/tmp/sdk/build/release' 23:03:02 Install the project... 23:03:02 -- Install configuration: "Release" 23:03:02 -- Installing: /usr/local/lib/libcsdk.so 23:03:02 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 23:03:02 -- Up-to-date: /usr/local/include 23:03:02 -- Installing: /usr/local/include/edgex 23:03:02 -- Installing: /usr/local/include/edgex/device-mgmt.h 23:03:02 -- Installing: /usr/local/include/edgex/eventgen.h 23:03:02 -- Installing: /usr/local/include/edgex/error.h 23:03:02 -- Installing: /usr/local/include/edgex/rest-server.h 23:03:03 -- Installing: /usr/local/include/edgex/edgex-base.h 23:03:03 -- Installing: /usr/local/include/edgex/devsdk.h 23:03:03 -- Installing: /usr/local/include/edgex/edgex.h 23:03:03 -- Installing: /usr/local/include/edgex/devices.h 23:03:03 -- Installing: /usr/local/include/edgex/os.h 23:03:03 -- Installing: /usr/local/include/edgex/profiles.h 23:03:03 -- Installing: /usr/local/include/edgex/csdk-defs.h 23:03:03 -- Installing: /usr/local/include/devsdk 23:03:03 -- Installing: /usr/local/include/devsdk/devsdk-base.h 23:03:03 -- Installing: /usr/local/include/devsdk/devsdk.h 23:03:03 -- Installing: /usr/local/include/iot 23:03:03 -- Installing: /usr/local/include/iot/json.h 23:03:03 -- Installing: /usr/local/include/iot/yxml.h 23:03:03 -- Installing: /usr/local/include/iot/container.h 23:03:03 -- Installing: /usr/local/include/iot/component.h 23:03:03 -- Installing: /usr/local/include/iot/typecode.h 23:03:03 -- Installing: /usr/local/include/iot/iot.h 23:03:03 -- Installing: /usr/local/include/iot/time.h 23:03:03 -- Installing: /usr/local/include/iot/hash.h 23:03:03 -- Installing: /usr/local/include/iot/logger.h 23:03:03 -- Installing: /usr/local/include/iot/os 23:03:03 -- Installing: /usr/local/include/iot/os/zephyr.h 23:03:03 -- Installing: /usr/local/include/iot/os/linux.h 23:03:03 -- Installing: /usr/local/include/iot/os/macos.h 23:03:03 -- Installing: /usr/local/include/iot/scheduler.h 23:03:03 -- Installing: /usr/local/include/iot/data.h 23:03:03 -- Installing: /usr/local/include/iot/thread.h 23:03:03 -- Installing: /usr/local/include/iot/os.h 23:03:03 -- Installing: /usr/local/include/iot/base64.h 23:03:03 -- Installing: /usr/local/include/iot/threadpool.h 23:03:03 -- Installing: /usr/local/include/iot/config.h 23:03:03 -- Installing: /usr/local/share/device-sdk-c/LICENSE 23:03:03 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 23:03:03 make: Leaving directory '/tmp/sdk/build/release' 23:03:05 Removing intermediate container fa827abd6553 23:03:05 ---> 9dc7f47b30ec 23:03:05 Step 14/21 : FROM ${BASE} 23:03:05 ---> b23d30803547 23:03:05 Step 15/21 : LABEL maintainer="IOTech " 23:03:05 ---> Running in 02bdfe056133 23:03:06 Removing intermediate container 02bdfe056133 23:03:06 ---> a1903baf04ea 23:03:06 Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid 23:03:06 ---> Running in b5cb1a5ccaa3 23:03:07 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 23:03:07 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 23:03:08 (1/3) Installing curl (7.64.0-r5) 23:03:08 (2/3) Installing libuuid (2.33-r0) 23:03:08 (3/3) Installing wget (1.20.3-r0) 23:03:08 Executing busybox-1.29.3-r10.trigger 23:03:08 OK: 281 MiB in 78 packages 23:03:09 Removing intermediate container b5cb1a5ccaa3 23:03:09 ---> 42cad8a958fc 23:03:09 Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 23:03:10 ---> b0c2f3447073 23:03:10 Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 23:03:11 ---> 2e621cecdba4 23:03:11 Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib 23:03:12 ---> 0875e82248a6 23:03:12 Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 23:03:12 ---> bd41750977ec 23:03:12 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 23:03:13 ---> e7831ff70345 23:03:13 Successfully built e7831ff70345 23:03:13 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:03:14 + docker inspect -f . ci-base-image-arm64 23:03:14 . [Pipeline] withDockerContainer 23:03:14 prd-ubuntu18.04-docker-arm64-4c-16g-17219 does not seem to be running inside a container 23:03:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/3 -v /w/workspace/device-sdk-c/3:/w/workspace/device-sdk-c/3:rw,z -v /w/workspace/device-sdk-c/3@tmp:/w/workspace/device-sdk-c/3@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 23:03:16 $ docker top 3e6d24b60bf3cb0d5bb8772020f074f420ca9e1bad20b8c6dafb5f990028f813 -eo pid,comm [Pipeline] { [Pipeline] sh 23:03:17 + make test 23:03:17 echo "make test" 23:03:17 make test [Pipeline] } 23:03:17 $ docker stop --time=1 3e6d24b60bf3cb0d5bb8772020f074f420ca9e1bad20b8c6dafb5f990028f813 23:03:19 $ docker rm -f 3e6d24b60bf3cb0d5bb8772020f074f420ca9e1bad20b8c6dafb5f990028f813 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:03:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:03:20 + ls -al . 23:03:20 total 192 23:03:20 drwxrwxr-x 8 jenkins jenkins 4096 Dec 22 23:00 . 23:03:20 drwxrwxr-x 4 jenkins jenkins 4096 Dec 22 23:00 .. 23:03:20 drwxrwxr-x 8 jenkins jenkins 4096 Dec 22 23:00 .git 23:03:20 drwxrwxr-x 2 jenkins jenkins 4096 Dec 22 23:00 .github 23:03:20 -rw-rw-r-- 1 jenkins jenkins 176 Dec 22 23:00 .gitignore 23:03:20 -rw-rw-r-- 1 jenkins jenkins 3104 Dec 22 23:00 Attribution.txt 23:03:20 -rw-rw-r-- 1 jenkins jenkins 6383 Dec 22 23:00 CHANGES 23:03:20 -rw-rw-r-- 1 jenkins jenkins 108574 Dec 22 23:00 Doxyfile 23:03:20 -rw-rw-r-- 1 jenkins jenkins 784 Dec 22 23:00 Jenkinsfile 23:03:20 -rw-rw-r-- 1 jenkins jenkins 10174 Dec 22 23:00 LICENSE 23:03:20 -rw-rw-r-- 1 jenkins jenkins 449 Dec 22 23:00 Makefile 23:03:20 -rw-rw-r-- 1 jenkins jenkins 2697 Dec 22 23:00 README.md 23:03:20 -rw-rw-r-- 1 jenkins jenkins 6451 Dec 22 23:00 README.v2.md 23:03:20 -rw-rw-r-- 1 jenkins jenkins 5 Dec 22 22:56 VERSION 23:03:20 drwxrwxr-x 2 jenkins jenkins 4096 Dec 22 23:00 docs 23:03:20 drwxrwxr-x 4 jenkins jenkins 4096 Dec 22 23:00 include 23:03:20 drwxrwxr-x 2 jenkins jenkins 4096 Dec 22 23:00 scripts 23:03:20 drwxrwxr-x 4 jenkins jenkins 4096 Dec 22 23:00 src [Pipeline] isUnix [Pipeline] sh 23:03:20 + docker build -t docker-device-sdk-c-arm64 -f scripts/Dockerfile.alpine --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=7989b4eb7bfc6589ca65fb97f4b6e9bcd4f2a424 --label arch=arm64 --label version=0.0.0 . 23:03:21 Sending build context to Docker daemon 2.543MB 23:03:21 Step 1/15 : ARG BASE=alpine:3.12 23:03:21 Step 2/15 : FROM ${BASE} 23:03:21 ---> e7831ff70345 23:03:21 Step 3/15 : LABEL maintainer="IOTech " 23:03:21 ---> Running in 9e09742a8e56 23:03:21 Removing intermediate container 9e09742a8e56 23:03:21 ---> e05838adb062 23:03:21 Step 4/15 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev && mkdir -p /edgex-c-sdk/build 23:03:21 ---> Running in 8c97636a6639 23:03:23 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 23:03:24 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 23:03:24 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 23:03:24 (2/6) Installing libblkid (2.33-r0) 23:03:24 (3/6) Installing libfdisk (2.33-r0) 23:03:24 (4/6) Installing libmount (2.33-r0) 23:03:24 (5/6) Installing libsmartcols (2.33-r0) 23:03:24 (6/6) Installing util-linux-dev (2.33-r0) 23:03:25 Executing busybox-1.29.3-r10.trigger 23:03:25 OK: 286 MiB in 84 packages 23:03:26 Removing intermediate container 8c97636a6639 23:03:26 ---> 6d183a36002b 23:03:26 Step 5/15 : COPY VERSION /edgex-c-sdk/ 23:03:27 ---> 4cdfa45bdf6c 23:03:27 Step 6/15 : COPY src /edgex-c-sdk/src/ 23:03:28 ---> 4879b600ef77 23:03:28 Step 7/15 : COPY include /edgex-c-sdk/include/ 23:03:28 ---> 2419721720e7 23:03:28 Step 8/15 : COPY scripts /edgex-c-sdk/scripts 23:03:29 ---> f376ad842fa4 23:03:29 Step 9/15 : COPY LICENSE /edgex-c-sdk/ 23:03:30 ---> acd16d50630e 23:03:30 Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ 23:03:30 ---> 3a7ff6b3352f 23:03:30 Step 11/15 : WORKDIR /edgex-c-sdk 23:03:31 ---> Running in f88a14c0038f 23:03:31 Removing intermediate container f88a14c0038f 23:03:31 ---> ef340495317e 23:03:31 Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 23:03:31 ---> Running in ac0cb7639155 23:03:31 Removing intermediate container ac0cb7639155 23:03:31 ---> 7efdbba5b9c2 23:03:31 Step 13/15 : LABEL arch=arm64 23:03:32 ---> Running in 0f75ba9b6f67 23:03:32 Removing intermediate container 0f75ba9b6f67 23:03:32 ---> 6408d7c6c904 23:03:32 Step 14/15 : LABEL git_sha=7989b4eb7bfc6589ca65fb97f4b6e9bcd4f2a424 23:03:32 ---> Running in b9bae39c3ec7 23:03:33 Removing intermediate container b9bae39c3ec7 23:03:33 ---> be4bf2425ae7 23:03:33 Step 15/15 : LABEL version=0.0.0 23:03:33 ---> Running in 565729779b40 23:03:33 Removing intermediate container 565729779b40 23:03:33 ---> 3b21b0be0ab2 23:03:33 [Warning] One or more build-args [ARCH MAKE] were not consumed 23:03:33 Successfully built 3b21b0be0ab2 23:03:33 Successfully tagged docker-device-sdk-c-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [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] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 23:03:36 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:03:37 ---> package-listing.sh 23:03:37 ++ facter osfamily 23:03:37 ++ tr '[:upper:]' '[:lower:]' 23:03:37 + OS_FAMILY=redhat 23:03:37 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-313 23:03:37 + START_PACKAGES=/tmp/packages_start.txt 23:03:37 + END_PACKAGES=/tmp/packages_end.txt 23:03:37 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:03:37 + PACKAGES=/tmp/packages_start.txt 23:03:37 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-313 ']' 23:03:37 + PACKAGES=/tmp/packages_end.txt 23:03:37 + case "${OS_FAMILY}" in 23:03:37 + rpm -qa 23:03:37 + sort 23:03:41 + '[' -f /tmp/packages_start.txt ']' 23:03:41 + '[' -f /tmp/packages_end.txt ']' 23:03:41 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:03:41 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-313 ']' 23:03:41 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-313/archives/ 23:03:41 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-313/archives/ [Pipeline] echo 23:03:41 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-313/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:03:41 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 23:03:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:03:42 23:03:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 23:03:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:03:42 alpine: Pulling from edgex-lftools-log-publisher 23:03:42 df20fa9351a1: Pulling fs layer 23:03:42 36b3adc4ff6f: Pulling fs layer 23:03:42 8ad3a11d3b57: Pulling fs layer 23:03:42 46f8f816bc3b: Pulling fs layer 23:03:42 93b61091891f: Pulling fs layer 23:03:42 93b9cdb0e59b: Pulling fs layer 23:03:42 46f8f816bc3b: Waiting 23:03:42 5e14af77c1be: Pulling fs layer 23:03:42 01666e4c0597: Pulling fs layer 23:03:42 aa168da1d23b: Pulling fs layer 23:03:42 93b9cdb0e59b: Waiting 23:03:42 5e14af77c1be: Waiting 23:03:42 01666e4c0597: Waiting 23:03:42 36b3adc4ff6f: Download complete 23:03:42 46f8f816bc3b: Verifying Checksum 23:03:42 46f8f816bc3b: Download complete 23:03:42 df20fa9351a1: Verifying Checksum 23:03:42 df20fa9351a1: Download complete 23:03:42 93b9cdb0e59b: Verifying Checksum 23:03:42 93b9cdb0e59b: Download complete 23:03:42 5e14af77c1be: Download complete 23:03:42 93b61091891f: Verifying Checksum 23:03:42 93b61091891f: Download complete 23:03:42 01666e4c0597: Verifying Checksum 23:03:42 01666e4c0597: Download complete 23:03:42 df20fa9351a1: Pull complete 23:03:43 36b3adc4ff6f: Pull complete 23:03:43 8ad3a11d3b57: Verifying Checksum 23:03:43 8ad3a11d3b57: Download complete 23:03:44 8ad3a11d3b57: Pull complete 23:03:44 46f8f816bc3b: Pull complete 23:03:45 93b61091891f: Pull complete 23:03:45 aa168da1d23b: Verifying Checksum 23:03:45 aa168da1d23b: Download complete 23:03:45 93b9cdb0e59b: Pull complete 23:03:45 5e14af77c1be: Pull complete 23:03:45 01666e4c0597: Pull complete 23:03:52 aa168da1d23b: Pull complete 23:03:52 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 23:03:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:03:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 23:03:52 prd-centos7-docker-4c-2g-17217 does not seem to be running inside a container 23:03:52 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-313/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-313 -v /w/workspace/edgexfoundry_device-sdk-c_PR-313:/w/workspace/edgexfoundry_device-sdk-c_PR-313:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-313@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-313@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:alpine cat 23:03:56 $ docker top b06bfd08b83d0768b4ecf43b9bdc6369e47e3ab5caa2f3ce0232d195ea543f00 -eo pid,comm [Pipeline] { [Pipeline] sh 23:03:56 + touch /tmp/pre-build-complete [Pipeline] sh 23:03:57 + mkdir -p /var/log/sa [Pipeline] sh 23:03:57 + ls /var/log/sa-host 23:03:57 + sadf -c /var/log/sa-host/sa22 23:03:57 file_magic: OK 23:03:57 HZ: Using current value: 100 23:03:57 file_header: OK 23:03:57 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 23:03:57 Statistics: 23:03:57 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 23:03:57 File successfully converted to sysstat format version 12.2.1 23:03:57 + sadf -c /var/log/sa-host/sa23 23:03:57 file_magic: OK 23:03:57 HZ: Using current value: 100 23:03:57 file_header: OK 23:03:57 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 23:03:57 Statistics: 23:03:57 Hnuu...uuuununununu... 23:03:57 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:03:57 provisioning config files... 23:03:57 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-313@tmp/config3906266162120862888tmp [Pipeline] { [Pipeline] echo 23:03:58 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:03:58 ---> create-netrc.sh [Pipeline] } 23:03:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 23:03:58 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 23:03:58 ---> python-tools-install.sh [Pipeline] echo 23:03:58 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:03:59 ---> sudo-logs.sh 23:03:59 Archiving 'sudo' log.. [Pipeline] echo 23:03:59 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:03:59 ---> job-cost.sh 23:03:59 lf-activate-venv: SKIPPING 23:03:59 INFO: No Stack... 23:04:00 INFO: Retrieving Pricing Info for: v1-standard-2 23:04:00 INFO: Archiving Costs [Pipeline] echo 23:04:00 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:04:01 ---> logs-deploy.sh 23:04:01 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-313/3 23:04:01 INFO: archiving workspace using pattern(s): 23:04:03 Archives upload complete. 23:04:03 INFO: archiving logs to Nexus 23:04:04 ---> uname -a: 23:04:04 Linux prd-centos7-docker-4c-2g-17217.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 23:04:04 23:04:04 23:04:04 ---> lscpu: 23:04:04 Architecture: x86_64 23:04:04 CPU op-mode(s): 32-bit, 64-bit 23:04:04 Byte Order: Little Endian 23:04:04 Address sizes: 40 bits physical, 48 bits virtual 23:04:04 CPU(s): 4 23:04:04 On-line CPU(s) list: 0-3 23:04:04 Thread(s) per core: 1 23:04:04 Core(s) per socket: 1 23:04:04 Socket(s): 4 23:04:04 NUMA node(s): 1 23:04:04 Vendor ID: GenuineIntel 23:04:04 CPU family: 6 23:04:04 Model: 44 23:04:04 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 23:04:04 Stepping: 1 23:04:04 CPU MHz: 2933.436 23:04:04 BogoMIPS: 5866.87 23:04:04 Virtualization: VT-x 23:04:04 Hypervisor vendor: KVM 23:04:04 Virtualization type: full 23:04:04 L1d cache: 128 KiB 23:04:04 L1i cache: 128 KiB 23:04:04 L2 cache: 16 MiB 23:04:04 L3 cache: 64 MiB 23:04:04 NUMA node0 CPU(s): 0-3 23:04:04 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 23:04:04 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 23:04:04 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 23:04:04 Vulnerability Meltdown: Mitigation; PTI 23:04:04 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 23:04:04 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 23:04:04 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 23:04:04 Vulnerability Srbds: Not affected 23:04:04 Vulnerability Tsx async abort: Not affected 23:04:04 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 23:04:04 23:04:04 23:04:04 ---> nproc: 23:04:04 4 23:04:04 23:04:04 23:04:04 ---> df -h: 23:04:04 Filesystem Size Used Available Use% Mounted on 23:04:04 overlay 50.0G 7.3G 42.7G 15% / 23:04:04 tmpfs 64.0M 0 64.0M 0% /dev 23:04:04 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 23:04:04 shm 64.0M 0 64.0M 0% /dev/shm 23:04:04 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 23:04:04 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 23:04:04 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 23:04:04 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 23:04:04 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 23:04:04 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 23:04:04 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 23:04:04 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 23:04:04 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/edgexfoundry_device-sdk-c_PR-313 23:04:04 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/edgexfoundry_device-sdk-c_PR-313@tmp 23:04:04 23:04:04 23:04:04 ---> free -m: 23:04:04 total used free shared buff/cache available 23:04:04 Mem: 1837 682 95 0 1059 1050 23:04:04 Swap: 1023 1 1022 23:04:04 23:04:04 23:04:04 ---> ip addr: 23:04:04 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 23:04:04 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 23:04:04 inet 127.0.0.1/8 scope host lo 23:04:04 valid_lft forever preferred_lft forever 23:04:04 inet6 ::1/128 scope host 23:04:04 valid_lft forever preferred_lft forever 23:04:04 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 23:04:04 link/ether fa:16:3e:9c:46:28 brd ff:ff:ff:ff:ff:ff 23:04:04 inet 10.30.122.240/23 brd 10.30.123.255 scope global dynamic eth0 23:04:04 valid_lft 85862sec preferred_lft 85862sec 23:04:04 inet6 fe80::f816:3eff:fe9c:4628/64 scope link 23:04:04 valid_lft forever preferred_lft forever 23:04:04 3: docker0: mtu 1500 qdisc noqueue state DOWN 23:04:04 link/ether 02:42:b1:ad:d7:37 brd ff:ff:ff:ff:ff:ff 23:04:04 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 23:04:04 valid_lft forever preferred_lft forever 23:04:04 inet6 fe80::42:b1ff:fead:d737/64 scope link 23:04:04 valid_lft forever preferred_lft forever 23:04:04 23:04:04 23:04:04 ---> sar -b -r -n DEV: 23:04:04 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/22/20 _x86_64_ (4 CPU) 23:04:04 23:04:04 22:54:54 LINUX RESTART (4 CPU) 23:04:04 23:04:04 22:56:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 23:04:04 22:57:01 3.53 0.05 3.48 0.00 1.60 120.98 0.00 23:04:04 22:58:01 0.38 0.00 0.38 0.00 0.00 5.91 0.00 23:04:04 22:59:01 0.27 0.00 0.27 0.00 0.00 3.15 0.00 23:04:04 23:00:01 0.25 0.00 0.25 0.00 0.00 3.01 0.00 23:04:04 23:01:01 0.30 0.02 0.28 0.00 0.13 4.50 0.00 23:04:04 23:02:01 0.48 0.08 0.40 0.00 1.60 5.34 0.00 23:04:04 23:03:01 0.28 0.00 0.28 0.00 0.00 2.85 0.00 23:04:04 Average: 0.79 0.02 0.76 0.00 0.48 20.82 0.00 23:04:04 23:04:04 22:56:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 23:04:04 22:57:01 147312 0 560444 29.79 2620 1171168 1088072 37.13 401336 1133076 12 23:04:04 22:58:01 150396 0 557356 29.62 2620 1171172 1061344 36.22 394368 1137296 8 23:04:04 22:59:01 147768 0 559976 29.76 2620 1171180 1061464 36.23 406700 1127496 8 23:04:04 23:00:01 148792 0 558952 29.71 2620 1171180 1061344 36.22 405824 1127744 12 23:04:04 23:01:01 145332 0 562404 29.89 2620 1171188 1064272 36.32 406920 1129576 8 23:04:04 23:02:01 146840 0 560768 29.80 2620 1171316 1061852 36.24 405520 1129644 16 23:04:04 23:03:01 147128 0 560480 29.79 2620 1171316 1061852 36.24 405400 1129640 8 23:04:04 Average: 147653 0 560054 29.77 2620 1171217 1065743 36.37 403724 1130639 10 23:04:04 23:04:04 22:56:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 23:04:04 22:57:01 eth0 0.10 0.13 0.01 0.06 0.00 0.00 0.00 0.00 23:04:04 22:57:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:04:04 22:57:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:04:04 22:58:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 23:04:04 22:58:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:04:04 22:58:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:04:04 22:59:01 eth0 3.70 1.42 3.08 0.24 0.00 0.00 0.00 0.00 23:04:04 22:59:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:04:04 22:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:04:04 23:00:01 eth0 0.82 0.08 0.07 0.04 0.00 0.00 0.00 0.00 23:04:04 23:00:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:04:04 23:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:04:04 23:01:01 eth0 0.75 0.50 0.43 0.27 0.00 0.00 0.00 0.00 23:04:04 23:01:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:04:04 23:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:04:04 23:02:01 eth0 0.08 0.07 0.01 0.01 0.00 0.00 0.00 0.00 23:04:04 23:02:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:04:04 23:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:04:04 23:03:01 eth0 0.05 0.05 0.00 0.00 0.00 0.00 0.00 0.00 23:04:04 23:03:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:04:04 23:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:04:04 Average: eth0 0.80 0.33 0.51 0.09 0.00 0.00 0.00 0.00 23:04:04 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:04:04 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:04:04 23:04:04 23:04:04 ---> sar -P ALL: 23:04:04 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/22/20 _x86_64_ (4 CPU) 23:04:04 23:04:04 22:54:54 LINUX RESTART (4 CPU) 23:04:04 23:04:04 22:56:01 CPU %user %nice %system %iowait %steal %idle 23:04:04 22:57:01 all 0.15 0.00 0.07 0.00 0.00 99.78 23:04:04 22:57:01 0 0.08 0.00 0.05 0.00 0.00 99.87 23:04:04 22:57:01 1 0.08 0.00 0.13 0.00 0.00 99.78 23:04:04 22:57:01 2 0.38 0.00 0.07 0.00 0.02 99.53 23:04:04 22:57:01 3 0.03 0.00 0.03 0.00 0.00 99.93 23:04:04 22:58:01 all 0.17 0.00 0.04 0.00 0.01 99.79 23:04:04 22:58:01 0 0.07 0.00 0.05 0.00 0.02 99.87 23:04:04 22:58:01 1 0.50 0.00 0.02 0.00 0.00 99.48 23:04:04 22:58:01 2 0.07 0.00 0.07 0.00 0.00 99.87 23:04:04 22:58:01 3 0.03 0.00 0.02 0.00 0.02 99.93 23:04:04 22:59:01 all 0.07 0.00 0.08 0.00 0.00 99.85 23:04:04 22:59:01 0 0.10 0.00 0.07 0.00 0.00 99.83 23:04:04 22:59:01 1 0.12 0.00 0.15 0.00 0.00 99.73 23:04:04 22:59:01 2 0.03 0.00 0.03 0.00 0.00 99.93 23:04:04 22:59:01 3 0.03 0.00 0.05 0.00 0.00 99.92 23:04:04 23:00:01 all 0.05 0.00 0.03 0.00 0.00 99.91 23:04:04 23:00:01 0 0.02 0.00 0.03 0.00 0.02 99.93 23:04:04 23:00:01 1 0.15 0.00 0.07 0.00 0.00 99.78 23:04:04 23:00:01 2 0.03 0.00 0.02 0.00 0.00 99.95 23:04:04 23:00:01 3 0.02 0.00 0.02 0.00 0.00 99.97 23:04:04 23:01:01 all 0.17 0.00 0.04 0.00 0.00 99.78 23:04:04 23:01:01 0 0.02 0.00 0.02 0.00 0.00 99.97 23:04:04 23:01:01 1 0.53 0.00 0.03 0.00 0.00 99.43 23:04:04 23:01:01 2 0.07 0.00 0.07 0.00 0.00 99.87 23:04:04 23:01:01 3 0.07 0.00 0.05 0.00 0.02 99.87 23:04:04 23:02:01 all 0.15 0.00 0.04 0.00 0.00 99.80 23:04:04 23:02:01 0 0.02 0.00 0.02 0.00 0.00 99.97 23:04:04 23:02:01 1 0.52 0.00 0.05 0.00 0.02 99.42 23:04:04 23:02:01 2 0.05 0.00 0.05 0.00 0.00 99.90 23:04:04 23:02:01 3 0.02 0.00 0.05 0.00 0.00 99.93 23:04:04 23:03:01 all 0.15 0.00 0.03 0.00 0.00 99.83 23:04:04 23:03:01 0 0.02 0.00 0.03 0.00 0.00 99.95 23:04:04 23:03:01 1 0.52 0.00 0.03 0.00 0.00 99.45 23:04:04 23:03:01 2 0.03 0.00 0.02 0.00 0.00 99.95 23:04:04 23:03:01 3 0.02 0.00 0.02 0.00 0.00 99.97 23:04:04 Average: all 0.13 0.00 0.05 0.00 0.00 99.82 23:04:04 Average: 0 0.05 0.00 0.04 0.00 0.00 99.91 23:04:04 Average: 1 0.35 0.00 0.07 0.00 0.00 99.58 23:04:04 Average: 2 0.10 0.00 0.05 0.00 0.00 99.86 23:04:04 Average: 3 0.03 0.00 0.03 0.00 0.00 99.93 23:04:04 23:04:04 23:04:04