Pull request #355 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 nil4git for edgexfoundry/device-sdk-c Loading trusted files from base branch master at c75449e85aa6c6239708e25f4301185f1aa5291c rather than 7fde05b815b6ee0a11d6dd3381f1b4551a697d5e Obtained Jenkinsfile from c75449e85aa6c6239708e25f4301185f1aa5291c 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5135470884663794103.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6a41506d72e8e131afc862d141935157bee59f41 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6837955020179548770.key > 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 6a41506d72e8e131afc862d141935157bee59f41 The recommended git tool is: git 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-355/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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-355/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh9210666714709413177.key > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-355/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3237256802311985622.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6a41506d72e8e131afc862d141935157bee59f41 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a41506d72e8e131afc862d141935157bee59f41 # timeout=10 Commit message: "Merge pull request #340 from ernestojeda/enable-snap-stage" > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1100726664119131728.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 958cd7e315bbc9ba310183e4d590ee91b14940ee The recommended git tool is: NONE 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-355/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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-355/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh899722189081136081.key > 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 Avoid second fetch Checking out Revision 958cd7e315bbc9ba310183e4d590ee91b14940ee (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 958cd7e315bbc9ba310183e4d590ee91b14940ee # timeout=10 Commit message: "Fix: job-cost.sh no longer causes build failures" > 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 6a41506d72e8e131afc862d141935157bee59f41 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1196 in /w/workspace/edgexfoundry_device-sdk-c_PR-355 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE 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-355 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-355@tmp/jenkins-gitclient-ssh1563188242074334936.key > 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 c75449e85aa6c6239708e25f4301185f1aa5291c into PR head commit 7fde05b815b6ee0a11d6dd3381f1b4551a697d5e Merge succeeded, producing 7fde05b815b6ee0a11d6dd3381f1b4551a697d5e Checking out Revision 7fde05b815b6ee0a11d6dd3381f1b4551a697d5e (PR-355) > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-355@tmp/jenkins-gitclient-ssh957349832661733785.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/355/head:refs/remotes/origin/PR-355 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7fde05b815b6ee0a11d6dd3381f1b4551a697d5e # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-355@tmp/jenkins-gitclient-ssh1703462259550837075.key > git merge c75449e85aa6c6239708e25f4301185f1aa5291c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7fde05b815b6ee0a11d6dd3381f1b4551a697d5e # timeout=10 Commit message: "fix: Update discovery sample app configuration.toml" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-07-01T10:57:27.475Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-07-01T10:57:27.652Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-07-01T10:57:27.776Z] ========================================================= [2021-07-01T10:57:27.776Z] EdgeX Global Pipelines Version Info [2021-07-01T10:57:27.776Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-07-01T10:57:29.282Z] ------------------- [2021-07-01T10:57:29.282Z] stable info: [2021-07-01T10:57:29.282Z] ------------------- [2021-07-01T10:57:29.282Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-07-01T10:57:29.282Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-07-01T10:57:29.282Z] Message: update stable to v1.0.195 [2021-07-01T10:57:29.861Z] ------------------- [2021-07-01T10:57:29.861Z] experimental info: [2021-07-01T10:57:29.861Z] ------------------- [2021-07-01T10:57:29.861Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-07-01T10:57:29.861Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-07-01T10:57:29.861Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-07-01T10:57:30.079Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2021-07-01T10:57:30.131Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2021-07-01T10:57:30.184Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-07-01T10:57:30.240Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-07-01T10:57:30.287Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-07-01T10:57:30.347Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo [2021-07-01T10:57:30.400Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2021-07-01T10:57:30.453Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2021-07-01T10:57:32.805Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-07-01T10:57:32.860Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2021-07-01T10:57:32.926Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-07-01T10:57:32.977Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-07-01T10:57:33.031Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-07-01T10:57:33.114Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-07-01T10:57:33.171Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-07-01T10:57:33.235Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-07-01T10:57:33.288Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-07-01T10:57:33.344Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-355 [Pipeline] echo [2021-07-01T10:57:33.398Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-355 [Pipeline] echo [2021-07-01T10:57:33.455Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-355 [Pipeline] echo [2021-07-01T10:57:33.508Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7fde05b815b6ee0a11d6dd3381f1b4551a697d5e [Pipeline] echo [2021-07-01T10:57:33.561Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7fde05b [Pipeline] echo [2021-07-01T10:57:33.610Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-01T10:57:33.808Z] provisioning config files... [2021-07-01T10:57:33.824Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-355@tmp/config1666167978752600204tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-01T10:57:34.202Z] ---> docker-login.sh [2021-07-01T10:57:34.202Z] nexus3.edgexfoundry.org:10001 [2021-07-01T10:57:34.464Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-01T10:57:34.465Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-01T10:57:34.465Z] Configure a credential helper to remove this warning. See [2021-07-01T10:57:34.465Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-01T10:57:34.465Z] [2021-07-01T10:57:34.465Z] Login Succeeded [2021-07-01T10:57:34.465Z] nexus3.edgexfoundry.org:10002 [2021-07-01T10:57:34.465Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-01T10:57:34.731Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-01T10:57:34.731Z] Configure a credential helper to remove this warning. See [2021-07-01T10:57:34.731Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-01T10:57:34.731Z] [2021-07-01T10:57:34.731Z] Login Succeeded [2021-07-01T10:57:34.731Z] nexus3.edgexfoundry.org:10003 [2021-07-01T10:57:34.731Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-01T10:57:34.731Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-01T10:57:34.731Z] Configure a credential helper to remove this warning. See [2021-07-01T10:57:34.731Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-01T10:57:34.731Z] [2021-07-01T10:57:34.731Z] Login Succeeded [2021-07-01T10:57:34.731Z] nexus3.edgexfoundry.org:10004 [2021-07-01T10:57:34.996Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-01T10:57:34.996Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-01T10:57:34.996Z] Configure a credential helper to remove this warning. See [2021-07-01T10:57:34.996Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-01T10:57:34.996Z] [2021-07-01T10:57:34.996Z] Login Succeeded [2021-07-01T10:57:34.996Z] docker.io [2021-07-01T10:57:34.996Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-01T10:57:35.258Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-01T10:57:35.258Z] Configure a credential helper to remove this warning. See [2021-07-01T10:57:35.258Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-01T10:57:35.258Z] [2021-07-01T10:57:35.258Z] Login Succeeded [2021-07-01T10:57:35.258Z] ---> docker-login.sh ends [Pipeline] } [2021-07-01T10:57:35.279Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2021-07-01T10:57:36.314Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-01T10:57:36.314Z] [2021-07-01T10:57:36.314Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-07-01T10:57:36.716Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-01T10:57:36.716Z] latest: Pulling from edgex-devops/git-semver [2021-07-01T10:57:36.716Z] 31603596830f: Pulling fs layer [2021-07-01T10:57:36.716Z] 54011a49482f: Pulling fs layer [2021-07-01T10:57:36.716Z] a6820b24f6d8: Pulling fs layer [2021-07-01T10:57:36.716Z] f581987b2513: Pulling fs layer [2021-07-01T10:57:36.716Z] f581987b2513: Waiting [2021-07-01T10:57:36.716Z] 54011a49482f: Verifying Checksum [2021-07-01T10:57:36.716Z] 54011a49482f: Download complete [2021-07-01T10:57:36.980Z] 31603596830f: Verifying Checksum [2021-07-01T10:57:36.980Z] 31603596830f: Download complete [2021-07-01T10:57:36.980Z] a6820b24f6d8: Verifying Checksum [2021-07-01T10:57:36.980Z] a6820b24f6d8: Download complete [2021-07-01T10:57:36.980Z] f581987b2513: Verifying Checksum [2021-07-01T10:57:36.980Z] f581987b2513: Download complete [2021-07-01T10:57:37.244Z] 31603596830f: Pull complete [2021-07-01T10:57:37.244Z] 54011a49482f: Pull complete [2021-07-01T10:57:38.205Z] a6820b24f6d8: Pull complete [2021-07-01T10:57:38.205Z] f581987b2513: Pull complete [2021-07-01T10:57:38.205Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-07-01T10:57:38.205Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-01T10:57:38.205Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-07-01T10:57:38.346Z] prd-centos7-docker-4c-2g-1196 does not seem to be running inside a container [2021-07-01T10:57:38.390Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-355 -v /w/workspace/edgexfoundry_device-sdk-c_PR-355:/w/workspace/edgexfoundry_device-sdk-c_PR-355:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-355@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-355@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-07-01T10:57:39.628Z] $ docker top fb520876d56722b23f12386e06f7912f4db3666e9724b56a540f824d6e8c8451 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-07-01T10:57:39.906Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-01T10:57:39.906Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-01T10:57:40.040Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-01T10:57:40.040Z] $ docker exec fb520876d56722b23f12386e06f7912f4db3666e9724b56a540f824d6e8c8451 ssh-agent [2021-07-01T10:57:40.170Z] SSH_AUTH_SOCK=/tmp/ssh-IHKwHZnF28c7/agent.14 [2021-07-01T10:57:40.170Z] SSH_AGENT_PID=20 [2021-07-01T10:57:40.179Z] Running ssh-add (command line suppressed) [2021-07-01T10:57:40.295Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-355@tmp/private_key_545598233755077821.key (/w/workspace/edgexfoundry_device-sdk-c_PR-355@tmp/private_key_545598233755077821.key) [2021-07-01T10:57:40.315Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-01T10:57:40.675Z] + git tag --points-at HEAD [Pipeline] } [2021-07-01T10:57:40.710Z] $ docker exec --env ******** --env ******** fb520876d56722b23f12386e06f7912f4db3666e9724b56a540f824d6e8c8451 ssh-agent -k [2021-07-01T10:57:40.818Z] unset SSH_AUTH_SOCK; [2021-07-01T10:57:40.818Z] unset SSH_AGENT_PID; [2021-07-01T10:57:40.819Z] echo Agent pid 20 killed; [2021-07-01T10:57:40.835Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-07-01T10:57:40.937Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-01T10:57:40.937Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-01T10:57:41.066Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-01T10:57:41.067Z] $ docker exec fb520876d56722b23f12386e06f7912f4db3666e9724b56a540f824d6e8c8451 ssh-agent [2021-07-01T10:57:41.192Z] SSH_AUTH_SOCK=/tmp/ssh-DTdeWEflIIiM/agent.52 [2021-07-01T10:57:41.192Z] SSH_AGENT_PID=58 [2021-07-01T10:57:41.198Z] Running ssh-add (command line suppressed) [2021-07-01T10:57:41.308Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-355@tmp/private_key_8422688885339044734.key (/w/workspace/edgexfoundry_device-sdk-c_PR-355@tmp/private_key_8422688885339044734.key) [2021-07-01T10:57:41.327Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-01T10:57:41.693Z] + git semver init [2021-07-01T10:57:41.693Z] # -> Open(): unable to determine branch for HEAD [2021-07-01T10:57:41.693Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-355/.git [2021-07-01T10:57:41.693Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-355 [2021-07-01T10:57:41.693Z] # $SEMVER_REMOTE_NAME = origin [2021-07-01T10:57:41.693Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-07-01T10:57:41.693Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-07-01T10:57:41.693Z] # $SEMVER_BRANCH = PR-355 [2021-07-01T10:57:41.693Z] # $SEMVER_TEMP = /tmp/semver-512650708 [2021-07-01T10:57:41.693Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2021-07-01T10:57:42.644Z] # '/tmp/semver-512650708' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-355/.semver' [2021-07-01T10:57:42.644Z] # -> Force: false [2021-07-01T10:57:42.644Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-355/.semver [Pipeline] } [2021-07-01T10:57:42.668Z] $ docker exec --env ******** --env ******** fb520876d56722b23f12386e06f7912f4db3666e9724b56a540f824d6e8c8451 ssh-agent -k [2021-07-01T10:57:42.785Z] unset SSH_AUTH_SOCK; [2021-07-01T10:57:42.785Z] unset SSH_AGENT_PID; [2021-07-01T10:57:42.785Z] echo Agent pid 58 killed; [2021-07-01T10:57:42.800Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-01T10:57:43.250Z] + git semver [Pipeline] } [2021-07-01T10:57:43.285Z] $ docker stop --time=1 fb520876d56722b23f12386e06f7912f4db3666e9724b56a540f824d6e8c8451 [2021-07-01T10:57:44.591Z] $ docker rm -f fb520876d56722b23f12386e06f7912f4db3666e9724b56a540f824d6e8c8451 [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-01T10:57:45.047Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-07-01T10:57:45.450Z] Stashed 1 file(s) [Pipeline] echo [2021-07-01T10:57:45.494Z] [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-07-01T10:58:03.391Z] Still waiting to schedule task [2021-07-01T10:58:03.392Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-07-01T10:58:03.442Z] Still waiting to schedule task [2021-07-01T10:58:03.442Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-1195’ [2021-07-01T11:00:59.000Z] Running on prd-centos7-docker-4c-2g-1198 in /w/workspace/edgexfoundry_device-sdk-c_PR-355 [Pipeline] { [Pipeline] ws [2021-07-01T11:00:59.073Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2021-07-01T11:00:59.277Z] Selected Git installation does not exist. Using Default [2021-07-01T11:00:59.277Z] The recommended git tool is: NONE [2021-07-01T11:01:01.653Z] using credential edgex-jenkins-ssh [2021-07-01T11:01:01.681Z] Cloning the remote Git repository [2021-07-01T11:01:01.702Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-07-01T11:01:01.788Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2021-07-01T11:01:01.817Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-07-01T11:01:01.817Z] > git --version # timeout=10 [2021-07-01T11:01:01.824Z] > git --version # 'git version 2.24.4' [2021-07-01T11:01:01.825Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-01T11:01:01.857Z] [INFO] Currently running in a labeled security context [2021-07-01T11:01:01.857Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-01T11:01:01.857Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh922347041082854142.key [2021-07-01T11:01:01.874Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-01T11:01:03.248Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-07-01T11:01:03.256Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-01T11:01:05.956Z] Merging remotes/origin/master commit c75449e85aa6c6239708e25f4301185f1aa5291c into PR head commit 7fde05b815b6ee0a11d6dd3381f1b4551a697d5e [2021-07-01T11:01:06.043Z] Merge succeeded, producing 7fde05b815b6ee0a11d6dd3381f1b4551a697d5e [2021-07-01T11:01:06.044Z] Checking out Revision 7fde05b815b6ee0a11d6dd3381f1b4551a697d5e (PR-355) [2021-07-01T11:01:05.450Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-07-01T11:01:05.489Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-07-01T11:01:05.489Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-01T11:01:05.491Z] [INFO] Currently running in a labeled security context [2021-07-01T11:01:05.491Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-01T11:01:05.491Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh7015254727038546829.key [2021-07-01T11:01:05.503Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/355/head:refs/remotes/origin/PR-355 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-07-01T11:01:05.961Z] > git config core.sparsecheckout # timeout=10 [2021-07-01T11:01:05.967Z] > git checkout -f 7fde05b815b6ee0a11d6dd3381f1b4551a697d5e # timeout=10 [2021-07-01T11:01:06.003Z] > git remote # timeout=10 [2021-07-01T11:01:06.007Z] > git config --get remote.origin.url # timeout=10 [2021-07-01T11:01:06.014Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-01T11:01:06.015Z] [INFO] Currently running in a labeled security context [2021-07-01T11:01:06.015Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-01T11:01:06.015Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh8310245682237261433.key [2021-07-01T11:01:06.023Z] > git merge c75449e85aa6c6239708e25f4301185f1aa5291c # timeout=10 [2021-07-01T11:01:06.034Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-07-01T11:01:06.042Z] > git config core.sparsecheckout # timeout=10 [2021-07-01T11:01:06.045Z] > git checkout -f 7fde05b815b6ee0a11d6dd3381f1b4551a697d5e # timeout=10 [2021-07-01T11:01:09.648Z] Commit message: "fix: Update discovery sample app configuration.toml" [2021-07-01T11:01:09.674Z] > git --version # timeout=10 [2021-07-01T11:01:09.677Z] > git --version # 'git version 2.24.4' [2021-07-01T11:01:09.686Z] fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-01T11:01:11.199Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-07-01T11:01:11.559Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-07-01T11:01:12.173Z] + true [2021-07-01T11:01:12.173Z] + sudo service docker restart [2021-07-01T11:01:12.173Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-01T11:01:30.418Z] provisioning config files... [2021-07-01T11:01:30.435Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config3487785631101106364tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-01T11:01:30.813Z] ---> docker-login.sh [2021-07-01T11:01:30.813Z] nexus3.edgexfoundry.org:10001 [2021-07-01T11:01:31.076Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-01T11:01:31.340Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-01T11:01:31.340Z] Configure a credential helper to remove this warning. See [2021-07-01T11:01:31.340Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-01T11:01:31.340Z] [2021-07-01T11:01:31.340Z] Login Succeeded [2021-07-01T11:01:31.340Z] nexus3.edgexfoundry.org:10002 [2021-07-01T11:01:31.340Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-01T11:01:31.340Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-01T11:01:31.340Z] Configure a credential helper to remove this warning. See [2021-07-01T11:01:31.340Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-01T11:01:31.340Z] [2021-07-01T11:01:31.340Z] Login Succeeded [2021-07-01T11:01:31.340Z] nexus3.edgexfoundry.org:10003 [2021-07-01T11:01:31.605Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-01T11:01:31.605Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-01T11:01:31.605Z] Configure a credential helper to remove this warning. See [2021-07-01T11:01:31.605Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-01T11:01:31.605Z] [2021-07-01T11:01:31.605Z] Login Succeeded [2021-07-01T11:01:31.605Z] nexus3.edgexfoundry.org:10004 [2021-07-01T11:01:31.605Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-01T11:01:31.605Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-01T11:01:31.605Z] Configure a credential helper to remove this warning. See [2021-07-01T11:01:31.605Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-01T11:01:31.605Z] [2021-07-01T11:01:31.605Z] Login Succeeded [2021-07-01T11:01:31.605Z] docker.io [2021-07-01T11:01:31.868Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-01T11:01:32.130Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-01T11:01:32.130Z] Configure a credential helper to remove this warning. See [2021-07-01T11:01:32.130Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-01T11:01:32.130Z] [2021-07-01T11:01:32.130Z] Login Succeeded [2021-07-01T11:01:32.130Z] ---> docker-login.sh ends [Pipeline] } [2021-07-01T11:01:32.154Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-07-01T11:01:32.448Z] ========================================================= [2021-07-01T11:01:32.448Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2021-07-01T11:01:32.448Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-07-01T11:01:32.795Z] + 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-07-01T11:01:32.795Z] Sending build context to Docker daemon 2.628MB [2021-07-01T11:01:32.795Z] Step 1/25 : ARG BASE=alpine:3.12 [2021-07-01T11:01:32.795Z] Step 2/25 : FROM ${BASE} as builder [2021-07-01T11:01:33.058Z] latest: Pulling from edgex-devops/edgex-gcc-base [2021-07-01T11:01:33.058Z] e7c96db7181b: Pulling fs layer [2021-07-01T11:01:33.058Z] 4c13bbce0fe7: Pulling fs layer [2021-07-01T11:01:33.058Z] 6059c847ac2f: Pulling fs layer [2021-07-01T11:01:33.058Z] 4c13bbce0fe7: Verifying Checksum [2021-07-01T11:01:33.058Z] 4c13bbce0fe7: Download complete [2021-07-01T11:01:33.058Z] e7c96db7181b: Verifying Checksum [2021-07-01T11:01:33.058Z] e7c96db7181b: Download complete [2021-07-01T11:01:33.320Z] e7c96db7181b: Pull complete [2021-07-01T11:01:33.582Z] 4c13bbce0fe7: Pull complete [2021-07-01T11:01:34.977Z] 6059c847ac2f: Verifying Checksum [2021-07-01T11:01:34.977Z] 6059c847ac2f: Download complete [2021-07-01T11:01:37.587Z] 6059c847ac2f: Pull complete [2021-07-01T11:01:37.587Z] Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e [2021-07-01T11:01:37.587Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2021-07-01T11:01:37.587Z] ---> 5eabd8fd8ba2 [2021-07-01T11:01:37.587Z] 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-07-01T11:01:39.136Z] ---> Running in 5604740ef8ee [2021-07-01T11:01:39.397Z] Connecting to iotech.jfrog.io (54.195.244.87:443) [2021-07-01T11:01:39.665Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-07-01T11:01:39.665Z] [2021-07-01T11:01:39.926Z] Removing intermediate container 5604740ef8ee [2021-07-01T11:01:39.926Z] ---> 68ebc475e7d7 [2021-07-01T11:01:39.926Z] Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-07-01T11:01:40.191Z] ---> Running in 80f436c0ca99 [2021-07-01T11:01:42.804Z] Removing intermediate container 80f436c0ca99 [2021-07-01T11:01:42.804Z] ---> b7b74055a214 [2021-07-01T11:01:42.804Z] 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-07-01T11:01:42.804Z] ---> Running in b4022114ef91 [2021-07-01T11:01:42.804Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2021-07-01T11:01:42.804Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2021-07-01T11:01:42.804Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz [2021-07-01T11:01:42.804Z] (1/11) Installing hiredis (0.14.0-r0) [2021-07-01T11:01:42.804Z] (2/11) Installing hiredis-dev (0.14.0-r0) [2021-07-01T11:01:42.804Z] (3/11) Installing ncurses-dev (6.1_p20190105-r0) [2021-07-01T11:01:42.804Z] (4/11) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-07-01T11:01:44.193Z] (5/11) Installing libuuid (2.33-r0) [2021-07-01T11:01:44.193Z] (6/11) Installing libblkid (2.33-r0) [2021-07-01T11:01:44.193Z] (7/11) Installing libfdisk (2.33-r0) [2021-07-01T11:01:44.454Z] (8/11) Installing libmount (2.33-r0) [2021-07-01T11:01:44.454Z] (9/11) Installing libsmartcols (2.33-r0) [2021-07-01T11:01:44.719Z] (10/11) Installing util-linux-dev (2.33-r0) [2021-07-01T11:01:44.982Z] (11/11) Installing wget (1.20.3-r0) [2021-07-01T11:01:44.982Z] Executing busybox-1.29.3-r10.trigger [2021-07-01T11:01:44.982Z] OK: 273 MiB in 86 packages [2021-07-01T11:01:45.555Z] Removing intermediate container b4022114ef91 [2021-07-01T11:01:45.555Z] ---> 3378712e5c71 [2021-07-01T11:01:45.555Z] Step 6/25 : ENV CBOR_VERSION=0.5.0 [2021-07-01T11:01:45.555Z] ---> Running in 58da25f2f417 [2021-07-01T11:01:45.555Z] Removing intermediate container 58da25f2f417 [2021-07-01T11:01:45.555Z] ---> 7c0a2b123624 [2021-07-01T11:01:45.555Z] 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-07-01T11:01:45.555Z] ---> Running in fd2f8657c98b [2021-07-01T11:01:45.816Z] --2021-07-01 11:01:45-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-07-01T11:01:45.816Z] Resolving github.com... 140.82.112.4 [2021-07-01T11:01:45.816Z] Connecting to github.com|140.82.112.4|:443... connected. [2021-07-01T11:01:46.079Z] HTTP request sent, awaiting response... 302 Found [2021-07-01T11:01:46.079Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-07-01T11:01:46.079Z] --2021-07-01 11:01:45-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-07-01T11:01:46.079Z] Resolving codeload.github.com... 140.82.114.9 [2021-07-01T11:01:46.079Z] Connecting to codeload.github.com|140.82.114.9|:443... connected. [2021-07-01T11:01:46.079Z] HTTP request sent, awaiting response... 200 OK [2021-07-01T11:01:46.079Z] Length: unspecified [application/x-gzip] [2021-07-01T11:01:46.079Z] Saving to: 'STDOUT' [2021-07-01T11:01:46.079Z] [2021-07-01T11:01:46.350Z] 0K .......... .......... .......... .......... .......... 1.50M [2021-07-01T11:01:46.350Z] 50K .......... .......... .......... .......... .......... 3.17M [2021-07-01T11:01:46.350Z] 100K .......... .......... .......... .......... .......... 43.1M [2021-07-01T11:01:46.350Z] 150K .......... .......... .......... .......... .......... 3.36M [2021-07-01T11:01:46.350Z] 200K .......... .......... .......... .......... .......... 50.0M [2021-07-01T11:01:46.350Z] 250K .......... .......... .......... .......... .......... 5.51M [2021-07-01T11:01:46.350Z] 300K .......... .......... .......... .......... .......... 13.2M [2021-07-01T11:01:46.350Z] 350K .......... .......... .......... .......... .......... 13.0M [2021-07-01T11:01:46.350Z] 400K .......... .......... .......... .......... .......... 8.69M [2021-07-01T11:01:46.350Z] 450K .......... .......... .......... .......... .......... 11.5M [2021-07-01T11:01:46.350Z] 500K .......... .......... .......... .......... .......... 23.3M [2021-07-01T11:01:46.350Z] 550K .......... .......... .......... .......... .......... 7.22M [2021-07-01T11:01:46.350Z] 600K .......... .......... .......... .......... .......... 4.98M [2021-07-01T11:01:46.350Z] 650K .......... .......... .......... .......... .......... 7.11M [2021-07-01T11:01:46.350Z] 700K .. 70.4M=0.1s [2021-07-01T11:01:46.350Z] [2021-07-01T11:01:46.350Z] 2021-07-01 11:01:46 (5.90 MB/s) - written to stdout [719348] [2021-07-01T11:01:46.350Z] [2021-07-01T11:01:46.350Z] -- The C compiler identification is GNU 8.3.0 [2021-07-01T11:01:46.350Z] -- The CXX compiler identification is GNU 8.3.0 [2021-07-01T11:01:46.350Z] -- Check for working C compiler: /usr/bin/cc [2021-07-01T11:01:46.613Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-07-01T11:01:46.613Z] -- Detecting C compiler ABI info [2021-07-01T11:01:46.613Z] -- Detecting C compiler ABI info - done [2021-07-01T11:01:46.613Z] -- Detecting C compile features [2021-07-01T11:01:46.875Z] -- Detecting C compile features - done [2021-07-01T11:01:46.875Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-07-01T11:01:46.875Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2021-07-01T11:01:46.875Z] -- Detecting CXX compiler ABI info [2021-07-01T11:01:46.875Z] -- Detecting CXX compiler ABI info - done [2021-07-01T11:01:46.875Z] -- Detecting CXX compile features [2021-07-01T11:01:47.450Z] -- Detecting CXX compile features - done [2021-07-01T11:01:47.450Z] -- Looking for include file endian.h [2021-07-01T11:01:47.450Z] -- Looking for include file endian.h - found [2021-07-01T11:01:47.450Z] -- Check if the system is big endian [2021-07-01T11:01:47.450Z] -- Searching 16 bit integer [2021-07-01T11:01:47.450Z] -- Looking for sys/types.h [2021-07-01T11:01:47.450Z] -- Looking for sys/types.h - found [2021-07-01T11:01:47.450Z] -- Looking for stdint.h [2021-07-01T11:01:47.450Z] -- Looking for stdint.h - found [2021-07-01T11:01:47.450Z] -- Looking for stddef.h [2021-07-01T11:01:47.450Z] -- Looking for stddef.h - found [2021-07-01T11:01:47.450Z] -- Check size of unsigned short [2021-07-01T11:01:47.712Z] -- Check size of unsigned short - done [2021-07-01T11:01:47.712Z] -- Using unsigned short [2021-07-01T11:01:47.712Z] -- Check if the system is big endian - little endian [2021-07-01T11:01:47.712Z] -- Check size of size_t [2021-07-01T11:01:47.712Z] -- Check size of size_t - done [2021-07-01T11:01:47.712Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-07-01T11:01:47.712Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-07-01T11:01:47.712Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-07-01T11:01:47.712Z] CMake did not find one. [2021-07-01T11:01:47.712Z] [2021-07-01T11:01:47.712Z] Could not find a package configuration file provided by "cJSON" with any of [2021-07-01T11:01:47.712Z] the following names: [2021-07-01T11:01:47.712Z] [2021-07-01T11:01:47.712Z] cJSONConfig.cmake [2021-07-01T11:01:47.712Z] cjson-config.cmake [2021-07-01T11:01:47.712Z] [2021-07-01T11:01:47.712Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-07-01T11:01:47.712Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-07-01T11:01:47.712Z] provides a separate development package or SDK, be sure it has been [2021-07-01T11:01:47.712Z] installed. [2021-07-01T11:01:47.712Z] [2021-07-01T11:01:47.712Z] [2021-07-01T11:01:47.712Z] -- Configuring done [2021-07-01T11:01:47.712Z] -- Generating done [2021-07-01T11:01:47.712Z] -- Build files have been written to: /tmp/cbor [2021-07-01T11:01:47.712Z] Scanning dependencies of target cbor_shared [2021-07-01T11:01:47.712Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-07-01T11:01:47.798Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1197 in /w/workspace/edgexfoundry_device-sdk-c_PR-355 [Pipeline] { [Pipeline] ws [2021-07-01T11:01:47.857Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2021-07-01T11:01:47.974Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-07-01T11:01:47.974Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-07-01T11:01:48.105Z] Selected Git installation does not exist. Using Default [2021-07-01T11:01:48.105Z] The recommended git tool is: NONE [2021-07-01T11:01:48.236Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-07-01T11:01:48.237Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-07-01T11:01:48.237Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-07-01T11:01:48.237Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-07-01T11:01:48.498Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-07-01T11:01:48.499Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-07-01T11:01:48.499Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-07-01T11:01:48.499Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-07-01T11:01:48.761Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-07-01T11:01:48.761Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-07-01T11:01:48.761Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-07-01T11:01:48.761Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-07-01T11:01:49.032Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-07-01T11:01:49.032Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-07-01T11:01:49.032Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-07-01T11:01:49.032Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-07-01T11:01:49.032Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-07-01T11:01:49.297Z] [ 40%] Linking C shared library libcbor.so [2021-07-01T11:01:49.297Z] [ 40%] Built target cbor_shared [2021-07-01T11:01:49.297Z] Scanning dependencies of target cbor [2021-07-01T11:01:49.297Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-07-01T11:01:49.297Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-07-01T11:01:49.559Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-07-01T11:01:49.559Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-07-01T11:01:49.831Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-07-01T11:01:49.831Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-07-01T11:01:49.831Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-07-01T11:01:49.831Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-07-01T11:01:49.831Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-07-01T11:01:50.094Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-07-01T11:01:50.094Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-07-01T11:01:50.094Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-07-01T11:01:50.355Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-07-01T11:01:50.355Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-07-01T11:01:50.355Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-07-01T11:01:50.355Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-07-01T11:01:50.616Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-07-01T11:01:50.616Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-07-01T11:01:50.616Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-07-01T11:01:50.616Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-07-01T11:01:50.616Z] [ 80%] Linking C static library libcbor.a [2021-07-01T11:01:50.616Z] [ 80%] Built target cbor [2021-07-01T11:01:50.616Z] Scanning dependencies of target create_items [2021-07-01T11:01:50.616Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-07-01T11:01:50.880Z] [ 84%] Linking C executable create_items [2021-07-01T11:01:50.880Z] [ 84%] Built target create_items [2021-07-01T11:01:50.880Z] Scanning dependencies of target readfile [2021-07-01T11:01:50.880Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-07-01T11:01:50.880Z] [ 88%] Linking C executable readfile [2021-07-01T11:01:50.880Z] [ 88%] Built target readfile [2021-07-01T11:01:50.880Z] Scanning dependencies of target streaming_parser [2021-07-01T11:01:50.880Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-07-01T11:01:50.880Z] [ 92%] Linking C executable streaming_parser [2021-07-01T11:01:50.880Z] [ 92%] Built target streaming_parser [2021-07-01T11:01:50.880Z] Scanning dependencies of target sort [2021-07-01T11:01:50.880Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-07-01T11:01:51.146Z] [ 96%] Linking C executable sort [2021-07-01T11:01:51.146Z] [ 96%] Built target sort [2021-07-01T11:01:51.146Z] Scanning dependencies of target hello [2021-07-01T11:01:51.146Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-07-01T11:01:51.146Z] [100%] Linking C executable hello [2021-07-01T11:01:51.146Z] [100%] Built target hello [2021-07-01T11:01:51.146Z] Install the project... [2021-07-01T11:01:51.146Z] -- Install configuration: "Release" [2021-07-01T11:01:51.146Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-07-01T11:01:51.146Z] -- Installing: /usr/local/lib64/libcbor.a [2021-07-01T11:01:51.146Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-07-01T11:01:51.146Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-07-01T11:01:51.146Z] -- Installing: /usr/local/lib64/libcbor.so [2021-07-01T11:01:51.146Z] -- Up-to-date: /usr/local/include/cbor [2021-07-01T11:01:51.146Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-07-01T11:01:51.146Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-07-01T11:01:51.146Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-07-01T11:01:51.146Z] -- Installing: /usr/local/include/cbor/common.h [2021-07-01T11:01:51.146Z] -- Installing: /usr/local/include/cbor/data.h [2021-07-01T11:01:51.146Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-07-01T11:01:51.146Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-07-01T11:01:51.146Z] -- Installing: /usr/local/include/cbor/internal [2021-07-01T11:01:51.146Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-07-01T11:01:51.146Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-07-01T11:01:51.146Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-07-01T11:01:51.146Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-07-01T11:01:51.146Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-07-01T11:01:51.146Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-07-01T11:01:51.146Z] -- Installing: /usr/local/include/cbor/ints.h [2021-07-01T11:01:51.146Z] -- Installing: /usr/local/include/cbor/maps.h [2021-07-01T11:01:51.146Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-07-01T11:01:51.146Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-07-01T11:01:51.146Z] -- Installing: /usr/local/include/cbor/strings.h [2021-07-01T11:01:51.146Z] -- Installing: /usr/local/include/cbor/tags.h [2021-07-01T11:01:51.146Z] -- Installing: /usr/local/include/cbor.h [2021-07-01T11:01:51.146Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-07-01T11:01:51.724Z] Removing intermediate container fd2f8657c98b [2021-07-01T11:01:51.724Z] ---> 4ef9178bbb03 [2021-07-01T11:01:51.724Z] Step 8/25 : RUN mkdir /tmp/sdk [2021-07-01T11:01:51.985Z] ---> Running in d5efdb54125f [2021-07-01T11:01:54.333Z] Removing intermediate container d5efdb54125f [2021-07-01T11:01:54.333Z] ---> 8f5679d301bf [2021-07-01T11:01:54.334Z] Step 9/25 : COPY VERSION /tmp/sdk [2021-07-01T11:01:54.334Z] ---> 1a6340fe04ca [2021-07-01T11:01:54.334Z] Step 10/25 : COPY src /tmp/sdk/src [2021-07-01T11:01:54.334Z] ---> 164c55a75843 [2021-07-01T11:01:54.334Z] Step 11/25 : COPY include /tmp/sdk/include [2021-07-01T11:01:54.334Z] ---> 4e0ba2dc2a2d [2021-07-01T11:01:54.334Z] Step 12/25 : COPY scripts /tmp/sdk/scripts [2021-07-01T11:01:54.334Z] ---> 5d342a0a60e5 [2021-07-01T11:01:54.334Z] Step 13/25 : COPY LICENSE /tmp/sdk [2021-07-01T11:01:54.334Z] ---> 02967712303e [2021-07-01T11:01:54.334Z] Step 14/25 : COPY Attribution.txt /tmp/sdk [2021-07-01T11:01:54.334Z] ---> 54d3f3373608 [2021-07-01T11:01:54.334Z] Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-07-01T11:01:54.334Z] ---> Running in 74c60e6a071a [2021-07-01T11:01:54.334Z] + CPPCHECK=false [2021-07-01T11:01:54.334Z] + DOCGEN=false [2021-07-01T11:01:54.334Z] + TOMLVER=SDK-0.2 [2021-07-01T11:01:54.334Z] + CUTILVER=1.1.4 [2021-07-01T11:01:54.334Z] + '[' 0 -gt 0 ] [2021-07-01T11:01:54.334Z] + readlink -f ./scripts/build.sh [2021-07-01T11:01:54.334Z] + dirname /tmp/sdk/scripts/build.sh [2021-07-01T11:01:54.334Z] + dirname /tmp/sdk/scripts [2021-07-01T11:01:54.334Z] + ROOT=/tmp/sdk [2021-07-01T11:01:54.334Z] + cd /tmp/sdk [2021-07-01T11:01:54.334Z] + '[' '!' -d deps ] [2021-07-01T11:01:54.334Z] + mkdir deps [2021-07-01T11:01:54.334Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-07-01T11:01:54.334Z] + tar -C deps -z -x -f - [2021-07-01T11:01:54.334Z] --2021-07-01 11:01:53-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-07-01T11:01:54.334Z] Resolving github.com... 140.82.112.4 [2021-07-01T11:01:54.334Z] Connecting to github.com|140.82.112.4|:443... connected. [2021-07-01T11:01:54.334Z] HTTP request sent, awaiting response... 302 Found [2021-07-01T11:01:54.334Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-07-01T11:01:54.334Z] --2021-07-01 11:01:53-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-07-01T11:01:54.334Z] Resolving codeload.github.com... 140.82.114.9 [2021-07-01T11:01:54.334Z] Connecting to codeload.github.com|140.82.114.9|:443... connected. [2021-07-01T11:01:54.334Z] HTTP request sent, awaiting response... 200 OK [2021-07-01T11:01:54.334Z] Length: 16451 (16K) [application/x-gzip] [2021-07-01T11:01:54.334Z] Saving to: 'STDOUT' [2021-07-01T11:01:54.334Z]  [2021-07-01T11:01:54.334Z] 0K .......... ...... 100% 1.01M=0.02s [2021-07-01T11:01:54.334Z] [2021-07-01T11:01:54.334Z] 2021-07-01 11:01:53 (1.01 MB/s) - written to stdout [16451/16451] [2021-07-01T11:01:54.334Z] [2021-07-01T11:01:54.334Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-07-01T11:01:54.334Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-07-01T11:01:54.334Z] + tar -C deps -z -x -f - [2021-07-01T11:01:54.334Z] --2021-07-01 11:01:53-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-07-01T11:01:54.334Z] Resolving github.com... 140.82.112.4 [2021-07-01T11:01:54.334Z] Connecting to github.com|140.82.112.4|:443... connected. [2021-07-01T11:01:54.334Z] HTTP request sent, awaiting response... 302 Found [2021-07-01T11:01:54.334Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] [2021-07-01T11:01:54.334Z] --2021-07-01 11:01:54-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [2021-07-01T11:01:54.334Z] Resolving codeload.github.com... 140.82.114.9 [2021-07-01T11:01:54.334Z] Connecting to codeload.github.com|140.82.114.9|:443... connected. [2021-07-01T11:01:54.334Z] HTTP request sent, awaiting response... 200 OK [2021-07-01T11:01:54.334Z] Length: unspecified [application/x-gzip] [2021-07-01T11:01:54.334Z] Saving to: 'STDOUT' [2021-07-01T11:01:54.334Z] [2021-07-01T11:01:54.334Z] 0K .......... .......... .......... .......... .......... 1.54M [2021-07-01T11:01:54.334Z] 50K .......... .......... .......... .......... .......... 3.11M [2021-07-01T11:01:54.334Z] 100K .......... .......... .......... .......... .......... 24.0M [2021-07-01T11:01:54.334Z] 150K .......... .......... ....... 5.38M=0.05s [2021-07-01T11:01:54.334Z] [2021-07-01T11:01:54.334Z] 2021-07-01 11:01:54 (3.18 MB/s) - written to stdout [181796] [2021-07-01T11:01:54.334Z] [2021-07-01T11:01:54.334Z] + mkdir -p src/c/iot [2021-07-01T11:01:54.334Z] + 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-07-01T11:01:54.334Z] + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot [2021-07-01T11:01:54.594Z] + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot [2021-07-01T11:01:54.594Z] + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot [2021-07-01T11:01:54.595Z] + mkdir -p include/iot [2021-07-01T11:01:54.595Z] + 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-07-01T11:01:54.595Z] + mkdir -p include/iot/os [2021-07-01T11:01:54.595Z] + 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-07-01T11:01:54.595Z] + mkdir -p /tmp/sdk/build/release [2021-07-01T11:01:54.595Z] + cd /tmp/sdk/build/release [2021-07-01T11:01:54.595Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-07-01T11:01:54.595Z] -- The C compiler identification is GNU 8.3.0 [2021-07-01T11:01:54.595Z] -- Check for working C compiler: /usr/bin/cc [2021-07-01T11:01:54.595Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-07-01T11:01:54.595Z] -- Detecting C compiler ABI info [2021-07-01T11:01:54.595Z] -- Detecting C compiler ABI info - done [2021-07-01T11:01:54.595Z] -- Detecting C compile features [2021-07-01T11:01:54.858Z] -- Detecting C compile features - done [2021-07-01T11:01:54.858Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-07-01T11:01:54.858Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-07-01T11:01:54.858Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-07-01T11:01:54.858Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-07-01T11:01:54.858Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-07-01T11:01:54.858Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-07-01T11:01:54.858Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-07-01T11:01:54.858Z] -- C SDK 0.0.0 for Linux [2021-07-01T11:01:54.858Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-07-01T11:01:54.858Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-07-01T11:01:54.858Z] -- Found Curses: /usr/lib/libcurses.so [2021-07-01T11:01:55.122Z] -- Configuring done [2021-07-01T11:01:55.122Z] -- Generating done [2021-07-01T11:01:55.122Z] -- Build files have been written to: /tmp/sdk/build/release [2021-07-01T11:01:55.122Z] + tee release.log [2021-07-01T11:01:55.122Z] + make all package [2021-07-01T11:01:55.122Z] Scanning dependencies of target csdk [2021-07-01T11:01:55.122Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-07-01T11:01:55.122Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-07-01T11:01:55.383Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-07-01T11:01:55.649Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-07-01T11:01:55.650Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-07-01T11:01:55.650Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-07-01T11:01:55.911Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-07-01T11:01:55.911Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-07-01T11:01:55.911Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-07-01T11:01:56.065Z] using credential edgex-jenkins-ssh [2021-07-01T11:01:56.082Z] Cloning the remote Git repository [2021-07-01T11:01:56.173Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-07-01T11:01:56.436Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-07-01T11:01:56.436Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-07-01T11:01:56.701Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-07-01T11:01:56.701Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-07-01T11:01:56.131Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-07-01T11:01:56.248Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2021-07-01T11:01:56.332Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-07-01T11:01:56.332Z] > git --version # timeout=10 [2021-07-01T11:01:56.347Z] > git --version # 'git version 2.17.1' [2021-07-01T11:01:56.348Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-01T11:01:56.426Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-01T11:01:56.962Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-07-01T11:01:56.962Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-07-01T11:01:56.962Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-07-01T11:01:57.538Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-07-01T11:01:57.538Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-07-01T11:01:57.538Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-07-01T11:01:57.538Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-07-01T11:01:57.800Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-07-01T11:01:57.800Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-07-01T11:01:57.543Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-07-01T11:01:57.562Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-01T11:01:57.590Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-07-01T11:01:57.622Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-07-01T11:01:57.623Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-01T11:01:57.635Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/355/head:refs/remotes/origin/PR-355 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-07-01T11:01:58.247Z] Merging remotes/origin/master commit c75449e85aa6c6239708e25f4301185f1aa5291c into PR head commit 7fde05b815b6ee0a11d6dd3381f1b4551a697d5e [2021-07-01T11:01:58.373Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-07-01T11:01:58.373Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-07-01T11:01:58.373Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-07-01T11:01:58.373Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-07-01T11:01:58.466Z] Merge succeeded, producing 7fde05b815b6ee0a11d6dd3381f1b4551a697d5e [2021-07-01T11:01:58.467Z] Checking out Revision 7fde05b815b6ee0a11d6dd3381f1b4551a697d5e (PR-355) [2021-07-01T11:01:58.635Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-07-01T11:01:58.635Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-07-01T11:01:58.635Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-07-01T11:01:58.897Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-07-01T11:01:58.897Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-07-01T11:01:58.897Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-07-01T11:01:59.161Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-07-01T11:01:59.422Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-07-01T11:01:59.423Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-07-01T11:01:59.686Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-07-01T11:01:58.267Z] > git config core.sparsecheckout # timeout=10 [2021-07-01T11:01:58.280Z] > git checkout -f 7fde05b815b6ee0a11d6dd3381f1b4551a697d5e # timeout=10 [2021-07-01T11:01:58.394Z] > git remote # timeout=10 [2021-07-01T11:01:58.410Z] > git config --get remote.origin.url # timeout=10 [2021-07-01T11:01:58.423Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-01T11:01:58.433Z] > git merge c75449e85aa6c6239708e25f4301185f1aa5291c # timeout=10 [2021-07-01T11:01:58.455Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-07-01T11:01:58.474Z] > git config core.sparsecheckout # timeout=10 [2021-07-01T11:01:58.492Z] > git checkout -f 7fde05b815b6ee0a11d6dd3381f1b4551a697d5e # timeout=10 [2021-07-01T11:02:00.261Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-07-01T11:02:00.523Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-07-01T11:02:00.523Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-07-01T11:02:00.523Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-07-01T11:02:00.786Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-07-01T11:02:01.050Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-07-01T11:02:01.317Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-07-01T11:02:01.905Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-07-01T11:02:02.168Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-07-01T11:02:02.168Z] [ 74%] Linking C shared library libcsdk.so [2021-07-01T11:02:02.168Z] [ 74%] Built target csdk [2021-07-01T11:02:02.168Z] Scanning dependencies of target template [2021-07-01T11:02:02.168Z] [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-07-01T11:02:02.431Z] [ 77%] Linking C executable template [2021-07-01T11:02:02.431Z] [ 77%] Built target template [2021-07-01T11:02:02.431Z] Scanning dependencies of target device-counter [2021-07-01T11:02:02.431Z] [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-07-01T11:02:02.431Z] [ 80%] Linking C executable device-counter [2021-07-01T11:02:02.693Z] [ 80%] Built target device-counter [2021-07-01T11:02:02.693Z] Scanning dependencies of target device-random [2021-07-01T11:02:02.693Z] [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-07-01T11:02:02.693Z] [ 84%] Linking C executable device-random [2021-07-01T11:02:02.693Z] [ 84%] Built target device-random [2021-07-01T11:02:02.693Z] Scanning dependencies of target device-gyro [2021-07-01T11:02:02.693Z] [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-07-01T11:02:02.693Z] [ 87%] Linking C executable device-gyro [2021-07-01T11:02:02.703Z] Commit message: "fix: Update discovery sample app configuration.toml" [2021-07-01T11:02:02.759Z] > git --version # timeout=10 [2021-07-01T11:02:02.772Z] > git --version # 'git version 2.17.1' [2021-07-01T11:02:02.790Z] fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [2021-07-01T11:02:02.962Z] [ 87%] Built target device-gyro [2021-07-01T11:02:02.962Z] Scanning dependencies of target device-bitfields [2021-07-01T11:02:02.962Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-07-01T11:02:02.962Z] [ 90%] Linking C executable device-bitfields [2021-07-01T11:02:02.962Z] [ 90%] Built target device-bitfields [2021-07-01T11:02:02.962Z] Scanning dependencies of target template-discovery [2021-07-01T11:02:02.962Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [Pipeline] withEnv [2021-07-01T11:02:03.225Z] [ 93%] Linking C executable template-discovery [2021-07-01T11:02:03.225Z] [ 93%] Built target template-discovery [2021-07-01T11:02:03.225Z] Scanning dependencies of target device-file [2021-07-01T11:02:03.225Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-07-01T11:02:03.225Z] [ 96%] Linking C executable device-file [2021-07-01T11:02:03.225Z] [ 96%] Built target device-file [2021-07-01T11:02:03.225Z] Scanning dependencies of target device-terminal [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-01T11:02:03.485Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-07-01T11:02:03.485Z] [100%] Linking C executable device-terminal [2021-07-01T11:02:03.485Z] [100%] Built target device-terminal [2021-07-01T11:02:03.485Z] Run CPack packaging tool... [2021-07-01T11:02:03.485Z] CPack: Create package using TGZ [2021-07-01T11:02:03.485Z] CPack: Install projects [2021-07-01T11:02:03.485Z] CPack: - Run preinstall target for: Csdk [2021-07-01T11:02:03.755Z] CPack: - Install project: Csdk [2021-07-01T11:02:03.755Z] CPack: Create package [2021-07-01T11:02:03.755Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-07-01T11:02:03.755Z] + '[' false '=' true ] [2021-07-01T11:02:03.755Z] + '[' false '=' true ] [2021-07-01T11:02:03.755Z] + mkdir -p /tmp/sdk/build/debug [2021-07-01T11:02:03.755Z] + cd /tmp/sdk/build/debug [2021-07-01T11:02:03.755Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-07-01T11:02:04.020Z] -- The C compiler identification is GNU 8.3.0 [2021-07-01T11:02:04.020Z] -- Check for working C compiler: /usr/bin/cc [2021-07-01T11:02:04.020Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-07-01T11:02:04.020Z] -- Detecting C compiler ABI info [2021-07-01T11:02:04.020Z] -- Detecting C compiler ABI info - done [2021-07-01T11:02:04.020Z] -- Detecting C compile features [2021-07-01T11:02:04.281Z] -- Detecting C compile features - done [2021-07-01T11:02:04.281Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-07-01T11:02:04.281Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-07-01T11:02:04.281Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-07-01T11:02:04.281Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-07-01T11:02:04.281Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-07-01T11:02:04.281Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-07-01T11:02:04.281Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-07-01T11:02:04.281Z] -- C SDK 0.0.0 for Linux [2021-07-01T11:02:04.281Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-07-01T11:02:04.381Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-07-01T11:02:04.543Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-07-01T11:02:04.543Z] -- Found Curses: /usr/lib/libcurses.so [2021-07-01T11:02:04.543Z] -- Configuring done [2021-07-01T11:02:04.543Z] -- Generating done [2021-07-01T11:02:04.543Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-07-01T11:02:04.543Z] + make [2021-07-01T11:02:04.543Z] + tee debug.log [2021-07-01T11:02:04.824Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-07-01T11:02:05.195Z] + sudo service docker restart [2021-07-01T11:02:05.195Z] + true [2021-07-01T11:02:05.932Z] Scanning dependencies of target csdk [2021-07-01T11:02:05.932Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-07-01T11:02:05.932Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-07-01T11:02:05.932Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-07-01T11:02:05.932Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-07-01T11:02:05.932Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-07-01T11:02:05.932Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-07-01T11:02:06.210Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-07-01T11:02:06.210Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-07-01T11:02:06.210Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-07-01T11:02:06.210Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-07-01T11:02:06.487Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-07-01T11:02:06.487Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-07-01T11:02:06.487Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-07-01T11:02:06.751Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-07-01T11:02:06.751Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-07-01T11:02:06.751Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-07-01T11:02:06.751Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-07-01T11:02:07.015Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-07-01T11:02:07.015Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-07-01T11:02:07.015Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-07-01T11:02:07.015Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-07-01T11:02:07.015Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-07-01T11:02:07.278Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-07-01T11:02:07.553Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-07-01T11:02:07.553Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-07-01T11:02:07.553Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-07-01T11:02:07.553Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-07-01T11:02:07.553Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-07-01T11:02:07.553Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-07-01T11:02:07.834Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-07-01T11:02:07.834Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-07-01T11:02:07.834Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-07-01T11:02:07.834Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-07-01T11:02:08.097Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-07-01T11:02:08.097Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-07-01T11:02:08.097Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-07-01T11:02:08.097Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-07-01T11:02:08.360Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-07-01T11:02:08.360Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-07-01T11:02:08.627Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-07-01T11:02:08.627Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-07-01T11:02:08.627Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-07-01T11:02:08.891Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-07-01T11:02:08.891Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-07-01T11:02:09.158Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-07-01T11:02:09.158Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-07-01T11:02:09.158Z] [ 74%] Linking C shared library libcsdk.so [2021-07-01T11:02:09.420Z] [ 74%] Built target csdk [2021-07-01T11:02:09.420Z] Scanning dependencies of target template [2021-07-01T11:02:09.420Z] [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-07-01T11:02:09.420Z] [ 77%] Linking C executable template [2021-07-01T11:02:09.420Z] [ 77%] Built target template [2021-07-01T11:02:09.420Z] Scanning dependencies of target device-counter [2021-07-01T11:02:09.420Z] [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-07-01T11:02:09.420Z] [ 80%] Linking C executable device-counter [2021-07-01T11:02:09.684Z] [ 80%] Built target device-counter [2021-07-01T11:02:09.684Z] Scanning dependencies of target device-random [2021-07-01T11:02:09.684Z] [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-07-01T11:02:09.684Z] [ 84%] Linking C executable device-random [2021-07-01T11:02:09.684Z] [ 84%] Built target device-random [2021-07-01T11:02:09.684Z] Scanning dependencies of target device-gyro [2021-07-01T11:02:09.684Z] [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-07-01T11:02:09.949Z] [ 87%] Linking C executable device-gyro [2021-07-01T11:02:09.949Z] [ 87%] Built target device-gyro [2021-07-01T11:02:09.949Z] Scanning dependencies of target device-bitfields [2021-07-01T11:02:09.949Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-07-01T11:02:09.949Z] [ 90%] Linking C executable device-bitfields [2021-07-01T11:02:09.949Z] [ 90%] Built target device-bitfields [2021-07-01T11:02:09.949Z] Scanning dependencies of target template-discovery [2021-07-01T11:02:09.949Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-07-01T11:02:10.210Z] [ 93%] Linking C executable template-discovery [2021-07-01T11:02:10.210Z] [ 93%] Built target template-discovery [2021-07-01T11:02:10.210Z] Scanning dependencies of target device-file [2021-07-01T11:02:10.210Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-07-01T11:02:10.210Z] [ 96%] Linking C executable device-file [2021-07-01T11:02:10.474Z] [ 96%] Built target device-file [2021-07-01T11:02:10.474Z] Scanning dependencies of target device-terminal [2021-07-01T11:02:10.474Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-07-01T11:02:10.474Z] [100%] Linking C executable device-terminal [2021-07-01T11:02:10.474Z] [100%] Built target device-terminal [2021-07-01T11:02:10.474Z] make: Entering directory '/tmp/sdk/build/release' [2021-07-01T11:02:10.474Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-07-01T11:02:10.474Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-01T11:02:10.474Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-01T11:02:10.474Z] [ 74%] Built target csdk [2021-07-01T11:02:10.474Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-01T11:02:10.474Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-01T11:02:10.474Z] [ 77%] Built target template [2021-07-01T11:02:10.474Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-01T11:02:10.474Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-01T11:02:10.474Z] [ 80%] Built target device-counter [2021-07-01T11:02:10.474Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-01T11:02:10.474Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-01T11:02:10.736Z] [ 84%] Built target device-random [2021-07-01T11:02:10.736Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-01T11:02:10.736Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-01T11:02:10.736Z] [ 87%] Built target device-gyro [2021-07-01T11:02:10.736Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-01T11:02:10.736Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-01T11:02:10.736Z] [ 90%] Built target device-bitfields [2021-07-01T11:02:10.736Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-01T11:02:10.736Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-01T11:02:10.736Z] [ 93%] Built target template-discovery [2021-07-01T11:02:10.736Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-01T11:02:10.736Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-01T11:02:10.736Z] [ 96%] Built target device-file [2021-07-01T11:02:10.736Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-01T11:02:10.736Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-01T11:02:10.736Z] [100%] Built target device-terminal [2021-07-01T11:02:10.736Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-07-01T11:02:10.736Z] Install the project... [2021-07-01T11:02:10.736Z] -- Install configuration: "Release" [2021-07-01T11:02:10.736Z] -- Installing: /usr/local/lib/libcsdk.so [2021-07-01T11:02:10.736Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-07-01T11:02:10.736Z] -- Up-to-date: /usr/local/include [2021-07-01T11:02:10.736Z] -- Installing: /usr/local/include/devsdk [2021-07-01T11:02:10.736Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-07-01T11:02:10.736Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-07-01T11:02:10.736Z] -- Installing: /usr/local/include/edgex [2021-07-01T11:02:10.736Z] -- Installing: /usr/local/include/edgex/devices.h [2021-07-01T11:02:10.736Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-07-01T11:02:10.736Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-07-01T11:02:10.736Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-07-01T11:02:10.736Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-07-01T11:02:10.736Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-07-01T11:02:10.736Z] -- Installing: /usr/local/include/iot [2021-07-01T11:02:10.736Z] -- Installing: /usr/local/include/iot/base64.h [2021-07-01T11:02:10.736Z] -- Installing: /usr/local/include/iot/component.h [2021-07-01T11:02:10.736Z] -- Installing: /usr/local/include/iot/config.h [2021-07-01T11:02:10.736Z] -- Installing: /usr/local/include/iot/container.h [2021-07-01T11:02:10.736Z] -- Installing: /usr/local/include/iot/data.h [2021-07-01T11:02:10.736Z] -- Installing: /usr/local/include/iot/hash.h [2021-07-01T11:02:10.736Z] -- Installing: /usr/local/include/iot/iot.h [2021-07-01T11:02:10.736Z] -- Installing: /usr/local/include/iot/json.h [2021-07-01T11:02:10.736Z] -- Installing: /usr/local/include/iot/logger.h [2021-07-01T11:02:10.736Z] -- Installing: /usr/local/include/iot/os.h [2021-07-01T11:02:10.736Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-07-01T11:02:10.736Z] -- Installing: /usr/local/include/iot/thread.h [2021-07-01T11:02:10.736Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-07-01T11:02:10.736Z] -- Installing: /usr/local/include/iot/time.h [2021-07-01T11:02:10.736Z] -- Installing: /usr/local/include/iot/typecode.h [2021-07-01T11:02:10.736Z] -- Installing: /usr/local/include/iot/os [2021-07-01T11:02:10.736Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-07-01T11:02:10.736Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-07-01T11:02:10.736Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-07-01T11:02:10.736Z] -- Installing: /usr/local/include/iot/defs.h [2021-07-01T11:02:10.736Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-07-01T11:02:10.736Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-07-01T11:02:10.736Z] make: Leaving directory '/tmp/sdk/build/release' [2021-07-01T11:02:16.038Z] Removing intermediate container 74c60e6a071a [2021-07-01T11:02:16.038Z] ---> 39e0a260d533 [2021-07-01T11:02:16.038Z] Step 16/25 : FROM ${BASE} [2021-07-01T11:02:16.038Z] ---> 5eabd8fd8ba2 [2021-07-01T11:02:16.038Z] Step 17/25 : LABEL maintainer="IOTech " [2021-07-01T11:02:16.038Z] ---> Running in c86df63cb1c7 [2021-07-01T11:02:16.038Z] Removing intermediate container c86df63cb1c7 [2021-07-01T11:02:16.038Z] ---> a626dd9a2c31 [2021-07-01T11:02:16.038Z] 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-07-01T11:02:16.038Z] ---> Running in 071503963aac [2021-07-01T11:02:16.299Z] Connecting to iotech.jfrog.io (54.170.66.44:443) [2021-07-01T11:02:16.561Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-07-01T11:02:16.561Z] [2021-07-01T11:02:16.823Z] Removing intermediate container 071503963aac [2021-07-01T11:02:16.823Z] ---> 2141977e8328 [2021-07-01T11:02:16.823Z] Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-07-01T11:02:16.823Z] ---> Running in 57d825e52150 [2021-07-01T11:02:17.396Z] Removing intermediate container 57d825e52150 [2021-07-01T11:02:17.396Z] ---> c7cccd77569c [2021-07-01T11:02:17.396Z] 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-07-01T11:02:17.396Z] ---> Running in 2712c1a9265c [2021-07-01T11:02:17.396Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2021-07-01T11:02:18.339Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2021-07-01T11:02:18.339Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz [2021-07-01T11:02:18.926Z] (1/6) Installing curl (7.64.0-r5) [2021-07-01T11:02:18.926Z] (2/6) Installing hiredis (0.14.0-r0) [2021-07-01T11:02:18.926Z] (3/6) Installing hiredis-dev (0.14.0-r0) [2021-07-01T11:02:19.189Z] (4/6) Installing libuuid (2.33-r0) [2021-07-01T11:02:19.189Z] (5/6) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-07-01T11:02:20.580Z] (6/6) Installing wget (1.20.3-r0) [2021-07-01T11:02:20.842Z] Executing busybox-1.29.3-r10.trigger [2021-07-01T11:02:20.842Z] OK: 269 MiB in 81 packages [2021-07-01T11:02:21.111Z] Removing intermediate container 2712c1a9265c [2021-07-01T11:02:21.111Z] ---> 3147bba3b103 [2021-07-01T11:02:21.111Z] Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-07-01T11:02:21.111Z] ---> 1a162a9d9aaa [2021-07-01T11:02:21.111Z] Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-07-01T11:02:21.374Z] ---> 3c95d77ca000 [2021-07-01T11:02:21.375Z] Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-07-01T11:02:21.637Z] ---> 4d353ae5ed9e [2021-07-01T11:02:21.637Z] Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-07-01T11:02:21.900Z] ---> 1e79f7b39b64 [2021-07-01T11:02:21.900Z] Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-07-01T11:02:21.900Z] ---> b82616fd5f99 [2021-07-01T11:02:21.900Z] Successfully built b82616fd5f99 [2021-07-01T11:02:21.900Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-01T11:02:24.590Z] provisioning config files... [2021-07-01T11:02:24.618Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config1386375565727305189tmp [Pipeline] script [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-07-01T11:02:25.067Z] ---> docker-login.sh [2021-07-01T11:02:25.067Z] nexus3.edgexfoundry.org:10001 [2021-07-01T11:02:25.149Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-01T11:02:25.149Z] . [Pipeline] withDockerContainer [2021-07-01T11:02:25.250Z] prd-centos7-docker-4c-2g-1198 does not seem to be running inside a container [2021-07-01T11:02:25.289Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-07-01T11:02:25.650Z] $ docker top 309dbe3a29708e9297f614cd26b86cc0e9877b88bc379cb23c52c6609f31df0f -eo pid,comm [2021-07-01T11:02:25.676Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] { [Pipeline] sh [2021-07-01T11:02:26.089Z] + make test [2021-07-01T11:02:26.089Z] echo "make test" [2021-07-01T11:02:26.089Z] make test [Pipeline] } [2021-07-01T11:02:26.122Z] $ docker stop --time=1 309dbe3a29708e9297f614cd26b86cc0e9877b88bc379cb23c52c6609f31df0f [2021-07-01T11:02:26.273Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-01T11:02:26.273Z] Configure a credential helper to remove this warning. See [2021-07-01T11:02:26.273Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-01T11:02:26.273Z] [2021-07-01T11:02:26.273Z] Login Succeeded [2021-07-01T11:02:26.273Z] nexus3.edgexfoundry.org:10002 [2021-07-01T11:02:26.549Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-01T11:02:26.826Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-01T11:02:26.826Z] Configure a credential helper to remove this warning. See [2021-07-01T11:02:26.826Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-01T11:02:26.826Z] [2021-07-01T11:02:26.826Z] Login Succeeded [2021-07-01T11:02:26.826Z] nexus3.edgexfoundry.org:10003 [2021-07-01T11:02:27.101Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-01T11:02:27.326Z] $ docker rm -f 309dbe3a29708e9297f614cd26b86cc0e9877b88bc379cb23c52c6609f31df0f [2021-07-01T11:02:27.375Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-01T11:02:27.375Z] Configure a credential helper to remove this warning. See [2021-07-01T11:02:27.375Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-01T11:02:27.375Z] [2021-07-01T11:02:27.375Z] Login Succeeded [2021-07-01T11:02:27.375Z] nexus3.edgexfoundry.org:10004 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2021-07-01T11:02:27.970Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-01T11:02:27.970Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-01T11:02:27.970Z] Configure a credential helper to remove this warning. See [2021-07-01T11:02:27.970Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-01T11:02:27.970Z] [2021-07-01T11:02:27.970Z] Login Succeeded [2021-07-01T11:02:27.970Z] docker.io [2021-07-01T11:02:28.243Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] sh [2021-07-01T11:02:28.840Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-01T11:02:28.840Z] Configure a credential helper to remove this warning. See [2021-07-01T11:02:28.840Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-01T11:02:28.840Z] [2021-07-01T11:02:28.840Z] Login Succeeded [2021-07-01T11:02:28.840Z] ---> docker-login.sh ends [Pipeline] } [2021-07-01T11:02:28.873Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-07-01T11:02:28.947Z] + sudo chown -R jenkins:jenkins . [Pipeline] // withEnv [Pipeline] unstash [Pipeline] sh [2021-07-01T11:02:29.379Z] + ls -al . [2021-07-01T11:02:29.379Z] total 160 [2021-07-01T11:02:29.379Z] drwxrwxr-x. 8 jenkins jenkins 260 Jul 1 11:01 . [2021-07-01T11:02:29.379Z] drwxrwxr-x. 4 jenkins jenkins 28 Jul 1 11:01 .. [2021-07-01T11:02:29.379Z] -rw-rw-r--. 1 jenkins jenkins 3104 Jul 1 11:01 Attribution.txt [2021-07-01T11:02:29.379Z] -rw-rw-r--. 1 jenkins jenkins 7509 Jul 1 11:01 CHANGES [2021-07-01T11:02:29.379Z] drwxrwxr-x. 2 jenkins jenkins 121 Jul 1 11:01 docs [2021-07-01T11:02:29.379Z] -rw-rw-r--. 1 jenkins jenkins 108574 Jul 1 11:01 Doxyfile [2021-07-01T11:02:29.379Z] drwxrwxr-x. 8 jenkins jenkins 179 Jul 1 11:01 .git [2021-07-01T11:02:29.379Z] drwxrwxr-x. 2 jenkins jenkins 81 Jul 1 11:01 .github [2021-07-01T11:02:29.379Z] -rw-rw-r--. 1 jenkins jenkins 176 Jul 1 11:01 .gitignore [2021-07-01T11:02:29.379Z] drwxrwxr-x. 4 jenkins jenkins 33 Jul 1 11:01 include [2021-07-01T11:02:29.379Z] -rw-rw-r--. 1 jenkins jenkins 784 Jul 1 11:01 Jenkinsfile [2021-07-01T11:02:29.379Z] -rw-rw-r--. 1 jenkins jenkins 10174 Jul 1 11:01 LICENSE [2021-07-01T11:02:29.379Z] -rw-rw-r--. 1 jenkins jenkins 444 Jul 1 11:01 Makefile [2021-07-01T11:02:29.379Z] -rw-rw-r--. 1 jenkins jenkins 4090 Jul 1 11:01 README.md [2021-07-01T11:02:29.379Z] -rw-rw-r--. 1 jenkins jenkins 7090 Jul 1 11:01 README.v2.md [2021-07-01T11:02:29.379Z] drwxrwxr-x. 2 jenkins jenkins 98 Jul 1 11:01 scripts [2021-07-01T11:02:29.379Z] drwxrwxr-x. 4 jenkins jenkins 50 Jul 1 11:01 src [2021-07-01T11:02:29.379Z] -rw-rw-r--. 1 jenkins jenkins 5 Jul 1 10:57 VERSION [Pipeline] isUnix [Pipeline] sh [Pipeline] echo [2021-07-01T11:02:29.531Z] ========================================================= [2021-07-01T11:02:29.531Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2021-07-01T11:02:29.531Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-07-01T11:02:29.722Z] + 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=7fde05b815b6ee0a11d6dd3381f1b4551a697d5e --label arch=amd64 --label version=0.0.0 . [2021-07-01T11:02:29.722Z] Sending build context to Docker daemon 2.628MB [2021-07-01T11:02:29.722Z] Step 1/17 : ARG BASE=alpine:3.12 [2021-07-01T11:02:29.722Z] Step 2/17 : FROM ${BASE} [2021-07-01T11:02:29.722Z] ---> b82616fd5f99 [2021-07-01T11:02:29.722Z] Step 3/17 : LABEL maintainer="IOTech " [2021-07-01T11:02:29.962Z] + 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-07-01T11:02:30.299Z] ---> Running in 179c970d6e8a [2021-07-01T11:02:30.300Z] Removing intermediate container 179c970d6e8a [2021-07-01T11:02:30.300Z] ---> d46816e44854 [2021-07-01T11:02:30.300Z] 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-07-01T11:02:30.300Z] ---> Running in d1ef98a79fe5 [2021-07-01T11:02:30.575Z] Sending build context to Docker daemon 2.627MB [2021-07-01T11:02:30.576Z] Step 1/25 : ARG BASE=alpine:3.12 [2021-07-01T11:02:30.576Z] Step 2/25 : FROM ${BASE} as builder [2021-07-01T11:02:30.856Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2021-07-01T11:02:30.856Z] 0362ad1dd800: Pulling fs layer [2021-07-01T11:02:30.856Z] f2cdb1532d8b: Pulling fs layer [2021-07-01T11:02:30.856Z] 37ed683be191: Pulling fs layer [2021-07-01T11:02:30.856Z] f2cdb1532d8b: Verifying Checksum [2021-07-01T11:02:30.856Z] f2cdb1532d8b: Download complete [2021-07-01T11:02:30.856Z] 0362ad1dd800: Verifying Checksum [2021-07-01T11:02:30.856Z] 0362ad1dd800: Download complete [2021-07-01T11:02:30.869Z] --2021-07-01 11:02:30-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub [2021-07-01T11:02:30.869Z] Resolving iotech.jfrog.io... 54.170.66.44, 54.195.244.87, 54.229.110.245 [2021-07-01T11:02:30.869Z] Connecting to iotech.jfrog.io|54.170.66.44|:443... connected. [2021-07-01T11:02:31.130Z] HTTP request sent, awaiting response... 200 OK [2021-07-01T11:02:31.130Z] Length: 451 [application/octet-stream] [2021-07-01T11:02:31.130Z] Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-07-01T11:02:31.130Z] [2021-07-01T11:02:31.130Z] 0K 100% 50.1M=0s [2021-07-01T11:02:31.130Z] [2021-07-01T11:02:31.130Z] 2021-07-01 11:02:31 (50.1 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] [2021-07-01T11:02:31.130Z] [2021-07-01T11:02:31.395Z] Removing intermediate container d1ef98a79fe5 [2021-07-01T11:02:31.395Z] ---> 2774713add70 [2021-07-01T11:02:31.395Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-07-01T11:02:31.395Z] ---> Running in 59d2fe37daa6 [2021-07-01T11:02:31.461Z] 0362ad1dd800: Pull complete [2021-07-01T11:02:31.980Z] Removing intermediate container 59d2fe37daa6 [2021-07-01T11:02:31.980Z] ---> 71eb4609799e [2021-07-01T11:02:31.980Z] 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-07-01T11:02:31.980Z] ---> Running in 2ea4ba775104 [2021-07-01T11:02:32.059Z] f2cdb1532d8b: Pull complete [2021-07-01T11:02:32.245Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2021-07-01T11:02:32.816Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2021-07-01T11:02:33.077Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz [2021-07-01T11:02:33.500Z] 37ed683be191: Verifying Checksum [2021-07-01T11:02:33.500Z] 37ed683be191: Download complete [2021-07-01T11:02:33.649Z] (1/6) Installing ncurses-dev (6.1_p20190105-r0) [2021-07-01T11:02:33.649Z] (2/6) Installing libblkid (2.33-r0) [2021-07-01T11:02:33.911Z] (3/6) Installing libfdisk (2.33-r0) [2021-07-01T11:02:33.911Z] (4/6) Installing libmount (2.33-r0) [2021-07-01T11:02:33.911Z] (5/6) Installing libsmartcols (2.33-r0) [2021-07-01T11:02:34.173Z] (6/6) Installing util-linux-dev (2.33-r0) [2021-07-01T11:02:34.441Z] Executing busybox-1.29.3-r10.trigger [2021-07-01T11:02:34.441Z] OK: 273 MiB in 87 packages [2021-07-01T11:02:34.708Z] Removing intermediate container 2ea4ba775104 [2021-07-01T11:02:34.709Z] ---> 850a24e3c1d0 [2021-07-01T11:02:34.709Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2021-07-01T11:02:34.969Z] ---> 48dbd4f020b5 [2021-07-01T11:02:34.969Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2021-07-01T11:02:35.231Z] ---> f72ef1301e0b [2021-07-01T11:02:35.231Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2021-07-01T11:02:35.493Z] ---> 84fa6ec11c01 [2021-07-01T11:02:35.493Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2021-07-01T11:02:35.493Z] ---> bf46fc91e64d [2021-07-01T11:02:35.493Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2021-07-01T11:02:35.756Z] ---> b2594089cfae [2021-07-01T11:02:35.756Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2021-07-01T11:02:36.021Z] ---> c7f822914424 [2021-07-01T11:02:36.021Z] Step 13/17 : WORKDIR /edgex-c-sdk [2021-07-01T11:02:36.021Z] ---> Running in 1d268cb12b68 [2021-07-01T11:02:36.021Z] Removing intermediate container 1d268cb12b68 [2021-07-01T11:02:36.021Z] ---> 6c83a97113fb [2021-07-01T11:02:36.021Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-07-01T11:02:36.284Z] ---> Running in a6df94416ece [2021-07-01T11:02:36.284Z] Removing intermediate container a6df94416ece [2021-07-01T11:02:36.285Z] ---> 66044dfcb310 [2021-07-01T11:02:36.285Z] Step 15/17 : LABEL arch=amd64 [2021-07-01T11:02:36.285Z] ---> Running in 852d010b2370 [2021-07-01T11:02:36.285Z] Removing intermediate container 852d010b2370 [2021-07-01T11:02:36.285Z] ---> 20d992cfa86d [2021-07-01T11:02:36.285Z] Step 16/17 : LABEL git_sha=7fde05b815b6ee0a11d6dd3381f1b4551a697d5e [2021-07-01T11:02:36.285Z] ---> Running in 690f0b8d2870 [2021-07-01T11:02:36.550Z] Removing intermediate container 690f0b8d2870 [2021-07-01T11:02:36.550Z] ---> a70e0b054922 [2021-07-01T11:02:36.550Z] Step 17/17 : LABEL version=0.0.0 [2021-07-01T11:02:36.550Z] ---> Running in fe84671b278b [2021-07-01T11:02:37.124Z] Removing intermediate container fe84671b278b [2021-07-01T11:02:37.125Z] ---> 54feffc14859 [2021-07-01T11:02:37.125Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-07-01T11:02:37.125Z] Successfully built 54feffc14859 [2021-07-01T11:02:37.125Z] 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-07-01T11:02:43.519Z] 37ed683be191: Pull complete [2021-07-01T11:02:43.520Z] Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f [2021-07-01T11:02:43.520Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2021-07-01T11:02:43.520Z] ---> b23d30803547 [2021-07-01T11:02:43.520Z] 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-07-01T11:02:43.520Z] ---> Running in 95447b1f5c1e [2021-07-01T11:02:44.957Z] Connecting to iotech.jfrog.io (54.229.110.245:443) [2021-07-01T11:02:45.232Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-07-01T11:02:45.232Z] [2021-07-01T11:02:46.220Z] Removing intermediate container 95447b1f5c1e [2021-07-01T11:02:46.220Z] ---> 22cc7555df2e [2021-07-01T11:02:46.220Z] Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-07-01T11:02:46.220Z] ---> Running in b1934d36cdab [2021-07-01T11:02:48.201Z] Removing intermediate container b1934d36cdab [2021-07-01T11:02:48.201Z] ---> 6a00543f8d8f [2021-07-01T11:02:48.201Z] 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-07-01T11:02:48.201Z] ---> Running in 22cbf88e1d80 [2021-07-01T11:02:49.652Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2021-07-01T11:02:50.245Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2021-07-01T11:02:51.217Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz [2021-07-01T11:02:51.488Z] (1/11) Installing hiredis (0.14.0-r0) [2021-07-01T11:02:51.759Z] (2/11) Installing hiredis-dev (0.14.0-r0) [2021-07-01T11:02:51.759Z] (3/11) Installing ncurses-dev (6.1_p20190105-r0) [2021-07-01T11:02:51.759Z] (4/11) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-07-01T11:02:53.184Z] (5/11) Installing libuuid (2.33-r0) [2021-07-01T11:02:53.454Z] (6/11) Installing libblkid (2.33-r0) [2021-07-01T11:02:53.454Z] (7/11) Installing libfdisk (2.33-r0) [2021-07-01T11:02:53.724Z] (8/11) Installing libmount (2.33-r0) [2021-07-01T11:02:53.724Z] (9/11) Installing libsmartcols (2.33-r0) [2021-07-01T11:02:53.994Z] (10/11) Installing util-linux-dev (2.33-r0) [2021-07-01T11:02:54.263Z] (11/11) Installing wget (1.20.3-r0) [2021-07-01T11:02:54.263Z] Executing busybox-1.29.3-r10.trigger [2021-07-01T11:02:54.263Z] OK: 287 MiB in 86 packages [2021-07-01T11:02:55.696Z] Removing intermediate container 22cbf88e1d80 [2021-07-01T11:02:55.696Z] ---> 572650ab418f [2021-07-01T11:02:55.696Z] Step 6/25 : ENV CBOR_VERSION=0.5.0 [2021-07-01T11:02:55.696Z] ---> Running in 9fa9e2924c19 [2021-07-01T11:02:56.287Z] Removing intermediate container 9fa9e2924c19 [2021-07-01T11:02:56.287Z] ---> f250c224e57a [2021-07-01T11:02:56.287Z] 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-07-01T11:02:56.287Z] ---> Running in 1b6841bbf7da [2021-07-01T11:02:57.289Z] --2021-07-01 11:02:57-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-07-01T11:02:57.289Z] Resolving github.com... 140.82.114.3 [2021-07-01T11:02:57.289Z] Connecting to github.com|140.82.114.3|:443... connected. [2021-07-01T11:02:57.560Z] HTTP request sent, awaiting response... 302 Found [2021-07-01T11:02:57.560Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-07-01T11:02:57.560Z] --2021-07-01 11:02:57-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-07-01T11:02:57.560Z] Resolving codeload.github.com... 140.82.114.10 [2021-07-01T11:02:57.560Z] Connecting to codeload.github.com|140.82.114.10|:443... connected. [2021-07-01T11:02:57.560Z] HTTP request sent, awaiting response... 200 OK [2021-07-01T11:02:57.560Z] Length: unspecified [application/x-gzip] [2021-07-01T11:02:57.560Z] Saving to: 'STDOUT' [2021-07-01T11:02:57.560Z]  [2021-07-01T11:02:57.837Z] 0K .......... .......... .......... .......... .......... 1.55M [2021-07-01T11:02:57.837Z] 50K .......... .......... .......... .......... .......... 2.76M [2021-07-01T11:02:57.837Z] 100K .......... .......... .......... .......... .......... 12.9M [2021-07-01T11:02:57.837Z] 150K .......... .......... .......... .......... .......... 3.77M [2021-07-01T11:02:57.837Z] 200K .......... .......... .......... .......... .......... 9.06M [2021-07-01T11:02:57.837Z] 250K .......... .......... .......... .......... .......... 3.71M [2021-07-01T11:02:57.838Z] 300K .......... .......... .......... .......... .......... 4.48M [2021-07-01T11:02:57.838Z] 350K .......... .......... .......... .......... .......... 4.56M [2021-07-01T11:02:57.838Z] 400K .......... .......... .......... .......... .......... 4.05M [2021-07-01T11:02:57.838Z] 450K .......... .......... .......... .......... .......... 2.35M [2021-07-01T11:02:57.838Z] 500K .......... .......... .......... .......... .......... 16.4M [2021-07-01T11:02:57.838Z] 550K .......... .......... .......... .......... .......... 1.74M [2021-07-01T11:02:57.838Z] 600K .......... .......... .......... .......... .......... 1.04M [2021-07-01T11:02:57.838Z] 650K .......... .......... .......... .......... .......... 2.34M [2021-07-01T11:02:57.838Z] 700K .. 510K=0.2s [2021-07-01T11:02:57.838Z] [2021-07-01T11:02:57.838Z] 2021-07-01 11:02:57 (2.83 MB/s) - written to stdout [719348] [2021-07-01T11:02:57.838Z] [2021-07-01T11:02:58.111Z] -- The C compiler identification is GNU 8.3.0 [2021-07-01T11:02:58.391Z] -- The CXX compiler identification is GNU 8.3.0 [2021-07-01T11:02:58.391Z] -- Check for working C compiler: /usr/bin/cc [2021-07-01T11:02:58.664Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-07-01T11:02:58.664Z] -- Detecting C compiler ABI info [2021-07-01T11:02:58.937Z] -- Detecting C compiler ABI info - done [2021-07-01T11:02:58.937Z] -- Detecting C compile features [2021-07-01T11:02:59.925Z] -- Detecting C compile features - done [2021-07-01T11:02:59.925Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-07-01T11:02:59.925Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2021-07-01T11:02:59.925Z] -- Detecting CXX compiler ABI info [2021-07-01T11:03:00.199Z] -- Detecting CXX compiler ABI info - done [2021-07-01T11:03:00.199Z] -- Detecting CXX compile features [2021-07-01T11:03:01.648Z] -- Detecting CXX compile features - done [2021-07-01T11:03:01.648Z] -- Looking for include file endian.h [2021-07-01T11:03:01.927Z] -- Looking for include file endian.h - found [2021-07-01T11:03:01.927Z] -- Check if the system is big endian [2021-07-01T11:03:01.927Z] -- Searching 16 bit integer [2021-07-01T11:03:01.927Z] -- Looking for sys/types.h [2021-07-01T11:03:02.202Z] -- Looking for sys/types.h - found [2021-07-01T11:03:02.202Z] -- Looking for stdint.h [2021-07-01T11:03:02.474Z] -- Looking for stdint.h - found [2021-07-01T11:03:02.474Z] -- Looking for stddef.h [2021-07-01T11:03:02.747Z] -- Looking for stddef.h - found [2021-07-01T11:03:02.747Z] -- Check size of unsigned short [2021-07-01T11:03:03.023Z] -- Check size of unsigned short - done [2021-07-01T11:03:03.023Z] -- Using unsigned short [2021-07-01T11:03:03.298Z] -- Check if the system is big endian - little endian [2021-07-01T11:03:03.298Z] -- Check size of size_t [2021-07-01T11:03:03.570Z] -- Check size of size_t - done [2021-07-01T11:03:03.570Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-07-01T11:03:03.570Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-07-01T11:03:03.570Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-07-01T11:03:03.570Z] CMake did not find one. [2021-07-01T11:03:03.570Z] [2021-07-01T11:03:03.570Z] Could not find a package configuration file provided by "cJSON" with any of [2021-07-01T11:03:03.570Z] the following names: [2021-07-01T11:03:03.570Z] [2021-07-01T11:03:03.570Z] cJSONConfig.cmake [2021-07-01T11:03:03.570Z] cjson-config.cmake [2021-07-01T11:03:03.570Z] [2021-07-01T11:03:03.570Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-07-01T11:03:03.570Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-07-01T11:03:03.570Z] provides a separate development package or SDK, be sure it has been [2021-07-01T11:03:03.570Z] installed. [2021-07-01T11:03:03.570Z] [2021-07-01T11:03:03.570Z] [2021-07-01T11:03:03.570Z] -- Configuring done [2021-07-01T11:03:03.855Z] -- Generating done [2021-07-01T11:03:03.855Z] -- Build files have been written to: /tmp/cbor [2021-07-01T11:03:03.855Z] Scanning dependencies of target cbor_shared [2021-07-01T11:03:03.855Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-07-01T11:03:04.830Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-07-01T11:03:05.425Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-07-01T11:03:05.425Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-07-01T11:03:06.021Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-07-01T11:03:06.294Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-07-01T11:03:06.567Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-07-01T11:03:06.567Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-07-01T11:03:06.840Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-07-01T11:03:07.113Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-07-01T11:03:07.707Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-07-01T11:03:07.979Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-07-01T11:03:08.253Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-07-01T11:03:08.848Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-07-01T11:03:08.848Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-07-01T11:03:09.121Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-07-01T11:03:09.395Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-07-01T11:03:09.668Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-07-01T11:03:09.942Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-07-01T11:03:10.214Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-07-01T11:03:10.490Z] [ 40%] Linking C shared library libcbor.so [2021-07-01T11:03:10.490Z] [ 40%] Built target cbor_shared [2021-07-01T11:03:10.490Z] Scanning dependencies of target cbor [2021-07-01T11:03:10.490Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-07-01T11:03:11.464Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-07-01T11:03:12.058Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-07-01T11:03:12.058Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-07-01T11:03:13.489Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-07-01T11:03:13.490Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-07-01T11:03:13.765Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-07-01T11:03:13.765Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-07-01T11:03:14.039Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-07-01T11:03:14.311Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-07-01T11:03:15.287Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-07-01T11:03:15.287Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-07-01T11:03:15.882Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-07-01T11:03:16.156Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-07-01T11:03:16.430Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-07-01T11:03:16.704Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-07-01T11:03:16.977Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-07-01T11:03:17.251Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-07-01T11:03:17.252Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-07-01T11:03:17.848Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-07-01T11:03:17.849Z] [ 80%] Linking C static library libcbor.a [2021-07-01T11:03:17.849Z] [ 80%] Built target cbor [2021-07-01T11:03:17.849Z] Scanning dependencies of target create_items [2021-07-01T11:03:17.849Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-07-01T11:03:20.445Z] [ 84%] Linking C executable create_items [2021-07-01T11:03:20.445Z] [ 84%] Built target create_items [2021-07-01T11:03:20.445Z] Scanning dependencies of target readfile [2021-07-01T11:03:20.445Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-07-01T11:03:20.445Z] [ 88%] Linking C executable readfile [2021-07-01T11:03:20.445Z] [ 88%] Built target readfile [2021-07-01T11:03:20.445Z] Scanning dependencies of target streaming_parser [2021-07-01T11:03:20.445Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-07-01T11:03:20.445Z] [ 92%] Linking C executable streaming_parser [2021-07-01T11:03:20.445Z] [ 92%] Built target streaming_parser [2021-07-01T11:03:20.445Z] Scanning dependencies of target sort [2021-07-01T11:03:20.445Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-07-01T11:03:20.445Z] [ 96%] Linking C executable sort [2021-07-01T11:03:20.445Z] [ 96%] Built target sort [2021-07-01T11:03:20.445Z] Scanning dependencies of target hello [2021-07-01T11:03:20.445Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-07-01T11:03:20.445Z] [100%] Linking C executable hello [2021-07-01T11:03:20.445Z] [100%] Built target hello [2021-07-01T11:03:20.445Z] Install the project... [2021-07-01T11:03:20.445Z] -- Install configuration: "Release" [2021-07-01T11:03:20.445Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-07-01T11:03:20.445Z] -- Installing: /usr/local/lib64/libcbor.a [2021-07-01T11:03:20.445Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-07-01T11:03:20.445Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-07-01T11:03:20.445Z] -- Installing: /usr/local/lib64/libcbor.so [2021-07-01T11:03:20.445Z] -- Up-to-date: /usr/local/include/cbor [2021-07-01T11:03:20.445Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-07-01T11:03:20.445Z] -- Installing: /usr/local/include/cbor/ints.h [2021-07-01T11:03:20.445Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-07-01T11:03:20.445Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-07-01T11:03:20.445Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-07-01T11:03:20.445Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-07-01T11:03:20.445Z] -- Installing: /usr/local/include/cbor/data.h [2021-07-01T11:03:20.445Z] -- Installing: /usr/local/include/cbor/common.h [2021-07-01T11:03:20.445Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-07-01T11:03:20.445Z] -- Installing: /usr/local/include/cbor/strings.h [2021-07-01T11:03:20.445Z] -- Installing: /usr/local/include/cbor/tags.h [2021-07-01T11:03:20.445Z] -- Installing: /usr/local/include/cbor/internal [2021-07-01T11:03:20.445Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-07-01T11:03:20.445Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-07-01T11:03:20.445Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-07-01T11:03:20.445Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-07-01T11:03:20.445Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-07-01T11:03:20.445Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-07-01T11:03:20.445Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-07-01T11:03:20.445Z] -- Installing: /usr/local/include/cbor/maps.h [2021-07-01T11:03:20.445Z] -- Installing: /usr/local/include/cbor.h [2021-07-01T11:03:20.445Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-07-01T11:03:21.879Z] Removing intermediate container 1b6841bbf7da [2021-07-01T11:03:21.879Z] ---> 2d6f643cbc91 [2021-07-01T11:03:21.879Z] Step 8/25 : RUN mkdir /tmp/sdk [2021-07-01T11:03:21.879Z] ---> Running in 44f06b1fdd2a [2021-07-01T11:03:23.862Z] Removing intermediate container 44f06b1fdd2a [2021-07-01T11:03:23.862Z] ---> bbe37bac5fe4 [2021-07-01T11:03:23.862Z] Step 9/25 : COPY VERSION /tmp/sdk [2021-07-01T11:03:24.849Z] ---> 55d7197c4e3b [2021-07-01T11:03:24.849Z] Step 10/25 : COPY src /tmp/sdk/src [2021-07-01T11:03:25.826Z] ---> e7de3b4ba02c [2021-07-01T11:03:25.826Z] Step 11/25 : COPY include /tmp/sdk/include [2021-07-01T11:03:26.423Z] ---> d0c037f682bf [2021-07-01T11:03:26.423Z] Step 12/25 : COPY scripts /tmp/sdk/scripts [2021-07-01T11:03:27.399Z] ---> beb76efcd2b5 [2021-07-01T11:03:27.399Z] Step 13/25 : COPY LICENSE /tmp/sdk [2021-07-01T11:03:28.376Z] ---> c0f35aec4b93 [2021-07-01T11:03:28.376Z] Step 14/25 : COPY Attribution.txt /tmp/sdk [2021-07-01T11:03:28.971Z] ---> f03751007de1 [2021-07-01T11:03:28.971Z] Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-07-01T11:03:29.244Z] ---> Running in d4ef4876426c [2021-07-01T11:03:30.686Z] + CPPCHECK=false [2021-07-01T11:03:30.686Z] + DOCGEN=false [2021-07-01T11:03:30.686Z] + TOMLVER=SDK-0.2 [2021-07-01T11:03:30.686Z] + CUTILVER=1.1.4 [2021-07-01T11:03:30.686Z] + '[' 0 -gt 0 ] [2021-07-01T11:03:30.686Z] + readlink -f ./scripts/build.sh [2021-07-01T11:03:30.686Z] + dirname /tmp/sdk/scripts/build.sh [2021-07-01T11:03:30.686Z] + dirname /tmp/sdk/scripts [2021-07-01T11:03:30.686Z] + ROOT=/tmp/sdk [2021-07-01T11:03:30.686Z] + cd /tmp/sdk [2021-07-01T11:03:30.686Z] + '[' '!' -d deps ] [2021-07-01T11:03:30.686Z] + mkdir deps [2021-07-01T11:03:30.686Z] + wget -O+ -tar https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz -C [2021-07-01T11:03:30.686Z] deps -z -x -f - [2021-07-01T11:03:30.686Z] --2021-07-01 11:03:30-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-07-01T11:03:30.686Z] Resolving github.com... 140.82.114.4 [2021-07-01T11:03:30.686Z] Connecting to github.com|140.82.114.4|:443... connected. [2021-07-01T11:03:30.686Z] HTTP request sent, awaiting response... 302 Found [2021-07-01T11:03:30.686Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-07-01T11:03:30.686Z] --2021-07-01 11:03:30-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-07-01T11:03:30.686Z] Resolving codeload.github.com... 140.82.114.10 [2021-07-01T11:03:30.686Z] Connecting to codeload.github.com|140.82.114.10|:443... connected. [2021-07-01T11:03:30.686Z] HTTP request sent, awaiting response... 200 OK [2021-07-01T11:03:30.686Z] Length: 16451 (16K) [application/x-gzip] [2021-07-01T11:03:30.686Z] Saving to: 'STDOUT' [2021-07-01T11:03:30.686Z]  [2021-07-01T11:03:30.957Z] 0K .......... ......  100% 1.00M=0.02s [2021-07-01T11:03:30.957Z] [2021-07-01T11:03:30.957Z] 2021-07-01 11:03:30 (1.00 MB/s) - written to stdout [16451/16451] [2021-07-01T11:03:30.957Z] [2021-07-01T11:03:30.957Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-07-01T11:03:30.957Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-07-01T11:03:30.957Z] + tar -C deps -z -x -f - [2021-07-01T11:03:30.957Z] --2021-07-01 11:03:30-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-07-01T11:03:30.957Z] Resolving github.com... 140.82.114.4 [2021-07-01T11:03:30.957Z] Connecting to github.com|140.82.114.4|:443... connected. [2021-07-01T11:03:30.957Z] HTTP request sent, awaiting response... 302 Found [2021-07-01T11:03:30.957Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] [2021-07-01T11:03:30.957Z] --2021-07-01 11:03:30-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [2021-07-01T11:03:30.957Z] Resolving codeload.github.com... 140.82.114.10 [2021-07-01T11:03:30.957Z] Connecting to codeload.github.com|140.82.114.10|:443... connected. [2021-07-01T11:03:31.229Z] HTTP request sent, awaiting response... 200 OK [2021-07-01T11:03:31.229Z] Length: unspecified [application/x-gzip] [2021-07-01T11:03:31.229Z] Saving to: 'STDOUT' [2021-07-01T11:03:31.229Z]  [2021-07-01T11:03:31.229Z] 0K .......... .......... .......... .......... .......... 1.47M [2021-07-01T11:03:31.229Z] 50K .......... .......... .......... .......... .......... 2.99M [2021-07-01T11:03:31.229Z] 100K .......... .......... .......... .......... .......... 7.24M [2021-07-01T11:03:31.229Z] 150K .......... .......... ....... 1.50M=0.07s [2021-07-01T11:03:31.229Z] [2021-07-01T11:03:31.229Z] 2021-07-01 11:03:31 (2.33 MB/s) - written to stdout [181796] [2021-07-01T11:03:31.229Z] [2021-07-01T11:03:31.229Z] + mkdir -p src/c/iot [2021-07-01T11:03:31.229Z] + 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-07-01T11:03:31.229Z] + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot [2021-07-01T11:03:31.229Z] + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot [2021-07-01T11:03:31.229Z] + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot [2021-07-01T11:03:31.229Z] + mkdir -p include/iot [2021-07-01T11:03:31.229Z] + 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-07-01T11:03:31.229Z] + mkdir -p include/iot/os [2021-07-01T11:03:31.229Z] + 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-07-01T11:03:31.229Z] + mkdir -p /tmp/sdk/build/release [2021-07-01T11:03:31.229Z] + cd /tmp/sdk/build/release [2021-07-01T11:03:31.229Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-07-01T11:03:31.506Z] -- The C compiler identification is GNU 8.3.0 [2021-07-01T11:03:31.782Z] -- Check for working C compiler: /usr/bin/cc [2021-07-01T11:03:32.053Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-07-01T11:03:32.053Z] -- Detecting C compiler ABI info [2021-07-01T11:03:32.053Z] -- Detecting C compiler ABI info - done [2021-07-01T11:03:32.326Z] -- Detecting C compile features [2021-07-01T11:03:32.923Z] -- Detecting C compile features - done [2021-07-01T11:03:32.924Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-07-01T11:03:32.924Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-07-01T11:03:32.924Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-07-01T11:03:32.924Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-07-01T11:03:32.924Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-07-01T11:03:32.924Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-07-01T11:03:32.924Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-07-01T11:03:32.924Z] -- C SDK 0.0.0 for Linux [2021-07-01T11:03:32.924Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-07-01T11:03:33.197Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-07-01T11:03:33.197Z] -- Found Curses: /usr/lib/libcurses.so [2021-07-01T11:03:33.469Z] -- Configuring done [2021-07-01T11:03:33.743Z] -- Generating done [2021-07-01T11:03:33.743Z] -- Build files have been written to: /tmp/sdk/build/release [2021-07-01T11:03:33.743Z] + + teemake release.log all [2021-07-01T11:03:33.743Z] package [2021-07-01T11:03:33.743Z] Scanning dependencies of target csdk [2021-07-01T11:03:34.017Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-07-01T11:03:34.614Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-07-01T11:03:34.889Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-07-01T11:03:36.869Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-07-01T11:03:37.143Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-07-01T11:03:37.419Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-07-01T11:03:38.014Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-07-01T11:03:38.614Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-07-01T11:03:38.614Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-07-01T11:03:39.594Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-07-01T11:03:41.571Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-07-01T11:03:41.571Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-07-01T11:03:42.553Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-07-01T11:03:42.826Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-07-01T11:03:43.102Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-07-01T11:03:43.375Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-07-01T11:03:43.648Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-07-01T11:03:46.262Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-07-01T11:03:46.535Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-07-01T11:03:46.807Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-07-01T11:03:47.117Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-07-01T11:03:47.712Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-07-01T11:03:48.306Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-07-01T11:03:52.449Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-07-01T11:03:52.449Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-07-01T11:03:52.449Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-07-01T11:03:52.449Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-07-01T11:03:52.449Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-07-01T11:03:52.449Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-07-01T11:03:53.055Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-07-01T11:03:53.329Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-07-01T11:03:53.924Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-07-01T11:03:54.197Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-07-01T11:03:56.181Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-07-01T11:03:56.458Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-07-01T11:03:57.434Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-07-01T11:03:57.434Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-07-01T11:04:01.733Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-07-01T11:04:02.004Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-07-01T11:04:02.598Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-07-01T11:04:02.871Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-07-01T11:04:03.844Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-07-01T11:04:05.271Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-07-01T11:04:08.002Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-07-01T11:04:10.758Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-07-01T11:04:11.050Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-07-01T11:04:11.654Z] [ 74%] Linking C shared library libcsdk.so [2021-07-01T11:04:11.654Z] [ 74%] Built target csdk [2021-07-01T11:04:11.654Z] Scanning dependencies of target template [2021-07-01T11:04:11.654Z] [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-07-01T11:04:12.628Z] [ 77%] Linking C executable template [2021-07-01T11:04:12.628Z] [ 77%] Built target template [2021-07-01T11:04:12.628Z] Scanning dependencies of target device-counter [2021-07-01T11:04:12.628Z] [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-07-01T11:04:13.228Z] [ 80%] Linking C executable device-counter [2021-07-01T11:04:13.228Z] [ 80%] Built target device-counter [2021-07-01T11:04:13.228Z] Scanning dependencies of target device-random [2021-07-01T11:04:13.228Z] [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-07-01T11:04:13.821Z] [ 84%] Linking C executable device-random [2021-07-01T11:04:14.093Z] [ 84%] Built target device-random [2021-07-01T11:04:14.093Z] Scanning dependencies of target device-gyro [2021-07-01T11:04:14.093Z] [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-07-01T11:04:14.366Z] [ 87%] Linking C executable device-gyro [2021-07-01T11:04:14.637Z] [ 87%] Built target device-gyro [2021-07-01T11:04:14.637Z] Scanning dependencies of target device-bitfields [2021-07-01T11:04:14.637Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-07-01T11:04:15.235Z] [ 90%] Linking C executable device-bitfields [2021-07-01T11:04:15.235Z] [ 90%] Built target device-bitfields [2021-07-01T11:04:15.235Z] Scanning dependencies of target template-discovery [2021-07-01T11:04:15.235Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-07-01T11:04:16.209Z] [ 93%] Linking C executable template-discovery [2021-07-01T11:04:16.209Z] [ 93%] Built target template-discovery [2021-07-01T11:04:16.209Z] Scanning dependencies of target device-file [2021-07-01T11:04:16.209Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-07-01T11:04:16.803Z] [ 96%] Linking C executable device-file [2021-07-01T11:04:17.076Z] [ 96%] Built target device-file [2021-07-01T11:04:17.076Z] Scanning dependencies of target device-terminal [2021-07-01T11:04:17.076Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-07-01T11:04:19.572Z] [100%] Linking C executable device-terminal [2021-07-01T11:04:19.572Z] [100%] Built target device-terminal [2021-07-01T11:04:19.572Z] Run CPack packaging tool... [2021-07-01T11:04:19.572Z] CPack: Create package using TGZ [2021-07-01T11:04:19.572Z] CPack: Install projects [2021-07-01T11:04:19.572Z] CPack: - Run preinstall target for: Csdk [2021-07-01T11:04:19.572Z] CPack: - Install project: Csdk [2021-07-01T11:04:19.572Z] CPack: Create package [2021-07-01T11:04:19.572Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-07-01T11:04:19.572Z] + '[' false '=' true ] [2021-07-01T11:04:19.572Z] + '[' false '=' true ] [2021-07-01T11:04:19.572Z] + mkdir -p /tmp/sdk/build/debug [2021-07-01T11:04:19.572Z] + cd /tmp/sdk/build/debug [2021-07-01T11:04:19.572Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-07-01T11:04:19.572Z] -- The C compiler identification is GNU 8.3.0 [2021-07-01T11:04:19.572Z] -- Check for working C compiler: /usr/bin/cc [2021-07-01T11:04:19.572Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-07-01T11:04:19.572Z] -- Detecting C compiler ABI info [2021-07-01T11:04:19.572Z] -- Detecting C compiler ABI info - done [2021-07-01T11:04:19.572Z] -- Detecting C compile features [2021-07-01T11:04:20.169Z] -- Detecting C compile features - done [2021-07-01T11:04:20.169Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-07-01T11:04:20.169Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-07-01T11:04:20.169Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-07-01T11:04:20.169Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-07-01T11:04:20.169Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-07-01T11:04:20.169Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-07-01T11:04:20.169Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-07-01T11:04:20.169Z] -- C SDK 0.0.0 for Linux [2021-07-01T11:04:20.169Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-07-01T11:04:20.441Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-07-01T11:04:20.441Z] -- Found Curses: /usr/lib/libcurses.so [2021-07-01T11:04:20.441Z] -- Configuring done [2021-07-01T11:04:20.713Z] -- Generating done [2021-07-01T11:04:20.713Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-07-01T11:04:20.713Z] + make [2021-07-01T11:04:20.713Z] + tee debug.log [2021-07-01T11:04:20.985Z] Scanning dependencies of target csdk [2021-07-01T11:04:20.985Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-07-01T11:04:21.582Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-07-01T11:04:21.582Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-07-01T11:04:22.175Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-07-01T11:04:22.446Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-07-01T11:04:22.722Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-07-01T11:04:23.004Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-07-01T11:04:23.288Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-07-01T11:04:23.288Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-07-01T11:04:23.916Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-07-01T11:04:24.519Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-07-01T11:04:24.519Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-07-01T11:04:24.795Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-07-01T11:04:25.068Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-07-01T11:04:25.345Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-07-01T11:04:25.619Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-07-01T11:04:25.893Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-07-01T11:04:26.488Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-07-01T11:04:28.849Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-07-01T11:04:28.849Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-07-01T11:04:28.849Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-07-01T11:04:28.849Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-07-01T11:04:28.849Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-07-01T11:04:28.849Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-07-01T11:04:28.849Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-07-01T11:04:28.849Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-07-01T11:04:28.849Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-07-01T11:04:29.122Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-07-01T11:04:29.395Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-07-01T11:04:29.667Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-07-01T11:04:29.940Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-07-01T11:04:30.214Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-07-01T11:04:30.214Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-07-01T11:04:30.811Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-07-01T11:04:30.811Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-07-01T11:04:31.408Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-07-01T11:04:31.408Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-07-01T11:04:32.383Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-07-01T11:04:32.657Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-07-01T11:04:32.931Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-07-01T11:04:33.203Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-07-01T11:04:33.475Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-07-01T11:04:34.449Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-07-01T11:04:35.041Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-07-01T11:04:35.639Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-07-01T11:04:35.912Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-07-01T11:04:36.185Z] [ 74%] Linking C shared library libcsdk.so [2021-07-01T11:04:36.458Z] [ 74%] Built target csdk [2021-07-01T11:04:36.458Z] Scanning dependencies of target template [2021-07-01T11:04:36.458Z] [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-07-01T11:04:36.732Z] [ 77%] Linking C executable template [2021-07-01T11:04:37.005Z] [ 77%] Built target template [2021-07-01T11:04:37.005Z] Scanning dependencies of target device-counter [2021-07-01T11:04:37.005Z] [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-07-01T11:04:37.277Z] [ 80%] Linking C executable device-counter [2021-07-01T11:04:37.550Z] [ 80%] Built target device-counter [2021-07-01T11:04:37.550Z] Scanning dependencies of target device-random [2021-07-01T11:04:37.550Z] [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-07-01T11:04:37.824Z] [ 84%] Linking C executable device-random [2021-07-01T11:04:38.098Z] [ 84%] Built target device-random [2021-07-01T11:04:38.098Z] Scanning dependencies of target device-gyro [2021-07-01T11:04:38.098Z] [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-07-01T11:04:38.371Z] [ 87%] Linking C executable device-gyro [2021-07-01T11:04:38.643Z] [ 87%] Built target device-gyro [2021-07-01T11:04:38.643Z] Scanning dependencies of target device-bitfields [2021-07-01T11:04:38.643Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-07-01T11:04:38.913Z] [ 90%] Linking C executable device-bitfields [2021-07-01T11:04:39.188Z] [ 90%] Built target device-bitfields [2021-07-01T11:04:39.188Z] Scanning dependencies of target template-discovery [2021-07-01T11:04:39.188Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-07-01T11:04:39.461Z] [ 93%] Linking C executable template-discovery [2021-07-01T11:04:39.735Z] [ 93%] Built target template-discovery [2021-07-01T11:04:39.735Z] Scanning dependencies of target device-file [2021-07-01T11:04:39.735Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-07-01T11:04:40.007Z] [ 96%] Linking C executable device-file [2021-07-01T11:04:40.286Z] [ 96%] Built target device-file [2021-07-01T11:04:40.286Z] Scanning dependencies of target device-terminal [2021-07-01T11:04:40.286Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-07-01T11:04:40.559Z] [100%] Linking C executable device-terminal [2021-07-01T11:04:40.834Z] [100%] Built target device-terminal [2021-07-01T11:04:40.834Z] make: Entering directory '/tmp/sdk/build/release' [2021-07-01T11:04:40.834Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-07-01T11:04:40.834Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-01T11:04:40.834Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-01T11:04:40.834Z] [ 74%] Built target csdk [2021-07-01T11:04:40.834Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-01T11:04:41.108Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-01T11:04:41.108Z] [ 77%] Built target template [2021-07-01T11:04:41.108Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-01T11:04:41.108Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-01T11:04:41.108Z] [ 80%] Built target device-counter [2021-07-01T11:04:41.108Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-01T11:04:41.108Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-01T11:04:41.108Z] [ 84%] Built target device-random [2021-07-01T11:04:41.108Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-01T11:04:41.108Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-01T11:04:41.108Z] [ 87%] Built target device-gyro [2021-07-01T11:04:41.108Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-01T11:04:41.108Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-01T11:04:41.108Z] [ 90%] Built target device-bitfields [2021-07-01T11:04:41.108Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-01T11:04:41.108Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-01T11:04:41.108Z] [ 93%] Built target template-discovery [2021-07-01T11:04:41.108Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-01T11:04:41.108Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-01T11:04:41.108Z] [ 96%] Built target device-file [2021-07-01T11:04:41.393Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-01T11:04:41.393Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-01T11:04:41.393Z] [100%] Built target device-terminal [2021-07-01T11:04:41.393Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-07-01T11:04:41.393Z] Install the project... [2021-07-01T11:04:41.393Z] -- Install configuration: "Release" [2021-07-01T11:04:41.393Z] -- Installing: /usr/local/lib/libcsdk.so [2021-07-01T11:04:41.393Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-07-01T11:04:41.393Z] -- Up-to-date: /usr/local/include [2021-07-01T11:04:41.393Z] -- Installing: /usr/local/include/edgex [2021-07-01T11:04:41.393Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-07-01T11:04:41.393Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-07-01T11:04:41.393Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-07-01T11:04:41.393Z] -- Installing: /usr/local/include/edgex/devices.h [2021-07-01T11:04:41.393Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-07-01T11:04:41.393Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-07-01T11:04:41.393Z] -- Installing: /usr/local/include/devsdk [2021-07-01T11:04:41.393Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-07-01T11:04:41.393Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-07-01T11:04:41.393Z] -- Installing: /usr/local/include/iot [2021-07-01T11:04:41.393Z] -- Installing: /usr/local/include/iot/json.h [2021-07-01T11:04:41.393Z] -- Installing: /usr/local/include/iot/container.h [2021-07-01T11:04:41.393Z] -- Installing: /usr/local/include/iot/component.h [2021-07-01T11:04:41.393Z] -- Installing: /usr/local/include/iot/typecode.h [2021-07-01T11:04:41.393Z] -- Installing: /usr/local/include/iot/iot.h [2021-07-01T11:04:41.393Z] -- Installing: /usr/local/include/iot/time.h [2021-07-01T11:04:41.393Z] -- Installing: /usr/local/include/iot/hash.h [2021-07-01T11:04:41.393Z] -- Installing: /usr/local/include/iot/logger.h [2021-07-01T11:04:41.393Z] -- Installing: /usr/local/include/iot/os [2021-07-01T11:04:41.393Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-07-01T11:04:41.393Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-07-01T11:04:41.393Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-07-01T11:04:41.393Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-07-01T11:04:41.393Z] -- Installing: /usr/local/include/iot/data.h [2021-07-01T11:04:41.393Z] -- Installing: /usr/local/include/iot/thread.h [2021-07-01T11:04:41.393Z] -- Installing: /usr/local/include/iot/os.h [2021-07-01T11:04:41.393Z] -- Installing: /usr/local/include/iot/base64.h [2021-07-01T11:04:41.393Z] -- Installing: /usr/local/include/iot/defs.h [2021-07-01T11:04:41.393Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-07-01T11:04:41.393Z] -- Installing: /usr/local/include/iot/config.h [2021-07-01T11:04:41.393Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-07-01T11:04:41.393Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-07-01T11:04:41.393Z] make: Leaving directory '/tmp/sdk/build/release' [2021-07-01T11:04:43.373Z] Removing intermediate container d4ef4876426c [2021-07-01T11:04:43.373Z] ---> c426ded01d70 [2021-07-01T11:04:43.373Z] Step 16/25 : FROM ${BASE} [2021-07-01T11:04:43.373Z] ---> b23d30803547 [2021-07-01T11:04:43.373Z] Step 17/25 : LABEL maintainer="IOTech " [2021-07-01T11:04:43.646Z] ---> Running in ca78ed59f5b1 [2021-07-01T11:04:43.919Z] Removing intermediate container ca78ed59f5b1 [2021-07-01T11:04:43.919Z] ---> c25117c996a2 [2021-07-01T11:04:43.919Z] 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-07-01T11:04:44.192Z] ---> Running in 491d11c60f49 [2021-07-01T11:04:45.628Z] Connecting to iotech.jfrog.io (54.195.244.87:443) [2021-07-01T11:04:45.628Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-07-01T11:04:45.628Z] [2021-07-01T11:04:46.607Z] Removing intermediate container 491d11c60f49 [2021-07-01T11:04:46.607Z] ---> f4a3b681c299 [2021-07-01T11:04:46.607Z] Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-07-01T11:04:46.880Z] ---> Running in 3d068d23d276 [2021-07-01T11:04:49.500Z] Removing intermediate container 3d068d23d276 [2021-07-01T11:04:49.500Z] ---> a19921fdf9e4 [2021-07-01T11:04:49.500Z] 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-07-01T11:04:49.500Z] ---> Running in f7dacd0ee712 [2021-07-01T11:04:50.478Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2021-07-01T11:04:51.069Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2021-07-01T11:04:52.040Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz [2021-07-01T11:04:52.310Z] (1/6) Installing curl (7.64.0-r5) [2021-07-01T11:04:52.580Z] (2/6) Installing hiredis (0.14.0-r0) [2021-07-01T11:04:52.581Z] (3/6) Installing hiredis-dev (0.14.0-r0) [2021-07-01T11:04:52.581Z] (4/6) Installing libuuid (2.33-r0) [2021-07-01T11:04:52.850Z] (5/6) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-07-01T11:04:54.276Z] (6/6) Installing wget (1.20.3-r0) [2021-07-01T11:04:54.276Z] Executing busybox-1.29.3-r10.trigger [2021-07-01T11:04:54.276Z] OK: 283 MiB in 81 packages [2021-07-01T11:04:55.713Z] Removing intermediate container f7dacd0ee712 [2021-07-01T11:04:55.713Z] ---> 96ba7876f2f8 [2021-07-01T11:04:55.713Z] Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-07-01T11:04:56.692Z] ---> 46aee5c30900 [2021-07-01T11:04:56.692Z] Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-07-01T11:04:57.297Z] ---> 4e14ff09b8c3 [2021-07-01T11:04:57.297Z] Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-07-01T11:04:58.280Z] ---> 704a974517c6 [2021-07-01T11:04:58.280Z] Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-07-01T11:04:59.259Z] ---> 9a34e7462d05 [2021-07-01T11:04:59.259Z] Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-07-01T11:04:59.854Z] ---> 5bf51280fd68 [2021-07-01T11:04:59.854Z] Successfully built 5bf51280fd68 [2021-07-01T11:04:59.854Z] 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-07-01T11:05:00.702Z] + docker inspect -f . ci-base-image-arm64 [2021-07-01T11:05:00.702Z] . [Pipeline] withDockerContainer [2021-07-01T11:05:00.988Z] prd-ubuntu18.04-docker-arm64-4c-16g-1197 does not seem to be running inside a container [2021-07-01T11:05:01.125Z] $ 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-07-01T11:05:02.709Z] $ docker top 8d6cc066378e8c5a55725f7ea1d59821e1b6e5ccbe76d9bf81aa7261aae68762 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-01T11:05:03.770Z] + make test [2021-07-01T11:05:03.770Z] echo "make test" [2021-07-01T11:05:03.770Z] make test [Pipeline] } [2021-07-01T11:05:03.804Z] $ docker stop --time=1 8d6cc066378e8c5a55725f7ea1d59821e1b6e5ccbe76d9bf81aa7261aae68762 [2021-07-01T11:05:05.698Z] $ docker rm -f 8d6cc066378e8c5a55725f7ea1d59821e1b6e5ccbe76d9bf81aa7261aae68762 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-01T11:05:09.051Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-07-01T11:05:09.416Z] + ls -al . [2021-07-01T11:05:09.417Z] total 192 [2021-07-01T11:05:09.417Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 1 11:01 . [2021-07-01T11:05:09.417Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 1 11:01 .. [2021-07-01T11:05:09.417Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 1 11:02 .git [2021-07-01T11:05:09.417Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 1 11:01 .github [2021-07-01T11:05:09.417Z] -rw-rw-r-- 1 jenkins jenkins 176 Jul 1 11:01 .gitignore [2021-07-01T11:05:09.417Z] -rw-rw-r-- 1 jenkins jenkins 3104 Jul 1 11:01 Attribution.txt [2021-07-01T11:05:09.417Z] -rw-rw-r-- 1 jenkins jenkins 7509 Jul 1 11:01 CHANGES [2021-07-01T11:05:09.417Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jul 1 11:01 Doxyfile [2021-07-01T11:05:09.417Z] -rw-rw-r-- 1 jenkins jenkins 784 Jul 1 11:01 Jenkinsfile [2021-07-01T11:05:09.417Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jul 1 11:01 LICENSE [2021-07-01T11:05:09.417Z] -rw-rw-r-- 1 jenkins jenkins 444 Jul 1 11:01 Makefile [2021-07-01T11:05:09.417Z] -rw-rw-r-- 1 jenkins jenkins 4090 Jul 1 11:01 README.md [2021-07-01T11:05:09.417Z] -rw-rw-r-- 1 jenkins jenkins 7090 Jul 1 11:01 README.v2.md [2021-07-01T11:05:09.417Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 1 10:57 VERSION [2021-07-01T11:05:09.417Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 1 11:01 docs [2021-07-01T11:05:09.417Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 1 11:01 include [2021-07-01T11:05:09.417Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 1 11:01 scripts [2021-07-01T11:05:09.417Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 1 11:01 src [Pipeline] isUnix [Pipeline] sh [2021-07-01T11:05:09.816Z] + 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=7fde05b815b6ee0a11d6dd3381f1b4551a697d5e --label arch=arm64 --label version=0.0.0 . [2021-07-01T11:05:10.420Z] Sending build context to Docker daemon 2.627MB [2021-07-01T11:05:10.420Z] Step 1/17 : ARG BASE=alpine:3.12 [2021-07-01T11:05:10.420Z] Step 2/17 : FROM ${BASE} [2021-07-01T11:05:10.420Z] ---> 5bf51280fd68 [2021-07-01T11:05:10.420Z] Step 3/17 : LABEL maintainer="IOTech " [2021-07-01T11:05:10.420Z] ---> Running in 820c5819ca48 [2021-07-01T11:05:11.015Z] Removing intermediate container 820c5819ca48 [2021-07-01T11:05:11.015Z] ---> 79887f70011d [2021-07-01T11:05:11.015Z] 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-07-01T11:05:11.289Z] ---> Running in 161301617f01 [2021-07-01T11:05:12.266Z] --2021-07-01 11:05:12-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub [2021-07-01T11:05:12.266Z] Resolving iotech.jfrog.io... 54.170.66.44, 54.195.244.87, 54.229.110.245 [2021-07-01T11:05:12.536Z] Connecting to iotech.jfrog.io|54.170.66.44|:443... connected. [2021-07-01T11:05:12.810Z] HTTP request sent, awaiting response... 200 OK [2021-07-01T11:05:12.810Z] Length: 451 [application/octet-stream] [2021-07-01T11:05:12.810Z] Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-07-01T11:05:12.810Z]  [2021-07-01T11:05:12.810Z] 0K    100% 17.8M=0s [2021-07-01T11:05:12.810Z] [2021-07-01T11:05:12.810Z] 2021-07-01 11:05:12 (17.8 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] [2021-07-01T11:05:12.810Z] [2021-07-01T11:05:13.803Z] Removing intermediate container 161301617f01 [2021-07-01T11:05:13.803Z] ---> dc2a31c9a7c3 [2021-07-01T11:05:13.803Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-07-01T11:05:13.803Z] ---> Running in 517c9d4d9e02 [2021-07-01T11:05:15.781Z] Removing intermediate container 517c9d4d9e02 [2021-07-01T11:05:15.781Z] ---> 060cd0e1b70e [2021-07-01T11:05:15.781Z] 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-07-01T11:05:16.054Z] ---> Running in 64ff5c7def47 [2021-07-01T11:05:17.488Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2021-07-01T11:05:17.760Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2021-07-01T11:05:18.351Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz [2021-07-01T11:05:18.939Z] (1/6) Installing ncurses-dev (6.1_p20190105-r0) [2021-07-01T11:05:18.939Z] (2/6) Installing libblkid (2.33-r0) [2021-07-01T11:05:18.939Z] (3/6) Installing libfdisk (2.33-r0) [2021-07-01T11:05:18.939Z] (4/6) Installing libmount (2.33-r0) [2021-07-01T11:05:19.210Z] (5/6) Installing libsmartcols (2.33-r0) [2021-07-01T11:05:19.210Z] (6/6) Installing util-linux-dev (2.33-r0) [2021-07-01T11:05:19.482Z] Executing busybox-1.29.3-r10.trigger [2021-07-01T11:05:19.482Z] OK: 287 MiB in 87 packages [2021-07-01T11:05:20.912Z] Removing intermediate container 64ff5c7def47 [2021-07-01T11:05:20.912Z] ---> f57afb0d7aa4 [2021-07-01T11:05:20.912Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2021-07-01T11:05:21.508Z] ---> cdb2d7adc2b4 [2021-07-01T11:05:21.508Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2021-07-01T11:05:22.489Z] ---> f8eae9465c4c [2021-07-01T11:05:22.489Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2021-07-01T11:05:23.086Z] ---> c2c0a363f8fe [2021-07-01T11:05:23.086Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2021-07-01T11:05:24.064Z] ---> 625b889e0ac8 [2021-07-01T11:05:24.064Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2021-07-01T11:05:24.662Z] ---> bde68e697270 [2021-07-01T11:05:24.662Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2021-07-01T11:05:25.634Z] ---> 796f766cbf6c [2021-07-01T11:05:25.634Z] Step 13/17 : WORKDIR /edgex-c-sdk [2021-07-01T11:05:25.634Z] ---> Running in f5c0633e0b45 [2021-07-01T11:05:26.230Z] Removing intermediate container f5c0633e0b45 [2021-07-01T11:05:26.230Z] ---> 2a1e7056926b [2021-07-01T11:05:26.230Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-07-01T11:05:26.230Z] ---> Running in d4ccbcd76cf6 [2021-07-01T11:05:26.838Z] Removing intermediate container d4ccbcd76cf6 [2021-07-01T11:05:26.838Z] ---> 796481584eb8 [2021-07-01T11:05:26.838Z] Step 15/17 : LABEL arch=arm64 [2021-07-01T11:05:26.838Z] ---> Running in d96b3828b595 [2021-07-01T11:05:27.441Z] Removing intermediate container d96b3828b595 [2021-07-01T11:05:27.441Z] ---> 80cd4fcdf73b [2021-07-01T11:05:27.441Z] Step 16/17 : LABEL git_sha=7fde05b815b6ee0a11d6dd3381f1b4551a697d5e [2021-07-01T11:05:27.441Z] ---> Running in 9ef37c6255af [2021-07-01T11:05:28.035Z] Removing intermediate container 9ef37c6255af [2021-07-01T11:05:28.035Z] ---> f0a7785d729c [2021-07-01T11:05:28.035Z] Step 17/17 : LABEL version=0.0.0 [2021-07-01T11:05:28.035Z] ---> Running in 8506aa4cfab5 [2021-07-01T11:05:28.628Z] Removing intermediate container 8506aa4cfab5 [2021-07-01T11:05:28.628Z] ---> 67c016a08a3b [2021-07-01T11:05:28.628Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-07-01T11:05:28.628Z] Successfully built 67c016a08a3b [2021-07-01T11:05:28.628Z] 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-07-01T11:05:33.883Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-01T11:05:34.505Z] ---> package-listing.sh [2021-07-01T11:05:34.505Z] ++ facter osfamily [2021-07-01T11:05:34.505Z] ++ tr '[:upper:]' '[:lower:]' [2021-07-01T11:05:34.771Z] + OS_FAMILY=redhat [2021-07-01T11:05:34.771Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-355 [2021-07-01T11:05:34.771Z] + START_PACKAGES=/tmp/packages_start.txt [2021-07-01T11:05:34.771Z] + END_PACKAGES=/tmp/packages_end.txt [2021-07-01T11:05:34.771Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-07-01T11:05:34.771Z] + PACKAGES=/tmp/packages_start.txt [2021-07-01T11:05:34.771Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-355 ']' [2021-07-01T11:05:34.771Z] + PACKAGES=/tmp/packages_end.txt [2021-07-01T11:05:34.771Z] + case "${OS_FAMILY}" in [2021-07-01T11:05:34.771Z] + rpm -qa [2021-07-01T11:05:34.771Z] + sort [2021-07-01T11:05:35.363Z] + '[' -f /tmp/packages_start.txt ']' [2021-07-01T11:05:35.363Z] + '[' -f /tmp/packages_end.txt ']' [2021-07-01T11:05:35.363Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-07-01T11:05:35.363Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-355 ']' [2021-07-01T11:05:35.363Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-355/archives/ [2021-07-01T11:05:35.363Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-355/archives/ [Pipeline] echo [2021-07-01T11:05:35.402Z] 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-355/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-07-01T11:05:35.721Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-07-01T11:05:36.329Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-01T11:05:36.330Z] [2021-07-01T11:05:36.330Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-07-01T11:05:36.727Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-01T11:05:36.727Z] alpine: Pulling from edgex-lftools-log-publisher [2021-07-01T11:05:36.728Z] df20fa9351a1: Pulling fs layer [2021-07-01T11:05:36.728Z] 36b3adc4ff6f: Pulling fs layer [2021-07-01T11:05:36.728Z] 8ad3a11d3b57: Pulling fs layer [2021-07-01T11:05:36.728Z] 46f8f816bc3b: Pulling fs layer [2021-07-01T11:05:36.728Z] 93b61091891f: Pulling fs layer [2021-07-01T11:05:36.728Z] 93b9cdb0e59b: Pulling fs layer [2021-07-01T11:05:36.728Z] 5e14af77c1be: Pulling fs layer [2021-07-01T11:05:36.728Z] 01666e4c0597: Pulling fs layer [2021-07-01T11:05:36.728Z] aa168da1d23b: Pulling fs layer [2021-07-01T11:05:36.728Z] 46f8f816bc3b: Waiting [2021-07-01T11:05:36.728Z] 93b61091891f: Waiting [2021-07-01T11:05:36.728Z] 93b9cdb0e59b: Waiting [2021-07-01T11:05:36.728Z] 5e14af77c1be: Waiting [2021-07-01T11:05:36.728Z] 01666e4c0597: Waiting [2021-07-01T11:05:36.728Z] aa168da1d23b: Waiting [2021-07-01T11:05:36.991Z] 36b3adc4ff6f: Verifying Checksum [2021-07-01T11:05:36.991Z] 36b3adc4ff6f: Download complete [2021-07-01T11:05:36.991Z] 46f8f816bc3b: Verifying Checksum [2021-07-01T11:05:36.991Z] 46f8f816bc3b: Download complete [2021-07-01T11:05:36.991Z] df20fa9351a1: Verifying Checksum [2021-07-01T11:05:36.991Z] df20fa9351a1: Download complete [2021-07-01T11:05:36.991Z] 93b9cdb0e59b: Verifying Checksum [2021-07-01T11:05:36.991Z] 93b9cdb0e59b: Download complete [2021-07-01T11:05:36.991Z] 5e14af77c1be: Verifying Checksum [2021-07-01T11:05:36.991Z] 5e14af77c1be: Download complete [2021-07-01T11:05:36.991Z] 93b61091891f: Verifying Checksum [2021-07-01T11:05:36.991Z] 93b61091891f: Download complete [2021-07-01T11:05:36.991Z] 01666e4c0597: Verifying Checksum [2021-07-01T11:05:36.991Z] 01666e4c0597: Download complete [2021-07-01T11:05:37.253Z] df20fa9351a1: Pull complete [2021-07-01T11:05:37.253Z] 8ad3a11d3b57: Verifying Checksum [2021-07-01T11:05:37.253Z] 8ad3a11d3b57: Download complete [2021-07-01T11:05:37.516Z] 36b3adc4ff6f: Pull complete [2021-07-01T11:05:38.093Z] 8ad3a11d3b57: Pull complete [2021-07-01T11:05:38.357Z] 46f8f816bc3b: Pull complete [2021-07-01T11:05:38.621Z] 93b61091891f: Pull complete [2021-07-01T11:05:38.884Z] 93b9cdb0e59b: Pull complete [2021-07-01T11:05:38.884Z] 5e14af77c1be: Pull complete [2021-07-01T11:05:39.145Z] 01666e4c0597: Pull complete [2021-07-01T11:05:39.412Z] aa168da1d23b: Verifying Checksum [2021-07-01T11:05:39.412Z] aa168da1d23b: Download complete [2021-07-01T11:05:44.743Z] aa168da1d23b: Pull complete [2021-07-01T11:05:44.743Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-07-01T11:05:44.743Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-01T11:05:44.743Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-07-01T11:05:44.851Z] prd-centos7-docker-4c-2g-1196 does not seem to be running inside a container [2021-07-01T11:05:44.910Z] $ 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-355/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-355 -v /w/workspace/edgexfoundry_device-sdk-c_PR-355:/w/workspace/edgexfoundry_device-sdk-c_PR-355:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-355@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-355@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-07-01T11:06:00.201Z] $ docker top c81ff266c3581ebc4f175e1478a68ae32cf68fd77828030eef20c1d0477bcf47 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-01T11:06:00.666Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-07-01T11:06:00.995Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-07-01T11:06:01.322Z] + ls /var/log/sa-host [2021-07-01T11:06:01.322Z] + sadf -c /var/log/sa-host/sa01 [2021-07-01T11:06:01.322Z] file_magic: OK [2021-07-01T11:06:01.322Z] HZ: Using current value: 100 [2021-07-01T11:06:01.322Z] file_header: OK [2021-07-01T11:06:01.322Z] 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-07-01T11:06:01.322Z] Statistics: [2021-07-01T11:06:01.322Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-01T11:06:01.322Z] File successfully converted to sysstat format version 12.2.1 [2021-07-01T11:06:01.322Z] + sadf -c /var/log/sa-host/sa05 [2021-07-01T11:06:01.322Z] file_magic: OK [2021-07-01T11:06:01.322Z] HZ: Using current value: 100 [2021-07-01T11:06:01.322Z] file_header: OK [2021-07-01T11:06:01.322Z] 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-07-01T11:06:01.322Z] Statistics: [2021-07-01T11:06:01.322Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-01T11:06:01.322Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-01T11:06:02.056Z] provisioning config files... [2021-07-01T11:06:02.072Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-355@tmp/config3190165661657525101tmp [Pipeline] { [Pipeline] echo [2021-07-01T11:06:02.126Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-01T11:06:02.461Z] ---> create-netrc.sh [Pipeline] } [2021-07-01T11:06:02.483Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-07-01T11:06:02.990Z] ---> python-tools-install.sh [Pipeline] echo [2021-07-01T11:06:03.026Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-01T11:06:03.365Z] ---> sudo-logs.sh [2021-07-01T11:06:03.366Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-07-01T11:06:03.448Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-01T11:06:03.795Z] ---> job-cost.sh [2021-07-01T11:06:03.795Z] lf-activate-venv: SKIPPING [2021-07-01T11:06:03.795Z] INFO: No Stack... [2021-07-01T11:06:04.741Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-01T11:06:05.004Z] INFO: Archiving Costs [Pipeline] echo [2021-07-01T11:06:05.036Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-01T11:06:05.377Z] ---> logs-deploy.sh [2021-07-01T11:06:05.377Z] lf-activate-venv: SKIPPING [2021-07-01T11:06:05.377Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-355/1 [2021-07-01T11:06:05.377Z] INFO: archiving workspace using pattern(s): [2021-07-01T11:06:06.327Z] Archives upload complete. [2021-07-01T11:06:06.327Z] INFO: archiving logs to Nexus