Pull request #317 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 ernestojeda for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 9404f27c8fd8c346ccc944563d262e964126f8a0+706af55e05cb2cdc0073fc9ec2061f045ee0028b (17901dd469e60451d329696995a229105ea2e95d) 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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-317/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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-317/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-16575’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-16568’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-16573’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-16579 in /w/workspace/edgexfoundry_device-sdk-c_PR-317 [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-317 # 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 > 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/317/head:refs/remotes/origin/PR-317 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 706af55e05cb2cdc0073fc9ec2061f045ee0028b into PR head commit 9404f27c8fd8c346ccc944563d262e964126f8a0 Merge succeeded, producing 9404f27c8fd8c346ccc944563d262e964126f8a0 Checking out Revision 9404f27c8fd8c346ccc944563d262e964126f8a0 (PR-317) > git config core.sparsecheckout # timeout=10 > git checkout -f 9404f27c8fd8c346ccc944563d262e964126f8a0 # 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 706af55e05cb2cdc0073fc9ec2061f045ee0028b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9404f27c8fd8c346ccc944563d262e964126f8a0 # timeout=10 Commit message: "ci: standardize dockerfiles" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-17T19:09:27.685Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-17T19:09:28.159Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-17T19:09:28.316Z] ========================================================= [2020-12-17T19:09:28.316Z] EdgeX Global Pipelines Version Info [2020-12-17T19:09:28.316Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-17T19:09:29.848Z] ------------------- [2020-12-17T19:09:29.848Z] stable info: [2020-12-17T19:09:29.848Z] ------------------- [2020-12-17T19:09:29.849Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-17T19:09:29.849Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2020-12-17T19:09:29.849Z] Message: update stable to v1.0.173 [2020-12-17T19:09:30.794Z] ------------------- [2020-12-17T19:09:30.794Z] experimental info: [2020-12-17T19:09:30.794Z] ------------------- [2020-12-17T19:09:30.794Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-12-17T19:09:30.794Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2020-12-17T19:09:30.794Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-17T19:09:31.148Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2020-12-17T19:09:31.292Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2020-12-17T19:09:31.448Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-17T19:09:31.560Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-17T19:09:31.674Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-17T19:09:31.855Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo [2020-12-17T19:09:31.986Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2020-12-17T19:09:32.113Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2020-12-17T19:09:32.235Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-17T19:09:32.352Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-c [Pipeline] echo [2020-12-17T19:09:32.470Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-17T19:09:32.602Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-17T19:09:32.724Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-12-17T19:09:32.884Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-12-17T19:09:33.087Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-12-17T19:09:33.233Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-12-17T19:09:33.476Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-17T19:09:33.625Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2020-12-17T19:09:33.756Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-317 [Pipeline] echo [2020-12-17T19:09:33.890Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-317 [Pipeline] echo [2020-12-17T19:09:34.013Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-317 [Pipeline] echo [2020-12-17T19:09:34.140Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9404f27c8fd8c346ccc944563d262e964126f8a0 [Pipeline] echo [2020-12-17T19:09:34.254Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9404f27 [Pipeline] echo [2020-12-17T19:09:34.435Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-17T19:09:34.711Z] provisioning config files... [2020-12-17T19:09:34.738Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-317@tmp/config6790727763585532196tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-17T19:09:35.155Z] ---> docker-login.sh [2020-12-17T19:09:35.155Z] nexus3.edgexfoundry.org:10001 [2020-12-17T19:09:35.419Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-17T19:09:35.419Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-17T19:09:35.419Z] Configure a credential helper to remove this warning. See [2020-12-17T19:09:35.419Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-17T19:09:35.419Z] [2020-12-17T19:09:35.419Z] Login Succeeded [2020-12-17T19:09:35.419Z] nexus3.edgexfoundry.org:10002 [2020-12-17T19:09:35.685Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-17T19:09:35.685Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-17T19:09:35.685Z] Configure a credential helper to remove this warning. See [2020-12-17T19:09:35.685Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-17T19:09:35.685Z] [2020-12-17T19:09:35.685Z] Login Succeeded [2020-12-17T19:09:35.685Z] nexus3.edgexfoundry.org:10003 [2020-12-17T19:09:35.685Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-17T19:09:35.949Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-17T19:09:35.949Z] Configure a credential helper to remove this warning. See [2020-12-17T19:09:35.949Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-17T19:09:35.949Z] [2020-12-17T19:09:35.949Z] Login Succeeded [2020-12-17T19:09:35.949Z] nexus3.edgexfoundry.org:10004 [2020-12-17T19:09:35.949Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-17T19:09:35.949Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-17T19:09:35.949Z] Configure a credential helper to remove this warning. See [2020-12-17T19:09:35.949Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-17T19:09:35.949Z] [2020-12-17T19:09:35.949Z] Login Succeeded [2020-12-17T19:09:35.949Z] docker.io [2020-12-17T19:09:36.212Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-17T19:09:36.474Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-17T19:09:36.474Z] Configure a credential helper to remove this warning. See [2020-12-17T19:09:36.474Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-17T19:09:36.474Z] [2020-12-17T19:09:36.474Z] Login Succeeded [2020-12-17T19:09:36.474Z] ---> docker-login.sh ends [Pipeline] } [2020-12-17T19:09:36.504Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-12-17T19:09:37.773Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-17T19:09:37.773Z] [2020-12-17T19:09:37.773Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-17T19:09:38.205Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-17T19:09:38.205Z] latest: Pulling from edgex-devops/git-semver [2020-12-17T19:09:38.205Z] 31603596830f: Pulling fs layer [2020-12-17T19:09:38.205Z] 2a8b12db71e7: Pulling fs layer [2020-12-17T19:09:38.205Z] 6ca5941a6612: Pulling fs layer [2020-12-17T19:09:38.205Z] ecc8261a40a4: Pulling fs layer [2020-12-17T19:09:38.205Z] ecc8261a40a4: Waiting [2020-12-17T19:09:38.205Z] 2a8b12db71e7: Verifying Checksum [2020-12-17T19:09:38.205Z] 2a8b12db71e7: Download complete [2020-12-17T19:09:38.205Z] 31603596830f: Verifying Checksum [2020-12-17T19:09:38.205Z] 31603596830f: Download complete [2020-12-17T19:09:38.474Z] 6ca5941a6612: Verifying Checksum [2020-12-17T19:09:38.474Z] 6ca5941a6612: Download complete [2020-12-17T19:09:38.474Z] ecc8261a40a4: Verifying Checksum [2020-12-17T19:09:38.474Z] ecc8261a40a4: Download complete [2020-12-17T19:09:38.737Z] 31603596830f: Pull complete [2020-12-17T19:09:38.737Z] 2a8b12db71e7: Pull complete [2020-12-17T19:09:39.688Z] 6ca5941a6612: Pull complete [2020-12-17T19:09:39.688Z] ecc8261a40a4: Pull complete [2020-12-17T19:09:39.688Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-17T19:09:39.688Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-17T19:09:39.688Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-17T19:09:39.913Z] prd-centos7-docker-4c-2g-16579 does not seem to be running inside a container [2020-12-17T19:09:39.960Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-317 -v /w/workspace/edgexfoundry_device-sdk-c_PR-317:/w/workspace/edgexfoundry_device-sdk-c_PR-317:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-317@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-317@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-17T19:09:41.784Z] $ docker top e2a2af685f31382a18ebbe8aadb9683b72e22135023e18b38163d4535d5f1e1d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-17T19:09:42.232Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-17T19:09:42.232Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-17T19:09:42.440Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-17T19:09:42.443Z] $ docker exec e2a2af685f31382a18ebbe8aadb9683b72e22135023e18b38163d4535d5f1e1d ssh-agent [2020-12-17T19:09:42.726Z] SSH_AUTH_SOCK=/tmp/ssh-Jg4nTuC320rd/agent.12 [2020-12-17T19:09:42.726Z] SSH_AGENT_PID=17 [2020-12-17T19:09:42.737Z] Running ssh-add (command line suppressed) [2020-12-17T19:09:42.859Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-317@tmp/private_key_6266772873724560092.key (/w/workspace/edgexfoundry_device-sdk-c_PR-317@tmp/private_key_6266772873724560092.key) [2020-12-17T19:09:42.916Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-17T19:09:43.285Z] + git tag --points-at HEAD [Pipeline] } [2020-12-17T19:09:43.443Z] $ docker exec --env ******** --env ******** e2a2af685f31382a18ebbe8aadb9683b72e22135023e18b38163d4535d5f1e1d ssh-agent -k [2020-12-17T19:09:43.566Z] unset SSH_AUTH_SOCK; [2020-12-17T19:09:43.567Z] unset SSH_AGENT_PID; [2020-12-17T19:09:43.567Z] echo Agent pid 17 killed; [2020-12-17T19:09:43.619Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-17T19:09:43.811Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-17T19:09:43.811Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-17T19:09:43.980Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-17T19:09:43.982Z] $ docker exec e2a2af685f31382a18ebbe8aadb9683b72e22135023e18b38163d4535d5f1e1d ssh-agent [2020-12-17T19:09:44.141Z] SSH_AUTH_SOCK=/tmp/ssh-aaSo36dr9XE5/agent.45 [2020-12-17T19:09:44.142Z] SSH_AGENT_PID=50 [2020-12-17T19:09:44.149Z] Running ssh-add (command line suppressed) [2020-12-17T19:09:44.266Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-317@tmp/private_key_8254733740330044635.key (/w/workspace/edgexfoundry_device-sdk-c_PR-317@tmp/private_key_8254733740330044635.key) [2020-12-17T19:09:44.319Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-17T19:09:44.690Z] + git semver init [2020-12-17T19:09:44.690Z] # -> Open(): unable to determine branch for HEAD [2020-12-17T19:09:44.690Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-317/.git [2020-12-17T19:09:44.690Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-317 [2020-12-17T19:09:44.690Z] # $SEMVER_REMOTE_NAME = origin [2020-12-17T19:09:44.690Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-17T19:09:44.690Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-17T19:09:44.690Z] # $SEMVER_BRANCH = PR-317 [2020-12-17T19:09:44.690Z] # $SEMVER_TEMP = /tmp/semver-287202665 [2020-12-17T19:09:44.690Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2020-12-17T19:09:45.638Z] # '/tmp/semver-287202665' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-317/.semver' [2020-12-17T19:09:45.638Z] # -> Force: false [2020-12-17T19:09:45.638Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-317/.semver [Pipeline] } [2020-12-17T19:09:45.657Z] $ docker exec --env ******** --env ******** e2a2af685f31382a18ebbe8aadb9683b72e22135023e18b38163d4535d5f1e1d ssh-agent -k [2020-12-17T19:09:45.766Z] unset SSH_AUTH_SOCK; [2020-12-17T19:09:45.767Z] unset SSH_AGENT_PID; [2020-12-17T19:09:45.767Z] echo Agent pid 50 killed; [2020-12-17T19:09:45.813Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-17T19:09:46.345Z] + git semver [Pipeline] } [2020-12-17T19:09:46.376Z] $ docker stop --time=1 e2a2af685f31382a18ebbe8aadb9683b72e22135023e18b38163d4535d5f1e1d [2020-12-17T19:09:47.787Z] $ docker rm -f e2a2af685f31382a18ebbe8aadb9683b72e22135023e18b38163d4535d5f1e1d [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-17T19:09:48.312Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-17T19:09:48.710Z] Stashed 1 file(s) [Pipeline] echo [2020-12-17T19:09:48.728Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-12-17T19:10:04.318Z] Still waiting to schedule task [2020-12-17T19:10:04.318Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-12-17T19:10:04.343Z] Still waiting to schedule task [2020-12-17T19:10:04.343Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-12-17T19:11:59.925Z] Running on prd-centos7-docker-4c-2g-16582 in /w/workspace/edgexfoundry_device-sdk-c_PR-317 [Pipeline] { [Pipeline] ws [2020-12-17T19:12:00.026Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2020-12-17T19:12:02.751Z] using credential edgex-jenkins-ssh [2020-12-17T19:12:02.808Z] Cloning the remote Git repository [2020-12-17T19:12:02.510Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2020-12-17T19:12:02.582Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2020-12-17T19:12:02.652Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-12-17T19:12:02.652Z] > git --version # timeout=10 [2020-12-17T19:12:02.659Z] > git --version # 'git version 2.24.3' [2020-12-17T19:12:02.660Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-17T19:12:02.685Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-17T19:12:06.314Z] Merging remotes/origin/master commit 706af55e05cb2cdc0073fc9ec2061f045ee0028b into PR head commit 9404f27c8fd8c346ccc944563d262e964126f8a0 [2020-12-17T19:12:06.413Z] Merge succeeded, producing 9404f27c8fd8c346ccc944563d262e964126f8a0 [2020-12-17T19:12:06.414Z] Checking out Revision 9404f27c8fd8c346ccc944563d262e964126f8a0 (PR-317) [2020-12-17T19:12:05.711Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-12-17T19:12:05.717Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-17T19:12:05.730Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-12-17T19:12:05.743Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-12-17T19:12:05.743Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-17T19:12:05.748Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/317/head:refs/remotes/origin/PR-317 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-17T19:12:06.282Z] > git config core.sparsecheckout # timeout=10 [2020-12-17T19:12:06.288Z] > git checkout -f 9404f27c8fd8c346ccc944563d262e964126f8a0 # timeout=10 [2020-12-17T19:12:06.346Z] > git remote # timeout=10 [2020-12-17T19:12:06.352Z] > git config --get remote.origin.url # timeout=10 [2020-12-17T19:12:06.358Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-17T19:12:06.362Z] > git merge 706af55e05cb2cdc0073fc9ec2061f045ee0028b # timeout=10 [2020-12-17T19:12:06.373Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-17T19:12:06.383Z] > git config core.sparsecheckout # timeout=10 [2020-12-17T19:12:06.392Z] > git checkout -f 9404f27c8fd8c346ccc944563d262e964126f8a0 # timeout=10 [2020-12-17T19:12:10.133Z] Commit message: "ci: standardize dockerfiles" [2020-12-17T19:12:10.163Z] > git --version # timeout=10 [2020-12-17T19:12:10.169Z] > git --version # 'git version 2.24.3' [2020-12-17T19:12:10.176Z] fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-17T19:12:11.728Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-17T19:12:12.086Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-17T19:12:12.411Z] + sudo service docker restart [2020-12-17T19:12:12.411Z] + true [2020-12-17T19:12:12.411Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-17T19:12:13.504Z] provisioning config files... [2020-12-17T19:12:13.534Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config268712735333769012tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-17T19:12:13.956Z] ---> docker-login.sh [2020-12-17T19:12:13.956Z] nexus3.edgexfoundry.org:10001 [2020-12-17T19:12:14.219Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-17T19:12:14.219Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-17T19:12:14.219Z] Configure a credential helper to remove this warning. See [2020-12-17T19:12:14.219Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-17T19:12:14.219Z] [2020-12-17T19:12:14.219Z] Login Succeeded [2020-12-17T19:12:14.219Z] nexus3.edgexfoundry.org:10002 [2020-12-17T19:12:14.483Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-17T19:12:14.483Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-17T19:12:14.483Z] Configure a credential helper to remove this warning. See [2020-12-17T19:12:14.483Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-17T19:12:14.483Z] [2020-12-17T19:12:14.483Z] Login Succeeded [2020-12-17T19:12:14.483Z] nexus3.edgexfoundry.org:10003 [2020-12-17T19:12:14.483Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-17T19:12:14.768Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-17T19:12:14.768Z] Configure a credential helper to remove this warning. See [2020-12-17T19:12:14.768Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-17T19:12:14.768Z] [2020-12-17T19:12:14.768Z] Login Succeeded [2020-12-17T19:12:14.768Z] nexus3.edgexfoundry.org:10004 [2020-12-17T19:12:14.768Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-17T19:12:15.035Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-17T19:12:15.035Z] Configure a credential helper to remove this warning. See [2020-12-17T19:12:15.035Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-17T19:12:15.035Z] [2020-12-17T19:12:15.035Z] Login Succeeded [2020-12-17T19:12:15.035Z] docker.io [2020-12-17T19:12:15.035Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-17T19:12:15.298Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-17T19:12:15.298Z] Configure a credential helper to remove this warning. See [2020-12-17T19:12:15.298Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-17T19:12:15.298Z] [2020-12-17T19:12:15.298Z] Login Succeeded [2020-12-17T19:12:15.298Z] ---> docker-login.sh ends [Pipeline] } [2020-12-17T19:12:15.330Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-17T19:12:15.868Z] ========================================================= [2020-12-17T19:12:15.868Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2020-12-17T19:12:15.868Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-17T19:12:16.253Z] + 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 . [2020-12-17T19:12:16.519Z] Sending build context to Docker daemon 2.386MB [2020-12-17T19:12:16.519Z] Step 1/21 : ARG BASE=alpine:3.12 [2020-12-17T19:12:16.519Z] Step 2/21 : FROM ${BASE} as builder [2020-12-17T19:12:16.519Z] latest: Pulling from edgex-devops/edgex-gcc-base [2020-12-17T19:12:16.519Z] e7c96db7181b: Pulling fs layer [2020-12-17T19:12:16.519Z] 4c13bbce0fe7: Pulling fs layer [2020-12-17T19:12:16.519Z] 6059c847ac2f: Pulling fs layer [2020-12-17T19:12:16.519Z] 4c13bbce0fe7: Verifying Checksum [2020-12-17T19:12:16.519Z] 4c13bbce0fe7: Download complete [2020-12-17T19:12:17.100Z] e7c96db7181b: Download complete [2020-12-17T19:12:17.100Z] e7c96db7181b: Pull complete [2020-12-17T19:12:17.385Z] 4c13bbce0fe7: Pull complete [2020-12-17T19:12:18.785Z] 6059c847ac2f: Verifying Checksum [2020-12-17T19:12:18.785Z] 6059c847ac2f: Download complete [2020-12-17T19:12:24.150Z] 6059c847ac2f: Pull complete [2020-12-17T19:12:24.150Z] Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e [2020-12-17T19:12:24.150Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2020-12-17T19:12:24.150Z] ---> 5eabd8fd8ba2 [2020-12-17T19:12:24.150Z] Step 3/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev [2020-12-17T19:12:25.116Z] ---> Running in 3be5860a2331 [2020-12-17T19:12:26.075Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2020-12-17T19:12:26.653Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2020-12-17T19:12:27.231Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2020-12-17T19:12:27.231Z] (2/8) Installing libuuid (2.33-r0) [2020-12-17T19:12:27.497Z] (3/8) Installing libblkid (2.33-r0) [2020-12-17T19:12:27.497Z] (4/8) Installing libfdisk (2.33-r0) [2020-12-17T19:12:27.762Z] (5/8) Installing libmount (2.33-r0) [2020-12-17T19:12:27.762Z] (6/8) Installing libsmartcols (2.33-r0) [2020-12-17T19:12:28.027Z] (7/8) Installing util-linux-dev (2.33-r0) [2020-12-17T19:12:28.292Z] (8/8) Installing wget (1.20.3-r0) [2020-12-17T19:12:28.558Z] Executing busybox-1.29.3-r10.trigger [2020-12-17T19:12:28.558Z] OK: 272 MiB in 83 packages [2020-12-17T19:12:29.140Z] Removing intermediate container 3be5860a2331 [2020-12-17T19:12:29.140Z] ---> d902598a67b3 [2020-12-17T19:12:29.140Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2020-12-17T19:12:29.140Z] ---> Running in 531200bfbc00 [2020-12-17T19:12:29.405Z] Removing intermediate container 531200bfbc00 [2020-12-17T19:12:29.405Z] ---> bea0fec714a5 [2020-12-17T19:12:29.405Z] Step 5/21 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install [2020-12-17T19:12:29.405Z] ---> Running in 36c516279590 [2020-12-17T19:12:29.985Z] --2020-12-17 19:12:29-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2020-12-17T19:12:29.985Z] Resolving github.com... 140.82.113.4 [2020-12-17T19:12:29.985Z] Connecting to github.com|140.82.113.4|:443... connected. [2020-12-17T19:12:29.985Z] HTTP request sent, awaiting response... 302 Found [2020-12-17T19:12:29.985Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2020-12-17T19:12:29.985Z] --2020-12-17 19:12:29-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2020-12-17T19:12:29.985Z] Resolving codeload.github.com... 140.82.112.9 [2020-12-17T19:12:29.985Z] Connecting to codeload.github.com|140.82.112.9|:443... connected. [2020-12-17T19:12:30.251Z] HTTP request sent, awaiting response... 200 OK [2020-12-17T19:12:30.251Z] Length: unspecified [application/x-gzip] [2020-12-17T19:12:30.251Z] Saving to: 'STDOUT' [2020-12-17T19:12:30.251Z]  [2020-12-17T19:12:30.251Z] 0K .......... .......... .......... .......... .......... 1.62M [2020-12-17T19:12:30.251Z] 50K .......... .......... .......... .......... .......... 3.30M [2020-12-17T19:12:30.251Z] 100K .......... .......... .......... .......... .......... 31.8M [2020-12-17T19:12:30.251Z] 150K .......... .......... .......... .......... .......... 46.3M [2020-12-17T19:12:30.251Z] 200K .......... .......... .......... .......... .......... 3.46M [2020-12-17T19:12:30.251Z] 250K .......... .......... .......... .......... .......... 3.82M [2020-12-17T19:12:30.251Z] 300K .......... .......... .......... .......... .......... 37.8M [2020-12-17T19:12:30.251Z] 350K .......... .......... .......... .......... .......... 7.85M [2020-12-17T19:12:30.251Z] 400K .......... .......... .......... .......... .......... 10.5M [2020-12-17T19:12:30.251Z] 450K .......... .......... .......... .......... .......... 6.07M [2020-12-17T19:12:30.251Z] 500K .......... .......... .......... .......... .......... 17.2M [2020-12-17T19:12:30.252Z] 550K .......... .......... .......... .......... .......... 5.68M [2020-12-17T19:12:30.252Z] 600K .......... .......... .......... .......... .......... 2.21M [2020-12-17T19:12:30.252Z] 650K .......... .......... .......... .......... .......... 3.76M [2020-12-17T19:12:30.252Z] 700K .. 43.2M=0.1s [2020-12-17T19:12:30.252Z] [2020-12-17T19:12:30.252Z] 2020-12-17 19:12:30 (4.86 MB/s) - written to stdout [719348] [2020-12-17T19:12:30.252Z] [2020-12-17T19:12:30.516Z] -- The C compiler identification is GNU 8.3.0 [2020-12-17T19:12:30.516Z] -- The CXX compiler identification is GNU 8.3.0 [2020-12-17T19:12:30.516Z] -- Check for working C compiler: /usr/bin/cc [2020-12-17T19:12:30.516Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-12-17T19:12:30.516Z] -- Detecting C compiler ABI info [2020-12-17T19:12:30.779Z] -- Detecting C compiler ABI info - done [2020-12-17T19:12:30.779Z] -- Detecting C compile features [2020-12-17T19:12:31.048Z] -- Detecting C compile features - done [2020-12-17T19:12:31.048Z] -- Check for working CXX compiler: /usr/bin/c++ [2020-12-17T19:12:31.048Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2020-12-17T19:12:31.048Z] -- Detecting CXX compiler ABI info [2020-12-17T19:12:31.048Z] -- Detecting CXX compiler ABI info - done [2020-12-17T19:12:31.048Z] -- Detecting CXX compile features [2020-12-17T19:12:31.624Z] -- Detecting CXX compile features - done [2020-12-17T19:12:31.624Z] -- Looking for include file endian.h [2020-12-17T19:12:31.624Z] -- Looking for include file endian.h - found [2020-12-17T19:12:31.624Z] -- Check if the system is big endian [2020-12-17T19:12:31.624Z] -- Searching 16 bit integer [2020-12-17T19:12:31.624Z] -- Looking for sys/types.h [2020-12-17T19:12:31.890Z] -- Looking for sys/types.h - found [2020-12-17T19:12:31.890Z] -- Looking for stdint.h [2020-12-17T19:12:31.890Z] -- Looking for stdint.h - found [2020-12-17T19:12:31.890Z] -- Looking for stddef.h [2020-12-17T19:12:31.890Z] -- Looking for stddef.h - found [2020-12-17T19:12:31.890Z] -- Check size of unsigned short [2020-12-17T19:12:31.890Z] -- Check size of unsigned short - done [2020-12-17T19:12:31.890Z] -- Using unsigned short [2020-12-17T19:12:32.162Z] -- Check if the system is big endian - little endian [2020-12-17T19:12:32.162Z] -- Check size of size_t [2020-12-17T19:12:32.162Z] -- Check size of size_t - done [2020-12-17T19:12:32.162Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2020-12-17T19:12:32.162Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2020-12-17T19:12:32.162Z] asked CMake to find a package configuration file provided by "cJSON", but [2020-12-17T19:12:32.162Z] CMake did not find one. [2020-12-17T19:12:32.162Z] [2020-12-17T19:12:32.162Z] Could not find a package configuration file provided by "cJSON" with any of [2020-12-17T19:12:32.162Z] the following names: [2020-12-17T19:12:32.162Z] [2020-12-17T19:12:32.162Z] cJSONConfig.cmake [2020-12-17T19:12:32.162Z] cjson-config.cmake [2020-12-17T19:12:32.162Z] [2020-12-17T19:12:32.162Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2020-12-17T19:12:32.162Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2020-12-17T19:12:32.162Z] provides a separate development package or SDK, be sure it has been [2020-12-17T19:12:32.162Z] installed. [2020-12-17T19:12:32.162Z] [2020-12-17T19:12:32.162Z] [2020-12-17T19:12:32.162Z] -- Configuring done [2020-12-17T19:12:32.437Z] -- Generating done [2020-12-17T19:12:32.437Z] -- Build files have been written to: /tmp/cbor [2020-12-17T19:12:32.437Z] Scanning dependencies of target cbor_shared [2020-12-17T19:12:32.437Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2020-12-17T19:12:32.437Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2020-12-17T19:12:32.700Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2020-12-17T19:12:32.700Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2020-12-17T19:12:32.972Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2020-12-17T19:12:32.972Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2020-12-17T19:12:32.972Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2020-12-17T19:12:33.251Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2020-12-17T19:12:33.251Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2020-12-17T19:12:33.251Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2020-12-17T19:12:33.514Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2020-12-17T19:12:33.514Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2020-12-17T19:12:33.514Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2020-12-17T19:12:33.784Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2020-12-17T19:12:33.784Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2020-12-17T19:12:33.784Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2020-12-17T19:12:34.048Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2020-12-17T19:12:34.048Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2020-12-17T19:12:34.048Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2020-12-17T19:12:34.048Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2020-12-17T19:12:34.314Z] [ 40%] Linking C shared library libcbor.so [2020-12-17T19:12:34.314Z] [ 40%] Built target cbor_shared [2020-12-17T19:12:34.314Z] Scanning dependencies of target cbor [2020-12-17T19:12:34.314Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2020-12-17T19:12:34.595Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2020-12-17T19:12:34.595Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2020-12-17T19:12:34.595Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2020-12-17T19:12:34.865Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2020-12-17T19:12:35.136Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2020-12-17T19:12:35.136Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2020-12-17T19:12:35.136Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2020-12-17T19:12:35.136Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2020-12-17T19:12:35.407Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2020-12-17T19:12:35.407Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2020-12-17T19:12:35.670Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2020-12-17T19:12:35.670Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2020-12-17T19:12:35.934Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2020-12-17T19:12:35.934Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2020-12-17T19:12:35.934Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2020-12-17T19:12:35.934Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2020-12-17T19:12:36.205Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2020-12-17T19:12:36.205Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2020-12-17T19:12:36.205Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2020-12-17T19:12:36.470Z] [ 80%] Linking C static library libcbor.a [2020-12-17T19:12:36.470Z] [ 80%] Built target cbor [2020-12-17T19:12:36.470Z] Scanning dependencies of target create_items [2020-12-17T19:12:36.470Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2020-12-17T19:12:36.470Z] [ 84%] Linking C executable create_items [2020-12-17T19:12:36.470Z] [ 84%] Built target create_items [2020-12-17T19:12:36.470Z] Scanning dependencies of target readfile [2020-12-17T19:12:36.470Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2020-12-17T19:12:36.470Z] [ 88%] Linking C executable readfile [2020-12-17T19:12:36.470Z] [ 88%] Built target readfile [2020-12-17T19:12:36.470Z] Scanning dependencies of target streaming_parser [2020-12-17T19:12:36.735Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2020-12-17T19:12:36.735Z] [ 92%] Linking C executable streaming_parser [2020-12-17T19:12:36.735Z] [ 92%] Built target streaming_parser [2020-12-17T19:12:36.735Z] Scanning dependencies of target sort [2020-12-17T19:12:36.735Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2020-12-17T19:12:36.735Z] [ 96%] Linking C executable sort [2020-12-17T19:12:36.735Z] [ 96%] Built target sort [2020-12-17T19:12:36.735Z] Scanning dependencies of target hello [2020-12-17T19:12:36.735Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2020-12-17T19:12:37.003Z] [100%] Linking C executable hello [2020-12-17T19:12:37.003Z] [100%] Built target hello [2020-12-17T19:12:37.003Z] Install the project... [2020-12-17T19:12:37.003Z] -- Install configuration: "Release" [2020-12-17T19:12:37.003Z] -- Installing: /usr/local/include/cbor/configuration.h [2020-12-17T19:12:37.003Z] -- Installing: /usr/local/lib64/libcbor.a [2020-12-17T19:12:37.003Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2020-12-17T19:12:37.003Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2020-12-17T19:12:37.003Z] -- Installing: /usr/local/lib64/libcbor.so [2020-12-17T19:12:37.003Z] -- Up-to-date: /usr/local/include/cbor [2020-12-17T19:12:37.003Z] -- Installing: /usr/local/include/cbor/arrays.h [2020-12-17T19:12:37.003Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2020-12-17T19:12:37.003Z] -- Installing: /usr/local/include/cbor/callbacks.h [2020-12-17T19:12:37.003Z] -- Installing: /usr/local/include/cbor/common.h [2020-12-17T19:12:37.003Z] -- Installing: /usr/local/include/cbor/data.h [2020-12-17T19:12:37.003Z] -- Installing: /usr/local/include/cbor/encoding.h [2020-12-17T19:12:37.003Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2020-12-17T19:12:37.003Z] -- Installing: /usr/local/include/cbor/internal [2020-12-17T19:12:37.003Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2020-12-17T19:12:37.003Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2020-12-17T19:12:37.003Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2020-12-17T19:12:37.003Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2020-12-17T19:12:37.003Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2020-12-17T19:12:37.003Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2020-12-17T19:12:37.003Z] -- Installing: /usr/local/include/cbor/ints.h [2020-12-17T19:12:37.003Z] -- Installing: /usr/local/include/cbor/maps.h [2020-12-17T19:12:37.003Z] -- Installing: /usr/local/include/cbor/serialization.h [2020-12-17T19:12:37.003Z] -- Installing: /usr/local/include/cbor/streaming.h [2020-12-17T19:12:37.003Z] -- Installing: /usr/local/include/cbor/strings.h [2020-12-17T19:12:37.003Z] -- Installing: /usr/local/include/cbor/tags.h [2020-12-17T19:12:37.003Z] -- Installing: /usr/local/include/cbor.h [2020-12-17T19:12:37.003Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2020-12-17T19:12:39.600Z] Removing intermediate container 36c516279590 [2020-12-17T19:12:39.600Z] ---> 5bc83d8d2a35 [2020-12-17T19:12:39.600Z] Step 6/21 : RUN mkdir /tmp/sdk [2020-12-17T19:12:39.600Z] ---> Running in 0c2c19cd46db [2020-12-17T19:12:40.592Z] Removing intermediate container 0c2c19cd46db [2020-12-17T19:12:40.592Z] ---> a3dc85731984 [2020-12-17T19:12:40.592Z] Step 7/21 : COPY VERSION /tmp/sdk [2020-12-17T19:12:40.860Z] ---> 575faf9fcde6 [2020-12-17T19:12:40.860Z] Step 8/21 : COPY src /tmp/sdk/src [2020-12-17T19:12:41.817Z] ---> 8b2b338f9964 [2020-12-17T19:12:41.817Z] Step 9/21 : COPY include /tmp/sdk/include [2020-12-17T19:12:42.088Z] ---> 53eb492fcaa7 [2020-12-17T19:12:42.088Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2020-12-17T19:12:42.088Z] ---> e60a361f7b3b [2020-12-17T19:12:42.088Z] Step 11/21 : COPY LICENSE /tmp/sdk [2020-12-17T19:12:42.352Z] ---> 527db638577c [2020-12-17T19:12:42.352Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2020-12-17T19:12:42.617Z] ---> 08ba5064bae2 [2020-12-17T19:12:42.617Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2020-12-17T19:12:42.617Z] ---> Running in ccf3dc8df218 [2020-12-17T19:12:43.201Z] + CPPCHECK=false [2020-12-17T19:12:43.201Z] + DOCGEN=false [2020-12-17T19:12:43.201Z] + TOMLVER=SDK-0.2 [2020-12-17T19:12:43.201Z] + CUTILVER=1.1.1 [2020-12-17T19:12:43.201Z] + '[' 0 -gt 0 ] [2020-12-17T19:12:43.201Z] + readlink -f ./scripts/build.sh [2020-12-17T19:12:43.201Z] + dirname /tmp/sdk/scripts/build.sh [2020-12-17T19:12:43.201Z] + dirname /tmp/sdk/scripts [2020-12-17T19:12:43.201Z] + ROOT=/tmp/sdk [2020-12-17T19:12:43.201Z] + cd /tmp/sdk [2020-12-17T19:12:43.201Z] + '[' '!' -d deps ] [2020-12-17T19:12:43.201Z] + mkdir deps [2020-12-17T19:12:43.201Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-12-17T19:12:43.201Z] + tar -C deps -z -x -f - [2020-12-17T19:12:43.201Z] --2020-12-17 19:12:42-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-12-17T19:12:43.201Z] Resolving github.com... 140.82.113.4 [2020-12-17T19:12:43.201Z] Connecting to github.com|140.82.113.4|:443... connected. [2020-12-17T19:12:43.201Z] HTTP request sent, awaiting response... 302 Found [2020-12-17T19:12:43.201Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2020-12-17T19:12:43.201Z] --2020-12-17 19:12:43-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2020-12-17T19:12:43.201Z] Resolving codeload.github.com... 140.82.112.9 [2020-12-17T19:12:43.201Z] Connecting to codeload.github.com|140.82.112.9|:443... connected. [2020-12-17T19:12:43.465Z] HTTP request sent, awaiting response... 200 OK [2020-12-17T19:12:43.465Z] Length: unspecified [application/x-gzip] [2020-12-17T19:12:43.465Z] Saving to: 'STDOUT' [2020-12-17T19:12:43.465Z]  [2020-12-17T19:12:43.465Z] 0K .......... ......  991K=0.02s [2020-12-17T19:12:43.465Z] [2020-12-17T19:12:43.465Z] 2020-12-17 19:12:43 (991 KB/s) - written to stdout [16451] [2020-12-17T19:12:43.465Z] [2020-12-17T19:12:43.465Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2020-12-17T19:12:43.465Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.1.tar.gz+ [2020-12-17T19:12:43.465Z] tar -C deps -z -x -f - [2020-12-17T19:12:43.465Z] --2020-12-17 19:12:43-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.1.tar.gz [2020-12-17T19:12:43.465Z] Resolving github.com... 140.82.113.4 [2020-12-17T19:12:43.465Z] Connecting to github.com|140.82.113.4|:443... connected. [2020-12-17T19:12:43.728Z] HTTP request sent, awaiting response... 302 Found [2020-12-17T19:12:43.728Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.1 [following] [2020-12-17T19:12:43.728Z] --2020-12-17 19:12:43-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.1 [2020-12-17T19:12:43.728Z] Resolving codeload.github.com... 140.82.112.9 [2020-12-17T19:12:43.728Z] Connecting to codeload.github.com|140.82.112.9|:443... connected. [2020-12-17T19:12:43.728Z] HTTP request sent, awaiting response... 200 OK [2020-12-17T19:12:43.728Z] Length: unspecified [application/x-gzip] [2020-12-17T19:12:43.728Z] Saving to: 'STDOUT' [2020-12-17T19:12:43.728Z]  [2020-12-17T19:12:43.995Z] 0K .......... .......... .......... .......... .......... 1.62M [2020-12-17T19:12:43.995Z] 50K .......... .......... .......... .......... .......... 3.24M [2020-12-17T19:12:43.995Z] 100K .......... .......... .......... .......... .......... 41.4M [2020-12-17T19:12:43.995Z] 150K .......... .......... ..... 23.9M=0.05s [2020-12-17T19:12:43.995Z] [2020-12-17T19:12:43.995Z] 2020-12-17 19:12:43 (3.62 MB/s) - written to stdout [179833] [2020-12-17T19:12:43.995Z] [2020-12-17T19:12:43.995Z] + mkdir -p src/c/iot [2020-12-17T19:12:43.995Z] + cp deps/iotech-c-utils-1.1.1/src/c/base64.c deps/iotech-c-utils-1.1.1/src/c/component.c deps/iotech-c-utils-1.1.1/src/c/config.c deps/iotech-c-utils-1.1.1/src/c/container.c deps/iotech-c-utils-1.1.1/src/c/data.c deps/iotech-c-utils-1.1.1/src/c/hash.c deps/iotech-c-utils-1.1.1/src/c/iot.c deps/iotech-c-utils-1.1.1/src/c/json.c deps/iotech-c-utils-1.1.1/src/c/logger.c deps/iotech-c-utils-1.1.1/src/c/os.c deps/iotech-c-utils-1.1.1/src/c/scheduler.c deps/iotech-c-utils-1.1.1/src/c/thread.c deps/iotech-c-utils-1.1.1/src/c/threadpool.c deps/iotech-c-utils-1.1.1/src/c/time.c deps/iotech-c-utils-1.1.1/src/c/yxml.c src/c/iot [2020-12-17T19:12:43.995Z] + mkdir -p include/iot [2020-12-17T19:12:43.995Z] + cp deps/iotech-c-utils-1.1.1/include/iot/base64.h deps/iotech-c-utils-1.1.1/include/iot/component.h deps/iotech-c-utils-1.1.1/include/iot/config.h deps/iotech-c-utils-1.1.1/include/iot/container.h deps/iotech-c-utils-1.1.1/include/iot/data.h deps/iotech-c-utils-1.1.1/include/iot/hash.h deps/iotech-c-utils-1.1.1/include/iot/iot.h deps/iotech-c-utils-1.1.1/include/iot/json.h deps/iotech-c-utils-1.1.1/include/iot/logger.h deps/iotech-c-utils-1.1.1/include/iot/os.h deps/iotech-c-utils-1.1.1/include/iot/scheduler.h deps/iotech-c-utils-1.1.1/include/iot/thread.h deps/iotech-c-utils-1.1.1/include/iot/threadpool.h deps/iotech-c-utils-1.1.1/include/iot/time.h deps/iotech-c-utils-1.1.1/include/iot/typecode.h deps/iotech-c-utils-1.1.1/include/iot/yxml.h include/iot [2020-12-17T19:12:43.995Z] + mkdir -p include/iot/os [2020-12-17T19:12:43.995Z] + cp deps/iotech-c-utils-1.1.1/include/iot/os/linux.h deps/iotech-c-utils-1.1.1/include/iot/os/macos.h deps/iotech-c-utils-1.1.1/include/iot/os/zephyr.h include/iot/os [2020-12-17T19:12:43.995Z] + mkdir -p /tmp/sdk/build/release [2020-12-17T19:12:43.995Z] + cd /tmp/sdk/build/release [2020-12-17T19:12:43.995Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2020-12-17T19:12:43.995Z] -- The C compiler identification is GNU 8.3.0 [2020-12-17T19:12:43.995Z] -- Check for working C compiler: /usr/bin/cc [2020-12-17T19:12:44.263Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-12-17T19:12:44.263Z] -- Detecting C compiler ABI info [2020-12-17T19:12:44.263Z] -- Detecting C compiler ABI info - done [2020-12-17T19:12:44.263Z] -- Detecting C compile features [2020-12-17T19:12:44.527Z] -- Detecting C compile features - done [2020-12-17T19:12:44.527Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-12-17T19:12:44.527Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-12-17T19:12:44.527Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-12-17T19:12:44.527Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-12-17T19:12:44.527Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-12-17T19:12:44.527Z] -- C SDK 0.0.0 for Linux [2020-12-17T19:12:44.527Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-12-17T19:12:44.527Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-12-17T19:12:44.527Z] -- Found Curses: /usr/lib/libcurses.so [2020-12-17T19:12:44.528Z] -- Configuring done [2020-12-17T19:12:44.796Z] -- Generating done [2020-12-17T19:12:44.796Z] -- Build files have been written to: /tmp/sdk/build/release [2020-12-17T19:12:44.796Z] + make [2020-12-17T19:12:44.796Z] + tee release.log [2020-12-17T19:12:44.796Z] Scanning dependencies of target csdk [2020-12-17T19:12:44.796Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-12-17T19:12:45.059Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-12-17T19:12:45.059Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2020-12-17T19:12:45.324Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-12-17T19:12:45.590Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-12-17T19:12:45.854Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-12-17T19:12:45.854Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-12-17T19:12:46.117Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-12-17T19:12:46.692Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-12-17T19:12:46.959Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-12-17T19:12:46.959Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-12-17T19:12:47.230Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-12-17T19:12:47.230Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-12-17T19:12:47.495Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-12-17T19:12:47.495Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-12-17T19:12:48.444Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-12-17T19:12:48.444Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-12-17T19:12:48.444Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2020-12-17T19:12:48.710Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-12-17T19:12:48.973Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-12-17T19:12:49.558Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-12-17T19:12:49.558Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-12-17T19:12:49.558Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-12-17T19:12:49.821Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-12-17T19:12:49.821Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-12-17T19:12:49.821Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-12-17T19:12:50.098Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-12-17T19:12:50.365Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-12-17T19:12:50.365Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-12-17T19:12:50.634Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2020-12-17T19:12:50.901Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-12-17T19:12:51.181Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-12-17T19:12:51.447Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-12-17T19:12:51.447Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-12-17T19:12:52.839Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-12-17T19:12:52.839Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-12-17T19:12:52.839Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2020-12-17T19:12:53.102Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-12-17T19:12:53.102Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-12-17T19:12:53.678Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-12-17T19:12:53.943Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-12-17T19:12:54.900Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-12-17T19:12:55.171Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-12-17T19:12:55.436Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-12-17T19:12:55.436Z] [ 71%] Linking C shared library libcsdk.so [2020-12-17T19:12:55.699Z] [ 71%] Built target csdk [2020-12-17T19:12:55.699Z] Scanning dependencies of target template [2020-12-17T19:12:55.699Z] [ 73%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-12-17T19:12:55.699Z] [ 74%] Linking C executable template [2020-12-17T19:12:55.963Z] [ 74%] Built target template [2020-12-17T19:12:55.963Z] Scanning dependencies of target device-counter [2020-12-17T19:12:55.963Z] [ 76%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-12-17T19:12:55.963Z] [ 77%] Linking C executable device-counter [2020-12-17T19:12:55.963Z] [ 77%] Built target device-counter [2020-12-17T19:12:55.963Z] Scanning dependencies of target device-random [2020-12-17T19:12:56.226Z] [ 79%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-12-17T19:12:56.226Z] [ 80%] Linking C executable device-random [2020-12-17T19:12:56.226Z] [ 80%] Built target device-random [2020-12-17T19:12:56.226Z] Scanning dependencies of target device-gyro [2020-12-17T19:12:56.226Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-12-17T19:12:56.491Z] [ 84%] Linking C executable device-gyro [2020-12-17T19:12:56.491Z] [ 84%] Built target device-gyro [2020-12-17T19:12:56.491Z] Scanning dependencies of target device-bitfields [2020-12-17T19:12:56.491Z] [ 85%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2020-12-17T19:12:56.755Z] [ 87%] Linking C executable device-bitfields [2020-12-17T19:12:56.755Z] [ 87%] Built target device-bitfields [2020-12-17T19:12:56.755Z] Scanning dependencies of target template-discovery [2020-12-17T19:12:56.755Z] [ 88%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-12-17T19:12:57.016Z] [ 90%] Linking C executable template-discovery [2020-12-17T19:12:57.016Z] [ 90%] Built target template-discovery [2020-12-17T19:12:57.016Z] Scanning dependencies of target device-file [2020-12-17T19:12:57.016Z] [ 92%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2020-12-17T19:12:57.016Z] [ 93%] Linking C executable device-file [2020-12-17T19:12:57.286Z] [ 93%] Built target device-file [2020-12-17T19:12:57.286Z] Scanning dependencies of target device-terminal [2020-12-17T19:12:57.286Z] [ 95%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-12-17T19:12:57.286Z] [ 96%] Linking C executable device-terminal [2020-12-17T19:12:57.553Z] [ 96%] Built target device-terminal [2020-12-17T19:12:57.553Z] Scanning dependencies of target templatev1 [2020-12-17T19:12:57.553Z] [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o [2020-12-17T19:12:57.553Z] [100%] Linking C executable templatev1 [2020-12-17T19:12:57.553Z] [100%] Built target templatev1 [2020-12-17T19:12:57.817Z] + make package [2020-12-17T19:12:57.817Z] + tee -a release.log [2020-12-17T19:12:57.817Z] [ 71%] Built target csdk [2020-12-17T19:12:57.817Z] [ 74%] Built target template [2020-12-17T19:12:57.817Z] [ 77%] Built target device-counter [2020-12-17T19:12:57.817Z] [ 80%] Built target device-random [2020-12-17T19:12:57.817Z] [ 84%] Built target device-gyro [2020-12-17T19:12:57.817Z] [ 87%] Built target device-bitfields [2020-12-17T19:12:57.817Z] [ 90%] Built target template-discovery [2020-12-17T19:12:57.817Z] [ 93%] Built target device-file [2020-12-17T19:12:57.817Z] [ 96%] Built target device-terminal [2020-12-17T19:12:57.817Z] [100%] Built target templatev1 [2020-12-17T19:12:57.817Z] Run CPack packaging tool... [2020-12-17T19:12:58.082Z] CPack: Create package using TGZ [2020-12-17T19:12:58.082Z] CPack: Install projects [2020-12-17T19:12:58.082Z] CPack: - Run preinstall target for: Csdk [2020-12-17T19:12:58.082Z] CPack: - Install project: Csdk [2020-12-17T19:12:58.082Z] CPack: Create package [2020-12-17T19:12:58.347Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2020-12-17T19:12:58.347Z] + '[' false '=' true ] [2020-12-17T19:12:58.347Z] + '[' false '=' true ] [2020-12-17T19:12:58.347Z] + mkdir -p /tmp/sdk/build/debug [2020-12-17T19:12:58.347Z] + cd /tmp/sdk/build/debug [2020-12-17T19:12:58.347Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2020-12-17T19:12:58.347Z] -- The C compiler identification is GNU 8.3.0 [2020-12-17T19:12:58.347Z] -- Check for working C compiler: /usr/bin/cc [2020-12-17T19:12:58.347Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-12-17T19:12:58.347Z] -- Detecting C compiler ABI info [2020-12-17T19:12:58.613Z] -- Detecting C compiler ABI info - done [2020-12-17T19:12:58.613Z] -- Detecting C compile features [2020-12-17T19:12:58.613Z] -- Detecting C compile features - done [2020-12-17T19:12:58.613Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-12-17T19:12:58.883Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-12-17T19:12:58.883Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-12-17T19:12:58.883Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-12-17T19:12:58.883Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-12-17T19:12:58.883Z] -- C SDK 0.0.0 for Linux [2020-12-17T19:12:58.883Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-12-17T19:12:58.883Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-12-17T19:12:58.883Z] -- Found Curses: /usr/lib/libcurses.so [2020-12-17T19:12:58.883Z] -- Configuring done [2020-12-17T19:12:58.883Z] -- Generating done [2020-12-17T19:12:58.883Z] -- Build files have been written to: /tmp/sdk/build/debug [2020-12-17T19:12:58.883Z] + make [2020-12-17T19:12:58.883Z] + tee debug.log [2020-12-17T19:12:58.883Z] Scanning dependencies of target csdk [2020-12-17T19:12:59.148Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-12-17T19:12:59.148Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-12-17T19:12:59.148Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2020-12-17T19:12:59.413Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-12-17T19:12:59.413Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-12-17T19:12:59.679Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-12-17T19:12:59.679Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-12-17T19:12:59.679Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-12-17T19:12:59.946Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-12-17T19:12:59.946Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-12-17T19:13:00.211Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-12-17T19:13:00.211Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-12-17T19:13:00.211Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-12-17T19:13:00.211Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-12-17T19:13:00.474Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-12-17T19:13:00.739Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-12-17T19:13:00.739Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-12-17T19:13:00.739Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2020-12-17T19:13:00.739Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-12-17T19:13:01.008Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-12-17T19:13:01.274Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-12-17T19:13:01.274Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-12-17T19:13:01.274Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-12-17T19:13:01.274Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-12-17T19:13:01.546Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-12-17T19:13:01.546Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-12-17T19:13:01.546Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-12-17T19:13:01.546Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-12-17T19:13:01.823Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-12-17T19:13:01.823Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2020-12-17T19:13:01.823Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-12-17T19:13:01.823Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-12-17T19:13:02.119Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-12-17T19:13:02.119Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-12-17T19:13:02.437Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-12-17T19:13:02.704Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-12-17T19:13:02.704Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2020-12-17T19:13:02.704Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-12-17T19:13:02.704Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-12-17T19:13:02.967Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-12-17T19:13:03.230Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-12-17T19:13:03.499Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-12-17T19:13:03.499Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-12-17T19:13:03.765Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-12-17T19:13:03.765Z] [ 71%] Linking C shared library libcsdk.so [2020-12-17T19:13:03.765Z] [ 71%] Built target csdk [2020-12-17T19:13:03.765Z] Scanning dependencies of target template [2020-12-17T19:13:03.765Z] [ 73%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-12-17T19:13:03.765Z] [ 74%] Linking C executable template [2020-12-17T19:13:04.038Z] [ 74%] Built target template [2020-12-17T19:13:04.038Z] Scanning dependencies of target device-counter [2020-12-17T19:13:04.038Z] [ 76%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-12-17T19:13:04.038Z] [ 77%] Linking C executable device-counter [2020-12-17T19:13:04.038Z] [ 77%] Built target device-counter [2020-12-17T19:13:04.038Z] Scanning dependencies of target device-random [2020-12-17T19:13:04.038Z] [ 79%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-12-17T19:13:04.313Z] [ 80%] Linking C executable device-random [2020-12-17T19:13:04.313Z] [ 80%] Built target device-random [2020-12-17T19:13:04.313Z] Scanning dependencies of target device-gyro [2020-12-17T19:13:04.313Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-12-17T19:13:04.313Z] [ 84%] Linking C executable device-gyro [2020-12-17T19:13:04.575Z] [ 84%] Built target device-gyro [2020-12-17T19:13:04.575Z] Scanning dependencies of target device-bitfields [2020-12-17T19:13:04.575Z] [ 85%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2020-12-17T19:13:04.575Z] [ 87%] Linking C executable device-bitfields [2020-12-17T19:13:04.575Z] [ 87%] Built target device-bitfields [2020-12-17T19:13:04.575Z] Scanning dependencies of target template-discovery [2020-12-17T19:13:04.575Z] [ 88%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-12-17T19:13:04.838Z] [ 90%] Linking C executable template-discovery [2020-12-17T19:13:04.838Z] [ 90%] Built target template-discovery [2020-12-17T19:13:04.838Z] Scanning dependencies of target device-file [2020-12-17T19:13:04.838Z] [ 92%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2020-12-17T19:13:04.838Z] [ 93%] Linking C executable device-file [2020-12-17T19:13:05.101Z] [ 93%] Built target device-file [2020-12-17T19:13:05.101Z] Scanning dependencies of target device-terminal [2020-12-17T19:13:05.101Z] [ 95%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-12-17T19:13:05.101Z] [ 96%] Linking C executable device-terminal [2020-12-17T19:13:05.101Z] [ 96%] Built target device-terminal [2020-12-17T19:13:05.101Z] Scanning dependencies of target templatev1 [2020-12-17T19:13:05.101Z] [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o [2020-12-17T19:13:05.371Z] [100%] Linking C executable templatev1 [2020-12-17T19:13:05.371Z] [100%] Built target templatev1 [2020-12-17T19:13:05.371Z] make: Entering directory '/tmp/sdk/build/release' [2020-12-17T19:13:05.371Z] make[1]: Entering directory '/tmp/sdk/build/release' [2020-12-17T19:13:05.371Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-12-17T19:13:05.371Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-12-17T19:13:05.371Z] [ 71%] Built target csdk [2020-12-17T19:13:05.371Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-12-17T19:13:05.371Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-12-17T19:13:05.371Z] [ 74%] Built target template [2020-12-17T19:13:05.371Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-12-17T19:13:05.371Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-12-17T19:13:05.371Z] [ 77%] Built target device-counter [2020-12-17T19:13:05.371Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-12-17T19:13:05.371Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-12-17T19:13:05.371Z] [ 80%] Built target device-random [2020-12-17T19:13:05.371Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-12-17T19:13:05.371Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-12-17T19:13:05.371Z] [ 84%] Built target device-gyro [2020-12-17T19:13:05.371Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-12-17T19:13:05.371Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-12-17T19:13:05.371Z] [ 87%] Built target device-bitfields [2020-12-17T19:13:05.371Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-12-17T19:13:05.371Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-12-17T19:13:05.371Z] [ 90%] Built target template-discovery [2020-12-17T19:13:05.371Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-12-17T19:13:05.633Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-12-17T19:13:05.633Z] [ 93%] Built target device-file [2020-12-17T19:13:05.633Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-12-17T19:13:05.633Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-12-17T19:13:05.633Z] [ 96%] Built target device-terminal [2020-12-17T19:13:05.633Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-12-17T19:13:05.633Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-12-17T19:13:05.633Z] [100%] Built target templatev1 [2020-12-17T19:13:05.633Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2020-12-17T19:13:05.633Z] Install the project... [2020-12-17T19:13:05.633Z] -- Install configuration: "Release" [2020-12-17T19:13:05.633Z] -- Installing: /usr/local/lib/libcsdk.so [2020-12-17T19:13:05.633Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2020-12-17T19:13:05.633Z] -- Up-to-date: /usr/local/include [2020-12-17T19:13:05.633Z] -- Installing: /usr/local/include/devsdk [2020-12-17T19:13:05.633Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2020-12-17T19:13:05.633Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2020-12-17T19:13:05.633Z] -- Installing: /usr/local/include/edgex [2020-12-17T19:13:05.633Z] -- Installing: /usr/local/include/edgex/device-mgmt.h [2020-12-17T19:13:05.633Z] -- Installing: /usr/local/include/edgex/devices.h [2020-12-17T19:13:05.633Z] -- Installing: /usr/local/include/edgex/devsdk.h [2020-12-17T19:13:05.633Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2020-12-17T19:13:05.633Z] -- Installing: /usr/local/include/edgex/edgex.h [2020-12-17T19:13:05.633Z] -- Installing: /usr/local/include/edgex/error.h [2020-12-17T19:13:05.633Z] -- Installing: /usr/local/include/edgex/eventgen.h [2020-12-17T19:13:05.633Z] -- Installing: /usr/local/include/edgex/os.h [2020-12-17T19:13:05.633Z] -- Installing: /usr/local/include/edgex/profiles.h [2020-12-17T19:13:05.633Z] -- Installing: /usr/local/include/edgex/rest-server.h [2020-12-17T19:13:05.633Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2020-12-17T19:13:05.633Z] -- Installing: /usr/local/include/iot [2020-12-17T19:13:05.633Z] -- Installing: /usr/local/include/iot/base64.h [2020-12-17T19:13:05.633Z] -- Installing: /usr/local/include/iot/component.h [2020-12-17T19:13:05.633Z] -- Installing: /usr/local/include/iot/config.h [2020-12-17T19:13:05.633Z] -- Installing: /usr/local/include/iot/container.h [2020-12-17T19:13:05.633Z] -- Installing: /usr/local/include/iot/data.h [2020-12-17T19:13:05.633Z] -- Installing: /usr/local/include/iot/hash.h [2020-12-17T19:13:05.633Z] -- Installing: /usr/local/include/iot/iot.h [2020-12-17T19:13:05.633Z] -- Installing: /usr/local/include/iot/json.h [2020-12-17T19:13:05.633Z] -- Installing: /usr/local/include/iot/logger.h [2020-12-17T19:13:05.633Z] -- Installing: /usr/local/include/iot/os.h [2020-12-17T19:13:05.633Z] -- Installing: /usr/local/include/iot/scheduler.h [2020-12-17T19:13:05.633Z] -- Installing: /usr/local/include/iot/thread.h [2020-12-17T19:13:05.633Z] -- Installing: /usr/local/include/iot/threadpool.h [2020-12-17T19:13:05.633Z] -- Installing: /usr/local/include/iot/time.h [2020-12-17T19:13:05.633Z] -- Installing: /usr/local/include/iot/typecode.h [2020-12-17T19:13:05.633Z] -- Installing: /usr/local/include/iot/yxml.h [2020-12-17T19:13:05.633Z] -- Installing: /usr/local/include/iot/os [2020-12-17T19:13:05.633Z] -- Installing: /usr/local/include/iot/os/linux.h [2020-12-17T19:13:05.633Z] -- Installing: /usr/local/include/iot/os/macos.h [2020-12-17T19:13:05.633Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2020-12-17T19:13:05.633Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2020-12-17T19:13:05.633Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2020-12-17T19:13:05.633Z] make: Leaving directory '/tmp/sdk/build/release' [2020-12-17T19:13:07.556Z] Removing intermediate container ccf3dc8df218 [2020-12-17T19:13:07.556Z] ---> ae726ea704d5 [2020-12-17T19:13:07.556Z] Step 14/21 : FROM ${BASE} [2020-12-17T19:13:07.556Z] ---> 5eabd8fd8ba2 [2020-12-17T19:13:07.556Z] Step 15/21 : LABEL maintainer="IOTech " [2020-12-17T19:13:07.556Z] ---> Running in 129b715cdbb7 [2020-12-17T19:13:07.828Z] Removing intermediate container 129b715cdbb7 [2020-12-17T19:13:07.828Z] ---> f2b87f15e657 [2020-12-17T19:13:07.828Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2020-12-17T19:13:07.828Z] ---> Running in 97d966dd27a3 [2020-12-17T19:13:08.408Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2020-12-17T19:13:09.357Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2020-12-17T19:13:09.623Z] (1/3) Installing curl (7.64.0-r5) [2020-12-17T19:13:09.888Z] (2/3) Installing libuuid (2.33-r0) [2020-12-17T19:13:09.888Z] (3/3) Installing wget (1.20.3-r0) [2020-12-17T19:13:10.150Z] Executing busybox-1.29.3-r10.trigger [2020-12-17T19:13:10.150Z] OK: 268 MiB in 78 packages [2020-12-17T19:13:10.413Z] Removing intermediate container 97d966dd27a3 [2020-12-17T19:13:10.413Z] ---> c07aeade8dc1 [2020-12-17T19:13:10.413Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2020-12-17T19:13:10.675Z] ---> 27862a828131 [2020-12-17T19:13:10.675Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2020-12-17T19:13:10.937Z] ---> 3d303b7b5310 [2020-12-17T19:13:10.937Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2020-12-17T19:13:11.202Z] ---> aafd55e59a52 [2020-12-17T19:13:11.202Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2020-12-17T19:13:11.466Z] ---> 168f1e36a6eb [2020-12-17T19:13:11.466Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2020-12-17T19:13:11.730Z] ---> fb3718f8cdf8 [2020-12-17T19:13:11.993Z] Successfully built fb3718f8cdf8 [2020-12-17T19:13:11.993Z] 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 [2020-12-17T19:13:12.838Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-17T19:13:12.839Z] . [Pipeline] withDockerContainer [2020-12-17T19:13:13.004Z] prd-centos7-docker-4c-2g-16582 does not seem to be running inside a container [2020-12-17T19:13:13.058Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-12-17T19:13:13.749Z] $ docker top 8faa0135d46b5d118c6c5365105fa81a677fc9af345ff170bef4052c56050968 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-17T19:13:14.285Z] + make test [2020-12-17T19:13:14.285Z] echo "make test" [2020-12-17T19:13:14.285Z] make test [Pipeline] } [2020-12-17T19:13:14.315Z] $ docker stop --time=1 8faa0135d46b5d118c6c5365105fa81a677fc9af345ff170bef4052c56050968 [2020-12-17T19:13:15.644Z] $ docker rm -f 8faa0135d46b5d118c6c5365105fa81a677fc9af345ff170bef4052c56050968 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-17T19:13:17.328Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-12-17T19:13:17.667Z] + ls -al . [2020-12-17T19:13:17.668Z] total 160 [2020-12-17T19:13:17.668Z] drwxrwxr-x. 8 jenkins jenkins 260 Dec 17 19:12 . [2020-12-17T19:13:17.668Z] drwxrwxr-x. 4 jenkins jenkins 28 Dec 17 19:12 .. [2020-12-17T19:13:17.668Z] -rw-rw-r--. 1 jenkins jenkins 3104 Dec 17 19:12 Attribution.txt [2020-12-17T19:13:17.668Z] -rw-rw-r--. 1 jenkins jenkins 5980 Dec 17 19:12 CHANGES [2020-12-17T19:13:17.668Z] drwxrwxr-x. 2 jenkins jenkins 144 Dec 17 19:12 docs [2020-12-17T19:13:17.668Z] -rw-rw-r--. 1 jenkins jenkins 108574 Dec 17 19:12 Doxyfile [2020-12-17T19:13:17.668Z] drwxrwxr-x. 8 jenkins jenkins 179 Dec 17 19:12 .git [2020-12-17T19:13:17.668Z] drwxrwxr-x. 2 jenkins jenkins 81 Dec 17 19:12 .github [2020-12-17T19:13:17.668Z] -rw-rw-r--. 1 jenkins jenkins 176 Dec 17 19:12 .gitignore [2020-12-17T19:13:17.668Z] drwxrwxr-x. 4 jenkins jenkins 33 Dec 17 19:12 include [2020-12-17T19:13:17.668Z] -rw-rw-r--. 1 jenkins jenkins 784 Dec 17 19:12 Jenkinsfile [2020-12-17T19:13:17.668Z] -rw-rw-r--. 1 jenkins jenkins 10174 Dec 17 19:12 LICENSE [2020-12-17T19:13:17.668Z] -rw-rw-r--. 1 jenkins jenkins 449 Dec 17 19:12 Makefile [2020-12-17T19:13:17.668Z] -rw-rw-r--. 1 jenkins jenkins 2697 Dec 17 19:12 README.md [2020-12-17T19:13:17.668Z] -rw-rw-r--. 1 jenkins jenkins 5977 Dec 17 19:12 README.v2.md [2020-12-17T19:13:17.668Z] drwxrwxr-x. 2 jenkins jenkins 98 Dec 17 19:12 scripts [2020-12-17T19:13:17.668Z] drwxrwxr-x. 4 jenkins jenkins 50 Dec 17 19:12 src [2020-12-17T19:13:17.668Z] -rw-rw-r--. 1 jenkins jenkins 5 Dec 17 19:09 VERSION [Pipeline] isUnix [Pipeline] sh [2020-12-17T19:13:18.013Z] + 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=9404f27c8fd8c346ccc944563d262e964126f8a0 --label arch=amd64 --label version=0.0.0 . [2020-12-17T19:13:18.013Z] Sending build context to Docker daemon 2.386MB [2020-12-17T19:13:18.013Z] Step 1/15 : ARG BASE=alpine:3.12 [2020-12-17T19:13:18.013Z] Step 2/15 : FROM ${BASE} [2020-12-17T19:13:18.013Z] ---> fb3718f8cdf8 [2020-12-17T19:13:18.013Z] Step 3/15 : LABEL maintainer="IOTech " [2020-12-17T19:13:18.588Z] ---> Running in 6d7fa9ef0e09 [2020-12-17T19:13:18.588Z] Removing intermediate container 6d7fa9ef0e09 [2020-12-17T19:13:18.588Z] ---> 80736f3ae029 [2020-12-17T19:13:18.588Z] Step 4/15 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev && mkdir -p /edgex-c-sdk/build [2020-12-17T19:13:18.850Z] ---> Running in f4a96c016c26 [2020-12-17T19:13:19.804Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2020-12-17T19:13:20.281Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-16585 in /w/workspace/edgexfoundry_device-sdk-c_PR-317 [Pipeline] { [Pipeline] ws [2020-12-17T19:13:20.375Z] Running in /w/workspace/device-sdk-c/1 [2020-12-17T19:13:20.378Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [Pipeline] { [Pipeline] checkout [2020-12-17T19:13:20.965Z] (1/6) Installing ncurses-dev (6.1_p20190105-r0) [2020-12-17T19:13:20.965Z] (2/6) Installing libblkid (2.33-r0) [2020-12-17T19:13:21.326Z] (3/6) Installing libfdisk (2.33-r0) [2020-12-17T19:13:21.326Z] (4/6) Installing libmount (2.33-r0) [2020-12-17T19:13:21.326Z] (5/6) Installing libsmartcols (2.33-r0) [2020-12-17T19:13:21.326Z] (6/6) Installing util-linux-dev (2.33-r0) [2020-12-17T19:13:21.932Z] Executing busybox-1.29.3-r10.trigger [2020-12-17T19:13:21.932Z] OK: 272 MiB in 84 packages [2020-12-17T19:13:22.518Z] Removing intermediate container f4a96c016c26 [2020-12-17T19:13:22.518Z] ---> e36438ae2400 [2020-12-17T19:13:22.518Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2020-12-17T19:13:22.518Z] ---> 68cc7c330e43 [2020-12-17T19:13:22.518Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2020-12-17T19:13:23.478Z] ---> 65225d198e4e [2020-12-17T19:13:23.478Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2020-12-17T19:13:23.479Z] ---> 2f95de4f31fe [2020-12-17T19:13:23.479Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2020-12-17T19:13:23.746Z] ---> afb281d51905 [2020-12-17T19:13:23.746Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2020-12-17T19:13:24.324Z] ---> eed48c1d1eac [2020-12-17T19:13:24.324Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2020-12-17T19:13:24.324Z] ---> 9362f350b5c1 [2020-12-17T19:13:24.324Z] Step 11/15 : WORKDIR /edgex-c-sdk [2020-12-17T19:13:24.324Z] ---> Running in 6ba000bb0273 [2020-12-17T19:13:24.586Z] Removing intermediate container 6ba000bb0273 [2020-12-17T19:13:24.586Z] ---> a9b540008447 [2020-12-17T19:13:24.586Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2020-12-17T19:13:24.586Z] ---> Running in 94d6ed426919 [2020-12-17T19:13:24.848Z] Removing intermediate container 94d6ed426919 [2020-12-17T19:13:24.848Z] ---> 4cd78d94e670 [2020-12-17T19:13:24.848Z] Step 13/15 : LABEL arch=amd64 [2020-12-17T19:13:24.848Z] ---> Running in 583f1f9c6c75 [2020-12-17T19:13:25.117Z] Removing intermediate container 583f1f9c6c75 [2020-12-17T19:13:25.117Z] ---> e641c7e13165 [2020-12-17T19:13:25.117Z] Step 14/15 : LABEL git_sha=9404f27c8fd8c346ccc944563d262e964126f8a0 [2020-12-17T19:13:25.117Z] ---> Running in acb00682ce3e [2020-12-17T19:13:25.117Z] Removing intermediate container acb00682ce3e [2020-12-17T19:13:25.117Z] ---> 9018f07ddb53 [2020-12-17T19:13:25.117Z] Step 15/15 : LABEL version=0.0.0 [2020-12-17T19:13:25.384Z] ---> Running in 70bcceeaae8a [2020-12-17T19:13:25.384Z] Removing intermediate container 70bcceeaae8a [2020-12-17T19:13:25.385Z] ---> 5c4404c45103 [2020-12-17T19:13:25.385Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2020-12-17T19:13:25.385Z] Successfully built 5c4404c45103 [2020-12-17T19:13:25.385Z] Successfully tagged docker-device-sdk-c:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [2020-12-17T19:13:25.888Z] using credential edgex-jenkins-ssh [2020-12-17T19:13:25.954Z] Cloning the remote Git repository [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [2020-12-17T19:13:26.010Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2020-12-17T19:13:26.123Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2020-12-17T19:13:26.199Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-12-17T19:13:26.200Z] > git --version # timeout=10 [2020-12-17T19:13:26.219Z] > git --version # 'git version 2.17.1' [2020-12-17T19:13:26.220Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-17T19:13:26.293Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] } [2020-12-17T19:13:28.090Z] Merging remotes/origin/master commit 706af55e05cb2cdc0073fc9ec2061f045ee0028b into PR head commit 9404f27c8fd8c346ccc944563d262e964126f8a0 [2020-12-17T19:13:27.334Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-12-17T19:13:27.350Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-17T19:13:27.388Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-12-17T19:13:27.428Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-12-17T19:13:27.428Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-17T19:13:27.450Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/317/head:refs/remotes/origin/PR-317 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-17T19:13:28.112Z] > git config core.sparsecheckout # timeout=10 [2020-12-17T19:13:28.132Z] > git checkout -f 9404f27c8fd8c346ccc944563d262e964126f8a0 # timeout=10 [2020-12-17T19:13:28.444Z] Merge succeeded, producing 9404f27c8fd8c346ccc944563d262e964126f8a0 [2020-12-17T19:13:28.445Z] Checking out Revision 9404f27c8fd8c346ccc944563d262e964126f8a0 (PR-317) [2020-12-17T19:13:28.305Z] > git remote # timeout=10 [2020-12-17T19:13:28.342Z] > git config --get remote.origin.url # timeout=10 [2020-12-17T19:13:28.369Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-17T19:13:28.381Z] > git merge 706af55e05cb2cdc0073fc9ec2061f045ee0028b # timeout=10 [2020-12-17T19:13:28.410Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-17T19:13:28.455Z] > git config core.sparsecheckout # timeout=10 [2020-12-17T19:13:28.475Z] > git checkout -f 9404f27c8fd8c346ccc944563d262e964126f8a0 # timeout=10 [2020-12-17T19:13:32.751Z] Commit message: "ci: standardize dockerfiles" [2020-12-17T19:13:32.822Z] > git --version # timeout=10 [2020-12-17T19:13:32.834Z] > git --version # 'git version 2.17.1' [2020-12-17T19:13:32.846Z] fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-17T19:13:34.576Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-17T19:13:35.047Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-17T19:13:35.421Z] + true [2020-12-17T19:13:35.421Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-17T19:13:38.239Z] provisioning config files... [2020-12-17T19:13:38.336Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config1532474295378464886tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-17T19:13:38.846Z] ---> docker-login.sh [2020-12-17T19:13:38.846Z] nexus3.edgexfoundry.org:10001 [2020-12-17T19:13:39.831Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-17T19:13:40.104Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-17T19:13:40.104Z] Configure a credential helper to remove this warning. See [2020-12-17T19:13:40.104Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-17T19:13:40.104Z] [2020-12-17T19:13:40.104Z] Login Succeeded [2020-12-17T19:13:40.104Z] nexus3.edgexfoundry.org:10002 [2020-12-17T19:13:40.386Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-17T19:13:40.661Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-17T19:13:40.661Z] Configure a credential helper to remove this warning. See [2020-12-17T19:13:40.661Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-17T19:13:40.661Z] [2020-12-17T19:13:40.661Z] Login Succeeded [2020-12-17T19:13:40.661Z] nexus3.edgexfoundry.org:10003 [2020-12-17T19:13:40.939Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-17T19:13:41.213Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-17T19:13:41.213Z] Configure a credential helper to remove this warning. See [2020-12-17T19:13:41.213Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-17T19:13:41.213Z] [2020-12-17T19:13:41.213Z] Login Succeeded [2020-12-17T19:13:41.213Z] nexus3.edgexfoundry.org:10004 [2020-12-17T19:13:41.492Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-17T19:13:41.765Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-17T19:13:41.765Z] Configure a credential helper to remove this warning. See [2020-12-17T19:13:41.765Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-17T19:13:41.765Z] [2020-12-17T19:13:41.765Z] Login Succeeded [2020-12-17T19:13:41.765Z] docker.io [2020-12-17T19:13:42.042Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-17T19:13:42.637Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-17T19:13:42.637Z] Configure a credential helper to remove this warning. See [2020-12-17T19:13:42.637Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-17T19:13:42.637Z] [2020-12-17T19:13:42.637Z] Login Succeeded [2020-12-17T19:13:42.637Z] ---> docker-login.sh ends [Pipeline] } [2020-12-17T19:13:42.665Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-17T19:13:43.222Z] ========================================================= [2020-12-17T19:13:43.222Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2020-12-17T19:13:43.222Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-17T19:13:43.644Z] + 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 . [2020-12-17T19:13:43.928Z] Sending build context to Docker daemon 2.385MB [2020-12-17T19:13:44.206Z] Step 1/21 : ARG BASE=alpine:3.12 [2020-12-17T19:13:44.206Z] Step 2/21 : FROM ${BASE} as builder [2020-12-17T19:13:44.206Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2020-12-17T19:13:44.206Z] 0362ad1dd800: Pulling fs layer [2020-12-17T19:13:44.206Z] f2cdb1532d8b: Pulling fs layer [2020-12-17T19:13:44.206Z] 37ed683be191: Pulling fs layer [2020-12-17T19:13:44.206Z] f2cdb1532d8b: Verifying Checksum [2020-12-17T19:13:44.206Z] f2cdb1532d8b: Download complete [2020-12-17T19:13:44.484Z] 0362ad1dd800: Download complete [2020-12-17T19:13:45.091Z] 0362ad1dd800: Pull complete [2020-12-17T19:13:45.366Z] f2cdb1532d8b: Pull complete [2020-12-17T19:13:46.804Z] 37ed683be191: Download complete [2020-12-17T19:13:55.096Z] 37ed683be191: Pull complete [2020-12-17T19:13:55.096Z] Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f [2020-12-17T19:13:55.096Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2020-12-17T19:13:55.096Z] ---> b23d30803547 [2020-12-17T19:13:55.096Z] Step 3/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev [2020-12-17T19:13:57.076Z] ---> Running in 2b3860a7a3a9 [2020-12-17T19:13:58.060Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2020-12-17T19:13:59.029Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2020-12-17T19:13:59.304Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2020-12-17T19:13:59.304Z] (2/8) Installing libuuid (2.33-r0) [2020-12-17T19:13:59.575Z] (3/8) Installing libblkid (2.33-r0) [2020-12-17T19:13:59.575Z] (4/8) Installing libfdisk (2.33-r0) [2020-12-17T19:13:59.846Z] (5/8) Installing libmount (2.33-r0) [2020-12-17T19:13:59.846Z] (6/8) Installing libsmartcols (2.33-r0) [2020-12-17T19:13:59.846Z] (7/8) Installing util-linux-dev (2.33-r0) [2020-12-17T19:14:00.438Z] (8/8) Installing wget (1.20.3-r0) [2020-12-17T19:14:00.438Z] Executing busybox-1.29.3-r10.trigger [2020-12-17T19:14:00.714Z] OK: 285 MiB in 83 packages [2020-12-17T19:14:02.147Z] Removing intermediate container 2b3860a7a3a9 [2020-12-17T19:14:02.147Z] ---> 2eb20791a8a1 [2020-12-17T19:14:02.147Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2020-12-17T19:14:02.147Z] ---> Running in 19a11169d6b7 [2020-12-17T19:14:02.750Z] Removing intermediate container 19a11169d6b7 [2020-12-17T19:14:02.750Z] ---> c83b4d33d1af [2020-12-17T19:14:02.750Z] Step 5/21 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install [2020-12-17T19:14:02.750Z] ---> Running in 3bbd26adb7df [2020-12-17T19:14:03.735Z] --2020-12-17 19:14:03-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2020-12-17T19:14:03.735Z] Resolving github.com... 140.82.113.4 [2020-12-17T19:14:03.735Z] Connecting to github.com|140.82.113.4|:443... connected. [2020-12-17T19:14:04.010Z] HTTP request sent, awaiting response... 302 Found [2020-12-17T19:14:04.010Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2020-12-17T19:14:04.010Z] --2020-12-17 19:14:03-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2020-12-17T19:14:04.010Z] Resolving codeload.github.com... 140.82.112.9 [2020-12-17T19:14:04.010Z] Connecting to codeload.github.com|140.82.112.9|:443... connected. [2020-12-17T19:14:04.010Z] HTTP request sent, awaiting response... 200 OK [2020-12-17T19:14:04.011Z] Length: unspecified [application/x-gzip] [2020-12-17T19:14:04.011Z] Saving to: 'STDOUT' [2020-12-17T19:14:04.011Z]  [2020-12-17T19:14:04.011Z] 0K .......... .......... .......... .......... .......... 1.45M [2020-12-17T19:14:04.011Z] 50K .......... .......... .......... .......... .......... 2.82M [2020-12-17T19:14:04.011Z] 100K .......... .......... .......... .......... .......... 13.8M [2020-12-17T19:14:04.295Z] 150K .......... .......... .......... .......... .......... 3.40M [2020-12-17T19:14:04.295Z] 200K .......... .......... .......... .......... .......... 4.18M [2020-12-17T19:14:04.295Z] 250K .......... .......... .......... .......... .......... 3.06M [2020-12-17T19:14:04.295Z] 300K .......... .......... .......... .......... .......... 2.67M [2020-12-17T19:14:04.295Z] 350K .......... .......... .......... .......... .......... 4.64M [2020-12-17T19:14:04.295Z] 400K .......... .......... .......... .......... .......... 2.58M [2020-12-17T19:14:04.295Z] 450K .......... .......... .......... .......... .......... 4.26M [2020-12-17T19:14:04.295Z] 500K .......... .......... .......... .......... .......... 6.42M [2020-12-17T19:14:04.295Z] 550K .......... .......... .......... .......... .......... 1.88M [2020-12-17T19:14:04.295Z] 600K .......... .......... .......... .......... .......... 1014K [2020-12-17T19:14:04.295Z] 650K .......... .......... .......... .......... .......... 2.07M [2020-12-17T19:14:04.295Z] 700K .. 8.60M=0.3s [2020-12-17T19:14:04.295Z] [2020-12-17T19:14:04.295Z] 2020-12-17 19:14:04 (2.61 MB/s) - written to stdout [719348] [2020-12-17T19:14:04.295Z] [2020-12-17T19:14:04.569Z] -- The C compiler identification is GNU 8.3.0 [2020-12-17T19:14:04.845Z] -- The CXX compiler identification is GNU 8.3.0 [2020-12-17T19:14:04.845Z] -- Check for working C compiler: /usr/bin/cc [2020-12-17T19:14:05.118Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-12-17T19:14:05.118Z] -- Detecting C compiler ABI info [2020-12-17T19:14:05.391Z] -- Detecting C compiler ABI info - done [2020-12-17T19:14:05.391Z] -- Detecting C compile features [2020-12-17T19:14:05.988Z] -- Detecting C compile features - done [2020-12-17T19:14:06.263Z] -- Check for working CXX compiler: /usr/bin/c++ [2020-12-17T19:14:06.263Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2020-12-17T19:14:06.263Z] -- Detecting CXX compiler ABI info [2020-12-17T19:14:06.536Z] -- Detecting CXX compiler ABI info - done [2020-12-17T19:14:06.809Z] -- Detecting CXX compile features [2020-12-17T19:14:08.246Z] -- Detecting CXX compile features - done [2020-12-17T19:14:08.246Z] -- Looking for include file endian.h [2020-12-17T19:14:08.520Z] -- Looking for include file endian.h - found [2020-12-17T19:14:08.520Z] -- Check if the system is big endian [2020-12-17T19:14:08.520Z] -- Searching 16 bit integer [2020-12-17T19:14:08.520Z] -- Looking for sys/types.h [2020-12-17T19:14:08.793Z] -- Looking for sys/types.h - found [2020-12-17T19:14:08.793Z] -- Looking for stdint.h [2020-12-17T19:14:08.793Z] -- Looking for stdint.h - found [2020-12-17T19:14:08.793Z] -- Looking for stddef.h [2020-12-17T19:14:09.067Z] -- Looking for stddef.h - found [2020-12-17T19:14:09.067Z] -- Check size of unsigned short [2020-12-17T19:14:09.340Z] -- Check size of unsigned short - done [2020-12-17T19:14:09.340Z] -- Using unsigned short [2020-12-17T19:14:09.613Z] -- Check if the system is big endian - little endian [2020-12-17T19:14:09.613Z] -- Check size of size_t [2020-12-17T19:14:09.886Z] -- Check size of size_t - done [2020-12-17T19:14:09.886Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2020-12-17T19:14:09.886Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2020-12-17T19:14:09.886Z] asked CMake to find a package configuration file provided by "cJSON", but [2020-12-17T19:14:09.886Z] CMake did not find one. [2020-12-17T19:14:09.886Z] [2020-12-17T19:14:09.886Z] Could not find a package configuration file provided by "cJSON" with any of [2020-12-17T19:14:09.886Z] the following names: [2020-12-17T19:14:09.886Z] [2020-12-17T19:14:09.886Z] cJSONConfig.cmake [2020-12-17T19:14:09.886Z] cjson-config.cmake [2020-12-17T19:14:09.886Z] [2020-12-17T19:14:09.886Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2020-12-17T19:14:09.886Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2020-12-17T19:14:09.886Z] provides a separate development package or SDK, be sure it has been [2020-12-17T19:14:09.886Z] installed. [2020-12-17T19:14:09.886Z] [2020-12-17T19:14:09.886Z] [2020-12-17T19:14:09.886Z] -- Configuring done [2020-12-17T19:14:10.159Z] -- Generating done [2020-12-17T19:14:10.159Z] -- Build files have been written to: /tmp/cbor [2020-12-17T19:14:10.431Z] Scanning dependencies of target cbor_shared [2020-12-17T19:14:10.431Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2020-12-17T19:14:11.022Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2020-12-17T19:14:11.615Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2020-12-17T19:14:11.886Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2020-12-17T19:14:12.490Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2020-12-17T19:14:12.763Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2020-12-17T19:14:12.763Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2020-12-17T19:14:13.038Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2020-12-17T19:14:13.309Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2020-12-17T19:14:13.585Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2020-12-17T19:14:14.179Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2020-12-17T19:14:14.458Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2020-12-17T19:14:14.733Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2020-12-17T19:14:15.004Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2020-12-17T19:14:15.279Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2020-12-17T19:14:15.552Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2020-12-17T19:14:15.827Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2020-12-17T19:14:16.099Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2020-12-17T19:14:16.369Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2020-12-17T19:14:16.642Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2020-12-17T19:14:16.642Z] [ 40%] Linking C shared library libcbor.so [2020-12-17T19:14:16.915Z] [ 40%] Built target cbor_shared [2020-12-17T19:14:16.915Z] Scanning dependencies of target cbor [2020-12-17T19:14:16.915Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2020-12-17T19:14:17.520Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2020-12-17T19:14:18.111Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2020-12-17T19:14:18.383Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2020-12-17T19:14:19.360Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2020-12-17T19:14:19.635Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2020-12-17T19:14:19.906Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2020-12-17T19:14:20.181Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2020-12-17T19:14:20.181Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2020-12-17T19:14:20.778Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2020-12-17T19:14:21.376Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2020-12-17T19:14:21.646Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2020-12-17T19:14:21.919Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2020-12-17T19:14:22.512Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2020-12-17T19:14:22.512Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2020-12-17T19:14:22.783Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2020-12-17T19:14:23.055Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2020-12-17T19:14:23.327Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2020-12-17T19:14:23.599Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2020-12-17T19:14:23.872Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2020-12-17T19:14:24.144Z] [ 80%] Linking C static library libcbor.a [2020-12-17T19:14:24.144Z] [ 80%] Built target cbor [2020-12-17T19:14:24.144Z] Scanning dependencies of target create_items [2020-12-17T19:14:24.144Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2020-12-17T19:14:24.419Z] [ 84%] Linking C executable create_items [2020-12-17T19:14:24.419Z] [ 84%] Built target create_items [2020-12-17T19:14:24.419Z] Scanning dependencies of target readfile [2020-12-17T19:14:24.419Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2020-12-17T19:14:24.693Z] [ 88%] Linking C executable readfile [2020-12-17T19:14:24.693Z] [ 88%] Built target readfile [2020-12-17T19:14:24.693Z] Scanning dependencies of target streaming_parser [2020-12-17T19:14:24.967Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2020-12-17T19:14:24.967Z] [ 92%] Linking C executable streaming_parser [2020-12-17T19:14:25.239Z] [ 92%] Built target streaming_parser [2020-12-17T19:14:25.239Z] Scanning dependencies of target sort [2020-12-17T19:14:25.239Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2020-12-17T19:14:25.514Z] [ 96%] Linking C executable sort [2020-12-17T19:14:25.514Z] [ 96%] Built target sort [2020-12-17T19:14:25.514Z] Scanning dependencies of target hello [2020-12-17T19:14:25.514Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2020-12-17T19:14:25.788Z] [100%] Linking C executable hello [2020-12-17T19:14:25.788Z] [100%] Built target hello [2020-12-17T19:14:25.788Z] Install the project... [2020-12-17T19:14:25.788Z] -- Install configuration: "Release" [2020-12-17T19:14:25.788Z] -- Installing: /usr/local/include/cbor/configuration.h [2020-12-17T19:14:25.788Z] -- Installing: /usr/local/lib64/libcbor.a [2020-12-17T19:14:25.788Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2020-12-17T19:14:25.788Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2020-12-17T19:14:25.788Z] -- Installing: /usr/local/lib64/libcbor.so [2020-12-17T19:14:25.788Z] -- Up-to-date: /usr/local/include/cbor [2020-12-17T19:14:25.788Z] -- Installing: /usr/local/include/cbor/streaming.h [2020-12-17T19:14:25.788Z] -- Installing: /usr/local/include/cbor/ints.h [2020-12-17T19:14:25.788Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2020-12-17T19:14:25.788Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2020-12-17T19:14:25.788Z] -- Installing: /usr/local/include/cbor/encoding.h [2020-12-17T19:14:25.788Z] -- Installing: /usr/local/include/cbor/serialization.h [2020-12-17T19:14:25.788Z] -- Installing: /usr/local/include/cbor/data.h [2020-12-17T19:14:25.788Z] -- Installing: /usr/local/include/cbor/common.h [2020-12-17T19:14:25.788Z] -- Installing: /usr/local/include/cbor/callbacks.h [2020-12-17T19:14:25.788Z] -- Installing: /usr/local/include/cbor/strings.h [2020-12-17T19:14:25.788Z] -- Installing: /usr/local/include/cbor/tags.h [2020-12-17T19:14:25.788Z] -- Installing: /usr/local/include/cbor/internal [2020-12-17T19:14:25.788Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2020-12-17T19:14:25.788Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2020-12-17T19:14:25.788Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2020-12-17T19:14:25.788Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2020-12-17T19:14:25.788Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2020-12-17T19:14:25.788Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2020-12-17T19:14:25.788Z] -- Installing: /usr/local/include/cbor/arrays.h [2020-12-17T19:14:25.788Z] -- Installing: /usr/local/include/cbor/maps.h [2020-12-17T19:14:25.788Z] -- Installing: /usr/local/include/cbor.h [2020-12-17T19:14:25.788Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2020-12-17T19:14:27.762Z] Removing intermediate container 3bbd26adb7df [2020-12-17T19:14:27.762Z] ---> 5617acebcaa7 [2020-12-17T19:14:27.762Z] Step 6/21 : RUN mkdir /tmp/sdk [2020-12-17T19:14:28.037Z] ---> Running in 0c539e0cf70c [2020-12-17T19:14:30.021Z] Removing intermediate container 0c539e0cf70c [2020-12-17T19:14:30.021Z] ---> 74dea2b8ca27 [2020-12-17T19:14:30.021Z] Step 7/21 : COPY VERSION /tmp/sdk [2020-12-17T19:14:30.619Z] ---> 494c8a250502 [2020-12-17T19:14:30.619Z] Step 8/21 : COPY src /tmp/sdk/src [2020-12-17T19:14:31.602Z] ---> a81aceca0cb6 [2020-12-17T19:14:31.602Z] Step 9/21 : COPY include /tmp/sdk/include [2020-12-17T19:14:32.206Z] ---> f1b3c78fe3f7 [2020-12-17T19:14:32.206Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2020-12-17T19:14:33.187Z] ---> a023b0f79b80 [2020-12-17T19:14:33.187Z] Step 11/21 : COPY LICENSE /tmp/sdk [2020-12-17T19:14:33.779Z] ---> 525a213cf638 [2020-12-17T19:14:33.779Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2020-12-17T19:14:34.372Z] ---> 228bd7674813 [2020-12-17T19:14:34.372Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2020-12-17T19:14:34.372Z] ---> Running in 5a896b065060 [2020-12-17T19:14:35.363Z] + CPPCHECK=false [2020-12-17T19:14:35.363Z] + DOCGEN=false [2020-12-17T19:14:35.363Z] + TOMLVER=SDK-0.2 [2020-12-17T19:14:35.363Z] + CUTILVER=1.1.1 [2020-12-17T19:14:35.363Z] + '[' 0 -gt 0 ] [2020-12-17T19:14:35.363Z] + readlink -f ./scripts/build.sh [2020-12-17T19:14:35.363Z] + dirname /tmp/sdk/scripts/build.sh [2020-12-17T19:14:35.363Z] + dirname /tmp/sdk/scripts [2020-12-17T19:14:35.363Z] + ROOT=/tmp/sdk [2020-12-17T19:14:35.363Z] + cd /tmp/sdk [2020-12-17T19:14:35.363Z] + '[' '!' -d deps ] [2020-12-17T19:14:35.363Z] + mkdir deps [2020-12-17T19:14:35.363Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-12-17T19:14:35.363Z] + tar -C deps -z -x -f - [2020-12-17T19:14:35.363Z] --2020-12-17 19:14:35-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-12-17T19:14:35.634Z] Resolving github.com... 140.82.113.4 [2020-12-17T19:14:35.634Z] Connecting to github.com|140.82.113.4|:443... connected. [2020-12-17T19:14:35.634Z] HTTP request sent, awaiting response... 302 Found [2020-12-17T19:14:35.634Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2020-12-17T19:14:35.634Z] --2020-12-17 19:14:35-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2020-12-17T19:14:35.634Z] Resolving codeload.github.com... 140.82.112.9 [2020-12-17T19:14:35.634Z] Connecting to codeload.github.com|140.82.112.9|:443... connected. [2020-12-17T19:14:35.906Z] HTTP request sent, awaiting response... 200 OK [2020-12-17T19:14:35.906Z] Length: unspecified [application/x-gzip] [2020-12-17T19:14:35.906Z] Saving to: 'STDOUT' [2020-12-17T19:14:35.906Z]  [2020-12-17T19:14:35.906Z] 0K .......... ......  902K=0.02s [2020-12-17T19:14:35.906Z] [2020-12-17T19:14:35.906Z] 2020-12-17 19:14:35 (902 KB/s) - written to stdout [16451] [2020-12-17T19:14:35.906Z] [2020-12-17T19:14:35.906Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2020-12-17T19:14:35.906Z] + + tarwget -C -O deps - -z https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.1.tar.gz -x [2020-12-17T19:14:35.906Z]  -f - [2020-12-17T19:14:35.906Z] --2020-12-17 19:14:35-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.1.tar.gz [2020-12-17T19:14:35.906Z] Resolving github.com... 140.82.113.4 [2020-12-17T19:14:35.906Z] Connecting to github.com|140.82.113.4|:443... connected. [2020-12-17T19:14:35.906Z] HTTP request sent, awaiting response... 302 Found [2020-12-17T19:14:35.906Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.1 [following] [2020-12-17T19:14:35.906Z] --2020-12-17 19:14:35-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.1 [2020-12-17T19:14:35.906Z] Resolving codeload.github.com... 140.82.112.9 [2020-12-17T19:14:35.906Z] Connecting to codeload.github.com|140.82.112.9|:443... connected. [2020-12-17T19:14:36.177Z] HTTP request sent, awaiting response... 200 OK [2020-12-17T19:14:36.177Z] Length: unspecified [application/x-gzip] [2020-12-17T19:14:36.177Z] Saving to: 'STDOUT' [2020-12-17T19:14:36.177Z]  [2020-12-17T19:14:36.177Z] 0K .......... .......... .......... .......... .......... 1.52M [2020-12-17T19:14:36.177Z] 50K .......... .......... .......... .......... .......... 2.76M [2020-12-17T19:14:36.177Z] 100K .......... .......... .......... .......... .......... 3.32M [2020-12-17T19:14:36.177Z] 150K .......... .......... ..... 1.47M=0.08s [2020-12-17T19:14:36.177Z] [2020-12-17T19:14:36.177Z] 2020-12-17 19:14:36 (2.10 MB/s) - written to stdout [179833] [2020-12-17T19:14:36.177Z] [2020-12-17T19:14:36.177Z] + mkdir -p src/c/iot [2020-12-17T19:14:36.177Z] + cp deps/iotech-c-utils-1.1.1/src/c/base64.c deps/iotech-c-utils-1.1.1/src/c/component.c deps/iotech-c-utils-1.1.1/src/c/config.c deps/iotech-c-utils-1.1.1/src/c/container.c deps/iotech-c-utils-1.1.1/src/c/data.c deps/iotech-c-utils-1.1.1/src/c/hash.c deps/iotech-c-utils-1.1.1/src/c/iot.c deps/iotech-c-utils-1.1.1/src/c/json.c deps/iotech-c-utils-1.1.1/src/c/logger.c deps/iotech-c-utils-1.1.1/src/c/os.c deps/iotech-c-utils-1.1.1/src/c/scheduler.c deps/iotech-c-utils-1.1.1/src/c/thread.c deps/iotech-c-utils-1.1.1/src/c/threadpool.c deps/iotech-c-utils-1.1.1/src/c/time.c deps/iotech-c-utils-1.1.1/src/c/yxml.c src/c/iot [2020-12-17T19:14:36.177Z] + mkdir -p include/iot [2020-12-17T19:14:36.177Z] + cp deps/iotech-c-utils-1.1.1/include/iot/base64.h deps/iotech-c-utils-1.1.1/include/iot/component.h deps/iotech-c-utils-1.1.1/include/iot/config.h deps/iotech-c-utils-1.1.1/include/iot/container.h deps/iotech-c-utils-1.1.1/include/iot/data.h deps/iotech-c-utils-1.1.1/include/iot/hash.h deps/iotech-c-utils-1.1.1/include/iot/iot.h deps/iotech-c-utils-1.1.1/include/iot/json.h deps/iotech-c-utils-1.1.1/include/iot/logger.h deps/iotech-c-utils-1.1.1/include/iot/os.h deps/iotech-c-utils-1.1.1/include/iot/scheduler.h deps/iotech-c-utils-1.1.1/include/iot/thread.h deps/iotech-c-utils-1.1.1/include/iot/threadpool.h deps/iotech-c-utils-1.1.1/include/iot/time.h deps/iotech-c-utils-1.1.1/include/iot/typecode.h deps/iotech-c-utils-1.1.1/include/iot/yxml.h include/iot [2020-12-17T19:14:36.177Z] + mkdir -p include/iot/os [2020-12-17T19:14:36.177Z] + cp deps/iotech-c-utils-1.1.1/include/iot/os/linux.h deps/iotech-c-utils-1.1.1/include/iot/os/macos.h deps/iotech-c-utils-1.1.1/include/iot/os/zephyr.h include/iot/os [2020-12-17T19:14:36.177Z] + mkdir -p /tmp/sdk/build/release [2020-12-17T19:14:36.177Z] + cd /tmp/sdk/build/release [2020-12-17T19:14:36.177Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2020-12-17T19:14:36.450Z] -- The C compiler identification is GNU 8.3.0 [2020-12-17T19:14:36.725Z] -- Check for working C compiler: /usr/bin/cc [2020-12-17T19:14:36.725Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-12-17T19:14:36.999Z] -- Detecting C compiler ABI info [2020-12-17T19:14:36.999Z] -- Detecting C compiler ABI info - done [2020-12-17T19:14:36.999Z] -- Detecting C compile features [2020-12-17T19:14:37.978Z] -- Detecting C compile features - done [2020-12-17T19:14:37.978Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-12-17T19:14:37.978Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-12-17T19:14:37.978Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-12-17T19:14:37.978Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-12-17T19:14:37.978Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-12-17T19:14:37.978Z] -- C SDK 0.0.0 for Linux [2020-12-17T19:14:37.978Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-12-17T19:14:38.250Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-12-17T19:14:38.250Z] -- Found Curses: /usr/lib/libcurses.so [2020-12-17T19:14:38.250Z] -- Configuring done [2020-12-17T19:14:38.523Z] -- Generating done [2020-12-17T19:14:38.523Z] -- Build files have been written to: /tmp/sdk/build/release [2020-12-17T19:14:38.523Z] + make [2020-12-17T19:14:38.523Z] + tee release.log [2020-12-17T19:14:38.795Z] Scanning dependencies of target csdk [2020-12-17T19:14:38.795Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-12-17T19:14:39.387Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-12-17T19:14:39.979Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2020-12-17T19:14:40.251Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-12-17T19:14:42.222Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-12-17T19:14:42.811Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-12-17T19:14:43.083Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-12-17T19:14:44.058Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-12-17T19:14:46.030Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-12-17T19:14:46.620Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-12-17T19:14:47.213Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-12-17T19:14:47.810Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-12-17T19:14:48.082Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-12-17T19:14:48.354Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-12-17T19:14:48.628Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-12-17T19:14:52.003Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-12-17T19:14:52.597Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-12-17T19:14:52.873Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2020-12-17T19:14:53.146Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-12-17T19:14:53.740Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-12-17T19:14:56.350Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-12-17T19:14:56.350Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-12-17T19:14:56.624Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-12-17T19:14:57.223Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-12-17T19:14:57.506Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-12-17T19:14:57.782Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-12-17T19:14:58.759Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-12-17T19:14:59.032Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-12-17T19:14:59.632Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-12-17T19:14:59.906Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2020-12-17T19:15:01.909Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-12-17T19:15:02.201Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-12-17T19:15:03.198Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-12-17T19:15:03.471Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-12-17T19:15:07.758Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-12-17T19:15:08.034Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-12-17T19:15:08.628Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2020-12-17T19:15:08.903Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-12-17T19:15:09.881Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-12-17T19:15:11.322Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-12-17T19:15:12.760Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-12-17T19:15:16.136Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-12-17T19:15:16.408Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-12-17T19:15:17.849Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-12-17T19:15:18.121Z] [ 71%] Linking C shared library libcsdk.so [2020-12-17T19:15:18.392Z] [ 71%] Built target csdk [2020-12-17T19:15:18.392Z] Scanning dependencies of target template [2020-12-17T19:15:18.392Z] [ 73%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-12-17T19:15:19.028Z] [ 74%] Linking C executable template [2020-12-17T19:15:19.300Z] [ 74%] Built target template [2020-12-17T19:15:19.300Z] Scanning dependencies of target device-counter [2020-12-17T19:15:19.300Z] [ 76%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-12-17T19:15:19.899Z] [ 77%] Linking C executable device-counter [2020-12-17T19:15:19.899Z] [ 77%] Built target device-counter [2020-12-17T19:15:19.899Z] Scanning dependencies of target device-random [2020-12-17T19:15:19.899Z] [ 79%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-12-17T19:15:20.499Z] [ 80%] Linking C executable device-random [2020-12-17T19:15:20.774Z] [ 80%] Built target device-random [2020-12-17T19:15:20.774Z] Scanning dependencies of target device-gyro [2020-12-17T19:15:20.774Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-12-17T19:15:21.047Z] [ 84%] Linking C executable device-gyro [2020-12-17T19:15:21.322Z] [ 84%] Built target device-gyro [2020-12-17T19:15:21.322Z] Scanning dependencies of target device-bitfields [2020-12-17T19:15:21.322Z] [ 85%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2020-12-17T19:15:21.598Z] [ 87%] Linking C executable device-bitfields [2020-12-17T19:15:21.874Z] [ 87%] Built target device-bitfields [2020-12-17T19:15:21.874Z] Scanning dependencies of target template-discovery [2020-12-17T19:15:21.874Z] [ 88%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-12-17T19:15:22.470Z] [ 90%] Linking C executable template-discovery [2020-12-17T19:15:22.743Z] [ 90%] Built target template-discovery [2020-12-17T19:15:22.743Z] Scanning dependencies of target device-file [2020-12-17T19:15:22.743Z] [ 92%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2020-12-17T19:15:23.340Z] [ 93%] Linking C executable device-file [2020-12-17T19:15:23.614Z] [ 93%] Built target device-file [2020-12-17T19:15:23.614Z] Scanning dependencies of target device-terminal [2020-12-17T19:15:23.614Z] [ 95%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-12-17T19:15:24.206Z] [ 96%] Linking C executable device-terminal [2020-12-17T19:15:24.479Z] [ 96%] Built target device-terminal [2020-12-17T19:15:24.479Z] Scanning dependencies of target templatev1 [2020-12-17T19:15:24.479Z] [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o [2020-12-17T19:15:25.076Z] [100%] Linking C executable templatev1 [2020-12-17T19:15:25.076Z] [100%] Built target templatev1 [2020-12-17T19:15:25.353Z] + make package [2020-12-17T19:15:25.353Z] + tee -a release.log [2020-12-17T19:15:25.353Z] [ 71%] Built target csdk [2020-12-17T19:15:25.353Z] [ 74%] Built target template [2020-12-17T19:15:25.353Z] [ 77%] Built target device-counter [2020-12-17T19:15:25.627Z] [ 80%] Built target device-random [2020-12-17T19:15:25.627Z] [ 84%] Built target device-gyro [2020-12-17T19:15:25.627Z] [ 87%] Built target device-bitfields [2020-12-17T19:15:25.627Z] [ 90%] Built target template-discovery [2020-12-17T19:15:25.627Z] [ 93%] Built target device-file [2020-12-17T19:15:25.627Z] [ 96%] Built target device-terminal [2020-12-17T19:15:25.627Z] [100%] Built target templatev1 [2020-12-17T19:15:25.906Z] Run CPack packaging tool... [2020-12-17T19:15:25.906Z] CPack: Create package using TGZ [2020-12-17T19:15:25.906Z] CPack: Install projects [2020-12-17T19:15:25.906Z] CPack: - Run preinstall target for: Csdk [2020-12-17T19:15:26.503Z] CPack: - Install project: Csdk [2020-12-17T19:15:26.503Z] CPack: Create package [2020-12-17T19:15:26.503Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2020-12-17T19:15:26.503Z] + '[' false '=' true ] [2020-12-17T19:15:26.503Z] + '[' false '=' true ] [2020-12-17T19:15:26.503Z] + mkdir -p /tmp/sdk/build/debug [2020-12-17T19:15:26.503Z] + cd /tmp/sdk/build/debug [2020-12-17T19:15:26.503Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2020-12-17T19:15:26.782Z] -- The C compiler identification is GNU 8.3.0 [2020-12-17T19:15:26.782Z] -- Check for working C compiler: /usr/bin/cc [2020-12-17T19:15:27.059Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-12-17T19:15:27.059Z] -- Detecting C compiler ABI info [2020-12-17T19:15:27.329Z] -- Detecting C compiler ABI info - done [2020-12-17T19:15:27.329Z] -- Detecting C compile features [2020-12-17T19:15:28.304Z] -- Detecting C compile features - done [2020-12-17T19:15:28.304Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-12-17T19:15:28.304Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-12-17T19:15:28.304Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-12-17T19:15:28.304Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-12-17T19:15:28.304Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-12-17T19:15:28.304Z] -- C SDK 0.0.0 for Linux [2020-12-17T19:15:28.304Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-12-17T19:15:28.304Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-12-17T19:15:28.304Z] -- Found Curses: /usr/lib/libcurses.so [2020-12-17T19:15:28.586Z] -- Configuring done [2020-12-17T19:15:28.864Z] -- Generating done [2020-12-17T19:15:28.864Z] -- Build files have been written to: /tmp/sdk/build/debug [2020-12-17T19:15:28.864Z] + make [2020-12-17T19:15:28.864Z] + tee debug.log [2020-12-17T19:15:28.864Z] Scanning dependencies of target csdk [2020-12-17T19:15:29.138Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-12-17T19:15:29.412Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-12-17T19:15:29.686Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2020-12-17T19:15:29.959Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-12-17T19:15:30.558Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-12-17T19:15:30.833Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-12-17T19:15:30.833Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-12-17T19:15:31.425Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-12-17T19:15:32.020Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-12-17T19:15:32.291Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-12-17T19:15:32.562Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-12-17T19:15:32.833Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-12-17T19:15:33.107Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-12-17T19:15:33.391Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-12-17T19:15:33.391Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-12-17T19:15:34.379Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-12-17T19:15:34.654Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-12-17T19:15:34.654Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2020-12-17T19:15:34.926Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-12-17T19:15:35.200Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-12-17T19:15:36.187Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-12-17T19:15:36.187Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-12-17T19:15:36.187Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-12-17T19:15:36.460Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-12-17T19:15:36.743Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-12-17T19:15:36.743Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-12-17T19:15:37.026Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-12-17T19:15:37.300Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-12-17T19:15:37.572Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-12-17T19:15:37.844Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2020-12-17T19:15:38.119Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-12-17T19:15:38.396Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-12-17T19:15:38.993Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-12-17T19:15:38.993Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-12-17T19:15:39.968Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-12-17T19:15:40.242Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-12-17T19:15:40.516Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2020-12-17T19:15:40.792Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-12-17T19:15:41.069Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-12-17T19:15:42.063Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-12-17T19:15:42.663Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-12-17T19:15:43.257Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-12-17T19:15:43.530Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-12-17T19:15:43.808Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-12-17T19:15:44.100Z] [ 71%] Linking C shared library libcsdk.so [2020-12-17T19:15:44.381Z] [ 71%] Built target csdk [2020-12-17T19:15:44.381Z] Scanning dependencies of target template [2020-12-17T19:15:44.381Z] [ 73%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-12-17T19:15:44.655Z] [ 74%] Linking C executable template [2020-12-17T19:15:44.925Z] [ 74%] Built target template [2020-12-17T19:15:44.925Z] Scanning dependencies of target device-counter [2020-12-17T19:15:44.925Z] [ 76%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-12-17T19:15:45.200Z] [ 77%] Linking C executable device-counter [2020-12-17T19:15:45.475Z] [ 77%] Built target device-counter [2020-12-17T19:15:45.475Z] Scanning dependencies of target device-random [2020-12-17T19:15:45.475Z] [ 79%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-12-17T19:15:45.748Z] [ 80%] Linking C executable device-random [2020-12-17T19:15:45.748Z] [ 80%] Built target device-random [2020-12-17T19:15:45.748Z] Scanning dependencies of target device-gyro [2020-12-17T19:15:46.021Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-12-17T19:15:46.021Z] [ 84%] Linking C executable device-gyro [2020-12-17T19:15:46.297Z] [ 84%] Built target device-gyro [2020-12-17T19:15:46.297Z] Scanning dependencies of target device-bitfields [2020-12-17T19:15:46.297Z] [ 85%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2020-12-17T19:15:46.567Z] [ 87%] Linking C executable device-bitfields [2020-12-17T19:15:46.840Z] [ 87%] Built target device-bitfields [2020-12-17T19:15:46.840Z] Scanning dependencies of target template-discovery [2020-12-17T19:15:46.840Z] [ 88%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-12-17T19:15:47.112Z] [ 90%] Linking C executable template-discovery [2020-12-17T19:15:47.395Z] [ 90%] Built target template-discovery [2020-12-17T19:15:47.395Z] Scanning dependencies of target device-file [2020-12-17T19:15:47.395Z] [ 92%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2020-12-17T19:15:47.667Z] [ 93%] Linking C executable device-file [2020-12-17T19:15:47.942Z] [ 93%] Built target device-file [2020-12-17T19:15:47.942Z] Scanning dependencies of target device-terminal [2020-12-17T19:15:47.942Z] [ 95%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-12-17T19:15:48.219Z] [ 96%] Linking C executable device-terminal [2020-12-17T19:15:48.494Z] [ 96%] Built target device-terminal [2020-12-17T19:15:48.494Z] Scanning dependencies of target templatev1 [2020-12-17T19:15:48.494Z] [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o [2020-12-17T19:15:48.769Z] [100%] Linking C executable templatev1 [2020-12-17T19:15:49.043Z] [100%] Built target templatev1 [2020-12-17T19:15:49.043Z] make: Entering directory '/tmp/sdk/build/release' [2020-12-17T19:15:49.043Z] make[1]: Entering directory '/tmp/sdk/build/release' [2020-12-17T19:15:49.043Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-12-17T19:15:49.043Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-12-17T19:15:49.043Z] [ 71%] Built target csdk [2020-12-17T19:15:49.043Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-12-17T19:15:49.043Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-12-17T19:15:49.043Z] [ 74%] Built target template [2020-12-17T19:15:49.043Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-12-17T19:15:49.043Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-12-17T19:15:49.317Z] [ 77%] Built target device-counter [2020-12-17T19:15:49.317Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-12-17T19:15:49.317Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-12-17T19:15:49.317Z] [ 80%] Built target device-random [2020-12-17T19:15:49.317Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-12-17T19:15:49.317Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-12-17T19:15:49.317Z] [ 84%] Built target device-gyro [2020-12-17T19:15:49.317Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-12-17T19:15:49.317Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-12-17T19:15:49.317Z] [ 87%] Built target device-bitfields [2020-12-17T19:15:49.317Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-12-17T19:15:49.317Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-12-17T19:15:49.317Z] [ 90%] Built target template-discovery [2020-12-17T19:15:49.317Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-12-17T19:15:49.317Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-12-17T19:15:49.317Z] [ 93%] Built target device-file [2020-12-17T19:15:49.318Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-12-17T19:15:49.318Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-12-17T19:15:49.318Z] [ 96%] Built target device-terminal [2020-12-17T19:15:49.318Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-12-17T19:15:49.592Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-12-17T19:15:49.592Z] [100%] Built target templatev1 [2020-12-17T19:15:49.592Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2020-12-17T19:15:49.592Z] Install the project... [2020-12-17T19:15:49.592Z] -- Install configuration: "Release" [2020-12-17T19:15:49.592Z] -- Installing: /usr/local/lib/libcsdk.so [2020-12-17T19:15:49.592Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2020-12-17T19:15:49.592Z] -- Up-to-date: /usr/local/include [2020-12-17T19:15:49.592Z] -- Installing: /usr/local/include/edgex [2020-12-17T19:15:49.592Z] -- Installing: /usr/local/include/edgex/device-mgmt.h [2020-12-17T19:15:49.592Z] -- Installing: /usr/local/include/edgex/eventgen.h [2020-12-17T19:15:49.592Z] -- Installing: /usr/local/include/edgex/error.h [2020-12-17T19:15:49.592Z] -- Installing: /usr/local/include/edgex/rest-server.h [2020-12-17T19:15:49.592Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2020-12-17T19:15:49.592Z] -- Installing: /usr/local/include/edgex/devsdk.h [2020-12-17T19:15:49.592Z] -- Installing: /usr/local/include/edgex/edgex.h [2020-12-17T19:15:49.592Z] -- Installing: /usr/local/include/edgex/devices.h [2020-12-17T19:15:49.592Z] -- Installing: /usr/local/include/edgex/os.h [2020-12-17T19:15:49.592Z] -- Installing: /usr/local/include/edgex/profiles.h [2020-12-17T19:15:49.592Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2020-12-17T19:15:49.592Z] -- Installing: /usr/local/include/devsdk [2020-12-17T19:15:49.592Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2020-12-17T19:15:49.592Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2020-12-17T19:15:49.592Z] -- Installing: /usr/local/include/iot [2020-12-17T19:15:49.592Z] -- Installing: /usr/local/include/iot/json.h [2020-12-17T19:15:49.592Z] -- Installing: /usr/local/include/iot/yxml.h [2020-12-17T19:15:49.592Z] -- Installing: /usr/local/include/iot/container.h [2020-12-17T19:15:49.592Z] -- Installing: /usr/local/include/iot/component.h [2020-12-17T19:15:49.592Z] -- Installing: /usr/local/include/iot/typecode.h [2020-12-17T19:15:49.592Z] -- Installing: /usr/local/include/iot/iot.h [2020-12-17T19:15:49.592Z] -- Installing: /usr/local/include/iot/time.h [2020-12-17T19:15:49.592Z] -- Installing: /usr/local/include/iot/hash.h [2020-12-17T19:15:49.592Z] -- Installing: /usr/local/include/iot/logger.h [2020-12-17T19:15:49.592Z] -- Installing: /usr/local/include/iot/os [2020-12-17T19:15:49.592Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2020-12-17T19:15:49.592Z] -- Installing: /usr/local/include/iot/os/linux.h [2020-12-17T19:15:49.592Z] -- Installing: /usr/local/include/iot/os/macos.h [2020-12-17T19:15:49.592Z] -- Installing: /usr/local/include/iot/scheduler.h [2020-12-17T19:15:49.592Z] -- Installing: /usr/local/include/iot/data.h [2020-12-17T19:15:49.592Z] -- Installing: /usr/local/include/iot/thread.h [2020-12-17T19:15:49.592Z] -- Installing: /usr/local/include/iot/os.h [2020-12-17T19:15:49.592Z] -- Installing: /usr/local/include/iot/base64.h [2020-12-17T19:15:49.592Z] -- Installing: /usr/local/include/iot/threadpool.h [2020-12-17T19:15:49.592Z] -- Installing: /usr/local/include/iot/config.h [2020-12-17T19:15:49.592Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2020-12-17T19:15:49.592Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2020-12-17T19:15:49.592Z] make: Leaving directory '/tmp/sdk/build/release' [2020-12-17T19:15:51.585Z] Removing intermediate container 5a896b065060 [2020-12-17T19:15:51.585Z] ---> 95a21e113e77 [2020-12-17T19:15:51.585Z] Step 14/21 : FROM ${BASE} [2020-12-17T19:15:51.585Z] ---> b23d30803547 [2020-12-17T19:15:51.585Z] Step 15/21 : LABEL maintainer="IOTech " [2020-12-17T19:15:51.863Z] ---> Running in 6b6d78889650 [2020-12-17T19:15:52.464Z] Removing intermediate container 6b6d78889650 [2020-12-17T19:15:52.464Z] ---> b63cf047289c [2020-12-17T19:15:52.464Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2020-12-17T19:15:52.464Z] ---> Running in 895c69e65943 [2020-12-17T19:15:53.450Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2020-12-17T19:15:54.427Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2020-12-17T19:15:55.024Z] (1/3) Installing curl (7.64.0-r5) [2020-12-17T19:15:55.024Z] (2/3) Installing libuuid (2.33-r0) [2020-12-17T19:15:55.024Z] (3/3) Installing wget (1.20.3-r0) [2020-12-17T19:15:55.297Z] Executing busybox-1.29.3-r10.trigger [2020-12-17T19:15:55.297Z] OK: 281 MiB in 78 packages [2020-12-17T19:15:56.753Z] Removing intermediate container 895c69e65943 [2020-12-17T19:15:56.753Z] ---> 8ddf3186ae30 [2020-12-17T19:15:56.753Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2020-12-17T19:15:57.353Z] ---> 9e871075bf13 [2020-12-17T19:15:57.353Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2020-12-17T19:15:57.959Z] ---> 839301901acb [2020-12-17T19:15:57.959Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2020-12-17T19:15:58.940Z] ---> 4b77be4fd129 [2020-12-17T19:15:58.940Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2020-12-17T19:15:59.532Z] ---> 3500cd507d81 [2020-12-17T19:15:59.532Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2020-12-17T19:16:00.550Z] ---> c6f197476d12 [2020-12-17T19:16:00.550Z] Successfully built c6f197476d12 [2020-12-17T19:16:00.550Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-17T19:16:01.564Z] + docker inspect -f . ci-base-image-arm64 [2020-12-17T19:16:01.564Z] . [Pipeline] withDockerContainer [2020-12-17T19:16:01.870Z] prd-ubuntu18.04-docker-arm64-4c-16g-16585 does not seem to be running inside a container [2020-12-17T19:16:01.962Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-12-17T19:16:03.488Z] $ docker top 41a104872f3ab884ae8c160f5f17b62ac6e92d142d00f1abc8791b3adf372416 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-17T19:16:04.560Z] + make test [2020-12-17T19:16:04.560Z] echo "make test" [2020-12-17T19:16:04.560Z] make test [Pipeline] } [2020-12-17T19:16:04.601Z] $ docker stop --time=1 41a104872f3ab884ae8c160f5f17b62ac6e92d142d00f1abc8791b3adf372416 [2020-12-17T19:16:06.500Z] $ docker rm -f 41a104872f3ab884ae8c160f5f17b62ac6e92d142d00f1abc8791b3adf372416 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-17T19:16:07.624Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-12-17T19:16:07.979Z] + ls -al . [2020-12-17T19:16:07.979Z] total 192 [2020-12-17T19:16:07.979Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 17 19:13 . [2020-12-17T19:16:07.979Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 17 19:13 .. [2020-12-17T19:16:07.979Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 17 19:13 .git [2020-12-17T19:16:07.979Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 17 19:13 .github [2020-12-17T19:16:07.979Z] -rw-rw-r-- 1 jenkins jenkins 176 Dec 17 19:13 .gitignore [2020-12-17T19:16:07.979Z] -rw-rw-r-- 1 jenkins jenkins 3104 Dec 17 19:13 Attribution.txt [2020-12-17T19:16:07.979Z] -rw-rw-r-- 1 jenkins jenkins 5980 Dec 17 19:13 CHANGES [2020-12-17T19:16:07.979Z] -rw-rw-r-- 1 jenkins jenkins 108574 Dec 17 19:13 Doxyfile [2020-12-17T19:16:07.979Z] -rw-rw-r-- 1 jenkins jenkins 784 Dec 17 19:13 Jenkinsfile [2020-12-17T19:16:07.979Z] -rw-rw-r-- 1 jenkins jenkins 10174 Dec 17 19:13 LICENSE [2020-12-17T19:16:07.979Z] -rw-rw-r-- 1 jenkins jenkins 449 Dec 17 19:13 Makefile [2020-12-17T19:16:07.979Z] -rw-rw-r-- 1 jenkins jenkins 2697 Dec 17 19:13 README.md [2020-12-17T19:16:07.979Z] -rw-rw-r-- 1 jenkins jenkins 5977 Dec 17 19:13 README.v2.md [2020-12-17T19:16:07.979Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 17 19:09 VERSION [2020-12-17T19:16:07.979Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 17 19:13 docs [2020-12-17T19:16:07.979Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 17 19:13 include [2020-12-17T19:16:07.979Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 17 19:13 scripts [2020-12-17T19:16:07.979Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 17 19:13 src [Pipeline] isUnix [Pipeline] sh [2020-12-17T19:16:08.350Z] + 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=9404f27c8fd8c346ccc944563d262e964126f8a0 --label arch=arm64 --label version=0.0.0 . [2020-12-17T19:16:08.627Z] Sending build context to Docker daemon 2.385MB [2020-12-17T19:16:08.627Z] Step 1/15 : ARG BASE=alpine:3.12 [2020-12-17T19:16:08.628Z] Step 2/15 : FROM ${BASE} [2020-12-17T19:16:08.628Z] ---> c6f197476d12 [2020-12-17T19:16:08.628Z] Step 3/15 : LABEL maintainer="IOTech " [2020-12-17T19:16:08.909Z] ---> Running in e26ab5b2f90a [2020-12-17T19:16:09.510Z] Removing intermediate container e26ab5b2f90a [2020-12-17T19:16:09.511Z] ---> 7dae9178c21f [2020-12-17T19:16:09.511Z] Step 4/15 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev && mkdir -p /edgex-c-sdk/build [2020-12-17T19:16:09.787Z] ---> Running in 7eef78c98a44 [2020-12-17T19:16:10.767Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2020-12-17T19:16:11.740Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2020-12-17T19:16:12.012Z] (1/6) Installing ncurses-dev (6.1_p20190105-r0) [2020-12-17T19:16:12.012Z] (2/6) Installing libblkid (2.33-r0) [2020-12-17T19:16:12.296Z] (3/6) Installing libfdisk (2.33-r0) [2020-12-17T19:16:12.296Z] (4/6) Installing libmount (2.33-r0) [2020-12-17T19:16:12.296Z] (5/6) Installing libsmartcols (2.33-r0) [2020-12-17T19:16:12.567Z] (6/6) Installing util-linux-dev (2.33-r0) [2020-12-17T19:16:12.838Z] Executing busybox-1.29.3-r10.trigger [2020-12-17T19:16:13.115Z] OK: 286 MiB in 84 packages [2020-12-17T19:16:14.543Z] Removing intermediate container 7eef78c98a44 [2020-12-17T19:16:14.543Z] ---> 10fc009a33c5 [2020-12-17T19:16:14.543Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2020-12-17T19:16:15.137Z] ---> c236b142a141 [2020-12-17T19:16:15.137Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2020-12-17T19:16:16.114Z] ---> 793e06ace613 [2020-12-17T19:16:16.114Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2020-12-17T19:16:16.709Z] ---> f7e61dd66c4c [2020-12-17T19:16:16.709Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2020-12-17T19:16:17.306Z] ---> 85a337febbe1 [2020-12-17T19:16:17.306Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2020-12-17T19:16:17.899Z] ---> 6a9a261af950 [2020-12-17T19:16:17.899Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2020-12-17T19:16:18.495Z] ---> 70b36dadabeb [2020-12-17T19:16:18.495Z] Step 11/15 : WORKDIR /edgex-c-sdk [2020-12-17T19:16:18.769Z] ---> Running in 914ac96f81ce [2020-12-17T19:16:19.042Z] Removing intermediate container 914ac96f81ce [2020-12-17T19:16:19.042Z] ---> cd019790bb20 [2020-12-17T19:16:19.042Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2020-12-17T19:16:19.317Z] ---> Running in 62c6e703b89a [2020-12-17T19:16:19.910Z] Removing intermediate container 62c6e703b89a [2020-12-17T19:16:19.911Z] ---> 7f987df90b06 [2020-12-17T19:16:19.911Z] Step 13/15 : LABEL arch=arm64 [2020-12-17T19:16:19.911Z] ---> Running in 1bc933150056 [2020-12-17T19:16:20.508Z] Removing intermediate container 1bc933150056 [2020-12-17T19:16:20.508Z] ---> 2d1ca9619625 [2020-12-17T19:16:20.508Z] Step 14/15 : LABEL git_sha=9404f27c8fd8c346ccc944563d262e964126f8a0 [2020-12-17T19:16:20.508Z] ---> Running in b6157df7ed41 [2020-12-17T19:16:21.103Z] Removing intermediate container b6157df7ed41 [2020-12-17T19:16:21.103Z] ---> f1b7cee80937 [2020-12-17T19:16:21.103Z] Step 15/15 : LABEL version=0.0.0 [2020-12-17T19:16:21.103Z] ---> Running in 824aca0ac7d4 [2020-12-17T19:16:21.699Z] Removing intermediate container 824aca0ac7d4 [2020-12-17T19:16:21.699Z] ---> d4e238f0ba96 [2020-12-17T19:16:21.699Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2020-12-17T19:16:21.699Z] Successfully built d4e238f0ba96 [2020-12-17T19:16:21.699Z] 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] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-12-17T19:16:25.169Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-17T19:16:25.773Z] ---> package-listing.sh [2020-12-17T19:16:25.773Z] ++ facter osfamily [2020-12-17T19:16:25.773Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-17T19:16:25.773Z] + OS_FAMILY=redhat [2020-12-17T19:16:25.773Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-317 [2020-12-17T19:16:25.773Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-17T19:16:25.773Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-17T19:16:25.773Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-17T19:16:25.773Z] + PACKAGES=/tmp/packages_start.txt [2020-12-17T19:16:25.773Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-317 ']' [2020-12-17T19:16:25.773Z] + PACKAGES=/tmp/packages_end.txt [2020-12-17T19:16:25.773Z] + case "${OS_FAMILY}" in [2020-12-17T19:16:25.773Z] + rpm -qa [2020-12-17T19:16:25.773Z] + sort [2020-12-17T19:16:29.993Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-17T19:16:29.993Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-17T19:16:29.993Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-17T19:16:29.993Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-317 ']' [2020-12-17T19:16:29.993Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-317/archives/ [2020-12-17T19:16:29.993Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-317/archives/ [Pipeline] echo [2020-12-17T19:16:30.031Z] 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-317/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-12-17T19:16:30.351Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-17T19:16:32.036Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-17T19:16:32.036Z] [2020-12-17T19:16:32.036Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-17T19:16:32.427Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-17T19:16:32.427Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-17T19:16:32.427Z] df20fa9351a1: Pulling fs layer [2020-12-17T19:16:32.427Z] 36b3adc4ff6f: Pulling fs layer [2020-12-17T19:16:32.427Z] 8ad3a11d3b57: Pulling fs layer [2020-12-17T19:16:32.427Z] 46f8f816bc3b: Pulling fs layer [2020-12-17T19:16:32.427Z] 93b61091891f: Pulling fs layer [2020-12-17T19:16:32.427Z] 93b9cdb0e59b: Pulling fs layer [2020-12-17T19:16:32.427Z] 5e14af77c1be: Pulling fs layer [2020-12-17T19:16:32.427Z] 01666e4c0597: Pulling fs layer [2020-12-17T19:16:32.427Z] aa168da1d23b: Pulling fs layer [2020-12-17T19:16:32.427Z] 46f8f816bc3b: Waiting [2020-12-17T19:16:32.427Z] 5e14af77c1be: Waiting [2020-12-17T19:16:32.427Z] 93b61091891f: Waiting [2020-12-17T19:16:32.427Z] 93b9cdb0e59b: Waiting [2020-12-17T19:16:32.427Z] aa168da1d23b: Waiting [2020-12-17T19:16:32.427Z] 01666e4c0597: Waiting [2020-12-17T19:16:32.427Z] 36b3adc4ff6f: Verifying Checksum [2020-12-17T19:16:32.427Z] 36b3adc4ff6f: Download complete [2020-12-17T19:16:32.427Z] 46f8f816bc3b: Download complete [2020-12-17T19:16:32.427Z] df20fa9351a1: Verifying Checksum [2020-12-17T19:16:32.427Z] df20fa9351a1: Download complete [2020-12-17T19:16:32.427Z] 93b9cdb0e59b: Verifying Checksum [2020-12-17T19:16:32.427Z] 93b9cdb0e59b: Download complete [2020-12-17T19:16:32.694Z] 93b61091891f: Verifying Checksum [2020-12-17T19:16:32.694Z] 93b61091891f: Download complete [2020-12-17T19:16:32.694Z] 5e14af77c1be: Verifying Checksum [2020-12-17T19:16:32.694Z] 5e14af77c1be: Download complete [2020-12-17T19:16:32.694Z] 01666e4c0597: Verifying Checksum [2020-12-17T19:16:32.694Z] 01666e4c0597: Download complete [2020-12-17T19:16:32.694Z] df20fa9351a1: Pull complete [2020-12-17T19:16:32.957Z] 36b3adc4ff6f: Pull complete [2020-12-17T19:16:32.957Z] 8ad3a11d3b57: Verifying Checksum [2020-12-17T19:16:32.957Z] 8ad3a11d3b57: Download complete [2020-12-17T19:16:33.920Z] 8ad3a11d3b57: Pull complete [2020-12-17T19:16:33.920Z] 46f8f816bc3b: Pull complete [2020-12-17T19:16:34.505Z] 93b61091891f: Pull complete [2020-12-17T19:16:34.505Z] 93b9cdb0e59b: Pull complete [2020-12-17T19:16:34.767Z] aa168da1d23b: Verifying Checksum [2020-12-17T19:16:34.767Z] aa168da1d23b: Download complete [2020-12-17T19:16:35.033Z] 5e14af77c1be: Pull complete [2020-12-17T19:16:35.033Z] 01666e4c0597: Pull complete [2020-12-17T19:16:43.219Z] aa168da1d23b: Pull complete [2020-12-17T19:16:43.219Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-17T19:16:43.219Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-17T19:16:43.219Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-17T19:16:43.382Z] prd-centos7-docker-4c-2g-16579 does not seem to be running inside a container [2020-12-17T19:16:43.426Z] $ 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-317/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-317 -v /w/workspace/edgexfoundry_device-sdk-c_PR-317:/w/workspace/edgexfoundry_device-sdk-c_PR-317:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-317@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-317@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-12-17T19:16:47.016Z] $ docker top d7cab488680cf687edc800b7c3e76d89ff68adbbc0315f36920e924877cf5433 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-17T19:16:47.535Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-17T19:16:47.851Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-17T19:16:48.183Z] + ls /var/log/sa-host [2020-12-17T19:16:48.183Z] + sadf -c /var/log/sa-host/sa17 [2020-12-17T19:16:48.183Z] file_magic: OK [2020-12-17T19:16:48.183Z] HZ: Using current value: 100 [2020-12-17T19:16:48.183Z] file_header: OK [2020-12-17T19:16:48.183Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-12-17T19:16:48.183Z] Statistics: [2020-12-17T19:16:48.183Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-17T19:16:48.183Z] File successfully converted to sysstat format version 12.2.1 [2020-12-17T19:16:48.183Z] + sadf -c /var/log/sa-host/sa23 [2020-12-17T19:16:48.183Z] file_magic: OK [2020-12-17T19:16:48.183Z] HZ: Using current value: 100 [2020-12-17T19:16:48.183Z] file_header: OK [2020-12-17T19:16:48.183Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-12-17T19:16:48.183Z] Statistics: [2020-12-17T19:16:48.183Z] Hnuu...uuuununununu... [2020-12-17T19:16:48.183Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-17T19:16:48.455Z] provisioning config files... [2020-12-17T19:16:48.474Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-317@tmp/config898719012618500357tmp [Pipeline] { [Pipeline] echo [2020-12-17T19:16:48.590Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-17T19:16:48.919Z] ---> create-netrc.sh [Pipeline] } [2020-12-17T19:16:48.939Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-17T19:16:49.075Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-17T19:16:49.416Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-17T19:16:49.446Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-17T19:16:49.783Z] ---> sudo-logs.sh [2020-12-17T19:16:49.783Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-17T19:16:49.819Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-17T19:16:50.151Z] ---> job-cost.sh [2020-12-17T19:16:50.151Z] lf-activate-venv: SKIPPING [2020-12-17T19:16:50.151Z] INFO: No Stack... [2020-12-17T19:16:51.538Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-17T19:16:51.799Z] INFO: Archiving Costs [Pipeline] echo [2020-12-17T19:16:51.831Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-17T19:16:52.158Z] ---> logs-deploy.sh [2020-12-17T19:16:52.158Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-317/1 [2020-12-17T19:16:52.158Z] INFO: archiving workspace using pattern(s): [2020-12-17T19:16:54.076Z] Archives upload complete. [2020-12-17T19:16:54.076Z] INFO: archiving logs to Nexus