Pull request #294 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 ce20d2939f9b1c811f8b3622cbbaf8159b3cc1a8+6568dd76e6ab4166df02199344f5d2342af650e5 (ce188d45045cc451c67e62b4e66eb9f4533146a5) 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 7909e789ffc0fecf34d47f501ec8db0a80105338 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 7909e789ffc0fecf34d47f501ec8db0a80105338 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 7909e789ffc0fecf34d47f501ec8db0a80105338 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7909e789ffc0fecf34d47f501ec8db0a80105338 # timeout=10 Commit message: "Merge pull request #245 from ernestojeda/fix-go-version-issue" > 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. [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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-660 in /w/workspace/edgexfoundry_device-sdk-c_PR-294 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Fetching without tags Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-294 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/294/head:refs/remotes/origin/PR-294 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/294/head:refs/remotes/origin/PR-294 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # 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 --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/294/head:refs/remotes/origin/PR-294 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 6568dd76e6ab4166df02199344f5d2342af650e5 into PR head commit ce20d2939f9b1c811f8b3622cbbaf8159b3cc1a8 Merge succeeded, producing ce20d2939f9b1c811f8b3622cbbaf8159b3cc1a8 Checking out Revision ce20d2939f9b1c811f8b3622cbbaf8159b3cc1a8 (PR-294) > git config core.sparsecheckout # timeout=10 > git checkout -f ce20d2939f9b1c811f8b3622cbbaf8159b3cc1a8 # 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 6568dd76e6ab4166df02199344f5d2342af650e5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ce20d2939f9b1c811f8b3622cbbaf8159b3cc1a8 # timeout=10 Commit message: "fix: default listening interface is [Service]/Host" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:43:26 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:43:27 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:43:27 ========================================================= 11:43:27 EdgeX Global Pipelines Version Info 11:43:27 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk bbd6527c10feaba365adb3162645b555e029d207 # timeout=10 11:43:28 ------------------- 11:43:28 stable info: 11:43:28 ------------------- 11:43:28 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:43:28 Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 11:43:28 Message: update stable to v1.0.122 11:43:29 ------------------- 11:43:29 experimental info: 11:43:29 ------------------- 11:43:29 Commited By: **** collab-it+edgex@linuxfoundation.org 11:43:29 Commit SHA: 040e29ce4f8dcf7f02c652317e535dcbebe1b406 11:43:29 Message: update experimental to v1.0.125 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 11:43:29 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 11:43:30 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 11:43:30 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:43:30 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:43:30 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:43:30 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo 11:43:30 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine-3.11 [Pipeline] echo 11:43:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-3.11-base [Pipeline] echo 11:43:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:43:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-c [Pipeline] echo 11:43:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:43:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:43:31 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:43:31 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 11:43:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:43:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:43:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-294 [Pipeline] echo 11:43:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-294 [Pipeline] echo 11:43:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-294 [Pipeline] echo 11:43:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ce20d2939f9b1c811f8b3622cbbaf8159b3cc1a8 [Pipeline] echo 11:43:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ce20d29 [Pipeline] echo 11:43:32 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 11:43:32 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:43:33 11:43:33 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 11:43:33 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:43:33 latest: Pulling from edgex-devops/git-semver 11:43:33 31603596830f: Pulling fs layer 11:43:33 2a8b12db71e7: Pulling fs layer 11:43:33 6ca5941a6612: Pulling fs layer 11:43:33 ecc8261a40a4: Pulling fs layer 11:43:33 ecc8261a40a4: Waiting 11:43:33 2a8b12db71e7: Download complete 11:43:33 31603596830f: Verifying Checksum 11:43:33 31603596830f: Download complete 11:43:33 6ca5941a6612: Verifying Checksum 11:43:33 6ca5941a6612: Download complete 11:43:33 ecc8261a40a4: Verifying Checksum 11:43:33 ecc8261a40a4: Download complete 11:43:34 31603596830f: Pull complete 11:43:34 2a8b12db71e7: Pull complete 11:43:34 6ca5941a6612: Pull complete 11:43:35 ecc8261a40a4: Pull complete 11:43:35 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 11:43:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:43:35 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 11:43:35 prd-centos7-docker-4c-2g-660 does not seem to be running inside a container 11:43:35 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-294 -v /w/workspace/edgexfoundry_device-sdk-c_PR-294:/w/workspace/edgexfoundry_device-sdk-c_PR-294:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-294@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-294@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 11:43:37 $ docker top 735dbc4f5cf86765ce294adf666621bff61c098dbc509dbdfd71826dc14e4c15 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:43:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:43:37 [ssh-agent] Looking for ssh-agent implementation... 11:43:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:43:38 $ docker exec 735dbc4f5cf86765ce294adf666621bff61c098dbc509dbdfd71826dc14e4c15 ssh-agent 11:43:38 SSH_AUTH_SOCK=/tmp/ssh-Vxm17ORrbgsA/agent.12 11:43:38 SSH_AGENT_PID=17 11:43:38 Running ssh-add (command line suppressed) 11:43:38 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-294@tmp/private_key_469726974842916741.key (/w/workspace/edgexfoundry_device-sdk-c_PR-294@tmp/private_key_469726974842916741.key) 11:43:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:43:38 + git describe --exact-match --tags HEAD 11:43:38 fatal: No names found, cannot describe anything. [Pipeline] } 11:43:38 $ docker exec --env ******** --env ******** 735dbc4f5cf86765ce294adf666621bff61c098dbc509dbdfd71826dc14e4c15 ssh-agent -k 11:43:38 unset SSH_AUTH_SOCK; 11:43:38 unset SSH_AGENT_PID; 11:43:38 echo Agent pid 17 killed; 11:43:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 11:43:39 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 11:43:39 This usually means this commit has not been tagged. [Pipeline] sshagent 11:43:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:43:39 [ssh-agent] Looking for ssh-agent implementation... 11:43:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:43:39 $ docker exec 735dbc4f5cf86765ce294adf666621bff61c098dbc509dbdfd71826dc14e4c15 ssh-agent 11:43:39 SSH_AUTH_SOCK=/tmp/ssh-vUeW1arZ7SF7/agent.45 11:43:39 SSH_AGENT_PID=50 11:43:39 Running ssh-add (command line suppressed) 11:43:39 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-294@tmp/private_key_6199915401856969600.key (/w/workspace/edgexfoundry_device-sdk-c_PR-294@tmp/private_key_6199915401856969600.key) 11:43:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:43:40 + git semver init 11:43:40 # -> Open(): unable to determine branch for HEAD 11:43:40 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-294/.git 11:43:40 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-294 11:43:40 # $SEMVER_REMOTE_NAME = origin 11:43:40 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 11:43:40 # $SEMVER_USER_NAME = edgex-jenkins 11:43:40 # $SEMVER_BRANCH = PR-294 11:43:40 # $SEMVER_TEMP = /tmp/semver-144045011 11:43:40 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 11:43:40 # '/tmp/semver-144045011' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-294/.semver' 11:43:40 # -> Force: false 11:43:40 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-294/.semver [Pipeline] } 11:43:40 $ docker exec --env ******** --env ******** 735dbc4f5cf86765ce294adf666621bff61c098dbc509dbdfd71826dc14e4c15 ssh-agent -k 11:43:40 unset SSH_AUTH_SOCK; 11:43:40 unset SSH_AGENT_PID; 11:43:40 echo Agent pid 50 killed; 11:43:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:43:41 + git semver [Pipeline] } 11:43:41 $ docker stop --time=1 735dbc4f5cf86765ce294adf666621bff61c098dbc509dbdfd71826dc14e4c15 11:43:42 $ docker rm -f 735dbc4f5cf86765ce294adf666621bff61c098dbc509dbdfd71826dc14e4c15 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 11:43:43 Stashed 32 file(s) [Pipeline] echo 11:43:43 [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 11:43:58 Still waiting to schedule task 11:43:58 Waiting for next available executor on ‘centos7-docker-4c-2g’ 11:43:58 Still waiting to schedule task 11:43:58 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 11:45:48 Running on prd-ubuntu18.04-docker-arm64-4c-16g-661 in /w/workspace/edgexfoundry_device-sdk-c_PR-294 [Pipeline] { [Pipeline] ws 11:45:49 Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout 11:45:51 Running on prd-centos7-docker-4c-2g-662 in /w/workspace/edgexfoundry_device-sdk-c_PR-294 [Pipeline] { [Pipeline] ws 11:45:52 Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout 11:45:54 using credential edgex-jenkins-ssh 11:45:54 Cloning the remote Git repository 11:45:54 Cloning with configured refspecs honoured and without tags 11:45:54 using credential edgex-jenkins-ssh 11:45:54 Cloning the remote Git repository 11:45:54 Cloning with configured refspecs honoured and without tags 11:45:54 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 11:45:55 Fetching without tags 11:45:54 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 11:45:54 > git init /w/workspace/device-sdk-c/2 # timeout=10 11:45:54 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 11:45:54 > git --version # timeout=10 11:45:54 > git --version # 'git version 2.17.1' 11:45:54 using GIT_SSH to set credentials SSH Credentials for GitHub 11:45:54 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/294/head:refs/remotes/origin/PR-294 +refs/heads/master:refs/remotes/origin/master # timeout=10 11:45:55 Fetching without tags 11:45:54 > git init /w/workspace/device-sdk-c/2 # timeout=10 11:45:54 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 11:45:54 > git --version # timeout=10 11:45:54 > git --version # 'git version 2.16.5' 11:45:54 using GIT_SSH to set credentials SSH Credentials for GitHub 11:45:54 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/294/head:refs/remotes/origin/PR-294 +refs/heads/master:refs/remotes/origin/master # timeout=10 11:45:55 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 11:45:55 > git config --add remote.origin.fetch +refs/pull/294/head:refs/remotes/origin/PR-294 # timeout=10 11:45:55 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 11:45:55 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 11:45:55 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 11:45:55 using GIT_SSH to set credentials SSH Credentials for GitHub 11:45:55 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/294/head:refs/remotes/origin/PR-294 +refs/heads/master:refs/remotes/origin/master # timeout=10 11:45:55 Merging remotes/origin/master commit 6568dd76e6ab4166df02199344f5d2342af650e5 into PR head commit ce20d2939f9b1c811f8b3622cbbaf8159b3cc1a8 11:45:55 Merge succeeded, producing ce20d2939f9b1c811f8b3622cbbaf8159b3cc1a8 11:45:55 Checking out Revision ce20d2939f9b1c811f8b3622cbbaf8159b3cc1a8 (PR-294) 11:45:56 Merging remotes/origin/master commit 6568dd76e6ab4166df02199344f5d2342af650e5 into PR head commit ce20d2939f9b1c811f8b3622cbbaf8159b3cc1a8 11:45:56 Merge succeeded, producing ce20d2939f9b1c811f8b3622cbbaf8159b3cc1a8 11:45:56 Checking out Revision ce20d2939f9b1c811f8b3622cbbaf8159b3cc1a8 (PR-294) 11:45:55 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 11:45:55 > git config --add remote.origin.fetch +refs/pull/294/head:refs/remotes/origin/PR-294 # timeout=10 11:45:55 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 11:45:55 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 11:45:55 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 11:45:55 using GIT_SSH to set credentials SSH Credentials for GitHub 11:45:55 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/294/head:refs/remotes/origin/PR-294 +refs/heads/master:refs/remotes/origin/master # timeout=10 11:45:56 > git config core.sparsecheckout # timeout=10 11:45:56 > git checkout -f ce20d2939f9b1c811f8b3622cbbaf8159b3cc1a8 # timeout=10 11:45:56 > git remote # timeout=10 11:45:56 > git config --get remote.origin.url # timeout=10 11:45:56 using GIT_SSH to set credentials SSH Credentials for GitHub 11:45:56 > git merge 6568dd76e6ab4166df02199344f5d2342af650e5 # timeout=10 11:45:56 > git rev-parse HEAD^{commit} # timeout=10 11:45:56 > git config core.sparsecheckout # timeout=10 11:45:56 > git checkout -f ce20d2939f9b1c811f8b3622cbbaf8159b3cc1a8 # timeout=10 11:45:55 > git config core.sparsecheckout # timeout=10 11:45:55 > git checkout -f ce20d2939f9b1c811f8b3622cbbaf8159b3cc1a8 # timeout=10 11:45:55 > git remote # timeout=10 11:45:55 > git config --get remote.origin.url # timeout=10 11:45:55 using GIT_SSH to set credentials SSH Credentials for GitHub 11:45:55 > git merge 6568dd76e6ab4166df02199344f5d2342af650e5 # timeout=10 11:45:55 > git rev-parse HEAD^{commit} # timeout=10 11:45:55 > git config core.sparsecheckout # timeout=10 11:45:55 > git checkout -f ce20d2939f9b1c811f8b3622cbbaf8159b3cc1a8 # timeout=10 11:45:59 Commit message: "fix: default listening interface is [Service]/Host" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 11:46:00 ========================================================= 11:46:00 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 11:46:00 ========================================================= [Pipeline] isUnix [Pipeline] sh 11:46:00 Commit message: "fix: default listening interface is [Service]/Host" 11:46:00 + 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 . 11:46:01 Sending build context to Docker daemon 3.557MB [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 11:46:01 Step 1/21 : ARG BASE=alpine:3.11 11:46:01 Step 2/21 : FROM ${BASE} as builder 11:46:01 latest: Pulling from edgex-devops/edgex-gcc-base 11:46:01 e7c96db7181b: Pulling fs layer 11:46:01 4c13bbce0fe7: Pulling fs layer 11:46:01 6059c847ac2f: Pulling fs layer 11:46:01 4c13bbce0fe7: Verifying Checksum 11:46:01 4c13bbce0fe7: Download complete [Pipeline] unstash 11:46:01 e7c96db7181b: Verifying Checksum 11:46:01 e7c96db7181b: Download complete 11:46:01 e7c96db7181b: Pull complete 11:46:01 4c13bbce0fe7: Pull complete [Pipeline] echo 11:46:02 ========================================================= 11:46:02 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 11:46:02 ========================================================= [Pipeline] isUnix [Pipeline] sh 11:46:03 6059c847ac2f: Verifying Checksum 11:46:03 6059c847ac2f: Download complete 11:46:03 + 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 . 11:46:04 Sending build context to Docker daemon 3.557MB 11:46:04 Step 1/21 : ARG BASE=alpine:3.11 11:46:04 Step 2/21 : FROM ${BASE} as builder 11:46:04 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 11:46:04 0362ad1dd800: Pulling fs layer 11:46:04 f2cdb1532d8b: Pulling fs layer 11:46:04 37ed683be191: Pulling fs layer 11:46:04 f2cdb1532d8b: Verifying Checksum 11:46:04 f2cdb1532d8b: Download complete 11:46:04 0362ad1dd800: Verifying Checksum 11:46:04 0362ad1dd800: Download complete 11:46:05 0362ad1dd800: Pull complete 11:46:05 f2cdb1532d8b: Pull complete 11:46:07 37ed683be191: Download complete 11:46:07 6059c847ac2f: Pull complete 11:46:07 Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e 11:46:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 11:46:07 ---> 5eabd8fd8ba2 11:46:07 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 11:46:08 ---> Running in b59a1d42417d 11:46:09 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 11:46:10 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 11:46:10 (1/8) Installing ncurses-dev (6.1_p20190105-r0) 11:46:10 (2/8) Installing libuuid (2.33-r0) 11:46:10 (3/8) Installing libblkid (2.33-r0) 11:46:10 (4/8) Installing libfdisk (2.33-r0) 11:46:10 (5/8) Installing libmount (2.33-r0) 11:46:10 (6/8) Installing libsmartcols (2.33-r0) 11:46:10 (7/8) Installing util-linux-dev (2.33-r0) 11:46:10 (8/8) Installing wget (1.20.3-r0) 11:46:10 Executing busybox-1.29.3-r10.trigger 11:46:11 OK: 272 MiB in 83 packages 11:46:11 Removing intermediate container b59a1d42417d 11:46:11 ---> afd8e1b5a071 11:46:11 Step 4/21 : ENV CBOR_VERSION=0.5.0 11:46:11 ---> Running in 961a2e2a6065 11:46:11 Removing intermediate container 961a2e2a6065 11:46:11 ---> 1df066bec6a2 11:46:11 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 11:46:12 ---> Running in b4cd0f5f8ff4 11:46:12 --2020-09-21 11:46:12-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 11:46:12 Resolving github.com... 140.82.113.4 11:46:12 Connecting to github.com|140.82.113.4|:443... connected. 11:46:12 HTTP request sent, awaiting response... 302 Found 11:46:12 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 11:46:12 --2020-09-21 11:46:12-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 11:46:12 Resolving codeload.github.com... 140.82.114.9 11:46:12 Connecting to codeload.github.com|140.82.114.9|:443... connected. 11:46:12 HTTP request sent, awaiting response... 200 OK 11:46:12 Length: unspecified [application/x-gzip] 11:46:12 Saving to: 'STDOUT' 11:46:12 11:46:12 0K .......... .......... .......... .......... .......... 1.35M 11:46:12 50K .......... .......... .......... .......... .......... 2.71M 11:46:12 100K .......... .......... .......... .......... .......... 22.9M 11:46:12 150K .......... .......... .......... .......... .......... 64.9M 11:46:12 200K .......... .......... .......... .......... .......... 3.10M 11:46:12 250K .......... .......... .......... .......... .......... 10.3M 11:46:12 300K .......... .......... .......... .......... .......... 10.3M 11:46:12 350K .......... .......... .......... .......... .......... 10.9M 11:46:12 400K .......... .......... .......... .......... .......... 6.01M 11:46:12 450K .......... .......... .......... .......... .......... 8.78M 11:46:12 500K .......... .......... .......... .......... .......... 15.2M 11:46:12 550K .......... .......... .......... .......... .......... 3.88M 11:46:12 600K .......... .......... .......... .......... .......... 3.73M 11:46:12 650K .......... .......... .......... .......... .......... 5.56M 11:46:12 700K .. 55.9M=0.1s 11:46:12 11:46:12 2020-09-21 11:46:12 (4.96 MB/s) - written to stdout [719348] 11:46:12 11:46:12 -- The C compiler identification is GNU 8.3.0 11:46:12 -- The CXX compiler identification is GNU 8.3.0 11:46:12 -- Check for working C compiler: /usr/bin/cc 11:46:13 -- Check for working C compiler: /usr/bin/cc -- works 11:46:13 -- Detecting C compiler ABI info 11:46:13 -- Detecting C compiler ABI info - done 11:46:13 -- Detecting C compile features 11:46:13 -- Detecting C compile features - done 11:46:13 -- Check for working CXX compiler: /usr/bin/c++ 11:46:13 -- Check for working CXX compiler: /usr/bin/c++ -- works 11:46:13 -- Detecting CXX compiler ABI info 11:46:13 -- Detecting CXX compiler ABI info - done 11:46:13 -- Detecting CXX compile features 11:46:13 -- Detecting CXX compile features - done 11:46:13 -- Looking for include file endian.h 11:46:13 -- Looking for include file endian.h - found 11:46:13 -- Check if the system is big endian 11:46:13 -- Searching 16 bit integer 11:46:13 -- Looking for sys/types.h 11:46:13 -- Looking for sys/types.h - found 11:46:13 -- Looking for stdint.h 11:46:14 -- Looking for stdint.h - found 11:46:14 -- Looking for stddef.h 11:46:14 -- Looking for stddef.h - found 11:46:14 -- Check size of unsigned short 11:46:14 -- Check size of unsigned short - done 11:46:14 -- Using unsigned short 11:46:14 -- Check if the system is big endian - little endian 11:46:14 -- Check size of size_t 11:46:14 -- Check size of size_t - done 11:46:14 CMake Warning at examples/CMakeLists.txt:16 (find_package): 11:46:14 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 11:46:14 asked CMake to find a package configuration file provided by "cJSON", but 11:46:14 CMake did not find one. 11:46:14 11:46:14 Could not find a package configuration file provided by "cJSON" with any of 11:46:14 the following names: 11:46:14 11:46:14 cJSONConfig.cmake 11:46:14 cjson-config.cmake 11:46:14 11:46:14 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 11:46:14 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 11:46:14 provides a separate development package or SDK, be sure it has been 11:46:14 installed. 11:46:14 11:46:14 11:46:14 -- Configuring done 11:46:14 -- Generating done 11:46:14 -- Build files have been written to: /tmp/cbor 11:46:14 Scanning dependencies of target cbor_shared 11:46:14 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 11:46:14 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 11:46:14 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 11:46:14 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 11:46:14 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 11:46:15 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 11:46:15 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 11:46:15 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 11:46:15 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 11:46:15 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 11:46:15 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 11:46:15 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 11:46:15 37ed683be191: Pull complete 11:46:15 Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f 11:46:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 11:46:15 ---> b23d30803547 11:46:15 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 11:46:15 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 11:46:15 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 11:46:15 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 11:46:15 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 11:46:16 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 11:46:16 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 11:46:16 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 11:46:16 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 11:46:16 [ 40%] Linking C shared library libcbor.so 11:46:16 [ 40%] Built target cbor_shared 11:46:16 Scanning dependencies of target cbor 11:46:16 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 11:46:16 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 11:46:16 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 11:46:16 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 11:46:16 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 11:46:16 ---> Running in 7280f97eb5bd 11:46:17 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 11:46:17 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 11:46:17 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 11:46:17 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 11:46:17 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 11:46:17 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 11:46:17 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 11:46:17 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 11:46:17 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 11:46:17 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 11:46:17 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 11:46:17 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 11:46:17 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 11:46:17 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 11:46:18 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 11:46:18 [ 80%] Linking C static library libcbor.a 11:46:18 [ 80%] Built target cbor 11:46:18 Scanning dependencies of target create_items 11:46:18 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 11:46:18 [ 84%] Linking C executable create_items 11:46:18 [ 84%] Built target create_items 11:46:18 Scanning dependencies of target readfile 11:46:18 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 11:46:18 [ 88%] Linking C executable readfile 11:46:18 [ 88%] Built target readfile 11:46:18 Scanning dependencies of target streaming_parser 11:46:18 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 11:46:18 [ 92%] Linking C executable streaming_parser 11:46:18 [ 92%] Built target streaming_parser 11:46:18 Scanning dependencies of target sort 11:46:18 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 11:46:18 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 11:46:18 [ 96%] Linking C executable sort 11:46:18 [ 96%] Built target sort 11:46:18 Scanning dependencies of target hello 11:46:18 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 11:46:18 [100%] Linking C executable hello 11:46:18 [100%] Built target hello 11:46:18 Install the project... 11:46:18 -- Install configuration: "Release" 11:46:18 -- Installing: /usr/local/include/cbor/configuration.h 11:46:18 -- Installing: /usr/local/lib64/libcbor.a 11:46:18 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 11:46:18 -- Installing: /usr/local/lib64/libcbor.so.0 11:46:18 -- Installing: /usr/local/lib64/libcbor.so 11:46:18 -- Up-to-date: /usr/local/include/cbor 11:46:18 -- Installing: /usr/local/include/cbor/arrays.h 11:46:18 -- Installing: /usr/local/include/cbor/bytestrings.h 11:46:18 -- Installing: /usr/local/include/cbor/callbacks.h 11:46:18 -- Installing: /usr/local/include/cbor/common.h 11:46:18 -- Installing: /usr/local/include/cbor/data.h 11:46:18 -- Installing: /usr/local/include/cbor/encoding.h 11:46:18 -- Installing: /usr/local/include/cbor/floats_ctrls.h 11:46:18 -- Installing: /usr/local/include/cbor/internal 11:46:18 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 11:46:18 -- Installing: /usr/local/include/cbor/internal/encoders.h 11:46:18 -- Installing: /usr/local/include/cbor/internal/loaders.h 11:46:18 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 11:46:18 -- Installing: /usr/local/include/cbor/internal/stack.h 11:46:18 -- Installing: /usr/local/include/cbor/internal/unicode.h 11:46:18 -- Installing: /usr/local/include/cbor/ints.h 11:46:18 -- Installing: /usr/local/include/cbor/maps.h 11:46:18 -- Installing: /usr/local/include/cbor/serialization.h 11:46:18 -- Installing: /usr/local/include/cbor/streaming.h 11:46:18 -- Installing: /usr/local/include/cbor/strings.h 11:46:18 -- Installing: /usr/local/include/cbor/tags.h 11:46:18 -- Installing: /usr/local/include/cbor.h 11:46:18 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 11:46:19 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 11:46:19 (1/8) Installing ncurses-dev (6.1_p20190105-r0) 11:46:19 (2/8) Installing libuuid (2.33-r0) 11:46:19 (3/8) Installing libblkid (2.33-r0) 11:46:19 (4/8) Installing libfdisk (2.33-r0) 11:46:19 (5/8) Installing libmount (2.33-r0) 11:46:19 (6/8) Installing libsmartcols (2.33-r0) 11:46:19 (7/8) Installing util-linux-dev (2.33-r0) 11:46:20 (8/8) Installing wget (1.20.3-r0) 11:46:20 Executing busybox-1.29.3-r10.trigger 11:46:20 OK: 285 MiB in 83 packages 11:46:21 Removing intermediate container b4cd0f5f8ff4 11:46:21 ---> b931b6c509bb 11:46:21 Step 6/21 : RUN mkdir /tmp/sdk 11:46:21 ---> Running in a9d14d48a295 11:46:22 Removing intermediate container a9d14d48a295 11:46:22 ---> 3ddd662c7c88 11:46:22 Step 7/21 : COPY VERSION /tmp/sdk 11:46:22 ---> b470c9759fb9 11:46:22 Step 8/21 : COPY src /tmp/sdk/src 11:46:22 Removing intermediate container 7280f97eb5bd 11:46:22 ---> 8f13355a7b69 11:46:22 Step 4/21 : ENV CBOR_VERSION=0.5.0 11:46:22 ---> Running in 8d2411c0a5b5 11:46:22 Removing intermediate container 8d2411c0a5b5 11:46:22 ---> 22b6586191ee 11:46:22 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 11:46:22 ---> Running in 7787e8fa3042 11:46:23 ---> 06e1daf23dc3 11:46:23 Step 9/21 : COPY include /tmp/sdk/include 11:46:23 ---> bc8242fe56c9 11:46:23 Step 10/21 : COPY scripts /tmp/sdk/scripts 11:46:23 ---> 36e9bbcbf581 11:46:23 Step 11/21 : COPY LICENSE /tmp/sdk 11:46:23 ---> c9ac4b49baed 11:46:23 Step 12/21 : COPY Attribution.txt /tmp/sdk 11:46:23 ---> c28a818e4c0e 11:46:23 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 11:46:23 ---> Running in 3db91c175ca4 11:46:24 --2020-09-21 11:46:23-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 11:46:24 Resolving github.com... 140.82.113.4 11:46:24 Connecting to github.com|140.82.113.4|:443... connected. 11:46:24 HTTP request sent, awaiting response... 302 Found 11:46:24 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 11:46:24 --2020-09-21 11:46:24-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 11:46:24 Resolving codeload.github.com... 140.82.114.9 11:46:24 Connecting to codeload.github.com|140.82.114.9|:443... connected. 11:46:24 HTTP request sent, awaiting response... 200 OK 11:46:24 Length: unspecified [application/x-gzip] 11:46:24 Saving to: 'STDOUT' 11:46:24  11:46:24 + CPPCHECK=false 11:46:24 + DOCGEN=false 11:46:24 + TOMLVER=SDK-0.2 11:46:24 + CUTILVER=1.1-branch 11:46:24 + '[' 0 -gt 0 ] 11:46:24 + readlink -f ./scripts/build.sh 11:46:24 + dirname /tmp/sdk/scripts/build.sh 11:46:24 + dirname /tmp/sdk/scripts 11:46:24 + ROOT=/tmp/sdk 11:46:24 + cd /tmp/sdk 11:46:24 + '[' '!' -d deps ] 11:46:24 + mkdir deps 11:46:24 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 11:46:24 + tar -C deps -z -x -f - 11:46:24 --2020-09-21 11:46:24-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 11:46:24 Resolving github.com... 140.82.113.4 11:46:24 Connecting to github.com|140.82.113.4|:443... connected. 11:46:24 0K .......... .......... .......... .......... .......... 1.38M 11:46:24 50K .......... .......... .......... .......... .......... 2.63M 11:46:24 100K .......... .......... .......... .......... .......... 14.0M 11:46:24 150K .......... .......... .......... .......... .......... 3.62M 11:46:24 200K .......... .......... .......... .......... .......... 13.8M 11:46:24 250K .......... .......... .......... .......... .......... 3.10M 11:46:24 300K .......... .......... .......... .......... .......... 5.21M 11:46:24 350K .......... .......... .......... .......... .......... 4.98M 11:46:24 400K .......... .......... .......... .......... .......... 3.54M 11:46:24 450K .......... .......... .......... .......... .......... 4.08M 11:46:24 500K .......... .......... .......... .......... .......... 12.3M 11:46:24 550K .......... .......... .......... .......... .......... 5.99M 11:46:24 600K .......... .......... .......... .......... .......... 720K 11:46:24 650K .......... .......... .......... .......... .......... 2.57M 11:46:24 700K ..    295K=0.2s 11:46:24 11:46:24 2020-09-21 11:46:24 (2.81 MB/s) - written to stdout [719348] 11:46:24 11:46:24 HTTP request sent, awaiting response... 302 Found 11:46:24 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 11:46:24 --2020-09-21 11:46:24-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 11:46:24 Resolving codeload.github.com... 140.82.114.9 11:46:24 Connecting to codeload.github.com|140.82.114.9|:443... connected. 11:46:24 HTTP request sent, awaiting response... 200 OK 11:46:24 Length: unspecified [application/x-gzip] 11:46:24 Saving to: 'STDOUT' 11:46:24 11:46:24 0K .......... ......  1013K=0.02s 11:46:24 11:46:24 2020-09-21 11:46:24 (1013 KB/s) - written to stdout [16451] 11:46:24 11:46:24 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 11:46:24 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1-branch.tar.gz 11:46:24 + tar -C deps -z -x -f - 11:46:24 --2020-09-21 11:46:24-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1-branch.tar.gz 11:46:24 -- The C compiler identification is GNU 8.3.0 11:46:24 Resolving github.com... 140.82.113.4 11:46:24 Connecting to github.com|140.82.113.4|:443... connected. 11:46:24 HTTP request sent, awaiting response... 302 Found 11:46:24 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1-branch [following] 11:46:24 --2020-09-21 11:46:24-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1-branch 11:46:24 Resolving codeload.github.com... 140.82.114.9 11:46:24 Connecting to codeload.github.com|140.82.114.9|:443... connected. 11:46:25 -- The CXX compiler identification is GNU 8.3.0 11:46:25 -- Check for working C compiler: /usr/bin/cc 11:46:25 HTTP request sent, awaiting response... 200 OK 11:46:25 Length: unspecified [application/x-gzip] 11:46:25 Saving to: 'STDOUT' 11:46:25 11:46:25 0K .......... .......... .......... .......... .......... 1.54M 11:46:25 50K .......... .......... .......... .......... .......... 3.06M 11:46:25 100K .......... .......... .......... .......... .......... 19.2M 11:46:25 150K .......... .......... ..... 6.20M=0.05s 11:46:25 11:46:25 2020-09-21 11:46:25 (3.16 MB/s) - written to stdout [179880] 11:46:25 11:46:25 + mkdir -p src/c/iot 11:46:25 + cp deps/iotech-c-utils-1.1-branch/src/c/base64.c deps/iotech-c-utils-1.1-branch/src/c/component.c deps/iotech-c-utils-1.1-branch/src/c/config.c deps/iotech-c-utils-1.1-branch/src/c/container.c deps/iotech-c-utils-1.1-branch/src/c/data.c deps/iotech-c-utils-1.1-branch/src/c/hash.c deps/iotech-c-utils-1.1-branch/src/c/iot.c deps/iotech-c-utils-1.1-branch/src/c/json.c deps/iotech-c-utils-1.1-branch/src/c/logger.c deps/iotech-c-utils-1.1-branch/src/c/os.c deps/iotech-c-utils-1.1-branch/src/c/scheduler.c deps/iotech-c-utils-1.1-branch/src/c/thread.c deps/iotech-c-utils-1.1-branch/src/c/threadpool.c deps/iotech-c-utils-1.1-branch/src/c/time.c deps/iotech-c-utils-1.1-branch/src/c/yxml.c src/c/iot 11:46:25 + mkdir -p include/iot 11:46:25 + cp deps/iotech-c-utils-1.1-branch/include/iot/base64.h deps/iotech-c-utils-1.1-branch/include/iot/component.h deps/iotech-c-utils-1.1-branch/include/iot/config.h deps/iotech-c-utils-1.1-branch/include/iot/container.h deps/iotech-c-utils-1.1-branch/include/iot/data.h deps/iotech-c-utils-1.1-branch/include/iot/hash.h deps/iotech-c-utils-1.1-branch/include/iot/iot.h deps/iotech-c-utils-1.1-branch/include/iot/json.h deps/iotech-c-utils-1.1-branch/include/iot/logger.h deps/iotech-c-utils-1.1-branch/include/iot/os.h deps/iotech-c-utils-1.1-branch/include/iot/scheduler.h deps/iotech-c-utils-1.1-branch/include/iot/thread.h deps/iotech-c-utils-1.1-branch/include/iot/threadpool.h deps/iotech-c-utils-1.1-branch/include/iot/time.h deps/iotech-c-utils-1.1-branch/include/iot/typecode.h deps/iotech-c-utils-1.1-branch/include/iot/yxml.h include/iot 11:46:25 + mkdir -p include/iot/os 11:46:25 + cp deps/iotech-c-utils-1.1-branch/include/iot/os/linux.h deps/iotech-c-utils-1.1-branch/include/iot/os/macos.h deps/iotech-c-utils-1.1-branch/include/iot/os/zephyr.h include/iot/os 11:46:25 + mkdir -p /tmp/sdk/build/release 11:46:25 + cd /tmp/sdk/build/release 11:46:25 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 11:46:25 -- The C compiler identification is GNU 8.3.0 11:46:25 -- Check for working C compiler: /usr/bin/cc -- works 11:46:25 -- Detecting C compiler ABI info 11:46:25 -- Check for working C compiler: /usr/bin/cc 11:46:25 -- Check for working C compiler: /usr/bin/cc -- works 11:46:25 -- Detecting C compiler ABI info 11:46:25 -- Detecting C compiler ABI info - done 11:46:25 -- Detecting C compile features 11:46:25 -- Detecting C compiler ABI info - done 11:46:25 -- Detecting C compile features 11:46:25 -- Detecting C compile features - done 11:46:25 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 11:46:25 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 11:46:25 -- Found LIBYAML: /usr/lib/libyaml.so 11:46:25 -- Found LIBUUID: /usr/lib/libuuid.so 11:46:25 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 11:46:25 -- C SDK 0.0.0 for Linux 11:46:25 -- Performing Test CSDK_HAVE_ATOMIC 11:46:25 -- Performing Test CSDK_HAVE_ATOMIC - Success 11:46:25 -- Found Curses: /usr/lib/libcurses.so 11:46:25 -- Configuring done 11:46:26 -- Generating done 11:46:26 -- Build files have been written to: /tmp/sdk/build/release 11:46:26 + make 11:46:26 + tee release.log 11:46:26 Scanning dependencies of target csdk 11:46:26 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 11:46:26 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 11:46:26 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 11:46:26 -- Detecting C compile features - done 11:46:26 -- Check for working CXX compiler: /usr/bin/c++ 11:46:26 -- Check for working CXX compiler: /usr/bin/c++ -- works 11:46:26 -- Detecting CXX compiler ABI info 11:46:26 -- Detecting CXX compiler ABI info - done 11:46:26 -- Detecting CXX compile features 11:46:26 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 11:46:26 [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 11:46:26 [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o 11:46:27 [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o 11:46:27 [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 11:46:27 [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 11:46:27 [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 11:46:28 [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 11:46:28 [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 11:46:28 [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 11:46:28 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 11:46:28 -- Detecting CXX compile features - done 11:46:28 -- Looking for include file endian.h 11:46:28 -- Looking for include file endian.h - found 11:46:28 -- Check if the system is big endian 11:46:28 -- Searching 16 bit integer 11:46:28 -- Looking for sys/types.h 11:46:28 -- Looking for sys/types.h - found 11:46:28 -- Looking for stdint.h 11:46:29 -- Looking for stdint.h - found 11:46:29 -- Looking for stddef.h 11:46:29 [ 24%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 11:46:29 [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 11:46:29 -- Looking for stddef.h - found 11:46:29 -- Check size of unsigned short 11:46:29 [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 11:46:29 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 11:46:29 -- Check size of unsigned short - done 11:46:29 -- Using unsigned short 11:46:29 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 11:46:29 -- Check if the system is big endian - little endian 11:46:29 -- Check size of size_t 11:46:30 -- Check size of size_t - done 11:46:30 CMake Warning at examples/CMakeLists.txt:16 (find_package): 11:46:30 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 11:46:30 asked CMake to find a package configuration file provided by "cJSON", but 11:46:30 CMake did not find one. 11:46:30 11:46:30 Could not find a package configuration file provided by "cJSON" with any of 11:46:30 the following names: 11:46:30 11:46:30 cJSONConfig.cmake 11:46:30 cjson-config.cmake 11:46:30 11:46:30 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 11:46:30 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 11:46:30 provides a separate development package or SDK, be sure it has been 11:46:30 installed. 11:46:30 11:46:30 11:46:30 -- Configuring done 11:46:30 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 11:46:30 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 11:46:30 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 11:46:30 -- Generating done 11:46:30 -- Build files have been written to: /tmp/cbor 11:46:30 Scanning dependencies of target cbor_shared 11:46:30 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 11:46:30 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 11:46:30 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 11:46:30 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 11:46:30 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 11:46:30 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 11:46:31 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 11:46:31 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 11:46:31 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 11:46:31 [ 48%] Building C object c/CMakeFiles/csdk.dir/map.c.o 11:46:31 [ 50%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 11:46:31 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 11:46:31 [ 51%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 11:46:31 [ 53%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 11:46:31 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 11:46:32 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 11:46:32 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 11:46:33 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 11:46:33 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 11:46:33 [ 54%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 11:46:33 [ 56%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 11:46:33 [ 58%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 11:46:33 [ 59%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 11:46:33 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 11:46:33 [ 61%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 11:46:33 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 11:46:33 [ 62%] Building C object c/CMakeFiles/csdk.dir/service.c.o 11:46:34 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 11:46:34 [ 64%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 11:46:34 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 11:46:34 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 11:46:35 [ 66%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 11:46:35 [ 67%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 11:46:35 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 11:46:35 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 11:46:35 [ 69%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 11:46:35 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 11:46:35 [ 70%] Linking C shared library libcsdk.so 11:46:35 [ 70%] Built target csdk 11:46:35 Scanning dependencies of target template 11:46:35 [ 72%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 11:46:35 [ 74%] Linking C executable template 11:46:35 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 11:46:36 [ 74%] Built target template 11:46:36 Scanning dependencies of target device-counter 11:46:36 [ 75%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 11:46:36 [ 77%] Linking C executable device-counter 11:46:36 [ 77%] Built target device-counter 11:46:36 Scanning dependencies of target device-random 11:46:36 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 11:46:36 [ 79%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 11:46:36 [ 80%] Linking C executable device-random 11:46:36 [ 80%] Built target device-random 11:46:36 Scanning dependencies of target device-gyro 11:46:36 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 11:46:36 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 11:46:36 [ 83%] Linking C executable device-gyro 11:46:36 [ 83%] Built target device-gyro 11:46:36 Scanning dependencies of target device-bitfields 11:46:36 [ 85%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 11:46:36 [ 87%] Linking C executable device-bitfields 11:46:36 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 11:46:36 [ 87%] Built target device-bitfields 11:46:36 Scanning dependencies of target template-discovery 11:46:36 [ 88%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 11:46:36 [ 90%] Linking C executable template-discovery 11:46:36 [ 90%] Built target template-discovery 11:46:37 [ 40%] Linking C shared library libcbor.so 11:46:37 [ 40%] Built target cbor_shared 11:46:37 Scanning dependencies of target cbor 11:46:37 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 11:46:37 Scanning dependencies of target device-file 11:46:37 [ 91%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 11:46:37 [ 93%] Linking C executable device-file 11:46:37 [ 93%] Built target device-file 11:46:37 Scanning dependencies of target device-terminal 11:46:37 [ 95%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 11:46:37 [ 96%] Linking C executable device-terminal 11:46:37 [ 96%] Built target device-terminal 11:46:37 Scanning dependencies of target templatev1 11:46:37 [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o 11:46:37 [100%] Linking C executable templatev1 11:46:37 [100%] Built target templatev1 11:46:37 + + teemake package -a release.log 11:46:37 11:46:37 [ 70%] Built target csdk 11:46:37 [ 74%] Built target template 11:46:37 [ 77%] Built target device-counter 11:46:37 [ 80%] Built target device-random 11:46:37 [ 83%] Built target device-gyro 11:46:37 [ 87%] Built target device-bitfields 11:46:37 [ 90%] Built target template-discovery 11:46:37 [ 93%] Built target device-file 11:46:37 [ 96%] Built target device-terminal 11:46:37 [100%] Built target templatev1 11:46:37 Run CPack packaging tool... 11:46:37 CPack: Create package using TGZ 11:46:37 CPack: Install projects 11:46:37 CPack: - Run preinstall target for: Csdk 11:46:38 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 11:46:38 CPack: - Install project: Csdk 11:46:38 CPack: Create package 11:46:38 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 11:46:38 + '[' false '=' true ] 11:46:38 + '[' false '=' true ] 11:46:38 + mkdir -p /tmp/sdk/build/debug 11:46:38 + cd /tmp/sdk/build/debug 11:46:38 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 11:46:38 -- The C compiler identification is GNU 8.3.0 11:46:38 -- Check for working C compiler: /usr/bin/cc 11:46:38 -- Check for working C compiler: /usr/bin/cc -- works 11:46:38 -- Detecting C compiler ABI info 11:46:38 -- Detecting C compiler ABI info - done 11:46:38 -- Detecting C compile features 11:46:38 -- Detecting C compile features - done 11:46:38 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 11:46:38 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 11:46:38 -- Found LIBYAML: /usr/lib/libyaml.so 11:46:38 -- Found LIBUUID: /usr/lib/libuuid.so 11:46:38 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 11:46:38 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 11:46:38 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 11:46:38 -- C SDK 0.0.0 for Linux 11:46:38 -- Performing Test CSDK_HAVE_ATOMIC 11:46:38 -- Performing Test CSDK_HAVE_ATOMIC - Success 11:46:38 -- Found Curses: /usr/lib/libcurses.so 11:46:38 -- Configuring done 11:46:38 -- Generating done 11:46:38 -- Build files have been written to: /tmp/sdk/build/debug 11:46:38 + make 11:46:38 + tee debug.log 11:46:38 Scanning dependencies of target csdk 11:46:38 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 11:46:38 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 11:46:38 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 11:46:39 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 11:46:39 [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 11:46:39 [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o 11:46:39 [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o 11:46:39 [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 11:46:39 [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 11:46:39 [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 11:46:39 [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 11:46:39 [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 11:46:39 [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 11:46:39 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 11:46:40 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 11:46:40 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 11:46:40 [ 24%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 11:46:40 [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 11:46:40 [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 11:46:40 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 11:46:40 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 11:46:40 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 11:46:40 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 11:46:40 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 11:46:40 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 11:46:40 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 11:46:40 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 11:46:40 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 11:46:40 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 11:46:41 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 11:46:41 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 11:46:41 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 11:46:41 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 11:46:41 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 11:46:41 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 11:46:41 [ 48%] Building C object c/CMakeFiles/csdk.dir/map.c.o 11:46:41 [ 50%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 11:46:41 [ 51%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 11:46:41 [ 53%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 11:46:41 [ 54%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 11:46:41 [ 56%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 11:46:41 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 11:46:41 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 11:46:42 [ 58%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 11:46:42 [ 59%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 11:46:42 [ 61%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 11:46:42 [ 62%] Building C object c/CMakeFiles/csdk.dir/service.c.o 11:46:42 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 11:46:42 [ 64%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 11:46:42 [ 66%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 11:46:42 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 11:46:42 [ 67%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 11:46:42 [ 69%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 11:46:42 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 11:46:43 [ 70%] Linking C shared library libcsdk.so 11:46:43 [ 70%] Built target csdk 11:46:43 Scanning dependencies of target template 11:46:43 [ 72%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 11:46:43 [ 74%] Linking C executable template 11:46:43 [ 74%] Built target template 11:46:43 Scanning dependencies of target device-counter 11:46:43 [ 75%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 11:46:43 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 11:46:43 [ 77%] Linking C executable device-counter 11:46:43 [ 77%] Built target device-counter 11:46:43 Scanning dependencies of target device-random 11:46:43 [ 79%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 11:46:43 [ 80%] Linking C executable device-random 11:46:43 [ 80%] Built target device-random 11:46:43 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 11:46:43 Scanning dependencies of target device-gyro 11:46:43 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 11:46:43 [ 83%] Linking C executable device-gyro 11:46:43 [ 83%] Built target device-gyro 11:46:43 Scanning dependencies of target device-bitfields 11:46:43 [ 85%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 11:46:43 [ 87%] Linking C executable device-bitfields 11:46:43 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 11:46:43 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 11:46:43 [ 87%] Built target device-bitfields 11:46:43 Scanning dependencies of target template-discovery 11:46:43 [ 88%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 11:46:43 [ 90%] Linking C executable template-discovery 11:46:43 [ 90%] Built target template-discovery 11:46:43 Scanning dependencies of target device-file 11:46:43 [ 91%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 11:46:44 [ 93%] Linking C executable device-file 11:46:44 [ 93%] Built target device-file 11:46:44 Scanning dependencies of target device-terminal 11:46:44 [ 95%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 11:46:44 [ 96%] Linking C executable device-terminal 11:46:44 [ 96%] Built target device-terminal 11:46:44 Scanning dependencies of target templatev1 11:46:44 [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o 11:46:44 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 11:46:44 [ 80%] Linking C static library libcbor.a 11:46:44 [ 80%] Built target cbor 11:46:44 Scanning dependencies of target create_items 11:46:44 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 11:46:44 [100%] Linking C executable templatev1 11:46:44 [100%] Built target templatev1 11:46:44 make: Entering directory '/tmp/sdk/build/release' 11:46:44 make[1]: Entering directory '/tmp/sdk/build/release' 11:46:44 make[2]: Entering directory '/tmp/sdk/build/release' 11:46:44 make[2]: Leaving directory '/tmp/sdk/build/release' 11:46:44 [ 70%] Built target csdk 11:46:44 make[2]: Entering directory '/tmp/sdk/build/release' 11:46:44 make[2]: Leaving directory '/tmp/sdk/build/release' 11:46:44 [ 74%] Built target template 11:46:44 make[2]: Entering directory '/tmp/sdk/build/release' 11:46:44 make[2]: Leaving directory '/tmp/sdk/build/release' 11:46:44 [ 77%] Built target device-counter 11:46:44 make[2]: Entering directory '/tmp/sdk/build/release' 11:46:44 make[2]: Leaving directory '/tmp/sdk/build/release' 11:46:44 [ 80%] Built target device-random 11:46:44 make[2]: Entering directory '/tmp/sdk/build/release' 11:46:44 make[2]: Leaving directory '/tmp/sdk/build/release' 11:46:44 [ 83%] Built target device-gyro 11:46:44 make[2]: Entering directory '/tmp/sdk/build/release' 11:46:44 make[2]: Leaving directory '/tmp/sdk/build/release' 11:46:44 [ 87%] Built target device-bitfields 11:46:44 make[2]: Entering directory '/tmp/sdk/build/release' 11:46:44 make[2]: Leaving directory '/tmp/sdk/build/release' 11:46:44 [ 84%] Linking C executable create_items 11:46:44 [ 84%] Built target create_items 11:46:44 [ 90%] Built target template-discovery 11:46:44 make[2]: Entering directory '/tmp/sdk/build/release' 11:46:44 make[2]: Leaving directory '/tmp/sdk/build/release' 11:46:44 [ 93%] Built target device-file 11:46:44 make[2]: Entering directory '/tmp/sdk/build/release' 11:46:44 make[2]: Leaving directory '/tmp/sdk/build/release' 11:46:44 [ 96%] Built target device-terminal 11:46:44 make[2]: Entering directory '/tmp/sdk/build/release' 11:46:44 make[2]: Leaving directory '/tmp/sdk/build/release' 11:46:44 [100%] Built target templatev1 11:46:44 make[1]: Leaving directory '/tmp/sdk/build/release' 11:46:44 Install the project... 11:46:44 -- Install configuration: "Release" 11:46:44 -- Installing: /usr/local/lib/libcsdk.so 11:46:44 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 11:46:44 -- Up-to-date: /usr/local/include 11:46:44 -- Installing: /usr/local/include/devsdk 11:46:44 -- Installing: /usr/local/include/devsdk/devsdk-base.h 11:46:44 -- Installing: /usr/local/include/devsdk/devsdk.h 11:46:44 -- Installing: /usr/local/include/edgex 11:46:44 -- Installing: /usr/local/include/edgex/device-mgmt.h 11:46:44 -- Installing: /usr/local/include/edgex/devices.h 11:46:44 -- Installing: /usr/local/include/edgex/devsdk.h 11:46:44 -- Installing: /usr/local/include/edgex/edgex-base.h 11:46:44 -- Installing: /usr/local/include/edgex/edgex.h 11:46:44 -- Installing: /usr/local/include/edgex/error.h 11:46:44 -- Installing: /usr/local/include/edgex/eventgen.h 11:46:44 -- Installing: /usr/local/include/edgex/os.h 11:46:44 -- Installing: /usr/local/include/edgex/profiles.h 11:46:44 -- Installing: /usr/local/include/edgex/rest-server.h 11:46:44 -- Installing: /usr/local/include/edgex/csdk-defs.h 11:46:44 -- Installing: /usr/local/include/iot 11:46:44 -- Installing: /usr/local/include/iot/base64.h 11:46:44 -- Installing: /usr/local/include/iot/component.h 11:46:44 -- Installing: /usr/local/include/iot/config.h 11:46:44 -- Installing: /usr/local/include/iot/container.h 11:46:44 -- Installing: /usr/local/include/iot/data.h 11:46:44 -- Installing: /usr/local/include/iot/hash.h 11:46:44 -- Installing: /usr/local/include/iot/iot.h 11:46:44 -- Installing: /usr/local/include/iot/json.h 11:46:44 -- Installing: /usr/local/include/iot/logger.h 11:46:44 -- Installing: /usr/local/include/iot/os.h 11:46:44 -- Installing: /usr/local/include/iot/scheduler.h 11:46:44 -- Installing: /usr/local/include/iot/thread.h 11:46:44 -- Installing: /usr/local/include/iot/threadpool.h 11:46:44 -- Installing: /usr/local/include/iot/time.h 11:46:44 -- Installing: /usr/local/include/iot/typecode.h 11:46:44 -- Installing: /usr/local/include/iot/yxml.h 11:46:44 -- Installing: /usr/local/include/iot/os 11:46:44 -- Installing: /usr/local/include/iot/os/linux.h 11:46:44 -- Installing: /usr/local/include/iot/os/macos.h 11:46:44 -- Installing: /usr/local/include/iot/os/zephyr.h 11:46:44 -- Installing: /usr/local/share/device-sdk-c/LICENSE 11:46:44 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 11:46:44 make: Leaving directory '/tmp/sdk/build/release' 11:46:44 Scanning dependencies of target readfile 11:46:44 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 11:46:44 [ 88%] Linking C executable readfile 11:46:45 [ 88%] Built target readfile 11:46:45 Scanning dependencies of target streaming_parser 11:46:45 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 11:46:45 [ 92%] Linking C executable streaming_parser 11:46:45 [ 92%] Built target streaming_parser 11:46:45 Scanning dependencies of target sort 11:46:45 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 11:46:45 [ 96%] Linking C executable sort 11:46:45 [ 96%] Built target sort 11:46:45 Scanning dependencies of target hello 11:46:45 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 11:46:46 [100%] Linking C executable hello 11:46:46 [100%] Built target hello 11:46:46 Install the project... 11:46:46 -- Install configuration: "Release" 11:46:46 -- Installing: /usr/local/include/cbor/configuration.h 11:46:46 -- Installing: /usr/local/lib64/libcbor.a 11:46:46 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 11:46:46 -- Installing: /usr/local/lib64/libcbor.so.0 11:46:46 -- Installing: /usr/local/lib64/libcbor.so 11:46:46 -- Up-to-date: /usr/local/include/cbor 11:46:46 -- Installing: /usr/local/include/cbor/streaming.h 11:46:46 -- Installing: /usr/local/include/cbor/ints.h 11:46:46 -- Installing: /usr/local/include/cbor/floats_ctrls.h 11:46:46 -- Installing: /usr/local/include/cbor/bytestrings.h 11:46:46 -- Installing: /usr/local/include/cbor/encoding.h 11:46:46 -- Installing: /usr/local/include/cbor/serialization.h 11:46:46 -- Installing: /usr/local/include/cbor/data.h 11:46:46 -- Installing: /usr/local/include/cbor/common.h 11:46:46 -- Installing: /usr/local/include/cbor/callbacks.h 11:46:46 -- Installing: /usr/local/include/cbor/strings.h 11:46:46 -- Installing: /usr/local/include/cbor/tags.h 11:46:46 -- Installing: /usr/local/include/cbor/internal 11:46:46 -- Installing: /usr/local/include/cbor/internal/encoders.h 11:46:46 -- Installing: /usr/local/include/cbor/internal/loaders.h 11:46:46 -- Installing: /usr/local/include/cbor/internal/stack.h 11:46:46 -- Installing: /usr/local/include/cbor/internal/unicode.h 11:46:46 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 11:46:46 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 11:46:46 -- Installing: /usr/local/include/cbor/arrays.h 11:46:46 -- Installing: /usr/local/include/cbor/maps.h 11:46:46 -- Installing: /usr/local/include/cbor.h 11:46:46 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 11:46:46 Removing intermediate container 3db91c175ca4 11:46:46 ---> da7c66582f38 11:46:46 Step 14/21 : FROM ${BASE} 11:46:46 ---> 5eabd8fd8ba2 11:46:46 Step 15/21 : MAINTAINER IOTech 11:46:46 ---> Running in 4e9f9d74fad4 11:46:46 Removing intermediate container 4e9f9d74fad4 11:46:46 ---> 8f009ded6e6e 11:46:46 Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid 11:46:46 ---> Running in e91063adc2d2 11:46:47 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 11:46:48 Removing intermediate container 7787e8fa3042 11:46:48 ---> 5aa5867bee44 11:46:48 Step 6/21 : RUN mkdir /tmp/sdk 11:46:48 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 11:46:48 (1/3) Installing curl (7.64.0-r4) 11:46:48 ---> Running in 33862a136645 11:46:48 (2/3) Installing libuuid (2.33-r0) 11:46:48 (3/3) Installing wget (1.20.3-r0) 11:46:48 Executing busybox-1.29.3-r10.trigger 11:46:48 OK: 268 MiB in 78 packages 11:46:49 Removing intermediate container e91063adc2d2 11:46:49 ---> b016d5c175be 11:46:49 Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 11:46:49 ---> c677c686814d 11:46:49 Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 11:46:49 ---> f73fc2fe3aa9 11:46:49 Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib 11:46:49 ---> d946c58dac30 11:46:49 Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 11:46:49 ---> 686fc055bbed 11:46:49 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 11:46:50 ---> 95ea382efb50 11:46:50 Successfully built 95ea382efb50 11:46:50 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 11:46:51 + docker inspect -f . ci-base-image-x86_64 11:46:51 . [Pipeline] withDockerContainer 11:46:51 Removing intermediate container 33862a136645 11:46:51 ---> 25003ada54ab 11:46:51 Step 7/21 : COPY VERSION /tmp/sdk 11:46:51 prd-centos7-docker-4c-2g-662 does not seem to be running inside a container 11:46:51 $ 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 ******** ci-base-image-x86_64 cat 11:46:51 ---> 0361f2b2362d 11:46:51 Step 8/21 : COPY src /tmp/sdk/src 11:46:51 $ docker top 8429116611a3053cbe089c58dbb3439f64e4e6634838e045f8cbe4ab1c617450 -eo pid,comm [Pipeline] { [Pipeline] sh 11:46:52 + make test 11:46:52 echo "make test" 11:46:52 make test [Pipeline] } 11:46:52 $ docker stop --time=1 8429116611a3053cbe089c58dbb3439f64e4e6634838e045f8cbe4ab1c617450 11:46:52 ---> db729c077bbc 11:46:52 Step 9/21 : COPY include /tmp/sdk/include 11:46:53 ---> f5408f5b86a9 11:46:53 Step 10/21 : COPY scripts /tmp/sdk/scripts 11:46:53 $ docker rm -f 8429116611a3053cbe089c58dbb3439f64e4e6634838e045f8cbe4ab1c617450 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script 11:46:53 ---> f2422f592e3f 11:46:53 Step 11/21 : COPY LICENSE /tmp/sdk [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 11:46:54 ---> 84d02a2fa868 11:46:54 Step 12/21 : COPY Attribution.txt /tmp/sdk 11:46:55 ---> 952d6c13a3dc 11:46:55 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 11:46:55 ---> Running in 4e8f2c213296 [Pipeline] sh 11:46:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:46:56 + ls -al . 11:46:56 total 160 11:46:56 drwxrwxr-x. 9 jenkins jenkins 275 Sep 21 11:46 . 11:46:56 drwxrwxr-x. 4 jenkins jenkins 28 Sep 21 11:45 .. 11:46:56 -rw-rw-r--. 1 jenkins jenkins 3104 Sep 21 11:45 Attribution.txt 11:46:56 -rw-rw-r--. 1 jenkins jenkins 5980 Sep 21 11:45 CHANGES 11:46:56 drwxrwxr-x. 2 jenkins jenkins 144 Sep 21 11:45 docs 11:46:56 -rw-rw-r--. 1 jenkins jenkins 108574 Sep 21 11:45 Doxyfile 11:46:56 drwxrwxr-x. 8 jenkins jenkins 179 Sep 21 11:45 .git 11:46:56 drwxrwxr-x. 2 jenkins jenkins 38 Sep 21 11:45 .github 11:46:56 -rw-rw-r--. 1 jenkins jenkins 176 Sep 21 11:45 .gitignore 11:46:56 drwxrwxr-x. 4 jenkins jenkins 33 Sep 21 11:45 include 11:46:56 -rw-rw-r--. 1 jenkins jenkins 794 Sep 21 11:45 Jenkinsfile 11:46:56 -rw-rw-r--. 1 jenkins jenkins 10174 Sep 21 11:45 LICENSE 11:46:56 -rw-rw-r--. 1 jenkins jenkins 449 Sep 21 11:45 Makefile 11:46:56 -rw-rw-r--. 1 jenkins jenkins 2697 Sep 21 11:45 README.md 11:46:56 -rw-rw-r--. 1 jenkins jenkins 5977 Sep 21 11:45 README.v2.md 11:46:56 drwxrwxr-x. 2 jenkins jenkins 108 Sep 21 11:45 scripts 11:46:56 drwxrwxr-x. 3 jenkins jenkins 72 Sep 21 11:46 .semver 11:46:56 drwxrwxr-x. 4 jenkins jenkins 50 Sep 21 11:45 src 11:46:56 -rw-rw-r--. 1 jenkins jenkins 5 Sep 21 11:43 VERSION [Pipeline] isUnix [Pipeline] sh 11:46:56 + 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=ce20d2939f9b1c811f8b3622cbbaf8159b3cc1a8 --label arch=amd64 --label version=0.0.0 . 11:46:56 Sending build context to Docker daemon 3.557MB 11:46:56 Step 1/15 : ARG BASE=alpine:3.11 11:46:56 Step 2/15 : FROM ${BASE} 11:46:56 ---> 95ea382efb50 11:46:56 Step 3/15 : MAINTAINER IOTech 11:46:56 ---> Running in 7ee6b388808e 11:46:56 + CPPCHECK=false 11:46:56 + DOCGEN=false 11:46:56 + TOMLVER=SDK-0.2 11:46:56 + CUTILVER=1.1-branch 11:46:56 + '[' 0 -gt 0 ] 11:46:56 + readlink -f ./scripts/build.sh 11:46:56 + dirname /tmp/sdk/scripts/build.sh 11:46:56 + dirname /tmp/sdk/scripts 11:46:56 + ROOT=/tmp/sdk 11:46:56 + cd /tmp/sdk 11:46:56 + '[' '!' -d deps ] 11:46:56 + mkdir deps 11:46:56 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 11:46:56 + tar -C deps -z -x -f - 11:46:56 --2020-09-21 11:46:56-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 11:46:56 Resolving github.com... 140.82.112.4 11:46:56 Connecting to github.com|140.82.112.4|:443... connected. 11:46:56 Removing intermediate container 7ee6b388808e 11:46:56 ---> 5826289d46ac 11:46:56 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 11:46:56 ---> Running in 01ed3fdc3c79 11:46:57 HTTP request sent, awaiting response... 302 Found 11:46:57 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 11:46:57 --2020-09-21 11:46:57-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 11:46:57 Resolving codeload.github.com... 140.82.114.9 11:46:57 Connecting to codeload.github.com|140.82.114.9|:443... connected. 11:46:57 HTTP request sent, awaiting response... 200 OK 11:46:57 Length: unspecified [application/x-gzip] 11:46:57 Saving to: 'STDOUT' 11:46:57  11:46:57 0K .......... ......   910K=0.02s 11:46:57 11:46:57 2020-09-21 11:46:57 (910 KB/s) - written to stdout [16451] 11:46:57 11:46:57 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 11:46:57 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1-branch.tar.gz 11:46:57 + tar -C deps -z -x -f - 11:46:57 --2020-09-21 11:46:57-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1-branch.tar.gz 11:46:57 Resolving github.com... 140.82.112.4 11:46:57 Connecting to github.com|140.82.112.4|:443... connected. 11:46:57 HTTP request sent, awaiting response... 302 Found 11:46:57 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1-branch [following] 11:46:57 --2020-09-21 11:46:57-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1-branch 11:46:57 Resolving codeload.github.com... 140.82.114.9 11:46:57 Connecting to codeload.github.com|140.82.114.9|:443... connected. 11:46:57 HTTP request sent, awaiting response... 200 OK 11:46:57 Length: unspecified [application/x-gzip] 11:46:57 Saving to: 'STDOUT' 11:46:57  11:46:57 0K .......... .......... .......... .......... .......... 1.39M 11:46:57 50K .......... .......... .......... .......... .......... 2.95M 11:46:57 100K .......... .......... .......... .......... .......... 5.39M 11:46:57 150K .......... .......... .....  1.52M=0.08s 11:46:57 11:46:57 2020-09-21 11:46:57 (2.22 MB/s) - written to stdout [179880] 11:46:57 11:46:57 + mkdir -p src/c/iot 11:46:57 + cp deps/iotech-c-utils-1.1-branch/src/c/base64.c deps/iotech-c-utils-1.1-branch/src/c/component.c deps/iotech-c-utils-1.1-branch/src/c/config.c deps/iotech-c-utils-1.1-branch/src/c/container.c deps/iotech-c-utils-1.1-branch/src/c/data.c deps/iotech-c-utils-1.1-branch/src/c/hash.c deps/iotech-c-utils-1.1-branch/src/c/iot.c deps/iotech-c-utils-1.1-branch/src/c/json.c deps/iotech-c-utils-1.1-branch/src/c/logger.c deps/iotech-c-utils-1.1-branch/src/c/os.c deps/iotech-c-utils-1.1-branch/src/c/scheduler.c deps/iotech-c-utils-1.1-branch/src/c/thread.c deps/iotech-c-utils-1.1-branch/src/c/threadpool.c deps/iotech-c-utils-1.1-branch/src/c/time.c deps/iotech-c-utils-1.1-branch/src/c/yxml.c src/c/iot 11:46:57 + mkdir -p include/iot 11:46:57 + cp deps/iotech-c-utils-1.1-branch/include/iot/base64.h deps/iotech-c-utils-1.1-branch/include/iot/component.h deps/iotech-c-utils-1.1-branch/include/iot/config.h deps/iotech-c-utils-1.1-branch/include/iot/container.h deps/iotech-c-utils-1.1-branch/include/iot/data.h deps/iotech-c-utils-1.1-branch/include/iot/hash.h deps/iotech-c-utils-1.1-branch/include/iot/iot.h deps/iotech-c-utils-1.1-branch/include/iot/json.h deps/iotech-c-utils-1.1-branch/include/iot/logger.h deps/iotech-c-utils-1.1-branch/include/iot/os.h deps/iotech-c-utils-1.1-branch/include/iot/scheduler.h deps/iotech-c-utils-1.1-branch/include/iot/thread.h deps/iotech-c-utils-1.1-branch/include/iot/threadpool.h deps/iotech-c-utils-1.1-branch/include/iot/time.h deps/iotech-c-utils-1.1-branch/include/iot/typecode.h deps/iotech-c-utils-1.1-branch/include/iot/yxml.h include/iot 11:46:57 + mkdir -p include/iot/os 11:46:57 + cp deps/iotech-c-utils-1.1-branch/include/iot/os/linux.h deps/iotech-c-utils-1.1-branch/include/iot/os/macos.h deps/iotech-c-utils-1.1-branch/include/iot/os/zephyr.h include/iot/os 11:46:57 + mkdir -p /tmp/sdk/build/release 11:46:57 + cd /tmp/sdk/build/release 11:46:57 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 11:46:57 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 11:46:58 -- The C compiler identification is GNU 8.3.0 11:46:58 -- Check for working C compiler: /usr/bin/cc 11:46:58 -- Check for working C compiler: /usr/bin/cc -- works 11:46:58 -- Detecting C compiler ABI info 11:46:58 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 11:46:58 -- Detecting C compiler ABI info - done 11:46:58 -- Detecting C compile features 11:46:58 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 11:46:58 (2/6) Installing libblkid (2.33-r0) 11:46:59 (3/6) Installing libfdisk (2.33-r0) 11:46:59 (4/6) Installing libmount (2.33-r0) 11:46:59 (5/6) Installing libsmartcols (2.33-r0) 11:46:59 (6/6) Installing util-linux-dev (2.33-r0) 11:46:59 -- Detecting C compile features - done 11:46:59 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 11:46:59 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 11:46:59 -- Found LIBYAML: /usr/lib/libyaml.so 11:46:59 -- Found LIBUUID: /usr/lib/libuuid.so 11:46:59 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 11:46:59 -- C SDK 0.0.0 for Linux 11:46:59 -- Performing Test CSDK_HAVE_ATOMIC 11:46:59 -- Performing Test CSDK_HAVE_ATOMIC - Success 11:46:59 -- Found Curses: /usr/lib/libcurses.so 11:46:59 Executing busybox-1.29.3-r10.trigger 11:46:59 OK: 272 MiB in 84 packages 11:46:59 -- Configuring done 11:47:00 Removing intermediate container 01ed3fdc3c79 11:47:00 ---> c478410f53a4 11:47:00 Step 5/15 : COPY VERSION /edgex-c-sdk/ 11:47:00 -- Generating done 11:47:00 -- Build files have been written to: /tmp/sdk/build/release 11:47:00 + + teemake release.log 11:47:00 11:47:00 Scanning dependencies of target csdk 11:47:00 ---> 4f3af327b5d2 11:47:00 Step 6/15 : COPY src /edgex-c-sdk/src/ 11:47:00 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 11:47:00 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 11:47:01 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 11:47:01 ---> d71766421c00 11:47:01 Step 7/15 : COPY include /edgex-c-sdk/include/ 11:47:01 ---> 187a830e749a 11:47:01 Step 8/15 : COPY scripts /edgex-c-sdk/scripts 11:47:01 ---> e93010ce26c0 11:47:01 Step 9/15 : COPY LICENSE /edgex-c-sdk/ 11:47:01 ---> a77bf91c907c 11:47:01 Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ 11:47:01 ---> 5a994353232d 11:47:01 Step 11/15 : WORKDIR /edgex-c-sdk 11:47:01 ---> Running in e02a61e3cdcc 11:47:02 Removing intermediate container e02a61e3cdcc 11:47:02 ---> 0c47d0e7aac1 11:47:02 Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 11:47:02 ---> Running in ca4915e9aacd 11:47:02 Removing intermediate container ca4915e9aacd 11:47:02 ---> bba437fafbb4 11:47:02 Step 13/15 : LABEL arch=amd64 11:47:02 ---> Running in cbf224c48b30 11:47:02 Removing intermediate container cbf224c48b30 11:47:02 ---> 851ceb7eb934 11:47:02 Step 14/15 : LABEL git_sha=ce20d2939f9b1c811f8b3622cbbaf8159b3cc1a8 11:47:02 ---> Running in e63779b272c9 11:47:02 Removing intermediate container e63779b272c9 11:47:02 ---> dc0bc82ea8aa 11:47:02 Step 15/15 : LABEL version=0.0.0 11:47:02 ---> Running in 9920670debef 11:47:02 Removing intermediate container 9920670debef 11:47:02 ---> e2c2a4c38b48 11:47:02 [Warning] One or more build-args [MAKE ARCH] were not consumed 11:47:02 Successfully built e2c2a4c38b48 11:47:02 Successfully tagged docker-device-sdk-c:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) 11:47:03 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.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 11:47:03 [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node 11:47:04 [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o [Pipeline] } [Pipeline] // stage [Pipeline] } 11:47:05 [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o 11:47:07 [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 11:47:07 [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 11:47:08 [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 11:47:08 [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 11:47:09 [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 11:47:09 [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 11:47:09 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 11:47:13 [ 24%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 11:47:13 [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 11:47:13 [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 11:47:13 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 11:47:14 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 11:47:16 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 11:47:17 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 11:47:17 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 11:47:18 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 11:47:18 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 11:47:18 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 11:47:19 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 11:47:19 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 11:47:20 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 11:47:20 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 11:47:22 [ 48%] Building C object c/CMakeFiles/csdk.dir/map.c.o 11:47:22 [ 50%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 11:47:23 [ 51%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 11:47:24 [ 53%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 11:47:28 [ 54%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 11:47:28 [ 56%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 11:47:29 [ 58%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 11:47:29 [ 59%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 11:47:30 [ 61%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 11:47:31 [ 62%] Building C object c/CMakeFiles/csdk.dir/service.c.o 11:47:33 [ 64%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 11:47:36 [ 66%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 11:47:37 [ 67%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 11:47:38 [ 69%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 11:47:38 [ 70%] Linking C shared library libcsdk.so 11:47:38 [ 70%] Built target csdk 11:47:38 Scanning dependencies of target template 11:47:38 [ 72%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 11:47:39 [ 74%] Linking C executable template 11:47:39 [ 74%] Built target template 11:47:39 Scanning dependencies of target device-counter 11:47:39 [ 75%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 11:47:40 [ 77%] Linking C executable device-counter 11:47:40 [ 77%] Built target device-counter 11:47:40 Scanning dependencies of target device-random 11:47:40 [ 79%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 11:47:41 [ 80%] Linking C executable device-random 11:47:41 [ 80%] Built target device-random 11:47:41 Scanning dependencies of target device-gyro 11:47:41 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 11:47:41 [ 83%] Linking C executable device-gyro 11:47:42 [ 83%] Built target device-gyro 11:47:42 Scanning dependencies of target device-bitfields 11:47:42 [ 85%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 11:47:42 [ 87%] Linking C executable device-bitfields 11:47:42 [ 87%] Built target device-bitfields 11:47:42 Scanning dependencies of target template-discovery 11:47:42 [ 88%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 11:47:43 [ 90%] Linking C executable template-discovery 11:47:43 [ 90%] Built target template-discovery 11:47:43 Scanning dependencies of target device-file 11:47:43 [ 91%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 11:47:44 [ 93%] Linking C executable device-file 11:47:44 [ 93%] Built target device-file 11:47:44 Scanning dependencies of target device-terminal 11:47:44 [ 95%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 11:47:44 [ 96%] Linking C executable device-terminal 11:47:45 [ 96%] Built target device-terminal 11:47:45 Scanning dependencies of target templatev1 11:47:45 [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o 11:47:45 [100%] Linking C executable templatev1 11:47:46 [100%] Built target templatev1 11:47:46 + make package 11:47:46 + tee -a release.log 11:47:46 [ 70%] Built target csdk 11:47:46 [ 74%] Built target template 11:47:46 [ 77%] Built target device-counter 11:47:46 [ 80%] Built target device-random 11:47:46 [ 83%] Built target device-gyro 11:47:46 [ 87%] Built target device-bitfields 11:47:46 [ 90%] Built target template-discovery 11:47:46 [ 93%] Built target device-file 11:47:46 [ 96%] Built target device-terminal 11:47:46 [100%] Built target templatev1 11:47:46 Run CPack packaging tool... 11:47:46 CPack: Create package using TGZ 11:47:46 CPack: Install projects 11:47:46 CPack: - Run preinstall target for: Csdk 11:47:47 CPack: - Install project: Csdk 11:47:47 CPack: Create package 11:47:47 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 11:47:47 + '[' false '=' true ] 11:47:47 + '[' false '=' true ] 11:47:47 + mkdir -p /tmp/sdk/build/debug 11:47:47 + cd /tmp/sdk/build/debug 11:47:47 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 11:47:47 -- The C compiler identification is GNU 8.3.0 11:47:47 -- Check for working C compiler: /usr/bin/cc 11:47:47 -- Check for working C compiler: /usr/bin/cc -- works 11:47:47 -- Detecting C compiler ABI info 11:47:48 -- Detecting C compiler ABI info - done 11:47:48 -- Detecting C compile features 11:47:48 -- Detecting C compile features - done 11:47:48 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 11:47:48 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 11:47:48 -- Found LIBYAML: /usr/lib/libyaml.so 11:47:48 -- Found LIBUUID: /usr/lib/libuuid.so 11:47:48 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 11:47:48 -- C SDK 0.0.0 for Linux 11:47:48 -- Performing Test CSDK_HAVE_ATOMIC 11:47:49 -- Performing Test CSDK_HAVE_ATOMIC - Success 11:47:49 -- Found Curses: /usr/lib/libcurses.so 11:47:49 -- Configuring done 11:47:49 -- Generating done 11:47:49 -- Build files have been written to: /tmp/sdk/build/debug 11:47:49 + make 11:47:49 + tee debug.log 11:47:49 Scanning dependencies of target csdk 11:47:49 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 11:47:50 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 11:47:50 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 11:47:50 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 11:47:51 [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 11:47:51 [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o 11:47:51 [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o 11:47:52 [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 11:47:52 [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 11:47:53 [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 11:47:53 [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 11:47:53 [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 11:47:53 [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 11:47:54 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 11:47:55 [ 24%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 11:47:55 [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 11:47:55 [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 11:47:55 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 11:47:55 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 11:47:56 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 11:47:56 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 11:47:56 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 11:47:56 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 11:47:57 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 11:47:57 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 11:47:57 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 11:47:57 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 11:47:58 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 11:47:58 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 11:47:58 [ 48%] Building C object c/CMakeFiles/csdk.dir/map.c.o 11:47:58 [ 50%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 11:47:59 [ 51%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 11:47:59 [ 53%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 11:48:00 [ 54%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 11:48:00 [ 56%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 11:48:01 [ 58%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 11:48:01 [ 59%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 11:48:01 [ 61%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 11:48:02 [ 62%] Building C object c/CMakeFiles/csdk.dir/service.c.o 11:48:03 [ 64%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 11:48:03 [ 66%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 11:48:03 [ 67%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 11:48:04 [ 69%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 11:48:04 [ 70%] Linking C shared library libcsdk.so 11:48:04 [ 70%] Built target csdk 11:48:04 Scanning dependencies of target template 11:48:05 [ 72%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 11:48:05 [ 74%] Linking C executable template 11:48:05 [ 74%] Built target template 11:48:05 Scanning dependencies of target device-counter 11:48:05 [ 75%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 11:48:05 [ 77%] Linking C executable device-counter 11:48:05 [ 77%] Built target device-counter 11:48:05 Scanning dependencies of target device-random 11:48:05 [ 79%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 11:48:06 [ 80%] Linking C executable device-random 11:48:06 [ 80%] Built target device-random 11:48:06 Scanning dependencies of target device-gyro 11:48:06 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 11:48:06 [ 83%] Linking C executable device-gyro 11:48:07 [ 83%] Built target device-gyro 11:48:07 Scanning dependencies of target device-bitfields 11:48:07 [ 85%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 11:48:07 [ 87%] Linking C executable device-bitfields 11:48:07 [ 87%] Built target device-bitfields 11:48:07 Scanning dependencies of target template-discovery 11:48:07 [ 88%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 11:48:07 [ 90%] Linking C executable template-discovery 11:48:08 [ 90%] Built target template-discovery 11:48:08 Scanning dependencies of target device-file 11:48:08 [ 91%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 11:48:08 [ 93%] Linking C executable device-file 11:48:08 [ 93%] Built target device-file 11:48:08 Scanning dependencies of target device-terminal 11:48:08 [ 95%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 11:48:08 [ 96%] Linking C executable device-terminal 11:48:09 [ 96%] Built target device-terminal 11:48:09 Scanning dependencies of target templatev1 11:48:09 [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o 11:48:09 [100%] Linking C executable templatev1 11:48:09 [100%] Built target templatev1 11:48:09 make: Entering directory '/tmp/sdk/build/release' 11:48:09 make[1]: Entering directory '/tmp/sdk/build/release' 11:48:09 make[2]: Entering directory '/tmp/sdk/build/release' 11:48:09 make[2]: Leaving directory '/tmp/sdk/build/release' 11:48:09 [ 70%] Built target csdk 11:48:09 make[2]: Entering directory '/tmp/sdk/build/release' 11:48:09 make[2]: Leaving directory '/tmp/sdk/build/release' 11:48:09 [ 74%] Built target template 11:48:09 make[2]: Entering directory '/tmp/sdk/build/release' 11:48:10 make[2]: Leaving directory '/tmp/sdk/build/release' 11:48:10 [ 77%] Built target device-counter 11:48:10 make[2]: Entering directory '/tmp/sdk/build/release' 11:48:10 make[2]: Leaving directory '/tmp/sdk/build/release' 11:48:10 [ 80%] Built target device-random 11:48:10 make[2]: Entering directory '/tmp/sdk/build/release' 11:48:10 make[2]: Leaving directory '/tmp/sdk/build/release' 11:48:10 [ 83%] Built target device-gyro 11:48:10 make[2]: Entering directory '/tmp/sdk/build/release' 11:48:10 make[2]: Leaving directory '/tmp/sdk/build/release' 11:48:10 [ 87%] Built target device-bitfields 11:48:10 make[2]: Entering directory '/tmp/sdk/build/release' 11:48:10 make[2]: Leaving directory '/tmp/sdk/build/release' 11:48:10 [ 90%] Built target template-discovery 11:48:10 make[2]: Entering directory '/tmp/sdk/build/release' 11:48:10 make[2]: Leaving directory '/tmp/sdk/build/release' 11:48:10 [ 93%] Built target device-file 11:48:10 make[2]: Entering directory '/tmp/sdk/build/release' 11:48:10 make[2]: Leaving directory '/tmp/sdk/build/release' 11:48:10 [ 96%] Built target device-terminal 11:48:10 make[2]: Entering directory '/tmp/sdk/build/release' 11:48:10 make[2]: Leaving directory '/tmp/sdk/build/release' 11:48:10 [100%] Built target templatev1 11:48:10 make[1]: Leaving directory '/tmp/sdk/build/release' 11:48:10 Install the project... 11:48:10 -- Install configuration: "Release" 11:48:10 -- Installing: /usr/local/lib/libcsdk.so 11:48:10 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 11:48:10 -- Up-to-date: /usr/local/include 11:48:10 -- Installing: /usr/local/include/edgex 11:48:10 -- Installing: /usr/local/include/edgex/device-mgmt.h 11:48:10 -- Installing: /usr/local/include/edgex/eventgen.h 11:48:10 -- Installing: /usr/local/include/edgex/error.h 11:48:10 -- Installing: /usr/local/include/edgex/rest-server.h 11:48:10 -- Installing: /usr/local/include/edgex/edgex-base.h 11:48:10 -- Installing: /usr/local/include/edgex/devsdk.h 11:48:10 -- Installing: /usr/local/include/edgex/edgex.h 11:48:10 -- Installing: /usr/local/include/edgex/devices.h 11:48:10 -- Installing: /usr/local/include/edgex/os.h 11:48:10 -- Installing: /usr/local/include/edgex/profiles.h 11:48:10 -- Installing: /usr/local/include/edgex/csdk-defs.h 11:48:10 -- Installing: /usr/local/include/devsdk 11:48:10 -- Installing: /usr/local/include/devsdk/devsdk-base.h 11:48:10 -- Installing: /usr/local/include/devsdk/devsdk.h 11:48:10 -- Installing: /usr/local/include/iot 11:48:10 -- Installing: /usr/local/include/iot/json.h 11:48:10 -- Installing: /usr/local/include/iot/yxml.h 11:48:10 -- Installing: /usr/local/include/iot/container.h 11:48:10 -- Installing: /usr/local/include/iot/component.h 11:48:10 -- Installing: /usr/local/include/iot/typecode.h 11:48:10 -- Installing: /usr/local/include/iot/iot.h 11:48:10 -- Installing: /usr/local/include/iot/time.h 11:48:10 -- Installing: /usr/local/include/iot/hash.h 11:48:10 -- Installing: /usr/local/include/iot/logger.h 11:48:10 -- Installing: /usr/local/include/iot/os 11:48:10 -- Installing: /usr/local/include/iot/os/zephyr.h 11:48:10 -- Installing: /usr/local/include/iot/os/linux.h 11:48:10 -- Installing: /usr/local/include/iot/os/macos.h 11:48:10 -- Installing: /usr/local/include/iot/scheduler.h 11:48:10 -- Installing: /usr/local/include/iot/data.h 11:48:10 -- Installing: /usr/local/include/iot/thread.h 11:48:10 -- Installing: /usr/local/include/iot/os.h 11:48:10 -- Installing: /usr/local/include/iot/base64.h 11:48:10 -- Installing: /usr/local/include/iot/threadpool.h 11:48:10 -- Installing: /usr/local/include/iot/config.h 11:48:10 -- Installing: /usr/local/share/device-sdk-c/LICENSE 11:48:10 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 11:48:10 make: Leaving directory '/tmp/sdk/build/release' 11:48:12 Removing intermediate container 4e8f2c213296 11:48:12 ---> c91f9102653f 11:48:12 Step 14/21 : FROM ${BASE} 11:48:12 ---> b23d30803547 11:48:12 Step 15/21 : MAINTAINER IOTech 11:48:12 ---> Running in 7145f62162f7 11:48:13 Removing intermediate container 7145f62162f7 11:48:13 ---> 13e9dcf44319 11:48:13 Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid 11:48:13 ---> Running in bc1e58d456e4 11:48:14 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 11:48:15 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 11:48:15 (1/3) Installing curl (7.64.0-r4) 11:48:16 (2/3) Installing libuuid (2.33-r0) 11:48:16 (3/3) Installing wget (1.20.3-r0) 11:48:16 Executing busybox-1.29.3-r10.trigger 11:48:16 OK: 281 MiB in 78 packages 11:48:17 Removing intermediate container bc1e58d456e4 11:48:17 ---> 971d87f3165b 11:48:17 Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 11:48:18 ---> 5cefa5534445 11:48:18 Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 11:48:19 ---> 84b96d7e77b1 11:48:19 Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib 11:48:20 ---> 4837d0d7842f 11:48:20 Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 11:48:21 ---> fd26eddf0ec4 11:48:21 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 11:48:21 ---> 310a21c309a0 11:48:21 Successfully built 310a21c309a0 11:48:21 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:48:22 + docker inspect -f . ci-base-image-arm64 11:48:22 . [Pipeline] withDockerContainer 11:48:22 prd-ubuntu18.04-docker-arm64-4c-16g-661 does not seem to be running inside a container 11:48:23 $ 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 ******** ci-base-image-arm64 cat 11:48:24 $ docker top 856c2ac6c38ee027de431395be85dd7b6bcc300e0bd29671cdca95376e9a79de -eo pid,comm [Pipeline] { [Pipeline] sh 11:48:26 + make test 11:48:26 echo "make test" 11:48:26 make test [Pipeline] } 11:48:26 $ docker stop --time=1 856c2ac6c38ee027de431395be85dd7b6bcc300e0bd29671cdca95376e9a79de 11:48:28 $ docker rm -f 856c2ac6c38ee027de431395be85dd7b6bcc300e0bd29671cdca95376e9a79de [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:48:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:48:29 + ls -al . 11:48:29 total 196 11:48:29 drwxrwxr-x 9 jenkins jenkins 4096 Sep 21 11:46 . 11:48:29 drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 11:45 .. 11:48:29 drwxrwxr-x 8 jenkins jenkins 4096 Sep 21 11:46 .git 11:48:29 drwxrwxr-x 2 jenkins jenkins 4096 Sep 21 11:45 .github 11:48:29 -rw-rw-r-- 1 jenkins jenkins 176 Sep 21 11:45 .gitignore 11:48:29 drwxrwxr-x 3 jenkins jenkins 4096 Sep 21 11:46 .semver 11:48:29 -rw-rw-r-- 1 jenkins jenkins 3104 Sep 21 11:45 Attribution.txt 11:48:29 -rw-rw-r-- 1 jenkins jenkins 5980 Sep 21 11:45 CHANGES 11:48:29 -rw-rw-r-- 1 jenkins jenkins 108574 Sep 21 11:45 Doxyfile 11:48:29 -rw-rw-r-- 1 jenkins jenkins 794 Sep 21 11:45 Jenkinsfile 11:48:29 -rw-rw-r-- 1 jenkins jenkins 10174 Sep 21 11:45 LICENSE 11:48:29 -rw-rw-r-- 1 jenkins jenkins 449 Sep 21 11:45 Makefile 11:48:29 -rw-rw-r-- 1 jenkins jenkins 2697 Sep 21 11:45 README.md 11:48:29 -rw-rw-r-- 1 jenkins jenkins 5977 Sep 21 11:45 README.v2.md 11:48:29 -rw-rw-r-- 1 jenkins jenkins 5 Sep 21 11:43 VERSION 11:48:29 drwxrwxr-x 2 jenkins jenkins 4096 Sep 21 11:45 docs 11:48:29 drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 11:45 include 11:48:29 drwxrwxr-x 2 jenkins jenkins 4096 Sep 21 11:45 scripts 11:48:29 drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 11:45 src [Pipeline] isUnix [Pipeline] sh 11:48:30 + 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=ce20d2939f9b1c811f8b3622cbbaf8159b3cc1a8 --label arch=arm64 --label version=0.0.0 . 11:48:30 Sending build context to Docker daemon 3.557MB 11:48:30 Step 1/15 : ARG BASE=alpine:3.11 11:48:30 Step 2/15 : FROM ${BASE} 11:48:30 ---> 310a21c309a0 11:48:30 Step 3/15 : MAINTAINER IOTech 11:48:30 ---> Running in 0232da070d72 11:48:31 Removing intermediate container 0232da070d72 11:48:31 ---> 088f56af3f2f 11:48:31 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 11:48:31 ---> Running in 7c507c4da9af 11:48:32 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 11:48:33 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 11:48:34 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 11:48:34 (2/6) Installing libblkid (2.33-r0) 11:48:34 (3/6) Installing libfdisk (2.33-r0) 11:48:34 (4/6) Installing libmount (2.33-r0) 11:48:34 (5/6) Installing libsmartcols (2.33-r0) 11:48:34 (6/6) Installing util-linux-dev (2.33-r0) 11:48:35 Executing busybox-1.29.3-r10.trigger 11:48:35 OK: 286 MiB in 84 packages 11:48:37 Removing intermediate container 7c507c4da9af 11:48:37 ---> 3c235428044e 11:48:37 Step 5/15 : COPY VERSION /edgex-c-sdk/ 11:48:37 ---> 005e2b0ac823 11:48:37 Step 6/15 : COPY src /edgex-c-sdk/src/ 11:48:38 ---> 5733ca7909b0 11:48:38 Step 7/15 : COPY include /edgex-c-sdk/include/ 11:48:39 ---> 89e6bbfd9aa5 11:48:39 Step 8/15 : COPY scripts /edgex-c-sdk/scripts 11:48:40 ---> 173bb31da751 11:48:40 Step 9/15 : COPY LICENSE /edgex-c-sdk/ 11:48:40 ---> d72d35d57cf3 11:48:40 Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ 11:48:41 ---> 1d28b24f61f0 11:48:41 Step 11/15 : WORKDIR /edgex-c-sdk 11:48:42 ---> Running in a88a796c0a6a 11:48:42 Removing intermediate container a88a796c0a6a 11:48:42 ---> 433850e59fa1 11:48:42 Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 11:48:42 ---> Running in 00365587d5f1 11:48:43 Removing intermediate container 00365587d5f1 11:48:43 ---> 023fc105a873 11:48:43 Step 13/15 : LABEL arch=arm64 11:48:43 ---> Running in 3df577907322 11:48:43 Removing intermediate container 3df577907322 11:48:43 ---> 52d299b2eedc 11:48:43 Step 14/15 : LABEL git_sha=ce20d2939f9b1c811f8b3622cbbaf8159b3cc1a8 11:48:44 ---> Running in 5a07db0e062d 11:48:44 Removing intermediate container 5a07db0e062d 11:48:44 ---> 9adfa5b66b3e 11:48:44 Step 15/15 : LABEL version=0.0.0 11:48:45 ---> Running in 0171b6831f84 11:48:45 Removing intermediate container 0171b6831f84 11:48:45 ---> 7f741694a13b 11:48:45 [Warning] One or more build-args [ARCH MAKE] were not consumed 11:48:45 Successfully built 7f741694a13b 11:48:45 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] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair 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 11:48:48 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:48:49 ---> package-listing.sh 11:48:49 ++ facter osfamily 11:48:49 ++ tr '[:upper:]' '[:lower:]' 11:48:49 + OS_FAMILY=redhat 11:48:49 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-294 11:48:49 + START_PACKAGES=/tmp/packages_start.txt 11:48:49 + END_PACKAGES=/tmp/packages_end.txt 11:48:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:48:49 + PACKAGES=/tmp/packages_start.txt 11:48:49 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-294 ']' 11:48:49 + PACKAGES=/tmp/packages_end.txt 11:48:49 + case "${OS_FAMILY}" in 11:48:49 + rpm -qa 11:48:49 + sort 11:48:52 + '[' -f /tmp/packages_start.txt ']' 11:48:52 + '[' -f /tmp/packages_end.txt ']' 11:48:52 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:48:52 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-294 ']' 11:48:52 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-294/archives/ 11:48:52 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-294/archives/ [Pipeline] isUnix [Pipeline] sh 11:48:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 11:48:52 11:48:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 11:48:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 11:48:53 alpine: Pulling from edgex-lftools-log-publisher 11:48:53 df20fa9351a1: Pulling fs layer 11:48:53 36b3adc4ff6f: Pulling fs layer 11:48:53 8ad3a11d3b57: Pulling fs layer 11:48:53 46f8f816bc3b: Pulling fs layer 11:48:53 0dadc02b9964: Pulling fs layer 11:48:53 ce6a7cf60c04: Pulling fs layer 11:48:53 7a184a31f384: Pulling fs layer 11:48:53 0879bd2ef858: Pulling fs layer 11:48:53 0dadc02b9964: Waiting 11:48:53 ce6a7cf60c04: Waiting 11:48:53 0879bd2ef858: Waiting 11:48:53 46f8f816bc3b: Waiting 11:48:53 36b3adc4ff6f: Download complete 11:48:53 46f8f816bc3b: Verifying Checksum 11:48:53 46f8f816bc3b: Download complete 11:48:53 df20fa9351a1: Verifying Checksum 11:48:53 df20fa9351a1: Download complete 11:48:53 ce6a7cf60c04: Download complete 11:48:53 0dadc02b9964: Verifying Checksum 11:48:53 0dadc02b9964: Download complete 11:48:53 7a184a31f384: Verifying Checksum 11:48:53 7a184a31f384: Download complete 11:48:53 df20fa9351a1: Pull complete 11:48:53 8ad3a11d3b57: Verifying Checksum 11:48:53 8ad3a11d3b57: Download complete 11:48:54 36b3adc4ff6f: Pull complete 11:48:54 0879bd2ef858: Verifying Checksum 11:48:54 0879bd2ef858: Download complete 11:48:54 8ad3a11d3b57: Pull complete 11:48:54 46f8f816bc3b: Pull complete 11:48:54 0dadc02b9964: Pull complete 11:48:55 ce6a7cf60c04: Pull complete 11:48:55 7a184a31f384: Pull complete 11:48:57 0879bd2ef858: Pull complete 11:48:57 Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 11:48:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 11:48:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 11:48:57 prd-centos7-docker-4c-2g-660 does not seem to be running inside a container 11:48:57 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa-host -w /w/workspace/edgexfoundry_device-sdk-c_PR-294 -v /w/workspace/edgexfoundry_device-sdk-c_PR-294:/w/workspace/edgexfoundry_device-sdk-c_PR-294:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-294@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-294@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 11:49:04 $ docker top c52df37ab22930194e517a5699d1e4009dc408afdc0a5ec041886e7985449e1c -eo pid,comm [Pipeline] { [Pipeline] sh 11:49:05 + mkdir -p /var/log/sa [Pipeline] sh 11:49:05 + ls /var/log/sa-host 11:49:05 + sadf -c /var/log/sa-host/sa05 11:49:05 file_magic: OK 11:49:05 HZ: Using current value: 100 11:49:05 file_header: OK 11:49:05 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 11:49:05 Statistics: 11:49:05 Hnuu...uuuununununu...Hnuu...uuuununununu... 11:49:05 File successfully converted to sysstat format version 12.2.1 11:49:05 + sadf -c /var/log/sa-host/sa21 11:49:05 file_magic: OK 11:49:05 HZ: Using current value: 100 11:49:05 file_header: OK 11:49:05 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 11:49:05 Statistics: 11:49:05 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 11:49:05 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:49:05 provisioning config files... 11:49:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-294@tmp/config1751528064295737471tmp [Pipeline] { [Pipeline] echo 11:49:06 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:49:06 ---> create-netrc.sh [Pipeline] echo 11:49:06 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:49:06 ---> logs-deploy.sh 11:49:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-294/2 11:49:06 INFO: archiving workspace using pattern(s): 11:49:08 Archives upload complete. 11:49:08 INFO: archiving logs to Nexus 11:49:09 ---> uname -a: 11:49:09 Linux c52df37ab229 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux 11:49:09 11:49:09 11:49:09 ---> lscpu: 11:49:09 Architecture: x86_64 11:49:09 CPU op-mode(s): 32-bit, 64-bit 11:49:09 Byte Order: Little Endian 11:49:09 Address sizes: 40 bits physical, 48 bits virtual 11:49:09 CPU(s): 4 11:49:09 On-line CPU(s) list: 0-3 11:49:09 Thread(s) per core: 1 11:49:09 Core(s) per socket: 1 11:49:09 Socket(s): 4 11:49:09 NUMA node(s): 1 11:49:09 Vendor ID: GenuineIntel 11:49:09 CPU family: 6 11:49:09 Model: 44 11:49:09 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 11:49:09 Stepping: 1 11:49:09 CPU MHz: 2933.438 11:49:09 BogoMIPS: 5866.87 11:49:09 Virtualization: VT-x 11:49:09 Hypervisor vendor: KVM 11:49:09 Virtualization type: full 11:49:09 L1d cache: 128 KiB 11:49:09 L1i cache: 128 KiB 11:49:09 L2 cache: 16 MiB 11:49:09 L3 cache: 64 MiB 11:49:09 NUMA node0 CPU(s): 0-3 11:49:09 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 11:49:09 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 11:49:09 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 11:49:09 Vulnerability Meltdown: Mitigation; PTI 11:49:09 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 11:49:09 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 11:49:09 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 11:49:09 Vulnerability Tsx async abort: Not affected 11:49:09 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 11:49:09 11:49:09 11:49:09 ---> nproc: 11:49:09 4 11:49:09 11:49:09 11:49:09 ---> df -h: 11:49:09 Filesystem Size Used Available Use% Mounted on 11:49:09 overlay 50.0G 7.0G 43.0G 14% / 11:49:09 tmpfs 64.0M 0 64.0M 0% /dev 11:49:09 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 11:49:09 shm 64.0M 0 64.0M 0% /dev/shm 11:49:09 /dev/vda1 50.0G 7.0G 43.0G 14% /etc/resolv.conf 11:49:09 /dev/vda1 50.0G 7.0G 43.0G 14% /etc/hostname 11:49:09 /dev/vda1 50.0G 7.0G 43.0G 14% /etc/hosts 11:49:09 /dev/vda1 50.0G 7.0G 43.0G 14% /w/workspace/edgexfoundry_device-sdk-c_PR-294@tmp 11:49:09 /dev/vda1 50.0G 7.0G 43.0G 14% /var/log/sa-host 11:49:09 /dev/vda1 50.0G 7.0G 43.0G 14% /w/workspace/edgexfoundry_device-sdk-c_PR-294 11:49:09 11:49:09 11:49:09 ---> free -m: 11:49:09 total used free shared buff/cache available 11:49:09 Mem: 1837 658 134 0 1044 1071 11:49:09 Swap: 1023 0 1023 11:49:09 11:49:09 11:49:09 ---> ip addr: 11:49:09 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 11:49:09 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 11:49:09 inet 127.0.0.1/8 scope host lo 11:49:09 valid_lft forever preferred_lft forever 11:49:09 6: eth0@if7: mtu 1458 qdisc noqueue state UP 11:49:09 link/ether 02:42:0a:fa:00:01 brd ff:ff:ff:ff:ff:ff 11:49:09 inet 10.250.0.1/24 brd 10.250.0.255 scope global eth0 11:49:09 valid_lft forever preferred_lft forever 11:49:09 11:49:09 11:49:09 ---> sar -b -r -n DEV: 11:49:09 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 09/21/20 _x86_64_ (4 CPU) 11:49:09 11:49:09 11:42:33 LINUX RESTART (4 CPU) 11:49:09 11:49:09 11:43:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 11:49:09 11:44:01 156.53 67.82 88.71 0.00 8585.22 40344.00 0.00 11:49:09 11:45:01 3.70 0.00 3.70 0.00 0.00 115.46 0.00 11:49:09 11:46:01 0.42 0.00 0.42 0.00 0.00 6.71 0.00 11:49:09 11:47:01 0.38 0.00 0.38 0.00 0.00 6.10 0.00 11:49:09 11:48:01 0.28 0.00 0.28 0.00 0.00 4.85 0.00 11:49:09 11:49:02 73.98 41.91 32.07 0.00 5352.38 5528.85 0.00 11:49:09 Average: 39.23 18.29 20.93 0.00 2323.62 7670.26 0.00 11:49:09 11:49:09 11:43:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:49:09 11:44:01 154952 0 579476 30.80 2620 1144508 1103080 37.65 434444 1131752 116 11:49:09 11:45:01 159100 0 575296 30.58 2620 1144540 1071696 36.58 433728 1128872 20 11:49:09 11:46:01 158764 0 575624 30.59 2620 1144548 1071940 36.58 434896 1128860 16 11:49:09 11:47:01 157800 0 576588 30.64 2620 1144548 1071760 36.58 436048 1128528 12 11:49:09 11:48:01 157928 0 576452 30.64 2620 1144556 1071760 36.58 444072 1120528 20 11:49:09 11:49:02 100468 0 655296 34.83 2620 1123172 1277036 43.58 455220 1125644 12296 11:49:09 Average: 148169 0 589789 31.35 2620 1140979 1111212 37.92 439735 1127364 2080 11:49:09 11:49:09 11:43:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:49:09 11:44:01 eth0 522.19 319.96 1078.47 115.96 0.00 0.00 0.00 0.00 11:49:09 11:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:49:09 11:44:01 docker0 9.27 7.67 1.01 20.73 0.00 0.00 0.00 0.00 11:49:09 11:45:01 eth0 0.73 0.07 0.06 0.01 0.00 0.00 0.00 0.00 11:49:09 11:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:49:09 11:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:49:09 11:46:01 eth0 2.22 0.90 1.35 0.24 0.00 0.00 0.00 0.00 11:49:09 11:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:49:09 11:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:49:09 11:47:01 eth0 0.08 0.07 0.01 0.01 0.00 0.00 0.00 0.00 11:49:09 11:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:49:09 11:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:49:09 11:48:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 11:49:09 11:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:49:09 11:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:49:09 11:49:02 eth0 85.26 72.49 738.17 9.85 0.00 0.00 0.00 0.00 11:49:09 11:49:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:49:09 11:49:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:49:09 Average: eth0 101.80 65.62 303.10 21.02 0.00 0.00 0.00 0.00 11:49:09 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:49:09 Average: docker0 1.55 1.28 0.17 3.46 0.00 0.00 0.00 0.00 11:49:09 11:49:09 11:49:09 ---> sar -P ALL: 11:49:09 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 09/21/20 _x86_64_ (4 CPU) 11:49:09 11:49:09 11:42:33 LINUX RESTART (4 CPU) 11:49:09 11:49:09 11:43:01 CPU %user %nice %system %iowait %steal %idle 11:49:09 11:44:01 all 14.59 0.00 8.34 7.06 0.11 69.90 11:49:09 11:44:01 0 14.80 0.00 9.23 5.76 0.12 70.09 11:49:09 11:44:01 1 14.50 0.00 7.98 8.69 0.12 68.70 11:49:09 11:44:01 2 15.45 0.00 6.78 8.05 0.08 69.63 11:49:09 11:44:01 3 13.60 0.00 9.37 5.72 0.14 71.18 11:49:09 11:45:01 all 0.07 0.00 0.03 0.00 0.00 99.90 11:49:09 11:45:01 0 0.05 0.00 0.03 0.00 0.00 99.92 11:49:09 11:45:01 1 0.03 0.00 0.02 0.00 0.00 99.95 11:49:09 11:45:01 2 0.02 0.00 0.03 0.00 0.00 99.95 11:49:09 11:45:01 3 0.17 0.00 0.05 0.00 0.00 99.78 11:49:09 11:46:01 all 0.05 0.00 0.03 0.00 0.00 99.92 11:49:09 11:46:01 0 0.03 0.00 0.03 0.00 0.00 99.93 11:49:09 11:46:01 1 0.07 0.00 0.02 0.00 0.00 99.92 11:49:09 11:46:01 2 0.07 0.00 0.05 0.00 0.00 99.88 11:49:09 11:46:01 3 0.03 0.00 0.03 0.00 0.00 99.93 11:49:09 11:47:01 all 0.15 0.00 0.02 0.00 0.00 99.83 11:49:09 11:47:01 0 0.00 0.00 0.00 0.00 0.00 100.00 11:49:09 11:47:01 1 0.03 0.00 0.05 0.00 0.00 99.92 11:49:09 11:47:01 2 0.05 0.00 0.03 0.00 0.00 99.92 11:49:09 11:47:01 3 0.52 0.00 0.02 0.00 0.00 99.47 11:49:09 11:48:01 all 0.13 0.00 0.04 0.00 0.00 99.83 11:49:09 11:48:01 0 0.03 0.00 0.03 0.00 0.00 99.93 11:49:09 11:48:01 1 0.05 0.00 0.07 0.00 0.00 99.88 11:49:09 11:48:01 2 0.03 0.00 0.03 0.00 0.02 99.92 11:49:09 11:48:01 3 0.42 0.00 0.02 0.00 0.00 99.57 11:49:09 11:49:02 all 2.80 0.00 1.74 0.84 0.01 94.61 11:49:09 11:49:02 0 2.47 0.00 1.69 0.43 0.00 95.40 11:49:09 11:49:02 1 3.38 0.00 1.62 2.01 0.03 92.96 11:49:09 11:49:02 2 3.21 0.00 1.79 0.75 0.00 94.25 11:49:09 11:49:02 3 2.14 0.00 1.86 0.15 0.02 95.83 11:49:09 Average: all 2.94 0.00 1.69 1.31 0.02 94.04 11:49:09 Average: 0 2.88 0.00 1.82 1.02 0.02 94.26 11:49:09 Average: 1 2.99 0.00 1.61 1.77 0.03 93.60 11:49:09 Average: 2 3.12 0.00 1.44 1.46 0.02 93.96 11:49:09 Average: 3 2.79 0.00 1.87 0.97 0.03 94.34 11:49:09 11:49:09 11:49:09