Pull request #302 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 fc854f4bff20fb2ce763f8bb08c8644b83cbf65a+1c3cbe1168f8f4990475966f6e71602a78dc5c52 (f83f45f6eaa45fe0f8fc80aa33febf89547ff79f) 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 a2cbe11917bfb8801b6bc99aaa80229564ed4294 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 a2cbe11917bfb8801b6bc99aaa80229564ed4294 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-302/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 a2cbe11917bfb8801b6bc99aaa80229564ed4294 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a2cbe11917bfb8801b6bc99aaa80229564ed4294 # timeout=10 Commit message: "Merge pull request #273 from ernestojeda/fix-semver-dir-permissions" > 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. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-302/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object a2cbe11917bfb8801b6bc99aaa80229564ed4294 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-3.11-base, dockerFilePath:scripts/Dockerfile.alpine-3.11, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest DOCKER_FILE_PATH: scripts/Dockerfile.alpine-3.11 DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-3.11-base DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-c DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-3642’ is offline Running on prd-centos7-docker-4c-2g-6274 in /w/workspace/edgexfoundry_device-sdk-c_PR-302 [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-302 # 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/302/head:refs/remotes/origin/PR-302 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 1c3cbe1168f8f4990475966f6e71602a78dc5c52 into PR head commit fc854f4bff20fb2ce763f8bb08c8644b83cbf65a Merge succeeded, producing fc854f4bff20fb2ce763f8bb08c8644b83cbf65a Checking out Revision fc854f4bff20fb2ce763f8bb08c8644b83cbf65a (PR-302) > git config core.sparsecheckout # timeout=10 > git checkout -f fc854f4bff20fb2ce763f8bb08c8644b83cbf65a # 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 1c3cbe1168f8f4990475966f6e71602a78dc5c52 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fc854f4bff20fb2ce763f8bb08c8644b83cbf65a # timeout=10 Commit message: "ci: add semantic.yml for commit linting" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object a2cbe11917bfb8801b6bc99aaa80229564ed4294 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:39:37 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:39:37 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:39:38 ========================================================= 14:39:38 EdgeX Global Pipelines Version Info 14:39:38 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:39:40 ------------------- 14:39:40 stable info: 14:39:40 ------------------- 14:39:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:39:40 Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 14:39:40 Message: update stable to v1.0.144 14:39:41 ------------------- 14:39:41 experimental info: 14:39:41 ------------------- 14:39:41 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:39:41 Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 14:39:41 Message: update experimental to v1.0.144 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 14:39:41 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 14:39:41 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 14:39:42 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:39:42 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:39:42 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:39:42 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo 14:39:42 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine-3.11 [Pipeline] echo 14:39:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-3.11-base [Pipeline] echo 14:39:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:39:43 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-c [Pipeline] echo 14:39:43 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:39:43 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:39:43 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:39:43 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 14:39:44 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:39:44 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 14:39:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-302 [Pipeline] echo 14:39:44 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-302 [Pipeline] echo 14:39:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-302 [Pipeline] echo 14:39:44 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fc854f4bff20fb2ce763f8bb08c8644b83cbf65a [Pipeline] echo 14:39:45 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fc854f4 [Pipeline] echo 14:39:45 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 14:39:47 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:39:47 14:39:47 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 14:39:47 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:39:47 latest: Pulling from edgex-devops/git-semver 14:39:47 31603596830f: Pulling fs layer 14:39:47 2a8b12db71e7: Pulling fs layer 14:39:47 6ca5941a6612: Pulling fs layer 14:39:47 ecc8261a40a4: Pulling fs layer 14:39:47 ecc8261a40a4: Waiting 14:39:48 2a8b12db71e7: Verifying Checksum 14:39:48 2a8b12db71e7: Download complete 14:39:48 31603596830f: Download complete 14:39:48 ecc8261a40a4: Verifying Checksum 14:39:48 ecc8261a40a4: Download complete 14:39:48 6ca5941a6612: Verifying Checksum 14:39:48 6ca5941a6612: Download complete 14:39:48 31603596830f: Pull complete 14:39:48 2a8b12db71e7: Pull complete 14:39:49 6ca5941a6612: Pull complete 14:39:49 ecc8261a40a4: Pull complete 14:39:49 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 14:39:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:39:49 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 14:39:49 prd-centos7-docker-4c-2g-6274 does not seem to be running inside a container 14:39:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-302 -v /w/workspace/edgexfoundry_device-sdk-c_PR-302:/w/workspace/edgexfoundry_device-sdk-c_PR-302:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-302@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-302@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 14:39:52 $ docker top 4ca098cee125653e924cd6146e3d1b442f843b342c98a728b0decde4b185ed5b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:39:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:39:52 [ssh-agent] Looking for ssh-agent implementation... 14:39:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:39:52 $ docker exec 4ca098cee125653e924cd6146e3d1b442f843b342c98a728b0decde4b185ed5b ssh-agent 14:39:53 SSH_AUTH_SOCK=/tmp/ssh-lFg33QQ7T0sN/agent.12 14:39:53 SSH_AGENT_PID=17 14:39:53 Running ssh-add (command line suppressed) 14:39:53 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-302@tmp/private_key_134134834478233002.key (/w/workspace/edgexfoundry_device-sdk-c_PR-302@tmp/private_key_134134834478233002.key) 14:39:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:39:53 + git tag --points-at HEAD [Pipeline] } 14:39:53 $ docker exec --env ******** --env ******** 4ca098cee125653e924cd6146e3d1b442f843b342c98a728b0decde4b185ed5b ssh-agent -k 14:39:54 unset SSH_AUTH_SOCK; 14:39:54 unset SSH_AGENT_PID; 14:39:54 echo Agent pid 17 killed; 14:39:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:39:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:39:54 [ssh-agent] Looking for ssh-agent implementation... 14:39:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:39:54 $ docker exec 4ca098cee125653e924cd6146e3d1b442f843b342c98a728b0decde4b185ed5b ssh-agent 14:39:54 SSH_AUTH_SOCK=/tmp/ssh-UL4mhbjNG0bQ/agent.47 14:39:54 SSH_AGENT_PID=52 14:39:54 Running ssh-add (command line suppressed) 14:39:54 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-302@tmp/private_key_4032856655657054428.key (/w/workspace/edgexfoundry_device-sdk-c_PR-302@tmp/private_key_4032856655657054428.key) 14:39:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:39:55 + git semver init 14:39:55 # -> Open(): unable to determine branch for HEAD 14:39:55 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-302/.git 14:39:55 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-302 14:39:55 # $SEMVER_REMOTE_NAME = origin 14:39:55 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:39:55 # $SEMVER_USER_NAME = edgex-jenkins 14:39:55 # $SEMVER_BRANCH = PR-302 14:39:55 # $SEMVER_TEMP = /tmp/semver-031150865 14:39:55 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 14:39:56 # '/tmp/semver-031150865' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-302/.semver' 14:39:56 # -> Force: false 14:39:56 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-302/.semver [Pipeline] } 14:39:56 $ docker exec --env ******** --env ******** 4ca098cee125653e924cd6146e3d1b442f843b342c98a728b0decde4b185ed5b ssh-agent -k 14:39:56 unset SSH_AUTH_SOCK; 14:39:56 unset SSH_AGENT_PID; 14:39:56 echo Agent pid 52 killed; 14:39:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:39:57 + git semver [Pipeline] } 14:39:57 $ docker stop --time=1 4ca098cee125653e924cd6146e3d1b442f843b342c98a728b0decde4b185ed5b 14:39:59 $ docker rm -f 4ca098cee125653e924cd6146e3d1b442f843b342c98a728b0decde4b185ed5b [Pipeline] // withDockerContainer [Pipeline] sh 14:39:59 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:40:00 Stashed 1 file(s) [Pipeline] echo 14:40:00 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 14:40:16 Still waiting to schedule task 14:40:16 Waiting for next available executor on ‘centos7-docker-4c-2g’ 14:40:16 Still waiting to schedule task 14:40:16 ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ is offline 14:42:13 Running on prd-ubuntu18.04-docker-arm64-4c-16g-6275 in /w/workspace/edgexfoundry_device-sdk-c_PR-302 [Pipeline] { [Pipeline] ws 14:42:13 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 14:42:20 using credential edgex-jenkins-ssh 14:42:20 Cloning the remote Git repository 14:42:20 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 14:42:20 > git init /w/workspace/device-sdk-c/1 # timeout=10 14:42:20 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 14:42:20 > git --version # timeout=10 14:42:20 > git --version # 'git version 2.17.1' 14:42:20 using GIT_SSH to set credentials SSH Credentials for GitHub 14:42:20 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:42:22 Merging remotes/origin/master commit 1c3cbe1168f8f4990475966f6e71602a78dc5c52 into PR head commit fc854f4bff20fb2ce763f8bb08c8644b83cbf65a 14:42:22 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 14:42:22 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:42:22 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 14:42:22 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 14:42:22 using GIT_SSH to set credentials SSH Credentials for GitHub 14:42:22 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/302/head:refs/remotes/origin/PR-302 +refs/heads/master:refs/remotes/origin/master # timeout=10 14:42:22 > git config core.sparsecheckout # timeout=10 14:42:22 > git checkout -f fc854f4bff20fb2ce763f8bb08c8644b83cbf65a # timeout=10 14:42:22 > git remote # timeout=10 14:42:22 > git config --get remote.origin.url # timeout=10 14:42:22 using GIT_SSH to set credentials SSH Credentials for GitHub 14:42:23 Merge succeeded, producing fc854f4bff20fb2ce763f8bb08c8644b83cbf65a 14:42:23 Checking out Revision fc854f4bff20fb2ce763f8bb08c8644b83cbf65a (PR-302) 14:42:23 > git merge 1c3cbe1168f8f4990475966f6e71602a78dc5c52 # timeout=10 14:42:23 > git rev-parse HEAD^{commit} # timeout=10 14:42:23 > git config core.sparsecheckout # timeout=10 14:42:23 > git checkout -f fc854f4bff20fb2ce763f8bb08c8644b83cbf65a # timeout=10 14:42:27 Commit message: "ci: add semantic.yml for commit linting" 14:42:27 > git --version # timeout=10 14:42:27 > git --version # 'git version 2.17.1' 14:42:27 fatal: bad object a2cbe11917bfb8801b6bc99aaa80229564ed4294 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 14:42:29 ========================================================= 14:42:29 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 14:42:29 ========================================================= [Pipeline] isUnix [Pipeline] sh 14:42:30 + 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 . 14:42:31 Sending build context to Docker daemon 2.425MB 14:42:31 Step 1/21 : ARG BASE=alpine:3.11 14:42:31 Step 2/21 : FROM ${BASE} as builder 14:42:31 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 14:42:31 0362ad1dd800: Pulling fs layer 14:42:31 f2cdb1532d8b: Pulling fs layer 14:42:31 37ed683be191: Pulling fs layer 14:42:31 f2cdb1532d8b: Verifying Checksum 14:42:31 f2cdb1532d8b: Download complete 14:42:31 0362ad1dd800: Verifying Checksum 14:42:31 0362ad1dd800: Download complete 14:42:32 0362ad1dd800: Pull complete 14:42:33 f2cdb1532d8b: Pull complete 14:42:34 37ed683be191: Verifying Checksum 14:42:34 37ed683be191: Download complete 14:42:44 37ed683be191: Pull complete 14:42:44 Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f 14:42:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 14:42:44 ---> b23d30803547 14:42:44 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 14:42:45 ---> Running in ca932f2b6ff1 14:42:46 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 14:42:50 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 14:42:50 (1/8) Installing ncurses-dev (6.1_p20190105-r0) 14:42:51 (2/8) Installing libuuid (2.33-r0) 14:42:51 (3/8) Installing libblkid (2.33-r0) 14:42:51 (4/8) Installing libfdisk (2.33-r0) 14:42:51 (5/8) Installing libmount (2.33-r0) 14:42:51 (6/8) Installing libsmartcols (2.33-r0) 14:42:51 (7/8) Installing util-linux-dev (2.33-r0) 14:42:52 (8/8) Installing wget (1.20.3-r0) 14:42:52 Executing busybox-1.29.3-r10.trigger 14:42:52 OK: 285 MiB in 83 packages 14:42:53 Removing intermediate container ca932f2b6ff1 14:42:53 ---> 19b54f2c6ace 14:42:53 Step 4/21 : ENV CBOR_VERSION=0.5.0 14:42:53 ---> Running in a123413f5287 14:42:54 Removing intermediate container a123413f5287 14:42:54 ---> 46238d86169f 14:42:54 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 14:42:54 ---> Running in 8d26d691345b 14:42:55 --2020-10-19 14:42:55-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 14:42:55 Resolving github.com... 140.82.114.3 14:42:55 Connecting to github.com|140.82.114.3|:443... connected. 14:42:55 HTTP request sent, awaiting response... 302 Found 14:42:55 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 14:42:55 --2020-10-19 14:42:55-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 14:42:55 Resolving codeload.github.com... 140.82.112.9 14:42:55 Connecting to codeload.github.com|140.82.112.9|:443... connected. 14:42:56 HTTP request sent, awaiting response... 200 OK 14:42:56 Length: unspecified [application/x-gzip] 14:42:56 Saving to: 'STDOUT' 14:42:56  14:42:56 0K .......... .......... .......... .......... .......... 1.49M 14:42:56 50K .......... .......... .......... .......... .......... 3.00M 14:42:56 100K .......... .......... .......... .......... .......... 14.5M 14:42:56 150K .......... .......... .......... .......... .......... 3.59M 14:42:56 200K .......... .......... .......... .......... .......... 12.4M 14:42:56 250K .......... .......... .......... .......... .......... 4.28M 14:42:56 300K .......... .......... .......... .......... .......... 4.13M 14:42:56 350K .......... .......... .......... .......... .......... 4.79M 14:42:56 400K .......... .......... .......... .......... .......... 3.67M 14:42:56 450K .......... .......... .......... .......... .......... 3.97M 14:42:56 500K .......... .......... .......... .......... .......... 7.26M 14:42:56 550K .......... .......... .......... .......... .......... 2.66M 14:42:56 600K .......... .......... .......... .......... .......... 892K 14:42:56 650K .......... .......... .......... .......... .......... 2.02M 14:42:56 700K ..        8.32M=0.2s 14:42:56 14:42:56 2020-10-19 14:42:56 (2.93 MB/s) - written to stdout [719348] 14:42:56 14:42:56 -- The C compiler identification is GNU 8.3.0 14:42:56 -- The CXX compiler identification is GNU 8.3.0 14:42:56 -- Check for working C compiler: /usr/bin/cc 14:42:57 -- Check for working C compiler: /usr/bin/cc -- works 14:42:57 -- Detecting C compiler ABI info 14:42:57 -- Detecting C compiler ABI info - done 14:42:57 -- Detecting C compile features 14:42:57 Running on prd-centos7-docker-4c-2g-6276 in /w/workspace/edgexfoundry_device-sdk-c_PR-302 [Pipeline] { [Pipeline] ws 14:42:57 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 14:42:58 -- Detecting C compile features - done 14:42:58 -- Check for working CXX compiler: /usr/bin/c++ 14:42:58 -- Check for working CXX compiler: /usr/bin/c++ -- works 14:42:58 -- Detecting CXX compiler ABI info 14:42:58 -- Detecting CXX compiler ABI info - done 14:42:58 -- Detecting CXX compile features 14:43:00 -- Detecting CXX compile features - done 14:43:00 -- Looking for include file endian.h 14:43:00 -- Looking for include file endian.h - found 14:43:00 -- Check if the system is big endian 14:43:00 -- Searching 16 bit integer 14:43:00 -- Looking for sys/types.h 14:43:00 -- Looking for sys/types.h - found 14:43:00 -- Looking for stdint.h 14:43:00 -- Looking for stdint.h - found 14:43:00 -- Looking for stddef.h 14:43:01 -- Looking for stddef.h - found 14:43:01 -- Check size of unsigned short 14:43:01 -- Check size of unsigned short - done 14:43:01 -- Using unsigned short 14:43:01 -- Check if the system is big endian - little endian 14:43:01 -- Check size of size_t 14:43:01 using credential edgex-jenkins-ssh 14:43:01 Cloning the remote Git repository 14:43:01 -- Check size of size_t - done 14:43:01 CMake Warning at examples/CMakeLists.txt:16 (find_package): 14:43:01 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 14:43:01 asked CMake to find a package configuration file provided by "cJSON", but 14:43:01 CMake did not find one. 14:43:01 14:43:01 Could not find a package configuration file provided by "cJSON" with any of 14:43:01 the following names: 14:43:01 14:43:01 cJSONConfig.cmake 14:43:01 cjson-config.cmake 14:43:01 14:43:01 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 14:43:01 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 14:43:01 provides a separate development package or SDK, be sure it has been 14:43:01 installed. 14:43:01 14:43:01 14:43:01 -- Configuring done 14:43:01 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 14:43:01 > git init /w/workspace/device-sdk-c/1 # timeout=10 14:43:01 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 14:43:01 > git --version # timeout=10 14:43:02 > git --version # 'git version 2.16.5' 14:43:02 using GIT_SSH to set credentials SSH Credentials for GitHub 14:43:02 -- Generating done 14:43:02 -- Build files have been written to: /tmp/cbor 14:43:02 Scanning dependencies of target cbor_shared 14:43:02 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 14:43:02 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:43:03 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 14:43:03 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 14:43:03 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 14:43:03 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 14:43:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:43:03 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 14:43:03 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 14:43:03 using GIT_SSH to set credentials SSH Credentials for GitHub 14:43:03 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/302/head:refs/remotes/origin/PR-302 +refs/heads/master:refs/remotes/origin/master # timeout=10 14:43:04 Merging remotes/origin/master commit 1c3cbe1168f8f4990475966f6e71602a78dc5c52 into PR head commit fc854f4bff20fb2ce763f8bb08c8644b83cbf65a 14:43:04 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 14:43:04 Merge succeeded, producing fc854f4bff20fb2ce763f8bb08c8644b83cbf65a 14:43:04 Checking out Revision fc854f4bff20fb2ce763f8bb08c8644b83cbf65a (PR-302) 14:43:04 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 14:43:05 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 14:43:05 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 14:43:05 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 14:43:05 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 14:43:04 > git config core.sparsecheckout # timeout=10 14:43:04 > git checkout -f fc854f4bff20fb2ce763f8bb08c8644b83cbf65a # timeout=10 14:43:04 > git remote # timeout=10 14:43:04 > git config --get remote.origin.url # timeout=10 14:43:04 using GIT_SSH to set credentials SSH Credentials for GitHub 14:43:04 > git merge 1c3cbe1168f8f4990475966f6e71602a78dc5c52 # timeout=10 14:43:04 > git rev-parse HEAD^{commit} # timeout=10 14:43:04 > git config core.sparsecheckout # timeout=10 14:43:04 > git checkout -f fc854f4bff20fb2ce763f8bb08c8644b83cbf65a # timeout=10 14:43:06 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 14:43:06 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 14:43:06 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 14:43:07 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 14:43:07 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 14:43:07 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 14:43:07 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 14:43:07 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 14:43:08 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 14:43:08 Commit message: "ci: add semantic.yml for commit linting" 14:43:08 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 14:43:08 [ 40%] Linking C shared library libcbor.so 14:43:08 > git --version # timeout=10 14:43:08 > git --version # 'git version 2.16.5' 14:43:08 fatal: bad object a2cbe11917bfb8801b6bc99aaa80229564ed4294 14:43:08 [ 40%] Built target cbor_shared 14:43:08 Scanning dependencies of target cbor 14:43:08 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 14:43:09 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [Pipeline] unstash [Pipeline] echo 14:43:09 ========================================================= 14:43:09 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 14:43:09 ========================================================= [Pipeline] isUnix [Pipeline] sh 14:43:10 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 14:43:10 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 14:43:10 + 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 . 14:43:11 Sending build context to Docker daemon 2.425MB 14:43:11 Step 1/21 : ARG BASE=alpine:3.11 14:43:11 Step 2/21 : FROM ${BASE} as builder 14:43:11 latest: Pulling from edgex-devops/edgex-gcc-base 14:43:11 e7c96db7181b: Pulling fs layer 14:43:11 4c13bbce0fe7: Pulling fs layer 14:43:11 6059c847ac2f: Pulling fs layer 14:43:11 4c13bbce0fe7: Verifying Checksum 14:43:11 4c13bbce0fe7: Download complete 14:43:11 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 14:43:11 e7c96db7181b: Verifying Checksum 14:43:11 e7c96db7181b: Download complete 14:43:11 e7c96db7181b: Pull complete 14:43:11 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 14:43:11 4c13bbce0fe7: Pull complete 14:43:11 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 14:43:12 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 14:43:12 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 14:43:12 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 14:43:13 6059c847ac2f: Verifying Checksum 14:43:13 6059c847ac2f: Download complete 14:43:13 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 14:43:13 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 14:43:14 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 14:43:14 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 14:43:14 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 14:43:14 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 14:43:15 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 14:43:15 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 14:43:15 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 14:43:16 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 14:43:16 [ 80%] Linking C static library libcbor.a 14:43:16 [ 80%] Built target cbor 14:43:16 Scanning dependencies of target create_items 14:43:16 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 14:43:16 [ 84%] Linking C executable create_items 14:43:16 [ 84%] Built target create_items 14:43:16 Scanning dependencies of target readfile 14:43:16 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 14:43:16 [ 88%] Linking C executable readfile 14:43:16 [ 88%] Built target readfile 14:43:16 Scanning dependencies of target streaming_parser 14:43:16 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 14:43:17 [ 92%] Linking C executable streaming_parser 14:43:17 [ 92%] Built target streaming_parser 14:43:17 Scanning dependencies of target sort 14:43:17 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 14:43:17 [ 96%] Linking C executable sort 14:43:17 [ 96%] Built target sort 14:43:17 6059c847ac2f: Pull complete 14:43:17 Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e 14:43:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 14:43:17 ---> 5eabd8fd8ba2 14:43:17 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 14:43:17 Scanning dependencies of target hello 14:43:17 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 14:43:17 [100%] Linking C executable hello 14:43:17 [100%] Built target hello 14:43:18 Install the project... 14:43:18 -- Install configuration: "Release" 14:43:18 -- Installing: /usr/local/include/cbor/configuration.h 14:43:18 -- Installing: /usr/local/lib64/libcbor.a 14:43:18 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 14:43:18 -- Installing: /usr/local/lib64/libcbor.so.0 14:43:18 -- Installing: /usr/local/lib64/libcbor.so 14:43:18 -- Up-to-date: /usr/local/include/cbor 14:43:18 -- Installing: /usr/local/include/cbor/streaming.h 14:43:18 -- Installing: /usr/local/include/cbor/ints.h 14:43:18 -- Installing: /usr/local/include/cbor/floats_ctrls.h 14:43:18 -- Installing: /usr/local/include/cbor/bytestrings.h 14:43:18 -- Installing: /usr/local/include/cbor/encoding.h 14:43:18 -- Installing: /usr/local/include/cbor/serialization.h 14:43:18 -- Installing: /usr/local/include/cbor/data.h 14:43:18 -- Installing: /usr/local/include/cbor/common.h 14:43:18 -- Installing: /usr/local/include/cbor/callbacks.h 14:43:18 -- Installing: /usr/local/include/cbor/strings.h 14:43:18 -- Installing: /usr/local/include/cbor/tags.h 14:43:18 -- Installing: /usr/local/include/cbor/internal 14:43:18 -- Installing: /usr/local/include/cbor/internal/encoders.h 14:43:18 -- Installing: /usr/local/include/cbor/internal/loaders.h 14:43:18 -- Installing: /usr/local/include/cbor/internal/stack.h 14:43:18 -- Installing: /usr/local/include/cbor/internal/unicode.h 14:43:18 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 14:43:18 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 14:43:18 -- Installing: /usr/local/include/cbor/arrays.h 14:43:18 -- Installing: /usr/local/include/cbor/maps.h 14:43:18 -- Installing: /usr/local/include/cbor.h 14:43:18 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 14:43:18 ---> Running in 976e5b4b896d 14:43:19 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 14:43:20 Removing intermediate container 8d26d691345b 14:43:20 ---> ce5e2ea9b35f 14:43:20 Step 6/21 : RUN mkdir /tmp/sdk 14:43:20 ---> Running in 62f75b929ae2 14:43:20 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 14:43:21 (1/8) Installing ncurses-dev (6.1_p20190105-r0) 14:43:21 (2/8) Installing libuuid (2.33-r0) 14:43:21 (3/8) Installing libblkid (2.33-r0) 14:43:21 (4/8) Installing libfdisk (2.33-r0) 14:43:21 (5/8) Installing libmount (2.33-r0) 14:43:21 (6/8) Installing libsmartcols (2.33-r0) 14:43:21 (7/8) Installing util-linux-dev (2.33-r0) 14:43:22 (8/8) Installing wget (1.20.3-r0) 14:43:22 Executing busybox-1.29.3-r10.trigger 14:43:22 OK: 272 MiB in 83 packages 14:43:22 Removing intermediate container 976e5b4b896d 14:43:22 ---> 28cd578d36a9 14:43:22 Step 4/21 : ENV CBOR_VERSION=0.5.0 14:43:22 ---> Running in 4db302989385 14:43:23 Removing intermediate container 62f75b929ae2 14:43:23 ---> fab20ce707c4 14:43:23 Step 7/21 : COPY VERSION /tmp/sdk 14:43:23 Removing intermediate container 4db302989385 14:43:23 ---> f3b768346748 14:43:23 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 14:43:23 ---> Running in 2e12a72caa7e 14:43:23 ---> 47d82d9e865e 14:43:23 Step 8/21 : COPY src /tmp/sdk/src 14:43:24 --2020-10-19 14:43:23-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 14:43:24 Resolving github.com... 140.82.114.3 14:43:24 Connecting to github.com|140.82.114.3|:443... connected. 14:43:24 HTTP request sent, awaiting response... 302 Found 14:43:24 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 14:43:24 --2020-10-19 14:43:23-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 14:43:24 Resolving codeload.github.com... 140.82.112.9 14:43:24 Connecting to codeload.github.com|140.82.112.9|:443... connected. 14:43:24 HTTP request sent, awaiting response... 200 OK 14:43:24 Length: unspecified [application/x-gzip] 14:43:24 Saving to: 'STDOUT' 14:43:24  14:43:24 0K .......... .......... .......... .......... .......... 1.64M 14:43:24 50K .......... .......... .......... .......... .......... 14.6M 14:43:24 100K .......... .......... .......... .......... .......... 3.87M 14:43:24 150K .......... .......... .......... .......... .......... 23.0M 14:43:24 200K .......... .......... .......... .......... .......... 3.70M 14:43:24 250K .......... .......... .......... .......... .......... 40.7M 14:43:24 300K .......... .......... .......... .......... .......... 10.9M 14:43:24 350K .......... .......... .......... .......... .......... 13.1M 14:43:24 400K .......... .......... .......... .......... .......... 6.85M 14:43:24 450K .......... .......... .......... .......... .......... 9.53M 14:43:24 500K .......... .......... .......... .......... .......... 14.5M 14:43:24 550K .......... .......... .......... .......... .......... 5.30M 14:43:24 600K .......... .......... .......... .......... .......... 2.15M 14:43:24 650K .......... .......... .......... .......... .......... 4.89M 14:43:24 700K .. 634K=0.1s 14:43:24 14:43:24 2020-10-19 14:43:24 (5.20 MB/s) - written to stdout [719348] 14:43:24 14:43:24 ---> ed9b3c2f94c2 14:43:24 Step 9/21 : COPY include /tmp/sdk/include 14:43:24 -- The C compiler identification is GNU 8.3.0 14:43:24 -- The CXX compiler identification is GNU 8.3.0 14:43:24 -- Check for working C compiler: /usr/bin/cc 14:43:24 -- Check for working C compiler: /usr/bin/cc -- works 14:43:24 -- Detecting C compiler ABI info 14:43:24 -- Detecting C compiler ABI info - done 14:43:24 -- Detecting C compile features 14:43:24 -- Detecting C compile features - done 14:43:24 -- Check for working CXX compiler: /usr/bin/c++ 14:43:25 -- Check for working CXX compiler: /usr/bin/c++ -- works 14:43:25 -- Detecting CXX compiler ABI info 14:43:25 -- Detecting CXX compiler ABI info - done 14:43:25 -- Detecting CXX compile features 14:43:25 ---> 8a729b558bc9 14:43:25 Step 10/21 : COPY scripts /tmp/sdk/scripts 14:43:25 -- Detecting CXX compile features - done 14:43:25 -- Looking for include file endian.h 14:43:25 -- Looking for include file endian.h - found 14:43:25 -- Check if the system is big endian 14:43:25 -- Searching 16 bit integer 14:43:25 -- Looking for sys/types.h 14:43:25 -- Looking for sys/types.h - found 14:43:25 -- Looking for stdint.h 14:43:25 -- Looking for stdint.h - found 14:43:25 -- Looking for stddef.h 14:43:25 -- Looking for stddef.h - found 14:43:25 -- Check size of unsigned short 14:43:25 -- Check size of unsigned short - done 14:43:25 -- Using unsigned short 14:43:25 ---> bf0977f74b24 14:43:25 Step 11/21 : COPY LICENSE /tmp/sdk 14:43:26 -- Check if the system is big endian - little endian 14:43:26 -- Check size of size_t 14:43:26 -- Check size of size_t - done 14:43:26 CMake Warning at examples/CMakeLists.txt:16 (find_package): 14:43:26 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 14:43:26 asked CMake to find a package configuration file provided by "cJSON", but 14:43:26 CMake did not find one. 14:43:26 14:43:26 Could not find a package configuration file provided by "cJSON" with any of 14:43:26 the following names: 14:43:26 14:43:26 cJSONConfig.cmake 14:43:26 cjson-config.cmake 14:43:26 14:43:26 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 14:43:26 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 14:43:26 provides a separate development package or SDK, be sure it has been 14:43:26 installed. 14:43:26 14:43:26 14:43:26 -- Configuring done 14:43:26 -- Generating done 14:43:26 -- Build files have been written to: /tmp/cbor 14:43:26 Scanning dependencies of target cbor_shared 14:43:26 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 14:43:26 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 14:43:26 ---> 5175b10f4597 14:43:26 Step 12/21 : COPY Attribution.txt /tmp/sdk 14:43:26 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 14:43:26 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 14:43:26 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 14:43:26 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 14:43:26 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 14:43:26 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 14:43:27 ---> 2febb718d109 14:43:27 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 14:43:27 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 14:43:27 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 14:43:27 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 14:43:27 ---> Running in d4efd385ecf9 14:43:27 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 14:43:27 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 14:43:27 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 14:43:27 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 14:43:27 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 14:43:27 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 14:43:27 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 14:43:28 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 14:43:28 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 14:43:28 [ 40%] Linking C shared library libcbor.so 14:43:28 [ 40%] Built target cbor_shared 14:43:28 Scanning dependencies of target cbor 14:43:28 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 14:43:28 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 14:43:28 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 14:43:28 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 14:43:28 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 14:43:28 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 14:43:28 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 14:43:29 + CPPCHECK=false 14:43:29 + DOCGEN=false 14:43:29 + TOMLVER=SDK-0.2 14:43:29 + CUTILVER=1.1.1 14:43:29 + '[' 0 -gt 0 ] 14:43:29 + readlink -f ./scripts/build.sh 14:43:29 + dirname /tmp/sdk/scripts/build.sh 14:43:29 + dirname /tmp/sdk/scripts 14:43:29 + ROOT=/tmp/sdk 14:43:29 + cd /tmp/sdk 14:43:29 + '[' '!' -d deps ] 14:43:29 + mkdir deps 14:43:29 + + tarwget -C -O deps - -z https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 14:43:29 -x -f - 14:43:29 --2020-10-19 14:43:28-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 14:43:29 Resolving github.com... 140.82.114.3 14:43:29 Connecting to github.com|140.82.114.3|:443... connected. 14:43:29 HTTP request sent, awaiting response... 302 Found 14:43:29 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 14:43:29 --2020-10-19 14:43:28-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 14:43:29 Resolving codeload.github.com... 140.82.112.9 14:43:29 Connecting to codeload.github.com|140.82.112.9|:443... connected. 14:43:29 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 14:43:29 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 14:43:29 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 14:43:29 HTTP request sent, awaiting response... 200 OK 14:43:29 Length: unspecified [application/x-gzip] 14:43:29 Saving to: 'STDOUT' 14:43:29  14:43:29 0K .......... ......   1.00M=0.02s 14:43:29 14:43:29 2020-10-19 14:43:29 (1.00 MB/s) - written to stdout [16451] 14:43:29 14:43:29 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 14:43:29 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.1.tar.gz 14:43:29 + tar -C deps -z -x -f - 14:43:29 --2020-10-19 14:43:29-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.1.tar.gz 14:43:29 Resolving github.com... 140.82.114.3 14:43:29 Connecting to github.com|140.82.114.3|:443... connected. 14:43:29 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 14:43:29 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 14:43:29 HTTP request sent, awaiting response... 302 Found 14:43:29 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.1 [following] 14:43:29 --2020-10-19 14:43:29-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.1 14:43:29 Resolving codeload.github.com... 140.82.112.9 14:43:29 Connecting to codeload.github.com|140.82.112.9|:443... connected. 14:43:29 HTTP request sent, awaiting response... 200 OK 14:43:29 Length: unspecified [application/x-gzip] 14:43:29 Saving to: 'STDOUT' 14:43:29  14:43:29 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 14:43:29 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 14:43:29 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 14:43:29 0K .......... .......... .......... .......... .......... 1.36M 14:43:29 50K .......... .......... .......... .......... .......... 2.72M 14:43:29 100K .......... .......... .......... .......... .......... 2.84M 14:43:29 150K .......... .......... ..... 7.60M=0.07s 14:43:29 14:43:29 2020-10-19 14:43:29 (2.31 MB/s) - written to stdout [179833] 14:43:29 14:43:29 + mkdir -p src/c/iot 14:43:29 + 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 14:43:29 + mkdir -p include/iot 14:43:29 + 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 14:43:29 + mkdir -p include/iot/os 14:43:29 + 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 14:43:29 + mkdir -p /tmp/sdk/build/release 14:43:29 + cd /tmp/sdk/build/release 14:43:29 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 14:43:29 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 14:43:29 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 14:43:29 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 14:43:29 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 14:43:30 -- The C compiler identification is GNU 8.3.0 14:43:30 -- Check for working C compiler: /usr/bin/cc 14:43:30 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 14:43:30 [ 80%] Linking C static library libcbor.a 14:43:30 [ 80%] Built target cbor 14:43:30 Scanning dependencies of target create_items 14:43:30 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 14:43:30 [ 84%] Linking C executable create_items 14:43:30 [ 84%] Built target create_items 14:43:30 Scanning dependencies of target readfile 14:43:30 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 14:43:30 -- Check for working C compiler: /usr/bin/cc -- works 14:43:30 -- Detecting C compiler ABI info 14:43:30 [ 88%] Linking C executable readfile 14:43:30 [ 88%] Built target readfile 14:43:30 Scanning dependencies of target streaming_parser 14:43:30 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 14:43:30 [ 92%] Linking C executable streaming_parser 14:43:30 [ 92%] Built target streaming_parser 14:43:30 Scanning dependencies of target sort 14:43:30 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 14:43:30 [ 96%] Linking C executable sort 14:43:30 -- Detecting C compiler ABI info - done 14:43:30 -- Detecting C compile features 14:43:30 [ 96%] Built target sort 14:43:30 Scanning dependencies of target hello 14:43:30 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 14:43:30 [100%] Linking C executable hello 14:43:30 [100%] Built target hello 14:43:30 Install the project... 14:43:30 -- Install configuration: "Release" 14:43:30 -- Installing: /usr/local/include/cbor/configuration.h 14:43:30 -- Installing: /usr/local/lib64/libcbor.a 14:43:30 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 14:43:30 -- Installing: /usr/local/lib64/libcbor.so.0 14:43:30 -- Installing: /usr/local/lib64/libcbor.so 14:43:30 -- Up-to-date: /usr/local/include/cbor 14:43:30 -- Installing: /usr/local/include/cbor/arrays.h 14:43:30 -- Installing: /usr/local/include/cbor/bytestrings.h 14:43:30 -- Installing: /usr/local/include/cbor/callbacks.h 14:43:30 -- Installing: /usr/local/include/cbor/common.h 14:43:30 -- Installing: /usr/local/include/cbor/data.h 14:43:30 -- Installing: /usr/local/include/cbor/encoding.h 14:43:30 -- Installing: /usr/local/include/cbor/floats_ctrls.h 14:43:30 -- Installing: /usr/local/include/cbor/internal 14:43:30 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 14:43:30 -- Installing: /usr/local/include/cbor/internal/encoders.h 14:43:30 -- Installing: /usr/local/include/cbor/internal/loaders.h 14:43:30 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 14:43:30 -- Installing: /usr/local/include/cbor/internal/stack.h 14:43:30 -- Installing: /usr/local/include/cbor/internal/unicode.h 14:43:30 -- Installing: /usr/local/include/cbor/ints.h 14:43:30 -- Installing: /usr/local/include/cbor/maps.h 14:43:30 -- Installing: /usr/local/include/cbor/serialization.h 14:43:30 -- Installing: /usr/local/include/cbor/streaming.h 14:43:30 -- Installing: /usr/local/include/cbor/strings.h 14:43:30 -- Installing: /usr/local/include/cbor/tags.h 14:43:30 -- Installing: /usr/local/include/cbor.h 14:43:30 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 14:43:31 -- Detecting C compile features - done 14:43:31 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:43:31 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 14:43:31 -- Found LIBYAML: /usr/lib/libyaml.so 14:43:31 -- Found LIBUUID: /usr/lib/libuuid.so 14:43:31 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 14:43:31 -- C SDK 0.0.0 for Linux 14:43:31 -- Performing Test CSDK_HAVE_ATOMIC 14:43:31 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:43:31 -- Found Curses: /usr/lib/libcurses.so 14:43:31 -- Configuring done 14:43:32 -- Generating done 14:43:32 -- Build files have been written to: /tmp/sdk/build/release 14:43:32 + + teemake 14:43:32 release.log 14:43:32 Scanning dependencies of target csdk 14:43:32 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:43:33 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 14:43:33 [ 4%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 14:43:33 Removing intermediate container 2e12a72caa7e 14:43:33 ---> b19b0b42f67d 14:43:33 Step 6/21 : RUN mkdir /tmp/sdk 14:43:33 ---> Running in 0f194126bebf 14:43:33 [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:43:34 Removing intermediate container 0f194126bebf 14:43:34 ---> 625624d2b1fd 14:43:34 Step 7/21 : COPY VERSION /tmp/sdk 14:43:34 ---> 89020110b399 14:43:34 Step 8/21 : COPY src /tmp/sdk/src 14:43:35 ---> 79954e59733e 14:43:35 Step 9/21 : COPY include /tmp/sdk/include 14:43:35 ---> d5c7aee6fada 14:43:35 Step 10/21 : COPY scripts /tmp/sdk/scripts 14:43:35 ---> 58e7ebb41875 14:43:35 Step 11/21 : COPY LICENSE /tmp/sdk 14:43:35 ---> 1c913a9f46f4 14:43:35 Step 12/21 : COPY Attribution.txt /tmp/sdk 14:43:35 [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:43:36 ---> 1a6a2d1ed328 14:43:36 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 14:43:36 ---> Running in 9044aefd21d7 14:43:36 [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:43:36 [ 11%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:43:36 + CPPCHECK=false 14:43:36 + DOCGEN=false 14:43:36 + TOMLVER=SDK-0.2 14:43:36 + CUTILVER=1.1.1 14:43:36 + '[' 0 -gt 0 ] 14:43:36 + readlink -f ./scripts/build.sh 14:43:36 + dirname /tmp/sdk/scripts/build.sh 14:43:36 + dirname /tmp/sdk/scripts 14:43:36 + ROOT=/tmp/sdk 14:43:36 + cd /tmp/sdk 14:43:36 + '[' '!' -d deps ] 14:43:36 + mkdir deps 14:43:36 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 14:43:36 + tar -C deps -z -x -f - 14:43:36 --2020-10-19 14:43:36-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 14:43:36 Resolving github.com... 140.82.114.3 14:43:36 Connecting to github.com|140.82.114.3|:443... connected. 14:43:36 HTTP request sent, awaiting response... 302 Found 14:43:36 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 14:43:36 --2020-10-19 14:43:36-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 14:43:36 Resolving codeload.github.com... 140.82.112.9 14:43:36 Connecting to codeload.github.com|140.82.112.9|:443... connected. 14:43:36 HTTP request sent, awaiting response... 200 OK 14:43:36 Length: unspecified [application/x-gzip] 14:43:36 Saving to: 'STDOUT' 14:43:36 14:43:36 0K .......... ...... 1016K=0.02s 14:43:36 14:43:36 2020-10-19 14:43:36 (1016 KB/s) - written to stdout [16451] 14:43:36 14:43:36 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 14:43:36 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.1.tar.gz 14:43:36 + tar -C deps -z -x -f - 14:43:36 --2020-10-19 14:43:36-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.1.tar.gz 14:43:36 Resolving github.com... 140.82.114.3 14:43:36 Connecting to github.com|140.82.114.3|:443... connected. 14:43:36 HTTP request sent, awaiting response... 302 Found 14:43:36 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.1 [following] 14:43:36 --2020-10-19 14:43:36-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.1 14:43:36 Resolving codeload.github.com... 140.82.112.9 14:43:36 Connecting to codeload.github.com|140.82.112.9|:443... connected. 14:43:36 HTTP request sent, awaiting response... 200 OK 14:43:36 Length: unspecified [application/x-gzip] 14:43:36 Saving to: 'STDOUT' 14:43:36  14:43:36 0K .......... .......... .......... .......... .......... 1.27M 14:43:37 50K .......... .......... .......... .......... .......... 4.51M 14:43:37 100K .......... .......... .......... .......... .......... 5.25M 14:43:37 150K .......... .......... ..... 3.18M=0.07s 14:43:37 14:43:37 2020-10-19 14:43:36 (2.58 MB/s) - written to stdout [179833] 14:43:37 14:43:37 + mkdir -p src/c/iot 14:43:37 + 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 14:43:37 + mkdir -p include/iot 14:43:37 + 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 14:43:37 + mkdir -p include/iot/os 14:43:37 + 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 14:43:37 + mkdir -p /tmp/sdk/build/release 14:43:37 + cd /tmp/sdk/build/release 14:43:37 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 14:43:37 -- The C compiler identification is GNU 8.3.0 14:43:37 -- Check for working C compiler: /usr/bin/cc 14:43:37 -- Check for working C compiler: /usr/bin/cc -- works 14:43:37 -- Detecting C compiler ABI info 14:43:37 [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:43:37 -- Detecting C compiler ABI info - done 14:43:37 -- Detecting C compile features 14:43:37 -- Detecting C compile features - done 14:43:37 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:43:37 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 14:43:37 -- Found LIBYAML: /usr/lib/libyaml.so 14:43:37 -- Found LIBUUID: /usr/lib/libuuid.so 14:43:37 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 14:43:37 -- C SDK 0.0.0 for Linux 14:43:37 -- Performing Test CSDK_HAVE_ATOMIC 14:43:37 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:43:37 -- Found Curses: /usr/lib/libcurses.so 14:43:37 -- Configuring done 14:43:37 -- Generating done 14:43:37 -- Build files have been written to: /tmp/sdk/build/release 14:43:37 + make 14:43:37 + tee release.log 14:43:38 Scanning dependencies of target csdk 14:43:38 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:43:38 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 14:43:38 [ 4%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 14:43:38 [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:43:38 [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:43:38 [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:43:39 [ 11%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:43:39 [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:43:39 [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:43:40 [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:43:40 [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:43:40 [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:43:40 [ 17%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:43:40 [ 19%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:43:40 [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 14:43:40 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:43:40 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:43:40 [ 17%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:43:41 [ 19%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:43:41 [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 14:43:41 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 14:43:41 [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 14:43:41 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 14:43:41 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 14:43:41 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:43:42 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 14:43:42 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:43:42 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 14:43:42 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 14:43:42 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 14:43:42 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 14:43:42 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 14:43:42 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 14:43:43 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 14:43:43 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 14:43:43 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 14:43:43 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 14:43:44 [ 49%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:43:44 [ 50%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:43:44 [ 52%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 14:43:44 [ 53%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:43:45 [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 14:43:45 [ 55%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:43:45 [ 57%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:43:45 [ 58%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 14:43:45 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 14:43:46 [ 60%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:43:46 [ 61%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:43:46 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 14:43:46 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 14:43:46 [ 63%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:43:47 [ 65%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 14:43:47 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 14:43:48 [ 66%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:43:48 [ 68%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 14:43:48 [ 69%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:43:48 [ 71%] Linking C shared library libcsdk.so 14:43:48 [ 71%] Built target csdk 14:43:48 Scanning dependencies of target template 14:43:48 [ 73%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:43:48 [ 74%] Linking C executable template 14:43:48 [ 74%] Built target template 14:43:48 Scanning dependencies of target device-counter 14:43:48 [ 76%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:43:48 [ 77%] Linking C executable device-counter 14:43:48 [ 77%] Built target device-counter 14:43:49 Scanning dependencies of target device-random 14:43:49 [ 79%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:43:49 [ 80%] Linking C executable device-random 14:43:49 [ 80%] Built target device-random 14:43:49 Scanning dependencies of target device-gyro 14:43:49 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:43:49 [ 84%] Linking C executable device-gyro 14:43:49 [ 84%] Built target device-gyro 14:43:49 Scanning dependencies of target device-bitfields 14:43:49 [ 85%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 14:43:49 [ 87%] Linking C executable device-bitfields 14:43:49 [ 87%] Built target device-bitfields 14:43:49 Scanning dependencies of target template-discovery 14:43:49 [ 88%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:43:49 [ 90%] Linking C executable template-discovery 14:43:50 [ 90%] Built target template-discovery 14:43:50 Scanning dependencies of target device-file 14:43:50 [ 92%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 14:43:50 [ 93%] Linking C executable device-file 14:43:50 [ 93%] Built target device-file 14:43:50 Scanning dependencies of target device-terminal 14:43:50 [ 95%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:43:50 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 14:43:50 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 14:43:50 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 14:43:50 [ 96%] Linking C executable device-terminal 14:43:50 [ 96%] Built target device-terminal 14:43:50 Scanning dependencies of target templatev1 14:43:50 [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o 14:43:50 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 14:43:50 [100%] Linking C executable templatev1 14:43:50 [100%] Built target templatev1 14:43:50 + make package 14:43:50 + tee -a release.log 14:43:50 [ 71%] Built target csdk 14:43:50 [ 74%] Built target template 14:43:50 [ 77%] Built target device-counter 14:43:50 [ 80%] Built target device-random 14:43:50 [ 84%] Built target device-gyro 14:43:50 [ 87%] Built target device-bitfields 14:43:50 [ 90%] Built target template-discovery 14:43:50 [ 93%] Built target device-file 14:43:50 [ 96%] Built target device-terminal 14:43:50 [100%] Built target templatev1 14:43:50 Run CPack packaging tool... 14:43:50 CPack: Create package using TGZ 14:43:50 CPack: Install projects 14:43:50 CPack: - Run preinstall target for: Csdk 14:43:51 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 14:43:51 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 14:43:51 CPack: - Install project: Csdk 14:43:51 CPack: Create package 14:43:51 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 14:43:51 + '[' false '=' true ] 14:43:51 + '[' false '=' true ] 14:43:51 + mkdir -p /tmp/sdk/build/debug 14:43:51 + cd /tmp/sdk/build/debug 14:43:51 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 14:43:51 -- The C compiler identification is GNU 8.3.0 14:43:51 -- Check for working C compiler: /usr/bin/cc 14:43:51 -- Check for working C compiler: /usr/bin/cc -- works 14:43:51 -- Detecting C compiler ABI info 14:43:51 -- Detecting C compiler ABI info - done 14:43:51 -- Detecting C compile features 14:43:51 -- Detecting C compile features - done 14:43:51 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:43:51 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 14:43:51 -- Found LIBYAML: /usr/lib/libyaml.so 14:43:51 -- Found LIBUUID: /usr/lib/libuuid.so 14:43:51 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 14:43:51 -- C SDK 0.0.0 for Linux 14:43:51 -- Performing Test CSDK_HAVE_ATOMIC 14:43:51 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:43:51 -- Found Curses: /usr/lib/libcurses.so 14:43:51 -- Configuring done 14:43:51 -- Generating done 14:43:51 -- Build files have been written to: /tmp/sdk/build/debug 14:43:51 + + maketee 14:43:51 debug.log 14:43:51 Scanning dependencies of target csdk 14:43:51 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:43:52 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 14:43:52 [ 4%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 14:43:52 [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:43:52 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 14:43:52 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 14:43:52 [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:43:52 [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:43:52 [ 11%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:43:52 [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:43:52 [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:43:52 [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:43:52 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 14:43:53 [ 17%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:43:53 [ 19%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:43:53 [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 14:43:53 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:43:53 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:43:53 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 14:43:53 [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 14:43:53 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 14:43:53 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 14:43:53 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 14:43:53 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 14:43:54 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 14:43:54 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 14:43:54 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 14:43:54 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 14:43:54 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 14:43:54 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 14:43:54 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 14:43:54 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 14:43:54 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 14:43:54 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 14:43:54 [ 49%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:43:54 [ 50%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:43:55 [ 52%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 14:43:55 [ 53%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:43:55 [ 55%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:43:55 [ 57%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:43:55 [ 49%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:43:55 [ 50%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:43:55 [ 58%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 14:43:55 [ 60%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:43:55 [ 61%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:43:56 [ 63%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:43:56 [ 65%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 14:43:56 [ 66%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:43:56 [ 68%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 14:43:56 [ 52%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 14:43:56 [ 53%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:43:56 [ 69%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:43:56 [ 71%] Linking C shared library libcsdk.so 14:43:56 [ 71%] Built target csdk 14:43:56 Scanning dependencies of target template 14:43:56 [ 73%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:43:56 [ 74%] Linking C executable template 14:43:56 [ 74%] Built target template 14:43:56 Scanning dependencies of target device-counter 14:43:56 [ 76%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:43:56 [ 77%] Linking C executable device-counter 14:43:56 [ 77%] Built target device-counter 14:43:56 Scanning dependencies of target device-random 14:43:56 [ 79%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:43:57 [ 80%] Linking C executable device-random 14:43:57 [ 80%] Built target device-random 14:43:57 Scanning dependencies of target device-gyro 14:43:57 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:43:57 [ 84%] Linking C executable device-gyro 14:43:57 [ 84%] Built target device-gyro 14:43:57 Scanning dependencies of target device-bitfields 14:43:57 [ 85%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 14:43:57 [ 87%] Linking C executable device-bitfields 14:43:57 [ 87%] Built target device-bitfields 14:43:57 Scanning dependencies of target template-discovery 14:43:57 [ 88%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:43:57 [ 90%] Linking C executable template-discovery 14:43:57 [ 90%] Built target template-discovery 14:43:57 Scanning dependencies of target device-file 14:43:57 [ 92%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 14:43:57 [ 93%] Linking C executable device-file 14:43:57 [ 93%] Built target device-file 14:43:57 Scanning dependencies of target device-terminal 14:43:57 [ 95%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:43:57 [ 96%] Linking C executable device-terminal 14:43:57 [ 96%] Built target device-terminal 14:43:57 Scanning dependencies of target templatev1 14:43:58 [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o 14:43:58 [100%] Linking C executable templatev1 14:43:58 [100%] Built target templatev1 14:43:58 make: Entering directory '/tmp/sdk/build/release' 14:43:58 make[1]: Entering directory '/tmp/sdk/build/release' 14:43:58 make[2]: Entering directory '/tmp/sdk/build/release' 14:43:58 make[2]: Leaving directory '/tmp/sdk/build/release' 14:43:58 [ 71%] Built target csdk 14:43:58 make[2]: Entering directory '/tmp/sdk/build/release' 14:43:58 make[2]: Leaving directory '/tmp/sdk/build/release' 14:43:58 [ 74%] Built target template 14:43:58 make[2]: Entering directory '/tmp/sdk/build/release' 14:43:58 make[2]: Leaving directory '/tmp/sdk/build/release' 14:43:58 [ 77%] Built target device-counter 14:43:58 make[2]: Entering directory '/tmp/sdk/build/release' 14:43:58 make[2]: Leaving directory '/tmp/sdk/build/release' 14:43:58 [ 80%] Built target device-random 14:43:58 make[2]: Entering directory '/tmp/sdk/build/release' 14:43:58 make[2]: Leaving directory '/tmp/sdk/build/release' 14:43:58 [ 84%] Built target device-gyro 14:43:58 make[2]: Entering directory '/tmp/sdk/build/release' 14:43:58 make[2]: Leaving directory '/tmp/sdk/build/release' 14:43:58 [ 87%] Built target device-bitfields 14:43:58 make[2]: Entering directory '/tmp/sdk/build/release' 14:43:58 make[2]: Leaving directory '/tmp/sdk/build/release' 14:43:58 [ 90%] Built target template-discovery 14:43:58 make[2]: Entering directory '/tmp/sdk/build/release' 14:43:58 make[2]: Leaving directory '/tmp/sdk/build/release' 14:43:58 [ 93%] Built target device-file 14:43:58 make[2]: Entering directory '/tmp/sdk/build/release' 14:43:58 make[2]: Leaving directory '/tmp/sdk/build/release' 14:43:58 [ 96%] Built target device-terminal 14:43:58 make[2]: Entering directory '/tmp/sdk/build/release' 14:43:58 make[2]: Leaving directory '/tmp/sdk/build/release' 14:43:58 [100%] Built target templatev1 14:43:58 make[1]: Leaving directory '/tmp/sdk/build/release' 14:43:58 Install the project... 14:43:58 -- Install configuration: "Release" 14:43:58 -- Installing: /usr/local/lib/libcsdk.so 14:43:58 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 14:43:58 -- Up-to-date: /usr/local/include 14:43:58 -- Installing: /usr/local/include/devsdk 14:43:58 -- Installing: /usr/local/include/devsdk/devsdk-base.h 14:43:58 -- Installing: /usr/local/include/devsdk/devsdk.h 14:43:58 -- Installing: /usr/local/include/edgex 14:43:58 -- Installing: /usr/local/include/edgex/device-mgmt.h 14:43:58 -- Installing: /usr/local/include/edgex/devices.h 14:43:58 -- Installing: /usr/local/include/edgex/devsdk.h 14:43:58 -- Installing: /usr/local/include/edgex/edgex-base.h 14:43:58 -- Installing: /usr/local/include/edgex/edgex.h 14:43:58 -- Installing: /usr/local/include/edgex/error.h 14:43:58 -- Installing: /usr/local/include/edgex/eventgen.h 14:43:58 -- Installing: /usr/local/include/edgex/os.h 14:43:58 -- Installing: /usr/local/include/edgex/profiles.h 14:43:58 -- Installing: /usr/local/include/edgex/rest-server.h 14:43:58 -- Installing: /usr/local/include/edgex/csdk-defs.h 14:43:58 -- Installing: /usr/local/include/iot 14:43:58 -- Installing: /usr/local/include/iot/base64.h 14:43:58 -- Installing: /usr/local/include/iot/component.h 14:43:58 -- Installing: /usr/local/include/iot/config.h 14:43:58 -- Installing: /usr/local/include/iot/container.h 14:43:58 -- Installing: /usr/local/include/iot/data.h 14:43:58 -- Installing: /usr/local/include/iot/hash.h 14:43:58 -- Installing: /usr/local/include/iot/iot.h 14:43:58 -- Installing: /usr/local/include/iot/json.h 14:43:58 -- Installing: /usr/local/include/iot/logger.h 14:43:58 -- Installing: /usr/local/include/iot/os.h 14:43:58 -- Installing: /usr/local/include/iot/scheduler.h 14:43:58 -- Installing: /usr/local/include/iot/thread.h 14:43:58 -- Installing: /usr/local/include/iot/threadpool.h 14:43:58 -- Installing: /usr/local/include/iot/time.h 14:43:58 -- Installing: /usr/local/include/iot/typecode.h 14:43:58 -- Installing: /usr/local/include/iot/yxml.h 14:43:58 -- Installing: /usr/local/include/iot/os 14:43:58 -- Installing: /usr/local/include/iot/os/linux.h 14:43:58 -- Installing: /usr/local/include/iot/os/macos.h 14:43:58 -- Installing: /usr/local/include/iot/os/zephyr.h 14:43:58 -- Installing: /usr/local/share/device-sdk-c/LICENSE 14:43:58 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 14:43:58 make: Leaving directory '/tmp/sdk/build/release' 14:44:00 Removing intermediate container 9044aefd21d7 14:44:00 ---> dc3b2029697a 14:44:00 Step 14/21 : FROM ${BASE} 14:44:00 ---> 5eabd8fd8ba2 14:44:00 Step 15/21 : MAINTAINER IOTech 14:44:00 ---> Running in 05194633e1a6 14:44:00 Removing intermediate container 05194633e1a6 14:44:00 ---> 5a96fb86ed20 14:44:00 Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid 14:44:00 ---> Running in a335a628ff76 14:44:01 [ 55%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:44:01 [ 57%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:44:01 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 14:44:01 [ 58%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 14:44:02 [ 60%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:44:02 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 14:44:02 (1/3) Installing curl (7.64.0-r4) 14:44:02 (2/3) Installing libuuid (2.33-r0) 14:44:02 (3/3) Installing wget (1.20.3-r0) 14:44:02 Executing busybox-1.29.3-r10.trigger 14:44:02 OK: 268 MiB in 78 packages 14:44:02 [ 61%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:44:03 Removing intermediate container a335a628ff76 14:44:03 ---> e395c621ab09 14:44:03 Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 14:44:03 ---> 4212fe707096 14:44:03 Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 14:44:03 ---> b129a5d8f982 14:44:03 Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib 14:44:03 ---> 7dc4e96d7976 14:44:03 Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 14:44:04 ---> da564cc1da60 14:44:04 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 14:44:04 ---> 6e56c5efba52 14:44:04 Successfully built 6e56c5efba52 14:44:04 Successfully tagged ci-base-image-x86_64:latest 14:44:04 [ 63%] Building C object c/CMakeFiles/csdk.dir/service.c.o [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:44:05 [ 65%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 14:44:05 + docker inspect -f . ci-base-image-x86_64 14:44:05 . [Pipeline] withDockerContainer 14:44:06 prd-centos7-docker-4c-2g-6276 does not seem to be running inside a container 14:44:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 14:44:06 $ docker top 6b9420551164258f474f5b4aab71c1330378af229069043304924539ad358a2d -eo pid,comm [Pipeline] { [Pipeline] sh 14:44:07 + make test 14:44:07 echo "make test" 14:44:07 make test [Pipeline] } 14:44:07 $ docker stop --time=1 6b9420551164258f474f5b4aab71c1330378af229069043304924539ad358a2d 14:44:09 $ docker rm -f 6b9420551164258f474f5b4aab71c1330378af229069043304924539ad358a2d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } 14:44:09 [ 66%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:44:09 [ 68%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 14:44:11 [ 69%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:44:11 [ 71%] Linking C shared library libcsdk.so 14:44:11 [ 71%] Built target csdk 14:44:11 Scanning dependencies of target template 14:44:11 [ 73%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:44:12 [ 74%] Linking C executable template 14:44:12 [ 74%] Built target template 14:44:12 Scanning dependencies of target device-counter 14:44:12 [ 76%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [Pipeline] sh 14:44:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:44:13 [ 77%] Linking C executable device-counter 14:44:13 [ 77%] Built target device-counter 14:44:13 Scanning dependencies of target device-random 14:44:13 + ls -al . 14:44:13 total 160 14:44:13 drwxrwxr-x. 8 jenkins jenkins 260 Oct 19 14:43 . 14:44:13 drwxrwxr-x. 4 jenkins jenkins 28 Oct 19 14:43 .. 14:44:13 -rw-rw-r--. 1 jenkins jenkins 3104 Oct 19 14:43 Attribution.txt 14:44:13 -rw-rw-r--. 1 jenkins jenkins 5980 Oct 19 14:43 CHANGES 14:44:13 drwxrwxr-x. 2 jenkins jenkins 144 Oct 19 14:43 docs 14:44:13 -rw-rw-r--. 1 jenkins jenkins 108574 Oct 19 14:43 Doxyfile 14:44:13 drwxrwxr-x. 8 jenkins jenkins 179 Oct 19 14:43 .git 14:44:13 drwxrwxr-x. 2 jenkins jenkins 81 Oct 19 14:43 .github 14:44:13 -rw-rw-r--. 1 jenkins jenkins 176 Oct 19 14:43 .gitignore 14:44:13 drwxrwxr-x. 4 jenkins jenkins 33 Oct 19 14:43 include 14:44:13 -rw-rw-r--. 1 jenkins jenkins 794 Oct 19 14:43 Jenkinsfile 14:44:13 -rw-rw-r--. 1 jenkins jenkins 10174 Oct 19 14:43 LICENSE 14:44:13 -rw-rw-r--. 1 jenkins jenkins 449 Oct 19 14:43 Makefile 14:44:13 -rw-rw-r--. 1 jenkins jenkins 2697 Oct 19 14:43 README.md 14:44:13 -rw-rw-r--. 1 jenkins jenkins 5977 Oct 19 14:43 README.v2.md 14:44:13 drwxrwxr-x. 2 jenkins jenkins 108 Oct 19 14:43 scripts 14:44:13 drwxrwxr-x. 4 jenkins jenkins 50 Oct 19 14:43 src 14:44:13 -rw-rw-r--. 1 jenkins jenkins 5 Oct 19 14:39 VERSION [Pipeline] isUnix [Pipeline] sh 14:44:13 [ 79%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:44:13 [ 80%] Linking C executable device-random 14:44:14 + 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=fc854f4bff20fb2ce763f8bb08c8644b83cbf65a --label arch=amd64 --label version=0.0.0 . 14:44:14 Sending build context to Docker daemon 2.425MB 14:44:14 Step 1/15 : ARG BASE=alpine:3.11 14:44:14 Step 2/15 : FROM ${BASE} 14:44:14 ---> 6e56c5efba52 14:44:14 Step 3/15 : MAINTAINER IOTech 14:44:14 [ 80%] Built target device-random 14:44:14 Scanning dependencies of target device-gyro 14:44:14 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:44:14 [ 84%] Linking C executable device-gyro 14:44:14 ---> Running in bdfd0ee15eea 14:44:14 [ 84%] Built target device-gyro 14:44:14 Scanning dependencies of target device-bitfields 14:44:14 [ 85%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 14:44:15 Removing intermediate container bdfd0ee15eea 14:44:15 ---> b9a45888e755 14:44:15 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 14:44:15 ---> Running in 233f5177b276 14:44:15 [ 87%] Linking C executable device-bitfields 14:44:15 [ 87%] Built target device-bitfields 14:44:15 Scanning dependencies of target template-discovery 14:44:15 [ 88%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:44:15 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 14:44:16 [ 90%] Linking C executable template-discovery 14:44:16 [ 90%] Built target template-discovery 14:44:16 Scanning dependencies of target device-file 14:44:16 [ 92%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 14:44:16 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 14:44:16 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 14:44:16 (2/6) Installing libblkid (2.33-r0) 14:44:16 [ 93%] Linking C executable device-file 14:44:16 (3/6) Installing libfdisk (2.33-r0) 14:44:16 (4/6) Installing libmount (2.33-r0) 14:44:16 (5/6) Installing libsmartcols (2.33-r0) 14:44:16 (6/6) Installing util-linux-dev (2.33-r0) 14:44:17 [ 93%] Built target device-file 14:44:17 Scanning dependencies of target device-terminal 14:44:17 [ 95%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:44:17 Executing busybox-1.29.3-r10.trigger 14:44:17 OK: 272 MiB in 84 packages 14:44:17 Removing intermediate container 233f5177b276 14:44:17 ---> b0dbf1e08b68 14:44:17 Step 5/15 : COPY VERSION /edgex-c-sdk/ 14:44:17 [ 96%] Linking C executable device-terminal 14:44:17 [ 96%] Built target device-terminal 14:44:18 ---> c7fefb97a213 14:44:18 Step 6/15 : COPY src /edgex-c-sdk/src/ 14:44:18 Scanning dependencies of target templatev1 14:44:18 [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o 14:44:18 [100%] Linking C executable templatev1 14:44:18 ---> bd0c0f7a6f84 14:44:18 Step 7/15 : COPY include /edgex-c-sdk/include/ 14:44:18 [100%] Built target templatev1 14:44:18 + + teemake -a package release.log 14:44:18 14:44:19 ---> 3a552db07b5c 14:44:19 Step 8/15 : COPY scripts /edgex-c-sdk/scripts 14:44:19 [ 71%] Built target csdk 14:44:19 [ 74%] Built target template 14:44:19 [ 77%] Built target device-counter 14:44:19 [ 80%] Built target device-random 14:44:19 [ 84%] Built target device-gyro 14:44:19 [ 87%] Built target device-bitfields 14:44:19 [ 90%] Built target template-discovery 14:44:19 [ 93%] Built target device-file 14:44:19 ---> fc4da98de23e 14:44:19 Step 9/15 : COPY LICENSE /edgex-c-sdk/ 14:44:19 [ 96%] Built target device-terminal 14:44:19 [100%] Built target templatev1 14:44:19 Run CPack packaging tool... 14:44:19 CPack: Create package using TGZ 14:44:19 CPack: Install projects 14:44:19 CPack: - Run preinstall target for: Csdk 14:44:19 ---> f6e3eb8ed893 14:44:19 Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ 14:44:19 ---> bb62cc88445a 14:44:19 Step 11/15 : WORKDIR /edgex-c-sdk 14:44:19 ---> Running in b3f3c71bd4d9 14:44:19 Removing intermediate container b3f3c71bd4d9 14:44:19 ---> 8351e369b8dd 14:44:19 Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 14:44:20 CPack: - Install project: Csdk 14:44:20 CPack: Create package 14:44:20 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 14:44:20 + '[' false '=' true ] 14:44:20 + '[' false '=' true ] 14:44:20 + mkdir -p /tmp/sdk/build/debug 14:44:20 + cd /tmp/sdk/build/debug 14:44:20 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 14:44:20 ---> Running in 01294c330ef3 14:44:20 Removing intermediate container 01294c330ef3 14:44:20 ---> 15f5093302c9 14:44:20 Step 13/15 : LABEL arch=amd64 14:44:20 ---> Running in 33d9ade517d2 14:44:20 -- The C compiler identification is GNU 8.3.0 14:44:20 -- Check for working C compiler: /usr/bin/cc 14:44:20 Removing intermediate container 33d9ade517d2 14:44:20 ---> ea89956219fd 14:44:20 Step 14/15 : LABEL git_sha=fc854f4bff20fb2ce763f8bb08c8644b83cbf65a 14:44:20 ---> Running in b0ae1f907a24 14:44:20 Removing intermediate container b0ae1f907a24 14:44:20 ---> 30e2353b7ebb 14:44:20 Step 15/15 : LABEL version=0.0.0 14:44:20 ---> Running in dd42839c0dc9 14:44:20 Removing intermediate container dd42839c0dc9 14:44:20 ---> 59033226ceec 14:44:20 [Warning] One or more build-args [ARCH MAKE] were not consumed 14:44:20 Successfully built 59033226ceec 14:44:20 Successfully tagged docker-device-sdk-c:latest 14:44:20 -- Check for working C compiler: /usr/bin/cc -- works 14:44:20 -- Detecting C compiler ABI info 14:44:20 -- Detecting C compiler ABI info - done [Pipeline] } [Pipeline] // script [Pipeline] } 14:44:21 -- Detecting C compile features [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] } 14:44:21 -- Detecting C compile features - done 14:44:21 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:44:21 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 14:44:21 -- Found LIBYAML: /usr/lib/libyaml.so 14:44:21 -- Found LIBUUID: /usr/lib/libuuid.so 14:44:21 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 14:44:21 -- C SDK 0.0.0 for Linux 14:44:21 -- Performing Test CSDK_HAVE_ATOMIC [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv 14:44:22 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:44:22 -- Found Curses: /usr/lib/libcurses.so 14:44:22 -- Configuring done [Pipeline] } [Pipeline] // withEnv [Pipeline] } 14:44:22 -- Generating done 14:44:22 -- Build files have been written to: /tmp/sdk/build/debug 14:44:22 + make 14:44:22 + tee debug.log 14:44:22 Scanning dependencies of target csdk [Pipeline] // ws [Pipeline] } [Pipeline] // node 14:44:22 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [Pipeline] } [Pipeline] // stage [Pipeline] } 14:44:22 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 14:44:23 [ 4%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 14:44:23 [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:44:24 [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:44:24 [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:44:24 [ 11%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:44:25 [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:44:25 [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:44:25 [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:44:26 [ 17%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:44:26 [ 19%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:44:26 [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 14:44:26 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:44:27 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:44:28 [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 14:44:28 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 14:44:28 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 14:44:28 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 14:44:29 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 14:44:29 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 14:44:29 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 14:44:29 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 14:44:30 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 14:44:30 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 14:44:30 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 14:44:31 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 14:44:31 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 14:44:31 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 14:44:31 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 14:44:32 [ 49%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:44:32 [ 50%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:44:32 [ 52%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 14:44:32 [ 53%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:44:33 [ 55%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:44:34 [ 57%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:44:34 [ 58%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 14:44:34 [ 60%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:44:34 [ 61%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:44:35 [ 63%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:44:36 [ 65%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 14:44:37 [ 66%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:44:37 [ 68%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 14:44:37 [ 69%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:44:37 [ 71%] Linking C shared library libcsdk.so 14:44:38 [ 71%] Built target csdk 14:44:38 Scanning dependencies of target template 14:44:38 [ 73%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:44:38 [ 74%] Linking C executable template 14:44:38 [ 74%] Built target template 14:44:38 Scanning dependencies of target device-counter 14:44:38 [ 76%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:44:39 [ 77%] Linking C executable device-counter 14:44:39 [ 77%] Built target device-counter 14:44:39 Scanning dependencies of target device-random 14:44:39 [ 79%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:44:39 [ 80%] Linking C executable device-random 14:44:39 [ 80%] Built target device-random 14:44:39 Scanning dependencies of target device-gyro 14:44:39 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:44:40 [ 84%] Linking C executable device-gyro 14:44:40 [ 84%] Built target device-gyro 14:44:40 Scanning dependencies of target device-bitfields 14:44:40 [ 85%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 14:44:40 [ 87%] Linking C executable device-bitfields 14:44:40 [ 87%] Built target device-bitfields 14:44:40 Scanning dependencies of target template-discovery 14:44:41 [ 88%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:44:41 [ 90%] Linking C executable template-discovery 14:44:41 [ 90%] Built target template-discovery 14:44:41 Scanning dependencies of target device-file 14:44:41 [ 92%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 14:44:41 [ 93%] Linking C executable device-file 14:44:41 [ 93%] Built target device-file 14:44:41 Scanning dependencies of target device-terminal 14:44:42 [ 95%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:44:42 [ 96%] Linking C executable device-terminal 14:44:42 [ 96%] Built target device-terminal 14:44:42 Scanning dependencies of target templatev1 14:44:42 [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o 14:44:42 [100%] Linking C executable templatev1 14:44:43 [100%] Built target templatev1 14:44:43 make: Entering directory '/tmp/sdk/build/release' 14:44:43 make[1]: Entering directory '/tmp/sdk/build/release' 14:44:43 make[2]: Entering directory '/tmp/sdk/build/release' 14:44:43 make[2]: Leaving directory '/tmp/sdk/build/release' 14:44:43 [ 71%] Built target csdk 14:44:43 make[2]: Entering directory '/tmp/sdk/build/release' 14:44:43 make[2]: Leaving directory '/tmp/sdk/build/release' 14:44:43 [ 74%] Built target template 14:44:43 make[2]: Entering directory '/tmp/sdk/build/release' 14:44:43 make[2]: Leaving directory '/tmp/sdk/build/release' 14:44:43 [ 77%] Built target device-counter 14:44:43 make[2]: Entering directory '/tmp/sdk/build/release' 14:44:43 make[2]: Leaving directory '/tmp/sdk/build/release' 14:44:43 [ 80%] Built target device-random 14:44:43 make[2]: Entering directory '/tmp/sdk/build/release' 14:44:43 make[2]: Leaving directory '/tmp/sdk/build/release' 14:44:43 [ 84%] Built target device-gyro 14:44:43 make[2]: Entering directory '/tmp/sdk/build/release' 14:44:43 make[2]: Leaving directory '/tmp/sdk/build/release' 14:44:43 [ 87%] Built target device-bitfields 14:44:43 make[2]: Entering directory '/tmp/sdk/build/release' 14:44:43 make[2]: Leaving directory '/tmp/sdk/build/release' 14:44:43 [ 90%] Built target template-discovery 14:44:43 make[2]: Entering directory '/tmp/sdk/build/release' 14:44:43 make[2]: Leaving directory '/tmp/sdk/build/release' 14:44:43 [ 93%] Built target device-file 14:44:43 make[2]: Entering directory '/tmp/sdk/build/release' 14:44:43 make[2]: Leaving directory '/tmp/sdk/build/release' 14:44:43 [ 96%] Built target device-terminal 14:44:43 make[2]: Entering directory '/tmp/sdk/build/release' 14:44:43 make[2]: Leaving directory '/tmp/sdk/build/release' 14:44:43 [100%] Built target templatev1 14:44:43 make[1]: Leaving directory '/tmp/sdk/build/release' 14:44:43 Install the project... 14:44:43 -- Install configuration: "Release" 14:44:43 -- Installing: /usr/local/lib/libcsdk.so 14:44:43 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 14:44:43 -- Up-to-date: /usr/local/include 14:44:43 -- Installing: /usr/local/include/edgex 14:44:43 -- Installing: /usr/local/include/edgex/device-mgmt.h 14:44:43 -- Installing: /usr/local/include/edgex/eventgen.h 14:44:43 -- Installing: /usr/local/include/edgex/error.h 14:44:43 -- Installing: /usr/local/include/edgex/rest-server.h 14:44:43 -- Installing: /usr/local/include/edgex/edgex-base.h 14:44:43 -- Installing: /usr/local/include/edgex/devsdk.h 14:44:43 -- Installing: /usr/local/include/edgex/edgex.h 14:44:43 -- Installing: /usr/local/include/edgex/devices.h 14:44:43 -- Installing: /usr/local/include/edgex/os.h 14:44:43 -- Installing: /usr/local/include/edgex/profiles.h 14:44:43 -- Installing: /usr/local/include/edgex/csdk-defs.h 14:44:43 -- Installing: /usr/local/include/devsdk 14:44:43 -- Installing: /usr/local/include/devsdk/devsdk-base.h 14:44:43 -- Installing: /usr/local/include/devsdk/devsdk.h 14:44:43 -- Installing: /usr/local/include/iot 14:44:43 -- Installing: /usr/local/include/iot/json.h 14:44:43 -- Installing: /usr/local/include/iot/yxml.h 14:44:43 -- Installing: /usr/local/include/iot/container.h 14:44:43 -- Installing: /usr/local/include/iot/component.h 14:44:43 -- Installing: /usr/local/include/iot/typecode.h 14:44:43 -- Installing: /usr/local/include/iot/iot.h 14:44:43 -- Installing: /usr/local/include/iot/time.h 14:44:43 -- Installing: /usr/local/include/iot/hash.h 14:44:43 -- Installing: /usr/local/include/iot/logger.h 14:44:43 -- Installing: /usr/local/include/iot/os 14:44:43 -- Installing: /usr/local/include/iot/os/zephyr.h 14:44:43 -- Installing: /usr/local/include/iot/os/linux.h 14:44:43 -- Installing: /usr/local/include/iot/os/macos.h 14:44:43 -- Installing: /usr/local/include/iot/scheduler.h 14:44:43 -- Installing: /usr/local/include/iot/data.h 14:44:43 -- Installing: /usr/local/include/iot/thread.h 14:44:43 -- Installing: /usr/local/include/iot/os.h 14:44:43 -- Installing: /usr/local/include/iot/base64.h 14:44:43 -- Installing: /usr/local/include/iot/threadpool.h 14:44:43 -- Installing: /usr/local/include/iot/config.h 14:44:43 -- Installing: /usr/local/share/device-sdk-c/LICENSE 14:44:43 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 14:44:43 make: Leaving directory '/tmp/sdk/build/release' 14:44:46 Removing intermediate container d4efd385ecf9 14:44:46 ---> 3c467b2f4281 14:44:46 Step 14/21 : FROM ${BASE} 14:44:46 ---> b23d30803547 14:44:46 Step 15/21 : MAINTAINER IOTech 14:44:46 ---> Running in 62533abd5cac 14:44:46 Removing intermediate container 62533abd5cac 14:44:46 ---> 3480ed3e8345 14:44:46 Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid 14:44:46 ---> Running in dab86b7fb8f1 14:44:48 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 14:44:49 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 14:44:49 (1/3) Installing curl (7.64.0-r4) 14:44:49 (2/3) Installing libuuid (2.33-r0) 14:44:49 (3/3) Installing wget (1.20.3-r0) 14:44:49 Executing busybox-1.29.3-r10.trigger 14:44:49 OK: 281 MiB in 78 packages 14:44:50 Removing intermediate container dab86b7fb8f1 14:44:50 ---> dce39cd3d34c 14:44:50 Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 14:44:51 ---> f35d9acccabe 14:44:51 Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 14:44:52 ---> ffe43d985e85 14:44:52 Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib 14:44:53 ---> 448bd8c166ed 14:44:53 Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 14:44:53 ---> 2079afcf3933 14:44:53 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 14:44:54 ---> d94c5de21aec 14:44:54 Successfully built d94c5de21aec 14:44:54 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:44:55 + docker inspect -f . ci-base-image-arm64 14:44:55 . [Pipeline] withDockerContainer 14:44:56 prd-ubuntu18.04-docker-arm64-4c-16g-6275 does not seem to be running inside a container 14:44:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 14:44:58 $ docker top ffee1724d9a9ae8b283706104cbb7a788d42e91ce4d15cab1f628989e979a480 -eo pid,comm [Pipeline] { [Pipeline] sh 14:44:59 + make test 14:44:59 echo "make test" 14:44:59 make test [Pipeline] } 14:45:00 $ docker stop --time=1 ffee1724d9a9ae8b283706104cbb7a788d42e91ce4d15cab1f628989e979a480 14:45:02 $ docker rm -f ffee1724d9a9ae8b283706104cbb7a788d42e91ce4d15cab1f628989e979a480 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:45:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:45:04 + ls -al . 14:45:04 total 192 14:45:04 drwxrwxr-x 8 jenkins jenkins 4096 Oct 19 14:42 . 14:45:04 drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 14:42 .. 14:45:04 drwxrwxr-x 8 jenkins jenkins 4096 Oct 19 14:42 .git 14:45:04 drwxrwxr-x 2 jenkins jenkins 4096 Oct 19 14:42 .github 14:45:04 -rw-rw-r-- 1 jenkins jenkins 176 Oct 19 14:42 .gitignore 14:45:04 -rw-rw-r-- 1 jenkins jenkins 3104 Oct 19 14:42 Attribution.txt 14:45:04 -rw-rw-r-- 1 jenkins jenkins 5980 Oct 19 14:42 CHANGES 14:45:04 -rw-rw-r-- 1 jenkins jenkins 108574 Oct 19 14:42 Doxyfile 14:45:04 -rw-rw-r-- 1 jenkins jenkins 794 Oct 19 14:42 Jenkinsfile 14:45:04 -rw-rw-r-- 1 jenkins jenkins 10174 Oct 19 14:42 LICENSE 14:45:04 -rw-rw-r-- 1 jenkins jenkins 449 Oct 19 14:42 Makefile 14:45:04 -rw-rw-r-- 1 jenkins jenkins 2697 Oct 19 14:42 README.md 14:45:04 -rw-rw-r-- 1 jenkins jenkins 5977 Oct 19 14:42 README.v2.md 14:45:04 -rw-rw-r-- 1 jenkins jenkins 5 Oct 19 14:39 VERSION 14:45:04 drwxrwxr-x 2 jenkins jenkins 4096 Oct 19 14:42 docs 14:45:04 drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 14:42 include 14:45:04 drwxrwxr-x 2 jenkins jenkins 4096 Oct 19 14:42 scripts 14:45:04 drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 14:42 src [Pipeline] isUnix [Pipeline] sh 14:45:04 + 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=fc854f4bff20fb2ce763f8bb08c8644b83cbf65a --label arch=arm64 --label version=0.0.0 . 14:45:04 Sending build context to Docker daemon 2.425MB 14:45:05 Step 1/15 : ARG BASE=alpine:3.11 14:45:05 Step 2/15 : FROM ${BASE} 14:45:05 ---> d94c5de21aec 14:45:05 Step 3/15 : MAINTAINER IOTech 14:45:05 ---> Running in 300994ea5029 14:45:05 Removing intermediate container 300994ea5029 14:45:05 ---> 5d157b692534 14:45:05 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 14:45:05 ---> Running in 50b3b6e9a62c 14:45:07 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 14:45:08 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 14:45:08 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 14:45:08 (2/6) Installing libblkid (2.33-r0) 14:45:08 (3/6) Installing libfdisk (2.33-r0) 14:45:08 (4/6) Installing libmount (2.33-r0) 14:45:08 (5/6) Installing libsmartcols (2.33-r0) 14:45:08 (6/6) Installing util-linux-dev (2.33-r0) 14:45:08 Executing busybox-1.29.3-r10.trigger 14:45:09 OK: 286 MiB in 84 packages 14:45:10 Removing intermediate container 50b3b6e9a62c 14:45:10 ---> 3317da1c1fbc 14:45:10 Step 5/15 : COPY VERSION /edgex-c-sdk/ 14:45:11 ---> 68114a1d1053 14:45:11 Step 6/15 : COPY src /edgex-c-sdk/src/ 14:45:12 ---> a0d9ed905b3d 14:45:12 Step 7/15 : COPY include /edgex-c-sdk/include/ 14:45:12 ---> e0d28ce0b039 14:45:12 Step 8/15 : COPY scripts /edgex-c-sdk/scripts 14:45:13 ---> bc8858d3564b 14:45:13 Step 9/15 : COPY LICENSE /edgex-c-sdk/ 14:45:14 ---> f6600515aeff 14:45:14 Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ 14:45:15 ---> aea47247a9c1 14:45:15 Step 11/15 : WORKDIR /edgex-c-sdk 14:45:15 ---> Running in 6f6e4ecf82c4 14:45:15 Removing intermediate container 6f6e4ecf82c4 14:45:15 ---> c5d4e7d60499 14:45:15 Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 14:45:15 ---> Running in f043ce79158a 14:45:16 Removing intermediate container f043ce79158a 14:45:16 ---> 10d93ecb3170 14:45:16 Step 13/15 : LABEL arch=arm64 14:45:16 ---> Running in 7bd7589c62eb 14:45:16 Removing intermediate container 7bd7589c62eb 14:45:16 ---> bbb50517b14d 14:45:16 Step 14/15 : LABEL git_sha=fc854f4bff20fb2ce763f8bb08c8644b83cbf65a 14:45:16 ---> Running in 51bd637a0de1 14:45:17 Removing intermediate container 51bd637a0de1 14:45:17 ---> c51ac8e9b65f 14:45:17 Step 15/15 : LABEL version=0.0.0 14:45:17 ---> Running in dccb07e7b177 14:45:17 Removing intermediate container dccb07e7b177 14:45:17 ---> f8c572287038 14:45:17 [Warning] One or more build-args [ARCH MAKE] were not consumed 14:45:18 Successfully built f8c572287038 14:45:18 Successfully tagged docker-device-sdk-c-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 14:45:22 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:45:23 ---> package-listing.sh 14:45:23 ++ facter osfamily 14:45:23 ++ tr '[:upper:]' '[:lower:]' 14:45:23 + OS_FAMILY=redhat 14:45:23 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-302 14:45:23 + START_PACKAGES=/tmp/packages_start.txt 14:45:23 + END_PACKAGES=/tmp/packages_end.txt 14:45:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:45:23 + PACKAGES=/tmp/packages_start.txt 14:45:23 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-302 ']' 14:45:23 + PACKAGES=/tmp/packages_end.txt 14:45:23 + case "${OS_FAMILY}" in 14:45:23 + rpm -qa 14:45:23 + sort 14:45:27 + '[' -f /tmp/packages_start.txt ']' 14:45:27 + '[' -f /tmp/packages_end.txt ']' 14:45:27 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:45:27 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-302 ']' 14:45:27 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-302/archives/ 14:45:27 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-302/archives/ [Pipeline] echo 14:45:27 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-302/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 14:45:27 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 14:45:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:45:28 14:45:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 14:45:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:45:28 alpine: Pulling from edgex-lftools-log-publisher 14:45:28 df20fa9351a1: Pulling fs layer 14:45:28 36b3adc4ff6f: Pulling fs layer 14:45:28 8ad3a11d3b57: Pulling fs layer 14:45:28 46f8f816bc3b: Pulling fs layer 14:45:28 93b61091891f: Pulling fs layer 14:45:28 93b9cdb0e59b: Pulling fs layer 14:45:28 5e14af77c1be: Pulling fs layer 14:45:28 01666e4c0597: Pulling fs layer 14:45:28 aa168da1d23b: Pulling fs layer 14:45:28 46f8f816bc3b: Waiting 14:45:28 93b61091891f: Waiting 14:45:28 01666e4c0597: Waiting 14:45:28 5e14af77c1be: Waiting 14:45:28 aa168da1d23b: Waiting 14:45:28 36b3adc4ff6f: Download complete 14:45:28 46f8f816bc3b: Verifying Checksum 14:45:28 46f8f816bc3b: Download complete 14:45:28 df20fa9351a1: Verifying Checksum 14:45:28 93b9cdb0e59b: Verifying Checksum 14:45:28 93b9cdb0e59b: Download complete 14:45:28 93b61091891f: Verifying Checksum 14:45:28 5e14af77c1be: Verifying Checksum 14:45:28 5e14af77c1be: Download complete 14:45:28 93b61091891f: Download complete 14:45:28 01666e4c0597: Verifying Checksum 14:45:28 01666e4c0597: Download complete 14:45:28 8ad3a11d3b57: Verifying Checksum 14:45:28 8ad3a11d3b57: Download complete 14:45:29 df20fa9351a1: Pull complete 14:45:29 36b3adc4ff6f: Pull complete 14:45:30 8ad3a11d3b57: Pull complete 14:45:30 46f8f816bc3b: Pull complete 14:45:30 93b61091891f: Pull complete 14:45:30 93b9cdb0e59b: Pull complete 14:45:31 aa168da1d23b: Download complete 14:45:31 5e14af77c1be: Pull complete 14:45:32 01666e4c0597: Pull complete 14:45:38 aa168da1d23b: Pull complete 14:45:38 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 14:45:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:45:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 14:45:39 prd-centos7-docker-4c-2g-6274 does not seem to be running inside a container 14:45:39 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-302/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-302 -v /w/workspace/edgexfoundry_device-sdk-c_PR-302:/w/workspace/edgexfoundry_device-sdk-c_PR-302:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-302@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-302@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 14:45:43 $ docker top a2ee1d6c1cfb3efd0ed01f55d16b8914cd746ea984dc1f0171e7878d552bcd6c -eo pid,comm [Pipeline] { [Pipeline] sh 14:45:44 + touch /tmp/pre-build-complete [Pipeline] sh 14:45:44 + mkdir -p /var/log/sa [Pipeline] sh 14:45:44 + ls /var/log/sa-host 14:45:44 + sadf -c /var/log/sa-host/sa05 14:45:44 file_magic: OK 14:45:44 HZ: Using current value: 100 14:45:44 file_header: OK 14:45:44 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 14:45:44 Statistics: 14:45:44 Hnuu...uuuununununu...Hnuu...uuuununununu... 14:45:44 File successfully converted to sysstat format version 12.2.1 14:45:44 + sadf -c /var/log/sa-host/sa19 14:45:44 file_magic: OK 14:45:44 HZ: Using current value: 100 14:45:44 file_header: OK 14:45:44 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 14:45:44 Statistics: 14:45:44 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 14:45:44 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:45:45 provisioning config files... 14:45:45 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-302@tmp/config5520583479724236085tmp [Pipeline] { [Pipeline] echo 14:45:45 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:45:45 ---> create-netrc.sh [Pipeline] } 14:45:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 14:45:46 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 14:45:46 ---> python-tools-install.sh [Pipeline] echo 14:45:46 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:45:46 ---> sudo-logs.sh 14:45:46 Archiving 'sudo' log.. [Pipeline] echo 14:45:46 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:45:47 ---> job-cost.sh 14:45:47 lf-activate-venv: SKIPPING 14:45:47 INFO: No Stack... 14:45:48 INFO: Retrieving Pricing Info for: v1-standard-2 14:45:48 INFO: Archiving Costs [Pipeline] echo 14:45:49 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:45:50 ---> logs-deploy.sh 14:45:50 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-302/1 14:45:50 INFO: archiving workspace using pattern(s): 14:45:51 Archives upload complete. 14:45:51 INFO: archiving logs to Nexus