Pull request #313 updated 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+706af55e05cb2cdc0073fc9ec2061f045ee0028b (7e4d9b5d8ad72e80d82d4f319a339a8d6376cf7a) 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 025b6483f761633eb525fab7d6a8b6537d6ee4a4 # timeout=10 Commit message: "Merge pull request #264 from ernestojeda/new-snap-build-script" > 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-3.11-base, dockerFilePath:scripts/Dockerfile.alpine-3.11, 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-3.11 DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-3.11-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 [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-15259 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 706af55e05cb2cdc0073fc9ec2061f045ee0028b into PR head commit 6c84a767c6ce4573f9a920010352f64502cb5330 Merge succeeded, producing 6c84a767c6ce4573f9a920010352f64502cb5330 Checking out Revision 6c84a767c6ce4573f9a920010352f64502cb5330 (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 706af55e05cb2cdc0073fc9ec2061f045ee0028b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6c84a767c6ce4573f9a920010352f64502cb5330 # timeout=10 Commit message: "fix: Don't use configuration profiles in registry" > git rev-list --no-walk 9328d0942041710e8757e937a98a30711604517b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:12:00 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:12:01 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:12:01 ========================================================= 16:12:01 EdgeX Global Pipelines Version Info 16:12:01 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:12:03 ------------------- 16:12:03 stable info: 16:12:03 ------------------- 16:12:03 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:12:03 Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 16:12:03 Message: update stable to v1.0.172 16:12:03 ------------------- 16:12:03 experimental info: 16:12:03 ------------------- 16:12:03 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:12:03 Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 16:12:03 Message: update experimental to v1.0.172 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:12:04 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 16:12:04 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 16:12:04 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:12:04 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:12:04 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:12:04 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo 16:12:04 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine-3.11 [Pipeline] echo 16:12:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-3.11-base [Pipeline] echo 16:12:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:12:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-c [Pipeline] echo 16:12:05 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:12:05 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:12:05 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:12:05 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 16:12:05 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:12:05 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:12:05 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 16:12:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-313 [Pipeline] echo 16:12:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-313 [Pipeline] echo 16:12:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-313 [Pipeline] echo 16:12:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6c84a767c6ce4573f9a920010352f64502cb5330 [Pipeline] echo 16:12:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6c84a76 [Pipeline] echo 16:12:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 16:12:06 provisioning config files... 16:12:06 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-313@tmp/config4765654550313029059tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:12:07 ---> docker-login.sh 16:12:07 nexus3.edgexfoundry.org:10001 16:12:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:12:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:12:07 Configure a credential helper to remove this warning. See 16:12:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:12:07 16:12:07 Login Succeeded 16:12:07 nexus3.edgexfoundry.org:10002 16:12:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:12:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:12:07 Configure a credential helper to remove this warning. See 16:12:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:12:07 16:12:07 Login Succeeded 16:12:07 nexus3.edgexfoundry.org:10003 16:12:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:12:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:12:08 Configure a credential helper to remove this warning. See 16:12:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:12:08 16:12:08 Login Succeeded 16:12:08 nexus3.edgexfoundry.org:10004 16:12:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:12:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:12:08 Configure a credential helper to remove this warning. See 16:12:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:12:08 16:12:08 Login Succeeded 16:12:08 docker.io 16:12:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:12:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:12:08 Configure a credential helper to remove this warning. See 16:12:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:12:08 16:12:08 Login Succeeded 16:12:08 ---> docker-login.sh ends [Pipeline] } 16:12:08 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 16:12:10 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:12:10 16:12:10 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 16:12:10 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:12:10 latest: Pulling from edgex-devops/git-semver 16:12:10 31603596830f: Pulling fs layer 16:12:10 2a8b12db71e7: Pulling fs layer 16:12:10 6ca5941a6612: Pulling fs layer 16:12:10 ecc8261a40a4: Pulling fs layer 16:12:10 ecc8261a40a4: Waiting 16:12:10 2a8b12db71e7: Verifying Checksum 16:12:10 2a8b12db71e7: Download complete 16:12:10 31603596830f: Download complete 16:12:11 ecc8261a40a4: Verifying Checksum 16:12:11 ecc8261a40a4: Download complete 16:12:11 6ca5941a6612: Verifying Checksum 16:12:11 6ca5941a6612: Download complete 16:12:11 31603596830f: Pull complete 16:12:11 2a8b12db71e7: Pull complete 16:12:12 6ca5941a6612: Pull complete 16:12:12 ecc8261a40a4: Pull complete 16:12:12 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 16:12:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:12:12 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 16:12:12 prd-centos7-docker-4c-2g-15259 does not seem to be running inside a container 16:12:12 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:12:15 $ docker top 0704e6c6a9e289da00a07423e689a914e56063a2f94c7ea9e6837400fbb484f9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:12:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:12:15 [ssh-agent] Looking for ssh-agent implementation... 16:12:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:12:15 $ docker exec 0704e6c6a9e289da00a07423e689a914e56063a2f94c7ea9e6837400fbb484f9 ssh-agent 16:12:15 SSH_AUTH_SOCK=/tmp/ssh-8nUWZBVn5TgW/agent.12 16:12:15 SSH_AGENT_PID=17 16:12:15 Running ssh-add (command line suppressed) 16:12:15 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-313@tmp/private_key_4258257217188816622.key (/w/workspace/edgexfoundry_device-sdk-c_PR-313@tmp/private_key_4258257217188816622.key) 16:12:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:12:16 + git tag --points-at HEAD [Pipeline] } 16:12:16 $ docker exec --env ******** --env ******** 0704e6c6a9e289da00a07423e689a914e56063a2f94c7ea9e6837400fbb484f9 ssh-agent -k 16:12:16 unset SSH_AUTH_SOCK; 16:12:16 unset SSH_AGENT_PID; 16:12:16 echo Agent pid 17 killed; 16:12:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:12:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:12:16 [ssh-agent] Looking for ssh-agent implementation... 16:12:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:12:16 $ docker exec 0704e6c6a9e289da00a07423e689a914e56063a2f94c7ea9e6837400fbb484f9 ssh-agent 16:12:17 SSH_AUTH_SOCK=/tmp/ssh-ZTk8dNDiqjtj/agent.46 16:12:17 SSH_AGENT_PID=51 16:12:17 Running ssh-add (command line suppressed) 16:12:17 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-313@tmp/private_key_6368650051373263726.key (/w/workspace/edgexfoundry_device-sdk-c_PR-313@tmp/private_key_6368650051373263726.key) 16:12:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:12:17 + git semver init 16:12:17 # -> Open(): unable to determine branch for HEAD 16:12:17 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-313/.git 16:12:17 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-313 16:12:17 # $SEMVER_REMOTE_NAME = origin 16:12:17 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:12:17 # $SEMVER_USER_NAME = edgex-jenkins 16:12:17 # $SEMVER_BRANCH = PR-313 16:12:17 # $SEMVER_TEMP = /tmp/semver-206038843 16:12:17 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 16:12:18 # '/tmp/semver-206038843' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-313/.semver' 16:12:18 # -> Force: false 16:12:18 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-313/.semver [Pipeline] } 16:12:18 $ docker exec --env ******** --env ******** 0704e6c6a9e289da00a07423e689a914e56063a2f94c7ea9e6837400fbb484f9 ssh-agent -k 16:12:18 unset SSH_AUTH_SOCK; 16:12:18 unset SSH_AGENT_PID; 16:12:18 echo Agent pid 51 killed; 16:12:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:12:18 + git semver [Pipeline] } 16:12:18 $ docker stop --time=1 0704e6c6a9e289da00a07423e689a914e56063a2f94c7ea9e6837400fbb484f9 16:12:20 $ docker rm -f 0704e6c6a9e289da00a07423e689a914e56063a2f94c7ea9e6837400fbb484f9 [Pipeline] // withDockerContainer [Pipeline] sh 16:12:20 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:12:21 Stashed 1 file(s) [Pipeline] echo 16:12:21 [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 16:12:36 Still waiting to schedule task 16:12:36 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-15259’ 16:12:36 Still waiting to schedule task 16:12:36 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 16:14:27 Running on prd-ubuntu18.04-docker-arm64-4c-16g-15260 in /w/workspace/edgexfoundry_device-sdk-c_PR-313 [Pipeline] { [Pipeline] ws 16:14:27 Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout 16:14:32 using credential edgex-jenkins-ssh 16:14:32 Cloning the remote Git repository 16:14:32 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 16:14:32 > git init /w/workspace/device-sdk-c/2 # timeout=10 16:14:32 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 16:14:32 > git --version # timeout=10 16:14:32 > git --version # 'git version 2.17.1' 16:14:32 using GIT_SSH to set credentials SSH Credentials for GitHub 16:14:33 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:14:34 Merging remotes/origin/master commit 706af55e05cb2cdc0073fc9ec2061f045ee0028b into PR head commit 6c84a767c6ce4573f9a920010352f64502cb5330 16:14:35 Merge succeeded, producing 6c84a767c6ce4573f9a920010352f64502cb5330 16:14:35 Checking out Revision 6c84a767c6ce4573f9a920010352f64502cb5330 (PR-313) 16:14:34 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 16:14:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:14:34 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 16:14:34 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 16:14:34 using GIT_SSH to set credentials SSH Credentials for GitHub 16:14:34 > 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 16:14:34 > git config core.sparsecheckout # timeout=10 16:14:34 > git checkout -f 6c84a767c6ce4573f9a920010352f64502cb5330 # timeout=10 16:14:34 > git remote # timeout=10 16:14:34 > git config --get remote.origin.url # timeout=10 16:14:34 using GIT_SSH to set credentials SSH Credentials for GitHub 16:14:34 > git merge 706af55e05cb2cdc0073fc9ec2061f045ee0028b # timeout=10 16:14:34 > git rev-parse HEAD^{commit} # timeout=10 16:14:35 > git config core.sparsecheckout # timeout=10 16:14:35 > git checkout -f 6c84a767c6ce4573f9a920010352f64502cb5330 # timeout=10 16:14:39 Commit message: "fix: Don't use configuration profiles in registry" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:14:41 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 16:14:41 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 16:14:42 + sudo service docker restart 16:14:42 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 16:14:44 provisioning config files... 16:14:44 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/2@tmp/config7882116393531536083tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:14:45 ---> docker-login.sh 16:14:45 nexus3.edgexfoundry.org:10001 16:14:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:14:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:14:46 Configure a credential helper to remove this warning. See 16:14:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:14:46 16:14:46 Login Succeeded 16:14:46 nexus3.edgexfoundry.org:10002 16:14:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:14:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:14:47 Configure a credential helper to remove this warning. See 16:14:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:14:47 16:14:47 Login Succeeded 16:14:47 nexus3.edgexfoundry.org:10003 16:14:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:14:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:14:47 Configure a credential helper to remove this warning. See 16:14:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:14:47 16:14:47 Login Succeeded 16:14:47 nexus3.edgexfoundry.org:10004 16:14:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:14:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:14:48 Configure a credential helper to remove this warning. See 16:14:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:14:48 16:14:48 Login Succeeded 16:14:48 docker.io 16:14:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:14:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:14:49 Configure a credential helper to remove this warning. See 16:14:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:14:49 16:14:49 Login Succeeded 16:14:49 ---> docker-login.sh ends [Pipeline] } 16:14:49 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:14:49 ========================================================= 16:14:49 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 16:14:49 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:14:50 + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-3.11-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . 16:14:50 Sending build context to Docker daemon 2.533MB 16:14:50 Step 1/21 : ARG BASE=alpine:3.11 16:14:50 Step 2/21 : FROM ${BASE} as builder 16:14:50 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 16:14:50 0362ad1dd800: Pulling fs layer 16:14:50 f2cdb1532d8b: Pulling fs layer 16:14:50 37ed683be191: Pulling fs layer 16:14:51 0362ad1dd800: Verifying Checksum 16:14:51 0362ad1dd800: Download complete 16:14:52 0362ad1dd800: Pull complete 16:14:52 f2cdb1532d8b: Pull complete 16:14:53 37ed683be191: Verifying Checksum 16:14:53 37ed683be191: Download complete 16:15:03 37ed683be191: Pull complete 16:15:03 Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f 16:15:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 16:15:03 ---> b23d30803547 16:15:03 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 16:15:04 ---> Running in 4b5c3ad609b4 16:15:05 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 16:15:06 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 16:15:06 Running on prd-centos7-docker-4c-2g-15261 in /w/workspace/edgexfoundry_device-sdk-c_PR-313 [Pipeline] { [Pipeline] ws 16:15:06 Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout 16:15:07 (1/8) Installing ncurses-dev (6.1_p20190105-r0) 16:15:07 (2/8) Installing libuuid (2.33-r0) 16:15:07 (3/8) Installing libblkid (2.33-r0) 16:15:07 (4/8) Installing libfdisk (2.33-r0) 16:15:07 (5/8) Installing libmount (2.33-r0) 16:15:07 (6/8) Installing libsmartcols (2.33-r0) 16:15:07 (7/8) Installing util-linux-dev (2.33-r0) 16:15:07 (8/8) Installing wget (1.20.3-r0) 16:15:07 Executing busybox-1.29.3-r10.trigger 16:15:07 OK: 285 MiB in 83 packages 16:15:09 using credential edgex-jenkins-ssh 16:15:09 Cloning the remote Git repository 16:15:09 Removing intermediate container 4b5c3ad609b4 16:15:09 ---> 8e59abd6b48e 16:15:09 Step 4/21 : ENV CBOR_VERSION=0.5.0 16:15:09 ---> Running in 781e7c5011eb 16:15:09 Removing intermediate container 781e7c5011eb 16:15:09 ---> 588019d0570d 16:15:09 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 16:15:09 ---> Running in 893b83721ddf 16:15:08 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 16:15:09 > git init /w/workspace/device-sdk-c/2 # timeout=10 16:15:09 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 16:15:09 > git --version # timeout=10 16:15:09 > git --version # 'git version 2.24.3' 16:15:09 using GIT_SSH to set credentials SSH Credentials for GitHub 16:15:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:15:09 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 16:15:10 Merging remotes/origin/master commit 706af55e05cb2cdc0073fc9ec2061f045ee0028b into PR head commit 6c84a767c6ce4573f9a920010352f64502cb5330 16:15:10 --2020-12-09 16:15:10-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 16:15:10 Merge succeeded, producing 6c84a767c6ce4573f9a920010352f64502cb5330 16:15:10 Checking out Revision 6c84a767c6ce4573f9a920010352f64502cb5330 (PR-313) 16:15:11 Resolving github.com... 140.82.114.4 16:15:11 Connecting to github.com|140.82.114.4|:443... connected. 16:15:11 HTTP request sent, awaiting response... 302 Found 16:15:11 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 16:15:11 --2020-12-09 16:15:11-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 16:15:11 Resolving codeload.github.com... 140.82.113.9 16:15:11 Connecting to codeload.github.com|140.82.113.9|:443... connected. 16:15:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:15:09 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 16:15:09 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 16:15:09 using GIT_SSH to set credentials SSH Credentials for GitHub 16:15:09 > 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 16:15:10 > git config core.sparsecheckout # timeout=10 16:15:10 > git checkout -f 6c84a767c6ce4573f9a920010352f64502cb5330 # timeout=10 16:15:10 > git remote # timeout=10 16:15:10 > git config --get remote.origin.url # timeout=10 16:15:10 using GIT_SSH to set credentials SSH Credentials for GitHub 16:15:10 > git merge 706af55e05cb2cdc0073fc9ec2061f045ee0028b # timeout=10 16:15:10 > git rev-parse HEAD^{commit} # timeout=10 16:15:10 > git config core.sparsecheckout # timeout=10 16:15:10 > git checkout -f 6c84a767c6ce4573f9a920010352f64502cb5330 # timeout=10 16:15:11 HTTP request sent, awaiting response... 200 OK 16:15:11 Length: unspecified [application/x-gzip] 16:15:11 Saving to: 'STDOUT' 16:15:11 16:15:11 0K .......... .......... .......... .......... .......... 1.37M 16:15:11 50K .......... .......... .......... .......... .......... 2.61M 16:15:11 100K .......... .......... .......... .......... .......... 10.1M 16:15:11 150K .......... .......... .......... .......... .......... 3.75M 16:15:11 200K .......... .......... .......... .......... .......... 14.7M 16:15:11 250K .......... .......... .......... .......... .......... 3.16M 16:15:11 300K .......... .......... .......... .......... .......... 6.18M 16:15:11 350K .......... .......... .......... .......... .......... 6.63M 16:15:11 400K .......... .......... .......... .......... .......... 4.16M 16:15:11 450K .......... .......... .......... .......... .......... 7.50M 16:15:11 500K .......... .......... .......... .......... .......... 4.97M 16:15:11 550K .......... .......... .......... .......... .......... 1.67M 16:15:11 600K .......... .......... .......... .......... .......... 1.00M 16:15:11 650K .......... .......... .......... .......... .......... 1.89M 16:15:11 700K ..     10.4M=0.2s 16:15:11 16:15:11 2020-12-09 16:15:11 (2.88 MB/s) - written to stdout [719348] 16:15:11 16:15:12 -- The C compiler identification is GNU 8.3.0 16:15:12 -- The CXX compiler identification is GNU 8.3.0 16:15:12 -- Check for working C compiler: /usr/bin/cc 16:15:12 -- Check for working C compiler: /usr/bin/cc -- works 16:15:12 -- Detecting C compiler ABI info 16:15:12 -- Detecting C compiler ABI info - done 16:15:12 -- Detecting C compile features 16:15:13 -- Detecting C compile features - done 16:15:13 -- Check for working CXX compiler: /usr/bin/c++ 16:15:13 -- Check for working CXX compiler: /usr/bin/c++ -- works 16:15:13 -- Detecting CXX compiler ABI info 16:15:13 -- Detecting CXX compiler ABI info - done 16:15:13 -- Detecting CXX compile features 16:15:14 Commit message: "fix: Don't use configuration profiles in registry" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:15:15 -- Detecting CXX compile features - done 16:15:15 -- Looking for include file endian.h 16:15:15 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json 16:15:15 -- Looking for include file endian.h - found 16:15:15 -- Check if the system is big endian 16:15:15 -- Searching 16 bit integer 16:15:15 -- Looking for sys/types.h [Pipeline] sh 16:15:15 -- Looking for sys/types.h - found 16:15:15 -- Looking for stdint.h 16:15:16 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 16:15:16 -- Looking for stdint.h - found 16:15:16 -- Looking for stddef.h 16:15:16 + sudo service docker restart 16:15:16 + true 16:15:16 Redirecting to /bin/systemctl restart docker.service 16:15:16 -- Looking for stddef.h - found 16:15:16 -- Check size of unsigned short 16:15:16 -- Check size of unsigned short - done 16:15:16 -- Using unsigned short 16:15:17 -- Check if the system is big endian - little endian 16:15:17 -- Check size of size_t 16:15:17 -- Check size of size_t - done 16:15:17 CMake Warning at examples/CMakeLists.txt:16 (find_package): 16:15:17 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 16:15:17 asked CMake to find a package configuration file provided by "cJSON", but 16:15:17 CMake did not find one. 16:15:17 16:15:17 Could not find a package configuration file provided by "cJSON" with any of 16:15:17 the following names: 16:15:17 16:15:17 cJSONConfig.cmake 16:15:17 cjson-config.cmake 16:15:17 16:15:17 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 16:15:17 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 16:15:17 provides a separate development package or SDK, be sure it has been 16:15:17 installed. 16:15:17 16:15:17 16:15:17 -- Configuring done 16:15:17 -- Generating done 16:15:17 -- Build files have been written to: /tmp/cbor 16:15:17 Scanning dependencies of target cbor_shared [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 16:15:17 provisioning config files... 16:15:17 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/2@tmp/config6260698196137733467tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:15:17 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 16:15:18 ---> docker-login.sh 16:15:18 nexus3.edgexfoundry.org:10001 16:15:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:15:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:15:18 Configure a credential helper to remove this warning. See 16:15:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:15:18 16:15:18 Login Succeeded 16:15:18 nexus3.edgexfoundry.org:10002 16:15:18 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 16:15:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:15:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:15:18 Configure a credential helper to remove this warning. See 16:15:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:15:18 16:15:18 Login Succeeded 16:15:18 nexus3.edgexfoundry.org:10003 16:15:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:15:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:15:18 Configure a credential helper to remove this warning. See 16:15:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:15:18 16:15:18 Login Succeeded 16:15:18 nexus3.edgexfoundry.org:10004 16:15:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:15:19 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 16:15:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:15:19 Configure a credential helper to remove this warning. See 16:15:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:15:19 16:15:19 Login Succeeded 16:15:19 docker.io 16:15:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:15:19 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 16:15:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:15:19 Configure a credential helper to remove this warning. See 16:15:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:15:19 16:15:19 Login Succeeded 16:15:19 ---> docker-login.sh ends [Pipeline] } 16:15:19 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:15:19 ========================================================= 16:15:19 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 16:15:19 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:15:19 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 16:15:20 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 16:15:20 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 16:15:20 + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-3.11-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . 16:15:20 Sending build context to Docker daemon 2.534MB 16:15:20 Step 1/21 : ARG BASE=alpine:3.11 16:15:20 Step 2/21 : FROM ${BASE} as builder 16:15:20 latest: Pulling from edgex-devops/edgex-gcc-base 16:15:20 e7c96db7181b: Pulling fs layer 16:15:20 4c13bbce0fe7: Pulling fs layer 16:15:20 6059c847ac2f: Pulling fs layer 16:15:20 4c13bbce0fe7: Verifying Checksum 16:15:20 4c13bbce0fe7: Download complete 16:15:20 e7c96db7181b: Verifying Checksum 16:15:20 e7c96db7181b: Download complete 16:15:20 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 16:15:20 e7c96db7181b: Pull complete 16:15:20 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 16:15:20 4c13bbce0fe7: Pull complete 16:15:21 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 16:15:21 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 16:15:21 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 16:15:21 6059c847ac2f: Verifying Checksum 16:15:21 6059c847ac2f: Download complete 16:15:22 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 16:15:22 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 16:15:22 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 16:15:22 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 16:15:23 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 16:15:23 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 16:15:23 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 16:15:24 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 16:15:24 [ 40%] Linking C shared library libcbor.so 16:15:24 [ 40%] Built target cbor_shared 16:15:24 Scanning dependencies of target cbor 16:15:24 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 16:15:25 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 16:15:25 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 16:15:25 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 16:15:27 6059c847ac2f: Pull complete 16:15:27 Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e 16:15:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 16:15:27 ---> 5eabd8fd8ba2 16:15:27 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 16:15:27 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 16:15:27 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 16:15:27 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 16:15:27 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 16:15:27 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 16:15:28 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 16:15:28 ---> Running in efeae01b874a 16:15:29 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 16:15:29 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 16:15:29 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 16:15:29 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 16:15:29 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 16:15:29 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 16:15:30 (1/8) Installing ncurses-dev (6.1_p20190105-r0) 16:15:30 (2/8) Installing libuuid (2.33-r0) 16:15:30 (3/8) Installing libblkid (2.33-r0) 16:15:30 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 16:15:30 (4/8) Installing libfdisk (2.33-r0) 16:15:30 (5/8) Installing libmount (2.33-r0) 16:15:30 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 16:15:30 (6/8) Installing libsmartcols (2.33-r0) 16:15:30 (7/8) Installing util-linux-dev (2.33-r0) 16:15:30 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 16:15:30 (8/8) Installing wget (1.20.3-r0) 16:15:30 Executing busybox-1.29.3-r10.trigger 16:15:30 OK: 272 MiB in 83 packages 16:15:31 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 16:15:31 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 16:15:31 Removing intermediate container efeae01b874a 16:15:31 ---> 687570d95f20 16:15:31 Step 4/21 : ENV CBOR_VERSION=0.5.0 16:15:31 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 16:15:31 [ 80%] Linking C static library libcbor.a 16:15:31 ---> Running in 28b0638162ca 16:15:31 [ 80%] Built target cbor 16:15:31 Scanning dependencies of target create_items 16:15:31 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 16:15:31 [ 84%] Linking C executable create_items 16:15:32 [ 84%] Built target create_items 16:15:32 Scanning dependencies of target readfile 16:15:32 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 16:15:32 Removing intermediate container 28b0638162ca 16:15:32 ---> 289d8c0d9d55 16:15:32 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 16:15:32 ---> Running in 925fe6c21b42 16:15:32 [ 88%] Linking C executable readfile 16:15:32 [ 88%] Built target readfile 16:15:32 Scanning dependencies of target streaming_parser 16:15:32 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 16:15:32 [ 92%] Linking C executable streaming_parser 16:15:32 [ 92%] Built target streaming_parser 16:15:32 Scanning dependencies of target sort 16:15:32 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 16:15:32 --2020-12-09 16:15:32-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 16:15:32 Resolving github.com... 140.82.114.4 16:15:32 Connecting to github.com|140.82.114.4|:443... connected. 16:15:32 HTTP request sent, awaiting response... 302 Found 16:15:32 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 16:15:32 --2020-12-09 16:15:32-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 16:15:32 Resolving codeload.github.com... 140.82.113.9 16:15:32 Connecting to codeload.github.com|140.82.113.9|:443... connected. 16:15:32 HTTP request sent, awaiting response... 200 OK 16:15:32 Length: unspecified [application/x-gzip] 16:15:32 Saving to: 'STDOUT' 16:15:32  16:15:32 0K .......... .......... .......... .......... .......... 1.37M 16:15:32 [ 96%] Linking C executable sort 16:15:32 [ 96%] Built target sort 16:15:33 50K .......... .......... .......... .......... .......... 3.16M 16:15:33 100K .......... .......... .......... .......... .......... 14.0M 16:15:33 150K .......... .......... .......... .......... .......... 3.43M 16:15:33 200K .......... .......... .......... .......... .......... 10.3M 16:15:33 250K .......... .......... .......... .......... .......... 28.4M 16:15:33 300K .......... .......... .......... .......... .......... 7.27M 16:15:33 350K .......... .......... .......... .......... .......... 7.69M 16:15:33 400K .......... .......... .......... .......... .......... 5.59M 16:15:33 450K .......... .......... .......... .......... .......... 6.75M 16:15:33 500K .......... .......... .......... .......... .......... 23.8M 16:15:33 550K .......... .......... .......... .......... .......... 3.83M 16:15:33 600K .......... .......... .......... .......... .......... 2.29M 16:15:33 650K .......... .......... .......... .......... .......... 4.31M 16:15:33 700K .. 35.0M=0.2s 16:15:33 16:15:33 2020-12-09 16:15:32 (4.51 MB/s) - written to stdout [719348] 16:15:33 16:15:33 -- The C compiler identification is GNU 8.3.0 16:15:33 Scanning dependencies of target hello 16:15:33 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 16:15:33 [100%] Linking C executable hello 16:15:33 [100%] Built target hello 16:15:33 -- The CXX compiler identification is GNU 8.3.0 16:15:33 -- Check for working C compiler: /usr/bin/cc 16:15:33 -- Check for working C compiler: /usr/bin/cc -- works 16:15:33 -- Detecting C compiler ABI info 16:15:33 -- Detecting C compiler ABI info - done 16:15:33 -- Detecting C compile features 16:15:33 Install the project... 16:15:33 -- Install configuration: "Release" 16:15:33 -- Installing: /usr/local/include/cbor/configuration.h 16:15:33 -- Installing: /usr/local/lib64/libcbor.a 16:15:33 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 16:15:33 -- Installing: /usr/local/lib64/libcbor.so.0 16:15:33 -- Installing: /usr/local/lib64/libcbor.so 16:15:33 -- Up-to-date: /usr/local/include/cbor 16:15:33 -- Installing: /usr/local/include/cbor/streaming.h 16:15:33 -- Installing: /usr/local/include/cbor/ints.h 16:15:33 -- Installing: /usr/local/include/cbor/floats_ctrls.h 16:15:33 -- Installing: /usr/local/include/cbor/bytestrings.h 16:15:33 -- Installing: /usr/local/include/cbor/encoding.h 16:15:33 -- Installing: /usr/local/include/cbor/serialization.h 16:15:33 -- Installing: /usr/local/include/cbor/data.h 16:15:33 -- Installing: /usr/local/include/cbor/common.h 16:15:33 -- Installing: /usr/local/include/cbor/callbacks.h 16:15:33 -- Installing: /usr/local/include/cbor/strings.h 16:15:33 -- Installing: /usr/local/include/cbor/tags.h 16:15:33 -- Installing: /usr/local/include/cbor/internal 16:15:33 -- Installing: /usr/local/include/cbor/internal/encoders.h 16:15:33 -- Installing: /usr/local/include/cbor/internal/loaders.h 16:15:33 -- Installing: /usr/local/include/cbor/internal/stack.h 16:15:33 -- Installing: /usr/local/include/cbor/internal/unicode.h 16:15:33 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 16:15:33 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 16:15:33 -- Installing: /usr/local/include/cbor/arrays.h 16:15:33 -- Installing: /usr/local/include/cbor/maps.h 16:15:33 -- Installing: /usr/local/include/cbor.h 16:15:33 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 16:15:33 -- Detecting C compile features - done 16:15:33 -- Check for working CXX compiler: /usr/bin/c++ 16:15:33 -- Check for working CXX compiler: /usr/bin/c++ -- works 16:15:33 -- Detecting CXX compiler ABI info 16:15:33 -- Detecting CXX compiler ABI info - done 16:15:33 -- Detecting CXX compile features 16:15:34 -- Detecting CXX compile features - done 16:15:34 -- Looking for include file endian.h 16:15:34 -- Looking for include file endian.h - found 16:15:34 -- Check if the system is big endian 16:15:34 -- Searching 16 bit integer 16:15:34 -- Looking for sys/types.h 16:15:34 -- Looking for sys/types.h - found 16:15:34 -- Looking for stdint.h 16:15:34 -- Looking for stdint.h - found 16:15:34 -- Looking for stddef.h 16:15:34 -- Looking for stddef.h - found 16:15:34 -- Check size of unsigned short 16:15:34 -- Check size of unsigned short - done 16:15:34 -- Using unsigned short 16:15:34 -- Check if the system is big endian - little endian 16:15:34 -- Check size of size_t 16:15:34 -- Check size of size_t - done 16:15:34 CMake Warning at examples/CMakeLists.txt:16 (find_package): 16:15:34 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 16:15:34 asked CMake to find a package configuration file provided by "cJSON", but 16:15:34 CMake did not find one. 16:15:34 16:15:34 Could not find a package configuration file provided by "cJSON" with any of 16:15:34 the following names: 16:15:34 16:15:34 cJSONConfig.cmake 16:15:34 cjson-config.cmake 16:15:34 16:15:34 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 16:15:34 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 16:15:34 provides a separate development package or SDK, be sure it has been 16:15:34 installed. 16:15:34 16:15:34 16:15:34 -- Configuring done 16:15:34 -- Generating done 16:15:35 -- Build files have been written to: /tmp/cbor 16:15:35 Scanning dependencies of target cbor_shared 16:15:35 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 16:15:35 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 16:15:35 Removing intermediate container 893b83721ddf 16:15:35 ---> 227d4b7e9dec 16:15:35 Step 6/21 : RUN mkdir /tmp/sdk 16:15:35 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 16:15:35 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 16:15:35 ---> Running in df9b928e7139 16:15:35 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 16:15:35 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 16:15:35 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 16:15:36 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 16:15:36 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 16:15:36 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 16:15:36 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 16:15:36 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 16:15:36 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 16:15:36 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 16:15:36 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 16:15:36 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 16:15:36 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 16:15:36 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 16:15:36 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 16:15:37 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 16:15:37 [ 40%] Linking C shared library libcbor.so 16:15:37 [ 40%] Built target cbor_shared 16:15:37 Scanning dependencies of target cbor 16:15:37 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 16:15:37 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 16:15:37 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 16:15:37 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 16:15:37 Removing intermediate container df9b928e7139 16:15:37 ---> d5b429bc67e7 16:15:37 Step 7/21 : COPY VERSION /tmp/sdk 16:15:37 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 16:15:37 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 16:15:37 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 16:15:37 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 16:15:37 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 16:15:38 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 16:15:38 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 16:15:38 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 16:15:38 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 16:15:38 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 16:15:38 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 16:15:38 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 16:15:38 ---> 0fc26a6dc0f7 16:15:38 Step 8/21 : COPY src /tmp/sdk/src 16:15:38 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 16:15:38 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 16:15:38 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 16:15:38 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 16:15:39 [ 80%] Linking C static library libcbor.a 16:15:39 [ 80%] Built target cbor 16:15:39 Scanning dependencies of target create_items 16:15:39 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 16:15:39 [ 84%] Linking C executable create_items 16:15:39 [ 84%] Built target create_items 16:15:39 Scanning dependencies of target readfile 16:15:39 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 16:15:39 [ 88%] Linking C executable readfile 16:15:39 [ 88%] Built target readfile 16:15:39 Scanning dependencies of target streaming_parser 16:15:39 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 16:15:39 [ 92%] Linking C executable streaming_parser 16:15:39 [ 92%] Built target streaming_parser 16:15:39 Scanning dependencies of target sort 16:15:39 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 16:15:39 [ 96%] Linking C executable sort 16:15:39 [ 96%] Built target sort 16:15:39 Scanning dependencies of target hello 16:15:39 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 16:15:39 ---> 67efe3075d26 16:15:39 Step 9/21 : COPY include /tmp/sdk/include 16:15:39 [100%] Linking C executable hello 16:15:39 [100%] Built target hello 16:15:39 Install the project... 16:15:39 -- Install configuration: "Release" 16:15:39 -- Installing: /usr/local/include/cbor/configuration.h 16:15:39 -- Installing: /usr/local/lib64/libcbor.a 16:15:39 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 16:15:39 -- Installing: /usr/local/lib64/libcbor.so.0 16:15:39 -- Installing: /usr/local/lib64/libcbor.so 16:15:39 -- Up-to-date: /usr/local/include/cbor 16:15:39 -- Installing: /usr/local/include/cbor/arrays.h 16:15:39 -- Installing: /usr/local/include/cbor/bytestrings.h 16:15:39 -- Installing: /usr/local/include/cbor/callbacks.h 16:15:39 -- Installing: /usr/local/include/cbor/common.h 16:15:39 -- Installing: /usr/local/include/cbor/data.h 16:15:39 -- Installing: /usr/local/include/cbor/encoding.h 16:15:39 -- Installing: /usr/local/include/cbor/floats_ctrls.h 16:15:39 -- Installing: /usr/local/include/cbor/internal 16:15:39 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 16:15:39 -- Installing: /usr/local/include/cbor/internal/encoders.h 16:15:39 -- Installing: /usr/local/include/cbor/internal/loaders.h 16:15:39 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 16:15:39 -- Installing: /usr/local/include/cbor/internal/stack.h 16:15:39 -- Installing: /usr/local/include/cbor/internal/unicode.h 16:15:39 -- Installing: /usr/local/include/cbor/ints.h 16:15:39 -- Installing: /usr/local/include/cbor/maps.h 16:15:39 -- Installing: /usr/local/include/cbor/serialization.h 16:15:39 -- Installing: /usr/local/include/cbor/streaming.h 16:15:39 -- Installing: /usr/local/include/cbor/strings.h 16:15:39 -- Installing: /usr/local/include/cbor/tags.h 16:15:39 -- Installing: /usr/local/include/cbor.h 16:15:39 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 16:15:40 ---> 5495ba4ff9b9 16:15:40 Step 10/21 : COPY scripts /tmp/sdk/scripts 16:15:40 ---> 299962a4764d 16:15:40 Step 11/21 : COPY LICENSE /tmp/sdk 16:15:41 ---> c96275521ac1 16:15:41 Step 12/21 : COPY Attribution.txt /tmp/sdk 16:15:42 Removing intermediate container 925fe6c21b42 16:15:42 ---> ca4e8899e209 16:15:42 Step 6/21 : RUN mkdir /tmp/sdk 16:15:42 ---> Running in 3a13990aecf6 16:15:42 ---> 36b1bf672d7e 16:15:42 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 16:15:42 ---> Running in 287dfe5ced96 16:15:43 Removing intermediate container 3a13990aecf6 16:15:43 ---> 9bf277124eae 16:15:43 Step 7/21 : COPY VERSION /tmp/sdk 16:15:43 + CPPCHECK=false 16:15:43 + DOCGEN=false 16:15:43 + TOMLVER=SDK-0.2 16:15:43 + CUTILVER=1.1.1 16:15:43 + '[' 0 -gt 0 ] 16:15:43 + readlink -f ./scripts/build.sh 16:15:43 + dirname /tmp/sdk/scripts/build.sh 16:15:43 + dirname /tmp/sdk/scripts 16:15:43 + ROOT=/tmp/sdk 16:15:43 + cd /tmp/sdk 16:15:43 + '[' '!' -d deps ] 16:15:43 + mkdir deps 16:15:43 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 16:15:43 + tar -C deps -z -x -f - 16:15:43 --2020-12-09 16:15:43-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 16:15:43 ---> 8cd13fc7dbfc 16:15:43 Step 8/21 : COPY src /tmp/sdk/src 16:15:43 Resolving github.com... 140.82.114.4 16:15:43 Connecting to github.com|140.82.114.4|:443... connected. 16:15:43 HTTP request sent, awaiting response... 302 Found 16:15:43 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 16:15:43 --2020-12-09 16:15:43-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 16:15:43 Resolving codeload.github.com... 140.82.113.9 16:15:43 Connecting to codeload.github.com|140.82.113.9|:443... connected. 16:15:43 HTTP request sent, awaiting response... 200 OK 16:15:43 Length: unspecified [application/x-gzip] 16:15:43 Saving to: 'STDOUT' 16:15:43  16:15:43 0K .......... ......   947K=0.02s 16:15:43 16:15:43 2020-12-09 16:15:43 (947 KB/s) - written to stdout [16451] 16:15:43 16:15:43 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 16:15:43 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.1.tar.gz 16:15:43 + tar -C deps -z -x -f - 16:15:43 --2020-12-09 16:15:43-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.1.tar.gz 16:15:43 Resolving github.com... 140.82.114.4 16:15:43 Connecting to github.com|140.82.114.4|:443... connected. 16:15:44 HTTP request sent, awaiting response... 302 Found 16:15:44 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.1 [following] 16:15:44 --2020-12-09 16:15:44-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.1 16:15:44 Resolving codeload.github.com... 140.82.113.9 16:15:44 Connecting to codeload.github.com|140.82.113.9|:443... connected. 16:15:44 HTTP request sent, awaiting response... 200 OK 16:15:44 Length: unspecified [application/x-gzip] 16:15:44 Saving to: 'STDOUT' 16:15:44  16:15:44 ---> fc7901b7462d 16:15:44 Step 9/21 : COPY include /tmp/sdk/include 16:15:44 0K .......... .......... .......... .......... .......... 1.36M 16:15:44 50K .......... .......... .......... .......... .......... 2.77M 16:15:44 100K .......... .......... .......... .......... .......... 3.14M 16:15:44 150K .......... .......... ..... 1.49M=0.09s 16:15:44 16:15:44 2020-12-09 16:15:44 (2.00 MB/s) - written to stdout [179833] 16:15:44 16:15:44 + mkdir -p src/c/iot 16:15:44 + 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 16:15:44 + mkdir -p include/iot 16:15:44 + 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 16:15:44 + mkdir -p include/iot/os 16:15:44 + 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 16:15:44 + mkdir -p /tmp/sdk/build/release 16:15:44 + cd /tmp/sdk/build/release 16:15:44 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 16:15:44 ---> 209d68ebf98a 16:15:44 Step 10/21 : COPY scripts /tmp/sdk/scripts 16:15:44 -- The C compiler identification is GNU 8.3.0 16:15:44 -- Check for working C compiler: /usr/bin/cc 16:15:44 ---> 625e1e84206a 16:15:44 Step 11/21 : COPY LICENSE /tmp/sdk 16:15:44 ---> 10a287e734ff 16:15:44 Step 12/21 : COPY Attribution.txt /tmp/sdk 16:15:45 -- Check for working C compiler: /usr/bin/cc -- works 16:15:45 -- Detecting C compiler ABI info 16:15:45 ---> 9f6aeae06b97 16:15:45 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 16:15:45 ---> Running in 6ce6f66eb298 16:15:45 -- Detecting C compiler ABI info - done 16:15:45 -- Detecting C compile features 16:15:45 + CPPCHECK=false 16:15:45 + DOCGEN=false 16:15:45 + TOMLVER=SDK-0.2 16:15:45 + CUTILVER=1.1.1 16:15:45 + '[' 0 -gt 0 ] 16:15:45 + readlink -f ./scripts/build.sh 16:15:45 + dirname /tmp/sdk/scripts/build.sh 16:15:45 + dirname /tmp/sdk/scripts 16:15:45 + ROOT=/tmp/sdk 16:15:45 + cd /tmp/sdk 16:15:45 + '[' '!' -d deps ] 16:15:45 + mkdir deps 16:15:45 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 16:15:45 + tar -C deps -z -x -f - 16:15:45 --2020-12-09 16:15:45-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 16:15:45 Resolving github.com... 140.82.114.4 16:15:45 Connecting to github.com|140.82.114.4|:443... connected. 16:15:45 HTTP request sent, awaiting response... 302 Found 16:15:45 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 16:15:45 --2020-12-09 16:15:45-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 16:15:45 Resolving codeload.github.com... 140.82.113.9 16:15:45 Connecting to codeload.github.com|140.82.113.9|:443... connected. 16:15:45 HTTP request sent, awaiting response... 200 OK 16:15:45 Length: unspecified [application/x-gzip] 16:15:45 Saving to: 'STDOUT' 16:15:45 16:15:45 0K .......... ...... 950K=0.02s 16:15:45 16:15:45 2020-12-09 16:15:45 (950 KB/s) - written to stdout [16451] 16:15:45 16:15:45 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 16:15:45 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.1.tar.gz 16:15:45 + tar -C deps -z -x -f - 16:15:45 --2020-12-09 16:15:45-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.1.tar.gz 16:15:45 Resolving github.com... 140.82.114.4 16:15:46 Connecting to github.com|140.82.114.4|:443... connected. 16:15:46 HTTP request sent, awaiting response... 302 Found 16:15:46 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.1 [following] 16:15:46 --2020-12-09 16:15:45-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.1 16:15:46 Resolving codeload.github.com... 140.82.113.9 16:15:46 Connecting to codeload.github.com|140.82.113.9|:443... connected. 16:15:46 HTTP request sent, awaiting response... 200 OK 16:15:46 Length: unspecified [application/x-gzip] 16:15:46 Saving to: 'STDOUT' 16:15:46 16:15:46 0K .......... .......... .......... .......... .......... 1.48M 16:15:46 50K .......... .......... .......... .......... .......... 44.1M 16:15:46 100K .......... .......... .......... .......... .......... 3.05M 16:15:46 150K .......... .......... ..... 17.8M=0.05s 16:15:46 16:15:46 2020-12-09 16:15:46 (3.33 MB/s) - written to stdout [179833] 16:15:46 16:15:46 + mkdir -p src/c/iot 16:15:46 + 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 16:15:46 + mkdir -p include/iot 16:15:46 + 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 16:15:46 + mkdir -p include/iot/os 16:15:46 + 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 16:15:46 + mkdir -p /tmp/sdk/build/release 16:15:46 + cd /tmp/sdk/build/release 16:15:46 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 16:15:46 -- The C compiler identification is GNU 8.3.0 16:15:46 -- Check for working C compiler: /usr/bin/cc 16:15:46 -- Check for working C compiler: /usr/bin/cc -- works 16:15:46 -- Detecting C compiler ABI info 16:15:46 -- Detecting C compile features - done 16:15:46 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 16:15:46 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 16:15:46 -- Found LIBYAML: /usr/lib/libyaml.so 16:15:46 -- Found LIBUUID: /usr/lib/libuuid.so 16:15:46 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 16:15:46 -- C SDK 0.0.0 for Linux 16:15:46 -- Performing Test CSDK_HAVE_ATOMIC 16:15:46 -- Performing Test CSDK_HAVE_ATOMIC - Success 16:15:46 -- Found Curses: /usr/lib/libcurses.so 16:15:46 -- Detecting C compiler ABI info - done 16:15:46 -- Detecting C compile features 16:15:46 -- Configuring done 16:15:46 -- Detecting C compile features - done 16:15:46 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 16:15:46 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 16:15:46 -- Found LIBYAML: /usr/lib/libyaml.so 16:15:46 -- Found LIBUUID: /usr/lib/libuuid.so 16:15:46 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 16:15:46 -- C SDK 0.0.0 for Linux 16:15:46 -- Performing Test CSDK_HAVE_ATOMIC 16:15:46 -- Performing Test CSDK_HAVE_ATOMIC - Success 16:15:46 -- Found Curses: /usr/lib/libcurses.so 16:15:46 -- Configuring done 16:15:46 -- Generating done 16:15:46 -- Generating done 16:15:46 -- Build files have been written to: /tmp/sdk/build/release 16:15:46 + make 16:15:46 + tee release.log 16:15:46 Scanning dependencies of target csdk 16:15:47 -- Build files have been written to: /tmp/sdk/build/release 16:15:47 + make 16:15:47 + tee release.log 16:15:47 Scanning dependencies of target csdk 16:15:47 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 16:15:47 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 16:15:47 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 16:15:47 [ 4%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 16:15:47 [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o 16:15:47 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 16:15:47 [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 16:15:48 [ 4%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 16:15:48 [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 16:15:48 [ 11%] Building C object c/CMakeFiles/csdk.dir/data.c.o 16:15:48 [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o 16:15:48 [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o 16:15:49 [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 16:15:49 [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 16:15:49 [ 17%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 16:15:49 [ 19%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 16:15:49 [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 16:15:49 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 16:15:49 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 16:15:50 [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 16:15:50 [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 16:15:50 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 16:15:50 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 16:15:50 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 16:15:51 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 16:15:51 [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 16:15:51 [ 11%] Building C object c/CMakeFiles/csdk.dir/data.c.o 16:15:51 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 16:15:51 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 16:15:52 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 16:15:52 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 16:15:52 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 16:15:52 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 16:15:52 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 16:15:52 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 16:15:52 [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o 16:15:52 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 16:15:52 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 16:15:53 [ 49%] Building C object c/CMakeFiles/csdk.dir/map.c.o 16:15:53 [ 50%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 16:15:53 [ 52%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 16:15:53 [ 53%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 16:15:54 [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 16:15:54 [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 16:15:55 [ 55%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 16:15:55 [ 57%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 16:15:55 [ 58%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 16:15:55 [ 60%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 16:15:55 [ 17%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 16:15:55 [ 61%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 16:15:55 [ 63%] Building C object c/CMakeFiles/csdk.dir/service.c.o 16:15:56 [ 19%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 16:15:56 [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 16:15:56 [ 65%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 16:15:56 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 16:15:56 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 16:15:57 [ 66%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 16:15:57 [ 68%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 16:15:57 [ 69%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 16:15:57 [ 71%] Linking C shared library libcsdk.so 16:15:57 [ 71%] Built target csdk 16:15:57 Scanning dependencies of target template 16:15:57 [ 73%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 16:15:58 [ 74%] Linking C executable template 16:15:58 [ 74%] Built target template 16:15:58 Scanning dependencies of target device-counter 16:15:58 [ 76%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 16:15:58 [ 77%] Linking C executable device-counter 16:15:58 [ 77%] Built target device-counter 16:15:58 Scanning dependencies of target device-random 16:15:58 [ 79%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 16:15:58 [ 80%] Linking C executable device-random 16:15:58 [ 80%] Built target device-random 16:15:58 Scanning dependencies of target device-gyro 16:15:58 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 16:15:58 [ 84%] Linking C executable device-gyro 16:15:58 [ 84%] Built target device-gyro 16:15:58 Scanning dependencies of target device-bitfields 16:15:58 [ 85%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 16:15:58 [ 87%] Linking C executable device-bitfields 16:15:58 [ 87%] Built target device-bitfields 16:15:58 Scanning dependencies of target template-discovery 16:15:58 [ 88%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 16:15:59 [ 90%] Linking C executable template-discovery 16:15:59 [ 90%] Built target template-discovery 16:15:59 Scanning dependencies of target device-file 16:15:59 [ 92%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 16:15:59 [ 93%] Linking C executable device-file 16:15:59 [ 93%] Built target device-file 16:15:59 Scanning dependencies of target device-terminal 16:15:59 [ 95%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 16:15:59 [ 96%] Linking C executable device-terminal 16:15:59 [ 96%] Built target device-terminal 16:15:59 Scanning dependencies of target templatev1 16:15:59 [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o 16:15:59 [100%] Linking C executable templatev1 16:15:59 [100%] Built target templatev1 16:15:59 + make package 16:15:59 + tee -a release.log 16:15:59 [ 71%] Built target csdk 16:15:59 [ 74%] Built target template 16:15:59 [ 77%] Built target device-counter 16:15:59 [ 80%] Built target device-random 16:15:59 [ 84%] Built target device-gyro 16:15:59 [ 87%] Built target device-bitfields 16:15:59 [ 90%] Built target template-discovery 16:15:59 [ 93%] Built target device-file 16:16:00 [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 16:16:00 [ 96%] Built target device-terminal 16:16:00 [100%] Built target templatev1 16:16:00 Run CPack packaging tool... 16:16:00 CPack: Create package using TGZ 16:16:00 CPack: Install projects 16:16:00 CPack: - Run preinstall target for: Csdk 16:16:00 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 16:16:00 CPack: - Install project: Csdk 16:16:00 CPack: Create package 16:16:00 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 16:16:00 + '[' false '=' true ] 16:16:00 + '[' false '=' true ] 16:16:00 + mkdir -p /tmp/sdk/build/debug 16:16:00 + cd /tmp/sdk/build/debug 16:16:00 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 16:16:00 -- The C compiler identification is GNU 8.3.0 16:16:00 -- Check for working C compiler: /usr/bin/cc 16:16:00 -- Check for working C compiler: /usr/bin/cc -- works 16:16:00 -- Detecting C compiler ABI info 16:16:00 -- Detecting C compiler ABI info - done 16:16:00 -- Detecting C compile features 16:16:01 -- Detecting C compile features - done 16:16:01 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 16:16:01 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 16:16:01 -- Found LIBYAML: /usr/lib/libyaml.so 16:16:01 -- Found LIBUUID: /usr/lib/libuuid.so 16:16:01 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 16:16:01 -- C SDK 0.0.0 for Linux 16:16:01 -- Performing Test CSDK_HAVE_ATOMIC 16:16:01 -- Performing Test CSDK_HAVE_ATOMIC - Success 16:16:01 -- Found Curses: /usr/lib/libcurses.so 16:16:01 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 16:16:01 -- Configuring done 16:16:01 -- Generating done 16:16:01 -- Build files have been written to: /tmp/sdk/build/debug 16:16:01 + + tee debug.log 16:16:01 make 16:16:01 Scanning dependencies of target csdk 16:16:01 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 16:16:01 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 16:16:01 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 16:16:01 [ 4%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 16:16:01 [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o 16:16:01 [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 16:16:01 [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 16:16:01 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 16:16:02 [ 11%] Building C object c/CMakeFiles/csdk.dir/data.c.o 16:16:02 [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o 16:16:02 [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 16:16:02 [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 16:16:02 [ 17%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 16:16:02 [ 19%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 16:16:02 [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 16:16:02 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 16:16:02 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 16:16:03 [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 16:16:03 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 16:16:03 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 16:16:03 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 16:16:03 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 16:16:03 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 16:16:03 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 16:16:03 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 16:16:03 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 16:16:03 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 16:16:03 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 16:16:03 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 16:16:03 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 16:16:04 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 16:16:04 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 16:16:04 [ 49%] Building C object c/CMakeFiles/csdk.dir/map.c.o 16:16:04 [ 50%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 16:16:04 [ 52%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 16:16:04 [ 53%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 16:16:04 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 16:16:04 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 16:16:04 [ 55%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 16:16:04 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 16:16:04 [ 57%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 16:16:04 [ 58%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 16:16:04 [ 60%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 16:16:05 [ 61%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 16:16:05 [ 63%] Building C object c/CMakeFiles/csdk.dir/service.c.o 16:16:05 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 16:16:05 [ 65%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 16:16:05 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 16:16:05 [ 66%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 16:16:05 [ 68%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 16:16:05 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 16:16:06 [ 69%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 16:16:06 [ 71%] Linking C shared library libcsdk.so 16:16:06 [ 71%] Built target csdk 16:16:06 Scanning dependencies of target template 16:16:06 [ 73%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 16:16:06 [ 74%] Linking C executable template 16:16:06 [ 74%] Built target template 16:16:06 Scanning dependencies of target device-counter 16:16:06 [ 76%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 16:16:06 [ 77%] Linking C executable device-counter 16:16:06 [ 77%] Built target device-counter 16:16:06 Scanning dependencies of target device-random 16:16:06 [ 79%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 16:16:06 [ 80%] Linking C executable device-random 16:16:06 [ 80%] Built target device-random 16:16:06 Scanning dependencies of target device-gyro 16:16:06 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 16:16:06 [ 84%] Linking C executable device-gyro 16:16:06 [ 84%] Built target device-gyro 16:16:06 Scanning dependencies of target device-bitfields 16:16:06 [ 85%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 16:16:06 [ 87%] Linking C executable device-bitfields 16:16:06 [ 87%] Built target device-bitfields 16:16:06 Scanning dependencies of target template-discovery 16:16:06 [ 88%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 16:16:06 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 16:16:07 [ 90%] Linking C executable template-discovery 16:16:07 [ 90%] Built target template-discovery 16:16:07 Scanning dependencies of target device-file 16:16:07 [ 92%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 16:16:07 [ 93%] Linking C executable device-file 16:16:07 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 16:16:07 [ 93%] Built target device-file 16:16:07 Scanning dependencies of target device-terminal 16:16:07 [ 95%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 16:16:07 [ 96%] Linking C executable device-terminal 16:16:07 [ 96%] Built target device-terminal 16:16:07 Scanning dependencies of target templatev1 16:16:07 [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o 16:16:07 [100%] Linking C executable templatev1 16:16:07 [100%] Built target templatev1 16:16:07 make: Entering directory '/tmp/sdk/build/release' 16:16:07 make[1]: Entering directory '/tmp/sdk/build/release' 16:16:07 make[2]: Entering directory '/tmp/sdk/build/release' 16:16:07 make[2]: Leaving directory '/tmp/sdk/build/release' 16:16:07 [ 71%] Built target csdk 16:16:07 make[2]: Entering directory '/tmp/sdk/build/release' 16:16:07 make[2]: Leaving directory '/tmp/sdk/build/release' 16:16:07 [ 74%] Built target template 16:16:07 make[2]: Entering directory '/tmp/sdk/build/release' 16:16:07 make[2]: Leaving directory '/tmp/sdk/build/release' 16:16:07 [ 77%] Built target device-counter 16:16:07 make[2]: Entering directory '/tmp/sdk/build/release' 16:16:07 make[2]: Leaving directory '/tmp/sdk/build/release' 16:16:07 [ 80%] Built target device-random 16:16:07 make[2]: Entering directory '/tmp/sdk/build/release' 16:16:07 make[2]: Leaving directory '/tmp/sdk/build/release' 16:16:07 [ 84%] Built target device-gyro 16:16:07 make[2]: Entering directory '/tmp/sdk/build/release' 16:16:07 make[2]: Leaving directory '/tmp/sdk/build/release' 16:16:07 [ 87%] Built target device-bitfields 16:16:07 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 16:16:07 make[2]: Entering directory '/tmp/sdk/build/release' 16:16:07 make[2]: Leaving directory '/tmp/sdk/build/release' 16:16:07 [ 90%] Built target template-discovery 16:16:07 make[2]: Entering directory '/tmp/sdk/build/release' 16:16:07 make[2]: Leaving directory '/tmp/sdk/build/release' 16:16:07 [ 93%] Built target device-file 16:16:07 make[2]: Entering directory '/tmp/sdk/build/release' 16:16:07 make[2]: Leaving directory '/tmp/sdk/build/release' 16:16:07 [ 96%] Built target device-terminal 16:16:07 make[2]: Entering directory '/tmp/sdk/build/release' 16:16:07 make[2]: Leaving directory '/tmp/sdk/build/release' 16:16:07 [100%] Built target templatev1 16:16:07 make[1]: Leaving directory '/tmp/sdk/build/release' 16:16:07 Install the project... 16:16:07 -- Install configuration: "Release" 16:16:07 -- Installing: /usr/local/lib/libcsdk.so 16:16:07 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 16:16:07 -- Up-to-date: /usr/local/include 16:16:07 -- Installing: /usr/local/include/devsdk 16:16:07 -- Installing: /usr/local/include/devsdk/devsdk-base.h 16:16:07 -- Installing: /usr/local/include/devsdk/devsdk.h 16:16:07 -- Installing: /usr/local/include/edgex 16:16:07 -- Installing: /usr/local/include/edgex/device-mgmt.h 16:16:07 -- Installing: /usr/local/include/edgex/devices.h 16:16:07 -- Installing: /usr/local/include/edgex/devsdk.h 16:16:07 -- Installing: /usr/local/include/edgex/edgex-base.h 16:16:07 -- Installing: /usr/local/include/edgex/edgex.h 16:16:07 -- Installing: /usr/local/include/edgex/error.h 16:16:07 -- Installing: /usr/local/include/edgex/eventgen.h 16:16:07 -- Installing: /usr/local/include/edgex/os.h 16:16:07 -- Installing: /usr/local/include/edgex/profiles.h 16:16:07 -- Installing: /usr/local/include/edgex/rest-server.h 16:16:07 -- Installing: /usr/local/include/edgex/csdk-defs.h 16:16:07 -- Installing: /usr/local/include/iot 16:16:07 -- Installing: /usr/local/include/iot/base64.h 16:16:07 -- Installing: /usr/local/include/iot/component.h 16:16:07 -- Installing: /usr/local/include/iot/config.h 16:16:07 -- Installing: /usr/local/include/iot/container.h 16:16:07 -- Installing: /usr/local/include/iot/data.h 16:16:07 -- Installing: /usr/local/include/iot/hash.h 16:16:07 -- Installing: /usr/local/include/iot/iot.h 16:16:07 -- Installing: /usr/local/include/iot/json.h 16:16:07 -- Installing: /usr/local/include/iot/logger.h 16:16:07 -- Installing: /usr/local/include/iot/os.h 16:16:07 -- Installing: /usr/local/include/iot/scheduler.h 16:16:07 -- Installing: /usr/local/include/iot/thread.h 16:16:07 -- Installing: /usr/local/include/iot/threadpool.h 16:16:07 -- Installing: /usr/local/include/iot/time.h 16:16:07 -- Installing: /usr/local/include/iot/typecode.h 16:16:07 -- Installing: /usr/local/include/iot/yxml.h 16:16:07 -- Installing: /usr/local/include/iot/os 16:16:07 -- Installing: /usr/local/include/iot/os/linux.h 16:16:07 -- Installing: /usr/local/include/iot/os/macos.h 16:16:07 -- Installing: /usr/local/include/iot/os/zephyr.h 16:16:07 -- Installing: /usr/local/share/device-sdk-c/LICENSE 16:16:07 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 16:16:07 make: Leaving directory '/tmp/sdk/build/release' 16:16:08 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 16:16:10 [ 49%] Building C object c/CMakeFiles/csdk.dir/map.c.o 16:16:10 [ 50%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 16:16:10 Removing intermediate container 6ce6f66eb298 16:16:10 ---> 87bd5e550dad 16:16:10 Step 14/21 : FROM ${BASE} 16:16:10 ---> 5eabd8fd8ba2 16:16:10 Step 15/21 : MAINTAINER IOTech 16:16:10 ---> Running in a8405f0b9498 16:16:10 Removing intermediate container a8405f0b9498 16:16:10 ---> d31a9514c4c9 16:16:10 Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid 16:16:10 ---> Running in 78f8c8e8c4f8 16:16:10 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 16:16:11 [ 52%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 16:16:11 [ 53%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 16:16:11 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 16:16:11 (1/3) Installing curl (7.64.0-r4) 16:16:12 (2/3) Installing libuuid (2.33-r0) 16:16:12 (3/3) Installing wget (1.20.3-r0) 16:16:12 Executing busybox-1.29.3-r10.trigger 16:16:12 OK: 268 MiB in 78 packages 16:16:12 Removing intermediate container 78f8c8e8c4f8 16:16:12 ---> 46f32fd15a5a 16:16:12 Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 16:16:12 ---> f12a778128e5 16:16:12 Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 16:16:13 ---> da5146571a1e 16:16:13 Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib 16:16:13 ---> 21d5d41535e1 16:16:13 Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 16:16:13 ---> eb84919404e1 16:16:13 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 16:16:14 ---> 691b7f2f04b9 16:16:14 Successfully built 691b7f2f04b9 16:16:14 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 16:16:14 + docker inspect -f . ci-base-image-x86_64 16:16:14 . [Pipeline] withDockerContainer 16:16:14 prd-centos7-docker-4c-2g-15261 does not seem to be running inside a container 16:16:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@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 16:16:15 $ docker top 0e8d2c8b1ef53ef494ab37faf998feb14e17e811719a3fcdb24ea5676715f1c3 -eo pid,comm [Pipeline] { [Pipeline] sh 16:16:15 [ 55%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 16:16:15 + make test 16:16:15 echo "make test" 16:16:15 make test [Pipeline] } 16:16:16 $ docker stop --time=1 0e8d2c8b1ef53ef494ab37faf998feb14e17e811719a3fcdb24ea5676715f1c3 16:16:16 [ 57%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 16:16:16 [ 58%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 16:16:16 [ 60%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 16:16:17 $ docker rm -f 0e8d2c8b1ef53ef494ab37faf998feb14e17e811719a3fcdb24ea5676715f1c3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 16:16:17 [ 61%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 16:16:19 [ 63%] Building C object c/CMakeFiles/csdk.dir/service.c.o [Pipeline] sh 16:16:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:16:20 [ 65%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 16:16:20 + ls -al . 16:16:20 total 160 16:16:20 drwxrwxr-x. 8 jenkins jenkins 260 Dec 9 16:15 . 16:16:20 drwxrwxr-x. 4 jenkins jenkins 28 Dec 9 16:15 .. 16:16:20 -rw-rw-r--. 1 jenkins jenkins 3104 Dec 9 16:15 Attribution.txt 16:16:20 -rw-rw-r--. 1 jenkins jenkins 6383 Dec 9 16:15 CHANGES 16:16:20 drwxrwxr-x. 2 jenkins jenkins 144 Dec 9 16:15 docs 16:16:20 -rw-rw-r--. 1 jenkins jenkins 108574 Dec 9 16:15 Doxyfile 16:16:20 drwxrwxr-x. 8 jenkins jenkins 179 Dec 9 16:15 .git 16:16:20 drwxrwxr-x. 2 jenkins jenkins 81 Dec 9 16:15 .github 16:16:20 -rw-rw-r--. 1 jenkins jenkins 176 Dec 9 16:15 .gitignore 16:16:20 drwxrwxr-x. 4 jenkins jenkins 33 Dec 9 16:15 include 16:16:20 -rw-rw-r--. 1 jenkins jenkins 794 Dec 9 16:15 Jenkinsfile 16:16:20 -rw-rw-r--. 1 jenkins jenkins 10174 Dec 9 16:15 LICENSE 16:16:20 -rw-rw-r--. 1 jenkins jenkins 449 Dec 9 16:15 Makefile 16:16:20 -rw-rw-r--. 1 jenkins jenkins 2697 Dec 9 16:15 README.md 16:16:20 -rw-rw-r--. 1 jenkins jenkins 6451 Dec 9 16:15 README.v2.md 16:16:20 drwxrwxr-x. 2 jenkins jenkins 108 Dec 9 16:15 scripts 16:16:20 drwxrwxr-x. 4 jenkins jenkins 50 Dec 9 16:15 src 16:16:20 -rw-rw-r--. 1 jenkins jenkins 5 Dec 9 16:12 VERSION [Pipeline] isUnix [Pipeline] sh 16:16:21 + docker build -t docker-device-sdk-c -f scripts/Dockerfile.alpine-3.11 --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=6c84a767c6ce4573f9a920010352f64502cb5330 --label arch=amd64 --label version=0.0.0 . 16:16:21 Sending build context to Docker daemon 2.534MB 16:16:21 Step 1/15 : ARG BASE=alpine:3.11 16:16:21 Step 2/15 : FROM ${BASE} 16:16:21 ---> 691b7f2f04b9 16:16:21 Step 3/15 : MAINTAINER IOTech 16:16:21 ---> Running in 3c41abc08154 16:16:22 Removing intermediate container 3c41abc08154 16:16:22 ---> 3e940237a714 16:16:22 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 16:16:22 ---> Running in aa5ae1ae4fb9 16:16:22 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 16:16:23 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 16:16:23 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 16:16:23 (2/6) Installing libblkid (2.33-r0) 16:16:23 (3/6) Installing libfdisk (2.33-r0) 16:16:23 (4/6) Installing libmount (2.33-r0) 16:16:23 (5/6) Installing libsmartcols (2.33-r0) 16:16:23 (6/6) Installing util-linux-dev (2.33-r0) 16:16:24 [ 66%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 16:16:24 Executing busybox-1.29.3-r10.trigger 16:16:24 OK: 272 MiB in 84 packages 16:16:24 [ 68%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 16:16:24 Removing intermediate container aa5ae1ae4fb9 16:16:24 ---> c3e52c923342 16:16:24 Step 5/15 : COPY VERSION /edgex-c-sdk/ 16:16:25 ---> cb336f8f925d 16:16:25 Step 6/15 : COPY src /edgex-c-sdk/src/ 16:16:25 ---> e30be51c92ab 16:16:25 Step 7/15 : COPY include /edgex-c-sdk/include/ 16:16:25 [ 69%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 16:16:25 ---> 6aec32ef9e35 16:16:25 Step 8/15 : COPY scripts /edgex-c-sdk/scripts 16:16:26 [ 71%] Linking C shared library libcsdk.so 16:16:26 [ 71%] Built target csdk 16:16:26 ---> 568d256e5515 16:16:26 Step 9/15 : COPY LICENSE /edgex-c-sdk/ 16:16:26 ---> 1e73563bd4ec 16:16:26 Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ 16:16:26 ---> 0c4d61f7b4f6 16:16:26 Step 11/15 : WORKDIR /edgex-c-sdk 16:16:26 Scanning dependencies of target template 16:16:26 [ 73%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 16:16:26 ---> Running in a0bc8dc8e8db 16:16:26 Removing intermediate container a0bc8dc8e8db 16:16:26 ---> 2f6ccbed59c9 16:16:26 Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 16:16:26 ---> Running in cd25e6cad5f9 16:16:26 Removing intermediate container cd25e6cad5f9 16:16:26 ---> e3cac78c0879 16:16:26 Step 13/15 : LABEL arch=amd64 16:16:26 ---> Running in f8c77900bf95 16:16:27 [ 74%] Linking C executable template 16:16:27 Removing intermediate container f8c77900bf95 16:16:27 ---> 7373b99c7865 16:16:27 Step 14/15 : LABEL git_sha=6c84a767c6ce4573f9a920010352f64502cb5330 16:16:27 ---> Running in 1cb0c94fe88b 16:16:27 Removing intermediate container 1cb0c94fe88b 16:16:27 ---> 210d279a0d97 16:16:27 Step 15/15 : LABEL version=0.0.0 16:16:27 [ 74%] Built target template 16:16:27 Scanning dependencies of target device-counter 16:16:27 [ 76%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 16:16:27 ---> Running in f9ecd94869d4 16:16:27 Removing intermediate container f9ecd94869d4 16:16:27 ---> e17fe0074f52 16:16:27 [Warning] One or more build-args [ARCH MAKE] were not consumed 16:16:27 Successfully built e17fe0074f52 16:16:27 Successfully tagged docker-device-sdk-c:latest [Pipeline] } [Pipeline] // script 16:16:27 [ 77%] Linking C executable device-counter [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) 16:16:27 [ 77%] Built target device-counter 16:16:27 Scanning dependencies of target device-random 16:16:27 [ 79%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 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 16:16:28 [ 80%] Linking C executable device-random [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node 16:16:28 [ 80%] Built target device-random 16:16:28 Scanning dependencies of target device-gyro 16:16:28 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [Pipeline] } [Pipeline] // stage [Pipeline] } 16:16:29 [ 84%] Linking C executable device-gyro 16:16:29 [ 84%] Built target device-gyro 16:16:29 Scanning dependencies of target device-bitfields 16:16:29 [ 85%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 16:16:29 [ 87%] Linking C executable device-bitfields 16:16:29 [ 87%] Built target device-bitfields 16:16:29 Scanning dependencies of target template-discovery 16:16:30 [ 88%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 16:16:30 [ 90%] Linking C executable template-discovery 16:16:30 [ 90%] Built target template-discovery 16:16:31 Scanning dependencies of target device-file 16:16:31 [ 92%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 16:16:31 [ 93%] Linking C executable device-file 16:16:31 [ 93%] Built target device-file 16:16:31 Scanning dependencies of target device-terminal 16:16:31 [ 95%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 16:16:32 [ 96%] Linking C executable device-terminal 16:16:32 [ 96%] Built target device-terminal 16:16:32 Scanning dependencies of target templatev1 16:16:32 [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o 16:16:33 [100%] Linking C executable templatev1 16:16:33 [100%] Built target templatev1 16:16:33 + + maketee package -a 16:16:33 release.log 16:16:33 [ 71%] Built target csdk 16:16:33 [ 74%] Built target template 16:16:33 [ 77%] Built target device-counter 16:16:33 [ 80%] Built target device-random 16:16:33 [ 84%] Built target device-gyro 16:16:33 [ 87%] Built target device-bitfields 16:16:33 [ 90%] Built target template-discovery 16:16:33 [ 93%] Built target device-file 16:16:33 [ 96%] Built target device-terminal 16:16:33 [100%] Built target templatev1 16:16:33 Run CPack packaging tool... 16:16:33 CPack: Create package using TGZ 16:16:33 CPack: Install projects 16:16:33 CPack: - Run preinstall target for: Csdk 16:16:34 CPack: - Install project: Csdk 16:16:34 CPack: Create package 16:16:34 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 16:16:34 + '[' false '=' true ] 16:16:34 + '[' false '=' true ] 16:16:34 + mkdir -p /tmp/sdk/build/debug 16:16:34 + cd /tmp/sdk/build/debug 16:16:34 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 16:16:35 -- The C compiler identification is GNU 8.3.0 16:16:35 -- Check for working C compiler: /usr/bin/cc 16:16:35 -- Check for working C compiler: /usr/bin/cc -- works 16:16:35 -- Detecting C compiler ABI info 16:16:35 -- Detecting C compiler ABI info - done 16:16:35 -- Detecting C compile features 16:16:36 -- Detecting C compile features - done 16:16:36 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 16:16:36 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 16:16:36 -- Found LIBYAML: /usr/lib/libyaml.so 16:16:36 -- Found LIBUUID: /usr/lib/libuuid.so 16:16:36 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 16:16:36 -- C SDK 0.0.0 for Linux 16:16:36 -- Performing Test CSDK_HAVE_ATOMIC 16:16:36 -- Performing Test CSDK_HAVE_ATOMIC - Success 16:16:36 -- Found Curses: /usr/lib/libcurses.so 16:16:36 -- Configuring done 16:16:36 -- Generating done 16:16:36 -- Build files have been written to: /tmp/sdk/build/debug 16:16:36 + make 16:16:36 + tee debug.log 16:16:36 Scanning dependencies of target csdk 16:16:37 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 16:16:37 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 16:16:37 [ 4%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 16:16:37 [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o 16:16:38 [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 16:16:38 [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 16:16:39 [ 11%] Building C object c/CMakeFiles/csdk.dir/data.c.o 16:16:39 [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o 16:16:39 [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 16:16:40 [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 16:16:40 [ 17%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 16:16:40 [ 19%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 16:16:41 [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 16:16:41 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 16:16:41 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 16:16:42 [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 16:16:42 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 16:16:42 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 16:16:42 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 16:16:43 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 16:16:44 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 16:16:44 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 16:16:44 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 16:16:44 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 16:16:44 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 16:16:44 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 16:16:45 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 16:16:45 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 16:16:45 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 16:16:45 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 16:16:46 [ 49%] Building C object c/CMakeFiles/csdk.dir/map.c.o 16:16:46 [ 50%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 16:16:46 [ 52%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 16:16:46 [ 53%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 16:16:47 [ 55%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 16:16:48 [ 57%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 16:16:48 [ 58%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 16:16:48 [ 60%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 16:16:49 [ 61%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 16:16:49 [ 63%] Building C object c/CMakeFiles/csdk.dir/service.c.o 16:16:50 [ 65%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 16:16:51 [ 66%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 16:16:51 [ 68%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 16:16:51 [ 69%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 16:16:51 [ 71%] Linking C shared library libcsdk.so 16:16:52 [ 71%] Built target csdk 16:16:52 Scanning dependencies of target template 16:16:52 [ 73%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 16:16:52 [ 74%] Linking C executable template 16:16:52 [ 74%] Built target template 16:16:52 Scanning dependencies of target device-counter 16:16:52 [ 76%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 16:16:53 [ 77%] Linking C executable device-counter 16:16:53 [ 77%] Built target device-counter 16:16:53 Scanning dependencies of target device-random 16:16:53 [ 79%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 16:16:53 [ 80%] Linking C executable device-random 16:16:53 [ 80%] Built target device-random 16:16:53 Scanning dependencies of target device-gyro 16:16:53 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 16:16:53 [ 84%] Linking C executable device-gyro 16:16:54 [ 84%] Built target device-gyro 16:16:54 Scanning dependencies of target device-bitfields 16:16:54 [ 85%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 16:16:54 [ 87%] Linking C executable device-bitfields 16:16:54 [ 87%] Built target device-bitfields 16:16:54 Scanning dependencies of target template-discovery 16:16:54 [ 88%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 16:16:55 [ 90%] Linking C executable template-discovery 16:16:55 [ 90%] Built target template-discovery 16:16:55 Scanning dependencies of target device-file 16:16:55 [ 92%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 16:16:55 [ 93%] Linking C executable device-file 16:16:55 [ 93%] Built target device-file 16:16:55 Scanning dependencies of target device-terminal 16:16:55 [ 95%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 16:16:56 [ 96%] Linking C executable device-terminal 16:16:56 [ 96%] Built target device-terminal 16:16:56 Scanning dependencies of target templatev1 16:16:56 [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o 16:16:56 [100%] Linking C executable templatev1 16:16:56 [100%] Built target templatev1 16:16:56 make: Entering directory '/tmp/sdk/build/release' 16:16:56 make[1]: Entering directory '/tmp/sdk/build/release' 16:16:56 make[2]: Entering directory '/tmp/sdk/build/release' 16:16:56 make[2]: Leaving directory '/tmp/sdk/build/release' 16:16:56 [ 71%] Built target csdk 16:16:56 make[2]: Entering directory '/tmp/sdk/build/release' 16:16:56 make[2]: Leaving directory '/tmp/sdk/build/release' 16:16:56 [ 74%] Built target template 16:16:56 make[2]: Entering directory '/tmp/sdk/build/release' 16:16:56 make[2]: Leaving directory '/tmp/sdk/build/release' 16:16:56 [ 77%] Built target device-counter 16:16:56 make[2]: Entering directory '/tmp/sdk/build/release' 16:16:57 make[2]: Leaving directory '/tmp/sdk/build/release' 16:16:57 [ 80%] Built target device-random 16:16:57 make[2]: Entering directory '/tmp/sdk/build/release' 16:16:57 make[2]: Leaving directory '/tmp/sdk/build/release' 16:16:57 [ 84%] Built target device-gyro 16:16:57 make[2]: Entering directory '/tmp/sdk/build/release' 16:16:57 make[2]: Leaving directory '/tmp/sdk/build/release' 16:16:57 [ 87%] Built target device-bitfields 16:16:57 make[2]: Entering directory '/tmp/sdk/build/release' 16:16:57 make[2]: Leaving directory '/tmp/sdk/build/release' 16:16:57 [ 90%] Built target template-discovery 16:16:57 make[2]: Entering directory '/tmp/sdk/build/release' 16:16:57 make[2]: Leaving directory '/tmp/sdk/build/release' 16:16:57 [ 93%] Built target device-file 16:16:57 make[2]: Entering directory '/tmp/sdk/build/release' 16:16:57 make[2]: Leaving directory '/tmp/sdk/build/release' 16:16:57 [ 96%] Built target device-terminal 16:16:57 make[2]: Entering directory '/tmp/sdk/build/release' 16:16:57 make[2]: Leaving directory '/tmp/sdk/build/release' 16:16:57 [100%] Built target templatev1 16:16:57 make[1]: Leaving directory '/tmp/sdk/build/release' 16:16:57 Install the project... 16:16:57 -- Install configuration: "Release" 16:16:57 -- Installing: /usr/local/lib/libcsdk.so 16:16:57 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 16:16:57 -- Up-to-date: /usr/local/include 16:16:57 -- Installing: /usr/local/include/edgex 16:16:57 -- Installing: /usr/local/include/edgex/device-mgmt.h 16:16:57 -- Installing: /usr/local/include/edgex/eventgen.h 16:16:57 -- Installing: /usr/local/include/edgex/error.h 16:16:57 -- Installing: /usr/local/include/edgex/rest-server.h 16:16:57 -- Installing: /usr/local/include/edgex/edgex-base.h 16:16:57 -- Installing: /usr/local/include/edgex/devsdk.h 16:16:57 -- Installing: /usr/local/include/edgex/edgex.h 16:16:57 -- Installing: /usr/local/include/edgex/devices.h 16:16:57 -- Installing: /usr/local/include/edgex/os.h 16:16:57 -- Installing: /usr/local/include/edgex/profiles.h 16:16:57 -- Installing: /usr/local/include/edgex/csdk-defs.h 16:16:57 -- Installing: /usr/local/include/devsdk 16:16:57 -- Installing: /usr/local/include/devsdk/devsdk-base.h 16:16:57 -- Installing: /usr/local/include/devsdk/devsdk.h 16:16:57 -- Installing: /usr/local/include/iot 16:16:57 -- Installing: /usr/local/include/iot/json.h 16:16:57 -- Installing: /usr/local/include/iot/yxml.h 16:16:57 -- Installing: /usr/local/include/iot/container.h 16:16:57 -- Installing: /usr/local/include/iot/component.h 16:16:57 -- Installing: /usr/local/include/iot/typecode.h 16:16:57 -- Installing: /usr/local/include/iot/iot.h 16:16:57 -- Installing: /usr/local/include/iot/time.h 16:16:57 -- Installing: /usr/local/include/iot/hash.h 16:16:57 -- Installing: /usr/local/include/iot/logger.h 16:16:57 -- Installing: /usr/local/include/iot/os 16:16:57 -- Installing: /usr/local/include/iot/os/zephyr.h 16:16:57 -- Installing: /usr/local/include/iot/os/linux.h 16:16:57 -- Installing: /usr/local/include/iot/os/macos.h 16:16:57 -- Installing: /usr/local/include/iot/scheduler.h 16:16:57 -- Installing: /usr/local/include/iot/data.h 16:16:57 -- Installing: /usr/local/include/iot/thread.h 16:16:57 -- Installing: /usr/local/include/iot/os.h 16:16:57 -- Installing: /usr/local/include/iot/base64.h 16:16:57 -- Installing: /usr/local/include/iot/threadpool.h 16:16:57 -- Installing: /usr/local/include/iot/config.h 16:16:57 -- Installing: /usr/local/share/device-sdk-c/LICENSE 16:16:57 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 16:16:57 make: Leaving directory '/tmp/sdk/build/release' 16:17:00 Removing intermediate container 287dfe5ced96 16:17:00 ---> 56a6410a9f32 16:17:00 Step 14/21 : FROM ${BASE} 16:17:00 ---> b23d30803547 16:17:00 Step 15/21 : MAINTAINER IOTech 16:17:00 ---> Running in bfee09321505 16:17:00 Removing intermediate container bfee09321505 16:17:00 ---> 401519545950 16:17:00 Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid 16:17:00 ---> Running in ebe0ca89ae3f 16:17:01 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 16:17:02 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 16:17:02 (1/3) Installing curl (7.64.0-r4) 16:17:02 (2/3) Installing libuuid (2.33-r0) 16:17:02 (3/3) Installing wget (1.20.3-r0) 16:17:02 Executing busybox-1.29.3-r10.trigger 16:17:02 OK: 281 MiB in 78 packages 16:17:03 Removing intermediate container ebe0ca89ae3f 16:17:03 ---> c9b6db4eabe5 16:17:03 Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 16:17:04 ---> 9ec08b8f0724 16:17:04 Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 16:17:05 ---> 56cbaa48678c 16:17:05 Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib 16:17:06 ---> 8f76f152d31b 16:17:06 Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 16:17:07 ---> b985593dd19d 16:17:07 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 16:17:07 ---> c0b4c5498b88 16:17:07 Successfully built c0b4c5498b88 16:17:07 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:17:08 + docker inspect -f . ci-base-image-arm64 16:17:08 . [Pipeline] withDockerContainer 16:17:08 prd-ubuntu18.04-docker-arm64-4c-16g-15260 does not seem to be running inside a container 16:17:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@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-arm64 cat 16:17:10 $ docker top b3c86cb2bd2e8591e74f6694b383f0f99df7ddf48524b23e762792b23515b3b9 -eo pid,comm [Pipeline] { [Pipeline] sh 16:17:11 + make test 16:17:11 echo "make test" 16:17:11 make test [Pipeline] } 16:17:11 $ docker stop --time=1 b3c86cb2bd2e8591e74f6694b383f0f99df7ddf48524b23e762792b23515b3b9 16:17:13 $ docker rm -f b3c86cb2bd2e8591e74f6694b383f0f99df7ddf48524b23e762792b23515b3b9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:17:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:17:14 + ls -al . 16:17:14 total 192 16:17:14 drwxrwxr-x 8 jenkins jenkins 4096 Dec 9 16:14 . 16:17:14 drwxrwxr-x 4 jenkins jenkins 4096 Dec 9 16:14 .. 16:17:14 drwxrwxr-x 8 jenkins jenkins 4096 Dec 9 16:14 .git 16:17:14 drwxrwxr-x 2 jenkins jenkins 4096 Dec 9 16:14 .github 16:17:14 -rw-rw-r-- 1 jenkins jenkins 176 Dec 9 16:14 .gitignore 16:17:14 -rw-rw-r-- 1 jenkins jenkins 3104 Dec 9 16:14 Attribution.txt 16:17:14 -rw-rw-r-- 1 jenkins jenkins 6383 Dec 9 16:14 CHANGES 16:17:14 -rw-rw-r-- 1 jenkins jenkins 108574 Dec 9 16:14 Doxyfile 16:17:14 -rw-rw-r-- 1 jenkins jenkins 794 Dec 9 16:14 Jenkinsfile 16:17:14 -rw-rw-r-- 1 jenkins jenkins 10174 Dec 9 16:14 LICENSE 16:17:14 -rw-rw-r-- 1 jenkins jenkins 449 Dec 9 16:14 Makefile 16:17:14 -rw-rw-r-- 1 jenkins jenkins 2697 Dec 9 16:14 README.md 16:17:14 -rw-rw-r-- 1 jenkins jenkins 6451 Dec 9 16:14 README.v2.md 16:17:14 -rw-rw-r-- 1 jenkins jenkins 5 Dec 9 16:12 VERSION 16:17:14 drwxrwxr-x 2 jenkins jenkins 4096 Dec 9 16:14 docs 16:17:14 drwxrwxr-x 4 jenkins jenkins 4096 Dec 9 16:14 include 16:17:14 drwxrwxr-x 2 jenkins jenkins 4096 Dec 9 16:14 scripts 16:17:14 drwxrwxr-x 4 jenkins jenkins 4096 Dec 9 16:14 src [Pipeline] isUnix [Pipeline] sh 16:17:15 + docker build -t docker-device-sdk-c-arm64 -f scripts/Dockerfile.alpine-3.11 --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=6c84a767c6ce4573f9a920010352f64502cb5330 --label arch=arm64 --label version=0.0.0 . 16:17:15 Sending build context to Docker daemon 2.533MB 16:17:15 Step 1/15 : ARG BASE=alpine:3.11 16:17:15 Step 2/15 : FROM ${BASE} 16:17:15 ---> c0b4c5498b88 16:17:15 Step 3/15 : MAINTAINER IOTech 16:17:15 ---> Running in fba4b94dc775 16:17:16 Removing intermediate container fba4b94dc775 16:17:16 ---> 669dd535b319 16:17:16 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 16:17:16 ---> Running in 5d5522d9ac39 16:17:17 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 16:17:18 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 16:17:18 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 16:17:18 (2/6) Installing libblkid (2.33-r0) 16:17:18 (3/6) Installing libfdisk (2.33-r0) 16:17:18 (4/6) Installing libmount (2.33-r0) 16:17:18 (5/6) Installing libsmartcols (2.33-r0) 16:17:18 (6/6) Installing util-linux-dev (2.33-r0) 16:17:19 Executing busybox-1.29.3-r10.trigger 16:17:19 OK: 286 MiB in 84 packages 16:17:20 Removing intermediate container 5d5522d9ac39 16:17:20 ---> 8306557cdf34 16:17:20 Step 5/15 : COPY VERSION /edgex-c-sdk/ 16:17:21 ---> 5b4c88311943 16:17:21 Step 6/15 : COPY src /edgex-c-sdk/src/ 16:17:22 ---> 0b85b917e821 16:17:22 Step 7/15 : COPY include /edgex-c-sdk/include/ 16:17:22 ---> 179a55960da1 16:17:22 Step 8/15 : COPY scripts /edgex-c-sdk/scripts 16:17:23 ---> ce5abadb755b 16:17:23 Step 9/15 : COPY LICENSE /edgex-c-sdk/ 16:17:24 ---> 228a289f2d18 16:17:24 Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ 16:17:25 ---> 6ba409a05dd5 16:17:25 Step 11/15 : WORKDIR /edgex-c-sdk 16:17:25 ---> Running in 7186cbaf1abc 16:17:25 Removing intermediate container 7186cbaf1abc 16:17:25 ---> cfb289921763 16:17:25 Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 16:17:25 ---> Running in b8cd745d6e31 16:17:26 Removing intermediate container b8cd745d6e31 16:17:26 ---> d246e8ec9180 16:17:26 Step 13/15 : LABEL arch=arm64 16:17:26 ---> Running in 4695410e7dfb 16:17:26 Removing intermediate container 4695410e7dfb 16:17:26 ---> 5e46eb8010c6 16:17:26 Step 14/15 : LABEL git_sha=6c84a767c6ce4573f9a920010352f64502cb5330 16:17:26 ---> Running in 8753d7639f99 16:17:27 Removing intermediate container 8753d7639f99 16:17:27 ---> ba6187c2e425 16:17:27 Step 15/15 : LABEL version=0.0.0 16:17:27 ---> Running in ec992b1b0618 16:17:28 Removing intermediate container ec992b1b0618 16:17:28 ---> 61a266f0187e 16:17:28 [Warning] One or more build-args [ARCH MAKE] were not consumed 16:17:28 Successfully built 61a266f0187e 16:17:28 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 16:17:32 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:17:32 ---> package-listing.sh 16:17:32 ++ facter osfamily 16:17:32 ++ tr '[:upper:]' '[:lower:]' 16:17:32 + OS_FAMILY=redhat 16:17:32 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-313 16:17:32 + START_PACKAGES=/tmp/packages_start.txt 16:17:32 + END_PACKAGES=/tmp/packages_end.txt 16:17:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:17:32 + PACKAGES=/tmp/packages_start.txt 16:17:32 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-313 ']' 16:17:32 + PACKAGES=/tmp/packages_end.txt 16:17:32 + case "${OS_FAMILY}" in 16:17:32 + rpm -qa 16:17:32 + sort 16:17:37 + '[' -f /tmp/packages_start.txt ']' 16:17:37 + '[' -f /tmp/packages_end.txt ']' 16:17:37 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:17:37 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-313 ']' 16:17:37 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-313/archives/ 16:17:37 + 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 16:17:37 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 16:17:38 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 16:17:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:17:38 16:17:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 16:17:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:17:38 alpine: Pulling from edgex-lftools-log-publisher 16:17:38 df20fa9351a1: Pulling fs layer 16:17:38 36b3adc4ff6f: Pulling fs layer 16:17:38 8ad3a11d3b57: Pulling fs layer 16:17:38 46f8f816bc3b: Pulling fs layer 16:17:38 93b61091891f: Pulling fs layer 16:17:38 93b9cdb0e59b: Pulling fs layer 16:17:38 5e14af77c1be: Pulling fs layer 16:17:38 01666e4c0597: Pulling fs layer 16:17:38 aa168da1d23b: Pulling fs layer 16:17:38 93b9cdb0e59b: Waiting 16:17:38 5e14af77c1be: Waiting 16:17:38 46f8f816bc3b: Waiting 16:17:38 01666e4c0597: Waiting 16:17:38 aa168da1d23b: Waiting 16:17:38 93b61091891f: Waiting 16:17:38 36b3adc4ff6f: Verifying Checksum 16:17:38 36b3adc4ff6f: Download complete 16:17:38 46f8f816bc3b: Verifying Checksum 16:17:38 46f8f816bc3b: Download complete 16:17:39 df20fa9351a1: Verifying Checksum 16:17:39 df20fa9351a1: Download complete 16:17:39 93b9cdb0e59b: Verifying Checksum 16:17:39 93b9cdb0e59b: Download complete 16:17:39 5e14af77c1be: Verifying Checksum 16:17:39 5e14af77c1be: Download complete 16:17:39 93b61091891f: Download complete 16:17:39 01666e4c0597: Verifying Checksum 16:17:39 01666e4c0597: Download complete 16:17:39 8ad3a11d3b57: Verifying Checksum 16:17:39 8ad3a11d3b57: Download complete 16:17:39 df20fa9351a1: Pull complete 16:17:39 36b3adc4ff6f: Pull complete 16:17:40 8ad3a11d3b57: Pull complete 16:17:40 46f8f816bc3b: Pull complete 16:17:41 aa168da1d23b: Download complete 16:17:41 93b61091891f: Pull complete 16:17:41 93b9cdb0e59b: Pull complete 16:17:42 5e14af77c1be: Pull complete 16:17:42 01666e4c0597: Pull complete 16:17:48 aa168da1d23b: Pull complete 16:17:48 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 16:17:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:17:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 16:17:49 prd-centos7-docker-4c-2g-15259 does not seem to be running inside a container 16:17:49 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 16:17:52 $ docker top 9afdd4a48797eff44f5baefea1611e87f70e390237fc3508b4f10a6aa00fe430 -eo pid,comm [Pipeline] { [Pipeline] sh 16:17:53 + touch /tmp/pre-build-complete [Pipeline] sh 16:17:53 + mkdir -p /var/log/sa [Pipeline] sh 16:17:53 + ls /var/log/sa-host 16:17:53 + sadf -c /var/log/sa-host/sa09 16:17:53 file_magic: OK 16:17:53 HZ: Using current value: 100 16:17:53 file_header: OK 16:17:53 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 16:17:53 Statistics: 16:17:53 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 16:17:53 File successfully converted to sysstat format version 12.2.1 16:17:53 + sadf -c /var/log/sa-host/sa23 16:17:53 file_magic: OK 16:17:53 HZ: Using current value: 100 16:17:53 file_header: OK 16:17:53 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 16:17:53 Statistics: 16:17:53 Hnuu...uuuununununu... 16:17:53 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:17:54 provisioning config files... 16:17:54 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-313@tmp/config7516535942094200368tmp [Pipeline] { [Pipeline] echo 16:17:54 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:17:54 ---> create-netrc.sh [Pipeline] } 16:17:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 16:17:54 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 16:17:55 ---> python-tools-install.sh [Pipeline] echo 16:17:55 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:17:55 ---> sudo-logs.sh 16:17:55 Archiving 'sudo' log.. [Pipeline] echo 16:17:55 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:17:55 ---> job-cost.sh 16:17:55 lf-activate-venv: SKIPPING 16:17:55 INFO: No Stack... 16:17:56 INFO: Retrieving Pricing Info for: v1-standard-2 16:17:57 INFO: Archiving Costs [Pipeline] echo 16:17:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:17:57 ---> logs-deploy.sh 16:17:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-313/2 16:17:57 INFO: archiving workspace using pattern(s): 16:17:59 Archives upload complete. 16:17:59 INFO: archiving logs to Nexus 16:18:00 ---> uname -a: 16:18:00 Linux prd-centos7-docker-4c-2g-15259.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 16:18:00 16:18:00 16:18:00 ---> lscpu: 16:18:00 Architecture: x86_64 16:18:00 CPU op-mode(s): 32-bit, 64-bit 16:18:00 Byte Order: Little Endian 16:18:00 Address sizes: 40 bits physical, 48 bits virtual 16:18:00 CPU(s): 4 16:18:00 On-line CPU(s) list: 0-3 16:18:00 Thread(s) per core: 1 16:18:00 Core(s) per socket: 1 16:18:00 Socket(s): 4 16:18:00 NUMA node(s): 1 16:18:00 Vendor ID: GenuineIntel 16:18:00 CPU family: 6 16:18:00 Model: 44 16:18:00 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 16:18:00 Stepping: 1 16:18:00 CPU MHz: 2933.442 16:18:00 BogoMIPS: 5866.88 16:18:00 Virtualization: VT-x 16:18:00 Hypervisor vendor: KVM 16:18:00 Virtualization type: full 16:18:00 L1d cache: 128 KiB 16:18:00 L1i cache: 128 KiB 16:18:00 L2 cache: 16 MiB 16:18:00 L3 cache: 64 MiB 16:18:00 NUMA node0 CPU(s): 0-3 16:18:00 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 16:18:00 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 16:18:00 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 16:18:00 Vulnerability Meltdown: Mitigation; PTI 16:18:00 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 16:18:00 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 16:18:00 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 16:18:00 Vulnerability Srbds: Not affected 16:18:00 Vulnerability Tsx async abort: Not affected 16:18:00 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 16:18:00 16:18:00 16:18:00 ---> nproc: 16:18:00 4 16:18:00 16:18:00