Pull request #341 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 soda480 for edgexfoundry/device-sdk-c Obtained Jenkinsfile from ffca8a7f173e4af129b56382ea7724f2eb516e06+3a634a1c00d95d9219bb951cd4c22fd9c49f79ac (07b29d8511bbae22cf9fb84f88172d1d398ae928) 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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-341/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 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > 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 46d8313d362d7075c0f562900eedc504c24ea18a 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-341/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 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-c DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-856’ Running on prd-centos7-docker-4c-2g-869 in /w/workspace/edgexfoundry_device-sdk-c_PR-341 [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-341 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 3a634a1c00d95d9219bb951cd4c22fd9c49f79ac into PR head commit ffca8a7f173e4af129b56382ea7724f2eb516e06 Merge succeeded, producing ffca8a7f173e4af129b56382ea7724f2eb516e06 Checking out Revision ffca8a7f173e4af129b56382ea7724f2eb516e06 (PR-341) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/341/head:refs/remotes/origin/PR-341 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ffca8a7f173e4af129b56382ea7724f2eb516e06 # 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 3a634a1c00d95d9219bb951cd4c22fd9c49f79ac # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ffca8a7f173e4af129b56382ea7724f2eb516e06 # timeout=10 Commit message: "docs: Add badges to readme" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:36:54 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:36:54 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:36:54 ========================================================= 18:36:54 EdgeX Global Pipelines Version Info 18:36:54 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:36:56 ------------------- 18:36:56 stable info: 18:36:56 ------------------- 18:36:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:36:56 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 18:36:56 Message: update stable to v1.0.186 18:36:57 ------------------- 18:36:57 experimental info: 18:36:57 ------------------- 18:36:57 Commited By: **** collab-it+edgex@linuxfoundation.org 18:36:57 Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 18:36:57 Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:36:57 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 18:36:57 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 18:36:57 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:36:57 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:36:57 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:36:57 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo 18:36:57 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 18:36:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 18:36:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:36:57 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-c [Pipeline] echo 18:36:57 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:36:57 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:36:58 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:36:58 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 18:36:58 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:36:58 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:36:58 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:36:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-341 [Pipeline] echo 18:36:58 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-341 [Pipeline] echo 18:36:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-341 [Pipeline] echo 18:36:58 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ffca8a7f173e4af129b56382ea7724f2eb516e06 [Pipeline] echo 18:36:58 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ffca8a7 [Pipeline] echo 18:36:58 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 18:36:58 provisioning config files... 18:36:58 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-341@tmp/config3183478547582379806tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:36:59 ---> docker-login.sh 18:36:59 nexus3.edgexfoundry.org:10001 18:36:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:36:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:36:59 Configure a credential helper to remove this warning. See 18:36:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:36:59 18:36:59 Login Succeeded 18:36:59 nexus3.edgexfoundry.org:10002 18:36:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:36:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:36:59 Configure a credential helper to remove this warning. See 18:36:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:36:59 18:36:59 Login Succeeded 18:36:59 nexus3.edgexfoundry.org:10003 18:36:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:36:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:36:59 Configure a credential helper to remove this warning. See 18:36:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:36:59 18:36:59 Login Succeeded 18:36:59 nexus3.edgexfoundry.org:10004 18:37:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:37:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:37:00 Configure a credential helper to remove this warning. See 18:37:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:37:00 18:37:00 Login Succeeded 18:37:00 docker.io 18:37:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:37:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:37:00 Configure a credential helper to remove this warning. See 18:37:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:37:00 18:37:00 Login Succeeded 18:37:00 ---> docker-login.sh ends [Pipeline] } 18:37:00 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 18:37:01 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:37:01 18:37:01 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 18:37:02 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:37:02 latest: Pulling from edgex-devops/git-semver 18:37:02 31603596830f: Pulling fs layer 18:37:02 2a8b12db71e7: Pulling fs layer 18:37:02 6ca5941a6612: Pulling fs layer 18:37:02 ecc8261a40a4: Pulling fs layer 18:37:02 ecc8261a40a4: Waiting 18:37:02 2a8b12db71e7: Download complete 18:37:02 31603596830f: Download complete 18:37:02 ecc8261a40a4: Verifying Checksum 18:37:02 ecc8261a40a4: Download complete 18:37:02 6ca5941a6612: Verifying Checksum 18:37:02 6ca5941a6612: Download complete 18:37:02 31603596830f: Pull complete 18:37:02 2a8b12db71e7: Pull complete 18:37:03 6ca5941a6612: Pull complete 18:37:03 ecc8261a40a4: Pull complete 18:37:03 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 18:37:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:37:03 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 18:37:03 prd-centos7-docker-4c-2g-869 does not seem to be running inside a container 18:37:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-341 -v /w/workspace/edgexfoundry_device-sdk-c_PR-341:/w/workspace/edgexfoundry_device-sdk-c_PR-341:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-341@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-341@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 18:37:06 $ docker top 2464ffdde48d9923d3940d200a27fe9bc1bcc0adfd8fc507d64ccfa6cb86a60a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:37:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:37:06 [ssh-agent] Looking for ssh-agent implementation... 18:37:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:37:06 $ docker exec 2464ffdde48d9923d3940d200a27fe9bc1bcc0adfd8fc507d64ccfa6cb86a60a ssh-agent 18:37:06 SSH_AUTH_SOCK=/tmp/ssh-iaDESqHXtANt/agent.12 18:37:06 SSH_AGENT_PID=17 18:37:06 Running ssh-add (command line suppressed) 18:37:06 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-341@tmp/private_key_453089698576230469.key (/w/workspace/edgexfoundry_device-sdk-c_PR-341@tmp/private_key_453089698576230469.key) 18:37:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:37:07 + git tag --points-at HEAD [Pipeline] } 18:37:07 $ docker exec --env ******** --env ******** 2464ffdde48d9923d3940d200a27fe9bc1bcc0adfd8fc507d64ccfa6cb86a60a ssh-agent -k 18:37:07 unset SSH_AUTH_SOCK; 18:37:07 unset SSH_AGENT_PID; 18:37:07 echo Agent pid 17 killed; 18:37:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:37:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:37:07 [ssh-agent] Looking for ssh-agent implementation... 18:37:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:37:07 $ docker exec 2464ffdde48d9923d3940d200a27fe9bc1bcc0adfd8fc507d64ccfa6cb86a60a ssh-agent 18:37:08 SSH_AUTH_SOCK=/tmp/ssh-Hy75KxaGMJqr/agent.47 18:37:08 SSH_AGENT_PID=52 18:37:08 Running ssh-add (command line suppressed) 18:37:08 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-341@tmp/private_key_4897104705473290888.key (/w/workspace/edgexfoundry_device-sdk-c_PR-341@tmp/private_key_4897104705473290888.key) 18:37:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:37:09 + git semver init 18:37:09 # -> Open(): unable to determine branch for HEAD 18:37:09 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-341/.git 18:37:09 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-341 18:37:09 # $SEMVER_REMOTE_NAME = origin 18:37:09 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:37:09 # $SEMVER_USER_NAME = edgex-jenkins 18:37:09 # $SEMVER_BRANCH = PR-341 18:37:09 # $SEMVER_TEMP = /tmp/semver-426068743 18:37:09 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 18:37:09 # '/tmp/semver-426068743' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-341/.semver' 18:37:09 # -> Force: false 18:37:09 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-341/.semver [Pipeline] } 18:37:09 $ docker exec --env ******** --env ******** 2464ffdde48d9923d3940d200a27fe9bc1bcc0adfd8fc507d64ccfa6cb86a60a ssh-agent -k 18:37:10 unset SSH_AUTH_SOCK; 18:37:10 unset SSH_AGENT_PID; 18:37:10 echo Agent pid 52 killed; 18:37:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:37:10 + git semver [Pipeline] } 18:37:10 $ docker stop --time=1 2464ffdde48d9923d3940d200a27fe9bc1bcc0adfd8fc507d64ccfa6cb86a60a 18:37:12 $ docker rm -f 2464ffdde48d9923d3940d200a27fe9bc1bcc0adfd8fc507d64ccfa6cb86a60a [Pipeline] // withDockerContainer [Pipeline] sh 18:37:12 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:37:12 Stashed 1 file(s) [Pipeline] echo 18:37:12 [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 18:37:28 Still waiting to schedule task 18:37:28 ‘prd-centos7-blackbox-4c-2g-542’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-873’ is offline 18:37:28 Still waiting to schedule task 18:37:28 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-865’ 18:40:36 Running on prd-centos7-docker-4c-2g-886 in /w/workspace/edgexfoundry_device-sdk-c_PR-341 [Pipeline] { [Pipeline] ws 18:40:36 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 18:40:39 using credential edgex-jenkins-ssh 18:40:39 Cloning the remote Git repository 18:40:39 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 18:40:39 > git init /w/workspace/device-sdk-c/1 # timeout=10 18:40:39 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 18:40:39 > git --version # timeout=10 18:40:39 > git --version # 'git version 2.24.3' 18:40:39 using GIT_SSH to set credentials SSH Credentials for GitHub 18:40:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:40:41 Merging remotes/origin/master commit 3a634a1c00d95d9219bb951cd4c22fd9c49f79ac into PR head commit ffca8a7f173e4af129b56382ea7724f2eb516e06 18:40:40 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 18:40:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:40:40 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 18:40:40 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 18:40:40 using GIT_SSH to set credentials SSH Credentials for GitHub 18:40:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/341/head:refs/remotes/origin/PR-341 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:40:41 > git config core.sparsecheckout # timeout=10 18:40:41 > git checkout -f ffca8a7f173e4af129b56382ea7724f2eb516e06 # timeout=10 18:40:41 > git remote # timeout=10 18:40:41 > git config --get remote.origin.url # timeout=10 18:40:41 using GIT_SSH to set credentials SSH Credentials for GitHub 18:40:41 > git merge 3a634a1c00d95d9219bb951cd4c22fd9c49f79ac # timeout=10 18:40:41 > git rev-parse HEAD^{commit} # timeout=10 18:40:41 Merge succeeded, producing ffca8a7f173e4af129b56382ea7724f2eb516e06 18:40:41 Checking out Revision ffca8a7f173e4af129b56382ea7724f2eb516e06 (PR-341) 18:40:41 > git config core.sparsecheckout # timeout=10 18:40:41 > git checkout -f ffca8a7f173e4af129b56382ea7724f2eb516e06 # timeout=10 18:40:45 Commit message: "docs: Add badges to readme" 18:40:45 > git --version # timeout=10 18:40:45 > git --version # 'git version 2.24.3' 18:40:45 fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:40:45 Running on prd-ubuntu18.04-docker-arm64-4c-16g-882 in /w/workspace/edgexfoundry_device-sdk-c_PR-341 [Pipeline] { [Pipeline] ws 18:40:46 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 18:40:46 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 18:40:46 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 18:40:47 + sudo service docker restart 18:40:47 + true 18:40:47 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 18:40:48 provisioning config files... 18:40:48 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config5604924834053549041tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:40:48 ---> docker-login.sh 18:40:48 nexus3.edgexfoundry.org:10001 18:40:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:40:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:40:48 Configure a credential helper to remove this warning. See 18:40:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:40:48 18:40:48 Login Succeeded 18:40:48 nexus3.edgexfoundry.org:10002 18:40:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:40:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:40:49 Configure a credential helper to remove this warning. See 18:40:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:40:49 18:40:49 Login Succeeded 18:40:49 nexus3.edgexfoundry.org:10003 18:40:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:40:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:40:49 Configure a credential helper to remove this warning. See 18:40:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:40:49 18:40:49 Login Succeeded 18:40:49 nexus3.edgexfoundry.org:10004 18:40:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:40:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:40:49 Configure a credential helper to remove this warning. See 18:40:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:40:49 18:40:49 Login Succeeded 18:40:49 docker.io 18:40:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:40:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:40:49 Configure a credential helper to remove this warning. See 18:40:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:40:49 18:40:49 Login Succeeded 18:40:49 ---> docker-login.sh ends [Pipeline] } 18:40:49 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:40:50 ========================================================= 18:40:50 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 18:40:50 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:40:50 + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . 18:40:50 Sending build context to Docker daemon 2.353MB 18:40:50 Step 1/21 : ARG BASE=alpine:3.12 18:40:50 Step 2/21 : FROM ${BASE} as builder 18:40:50 latest: Pulling from edgex-devops/edgex-gcc-base 18:40:50 e7c96db7181b: Pulling fs layer 18:40:50 4c13bbce0fe7: Pulling fs layer 18:40:50 6059c847ac2f: Pulling fs layer 18:40:50 4c13bbce0fe7: Verifying Checksum 18:40:50 4c13bbce0fe7: Download complete 18:40:50 e7c96db7181b: Verifying Checksum 18:40:50 e7c96db7181b: Download complete 18:40:51 e7c96db7181b: Pull complete 18:40:51 4c13bbce0fe7: Pull complete 18:40:52 using credential edgex-jenkins-ssh 18:40:52 Cloning the remote Git repository 18:40:52 6059c847ac2f: Verifying Checksum 18:40:52 6059c847ac2f: Download complete 18:40:52 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 18:40:52 > git init /w/workspace/device-sdk-c/1 # timeout=10 18:40:52 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 18:40:52 > git --version # timeout=10 18:40:52 > git --version # 'git version 2.17.1' 18:40:52 using GIT_SSH to set credentials SSH Credentials for GitHub 18:40:52 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:40:53 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 18:40:53 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:40:53 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 18:40:53 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 18:40:53 using GIT_SSH to set credentials SSH Credentials for GitHub 18:40:54 Merging remotes/origin/master commit 3a634a1c00d95d9219bb951cd4c22fd9c49f79ac into PR head commit ffca8a7f173e4af129b56382ea7724f2eb516e06 18:40:54 Merge succeeded, producing ffca8a7f173e4af129b56382ea7724f2eb516e06 18:40:54 Checking out Revision ffca8a7f173e4af129b56382ea7724f2eb516e06 (PR-341) 18:40:53 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/341/head:refs/remotes/origin/PR-341 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:40:54 > git config core.sparsecheckout # timeout=10 18:40:54 > git checkout -f ffca8a7f173e4af129b56382ea7724f2eb516e06 # timeout=10 18:40:54 > git remote # timeout=10 18:40:54 > git config --get remote.origin.url # timeout=10 18:40:54 using GIT_SSH to set credentials SSH Credentials for GitHub 18:40:54 > git merge 3a634a1c00d95d9219bb951cd4c22fd9c49f79ac # timeout=10 18:40:54 > git rev-parse HEAD^{commit} # timeout=10 18:40:54 > git config core.sparsecheckout # timeout=10 18:40:54 > git checkout -f ffca8a7f173e4af129b56382ea7724f2eb516e06 # timeout=10 18:40:57 6059c847ac2f: Pull complete 18:40:57 Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e 18:40:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 18:40:57 ---> 5eabd8fd8ba2 18:40:57 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 18:40:59 Commit message: "docs: Add badges to readme" 18:40:59 ---> Running in dafa3754d405 18:40:59 > git --version # timeout=10 18:40:59 > git --version # 'git version 2.17.1' 18:40:59 fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 18:40:59 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [Pipeline] script [Pipeline] { [Pipeline] sh 18:41:00 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 18:41:01 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json 18:41:01 (1/8) Installing ncurses-dev (6.1_p20190105-r0) 18:41:01 (2/8) Installing libuuid (2.33-r0) [Pipeline] sh 18:41:01 (3/8) Installing libblkid (2.33-r0) 18:41:01 (4/8) Installing libfdisk (2.33-r0) 18:41:01 (5/8) Installing libmount (2.33-r0) 18:41:01 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 18:41:02 + sudo service docker restart+ 18:41:02 true 18:41:02 (6/8) Installing libsmartcols (2.33-r0) 18:41:02 (7/8) Installing util-linux-dev (2.33-r0) 18:41:02 (8/8) Installing wget (1.20.3-r0) 18:41:02 Executing busybox-1.29.3-r10.trigger 18:41:02 OK: 272 MiB in 83 packages 18:41:03 Removing intermediate container dafa3754d405 18:41:03 ---> 88529c9fbb1f 18:41:03 Step 4/21 : ENV CBOR_VERSION=0.5.0 18:41:03 ---> Running in c9904e1ab75e 18:41:03 Removing intermediate container c9904e1ab75e 18:41:03 ---> fbcad2ee66b2 18:41:03 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 18:41:03 ---> Running in dd5cf153cf88 18:41:04 --2021-04-19 18:41:04-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 18:41:04 Resolving github.com... 140.82.112.3 18:41:04 Connecting to github.com|140.82.112.3|:443... connected. 18:41:04 HTTP request sent, awaiting response... 302 Found 18:41:04 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 18:41:04 --2021-04-19 18:41:04-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 18:41:04 Resolving codeload.github.com... 140.82.114.9 18:41:04 Connecting to codeload.github.com|140.82.114.9|:443... connected. 18:41:04 HTTP request sent, awaiting response... 200 OK 18:41:04 Length: unspecified [application/x-gzip] 18:41:04 Saving to: 'STDOUT' 18:41:04 18:41:04 0K .......... .......... .......... .......... .......... 1.21M 18:41:04 50K .......... .......... .......... .......... .......... 2.51M 18:41:04 100K .......... .......... .......... .......... .......... 29.3M 18:41:04 150K .......... .......... .......... .......... .......... 2.41M 18:41:04 200K .......... .......... .......... .......... .......... 45.9M 18:41:04 250K .......... .......... .......... .......... .......... 2.74M 18:41:04 300K .......... .......... .......... .......... .......... 29.7M 18:41:04 350K .......... .......... .......... .......... .......... 14.5M 18:41:04 400K .......... .......... .......... .......... .......... 3.99M 18:41:04 450K .......... .......... .......... .......... .......... 34.5M 18:41:04 500K .......... .......... .......... .......... .......... 8.20M 18:41:04 550K .......... .......... .......... .......... .......... 3.22M 18:41:04 600K .......... .......... .......... .......... .......... 1.82M 18:41:04 650K .......... .......... .......... .......... .......... 4.51M 18:41:04 700K .. 44.9M=0.2s 18:41:04 18:41:04 2021-04-19 18:41:04 (3.85 MB/s) - written to stdout [719348] 18:41:04 [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 18:41:04 provisioning config files... 18:41:04 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config8873562360803031525tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:41:05 -- The C compiler identification is GNU 8.3.0 18:41:05 -- The CXX compiler identification is GNU 8.3.0 18:41:05 -- Check for working C compiler: /usr/bin/cc 18:41:05 -- Check for working C compiler: /usr/bin/cc -- works 18:41:05 -- Detecting C compiler ABI info 18:41:05 -- Detecting C compiler ABI info - done 18:41:05 -- Detecting C compile features 18:41:05 ---> docker-login.sh 18:41:05 nexus3.edgexfoundry.org:10001 18:41:05 -- Detecting C compile features - done 18:41:05 -- Check for working CXX compiler: /usr/bin/c++ 18:41:05 -- Check for working CXX compiler: /usr/bin/c++ -- works 18:41:05 -- Detecting CXX compiler ABI info 18:41:05 -- Detecting CXX compiler ABI info - done 18:41:05 -- Detecting CXX compile features 18:41:06 -- Detecting CXX compile features - done 18:41:06 -- Looking for include file endian.h 18:41:06 -- Looking for include file endian.h - found 18:41:06 -- Check if the system is big endian 18:41:06 -- Searching 16 bit integer 18:41:06 -- Looking for sys/types.h 18:41:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:06 -- Looking for sys/types.h - found 18:41:06 -- Looking for stdint.h 18:41:06 -- Looking for stdint.h - found 18:41:06 -- Looking for stddef.h 18:41:06 -- Looking for stddef.h - found 18:41:06 -- Check size of unsigned short 18:41:06 -- Check size of unsigned short - done 18:41:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:41:06 Configure a credential helper to remove this warning. See 18:41:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:41:06 18:41:06 Login Succeeded 18:41:06 nexus3.edgexfoundry.org:10002 18:41:06 -- Using unsigned short 18:41:06 -- Check if the system is big endian - little endian 18:41:06 -- Check size of size_t 18:41:06 -- Check size of size_t - done 18:41:06 CMake Warning at examples/CMakeLists.txt:16 (find_package): 18:41:06 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 18:41:06 asked CMake to find a package configuration file provided by "cJSON", but 18:41:06 CMake did not find one. 18:41:06 18:41:06 Could not find a package configuration file provided by "cJSON" with any of 18:41:06 the following names: 18:41:06 18:41:06 cJSONConfig.cmake 18:41:06 cjson-config.cmake 18:41:06 18:41:06 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 18:41:06 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 18:41:06 provides a separate development package or SDK, be sure it has been 18:41:06 installed. 18:41:06 18:41:06 18:41:06 -- Configuring done 18:41:06 -- Generating done 18:41:06 -- Build files have been written to: /tmp/cbor 18:41:06 Scanning dependencies of target cbor_shared 18:41:06 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 18:41:07 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 18:41:07 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 18:41:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:41:07 Configure a credential helper to remove this warning. See 18:41:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:41:07 18:41:07 Login Succeeded 18:41:07 nexus3.edgexfoundry.org:10003 18:41:07 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 18:41:07 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 18:41:07 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 18:41:07 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 18:41:07 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 18:41:07 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 18:41:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:41:07 Configure a credential helper to remove this warning. See 18:41:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:41:07 18:41:07 Login Succeeded 18:41:07 nexus3.edgexfoundry.org:10004 18:41:08 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 18:41:08 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 18:41:08 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 18:41:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:08 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 18:41:08 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 18:41:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:41:08 Configure a credential helper to remove this warning. See 18:41:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:41:08 18:41:08 Login Succeeded 18:41:08 docker.io 18:41:08 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 18:41:08 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 18:41:08 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 18:41:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:08 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 18:41:08 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 18:41:08 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 18:41:08 [ 40%] Linking C shared library libcbor.so 18:41:08 [ 40%] Built target cbor_shared 18:41:08 Scanning dependencies of target cbor 18:41:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:41:08 Configure a credential helper to remove this warning. See 18:41:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:41:08 18:41:08 Login Succeeded 18:41:08 ---> docker-login.sh ends [Pipeline] } 18:41:08 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv 18:41:09 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 18:41:09 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [Pipeline] unstash 18:41:09 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 18:41:09 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [Pipeline] echo 18:41:09 ========================================================= 18:41:09 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 18:41:09 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:41:09 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 18:41:09 + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . 18:41:09 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 18:41:09 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 18:41:09 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 18:41:09 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 18:41:10 Sending build context to Docker daemon 2.352MB 18:41:10 Step 1/21 : ARG BASE=alpine:3.12 18:41:10 Step 2/21 : FROM ${BASE} as builder 18:41:10 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 18:41:10 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 18:41:10 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 18:41:10 0362ad1dd800: Pulling fs layer 18:41:10 f2cdb1532d8b: Pulling fs layer 18:41:10 37ed683be191: Pulling fs layer 18:41:10 f2cdb1532d8b: Verifying Checksum 18:41:10 f2cdb1532d8b: Download complete 18:41:10 0362ad1dd800: Download complete 18:41:10 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 18:41:10 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 18:41:10 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 18:41:10 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 18:41:10 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 18:41:10 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 18:41:10 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 18:41:10 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 18:41:10 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 18:41:10 0362ad1dd800: Pull complete 18:41:11 [ 80%] Linking C static library libcbor.a 18:41:11 [ 80%] Built target cbor 18:41:11 Scanning dependencies of target create_items 18:41:11 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 18:41:11 [ 84%] Linking C executable create_items 18:41:11 [ 84%] Built target create_items 18:41:11 Scanning dependencies of target readfile 18:41:11 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 18:41:11 [ 88%] Linking C executable readfile 18:41:11 [ 88%] Built target readfile 18:41:11 Scanning dependencies of target streaming_parser 18:41:11 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 18:41:11 [ 92%] Linking C executable streaming_parser 18:41:11 [ 92%] Built target streaming_parser 18:41:11 Scanning dependencies of target sort 18:41:11 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 18:41:11 [ 96%] Linking C executable sort 18:41:11 f2cdb1532d8b: Pull complete 18:41:11 [ 96%] Built target sort 18:41:11 Scanning dependencies of target hello 18:41:11 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 18:41:11 [100%] Linking C executable hello 18:41:11 [100%] Built target hello 18:41:11 Install the project... 18:41:11 -- Install configuration: "Release" 18:41:11 -- Installing: /usr/local/include/cbor/configuration.h 18:41:11 -- Installing: /usr/local/lib64/libcbor.a 18:41:11 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 18:41:11 -- Installing: /usr/local/lib64/libcbor.so.0 18:41:11 -- Installing: /usr/local/lib64/libcbor.so 18:41:11 -- Up-to-date: /usr/local/include/cbor 18:41:11 -- Installing: /usr/local/include/cbor/arrays.h 18:41:11 -- Installing: /usr/local/include/cbor/bytestrings.h 18:41:11 -- Installing: /usr/local/include/cbor/callbacks.h 18:41:11 -- Installing: /usr/local/include/cbor/common.h 18:41:11 -- Installing: /usr/local/include/cbor/data.h 18:41:11 -- Installing: /usr/local/include/cbor/encoding.h 18:41:11 -- Installing: /usr/local/include/cbor/floats_ctrls.h 18:41:11 -- Installing: /usr/local/include/cbor/internal 18:41:11 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 18:41:11 -- Installing: /usr/local/include/cbor/internal/encoders.h 18:41:11 -- Installing: /usr/local/include/cbor/internal/loaders.h 18:41:11 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 18:41:11 -- Installing: /usr/local/include/cbor/internal/stack.h 18:41:11 -- Installing: /usr/local/include/cbor/internal/unicode.h 18:41:11 -- Installing: /usr/local/include/cbor/ints.h 18:41:11 -- Installing: /usr/local/include/cbor/maps.h 18:41:11 -- Installing: /usr/local/include/cbor/serialization.h 18:41:11 -- Installing: /usr/local/include/cbor/streaming.h 18:41:11 -- Installing: /usr/local/include/cbor/strings.h 18:41:11 -- Installing: /usr/local/include/cbor/tags.h 18:41:11 -- Installing: /usr/local/include/cbor.h 18:41:11 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 18:41:12 37ed683be191: Verifying Checksum 18:41:12 37ed683be191: Download complete 18:41:13 Removing intermediate container dd5cf153cf88 18:41:13 ---> 715610e0db2f 18:41:13 Step 6/21 : RUN mkdir /tmp/sdk 18:41:13 ---> Running in b81a04e8abc4 18:41:15 Removing intermediate container b81a04e8abc4 18:41:15 ---> e095e5a24bdf 18:41:15 Step 7/21 : COPY VERSION /tmp/sdk 18:41:15 ---> eb082f6ef48e 18:41:15 Step 8/21 : COPY src /tmp/sdk/src 18:41:16 ---> 866c6129a4da 18:41:16 Step 9/21 : COPY include /tmp/sdk/include 18:41:16 ---> 78e177ac636a 18:41:16 Step 10/21 : COPY scripts /tmp/sdk/scripts 18:41:16 ---> 65e39ecfeed6 18:41:16 Step 11/21 : COPY LICENSE /tmp/sdk 18:41:16 ---> c963a5535966 18:41:16 Step 12/21 : COPY Attribution.txt /tmp/sdk 18:41:16 ---> 75f494a22221 18:41:16 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 18:41:17 ---> Running in 7d6bfabbcacb 18:41:17 + CPPCHECK=false 18:41:17 + DOCGEN=false 18:41:17 + TOMLVER=SDK-0.2 18:41:17 + CUTILVER=1.1.4 18:41:17 + '[' 0 -gt 0 ] 18:41:17 + readlink -f ./scripts/build.sh 18:41:17 + dirname /tmp/sdk/scripts/build.sh 18:41:17 + dirname /tmp/sdk/scripts 18:41:17 + ROOT=/tmp/sdk 18:41:17 + cd /tmp/sdk 18:41:17 + '[' '!' -d deps ] 18:41:17 + mkdir deps 18:41:17 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 18:41:17 + tar -C deps -z -x -f - 18:41:17 --2021-04-19 18:41:17-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 18:41:17 Resolving github.com... 140.82.113.4 18:41:17 Connecting to github.com|140.82.113.4|:443... connected. 18:41:17 HTTP request sent, awaiting response... 302 Found 18:41:17 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 18:41:17 --2021-04-19 18:41:17-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 18:41:17 Resolving codeload.github.com... 140.82.114.9 18:41:17 Connecting to codeload.github.com|140.82.114.9|:443... connected. 18:41:17 HTTP request sent, awaiting response... 200 OK 18:41:17 Length: 16451 (16K) [application/x-gzip] 18:41:17 Saving to: 'STDOUT' 18:41:17 18:41:17 0K .......... ......  100% 891K=0.02s 18:41:17 18:41:17 2021-04-19 18:41:17 (891 KB/s) - written to stdout [16451/16451] 18:41:17 18:41:17 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 18:41:17 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 18:41:17 + tar -C deps -z -x -f - 18:41:17 --2021-04-19 18:41:17-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 18:41:17 Resolving github.com... 140.82.113.4 18:41:17 Connecting to github.com|140.82.113.4|:443... connected. 18:41:18 HTTP request sent, awaiting response... 302 Found 18:41:18 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] 18:41:18 --2021-04-19 18:41:17-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 18:41:18 Resolving codeload.github.com... 140.82.114.9 18:41:18 Connecting to codeload.github.com|140.82.114.9|:443... connected. 18:41:18 HTTP request sent, awaiting response... 200 OK 18:41:18 Length: 181796 (178K) [application/x-gzip] 18:41:18 Saving to: 'STDOUT' 18:41:18 18:41:18 0K .......... .......... .......... .......... .......... 28% 1.31M 0s 18:41:18 50K .......... .......... .......... .......... .......... 56% 2.82M 0s 18:41:18 100K .......... .......... .......... .......... .......... 84% 10.5M 0s 18:41:18 150K .......... .......... ....... 100% 2.50M=0.07s 18:41:18 18:41:18 2021-04-19 18:41:17 (2.48 MB/s) - written to stdout [181796/181796] 18:41:18 18:41:18 + mkdir -p src/c/iot 18:41:18 + cp deps/iotech-c-utils-1.1.4/src/c/base64.c deps/iotech-c-utils-1.1.4/src/c/component.c deps/iotech-c-utils-1.1.4/src/c/config.c deps/iotech-c-utils-1.1.4/src/c/container.c deps/iotech-c-utils-1.1.4/src/c/data.c deps/iotech-c-utils-1.1.4/src/c/hash.c deps/iotech-c-utils-1.1.4/src/c/iot.c deps/iotech-c-utils-1.1.4/src/c/json.c deps/iotech-c-utils-1.1.4/src/c/logger.c deps/iotech-c-utils-1.1.4/src/c/os.c deps/iotech-c-utils-1.1.4/src/c/scheduler.c deps/iotech-c-utils-1.1.4/src/c/thread.c deps/iotech-c-utils-1.1.4/src/c/threadpool.c deps/iotech-c-utils-1.1.4/src/c/time.c deps/iotech-c-utils-1.1.4/src/c/yxml.c src/c/iot 18:41:18 + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot 18:41:18 + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot 18:41:18 + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot 18:41:18 + mkdir -p include/iot 18:41:18 + cp deps/iotech-c-utils-1.1.4/include/iot/base64.h deps/iotech-c-utils-1.1.4/include/iot/component.h deps/iotech-c-utils-1.1.4/include/iot/config.h deps/iotech-c-utils-1.1.4/include/iot/container.h deps/iotech-c-utils-1.1.4/include/iot/data.h deps/iotech-c-utils-1.1.4/include/iot/hash.h deps/iotech-c-utils-1.1.4/include/iot/iot.h deps/iotech-c-utils-1.1.4/include/iot/json.h deps/iotech-c-utils-1.1.4/include/iot/logger.h deps/iotech-c-utils-1.1.4/include/iot/os.h deps/iotech-c-utils-1.1.4/include/iot/scheduler.h deps/iotech-c-utils-1.1.4/include/iot/thread.h deps/iotech-c-utils-1.1.4/include/iot/threadpool.h deps/iotech-c-utils-1.1.4/include/iot/time.h deps/iotech-c-utils-1.1.4/include/iot/typecode.h include/iot 18:41:18 + mkdir -p include/iot/os 18:41:18 + cp deps/iotech-c-utils-1.1.4/include/iot/os/linux.h deps/iotech-c-utils-1.1.4/include/iot/os/macos.h deps/iotech-c-utils-1.1.4/include/iot/os/zephyr.h include/iot/os 18:41:18 + mkdir -p /tmp/sdk/build/release 18:41:18 + cd /tmp/sdk/build/release 18:41:18 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 18:41:18 -- The C compiler identification is GNU 8.3.0 18:41:18 -- Check for working C compiler: /usr/bin/cc 18:41:18 -- Check for working C compiler: /usr/bin/cc -- works 18:41:18 -- Detecting C compiler ABI info 18:41:18 -- Detecting C compiler ABI info - done 18:41:18 -- Detecting C compile features 18:41:18 -- Detecting C compile features - done 18:41:18 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 18:41:18 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 18:41:18 -- Found LIBYAML: /usr/lib/libyaml.so 18:41:18 -- Found LIBUUID: /usr/lib/libuuid.so 18:41:18 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 18:41:18 -- C SDK 0.0.0 for Linux 18:41:18 -- Performing Test CSDK_HAVE_ATOMIC 18:41:18 -- Performing Test CSDK_HAVE_ATOMIC - Success 18:41:18 -- Found Curses: /usr/lib/libcurses.so 18:41:18 -- Configuring done 18:41:19 -- Generating done 18:41:19 -- Build files have been written to: /tmp/sdk/build/release 18:41:19 + make 18:41:19 + tee release.log 18:41:19 Scanning dependencies of target csdk 18:41:19 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 18:41:19 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 18:41:19 [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o 18:41:19 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 18:41:19 [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 18:41:20 [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o 18:41:20 [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o 18:41:20 [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 18:41:20 [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 18:41:20 [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 18:41:21 [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 18:41:21 [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 18:41:21 37ed683be191: Pull complete 18:41:21 Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f 18:41:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 18:41:21 ---> b23d30803547 18:41:21 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 18:41:21 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 18:41:21 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 18:41:22 [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 18:41:22 ---> Running in b29e533a1904 18:41:22 [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 18:41:22 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 18:41:22 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 18:41:22 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 18:41:23 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 18:41:23 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 18:41:23 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 18:41:23 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 18:41:23 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 18:41:23 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 18:41:23 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 18:41:24 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 18:41:24 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 18:41:24 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 18:41:24 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 18:41:24 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 18:41:24 [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o 18:41:25 [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 18:41:25 [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 18:41:25 (1/8) Installing ncurses-dev (6.1_p20190105-r0) 18:41:25 (2/8) Installing libuuid (2.33-r0) 18:41:25 (3/8) Installing libblkid (2.33-r0) 18:41:25 [ 55%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 18:41:25 (4/8) Installing libfdisk (2.33-r0) 18:41:25 (5/8) Installing libmount (2.33-r0) 18:41:25 (6/8) Installing libsmartcols (2.33-r0) 18:41:26 (7/8) Installing util-linux-dev (2.33-r0) 18:41:26 [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 18:41:26 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 18:41:26 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 18:41:26 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 18:41:27 (8/8) Installing wget (1.20.3-r0) 18:41:27 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 18:41:27 Executing busybox-1.29.3-r10.trigger 18:41:27 OK: 285 MiB in 83 packages 18:41:27 [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o 18:41:28 [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 18:41:29 [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 18:41:29 [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 18:41:29 [ 72%] Linking C shared library libcsdk.so 18:41:29 [ 72%] Built target csdk 18:41:29 Scanning dependencies of target template 18:41:29 [ 74%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 18:41:29 Removing intermediate container b29e533a1904 18:41:29 ---> 306e1aca3927 18:41:29 Step 4/21 : ENV CBOR_VERSION=0.5.0 18:41:29 ---> Running in eb7ddc709fa1 18:41:29 [ 76%] Linking C executable template 18:41:29 [ 76%] Built target template 18:41:29 Scanning dependencies of target device-counter 18:41:29 [ 77%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 18:41:29 Removing intermediate container eb7ddc709fa1 18:41:29 ---> 8ab4d54116fe 18:41:29 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 18:41:29 ---> Running in 6696e9d7c269 18:41:29 [ 79%] Linking C executable device-counter 18:41:29 [ 79%] Built target device-counter 18:41:29 Scanning dependencies of target device-random 18:41:29 [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 18:41:30 [ 83%] Linking C executable device-random 18:41:30 [ 83%] Built target device-random 18:41:30 Scanning dependencies of target device-gyro 18:41:30 [ 84%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 18:41:30 [ 86%] Linking C executable device-gyro 18:41:30 [ 86%] Built target device-gyro 18:41:30 Scanning dependencies of target device-bitfields 18:41:30 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 18:41:30 [ 89%] Linking C executable device-bitfields 18:41:30 [ 89%] Built target device-bitfields 18:41:30 Scanning dependencies of target template-discovery 18:41:30 [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 18:41:30 [ 93%] Linking C executable template-discovery 18:41:30 [ 93%] Built target template-discovery 18:41:30 Scanning dependencies of target device-file 18:41:31 --2021-04-19 18:41:30-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 18:41:31 Resolving github.com... 140.82.113.4 18:41:31 Connecting to github.com|140.82.113.4|:443... connected. 18:41:31 HTTP request sent, awaiting response... 302 Found 18:41:31 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 18:41:31 --2021-04-19 18:41:30-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 18:41:31 Resolving codeload.github.com... 140.82.114.9 18:41:31 Connecting to codeload.github.com|140.82.114.9|:443... connected. 18:41:31 HTTP request sent, awaiting response... 200 OK 18:41:31 Length: unspecified [application/x-gzip] 18:41:31 Saving to: 'STDOUT' 18:41:31  18:41:31 0K .......... .......... .......... .......... .......... 1.23M 18:41:31 50K .......... .......... .......... .......... .......... 2.49M 18:41:31 100K .......... .......... .......... .......... .......... 12.0M 18:41:31 150K .......... .......... .......... .......... .......... 2.92M 18:41:31 200K .......... .......... .......... .......... .......... 9.66M 18:41:31 250K .......... .......... .......... .......... .......... 4.99M 18:41:31 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 18:41:31 [ 96%] Linking C executable device-file 18:41:31 [ 96%] Built target device-file 18:41:31 Scanning dependencies of target device-terminal 18:41:31 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 18:41:31 [100%] Linking C executable device-terminal 18:41:31 [100%] Built target device-terminal 18:41:31 + make package 18:41:31 + tee -a release.log 18:41:31 300K .......... .......... .......... .......... .......... 3.46M 18:41:31 350K .......... .......... .......... .......... .......... 5.86M 18:41:31 400K .......... .......... .......... .......... .......... 3.66M 18:41:31 450K .......... .......... .......... .......... .......... 4.11M 18:41:31 500K .......... .......... .......... .......... .......... 7.75M 18:41:31 550K .......... .......... .......... .......... .......... 2.43M 18:41:31 600K .......... .......... .......... .......... .......... 823K 18:41:31 650K .......... .......... .......... .......... .......... 2.15M 18:41:31 700K ..     558K=0.3s 18:41:31 18:41:31 2021-04-19 18:41:31 (2.67 MB/s) - written to stdout [719348] 18:41:31 18:41:31 [ 72%] Built target csdk 18:41:31 [ 76%] Built target template 18:41:31 [ 79%] Built target device-counter 18:41:31 [ 83%] Built target device-random 18:41:31 [ 86%] Built target device-gyro 18:41:31 [ 89%] Built target device-bitfields 18:41:31 [ 93%] Built target template-discovery 18:41:31 [ 96%] Built target device-file 18:41:31 [100%] Built target device-terminal 18:41:31 Run CPack packaging tool... 18:41:31 CPack: Create package using TGZ 18:41:31 CPack: Install projects 18:41:31 CPack: - Run preinstall target for: Csdk 18:41:31 -- The C compiler identification is GNU 8.3.0 18:41:31 CPack: - Install project: Csdk 18:41:31 CPack: Create package 18:41:31 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 18:41:31 + '[' false '=' true ] 18:41:31 + '[' false '=' true ] 18:41:31 + mkdir -p /tmp/sdk/build/debug 18:41:31 + cd /tmp/sdk/build/debug 18:41:31 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 18:41:31 -- The CXX compiler identification is GNU 8.3.0 18:41:31 -- Check for working C compiler: /usr/bin/cc 18:41:32 -- The C compiler identification is GNU 8.3.0 18:41:32 -- Check for working C compiler: /usr/bin/cc 18:41:32 -- Check for working C compiler: /usr/bin/cc -- works 18:41:32 -- Detecting C compiler ABI info 18:41:32 -- Detecting C compiler ABI info - done 18:41:32 -- Detecting C compile features 18:41:32 -- Check for working C compiler: /usr/bin/cc -- works 18:41:32 -- Detecting C compiler ABI info 18:41:32 -- Detecting C compile features - done 18:41:32 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 18:41:32 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 18:41:32 -- Found LIBYAML: /usr/lib/libyaml.so 18:41:32 -- Found LIBUUID: /usr/lib/libuuid.so 18:41:32 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 18:41:32 -- C SDK 0.0.0 for Linux 18:41:32 -- Performing Test CSDK_HAVE_ATOMIC 18:41:32 -- Detecting C compiler ABI info - done 18:41:32 -- Detecting C compile features 18:41:32 -- Performing Test CSDK_HAVE_ATOMIC - Success 18:41:32 -- Found Curses: /usr/lib/libcurses.so 18:41:32 -- Configuring done 18:41:32 -- Generating done 18:41:32 -- Build files have been written to: /tmp/sdk/build/debug 18:41:32 + make 18:41:32 + tee debug.log 18:41:32 Scanning dependencies of target csdk 18:41:32 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 18:41:32 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 18:41:32 [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o 18:41:33 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 18:41:33 [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 18:41:33 [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o 18:41:33 -- Detecting C compile features - done 18:41:33 -- Check for working CXX compiler: /usr/bin/c++ 18:41:33 [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o 18:41:33 [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 18:41:33 -- Check for working CXX compiler: /usr/bin/c++ -- works 18:41:33 -- Detecting CXX compiler ABI info 18:41:33 [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 18:41:33 [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 18:41:33 [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 18:41:34 [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 18:41:34 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 18:41:34 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 18:41:34 -- Detecting CXX compiler ABI info - done 18:41:34 -- Detecting CXX compile features 18:41:34 [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 18:41:34 [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 18:41:34 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 18:41:34 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 18:41:34 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 18:41:34 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 18:41:34 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 18:41:34 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 18:41:34 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 18:41:35 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 18:41:35 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 18:41:35 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 18:41:35 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 18:41:35 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 18:41:35 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 18:41:35 [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o 18:41:35 [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 18:41:35 [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 18:41:35 [ 55%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 18:41:36 -- Detecting CXX compile features - done 18:41:36 -- Looking for include file endian.h 18:41:36 -- Looking for include file endian.h - found 18:41:36 -- Check if the system is big endian 18:41:36 -- Searching 16 bit integer 18:41:36 -- Looking for sys/types.h 18:41:36 [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 18:41:36 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 18:41:36 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 18:41:36 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 18:41:36 -- Looking for sys/types.h - found 18:41:36 -- Looking for stdint.h 18:41:36 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 18:41:36 -- Looking for stdint.h - found 18:41:36 -- Looking for stddef.h 18:41:36 [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o 18:41:36 [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 18:41:36 -- Looking for stddef.h - found 18:41:36 -- Check size of unsigned short 18:41:37 [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 18:41:37 [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 18:41:37 -- Check size of unsigned short - done 18:41:37 -- Using unsigned short 18:41:37 [ 72%] Linking C shared library libcsdk.so 18:41:37 [ 72%] Built target csdk 18:41:37 Scanning dependencies of target template 18:41:37 [ 74%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 18:41:37 [ 76%] Linking C executable template 18:41:37 -- Check if the system is big endian - little endian 18:41:37 -- Check size of size_t 18:41:37 [ 76%] Built target template 18:41:37 Scanning dependencies of target device-counter 18:41:37 [ 77%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 18:41:37 [ 79%] Linking C executable device-counter 18:41:37 [ 79%] Built target device-counter 18:41:37 Scanning dependencies of target device-random 18:41:37 [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 18:41:37 -- Check size of size_t - done 18:41:37 CMake Warning at examples/CMakeLists.txt:16 (find_package): 18:41:37 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 18:41:37 asked CMake to find a package configuration file provided by "cJSON", but 18:41:37 CMake did not find one. 18:41:37 18:41:37 Could not find a package configuration file provided by "cJSON" with any of 18:41:37 the following names: 18:41:37 18:41:37 cJSONConfig.cmake 18:41:37 cjson-config.cmake 18:41:37 18:41:37 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 18:41:37 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 18:41:37 provides a separate development package or SDK, be sure it has been 18:41:37 installed. 18:41:37 18:41:37 18:41:37 -- Configuring done 18:41:37 [ 83%] Linking C executable device-random 18:41:37 [ 83%] Built target device-random 18:41:37 Scanning dependencies of target device-gyro 18:41:37 [ 84%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 18:41:37 [ 86%] Linking C executable device-gyro 18:41:37 -- Generating done 18:41:37 -- Build files have been written to: /tmp/cbor 18:41:37 Scanning dependencies of target cbor_shared 18:41:38 [ 86%] Built target device-gyro 18:41:38 Scanning dependencies of target device-bitfields 18:41:38 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 18:41:38 [ 89%] Linking C executable device-bitfields 18:41:38 [ 89%] Built target device-bitfields 18:41:38 Scanning dependencies of target template-discovery 18:41:38 [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 18:41:38 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 18:41:38 [ 93%] Linking C executable template-discovery 18:41:38 [ 93%] Built target template-discovery 18:41:38 Scanning dependencies of target device-file 18:41:38 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 18:41:38 [ 96%] Linking C executable device-file 18:41:38 [ 96%] Built target device-file 18:41:38 Scanning dependencies of target device-terminal 18:41:38 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 18:41:38 [100%] Linking C executable device-terminal 18:41:38 [100%] Built target device-terminal 18:41:38 make: Entering directory '/tmp/sdk/build/release' 18:41:38 make[1]: Entering directory '/tmp/sdk/build/release' 18:41:38 make[2]: Entering directory '/tmp/sdk/build/release' 18:41:38 make[2]: Leaving directory '/tmp/sdk/build/release' 18:41:38 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 18:41:38 [ 72%] Built target csdk 18:41:38 make[2]: Entering directory '/tmp/sdk/build/release' 18:41:38 make[2]: Leaving directory '/tmp/sdk/build/release' 18:41:38 [ 76%] Built target template 18:41:38 make[2]: Entering directory '/tmp/sdk/build/release' 18:41:38 make[2]: Leaving directory '/tmp/sdk/build/release' 18:41:38 [ 79%] Built target device-counter 18:41:38 make[2]: Entering directory '/tmp/sdk/build/release' 18:41:38 make[2]: Leaving directory '/tmp/sdk/build/release' 18:41:38 [ 83%] Built target device-random 18:41:38 make[2]: Entering directory '/tmp/sdk/build/release' 18:41:38 make[2]: Leaving directory '/tmp/sdk/build/release' 18:41:38 [ 86%] Built target device-gyro 18:41:38 make[2]: Entering directory '/tmp/sdk/build/release' 18:41:38 make[2]: Leaving directory '/tmp/sdk/build/release' 18:41:38 [ 89%] Built target device-bitfields 18:41:38 make[2]: Entering directory '/tmp/sdk/build/release' 18:41:38 make[2]: Leaving directory '/tmp/sdk/build/release' 18:41:38 [ 93%] Built target template-discovery 18:41:38 make[2]: Entering directory '/tmp/sdk/build/release' 18:41:38 make[2]: Leaving directory '/tmp/sdk/build/release' 18:41:38 [ 96%] Built target device-file 18:41:38 make[2]: Entering directory '/tmp/sdk/build/release' 18:41:38 make[2]: Leaving directory '/tmp/sdk/build/release' 18:41:38 [100%] Built target device-terminal 18:41:38 make[1]: Leaving directory '/tmp/sdk/build/release' 18:41:38 Install the project... 18:41:38 -- Install configuration: "Release" 18:41:38 -- Installing: /usr/local/lib/libcsdk.so 18:41:38 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 18:41:38 -- Up-to-date: /usr/local/include 18:41:38 -- Installing: /usr/local/include/devsdk 18:41:38 -- Installing: /usr/local/include/devsdk/devsdk-base.h 18:41:38 -- Installing: /usr/local/include/devsdk/devsdk.h 18:41:38 -- Installing: /usr/local/include/edgex 18:41:38 -- Installing: /usr/local/include/edgex/devices.h 18:41:38 -- Installing: /usr/local/include/edgex/edgex-base.h 18:41:38 -- Installing: /usr/local/include/edgex/edgex.h 18:41:38 -- Installing: /usr/local/include/edgex/profiles.h 18:41:38 -- Installing: /usr/local/include/edgex/rest-server.h 18:41:38 -- Installing: /usr/local/include/edgex/csdk-defs.h 18:41:38 -- Installing: /usr/local/include/iot 18:41:38 -- Installing: /usr/local/include/iot/base64.h 18:41:38 -- Installing: /usr/local/include/iot/component.h 18:41:38 -- Installing: /usr/local/include/iot/config.h 18:41:38 -- Installing: /usr/local/include/iot/container.h 18:41:38 -- Installing: /usr/local/include/iot/data.h 18:41:38 -- Installing: /usr/local/include/iot/hash.h 18:41:38 -- Installing: /usr/local/include/iot/iot.h 18:41:38 -- Installing: /usr/local/include/iot/json.h 18:41:38 -- Installing: /usr/local/include/iot/logger.h 18:41:38 -- Installing: /usr/local/include/iot/os.h 18:41:38 -- Installing: /usr/local/include/iot/scheduler.h 18:41:38 -- Installing: /usr/local/include/iot/thread.h 18:41:38 -- Installing: /usr/local/include/iot/threadpool.h 18:41:38 -- Installing: /usr/local/include/iot/time.h 18:41:38 -- Installing: /usr/local/include/iot/typecode.h 18:41:38 -- Installing: /usr/local/include/iot/os 18:41:38 -- Installing: /usr/local/include/iot/os/linux.h 18:41:38 -- Installing: /usr/local/include/iot/os/macos.h 18:41:38 -- Installing: /usr/local/include/iot/os/zephyr.h 18:41:38 -- Installing: /usr/local/include/iot/defs.h 18:41:38 -- Installing: /usr/local/share/device-sdk-c/LICENSE 18:41:38 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 18:41:38 make: Leaving directory '/tmp/sdk/build/release' 18:41:39 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 18:41:39 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 18:41:40 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 18:41:40 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 18:41:40 Removing intermediate container 7d6bfabbcacb 18:41:40 ---> e92deaf34829 18:41:40 Step 14/21 : FROM ${BASE} 18:41:40 ---> 5eabd8fd8ba2 18:41:40 Step 15/21 : LABEL maintainer="IOTech " 18:41:40 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 18:41:41 ---> Running in 7b5d4843bdf6 18:41:41 Removing intermediate container 7b5d4843bdf6 18:41:41 ---> 8d7098b44e7a 18:41:41 Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid 18:41:41 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 18:41:41 ---> Running in bfba01bf7cd7 18:41:41 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 18:41:41 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 18:41:41 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 18:41:42 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 18:41:42 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 18:41:42 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 18:41:43 (1/3) Installing curl (7.64.0-r5) 18:41:43 (2/3) Installing libuuid (2.33-r0) 18:41:43 (3/3) Installing wget (1.20.3-r0) 18:41:43 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 18:41:43 Executing busybox-1.29.3-r10.trigger 18:41:43 OK: 268 MiB in 78 packages 18:41:43 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 18:41:43 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 18:41:43 Removing intermediate container bfba01bf7cd7 18:41:43 ---> b37474055e7f 18:41:43 Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 18:41:43 ---> f6b08cdd48b6 18:41:43 Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 18:41:43 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 18:41:44 ---> 520ad69d3f91 18:41:44 Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib 18:41:44 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 18:41:44 ---> 60fbd2dd4fda 18:41:44 Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 18:41:44 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 18:41:44 ---> 0fef44ddd11e 18:41:44 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 18:41:44 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 18:41:45 ---> c137e4a6bcb0 18:41:45 Successfully built c137e4a6bcb0 18:41:45 Successfully tagged ci-base-image-x86_64:latest 18:41:45 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { 18:41:45 [ 40%] Linking C shared library libcbor.so 18:41:45 [ 40%] Built target cbor_shared 18:41:45 Scanning dependencies of target cbor 18:41:45 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [Pipeline] isUnix [Pipeline] sh 18:41:45 + docker inspect -f . ci-base-image-x86_64 18:41:45 . [Pipeline] withDockerContainer 18:41:45 prd-centos7-docker-4c-2g-886 does not seem to be running inside a container 18:41:46 $ 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 ******** -e ******** ci-base-image-x86_64 cat 18:41:46 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 18:41:46 $ docker top 8db5961fd567b81d40c1ae263f859c5fb755d6c9fa1feddd26674d88ee813fe8 -eo pid,comm 18:41:46 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [Pipeline] { [Pipeline] sh 18:41:47 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 18:41:47 + make test 18:41:47 echo "make test" 18:41:47 make test [Pipeline] } 18:41:47 $ docker stop --time=1 8db5961fd567b81d40c1ae263f859c5fb755d6c9fa1feddd26674d88ee813fe8 18:41:48 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 18:41:48 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 18:41:48 $ docker rm -f 8db5961fd567b81d40c1ae263f859c5fb755d6c9fa1feddd26674d88ee813fe8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } 18:41:49 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 18:41:49 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 18:41:49 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [Pipeline] sh 18:41:50 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 18:41:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:41:50 + ls -al . 18:41:50 total 160 18:41:50 drwxrwxr-x. 8 jenkins jenkins 260 Apr 19 18:40 . 18:41:50 drwxrwxr-x. 4 jenkins jenkins 28 Apr 19 18:40 .. 18:41:50 -rw-rw-r--. 1 jenkins jenkins 3104 Apr 19 18:40 Attribution.txt 18:41:50 -rw-rw-r--. 1 jenkins jenkins 6927 Apr 19 18:40 CHANGES 18:41:50 drwxrwxr-x. 2 jenkins jenkins 144 Apr 19 18:40 docs 18:41:50 -rw-rw-r--. 1 jenkins jenkins 108574 Apr 19 18:40 Doxyfile 18:41:50 drwxrwxr-x. 8 jenkins jenkins 179 Apr 19 18:40 .git 18:41:50 drwxrwxr-x. 2 jenkins jenkins 81 Apr 19 18:40 .github 18:41:50 -rw-rw-r--. 1 jenkins jenkins 176 Apr 19 18:40 .gitignore 18:41:50 drwxrwxr-x. 4 jenkins jenkins 33 Apr 19 18:40 include 18:41:50 -rw-rw-r--. 1 jenkins jenkins 784 Apr 19 18:40 Jenkinsfile 18:41:50 -rw-rw-r--. 1 jenkins jenkins 10174 Apr 19 18:40 LICENSE 18:41:50 -rw-rw-r--. 1 jenkins jenkins 444 Apr 19 18:40 Makefile 18:41:50 -rw-rw-r--. 1 jenkins jenkins 4008 Apr 19 18:40 README.md 18:41:50 -rw-rw-r--. 1 jenkins jenkins 6654 Apr 19 18:40 README.v2.md 18:41:50 drwxrwxr-x. 2 jenkins jenkins 98 Apr 19 18:40 scripts 18:41:50 drwxrwxr-x. 4 jenkins jenkins 50 Apr 19 18:40 src 18:41:50 -rw-rw-r--. 1 jenkins jenkins 5 Apr 19 18:37 VERSION [Pipeline] isUnix [Pipeline] sh 18:41:50 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 18:41:50 + docker build -t docker-device-sdk-c -f scripts/Dockerfile.alpine --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=ffca8a7f173e4af129b56382ea7724f2eb516e06 --label arch=amd64 --label version=0.0.0 . 18:41:50 Sending build context to Docker daemon 2.353MB 18:41:50 Step 1/15 : ARG BASE=alpine:3.12 18:41:50 Step 2/15 : FROM ${BASE} 18:41:50 ---> c137e4a6bcb0 18:41:50 Step 3/15 : LABEL maintainer="IOTech " 18:41:51 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 18:41:51 ---> Running in 72efe9fe7743 18:41:51 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 18:41:51 Removing intermediate container 72efe9fe7743 18:41:51 ---> 2dd5abcb5181 18:41:51 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 18:41:51 ---> Running in 301387ce6725 18:41:52 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 18:41:52 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 18:41:52 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 18:41:52 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 18:41:52 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 18:41:52 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 18:41:53 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 18:41:53 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 18:41:53 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 18:41:53 (2/6) Installing libblkid (2.33-r0) 18:41:53 (3/6) Installing libfdisk (2.33-r0) 18:41:53 (4/6) Installing libmount (2.33-r0) 18:41:53 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 18:41:53 (5/6) Installing libsmartcols (2.33-r0) 18:41:53 (6/6) Installing util-linux-dev (2.33-r0) 18:41:54 [ 80%] Linking C static library libcbor.a 18:41:54 [ 80%] Built target cbor 18:41:54 Scanning dependencies of target create_items 18:41:54 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 18:41:54 Executing busybox-1.29.3-r10.trigger 18:41:54 [ 84%] Linking C executable create_items 18:41:54 [ 84%] Built target create_items 18:41:54 OK: 272 MiB in 84 packages 18:41:54 Scanning dependencies of target readfile 18:41:54 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 18:41:54 [ 88%] Linking C executable readfile 18:41:54 [ 88%] Built target readfile 18:41:54 Scanning dependencies of target streaming_parser 18:41:54 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 18:41:54 Removing intermediate container 301387ce6725 18:41:54 ---> 178d486b96a7 18:41:54 Step 5/15 : COPY VERSION /edgex-c-sdk/ 18:41:54 ---> 2d00f386617e 18:41:54 Step 6/15 : COPY src /edgex-c-sdk/src/ 18:41:55 [ 92%] Linking C executable streaming_parser 18:41:55 [ 92%] Built target streaming_parser 18:41:55 Scanning dependencies of target sort 18:41:55 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 18:41:55 [ 96%] Linking C executable sort 18:41:55 [ 96%] Built target sort 18:41:55 Scanning dependencies of target hello 18:41:55 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 18:41:55 [100%] Linking C executable hello 18:41:55 ---> a2b9a2d9eaa3 18:41:55 Step 7/15 : COPY include /edgex-c-sdk/include/ 18:41:55 [100%] Built target hello 18:41:55 Install the project... 18:41:55 -- Install configuration: "Release" 18:41:55 -- Installing: /usr/local/include/cbor/configuration.h 18:41:55 -- Installing: /usr/local/lib64/libcbor.a 18:41:55 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 18:41:55 -- Installing: /usr/local/lib64/libcbor.so.0 18:41:55 -- Installing: /usr/local/lib64/libcbor.so 18:41:55 -- Up-to-date: /usr/local/include/cbor 18:41:55 -- Installing: /usr/local/include/cbor/streaming.h 18:41:55 -- Installing: /usr/local/include/cbor/ints.h 18:41:55 -- Installing: /usr/local/include/cbor/floats_ctrls.h 18:41:55 -- Installing: /usr/local/include/cbor/bytestrings.h 18:41:55 -- Installing: /usr/local/include/cbor/encoding.h 18:41:55 -- Installing: /usr/local/include/cbor/serialization.h 18:41:55 -- Installing: /usr/local/include/cbor/data.h 18:41:55 -- Installing: /usr/local/include/cbor/common.h 18:41:55 -- Installing: /usr/local/include/cbor/callbacks.h 18:41:55 -- Installing: /usr/local/include/cbor/strings.h 18:41:55 -- Installing: /usr/local/include/cbor/tags.h 18:41:55 -- Installing: /usr/local/include/cbor/internal 18:41:55 -- Installing: /usr/local/include/cbor/internal/encoders.h 18:41:55 -- Installing: /usr/local/include/cbor/internal/loaders.h 18:41:55 -- Installing: /usr/local/include/cbor/internal/stack.h 18:41:55 -- Installing: /usr/local/include/cbor/internal/unicode.h 18:41:55 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 18:41:55 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 18:41:55 -- Installing: /usr/local/include/cbor/arrays.h 18:41:55 -- Installing: /usr/local/include/cbor/maps.h 18:41:55 -- Installing: /usr/local/include/cbor.h 18:41:55 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 18:41:56 ---> 023d7f3368e6 18:41:56 Step 8/15 : COPY scripts /edgex-c-sdk/scripts 18:41:56 ---> 9f911336a65e 18:41:56 Step 9/15 : COPY LICENSE /edgex-c-sdk/ 18:41:56 ---> de8750357ca7 18:41:56 Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ 18:41:56 ---> 411bb0446881 18:41:56 Step 11/15 : WORKDIR /edgex-c-sdk 18:41:56 ---> Running in 00867fd6773f 18:41:56 Removing intermediate container 00867fd6773f 18:41:56 ---> 50074037a343 18:41:56 Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 18:41:56 ---> Running in 244263cb1594 18:41:57 Removing intermediate container 244263cb1594 18:41:57 ---> fc936b75cc6c 18:41:57 Step 13/15 : LABEL arch=amd64 18:41:57 ---> Running in 0010e48db3c8 18:41:57 Removing intermediate container 0010e48db3c8 18:41:57 ---> 87af48d0c245 18:41:57 Step 14/15 : LABEL git_sha=ffca8a7f173e4af129b56382ea7724f2eb516e06 18:41:57 ---> Running in eb26bc5c2242 18:41:57 Removing intermediate container eb26bc5c2242 18:41:57 ---> ca7eca5a0ec9 18:41:57 Step 15/15 : LABEL version=0.0.0 18:41:57 ---> Running in 13b528433d0f 18:41:57 Removing intermediate container 13b528433d0f 18:41:57 ---> c549c699e986 18:41:57 [Warning] One or more build-args [ARCH MAKE] were not consumed 18:41:57 Successfully built c549c699e986 18:41:57 Successfully tagged docker-device-sdk-c:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) 18:41:57 Removing intermediate container 6696e9d7c269 18:41:57 ---> 47f07ccd085e 18:41:57 Step 6/21 : RUN mkdir /tmp/sdk 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] } 18:41:58 ---> Running in 03fdc6c73bab [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 18:42:00 Removing intermediate container 03fdc6c73bab 18:42:00 ---> ab7609d7320b 18:42:00 Step 7/21 : COPY VERSION /tmp/sdk 18:42:01 ---> 106802c695ac 18:42:01 Step 8/21 : COPY src /tmp/sdk/src 18:42:01 ---> 65e3e2f81687 18:42:01 Step 9/21 : COPY include /tmp/sdk/include 18:42:02 ---> 73b63fdbe7d0 18:42:02 Step 10/21 : COPY scripts /tmp/sdk/scripts 18:42:03 ---> 6bb33d2a7913 18:42:03 Step 11/21 : COPY LICENSE /tmp/sdk 18:42:03 ---> 390546f98d1d 18:42:03 Step 12/21 : COPY Attribution.txt /tmp/sdk 18:42:04 ---> d7fd70dc667e 18:42:04 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 18:42:04 ---> Running in d121eb1a7bd5 18:42:05 + CPPCHECK=false 18:42:05 + DOCGEN=false 18:42:05 + TOMLVER=SDK-0.2 18:42:05 + CUTILVER=1.1.4 18:42:05 + '[' 0 -gt 0 ] 18:42:05 + readlink -f ./scripts/build.sh 18:42:05 + dirname /tmp/sdk/scripts/build.sh 18:42:05 + dirname /tmp/sdk/scripts 18:42:05 + ROOT=/tmp/sdk 18:42:05 + cd /tmp/sdk 18:42:05 + '[' '!' -d deps ] 18:42:05 + mkdir deps 18:42:05 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 18:42:05 + tar -C deps -z -x -f - 18:42:05 --2021-04-19 18:42:05-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 18:42:05 Resolving github.com... 140.82.113.4 18:42:05 Connecting to github.com|140.82.113.4|:443... connected. 18:42:05 HTTP request sent, awaiting response... 302 Found 18:42:05 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 18:42:05 --2021-04-19 18:42:05-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 18:42:06 Resolving codeload.github.com... 140.82.113.10 18:42:06 Connecting to codeload.github.com|140.82.113.10|:443... connected. 18:42:06 HTTP request sent, awaiting response... 200 OK 18:42:06 Length: unspecified [application/x-gzip] 18:42:06 Saving to: 'STDOUT' 18:42:06  18:42:06 0K .......... ......  555K=0.03s 18:42:06 18:42:06 2021-04-19 18:42:06 (555 KB/s) - written to stdout [16451] 18:42:06 18:42:06 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 18:42:06 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 18:42:06 + tar -C deps -z -x -f - 18:42:06 --2021-04-19 18:42:06-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 18:42:06 Resolving github.com... 140.82.113.4 18:42:06 Connecting to github.com|140.82.113.4|:443... connected. 18:42:06 HTTP request sent, awaiting response... 302 Found 18:42:06 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] 18:42:06 --2021-04-19 18:42:06-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 18:42:06 Resolving codeload.github.com... 140.82.113.10 18:42:06 Connecting to codeload.github.com|140.82.113.10|:443... connected. 18:42:06 HTTP request sent, awaiting response... 200 OK 18:42:06 Length: unspecified [application/x-gzip] 18:42:06 Saving to: 'STDOUT' 18:42:06  18:42:06 0K .......... .......... .......... .......... .......... 1.31M 18:42:06 50K .......... .......... .......... .......... .......... 2.41M 18:42:06 100K .......... .......... .......... .......... .......... 7.33M 18:42:06 150K .......... .......... ....... 1.32M=0.08s 18:42:06 18:42:06 2021-04-19 18:42:06 (2.05 MB/s) - written to stdout [181796] 18:42:06 18:42:06 + mkdir -p src/c/iot 18:42:06 + cp deps/iotech-c-utils-1.1.4/src/c/base64.c deps/iotech-c-utils-1.1.4/src/c/component.c deps/iotech-c-utils-1.1.4/src/c/config.c deps/iotech-c-utils-1.1.4/src/c/container.c deps/iotech-c-utils-1.1.4/src/c/data.c deps/iotech-c-utils-1.1.4/src/c/hash.c deps/iotech-c-utils-1.1.4/src/c/iot.c deps/iotech-c-utils-1.1.4/src/c/json.c deps/iotech-c-utils-1.1.4/src/c/logger.c deps/iotech-c-utils-1.1.4/src/c/os.c deps/iotech-c-utils-1.1.4/src/c/scheduler.c deps/iotech-c-utils-1.1.4/src/c/thread.c deps/iotech-c-utils-1.1.4/src/c/threadpool.c deps/iotech-c-utils-1.1.4/src/c/time.c deps/iotech-c-utils-1.1.4/src/c/yxml.c src/c/iot 18:42:06 + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot 18:42:06 + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot 18:42:06 + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot 18:42:06 + mkdir -p include/iot 18:42:06 + cp deps/iotech-c-utils-1.1.4/include/iot/base64.h deps/iotech-c-utils-1.1.4/include/iot/component.h deps/iotech-c-utils-1.1.4/include/iot/config.h deps/iotech-c-utils-1.1.4/include/iot/container.h deps/iotech-c-utils-1.1.4/include/iot/data.h deps/iotech-c-utils-1.1.4/include/iot/hash.h deps/iotech-c-utils-1.1.4/include/iot/iot.h deps/iotech-c-utils-1.1.4/include/iot/json.h deps/iotech-c-utils-1.1.4/include/iot/logger.h deps/iotech-c-utils-1.1.4/include/iot/os.h deps/iotech-c-utils-1.1.4/include/iot/scheduler.h deps/iotech-c-utils-1.1.4/include/iot/thread.h deps/iotech-c-utils-1.1.4/include/iot/threadpool.h deps/iotech-c-utils-1.1.4/include/iot/time.h deps/iotech-c-utils-1.1.4/include/iot/typecode.h include/iot 18:42:06 + mkdir -p include/iot/os 18:42:06 + cp deps/iotech-c-utils-1.1.4/include/iot/os/linux.h deps/iotech-c-utils-1.1.4/include/iot/os/macos.h deps/iotech-c-utils-1.1.4/include/iot/os/zephyr.h include/iot/os 18:42:06 + mkdir -p /tmp/sdk/build/release 18:42:06 + cd /tmp/sdk/build/release 18:42:06 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 18:42:07 -- The C compiler identification is GNU 8.3.0 18:42:07 -- Check for working C compiler: /usr/bin/cc 18:42:07 -- Check for working C compiler: /usr/bin/cc -- works 18:42:07 -- Detecting C compiler ABI info 18:42:07 -- Detecting C compiler ABI info - done 18:42:07 -- Detecting C compile features 18:42:08 -- Detecting C compile features - done 18:42:08 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 18:42:08 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 18:42:08 -- Found LIBYAML: /usr/lib/libyaml.so 18:42:08 -- Found LIBUUID: /usr/lib/libuuid.so 18:42:08 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 18:42:08 -- C SDK 0.0.0 for Linux 18:42:08 -- Performing Test CSDK_HAVE_ATOMIC 18:42:08 -- Performing Test CSDK_HAVE_ATOMIC - Success 18:42:08 -- Found Curses: /usr/lib/libcurses.so 18:42:09 -- Configuring done 18:42:09 -- Generating done 18:42:09 -- Build files have been written to: /tmp/sdk/build/release 18:42:09 + make 18:42:09 + tee release.log 18:42:09 Scanning dependencies of target csdk 18:42:09 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 18:42:10 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 18:42:11 [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o 18:42:13 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 18:42:14 [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 18:42:14 [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o 18:42:15 [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o 18:42:17 [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 18:42:18 [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 18:42:19 [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 18:42:19 [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 18:42:20 [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 18:42:20 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 18:42:20 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 18:42:23 [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 18:42:24 [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 18:42:24 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 18:42:25 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 18:42:26 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 18:42:29 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 18:42:29 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 18:42:29 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 18:42:30 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 18:42:30 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 18:42:30 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 18:42:32 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 18:42:32 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 18:42:33 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 18:42:33 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 18:42:36 [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o 18:42:36 [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 18:42:37 [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 18:42:37 [ 55%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 18:42:42 [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 18:42:43 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 18:42:43 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 18:42:44 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 18:42:45 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 18:42:47 [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o 18:42:49 [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 18:42:53 [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 18:42:54 [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 18:42:54 [ 72%] Linking C shared library libcsdk.so 18:42:54 [ 72%] Built target csdk 18:42:54 Scanning dependencies of target template 18:42:54 [ 74%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 18:42:55 [ 76%] Linking C executable template 18:42:55 [ 76%] Built target template 18:42:55 Scanning dependencies of target device-counter 18:42:55 [ 77%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 18:42:56 [ 79%] Linking C executable device-counter 18:42:56 [ 79%] Built target device-counter 18:42:56 Scanning dependencies of target device-random 18:42:56 [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 18:42:57 [ 83%] Linking C executable device-random 18:42:57 [ 83%] Built target device-random 18:42:57 Scanning dependencies of target device-gyro 18:42:57 [ 84%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 18:42:57 [ 86%] Linking C executable device-gyro 18:42:58 [ 86%] Built target device-gyro 18:42:58 Scanning dependencies of target device-bitfields 18:42:58 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 18:42:58 [ 89%] Linking C executable device-bitfields 18:42:58 [ 89%] Built target device-bitfields 18:42:58 Scanning dependencies of target template-discovery 18:42:58 [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 18:42:59 [ 93%] Linking C executable template-discovery 18:42:59 [ 93%] Built target template-discovery 18:42:59 Scanning dependencies of target device-file 18:42:59 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 18:43:00 [ 96%] Linking C executable device-file 18:43:00 [ 96%] Built target device-file 18:43:00 Scanning dependencies of target device-terminal 18:43:00 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 18:43:01 [100%] Linking C executable device-terminal 18:43:01 [100%] Built target device-terminal 18:43:01 + make package 18:43:01 + tee -a release.log 18:43:01 [ 72%] Built target csdk 18:43:01 [ 76%] Built target template 18:43:01 [ 79%] Built target device-counter 18:43:01 [ 83%] Built target device-random 18:43:01 [ 86%] Built target device-gyro 18:43:02 [ 89%] Built target device-bitfields 18:43:02 [ 93%] Built target template-discovery 18:43:02 [ 96%] Built target device-file 18:43:02 [100%] Built target device-terminal 18:43:02 Run CPack packaging tool... 18:43:02 CPack: Create package using TGZ 18:43:02 CPack: Install projects 18:43:02 CPack: - Run preinstall target for: Csdk 18:43:02 CPack: - Install project: Csdk 18:43:02 CPack: Create package 18:43:03 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 18:43:03 + '[' false '=' true ] 18:43:03 + '[' false '=' true ] 18:43:03 + mkdir -p /tmp/sdk/build/debug 18:43:03 + cd /tmp/sdk/build/debug 18:43:03 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 18:43:03 -- The C compiler identification is GNU 8.3.0 18:43:03 -- Check for working C compiler: /usr/bin/cc 18:43:03 -- Check for working C compiler: /usr/bin/cc -- works 18:43:03 -- Detecting C compiler ABI info 18:43:03 -- Detecting C compiler ABI info - done 18:43:04 -- Detecting C compile features 18:43:04 -- Detecting C compile features - done 18:43:04 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 18:43:05 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 18:43:05 -- Found LIBYAML: /usr/lib/libyaml.so 18:43:05 -- Found LIBUUID: /usr/lib/libuuid.so 18:43:05 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 18:43:05 -- C SDK 0.0.0 for Linux 18:43:05 -- Performing Test CSDK_HAVE_ATOMIC 18:43:05 -- Performing Test CSDK_HAVE_ATOMIC - Success 18:43:05 -- Found Curses: /usr/lib/libcurses.so 18:43:05 -- Configuring done 18:43:05 -- Generating done 18:43:05 -- Build files have been written to: /tmp/sdk/build/debug 18:43:05 + make 18:43:05 + tee debug.log 18:43:05 Scanning dependencies of target csdk 18:43:05 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 18:43:06 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 18:43:06 [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o 18:43:07 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 18:43:07 [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 18:43:07 [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o 18:43:08 [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o 18:43:09 [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 18:43:09 [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 18:43:09 [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 18:43:10 [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 18:43:10 [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 18:43:10 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 18:43:10 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 18:43:11 [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 18:43:11 [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 18:43:12 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 18:43:12 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 18:43:12 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 18:43:13 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 18:43:13 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 18:43:14 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 18:43:14 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 18:43:14 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 18:43:14 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 18:43:14 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 18:43:15 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 18:43:15 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 18:43:15 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 18:43:16 [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o 18:43:16 [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 18:43:16 [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 18:43:16 [ 55%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 18:43:17 [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 18:43:18 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 18:43:18 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 18:43:18 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 18:43:19 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 18:43:20 [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o 18:43:20 [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 18:43:21 [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 18:43:21 [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 18:43:22 [ 72%] Linking C shared library libcsdk.so 18:43:22 [ 72%] Built target csdk 18:43:22 Scanning dependencies of target template 18:43:22 [ 74%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 18:43:22 [ 76%] Linking C executable template 18:43:22 [ 76%] Built target template 18:43:22 Scanning dependencies of target device-counter 18:43:22 [ 77%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 18:43:23 [ 79%] Linking C executable device-counter 18:43:23 [ 79%] Built target device-counter 18:43:23 Scanning dependencies of target device-random 18:43:23 [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 18:43:23 [ 83%] Linking C executable device-random 18:43:24 [ 83%] Built target device-random 18:43:24 Scanning dependencies of target device-gyro 18:43:24 [ 84%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 18:43:24 [ 86%] Linking C executable device-gyro 18:43:24 [ 86%] Built target device-gyro 18:43:24 Scanning dependencies of target device-bitfields 18:43:24 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 18:43:24 [ 89%] Linking C executable device-bitfields 18:43:25 [ 89%] Built target device-bitfields 18:43:25 Scanning dependencies of target template-discovery 18:43:25 [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 18:43:25 [ 93%] Linking C executable template-discovery 18:43:25 [ 93%] Built target template-discovery 18:43:25 Scanning dependencies of target device-file 18:43:25 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 18:43:25 [ 96%] Linking C executable device-file 18:43:26 [ 96%] Built target device-file 18:43:26 Scanning dependencies of target device-terminal 18:43:26 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 18:43:26 [100%] Linking C executable device-terminal 18:43:26 [100%] Built target device-terminal 18:43:26 make: Entering directory '/tmp/sdk/build/release' 18:43:27 make[1]: Entering directory '/tmp/sdk/build/release' 18:43:27 make[2]: Entering directory '/tmp/sdk/build/release' 18:43:27 make[2]: Leaving directory '/tmp/sdk/build/release' 18:43:27 [ 72%] Built target csdk 18:43:27 make[2]: Entering directory '/tmp/sdk/build/release' 18:43:27 make[2]: Leaving directory '/tmp/sdk/build/release' 18:43:27 [ 76%] Built target template 18:43:27 make[2]: Entering directory '/tmp/sdk/build/release' 18:43:27 make[2]: Leaving directory '/tmp/sdk/build/release' 18:43:27 [ 79%] Built target device-counter 18:43:27 make[2]: Entering directory '/tmp/sdk/build/release' 18:43:27 make[2]: Leaving directory '/tmp/sdk/build/release' 18:43:27 [ 83%] Built target device-random 18:43:27 make[2]: Entering directory '/tmp/sdk/build/release' 18:43:27 make[2]: Leaving directory '/tmp/sdk/build/release' 18:43:27 [ 86%] Built target device-gyro 18:43:27 make[2]: Entering directory '/tmp/sdk/build/release' 18:43:27 make[2]: Leaving directory '/tmp/sdk/build/release' 18:43:27 [ 89%] Built target device-bitfields 18:43:27 make[2]: Entering directory '/tmp/sdk/build/release' 18:43:27 make[2]: Leaving directory '/tmp/sdk/build/release' 18:43:27 [ 93%] Built target template-discovery 18:43:27 make[2]: Entering directory '/tmp/sdk/build/release' 18:43:27 make[2]: Leaving directory '/tmp/sdk/build/release' 18:43:27 [ 96%] Built target device-file 18:43:27 make[2]: Entering directory '/tmp/sdk/build/release' 18:43:27 make[2]: Leaving directory '/tmp/sdk/build/release' 18:43:27 [100%] Built target device-terminal 18:43:27 make[1]: Leaving directory '/tmp/sdk/build/release' 18:43:27 Install the project... 18:43:27 -- Install configuration: "Release" 18:43:27 -- Installing: /usr/local/lib/libcsdk.so 18:43:27 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 18:43:27 -- Up-to-date: /usr/local/include 18:43:27 -- Installing: /usr/local/include/edgex 18:43:27 -- Installing: /usr/local/include/edgex/rest-server.h 18:43:27 -- Installing: /usr/local/include/edgex/edgex-base.h 18:43:27 -- Installing: /usr/local/include/edgex/edgex.h 18:43:27 -- Installing: /usr/local/include/edgex/devices.h 18:43:27 -- Installing: /usr/local/include/edgex/profiles.h 18:43:27 -- Installing: /usr/local/include/edgex/csdk-defs.h 18:43:27 -- Installing: /usr/local/include/devsdk 18:43:27 -- Installing: /usr/local/include/devsdk/devsdk-base.h 18:43:27 -- Installing: /usr/local/include/devsdk/devsdk.h 18:43:27 -- Installing: /usr/local/include/iot 18:43:27 -- Installing: /usr/local/include/iot/json.h 18:43:27 -- Installing: /usr/local/include/iot/container.h 18:43:27 -- Installing: /usr/local/include/iot/component.h 18:43:27 -- Installing: /usr/local/include/iot/typecode.h 18:43:27 -- Installing: /usr/local/include/iot/iot.h 18:43:27 -- Installing: /usr/local/include/iot/time.h 18:43:27 -- Installing: /usr/local/include/iot/hash.h 18:43:27 -- Installing: /usr/local/include/iot/logger.h 18:43:27 -- Installing: /usr/local/include/iot/os 18:43:27 -- Installing: /usr/local/include/iot/os/zephyr.h 18:43:27 -- Installing: /usr/local/include/iot/os/linux.h 18:43:27 -- Installing: /usr/local/include/iot/os/macos.h 18:43:27 -- Installing: /usr/local/include/iot/scheduler.h 18:43:27 -- Installing: /usr/local/include/iot/data.h 18:43:27 -- Installing: /usr/local/include/iot/thread.h 18:43:27 -- Installing: /usr/local/include/iot/os.h 18:43:27 -- Installing: /usr/local/include/iot/base64.h 18:43:27 -- Installing: /usr/local/include/iot/defs.h 18:43:27 -- Installing: /usr/local/include/iot/threadpool.h 18:43:27 -- Installing: /usr/local/include/iot/config.h 18:43:27 -- Installing: /usr/local/share/device-sdk-c/LICENSE 18:43:27 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 18:43:27 make: Leaving directory '/tmp/sdk/build/release' 18:43:30 Removing intermediate container d121eb1a7bd5 18:43:30 ---> 8c9c1f4c7380 18:43:30 Step 14/21 : FROM ${BASE} 18:43:30 ---> b23d30803547 18:43:30 Step 15/21 : LABEL maintainer="IOTech " 18:43:30 ---> Running in 0c21ba01abc4 18:43:30 Removing intermediate container 0c21ba01abc4 18:43:30 ---> 6d1bbadd1d0d 18:43:30 Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid 18:43:30 ---> Running in 43681ba7d911 18:43:31 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 18:43:32 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 18:43:33 (1/3) Installing curl (7.64.0-r5) 18:43:33 (2/3) Installing libuuid (2.33-r0) 18:43:33 (3/3) Installing wget (1.20.3-r0) 18:43:33 Executing busybox-1.29.3-r10.trigger 18:43:33 OK: 281 MiB in 78 packages 18:43:35 Removing intermediate container 43681ba7d911 18:43:35 ---> e98e610e705c 18:43:35 Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 18:43:35 ---> 79fbacfaf2bf 18:43:35 Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 18:43:36 ---> 19d65ba48556 18:43:36 Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib 18:43:36 ---> 1404521a0b39 18:43:36 Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 18:43:37 ---> f4f5d3b539f4 18:43:37 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 18:43:38 ---> 6551fbba9210 18:43:38 Successfully built 6551fbba9210 18:43:38 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:43:39 + docker inspect -f . ci-base-image-arm64 18:43:39 . [Pipeline] withDockerContainer 18:43:39 prd-ubuntu18.04-docker-arm64-4c-16g-882 does not seem to be running inside a container 18:43:39 $ 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 ******** -e ******** ci-base-image-arm64 cat 18:43:41 $ docker top f149b55e39983e14e4663b1a98e1fa04432e51d03ff6da69d10bf80070315b1f -eo pid,comm [Pipeline] { [Pipeline] sh 18:43:42 + make test 18:43:42 echo "make test" 18:43:42 make test [Pipeline] } 18:43:42 $ docker stop --time=1 f149b55e39983e14e4663b1a98e1fa04432e51d03ff6da69d10bf80070315b1f 18:43:44 $ docker rm -f f149b55e39983e14e4663b1a98e1fa04432e51d03ff6da69d10bf80070315b1f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:43:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:43:45 + ls -al . 18:43:45 total 192 18:43:45 drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 18:40 . 18:43:45 drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 18:40 .. 18:43:45 drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 18:40 .git 18:43:45 drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 18:40 .github 18:43:45 -rw-rw-r-- 1 jenkins jenkins 176 Apr 19 18:40 .gitignore 18:43:45 -rw-rw-r-- 1 jenkins jenkins 3104 Apr 19 18:40 Attribution.txt 18:43:45 -rw-rw-r-- 1 jenkins jenkins 6927 Apr 19 18:40 CHANGES 18:43:45 -rw-rw-r-- 1 jenkins jenkins 108574 Apr 19 18:40 Doxyfile 18:43:45 -rw-rw-r-- 1 jenkins jenkins 784 Apr 19 18:40 Jenkinsfile 18:43:45 -rw-rw-r-- 1 jenkins jenkins 10174 Apr 19 18:40 LICENSE 18:43:45 -rw-rw-r-- 1 jenkins jenkins 444 Apr 19 18:40 Makefile 18:43:45 -rw-rw-r-- 1 jenkins jenkins 4008 Apr 19 18:40 README.md 18:43:45 -rw-rw-r-- 1 jenkins jenkins 6654 Apr 19 18:40 README.v2.md 18:43:45 -rw-rw-r-- 1 jenkins jenkins 5 Apr 19 18:37 VERSION 18:43:45 drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 18:40 docs 18:43:45 drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 18:40 include 18:43:45 drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 18:40 scripts 18:43:45 drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 18:40 src [Pipeline] isUnix [Pipeline] sh 18:43:45 + docker build -t docker-device-sdk-c-arm64 -f scripts/Dockerfile.alpine --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=ffca8a7f173e4af129b56382ea7724f2eb516e06 --label arch=arm64 --label version=0.0.0 . 18:43:46 Sending build context to Docker daemon 2.352MB 18:43:46 Step 1/15 : ARG BASE=alpine:3.12 18:43:46 Step 2/15 : FROM ${BASE} 18:43:46 ---> 6551fbba9210 18:43:46 Step 3/15 : LABEL maintainer="IOTech " 18:43:46 ---> Running in 3e99555884da 18:43:47 Removing intermediate container 3e99555884da 18:43:47 ---> 27a17a04b2a6 18:43:47 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 18:43:47 ---> Running in 425b43327592 18:43:48 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 18:43:49 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 18:43:50 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 18:43:50 (2/6) Installing libblkid (2.33-r0) 18:43:50 (3/6) Installing libfdisk (2.33-r0) 18:43:50 (4/6) Installing libmount (2.33-r0) 18:43:50 (5/6) Installing libsmartcols (2.33-r0) 18:43:50 (6/6) Installing util-linux-dev (2.33-r0) 18:43:50 Executing busybox-1.29.3-r10.trigger 18:43:50 OK: 286 MiB in 84 packages 18:43:52 Removing intermediate container 425b43327592 18:43:52 ---> 4eba2f0cf976 18:43:52 Step 5/15 : COPY VERSION /edgex-c-sdk/ 18:43:52 ---> 60089cad9fe1 18:43:52 Step 6/15 : COPY src /edgex-c-sdk/src/ 18:43:53 ---> b3405e631c1f 18:43:53 Step 7/15 : COPY include /edgex-c-sdk/include/ 18:43:54 ---> c7d465e84b34 18:43:54 Step 8/15 : COPY scripts /edgex-c-sdk/scripts 18:43:55 ---> 764027f5290a 18:43:55 Step 9/15 : COPY LICENSE /edgex-c-sdk/ 18:43:56 ---> 963ab52c494e 18:43:56 Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ 18:43:56 ---> 59e0a7a23899 18:43:56 Step 11/15 : WORKDIR /edgex-c-sdk 18:43:57 ---> Running in cd7e91f85e6d 18:43:57 Removing intermediate container cd7e91f85e6d 18:43:57 ---> 0cc4564a8b7c 18:43:57 Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 18:43:57 ---> Running in 05b8435f81fa 18:43:58 Removing intermediate container 05b8435f81fa 18:43:58 ---> eb38d0a755d2 18:43:58 Step 13/15 : LABEL arch=arm64 18:43:58 ---> Running in ba655d400ddc 18:43:58 Removing intermediate container ba655d400ddc 18:43:58 ---> 7d7fa359b168 18:43:58 Step 14/15 : LABEL git_sha=ffca8a7f173e4af129b56382ea7724f2eb516e06 18:43:58 ---> Running in 93d72b55b52f 18:43:59 Removing intermediate container 93d72b55b52f 18:43:59 ---> fb52649cca34 18:43:59 Step 15/15 : LABEL version=0.0.0 18:43:59 ---> Running in 18691b02fa4f 18:44:00 Removing intermediate container 18691b02fa4f 18:44:00 ---> f0865c64ec95 18:44:00 [Warning] One or more build-args [ARCH MAKE] were not consumed 18:44:00 Successfully built f0865c64ec95 18:44:00 Successfully tagged docker-device-sdk-c-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (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 18:44:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:44:02 ---> package-listing.sh 18:44:02 ++ tr '[:upper:]' '[:lower:]' 18:44:02 ++ facter osfamily 18:44:02 + OS_FAMILY=redhat 18:44:02 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-341 18:44:02 + START_PACKAGES=/tmp/packages_start.txt 18:44:02 + END_PACKAGES=/tmp/packages_end.txt 18:44:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:44:02 + PACKAGES=/tmp/packages_start.txt 18:44:02 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-341 ']' 18:44:02 + PACKAGES=/tmp/packages_end.txt 18:44:02 + case "${OS_FAMILY}" in 18:44:02 + rpm -qa 18:44:02 + sort 18:44:07 + '[' -f /tmp/packages_start.txt ']' 18:44:07 + '[' -f /tmp/packages_end.txt ']' 18:44:07 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:44:07 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-341 ']' 18:44:07 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-341/archives/ 18:44:07 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-341/archives/ [Pipeline] echo 18:44:07 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-341/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:44:08 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 18:44:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:44:08 18:44:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 18:44:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:44:08 alpine: Pulling from edgex-lftools-log-publisher 18:44:08 df20fa9351a1: Pulling fs layer 18:44:08 36b3adc4ff6f: Pulling fs layer 18:44:08 8ad3a11d3b57: Pulling fs layer 18:44:08 46f8f816bc3b: Pulling fs layer 18:44:08 93b61091891f: Pulling fs layer 18:44:08 93b9cdb0e59b: Pulling fs layer 18:44:08 5e14af77c1be: Pulling fs layer 18:44:08 01666e4c0597: Pulling fs layer 18:44:08 aa168da1d23b: Pulling fs layer 18:44:08 46f8f816bc3b: Waiting 18:44:08 93b9cdb0e59b: Waiting 18:44:08 5e14af77c1be: Waiting 18:44:08 01666e4c0597: Waiting 18:44:08 aa168da1d23b: Waiting 18:44:08 36b3adc4ff6f: Download complete 18:44:08 46f8f816bc3b: Verifying Checksum 18:44:08 46f8f816bc3b: Download complete 18:44:08 df20fa9351a1: Download complete 18:44:09 93b9cdb0e59b: Verifying Checksum 18:44:09 93b9cdb0e59b: Download complete 18:44:09 5e14af77c1be: Verifying Checksum 18:44:09 5e14af77c1be: Download complete 18:44:09 01666e4c0597: Verifying Checksum 18:44:09 01666e4c0597: Download complete 18:44:09 93b61091891f: Verifying Checksum 18:44:09 93b61091891f: Download complete 18:44:09 8ad3a11d3b57: Verifying Checksum 18:44:09 8ad3a11d3b57: Download complete 18:44:09 df20fa9351a1: Pull complete 18:44:09 36b3adc4ff6f: Pull complete 18:44:10 8ad3a11d3b57: Pull complete 18:44:10 46f8f816bc3b: Pull complete 18:44:11 93b61091891f: Pull complete 18:44:11 93b9cdb0e59b: Pull complete 18:44:11 aa168da1d23b: Verifying Checksum 18:44:11 aa168da1d23b: Download complete 18:44:11 5e14af77c1be: Pull complete 18:44:11 01666e4c0597: Pull complete 18:44:19 aa168da1d23b: Pull complete 18:44:19 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 18:44:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:44:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 18:44:19 prd-centos7-docker-4c-2g-869 does not seem to be running inside a container 18:44:20 $ 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-341/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-341 -v /w/workspace/edgexfoundry_device-sdk-c_PR-341:/w/workspace/edgexfoundry_device-sdk-c_PR-341:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-341@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-341@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 18:44:23 $ docker top 881b92deb78283604f2b8e1ebae2a7d7cac223f4f3377d8cf8489a591aa38b64 -eo pid,comm [Pipeline] { [Pipeline] sh 18:44:23 + touch /tmp/pre-build-complete [Pipeline] sh 18:44:23 + mkdir -p /var/log/sa [Pipeline] sh 18:44:24 + ls /var/log/sa-host 18:44:24 + sadf -c /var/log/sa-host/sa19 18:44:24 file_magic: OK 18:44:24 HZ: Using current value: 100 18:44:24 file_header: OK 18:44:24 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 18:44:24 Statistics: 18:44:24 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 18:44:24 File successfully converted to sysstat format version 12.2.1 18:44:24 + sadf -c /var/log/sa-host/sa23 18:44:24 file_magic: OK 18:44:24 HZ: Using current value: 100 18:44:24 file_header: OK 18:44:24 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 18:44:24 Statistics: 18:44:24 Hnuu...uuuununununu... 18:44:24 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:44:24 provisioning config files... 18:44:24 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-341@tmp/config5323461690195926952tmp [Pipeline] { [Pipeline] echo 18:44:24 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:44:24 ---> create-netrc.sh [Pipeline] } 18:44:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 18:44:25 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 18:44:25 ---> python-tools-install.sh [Pipeline] echo 18:44:25 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:44:25 ---> sudo-logs.sh 18:44:25 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:44:25 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:44:26 ---> job-cost.sh 18:44:26 lf-activate-venv: SKIPPING 18:44:26 INFO: No Stack... 18:44:27 INFO: Retrieving Pricing Info for: v1-standard-2 18:44:27 INFO: Archiving Costs [Pipeline] echo 18:44:27 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:44:28 ---> logs-deploy.sh 18:44:28 lf-activate-venv: SKIPPING 18:44:28 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-341/1 18:44:28 INFO: archiving workspace using pattern(s): 18:44:30 Archives upload complete. 18:44:30 INFO: archiving logs to Nexus