Pull request #296 opened 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 3c2e643e55ac71479f89c1d04f9b818a0ce441ed+0730159153764daa4a8fdc7cfbde25041d3eb933 (c60b8984b02b78af02878935b22546bc4f3c8362) Running in Durability level: MAX_SURVIVABILITY 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 85bea31ad76f85e2acd5a821f20c71e435d4ae12 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 85bea31ad76f85e2acd5a821f20c71e435d4ae12 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-296/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 85bea31ad76f85e2acd5a821f20c71e435d4ae12 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 85bea31ad76f85e2acd5a821f20c71e435d4ae12 # timeout=10 Commit message: "Merge pull request #249 from ernestojeda/fix-build-artifact" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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 Running on prd-centos7-docker-4c-2g-1141 in /w/workspace/edgexfoundry_device-sdk-c_PR-296 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-296 # 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 --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/296/head:refs/remotes/origin/PR-296 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 0730159153764daa4a8fdc7cfbde25041d3eb933 into PR head commit 3c2e643e55ac71479f89c1d04f9b818a0ce441ed Merge succeeded, producing 3c2e643e55ac71479f89c1d04f9b818a0ce441ed Checking out Revision 3c2e643e55ac71479f89c1d04f9b818a0ce441ed (PR-296) > git config core.sparsecheckout # timeout=10 > git checkout -f 3c2e643e55ac71479f89c1d04f9b818a0ce441ed # 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 0730159153764daa4a8fdc7cfbde25041d3eb933 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3c2e643e55ac71479f89c1d04f9b818a0ce441ed # timeout=10 Commit message: "fix: Validate boolean array data" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object 85bea31ad76f85e2acd5a821f20c71e435d4ae12 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-24T12:48:27.774Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-24T12:48:28.140Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-24T12:48:28.342Z] ========================================================= [2020-09-24T12:48:28.342Z] EdgeX Global Pipelines Version Info [2020-09-24T12:48:28.342Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-24T12:48:30.271Z] ------------------- [2020-09-24T12:48:30.271Z] stable info: [2020-09-24T12:48:30.271Z] ------------------- [2020-09-24T12:48:30.271Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-24T12:48:30.271Z] Commit SHA: 85bea31ad76f85e2acd5a821f20c71e435d4ae12 [2020-09-24T12:48:30.271Z] Message: update stable to v1.0.128 [2020-09-24T12:48:30.846Z] ------------------- [2020-09-24T12:48:30.846Z] experimental info: [2020-09-24T12:48:30.846Z] ------------------- [2020-09-24T12:48:30.846Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-24T12:48:30.846Z] Commit SHA: 85bea31ad76f85e2acd5a821f20c71e435d4ae12 [2020-09-24T12:48:30.846Z] Message: update experimental to v1.0.128 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-24T12:48:31.367Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2020-09-24T12:48:31.498Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2020-09-24T12:48:31.625Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-24T12:48:31.767Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-24T12:48:31.906Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-24T12:48:32.036Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo [2020-09-24T12:48:32.163Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine-3.11 [Pipeline] echo [2020-09-24T12:48:32.289Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-3.11-base [Pipeline] echo [2020-09-24T12:48:32.421Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-24T12:48:32.580Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-c [Pipeline] echo [2020-09-24T12:48:32.706Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-24T12:48:32.836Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-24T12:48:32.958Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-09-24T12:48:33.097Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-09-24T12:48:33.232Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-24T12:48:33.356Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-24T12:48:33.575Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-296 [Pipeline] echo [2020-09-24T12:48:33.734Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-296 [Pipeline] echo [2020-09-24T12:48:33.889Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-296 [Pipeline] echo [2020-09-24T12:48:34.033Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3c2e643e55ac71479f89c1d04f9b818a0ce441ed [Pipeline] echo [2020-09-24T12:48:34.185Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3c2e643 [Pipeline] echo [2020-09-24T12:48:34.305Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-09-24T12:48:35.709Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-24T12:48:35.973Z] [2020-09-24T12:48:35.973Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-24T12:48:36.359Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-24T12:48:36.359Z] latest: Pulling from edgex-devops/git-semver [2020-09-24T12:48:36.359Z] 31603596830f: Pulling fs layer [2020-09-24T12:48:36.359Z] 2a8b12db71e7: Pulling fs layer [2020-09-24T12:48:36.359Z] 6ca5941a6612: Pulling fs layer [2020-09-24T12:48:36.359Z] ecc8261a40a4: Pulling fs layer [2020-09-24T12:48:36.359Z] ecc8261a40a4: Waiting [2020-09-24T12:48:36.359Z] 2a8b12db71e7: Verifying Checksum [2020-09-24T12:48:36.359Z] 2a8b12db71e7: Download complete [2020-09-24T12:48:36.644Z] 31603596830f: Verifying Checksum [2020-09-24T12:48:36.644Z] 31603596830f: Download complete [2020-09-24T12:48:36.913Z] 6ca5941a6612: Verifying Checksum [2020-09-24T12:48:36.913Z] 6ca5941a6612: Download complete [2020-09-24T12:48:36.913Z] ecc8261a40a4: Verifying Checksum [2020-09-24T12:48:36.913Z] ecc8261a40a4: Download complete [2020-09-24T12:48:36.913Z] 31603596830f: Pull complete [2020-09-24T12:48:37.178Z] 2a8b12db71e7: Pull complete [2020-09-24T12:48:37.762Z] 6ca5941a6612: Pull complete [2020-09-24T12:48:38.025Z] ecc8261a40a4: Pull complete [2020-09-24T12:48:38.025Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-24T12:48:38.025Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-24T12:48:38.025Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-24T12:48:38.155Z] prd-centos7-docker-4c-2g-1141 does not seem to be running inside a container [2020-09-24T12:48:38.249Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-296 -v /w/workspace/edgexfoundry_device-sdk-c_PR-296:/w/workspace/edgexfoundry_device-sdk-c_PR-296:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-296@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-296@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-09-24T12:48:40.423Z] $ docker top af9858eee5ea8afc354bd662fd12924100cfad2ad73b18571035a1552d7756d8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-24T12:48:40.975Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-24T12:48:40.975Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-24T12:48:41.211Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-24T12:48:41.218Z] $ docker exec af9858eee5ea8afc354bd662fd12924100cfad2ad73b18571035a1552d7756d8 ssh-agent [2020-09-24T12:48:41.415Z] SSH_AUTH_SOCK=/tmp/ssh-rvKTfBTEytVd/agent.11 [2020-09-24T12:48:41.415Z] SSH_AGENT_PID=17 [2020-09-24T12:48:41.429Z] Running ssh-add (command line suppressed) [2020-09-24T12:48:41.558Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-296@tmp/private_key_8639570761060890623.key (/w/workspace/edgexfoundry_device-sdk-c_PR-296@tmp/private_key_8639570761060890623.key) [2020-09-24T12:48:41.608Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-24T12:48:41.988Z] + git describe --exact-match --tags HEAD [2020-09-24T12:48:41.988Z] fatal: no tag exactly matches '3c2e643e55ac71479f89c1d04f9b818a0ce441ed' [Pipeline] } [2020-09-24T12:48:42.078Z] $ docker exec --env ******** --env ******** af9858eee5ea8afc354bd662fd12924100cfad2ad73b18571035a1552d7756d8 ssh-agent -k [2020-09-24T12:48:42.197Z] unset SSH_AUTH_SOCK; [2020-09-24T12:48:42.197Z] unset SSH_AGENT_PID; [2020-09-24T12:48:42.197Z] echo Agent pid 17 killed; [2020-09-24T12:48:42.239Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-24T12:48:42.387Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-24T12:48:42.387Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-24T12:48:42.504Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-24T12:48:42.504Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-24T12:48:42.672Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-24T12:48:42.679Z] $ docker exec af9858eee5ea8afc354bd662fd12924100cfad2ad73b18571035a1552d7756d8 ssh-agent [2020-09-24T12:48:42.865Z] SSH_AUTH_SOCK=/tmp/ssh-inf62WsahZ6q/agent.46 [2020-09-24T12:48:42.865Z] SSH_AGENT_PID=51 [2020-09-24T12:48:42.872Z] Running ssh-add (command line suppressed) [2020-09-24T12:48:43.001Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-296@tmp/private_key_3348647950094800917.key (/w/workspace/edgexfoundry_device-sdk-c_PR-296@tmp/private_key_3348647950094800917.key) [2020-09-24T12:48:43.046Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-24T12:48:43.423Z] + git semver init [2020-09-24T12:48:43.423Z] # -> Open(): unable to determine branch for HEAD [2020-09-24T12:48:43.423Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-296/.git [2020-09-24T12:48:43.423Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-296 [2020-09-24T12:48:43.423Z] # $SEMVER_REMOTE_NAME = origin [2020-09-24T12:48:43.423Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-24T12:48:43.423Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-24T12:48:43.423Z] # $SEMVER_BRANCH = PR-296 [2020-09-24T12:48:43.423Z] # $SEMVER_TEMP = /tmp/semver-072778646 [2020-09-24T12:48:43.423Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2020-09-24T12:48:44.002Z] # '/tmp/semver-072778646' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-296/.semver' [2020-09-24T12:48:44.002Z] # -> Force: false [2020-09-24T12:48:44.002Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-296/.semver [Pipeline] } [2020-09-24T12:48:44.028Z] $ docker exec --env ******** --env ******** af9858eee5ea8afc354bd662fd12924100cfad2ad73b18571035a1552d7756d8 ssh-agent -k [2020-09-24T12:48:44.170Z] unset SSH_AUTH_SOCK; [2020-09-24T12:48:44.171Z] unset SSH_AGENT_PID; [2020-09-24T12:48:44.171Z] echo Agent pid 51 killed; [2020-09-24T12:48:44.216Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-24T12:48:44.796Z] + git semver [Pipeline] } [2020-09-24T12:48:44.835Z] $ docker stop --time=1 af9858eee5ea8afc354bd662fd12924100cfad2ad73b18571035a1552d7756d8 [2020-09-24T12:48:46.195Z] $ docker rm -f af9858eee5ea8afc354bd662fd12924100cfad2ad73b18571035a1552d7756d8 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-24T12:48:47.092Z] Stashed 32 file(s) [Pipeline] echo [2020-09-24T12:48:47.114Z] [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 [2020-09-24T12:49:02.667Z] Still waiting to schedule task [2020-09-24T12:49:02.667Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1141’ [2020-09-24T12:49:02.688Z] Still waiting to schedule task [2020-09-24T12:49:02.689Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-09-24T12:50:52.135Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1142 in /w/workspace/edgexfoundry_device-sdk-c_PR-296 [Pipeline] { [Pipeline] ws [2020-09-24T12:50:52.289Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2020-09-24T12:50:57.445Z] using credential edgex-jenkins-ssh [2020-09-24T12:50:57.509Z] Cloning the remote Git repository [2020-09-24T12:50:57.564Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2020-09-24T12:50:57.669Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2020-09-24T12:50:57.739Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-09-24T12:50:57.739Z] > git --version # timeout=10 [2020-09-24T12:50:57.754Z] > git --version # 'git version 2.17.1' [2020-09-24T12:50:57.755Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-24T12:50:57.797Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-09-24T12:50:59.694Z] Merging remotes/origin/master commit 0730159153764daa4a8fdc7cfbde25041d3eb933 into PR head commit 3c2e643e55ac71479f89c1d04f9b818a0ce441ed [2020-09-24T12:50:59.958Z] Merge succeeded, producing 3c2e643e55ac71479f89c1d04f9b818a0ce441ed [2020-09-24T12:50:59.959Z] Checking out Revision 3c2e643e55ac71479f89c1d04f9b818a0ce441ed (PR-296) [2020-09-24T12:50:58.963Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-09-24T12:50:58.987Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-09-24T12:50:59.016Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-09-24T12:50:59.058Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-09-24T12:50:59.059Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-24T12:50:59.071Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/296/head:refs/remotes/origin/PR-296 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-24T12:50:59.724Z] > git config core.sparsecheckout # timeout=10 [2020-09-24T12:50:59.748Z] > git checkout -f 3c2e643e55ac71479f89c1d04f9b818a0ce441ed # timeout=10 [2020-09-24T12:50:59.868Z] > git remote # timeout=10 [2020-09-24T12:50:59.892Z] > git config --get remote.origin.url # timeout=10 [2020-09-24T12:50:59.912Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-24T12:50:59.922Z] > git merge 0730159153764daa4a8fdc7cfbde25041d3eb933 # timeout=10 [2020-09-24T12:50:59.946Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-24T12:50:59.971Z] > git config core.sparsecheckout # timeout=10 [2020-09-24T12:50:59.985Z] > git checkout -f 3c2e643e55ac71479f89c1d04f9b818a0ce441ed # timeout=10 [2020-09-24T12:51:04.444Z] Commit message: "fix: Validate boolean array data" [2020-09-24T12:51:04.501Z] > git --version # timeout=10 [2020-09-24T12:51:04.515Z] > git --version # 'git version 2.17.1' [2020-09-24T12:51:04.524Z] fatal: bad object 85bea31ad76f85e2acd5a821f20c71e435d4ae12 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-24T12:51:06.307Z] ========================================================= [2020-09-24T12:51:06.307Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2020-09-24T12:51:06.307Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-24T12:51:07.710Z] + 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 . [2020-09-24T12:51:09.151Z] Sending build context to Docker daemon 3.756MB [2020-09-24T12:51:09.151Z] Step 1/21 : ARG BASE=alpine:3.11 [2020-09-24T12:51:09.151Z] Step 2/21 : FROM ${BASE} as builder [2020-09-24T12:51:09.431Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2020-09-24T12:51:09.431Z] 0362ad1dd800: Pulling fs layer [2020-09-24T12:51:09.431Z] f2cdb1532d8b: Pulling fs layer [2020-09-24T12:51:09.431Z] 37ed683be191: Pulling fs layer [2020-09-24T12:51:09.431Z] f2cdb1532d8b: Download complete [2020-09-24T12:51:09.431Z] 0362ad1dd800: Download complete [2020-09-24T12:51:10.033Z] 0362ad1dd800: Pull complete [2020-09-24T12:51:10.307Z] f2cdb1532d8b: Pull complete [2020-09-24T12:51:12.283Z] 37ed683be191: Verifying Checksum [2020-09-24T12:51:12.283Z] 37ed683be191: Download complete [2020-09-24T12:51:20.578Z] 37ed683be191: Pull complete [2020-09-24T12:51:20.578Z] Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f [2020-09-24T12:51:20.578Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2020-09-24T12:51:20.578Z] ---> b23d30803547 [2020-09-24T12:51:20.578Z] 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 [2020-09-24T12:51:22.571Z] ---> Running in 130050cd681e [2020-09-24T12:51:24.011Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2020-09-24T12:51:24.988Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2020-09-24T12:51:25.965Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2020-09-24T12:51:25.965Z] (2/8) Installing libuuid (2.33-r0) [2020-09-24T12:51:25.965Z] (3/8) Installing libblkid (2.33-r0) [2020-09-24T12:51:25.965Z] (4/8) Installing libfdisk (2.33-r0) [2020-09-24T12:51:26.249Z] (5/8) Installing libmount (2.33-r0) [2020-09-24T12:51:26.249Z] (6/8) Installing libsmartcols (2.33-r0) [2020-09-24T12:51:26.249Z] (7/8) Installing util-linux-dev (2.33-r0) [2020-09-24T12:51:26.519Z] (8/8) Installing wget (1.20.3-r0) [2020-09-24T12:51:26.792Z] Executing busybox-1.29.3-r10.trigger [2020-09-24T12:51:26.792Z] OK: 285 MiB in 83 packages [2020-09-24T12:51:28.235Z] Removing intermediate container 130050cd681e [2020-09-24T12:51:28.235Z] ---> 939c6808ab91 [2020-09-24T12:51:28.235Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2020-09-24T12:51:28.235Z] ---> Running in def10fcacef8 [2020-09-24T12:51:28.832Z] Removing intermediate container def10fcacef8 [2020-09-24T12:51:28.832Z] ---> bf7846ea36dd [2020-09-24T12:51:28.832Z] 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 [2020-09-24T12:51:28.832Z] ---> Running in 7b5740da9c76 [2020-09-24T12:51:30.270Z] --2020-09-24 12:51:30-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2020-09-24T12:51:30.270Z] Resolving github.com... 140.82.113.4 [2020-09-24T12:51:30.270Z] Connecting to github.com|140.82.113.4|:443... connected. [2020-09-24T12:51:30.542Z] HTTP request sent, awaiting response... 302 Found [2020-09-24T12:51:30.542Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2020-09-24T12:51:30.542Z] --2020-09-24 12:51:30-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2020-09-24T12:51:30.542Z] Resolving codeload.github.com... 140.82.113.9 [2020-09-24T12:51:30.542Z] Connecting to codeload.github.com|140.82.113.9|:443... connected. [2020-09-24T12:51:30.819Z] HTTP request sent, awaiting response... 200 OK [2020-09-24T12:51:30.819Z] Length: unspecified [application/x-gzip] [2020-09-24T12:51:30.819Z] Saving to: 'STDOUT' [2020-09-24T12:51:30.819Z]  [2020-09-24T12:51:30.819Z] 0K .......... .......... .......... .......... .......... 1.42M [2020-09-24T12:51:30.819Z] 50K .......... .......... .......... .......... .......... 2.64M [2020-09-24T12:51:30.819Z] 100K .......... .......... .......... .......... .......... 8.79M [2020-09-24T12:51:30.819Z] 150K .......... .......... .......... .......... .......... 3.84M [2020-09-24T12:51:30.819Z] 200K .......... .......... .......... .......... .......... 13.1M [2020-09-24T12:51:30.819Z] 250K .......... .......... .......... .......... .......... 3.45M [2020-09-24T12:51:30.819Z] 300K .......... .......... .......... .......... .......... 3.69M [2020-09-24T12:51:30.819Z] 350K .......... .......... .......... .......... .......... 5.54M [2020-09-24T12:51:30.819Z] 400K .......... .......... .......... .......... .......... 3.66M [2020-09-24T12:51:30.819Z] 450K .......... .......... .......... .......... .......... 4.35M [2020-09-24T12:51:30.819Z] 500K .......... .......... .......... .......... .......... 10.1M [2020-09-24T12:51:30.819Z] 550K .......... .......... .......... .......... .......... 2.74M [2020-09-24T12:51:30.819Z] 600K .......... .......... .......... .......... .......... 893K [2020-09-24T12:51:31.094Z] 650K .......... .......... .......... .......... .......... 2.10M [2020-09-24T12:51:31.095Z] 700K ..             5.78M=0.2s [2020-09-24T12:51:31.095Z] [2020-09-24T12:51:31.095Z] 2020-09-24 12:51:30 (2.88 MB/s) - written to stdout [719348] [2020-09-24T12:51:31.095Z] [2020-09-24T12:51:31.369Z] -- The C compiler identification is GNU 8.3.0 [2020-09-24T12:51:31.369Z] -- The CXX compiler identification is GNU 8.3.0 [2020-09-24T12:51:31.642Z] -- Check for working C compiler: /usr/bin/cc [2020-09-24T12:51:31.642Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-09-24T12:51:31.642Z] -- Detecting C compiler ABI info [2020-09-24T12:51:31.916Z] -- Detecting C compiler ABI info - done [2020-09-24T12:51:31.916Z] -- Detecting C compile features [2020-09-24T12:51:32.910Z] -- Detecting C compile features - done [2020-09-24T12:51:32.910Z] -- Check for working CXX compiler: /usr/bin/c++ [2020-09-24T12:51:32.910Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2020-09-24T12:51:32.910Z] -- Detecting CXX compiler ABI info [2020-09-24T12:51:33.183Z] -- Detecting CXX compiler ABI info - done [2020-09-24T12:51:33.456Z] -- Detecting CXX compile features [2020-09-24T12:51:34.896Z] -- Detecting CXX compile features - done [2020-09-24T12:51:34.896Z] -- Looking for include file endian.h [2020-09-24T12:51:35.171Z] -- Looking for include file endian.h - found [2020-09-24T12:51:35.171Z] -- Check if the system is big endian [2020-09-24T12:51:35.171Z] -- Searching 16 bit integer [2020-09-24T12:51:35.171Z] -- Looking for sys/types.h [2020-09-24T12:51:35.445Z] -- Looking for sys/types.h - found [2020-09-24T12:51:35.445Z] -- Looking for stdint.h [2020-09-24T12:51:35.718Z] -- Looking for stdint.h - found [2020-09-24T12:51:35.718Z] -- Looking for stddef.h [2020-09-24T12:51:35.718Z] -- Looking for stddef.h - found [2020-09-24T12:51:35.718Z] -- Check size of unsigned short [2020-09-24T12:51:35.992Z] -- Check size of unsigned short - done [2020-09-24T12:51:35.992Z] -- Using unsigned short [2020-09-24T12:51:36.264Z] -- Check if the system is big endian - little endian [2020-09-24T12:51:36.558Z] -- Check size of size_t [2020-09-24T12:51:36.558Z] -- Check size of size_t - done [2020-09-24T12:51:36.558Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2020-09-24T12:51:36.558Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2020-09-24T12:51:36.558Z] asked CMake to find a package configuration file provided by "cJSON", but [2020-09-24T12:51:36.559Z] CMake did not find one. [2020-09-24T12:51:36.559Z] [2020-09-24T12:51:36.559Z] Could not find a package configuration file provided by "cJSON" with any of [2020-09-24T12:51:36.559Z] the following names: [2020-09-24T12:51:36.559Z] [2020-09-24T12:51:36.559Z] cJSONConfig.cmake [2020-09-24T12:51:36.559Z] cjson-config.cmake [2020-09-24T12:51:36.559Z] [2020-09-24T12:51:36.559Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2020-09-24T12:51:36.559Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2020-09-24T12:51:36.559Z] provides a separate development package or SDK, be sure it has been [2020-09-24T12:51:36.559Z] installed. [2020-09-24T12:51:36.559Z] [2020-09-24T12:51:36.559Z] [2020-09-24T12:51:36.832Z] -- Configuring done [2020-09-24T12:51:36.832Z] -- Generating done [2020-09-24T12:51:36.832Z] -- Build files have been written to: /tmp/cbor [2020-09-24T12:51:37.109Z] Scanning dependencies of target cbor_shared [2020-09-24T12:51:37.109Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2020-09-24T12:51:37.702Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2020-09-24T12:51:38.297Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2020-09-24T12:51:38.571Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2020-09-24T12:51:39.166Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2020-09-24T12:51:39.442Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2020-09-24T12:51:39.715Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2020-09-24T12:51:39.715Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2020-09-24T12:51:39.988Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2020-09-24T12:51:40.261Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2020-09-24T12:51:40.854Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2020-09-24T12:51:41.126Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2020-09-24T12:51:41.398Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2020-09-24T12:51:41.993Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2020-09-24T12:51:41.993Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2020-09-24T12:51:42.265Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2020-09-24T12:51:42.537Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2020-09-24T12:51:42.809Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2020-09-24T12:51:43.082Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2020-09-24T12:51:43.355Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2020-09-24T12:51:43.626Z] [ 40%] Linking C shared library libcbor.so [2020-09-24T12:51:43.626Z] [ 40%] Built target cbor_shared [2020-09-24T12:51:43.626Z] Scanning dependencies of target cbor [2020-09-24T12:51:43.626Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2020-09-24T12:51:44.606Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2020-09-24T12:51:45.202Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2020-09-24T12:51:45.202Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2020-09-24T12:51:46.629Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2020-09-24T12:51:46.629Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2020-09-24T12:51:46.903Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2020-09-24T12:51:46.903Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2020-09-24T12:51:47.178Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2020-09-24T12:51:47.451Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2020-09-24T12:51:48.431Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2020-09-24T12:51:48.431Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2020-09-24T12:51:49.024Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2020-09-24T12:51:49.299Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2020-09-24T12:51:49.573Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2020-09-24T12:51:49.848Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2020-09-24T12:51:50.122Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2020-09-24T12:51:50.395Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2020-09-24T12:51:50.395Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2020-09-24T12:51:50.995Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2020-09-24T12:51:50.995Z] [ 80%] Linking C static library libcbor.a [2020-09-24T12:51:50.995Z] [ 80%] Built target cbor [2020-09-24T12:51:50.995Z] Scanning dependencies of target create_items [2020-09-24T12:51:50.995Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2020-09-24T12:51:51.266Z] [ 84%] Linking C executable create_items [2020-09-24T12:51:51.266Z] [ 84%] Built target create_items [2020-09-24T12:51:51.266Z] Scanning dependencies of target readfile [2020-09-24T12:51:51.541Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2020-09-24T12:51:51.541Z] [ 88%] Linking C executable readfile [2020-09-24T12:51:51.814Z] [ 88%] Built target readfile [2020-09-24T12:51:51.814Z] Scanning dependencies of target streaming_parser [2020-09-24T12:51:51.814Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2020-09-24T12:51:52.086Z] [ 92%] Linking C executable streaming_parser [2020-09-24T12:51:52.086Z] [ 92%] Built target streaming_parser [2020-09-24T12:51:52.086Z] Scanning dependencies of target sort [2020-09-24T12:51:52.086Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2020-09-24T12:51:52.359Z] [ 96%] Linking C executable sort [2020-09-24T12:51:52.359Z] [ 96%] Built target sort [2020-09-24T12:51:52.359Z] Scanning dependencies of target hello [2020-09-24T12:51:52.359Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2020-09-24T12:51:52.632Z] [100%] Linking C executable hello [2020-09-24T12:51:52.632Z] [100%] Built target hello [2020-09-24T12:51:52.632Z] Install the project... [2020-09-24T12:51:52.632Z] -- Install configuration: "Release" [2020-09-24T12:51:52.632Z] -- Installing: /usr/local/include/cbor/configuration.h [2020-09-24T12:51:52.632Z] -- Installing: /usr/local/lib64/libcbor.a [2020-09-24T12:51:52.632Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2020-09-24T12:51:52.632Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2020-09-24T12:51:52.632Z] -- Installing: /usr/local/lib64/libcbor.so [2020-09-24T12:51:52.632Z] -- Up-to-date: /usr/local/include/cbor [2020-09-24T12:51:52.632Z] -- Installing: /usr/local/include/cbor/streaming.h [2020-09-24T12:51:52.632Z] -- Installing: /usr/local/include/cbor/ints.h [2020-09-24T12:51:52.632Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2020-09-24T12:51:52.632Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2020-09-24T12:51:52.632Z] -- Installing: /usr/local/include/cbor/encoding.h [2020-09-24T12:51:52.632Z] -- Installing: /usr/local/include/cbor/serialization.h [2020-09-24T12:51:52.632Z] -- Installing: /usr/local/include/cbor/data.h [2020-09-24T12:51:52.632Z] -- Installing: /usr/local/include/cbor/common.h [2020-09-24T12:51:52.632Z] -- Installing: /usr/local/include/cbor/callbacks.h [2020-09-24T12:51:52.632Z] -- Installing: /usr/local/include/cbor/strings.h [2020-09-24T12:51:52.632Z] -- Installing: /usr/local/include/cbor/tags.h [2020-09-24T12:51:52.632Z] -- Installing: /usr/local/include/cbor/internal [2020-09-24T12:51:52.632Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2020-09-24T12:51:52.632Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2020-09-24T12:51:52.632Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2020-09-24T12:51:52.632Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2020-09-24T12:51:52.632Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2020-09-24T12:51:52.632Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2020-09-24T12:51:52.632Z] -- Installing: /usr/local/include/cbor/arrays.h [2020-09-24T12:51:52.632Z] -- Installing: /usr/local/include/cbor/maps.h [2020-09-24T12:51:52.632Z] -- Installing: /usr/local/include/cbor.h [2020-09-24T12:51:52.632Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2020-09-24T12:51:55.253Z] Removing intermediate container 7b5740da9c76 [2020-09-24T12:51:55.253Z] ---> 6069f1a720f5 [2020-09-24T12:51:55.253Z] Step 6/21 : RUN mkdir /tmp/sdk [2020-09-24T12:51:55.253Z] ---> Running in 5c8b3476a233 [2020-09-24T12:51:57.860Z] Running on prd-centos7-docker-4c-2g-1143 in /w/workspace/edgexfoundry_device-sdk-c_PR-296 [Pipeline] { [2020-09-24T12:51:57.883Z] Removing intermediate container 5c8b3476a233 [2020-09-24T12:51:57.883Z] ---> eaa704f26f25 [2020-09-24T12:51:57.883Z] Step 7/21 : COPY VERSION /tmp/sdk [Pipeline] ws [2020-09-24T12:51:57.971Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2020-09-24T12:51:58.156Z] ---> 6769eedaf97e [2020-09-24T12:51:58.157Z] Step 8/21 : COPY src /tmp/sdk/src [2020-09-24T12:51:59.138Z] ---> 0f24c4ab949c [2020-09-24T12:51:59.138Z] Step 9/21 : COPY include /tmp/sdk/include [2020-09-24T12:51:59.733Z] ---> e35bbace84bd [2020-09-24T12:51:59.733Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2020-09-24T12:52:00.330Z] ---> 4fa847b3505f [2020-09-24T12:52:00.330Z] Step 11/21 : COPY LICENSE /tmp/sdk [2020-09-24T12:52:00.928Z] ---> 34bad6ff0a85 [2020-09-24T12:52:00.928Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2020-09-24T12:52:01.903Z] ---> 9629446d4514 [2020-09-24T12:52:01.903Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2020-09-24T12:52:01.903Z] ---> Running in fcf6053d9630 [2020-09-24T12:52:03.347Z] + CPPCHECK=false [2020-09-24T12:52:03.347Z] + DOCGEN=false [2020-09-24T12:52:03.347Z] + TOMLVER=SDK-0.2 [2020-09-24T12:52:03.347Z] + CUTILVER=1.1.1 [2020-09-24T12:52:03.347Z] + '[' 0 -gt 0 ] [2020-09-24T12:52:03.347Z] + readlink -f ./scripts/build.sh [2020-09-24T12:52:03.347Z] + dirname /tmp/sdk/scripts/build.sh [2020-09-24T12:52:03.347Z] + dirname /tmp/sdk/scripts [2020-09-24T12:52:03.347Z] + ROOT=/tmp/sdk [2020-09-24T12:52:03.347Z] + cd /tmp/sdk [2020-09-24T12:52:03.347Z] + '[' '!' -d deps ] [2020-09-24T12:52:03.347Z] + mkdir deps [2020-09-24T12:52:03.347Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-09-24T12:52:03.347Z] + tar -C deps -z -x -f - [2020-09-24T12:52:03.347Z] --2020-09-24 12:52:03-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-09-24T12:52:03.347Z] Resolving github.com... 140.82.113.4 [2020-09-24T12:52:03.347Z] Connecting to github.com|140.82.113.4|:443... connected. [2020-09-24T12:52:03.620Z] HTTP request sent, awaiting response... 302 Found [2020-09-24T12:52:03.620Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2020-09-24T12:52:03.620Z] --2020-09-24 12:52:03-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2020-09-24T12:52:03.620Z] Resolving codeload.github.com... 140.82.113.9 [2020-09-24T12:52:03.620Z] Connecting to codeload.github.com|140.82.113.9|:443... connected. [2020-09-24T12:52:03.620Z] HTTP request sent, awaiting response... 200 OK [2020-09-24T12:52:03.620Z] Length: unspecified [application/x-gzip] [2020-09-24T12:52:03.620Z] Saving to: 'STDOUT' [2020-09-24T12:52:03.620Z]  [2020-09-24T12:52:03.620Z] 0K .......... ......   889K=0.02s [2020-09-24T12:52:03.620Z] [2020-09-24T12:52:03.620Z] 2020-09-24 12:52:03 (889 KB/s) - written to stdout [16451] [2020-09-24T12:52:03.620Z] [2020-09-24T12:52:03.892Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2020-09-24T12:52:03.892Z] + wget -O+ - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.1.tar.gztar [2020-09-24T12:52:03.892Z] -C deps -z -x -f - [2020-09-24T12:52:03.892Z] --2020-09-24 12:52:03-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.1.tar.gz [2020-09-24T12:52:03.892Z] Resolving github.com... 140.82.113.4 [2020-09-24T12:52:03.892Z] Connecting to github.com|140.82.113.4|:443... connected. [2020-09-24T12:52:03.892Z] HTTP request sent, awaiting response... 302 Found [2020-09-24T12:52:03.892Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.1 [following] [2020-09-24T12:52:03.892Z] --2020-09-24 12:52:03-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.1 [2020-09-24T12:52:03.892Z] Resolving codeload.github.com... 140.82.113.9 [2020-09-24T12:52:03.892Z] Connecting to codeload.github.com|140.82.113.9|:443... connected. [2020-09-24T12:52:04.169Z] HTTP request sent, awaiting response... 200 OK [2020-09-24T12:52:04.169Z] Length: unspecified [application/x-gzip] [2020-09-24T12:52:04.169Z] Saving to: 'STDOUT' [2020-09-24T12:52:04.169Z]  [2020-09-24T12:52:04.169Z] 0K .......... .......... .......... .......... .......... 1.46M [2020-09-24T12:52:04.169Z] 50K .......... .......... .......... .......... .......... 3.08M [2020-09-24T12:52:04.169Z] 100K .......... .......... .......... .......... .......... 4.19M [2020-09-24T12:52:04.169Z] 150K .......... .......... .....    1.70M=0.08s [2020-09-24T12:52:04.169Z] [2020-09-24T12:52:04.169Z] 2020-09-24 12:52:04 (2.27 MB/s) - written to stdout [179833] [2020-09-24T12:52:04.169Z] [2020-09-24T12:52:04.169Z] + mkdir -p src/c/iot [2020-09-24T12:52:04.445Z] + cp deps/iotech-c-utils-1.1.1/src/c/base64.c deps/iotech-c-utils-1.1.1/src/c/component.c deps/iotech-c-utils-1.1.1/src/c/config.c deps/iotech-c-utils-1.1.1/src/c/container.c deps/iotech-c-utils-1.1.1/src/c/data.c deps/iotech-c-utils-1.1.1/src/c/hash.c deps/iotech-c-utils-1.1.1/src/c/iot.c deps/iotech-c-utils-1.1.1/src/c/json.c deps/iotech-c-utils-1.1.1/src/c/logger.c deps/iotech-c-utils-1.1.1/src/c/os.c deps/iotech-c-utils-1.1.1/src/c/scheduler.c deps/iotech-c-utils-1.1.1/src/c/thread.c deps/iotech-c-utils-1.1.1/src/c/threadpool.c deps/iotech-c-utils-1.1.1/src/c/time.c deps/iotech-c-utils-1.1.1/src/c/yxml.c src/c/iot [2020-09-24T12:52:04.445Z] + mkdir -p include/iot [2020-09-24T12:52:04.445Z] + cp deps/iotech-c-utils-1.1.1/include/iot/base64.h deps/iotech-c-utils-1.1.1/include/iot/component.h deps/iotech-c-utils-1.1.1/include/iot/config.h deps/iotech-c-utils-1.1.1/include/iot/container.h deps/iotech-c-utils-1.1.1/include/iot/data.h deps/iotech-c-utils-1.1.1/include/iot/hash.h deps/iotech-c-utils-1.1.1/include/iot/iot.h deps/iotech-c-utils-1.1.1/include/iot/json.h deps/iotech-c-utils-1.1.1/include/iot/logger.h deps/iotech-c-utils-1.1.1/include/iot/os.h deps/iotech-c-utils-1.1.1/include/iot/scheduler.h deps/iotech-c-utils-1.1.1/include/iot/thread.h deps/iotech-c-utils-1.1.1/include/iot/threadpool.h deps/iotech-c-utils-1.1.1/include/iot/time.h deps/iotech-c-utils-1.1.1/include/iot/typecode.h deps/iotech-c-utils-1.1.1/include/iot/yxml.h include/iot [2020-09-24T12:52:04.445Z] + mkdir -p include/iot/os [2020-09-24T12:52:04.445Z] + cp deps/iotech-c-utils-1.1.1/include/iot/os/linux.h deps/iotech-c-utils-1.1.1/include/iot/os/macos.h deps/iotech-c-utils-1.1.1/include/iot/os/zephyr.h include/iot/os [2020-09-24T12:52:04.445Z] + mkdir -p /tmp/sdk/build/release [2020-09-24T12:52:04.445Z] + cd /tmp/sdk/build/release [2020-09-24T12:52:04.445Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2020-09-24T12:52:04.656Z] using credential edgex-jenkins-ssh [2020-09-24T12:52:04.719Z] -- The C compiler identification is GNU 8.3.0 [2020-09-24T12:52:04.719Z] -- Check for working C compiler: /usr/bin/cc [2020-09-24T12:52:04.721Z] Cloning the remote Git repository [2020-09-24T12:52:04.992Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-09-24T12:52:04.992Z] -- Detecting C compiler ABI info [2020-09-24T12:52:04.992Z] -- Detecting C compiler ABI info - done [2020-09-24T12:52:05.265Z] -- Detecting C compile features [2020-09-24T12:52:04.771Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2020-09-24T12:52:04.857Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2020-09-24T12:52:05.042Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-09-24T12:52:05.043Z] > git --version # timeout=10 [2020-09-24T12:52:05.099Z] > git --version # 'git version 2.16.5' [2020-09-24T12:52:05.100Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-24T12:52:05.197Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-09-24T12:52:05.861Z] -- Detecting C compile features - done [2020-09-24T12:52:05.861Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-09-24T12:52:05.861Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-09-24T12:52:05.861Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-09-24T12:52:05.861Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-09-24T12:52:05.861Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-09-24T12:52:05.861Z] -- C SDK 0.0.0 for Linux [2020-09-24T12:52:05.861Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-09-24T12:52:06.137Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-09-24T12:52:06.137Z] -- Found Curses: /usr/lib/libcurses.so [2020-09-24T12:52:06.409Z] -- Configuring done [2020-09-24T12:52:06.594Z] Merging remotes/origin/master commit 0730159153764daa4a8fdc7cfbde25041d3eb933 into PR head commit 3c2e643e55ac71479f89c1d04f9b818a0ce441ed [2020-09-24T12:52:06.683Z] -- Generating done [2020-09-24T12:52:06.683Z] -- Build files have been written to: /tmp/sdk/build/release [2020-09-24T12:52:06.683Z] + + maketee [2020-09-24T12:52:06.683Z] release.log [2020-09-24T12:52:06.683Z] Scanning dependencies of target csdk [2020-09-24T12:52:06.000Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-09-24T12:52:06.015Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-09-24T12:52:06.036Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-09-24T12:52:06.056Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-09-24T12:52:06.056Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-24T12:52:06.062Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/296/head:refs/remotes/origin/PR-296 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-24T12:52:06.623Z] > git config core.sparsecheckout # timeout=10 [2020-09-24T12:52:06.706Z] > git checkout -f 3c2e643e55ac71479f89c1d04f9b818a0ce441ed # timeout=10 [2020-09-24T12:52:06.912Z] Merge succeeded, producing 3c2e643e55ac71479f89c1d04f9b818a0ce441ed [2020-09-24T12:52:06.912Z] Checking out Revision 3c2e643e55ac71479f89c1d04f9b818a0ce441ed (PR-296) [2020-09-24T12:52:06.953Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-09-24T12:52:07.548Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-09-24T12:52:07.819Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-09-24T12:52:06.810Z] > git remote # timeout=10 [2020-09-24T12:52:06.842Z] > git config --get remote.origin.url # timeout=10 [2020-09-24T12:52:06.867Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-24T12:52:06.872Z] > git merge 0730159153764daa4a8fdc7cfbde25041d3eb933 # timeout=10 [2020-09-24T12:52:06.891Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-24T12:52:06.917Z] > git config core.sparsecheckout # timeout=10 [2020-09-24T12:52:06.944Z] > git checkout -f 3c2e643e55ac71479f89c1d04f9b818a0ce441ed # timeout=10 [2020-09-24T12:52:09.788Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-09-24T12:52:10.379Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-09-24T12:52:10.379Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-09-24T12:52:11.352Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-09-24T12:52:11.437Z] Commit message: "fix: Validate boolean array data" [2020-09-24T12:52:11.499Z] > git --version # timeout=10 [2020-09-24T12:52:11.549Z] > git --version # 'git version 2.16.5' [2020-09-24T12:52:11.573Z] fatal: bad object 85bea31ad76f85e2acd5a821f20c71e435d4ae12 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-24T12:52:13.249Z] ========================================================= [2020-09-24T12:52:13.249Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2020-09-24T12:52:13.249Z] ========================================================= [2020-09-24T12:52:13.337Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [Pipeline] isUnix [Pipeline] sh [2020-09-24T12:52:13.941Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-09-24T12:52:14.558Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-09-24T12:52:14.933Z] + 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 . [2020-09-24T12:52:15.156Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-09-24T12:52:15.435Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-09-24T12:52:15.710Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-09-24T12:52:15.710Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-09-24T12:52:16.008Z] Sending build context to Docker daemon 3.756MB [2020-09-24T12:52:16.008Z] Step 1/21 : ARG BASE=alpine:3.11 [2020-09-24T12:52:16.008Z] Step 2/21 : FROM ${BASE} as builder [2020-09-24T12:52:16.008Z] latest: Pulling from edgex-devops/edgex-gcc-base [2020-09-24T12:52:16.008Z] e7c96db7181b: Pulling fs layer [2020-09-24T12:52:16.008Z] 4c13bbce0fe7: Pulling fs layer [2020-09-24T12:52:16.008Z] 6059c847ac2f: Pulling fs layer [2020-09-24T12:52:16.008Z] 4c13bbce0fe7: Verifying Checksum [2020-09-24T12:52:16.008Z] 4c13bbce0fe7: Download complete [2020-09-24T12:52:17.080Z] e7c96db7181b: Verifying Checksum [2020-09-24T12:52:17.080Z] e7c96db7181b: Download complete [2020-09-24T12:52:18.687Z] e7c96db7181b: Pull complete [2020-09-24T12:52:18.687Z] 4c13bbce0fe7: Pull complete [2020-09-24T12:52:20.010Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-09-24T12:52:20.010Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-09-24T12:52:20.010Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2020-09-24T12:52:20.285Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-09-24T12:52:20.881Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-09-24T12:52:23.543Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-09-24T12:52:23.543Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-09-24T12:52:23.543Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-09-24T12:52:24.141Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-09-24T12:52:24.629Z] 6059c847ac2f: Verifying Checksum [2020-09-24T12:52:24.629Z] 6059c847ac2f: Download complete [2020-09-24T12:52:24.740Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-09-24T12:52:24.740Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-09-24T12:52:25.722Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-09-24T12:52:25.999Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-09-24T12:52:26.594Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-09-24T12:52:26.871Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2020-09-24T12:52:28.848Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-09-24T12:52:29.121Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-09-24T12:52:30.100Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-09-24T12:52:30.378Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-09-24T12:52:34.674Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-09-24T12:52:34.948Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-09-24T12:52:35.039Z] 6059c847ac2f: Pull complete [2020-09-24T12:52:35.039Z] Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e [2020-09-24T12:52:35.039Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2020-09-24T12:52:35.039Z] ---> 5eabd8fd8ba2 [2020-09-24T12:52:35.039Z] 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 [2020-09-24T12:52:35.222Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2020-09-24T12:52:35.823Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-09-24T12:52:36.413Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-09-24T12:52:36.566Z] ---> Running in 585db0c996aa [2020-09-24T12:52:37.843Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-09-24T12:52:38.170Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2020-09-24T12:52:39.221Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2020-09-24T12:52:39.279Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-09-24T12:52:39.501Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2020-09-24T12:52:39.501Z] (2/8) Installing libuuid (2.33-r0) [2020-09-24T12:52:39.501Z] (3/8) Installing libblkid (2.33-r0) [2020-09-24T12:52:39.778Z] (4/8) Installing libfdisk (2.33-r0) [2020-09-24T12:52:39.778Z] (5/8) Installing libmount (2.33-r0) [2020-09-24T12:52:39.778Z] (6/8) Installing libsmartcols (2.33-r0) [2020-09-24T12:52:40.052Z] (7/8) Installing util-linux-dev (2.33-r0) [2020-09-24T12:52:40.332Z] (8/8) Installing wget (1.20.3-r0) [2020-09-24T12:52:40.332Z] Executing busybox-1.29.3-r10.trigger [2020-09-24T12:52:40.332Z] OK: 272 MiB in 83 packages [2020-09-24T12:52:41.821Z] Removing intermediate container 585db0c996aa [2020-09-24T12:52:41.822Z] ---> 874b257659c8 [2020-09-24T12:52:41.822Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2020-09-24T12:52:41.822Z] ---> Running in 89bfd79215cf [2020-09-24T12:52:42.128Z] Removing intermediate container 89bfd79215cf [2020-09-24T12:52:42.128Z] ---> a1fe2576d585 [2020-09-24T12:52:42.128Z] 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 [2020-09-24T12:52:42.474Z] ---> Running in 364fc2b85962 [2020-09-24T12:52:42.661Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-09-24T12:52:42.934Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-09-24T12:52:43.549Z] --2020-09-24 12:52:43-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2020-09-24T12:52:43.549Z] Resolving github.com... 140.82.112.4 [2020-09-24T12:52:43.836Z] Connecting to github.com|140.82.112.4|:443... connected. [2020-09-24T12:52:43.836Z] HTTP request sent, awaiting response... 302 Found [2020-09-24T12:52:43.836Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2020-09-24T12:52:43.836Z] --2020-09-24 12:52:43-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2020-09-24T12:52:43.836Z] Resolving codeload.github.com... 140.82.114.10 [2020-09-24T12:52:43.836Z] Connecting to codeload.github.com|140.82.114.10|:443... connected. [2020-09-24T12:52:44.128Z] HTTP request sent, awaiting response... 200 OK [2020-09-24T12:52:44.128Z] Length: unspecified [application/x-gzip] [2020-09-24T12:52:44.128Z] Saving to: 'STDOUT' [2020-09-24T12:52:44.128Z]  [2020-09-24T12:52:44.128Z] 0K .......... .......... .......... .......... .......... 1.39M [2020-09-24T12:52:44.128Z] 50K .......... .......... .......... .......... .......... 2.66M [2020-09-24T12:52:44.128Z] 100K .......... .......... .......... .......... .......... 1.74M [2020-09-24T12:52:44.128Z] 150K .......... .......... .......... .......... .......... 29.3M [2020-09-24T12:52:44.128Z] 200K .......... .......... .......... .......... .......... 2.71M [2020-09-24T12:52:44.128Z] 250K .......... .......... .......... .......... .......... 7.23M [2020-09-24T12:52:44.128Z] 300K .......... .......... .......... .......... .......... 5.32M [2020-09-24T12:52:44.128Z] 350K .......... .......... .......... .......... .......... 3.35M [2020-09-24T12:52:44.128Z] 400K .......... .......... .......... .......... .......... 4.22M [2020-09-24T12:52:44.128Z] 450K .......... .......... .......... .......... .......... 4.14M [2020-09-24T12:52:44.128Z] 500K .......... .......... .......... .......... .......... 8.34M [2020-09-24T12:52:44.128Z] 550K .......... .......... .......... .......... .......... 4.74M [2020-09-24T12:52:44.128Z] 600K .......... .......... .......... .......... .......... 1.38M [2020-09-24T12:52:44.372Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-09-24T12:52:44.409Z] 650K .......... .......... .......... .......... .......... 1.59M [2020-09-24T12:52:44.409Z] 700K .. 323K=0.2s [2020-09-24T12:52:44.409Z] [2020-09-24T12:52:44.409Z] 2020-09-24 12:52:44 (2.80 MB/s) - written to stdout [719348] [2020-09-24T12:52:44.409Z] [2020-09-24T12:52:44.647Z] [ 70%] Linking C shared library libcsdk.so [2020-09-24T12:52:44.676Z] -- The C compiler identification is GNU 8.3.0 [2020-09-24T12:52:44.676Z] -- The CXX compiler identification is GNU 8.3.0 [2020-09-24T12:52:44.676Z] -- Check for working C compiler: /usr/bin/cc [2020-09-24T12:52:44.921Z] [ 70%] Built target csdk [2020-09-24T12:52:44.921Z] Scanning dependencies of target template [2020-09-24T12:52:44.921Z] [ 72%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-09-24T12:52:44.958Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-09-24T12:52:44.958Z] -- Detecting C compiler ABI info [2020-09-24T12:52:44.958Z] -- Detecting C compiler ABI info - done [2020-09-24T12:52:44.958Z] -- Detecting C compile features [2020-09-24T12:52:45.516Z] [ 74%] Linking C executable template [2020-09-24T12:52:45.566Z] -- Detecting C compile features - done [2020-09-24T12:52:45.566Z] -- Check for working CXX compiler: /usr/bin/c++ [2020-09-24T12:52:45.566Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2020-09-24T12:52:45.566Z] -- Detecting CXX compiler ABI info [2020-09-24T12:52:45.791Z] [ 74%] Built target template [2020-09-24T12:52:45.791Z] Scanning dependencies of target device-counter [2020-09-24T12:52:45.791Z] [ 75%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-09-24T12:52:45.854Z] -- Detecting CXX compiler ABI info - done [2020-09-24T12:52:45.854Z] -- Detecting CXX compile features [2020-09-24T12:52:46.385Z] [ 77%] Linking C executable device-counter [2020-09-24T12:52:46.386Z] [ 77%] Built target device-counter [2020-09-24T12:52:46.386Z] Scanning dependencies of target device-random [2020-09-24T12:52:46.658Z] [ 79%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-09-24T12:52:46.933Z] [ 80%] Linking C executable device-random [2020-09-24T12:52:46.933Z] -- Detecting CXX compile features - done [2020-09-24T12:52:46.933Z] -- Looking for include file endian.h [2020-09-24T12:52:47.206Z] [ 80%] Built target device-random [2020-09-24T12:52:47.206Z] Scanning dependencies of target device-gyro [2020-09-24T12:52:47.206Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-09-24T12:52:47.320Z] -- Looking for include file endian.h - found [2020-09-24T12:52:47.320Z] -- Check if the system is big endian [2020-09-24T12:52:47.320Z] -- Searching 16 bit integer [2020-09-24T12:52:47.320Z] -- Looking for sys/types.h [2020-09-24T12:52:47.634Z] -- Looking for sys/types.h - found [2020-09-24T12:52:47.634Z] -- Looking for stdint.h [2020-09-24T12:52:47.800Z] [ 83%] Linking C executable device-gyro [2020-09-24T12:52:47.800Z] [ 83%] Built target device-gyro [2020-09-24T12:52:47.800Z] Scanning dependencies of target device-bitfields [2020-09-24T12:52:47.800Z] [ 85%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2020-09-24T12:52:47.987Z] -- Looking for stdint.h - found [2020-09-24T12:52:47.987Z] -- Looking for stddef.h [2020-09-24T12:52:48.315Z] -- Looking for stddef.h - found [2020-09-24T12:52:48.315Z] -- Check size of unsigned short [2020-09-24T12:52:48.397Z] [ 87%] Linking C executable device-bitfields [2020-09-24T12:52:48.397Z] [ 87%] Built target device-bitfields [2020-09-24T12:52:48.397Z] Scanning dependencies of target template-discovery [2020-09-24T12:52:48.671Z] [ 88%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-09-24T12:52:48.681Z] -- Check size of unsigned short - done [2020-09-24T12:52:48.681Z] -- Using unsigned short [2020-09-24T12:52:49.076Z] -- Check if the system is big endian - little endian [2020-09-24T12:52:49.076Z] -- Check size of size_t [2020-09-24T12:52:49.076Z] -- Check size of size_t - done [2020-09-24T12:52:49.267Z] [ 90%] Linking C executable template-discovery [2020-09-24T12:52:49.267Z] [ 90%] Built target template-discovery [2020-09-24T12:52:49.506Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2020-09-24T12:52:49.506Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2020-09-24T12:52:49.506Z] asked CMake to find a package configuration file provided by "cJSON", but [2020-09-24T12:52:49.506Z] CMake did not find one. [2020-09-24T12:52:49.506Z] [2020-09-24T12:52:49.506Z] Could not find a package configuration file provided by "cJSON" with any of [2020-09-24T12:52:49.506Z] the following names: [2020-09-24T12:52:49.506Z] [2020-09-24T12:52:49.506Z] cJSONConfig.cmake [2020-09-24T12:52:49.506Z] cjson-config.cmake [2020-09-24T12:52:49.506Z] [2020-09-24T12:52:49.506Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2020-09-24T12:52:49.506Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2020-09-24T12:52:49.506Z] provides a separate development package or SDK, be sure it has been [2020-09-24T12:52:49.506Z] installed. [2020-09-24T12:52:49.506Z] [2020-09-24T12:52:49.506Z] [2020-09-24T12:52:49.506Z] -- Configuring done [2020-09-24T12:52:49.506Z] -- Generating done [2020-09-24T12:52:49.506Z] -- Build files have been written to: /tmp/cbor [2020-09-24T12:52:49.506Z] Scanning dependencies of target cbor_shared [2020-09-24T12:52:49.506Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2020-09-24T12:52:49.541Z] Scanning dependencies of target device-file [2020-09-24T12:52:49.541Z] [ 91%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2020-09-24T12:52:49.939Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2020-09-24T12:52:50.137Z] [ 93%] Linking C executable device-file [2020-09-24T12:52:50.138Z] [ 93%] Built target device-file [2020-09-24T12:52:50.138Z] Scanning dependencies of target device-terminal [2020-09-24T12:52:50.138Z] [ 95%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-09-24T12:52:50.230Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2020-09-24T12:52:50.556Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2020-09-24T12:52:50.735Z] [ 96%] Linking C executable device-terminal [2020-09-24T12:52:51.008Z] [ 96%] Built target device-terminal [2020-09-24T12:52:51.008Z] Scanning dependencies of target templatev1 [2020-09-24T12:52:51.008Z] [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o [2020-09-24T12:52:51.205Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2020-09-24T12:52:51.205Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2020-09-24T12:52:51.205Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2020-09-24T12:52:51.205Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2020-09-24T12:52:51.205Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2020-09-24T12:52:51.537Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2020-09-24T12:52:51.537Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2020-09-24T12:52:51.602Z] [100%] Linking C executable templatev1 [2020-09-24T12:52:51.875Z] [100%] Built target templatev1 [2020-09-24T12:52:51.875Z] + + teemake -a package [2020-09-24T12:52:51.875Z] release.log [2020-09-24T12:52:51.875Z] [ 70%] Built target csdk [2020-09-24T12:52:51.875Z] [ 74%] Built target template [2020-09-24T12:52:51.938Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2020-09-24T12:52:51.938Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2020-09-24T12:52:52.150Z] [ 77%] Built target device-counter [2020-09-24T12:52:52.150Z] [ 80%] Built target device-random [2020-09-24T12:52:52.150Z] [ 83%] Built target device-gyro [2020-09-24T12:52:52.150Z] [ 87%] Built target device-bitfields [2020-09-24T12:52:52.150Z] [ 90%] Built target template-discovery [2020-09-24T12:52:52.150Z] [ 93%] Built target device-file [2020-09-24T12:52:52.150Z] [ 96%] Built target device-terminal [2020-09-24T12:52:52.293Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2020-09-24T12:52:52.293Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2020-09-24T12:52:52.427Z] [100%] Built target templatev1 [2020-09-24T12:52:52.427Z] Run CPack packaging tool... [2020-09-24T12:52:52.427Z] CPack: Create package using TGZ [2020-09-24T12:52:52.427Z] CPack: Install projects [2020-09-24T12:52:52.427Z] CPack: - Run preinstall target for: Csdk [2020-09-24T12:52:52.596Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2020-09-24T12:52:52.596Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2020-09-24T12:52:52.596Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2020-09-24T12:52:52.892Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2020-09-24T12:52:52.892Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2020-09-24T12:52:52.892Z] [ 40%] Linking C shared library libcbor.so [2020-09-24T12:52:53.028Z] CPack: - Install project: Csdk [2020-09-24T12:52:53.028Z] CPack: Create package [2020-09-24T12:52:53.028Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2020-09-24T12:52:53.028Z] + '[' false '=' true ] [2020-09-24T12:52:53.028Z] + '[' false '=' true ] [2020-09-24T12:52:53.028Z] + mkdir -p /tmp/sdk/build/debug [2020-09-24T12:52:53.028Z] + cd /tmp/sdk/build/debug [2020-09-24T12:52:53.028Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2020-09-24T12:52:53.162Z] [ 40%] Built target cbor_shared [2020-09-24T12:52:53.163Z] Scanning dependencies of target cbor [2020-09-24T12:52:53.163Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2020-09-24T12:52:53.302Z] -- The C compiler identification is GNU 8.3.0 [2020-09-24T12:52:53.498Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2020-09-24T12:52:53.576Z] -- Check for working C compiler: /usr/bin/cc [2020-09-24T12:52:53.576Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-09-24T12:52:53.576Z] -- Detecting C compiler ABI info [2020-09-24T12:52:53.848Z] -- Detecting C compiler ABI info - done [2020-09-24T12:52:53.848Z] -- Detecting C compile features [2020-09-24T12:52:53.875Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2020-09-24T12:52:53.875Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2020-09-24T12:52:54.247Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2020-09-24T12:52:54.247Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2020-09-24T12:52:54.537Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2020-09-24T12:52:54.537Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2020-09-24T12:52:54.814Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2020-09-24T12:52:54.814Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2020-09-24T12:52:54.828Z] -- Detecting C compile features - done [2020-09-24T12:52:54.828Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-09-24T12:52:54.828Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-09-24T12:52:54.828Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-09-24T12:52:54.828Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-09-24T12:52:54.828Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-09-24T12:52:54.828Z] -- C SDK 0.0.0 for Linux [2020-09-24T12:52:54.828Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-09-24T12:52:55.101Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-09-24T12:52:55.101Z] -- Found Curses: /usr/lib/libcurses.so [2020-09-24T12:52:55.101Z] -- Configuring done [2020-09-24T12:52:55.109Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2020-09-24T12:52:55.109Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2020-09-24T12:52:55.374Z] -- Generating done [2020-09-24T12:52:55.374Z] -- Build files have been written to: /tmp/sdk/build/debug [2020-09-24T12:52:55.374Z] + make [2020-09-24T12:52:55.374Z] + tee debug.log [2020-09-24T12:52:55.374Z] Scanning dependencies of target csdk [2020-09-24T12:52:55.398Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2020-09-24T12:52:55.661Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-09-24T12:52:55.668Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2020-09-24T12:52:55.668Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2020-09-24T12:52:55.668Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2020-09-24T12:52:55.936Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-09-24T12:52:55.949Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2020-09-24T12:52:55.949Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2020-09-24T12:52:56.212Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-09-24T12:52:56.247Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2020-09-24T12:52:56.247Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2020-09-24T12:52:56.247Z] [ 80%] Linking C static library libcbor.a [2020-09-24T12:52:56.532Z] [ 80%] Built target cbor [2020-09-24T12:52:56.532Z] Scanning dependencies of target create_items [2020-09-24T12:52:56.532Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2020-09-24T12:52:56.532Z] [ 84%] Linking C executable create_items [2020-09-24T12:52:56.532Z] [ 84%] Built target create_items [2020-09-24T12:52:56.532Z] Scanning dependencies of target readfile [2020-09-24T12:52:56.532Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2020-09-24T12:52:56.807Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-09-24T12:52:56.817Z] [ 88%] Linking C executable readfile [2020-09-24T12:52:56.817Z] [ 88%] Built target readfile [2020-09-24T12:52:56.817Z] Scanning dependencies of target streaming_parser [2020-09-24T12:52:56.817Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2020-09-24T12:52:57.081Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-09-24T12:52:57.133Z] [ 92%] Linking C executable streaming_parser [2020-09-24T12:52:57.134Z] [ 92%] Built target streaming_parser [2020-09-24T12:52:57.134Z] Scanning dependencies of target sort [2020-09-24T12:52:57.134Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2020-09-24T12:52:57.134Z] [ 96%] Linking C executable sort [2020-09-24T12:52:57.134Z] [ 96%] Built target sort [2020-09-24T12:52:57.134Z] Scanning dependencies of target hello [2020-09-24T12:52:57.355Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-09-24T12:52:57.424Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2020-09-24T12:52:57.425Z] [100%] Linking C executable hello [2020-09-24T12:52:57.425Z] [100%] Built target hello [2020-09-24T12:52:57.425Z] Install the project... [2020-09-24T12:52:57.425Z] -- Install configuration: "Release" [2020-09-24T12:52:57.425Z] -- Installing: /usr/local/include/cbor/configuration.h [2020-09-24T12:52:57.425Z] -- Installing: /usr/local/lib64/libcbor.a [2020-09-24T12:52:57.425Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2020-09-24T12:52:57.425Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2020-09-24T12:52:57.425Z] -- Installing: /usr/local/lib64/libcbor.so [2020-09-24T12:52:57.425Z] -- Up-to-date: /usr/local/include/cbor [2020-09-24T12:52:57.425Z] -- Installing: /usr/local/include/cbor/arrays.h [2020-09-24T12:52:57.425Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2020-09-24T12:52:57.425Z] -- Installing: /usr/local/include/cbor/callbacks.h [2020-09-24T12:52:57.425Z] -- Installing: /usr/local/include/cbor/common.h [2020-09-24T12:52:57.425Z] -- Installing: /usr/local/include/cbor/data.h [2020-09-24T12:52:57.425Z] -- Installing: /usr/local/include/cbor/encoding.h [2020-09-24T12:52:57.425Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2020-09-24T12:52:57.425Z] -- Installing: /usr/local/include/cbor/internal [2020-09-24T12:52:57.425Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2020-09-24T12:52:57.425Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2020-09-24T12:52:57.425Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2020-09-24T12:52:57.425Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2020-09-24T12:52:57.425Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2020-09-24T12:52:57.425Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2020-09-24T12:52:57.425Z] -- Installing: /usr/local/include/cbor/ints.h [2020-09-24T12:52:57.425Z] -- Installing: /usr/local/include/cbor/maps.h [2020-09-24T12:52:57.425Z] -- Installing: /usr/local/include/cbor/serialization.h [2020-09-24T12:52:57.425Z] -- Installing: /usr/local/include/cbor/streaming.h [2020-09-24T12:52:57.425Z] -- Installing: /usr/local/include/cbor/strings.h [2020-09-24T12:52:57.425Z] -- Installing: /usr/local/include/cbor/tags.h [2020-09-24T12:52:57.425Z] -- Installing: /usr/local/include/cbor.h [2020-09-24T12:52:57.425Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2020-09-24T12:52:57.632Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-09-24T12:52:58.230Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-09-24T12:52:58.505Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-09-24T12:52:59.113Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-09-24T12:52:59.113Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-09-24T12:52:59.386Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-09-24T12:52:59.658Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-09-24T12:52:59.930Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-09-24T12:53:00.148Z] Removing intermediate container 364fc2b85962 [2020-09-24T12:53:00.149Z] ---> af0344607649 [2020-09-24T12:53:00.149Z] Step 6/21 : RUN mkdir /tmp/sdk [2020-09-24T12:53:00.149Z] ---> Running in e40cea55c7a5 [2020-09-24T12:53:00.911Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-09-24T12:53:00.911Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-09-24T12:53:01.185Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2020-09-24T12:53:01.190Z] Removing intermediate container e40cea55c7a5 [2020-09-24T12:53:01.190Z] ---> 98ed6376fcc4 [2020-09-24T12:53:01.190Z] Step 7/21 : COPY VERSION /tmp/sdk [2020-09-24T12:53:01.457Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-09-24T12:53:01.735Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-09-24T12:53:01.781Z] ---> 52448613caa4 [2020-09-24T12:53:01.781Z] Step 8/21 : COPY src /tmp/sdk/src [2020-09-24T12:53:02.331Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-09-24T12:53:02.604Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-09-24T12:53:02.876Z] ---> b1f93c4a86ae [2020-09-24T12:53:02.876Z] Step 9/21 : COPY include /tmp/sdk/include [2020-09-24T12:53:02.881Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-09-24T12:53:02.881Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-09-24T12:53:03.156Z] ---> 85edb5b3cfad [2020-09-24T12:53:03.157Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2020-09-24T12:53:03.160Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-09-24T12:53:03.438Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-09-24T12:53:03.715Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-09-24T12:53:03.824Z] ---> 831d1579b568 [2020-09-24T12:53:03.824Z] Step 11/21 : COPY LICENSE /tmp/sdk [2020-09-24T12:53:03.987Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-09-24T12:53:04.116Z] ---> d4b5bdc569d7 [2020-09-24T12:53:04.116Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2020-09-24T12:53:04.260Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-09-24T12:53:04.260Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2020-09-24T12:53:04.527Z] ---> c23dd0e2a67e [2020-09-24T12:53:04.527Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2020-09-24T12:53:04.527Z] ---> Running in b43190ed302e [2020-09-24T12:53:04.854Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-09-24T12:53:04.854Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-09-24T12:53:05.449Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-09-24T12:53:05.450Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-09-24T12:53:05.609Z] + CPPCHECK=false [2020-09-24T12:53:05.609Z] + DOCGEN=false [2020-09-24T12:53:05.609Z] + TOMLVER=SDK-0.2 [2020-09-24T12:53:05.609Z] + CUTILVER=1.1.1 [2020-09-24T12:53:05.609Z] + '[' 0 -gt 0 ] [2020-09-24T12:53:05.609Z] + readlink -f ./scripts/build.sh [2020-09-24T12:53:05.609Z] + dirname /tmp/sdk/scripts/build.sh [2020-09-24T12:53:05.609Z] + dirname /tmp/sdk/scripts [2020-09-24T12:53:05.609Z] + ROOT=/tmp/sdk [2020-09-24T12:53:05.609Z] + cd /tmp/sdk [2020-09-24T12:53:05.609Z] + '[' '!' -d deps ] [2020-09-24T12:53:05.609Z] + mkdir deps [2020-09-24T12:53:05.609Z] + tar -C deps -z -x -f - [2020-09-24T12:53:05.609Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-09-24T12:53:05.609Z] --2020-09-24 12:53:05-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-09-24T12:53:05.609Z] Resolving github.com... 140.82.112.4 [2020-09-24T12:53:05.609Z] Connecting to github.com|140.82.112.4|:443... connected. [2020-09-24T12:53:05.609Z] HTTP request sent, awaiting response... 302 Found [2020-09-24T12:53:05.609Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2020-09-24T12:53:05.609Z] --2020-09-24 12:53:05-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2020-09-24T12:53:05.609Z] Resolving codeload.github.com... 140.82.114.10 [2020-09-24T12:53:05.609Z] Connecting to codeload.github.com|140.82.114.10|:443... connected. [2020-09-24T12:53:05.922Z] HTTP request sent, awaiting response... 200 OK [2020-09-24T12:53:05.922Z] Length: unspecified [application/x-gzip] [2020-09-24T12:53:05.922Z] Saving to: 'STDOUT' [2020-09-24T12:53:05.922Z]  [2020-09-24T12:53:05.922Z] 0K .......... ...... 908K=0.02s [2020-09-24T12:53:05.922Z] [2020-09-24T12:53:05.922Z] 2020-09-24 12:53:05 (908 KB/s) - written to stdout [16451] [2020-09-24T12:53:05.922Z] [2020-09-24T12:53:05.922Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2020-09-24T12:53:05.922Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.1.tar.gz [2020-09-24T12:53:05.922Z] + tar -C deps -z -x -f - [2020-09-24T12:53:05.922Z] --2020-09-24 12:53:05-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.1.tar.gz [2020-09-24T12:53:05.922Z] Resolving github.com... 140.82.112.4 [2020-09-24T12:53:05.922Z] Connecting to github.com|140.82.112.4|:443... connected. [2020-09-24T12:53:06.235Z] HTTP request sent, awaiting response... 302 Found [2020-09-24T12:53:06.235Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.1 [following] [2020-09-24T12:53:06.235Z] --2020-09-24 12:53:05-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.1 [2020-09-24T12:53:06.235Z] Resolving codeload.github.com... 140.82.114.10 [2020-09-24T12:53:06.235Z] Connecting to codeload.github.com|140.82.114.10|:443... connected. [2020-09-24T12:53:06.235Z] HTTP request sent, awaiting response... 200 OK [2020-09-24T12:53:06.235Z] Length: unspecified [application/x-gzip] [2020-09-24T12:53:06.235Z] Saving to: 'STDOUT' [2020-09-24T12:53:06.235Z] [2020-09-24T12:53:06.429Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-09-24T12:53:06.557Z] 0K .......... .......... .......... .......... .......... 1.21M [2020-09-24T12:53:06.557Z] 50K .......... .......... .......... .......... .......... 2.01M [2020-09-24T12:53:06.557Z] 100K .......... .......... .......... .......... .......... 14.0M [2020-09-24T12:53:06.557Z] 150K .......... .......... ..... 2.50M=0.08s [2020-09-24T12:53:06.557Z] [2020-09-24T12:53:06.557Z] 2020-09-24 12:53:06 (2.20 MB/s) - written to stdout [179833] [2020-09-24T12:53:06.557Z] [2020-09-24T12:53:06.557Z] + mkdir -p src/c/iot [2020-09-24T12:53:06.557Z] + cp deps/iotech-c-utils-1.1.1/src/c/base64.c deps/iotech-c-utils-1.1.1/src/c/component.c deps/iotech-c-utils-1.1.1/src/c/config.c deps/iotech-c-utils-1.1.1/src/c/container.c deps/iotech-c-utils-1.1.1/src/c/data.c deps/iotech-c-utils-1.1.1/src/c/hash.c deps/iotech-c-utils-1.1.1/src/c/iot.c deps/iotech-c-utils-1.1.1/src/c/json.c deps/iotech-c-utils-1.1.1/src/c/logger.c deps/iotech-c-utils-1.1.1/src/c/os.c deps/iotech-c-utils-1.1.1/src/c/scheduler.c deps/iotech-c-utils-1.1.1/src/c/thread.c deps/iotech-c-utils-1.1.1/src/c/threadpool.c deps/iotech-c-utils-1.1.1/src/c/time.c deps/iotech-c-utils-1.1.1/src/c/yxml.c src/c/iot [2020-09-24T12:53:06.557Z] + mkdir -p include/iot [2020-09-24T12:53:06.557Z] + cp deps/iotech-c-utils-1.1.1/include/iot/base64.h deps/iotech-c-utils-1.1.1/include/iot/component.h deps/iotech-c-utils-1.1.1/include/iot/config.h deps/iotech-c-utils-1.1.1/include/iot/container.h deps/iotech-c-utils-1.1.1/include/iot/data.h deps/iotech-c-utils-1.1.1/include/iot/hash.h deps/iotech-c-utils-1.1.1/include/iot/iot.h deps/iotech-c-utils-1.1.1/include/iot/json.h deps/iotech-c-utils-1.1.1/include/iot/logger.h deps/iotech-c-utils-1.1.1/include/iot/os.h deps/iotech-c-utils-1.1.1/include/iot/scheduler.h deps/iotech-c-utils-1.1.1/include/iot/thread.h deps/iotech-c-utils-1.1.1/include/iot/threadpool.h deps/iotech-c-utils-1.1.1/include/iot/time.h deps/iotech-c-utils-1.1.1/include/iot/typecode.h deps/iotech-c-utils-1.1.1/include/iot/yxml.h include/iot [2020-09-24T12:53:06.557Z] + mkdir -p include/iot/os [2020-09-24T12:53:06.557Z] + cp deps/iotech-c-utils-1.1.1/include/iot/os/linux.h deps/iotech-c-utils-1.1.1/include/iot/os/macos.h deps/iotech-c-utils-1.1.1/include/iot/os/zephyr.h include/iot/os [2020-09-24T12:53:06.557Z] + mkdir -p /tmp/sdk/build/release [2020-09-24T12:53:06.557Z] + cd /tmp/sdk/build/release [2020-09-24T12:53:06.557Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2020-09-24T12:53:06.702Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-09-24T12:53:06.874Z] -- The C compiler identification is GNU 8.3.0 [2020-09-24T12:53:06.874Z] -- Check for working C compiler: /usr/bin/cc [2020-09-24T12:53:06.874Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-09-24T12:53:06.874Z] -- Detecting C compiler ABI info [2020-09-24T12:53:06.985Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2020-09-24T12:53:07.191Z] -- Detecting C compiler ABI info - done [2020-09-24T12:53:07.191Z] -- Detecting C compile features [2020-09-24T12:53:07.264Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-09-24T12:53:07.522Z] -- Detecting C compile features - done [2020-09-24T12:53:07.522Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-09-24T12:53:07.522Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-09-24T12:53:07.522Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-09-24T12:53:07.522Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-09-24T12:53:07.522Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-09-24T12:53:07.522Z] -- C SDK 0.0.0 for Linux [2020-09-24T12:53:07.522Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-09-24T12:53:07.522Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-09-24T12:53:07.522Z] -- Found Curses: /usr/lib/libcurses.so [2020-09-24T12:53:07.522Z] -- Configuring done [2020-09-24T12:53:07.551Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-09-24T12:53:07.870Z] -- Generating done [2020-09-24T12:53:07.870Z] -- Build files have been written to: /tmp/sdk/build/release [2020-09-24T12:53:07.870Z] + tee release.log [2020-09-24T12:53:07.870Z] + make [2020-09-24T12:53:07.870Z] Scanning dependencies of target csdk [2020-09-24T12:53:07.870Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-09-24T12:53:08.198Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-09-24T12:53:08.492Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-09-24T12:53:08.528Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-09-24T12:53:09.119Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-09-24T12:53:09.119Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-09-24T12:53:09.121Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-09-24T12:53:09.427Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-09-24T12:53:09.709Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-09-24T12:53:09.719Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-09-24T12:53:09.997Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-09-24T12:53:10.270Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-09-24T12:53:10.544Z] [ 70%] Linking C shared library libcsdk.so [2020-09-24T12:53:10.783Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-09-24T12:53:10.783Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-09-24T12:53:10.817Z] [ 70%] Built target csdk [2020-09-24T12:53:10.817Z] Scanning dependencies of target template [2020-09-24T12:53:10.817Z] [ 72%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-09-24T12:53:11.081Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-09-24T12:53:11.098Z] [ 74%] Linking C executable template [2020-09-24T12:53:11.373Z] [ 74%] Built target template [2020-09-24T12:53:11.373Z] Scanning dependencies of target device-counter [2020-09-24T12:53:11.373Z] [ 75%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-09-24T12:53:11.388Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-09-24T12:53:11.388Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-09-24T12:53:11.652Z] [ 77%] Linking C executable device-counter [2020-09-24T12:53:11.670Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-09-24T12:53:11.671Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-09-24T12:53:11.925Z] [ 77%] Built target device-counter [2020-09-24T12:53:11.925Z] Scanning dependencies of target device-random [2020-09-24T12:53:11.925Z] [ 79%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-09-24T12:53:12.199Z] [ 80%] Linking C executable device-random [2020-09-24T12:53:12.473Z] [ 80%] Built target device-random [2020-09-24T12:53:12.473Z] Scanning dependencies of target device-gyro [2020-09-24T12:53:12.473Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-09-24T12:53:12.745Z] [ 83%] Linking C executable device-gyro [2020-09-24T12:53:12.745Z] [ 83%] Built target device-gyro [2020-09-24T12:53:12.745Z] Scanning dependencies of target device-bitfields [2020-09-24T12:53:13.018Z] [ 85%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2020-09-24T12:53:13.018Z] [ 87%] Linking C executable device-bitfields [2020-09-24T12:53:13.175Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-09-24T12:53:13.294Z] [ 87%] Built target device-bitfields [2020-09-24T12:53:13.294Z] Scanning dependencies of target template-discovery [2020-09-24T12:53:13.294Z] [ 88%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-09-24T12:53:13.490Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-09-24T12:53:13.490Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2020-09-24T12:53:13.567Z] [ 90%] Linking C executable template-discovery [2020-09-24T12:53:13.810Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-09-24T12:53:13.842Z] [ 90%] Built target template-discovery [2020-09-24T12:53:13.842Z] Scanning dependencies of target device-file [2020-09-24T12:53:13.842Z] [ 91%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2020-09-24T12:53:14.091Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-09-24T12:53:14.116Z] [ 93%] Linking C executable device-file [2020-09-24T12:53:14.390Z] [ 93%] Built target device-file [2020-09-24T12:53:14.390Z] Scanning dependencies of target device-terminal [2020-09-24T12:53:14.390Z] [ 95%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-09-24T12:53:14.663Z] [ 96%] Linking C executable device-terminal [2020-09-24T12:53:14.845Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-09-24T12:53:14.936Z] [ 96%] Built target device-terminal [2020-09-24T12:53:14.937Z] Scanning dependencies of target templatev1 [2020-09-24T12:53:14.937Z] [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o [2020-09-24T12:53:15.141Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-09-24T12:53:15.141Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-09-24T12:53:15.212Z] [100%] Linking C executable templatev1 [2020-09-24T12:53:15.434Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-09-24T12:53:15.486Z] [100%] Built target templatev1 [2020-09-24T12:53:15.486Z] make: Entering directory '/tmp/sdk/build/release' [2020-09-24T12:53:15.486Z] make[1]: Entering directory '/tmp/sdk/build/release' [2020-09-24T12:53:15.486Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-09-24T12:53:15.721Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-09-24T12:53:15.721Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-09-24T12:53:15.761Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-09-24T12:53:15.761Z] [ 70%] Built target csdk [2020-09-24T12:53:15.761Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-09-24T12:53:15.761Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-09-24T12:53:15.761Z] [ 74%] Built target template [2020-09-24T12:53:15.761Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-09-24T12:53:15.761Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-09-24T12:53:15.761Z] [ 77%] Built target device-counter [2020-09-24T12:53:15.761Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-09-24T12:53:15.761Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-09-24T12:53:15.761Z] [ 80%] Built target device-random [2020-09-24T12:53:15.761Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-09-24T12:53:15.761Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-09-24T12:53:15.761Z] [ 83%] Built target device-gyro [2020-09-24T12:53:15.761Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-09-24T12:53:15.761Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-09-24T12:53:16.034Z] [ 87%] Built target device-bitfields [2020-09-24T12:53:16.034Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-09-24T12:53:16.034Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-09-24T12:53:16.034Z] [ 90%] Built target template-discovery [2020-09-24T12:53:16.034Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-09-24T12:53:16.034Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-09-24T12:53:16.034Z] [ 93%] Built target device-file [2020-09-24T12:53:16.034Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-09-24T12:53:16.034Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-09-24T12:53:16.034Z] [ 96%] Built target device-terminal [2020-09-24T12:53:16.034Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-09-24T12:53:16.034Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-09-24T12:53:16.034Z] [100%] Built target templatev1 [2020-09-24T12:53:16.034Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2020-09-24T12:53:16.034Z] Install the project... [2020-09-24T12:53:16.034Z] -- Install configuration: "Release" [2020-09-24T12:53:16.034Z] -- Installing: /usr/local/lib/libcsdk.so [2020-09-24T12:53:16.034Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2020-09-24T12:53:16.034Z] -- Up-to-date: /usr/local/include [2020-09-24T12:53:16.034Z] -- Installing: /usr/local/include/edgex [2020-09-24T12:53:16.034Z] -- Installing: /usr/local/include/edgex/device-mgmt.h [2020-09-24T12:53:16.034Z] -- Installing: /usr/local/include/edgex/eventgen.h [2020-09-24T12:53:16.034Z] -- Installing: /usr/local/include/edgex/error.h [2020-09-24T12:53:16.034Z] -- Installing: /usr/local/include/edgex/rest-server.h [2020-09-24T12:53:16.034Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2020-09-24T12:53:16.034Z] -- Installing: /usr/local/include/edgex/devsdk.h [2020-09-24T12:53:16.034Z] -- Installing: /usr/local/include/edgex/edgex.h [2020-09-24T12:53:16.034Z] -- Installing: /usr/local/include/edgex/devices.h [2020-09-24T12:53:16.034Z] -- Installing: /usr/local/include/edgex/os.h [2020-09-24T12:53:16.034Z] -- Installing: /usr/local/include/edgex/profiles.h [2020-09-24T12:53:16.034Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2020-09-24T12:53:16.034Z] -- Installing: /usr/local/include/devsdk [2020-09-24T12:53:16.034Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2020-09-24T12:53:16.034Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2020-09-24T12:53:16.034Z] -- Installing: /usr/local/include/iot [2020-09-24T12:53:16.034Z] -- Installing: /usr/local/include/iot/json.h [2020-09-24T12:53:16.034Z] -- Installing: /usr/local/include/iot/yxml.h [2020-09-24T12:53:16.034Z] -- Installing: /usr/local/include/iot/container.h [2020-09-24T12:53:16.034Z] -- Installing: /usr/local/include/iot/component.h [2020-09-24T12:53:16.034Z] -- Installing: /usr/local/include/iot/typecode.h [2020-09-24T12:53:16.034Z] -- Installing: /usr/local/include/iot/iot.h [2020-09-24T12:53:16.034Z] -- Installing: /usr/local/include/iot/time.h [2020-09-24T12:53:16.034Z] -- Installing: /usr/local/include/iot/hash.h [2020-09-24T12:53:16.034Z] -- Installing: /usr/local/include/iot/logger.h [2020-09-24T12:53:16.034Z] -- Installing: /usr/local/include/iot/os [2020-09-24T12:53:16.034Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2020-09-24T12:53:16.034Z] -- Installing: /usr/local/include/iot/os/linux.h [2020-09-24T12:53:16.034Z] -- Installing: /usr/local/include/iot/os/macos.h [2020-09-24T12:53:16.034Z] -- Installing: /usr/local/include/iot/scheduler.h [2020-09-24T12:53:16.034Z] -- Installing: /usr/local/include/iot/data.h [2020-09-24T12:53:16.034Z] -- Installing: /usr/local/include/iot/thread.h [2020-09-24T12:53:16.034Z] -- Installing: /usr/local/include/iot/os.h [2020-09-24T12:53:16.034Z] -- Installing: /usr/local/include/iot/base64.h [2020-09-24T12:53:16.034Z] -- Installing: /usr/local/include/iot/threadpool.h [2020-09-24T12:53:16.034Z] -- Installing: /usr/local/include/iot/config.h [2020-09-24T12:53:16.034Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2020-09-24T12:53:16.034Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2020-09-24T12:53:16.315Z] make: Leaving directory '/tmp/sdk/build/release' [2020-09-24T12:53:16.375Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-09-24T12:53:16.375Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-09-24T12:53:17.020Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-09-24T12:53:17.020Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2020-09-24T12:53:17.629Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-09-24T12:53:17.903Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-09-24T12:53:18.298Z] Removing intermediate container fcf6053d9630 [2020-09-24T12:53:18.298Z] ---> 03b1d295774c [2020-09-24T12:53:18.298Z] Step 14/21 : FROM ${BASE} [2020-09-24T12:53:18.298Z] ---> b23d30803547 [2020-09-24T12:53:18.298Z] Step 15/21 : MAINTAINER IOTech [2020-09-24T12:53:18.519Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-09-24T12:53:18.519Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-09-24T12:53:18.579Z] ---> Running in e039806278ac [2020-09-24T12:53:19.174Z] Removing intermediate container e039806278ac [2020-09-24T12:53:19.174Z] ---> fae001a6a8c1 [2020-09-24T12:53:19.174Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2020-09-24T12:53:19.174Z] ---> Running in 99f218b321dd [2020-09-24T12:53:19.965Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-09-24T12:53:20.242Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-09-24T12:53:20.242Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2020-09-24T12:53:20.585Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-09-24T12:53:20.617Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2020-09-24T12:53:20.922Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-09-24T12:53:21.593Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2020-09-24T12:53:21.594Z] (1/3) Installing curl (7.64.0-r4) [2020-09-24T12:53:21.720Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-09-24T12:53:21.869Z] (2/3) Installing libuuid (2.33-r0) [2020-09-24T12:53:21.869Z] (3/3) Installing wget (1.20.3-r0) [2020-09-24T12:53:22.144Z] Executing busybox-1.29.3-r10.trigger [2020-09-24T12:53:22.144Z] OK: 281 MiB in 78 packages [2020-09-24T12:53:22.464Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-09-24T12:53:23.138Z] Removing intermediate container 99f218b321dd [2020-09-24T12:53:23.138Z] ---> f0e8859b23a6 [2020-09-24T12:53:23.138Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2020-09-24T12:53:23.735Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-09-24T12:53:24.146Z] ---> 026d9d141720 [2020-09-24T12:53:24.146Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2020-09-24T12:53:24.426Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-09-24T12:53:24.758Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-09-24T12:53:24.758Z] ---> a418880e29e2 [2020-09-24T12:53:24.759Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2020-09-24T12:53:25.060Z] [ 70%] Linking C shared library libcsdk.so [2020-09-24T12:53:25.360Z] ---> 0224c245af38 [2020-09-24T12:53:25.360Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2020-09-24T12:53:25.368Z] [ 70%] Built target csdk [2020-09-24T12:53:25.368Z] Scanning dependencies of target template [2020-09-24T12:53:25.368Z] [ 72%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-09-24T12:53:25.368Z] [ 74%] Linking C executable template [2020-09-24T12:53:25.891Z] [ 74%] Built target template [2020-09-24T12:53:25.891Z] Scanning dependencies of target device-counter [2020-09-24T12:53:25.891Z] [ 75%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-09-24T12:53:25.891Z] [ 77%] Linking C executable device-counter [2020-09-24T12:53:26.271Z] [ 77%] Built target device-counter [2020-09-24T12:53:26.271Z] Scanning dependencies of target device-random [2020-09-24T12:53:26.271Z] [ 79%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-09-24T12:53:26.348Z] ---> 6584a64cb383 [2020-09-24T12:53:26.348Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2020-09-24T12:53:26.566Z] [ 80%] Linking C executable device-random [2020-09-24T12:53:26.566Z] [ 80%] Built target device-random [2020-09-24T12:53:26.566Z] Scanning dependencies of target device-gyro [2020-09-24T12:53:26.953Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-09-24T12:53:26.953Z] [ 83%] Linking C executable device-gyro [2020-09-24T12:53:26.953Z] [ 83%] Built target device-gyro [2020-09-24T12:53:26.953Z] Scanning dependencies of target device-bitfields [2020-09-24T12:53:26.953Z] [ 85%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2020-09-24T12:53:26.954Z] ---> 5e64f4d07032 [2020-09-24T12:53:26.954Z] Successfully built 5e64f4d07032 [2020-09-24T12:53:26.954Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [2020-09-24T12:53:27.231Z] [ 87%] Linking C executable device-bitfields [2020-09-24T12:53:27.231Z] [ 87%] Built target device-bitfields [2020-09-24T12:53:27.231Z] Scanning dependencies of target template-discovery [2020-09-24T12:53:27.231Z] [ 88%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [2020-09-24T12:53:27.572Z] [ 90%] Linking C executable template-discovery [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-24T12:53:27.870Z] [ 90%] Built target template-discovery [2020-09-24T12:53:27.870Z] Scanning dependencies of target device-file [2020-09-24T12:53:27.870Z] [ 91%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2020-09-24T12:53:28.046Z] + docker inspect -f . ci-base-image-arm64 [2020-09-24T12:53:28.046Z] . [Pipeline] withDockerContainer [2020-09-24T12:53:28.154Z] [ 93%] Linking C executable device-file [2020-09-24T12:53:28.323Z] prd-ubuntu18.04-docker-arm64-4c-16g-1142 does not seem to be running inside a container [2020-09-24T12:53:28.425Z] [ 93%] Built target device-file [2020-09-24T12:53:28.425Z] Scanning dependencies of target device-terminal [2020-09-24T12:53:28.425Z] [ 95%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-09-24T12:53:28.423Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-09-24T12:53:28.719Z] [ 96%] Linking C executable device-terminal [2020-09-24T12:53:28.719Z] [ 96%] Built target device-terminal [2020-09-24T12:53:28.719Z] Scanning dependencies of target templatev1 [2020-09-24T12:53:28.719Z] [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o [2020-09-24T12:53:29.014Z] [100%] Linking C executable templatev1 [2020-09-24T12:53:29.312Z] [100%] Built target templatev1 [2020-09-24T12:53:29.312Z] + make package [2020-09-24T12:53:29.312Z] + tee -a release.log [2020-09-24T12:53:29.606Z] [ 70%] Built target csdk [2020-09-24T12:53:29.606Z] [ 74%] Built target template [2020-09-24T12:53:29.606Z] [ 77%] Built target device-counter [2020-09-24T12:53:29.606Z] [ 80%] Built target device-random [2020-09-24T12:53:29.606Z] [ 83%] Built target device-gyro [2020-09-24T12:53:29.606Z] [ 87%] Built target device-bitfields [2020-09-24T12:53:29.606Z] [ 90%] Built target template-discovery [2020-09-24T12:53:29.606Z] [ 93%] Built target device-file [2020-09-24T12:53:29.888Z] [ 96%] Built target device-terminal [2020-09-24T12:53:29.888Z] [100%] Built target templatev1 [2020-09-24T12:53:29.888Z] Run CPack packaging tool... [2020-09-24T12:53:29.888Z] CPack: Create package using TGZ [2020-09-24T12:53:29.888Z] CPack: Install projects [2020-09-24T12:53:29.888Z] CPack: - Run preinstall target for: Csdk [2020-09-24T12:53:30.220Z] $ docker top 594f0a62679358da3b366fe473c9a2584bd875340664a9d0fea3cba0f877a2cf -eo pid,comm [2020-09-24T12:53:30.546Z] CPack: - Install project: Csdk [Pipeline] { [Pipeline] sh [2020-09-24T12:53:30.870Z] CPack: Create package [2020-09-24T12:53:30.870Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2020-09-24T12:53:30.870Z] + '[' false '=' true ] [2020-09-24T12:53:30.870Z] + '[' false '=' true ] [2020-09-24T12:53:30.870Z] + mkdir -p /tmp/sdk/build/debug [2020-09-24T12:53:30.870Z] + cd /tmp/sdk/build/debug [2020-09-24T12:53:30.870Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2020-09-24T12:53:30.870Z] -- The C compiler identification is GNU 8.3.0 [2020-09-24T12:53:30.870Z] -- Check for working C compiler: /usr/bin/cc [2020-09-24T12:53:31.147Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-09-24T12:53:31.147Z] -- Detecting C compiler ABI info [2020-09-24T12:53:31.147Z] -- Detecting C compiler ABI info - done [2020-09-24T12:53:31.147Z] -- Detecting C compile features [2020-09-24T12:53:31.768Z] -- Detecting C compile features - done [2020-09-24T12:53:31.768Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-09-24T12:53:31.768Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-09-24T12:53:31.768Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-09-24T12:53:31.768Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-09-24T12:53:31.768Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-09-24T12:53:31.768Z] -- C SDK 0.0.0 for Linux [2020-09-24T12:53:31.768Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-09-24T12:53:31.768Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-09-24T12:53:31.768Z] -- Found Curses: /usr/lib/libcurses.so [2020-09-24T12:53:31.768Z] -- Configuring done [2020-09-24T12:53:31.888Z] + make test [2020-09-24T12:53:31.888Z] echo "make test" [2020-09-24T12:53:31.888Z] make test [Pipeline] } [2020-09-24T12:53:31.927Z] $ docker stop --time=1 594f0a62679358da3b366fe473c9a2584bd875340664a9d0fea3cba0f877a2cf [2020-09-24T12:53:32.059Z] -- Generating done [2020-09-24T12:53:32.059Z] -- Build files have been written to: /tmp/sdk/build/debug [2020-09-24T12:53:32.059Z] + make [2020-09-24T12:53:32.059Z] + tee debug.log [2020-09-24T12:53:32.059Z] Scanning dependencies of target csdk [2020-09-24T12:53:32.059Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-09-24T12:53:32.348Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-09-24T12:53:32.348Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-09-24T12:53:32.647Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-09-24T12:53:32.933Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-09-24T12:53:32.933Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-09-24T12:53:32.933Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-09-24T12:53:33.307Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-09-24T12:53:33.598Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-09-24T12:53:33.598Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-09-24T12:53:33.598Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-09-24T12:53:33.916Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-09-24T12:53:33.916Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-09-24T12:53:33.916Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-09-24T12:53:34.064Z] $ docker rm -f 594f0a62679358da3b366fe473c9a2584bd875340664a9d0fea3cba0f877a2cf [Pipeline] // withDockerContainer [Pipeline] } [2020-09-24T12:53:34.548Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-09-24T12:53:34.548Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-09-24T12:53:34.548Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2020-09-24T12:53:34.548Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [Pipeline] // script [Pipeline] } [Pipeline] // stage [2020-09-24T12:53:34.872Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2020-09-24T12:53:35.187Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-09-24T12:53:35.504Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-09-24T12:53:35.504Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-09-24T12:53:35.504Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-09-24T12:53:36.112Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-09-24T12:53:36.112Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-09-24T12:53:36.112Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-09-24T12:53:36.112Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-09-24T12:53:36.566Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-09-24T12:53:36.566Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2020-09-24T12:53:37.035Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-09-24T12:53:37.035Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-09-24T12:53:37.353Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-09-24T12:53:37.353Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [Pipeline] sh [2020-09-24T12:53:38.211Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-24T12:53:38.279Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-09-24T12:53:38.279Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-09-24T12:53:38.279Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2020-09-24T12:53:38.592Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-09-24T12:53:38.592Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-09-24T12:53:38.615Z] + ls -al . [2020-09-24T12:53:38.615Z] total 196 [2020-09-24T12:53:38.615Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 24 12:51 . [2020-09-24T12:53:38.615Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 24 12:50 .. [2020-09-24T12:53:38.616Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 24 12:51 .git [2020-09-24T12:53:38.616Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 24 12:50 .github [2020-09-24T12:53:38.616Z] -rw-rw-r-- 1 jenkins jenkins 176 Sep 24 12:50 .gitignore [2020-09-24T12:53:38.616Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 24 12:51 .semver [2020-09-24T12:53:38.616Z] -rw-rw-r-- 1 jenkins jenkins 3104 Sep 24 12:50 Attribution.txt [2020-09-24T12:53:38.616Z] -rw-rw-r-- 1 jenkins jenkins 5980 Sep 24 12:50 CHANGES [2020-09-24T12:53:38.616Z] -rw-rw-r-- 1 jenkins jenkins 108574 Sep 24 12:50 Doxyfile [2020-09-24T12:53:38.616Z] -rw-rw-r-- 1 jenkins jenkins 794 Sep 24 12:50 Jenkinsfile [2020-09-24T12:53:38.616Z] -rw-rw-r-- 1 jenkins jenkins 10174 Sep 24 12:50 LICENSE [2020-09-24T12:53:38.616Z] -rw-rw-r-- 1 jenkins jenkins 449 Sep 24 12:50 Makefile [2020-09-24T12:53:38.616Z] -rw-rw-r-- 1 jenkins jenkins 2697 Sep 24 12:50 README.md [2020-09-24T12:53:38.616Z] -rw-rw-r-- 1 jenkins jenkins 5977 Sep 24 12:50 README.v2.md [2020-09-24T12:53:38.616Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 24 12:48 VERSION [2020-09-24T12:53:38.616Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 24 12:50 docs [2020-09-24T12:53:38.616Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 24 12:50 include [2020-09-24T12:53:38.616Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 24 12:50 scripts [2020-09-24T12:53:38.616Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 24 12:50 src [Pipeline] isUnix [Pipeline] sh [2020-09-24T12:53:38.924Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-09-24T12:53:39.028Z] + 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=3c2e643e55ac71479f89c1d04f9b818a0ce441ed --label arch=arm64 --label version=0.0.0 . [2020-09-24T12:53:39.214Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-09-24T12:53:39.547Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-09-24T12:53:39.547Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-09-24T12:53:39.665Z] Sending build context to Docker daemon 3.756MB [2020-09-24T12:53:39.665Z] Step 1/15 : ARG BASE=alpine:3.11 [2020-09-24T12:53:39.665Z] Step 2/15 : FROM ${BASE} [2020-09-24T12:53:39.665Z] ---> 5e64f4d07032 [2020-09-24T12:53:39.665Z] Step 3/15 : MAINTAINER IOTech [2020-09-24T12:53:39.665Z] ---> Running in 0c1b3d9b4d7b [2020-09-24T12:53:39.853Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-09-24T12:53:39.853Z] [ 70%] Linking C shared library libcsdk.so [2020-09-24T12:53:40.201Z] [ 70%] Built target csdk [2020-09-24T12:53:40.201Z] Scanning dependencies of target template [2020-09-24T12:53:40.201Z] [ 72%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-09-24T12:53:40.201Z] [ 74%] Linking C executable template [2020-09-24T12:53:40.285Z] Removing intermediate container 0c1b3d9b4d7b [2020-09-24T12:53:40.285Z] ---> c5b74d4fd187 [2020-09-24T12:53:40.285Z] 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 [2020-09-24T12:53:40.285Z] ---> Running in f32f568fe1ef [2020-09-24T12:53:40.609Z] [ 74%] Built target template [2020-09-24T12:53:40.609Z] Scanning dependencies of target device-counter [2020-09-24T12:53:40.609Z] [ 75%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-09-24T12:53:40.954Z] [ 77%] Linking C executable device-counter [2020-09-24T12:53:40.954Z] [ 77%] Built target device-counter [2020-09-24T12:53:40.954Z] Scanning dependencies of target device-random [2020-09-24T12:53:40.954Z] [ 79%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-09-24T12:53:41.312Z] [ 80%] Linking C executable device-random [2020-09-24T12:53:41.614Z] [ 80%] Built target device-random [2020-09-24T12:53:41.614Z] Scanning dependencies of target device-gyro [2020-09-24T12:53:41.614Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-09-24T12:53:41.746Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2020-09-24T12:53:41.894Z] [ 83%] Linking C executable device-gyro [2020-09-24T12:53:41.894Z] [ 83%] Built target device-gyro [2020-09-24T12:53:41.894Z] Scanning dependencies of target device-bitfields [2020-09-24T12:53:41.894Z] [ 85%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2020-09-24T12:53:42.220Z] [ 87%] Linking C executable device-bitfields [2020-09-24T12:53:42.220Z] [ 87%] Built target device-bitfields [2020-09-24T12:53:42.220Z] Scanning dependencies of target template-discovery [2020-09-24T12:53:42.220Z] [ 88%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-09-24T12:53:42.555Z] [ 90%] Linking C executable template-discovery [2020-09-24T12:53:42.758Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2020-09-24T12:53:42.918Z] [ 90%] Built target template-discovery [2020-09-24T12:53:42.918Z] Scanning dependencies of target device-file [2020-09-24T12:53:42.918Z] [ 91%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2020-09-24T12:53:43.035Z] (1/6) Installing ncurses-dev (6.1_p20190105-r0) [2020-09-24T12:53:43.035Z] (2/6) Installing libblkid (2.33-r0) [2020-09-24T12:53:43.035Z] (3/6) Installing libfdisk (2.33-r0) [2020-09-24T12:53:43.309Z] (4/6) Installing libmount (2.33-r0) [2020-09-24T12:53:43.309Z] (5/6) Installing libsmartcols (2.33-r0) [2020-09-24T12:53:43.309Z] (6/6) Installing util-linux-dev (2.33-r0) [2020-09-24T12:53:43.393Z] [ 93%] Linking C executable device-file [2020-09-24T12:53:43.393Z] [ 93%] Built target device-file [2020-09-24T12:53:43.393Z] Scanning dependencies of target device-terminal [2020-09-24T12:53:43.393Z] [ 95%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-09-24T12:53:43.817Z] [ 96%] Linking C executable device-terminal [2020-09-24T12:53:43.817Z] [ 96%] Built target device-terminal [2020-09-24T12:53:43.817Z] Scanning dependencies of target templatev1 [2020-09-24T12:53:43.817Z] [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o [2020-09-24T12:53:43.817Z] [100%] Linking C executable templatev1 [2020-09-24T12:53:43.905Z] Executing busybox-1.29.3-r10.trigger [2020-09-24T12:53:43.905Z] OK: 286 MiB in 84 packages [2020-09-24T12:53:44.241Z] [100%] Built target templatev1 [2020-09-24T12:53:44.241Z] make: Entering directory '/tmp/sdk/build/release' [2020-09-24T12:53:44.241Z] make[1]: Entering directory '/tmp/sdk/build/release' [2020-09-24T12:53:44.241Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-09-24T12:53:44.241Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-09-24T12:53:44.241Z] [ 70%] Built target csdk [2020-09-24T12:53:44.241Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-09-24T12:53:44.241Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-09-24T12:53:44.241Z] [ 74%] Built target template [2020-09-24T12:53:44.241Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-09-24T12:53:44.241Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-09-24T12:53:44.241Z] [ 77%] Built target device-counter [2020-09-24T12:53:44.241Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-09-24T12:53:44.241Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-09-24T12:53:44.692Z] [ 80%] Built target device-random [2020-09-24T12:53:44.692Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-09-24T12:53:44.692Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-09-24T12:53:44.692Z] [ 83%] Built target device-gyro [2020-09-24T12:53:44.692Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-09-24T12:53:44.692Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-09-24T12:53:44.692Z] [ 87%] Built target device-bitfields [2020-09-24T12:53:44.692Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-09-24T12:53:44.692Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-09-24T12:53:44.692Z] [ 90%] Built target template-discovery [2020-09-24T12:53:44.692Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-09-24T12:53:44.692Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-09-24T12:53:44.692Z] [ 93%] Built target device-file [2020-09-24T12:53:44.692Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-09-24T12:53:44.692Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-09-24T12:53:44.692Z] [ 96%] Built target device-terminal [2020-09-24T12:53:44.692Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-09-24T12:53:45.007Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-09-24T12:53:45.007Z] [100%] Built target templatev1 [2020-09-24T12:53:45.007Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2020-09-24T12:53:45.007Z] Install the project... [2020-09-24T12:53:45.007Z] -- Install configuration: "Release" [2020-09-24T12:53:45.007Z] -- Installing: /usr/local/lib/libcsdk.so [2020-09-24T12:53:45.007Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2020-09-24T12:53:45.007Z] -- Up-to-date: /usr/local/include [2020-09-24T12:53:45.007Z] -- Installing: /usr/local/include/devsdk [2020-09-24T12:53:45.007Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2020-09-24T12:53:45.007Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2020-09-24T12:53:45.007Z] -- Installing: /usr/local/include/edgex [2020-09-24T12:53:45.007Z] -- Installing: /usr/local/include/edgex/device-mgmt.h [2020-09-24T12:53:45.007Z] -- Installing: /usr/local/include/edgex/devices.h [2020-09-24T12:53:45.007Z] -- Installing: /usr/local/include/edgex/devsdk.h [2020-09-24T12:53:45.007Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2020-09-24T12:53:45.007Z] -- Installing: /usr/local/include/edgex/edgex.h [2020-09-24T12:53:45.007Z] -- Installing: /usr/local/include/edgex/error.h [2020-09-24T12:53:45.007Z] -- Installing: /usr/local/include/edgex/eventgen.h [2020-09-24T12:53:45.007Z] -- Installing: /usr/local/include/edgex/os.h [2020-09-24T12:53:45.007Z] -- Installing: /usr/local/include/edgex/profiles.h [2020-09-24T12:53:45.007Z] -- Installing: /usr/local/include/edgex/rest-server.h [2020-09-24T12:53:45.007Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2020-09-24T12:53:45.007Z] -- Installing: /usr/local/include/iot [2020-09-24T12:53:45.008Z] -- Installing: /usr/local/include/iot/base64.h [2020-09-24T12:53:45.008Z] -- Installing: /usr/local/include/iot/component.h [2020-09-24T12:53:45.008Z] -- Installing: /usr/local/include/iot/config.h [2020-09-24T12:53:45.008Z] -- Installing: /usr/local/include/iot/container.h [2020-09-24T12:53:45.008Z] -- Installing: /usr/local/include/iot/data.h [2020-09-24T12:53:45.008Z] -- Installing: /usr/local/include/iot/hash.h [2020-09-24T12:53:45.008Z] -- Installing: /usr/local/include/iot/iot.h [2020-09-24T12:53:45.008Z] -- Installing: /usr/local/include/iot/json.h [2020-09-24T12:53:45.008Z] -- Installing: /usr/local/include/iot/logger.h [2020-09-24T12:53:45.008Z] -- Installing: /usr/local/include/iot/os.h [2020-09-24T12:53:45.008Z] -- Installing: /usr/local/include/iot/scheduler.h [2020-09-24T12:53:45.008Z] -- Installing: /usr/local/include/iot/thread.h [2020-09-24T12:53:45.008Z] -- Installing: /usr/local/include/iot/threadpool.h [2020-09-24T12:53:45.008Z] -- Installing: /usr/local/include/iot/time.h [2020-09-24T12:53:45.008Z] -- Installing: /usr/local/include/iot/typecode.h [2020-09-24T12:53:45.008Z] -- Installing: /usr/local/include/iot/yxml.h [2020-09-24T12:53:45.008Z] -- Installing: /usr/local/include/iot/os [2020-09-24T12:53:45.008Z] -- Installing: /usr/local/include/iot/os/linux.h [2020-09-24T12:53:45.008Z] -- Installing: /usr/local/include/iot/os/macos.h [2020-09-24T12:53:45.008Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2020-09-24T12:53:45.008Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2020-09-24T12:53:45.008Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2020-09-24T12:53:45.008Z] make: Leaving directory '/tmp/sdk/build/release' [2020-09-24T12:53:45.352Z] Removing intermediate container f32f568fe1ef [2020-09-24T12:53:45.352Z] ---> d5ae61ae4a28 [2020-09-24T12:53:45.352Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2020-09-24T12:53:45.948Z] ---> 7764de43cf3c [2020-09-24T12:53:45.948Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2020-09-24T12:53:46.936Z] ---> f5318b338c1a [2020-09-24T12:53:46.936Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2020-09-24T12:53:47.548Z] ---> b5f75d50f532 [2020-09-24T12:53:47.548Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2020-09-24T12:53:47.794Z] Removing intermediate container b43190ed302e [2020-09-24T12:53:47.794Z] ---> 4e7868ea590e [2020-09-24T12:53:47.794Z] Step 14/21 : FROM ${BASE} [2020-09-24T12:53:47.794Z] ---> 5eabd8fd8ba2 [2020-09-24T12:53:47.794Z] Step 15/21 : MAINTAINER IOTech [2020-09-24T12:53:47.794Z] ---> Running in 69803088cf5f [2020-09-24T12:53:47.794Z] Removing intermediate container 69803088cf5f [2020-09-24T12:53:47.794Z] ---> 08d56d50ffd3 [2020-09-24T12:53:47.794Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2020-09-24T12:53:48.125Z] ---> Running in 14cd971e36c4 [2020-09-24T12:53:48.172Z] ---> 16b83ba9dbd0 [2020-09-24T12:53:48.172Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2020-09-24T12:53:49.201Z] ---> 3f5c9770efc7 [2020-09-24T12:53:49.201Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2020-09-24T12:53:49.820Z] ---> ab237a9acafa [2020-09-24T12:53:49.820Z] Step 11/15 : WORKDIR /edgex-c-sdk [2020-09-24T12:53:49.820Z] ---> Running in af440b242e05 [2020-09-24T12:53:49.990Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2020-09-24T12:53:50.367Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2020-09-24T12:53:50.446Z] Removing intermediate container af440b242e05 [2020-09-24T12:53:50.446Z] ---> 04c0b4fa0d21 [2020-09-24T12:53:50.446Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2020-09-24T12:53:50.446Z] ---> Running in 653338741dd4 [2020-09-24T12:53:50.676Z] (1/3) Installing curl (7.64.0-r4) [2020-09-24T12:53:50.997Z] (2/3) Installing libuuid (2.33-r0) [2020-09-24T12:53:50.997Z] (3/3) Installing wget (1.20.3-r0) [2020-09-24T12:53:51.085Z] Removing intermediate container 653338741dd4 [2020-09-24T12:53:51.085Z] ---> 6fdf23aeb6a9 [2020-09-24T12:53:51.085Z] Step 13/15 : LABEL arch=arm64 [2020-09-24T12:53:51.085Z] ---> Running in 61beb9d04870 [2020-09-24T12:53:51.324Z] Executing busybox-1.29.3-r10.trigger [2020-09-24T12:53:51.324Z] OK: 268 MiB in 78 packages [2020-09-24T12:53:51.719Z] Removing intermediate container 61beb9d04870 [2020-09-24T12:53:51.719Z] ---> 9f56fb221ee1 [2020-09-24T12:53:51.719Z] Step 14/15 : LABEL git_sha=3c2e643e55ac71479f89c1d04f9b818a0ce441ed [2020-09-24T12:53:51.719Z] ---> Running in 36a32ca894c1 [2020-09-24T12:53:52.336Z] Removing intermediate container 36a32ca894c1 [2020-09-24T12:53:52.336Z] ---> 4dd489925c6f [2020-09-24T12:53:52.336Z] Step 15/15 : LABEL version=0.0.0 [2020-09-24T12:53:52.336Z] ---> Running in 1a28bf95a37c [2020-09-24T12:53:52.381Z] Removing intermediate container 14cd971e36c4 [2020-09-24T12:53:52.381Z] ---> e87e7130b6a5 [2020-09-24T12:53:52.381Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2020-09-24T12:53:52.627Z] Removing intermediate container 1a28bf95a37c [2020-09-24T12:53:52.627Z] ---> 14414210dd05 [2020-09-24T12:53:52.627Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2020-09-24T12:53:52.627Z] Successfully built 14414210dd05 [2020-09-24T12:53:52.719Z] ---> 9f00c6495bea [2020-09-24T12:53:52.719Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2020-09-24T12:53:52.928Z] Successfully tagged docker-device-sdk-c-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [2020-09-24T12:53:53.387Z] ---> c775ab32d2f5 [2020-09-24T12:53:53.387Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [2020-09-24T12:53:53.696Z] ---> 183d8912540c [2020-09-24T12:53:53.697Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [2020-09-24T12:53:54.399Z] ---> 655bcd5f9578 [2020-09-24T12:53:54.399Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [2020-09-24T12:53:54.731Z] ---> d19d6c2b0ff3 [2020-09-24T12:53:54.731Z] Successfully built d19d6c2b0ff3 [2020-09-24T12:53:54.731Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-24T12:53:56.342Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-24T12:53:56.342Z] . [Pipeline] withDockerContainer [2020-09-24T12:53:56.870Z] prd-centos7-docker-4c-2g-1143 does not seem to be running inside a container [2020-09-24T12:53:57.202Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-09-24T12:53:58.162Z] $ docker top ae4cf3468129e68a62d650c4188f830e93fb150fddf7f559bd9ce2684d2e8e12 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-24T12:53:58.849Z] + make test [2020-09-24T12:53:58.849Z] echo "make test" [2020-09-24T12:53:58.849Z] make test [Pipeline] } [2020-09-24T12:53:58.956Z] $ docker stop --time=1 ae4cf3468129e68a62d650c4188f830e93fb150fddf7f559bd9ce2684d2e8e12 [2020-09-24T12:54:00.890Z] $ docker rm -f ae4cf3468129e68a62d650c4188f830e93fb150fddf7f559bd9ce2684d2e8e12 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-24T12:54:02.223Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-24T12:54:02.760Z] + ls -al . [2020-09-24T12:54:02.760Z] total 160 [2020-09-24T12:54:02.760Z] drwxrwxr-x. 9 jenkins jenkins 275 Sep 24 12:52 . [2020-09-24T12:54:02.760Z] drwxrwxr-x. 4 jenkins jenkins 28 Sep 24 12:52 .. [2020-09-24T12:54:02.760Z] -rw-rw-r--. 1 jenkins jenkins 3104 Sep 24 12:52 Attribution.txt [2020-09-24T12:54:02.760Z] -rw-rw-r--. 1 jenkins jenkins 5980 Sep 24 12:52 CHANGES [2020-09-24T12:54:02.760Z] drwxrwxr-x. 2 jenkins jenkins 144 Sep 24 12:52 docs [2020-09-24T12:54:02.760Z] -rw-rw-r--. 1 jenkins jenkins 108574 Sep 24 12:52 Doxyfile [2020-09-24T12:54:02.760Z] drwxrwxr-x. 8 jenkins jenkins 179 Sep 24 12:52 .git [2020-09-24T12:54:02.760Z] drwxrwxr-x. 2 jenkins jenkins 38 Sep 24 12:52 .github [2020-09-24T12:54:02.760Z] -rw-rw-r--. 1 jenkins jenkins 176 Sep 24 12:52 .gitignore [2020-09-24T12:54:02.760Z] drwxrwxr-x. 4 jenkins jenkins 33 Sep 24 12:52 include [2020-09-24T12:54:02.760Z] -rw-rw-r--. 1 jenkins jenkins 794 Sep 24 12:52 Jenkinsfile [2020-09-24T12:54:02.760Z] -rw-rw-r--. 1 jenkins jenkins 10174 Sep 24 12:52 LICENSE [2020-09-24T12:54:02.760Z] -rw-rw-r--. 1 jenkins jenkins 449 Sep 24 12:52 Makefile [2020-09-24T12:54:02.760Z] -rw-rw-r--. 1 jenkins jenkins 2697 Sep 24 12:52 README.md [2020-09-24T12:54:02.760Z] -rw-rw-r--. 1 jenkins jenkins 5977 Sep 24 12:52 README.v2.md [2020-09-24T12:54:02.760Z] drwxrwxr-x. 2 jenkins jenkins 108 Sep 24 12:52 scripts [2020-09-24T12:54:02.760Z] drwxrwxr-x. 3 jenkins jenkins 72 Sep 24 12:52 .semver [2020-09-24T12:54:02.760Z] drwxrwxr-x. 4 jenkins jenkins 50 Sep 24 12:52 src [2020-09-24T12:54:02.760Z] -rw-rw-r--. 1 jenkins jenkins 5 Sep 24 12:48 VERSION [Pipeline] isUnix [Pipeline] sh [2020-09-24T12:54:03.364Z] + 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=3c2e643e55ac71479f89c1d04f9b818a0ce441ed --label arch=amd64 --label version=0.0.0 . [2020-09-24T12:54:03.681Z] Sending build context to Docker daemon 3.756MB [2020-09-24T12:54:03.681Z] Step 1/15 : ARG BASE=alpine:3.11 [2020-09-24T12:54:03.681Z] Step 2/15 : FROM ${BASE} [2020-09-24T12:54:03.681Z] ---> d19d6c2b0ff3 [2020-09-24T12:54:03.681Z] Step 3/15 : MAINTAINER IOTech [2020-09-24T12:54:03.957Z] ---> Running in eed57b7433ae [2020-09-24T12:54:04.251Z] Removing intermediate container eed57b7433ae [2020-09-24T12:54:04.251Z] ---> b07ca2c290e1 [2020-09-24T12:54:04.251Z] 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 [2020-09-24T12:54:04.251Z] ---> Running in 35dc0987e9f0 [2020-09-24T12:54:05.318Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2020-09-24T12:54:05.943Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2020-09-24T12:54:06.224Z] (1/6) Installing ncurses-dev (6.1_p20190105-r0) [2020-09-24T12:54:06.502Z] (2/6) Installing libblkid (2.33-r0) [2020-09-24T12:54:06.502Z] (3/6) Installing libfdisk (2.33-r0) [2020-09-24T12:54:06.502Z] (4/6) Installing libmount (2.33-r0) [2020-09-24T12:54:06.777Z] (5/6) Installing libsmartcols (2.33-r0) [2020-09-24T12:54:06.777Z] (6/6) Installing util-linux-dev (2.33-r0) [2020-09-24T12:54:07.100Z] Executing busybox-1.29.3-r10.trigger [2020-09-24T12:54:07.370Z] OK: 272 MiB in 84 packages [2020-09-24T12:54:08.345Z] Removing intermediate container 35dc0987e9f0 [2020-09-24T12:54:08.345Z] ---> 094c1b023c38 [2020-09-24T12:54:08.345Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2020-09-24T12:54:08.620Z] ---> 79059faf0a77 [2020-09-24T12:54:08.620Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2020-09-24T12:54:09.608Z] ---> c0204f448b14 [2020-09-24T12:54:09.608Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2020-09-24T12:54:09.884Z] ---> db040a87e3d8 [2020-09-24T12:54:09.884Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2020-09-24T12:54:10.528Z] ---> 6a9a1e157204 [2020-09-24T12:54:10.528Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2020-09-24T12:54:10.820Z] ---> 7429a2a20047 [2020-09-24T12:54:10.820Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2020-09-24T12:54:11.451Z] ---> 6da07671cbee [2020-09-24T12:54:11.451Z] Step 11/15 : WORKDIR /edgex-c-sdk [2020-09-24T12:54:11.451Z] ---> Running in f55ce84b6c57 [2020-09-24T12:54:11.749Z] Removing intermediate container f55ce84b6c57 [2020-09-24T12:54:11.749Z] ---> f2ca3638a9d0 [2020-09-24T12:54:11.749Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2020-09-24T12:54:11.749Z] ---> Running in 87b6cf0e7b0e [2020-09-24T12:54:12.029Z] Removing intermediate container 87b6cf0e7b0e [2020-09-24T12:54:12.029Z] ---> f54c1fd08640 [2020-09-24T12:54:12.029Z] Step 13/15 : LABEL arch=amd64 [2020-09-24T12:54:12.029Z] ---> Running in f52a9f5e14be [2020-09-24T12:54:12.332Z] Removing intermediate container f52a9f5e14be [2020-09-24T12:54:12.332Z] ---> 5f40f017e879 [2020-09-24T12:54:12.332Z] Step 14/15 : LABEL git_sha=3c2e643e55ac71479f89c1d04f9b818a0ce441ed [2020-09-24T12:54:12.332Z] ---> Running in 111e44ac42b6 [2020-09-24T12:54:12.604Z] Removing intermediate container 111e44ac42b6 [2020-09-24T12:54:12.604Z] ---> b958f53cab77 [2020-09-24T12:54:12.604Z] Step 15/15 : LABEL version=0.0.0 [2020-09-24T12:54:12.870Z] ---> Running in 8695a5daabcd [2020-09-24T12:54:13.139Z] Removing intermediate container 8695a5daabcd [2020-09-24T12:54:13.139Z] ---> 996c107dc5e1 [2020-09-24T12:54:13.139Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2020-09-24T12:54:13.139Z] Successfully built 996c107dc5e1 [2020-09-24T12:54:13.139Z] Successfully tagged docker-device-sdk-c:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [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 [2020-09-24T12:54:17.195Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-24T12:54:17.805Z] ---> package-listing.sh [2020-09-24T12:54:17.805Z] ++ facter osfamily [2020-09-24T12:54:17.805Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-24T12:54:17.805Z] + OS_FAMILY=redhat [2020-09-24T12:54:17.805Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-296 [2020-09-24T12:54:17.805Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-24T12:54:17.805Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-24T12:54:17.805Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-24T12:54:17.805Z] + PACKAGES=/tmp/packages_start.txt [2020-09-24T12:54:17.805Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-296 ']' [2020-09-24T12:54:17.805Z] + PACKAGES=/tmp/packages_end.txt [2020-09-24T12:54:17.805Z] + case "${OS_FAMILY}" in [2020-09-24T12:54:17.805Z] + rpm -qa [2020-09-24T12:54:17.805Z] + sort [2020-09-24T12:54:22.043Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-24T12:54:22.043Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-24T12:54:22.043Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-24T12:54:22.043Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-296 ']' [2020-09-24T12:54:22.043Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-296/archives/ [2020-09-24T12:54:22.043Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-296/archives/ [Pipeline] isUnix [Pipeline] sh [2020-09-24T12:54:23.116Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-24T12:54:23.116Z] [2020-09-24T12:54:23.116Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-24T12:54:23.503Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-24T12:54:23.503Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-24T12:54:23.503Z] df20fa9351a1: Pulling fs layer [2020-09-24T12:54:23.503Z] 36b3adc4ff6f: Pulling fs layer [2020-09-24T12:54:23.503Z] 8ad3a11d3b57: Pulling fs layer [2020-09-24T12:54:23.503Z] 46f8f816bc3b: Pulling fs layer [2020-09-24T12:54:23.503Z] 0dadc02b9964: Pulling fs layer [2020-09-24T12:54:23.503Z] ce6a7cf60c04: Pulling fs layer [2020-09-24T12:54:23.503Z] 7a184a31f384: Pulling fs layer [2020-09-24T12:54:23.503Z] 0879bd2ef858: Pulling fs layer [2020-09-24T12:54:23.503Z] 46f8f816bc3b: Waiting [2020-09-24T12:54:23.503Z] 0dadc02b9964: Waiting [2020-09-24T12:54:23.503Z] ce6a7cf60c04: Waiting [2020-09-24T12:54:23.503Z] 7a184a31f384: Waiting [2020-09-24T12:54:23.503Z] 0879bd2ef858: Waiting [2020-09-24T12:54:23.503Z] 36b3adc4ff6f: Verifying Checksum [2020-09-24T12:54:23.503Z] 36b3adc4ff6f: Download complete [2020-09-24T12:54:23.503Z] 46f8f816bc3b: Verifying Checksum [2020-09-24T12:54:23.503Z] 46f8f816bc3b: Download complete [2020-09-24T12:54:23.772Z] df20fa9351a1: Download complete [2020-09-24T12:54:23.772Z] ce6a7cf60c04: Download complete [2020-09-24T12:54:23.772Z] 7a184a31f384: Download complete [2020-09-24T12:54:23.772Z] 0dadc02b9964: Verifying Checksum [2020-09-24T12:54:23.772Z] 0dadc02b9964: Download complete [2020-09-24T12:54:24.038Z] df20fa9351a1: Pull complete [2020-09-24T12:54:24.038Z] 8ad3a11d3b57: Verifying Checksum [2020-09-24T12:54:24.038Z] 8ad3a11d3b57: Download complete [2020-09-24T12:54:24.305Z] 36b3adc4ff6f: Pull complete [2020-09-24T12:54:24.570Z] 0879bd2ef858: Verifying Checksum [2020-09-24T12:54:24.570Z] 0879bd2ef858: Download complete [2020-09-24T12:54:24.833Z] 8ad3a11d3b57: Pull complete [2020-09-24T12:54:24.833Z] 46f8f816bc3b: Pull complete [2020-09-24T12:54:25.096Z] 0dadc02b9964: Pull complete [2020-09-24T12:54:25.362Z] ce6a7cf60c04: Pull complete [2020-09-24T12:54:25.362Z] 7a184a31f384: Pull complete [2020-09-24T12:54:27.920Z] 0879bd2ef858: Pull complete [2020-09-24T12:54:27.920Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-24T12:54:27.920Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-24T12:54:27.920Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-24T12:54:28.075Z] prd-centos7-docker-4c-2g-1141 does not seem to be running inside a container [2020-09-24T12:54:28.125Z] $ 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-296 -v /w/workspace/edgexfoundry_device-sdk-c_PR-296:/w/workspace/edgexfoundry_device-sdk-c_PR-296:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-296@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-296@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-09-24T12:54:33.840Z] $ docker top 53608964313f61ab6a26581221a25cd24cab7d44f7d43f7d2ffb97f160f6d4b8 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-24T12:54:34.852Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-24T12:54:35.247Z] + ls /var/log/sa-host [2020-09-24T12:54:35.247Z] + sadf -c /var/log/sa-host/sa05 [2020-09-24T12:54:35.247Z] file_magic: OK [2020-09-24T12:54:35.247Z] HZ: Using current value: 100 [2020-09-24T12:54:35.247Z] file_header: OK [2020-09-24T12:54:35.247Z] 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 [2020-09-24T12:54:35.247Z] Statistics: [2020-09-24T12:54:35.247Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-24T12:54:35.247Z] File successfully converted to sysstat format version 12.2.1 [2020-09-24T12:54:35.247Z] + sadf -c /var/log/sa-host/sa24 [2020-09-24T12:54:35.247Z] file_magic: OK [2020-09-24T12:54:35.247Z] HZ: Using current value: 100 [2020-09-24T12:54:35.247Z] file_header: OK [2020-09-24T12:54:35.247Z] 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 [2020-09-24T12:54:35.247Z] Statistics: [2020-09-24T12:54:35.247Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-24T12:54:35.247Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-24T12:54:35.699Z] provisioning config files... [2020-09-24T12:54:35.724Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-296@tmp/config4997441938693589240tmp [Pipeline] { [Pipeline] echo [2020-09-24T12:54:35.921Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-24T12:54:36.480Z] ---> create-netrc.sh [Pipeline] echo [2020-09-24T12:54:36.596Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-24T12:54:37.071Z] ---> logs-deploy.sh [2020-09-24T12:54:37.071Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-296/1 [2020-09-24T12:54:37.071Z] INFO: archiving workspace using pattern(s): [2020-09-24T12:54:38.463Z] Archives upload complete. [2020-09-24T12:54:38.463Z] INFO: archiving logs to Nexus [2020-09-24T12:54:39.412Z] ---> uname -a: [2020-09-24T12:54:39.413Z] Linux 53608964313f 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux [2020-09-24T12:54:39.413Z] [2020-09-24T12:54:39.413Z] [2020-09-24T12:54:39.413Z] ---> lscpu: [2020-09-24T12:54:39.413Z] Architecture: x86_64 [2020-09-24T12:54:39.413Z] CPU op-mode(s): 32-bit, 64-bit [2020-09-24T12:54:39.413Z] Byte Order: Little Endian [2020-09-24T12:54:39.413Z] Address sizes: 40 bits physical, 48 bits virtual [2020-09-24T12:54:39.413Z] CPU(s): 4 [2020-09-24T12:54:39.413Z] On-line CPU(s) list: 0-3 [2020-09-24T12:54:39.413Z] Thread(s) per core: 1 [2020-09-24T12:54:39.413Z] Core(s) per socket: 1 [2020-09-24T12:54:39.413Z] Socket(s): 4 [2020-09-24T12:54:39.413Z] NUMA node(s): 1 [2020-09-24T12:54:39.413Z] Vendor ID: GenuineIntel [2020-09-24T12:54:39.413Z] CPU family: 6 [2020-09-24T12:54:39.413Z] Model: 44 [2020-09-24T12:54:39.413Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2020-09-24T12:54:39.413Z] Stepping: 1 [2020-09-24T12:54:39.413Z] CPU MHz: 2933.436 [2020-09-24T12:54:39.413Z] BogoMIPS: 5866.87 [2020-09-24T12:54:39.413Z] Virtualization: VT-x [2020-09-24T12:54:39.413Z] Hypervisor vendor: KVM [2020-09-24T12:54:39.413Z] Virtualization type: full [2020-09-24T12:54:39.413Z] L1d cache: 128 KiB [2020-09-24T12:54:39.413Z] L1i cache: 128 KiB [2020-09-24T12:54:39.413Z] L2 cache: 16 MiB [2020-09-24T12:54:39.413Z] L3 cache: 64 MiB [2020-09-24T12:54:39.413Z] NUMA node0 CPU(s): 0-3 [2020-09-24T12:54:39.413Z] Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages [2020-09-24T12:54:39.413Z] Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled [2020-09-24T12:54:39.413Z] Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown [2020-09-24T12:54:39.413Z] Vulnerability Meltdown: Mitigation; PTI [2020-09-24T12:54:39.413Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2020-09-24T12:54:39.413Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2020-09-24T12:54:39.413Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2020-09-24T12:54:39.413Z] Vulnerability Tsx async abort: Not affected [2020-09-24T12:54:39.413Z] 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 [2020-09-24T12:54:39.413Z] [2020-09-24T12:54:39.413Z] [2020-09-24T12:54:39.413Z] ---> nproc: [2020-09-24T12:54:39.413Z] 4 [2020-09-24T12:54:39.413Z] [2020-09-24T12:54:39.413Z]