Pull request #344 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of iain-anderson for edgexfoundry/device-sdk-c Obtained Jenkinsfile from e84e37becc814ab4619c544ede91496034644436+3284203db036fb577a63a0fff870deb676f4920e (8e2ba192c4f1504de560db2714505f9d0d945068) 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 9d0281235b943b7ad605f650702698f9078b2862 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 9d0281235b943b7ad605f650702698f9078b2862 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-344/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 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-344/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 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: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-4727 in /w/workspace/edgexfoundry_device-sdk-c_PR-344 [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-344 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 3284203db036fb577a63a0fff870deb676f4920e into PR head commit e84e37becc814ab4619c544ede91496034644436 Merge succeeded, producing e84e37becc814ab4619c544ede91496034644436 Checking out Revision e84e37becc814ab4619c544ede91496034644436 (PR-344) > 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/344/head:refs/remotes/origin/PR-344 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e84e37becc814ab4619c544ede91496034644436 # 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 3284203db036fb577a63a0fff870deb676f4920e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e84e37becc814ab4619c544ede91496034644436 # timeout=10 Commit message: "fix: update to new deviceCommand format, remove coreCommands from sample profiles (#310)" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-12T17:17:06.348Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-12T17:17:06.561Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-12T17:17:06.663Z] ========================================================= [2021-05-12T17:17:06.663Z] EdgeX Global Pipelines Version Info [2021-05-12T17:17:06.663Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-12T17:17:09.214Z] ------------------- [2021-05-12T17:17:09.214Z] stable info: [2021-05-12T17:17:09.214Z] ------------------- [2021-05-12T17:17:09.214Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-12T17:17:09.214Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-12T17:17:09.214Z] Message: update stable to v1.0.192 [2021-05-12T17:17:09.790Z] ------------------- [2021-05-12T17:17:09.790Z] experimental info: [2021-05-12T17:17:09.790Z] ------------------- [2021-05-12T17:17:09.790Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-12T17:17:09.790Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-12T17:17:09.790Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-12T17:17:10.021Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2021-05-12T17:17:10.075Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2021-05-12T17:17:10.126Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-12T17:17:10.178Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-12T17:17:10.242Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-12T17:17:10.296Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo [2021-05-12T17:17:10.350Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2021-05-12T17:17:10.402Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2021-05-12T17:17:10.453Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-12T17:17:10.500Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2021-05-12T17:17:10.547Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-12T17:17:10.614Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-12T17:17:10.666Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-12T17:17:10.726Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-05-12T17:17:10.779Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-12T17:17:10.831Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-12T17:17:10.892Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-12T17:17:10.945Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-344 [Pipeline] echo [2021-05-12T17:17:10.999Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-344 [Pipeline] echo [2021-05-12T17:17:11.053Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-344 [Pipeline] echo [2021-05-12T17:17:11.106Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e84e37becc814ab4619c544ede91496034644436 [Pipeline] echo [2021-05-12T17:17:11.159Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e84e37b [Pipeline] echo [2021-05-12T17:17:11.211Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-12T17:17:11.403Z] provisioning config files... [2021-05-12T17:17:11.480Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-344@tmp/config4725091775367162508tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-12T17:17:11.877Z] ---> docker-login.sh [2021-05-12T17:17:11.877Z] nexus3.edgexfoundry.org:10001 [2021-05-12T17:17:12.153Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T17:17:12.437Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T17:17:12.437Z] Configure a credential helper to remove this warning. See [2021-05-12T17:17:12.437Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T17:17:12.437Z] [2021-05-12T17:17:12.437Z] Login Succeeded [2021-05-12T17:17:12.437Z] nexus3.edgexfoundry.org:10002 [2021-05-12T17:17:12.705Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T17:17:12.705Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T17:17:12.705Z] Configure a credential helper to remove this warning. See [2021-05-12T17:17:12.705Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T17:17:12.705Z] [2021-05-12T17:17:12.705Z] Login Succeeded [2021-05-12T17:17:12.705Z] nexus3.edgexfoundry.org:10003 [2021-05-12T17:17:12.972Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T17:17:12.972Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T17:17:12.972Z] Configure a credential helper to remove this warning. See [2021-05-12T17:17:12.972Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T17:17:12.972Z] [2021-05-12T17:17:12.972Z] Login Succeeded [2021-05-12T17:17:12.972Z] nexus3.edgexfoundry.org:10004 [2021-05-12T17:17:13.241Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T17:17:13.241Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T17:17:13.241Z] Configure a credential helper to remove this warning. See [2021-05-12T17:17:13.241Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T17:17:13.241Z] [2021-05-12T17:17:13.241Z] Login Succeeded [2021-05-12T17:17:13.241Z] docker.io [2021-05-12T17:17:13.509Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T17:17:13.777Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T17:17:13.777Z] Configure a credential helper to remove this warning. See [2021-05-12T17:17:13.777Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T17:17:13.777Z] [2021-05-12T17:17:13.777Z] Login Succeeded [2021-05-12T17:17:13.777Z] ---> docker-login.sh ends [Pipeline] } [2021-05-12T17:17:13.810Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2021-05-12T17:17:15.554Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-12T17:17:15.555Z] [2021-05-12T17:17:15.555Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-12T17:17:15.950Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-12T17:17:16.239Z] latest: Pulling from edgex-devops/git-semver [2021-05-12T17:17:16.239Z] 31603596830f: Pulling fs layer [2021-05-12T17:17:16.239Z] 54011a49482f: Pulling fs layer [2021-05-12T17:17:16.239Z] a6820b24f6d8: Pulling fs layer [2021-05-12T17:17:16.239Z] f581987b2513: Pulling fs layer [2021-05-12T17:17:16.239Z] f581987b2513: Waiting [2021-05-12T17:17:16.239Z] 54011a49482f: Verifying Checksum [2021-05-12T17:17:16.239Z] 54011a49482f: Download complete [2021-05-12T17:17:16.515Z] 31603596830f: Verifying Checksum [2021-05-12T17:17:16.515Z] 31603596830f: Download complete [2021-05-12T17:17:16.515Z] f581987b2513: Verifying Checksum [2021-05-12T17:17:16.515Z] f581987b2513: Download complete [2021-05-12T17:17:16.515Z] a6820b24f6d8: Verifying Checksum [2021-05-12T17:17:16.515Z] a6820b24f6d8: Download complete [2021-05-12T17:17:16.797Z] 31603596830f: Pull complete [2021-05-12T17:17:17.066Z] 54011a49482f: Pull complete [2021-05-12T17:17:18.024Z] a6820b24f6d8: Pull complete [2021-05-12T17:17:18.287Z] f581987b2513: Pull complete [2021-05-12T17:17:18.287Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-12T17:17:18.555Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-12T17:17:18.555Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-12T17:17:18.835Z] prd-centos7-docker-4c-2g-4727 does not seem to be running inside a container [2021-05-12T17:17:18.888Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-344 -v /w/workspace/edgexfoundry_device-sdk-c_PR-344:/w/workspace/edgexfoundry_device-sdk-c_PR-344:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-344@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-344@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-12T17:17:21.296Z] $ docker top 76bdbf0c67391ebdc14aa36a900196bc6d9d0faf078c530c9af8b2fdcef08d03 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-12T17:17:21.566Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-12T17:17:21.566Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-12T17:17:21.881Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-12T17:17:21.888Z] $ docker exec 76bdbf0c67391ebdc14aa36a900196bc6d9d0faf078c530c9af8b2fdcef08d03 ssh-agent [2021-05-12T17:17:22.099Z] SSH_AUTH_SOCK=/tmp/ssh-orHllGHSXYsg/agent.13 [2021-05-12T17:17:22.099Z] SSH_AGENT_PID=18 [2021-05-12T17:17:22.127Z] Running ssh-add (command line suppressed) [2021-05-12T17:17:22.277Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-344@tmp/private_key_6187164533536026191.key (/w/workspace/edgexfoundry_device-sdk-c_PR-344@tmp/private_key_6187164533536026191.key) [2021-05-12T17:17:22.343Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-12T17:17:22.701Z] + git tag --points-at HEAD [Pipeline] } [2021-05-12T17:17:22.888Z] $ docker exec --env ******** --env ******** 76bdbf0c67391ebdc14aa36a900196bc6d9d0faf078c530c9af8b2fdcef08d03 ssh-agent -k [2021-05-12T17:17:23.092Z] unset SSH_AUTH_SOCK; [2021-05-12T17:17:23.092Z] unset SSH_AGENT_PID; [2021-05-12T17:17:23.092Z] echo Agent pid 18 killed; [2021-05-12T17:17:23.150Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-12T17:17:23.232Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-12T17:17:23.232Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-12T17:17:23.475Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-12T17:17:23.484Z] $ docker exec 76bdbf0c67391ebdc14aa36a900196bc6d9d0faf078c530c9af8b2fdcef08d03 ssh-agent [2021-05-12T17:17:23.750Z] SSH_AUTH_SOCK=/tmp/ssh-qD5bqo3txdnF/agent.47 [2021-05-12T17:17:23.750Z] SSH_AGENT_PID=53 [2021-05-12T17:17:23.759Z] Running ssh-add (command line suppressed) [2021-05-12T17:17:23.944Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-344@tmp/private_key_8867603809322752763.key (/w/workspace/edgexfoundry_device-sdk-c_PR-344@tmp/private_key_8867603809322752763.key) [2021-05-12T17:17:24.042Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-12T17:17:24.463Z] + git semver init [2021-05-12T17:17:24.463Z] # -> Open(): unable to determine branch for HEAD [2021-05-12T17:17:24.463Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-344/.git [2021-05-12T17:17:24.463Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-344 [2021-05-12T17:17:24.463Z] # $SEMVER_REMOTE_NAME = origin [2021-05-12T17:17:24.463Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-12T17:17:24.463Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-12T17:17:24.463Z] # $SEMVER_BRANCH = PR-344 [2021-05-12T17:17:24.463Z] # $SEMVER_TEMP = /tmp/semver-125549347 [2021-05-12T17:17:24.463Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2021-05-12T17:17:25.416Z] # '/tmp/semver-125549347' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-344/.semver' [2021-05-12T17:17:25.416Z] # -> Force: false [2021-05-12T17:17:25.416Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-344/.semver [Pipeline] } [2021-05-12T17:17:25.441Z] $ docker exec --env ******** --env ******** 76bdbf0c67391ebdc14aa36a900196bc6d9d0faf078c530c9af8b2fdcef08d03 ssh-agent -k [2021-05-12T17:17:25.611Z] unset SSH_AUTH_SOCK; [2021-05-12T17:17:25.611Z] unset SSH_AGENT_PID; [2021-05-12T17:17:25.612Z] echo Agent pid 53 killed; [2021-05-12T17:17:25.692Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-12T17:17:26.133Z] + git semver [Pipeline] } [2021-05-12T17:17:26.172Z] $ docker stop --time=1 76bdbf0c67391ebdc14aa36a900196bc6d9d0faf078c530c9af8b2fdcef08d03 [2021-05-12T17:17:27.811Z] $ docker rm -f 76bdbf0c67391ebdc14aa36a900196bc6d9d0faf078c530c9af8b2fdcef08d03 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-12T17:17:28.313Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-12T17:17:28.750Z] Stashed 1 file(s) [Pipeline] echo [2021-05-12T17:17:28.771Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-05-12T17:17:44.190Z] Still waiting to schedule task [2021-05-12T17:17:44.191Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-4727’ [2021-05-12T17:17:44.214Z] Still waiting to schedule task [2021-05-12T17:17:44.214Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ is offline [2021-05-12T17:19:41.572Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4728 in /w/workspace/edgexfoundry_device-sdk-c_PR-344 [Pipeline] { [Pipeline] ws [2021-05-12T17:19:41.634Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2021-05-12T17:19:47.343Z] using credential edgex-jenkins-ssh [2021-05-12T17:19:47.368Z] Cloning the remote Git repository [2021-05-12T17:19:47.436Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-05-12T17:19:47.545Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2021-05-12T17:19:47.728Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-05-12T17:19:47.729Z] > git --version # timeout=10 [2021-05-12T17:19:47.778Z] > git --version # 'git version 2.17.1' [2021-05-12T17:19:47.780Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T17:19:47.858Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-12T17:19:49.206Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-05-12T17:19:49.235Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-12T17:19:49.261Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-05-12T17:19:49.299Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-05-12T17:19:49.300Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T17:19:49.316Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/344/head:refs/remotes/origin/PR-344 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-12T17:19:49.908Z] Merging remotes/origin/master commit 3284203db036fb577a63a0fff870deb676f4920e into PR head commit e84e37becc814ab4619c544ede91496034644436 [2021-05-12T17:19:50.161Z] Merge succeeded, producing e84e37becc814ab4619c544ede91496034644436 [2021-05-12T17:19:50.162Z] Checking out Revision e84e37becc814ab4619c544ede91496034644436 (PR-344) [2021-05-12T17:19:49.927Z] > git config core.sparsecheckout # timeout=10 [2021-05-12T17:19:49.951Z] > git checkout -f e84e37becc814ab4619c544ede91496034644436 # timeout=10 [2021-05-12T17:19:50.070Z] > git remote # timeout=10 [2021-05-12T17:19:50.093Z] > git config --get remote.origin.url # timeout=10 [2021-05-12T17:19:50.112Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T17:19:50.123Z] > git merge 3284203db036fb577a63a0fff870deb676f4920e # timeout=10 [2021-05-12T17:19:50.144Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-12T17:19:50.169Z] > git config core.sparsecheckout # timeout=10 [2021-05-12T17:19:50.179Z] > git checkout -f e84e37becc814ab4619c544ede91496034644436 # timeout=10 [2021-05-12T17:19:54.394Z] Commit message: "fix: update to new deviceCommand format, remove coreCommands from sample profiles (#310)" [2021-05-12T17:19:54.459Z] > git --version # timeout=10 [2021-05-12T17:19:54.472Z] > git --version # 'git version 2.17.1' [2021-05-12T17:19:54.485Z] fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-12T17:19:56.430Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-12T17:19:56.876Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-12T17:19:57.231Z] + + true [2021-05-12T17:19:57.231Z] sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-12T17:19:59.970Z] provisioning config files... [2021-05-12T17:20:00.015Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config472743800054334471tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-12T17:20:00.442Z] ---> docker-login.sh [2021-05-12T17:20:00.442Z] nexus3.edgexfoundry.org:10001 [2021-05-12T17:20:01.435Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T17:20:01.651Z] Running on prd-centos7-docker-4c-2g-4729 in /w/workspace/edgexfoundry_device-sdk-c_PR-344 [Pipeline] { [Pipeline] ws [2021-05-12T17:20:01.707Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T17:20:01.707Z] Configure a credential helper to remove this warning. See [2021-05-12T17:20:01.707Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T17:20:01.707Z] [2021-05-12T17:20:01.707Z] Login Succeeded [2021-05-12T17:20:01.707Z] nexus3.edgexfoundry.org:10002 [2021-05-12T17:20:01.708Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2021-05-12T17:20:01.990Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T17:20:02.265Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T17:20:02.265Z] Configure a credential helper to remove this warning. See [2021-05-12T17:20:02.265Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T17:20:02.265Z] [2021-05-12T17:20:02.265Z] Login Succeeded [2021-05-12T17:20:02.265Z] nexus3.edgexfoundry.org:10003 [2021-05-12T17:20:02.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T17:20:02.824Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T17:20:02.824Z] Configure a credential helper to remove this warning. See [2021-05-12T17:20:02.824Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T17:20:02.824Z] [2021-05-12T17:20:02.824Z] Login Succeeded [2021-05-12T17:20:02.824Z] nexus3.edgexfoundry.org:10004 [2021-05-12T17:20:03.096Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T17:20:03.371Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T17:20:03.371Z] Configure a credential helper to remove this warning. See [2021-05-12T17:20:03.371Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T17:20:03.371Z] [2021-05-12T17:20:03.371Z] Login Succeeded [2021-05-12T17:20:03.371Z] docker.io [2021-05-12T17:20:03.641Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T17:20:03.914Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T17:20:03.914Z] Configure a credential helper to remove this warning. See [2021-05-12T17:20:03.914Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T17:20:03.914Z] [2021-05-12T17:20:03.914Z] Login Succeeded [2021-05-12T17:20:03.914Z] ---> docker-login.sh ends [Pipeline] } [2021-05-12T17:20:03.953Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-05-12T17:20:04.138Z] using credential edgex-jenkins-ssh [2021-05-12T17:20:04.150Z] Cloning the remote Git repository [Pipeline] echo [2021-05-12T17:20:04.361Z] ========================================================= [2021-05-12T17:20:04.362Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2021-05-12T17:20:04.362Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-12T17:20:04.763Z] + 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 . [2021-05-12T17:20:05.036Z] Sending build context to Docker daemon 2.567MB [2021-05-12T17:20:04.151Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-05-12T17:20:04.216Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2021-05-12T17:20:04.281Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-05-12T17:20:04.282Z] > git --version # timeout=10 [2021-05-12T17:20:04.287Z] > git --version # 'git version 2.24.3' [2021-05-12T17:20:04.288Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T17:20:04.317Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-12T17:20:05.309Z] Step 1/25 : ARG BASE=alpine:3.12 [2021-05-12T17:20:05.310Z] Step 2/25 : FROM ${BASE} as builder [2021-05-12T17:20:05.310Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2021-05-12T17:20:05.310Z] 0362ad1dd800: Pulling fs layer [2021-05-12T17:20:05.310Z] f2cdb1532d8b: Pulling fs layer [2021-05-12T17:20:05.310Z] 37ed683be191: Pulling fs layer [2021-05-12T17:20:05.310Z] f2cdb1532d8b: Verifying Checksum [2021-05-12T17:20:05.310Z] f2cdb1532d8b: Download complete [2021-05-12T17:20:05.585Z] 0362ad1dd800: Verifying Checksum [2021-05-12T17:20:05.585Z] 0362ad1dd800: Download complete [2021-05-12T17:20:06.203Z] 0362ad1dd800: Pull complete [2021-05-12T17:20:06.481Z] f2cdb1532d8b: Pull complete [2021-05-12T17:20:07.278Z] Merging remotes/origin/master commit 3284203db036fb577a63a0fff870deb676f4920e into PR head commit e84e37becc814ab4619c544ede91496034644436 [2021-05-12T17:20:07.472Z] Merge succeeded, producing e84e37becc814ab4619c544ede91496034644436 [2021-05-12T17:20:07.473Z] Checking out Revision e84e37becc814ab4619c544ede91496034644436 (PR-344) [2021-05-12T17:20:06.555Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-05-12T17:20:06.564Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-12T17:20:06.575Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-05-12T17:20:06.587Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-05-12T17:20:06.588Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T17:20:06.593Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/344/head:refs/remotes/origin/PR-344 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-12T17:20:07.286Z] > git config core.sparsecheckout # timeout=10 [2021-05-12T17:20:07.290Z] > git checkout -f e84e37becc814ab4619c544ede91496034644436 # timeout=10 [2021-05-12T17:20:07.426Z] > git remote # timeout=10 [2021-05-12T17:20:07.449Z] > git config --get remote.origin.url # timeout=10 [2021-05-12T17:20:07.456Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T17:20:07.459Z] > git merge 3284203db036fb577a63a0fff870deb676f4920e # timeout=10 [2021-05-12T17:20:07.468Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-12T17:20:07.476Z] > git config core.sparsecheckout # timeout=10 [2021-05-12T17:20:07.480Z] > git checkout -f e84e37becc814ab4619c544ede91496034644436 # timeout=10 [2021-05-12T17:20:07.917Z] 37ed683be191: Verifying Checksum [2021-05-12T17:20:07.918Z] 37ed683be191: Download complete [2021-05-12T17:20:11.037Z] Commit message: "fix: update to new deviceCommand format, remove coreCommands from sample profiles (#310)" [2021-05-12T17:20:11.063Z] > git --version # timeout=10 [2021-05-12T17:20:11.067Z] > git --version # 'git version 2.24.3' [2021-05-12T17:20:11.077Z] fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-12T17:20:12.314Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-12T17:20:12.654Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-12T17:20:12.983Z] + true [2021-05-12T17:20:12.983Z] + sudo service docker restart [2021-05-12T17:20:12.983Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-12T17:20:14.468Z] provisioning config files... [2021-05-12T17:20:14.497Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config7911299218578557242tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-12T17:20:14.854Z] ---> docker-login.sh [2021-05-12T17:20:14.854Z] nexus3.edgexfoundry.org:10001 [2021-05-12T17:20:15.115Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T17:20:15.115Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T17:20:15.115Z] Configure a credential helper to remove this warning. See [2021-05-12T17:20:15.115Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T17:20:15.115Z] [2021-05-12T17:20:15.115Z] Login Succeeded [2021-05-12T17:20:15.115Z] nexus3.edgexfoundry.org:10002 [2021-05-12T17:20:15.377Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T17:20:15.377Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T17:20:15.377Z] Configure a credential helper to remove this warning. See [2021-05-12T17:20:15.377Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T17:20:15.377Z] [2021-05-12T17:20:15.377Z] Login Succeeded [2021-05-12T17:20:15.377Z] nexus3.edgexfoundry.org:10003 [2021-05-12T17:20:15.377Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T17:20:15.377Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T17:20:15.377Z] Configure a credential helper to remove this warning. See [2021-05-12T17:20:15.377Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T17:20:15.377Z] [2021-05-12T17:20:15.377Z] Login Succeeded [2021-05-12T17:20:15.377Z] nexus3.edgexfoundry.org:10004 [2021-05-12T17:20:15.642Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T17:20:15.642Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T17:20:15.642Z] Configure a credential helper to remove this warning. See [2021-05-12T17:20:15.642Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T17:20:15.642Z] [2021-05-12T17:20:15.642Z] Login Succeeded [2021-05-12T17:20:15.642Z] docker.io [2021-05-12T17:20:15.642Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T17:20:15.904Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T17:20:15.904Z] Configure a credential helper to remove this warning. See [2021-05-12T17:20:15.904Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T17:20:15.904Z] [2021-05-12T17:20:15.904Z] Login Succeeded [2021-05-12T17:20:16.165Z] ---> docker-login.sh ends [Pipeline] } [2021-05-12T17:20:16.188Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-12T17:20:16.456Z] ========================================================= [2021-05-12T17:20:16.456Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2021-05-12T17:20:16.456Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-12T17:20:16.801Z] + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . [2021-05-12T17:20:16.801Z] Sending build context to Docker daemon 2.568MB [2021-05-12T17:20:16.801Z] Step 1/25 : ARG BASE=alpine:3.12 [2021-05-12T17:20:16.801Z] Step 2/25 : FROM ${BASE} as builder [2021-05-12T17:20:17.067Z] latest: Pulling from edgex-devops/edgex-gcc-base [2021-05-12T17:20:17.068Z] e7c96db7181b: Pulling fs layer [2021-05-12T17:20:17.068Z] 4c13bbce0fe7: Pulling fs layer [2021-05-12T17:20:17.068Z] 6059c847ac2f: Pulling fs layer [2021-05-12T17:20:17.068Z] e7c96db7181b: Verifying Checksum [2021-05-12T17:20:17.068Z] e7c96db7181b: Download complete [2021-05-12T17:20:17.329Z] e7c96db7181b: Pull complete [2021-05-12T17:20:17.608Z] 4c13bbce0fe7: Pull complete [2021-05-12T17:20:18.092Z] 37ed683be191: Pull complete [2021-05-12T17:20:18.092Z] Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f [2021-05-12T17:20:18.092Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2021-05-12T17:20:18.092Z] ---> b23d30803547 [2021-05-12T17:20:18.092Z] Step 3/25 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub [2021-05-12T17:20:18.178Z] 6059c847ac2f: Verifying Checksum [2021-05-12T17:20:18.178Z] 6059c847ac2f: Download complete [2021-05-12T17:20:18.689Z] ---> Running in 63c5602a1e95 [2021-05-12T17:20:19.678Z] Connecting to iotech.jfrog.io (34.243.182.113:443) [2021-05-12T17:20:20.269Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-05-12T17:20:20.269Z] [2021-05-12T17:20:21.246Z] Removing intermediate container 63c5602a1e95 [2021-05-12T17:20:21.246Z] ---> 4e8805bd0963 [2021-05-12T17:20:21.246Z] Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-05-12T17:20:21.246Z] ---> Running in 57000be5b140 [2021-05-12T17:20:23.226Z] Removing intermediate container 57000be5b140 [2021-05-12T17:20:23.226Z] ---> 26a7ec4babdf [2021-05-12T17:20:23.226Z] Step 5/25 : 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 paho-mqtt-c-dev hiredis-dev [2021-05-12T17:20:23.499Z] ---> Running in 7d42d7b616c0 [2021-05-12T17:20:23.502Z] 6059c847ac2f: Pull complete [2021-05-12T17:20:23.502Z] Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e [2021-05-12T17:20:23.502Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2021-05-12T17:20:23.502Z] ---> 5eabd8fd8ba2 [2021-05-12T17:20:23.502Z] Step 3/25 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub [2021-05-12T17:20:24.448Z] ---> Running in 82496a33c1dc [2021-05-12T17:20:24.479Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2021-05-12T17:20:25.021Z] Connecting to iotech.jfrog.io (54.229.110.245:443) [2021-05-12T17:20:25.286Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-05-12T17:20:25.286Z] [2021-05-12T17:20:25.455Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2021-05-12T17:20:25.861Z] Removing intermediate container 82496a33c1dc [2021-05-12T17:20:25.861Z] ---> c88e674a90dd [2021-05-12T17:20:25.861Z] Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-05-12T17:20:25.861Z] ---> Running in 591ff577698c [2021-05-12T17:20:26.052Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz [2021-05-12T17:20:26.324Z] (1/11) Installing hiredis (0.14.0-r0) [2021-05-12T17:20:26.438Z] Removing intermediate container 591ff577698c [2021-05-12T17:20:26.438Z] ---> 555047b8a313 [2021-05-12T17:20:26.438Z] Step 5/25 : 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 paho-mqtt-c-dev hiredis-dev [2021-05-12T17:20:26.597Z] (2/11) Installing hiredis-dev (0.14.0-r0) [2021-05-12T17:20:26.702Z] ---> Running in f6b6fc219d0e [2021-05-12T17:20:26.868Z] (3/11) Installing ncurses-dev (6.1_p20190105-r0) [2021-05-12T17:20:26.868Z] (4/11) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-05-12T17:20:26.965Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2021-05-12T17:20:28.289Z] (5/11) Installing libuuid (2.33-r0) [2021-05-12T17:20:28.289Z] (6/11) Installing libblkid (2.33-r0) [2021-05-12T17:20:28.352Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2021-05-12T17:20:28.559Z] (7/11) Installing libfdisk (2.33-r0) [2021-05-12T17:20:28.614Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz [2021-05-12T17:20:28.830Z] (8/11) Installing libmount (2.33-r0) [2021-05-12T17:20:28.830Z] (9/11) Installing libsmartcols (2.33-r0) [2021-05-12T17:20:28.830Z] (10/11) Installing util-linux-dev (2.33-r0) [2021-05-12T17:20:28.875Z] (1/11) Installing hiredis (0.14.0-r0) [2021-05-12T17:20:29.101Z] (11/11) Installing wget (1.20.3-r0) [2021-05-12T17:20:29.137Z] (2/11) Installing hiredis-dev (0.14.0-r0) [2021-05-12T17:20:29.137Z] (3/11) Installing ncurses-dev (6.1_p20190105-r0) [2021-05-12T17:20:29.373Z] Executing busybox-1.29.3-r10.trigger [2021-05-12T17:20:29.373Z] OK: 287 MiB in 86 packages [2021-05-12T17:20:29.400Z] (4/11) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-05-12T17:20:30.808Z] Removing intermediate container 7d42d7b616c0 [2021-05-12T17:20:30.808Z] ---> 5433bbb72119 [2021-05-12T17:20:30.808Z] Step 6/25 : ENV CBOR_VERSION=0.5.0 [2021-05-12T17:20:30.808Z] ---> Running in 7c7b013d6bcb [2021-05-12T17:20:31.401Z] Removing intermediate container 7c7b013d6bcb [2021-05-12T17:20:31.402Z] ---> f5b3e5d0b81d [2021-05-12T17:20:31.402Z] Step 7/25 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install [2021-05-12T17:20:31.677Z] ---> Running in 924b21d1d7e1 [2021-05-12T17:20:31.947Z] (5/11) Installing libuuid (2.33-r0) [2021-05-12T17:20:31.947Z] (6/11) Installing libblkid (2.33-r0) [2021-05-12T17:20:31.947Z] (7/11) Installing libfdisk (2.33-r0) [2021-05-12T17:20:31.947Z] (8/11) Installing libmount (2.33-r0) [2021-05-12T17:20:32.209Z] (9/11) Installing libsmartcols (2.33-r0) [2021-05-12T17:20:32.209Z] (10/11) Installing util-linux-dev (2.33-r0) [2021-05-12T17:20:32.471Z] (11/11) Installing wget (1.20.3-r0) [2021-05-12T17:20:32.471Z] Executing busybox-1.29.3-r10.trigger [2021-05-12T17:20:32.471Z] OK: 273 MiB in 86 packages [2021-05-12T17:20:32.653Z] --2021-05-12 17:20:32-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-05-12T17:20:32.654Z] Resolving github.com... 140.82.114.3 [2021-05-12T17:20:32.654Z] Connecting to github.com|140.82.114.3|:443... connected. [2021-05-12T17:20:32.654Z] HTTP request sent, awaiting response... 302 Found [2021-05-12T17:20:32.654Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-05-12T17:20:32.654Z] --2021-05-12 17:20:32-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-05-12T17:20:32.654Z] Resolving codeload.github.com... 140.82.113.10 [2021-05-12T17:20:32.654Z] Connecting to codeload.github.com|140.82.113.10|:443... connected. [2021-05-12T17:20:32.926Z] HTTP request sent, awaiting response... 200 OK [2021-05-12T17:20:32.926Z] Length: unspecified [application/x-gzip] [2021-05-12T17:20:32.926Z] Saving to: 'STDOUT' [2021-05-12T17:20:32.926Z]  [2021-05-12T17:20:32.926Z] 0K .......... .......... .......... .......... .......... 1.45M [2021-05-12T17:20:32.926Z] 50K .......... .......... .......... .......... .......... 2.67M [2021-05-12T17:20:32.926Z] 100K .......... .......... .......... .......... .......... 10.2M [2021-05-12T17:20:32.926Z] 150K .......... .......... .......... .......... .......... 3.86M [2021-05-12T17:20:32.926Z] 200K .......... .......... .......... .......... .......... 7.86M [2021-05-12T17:20:32.926Z] 250K .......... .......... .......... .......... .......... 3.62M [2021-05-12T17:20:32.926Z] 300K .......... .......... .......... .......... .......... 5.48M [2021-05-12T17:20:32.926Z] 350K .......... .......... .......... .......... .......... 4.42M [2021-05-12T17:20:32.926Z] 400K .......... .......... .......... .......... .......... 4.28M [2021-05-12T17:20:32.926Z] 450K .......... .......... .......... .......... .......... 3.85M [2021-05-12T17:20:32.926Z] 500K .......... .......... .......... .......... .......... 9.89M [2021-05-12T17:20:33.045Z] Removing intermediate container f6b6fc219d0e [2021-05-12T17:20:33.045Z] ---> fb17fd07e817 [2021-05-12T17:20:33.045Z] Step 6/25 : ENV CBOR_VERSION=0.5.0 [2021-05-12T17:20:33.198Z] 550K .......... .......... .......... .......... .......... 1.60M [2021-05-12T17:20:33.198Z] 600K .......... .......... .......... .......... .......... 1.03M [2021-05-12T17:20:33.198Z] 650K .......... .......... .......... .......... .......... 2.11M [2021-05-12T17:20:33.198Z] 700K .. 3.71M=0.2s [2021-05-12T17:20:33.198Z] [2021-05-12T17:20:33.198Z] 2021-05-12 17:20:33 (2.86 MB/s) - written to stdout [719348] [2021-05-12T17:20:33.198Z] [2021-05-12T17:20:33.308Z] ---> Running in d5b9cfa3e650 [2021-05-12T17:20:33.308Z] Removing intermediate container d5b9cfa3e650 [2021-05-12T17:20:33.308Z] ---> e75c8feef0a0 [2021-05-12T17:20:33.309Z] Step 7/25 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install [2021-05-12T17:20:33.309Z] ---> Running in b7829a99bce8 [2021-05-12T17:20:33.473Z] -- The C compiler identification is GNU 8.3.0 [2021-05-12T17:20:33.746Z] -- The CXX compiler identification is GNU 8.3.0 [2021-05-12T17:20:33.746Z] -- Check for working C compiler: /usr/bin/cc [2021-05-12T17:20:33.903Z] --2021-05-12 17:20:33-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-05-12T17:20:33.903Z] Resolving github.com... 140.82.114.3 [2021-05-12T17:20:33.903Z] Connecting to github.com|140.82.114.3|:443... connected. [2021-05-12T17:20:33.903Z] HTTP request sent, awaiting response... 302 Found [2021-05-12T17:20:33.903Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-05-12T17:20:33.903Z] --2021-05-12 17:20:33-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-05-12T17:20:33.903Z] Resolving codeload.github.com... 140.82.113.10 [2021-05-12T17:20:33.903Z] Connecting to codeload.github.com|140.82.113.10|:443... connected. [2021-05-12T17:20:33.903Z] HTTP request sent, awaiting response... 200 OK [2021-05-12T17:20:33.903Z] Length: unspecified [application/x-gzip] [2021-05-12T17:20:33.903Z] Saving to: 'STDOUT' [2021-05-12T17:20:33.903Z]  [2021-05-12T17:20:33.903Z] 0K .......... .......... .......... .......... .......... 1.52M [2021-05-12T17:20:33.903Z] 50K .......... .......... .......... .......... .......... 3.06M [2021-05-12T17:20:34.024Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-05-12T17:20:34.024Z] -- Detecting C compiler ABI info [2021-05-12T17:20:34.165Z] 100K .......... .......... .......... .......... .......... 48.2M [2021-05-12T17:20:34.165Z] 150K .......... .......... .......... .......... .......... 3.16M [2021-05-12T17:20:34.165Z] 200K .......... .......... .......... .......... .......... 24.3M [2021-05-12T17:20:34.165Z] 250K .......... .......... .......... .......... .......... 12.3M [2021-05-12T17:20:34.165Z] 300K .......... .......... .......... .......... .......... 11.2M [2021-05-12T17:20:34.165Z] 350K .......... .......... .......... .......... .......... 10.4M [2021-05-12T17:20:34.165Z] 400K .......... .......... .......... .......... .......... 5.90M [2021-05-12T17:20:34.165Z] 450K .......... .......... .......... .......... .......... 10.5M [2021-05-12T17:20:34.165Z] 500K .......... .......... .......... .......... .......... 19.3M [2021-05-12T17:20:34.165Z] 550K .......... .......... .......... .......... .......... 819K [2021-05-12T17:20:34.165Z] 600K .......... .......... .......... .......... .......... 25.1M [2021-05-12T17:20:34.165Z] 650K .......... .......... .......... .......... .......... 5.09M [2021-05-12T17:20:34.165Z] 700K .. 643K=0.2s [2021-05-12T17:20:34.165Z] [2021-05-12T17:20:34.165Z] 2021-05-12 17:20:34 (4.00 MB/s) - written to stdout [719348] [2021-05-12T17:20:34.165Z] [2021-05-12T17:20:34.165Z] -- The C compiler identification is GNU 8.3.0 [2021-05-12T17:20:34.300Z] -- Detecting C compiler ABI info - done [2021-05-12T17:20:34.300Z] -- Detecting C compile features [2021-05-12T17:20:34.426Z] -- The CXX compiler identification is GNU 8.3.0 [2021-05-12T17:20:34.426Z] -- Check for working C compiler: /usr/bin/cc [2021-05-12T17:20:34.426Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-05-12T17:20:34.426Z] -- Detecting C compiler ABI info [2021-05-12T17:20:34.426Z] -- Detecting C compiler ABI info - done [2021-05-12T17:20:34.426Z] -- Detecting C compile features [2021-05-12T17:20:34.689Z] -- Detecting C compile features - done [2021-05-12T17:20:34.689Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-05-12T17:20:34.689Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2021-05-12T17:20:34.689Z] -- Detecting CXX compiler ABI info [2021-05-12T17:20:34.895Z] -- Detecting C compile features - done [2021-05-12T17:20:34.895Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-05-12T17:20:34.950Z] -- Detecting CXX compiler ABI info - done [2021-05-12T17:20:34.950Z] -- Detecting CXX compile features [2021-05-12T17:20:35.168Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2021-05-12T17:20:35.168Z] -- Detecting CXX compiler ABI info [2021-05-12T17:20:35.211Z] -- Detecting CXX compile features - done [2021-05-12T17:20:35.211Z] -- Looking for include file endian.h [2021-05-12T17:20:35.441Z] -- Detecting CXX compiler ABI info - done [2021-05-12T17:20:35.441Z] -- Detecting CXX compile features [2021-05-12T17:20:35.475Z] -- Looking for include file endian.h - found [2021-05-12T17:20:35.476Z] -- Check if the system is big endian [2021-05-12T17:20:35.476Z] -- Searching 16 bit integer [2021-05-12T17:20:35.476Z] -- Looking for sys/types.h [2021-05-12T17:20:35.476Z] -- Looking for sys/types.h - found [2021-05-12T17:20:35.476Z] -- Looking for stdint.h [2021-05-12T17:20:35.476Z] -- Looking for stdint.h - found [2021-05-12T17:20:35.476Z] -- Looking for stddef.h [2021-05-12T17:20:35.738Z] -- Looking for stddef.h - found [2021-05-12T17:20:35.738Z] -- Check size of unsigned short [2021-05-12T17:20:35.738Z] -- Check size of unsigned short - done [2021-05-12T17:20:35.738Z] -- Using unsigned short [2021-05-12T17:20:35.738Z] -- Check if the system is big endian - little endian [2021-05-12T17:20:35.738Z] -- Check size of size_t [2021-05-12T17:20:35.738Z] -- Check size of size_t - done [2021-05-12T17:20:35.738Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-05-12T17:20:35.738Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-05-12T17:20:35.738Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-05-12T17:20:35.738Z] CMake did not find one. [2021-05-12T17:20:35.738Z] [2021-05-12T17:20:35.738Z] Could not find a package configuration file provided by "cJSON" with any of [2021-05-12T17:20:35.738Z] the following names: [2021-05-12T17:20:35.738Z] [2021-05-12T17:20:35.738Z] cJSONConfig.cmake [2021-05-12T17:20:35.738Z] cjson-config.cmake [2021-05-12T17:20:35.738Z] [2021-05-12T17:20:35.738Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-05-12T17:20:35.738Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-05-12T17:20:35.738Z] provides a separate development package or SDK, be sure it has been [2021-05-12T17:20:35.738Z] installed. [2021-05-12T17:20:35.738Z] [2021-05-12T17:20:35.738Z] [2021-05-12T17:20:36.001Z] -- Configuring done [2021-05-12T17:20:36.001Z] -- Generating done [2021-05-12T17:20:36.001Z] -- Build files have been written to: /tmp/cbor [2021-05-12T17:20:36.001Z] Scanning dependencies of target cbor_shared [2021-05-12T17:20:36.001Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-05-12T17:20:36.263Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-05-12T17:20:36.263Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-05-12T17:20:36.525Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-05-12T17:20:36.525Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-05-12T17:20:36.525Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-05-12T17:20:36.785Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-05-12T17:20:36.785Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-05-12T17:20:36.785Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-05-12T17:20:36.785Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-05-12T17:20:36.881Z] -- Detecting CXX compile features - done [2021-05-12T17:20:36.881Z] -- Looking for include file endian.h [2021-05-12T17:20:37.046Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-05-12T17:20:37.046Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-05-12T17:20:37.155Z] -- Looking for include file endian.h - found [2021-05-12T17:20:37.155Z] -- Check if the system is big endian [2021-05-12T17:20:37.155Z] -- Searching 16 bit integer [2021-05-12T17:20:37.155Z] -- Looking for sys/types.h [2021-05-12T17:20:37.309Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-05-12T17:20:37.309Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-05-12T17:20:37.309Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-05-12T17:20:37.309Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-05-12T17:20:37.432Z] -- Looking for sys/types.h - found [2021-05-12T17:20:37.432Z] -- Looking for stdint.h [2021-05-12T17:20:37.573Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-05-12T17:20:37.573Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-05-12T17:20:37.573Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-05-12T17:20:37.573Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-05-12T17:20:37.705Z] -- Looking for stdint.h - found [2021-05-12T17:20:37.705Z] -- Looking for stddef.h [2021-05-12T17:20:37.835Z] [ 40%] Linking C shared library libcbor.so [2021-05-12T17:20:37.835Z] [ 40%] Built target cbor_shared [2021-05-12T17:20:37.835Z] Scanning dependencies of target cbor [2021-05-12T17:20:37.835Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-05-12T17:20:37.976Z] -- Looking for stddef.h - found [2021-05-12T17:20:37.976Z] -- Check size of unsigned short [2021-05-12T17:20:38.096Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-05-12T17:20:38.096Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-05-12T17:20:38.096Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-05-12T17:20:38.250Z] -- Check size of unsigned short - done [2021-05-12T17:20:38.250Z] -- Using unsigned short [2021-05-12T17:20:38.250Z] -- Check if the system is big endian - little endian [2021-05-12T17:20:38.357Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-05-12T17:20:38.523Z] -- Check size of size_t [2021-05-12T17:20:38.618Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-05-12T17:20:38.618Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-05-12T17:20:38.618Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-05-12T17:20:38.618Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-05-12T17:20:38.794Z] -- Check size of size_t - done [2021-05-12T17:20:38.794Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-05-12T17:20:38.794Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-05-12T17:20:38.794Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-05-12T17:20:38.794Z] CMake did not find one. [2021-05-12T17:20:38.794Z] [2021-05-12T17:20:38.794Z] Could not find a package configuration file provided by "cJSON" with any of [2021-05-12T17:20:38.794Z] the following names: [2021-05-12T17:20:38.794Z] [2021-05-12T17:20:38.794Z] cJSONConfig.cmake [2021-05-12T17:20:38.794Z] cjson-config.cmake [2021-05-12T17:20:38.794Z] [2021-05-12T17:20:38.794Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-05-12T17:20:38.795Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-05-12T17:20:38.795Z] provides a separate development package or SDK, be sure it has been [2021-05-12T17:20:38.795Z] installed. [2021-05-12T17:20:38.795Z] [2021-05-12T17:20:38.795Z] [2021-05-12T17:20:38.795Z] -- Configuring done [2021-05-12T17:20:38.880Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-05-12T17:20:38.880Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-05-12T17:20:39.067Z] -- Generating done [2021-05-12T17:20:39.067Z] -- Build files have been written to: /tmp/cbor [2021-05-12T17:20:39.067Z] Scanning dependencies of target cbor_shared [2021-05-12T17:20:39.067Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-05-12T17:20:39.144Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-05-12T17:20:39.144Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-05-12T17:20:39.144Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-05-12T17:20:39.407Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-05-12T17:20:39.407Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-05-12T17:20:39.407Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-05-12T17:20:39.407Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-05-12T17:20:39.670Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-05-12T17:20:39.670Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-05-12T17:20:39.670Z] [ 80%] Linking C static library libcbor.a [2021-05-12T17:20:39.670Z] [ 80%] Built target cbor [2021-05-12T17:20:39.670Z] Scanning dependencies of target create_items [2021-05-12T17:20:39.670Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-05-12T17:20:39.670Z] [ 84%] Linking C executable create_items [2021-05-12T17:20:39.931Z] [ 84%] Built target create_items [2021-05-12T17:20:39.931Z] Scanning dependencies of target readfile [2021-05-12T17:20:39.931Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-05-12T17:20:39.931Z] [ 88%] Linking C executable readfile [2021-05-12T17:20:39.931Z] [ 88%] Built target readfile [2021-05-12T17:20:39.931Z] Scanning dependencies of target streaming_parser [2021-05-12T17:20:39.931Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-05-12T17:20:39.931Z] [ 92%] Linking C executable streaming_parser [2021-05-12T17:20:39.931Z] [ 92%] Built target streaming_parser [2021-05-12T17:20:39.931Z] Scanning dependencies of target sort [2021-05-12T17:20:39.931Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-05-12T17:20:40.043Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-05-12T17:20:40.192Z] [ 96%] Linking C executable sort [2021-05-12T17:20:40.192Z] [ 96%] Built target sort [2021-05-12T17:20:40.192Z] Scanning dependencies of target hello [2021-05-12T17:20:40.192Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-05-12T17:20:40.192Z] [100%] Linking C executable hello [2021-05-12T17:20:40.192Z] [100%] Built target hello [2021-05-12T17:20:40.192Z] Install the project... [2021-05-12T17:20:40.192Z] -- Install configuration: "Release" [2021-05-12T17:20:40.192Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-05-12T17:20:40.192Z] -- Installing: /usr/local/lib64/libcbor.a [2021-05-12T17:20:40.192Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-05-12T17:20:40.192Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-05-12T17:20:40.192Z] -- Installing: /usr/local/lib64/libcbor.so [2021-05-12T17:20:40.192Z] -- Up-to-date: /usr/local/include/cbor [2021-05-12T17:20:40.192Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-05-12T17:20:40.192Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-05-12T17:20:40.192Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-05-12T17:20:40.192Z] -- Installing: /usr/local/include/cbor/common.h [2021-05-12T17:20:40.192Z] -- Installing: /usr/local/include/cbor/data.h [2021-05-12T17:20:40.192Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-05-12T17:20:40.192Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-05-12T17:20:40.192Z] -- Installing: /usr/local/include/cbor/internal [2021-05-12T17:20:40.192Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-05-12T17:20:40.192Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-05-12T17:20:40.192Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-05-12T17:20:40.192Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-05-12T17:20:40.192Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-05-12T17:20:40.192Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-05-12T17:20:40.192Z] -- Installing: /usr/local/include/cbor/ints.h [2021-05-12T17:20:40.192Z] -- Installing: /usr/local/include/cbor/maps.h [2021-05-12T17:20:40.192Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-05-12T17:20:40.192Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-05-12T17:20:40.192Z] -- Installing: /usr/local/include/cbor/strings.h [2021-05-12T17:20:40.192Z] -- Installing: /usr/local/include/cbor/tags.h [2021-05-12T17:20:40.192Z] -- Installing: /usr/local/include/cbor.h [2021-05-12T17:20:40.192Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-05-12T17:20:40.321Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-05-12T17:20:40.601Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-05-12T17:20:41.193Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-05-12T17:20:41.464Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-05-12T17:20:41.739Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-05-12T17:20:41.739Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-05-12T17:20:42.014Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-05-12T17:20:42.286Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-05-12T17:20:42.750Z] Removing intermediate container b7829a99bce8 [2021-05-12T17:20:42.750Z] ---> bd5d9d14662c [2021-05-12T17:20:42.750Z] Step 8/25 : RUN mkdir /tmp/sdk [2021-05-12T17:20:42.750Z] ---> Running in 71413e12ed2e [2021-05-12T17:20:42.879Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-05-12T17:20:43.150Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-05-12T17:20:43.698Z] Removing intermediate container 71413e12ed2e [2021-05-12T17:20:43.698Z] ---> 9a210299ed1e [2021-05-12T17:20:43.698Z] Step 9/25 : COPY VERSION /tmp/sdk [2021-05-12T17:20:43.698Z] ---> 3208df71efcd [2021-05-12T17:20:43.698Z] Step 10/25 : COPY src /tmp/sdk/src [2021-05-12T17:20:43.761Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-05-12T17:20:44.043Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-05-12T17:20:44.322Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-05-12T17:20:44.322Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-05-12T17:20:44.596Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-05-12T17:20:44.656Z] ---> a136445ba3a3 [2021-05-12T17:20:44.656Z] Step 11/25 : COPY include /tmp/sdk/include [2021-05-12T17:20:44.874Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-05-12T17:20:44.917Z] ---> 32ed36a85ab0 [2021-05-12T17:20:44.917Z] Step 12/25 : COPY scripts /tmp/sdk/scripts [2021-05-12T17:20:45.146Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-05-12T17:20:45.178Z] ---> 3015cb1b5099 [2021-05-12T17:20:45.178Z] Step 13/25 : COPY LICENSE /tmp/sdk [2021-05-12T17:20:45.178Z] ---> 00b2944ee82d [2021-05-12T17:20:45.178Z] Step 14/25 : COPY Attribution.txt /tmp/sdk [2021-05-12T17:20:45.418Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-05-12T17:20:45.445Z] ---> b990459d3778 [2021-05-12T17:20:45.445Z] Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-05-12T17:20:45.445Z] ---> Running in 63668aaff78f [2021-05-12T17:20:45.691Z] [ 40%] Linking C shared library libcbor.so [2021-05-12T17:20:45.691Z] [ 40%] Built target cbor_shared [2021-05-12T17:20:45.691Z] Scanning dependencies of target cbor [2021-05-12T17:20:45.963Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-05-12T17:20:46.018Z] + CPPCHECK=false [2021-05-12T17:20:46.018Z] + DOCGEN=false [2021-05-12T17:20:46.018Z] + TOMLVER=SDK-0.2 [2021-05-12T17:20:46.018Z] + CUTILVER=1.1.4 [2021-05-12T17:20:46.018Z] + '[' 0 -gt 0 ] [2021-05-12T17:20:46.018Z] + readlink -f ./scripts/build.sh [2021-05-12T17:20:46.018Z] + dirname /tmp/sdk/scripts/build.sh [2021-05-12T17:20:46.018Z] + dirname /tmp/sdk/scripts [2021-05-12T17:20:46.018Z] + ROOT=/tmp/sdk [2021-05-12T17:20:46.018Z] + cd /tmp/sdk [2021-05-12T17:20:46.018Z] + '[' '!' -d deps ] [2021-05-12T17:20:46.018Z] + mkdir deps [2021-05-12T17:20:46.018Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-05-12T17:20:46.018Z] + tar -C deps -z -x -f - [2021-05-12T17:20:46.018Z] --2021-05-12 17:20:45-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-05-12T17:20:46.018Z] Resolving github.com... 140.82.114.3 [2021-05-12T17:20:46.018Z] Connecting to github.com|140.82.114.3|:443... connected. [2021-05-12T17:20:46.018Z] HTTP request sent, awaiting response... 302 Found [2021-05-12T17:20:46.018Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-05-12T17:20:46.018Z] --2021-05-12 17:20:45-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-05-12T17:20:46.018Z] Resolving codeload.github.com... 140.82.113.10 [2021-05-12T17:20:46.018Z] Connecting to codeload.github.com|140.82.113.10|:443... connected. [2021-05-12T17:20:46.280Z] HTTP request sent, awaiting response... 200 OK [2021-05-12T17:20:46.280Z] Length: unspecified [application/x-gzip] [2021-05-12T17:20:46.280Z] Saving to: 'STDOUT' [2021-05-12T17:20:46.280Z]  [2021-05-12T17:20:46.280Z] 0K .......... ......   724K=0.02s [2021-05-12T17:20:46.280Z] [2021-05-12T17:20:46.280Z] 2021-05-12 17:20:46 (724 KB/s) - written to stdout [16451] [2021-05-12T17:20:46.280Z] [2021-05-12T17:20:46.280Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-05-12T17:20:46.280Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-05-12T17:20:46.280Z] + tar -C deps -z -x -f - [2021-05-12T17:20:46.280Z] --2021-05-12 17:20:46-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-05-12T17:20:46.280Z] Resolving github.com... 140.82.114.3 [2021-05-12T17:20:46.280Z] Connecting to github.com|140.82.114.3|:443... connected. [2021-05-12T17:20:46.541Z] HTTP request sent, awaiting response... 302 Found [2021-05-12T17:20:46.541Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] [2021-05-12T17:20:46.541Z] --2021-05-12 17:20:46-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [2021-05-12T17:20:46.541Z] Resolving codeload.github.com... 140.82.113.10 [2021-05-12T17:20:46.541Z] Connecting to codeload.github.com|140.82.113.10|:443... connected. [2021-05-12T17:20:46.557Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-05-12T17:20:46.802Z] HTTP request sent, awaiting response... 200 OK [2021-05-12T17:20:46.802Z] Length: unspecified [application/x-gzip] [2021-05-12T17:20:46.802Z] Saving to: 'STDOUT' [2021-05-12T17:20:46.802Z]  [2021-05-12T17:20:46.802Z] 0K .......... .......... .......... .......... .......... 1.13M [2021-05-12T17:20:46.802Z] 50K .......... .......... .......... .......... .......... 2.02M [2021-05-12T17:20:46.802Z] 100K .......... .......... .......... .......... .......... 2.19M [2021-05-12T17:20:46.802Z] 150K .......... .......... ....... 9.44M=0.09s [2021-05-12T17:20:46.802Z] [2021-05-12T17:20:46.802Z] 2021-05-12 17:20:46 (1.87 MB/s) - written to stdout [181796] [2021-05-12T17:20:46.802Z] [2021-05-12T17:20:46.802Z] + mkdir -p src/c/iot [2021-05-12T17:20:46.802Z] + cp deps/iotech-c-utils-1.1.4/src/c/base64.c deps/iotech-c-utils-1.1.4/src/c/component.c deps/iotech-c-utils-1.1.4/src/c/config.c deps/iotech-c-utils-1.1.4/src/c/container.c deps/iotech-c-utils-1.1.4/src/c/data.c deps/iotech-c-utils-1.1.4/src/c/hash.c deps/iotech-c-utils-1.1.4/src/c/iot.c deps/iotech-c-utils-1.1.4/src/c/json.c deps/iotech-c-utils-1.1.4/src/c/logger.c deps/iotech-c-utils-1.1.4/src/c/os.c deps/iotech-c-utils-1.1.4/src/c/scheduler.c deps/iotech-c-utils-1.1.4/src/c/thread.c deps/iotech-c-utils-1.1.4/src/c/threadpool.c deps/iotech-c-utils-1.1.4/src/c/time.c deps/iotech-c-utils-1.1.4/src/c/yxml.c src/c/iot [2021-05-12T17:20:46.802Z] + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot [2021-05-12T17:20:46.802Z] + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot [2021-05-12T17:20:46.802Z] + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot [2021-05-12T17:20:46.802Z] + mkdir -p include/iot [2021-05-12T17:20:46.803Z] + cp deps/iotech-c-utils-1.1.4/include/iot/base64.h deps/iotech-c-utils-1.1.4/include/iot/component.h deps/iotech-c-utils-1.1.4/include/iot/config.h deps/iotech-c-utils-1.1.4/include/iot/container.h deps/iotech-c-utils-1.1.4/include/iot/data.h deps/iotech-c-utils-1.1.4/include/iot/hash.h deps/iotech-c-utils-1.1.4/include/iot/iot.h deps/iotech-c-utils-1.1.4/include/iot/json.h deps/iotech-c-utils-1.1.4/include/iot/logger.h deps/iotech-c-utils-1.1.4/include/iot/os.h deps/iotech-c-utils-1.1.4/include/iot/scheduler.h deps/iotech-c-utils-1.1.4/include/iot/thread.h deps/iotech-c-utils-1.1.4/include/iot/threadpool.h deps/iotech-c-utils-1.1.4/include/iot/time.h deps/iotech-c-utils-1.1.4/include/iot/typecode.h include/iot [2021-05-12T17:20:46.803Z] + mkdir -p include/iot/os [2021-05-12T17:20:46.803Z] + cp deps/iotech-c-utils-1.1.4/include/iot/os/linux.h deps/iotech-c-utils-1.1.4/include/iot/os/macos.h deps/iotech-c-utils-1.1.4/include/iot/os/zephyr.h include/iot/os [2021-05-12T17:20:46.803Z] + mkdir -p /tmp/sdk/build/release [2021-05-12T17:20:46.803Z] + cd /tmp/sdk/build/release [2021-05-12T17:20:46.803Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-05-12T17:20:46.803Z] -- The C compiler identification is GNU 8.3.0 [2021-05-12T17:20:46.803Z] -- Check for working C compiler: /usr/bin/cc [2021-05-12T17:20:47.063Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-05-12T17:20:47.063Z] -- Detecting C compiler ABI info [2021-05-12T17:20:47.063Z] -- Detecting C compiler ABI info - done [2021-05-12T17:20:47.063Z] -- Detecting C compile features [2021-05-12T17:20:47.147Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-05-12T17:20:47.326Z] -- Detecting C compile features - done [2021-05-12T17:20:47.326Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-05-12T17:20:47.326Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-05-12T17:20:47.326Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-05-12T17:20:47.326Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-05-12T17:20:47.326Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-05-12T17:20:47.326Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-05-12T17:20:47.326Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-05-12T17:20:47.326Z] -- C SDK 0.0.0 for Linux [2021-05-12T17:20:47.326Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-05-12T17:20:47.326Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-05-12T17:20:47.326Z] -- Found Curses: /usr/lib/libcurses.so [2021-05-12T17:20:47.326Z] -- Configuring done [2021-05-12T17:20:47.421Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-05-12T17:20:47.588Z] -- Generating done [2021-05-12T17:20:47.588Z] -- Build files have been written to: /tmp/sdk/build/release [2021-05-12T17:20:47.588Z] + make all package [2021-05-12T17:20:47.588Z] + tee release.log [2021-05-12T17:20:47.588Z] Scanning dependencies of target csdk [2021-05-12T17:20:47.588Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-05-12T17:20:47.850Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-05-12T17:20:47.850Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-05-12T17:20:48.393Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-05-12T17:20:48.423Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-05-12T17:20:48.423Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-05-12T17:20:48.423Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-05-12T17:20:48.663Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-05-12T17:20:48.684Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-05-12T17:20:48.684Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-05-12T17:20:48.935Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-05-12T17:20:48.950Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-05-12T17:20:49.209Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-05-12T17:20:49.209Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-05-12T17:20:49.214Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-05-12T17:20:49.476Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-05-12T17:20:49.476Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-05-12T17:20:49.740Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-05-12T17:20:49.740Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-05-12T17:20:49.801Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-05-12T17:20:50.002Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-05-12T17:20:50.002Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-05-12T17:20:50.002Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-05-12T17:20:50.391Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-05-12T17:20:50.575Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-05-12T17:20:50.661Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-05-12T17:20:50.836Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-05-12T17:20:50.836Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-05-12T17:20:50.836Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-05-12T17:20:50.933Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-05-12T17:20:51.100Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-05-12T17:20:51.100Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-05-12T17:20:51.526Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-05-12T17:20:51.526Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-05-12T17:20:51.797Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-05-12T17:20:52.045Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-05-12T17:20:52.045Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-05-12T17:20:52.045Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-05-12T17:20:52.045Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-05-12T17:20:52.067Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-05-12T17:20:52.307Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-05-12T17:20:52.307Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-05-12T17:20:52.338Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-05-12T17:20:52.568Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-05-12T17:20:52.568Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-05-12T17:20:52.609Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-05-12T17:20:52.829Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-05-12T17:20:52.829Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-05-12T17:20:52.880Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-05-12T17:20:53.151Z] [ 80%] Linking C static library libcbor.a [2021-05-12T17:20:53.151Z] [ 80%] Built target cbor [2021-05-12T17:20:53.151Z] Scanning dependencies of target create_items [2021-05-12T17:20:53.151Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-05-12T17:20:53.400Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-05-12T17:20:53.400Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-05-12T17:20:53.421Z] [ 84%] Linking C executable create_items [2021-05-12T17:20:53.421Z] [ 84%] Built target create_items [2021-05-12T17:20:53.421Z] Scanning dependencies of target readfile [2021-05-12T17:20:53.421Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-05-12T17:20:53.662Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-05-12T17:20:53.662Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-05-12T17:20:53.694Z] [ 88%] Linking C executable readfile [2021-05-12T17:20:53.967Z] [ 88%] Built target readfile [2021-05-12T17:20:53.967Z] Scanning dependencies of target streaming_parser [2021-05-12T17:20:53.967Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-05-12T17:20:54.238Z] [ 92%] Linking C executable streaming_parser [2021-05-12T17:20:54.238Z] [ 92%] Built target streaming_parser [2021-05-12T17:20:54.238Z] Scanning dependencies of target sort [2021-05-12T17:20:54.238Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-05-12T17:20:54.508Z] [ 96%] Linking C executable sort [2021-05-12T17:20:54.508Z] [ 96%] Built target sort [2021-05-12T17:20:54.508Z] Scanning dependencies of target hello [2021-05-12T17:20:54.508Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-05-12T17:20:54.605Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-05-12T17:20:54.780Z] [100%] Linking C executable hello [2021-05-12T17:20:54.780Z] [100%] Built target hello [2021-05-12T17:20:54.780Z] Install the project... [2021-05-12T17:20:54.780Z] -- Install configuration: "Release" [2021-05-12T17:20:54.780Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-05-12T17:20:54.780Z] -- Installing: /usr/local/lib64/libcbor.a [2021-05-12T17:20:54.780Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-05-12T17:20:54.780Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-05-12T17:20:54.780Z] -- Installing: /usr/local/lib64/libcbor.so [2021-05-12T17:20:54.780Z] -- Up-to-date: /usr/local/include/cbor [2021-05-12T17:20:54.780Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-05-12T17:20:54.780Z] -- Installing: /usr/local/include/cbor/ints.h [2021-05-12T17:20:54.780Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-05-12T17:20:54.780Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-05-12T17:20:54.780Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-05-12T17:20:54.780Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-05-12T17:20:54.780Z] -- Installing: /usr/local/include/cbor/data.h [2021-05-12T17:20:54.780Z] -- Installing: /usr/local/include/cbor/common.h [2021-05-12T17:20:54.780Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-05-12T17:20:54.780Z] -- Installing: /usr/local/include/cbor/strings.h [2021-05-12T17:20:54.780Z] -- Installing: /usr/local/include/cbor/tags.h [2021-05-12T17:20:54.780Z] -- Installing: /usr/local/include/cbor/internal [2021-05-12T17:20:54.780Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-05-12T17:20:54.780Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-05-12T17:20:54.780Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-05-12T17:20:54.780Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-05-12T17:20:54.780Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-05-12T17:20:54.780Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-05-12T17:20:54.780Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-05-12T17:20:54.780Z] -- Installing: /usr/local/include/cbor/maps.h [2021-05-12T17:20:54.780Z] -- Installing: /usr/local/include/cbor.h [2021-05-12T17:20:54.780Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-05-12T17:20:54.865Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-05-12T17:20:54.865Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-05-12T17:20:55.128Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-05-12T17:20:55.128Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-05-12T17:20:56.939Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-05-12T17:20:56.939Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-05-12T17:20:56.939Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-05-12T17:20:56.946Z] Removing intermediate container 924b21d1d7e1 [2021-05-12T17:20:56.946Z] ---> 3a7c68987859 [2021-05-12T17:20:56.946Z] Step 8/25 : RUN mkdir /tmp/sdk [2021-05-12T17:20:56.946Z] ---> Running in a0be4343ca82 [2021-05-12T17:20:57.246Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-05-12T17:20:57.246Z] [ 74%] Linking C shared library libcsdk.so [2021-05-12T17:20:57.246Z] [ 74%] Built target csdk [2021-05-12T17:20:57.246Z] Scanning dependencies of target template [2021-05-12T17:20:57.246Z] [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-05-12T17:20:57.516Z] [ 77%] Linking C executable template [2021-05-12T17:20:57.516Z] [ 77%] Built target template [2021-05-12T17:20:57.516Z] Scanning dependencies of target device-counter [2021-05-12T17:20:57.516Z] [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-05-12T17:20:57.516Z] [ 80%] Linking C executable device-counter [2021-05-12T17:20:57.787Z] [ 80%] Built target device-counter [2021-05-12T17:20:57.787Z] Scanning dependencies of target device-random [2021-05-12T17:20:57.787Z] [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-05-12T17:20:57.787Z] [ 84%] Linking C executable device-random [2021-05-12T17:20:57.787Z] [ 84%] Built target device-random [2021-05-12T17:20:57.787Z] Scanning dependencies of target device-gyro [2021-05-12T17:20:58.066Z] [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-05-12T17:20:58.066Z] [ 87%] Linking C executable device-gyro [2021-05-12T17:20:58.066Z] [ 87%] Built target device-gyro [2021-05-12T17:20:58.066Z] Scanning dependencies of target device-bitfields [2021-05-12T17:20:58.066Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-05-12T17:20:58.333Z] [ 90%] Linking C executable device-bitfields [2021-05-12T17:20:58.333Z] [ 90%] Built target device-bitfields [2021-05-12T17:20:58.333Z] Scanning dependencies of target template-discovery [2021-05-12T17:20:58.333Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-05-12T17:20:58.593Z] [ 93%] Linking C executable template-discovery [2021-05-12T17:20:58.593Z] [ 93%] Built target template-discovery [2021-05-12T17:20:58.593Z] Scanning dependencies of target device-file [2021-05-12T17:20:58.593Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-05-12T17:20:58.593Z] [ 96%] Linking C executable device-file [2021-05-12T17:20:58.857Z] [ 96%] Built target device-file [2021-05-12T17:20:58.857Z] Scanning dependencies of target device-terminal [2021-05-12T17:20:58.857Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-05-12T17:20:58.857Z] [100%] Linking C executable device-terminal [2021-05-12T17:20:58.857Z] [100%] Built target device-terminal [2021-05-12T17:20:58.857Z] Run CPack packaging tool... [2021-05-12T17:20:58.917Z] Removing intermediate container a0be4343ca82 [2021-05-12T17:20:58.917Z] ---> ea2cd939377e [2021-05-12T17:20:58.917Z] Step 9/25 : COPY VERSION /tmp/sdk [2021-05-12T17:20:59.118Z] CPack: Create package using TGZ [2021-05-12T17:20:59.118Z] CPack: Install projects [2021-05-12T17:20:59.118Z] CPack: - Run preinstall target for: Csdk [2021-05-12T17:20:59.118Z] CPack: - Install project: Csdk [2021-05-12T17:20:59.380Z] CPack: Create package [2021-05-12T17:20:59.380Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-05-12T17:20:59.380Z] + '[' false '=' true ] [2021-05-12T17:20:59.380Z] + '[' false '=' true ] [2021-05-12T17:20:59.380Z] + mkdir -p /tmp/sdk/build/debug [2021-05-12T17:20:59.380Z] + cd /tmp/sdk/build/debug [2021-05-12T17:20:59.380Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-05-12T17:20:59.380Z] -- The C compiler identification is GNU 8.3.0 [2021-05-12T17:20:59.380Z] -- Check for working C compiler: /usr/bin/cc [2021-05-12T17:20:59.380Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-05-12T17:20:59.380Z] -- Detecting C compiler ABI info [2021-05-12T17:20:59.510Z] ---> bb57aacf7cb5 [2021-05-12T17:20:59.510Z] Step 10/25 : COPY src /tmp/sdk/src [2021-05-12T17:20:59.642Z] -- Detecting C compiler ABI info - done [2021-05-12T17:20:59.642Z] -- Detecting C compile features [2021-05-12T17:20:59.642Z] -- Detecting C compile features - done [2021-05-12T17:20:59.642Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-05-12T17:20:59.642Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-05-12T17:20:59.642Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-05-12T17:20:59.642Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-05-12T17:20:59.642Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-05-12T17:20:59.642Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-05-12T17:20:59.642Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-05-12T17:20:59.642Z] -- C SDK 0.0.0 for Linux [2021-05-12T17:20:59.904Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-05-12T17:20:59.904Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-05-12T17:20:59.904Z] -- Found Curses: /usr/lib/libcurses.so [2021-05-12T17:20:59.904Z] -- Configuring done [2021-05-12T17:20:59.904Z] -- Generating done [2021-05-12T17:20:59.904Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-05-12T17:20:59.904Z] + make [2021-05-12T17:20:59.904Z] + tee debug.log [2021-05-12T17:20:59.904Z] Scanning dependencies of target csdk [2021-05-12T17:20:59.904Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-05-12T17:21:00.164Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-05-12T17:21:00.164Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-05-12T17:21:00.425Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-05-12T17:21:00.425Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-05-12T17:21:00.425Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-05-12T17:21:00.488Z] ---> 34dbed0bb52a [2021-05-12T17:21:00.488Z] Step 11/25 : COPY include /tmp/sdk/include [2021-05-12T17:21:00.685Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-05-12T17:21:00.685Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-05-12T17:21:00.685Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-05-12T17:21:00.685Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-05-12T17:21:00.948Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-05-12T17:21:00.948Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-05-12T17:21:01.083Z] ---> 8d38485489d4 [2021-05-12T17:21:01.083Z] Step 12/25 : COPY scripts /tmp/sdk/scripts [2021-05-12T17:21:01.209Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-05-12T17:21:01.209Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-05-12T17:21:01.209Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-05-12T17:21:01.209Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-05-12T17:21:01.470Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-05-12T17:21:01.470Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-05-12T17:21:01.687Z] ---> 6deca3ee7633 [2021-05-12T17:21:01.687Z] Step 13/25 : COPY LICENSE /tmp/sdk [2021-05-12T17:21:01.735Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-05-12T17:21:01.735Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-05-12T17:21:01.735Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-05-12T17:21:01.735Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-05-12T17:21:01.996Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-05-12T17:21:02.257Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-05-12T17:21:02.257Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-05-12T17:21:02.257Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-05-12T17:21:02.257Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-05-12T17:21:02.257Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-05-12T17:21:02.518Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-05-12T17:21:02.518Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-05-12T17:21:02.518Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-05-12T17:21:02.518Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-05-12T17:21:02.665Z] ---> 72b2985a6469 [2021-05-12T17:21:02.665Z] Step 14/25 : COPY Attribution.txt /tmp/sdk [2021-05-12T17:21:02.778Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-05-12T17:21:02.778Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-05-12T17:21:02.778Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-05-12T17:21:03.038Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-05-12T17:21:03.038Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-05-12T17:21:03.261Z] ---> 6eb3512a4263 [2021-05-12T17:21:03.262Z] Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-05-12T17:21:03.262Z] ---> Running in aff88086855b [2021-05-12T17:21:03.298Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-05-12T17:21:03.298Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-05-12T17:21:03.558Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-05-12T17:21:03.558Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-05-12T17:21:03.558Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-05-12T17:21:03.819Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-05-12T17:21:04.079Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-05-12T17:21:04.079Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-05-12T17:21:04.341Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-05-12T17:21:04.341Z] [ 74%] Linking C shared library libcsdk.so [2021-05-12T17:21:04.341Z] [ 74%] Built target csdk [2021-05-12T17:21:04.341Z] Scanning dependencies of target template [2021-05-12T17:21:04.341Z] [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-05-12T17:21:04.603Z] [ 77%] Linking C executable template [2021-05-12T17:21:04.603Z] [ 77%] Built target template [2021-05-12T17:21:04.603Z] Scanning dependencies of target device-counter [2021-05-12T17:21:04.603Z] [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-05-12T17:21:04.603Z] [ 80%] Linking C executable device-counter [2021-05-12T17:21:04.603Z] [ 80%] Built target device-counter [2021-05-12T17:21:04.603Z] Scanning dependencies of target device-random [2021-05-12T17:21:04.603Z] [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-05-12T17:21:04.693Z] + CPPCHECK=false [2021-05-12T17:21:04.693Z] + DOCGEN=false [2021-05-12T17:21:04.693Z] + TOMLVER=SDK-0.2 [2021-05-12T17:21:04.693Z] + CUTILVER=1.1.4 [2021-05-12T17:21:04.693Z] + '[' 0 -gt 0 ] [2021-05-12T17:21:04.693Z] + readlink -f ./scripts/build.sh [2021-05-12T17:21:04.693Z] + dirname /tmp/sdk/scripts/build.sh [2021-05-12T17:21:04.693Z] + dirname /tmp/sdk/scripts [2021-05-12T17:21:04.693Z] + ROOT=/tmp/sdk [2021-05-12T17:21:04.693Z] + cd /tmp/sdk [2021-05-12T17:21:04.693Z] + '[' '!' -d deps ] [2021-05-12T17:21:04.693Z] + mkdir deps [2021-05-12T17:21:04.693Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-05-12T17:21:04.693Z] + tar -C deps -z -x -f - [2021-05-12T17:21:04.693Z] --2021-05-12 17:21:04-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-05-12T17:21:04.693Z] Resolving github.com... 140.82.114.3 [2021-05-12T17:21:04.693Z] Connecting to github.com|140.82.114.3|:443... connected. [2021-05-12T17:21:04.693Z] HTTP request sent, awaiting response... 302 Found [2021-05-12T17:21:04.693Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-05-12T17:21:04.693Z] --2021-05-12 17:21:04-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-05-12T17:21:04.693Z] Resolving codeload.github.com... 140.82.113.10 [2021-05-12T17:21:04.693Z] Connecting to codeload.github.com|140.82.113.10|:443... connected. [2021-05-12T17:21:04.693Z] HTTP request sent, awaiting response... 200 OK [2021-05-12T17:21:04.693Z] Length: unspecified [application/x-gzip] [2021-05-12T17:21:04.693Z] Saving to: 'STDOUT' [2021-05-12T17:21:04.693Z]  [2021-05-12T17:21:04.693Z] 0K .......... ......   1.10M=0.01s [2021-05-12T17:21:04.693Z] [2021-05-12T17:21:04.693Z] 2021-05-12 17:21:04 (1.10 MB/s) - written to stdout [16451] [2021-05-12T17:21:04.693Z] [2021-05-12T17:21:04.693Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-05-12T17:21:04.693Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-05-12T17:21:04.693Z] + tar -C deps -z -x -f - [2021-05-12T17:21:04.693Z] --2021-05-12 17:21:04-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-05-12T17:21:04.693Z] Resolving github.com... 140.82.114.3 [2021-05-12T17:21:04.693Z] Connecting to github.com|140.82.114.3|:443... connected. [2021-05-12T17:21:04.693Z] HTTP request sent, awaiting response... 302 Found [2021-05-12T17:21:04.693Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] [2021-05-12T17:21:04.693Z] --2021-05-12 17:21:04-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [2021-05-12T17:21:04.693Z] Resolving codeload.github.com... 140.82.113.10 [2021-05-12T17:21:04.693Z] Connecting to codeload.github.com|140.82.113.10|:443... connected. [2021-05-12T17:21:04.864Z] [ 84%] Linking C executable device-random [2021-05-12T17:21:04.864Z] [ 84%] Built target device-random [2021-05-12T17:21:04.864Z] Scanning dependencies of target device-gyro [2021-05-12T17:21:04.864Z] [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-05-12T17:21:04.864Z] [ 87%] Linking C executable device-gyro [2021-05-12T17:21:04.964Z] HTTP request sent, awaiting response... 200 OK [2021-05-12T17:21:04.965Z] Length: unspecified [application/x-gzip] [2021-05-12T17:21:04.965Z] Saving to: 'STDOUT' [2021-05-12T17:21:04.965Z]  [2021-05-12T17:21:04.965Z] 0K .......... .......... .......... .......... .......... 1.62M [2021-05-12T17:21:04.965Z] 50K .......... .......... .......... .......... .......... 2.95M [2021-05-12T17:21:04.965Z] 100K .......... .......... .......... .......... .......... 3.73M [2021-05-12T17:21:04.965Z] 150K .......... .......... .......                  1.79M=0.07s [2021-05-12T17:21:04.965Z] [2021-05-12T17:21:04.965Z] 2021-05-12 17:21:04 (2.32 MB/s) - written to stdout [181796] [2021-05-12T17:21:04.965Z] [2021-05-12T17:21:04.965Z] + mkdir -p src/c/iot [2021-05-12T17:21:04.965Z] + cp deps/iotech-c-utils-1.1.4/src/c/base64.c deps/iotech-c-utils-1.1.4/src/c/component.c deps/iotech-c-utils-1.1.4/src/c/config.c deps/iotech-c-utils-1.1.4/src/c/container.c deps/iotech-c-utils-1.1.4/src/c/data.c deps/iotech-c-utils-1.1.4/src/c/hash.c deps/iotech-c-utils-1.1.4/src/c/iot.c deps/iotech-c-utils-1.1.4/src/c/json.c deps/iotech-c-utils-1.1.4/src/c/logger.c deps/iotech-c-utils-1.1.4/src/c/os.c deps/iotech-c-utils-1.1.4/src/c/scheduler.c deps/iotech-c-utils-1.1.4/src/c/thread.c deps/iotech-c-utils-1.1.4/src/c/threadpool.c deps/iotech-c-utils-1.1.4/src/c/time.c deps/iotech-c-utils-1.1.4/src/c/yxml.c src/c/iot [2021-05-12T17:21:04.965Z] + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot [2021-05-12T17:21:04.965Z] + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot [2021-05-12T17:21:04.965Z] + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot [2021-05-12T17:21:04.965Z] + mkdir -p include/iot [2021-05-12T17:21:04.965Z] + cp deps/iotech-c-utils-1.1.4/include/iot/base64.h deps/iotech-c-utils-1.1.4/include/iot/component.h deps/iotech-c-utils-1.1.4/include/iot/config.h deps/iotech-c-utils-1.1.4/include/iot/container.h deps/iotech-c-utils-1.1.4/include/iot/data.h deps/iotech-c-utils-1.1.4/include/iot/hash.h deps/iotech-c-utils-1.1.4/include/iot/iot.h deps/iotech-c-utils-1.1.4/include/iot/json.h deps/iotech-c-utils-1.1.4/include/iot/logger.h deps/iotech-c-utils-1.1.4/include/iot/os.h deps/iotech-c-utils-1.1.4/include/iot/scheduler.h deps/iotech-c-utils-1.1.4/include/iot/thread.h deps/iotech-c-utils-1.1.4/include/iot/threadpool.h deps/iotech-c-utils-1.1.4/include/iot/time.h deps/iotech-c-utils-1.1.4/include/iot/typecode.h include/iot [2021-05-12T17:21:04.965Z] + mkdir -p include/iot/os [2021-05-12T17:21:04.965Z] + cp deps/iotech-c-utils-1.1.4/include/iot/os/linux.h deps/iotech-c-utils-1.1.4/include/iot/os/macos.h deps/iotech-c-utils-1.1.4/include/iot/os/zephyr.h include/iot/os [2021-05-12T17:21:04.965Z] + mkdir -p /tmp/sdk/build/release [2021-05-12T17:21:04.965Z] + cd /tmp/sdk/build/release [2021-05-12T17:21:04.965Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-05-12T17:21:05.127Z] [ 87%] Built target device-gyro [2021-05-12T17:21:05.127Z] Scanning dependencies of target device-bitfields [2021-05-12T17:21:05.127Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-05-12T17:21:05.127Z] [ 90%] Linking C executable device-bitfields [2021-05-12T17:21:05.127Z] [ 90%] Built target device-bitfields [2021-05-12T17:21:05.127Z] Scanning dependencies of target template-discovery [2021-05-12T17:21:05.127Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-05-12T17:21:05.236Z] -- The C compiler identification is GNU 8.3.0 [2021-05-12T17:21:05.236Z] -- Check for working C compiler: /usr/bin/cc [2021-05-12T17:21:05.388Z] [ 93%] Linking C executable template-discovery [2021-05-12T17:21:05.388Z] [ 93%] Built target template-discovery [2021-05-12T17:21:05.388Z] Scanning dependencies of target device-file [2021-05-12T17:21:05.388Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-05-12T17:21:05.388Z] [ 96%] Linking C executable device-file [2021-05-12T17:21:05.388Z] [ 96%] Built target device-file [2021-05-12T17:21:05.388Z] Scanning dependencies of target device-terminal [2021-05-12T17:21:05.388Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-05-12T17:21:05.507Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-05-12T17:21:05.507Z] -- Detecting C compiler ABI info [2021-05-12T17:21:05.648Z] [100%] Linking C executable device-terminal [2021-05-12T17:21:05.648Z] [100%] Built target device-terminal [2021-05-12T17:21:05.648Z] make: Entering directory '/tmp/sdk/build/release' [2021-05-12T17:21:05.648Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-05-12T17:21:05.648Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-05-12T17:21:05.648Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-05-12T17:21:05.648Z] [ 74%] Built target csdk [2021-05-12T17:21:05.648Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-05-12T17:21:05.648Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-05-12T17:21:05.648Z] [ 77%] Built target template [2021-05-12T17:21:05.648Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-05-12T17:21:05.648Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-05-12T17:21:05.648Z] [ 80%] Built target device-counter [2021-05-12T17:21:05.648Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-05-12T17:21:05.648Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-05-12T17:21:05.648Z] [ 84%] Built target device-random [2021-05-12T17:21:05.648Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-05-12T17:21:05.648Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-05-12T17:21:05.648Z] [ 87%] Built target device-gyro [2021-05-12T17:21:05.648Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-05-12T17:21:05.648Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-05-12T17:21:05.778Z] -- Detecting C compiler ABI info - done [2021-05-12T17:21:05.778Z] -- Detecting C compile features [2021-05-12T17:21:05.910Z] [ 90%] Built target device-bitfields [2021-05-12T17:21:05.910Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-05-12T17:21:05.910Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-05-12T17:21:05.910Z] [ 93%] Built target template-discovery [2021-05-12T17:21:05.910Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-05-12T17:21:05.910Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-05-12T17:21:05.910Z] [ 96%] Built target device-file [2021-05-12T17:21:05.910Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-05-12T17:21:05.910Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-05-12T17:21:05.910Z] [100%] Built target device-terminal [2021-05-12T17:21:05.910Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-05-12T17:21:05.910Z] Install the project... [2021-05-12T17:21:05.910Z] -- Install configuration: "Release" [2021-05-12T17:21:05.910Z] -- Installing: /usr/local/lib/libcsdk.so [2021-05-12T17:21:05.910Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-05-12T17:21:05.910Z] -- Up-to-date: /usr/local/include [2021-05-12T17:21:05.910Z] -- Installing: /usr/local/include/devsdk [2021-05-12T17:21:05.910Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-05-12T17:21:05.910Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-05-12T17:21:05.910Z] -- Installing: /usr/local/include/edgex [2021-05-12T17:21:05.910Z] -- Installing: /usr/local/include/edgex/devices.h [2021-05-12T17:21:05.910Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-05-12T17:21:05.910Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-05-12T17:21:05.910Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-05-12T17:21:05.910Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-05-12T17:21:05.910Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-05-12T17:21:05.910Z] -- Installing: /usr/local/include/iot [2021-05-12T17:21:05.910Z] -- Installing: /usr/local/include/iot/base64.h [2021-05-12T17:21:05.910Z] -- Installing: /usr/local/include/iot/component.h [2021-05-12T17:21:05.910Z] -- Installing: /usr/local/include/iot/config.h [2021-05-12T17:21:05.910Z] -- Installing: /usr/local/include/iot/container.h [2021-05-12T17:21:05.910Z] -- Installing: /usr/local/include/iot/data.h [2021-05-12T17:21:05.910Z] -- Installing: /usr/local/include/iot/hash.h [2021-05-12T17:21:05.910Z] -- Installing: /usr/local/include/iot/iot.h [2021-05-12T17:21:05.910Z] -- Installing: /usr/local/include/iot/json.h [2021-05-12T17:21:05.910Z] -- Installing: /usr/local/include/iot/logger.h [2021-05-12T17:21:05.910Z] -- Installing: /usr/local/include/iot/os.h [2021-05-12T17:21:05.910Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-05-12T17:21:05.910Z] -- Installing: /usr/local/include/iot/thread.h [2021-05-12T17:21:05.910Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-05-12T17:21:05.910Z] -- Installing: /usr/local/include/iot/time.h [2021-05-12T17:21:05.910Z] -- Installing: /usr/local/include/iot/typecode.h [2021-05-12T17:21:05.910Z] -- Installing: /usr/local/include/iot/os [2021-05-12T17:21:05.910Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-05-12T17:21:05.910Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-05-12T17:21:05.910Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-05-12T17:21:05.910Z] -- Installing: /usr/local/include/iot/defs.h [2021-05-12T17:21:05.910Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-05-12T17:21:05.910Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-05-12T17:21:05.910Z] make: Leaving directory '/tmp/sdk/build/release' [2021-05-12T17:21:06.753Z] -- Detecting C compile features - done [2021-05-12T17:21:06.753Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-05-12T17:21:06.753Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-05-12T17:21:06.753Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-05-12T17:21:06.753Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-05-12T17:21:06.753Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-05-12T17:21:06.753Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-05-12T17:21:06.753Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-05-12T17:21:06.753Z] -- C SDK 0.0.0 for Linux [2021-05-12T17:21:06.753Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-05-12T17:21:07.027Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-05-12T17:21:07.027Z] -- Found Curses: /usr/lib/libcurses.so [2021-05-12T17:21:07.027Z] -- Configuring done [2021-05-12T17:21:07.300Z] -- Generating done [2021-05-12T17:21:07.300Z] -- Build files have been written to: /tmp/sdk/build/release [2021-05-12T17:21:07.301Z] + make all package [2021-05-12T17:21:07.301Z] + tee release.log [2021-05-12T17:21:07.301Z] Scanning dependencies of target csdk [2021-05-12T17:21:07.574Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-05-12T17:21:07.828Z] Removing intermediate container 63668aaff78f [2021-05-12T17:21:07.828Z] ---> ea9bf0f621ff [2021-05-12T17:21:07.828Z] Step 16/25 : FROM ${BASE} [2021-05-12T17:21:07.828Z] ---> 5eabd8fd8ba2 [2021-05-12T17:21:07.828Z] Step 17/25 : LABEL maintainer="IOTech " [2021-05-12T17:21:07.828Z] ---> Running in beae198cfb79 [2021-05-12T17:21:07.828Z] Removing intermediate container beae198cfb79 [2021-05-12T17:21:07.828Z] ---> 4c7087073065 [2021-05-12T17:21:07.828Z] Step 18/25 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub [2021-05-12T17:21:07.828Z] ---> Running in 56a608530dc9 [2021-05-12T17:21:08.104Z] Connecting to iotech.jfrog.io (54.74.239.58:443) [2021-05-12T17:21:08.168Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-05-12T17:21:08.381Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-05-12T17:21:08.381Z] [2021-05-12T17:21:08.762Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-05-12T17:21:08.953Z] Removing intermediate container 56a608530dc9 [2021-05-12T17:21:08.953Z] ---> 6f80ea9ffc9b [2021-05-12T17:21:08.953Z] Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-05-12T17:21:08.953Z] ---> Running in 5adc04d7bce2 [2021-05-12T17:21:09.898Z] Removing intermediate container 5adc04d7bce2 [2021-05-12T17:21:09.898Z] ---> 959f5ca4f2d5 [2021-05-12T17:21:09.898Z] Step 20/25 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid paho-mqtt-c-dev hiredis-dev [2021-05-12T17:21:09.898Z] ---> Running in 56038130f01e [2021-05-12T17:21:10.159Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2021-05-12T17:21:10.185Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-05-12T17:21:10.730Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2021-05-12T17:21:11.161Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-05-12T17:21:11.161Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-05-12T17:21:11.675Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz [2021-05-12T17:21:11.752Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-05-12T17:21:12.244Z] (1/6) Installing curl (7.64.0-r5) [2021-05-12T17:21:12.244Z] (2/6) Installing hiredis (0.14.0-r0) [2021-05-12T17:21:12.244Z] (3/6) Installing hiredis-dev (0.14.0-r0) [2021-05-12T17:21:12.343Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-05-12T17:21:12.343Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-05-12T17:21:12.505Z] (4/6) Installing libuuid (2.33-r0) [2021-05-12T17:21:12.505Z] (5/6) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-05-12T17:21:13.771Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-05-12T17:21:13.893Z] (6/6) Installing wget (1.20.3-r0) [2021-05-12T17:21:13.893Z] Executing busybox-1.29.3-r10.trigger [2021-05-12T17:21:13.893Z] OK: 269 MiB in 81 packages [2021-05-12T17:21:14.465Z] Removing intermediate container 56038130f01e [2021-05-12T17:21:14.465Z] ---> ee0831afff6c [2021-05-12T17:21:14.465Z] Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-05-12T17:21:14.725Z] ---> f352541275be [2021-05-12T17:21:14.725Z] Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-05-12T17:21:14.987Z] ---> b19075ef85ef [2021-05-12T17:21:14.987Z] Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-05-12T17:21:15.196Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-05-12T17:21:15.249Z] ---> 503c57c9cf4c [2021-05-12T17:21:15.249Z] Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-05-12T17:21:15.249Z] ---> d45b762e13dc [2021-05-12T17:21:15.249Z] Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-05-12T17:21:15.467Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-05-12T17:21:15.516Z] ---> d9ef88608751 [2021-05-12T17:21:15.516Z] Successfully built d9ef88608751 [2021-05-12T17:21:15.516Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-12T17:21:16.060Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-05-12T17:21:16.152Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-12T17:21:16.152Z] . [Pipeline] withDockerContainer [2021-05-12T17:21:16.271Z] prd-centos7-docker-4c-2g-4729 does not seem to be running inside a container [2021-05-12T17:21:16.314Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-12T17:21:16.652Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-05-12T17:21:16.925Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-05-12T17:21:16.952Z] $ docker top 6f9f229862cb5e39fcd7aa8a1712df1e933ba574724af2a3bdea7bac65de27aa -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-12T17:21:17.199Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-05-12T17:21:17.199Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-05-12T17:21:17.407Z] + make test [2021-05-12T17:21:17.407Z] echo "make test" [2021-05-12T17:21:17.407Z] make test [Pipeline] } [2021-05-12T17:21:17.433Z] $ docker stop --time=1 6f9f229862cb5e39fcd7aa8a1712df1e933ba574724af2a3bdea7bac65de27aa [2021-05-12T17:21:18.745Z] $ docker rm -f 6f9f229862cb5e39fcd7aa8a1712df1e933ba574724af2a3bdea7bac65de27aa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2021-05-12T17:21:19.849Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-05-12T17:21:20.126Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-05-12T17:21:20.397Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-05-12T17:21:20.669Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-05-12T17:21:20.942Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [Pipeline] sh [2021-05-12T17:21:21.915Z] + sudo chown -R jenkins:jenkins . [2021-05-12T17:21:21.923Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [Pipeline] sh [2021-05-12T17:21:22.233Z] + ls -al . [2021-05-12T17:21:22.233Z] total 160 [2021-05-12T17:21:22.233Z] drwxrwxr-x. 8 jenkins jenkins 260 May 12 17:20 . [2021-05-12T17:21:22.233Z] drwxrwxr-x. 4 jenkins jenkins 28 May 12 17:20 .. [2021-05-12T17:21:22.233Z] -rw-rw-r--. 1 jenkins jenkins 3104 May 12 17:20 Attribution.txt [2021-05-12T17:21:22.233Z] -rw-rw-r--. 1 jenkins jenkins 7200 May 12 17:20 CHANGES [2021-05-12T17:21:22.233Z] drwxrwxr-x. 2 jenkins jenkins 121 May 12 17:20 docs [2021-05-12T17:21:22.233Z] -rw-rw-r--. 1 jenkins jenkins 108574 May 12 17:20 Doxyfile [2021-05-12T17:21:22.233Z] drwxrwxr-x. 8 jenkins jenkins 179 May 12 17:20 .git [2021-05-12T17:21:22.233Z] drwxrwxr-x. 2 jenkins jenkins 81 May 12 17:20 .github [2021-05-12T17:21:22.233Z] -rw-rw-r--. 1 jenkins jenkins 176 May 12 17:20 .gitignore [2021-05-12T17:21:22.233Z] drwxrwxr-x. 4 jenkins jenkins 33 May 12 17:20 include [2021-05-12T17:21:22.233Z] -rw-rw-r--. 1 jenkins jenkins 784 May 12 17:20 Jenkinsfile [2021-05-12T17:21:22.233Z] -rw-rw-r--. 1 jenkins jenkins 10174 May 12 17:20 LICENSE [2021-05-12T17:21:22.233Z] -rw-rw-r--. 1 jenkins jenkins 444 May 12 17:20 Makefile [2021-05-12T17:21:22.233Z] -rw-rw-r--. 1 jenkins jenkins 4090 May 12 17:20 README.md [2021-05-12T17:21:22.233Z] -rw-rw-r--. 1 jenkins jenkins 6654 May 12 17:20 README.v2.md [2021-05-12T17:21:22.233Z] drwxrwxr-x. 2 jenkins jenkins 98 May 12 17:20 scripts [2021-05-12T17:21:22.233Z] drwxrwxr-x. 4 jenkins jenkins 50 May 12 17:20 src [2021-05-12T17:21:22.233Z] -rw-rw-r--. 1 jenkins jenkins 5 May 12 17:17 VERSION [Pipeline] isUnix [Pipeline] sh [2021-05-12T17:21:22.560Z] + docker build -t device-sdk -f scripts/Dockerfile.alpine --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=e84e37becc814ab4619c544ede91496034644436 --label arch=amd64 --label version=0.0.0 . [2021-05-12T17:21:22.560Z] Sending build context to Docker daemon 2.568MB [2021-05-12T17:21:22.560Z] Step 1/17 : ARG BASE=alpine:3.12 [2021-05-12T17:21:22.560Z] Step 2/17 : FROM ${BASE} [2021-05-12T17:21:22.560Z] ---> d9ef88608751 [2021-05-12T17:21:22.560Z] Step 3/17 : LABEL maintainer="IOTech " [2021-05-12T17:21:23.130Z] ---> Running in fc3821537fd3 [2021-05-12T17:21:23.391Z] Removing intermediate container fc3821537fd3 [2021-05-12T17:21:23.391Z] ---> 29a47052030e [2021-05-12T17:21:23.391Z] Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub [2021-05-12T17:21:23.391Z] ---> Running in b98bd052353b [2021-05-12T17:21:24.334Z] --2021-05-12 17:21:24-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub [2021-05-12T17:21:24.334Z] Resolving iotech.jfrog.io... 54.229.110.245, 54.74.239.58, 34.243.182.113 [2021-05-12T17:21:24.334Z] Connecting to iotech.jfrog.io|54.229.110.245|:443... connected. [2021-05-12T17:21:24.527Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-05-12T17:21:24.527Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-05-12T17:21:24.527Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-05-12T17:21:24.596Z] HTTP request sent, awaiting response... 200 OK [2021-05-12T17:21:24.596Z] Length: 451 [application/octet-stream] [2021-05-12T17:21:24.596Z] Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-05-12T17:21:24.596Z] [2021-05-12T17:21:24.596Z] 0K 100% 63.8M=0s [2021-05-12T17:21:24.596Z] [2021-05-12T17:21:24.596Z] 2021-05-12 17:21:24 (63.8 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] [2021-05-12T17:21:24.596Z] [2021-05-12T17:21:25.118Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-05-12T17:21:25.172Z] Removing intermediate container b98bd052353b [2021-05-12T17:21:25.172Z] ---> 60584bfb1849 [2021-05-12T17:21:25.172Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-05-12T17:21:25.172Z] ---> Running in d3bb2c3d1eb5 [2021-05-12T17:21:25.388Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-05-12T17:21:25.661Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-05-12T17:21:25.742Z] Removing intermediate container d3bb2c3d1eb5 [2021-05-12T17:21:25.742Z] ---> ccd7a5cae993 [2021-05-12T17:21:25.742Z] Step 6/17 : 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 paho-mqtt-c-dev hiredis-dev && mkdir -p /edgex-c-sdk/build [2021-05-12T17:21:25.742Z] ---> Running in d2e615fe4ce7 [2021-05-12T17:21:26.313Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2021-05-12T17:21:26.638Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-05-12T17:21:26.886Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2021-05-12T17:21:26.910Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-05-12T17:21:27.510Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-05-12T17:21:27.510Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-05-12T17:21:27.834Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz [2021-05-12T17:21:28.096Z] (1/6) Installing ncurses-dev (6.1_p20190105-r0) [2021-05-12T17:21:28.096Z] (2/6) Installing libblkid (2.33-r0) [2021-05-12T17:21:28.358Z] (3/6) Installing libfdisk (2.33-r0) [2021-05-12T17:21:28.358Z] (4/6) Installing libmount (2.33-r0) [2021-05-12T17:21:28.358Z] (5/6) Installing libsmartcols (2.33-r0) [2021-05-12T17:21:28.621Z] (6/6) Installing util-linux-dev (2.33-r0) [2021-05-12T17:21:28.885Z] Executing busybox-1.29.3-r10.trigger [2021-05-12T17:21:28.885Z] OK: 273 MiB in 87 packages [2021-05-12T17:21:29.457Z] Removing intermediate container d2e615fe4ce7 [2021-05-12T17:21:29.458Z] ---> 0753d58ad1ef [2021-05-12T17:21:29.458Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2021-05-12T17:21:29.488Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-05-12T17:21:29.720Z] ---> 15a4548d2e53 [2021-05-12T17:21:29.720Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2021-05-12T17:21:29.762Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-05-12T17:21:30.662Z] ---> 87d15b8b981d [2021-05-12T17:21:30.662Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2021-05-12T17:21:30.662Z] ---> 6def1decef91 [2021-05-12T17:21:30.662Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2021-05-12T17:21:30.740Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-05-12T17:21:30.924Z] ---> 4352e15050fc [2021-05-12T17:21:30.924Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2021-05-12T17:21:31.013Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-05-12T17:21:31.187Z] ---> 78c5e0fa4356 [2021-05-12T17:21:31.187Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2021-05-12T17:21:31.187Z] ---> 646303f54780 [2021-05-12T17:21:31.187Z] Step 13/17 : WORKDIR /edgex-c-sdk [2021-05-12T17:21:31.448Z] ---> Running in 95af45e80fd2 [2021-05-12T17:21:31.448Z] Removing intermediate container 95af45e80fd2 [2021-05-12T17:21:31.448Z] ---> 07c92fe88435 [2021-05-12T17:21:31.448Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-05-12T17:21:31.448Z] ---> Running in 399e2a5a6106 [2021-05-12T17:21:31.711Z] Removing intermediate container 399e2a5a6106 [2021-05-12T17:21:31.711Z] ---> e6ad635a4758 [2021-05-12T17:21:31.711Z] Step 15/17 : LABEL arch=amd64 [2021-05-12T17:21:31.711Z] ---> Running in bc5084df54a1 [2021-05-12T17:21:31.972Z] Removing intermediate container bc5084df54a1 [2021-05-12T17:21:31.972Z] ---> 72c3fc65cd99 [2021-05-12T17:21:31.972Z] Step 16/17 : LABEL git_sha=e84e37becc814ab4619c544ede91496034644436 [2021-05-12T17:21:31.972Z] ---> Running in 518589fdb14b [2021-05-12T17:21:32.233Z] Removing intermediate container 518589fdb14b [2021-05-12T17:21:32.233Z] ---> 8e0d160e5d05 [2021-05-12T17:21:32.233Z] Step 17/17 : LABEL version=0.0.0 [2021-05-12T17:21:32.233Z] ---> Running in fa587a0e9b0f [2021-05-12T17:21:32.233Z] Removing intermediate container fa587a0e9b0f [2021-05-12T17:21:32.233Z] ---> a7a425db4f79 [2021-05-12T17:21:32.233Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-12T17:21:32.233Z] Successfully built a7a425db4f79 [2021-05-12T17:21:32.493Z] Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-12T17:21:35.302Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-05-12T17:21:35.302Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-05-12T17:21:35.895Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-05-12T17:21:36.167Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-05-12T17:21:36.764Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-05-12T17:21:38.736Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-05-12T17:21:40.171Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-05-12T17:21:43.546Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-05-12T17:21:43.821Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-05-12T17:21:44.414Z] [ 74%] Linking C shared library libcsdk.so [2021-05-12T17:21:44.414Z] [ 74%] Built target csdk [2021-05-12T17:21:44.414Z] Scanning dependencies of target template [2021-05-12T17:21:44.414Z] [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-05-12T17:21:45.008Z] [ 77%] Linking C executable template [2021-05-12T17:21:45.280Z] [ 77%] Built target template [2021-05-12T17:21:45.280Z] Scanning dependencies of target device-counter [2021-05-12T17:21:45.280Z] [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-05-12T17:21:45.877Z] [ 80%] Linking C executable device-counter [2021-05-12T17:21:46.149Z] [ 80%] Built target device-counter [2021-05-12T17:21:46.149Z] Scanning dependencies of target device-random [2021-05-12T17:21:46.149Z] [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-05-12T17:21:46.421Z] [ 84%] Linking C executable device-random [2021-05-12T17:21:46.694Z] [ 84%] Built target device-random [2021-05-12T17:21:46.694Z] Scanning dependencies of target device-gyro [2021-05-12T17:21:46.694Z] [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-05-12T17:21:47.289Z] [ 87%] Linking C executable device-gyro [2021-05-12T17:21:47.562Z] [ 87%] Built target device-gyro [2021-05-12T17:21:47.562Z] Scanning dependencies of target device-bitfields [2021-05-12T17:21:47.562Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-05-12T17:21:47.834Z] [ 90%] Linking C executable device-bitfields [2021-05-12T17:21:48.106Z] [ 90%] Built target device-bitfields [2021-05-12T17:21:48.106Z] Scanning dependencies of target template-discovery [2021-05-12T17:21:48.106Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-05-12T17:21:48.700Z] [ 93%] Linking C executable template-discovery [2021-05-12T17:21:48.975Z] [ 93%] Built target template-discovery [2021-05-12T17:21:48.975Z] Scanning dependencies of target device-file [2021-05-12T17:21:48.975Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-05-12T17:21:49.569Z] [ 96%] Linking C executable device-file [2021-05-12T17:21:49.843Z] [ 96%] Built target device-file [2021-05-12T17:21:49.843Z] Scanning dependencies of target device-terminal [2021-05-12T17:21:49.843Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-05-12T17:21:50.436Z] [100%] Linking C executable device-terminal [2021-05-12T17:21:50.708Z] [100%] Built target device-terminal [2021-05-12T17:21:50.708Z] Run CPack packaging tool... [2021-05-12T17:21:50.708Z] CPack: Create package using TGZ [2021-05-12T17:21:50.708Z] CPack: Install projects [2021-05-12T17:21:50.708Z] CPack: - Run preinstall target for: Csdk [2021-05-12T17:21:51.301Z] CPack: - Install project: Csdk [2021-05-12T17:21:51.301Z] CPack: Create package [2021-05-12T17:21:51.301Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-05-12T17:21:51.301Z] + '[' false '=' true ] [2021-05-12T17:21:51.301Z] + '[' false '=' true ] [2021-05-12T17:21:51.301Z] + mkdir -p /tmp/sdk/build/debug [2021-05-12T17:21:51.301Z] + cd /tmp/sdk/build/debug [2021-05-12T17:21:51.301Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-05-12T17:21:51.574Z] -- The C compiler identification is GNU 8.3.0 [2021-05-12T17:21:51.574Z] -- Check for working C compiler: /usr/bin/cc [2021-05-12T17:21:51.847Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-05-12T17:21:51.847Z] -- Detecting C compiler ABI info [2021-05-12T17:21:52.123Z] -- Detecting C compiler ABI info - done [2021-05-12T17:21:52.123Z] -- Detecting C compile features [2021-05-12T17:21:53.104Z] -- Detecting C compile features - done [2021-05-12T17:21:53.104Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-05-12T17:21:53.104Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-05-12T17:21:53.104Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-05-12T17:21:53.104Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-05-12T17:21:53.104Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-05-12T17:21:53.104Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-05-12T17:21:53.104Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-05-12T17:21:53.104Z] -- C SDK 0.0.0 for Linux [2021-05-12T17:21:53.104Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-05-12T17:21:53.378Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-05-12T17:21:53.378Z] -- Found Curses: /usr/lib/libcurses.so [2021-05-12T17:21:53.378Z] -- Configuring done [2021-05-12T17:21:53.652Z] -- Generating done [2021-05-12T17:21:53.652Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-05-12T17:21:53.652Z] + make [2021-05-12T17:21:53.652Z] + tee debug.log [2021-05-12T17:21:53.652Z] Scanning dependencies of target csdk [2021-05-12T17:21:53.923Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-05-12T17:21:54.199Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-05-12T17:21:54.471Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-05-12T17:21:55.068Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-05-12T17:21:55.342Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-05-12T17:21:55.617Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-05-12T17:21:55.889Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-05-12T17:21:56.162Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-05-12T17:21:56.435Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-05-12T17:21:56.707Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-05-12T17:21:57.347Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-05-12T17:21:57.347Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-05-12T17:21:57.944Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-05-12T17:21:57.944Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-05-12T17:21:58.216Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-05-12T17:21:58.490Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-05-12T17:21:58.762Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-05-12T17:21:59.358Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-05-12T17:21:59.631Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-05-12T17:21:59.631Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-05-12T17:21:59.904Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-05-12T17:22:00.194Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-05-12T17:22:00.466Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-05-12T17:22:01.079Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-05-12T17:22:01.352Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-05-12T17:22:01.634Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-05-12T17:22:01.634Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-05-12T17:22:01.908Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-05-12T17:22:02.197Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-05-12T17:22:02.471Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-05-12T17:22:02.747Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-05-12T17:22:03.020Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-05-12T17:22:03.020Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-05-12T17:22:03.621Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-05-12T17:22:03.621Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-05-12T17:22:04.223Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-05-12T17:22:04.223Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-05-12T17:22:05.210Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-05-12T17:22:05.483Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-05-12T17:22:05.755Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-05-12T17:22:06.028Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-05-12T17:22:06.307Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-05-12T17:22:07.282Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-05-12T17:22:07.876Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-05-12T17:22:08.470Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-05-12T17:22:08.741Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-05-12T17:22:09.015Z] [ 74%] Linking C shared library libcsdk.so [2021-05-12T17:22:09.288Z] [ 74%] Built target csdk [2021-05-12T17:22:09.288Z] Scanning dependencies of target template [2021-05-12T17:22:09.288Z] [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-05-12T17:22:09.561Z] [ 77%] Linking C executable template [2021-05-12T17:22:09.561Z] [ 77%] Built target template [2021-05-12T17:22:09.834Z] Scanning dependencies of target device-counter [2021-05-12T17:22:09.834Z] [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-05-12T17:22:10.116Z] [ 80%] Linking C executable device-counter [2021-05-12T17:22:10.116Z] [ 80%] Built target device-counter [2021-05-12T17:22:10.116Z] Scanning dependencies of target device-random [2021-05-12T17:22:10.388Z] [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-05-12T17:22:10.388Z] [ 84%] Linking C executable device-random [2021-05-12T17:22:10.662Z] [ 84%] Built target device-random [2021-05-12T17:22:10.663Z] Scanning dependencies of target device-gyro [2021-05-12T17:22:10.663Z] [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-05-12T17:22:10.936Z] [ 87%] Linking C executable device-gyro [2021-05-12T17:22:11.210Z] [ 87%] Built target device-gyro [2021-05-12T17:22:11.210Z] Scanning dependencies of target device-bitfields [2021-05-12T17:22:11.210Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-05-12T17:22:11.485Z] [ 90%] Linking C executable device-bitfields [2021-05-12T17:22:11.758Z] [ 90%] Built target device-bitfields [2021-05-12T17:22:11.758Z] Scanning dependencies of target template-discovery [2021-05-12T17:22:11.758Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-05-12T17:22:12.032Z] [ 93%] Linking C executable template-discovery [2021-05-12T17:22:12.306Z] [ 93%] Built target template-discovery [2021-05-12T17:22:12.306Z] Scanning dependencies of target device-file [2021-05-12T17:22:12.306Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-05-12T17:22:12.578Z] [ 96%] Linking C executable device-file [2021-05-12T17:22:12.853Z] [ 96%] Built target device-file [2021-05-12T17:22:12.853Z] Scanning dependencies of target device-terminal [2021-05-12T17:22:12.853Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-05-12T17:22:13.125Z] [100%] Linking C executable device-terminal [2021-05-12T17:22:13.397Z] [100%] Built target device-terminal [2021-05-12T17:22:13.397Z] make: Entering directory '/tmp/sdk/build/release' [2021-05-12T17:22:13.397Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-05-12T17:22:13.397Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-05-12T17:22:13.672Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-05-12T17:22:13.672Z] [ 74%] Built target csdk [2021-05-12T17:22:13.672Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-05-12T17:22:13.672Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-05-12T17:22:13.672Z] [ 77%] Built target template [2021-05-12T17:22:13.672Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-05-12T17:22:13.672Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-05-12T17:22:13.672Z] [ 80%] Built target device-counter [2021-05-12T17:22:13.672Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-05-12T17:22:13.672Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-05-12T17:22:13.672Z] [ 84%] Built target device-random [2021-05-12T17:22:13.672Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-05-12T17:22:13.672Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-05-12T17:22:13.672Z] [ 87%] Built target device-gyro [2021-05-12T17:22:13.672Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-05-12T17:22:13.672Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-05-12T17:22:13.672Z] [ 90%] Built target device-bitfields [2021-05-12T17:22:13.672Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-05-12T17:22:13.946Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-05-12T17:22:13.946Z] [ 93%] Built target template-discovery [2021-05-12T17:22:13.946Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-05-12T17:22:13.946Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-05-12T17:22:13.946Z] [ 96%] Built target device-file [2021-05-12T17:22:13.946Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-05-12T17:22:13.946Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-05-12T17:22:13.946Z] [100%] Built target device-terminal [2021-05-12T17:22:13.946Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-05-12T17:22:13.946Z] Install the project... [2021-05-12T17:22:13.946Z] -- Install configuration: "Release" [2021-05-12T17:22:13.946Z] -- Installing: /usr/local/lib/libcsdk.so [2021-05-12T17:22:13.946Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-05-12T17:22:13.946Z] -- Up-to-date: /usr/local/include [2021-05-12T17:22:13.946Z] -- Installing: /usr/local/include/edgex [2021-05-12T17:22:13.946Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-05-12T17:22:13.946Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-05-12T17:22:13.946Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-05-12T17:22:13.946Z] -- Installing: /usr/local/include/edgex/devices.h [2021-05-12T17:22:13.946Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-05-12T17:22:13.946Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-05-12T17:22:13.946Z] -- Installing: /usr/local/include/devsdk [2021-05-12T17:22:13.946Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-05-12T17:22:13.946Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-05-12T17:22:13.946Z] -- Installing: /usr/local/include/iot [2021-05-12T17:22:13.946Z] -- Installing: /usr/local/include/iot/json.h [2021-05-12T17:22:13.946Z] -- Installing: /usr/local/include/iot/container.h [2021-05-12T17:22:13.946Z] -- Installing: /usr/local/include/iot/component.h [2021-05-12T17:22:13.946Z] -- Installing: /usr/local/include/iot/typecode.h [2021-05-12T17:22:13.946Z] -- Installing: /usr/local/include/iot/iot.h [2021-05-12T17:22:13.946Z] -- Installing: /usr/local/include/iot/time.h [2021-05-12T17:22:13.946Z] -- Installing: /usr/local/include/iot/hash.h [2021-05-12T17:22:13.946Z] -- Installing: /usr/local/include/iot/logger.h [2021-05-12T17:22:13.946Z] -- Installing: /usr/local/include/iot/os [2021-05-12T17:22:13.946Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-05-12T17:22:13.946Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-05-12T17:22:13.946Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-05-12T17:22:13.946Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-05-12T17:22:13.946Z] -- Installing: /usr/local/include/iot/data.h [2021-05-12T17:22:13.946Z] -- Installing: /usr/local/include/iot/thread.h [2021-05-12T17:22:13.946Z] -- Installing: /usr/local/include/iot/os.h [2021-05-12T17:22:13.946Z] -- Installing: /usr/local/include/iot/base64.h [2021-05-12T17:22:13.946Z] -- Installing: /usr/local/include/iot/defs.h [2021-05-12T17:22:13.946Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-05-12T17:22:13.946Z] -- Installing: /usr/local/include/iot/config.h [2021-05-12T17:22:13.946Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-05-12T17:22:13.946Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-05-12T17:22:13.946Z] make: Leaving directory '/tmp/sdk/build/release' [2021-05-12T17:22:15.937Z] Removing intermediate container aff88086855b [2021-05-12T17:22:15.937Z] ---> a7770ac09dfd [2021-05-12T17:22:15.937Z] Step 16/25 : FROM ${BASE} [2021-05-12T17:22:15.937Z] ---> b23d30803547 [2021-05-12T17:22:15.937Z] Step 17/25 : LABEL maintainer="IOTech " [2021-05-12T17:22:16.210Z] ---> Running in 0a390f8edd72 [2021-05-12T17:22:16.489Z] Removing intermediate container 0a390f8edd72 [2021-05-12T17:22:16.489Z] ---> dddb41ca9fef [2021-05-12T17:22:16.489Z] Step 18/25 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub [2021-05-12T17:22:16.770Z] ---> Running in a39e2d3c989e [2021-05-12T17:22:17.748Z] Connecting to iotech.jfrog.io (54.229.110.245:443) [2021-05-12T17:22:18.022Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-05-12T17:22:18.022Z] [2021-05-12T17:22:19.461Z] Removing intermediate container a39e2d3c989e [2021-05-12T17:22:19.461Z] ---> 6b091d414fa7 [2021-05-12T17:22:19.461Z] Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-05-12T17:22:19.461Z] ---> Running in 70c8858a194c [2021-05-12T17:22:21.438Z] Removing intermediate container 70c8858a194c [2021-05-12T17:22:21.438Z] ---> e0e7ba763281 [2021-05-12T17:22:21.438Z] Step 20/25 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid paho-mqtt-c-dev hiredis-dev [2021-05-12T17:22:21.438Z] ---> Running in 6cb7d549a97f [2021-05-12T17:22:22.877Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2021-05-12T17:22:23.469Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2021-05-12T17:22:23.744Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz [2021-05-12T17:22:24.339Z] (1/6) Installing curl (7.64.0-r5) [2021-05-12T17:22:24.339Z] (2/6) Installing hiredis (0.14.0-r0) [2021-05-12T17:22:24.339Z] (3/6) Installing hiredis-dev (0.14.0-r0) [2021-05-12T17:22:24.611Z] (4/6) Installing libuuid (2.33-r0) [2021-05-12T17:22:24.611Z] (5/6) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-05-12T17:22:26.038Z] (6/6) Installing wget (1.20.3-r0) [2021-05-12T17:22:26.629Z] Executing busybox-1.29.3-r10.trigger [2021-05-12T17:22:26.629Z] OK: 283 MiB in 81 packages [2021-05-12T17:22:28.607Z] Removing intermediate container 6cb7d549a97f [2021-05-12T17:22:28.607Z] ---> bcf96f426e92 [2021-05-12T17:22:28.607Z] Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-05-12T17:22:29.586Z] ---> ad5241eee5d5 [2021-05-12T17:22:29.586Z] Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-05-12T17:22:30.565Z] ---> 94e18e27aa38 [2021-05-12T17:22:30.565Z] Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-05-12T17:22:31.161Z] ---> 3e3c2b9440f5 [2021-05-12T17:22:31.161Z] Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-05-12T17:22:32.139Z] ---> 7567abe0f391 [2021-05-12T17:22:32.139Z] Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-05-12T17:22:32.735Z] ---> d1144ebb80c7 [2021-05-12T17:22:32.735Z] Successfully built d1144ebb80c7 [2021-05-12T17:22:32.735Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-12T17:22:33.353Z] + docker inspect -f . ci-base-image-arm64 [2021-05-12T17:22:33.353Z] . [Pipeline] withDockerContainer [2021-05-12T17:22:33.642Z] prd-ubuntu18.04-docker-arm64-4c-16g-4728 does not seem to be running inside a container [2021-05-12T17:22:33.729Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-12T17:22:35.265Z] $ docker top 6f87757d976ce40b4b27f58c2f04141d7ac7097f5515c536bb6e0f437bb4ca68 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-12T17:22:36.240Z] + make test [2021-05-12T17:22:36.240Z] echo "make test" [2021-05-12T17:22:36.240Z] make test [Pipeline] } [2021-05-12T17:22:36.278Z] $ docker stop --time=1 6f87757d976ce40b4b27f58c2f04141d7ac7097f5515c536bb6e0f437bb4ca68 [2021-05-12T17:22:38.209Z] $ docker rm -f 6f87757d976ce40b4b27f58c2f04141d7ac7097f5515c536bb6e0f437bb4ca68 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-12T17:22:39.204Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-12T17:22:39.610Z] + ls -al . [2021-05-12T17:22:39.610Z] total 192 [2021-05-12T17:22:39.610Z] drwxrwxr-x 8 jenkins jenkins 4096 May 12 17:19 . [2021-05-12T17:22:39.610Z] drwxrwxr-x 4 jenkins jenkins 4096 May 12 17:19 .. [2021-05-12T17:22:39.610Z] drwxrwxr-x 8 jenkins jenkins 4096 May 12 17:19 .git [2021-05-12T17:22:39.610Z] drwxrwxr-x 2 jenkins jenkins 4096 May 12 17:19 .github [2021-05-12T17:22:39.610Z] -rw-rw-r-- 1 jenkins jenkins 176 May 12 17:19 .gitignore [2021-05-12T17:22:39.610Z] -rw-rw-r-- 1 jenkins jenkins 3104 May 12 17:19 Attribution.txt [2021-05-12T17:22:39.610Z] -rw-rw-r-- 1 jenkins jenkins 7200 May 12 17:19 CHANGES [2021-05-12T17:22:39.610Z] -rw-rw-r-- 1 jenkins jenkins 108574 May 12 17:19 Doxyfile [2021-05-12T17:22:39.610Z] -rw-rw-r-- 1 jenkins jenkins 784 May 12 17:19 Jenkinsfile [2021-05-12T17:22:39.610Z] -rw-rw-r-- 1 jenkins jenkins 10174 May 12 17:19 LICENSE [2021-05-12T17:22:39.610Z] -rw-rw-r-- 1 jenkins jenkins 444 May 12 17:19 Makefile [2021-05-12T17:22:39.610Z] -rw-rw-r-- 1 jenkins jenkins 4090 May 12 17:19 README.md [2021-05-12T17:22:39.610Z] -rw-rw-r-- 1 jenkins jenkins 6654 May 12 17:19 README.v2.md [2021-05-12T17:22:39.610Z] -rw-rw-r-- 1 jenkins jenkins 5 May 12 17:17 VERSION [2021-05-12T17:22:39.610Z] drwxrwxr-x 2 jenkins jenkins 4096 May 12 17:19 docs [2021-05-12T17:22:39.610Z] drwxrwxr-x 4 jenkins jenkins 4096 May 12 17:19 include [2021-05-12T17:22:39.610Z] drwxrwxr-x 2 jenkins jenkins 4096 May 12 17:19 scripts [2021-05-12T17:22:39.610Z] drwxrwxr-x 4 jenkins jenkins 4096 May 12 17:19 src [Pipeline] isUnix [Pipeline] sh [2021-05-12T17:22:40.030Z] + docker build -t device-sdk-arm64 -f scripts/Dockerfile.alpine --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=e84e37becc814ab4619c544ede91496034644436 --label arch=arm64 --label version=0.0.0 . [2021-05-12T17:22:40.653Z] Sending build context to Docker daemon 2.567MB [2021-05-12T17:22:40.653Z] Step 1/17 : ARG BASE=alpine:3.12 [2021-05-12T17:22:40.653Z] Step 2/17 : FROM ${BASE} [2021-05-12T17:22:40.653Z] ---> d1144ebb80c7 [2021-05-12T17:22:40.653Z] Step 3/17 : LABEL maintainer="IOTech " [2021-05-12T17:22:40.938Z] ---> Running in 1d481318321c [2021-05-12T17:22:41.247Z] Removing intermediate container 1d481318321c [2021-05-12T17:22:41.247Z] ---> 0f4e774fd20d [2021-05-12T17:22:41.247Z] Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub [2021-05-12T17:22:41.522Z] ---> Running in 3f92d0f6a91b [2021-05-12T17:22:42.516Z] --2021-05-12 17:22:42-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub [2021-05-12T17:22:42.516Z] Resolving iotech.jfrog.io... 54.74.239.58, 54.229.110.245, 34.243.182.113 [2021-05-12T17:22:42.792Z] Connecting to iotech.jfrog.io|54.74.239.58|:443... connected. [2021-05-12T17:22:43.071Z] HTTP request sent, awaiting response... 200 OK [2021-05-12T17:22:43.071Z] Length: 451 [application/octet-stream] [2021-05-12T17:22:43.071Z] Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-05-12T17:22:43.071Z] [2021-05-12T17:22:43.071Z] 0K 100% 19.9M=0s [2021-05-12T17:22:43.071Z] [2021-05-12T17:22:43.071Z] 2021-05-12 17:22:42 (19.9 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] [2021-05-12T17:22:43.071Z] [2021-05-12T17:22:44.100Z] Removing intermediate container 3f92d0f6a91b [2021-05-12T17:22:44.100Z] ---> 5881c8dea7f3 [2021-05-12T17:22:44.100Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-05-12T17:22:44.100Z] ---> Running in 3172ed38b2aa [2021-05-12T17:22:46.738Z] Removing intermediate container 3172ed38b2aa [2021-05-12T17:22:46.738Z] ---> e3832fe73961 [2021-05-12T17:22:46.738Z] Step 6/17 : 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 paho-mqtt-c-dev hiredis-dev && mkdir -p /edgex-c-sdk/build [2021-05-12T17:22:46.738Z] ---> Running in dce5d3ad9303 [2021-05-12T17:22:47.716Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2021-05-12T17:22:48.307Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2021-05-12T17:22:48.577Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz [2021-05-12T17:22:49.177Z] (1/6) Installing ncurses-dev (6.1_p20190105-r0) [2021-05-12T17:22:49.177Z] (2/6) Installing libblkid (2.33-r0) [2021-05-12T17:22:49.448Z] (3/6) Installing libfdisk (2.33-r0) [2021-05-12T17:22:49.448Z] (4/6) Installing libmount (2.33-r0) [2021-05-12T17:22:49.718Z] (5/6) Installing libsmartcols (2.33-r0) [2021-05-12T17:22:49.718Z] (6/6) Installing util-linux-dev (2.33-r0) [2021-05-12T17:22:49.989Z] Executing busybox-1.29.3-r10.trigger [2021-05-12T17:22:49.989Z] OK: 287 MiB in 87 packages [2021-05-12T17:22:51.414Z] Removing intermediate container dce5d3ad9303 [2021-05-12T17:22:51.414Z] ---> 493a76cf3d9e [2021-05-12T17:22:51.414Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2021-05-12T17:22:52.006Z] ---> 5c465164a058 [2021-05-12T17:22:52.006Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2021-05-12T17:22:52.977Z] ---> 2b9ee155fb1e [2021-05-12T17:22:52.977Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2021-05-12T17:22:53.571Z] ---> f437ecd26e2f [2021-05-12T17:22:53.571Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2021-05-12T17:22:54.548Z] ---> 960e658e8771 [2021-05-12T17:22:54.548Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2021-05-12T17:22:54.819Z] ---> e28248cec99b [2021-05-12T17:22:54.819Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2021-05-12T17:22:55.808Z] ---> f330c322c3b8 [2021-05-12T17:22:55.808Z] Step 13/17 : WORKDIR /edgex-c-sdk [2021-05-12T17:22:55.808Z] ---> Running in b5b0d1e1e39d [2021-05-12T17:22:56.400Z] Removing intermediate container b5b0d1e1e39d [2021-05-12T17:22:56.400Z] ---> 01d9037a6fcb [2021-05-12T17:22:56.400Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-05-12T17:22:56.400Z] ---> Running in a4eb5d55d75b [2021-05-12T17:22:56.992Z] Removing intermediate container a4eb5d55d75b [2021-05-12T17:22:56.992Z] ---> 765f0694f59d [2021-05-12T17:22:56.992Z] Step 15/17 : LABEL arch=arm64 [2021-05-12T17:22:56.992Z] ---> Running in eda054a73a3b [2021-05-12T17:22:57.264Z] Removing intermediate container eda054a73a3b [2021-05-12T17:22:57.264Z] ---> 994997da6687 [2021-05-12T17:22:57.264Z] Step 16/17 : LABEL git_sha=e84e37becc814ab4619c544ede91496034644436 [2021-05-12T17:22:57.535Z] ---> Running in dcdfc3371b03 [2021-05-12T17:22:58.141Z] Removing intermediate container dcdfc3371b03 [2021-05-12T17:22:58.141Z] ---> 253b5897ce29 [2021-05-12T17:22:58.141Z] Step 17/17 : LABEL version=0.0.0 [2021-05-12T17:22:58.141Z] ---> Running in b17845c560fa [2021-05-12T17:22:58.731Z] Removing intermediate container b17845c560fa [2021-05-12T17:22:58.731Z] ---> 15938a8512bb [2021-05-12T17:22:58.731Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-12T17:22:58.731Z] Successfully built 15938a8512bb [2021-05-12T17:22:58.731Z] Successfully tagged device-sdk-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-05-12T17:23:00.551Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T17:23:01.501Z] ---> package-listing.sh [2021-05-12T17:23:01.501Z] ++ facter osfamily [2021-05-12T17:23:01.501Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-12T17:23:01.767Z] + OS_FAMILY=redhat [2021-05-12T17:23:01.767Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-344 [2021-05-12T17:23:01.767Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-12T17:23:01.767Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-12T17:23:01.767Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-12T17:23:01.767Z] + PACKAGES=/tmp/packages_start.txt [2021-05-12T17:23:01.767Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-344 ']' [2021-05-12T17:23:01.767Z] + PACKAGES=/tmp/packages_end.txt [2021-05-12T17:23:01.767Z] + case "${OS_FAMILY}" in [2021-05-12T17:23:01.767Z] + rpm -qa [2021-05-12T17:23:01.767Z] + sort [2021-05-12T17:23:07.092Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-12T17:23:07.092Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-12T17:23:07.092Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-12T17:23:07.092Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-344 ']' [2021-05-12T17:23:07.092Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-344/archives/ [2021-05-12T17:23:07.092Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-344/archives/ [Pipeline] echo [2021-05-12T17:23:07.126Z] 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-344/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-12T17:23:07.438Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-12T17:23:08.133Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-12T17:23:08.134Z] [2021-05-12T17:23:08.134Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-12T17:23:08.531Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-12T17:23:08.531Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-12T17:23:08.531Z] df20fa9351a1: Pulling fs layer [2021-05-12T17:23:08.531Z] 36b3adc4ff6f: Pulling fs layer [2021-05-12T17:23:08.531Z] 8ad3a11d3b57: Pulling fs layer [2021-05-12T17:23:08.531Z] 46f8f816bc3b: Pulling fs layer [2021-05-12T17:23:08.531Z] 93b61091891f: Pulling fs layer [2021-05-12T17:23:08.531Z] 93b9cdb0e59b: Pulling fs layer [2021-05-12T17:23:08.531Z] 5e14af77c1be: Pulling fs layer [2021-05-12T17:23:08.531Z] 01666e4c0597: Pulling fs layer [2021-05-12T17:23:08.531Z] aa168da1d23b: Pulling fs layer [2021-05-12T17:23:08.531Z] 5e14af77c1be: Waiting [2021-05-12T17:23:08.531Z] 46f8f816bc3b: Waiting [2021-05-12T17:23:08.531Z] 93b9cdb0e59b: Waiting [2021-05-12T17:23:08.531Z] 93b61091891f: Waiting [2021-05-12T17:23:08.531Z] aa168da1d23b: Waiting [2021-05-12T17:23:08.531Z] 01666e4c0597: Waiting [2021-05-12T17:23:08.531Z] 36b3adc4ff6f: Verifying Checksum [2021-05-12T17:23:08.531Z] 36b3adc4ff6f: Download complete [2021-05-12T17:23:08.531Z] 46f8f816bc3b: Verifying Checksum [2021-05-12T17:23:08.531Z] 46f8f816bc3b: Download complete [2021-05-12T17:23:08.800Z] df20fa9351a1: Verifying Checksum [2021-05-12T17:23:08.800Z] 93b9cdb0e59b: Verifying Checksum [2021-05-12T17:23:08.800Z] 93b9cdb0e59b: Download complete [2021-05-12T17:23:08.800Z] 5e14af77c1be: Verifying Checksum [2021-05-12T17:23:08.800Z] 5e14af77c1be: Download complete [2021-05-12T17:23:08.800Z] 93b61091891f: Verifying Checksum [2021-05-12T17:23:08.800Z] 93b61091891f: Download complete [2021-05-12T17:23:08.800Z] 01666e4c0597: Verifying Checksum [2021-05-12T17:23:08.800Z] 01666e4c0597: Download complete [2021-05-12T17:23:09.065Z] 8ad3a11d3b57: Download complete [2021-05-12T17:23:09.065Z] df20fa9351a1: Pull complete [2021-05-12T17:23:09.332Z] 36b3adc4ff6f: Pull complete [2021-05-12T17:23:10.316Z] 8ad3a11d3b57: Pull complete [2021-05-12T17:23:10.316Z] 46f8f816bc3b: Pull complete [2021-05-12T17:23:10.902Z] 93b61091891f: Pull complete [2021-05-12T17:23:11.165Z] 93b9cdb0e59b: Pull complete [2021-05-12T17:23:11.165Z] 5e14af77c1be: Pull complete [2021-05-12T17:23:11.165Z] aa168da1d23b: Verifying Checksum [2021-05-12T17:23:11.165Z] aa168da1d23b: Download complete [2021-05-12T17:23:11.432Z] 01666e4c0597: Pull complete [2021-05-12T17:23:19.671Z] aa168da1d23b: Pull complete [2021-05-12T17:23:19.671Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-12T17:23:19.671Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-12T17:23:19.671Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-12T17:23:19.936Z] prd-centos7-docker-4c-2g-4727 does not seem to be running inside a container [2021-05-12T17:23:20.019Z] $ 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-344/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-344 -v /w/workspace/edgexfoundry_device-sdk-c_PR-344:/w/workspace/edgexfoundry_device-sdk-c_PR-344:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-344@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-344@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-12T17:23:22.938Z] $ docker top 852c46b62a35ef3be032c41c68a0f195eefc2af208d2155aaf8c3e5390a02c0e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-12T17:23:23.537Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-12T17:23:23.924Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-12T17:23:24.307Z] + ls /var/log/sa-host [2021-05-12T17:23:24.307Z] + sadf -c /var/log/sa-host/sa12 [2021-05-12T17:23:24.307Z] file_magic: OK [2021-05-12T17:23:24.307Z] HZ: Using current value: 100 [2021-05-12T17:23:24.307Z] file_header: OK [2021-05-12T17:23:24.307Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-12T17:23:24.307Z] Statistics: [2021-05-12T17:23:24.307Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-12T17:23:24.308Z] File successfully converted to sysstat format version 12.2.1 [2021-05-12T17:23:24.308Z] + sadf -c /var/log/sa-host/sa23 [2021-05-12T17:23:24.308Z] file_magic: OK [2021-05-12T17:23:24.308Z] HZ: Using current value: 100 [2021-05-12T17:23:24.308Z] file_header: OK [2021-05-12T17:23:24.308Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-12T17:23:24.308Z] Statistics: [2021-05-12T17:23:24.308Z] Hnuu...uuuununununu... [2021-05-12T17:23:24.308Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-12T17:23:24.921Z] provisioning config files... [2021-05-12T17:23:24.950Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-344@tmp/config7395346942957743989tmp [Pipeline] { [Pipeline] echo [2021-05-12T17:23:25.024Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T17:23:25.760Z] ---> create-netrc.sh [Pipeline] } [2021-05-12T17:23:25.789Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-12T17:23:25.855Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T17:23:26.276Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-12T17:23:26.321Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T17:23:26.718Z] ---> sudo-logs.sh [2021-05-12T17:23:26.718Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-12T17:23:26.805Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T17:23:27.179Z] ---> job-cost.sh [2021-05-12T17:23:27.459Z] lf-activate-venv: SKIPPING [2021-05-12T17:23:27.459Z] INFO: No Stack... [2021-05-12T17:23:28.432Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-12T17:23:29.025Z] INFO: Archiving Costs [Pipeline] echo [2021-05-12T17:23:29.067Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T17:23:29.847Z] ---> logs-deploy.sh [2021-05-12T17:23:29.847Z] lf-activate-venv: SKIPPING [2021-05-12T17:23:29.847Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-344/1 [2021-05-12T17:23:29.847Z] INFO: archiving workspace using pattern(s): [2021-05-12T17:23:32.450Z] Archives upload complete. [2021-05-12T17:23:32.450Z] INFO: archiving logs to Nexus