Pull request #327 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of iain-anderson for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 00a506443216ba0673fc04576c520cb67fd988e0+8c8f643302f7d1e1c5a19edbbc93d861045ae01d (a722fab0f426598a060612655d0f5c7a08c43de6) 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 5a4b2863d981ac6c14e44fa4f963a690d64f08cf 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 5a4b2863d981ac6c14e44fa4f963a690d64f08cf 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-327/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 5a4b2863d981ac6c14e44fa4f963a690d64f08cf (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 5a4b2863d981ac6c14e44fa4f963a690d64f08cf # timeout=10 Commit message: "Merge pull request #318 from MightyNerdEric/parallelCostCapture" > 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-327/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 5a4b2863d981ac6c14e44fa4f963a690d64f08cf 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-27664 in /w/workspace/edgexfoundry_device-sdk-c_PR-327 [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-327 # 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 8c8f643302f7d1e1c5a19edbbc93d861045ae01d into PR head commit 00a506443216ba0673fc04576c520cb67fd988e0 Merge succeeded, producing 00a506443216ba0673fc04576c520cb67fd988e0 Checking out Revision 00a506443216ba0673fc04576c520cb67fd988e0 (PR-327) > 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/327/head:refs/remotes/origin/PR-327 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 00a506443216ba0673fc04576c520cb67fd988e0 # 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 8c8f643302f7d1e1c5a19edbbc93d861045ae01d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 00a506443216ba0673fc04576c520cb67fd988e0 # timeout=10 Commit message: "refactor: remove remaining v1 and other redundant code (#306)" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 5a4b2863d981ac6c14e44fa4f963a690d64f08cf [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-02-25T15:02:14.560Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-02-25T15:02:14.907Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-02-25T15:02:15.122Z] ========================================================= [2021-02-25T15:02:15.122Z] EdgeX Global Pipelines Version Info [2021-02-25T15:02:15.122Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-02-25T15:02:18.716Z] ------------------- [2021-02-25T15:02:18.716Z] stable info: [2021-02-25T15:02:18.716Z] ------------------- [2021-02-25T15:02:18.716Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-25T15:02:18.716Z] Commit SHA: 5a4b2863d981ac6c14e44fa4f963a690d64f08cf [2021-02-25T15:02:18.716Z] Message: update stable to v1.0.181 [2021-02-25T15:02:19.799Z] ------------------- [2021-02-25T15:02:19.799Z] experimental info: [2021-02-25T15:02:19.799Z] ------------------- [2021-02-25T15:02:19.799Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-02-25T15:02:19.799Z] Commit SHA: 5a4b2863d981ac6c14e44fa4f963a690d64f08cf [2021-02-25T15:02:19.799Z] Message: update experimental to v1.0.181 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-02-25T15:02:20.336Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2021-02-25T15:02:20.477Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2021-02-25T15:02:20.625Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-02-25T15:02:20.744Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-02-25T15:02:20.855Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-02-25T15:02:20.960Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo [2021-02-25T15:02:21.078Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2021-02-25T15:02:21.296Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2021-02-25T15:02:21.419Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-02-25T15:02:21.533Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-c [Pipeline] echo [2021-02-25T15:02:21.652Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-02-25T15:02:21.789Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-02-25T15:02:21.903Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-02-25T15:02:22.015Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-02-25T15:02:22.138Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-02-25T15:02:22.263Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-02-25T15:02:22.396Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-327 [Pipeline] echo [2021-02-25T15:02:22.535Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-327 [Pipeline] echo [2021-02-25T15:02:22.643Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-327 [Pipeline] echo [2021-02-25T15:02:22.754Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 00a506443216ba0673fc04576c520cb67fd988e0 [Pipeline] echo [2021-02-25T15:02:22.863Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 00a5064 [Pipeline] echo [2021-02-25T15:02:22.974Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-25T15:02:23.272Z] provisioning config files... [2021-02-25T15:02:23.311Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-327@tmp/config7875748061951280283tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-25T15:02:24.046Z] ---> docker-login.sh [2021-02-25T15:02:24.047Z] nexus3.edgexfoundry.org:10001 [2021-02-25T15:02:25.186Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-25T15:02:25.186Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-25T15:02:25.186Z] Configure a credential helper to remove this warning. See [2021-02-25T15:02:25.186Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-25T15:02:25.186Z] [2021-02-25T15:02:25.186Z] Login Succeeded [2021-02-25T15:02:25.186Z] nexus3.edgexfoundry.org:10002 [2021-02-25T15:02:26.273Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-25T15:02:26.273Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-25T15:02:26.273Z] Configure a credential helper to remove this warning. See [2021-02-25T15:02:26.273Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-25T15:02:26.273Z] [2021-02-25T15:02:26.273Z] Login Succeeded [2021-02-25T15:02:26.273Z] nexus3.edgexfoundry.org:10003 [2021-02-25T15:02:27.113Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-25T15:02:27.113Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-25T15:02:27.113Z] Configure a credential helper to remove this warning. See [2021-02-25T15:02:27.113Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-25T15:02:27.113Z] [2021-02-25T15:02:27.113Z] Login Succeeded [2021-02-25T15:02:27.113Z] nexus3.edgexfoundry.org:10004 [2021-02-25T15:02:28.548Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-25T15:02:28.828Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-25T15:02:28.828Z] Configure a credential helper to remove this warning. See [2021-02-25T15:02:28.828Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-25T15:02:28.828Z] [2021-02-25T15:02:28.828Z] Login Succeeded [2021-02-25T15:02:28.828Z] docker.io [2021-02-25T15:02:29.528Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-25T15:02:29.828Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-25T15:02:29.828Z] Configure a credential helper to remove this warning. See [2021-02-25T15:02:29.828Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-25T15:02:29.828Z] [2021-02-25T15:02:29.828Z] Login Succeeded [2021-02-25T15:02:29.828Z] ---> docker-login.sh ends [Pipeline] } [2021-02-25T15:02:29.943Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2021-02-25T15:02:32.110Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-25T15:02:32.110Z] [2021-02-25T15:02:32.110Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-02-25T15:02:32.681Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-25T15:02:33.016Z] latest: Pulling from edgex-devops/git-semver [2021-02-25T15:02:33.016Z] 31603596830f: Pulling fs layer [2021-02-25T15:02:33.016Z] 2a8b12db71e7: Pulling fs layer [2021-02-25T15:02:33.016Z] 6ca5941a6612: Pulling fs layer [2021-02-25T15:02:33.016Z] ecc8261a40a4: Pulling fs layer [2021-02-25T15:02:33.016Z] ecc8261a40a4: Waiting [2021-02-25T15:02:33.016Z] 2a8b12db71e7: Verifying Checksum [2021-02-25T15:02:33.016Z] 2a8b12db71e7: Download complete [2021-02-25T15:02:33.355Z] 31603596830f: Verifying Checksum [2021-02-25T15:02:33.355Z] 31603596830f: Download complete [2021-02-25T15:02:33.634Z] ecc8261a40a4: Verifying Checksum [2021-02-25T15:02:33.634Z] ecc8261a40a4: Download complete [2021-02-25T15:02:33.634Z] 6ca5941a6612: Verifying Checksum [2021-02-25T15:02:33.634Z] 6ca5941a6612: Download complete [2021-02-25T15:02:34.786Z] 31603596830f: Pull complete [2021-02-25T15:02:35.109Z] 2a8b12db71e7: Pull complete [2021-02-25T15:02:36.671Z] 6ca5941a6612: Pull complete [2021-02-25T15:02:36.975Z] ecc8261a40a4: Pull complete [2021-02-25T15:02:37.324Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-02-25T15:02:37.324Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-25T15:02:37.324Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-02-25T15:02:38.029Z] prd-centos7-docker-4c-2g-27664 does not seem to be running inside a container [2021-02-25T15:02:38.174Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-327 -v /w/workspace/edgexfoundry_device-sdk-c_PR-327:/w/workspace/edgexfoundry_device-sdk-c_PR-327:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-327@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-327@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-02-25T15:02:41.974Z] $ docker top 7c079c65c6ade9b94f57ae2587e739025db843d7c2781abef2959c420fce0b4a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-25T15:02:43.463Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-25T15:02:43.463Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-25T15:02:45.022Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-25T15:02:45.031Z] $ docker exec 7c079c65c6ade9b94f57ae2587e739025db843d7c2781abef2959c420fce0b4a ssh-agent [2021-02-25T15:02:45.436Z] SSH_AUTH_SOCK=/tmp/ssh-rjINhwIhuhbx/agent.11 [2021-02-25T15:02:45.436Z] SSH_AGENT_PID=16 [2021-02-25T15:02:45.562Z] Running ssh-add (command line suppressed) [2021-02-25T15:02:45.831Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-327@tmp/private_key_4182364892025310657.key (/w/workspace/edgexfoundry_device-sdk-c_PR-327@tmp/private_key_4182364892025310657.key) [2021-02-25T15:02:45.894Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-25T15:02:46.279Z] + git tag --points-at HEAD [Pipeline] } [2021-02-25T15:02:46.958Z] $ docker exec --env ******** --env ******** 7c079c65c6ade9b94f57ae2587e739025db843d7c2781abef2959c420fce0b4a ssh-agent -k [2021-02-25T15:02:47.738Z] unset SSH_AUTH_SOCK; [2021-02-25T15:02:47.743Z] unset SSH_AGENT_PID; [2021-02-25T15:02:47.744Z] echo Agent pid 16 killed; [2021-02-25T15:02:47.928Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-02-25T15:02:48.118Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-25T15:02:48.118Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-25T15:02:48.418Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-25T15:02:48.427Z] $ docker exec 7c079c65c6ade9b94f57ae2587e739025db843d7c2781abef2959c420fce0b4a ssh-agent [2021-02-25T15:02:48.649Z] SSH_AUTH_SOCK=/tmp/ssh-G0hNkA5UfYnW/agent.45 [2021-02-25T15:02:48.649Z] SSH_AGENT_PID=50 [2021-02-25T15:02:48.660Z] Running ssh-add (command line suppressed) [2021-02-25T15:02:49.256Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-327@tmp/private_key_5066558994815650125.key (/w/workspace/edgexfoundry_device-sdk-c_PR-327@tmp/private_key_5066558994815650125.key) [2021-02-25T15:02:49.439Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-25T15:02:50.082Z] + git semver init [2021-02-25T15:02:50.082Z] # -> Open(): unable to determine branch for HEAD [2021-02-25T15:02:50.082Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-327/.git [2021-02-25T15:02:50.082Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-327 [2021-02-25T15:02:50.082Z] # $SEMVER_REMOTE_NAME = origin [2021-02-25T15:02:50.082Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-25T15:02:50.082Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-25T15:02:50.082Z] # $SEMVER_BRANCH = PR-327 [2021-02-25T15:02:50.082Z] # $SEMVER_TEMP = /tmp/semver-770664712 [2021-02-25T15:02:50.082Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2021-02-25T15:02:52.569Z] # '/tmp/semver-770664712' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-327/.semver' [2021-02-25T15:02:52.569Z] # -> Force: false [2021-02-25T15:02:52.569Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-327/.semver [Pipeline] } [2021-02-25T15:02:52.881Z] $ docker exec --env ******** --env ******** 7c079c65c6ade9b94f57ae2587e739025db843d7c2781abef2959c420fce0b4a ssh-agent -k [2021-02-25T15:02:53.219Z] unset SSH_AUTH_SOCK; [2021-02-25T15:02:53.221Z] unset SSH_AGENT_PID; [2021-02-25T15:02:53.221Z] echo Agent pid 50 killed; [2021-02-25T15:02:53.543Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-25T15:02:55.006Z] + git semver [Pipeline] } [2021-02-25T15:02:55.087Z] $ docker stop --time=1 7c079c65c6ade9b94f57ae2587e739025db843d7c2781abef2959c420fce0b4a [2021-02-25T15:02:56.893Z] $ docker rm -f 7c079c65c6ade9b94f57ae2587e739025db843d7c2781abef2959c420fce0b4a [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-25T15:02:57.788Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-02-25T15:02:58.687Z] Stashed 1 file(s) [Pipeline] echo [2021-02-25T15:02:58.708Z] [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 [2021-02-25T15:03:14.376Z] Still waiting to schedule task [2021-02-25T15:03:14.376Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-02-25T15:03:14.401Z] Still waiting to schedule task [2021-02-25T15:03:14.401Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-02-25T15:06:09.602Z] Running on prd-centos7-docker-4c-2g-27666 in /w/workspace/edgexfoundry_device-sdk-c_PR-327 [Pipeline] { [Pipeline] ws [2021-02-25T15:06:09.691Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2021-02-25T15:06:12.053Z] using credential edgex-jenkins-ssh [2021-02-25T15:06:12.105Z] Cloning the remote Git repository [2021-02-25T15:06:12.130Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-02-25T15:06:12.196Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2021-02-25T15:06:12.256Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-02-25T15:06:12.256Z] > git --version # timeout=10 [2021-02-25T15:06:12.268Z] > git --version # 'git version 2.24.3' [2021-02-25T15:06:12.269Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-25T15:06:12.298Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-25T15:06:12.995Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-02-25T15:06:13.003Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-25T15:06:13.012Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-02-25T15:06:13.023Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-02-25T15:06:13.023Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-25T15:06:13.028Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/327/head:refs/remotes/origin/PR-327 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-25T15:06:13.522Z] Merging remotes/origin/master commit 8c8f643302f7d1e1c5a19edbbc93d861045ae01d into PR head commit 00a506443216ba0673fc04576c520cb67fd988e0 [2021-02-25T15:06:13.636Z] Merge succeeded, producing 00a506443216ba0673fc04576c520cb67fd988e0 [2021-02-25T15:06:13.636Z] Checking out Revision 00a506443216ba0673fc04576c520cb67fd988e0 (PR-327) [2021-02-25T15:06:13.534Z] > git config core.sparsecheckout # timeout=10 [2021-02-25T15:06:13.540Z] > git checkout -f 00a506443216ba0673fc04576c520cb67fd988e0 # timeout=10 [2021-02-25T15:06:13.599Z] > git remote # timeout=10 [2021-02-25T15:06:13.610Z] > git config --get remote.origin.url # timeout=10 [2021-02-25T15:06:13.617Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-25T15:06:13.620Z] > git merge 8c8f643302f7d1e1c5a19edbbc93d861045ae01d # timeout=10 [2021-02-25T15:06:13.630Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-25T15:06:13.640Z] > git config core.sparsecheckout # timeout=10 [2021-02-25T15:06:13.644Z] > git checkout -f 00a506443216ba0673fc04576c520cb67fd988e0 # timeout=10 [2021-02-25T15:06:17.307Z] Commit message: "refactor: remove remaining v1 and other redundant code (#306)" [2021-02-25T15:06:17.332Z] > git --version # timeout=10 [2021-02-25T15:06:17.338Z] > git --version # 'git version 2.24.3' [2021-02-25T15:06:17.347Z] fatal: bad object 5a4b2863d981ac6c14e44fa4f963a690d64f08cf [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-25T15:06:18.848Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-02-25T15:06:19.204Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-25T15:06:19.529Z] + sudo service docker restart [2021-02-25T15:06:19.529Z] + true [2021-02-25T15:06:19.529Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-25T15:06:20.606Z] provisioning config files... [2021-02-25T15:06:20.635Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config3273857950472945001tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-25T15:06:21.074Z] ---> docker-login.sh [2021-02-25T15:06:21.074Z] nexus3.edgexfoundry.org:10001 [2021-02-25T15:06:21.338Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-25T15:06:21.338Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-25T15:06:21.338Z] Configure a credential helper to remove this warning. See [2021-02-25T15:06:21.338Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-25T15:06:21.338Z] [2021-02-25T15:06:21.338Z] Login Succeeded [2021-02-25T15:06:21.338Z] nexus3.edgexfoundry.org:10002 [2021-02-25T15:06:21.602Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-25T15:06:21.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-25T15:06:21.602Z] Configure a credential helper to remove this warning. See [2021-02-25T15:06:21.602Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-25T15:06:21.602Z] [2021-02-25T15:06:21.602Z] Login Succeeded [2021-02-25T15:06:21.602Z] nexus3.edgexfoundry.org:10003 [2021-02-25T15:06:21.868Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-25T15:06:21.868Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-25T15:06:21.868Z] Configure a credential helper to remove this warning. See [2021-02-25T15:06:21.868Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-25T15:06:21.868Z] [2021-02-25T15:06:21.868Z] Login Succeeded [2021-02-25T15:06:21.868Z] nexus3.edgexfoundry.org:10004 [2021-02-25T15:06:21.868Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-25T15:06:22.131Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-25T15:06:22.131Z] Configure a credential helper to remove this warning. See [2021-02-25T15:06:22.131Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-25T15:06:22.131Z] [2021-02-25T15:06:22.131Z] Login Succeeded [2021-02-25T15:06:22.131Z] docker.io [2021-02-25T15:06:22.131Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-25T15:06:22.398Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-25T15:06:22.398Z] Configure a credential helper to remove this warning. See [2021-02-25T15:06:22.398Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-25T15:06:22.398Z] [2021-02-25T15:06:22.398Z] Login Succeeded [2021-02-25T15:06:22.398Z] ---> docker-login.sh ends [Pipeline] } [2021-02-25T15:06:22.423Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-25T15:06:22.908Z] ========================================================= [2021-02-25T15:06:22.908Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2021-02-25T15:06:22.908Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-25T15:06:23.294Z] + 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 . [2021-02-25T15:06:23.294Z] Sending build context to Docker daemon 2.463MB [2021-02-25T15:06:23.294Z] Step 1/21 : ARG BASE=alpine:3.12 [2021-02-25T15:06:23.294Z] Step 2/21 : FROM ${BASE} as builder [2021-02-25T15:06:23.557Z] latest: Pulling from edgex-devops/edgex-gcc-base [2021-02-25T15:06:23.557Z] e7c96db7181b: Pulling fs layer [2021-02-25T15:06:23.557Z] 4c13bbce0fe7: Pulling fs layer [2021-02-25T15:06:23.557Z] 6059c847ac2f: Pulling fs layer [2021-02-25T15:06:23.557Z] 4c13bbce0fe7: Verifying Checksum [2021-02-25T15:06:23.557Z] 4c13bbce0fe7: Download complete [2021-02-25T15:06:24.511Z] e7c96db7181b: Verifying Checksum [2021-02-25T15:06:24.511Z] e7c96db7181b: Download complete [2021-02-25T15:06:24.511Z] e7c96db7181b: Pull complete [2021-02-25T15:06:24.775Z] 4c13bbce0fe7: Pull complete [2021-02-25T15:06:25.721Z] 6059c847ac2f: Verifying Checksum [2021-02-25T15:06:25.721Z] 6059c847ac2f: Download complete [2021-02-25T15:06:29.963Z] 6059c847ac2f: Pull complete [2021-02-25T15:06:29.963Z] Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e [2021-02-25T15:06:29.963Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2021-02-25T15:06:29.963Z] ---> 5eabd8fd8ba2 [2021-02-25T15:06:29.963Z] 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 [2021-02-25T15:06:31.354Z] ---> Running in ae8e628e0de1 [2021-02-25T15:06:31.928Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2021-02-25T15:06:32.504Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2021-02-25T15:06:32.769Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2021-02-25T15:06:33.030Z] (2/8) Installing libuuid (2.33-r0) [2021-02-25T15:06:33.030Z] (3/8) Installing libblkid (2.33-r0) [2021-02-25T15:06:33.604Z] (4/8) Installing libfdisk (2.33-r0) [2021-02-25T15:06:33.604Z] (5/8) Installing libmount (2.33-r0) [2021-02-25T15:06:33.867Z] (6/8) Installing libsmartcols (2.33-r0) [2021-02-25T15:06:33.867Z] (7/8) Installing util-linux-dev (2.33-r0) [2021-02-25T15:06:34.440Z] (8/8) Installing wget (1.20.3-r0) [2021-02-25T15:06:34.440Z] Executing busybox-1.29.3-r10.trigger [2021-02-25T15:06:34.440Z] OK: 272 MiB in 83 packages [2021-02-25T15:06:35.391Z] Removing intermediate container ae8e628e0de1 [2021-02-25T15:06:35.391Z] ---> 76f88448ab6f [2021-02-25T15:06:35.391Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2021-02-25T15:06:35.391Z] ---> Running in d2d467e8cd6a [2021-02-25T15:06:35.391Z] Removing intermediate container d2d467e8cd6a [2021-02-25T15:06:35.391Z] ---> 42d6019667c3 [2021-02-25T15:06:35.392Z] 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 [2021-02-25T15:06:35.392Z] ---> Running in 09716e0b3c05 [2021-02-25T15:06:36.338Z] --2021-02-25 15:06:35-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-02-25T15:06:36.338Z] Resolving github.com... 140.82.113.4 [2021-02-25T15:06:36.338Z] Connecting to github.com|140.82.113.4|:443... connected. [2021-02-25T15:06:36.338Z] HTTP request sent, awaiting response... 302 Found [2021-02-25T15:06:36.338Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-02-25T15:06:36.338Z] --2021-02-25 15:06:36-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-02-25T15:06:36.338Z] Resolving codeload.github.com... 140.82.113.9 [2021-02-25T15:06:36.338Z] Connecting to codeload.github.com|140.82.113.9|:443... connected. [2021-02-25T15:06:36.338Z] HTTP request sent, awaiting response... 200 OK [2021-02-25T15:06:36.338Z] Length: unspecified [application/x-gzip] [2021-02-25T15:06:36.338Z] Saving to: 'STDOUT' [2021-02-25T15:06:36.338Z] [2021-02-25T15:06:36.338Z] 0K .......... .......... .......... .......... .......... 1.63M [2021-02-25T15:06:36.338Z] 50K .......... .......... .......... .......... .......... 3.29M [2021-02-25T15:06:36.338Z] 100K .......... .......... .......... .......... .......... 40.4M [2021-02-25T15:06:36.338Z] 150K .......... .......... .......... .......... .......... 3.76M [2021-02-25T15:06:36.338Z] 200K .......... .......... .......... .......... .......... 38.6M [2021-02-25T15:06:36.338Z] 250K .......... .......... .......... .......... .......... 3.51M [2021-02-25T15:06:36.338Z] 300K .......... .......... .......... .......... .......... 34.9M [2021-02-25T15:06:36.338Z] 350K .......... .......... .......... .......... .......... 9.21M [2021-02-25T15:06:36.599Z] 400K .......... .......... .......... .......... .......... 2.05M [2021-02-25T15:06:36.599Z] 450K .......... .......... .......... .......... .......... 20.1M [2021-02-25T15:06:36.599Z] 500K .......... .......... .......... .......... .......... 14.2M [2021-02-25T15:06:36.599Z] 550K .......... .......... .......... .......... .......... 4.19M [2021-02-25T15:06:36.599Z] 600K .......... .......... .......... .......... .......... 2.29M [2021-02-25T15:06:36.599Z] 650K .......... .......... .......... .......... .......... 4.24M [2021-02-25T15:06:36.599Z] 700K .. 35.8M=0.2s [2021-02-25T15:06:36.599Z] [2021-02-25T15:06:36.599Z] 2021-02-25 15:06:36 (4.42 MB/s) - written to stdout [719348] [2021-02-25T15:06:36.599Z] [2021-02-25T15:06:36.599Z] -- The C compiler identification is GNU 8.3.0 [2021-02-25T15:06:36.861Z] -- The CXX compiler identification is GNU 8.3.0 [2021-02-25T15:06:36.861Z] -- Check for working C compiler: /usr/bin/cc [2021-02-25T15:06:36.861Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-02-25T15:06:36.861Z] -- Detecting C compiler ABI info [2021-02-25T15:06:36.861Z] -- Detecting C compiler ABI info - done [2021-02-25T15:06:36.861Z] -- Detecting C compile features [2021-02-25T15:06:37.125Z] -- Detecting C compile features - done [2021-02-25T15:06:37.125Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-02-25T15:06:37.125Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2021-02-25T15:06:37.125Z] -- Detecting CXX compiler ABI info [2021-02-25T15:06:37.388Z] -- Detecting CXX compiler ABI info - done [2021-02-25T15:06:37.388Z] -- Detecting CXX compile features [2021-02-25T15:06:37.960Z] -- Detecting CXX compile features - done [2021-02-25T15:06:37.960Z] -- Looking for include file endian.h [2021-02-25T15:06:37.960Z] -- Looking for include file endian.h - found [2021-02-25T15:06:37.960Z] -- Check if the system is big endian [2021-02-25T15:06:37.960Z] -- Searching 16 bit integer [2021-02-25T15:06:37.960Z] -- Looking for sys/types.h [2021-02-25T15:06:37.960Z] -- Looking for sys/types.h - found [2021-02-25T15:06:37.960Z] -- Looking for stdint.h [2021-02-25T15:06:37.960Z] -- Looking for stdint.h - found [2021-02-25T15:06:37.960Z] -- Looking for stddef.h [2021-02-25T15:06:38.221Z] -- Looking for stddef.h - found [2021-02-25T15:06:38.221Z] -- Check size of unsigned short [2021-02-25T15:06:38.221Z] -- Check size of unsigned short - done [2021-02-25T15:06:38.221Z] -- Using unsigned short [2021-02-25T15:06:38.221Z] -- Check if the system is big endian - little endian [2021-02-25T15:06:38.221Z] -- Check size of size_t [2021-02-25T15:06:38.483Z] -- Check size of size_t - done [2021-02-25T15:06:38.483Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-02-25T15:06:38.483Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-02-25T15:06:38.483Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-02-25T15:06:38.483Z] CMake did not find one. [2021-02-25T15:06:38.483Z] [2021-02-25T15:06:38.483Z] Could not find a package configuration file provided by "cJSON" with any of [2021-02-25T15:06:38.483Z] the following names: [2021-02-25T15:06:38.483Z] [2021-02-25T15:06:38.483Z] cJSONConfig.cmake [2021-02-25T15:06:38.483Z] cjson-config.cmake [2021-02-25T15:06:38.483Z] [2021-02-25T15:06:38.483Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-02-25T15:06:38.483Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-02-25T15:06:38.483Z] provides a separate development package or SDK, be sure it has been [2021-02-25T15:06:38.483Z] installed. [2021-02-25T15:06:38.483Z] [2021-02-25T15:06:38.483Z] [2021-02-25T15:06:38.483Z] -- Configuring done [2021-02-25T15:06:38.483Z] -- Generating done [2021-02-25T15:06:38.483Z] -- Build files have been written to: /tmp/cbor [2021-02-25T15:06:38.483Z] Scanning dependencies of target cbor_shared [2021-02-25T15:06:38.483Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-02-25T15:06:38.746Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-02-25T15:06:38.746Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-02-25T15:06:39.008Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-02-25T15:06:39.008Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-02-25T15:06:39.269Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-02-25T15:06:39.269Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-02-25T15:06:39.269Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-02-25T15:06:39.269Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-02-25T15:06:39.531Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-02-25T15:06:39.531Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-02-25T15:06:39.531Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-02-25T15:06:39.792Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-02-25T15:06:39.792Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-02-25T15:06:39.792Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-02-25T15:06:40.054Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-02-25T15:06:40.054Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-02-25T15:06:40.054Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-02-25T15:06:40.054Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-02-25T15:06:40.315Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-02-25T15:06:40.315Z] [ 40%] Linking C shared library libcbor.so [2021-02-25T15:06:40.315Z] [ 40%] Built target cbor_shared [2021-02-25T15:06:40.315Z] Scanning dependencies of target cbor [2021-02-25T15:06:40.315Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-02-25T15:06:40.579Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-02-25T15:06:40.841Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-02-25T15:06:40.842Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-02-25T15:06:41.102Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-02-25T15:06:41.102Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-02-25T15:06:41.102Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-02-25T15:06:41.102Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-02-25T15:06:41.363Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-02-25T15:06:41.363Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-02-25T15:06:41.624Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-02-25T15:06:41.624Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-02-25T15:06:41.624Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-02-25T15:06:41.886Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-02-25T15:06:41.887Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-02-25T15:06:41.887Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-02-25T15:06:42.161Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-02-25T15:06:42.161Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-02-25T15:06:42.161Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-02-25T15:06:42.426Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-02-25T15:06:42.426Z] [ 80%] Linking C static library libcbor.a [2021-02-25T15:06:42.426Z] [ 80%] Built target cbor [2021-02-25T15:06:42.426Z] Scanning dependencies of target create_items [2021-02-25T15:06:42.426Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-02-25T15:06:42.426Z] [ 84%] Linking C executable create_items [2021-02-25T15:06:42.426Z] [ 84%] Built target create_items [2021-02-25T15:06:42.426Z] Scanning dependencies of target readfile [2021-02-25T15:06:42.426Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-02-25T15:06:42.426Z] [ 88%] Linking C executable readfile [2021-02-25T15:06:42.688Z] [ 88%] Built target readfile [2021-02-25T15:06:42.688Z] Scanning dependencies of target streaming_parser [2021-02-25T15:06:42.688Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-02-25T15:06:42.688Z] [ 92%] Linking C executable streaming_parser [2021-02-25T15:06:42.688Z] [ 92%] Built target streaming_parser [2021-02-25T15:06:42.688Z] Scanning dependencies of target sort [2021-02-25T15:06:42.688Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-02-25T15:06:42.688Z] [ 96%] Linking C executable sort [2021-02-25T15:06:42.688Z] [ 96%] Built target sort [2021-02-25T15:06:42.688Z] Scanning dependencies of target hello [2021-02-25T15:06:42.955Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-02-25T15:06:42.955Z] [100%] Linking C executable hello [2021-02-25T15:06:42.955Z] [100%] Built target hello [2021-02-25T15:06:42.955Z] Install the project... [2021-02-25T15:06:42.955Z] -- Install configuration: "Release" [2021-02-25T15:06:42.955Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-02-25T15:06:42.955Z] -- Installing: /usr/local/lib64/libcbor.a [2021-02-25T15:06:42.955Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-02-25T15:06:42.955Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-02-25T15:06:42.955Z] -- Installing: /usr/local/lib64/libcbor.so [2021-02-25T15:06:42.955Z] -- Up-to-date: /usr/local/include/cbor [2021-02-25T15:06:42.955Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-02-25T15:06:42.955Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-02-25T15:06:42.955Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-02-25T15:06:42.955Z] -- Installing: /usr/local/include/cbor/common.h [2021-02-25T15:06:42.955Z] -- Installing: /usr/local/include/cbor/data.h [2021-02-25T15:06:42.955Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-02-25T15:06:42.955Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-02-25T15:06:42.955Z] -- Installing: /usr/local/include/cbor/internal [2021-02-25T15:06:42.955Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-02-25T15:06:42.955Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-02-25T15:06:42.955Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-02-25T15:06:42.955Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-02-25T15:06:42.955Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-02-25T15:06:42.955Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-02-25T15:06:42.955Z] -- Installing: /usr/local/include/cbor/ints.h [2021-02-25T15:06:42.955Z] -- Installing: /usr/local/include/cbor/maps.h [2021-02-25T15:06:42.955Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-02-25T15:06:42.955Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-02-25T15:06:42.955Z] -- Installing: /usr/local/include/cbor/strings.h [2021-02-25T15:06:42.955Z] -- Installing: /usr/local/include/cbor/tags.h [2021-02-25T15:06:42.955Z] -- Installing: /usr/local/include/cbor.h [2021-02-25T15:06:42.955Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-02-25T15:06:45.514Z] Removing intermediate container 09716e0b3c05 [2021-02-25T15:06:45.514Z] ---> 60eb0b8746ef [2021-02-25T15:06:45.514Z] Step 6/21 : RUN mkdir /tmp/sdk [2021-02-25T15:06:45.514Z] ---> Running in a3c57f839a77 [2021-02-25T15:06:46.093Z] Removing intermediate container a3c57f839a77 [2021-02-25T15:06:46.093Z] ---> 955961240ee7 [2021-02-25T15:06:46.093Z] Step 7/21 : COPY VERSION /tmp/sdk [2021-02-25T15:06:46.358Z] ---> 35aa880969c1 [2021-02-25T15:06:46.358Z] Step 8/21 : COPY src /tmp/sdk/src [2021-02-25T15:06:46.931Z] ---> be180db90036 [2021-02-25T15:06:46.931Z] Step 9/21 : COPY include /tmp/sdk/include [2021-02-25T15:06:47.195Z] ---> 6c297f6deca0 [2021-02-25T15:06:47.195Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2021-02-25T15:06:47.458Z] ---> 0f3e7780813e [2021-02-25T15:06:47.458Z] Step 11/21 : COPY LICENSE /tmp/sdk [2021-02-25T15:06:47.722Z] ---> a74f7091cac2 [2021-02-25T15:06:47.722Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2021-02-25T15:06:47.985Z] ---> 259756accc42 [2021-02-25T15:06:47.985Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-02-25T15:06:47.985Z] ---> Running in 9fab2259aab9 [2021-02-25T15:06:48.561Z] + CPPCHECK=false [2021-02-25T15:06:48.561Z] + DOCGEN=false [2021-02-25T15:06:48.561Z] + TOMLVER=SDK-0.2 [2021-02-25T15:06:48.561Z] + CUTILVER=1.1.4 [2021-02-25T15:06:48.561Z] + '[' 0 -gt 0 ] [2021-02-25T15:06:48.561Z] + readlink -f ./scripts/build.sh [2021-02-25T15:06:48.561Z] + dirname /tmp/sdk/scripts/build.sh [2021-02-25T15:06:48.561Z] + dirname /tmp/sdk/scripts [2021-02-25T15:06:48.561Z] + ROOT=/tmp/sdk [2021-02-25T15:06:48.561Z] + cd /tmp/sdk [2021-02-25T15:06:48.561Z] + '[' '!' -d deps ] [2021-02-25T15:06:48.561Z] + mkdir deps [2021-02-25T15:06:48.561Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-02-25T15:06:48.561Z] + tar -C deps -z -x -f - [2021-02-25T15:06:48.561Z] --2021-02-25 15:06:48-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-02-25T15:06:48.561Z] Resolving github.com... 140.82.112.4 [2021-02-25T15:06:48.561Z] Connecting to github.com|140.82.112.4|:443... connected. [2021-02-25T15:06:48.561Z] HTTP request sent, awaiting response... 302 Found [2021-02-25T15:06:48.561Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-02-25T15:06:48.561Z] --2021-02-25 15:06:48-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-02-25T15:06:48.561Z] Resolving codeload.github.com... 140.82.113.9 [2021-02-25T15:06:48.561Z] Connecting to codeload.github.com|140.82.113.9|:443... connected. [2021-02-25T15:06:48.561Z] HTTP request sent, awaiting response... 200 OK [2021-02-25T15:06:48.561Z] Length: unspecified [application/x-gzip] [2021-02-25T15:06:48.561Z] Saving to: 'STDOUT' [2021-02-25T15:06:48.561Z]  [2021-02-25T15:06:48.561Z] 0K .......... ......  1009K=0.02s [2021-02-25T15:06:48.561Z] [2021-02-25T15:06:48.561Z] 2021-02-25 15:06:48 (1009 KB/s) - written to stdout [16451] [2021-02-25T15:06:48.561Z] [2021-02-25T15:06:48.823Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-02-25T15:06:48.823Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-02-25T15:06:48.823Z] + tar -C deps -z -x -f - [2021-02-25T15:06:48.823Z] --2021-02-25 15:06:48-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-02-25T15:06:48.823Z] Resolving github.com... 140.82.112.4 [2021-02-25T15:06:48.823Z] Connecting to github.com|140.82.112.4|:443... connected. [2021-02-25T15:06:48.823Z] HTTP request sent, awaiting response... 302 Found [2021-02-25T15:06:48.823Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] [2021-02-25T15:06:48.823Z] --2021-02-25 15:06:48-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [2021-02-25T15:06:48.823Z] Resolving codeload.github.com... 140.82.113.9 [2021-02-25T15:06:48.823Z] Connecting to codeload.github.com|140.82.113.9|:443... connected. [2021-02-25T15:06:49.088Z] HTTP request sent, awaiting response... 200 OK [2021-02-25T15:06:49.088Z] Length: unspecified [application/x-gzip] [2021-02-25T15:06:49.088Z] Saving to: 'STDOUT' [2021-02-25T15:06:49.088Z] [2021-02-25T15:06:49.088Z] 0K .......... .......... .......... .......... .......... 1.54M [2021-02-25T15:06:49.088Z] 50K .......... .......... .......... .......... .......... 3.04M [2021-02-25T15:06:49.088Z] 100K .......... .......... .......... .......... .......... 23.0M [2021-02-25T15:06:49.088Z] 150K .......... .......... ....... 23.8M=0.05s [2021-02-25T15:06:49.088Z] [2021-02-25T15:06:49.088Z] 2021-02-25 15:06:48 (3.40 MB/s) - written to stdout [181796] [2021-02-25T15:06:49.088Z] [2021-02-25T15:06:49.088Z] + mkdir -p src/c/iot [2021-02-25T15:06:49.088Z] + 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 [2021-02-25T15:06:49.088Z] + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot [2021-02-25T15:06:49.088Z] + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot [2021-02-25T15:06:49.088Z] + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot [2021-02-25T15:06:49.088Z] + mkdir -p include/iot [2021-02-25T15:06:49.088Z] + 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 [2021-02-25T15:06:49.088Z] + mkdir -p include/iot/os [2021-02-25T15:06:49.088Z] + 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 [2021-02-25T15:06:49.088Z] + mkdir -p /tmp/sdk/build/release [2021-02-25T15:06:49.088Z] + cd /tmp/sdk/build/release [2021-02-25T15:06:49.088Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-02-25T15:06:49.088Z] -- The C compiler identification is GNU 8.3.0 [2021-02-25T15:06:49.088Z] -- Check for working C compiler: /usr/bin/cc [2021-02-25T15:06:49.350Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-02-25T15:06:49.350Z] -- Detecting C compiler ABI info [2021-02-25T15:06:49.350Z] -- Detecting C compiler ABI info - done [2021-02-25T15:06:49.350Z] -- Detecting C compile features [2021-02-25T15:06:49.611Z] -- Detecting C compile features - done [2021-02-25T15:06:49.611Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-02-25T15:06:49.611Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-02-25T15:06:49.611Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-02-25T15:06:49.611Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-02-25T15:06:49.611Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-02-25T15:06:49.611Z] -- C SDK 0.0.0 for Linux [2021-02-25T15:06:49.611Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-02-25T15:06:49.611Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-02-25T15:06:49.611Z] -- Found Curses: /usr/lib/libcurses.so [2021-02-25T15:06:49.872Z] -- Configuring done [2021-02-25T15:06:49.872Z] -- Generating done [2021-02-25T15:06:49.872Z] -- Build files have been written to: /tmp/sdk/build/release [2021-02-25T15:06:49.872Z] + make [2021-02-25T15:06:49.872Z] + tee release.log [2021-02-25T15:06:49.872Z] Scanning dependencies of target csdk [2021-02-25T15:06:49.872Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-02-25T15:06:50.133Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-02-25T15:06:50.134Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-02-25T15:06:50.707Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-02-25T15:06:50.707Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-02-25T15:06:50.972Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-02-25T15:06:50.972Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-02-25T15:06:51.546Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-02-25T15:06:51.546Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-02-25T15:06:51.808Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-02-25T15:06:51.808Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-02-25T15:06:52.070Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-02-25T15:06:52.070Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-02-25T15:06:52.070Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-02-25T15:06:53.017Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-02-25T15:06:53.017Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-02-25T15:06:53.017Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-02-25T15:06:53.017Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-02-25T15:06:53.279Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-02-25T15:06:53.851Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-02-25T15:06:53.851Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-02-25T15:06:54.114Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-02-25T15:06:54.114Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-02-25T15:06:54.379Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-02-25T15:06:54.379Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-02-25T15:06:54.641Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-02-25T15:06:54.641Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-02-25T15:06:54.903Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-02-25T15:06:54.903Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-02-25T15:06:55.475Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-02-25T15:06:55.476Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-02-25T15:06:55.736Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-02-25T15:06:55.737Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-02-25T15:06:57.126Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-02-25T15:06:57.126Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-02-25T15:06:57.126Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-02-25T15:06:57.390Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-02-25T15:06:57.390Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-02-25T15:06:57.966Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-02-25T15:06:58.238Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-02-25T15:06:59.186Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-02-25T15:06:59.186Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-02-25T15:06:59.449Z] [ 72%] Linking C shared library libcsdk.so [2021-02-25T15:06:59.449Z] [ 72%] Built target csdk [2021-02-25T15:06:59.449Z] Scanning dependencies of target template [2021-02-25T15:06:59.449Z] [ 74%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-02-25T15:06:59.714Z] [ 76%] Linking C executable template [2021-02-25T15:06:59.714Z] [ 76%] Built target template [2021-02-25T15:06:59.714Z] Scanning dependencies of target device-counter [2021-02-25T15:06:59.714Z] [ 77%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-02-25T15:06:59.979Z] [ 79%] Linking C executable device-counter [2021-02-25T15:06:59.979Z] [ 79%] Built target device-counter [2021-02-25T15:06:59.979Z] Scanning dependencies of target device-random [2021-02-25T15:06:59.979Z] [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-02-25T15:07:00.241Z] [ 83%] Linking C executable device-random [2021-02-25T15:07:00.241Z] [ 83%] Built target device-random [2021-02-25T15:07:00.241Z] Scanning dependencies of target device-gyro [2021-02-25T15:07:00.241Z] [ 84%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-02-25T15:07:00.241Z] [ 86%] Linking C executable device-gyro [2021-02-25T15:07:00.503Z] [ 86%] Built target device-gyro [2021-02-25T15:07:00.503Z] Scanning dependencies of target device-bitfields [2021-02-25T15:07:00.503Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-02-25T15:07:00.503Z] [ 89%] Linking C executable device-bitfields [2021-02-25T15:07:00.767Z] [ 89%] Built target device-bitfields [2021-02-25T15:07:00.767Z] Scanning dependencies of target template-discovery [2021-02-25T15:07:00.767Z] [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-02-25T15:07:00.767Z] [ 93%] Linking C executable template-discovery [2021-02-25T15:07:01.028Z] [ 93%] Built target template-discovery [2021-02-25T15:07:01.028Z] Scanning dependencies of target device-file [2021-02-25T15:07:01.028Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-02-25T15:07:01.028Z] [ 96%] Linking C executable device-file [2021-02-25T15:07:01.290Z] [ 96%] Built target device-file [2021-02-25T15:07:01.290Z] Scanning dependencies of target device-terminal [2021-02-25T15:07:01.290Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-02-25T15:07:01.290Z] [100%] Linking C executable device-terminal [2021-02-25T15:07:01.290Z] [100%] Built target device-terminal [2021-02-25T15:07:01.290Z] + make package [2021-02-25T15:07:01.290Z] + tee -a release.log [2021-02-25T15:07:01.555Z] [ 72%] Built target csdk [2021-02-25T15:07:01.555Z] [ 76%] Built target template [2021-02-25T15:07:01.555Z] [ 79%] Built target device-counter [2021-02-25T15:07:01.555Z] [ 83%] Built target device-random [2021-02-25T15:07:01.555Z] [ 86%] Built target device-gyro [2021-02-25T15:07:01.555Z] [ 89%] Built target device-bitfields [2021-02-25T15:07:01.555Z] [ 93%] Built target template-discovery [2021-02-25T15:07:01.555Z] [ 96%] Built target device-file [2021-02-25T15:07:01.555Z] [100%] Built target device-terminal [2021-02-25T15:07:01.555Z] Run CPack packaging tool... [2021-02-25T15:07:01.555Z] CPack: Create package using TGZ [2021-02-25T15:07:01.555Z] CPack: Install projects [2021-02-25T15:07:01.555Z] CPack: - Run preinstall target for: Csdk [2021-02-25T15:07:01.837Z] CPack: - Install project: Csdk [2021-02-25T15:07:01.837Z] CPack: Create package [2021-02-25T15:07:01.837Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-02-25T15:07:01.837Z] + '[' false '=' true ] [2021-02-25T15:07:01.837Z] + '[' false '=' true ] [2021-02-25T15:07:01.837Z] + mkdir -p /tmp/sdk/build/debug [2021-02-25T15:07:01.838Z] + cd /tmp/sdk/build/debug [2021-02-25T15:07:01.838Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-02-25T15:07:02.101Z] -- The C compiler identification is GNU 8.3.0 [2021-02-25T15:07:02.101Z] -- Check for working C compiler: /usr/bin/cc [2021-02-25T15:07:02.101Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-02-25T15:07:02.101Z] -- Detecting C compiler ABI info [2021-02-25T15:07:02.101Z] -- Detecting C compiler ABI info - done [2021-02-25T15:07:02.101Z] -- Detecting C compile features [2021-02-25T15:07:02.364Z] -- Detecting C compile features - done [2021-02-25T15:07:02.364Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-02-25T15:07:02.364Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-02-25T15:07:02.364Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-02-25T15:07:02.365Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-02-25T15:07:02.365Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-02-25T15:07:02.365Z] -- C SDK 0.0.0 for Linux [2021-02-25T15:07:02.626Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-02-25T15:07:02.626Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-02-25T15:07:02.626Z] -- Found Curses: /usr/lib/libcurses.so [2021-02-25T15:07:02.626Z] -- Configuring done [2021-02-25T15:07:03.199Z] -- Generating done [2021-02-25T15:07:03.199Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-02-25T15:07:03.199Z] + + maketee [2021-02-25T15:07:03.199Z] debug.log [2021-02-25T15:07:03.199Z] Scanning dependencies of target csdk [2021-02-25T15:07:03.199Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-02-25T15:07:03.199Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-02-25T15:07:03.199Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-02-25T15:07:03.461Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-02-25T15:07:03.461Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-02-25T15:07:03.725Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-02-25T15:07:03.725Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-02-25T15:07:03.725Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-02-25T15:07:03.986Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-02-25T15:07:03.986Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-02-25T15:07:03.986Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-02-25T15:07:04.066Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-27667 in /w/workspace/edgexfoundry_device-sdk-c_PR-327 [Pipeline] { [Pipeline] ws [2021-02-25T15:07:04.219Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [2021-02-25T15:07:04.251Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-02-25T15:07:04.251Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-02-25T15:07:04.251Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [Pipeline] checkout [2021-02-25T15:07:04.513Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-02-25T15:07:04.513Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-02-25T15:07:04.513Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-02-25T15:07:04.774Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-02-25T15:07:04.774Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-02-25T15:07:05.035Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-02-25T15:07:05.035Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-02-25T15:07:05.035Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-02-25T15:07:05.297Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-02-25T15:07:05.297Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-02-25T15:07:05.297Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-02-25T15:07:05.297Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-02-25T15:07:05.566Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-02-25T15:07:05.566Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-02-25T15:07:05.566Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-02-25T15:07:05.566Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-02-25T15:07:05.835Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-02-25T15:07:05.835Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-02-25T15:07:05.835Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-02-25T15:07:06.096Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-02-25T15:07:06.359Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-02-25T15:07:06.359Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-02-25T15:07:06.359Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-02-25T15:07:06.622Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-02-25T15:07:06.884Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-02-25T15:07:06.884Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-02-25T15:07:07.145Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-02-25T15:07:07.145Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-02-25T15:07:07.407Z] [ 72%] Linking C shared library libcsdk.so [2021-02-25T15:07:07.407Z] [ 72%] Built target csdk [2021-02-25T15:07:07.407Z] Scanning dependencies of target template [2021-02-25T15:07:07.407Z] [ 74%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-02-25T15:07:07.407Z] [ 76%] Linking C executable template [2021-02-25T15:07:07.407Z] [ 76%] Built target template [2021-02-25T15:07:07.407Z] Scanning dependencies of target device-counter [2021-02-25T15:07:07.671Z] [ 77%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-02-25T15:07:07.671Z] [ 79%] Linking C executable device-counter [2021-02-25T15:07:07.671Z] [ 79%] Built target device-counter [2021-02-25T15:07:07.671Z] Scanning dependencies of target device-random [2021-02-25T15:07:07.671Z] [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-02-25T15:07:07.671Z] [ 83%] Linking C executable device-random [2021-02-25T15:07:07.934Z] [ 83%] Built target device-random [2021-02-25T15:07:07.934Z] Scanning dependencies of target device-gyro [2021-02-25T15:07:07.934Z] [ 84%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-02-25T15:07:07.934Z] [ 86%] Linking C executable device-gyro [2021-02-25T15:07:07.934Z] [ 86%] Built target device-gyro [2021-02-25T15:07:07.934Z] Scanning dependencies of target device-bitfields [2021-02-25T15:07:07.934Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-02-25T15:07:08.197Z] [ 89%] Linking C executable device-bitfields [2021-02-25T15:07:08.197Z] [ 89%] Built target device-bitfields [2021-02-25T15:07:08.197Z] Scanning dependencies of target template-discovery [2021-02-25T15:07:08.197Z] [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-02-25T15:07:08.197Z] [ 93%] Linking C executable template-discovery [2021-02-25T15:07:08.197Z] [ 93%] Built target template-discovery [2021-02-25T15:07:08.460Z] Scanning dependencies of target device-file [2021-02-25T15:07:08.460Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-02-25T15:07:08.460Z] [ 96%] Linking C executable device-file [2021-02-25T15:07:08.460Z] [ 96%] Built target device-file [2021-02-25T15:07:08.460Z] Scanning dependencies of target device-terminal [2021-02-25T15:07:08.460Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-02-25T15:07:08.729Z] [100%] Linking C executable device-terminal [2021-02-25T15:07:08.729Z] [100%] Built target device-terminal [2021-02-25T15:07:08.729Z] make: Entering directory '/tmp/sdk/build/release' [2021-02-25T15:07:08.729Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-02-25T15:07:08.729Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-25T15:07:08.729Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-25T15:07:08.729Z] [ 72%] Built target csdk [2021-02-25T15:07:08.729Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-25T15:07:08.729Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-25T15:07:08.729Z] [ 76%] Built target template [2021-02-25T15:07:08.729Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-25T15:07:08.729Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-25T15:07:08.729Z] [ 79%] Built target device-counter [2021-02-25T15:07:08.730Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-25T15:07:08.730Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-25T15:07:08.730Z] [ 83%] Built target device-random [2021-02-25T15:07:08.730Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-25T15:07:08.730Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-25T15:07:08.730Z] [ 86%] Built target device-gyro [2021-02-25T15:07:08.730Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-25T15:07:08.730Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-25T15:07:08.730Z] [ 89%] Built target device-bitfields [2021-02-25T15:07:08.730Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-25T15:07:08.730Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-25T15:07:08.730Z] [ 93%] Built target template-discovery [2021-02-25T15:07:08.730Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-25T15:07:08.730Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-25T15:07:08.730Z] [ 96%] Built target device-file [2021-02-25T15:07:08.730Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-25T15:07:08.730Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-25T15:07:08.730Z] [100%] Built target device-terminal [2021-02-25T15:07:08.730Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-02-25T15:07:08.997Z] Install the project... [2021-02-25T15:07:08.997Z] -- Install configuration: "Release" [2021-02-25T15:07:08.997Z] -- Installing: /usr/local/lib/libcsdk.so [2021-02-25T15:07:08.997Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-02-25T15:07:08.997Z] -- Up-to-date: /usr/local/include [2021-02-25T15:07:08.997Z] -- Installing: /usr/local/include/devsdk [2021-02-25T15:07:08.997Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-02-25T15:07:08.997Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-02-25T15:07:08.997Z] -- Installing: /usr/local/include/edgex [2021-02-25T15:07:08.997Z] -- Installing: /usr/local/include/edgex/devices.h [2021-02-25T15:07:08.997Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-02-25T15:07:08.997Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-02-25T15:07:08.997Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-02-25T15:07:08.997Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-02-25T15:07:08.997Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-02-25T15:07:08.997Z] -- Installing: /usr/local/include/iot [2021-02-25T15:07:08.997Z] -- Installing: /usr/local/include/iot/base64.h [2021-02-25T15:07:08.997Z] -- Installing: /usr/local/include/iot/component.h [2021-02-25T15:07:08.997Z] -- Installing: /usr/local/include/iot/config.h [2021-02-25T15:07:08.997Z] -- Installing: /usr/local/include/iot/container.h [2021-02-25T15:07:08.997Z] -- Installing: /usr/local/include/iot/data.h [2021-02-25T15:07:08.997Z] -- Installing: /usr/local/include/iot/hash.h [2021-02-25T15:07:08.997Z] -- Installing: /usr/local/include/iot/iot.h [2021-02-25T15:07:08.997Z] -- Installing: /usr/local/include/iot/json.h [2021-02-25T15:07:08.997Z] -- Installing: /usr/local/include/iot/logger.h [2021-02-25T15:07:08.997Z] -- Installing: /usr/local/include/iot/os.h [2021-02-25T15:07:08.997Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-02-25T15:07:08.997Z] -- Installing: /usr/local/include/iot/thread.h [2021-02-25T15:07:08.997Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-02-25T15:07:08.997Z] -- Installing: /usr/local/include/iot/time.h [2021-02-25T15:07:08.997Z] -- Installing: /usr/local/include/iot/typecode.h [2021-02-25T15:07:08.997Z] -- Installing: /usr/local/include/iot/os [2021-02-25T15:07:08.997Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-02-25T15:07:08.997Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-02-25T15:07:08.997Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-02-25T15:07:08.997Z] -- Installing: /usr/local/include/iot/defs.h [2021-02-25T15:07:08.997Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-02-25T15:07:08.997Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-02-25T15:07:08.997Z] make: Leaving directory '/tmp/sdk/build/release' [2021-02-25T15:07:09.583Z] using credential edgex-jenkins-ssh [2021-02-25T15:07:09.638Z] Cloning the remote Git repository [2021-02-25T15:07:09.697Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-02-25T15:07:09.806Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2021-02-25T15:07:09.876Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-02-25T15:07:09.877Z] > git --version # timeout=10 [2021-02-25T15:07:09.892Z] > git --version # 'git version 2.17.1' [2021-02-25T15:07:09.893Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-25T15:07:09.972Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-25T15:07:10.918Z] Removing intermediate container 9fab2259aab9 [2021-02-25T15:07:10.918Z] ---> 1d5436ee8e0c [2021-02-25T15:07:10.918Z] Step 14/21 : FROM ${BASE} [2021-02-25T15:07:10.918Z] ---> 5eabd8fd8ba2 [2021-02-25T15:07:10.918Z] Step 15/21 : LABEL maintainer="IOTech " [2021-02-25T15:07:11.180Z] ---> Running in 1a61468f5284 [2021-02-25T15:07:11.180Z] Removing intermediate container 1a61468f5284 [2021-02-25T15:07:11.180Z] ---> 4bee3b15c05c [2021-02-25T15:07:11.180Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2021-02-25T15:07:11.445Z] ---> Running in 53f04f72335a [2021-02-25T15:07:11.706Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2021-02-25T15:07:11.806Z] Merging remotes/origin/master commit 8c8f643302f7d1e1c5a19edbbc93d861045ae01d into PR head commit 00a506443216ba0673fc04576c520cb67fd988e0 [2021-02-25T15:07:11.074Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-02-25T15:07:11.092Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-25T15:07:11.134Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-02-25T15:07:11.188Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-02-25T15:07:11.189Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-25T15:07:11.202Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/327/head:refs/remotes/origin/PR-327 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-25T15:07:11.834Z] > git config core.sparsecheckout # timeout=10 [2021-02-25T15:07:11.858Z] > git checkout -f 00a506443216ba0673fc04576c520cb67fd988e0 # timeout=10 [2021-02-25T15:07:11.983Z] > git remote # timeout=10 [2021-02-25T15:07:12.005Z] > git config --get remote.origin.url # timeout=10 [2021-02-25T15:07:12.225Z] Merge succeeded, producing 00a506443216ba0673fc04576c520cb67fd988e0 [2021-02-25T15:07:12.225Z] Checking out Revision 00a506443216ba0673fc04576c520cb67fd988e0 (PR-327) [2021-02-25T15:07:12.653Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2021-02-25T15:07:12.916Z] (1/3) Installing curl (7.64.0-r5) [2021-02-25T15:07:12.916Z] (2/3) Installing libuuid (2.33-r0) [2021-02-25T15:07:13.179Z] (3/3) Installing wget (1.20.3-r0) [2021-02-25T15:07:13.179Z] Executing busybox-1.29.3-r10.trigger [2021-02-25T15:07:13.179Z] OK: 268 MiB in 78 packages [2021-02-25T15:07:12.091Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-25T15:07:12.113Z] > git merge 8c8f643302f7d1e1c5a19edbbc93d861045ae01d # timeout=10 [2021-02-25T15:07:12.176Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-25T15:07:12.235Z] > git config core.sparsecheckout # timeout=10 [2021-02-25T15:07:12.274Z] > git checkout -f 00a506443216ba0673fc04576c520cb67fd988e0 # timeout=10 [2021-02-25T15:07:13.755Z] Removing intermediate container 53f04f72335a [2021-02-25T15:07:13.755Z] ---> f5ad07ceba18 [2021-02-25T15:07:13.755Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-02-25T15:07:14.018Z] ---> a3c163ba4c79 [2021-02-25T15:07:14.018Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-02-25T15:07:14.300Z] ---> b03aada397e7 [2021-02-25T15:07:14.300Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-02-25T15:07:14.562Z] ---> 9834899d88ae [2021-02-25T15:07:14.562Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-02-25T15:07:14.562Z] ---> 1dd3fc1f95ee [2021-02-25T15:07:14.562Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-02-25T15:07:14.823Z] ---> 8edd365b2478 [2021-02-25T15:07:14.823Z] Successfully built 8edd365b2478 [2021-02-25T15:07:15.087Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-25T15:07:15.938Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-25T15:07:15.938Z] . [Pipeline] withDockerContainer [2021-02-25T15:07:16.068Z] prd-centos7-docker-4c-2g-27666 does not seem to be running inside a container [2021-02-25T15:07:16.119Z] $ 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 ******** ci-base-image-x86_64 cat [2021-02-25T15:07:16.606Z] Commit message: "refactor: remove remaining v1 and other redundant code (#306)" [2021-02-25T15:07:16.662Z] > git --version # timeout=10 [2021-02-25T15:07:16.671Z] > git --version # 'git version 2.17.1' [2021-02-25T15:07:16.693Z] fatal: bad object 5a4b2863d981ac6c14e44fa4f963a690d64f08cf [2021-02-25T15:07:16.735Z] $ docker top 2f1a61048bfcd2d6c0f52dc05ee632cc8aa747c2c630ccf92e86bbb717f1a06e -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [2021-02-25T15:07:17.251Z] + make test [2021-02-25T15:07:17.251Z] echo "make test" [2021-02-25T15:07:17.251Z] make test [Pipeline] withEnv [Pipeline] { [Pipeline] } [2021-02-25T15:07:17.374Z] $ docker stop --time=1 2f1a61048bfcd2d6c0f52dc05ee632cc8aa747c2c630ccf92e86bbb717f1a06e [2021-02-25T15:07:18.714Z] $ docker rm -f 2f1a61048bfcd2d6c0f52dc05ee632cc8aa747c2c630ccf92e86bbb717f1a06e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Prep) [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] script [Pipeline] { [2021-02-25T15:07:20.158Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [Pipeline] sh [2021-02-25T15:07:21.284Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-02-25T15:07:21.507Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-25T15:07:21.644Z] + ls -al . [2021-02-25T15:07:21.644Z] total 160 [2021-02-25T15:07:21.644Z] drwxrwxr-x. 8 jenkins jenkins 260 Feb 25 15:06 . [2021-02-25T15:07:21.644Z] drwxrwxr-x. 4 jenkins jenkins 28 Feb 25 15:06 .. [2021-02-25T15:07:21.644Z] -rw-rw-r--. 1 jenkins jenkins 3104 Feb 25 15:06 Attribution.txt [2021-02-25T15:07:21.644Z] -rw-rw-r--. 1 jenkins jenkins 6735 Feb 25 15:06 CHANGES [2021-02-25T15:07:21.644Z] drwxrwxr-x. 2 jenkins jenkins 144 Feb 25 15:06 docs [2021-02-25T15:07:21.644Z] -rw-rw-r--. 1 jenkins jenkins 108574 Feb 25 15:06 Doxyfile [2021-02-25T15:07:21.644Z] drwxrwxr-x. 8 jenkins jenkins 179 Feb 25 15:06 .git [2021-02-25T15:07:21.644Z] drwxrwxr-x. 2 jenkins jenkins 81 Feb 25 15:06 .github [2021-02-25T15:07:21.644Z] -rw-rw-r--. 1 jenkins jenkins 176 Feb 25 15:06 .gitignore [2021-02-25T15:07:21.644Z] drwxrwxr-x. 4 jenkins jenkins 33 Feb 25 15:06 include [2021-02-25T15:07:21.644Z] -rw-rw-r--. 1 jenkins jenkins 784 Feb 25 15:06 Jenkinsfile [2021-02-25T15:07:21.644Z] -rw-rw-r--. 1 jenkins jenkins 10174 Feb 25 15:06 LICENSE [2021-02-25T15:07:21.644Z] -rw-rw-r--. 1 jenkins jenkins 449 Feb 25 15:06 Makefile [2021-02-25T15:07:21.644Z] -rw-rw-r--. 1 jenkins jenkins 2697 Feb 25 15:06 README.md [2021-02-25T15:07:21.644Z] -rw-rw-r--. 1 jenkins jenkins 6341 Feb 25 15:06 README.v2.md [2021-02-25T15:07:21.644Z] drwxrwxr-x. 2 jenkins jenkins 98 Feb 25 15:06 scripts [2021-02-25T15:07:21.644Z] drwxrwxr-x. 4 jenkins jenkins 50 Feb 25 15:06 src [2021-02-25T15:07:21.644Z] -rw-rw-r--. 1 jenkins jenkins 5 Feb 25 15:02 VERSION [Pipeline] isUnix [Pipeline] sh [2021-02-25T15:07:21.870Z] + sudo service docker restart [2021-02-25T15:07:21.870Z] + true [2021-02-25T15:07:22.009Z] + 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=00a506443216ba0673fc04576c520cb67fd988e0 --label arch=amd64 --label version=0.0.0 . [2021-02-25T15:07:22.009Z] Sending build context to Docker daemon 2.463MB [2021-02-25T15:07:22.009Z] Step 1/15 : ARG BASE=alpine:3.12 [2021-02-25T15:07:22.009Z] Step 2/15 : FROM ${BASE} [2021-02-25T15:07:22.009Z] ---> 8edd365b2478 [2021-02-25T15:07:22.009Z] Step 3/15 : LABEL maintainer="IOTech " [2021-02-25T15:07:22.584Z] ---> Running in 9c4575aa895b [2021-02-25T15:07:22.848Z] Removing intermediate container 9c4575aa895b [2021-02-25T15:07:22.848Z] ---> 262133db96f0 [2021-02-25T15:07:22.848Z] 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 [2021-02-25T15:07:22.848Z] ---> Running in 21e101f40d56 [2021-02-25T15:07:23.793Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-25T15:07:24.642Z] provisioning config files... [2021-02-25T15:07:24.711Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config139011004913728804tmp [Pipeline] { [2021-02-25T15:07:24.747Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2021-02-25T15:07:24.747Z] (1/6) Installing ncurses-dev (6.1_p20190105-r0) [Pipeline] libraryResource [Pipeline] sh [2021-02-25T15:07:25.008Z] (2/6) Installing libblkid (2.33-r0) [2021-02-25T15:07:25.008Z] (3/6) Installing libfdisk (2.33-r0) [2021-02-25T15:07:25.008Z] (4/6) Installing libmount (2.33-r0) [2021-02-25T15:07:25.225Z] ---> docker-login.sh [2021-02-25T15:07:25.225Z] nexus3.edgexfoundry.org:10001 [2021-02-25T15:07:25.274Z] (5/6) Installing libsmartcols (2.33-r0) [2021-02-25T15:07:25.274Z] (6/6) Installing util-linux-dev (2.33-r0) [2021-02-25T15:07:25.536Z] Executing busybox-1.29.3-r10.trigger [2021-02-25T15:07:25.536Z] OK: 272 MiB in 84 packages [2021-02-25T15:07:25.839Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-25T15:07:26.113Z] Removing intermediate container 21e101f40d56 [2021-02-25T15:07:26.113Z] ---> 2fab23a46d02 [2021-02-25T15:07:26.113Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2021-02-25T15:07:26.376Z] ---> 10f7a7ac80f4 [2021-02-25T15:07:26.376Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2021-02-25T15:07:26.440Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-25T15:07:26.440Z] Configure a credential helper to remove this warning. See [2021-02-25T15:07:26.440Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-25T15:07:26.440Z] [2021-02-25T15:07:26.440Z] Login Succeeded [2021-02-25T15:07:26.440Z] nexus3.edgexfoundry.org:10002 [2021-02-25T15:07:26.715Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-25T15:07:26.997Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-25T15:07:26.997Z] Configure a credential helper to remove this warning. See [2021-02-25T15:07:26.997Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-25T15:07:26.997Z] [2021-02-25T15:07:26.997Z] Login Succeeded [2021-02-25T15:07:26.997Z] nexus3.edgexfoundry.org:10003 [2021-02-25T15:07:27.271Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-25T15:07:27.324Z] ---> 37d85cc16a1b [2021-02-25T15:07:27.324Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2021-02-25T15:07:27.324Z] ---> 07b5d56e1cf8 [2021-02-25T15:07:27.324Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2021-02-25T15:07:27.546Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-25T15:07:27.546Z] Configure a credential helper to remove this warning. See [2021-02-25T15:07:27.546Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-25T15:07:27.546Z] [2021-02-25T15:07:27.546Z] Login Succeeded [2021-02-25T15:07:27.546Z] nexus3.edgexfoundry.org:10004 [2021-02-25T15:07:27.586Z] ---> 3eae0a805498 [2021-02-25T15:07:27.586Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2021-02-25T15:07:27.820Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-25T15:07:27.848Z] ---> 7e0023fc3e73 [2021-02-25T15:07:27.848Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2021-02-25T15:07:28.095Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-25T15:07:28.095Z] Configure a credential helper to remove this warning. See [2021-02-25T15:07:28.095Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-25T15:07:28.095Z] [2021-02-25T15:07:28.095Z] Login Succeeded [2021-02-25T15:07:28.095Z] docker.io [2021-02-25T15:07:28.110Z] ---> 9ee0160ca56a [2021-02-25T15:07:28.110Z] Step 11/15 : WORKDIR /edgex-c-sdk [2021-02-25T15:07:28.110Z] ---> Running in 584c3c6d8a9b [2021-02-25T15:07:28.371Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-25T15:07:28.372Z] Removing intermediate container 584c3c6d8a9b [2021-02-25T15:07:28.372Z] ---> 36767550706f [2021-02-25T15:07:28.372Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-02-25T15:07:28.372Z] ---> Running in 673ca7f86b21 [2021-02-25T15:07:28.372Z] Removing intermediate container 673ca7f86b21 [2021-02-25T15:07:28.372Z] ---> 519a25a3cd1d [2021-02-25T15:07:28.372Z] Step 13/15 : LABEL arch=amd64 [2021-02-25T15:07:28.638Z] ---> Running in fd89c0544672 [2021-02-25T15:07:28.638Z] Removing intermediate container fd89c0544672 [2021-02-25T15:07:28.638Z] ---> 50c4089a0a6d [2021-02-25T15:07:28.638Z] Step 14/15 : LABEL git_sha=00a506443216ba0673fc04576c520cb67fd988e0 [2021-02-25T15:07:28.638Z] ---> Running in 61e0adc860e2 [2021-02-25T15:07:28.901Z] Removing intermediate container 61e0adc860e2 [2021-02-25T15:07:28.901Z] ---> d085b81afcf7 [2021-02-25T15:07:28.901Z] Step 15/15 : LABEL version=0.0.0 [2021-02-25T15:07:28.901Z] ---> Running in 8d53489cd8bf [2021-02-25T15:07:28.965Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-25T15:07:28.965Z] Configure a credential helper to remove this warning. See [2021-02-25T15:07:28.965Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-25T15:07:28.965Z] [2021-02-25T15:07:28.965Z] Login Succeeded [2021-02-25T15:07:28.965Z] ---> docker-login.sh ends [Pipeline] } [2021-02-25T15:07:28.999Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [2021-02-25T15:07:29.163Z] Removing intermediate container 8d53489cd8bf [2021-02-25T15:07:29.163Z] ---> 1e20bdd3915d [2021-02-25T15:07:29.163Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-02-25T15:07:29.163Z] Successfully built 1e20bdd3915d [2021-02-25T15:07:29.163Z] Successfully tagged docker-device-sdk-c:latest [Pipeline] // withEnv [Pipeline] unstash [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] echo [2021-02-25T15:07:29.661Z] ========================================================= [2021-02-25T15:07:29.661Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2021-02-25T15:07:29.661Z] ========================================================= [Pipeline] isUnix [Pipeline] sh Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [2021-02-25T15:07:30.117Z] + 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 . [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2021-02-25T15:07:30.735Z] Sending build context to Docker daemon 2.462MB [2021-02-25T15:07:30.735Z] Step 1/21 : ARG BASE=alpine:3.12 [2021-02-25T15:07:30.735Z] Step 2/21 : FROM ${BASE} as builder [2021-02-25T15:07:30.735Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2021-02-25T15:07:30.735Z] 0362ad1dd800: Pulling fs layer [2021-02-25T15:07:30.735Z] f2cdb1532d8b: Pulling fs layer [2021-02-25T15:07:30.735Z] 37ed683be191: Pulling fs layer [2021-02-25T15:07:30.735Z] f2cdb1532d8b: Verifying Checksum [2021-02-25T15:07:30.735Z] f2cdb1532d8b: Download complete [2021-02-25T15:07:30.735Z] 0362ad1dd800: Verifying Checksum [2021-02-25T15:07:30.735Z] 0362ad1dd800: Download complete [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-02-25T15:07:31.339Z] 0362ad1dd800: Pull complete [2021-02-25T15:07:31.949Z] f2cdb1532d8b: Pull complete [2021-02-25T15:07:33.390Z] 37ed683be191: Verifying Checksum [2021-02-25T15:07:33.390Z] 37ed683be191: Download complete [2021-02-25T15:07:41.692Z] 37ed683be191: Pull complete [2021-02-25T15:07:41.974Z] Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f [2021-02-25T15:07:41.974Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2021-02-25T15:07:41.974Z] ---> b23d30803547 [2021-02-25T15:07:41.974Z] 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 [2021-02-25T15:07:43.951Z] ---> Running in 0aef0c95b8c4 [2021-02-25T15:07:44.930Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2021-02-25T15:07:45.906Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2021-02-25T15:07:46.180Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2021-02-25T15:07:46.452Z] (2/8) Installing libuuid (2.33-r0) [2021-02-25T15:07:46.452Z] (3/8) Installing libblkid (2.33-r0) [2021-02-25T15:07:46.452Z] (4/8) Installing libfdisk (2.33-r0) [2021-02-25T15:07:46.725Z] (5/8) Installing libmount (2.33-r0) [2021-02-25T15:07:46.725Z] (6/8) Installing libsmartcols (2.33-r0) [2021-02-25T15:07:46.725Z] (7/8) Installing util-linux-dev (2.33-r0) [2021-02-25T15:07:47.321Z] (8/8) Installing wget (1.20.3-r0) [2021-02-25T15:07:47.321Z] Executing busybox-1.29.3-r10.trigger [2021-02-25T15:07:47.321Z] OK: 285 MiB in 83 packages [2021-02-25T15:07:48.769Z] Removing intermediate container 0aef0c95b8c4 [2021-02-25T15:07:48.769Z] ---> 614dfd70e3b7 [2021-02-25T15:07:48.769Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2021-02-25T15:07:48.769Z] ---> Running in 19ddac98b215 [2021-02-25T15:07:49.367Z] Removing intermediate container 19ddac98b215 [2021-02-25T15:07:49.367Z] ---> e9b1028d9c03 [2021-02-25T15:07:49.367Z] 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 [2021-02-25T15:07:49.367Z] ---> Running in 2d98e09c9f38 [2021-02-25T15:07:50.363Z] --2021-02-25 15:07:50-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-02-25T15:07:50.634Z] Resolving github.com... 140.82.113.4 [2021-02-25T15:07:50.634Z] Connecting to github.com|140.82.113.4|:443... connected. [2021-02-25T15:07:50.634Z] HTTP request sent, awaiting response... 302 Found [2021-02-25T15:07:50.634Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-02-25T15:07:50.634Z] --2021-02-25 15:07:50-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-02-25T15:07:50.634Z] Resolving codeload.github.com... 140.82.113.10 [2021-02-25T15:07:50.634Z] Connecting to codeload.github.com|140.82.113.10|:443... connected. [2021-02-25T15:07:50.634Z] HTTP request sent, awaiting response... 200 OK [2021-02-25T15:07:50.634Z] Length: unspecified [application/x-gzip] [2021-02-25T15:07:50.634Z] Saving to: 'STDOUT' [2021-02-25T15:07:50.634Z]  [2021-02-25T15:07:50.914Z] 0K .......... .......... .......... .......... .......... 902K [2021-02-25T15:07:50.914Z] 50K .......... .......... .......... .......... .......... 2.62M [2021-02-25T15:07:50.914Z] 100K .......... .......... .......... .......... .......... 2.57M [2021-02-25T15:07:50.914Z] 150K .......... .......... .......... .......... .......... 1.45M [2021-02-25T15:07:50.914Z] 200K .......... .......... .......... .......... .......... 1.25M [2021-02-25T15:07:50.914Z] 250K .......... .......... .......... .......... .......... 2.86M [2021-02-25T15:07:50.914Z] 300K .......... .......... .......... .......... .......... 1.34M [2021-02-25T15:07:50.914Z] 350K .......... .......... .......... .......... .......... 1.42M [2021-02-25T15:07:50.914Z] 400K .......... .......... .......... .......... .......... 1.34M [2021-02-25T15:07:51.187Z] 450K .......... .......... .......... .......... .......... 2.06M [2021-02-25T15:07:51.187Z] 500K .......... .......... .......... .......... .......... 1.40M [2021-02-25T15:07:51.187Z] 550K .......... .......... .......... .......... .......... 1.44M [2021-02-25T15:07:51.187Z] 600K .......... .......... .......... .......... .......... 2.01M [2021-02-25T15:07:51.187Z] 650K .......... .......... .......... .......... .......... 1.39M [2021-02-25T15:07:51.187Z] 700K .. 20.9M=0.4s [2021-02-25T15:07:51.187Z] [2021-02-25T15:07:51.187Z] 2021-02-25 15:07:51 (1.55 MB/s) - written to stdout [719348] [2021-02-25T15:07:51.187Z] [2021-02-25T15:07:51.466Z] -- The C compiler identification is GNU 8.3.0 [2021-02-25T15:07:51.739Z] -- The CXX compiler identification is GNU 8.3.0 [2021-02-25T15:07:51.739Z] -- Check for working C compiler: /usr/bin/cc [2021-02-25T15:07:52.013Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-02-25T15:07:52.013Z] -- Detecting C compiler ABI info [2021-02-25T15:07:52.301Z] -- Detecting C compiler ABI info - done [2021-02-25T15:07:52.301Z] -- Detecting C compile features [2021-02-25T15:07:52.899Z] -- Detecting C compile features - done [2021-02-25T15:07:52.899Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-02-25T15:07:53.173Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2021-02-25T15:07:53.173Z] -- Detecting CXX compiler ABI info [2021-02-25T15:07:53.445Z] -- Detecting CXX compiler ABI info - done [2021-02-25T15:07:53.445Z] -- Detecting CXX compile features [2021-02-25T15:07:55.415Z] -- Detecting CXX compile features - done [2021-02-25T15:07:55.415Z] -- Looking for include file endian.h [2021-02-25T15:07:55.415Z] -- Looking for include file endian.h - found [2021-02-25T15:07:55.415Z] -- Check if the system is big endian [2021-02-25T15:07:55.415Z] -- Searching 16 bit integer [2021-02-25T15:07:55.415Z] -- Looking for sys/types.h [2021-02-25T15:07:55.415Z] -- Looking for sys/types.h - found [2021-02-25T15:07:55.687Z] -- Looking for stdint.h [2021-02-25T15:07:55.687Z] -- Looking for stdint.h - found [2021-02-25T15:07:55.687Z] -- Looking for stddef.h [2021-02-25T15:07:55.967Z] -- Looking for stddef.h - found [2021-02-25T15:07:55.967Z] -- Check size of unsigned short [2021-02-25T15:07:56.241Z] -- Check size of unsigned short - done [2021-02-25T15:07:56.241Z] -- Using unsigned short [2021-02-25T15:07:56.513Z] -- Check if the system is big endian - little endian [2021-02-25T15:07:56.513Z] -- Check size of size_t [2021-02-25T15:07:56.785Z] -- Check size of size_t - done [2021-02-25T15:07:56.785Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-02-25T15:07:56.785Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-02-25T15:07:56.785Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-02-25T15:07:56.785Z] CMake did not find one. [2021-02-25T15:07:56.785Z] [2021-02-25T15:07:56.785Z] Could not find a package configuration file provided by "cJSON" with any of [2021-02-25T15:07:56.785Z] the following names: [2021-02-25T15:07:56.785Z] [2021-02-25T15:07:56.785Z] cJSONConfig.cmake [2021-02-25T15:07:56.785Z] cjson-config.cmake [2021-02-25T15:07:56.785Z] [2021-02-25T15:07:56.785Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-02-25T15:07:56.785Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-02-25T15:07:56.785Z] provides a separate development package or SDK, be sure it has been [2021-02-25T15:07:56.785Z] installed. [2021-02-25T15:07:56.785Z] [2021-02-25T15:07:56.785Z] [2021-02-25T15:07:56.785Z] -- Configuring done [2021-02-25T15:07:57.058Z] -- Generating done [2021-02-25T15:07:57.058Z] -- Build files have been written to: /tmp/cbor [2021-02-25T15:07:57.058Z] Scanning dependencies of target cbor_shared [2021-02-25T15:07:57.331Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-02-25T15:07:57.926Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-02-25T15:07:58.521Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-02-25T15:07:58.797Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-02-25T15:07:59.390Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-02-25T15:07:59.667Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-02-25T15:07:59.946Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-02-25T15:07:59.946Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-02-25T15:08:00.219Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-02-25T15:08:00.493Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-02-25T15:08:01.088Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-02-25T15:08:01.359Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-02-25T15:08:01.633Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-02-25T15:08:02.235Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-02-25T15:08:02.235Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-02-25T15:08:02.508Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-02-25T15:08:02.782Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-02-25T15:08:03.055Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-02-25T15:08:03.327Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-02-25T15:08:03.599Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-02-25T15:08:03.871Z] [ 40%] Linking C shared library libcbor.so [2021-02-25T15:08:03.871Z] [ 40%] Built target cbor_shared [2021-02-25T15:08:03.871Z] Scanning dependencies of target cbor [2021-02-25T15:08:03.871Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-02-25T15:08:04.844Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-02-25T15:08:05.439Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-02-25T15:08:05.439Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-02-25T15:08:06.872Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-02-25T15:08:06.872Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-02-25T15:08:07.147Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-02-25T15:08:07.147Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-02-25T15:08:07.421Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-02-25T15:08:07.695Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-02-25T15:08:08.670Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-02-25T15:08:08.670Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-02-25T15:08:09.269Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-02-25T15:08:09.540Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-02-25T15:08:09.813Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-02-25T15:08:10.086Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-02-25T15:08:10.365Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-02-25T15:08:10.639Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-02-25T15:08:10.912Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-02-25T15:08:11.188Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-02-25T15:08:11.188Z] [ 80%] Linking C static library libcbor.a [2021-02-25T15:08:11.464Z] [ 80%] Built target cbor [2021-02-25T15:08:11.464Z] Scanning dependencies of target create_items [2021-02-25T15:08:11.464Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-02-25T15:08:11.736Z] [ 84%] Linking C executable create_items [2021-02-25T15:08:11.736Z] [ 84%] Built target create_items [2021-02-25T15:08:11.736Z] Scanning dependencies of target readfile [2021-02-25T15:08:11.736Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-02-25T15:08:12.010Z] [ 88%] Linking C executable readfile [2021-02-25T15:08:12.010Z] [ 88%] Built target readfile [2021-02-25T15:08:12.010Z] Scanning dependencies of target streaming_parser [2021-02-25T15:08:12.010Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-02-25T15:08:12.282Z] [ 92%] Linking C executable streaming_parser [2021-02-25T15:08:12.554Z] [ 92%] Built target streaming_parser [2021-02-25T15:08:12.554Z] Scanning dependencies of target sort [2021-02-25T15:08:12.554Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-02-25T15:08:12.554Z] [ 96%] Linking C executable sort [2021-02-25T15:08:12.827Z] [ 96%] Built target sort [2021-02-25T15:08:12.827Z] Scanning dependencies of target hello [2021-02-25T15:08:12.827Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-02-25T15:08:13.100Z] [100%] Linking C executable hello [2021-02-25T15:08:13.100Z] [100%] Built target hello [2021-02-25T15:08:13.100Z] Install the project... [2021-02-25T15:08:13.100Z] -- Install configuration: "Release" [2021-02-25T15:08:13.100Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-02-25T15:08:13.100Z] -- Installing: /usr/local/lib64/libcbor.a [2021-02-25T15:08:13.100Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-02-25T15:08:13.100Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-02-25T15:08:13.100Z] -- Installing: /usr/local/lib64/libcbor.so [2021-02-25T15:08:13.100Z] -- Up-to-date: /usr/local/include/cbor [2021-02-25T15:08:13.100Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-02-25T15:08:13.100Z] -- Installing: /usr/local/include/cbor/ints.h [2021-02-25T15:08:13.100Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-02-25T15:08:13.100Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-02-25T15:08:13.100Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-02-25T15:08:13.100Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-02-25T15:08:13.100Z] -- Installing: /usr/local/include/cbor/data.h [2021-02-25T15:08:13.100Z] -- Installing: /usr/local/include/cbor/common.h [2021-02-25T15:08:13.100Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-02-25T15:08:13.100Z] -- Installing: /usr/local/include/cbor/strings.h [2021-02-25T15:08:13.100Z] -- Installing: /usr/local/include/cbor/tags.h [2021-02-25T15:08:13.100Z] -- Installing: /usr/local/include/cbor/internal [2021-02-25T15:08:13.100Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-02-25T15:08:13.100Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-02-25T15:08:13.100Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-02-25T15:08:13.100Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-02-25T15:08:13.100Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-02-25T15:08:13.100Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-02-25T15:08:13.100Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-02-25T15:08:13.100Z] -- Installing: /usr/local/include/cbor/maps.h [2021-02-25T15:08:13.100Z] -- Installing: /usr/local/include/cbor.h [2021-02-25T15:08:13.100Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-02-25T15:08:15.091Z] Removing intermediate container 2d98e09c9f38 [2021-02-25T15:08:15.091Z] ---> 2c0ed0abb929 [2021-02-25T15:08:15.091Z] Step 6/21 : RUN mkdir /tmp/sdk [2021-02-25T15:08:15.369Z] ---> Running in 8f6bc0214932 [2021-02-25T15:08:17.346Z] Removing intermediate container 8f6bc0214932 [2021-02-25T15:08:17.346Z] ---> 14cb82e8d47b [2021-02-25T15:08:17.346Z] Step 7/21 : COPY VERSION /tmp/sdk [2021-02-25T15:08:18.341Z] ---> b340d9a8881e [2021-02-25T15:08:18.341Z] Step 8/21 : COPY src /tmp/sdk/src [2021-02-25T15:08:18.942Z] ---> 3d45ae0b1e33 [2021-02-25T15:08:18.942Z] Step 9/21 : COPY include /tmp/sdk/include [2021-02-25T15:08:19.924Z] ---> d89bc3fefce5 [2021-02-25T15:08:19.924Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2021-02-25T15:08:20.521Z] ---> 86729e225289 [2021-02-25T15:08:20.521Z] Step 11/21 : COPY LICENSE /tmp/sdk [2021-02-25T15:08:21.117Z] ---> 99950c533fe5 [2021-02-25T15:08:21.117Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2021-02-25T15:08:21.711Z] ---> 8006e9b51e55 [2021-02-25T15:08:21.711Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-02-25T15:08:21.984Z] ---> Running in bf8d7a3a6fed [2021-02-25T15:08:22.961Z] + CPPCHECK=false [2021-02-25T15:08:22.961Z] + DOCGEN=false [2021-02-25T15:08:22.961Z] + TOMLVER=SDK-0.2 [2021-02-25T15:08:22.961Z] + CUTILVER=1.1.4 [2021-02-25T15:08:22.961Z] + '[' 0 -gt 0 ] [2021-02-25T15:08:22.961Z] + readlink -f ./scripts/build.sh [2021-02-25T15:08:22.961Z] + dirname /tmp/sdk/scripts/build.sh [2021-02-25T15:08:22.961Z] + dirname /tmp/sdk/scripts [2021-02-25T15:08:22.961Z] + ROOT=/tmp/sdk [2021-02-25T15:08:22.961Z] + cd /tmp/sdk [2021-02-25T15:08:22.961Z] + '[' '!' -d deps ] [2021-02-25T15:08:22.961Z] + mkdir deps [2021-02-25T15:08:22.961Z] + + tar -C deps -z -x -f - [2021-02-25T15:08:22.961Z] wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-02-25T15:08:22.961Z] --2021-02-25 15:08:22-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-02-25T15:08:22.961Z] Resolving github.com... 140.82.113.4 [2021-02-25T15:08:23.233Z] Connecting to github.com|140.82.113.4|:443... connected. [2021-02-25T15:08:23.233Z] HTTP request sent, awaiting response... 302 Found [2021-02-25T15:08:23.233Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-02-25T15:08:23.233Z] --2021-02-25 15:08:23-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-02-25T15:08:23.233Z] Resolving codeload.github.com... 140.82.113.10 [2021-02-25T15:08:23.233Z] Connecting to codeload.github.com|140.82.113.10|:443... connected. [2021-02-25T15:08:23.504Z] HTTP request sent, awaiting response... 200 OK [2021-02-25T15:08:23.504Z] Length: unspecified [application/x-gzip] [2021-02-25T15:08:23.504Z] Saving to: 'STDOUT' [2021-02-25T15:08:23.504Z]  [2021-02-25T15:08:23.504Z] 0K .......... ......  849K=0.02s [2021-02-25T15:08:23.504Z] [2021-02-25T15:08:23.504Z] 2021-02-25 15:08:23 (849 KB/s) - written to stdout [16451] [2021-02-25T15:08:23.504Z] [2021-02-25T15:08:23.504Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-02-25T15:08:23.504Z] + wget+ -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gztar [2021-02-25T15:08:23.504Z] -C deps -z -x -f - [2021-02-25T15:08:23.504Z] --2021-02-25 15:08:23-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-02-25T15:08:23.504Z] Resolving github.com... 140.82.113.4 [2021-02-25T15:08:23.504Z] Connecting to github.com|140.82.113.4|:443... connected. [2021-02-25T15:08:23.775Z] HTTP request sent, awaiting response... 302 Found [2021-02-25T15:08:23.775Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] [2021-02-25T15:08:23.775Z] --2021-02-25 15:08:23-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [2021-02-25T15:08:23.775Z] Resolving codeload.github.com... 140.82.113.10 [2021-02-25T15:08:23.775Z] Connecting to codeload.github.com|140.82.113.10|:443... connected. [2021-02-25T15:08:23.775Z] HTTP request sent, awaiting response... 200 OK [2021-02-25T15:08:23.775Z] Length: unspecified [application/x-gzip] [2021-02-25T15:08:23.775Z] Saving to: 'STDOUT' [2021-02-25T15:08:23.775Z]  [2021-02-25T15:08:23.775Z] 0K .......... .......... .......... .......... .......... 1.22M [2021-02-25T15:08:23.775Z] 50K .......... .......... .......... .......... .......... 2.50M [2021-02-25T15:08:23.775Z] 100K .......... .......... .......... .......... .......... 15.0M [2021-02-25T15:08:23.775Z] 150K .......... .......... .......   1.45M=0.08s [2021-02-25T15:08:23.775Z] [2021-02-25T15:08:23.775Z] 2021-02-25 15:08:23 (2.13 MB/s) - written to stdout [181796] [2021-02-25T15:08:23.775Z] [2021-02-25T15:08:24.048Z] + mkdir -p src/c/iot [2021-02-25T15:08:24.048Z] + 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 [2021-02-25T15:08:24.048Z] + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot [2021-02-25T15:08:24.048Z] + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot [2021-02-25T15:08:24.048Z] + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot [2021-02-25T15:08:24.048Z] + mkdir -p include/iot [2021-02-25T15:08:24.048Z] + 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 [2021-02-25T15:08:24.048Z] + mkdir -p include/iot/os [2021-02-25T15:08:24.048Z] + 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 [2021-02-25T15:08:24.048Z] + mkdir -p /tmp/sdk/build/release [2021-02-25T15:08:24.048Z] + cd /tmp/sdk/build/release [2021-02-25T15:08:24.048Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-02-25T15:08:24.323Z] -- The C compiler identification is GNU 8.3.0 [2021-02-25T15:08:24.323Z] -- Check for working C compiler: /usr/bin/cc [2021-02-25T15:08:24.601Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-02-25T15:08:24.601Z] -- Detecting C compiler ABI info [2021-02-25T15:08:24.873Z] -- Detecting C compiler ABI info - done [2021-02-25T15:08:24.874Z] -- Detecting C compile features [2021-02-25T15:08:25.468Z] -- Detecting C compile features - done [2021-02-25T15:08:25.468Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-02-25T15:08:25.468Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-02-25T15:08:25.468Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-02-25T15:08:25.468Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-02-25T15:08:25.468Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-02-25T15:08:25.468Z] -- C SDK 0.0.0 for Linux [2021-02-25T15:08:25.468Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-02-25T15:08:25.741Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-02-25T15:08:25.741Z] -- Found Curses: /usr/lib/libcurses.so [2021-02-25T15:08:26.014Z] -- Configuring done [2021-02-25T15:08:26.287Z] -- Generating done [2021-02-25T15:08:26.287Z] -- Build files have been written to: /tmp/sdk/build/release [2021-02-25T15:08:26.287Z] + + teemake [2021-02-25T15:08:26.287Z] release.log [2021-02-25T15:08:26.287Z] Scanning dependencies of target csdk [2021-02-25T15:08:26.555Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-02-25T15:08:27.143Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-02-25T15:08:27.417Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-02-25T15:08:29.375Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-02-25T15:08:29.967Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-02-25T15:08:29.967Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-02-25T15:08:30.948Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-02-25T15:08:32.377Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-02-25T15:08:32.652Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-02-25T15:08:33.634Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-02-25T15:08:33.911Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-02-25T15:08:34.185Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-02-25T15:08:34.478Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-02-25T15:08:34.478Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-02-25T15:08:37.852Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-02-25T15:08:37.852Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-02-25T15:08:38.125Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-02-25T15:08:38.400Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-02-25T15:08:38.994Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-02-25T15:08:41.602Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-02-25T15:08:41.602Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-02-25T15:08:41.875Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-02-25T15:08:42.468Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-02-25T15:08:43.061Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-02-25T15:08:43.061Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-02-25T15:08:44.036Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-02-25T15:08:44.310Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-02-25T15:08:44.902Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-02-25T15:08:45.174Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-02-25T15:08:47.142Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-02-25T15:08:47.416Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-02-25T15:08:48.008Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-02-25T15:08:48.282Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-02-25T15:08:52.572Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-02-25T15:08:52.844Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-02-25T15:08:53.436Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-02-25T15:08:53.713Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-02-25T15:08:54.688Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-02-25T15:08:56.112Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-02-25T15:08:57.535Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-02-25T15:09:00.912Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-02-25T15:09:01.184Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-02-25T15:09:01.455Z] [ 72%] Linking C shared library libcsdk.so [2021-02-25T15:09:01.728Z] [ 72%] Built target csdk [2021-02-25T15:09:01.728Z] Scanning dependencies of target template [2021-02-25T15:09:01.728Z] [ 74%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-02-25T15:09:02.328Z] [ 76%] Linking C executable template [2021-02-25T15:09:02.601Z] [ 76%] Built target template [2021-02-25T15:09:02.601Z] Scanning dependencies of target device-counter [2021-02-25T15:09:02.601Z] [ 77%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-02-25T15:09:03.194Z] [ 79%] Linking C executable device-counter [2021-02-25T15:09:03.194Z] [ 79%] Built target device-counter [2021-02-25T15:09:03.194Z] Scanning dependencies of target device-random [2021-02-25T15:09:03.469Z] [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-02-25T15:09:03.744Z] [ 83%] Linking C executable device-random [2021-02-25T15:09:04.026Z] [ 83%] Built target device-random [2021-02-25T15:09:04.026Z] Scanning dependencies of target device-gyro [2021-02-25T15:09:04.026Z] [ 84%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-02-25T15:09:04.298Z] [ 86%] Linking C executable device-gyro [2021-02-25T15:09:04.575Z] [ 86%] Built target device-gyro [2021-02-25T15:09:04.575Z] Scanning dependencies of target device-bitfields [2021-02-25T15:09:04.575Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-02-25T15:09:05.173Z] [ 89%] Linking C executable device-bitfields [2021-02-25T15:09:05.173Z] [ 89%] Built target device-bitfields [2021-02-25T15:09:05.173Z] Scanning dependencies of target template-discovery [2021-02-25T15:09:05.445Z] [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-02-25T15:09:06.039Z] [ 93%] Linking C executable template-discovery [2021-02-25T15:09:06.309Z] [ 93%] Built target template-discovery [2021-02-25T15:09:06.309Z] Scanning dependencies of target device-file [2021-02-25T15:09:06.309Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-02-25T15:09:06.914Z] [ 96%] Linking C executable device-file [2021-02-25T15:09:06.914Z] [ 96%] Built target device-file [2021-02-25T15:09:06.914Z] Scanning dependencies of target device-terminal [2021-02-25T15:09:06.914Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-02-25T15:09:07.508Z] [100%] Linking C executable device-terminal [2021-02-25T15:09:07.779Z] [100%] Built target device-terminal [2021-02-25T15:09:07.779Z] + make package [2021-02-25T15:09:07.779Z] + tee -a release.log [2021-02-25T15:09:07.779Z] [ 72%] Built target csdk [2021-02-25T15:09:08.052Z] [ 76%] Built target template [2021-02-25T15:09:08.053Z] [ 79%] Built target device-counter [2021-02-25T15:09:08.053Z] [ 83%] Built target device-random [2021-02-25T15:09:08.053Z] [ 86%] Built target device-gyro [2021-02-25T15:09:08.053Z] [ 89%] Built target device-bitfields [2021-02-25T15:09:08.053Z] [ 93%] Built target template-discovery [2021-02-25T15:09:08.326Z] [ 96%] Built target device-file [2021-02-25T15:09:08.326Z] [100%] Built target device-terminal [2021-02-25T15:09:08.326Z] Run CPack packaging tool... [2021-02-25T15:09:08.326Z] CPack: Create package using TGZ [2021-02-25T15:09:08.326Z] CPack: Install projects [2021-02-25T15:09:08.326Z] CPack: - Run preinstall target for: Csdk [2021-02-25T15:09:08.920Z] CPack: - Install project: Csdk [2021-02-25T15:09:08.920Z] CPack: Create package [2021-02-25T15:09:08.920Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-02-25T15:09:08.920Z] + '[' false '=' true ] [2021-02-25T15:09:08.920Z] + '[' false '=' true ] [2021-02-25T15:09:08.920Z] + mkdir -p /tmp/sdk/build/debug [2021-02-25T15:09:08.920Z] + cd /tmp/sdk/build/debug [2021-02-25T15:09:08.920Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-02-25T15:09:09.197Z] -- The C compiler identification is GNU 8.3.0 [2021-02-25T15:09:09.197Z] -- Check for working C compiler: /usr/bin/cc [2021-02-25T15:09:09.469Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-02-25T15:09:09.469Z] -- Detecting C compiler ABI info [2021-02-25T15:09:09.747Z] -- Detecting C compiler ABI info - done [2021-02-25T15:09:09.747Z] -- Detecting C compile features [2021-02-25T15:09:10.735Z] -- Detecting C compile features - done [2021-02-25T15:09:10.736Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-02-25T15:09:10.736Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-02-25T15:09:10.736Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-02-25T15:09:10.736Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-02-25T15:09:10.736Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-02-25T15:09:10.736Z] -- C SDK 0.0.0 for Linux [2021-02-25T15:09:10.736Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-02-25T15:09:10.736Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-02-25T15:09:11.010Z] -- Found Curses: /usr/lib/libcurses.so [2021-02-25T15:09:11.010Z] -- Configuring done [2021-02-25T15:09:11.285Z] -- Generating done [2021-02-25T15:09:11.285Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-02-25T15:09:11.285Z] + make [2021-02-25T15:09:11.285Z] + tee debug.log [2021-02-25T15:09:11.285Z] Scanning dependencies of target csdk [2021-02-25T15:09:11.560Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-02-25T15:09:11.833Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-02-25T15:09:12.108Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-02-25T15:09:12.708Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-02-25T15:09:12.982Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-02-25T15:09:13.257Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-02-25T15:09:13.530Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-02-25T15:09:14.125Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-02-25T15:09:14.403Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-02-25T15:09:14.677Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-02-25T15:09:14.951Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-02-25T15:09:15.225Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-02-25T15:09:15.225Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-02-25T15:09:15.497Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-02-25T15:09:16.092Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-02-25T15:09:16.364Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-02-25T15:09:16.638Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-02-25T15:09:16.912Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-02-25T15:09:17.185Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-02-25T15:09:17.780Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-02-25T15:09:18.056Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-02-25T15:09:18.331Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-02-25T15:09:18.331Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-02-25T15:09:18.609Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-02-25T15:09:18.881Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-02-25T15:09:19.154Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-02-25T15:09:19.428Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-02-25T15:09:19.700Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-02-25T15:09:19.700Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-02-25T15:09:20.318Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-02-25T15:09:20.318Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-02-25T15:09:20.913Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-02-25T15:09:20.913Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-02-25T15:09:21.887Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-02-25T15:09:22.160Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-02-25T15:09:22.432Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-02-25T15:09:22.704Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-02-25T15:09:22.977Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-02-25T15:09:23.957Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-02-25T15:09:24.555Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-02-25T15:09:25.156Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-02-25T15:09:25.428Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-02-25T15:09:25.702Z] [ 72%] Linking C shared library libcsdk.so [2021-02-25T15:09:25.702Z] [ 72%] Built target csdk [2021-02-25T15:09:25.702Z] Scanning dependencies of target template [2021-02-25T15:09:25.980Z] [ 74%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-02-25T15:09:25.980Z] [ 76%] Linking C executable template [2021-02-25T15:09:26.253Z] [ 76%] Built target template [2021-02-25T15:09:26.253Z] Scanning dependencies of target device-counter [2021-02-25T15:09:26.253Z] [ 77%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-02-25T15:09:26.527Z] [ 79%] Linking C executable device-counter [2021-02-25T15:09:26.802Z] [ 79%] Built target device-counter [2021-02-25T15:09:26.802Z] Scanning dependencies of target device-random [2021-02-25T15:09:26.802Z] [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-02-25T15:09:27.073Z] [ 83%] Linking C executable device-random [2021-02-25T15:09:27.346Z] [ 83%] Built target device-random [2021-02-25T15:09:27.346Z] Scanning dependencies of target device-gyro [2021-02-25T15:09:27.346Z] [ 84%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-02-25T15:09:27.619Z] [ 86%] Linking C executable device-gyro [2021-02-25T15:09:27.892Z] [ 86%] Built target device-gyro [2021-02-25T15:09:27.892Z] Scanning dependencies of target device-bitfields [2021-02-25T15:09:27.892Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-02-25T15:09:28.166Z] [ 89%] Linking C executable device-bitfields [2021-02-25T15:09:28.166Z] [ 89%] Built target device-bitfields [2021-02-25T15:09:28.443Z] Scanning dependencies of target template-discovery [2021-02-25T15:09:28.444Z] [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-02-25T15:09:28.720Z] [ 93%] Linking C executable template-discovery [2021-02-25T15:09:28.720Z] [ 93%] Built target template-discovery [2021-02-25T15:09:28.720Z] Scanning dependencies of target device-file [2021-02-25T15:09:28.995Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-02-25T15:09:29.269Z] [ 96%] Linking C executable device-file [2021-02-25T15:09:29.269Z] [ 96%] Built target device-file [2021-02-25T15:09:29.269Z] Scanning dependencies of target device-terminal [2021-02-25T15:09:29.269Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-02-25T15:09:29.867Z] [100%] Linking C executable device-terminal [2021-02-25T15:09:29.867Z] [100%] Built target device-terminal [2021-02-25T15:09:29.867Z] make: Entering directory '/tmp/sdk/build/release' [2021-02-25T15:09:29.867Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-02-25T15:09:30.143Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-25T15:09:30.143Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-25T15:09:30.143Z] [ 72%] Built target csdk [2021-02-25T15:09:30.143Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-25T15:09:30.143Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-25T15:09:30.143Z] [ 76%] Built target template [2021-02-25T15:09:30.143Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-25T15:09:30.143Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-25T15:09:30.143Z] [ 79%] Built target device-counter [2021-02-25T15:09:30.143Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-25T15:09:30.143Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-25T15:09:30.143Z] [ 83%] Built target device-random [2021-02-25T15:09:30.143Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-25T15:09:30.143Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-25T15:09:30.143Z] [ 86%] Built target device-gyro [2021-02-25T15:09:30.143Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-25T15:09:30.416Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-25T15:09:30.416Z] [ 89%] Built target device-bitfields [2021-02-25T15:09:30.416Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-25T15:09:30.416Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-25T15:09:30.416Z] [ 93%] Built target template-discovery [2021-02-25T15:09:30.416Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-25T15:09:30.416Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-25T15:09:30.416Z] [ 96%] Built target device-file [2021-02-25T15:09:30.416Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-25T15:09:30.416Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-25T15:09:30.416Z] [100%] Built target device-terminal [2021-02-25T15:09:30.416Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-02-25T15:09:30.416Z] Install the project... [2021-02-25T15:09:30.416Z] -- Install configuration: "Release" [2021-02-25T15:09:30.416Z] -- Installing: /usr/local/lib/libcsdk.so [2021-02-25T15:09:30.416Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-02-25T15:09:30.416Z] -- Up-to-date: /usr/local/include [2021-02-25T15:09:30.416Z] -- Installing: /usr/local/include/edgex [2021-02-25T15:09:30.416Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-02-25T15:09:30.416Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-02-25T15:09:30.416Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-02-25T15:09:30.416Z] -- Installing: /usr/local/include/edgex/devices.h [2021-02-25T15:09:30.416Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-02-25T15:09:30.416Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-02-25T15:09:30.416Z] -- Installing: /usr/local/include/devsdk [2021-02-25T15:09:30.416Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-02-25T15:09:30.416Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-02-25T15:09:30.416Z] -- Installing: /usr/local/include/iot [2021-02-25T15:09:30.416Z] -- Installing: /usr/local/include/iot/json.h [2021-02-25T15:09:30.416Z] -- Installing: /usr/local/include/iot/container.h [2021-02-25T15:09:30.416Z] -- Installing: /usr/local/include/iot/component.h [2021-02-25T15:09:30.416Z] -- Installing: /usr/local/include/iot/typecode.h [2021-02-25T15:09:30.416Z] -- Installing: /usr/local/include/iot/iot.h [2021-02-25T15:09:30.416Z] -- Installing: /usr/local/include/iot/time.h [2021-02-25T15:09:30.416Z] -- Installing: /usr/local/include/iot/hash.h [2021-02-25T15:09:30.416Z] -- Installing: /usr/local/include/iot/logger.h [2021-02-25T15:09:30.416Z] -- Installing: /usr/local/include/iot/os [2021-02-25T15:09:30.416Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-02-25T15:09:30.416Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-02-25T15:09:30.416Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-02-25T15:09:30.416Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-02-25T15:09:30.416Z] -- Installing: /usr/local/include/iot/data.h [2021-02-25T15:09:30.416Z] -- Installing: /usr/local/include/iot/thread.h [2021-02-25T15:09:30.416Z] -- Installing: /usr/local/include/iot/os.h [2021-02-25T15:09:30.416Z] -- Installing: /usr/local/include/iot/base64.h [2021-02-25T15:09:30.416Z] -- Installing: /usr/local/include/iot/defs.h [2021-02-25T15:09:30.416Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-02-25T15:09:30.416Z] -- Installing: /usr/local/include/iot/config.h [2021-02-25T15:09:30.416Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-02-25T15:09:30.416Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-02-25T15:09:30.416Z] make: Leaving directory '/tmp/sdk/build/release' [2021-02-25T15:09:33.040Z] Removing intermediate container bf8d7a3a6fed [2021-02-25T15:09:33.040Z] ---> d88b4b8adfb5 [2021-02-25T15:09:33.040Z] Step 14/21 : FROM ${BASE} [2021-02-25T15:09:33.040Z] ---> b23d30803547 [2021-02-25T15:09:33.040Z] Step 15/21 : LABEL maintainer="IOTech " [2021-02-25T15:09:33.040Z] ---> Running in 8470d5a2da58 [2021-02-25T15:09:33.312Z] Removing intermediate container 8470d5a2da58 [2021-02-25T15:09:33.312Z] ---> 982c8bf15667 [2021-02-25T15:09:33.312Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2021-02-25T15:09:33.312Z] ---> Running in dce5da8627d7 [2021-02-25T15:09:34.294Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2021-02-25T15:09:35.269Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2021-02-25T15:09:35.539Z] (1/3) Installing curl (7.64.0-r5) [2021-02-25T15:09:35.814Z] (2/3) Installing libuuid (2.33-r0) [2021-02-25T15:09:35.814Z] (3/3) Installing wget (1.20.3-r0) [2021-02-25T15:09:35.814Z] Executing busybox-1.29.3-r10.trigger [2021-02-25T15:09:35.814Z] OK: 281 MiB in 78 packages [2021-02-25T15:09:37.252Z] Removing intermediate container dce5da8627d7 [2021-02-25T15:09:37.252Z] ---> 876257281f1b [2021-02-25T15:09:37.252Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-02-25T15:09:37.848Z] ---> f1511b67ad93 [2021-02-25T15:09:37.848Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-02-25T15:09:38.449Z] ---> d8ecd66a6c05 [2021-02-25T15:09:38.449Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-02-25T15:09:39.431Z] ---> edfc6454ca35 [2021-02-25T15:09:39.431Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-02-25T15:09:40.031Z] ---> b50ee62def16 [2021-02-25T15:09:40.031Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-02-25T15:09:40.629Z] ---> 909d0548822d [2021-02-25T15:09:40.630Z] Successfully built 909d0548822d [2021-02-25T15:09:40.904Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-25T15:09:41.885Z] + docker inspect -f . ci-base-image-arm64 [2021-02-25T15:09:41.886Z] . [Pipeline] withDockerContainer [2021-02-25T15:09:42.183Z] prd-ubuntu18.04-docker-arm64-4c-16g-27667 does not seem to be running inside a container [2021-02-25T15:09:42.274Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-02-25T15:09:43.884Z] $ docker top d08881b3c6b4322f4b02739a8ac913d15d7781d412631cd8f147441c5fe70148 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-25T15:09:45.007Z] + make test [2021-02-25T15:09:45.007Z] echo "make test" [2021-02-25T15:09:45.007Z] make test [Pipeline] } [2021-02-25T15:09:45.044Z] $ docker stop --time=1 d08881b3c6b4322f4b02739a8ac913d15d7781d412631cd8f147441c5fe70148 [2021-02-25T15:09:46.997Z] $ docker rm -f d08881b3c6b4322f4b02739a8ac913d15d7781d412631cd8f147441c5fe70148 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-25T15:09:48.260Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-02-25T15:09:48.630Z] + ls -al . [2021-02-25T15:09:48.631Z] total 192 [2021-02-25T15:09:48.631Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 25 15:07 . [2021-02-25T15:09:48.631Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 25 15:07 .. [2021-02-25T15:09:48.631Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 25 15:07 .git [2021-02-25T15:09:48.631Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 25 15:07 .github [2021-02-25T15:09:48.631Z] -rw-rw-r-- 1 jenkins jenkins 176 Feb 25 15:07 .gitignore [2021-02-25T15:09:48.631Z] -rw-rw-r-- 1 jenkins jenkins 3104 Feb 25 15:07 Attribution.txt [2021-02-25T15:09:48.631Z] -rw-rw-r-- 1 jenkins jenkins 6735 Feb 25 15:07 CHANGES [2021-02-25T15:09:48.631Z] -rw-rw-r-- 1 jenkins jenkins 108574 Feb 25 15:07 Doxyfile [2021-02-25T15:09:48.631Z] -rw-rw-r-- 1 jenkins jenkins 784 Feb 25 15:07 Jenkinsfile [2021-02-25T15:09:48.631Z] -rw-rw-r-- 1 jenkins jenkins 10174 Feb 25 15:07 LICENSE [2021-02-25T15:09:48.631Z] -rw-rw-r-- 1 jenkins jenkins 449 Feb 25 15:07 Makefile [2021-02-25T15:09:48.631Z] -rw-rw-r-- 1 jenkins jenkins 2697 Feb 25 15:07 README.md [2021-02-25T15:09:48.631Z] -rw-rw-r-- 1 jenkins jenkins 6341 Feb 25 15:07 README.v2.md [2021-02-25T15:09:48.631Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 25 15:02 VERSION [2021-02-25T15:09:48.631Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 25 15:07 docs [2021-02-25T15:09:48.631Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 25 15:07 include [2021-02-25T15:09:48.631Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 25 15:07 scripts [2021-02-25T15:09:48.631Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 25 15:07 src [Pipeline] isUnix [Pipeline] sh [2021-02-25T15:09:49.005Z] + 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=00a506443216ba0673fc04576c520cb67fd988e0 --label arch=arm64 --label version=0.0.0 . [2021-02-25T15:09:49.604Z] Sending build context to Docker daemon 2.462MB [2021-02-25T15:09:49.604Z] Step 1/15 : ARG BASE=alpine:3.12 [2021-02-25T15:09:49.604Z] Step 2/15 : FROM ${BASE} [2021-02-25T15:09:49.604Z] ---> 909d0548822d [2021-02-25T15:09:49.604Z] Step 3/15 : LABEL maintainer="IOTech " [2021-02-25T15:09:49.604Z] ---> Running in 1802a779b915 [2021-02-25T15:09:50.202Z] Removing intermediate container 1802a779b915 [2021-02-25T15:09:50.202Z] ---> 154977affa0b [2021-02-25T15:09:50.202Z] 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 [2021-02-25T15:09:50.485Z] ---> Running in 199feaad7ee3 [2021-02-25T15:09:51.468Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2021-02-25T15:09:52.063Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2021-02-25T15:09:52.659Z] (1/6) Installing ncurses-dev (6.1_p20190105-r0) [2021-02-25T15:09:52.659Z] (2/6) Installing libblkid (2.33-r0) [2021-02-25T15:09:52.933Z] (3/6) Installing libfdisk (2.33-r0) [2021-02-25T15:09:53.205Z] (4/6) Installing libmount (2.33-r0) [2021-02-25T15:09:53.477Z] (5/6) Installing libsmartcols (2.33-r0) [2021-02-25T15:09:53.477Z] (6/6) Installing util-linux-dev (2.33-r0) [2021-02-25T15:09:54.457Z] Executing busybox-1.29.3-r10.trigger [2021-02-25T15:09:54.457Z] OK: 286 MiB in 84 packages [2021-02-25T15:09:55.890Z] Removing intermediate container 199feaad7ee3 [2021-02-25T15:09:55.890Z] ---> 73f05fc01afb [2021-02-25T15:09:55.890Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2021-02-25T15:09:56.489Z] ---> 0b613ebd9a6e [2021-02-25T15:09:56.489Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2021-02-25T15:09:57.095Z] ---> 12138bee7c77 [2021-02-25T15:09:57.095Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2021-02-25T15:09:58.076Z] ---> 9630e0ff7937 [2021-02-25T15:09:58.076Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2021-02-25T15:09:58.673Z] ---> c1214593286c [2021-02-25T15:09:58.673Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2021-02-25T15:09:59.272Z] ---> 9fa93b2f81e5 [2021-02-25T15:09:59.272Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2021-02-25T15:10:00.251Z] ---> 65bb00b06bc1 [2021-02-25T15:10:00.251Z] Step 11/15 : WORKDIR /edgex-c-sdk [2021-02-25T15:10:00.251Z] ---> Running in 61c165486ca2 [2021-02-25T15:10:00.846Z] Removing intermediate container 61c165486ca2 [2021-02-25T15:10:00.846Z] ---> 1c9beb0f29d0 [2021-02-25T15:10:00.846Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-02-25T15:10:00.846Z] ---> Running in 0d283efa2b5c [2021-02-25T15:10:01.446Z] Removing intermediate container 0d283efa2b5c [2021-02-25T15:10:01.446Z] ---> a0b05268156f [2021-02-25T15:10:01.446Z] Step 13/15 : LABEL arch=arm64 [2021-02-25T15:10:01.446Z] ---> Running in 753af2004dc2 [2021-02-25T15:10:02.043Z] Removing intermediate container 753af2004dc2 [2021-02-25T15:10:02.043Z] ---> cb5582e7c52f [2021-02-25T15:10:02.043Z] Step 14/15 : LABEL git_sha=00a506443216ba0673fc04576c520cb67fd988e0 [2021-02-25T15:10:02.043Z] ---> Running in d08f177a4eed [2021-02-25T15:10:02.644Z] Removing intermediate container d08f177a4eed [2021-02-25T15:10:02.644Z] ---> 69e4990df08b [2021-02-25T15:10:02.644Z] Step 15/15 : LABEL version=0.0.0 [2021-02-25T15:10:02.644Z] ---> Running in c11d21c7ff7c [2021-02-25T15:10:03.239Z] Removing intermediate container c11d21c7ff7c [2021-02-25T15:10:03.239Z] ---> 70f13fd309de [2021-02-25T15:10:03.239Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-02-25T15:10:03.239Z] Successfully built 70f13fd309de [2021-02-25T15:10:03.239Z] 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 [2021-02-25T15:10:08.192Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-25T15:10:10.298Z] ---> package-listing.sh [2021-02-25T15:10:10.298Z] ++ tr '[:upper:]' '[:lower:]' [2021-02-25T15:10:10.298Z] ++ facter osfamily [2021-02-25T15:10:11.456Z] + OS_FAMILY=redhat [2021-02-25T15:10:11.456Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-327 [2021-02-25T15:10:11.456Z] + START_PACKAGES=/tmp/packages_start.txt [2021-02-25T15:10:11.456Z] + END_PACKAGES=/tmp/packages_end.txt [2021-02-25T15:10:11.456Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-02-25T15:10:11.456Z] + PACKAGES=/tmp/packages_start.txt [2021-02-25T15:10:11.456Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-327 ']' [2021-02-25T15:10:11.456Z] + PACKAGES=/tmp/packages_end.txt [2021-02-25T15:10:11.456Z] + case "${OS_FAMILY}" in [2021-02-25T15:10:11.456Z] + rpm -qa [2021-02-25T15:10:11.456Z] + sort [2021-02-25T15:10:27.361Z] + '[' -f /tmp/packages_start.txt ']' [2021-02-25T15:10:27.361Z] + '[' -f /tmp/packages_end.txt ']' [2021-02-25T15:10:27.361Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-02-25T15:10:27.361Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-327 ']' [2021-02-25T15:10:27.361Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-327/archives/ [2021-02-25T15:10:27.361Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-327/archives/ [Pipeline] echo [2021-02-25T15:10:27.454Z] 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-327/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-02-25T15:10:27.860Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-02-25T15:10:28.685Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-25T15:10:29.388Z] [2021-02-25T15:10:29.388Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-02-25T15:10:30.014Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-25T15:10:30.328Z] alpine: Pulling from edgex-lftools-log-publisher [2021-02-25T15:10:30.328Z] df20fa9351a1: Pulling fs layer [2021-02-25T15:10:30.328Z] 36b3adc4ff6f: Pulling fs layer [2021-02-25T15:10:30.328Z] 8ad3a11d3b57: Pulling fs layer [2021-02-25T15:10:30.328Z] 46f8f816bc3b: Pulling fs layer [2021-02-25T15:10:30.328Z] 93b61091891f: Pulling fs layer [2021-02-25T15:10:30.328Z] 93b9cdb0e59b: Pulling fs layer [2021-02-25T15:10:30.328Z] 5e14af77c1be: Pulling fs layer [2021-02-25T15:10:30.328Z] 01666e4c0597: Pulling fs layer [2021-02-25T15:10:30.328Z] aa168da1d23b: Pulling fs layer [2021-02-25T15:10:30.328Z] 46f8f816bc3b: Waiting [2021-02-25T15:10:30.328Z] 93b61091891f: Waiting [2021-02-25T15:10:30.328Z] 93b9cdb0e59b: Waiting [2021-02-25T15:10:30.328Z] 5e14af77c1be: Waiting [2021-02-25T15:10:30.328Z] aa168da1d23b: Waiting [2021-02-25T15:10:30.328Z] 01666e4c0597: Waiting [2021-02-25T15:10:30.328Z] 36b3adc4ff6f: Verifying Checksum [2021-02-25T15:10:30.328Z] 36b3adc4ff6f: Download complete [2021-02-25T15:10:30.635Z] 46f8f816bc3b: Verifying Checksum [2021-02-25T15:10:30.635Z] 46f8f816bc3b: Download complete [2021-02-25T15:10:30.635Z] df20fa9351a1: Verifying Checksum [2021-02-25T15:10:30.635Z] df20fa9351a1: Download complete [2021-02-25T15:10:30.635Z] 93b9cdb0e59b: Verifying Checksum [2021-02-25T15:10:30.635Z] 93b9cdb0e59b: Download complete [2021-02-25T15:10:31.198Z] 5e14af77c1be: Verifying Checksum [2021-02-25T15:10:31.198Z] 5e14af77c1be: Download complete [2021-02-25T15:10:31.198Z] 01666e4c0597: Verifying Checksum [2021-02-25T15:10:31.198Z] 01666e4c0597: Download complete [2021-02-25T15:10:31.198Z] 93b61091891f: Verifying Checksum [2021-02-25T15:10:31.198Z] 93b61091891f: Download complete [2021-02-25T15:10:32.766Z] df20fa9351a1: Pull complete [2021-02-25T15:10:33.102Z] 8ad3a11d3b57: Verifying Checksum [2021-02-25T15:10:33.102Z] 8ad3a11d3b57: Download complete [2021-02-25T15:10:33.102Z] 36b3adc4ff6f: Pull complete [2021-02-25T15:10:39.013Z] 8ad3a11d3b57: Pull complete [2021-02-25T15:10:39.440Z] 46f8f816bc3b: Pull complete [2021-02-25T15:10:40.852Z] 93b61091891f: Pull complete [2021-02-25T15:10:41.458Z] 93b9cdb0e59b: Pull complete [2021-02-25T15:10:41.871Z] 5e14af77c1be: Pull complete [2021-02-25T15:10:42.348Z] 01666e4c0597: Pull complete [2021-02-25T15:10:47.284Z] aa168da1d23b: Verifying Checksum [2021-02-25T15:10:47.284Z] aa168da1d23b: Download complete [2021-02-25T15:10:58.611Z] aa168da1d23b: Pull complete [2021-02-25T15:10:58.611Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-02-25T15:10:58.611Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-25T15:10:58.611Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-02-25T15:10:59.217Z] prd-centos7-docker-4c-2g-27664 does not seem to be running inside a container [2021-02-25T15:10:59.526Z] $ 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-327/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-327 -v /w/workspace/edgexfoundry_device-sdk-c_PR-327:/w/workspace/edgexfoundry_device-sdk-c_PR-327:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-327@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-327@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-02-25T15:11:06.999Z] $ docker top af68b08eed6d7c176fdac7e64e35a83e578d302083059e3f1283f63698675f15 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-25T15:11:08.843Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-02-25T15:11:09.848Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-02-25T15:11:10.398Z] + ls /var/log/sa-host [2021-02-25T15:11:10.398Z] + sadf -c /var/log/sa-host/sa23 [2021-02-25T15:11:10.398Z] file_magic: OK [2021-02-25T15:11:10.398Z] HZ: Using current value: 100 [2021-02-25T15:11:10.398Z] file_header: OK [2021-02-25T15:11:10.398Z] 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 [2021-02-25T15:11:10.398Z] Statistics: [2021-02-25T15:11:10.398Z] Hnuu...uuuununununu... [2021-02-25T15:11:10.398Z] File successfully converted to sysstat format version 12.2.1 [2021-02-25T15:11:10.398Z] + sadf -c /var/log/sa-host/sa25 [2021-02-25T15:11:10.398Z] file_magic: OK [2021-02-25T15:11:10.398Z] HZ: Using current value: 100 [2021-02-25T15:11:10.398Z] file_header: OK [2021-02-25T15:11:10.398Z] 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 [2021-02-25T15:11:10.398Z] Statistics: [2021-02-25T15:11:10.398Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-02-25T15:11:10.398Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-02-25T15:11:10.784Z] provisioning config files... [2021-02-25T15:11:11.110Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-327@tmp/config9207665098153675997tmp [Pipeline] { [Pipeline] echo [2021-02-25T15:11:11.298Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-25T15:11:12.568Z] ---> create-netrc.sh [Pipeline] } [2021-02-25T15:11:12.730Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-02-25T15:11:12.889Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-25T15:11:13.327Z] ---> python-tools-install.sh [Pipeline] echo [2021-02-25T15:11:13.403Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-25T15:11:14.169Z] ---> sudo-logs.sh [2021-02-25T15:11:14.169Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-02-25T15:11:14.306Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-25T15:11:16.207Z] ---> job-cost.sh [2021-02-25T15:11:16.482Z] lf-activate-venv: SKIPPING [2021-02-25T15:11:16.482Z] INFO: No Stack... [2021-02-25T15:11:17.983Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-02-25T15:11:18.626Z] INFO: Archiving Costs [Pipeline] echo [2021-02-25T15:11:19.073Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-25T15:11:20.390Z] ---> logs-deploy.sh [2021-02-25T15:11:20.390Z] lf-activate-venv: SKIPPING [2021-02-25T15:11:20.390Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-327/1 [2021-02-25T15:11:20.390Z] INFO: archiving workspace using pattern(s): [2021-02-25T15:11:22.632Z] Archives upload complete. [2021-02-25T15:11:22.903Z] INFO: archiving logs to Nexus