Pull request #357 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of iain-anderson for edgexfoundry/device-sdk-c Obtained Jenkinsfile from ea5618c47e08fe482ed2457081bbbe286c91d90d+c75449e85aa6c6239708e25f4301185f1aa5291c (1565bde3d0982f9a679ded813a0e5cabf0876a91) 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-ssh7615155980055711016.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 144eb70ba3d470a427e699408e811d3f535e987a 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-ssh6156054082929695603.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 144eb70ba3d470a427e699408e811d3f535e987a 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-357/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-357/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh393244928412724794.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-357/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7084179679122999741.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 144eb70ba3d470a427e699408e811d3f535e987a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 144eb70ba3d470a427e699408e811d3f535e987a # timeout=10 Commit message: "Merge pull request #341 from ernestojeda/master-2-main" > 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-ssh3615746916274798407.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-357/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-357/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh8155353626925107295.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 144eb70ba3d470a427e699408e811d3f535e987a 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 ‘prd-centos7-docker-4c-2g-2116’ is offline ‘prd-centos7-docker-4c-2g-2117’ is offline Running on prd-centos7-docker-4c-2g-2120 in /w/workspace/edgexfoundry_device-sdk-c_PR-357 [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-357 # 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-357@tmp/jenkins-gitclient-ssh9083908145154136454.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Merging remotes/origin/main commit c75449e85aa6c6239708e25f4301185f1aa5291c into PR head commit ea5618c47e08fe482ed2457081bbbe286c91d90d Merge succeeded, producing ea5618c47e08fe482ed2457081bbbe286c91d90d Checking out Revision ea5618c47e08fe482ed2457081bbbe286c91d90d (PR-357) 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-357@tmp/jenkins-gitclient-ssh2693247727556218657.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/357/head:refs/remotes/origin/PR-357 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ea5618c47e08fe482ed2457081bbbe286c91d90d # 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-357@tmp/jenkins-gitclient-ssh5365332646272775148.key > git merge c75449e85aa6c6239708e25f4301185f1aa5291c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ea5618c47e08fe482ed2457081bbbe286c91d90d # timeout=10 Commit message: "feat: Add SecretStore implementation (#304, #305)" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 144eb70ba3d470a427e699408e811d3f535e987a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-07-07T17:09:23.108Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-07-07T17:09:23.306Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-07-07T17:09:23.421Z] ========================================================= [2021-07-07T17:09:23.421Z] EdgeX Global Pipelines Version Info [2021-07-07T17:09:23.421Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-07-07T17:09:24.943Z] ------------------- [2021-07-07T17:09:24.943Z] stable info: [2021-07-07T17:09:24.943Z] ------------------- [2021-07-07T17:09:24.943Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-07-07T17:09:24.943Z] Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a [2021-07-07T17:09:24.943Z] Message: update stable to v1.0.196 [2021-07-07T17:09:25.523Z] ------------------- [2021-07-07T17:09:25.524Z] experimental info: [2021-07-07T17:09:25.524Z] ------------------- [2021-07-07T17:09:25.524Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-07-07T17:09:25.524Z] Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a [2021-07-07T17:09:25.524Z] Message: update experimental to v1.0.196 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-07-07T17:09:25.751Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2021-07-07T17:09:25.804Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2021-07-07T17:09:25.866Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-07-07T17:09:25.925Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-07-07T17:09:25.996Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-07-07T17:09:26.048Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo [2021-07-07T17:09:26.106Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2021-07-07T17:09:26.161Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2021-07-07T17:09:26.218Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-07-07T17:09:26.274Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2021-07-07T17:09:26.333Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-07-07T17:09:26.389Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-07-07T17:09:26.448Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-07-07T17:09:26.503Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-07-07T17:09:26.555Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-07-07T17:09:26.609Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-07-07T17:09:26.697Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-07-07T17:09:26.751Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-357 [Pipeline] echo [2021-07-07T17:09:26.816Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-357 [Pipeline] echo [2021-07-07T17:09:26.869Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-357 [Pipeline] echo [2021-07-07T17:09:26.924Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ea5618c47e08fe482ed2457081bbbe286c91d90d [Pipeline] echo [2021-07-07T17:09:26.983Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ea5618c [Pipeline] echo [2021-07-07T17:09:27.036Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-07T17:09:27.210Z] provisioning config files... [2021-07-07T17:09:27.226Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/config6483871460108914679tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-07T17:09:27.610Z] ---> docker-login.sh [2021-07-07T17:09:27.610Z] nexus3.edgexfoundry.org:10001 [2021-07-07T17:09:27.610Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-07T17:09:27.872Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-07T17:09:27.872Z] Configure a credential helper to remove this warning. See [2021-07-07T17:09:27.872Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-07T17:09:27.872Z] [2021-07-07T17:09:27.872Z] Login Succeeded [2021-07-07T17:09:27.872Z] nexus3.edgexfoundry.org:10002 [2021-07-07T17:09:27.872Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-07T17:09:27.872Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-07T17:09:27.872Z] Configure a credential helper to remove this warning. See [2021-07-07T17:09:27.872Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-07T17:09:27.872Z] [2021-07-07T17:09:27.872Z] Login Succeeded [2021-07-07T17:09:27.872Z] nexus3.edgexfoundry.org:10003 [2021-07-07T17:09:28.133Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-07T17:09:28.133Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-07T17:09:28.133Z] Configure a credential helper to remove this warning. See [2021-07-07T17:09:28.133Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-07T17:09:28.133Z] [2021-07-07T17:09:28.133Z] Login Succeeded [2021-07-07T17:09:28.133Z] nexus3.edgexfoundry.org:10004 [2021-07-07T17:09:28.133Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-07T17:09:28.133Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-07T17:09:28.133Z] Configure a credential helper to remove this warning. See [2021-07-07T17:09:28.133Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-07T17:09:28.133Z] [2021-07-07T17:09:28.133Z] Login Succeeded [2021-07-07T17:09:28.133Z] docker.io [2021-07-07T17:09:28.396Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-07T17:09:28.658Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-07T17:09:28.658Z] Configure a credential helper to remove this warning. See [2021-07-07T17:09:28.658Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-07T17:09:28.658Z] [2021-07-07T17:09:28.658Z] Login Succeeded [2021-07-07T17:09:28.658Z] ---> docker-login.sh ends [Pipeline] } [2021-07-07T17:09:28.688Z] 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-07T17:09:29.770Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-07T17:09:29.770Z] [2021-07-07T17:09:29.770Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-07-07T17:09:30.128Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-07T17:09:30.128Z] latest: Pulling from edgex-devops/git-semver [2021-07-07T17:09:30.128Z] 31603596830f: Pulling fs layer [2021-07-07T17:09:30.128Z] b6dc333f4379: Pulling fs layer [2021-07-07T17:09:30.128Z] 3d9ef1400e77: Pulling fs layer [2021-07-07T17:09:30.128Z] fd332fbdc1db: Pulling fs layer [2021-07-07T17:09:30.128Z] fd332fbdc1db: Waiting [2021-07-07T17:09:30.128Z] b6dc333f4379: Verifying Checksum [2021-07-07T17:09:30.128Z] b6dc333f4379: Download complete [2021-07-07T17:09:30.393Z] 31603596830f: Verifying Checksum [2021-07-07T17:09:30.393Z] 31603596830f: Download complete [2021-07-07T17:09:30.393Z] 3d9ef1400e77: Verifying Checksum [2021-07-07T17:09:30.393Z] 3d9ef1400e77: Download complete [2021-07-07T17:09:30.393Z] fd332fbdc1db: Verifying Checksum [2021-07-07T17:09:30.393Z] fd332fbdc1db: Download complete [2021-07-07T17:09:30.393Z] 31603596830f: Pull complete [2021-07-07T17:09:30.687Z] b6dc333f4379: Pull complete [2021-07-07T17:09:31.275Z] 3d9ef1400e77: Pull complete [2021-07-07T17:09:31.275Z] fd332fbdc1db: Pull complete [2021-07-07T17:09:31.275Z] Digest: sha256:db6b30291b918ea2df8875cce3ed97fb48fa491dcbf862453db6614bc0bd4782 [2021-07-07T17:09:31.275Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-07T17:09:31.275Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-07-07T17:09:31.383Z] prd-centos7-docker-4c-2g-2120 does not seem to be running inside a container [2021-07-07T17:09:31.421Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-357 -v /w/workspace/edgexfoundry_device-sdk-c_PR-357:/w/workspace/edgexfoundry_device-sdk-c_PR-357:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-357@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-07T17:09:32.398Z] $ docker top 13d921bc0accc3f7f52d8d92631890ea5b77ed4200d08beef0812ec0ce5f0cce -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-07-07T17:09:32.628Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-07T17:09:32.628Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-07T17:09:32.741Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-07T17:09:32.740Z] $ docker exec 13d921bc0accc3f7f52d8d92631890ea5b77ed4200d08beef0812ec0ce5f0cce ssh-agent [2021-07-07T17:09:32.862Z] SSH_AUTH_SOCK=/tmp/ssh-Oip3U0p8aYIq/agent.13 [2021-07-07T17:09:32.862Z] SSH_AGENT_PID=19 [2021-07-07T17:09:32.870Z] Running ssh-add (command line suppressed) [2021-07-07T17:09:32.964Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/private_key_2173400337991179491.key (/w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/private_key_2173400337991179491.key) [2021-07-07T17:09:32.982Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-07T17:09:33.330Z] + git tag --points-at HEAD [Pipeline] } [2021-07-07T17:09:33.360Z] $ docker exec --env ******** --env ******** 13d921bc0accc3f7f52d8d92631890ea5b77ed4200d08beef0812ec0ce5f0cce ssh-agent -k [2021-07-07T17:09:33.467Z] unset SSH_AUTH_SOCK; [2021-07-07T17:09:33.467Z] unset SSH_AGENT_PID; [2021-07-07T17:09:33.467Z] echo Agent pid 19 killed; [2021-07-07T17:09:33.481Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-07-07T17:09:33.585Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-07T17:09:33.585Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-07T17:09:33.701Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-07T17:09:33.699Z] $ docker exec 13d921bc0accc3f7f52d8d92631890ea5b77ed4200d08beef0812ec0ce5f0cce ssh-agent [2021-07-07T17:09:33.804Z] SSH_AUTH_SOCK=/tmp/ssh-igNZuPotik4R/agent.53 [2021-07-07T17:09:33.804Z] SSH_AGENT_PID=59 [2021-07-07T17:09:33.810Z] Running ssh-add (command line suppressed) [2021-07-07T17:09:33.901Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/private_key_6784209809839954486.key (/w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/private_key_6784209809839954486.key) [2021-07-07T17:09:33.921Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-07T17:09:34.285Z] + git semver init [2021-07-07T17:09:34.285Z] # -> Open(): unable to determine branch for HEAD [2021-07-07T17:09:34.285Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-357/.git [2021-07-07T17:09:34.285Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-357 [2021-07-07T17:09:34.285Z] # $SEMVER_REMOTE_NAME = origin [2021-07-07T17:09:34.285Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-07-07T17:09:34.285Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-07-07T17:09:34.285Z] # $SEMVER_BRANCH = PR-357 [2021-07-07T17:09:34.285Z] # $SEMVER_TEMP = /tmp/semver-831332335 [2021-07-07T17:09:34.285Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2021-07-07T17:09:34.866Z] # '/tmp/semver-831332335' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-357/.semver' [2021-07-07T17:09:34.866Z] # -> Force: false [2021-07-07T17:09:34.866Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-357/.semver [Pipeline] } [2021-07-07T17:09:34.882Z] $ docker exec --env ******** --env ******** 13d921bc0accc3f7f52d8d92631890ea5b77ed4200d08beef0812ec0ce5f0cce ssh-agent -k [2021-07-07T17:09:34.991Z] unset SSH_AUTH_SOCK; [2021-07-07T17:09:34.992Z] unset SSH_AGENT_PID; [2021-07-07T17:09:34.992Z] echo Agent pid 59 killed; [2021-07-07T17:09:35.006Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-07T17:09:35.442Z] + git semver [Pipeline] } [2021-07-07T17:09:35.468Z] $ docker stop --time=1 13d921bc0accc3f7f52d8d92631890ea5b77ed4200d08beef0812ec0ce5f0cce [2021-07-07T17:09:36.731Z] $ docker rm -f 13d921bc0accc3f7f52d8d92631890ea5b77ed4200d08beef0812ec0ce5f0cce [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-07T17:09:37.152Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-07-07T17:09:37.487Z] Stashed 1 file(s) [Pipeline] echo [2021-07-07T17:09:37.520Z] [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-07T17:09:53.004Z] Still waiting to schedule task [2021-07-07T17:09:53.005Z] ‘prd-centos7-docker-4c-2g-2122’ is offline [2021-07-07T17:09:53.034Z] Still waiting to schedule task [2021-07-07T17:09:53.035Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-2114’ [2021-07-07T17:11:00.629Z] Running on prd-centos7-docker-4c-2g-2126 in /w/workspace/edgexfoundry_device-sdk-c_PR-357 [Pipeline] { [Pipeline] ws [2021-07-07T17:11:00.757Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2021-07-07T17:11:00.917Z] Selected Git installation does not exist. Using Default [2021-07-07T17:11:00.917Z] The recommended git tool is: NONE [2021-07-07T17:11:03.508Z] using credential edgex-jenkins-ssh [2021-07-07T17:11:03.524Z] Cloning the remote Git repository [2021-07-07T17:11:03.541Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-07-07T17:11:03.635Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2021-07-07T17:11:03.667Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-07-07T17:11:03.667Z] > git --version # timeout=10 [2021-07-07T17:11:03.678Z] > git --version # 'git version 2.24.4' [2021-07-07T17:11:03.678Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-07T17:11:03.705Z] [INFO] Currently running in a labeled security context [2021-07-07T17:11:03.705Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-07T17:11:03.705Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh6193494338347594852.key [2021-07-07T17:11:03.719Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-07T17:11:05.161Z] Merging remotes/origin/main commit c75449e85aa6c6239708e25f4301185f1aa5291c into PR head commit ea5618c47e08fe482ed2457081bbbe286c91d90d [2021-07-07T17:11:05.267Z] Merge succeeded, producing ea5618c47e08fe482ed2457081bbbe286c91d90d [2021-07-07T17:11:05.267Z] Checking out Revision ea5618c47e08fe482ed2457081bbbe286c91d90d (PR-357) [2021-07-07T17:11:04.548Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-07-07T17:11:04.568Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-07T17:11:04.587Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-07-07T17:11:04.621Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-07-07T17:11:04.621Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-07T17:11:04.622Z] [INFO] Currently running in a labeled security context [2021-07-07T17:11:04.622Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-07T17:11:04.622Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh81610410255998825.key [2021-07-07T17:11:04.633Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/357/head:refs/remotes/origin/PR-357 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-07-07T17:11:05.166Z] > git config core.sparsecheckout # timeout=10 [2021-07-07T17:11:05.182Z] > git checkout -f ea5618c47e08fe482ed2457081bbbe286c91d90d # timeout=10 [2021-07-07T17:11:05.222Z] > git remote # timeout=10 [2021-07-07T17:11:05.226Z] > git config --get remote.origin.url # timeout=10 [2021-07-07T17:11:05.233Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-07T17:11:05.234Z] [INFO] Currently running in a labeled security context [2021-07-07T17:11:05.235Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-07T17:11:05.235Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh2654547385685468951.key [2021-07-07T17:11:05.242Z] > git merge c75449e85aa6c6239708e25f4301185f1aa5291c # timeout=10 [2021-07-07T17:11:05.252Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-07-07T17:11:05.269Z] > git config core.sparsecheckout # timeout=10 [2021-07-07T17:11:05.273Z] > git checkout -f ea5618c47e08fe482ed2457081bbbe286c91d90d # timeout=10 [2021-07-07T17:11:08.910Z] Commit message: "feat: Add SecretStore implementation (#304, #305)" [2021-07-07T17:11:08.930Z] > git --version # timeout=10 [2021-07-07T17:11:08.938Z] > git --version # 'git version 2.24.4' [2021-07-07T17:11:08.944Z] fatal: bad object 144eb70ba3d470a427e699408e811d3f535e987a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-07T17:11:10.112Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-07-07T17:11:10.467Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-07-07T17:11:10.794Z] + true [2021-07-07T17:11:10.794Z] + sudo service docker restart [2021-07-07T17:11:10.794Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-07T17:11:29.056Z] provisioning config files... [2021-07-07T17:11:29.080Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config7522285334695180742tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-07T17:11:29.463Z] ---> docker-login.sh [2021-07-07T17:11:29.463Z] nexus3.edgexfoundry.org:10001 [2021-07-07T17:11:29.724Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-07T17:11:29.724Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-07T17:11:29.724Z] Configure a credential helper to remove this warning. See [2021-07-07T17:11:29.724Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-07T17:11:29.724Z] [2021-07-07T17:11:29.724Z] Login Succeeded [2021-07-07T17:11:29.724Z] nexus3.edgexfoundry.org:10002 [2021-07-07T17:11:29.724Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-07T17:11:29.985Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-07T17:11:29.985Z] Configure a credential helper to remove this warning. See [2021-07-07T17:11:29.985Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-07T17:11:29.985Z] [2021-07-07T17:11:29.985Z] Login Succeeded [2021-07-07T17:11:29.985Z] nexus3.edgexfoundry.org:10003 [2021-07-07T17:11:29.986Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-07T17:11:29.986Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-07T17:11:29.986Z] Configure a credential helper to remove this warning. See [2021-07-07T17:11:29.986Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-07T17:11:29.986Z] [2021-07-07T17:11:29.986Z] Login Succeeded [2021-07-07T17:11:29.986Z] nexus3.edgexfoundry.org:10004 [2021-07-07T17:11:30.249Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-07T17:11:30.249Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-07T17:11:30.249Z] Configure a credential helper to remove this warning. See [2021-07-07T17:11:30.249Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-07T17:11:30.249Z] [2021-07-07T17:11:30.249Z] Login Succeeded [2021-07-07T17:11:30.249Z] docker.io [2021-07-07T17:11:30.249Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-07T17:11:30.514Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-07T17:11:30.514Z] Configure a credential helper to remove this warning. See [2021-07-07T17:11:30.514Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-07T17:11:30.514Z] [2021-07-07T17:11:30.514Z] Login Succeeded [2021-07-07T17:11:30.514Z] ---> docker-login.sh ends [Pipeline] } [2021-07-07T17:11:30.541Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-07-07T17:11:30.827Z] ========================================================= [2021-07-07T17:11:30.827Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2021-07-07T17:11:30.827Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-07-07T17:11:31.175Z] + 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-07T17:11:31.175Z] Sending build context to Docker daemon 2.678MB [2021-07-07T17:11:31.175Z] Step 1/25 : ARG BASE=alpine:3.12 [2021-07-07T17:11:31.175Z] Step 2/25 : FROM ${BASE} as builder [2021-07-07T17:11:31.446Z] latest: Pulling from edgex-devops/edgex-gcc-base [2021-07-07T17:11:31.446Z] e7c96db7181b: Pulling fs layer [2021-07-07T17:11:31.446Z] 4c13bbce0fe7: Pulling fs layer [2021-07-07T17:11:31.446Z] 6059c847ac2f: Pulling fs layer [2021-07-07T17:11:31.446Z] 4c13bbce0fe7: Verifying Checksum [2021-07-07T17:11:31.446Z] 4c13bbce0fe7: Download complete [2021-07-07T17:11:31.446Z] e7c96db7181b: Verifying Checksum [2021-07-07T17:11:31.446Z] e7c96db7181b: Download complete [2021-07-07T17:11:31.717Z] e7c96db7181b: Pull complete [2021-07-07T17:11:31.717Z] 4c13bbce0fe7: Pull complete [2021-07-07T17:11:32.675Z] 6059c847ac2f: Verifying Checksum [2021-07-07T17:11:32.675Z] 6059c847ac2f: Download complete [2021-07-07T17:11:36.010Z] 6059c847ac2f: Pull complete [2021-07-07T17:11:36.010Z] Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e [2021-07-07T17:11:36.010Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2021-07-07T17:11:36.010Z] ---> 5eabd8fd8ba2 [2021-07-07T17:11:36.010Z] 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-07T17:11:37.410Z] ---> Running in 9f227ed3a5e3 [2021-07-07T17:11:37.675Z] Connecting to iotech.jfrog.io (54.229.110.245:443) [2021-07-07T17:11:38.250Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-07-07T17:11:38.250Z] [2021-07-07T17:11:38.514Z] Removing intermediate container 9f227ed3a5e3 [2021-07-07T17:11:38.514Z] ---> 14e37c045c64 [2021-07-07T17:11:38.514Z] Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-07-07T17:11:38.514Z] ---> Running in d3b9e6d55f01 [2021-07-07T17:11:39.100Z] Removing intermediate container d3b9e6d55f01 [2021-07-07T17:11:39.100Z] ---> e2695cab8b18 [2021-07-07T17:11:39.100Z] 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-07T17:11:39.100Z] ---> Running in 399776d812ed [2021-07-07T17:11:39.365Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2021-07-07T17:11:40.758Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2021-07-07T17:11:41.019Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz [2021-07-07T17:11:41.593Z] (1/11) Installing hiredis (0.14.0-r0) [2021-07-07T17:11:41.593Z] (2/11) Installing hiredis-dev (0.14.0-r0) [2021-07-07T17:11:41.593Z] (3/11) Installing ncurses-dev (6.1_p20190105-r0) [2021-07-07T17:11:41.856Z] (4/11) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-07-07T17:11:43.244Z] (5/11) Installing libuuid (2.33-r0) [2021-07-07T17:11:43.244Z] (6/11) Installing libblkid (2.33-r0) [2021-07-07T17:11:43.244Z] (7/11) Installing libfdisk (2.33-r0) [2021-07-07T17:11:43.506Z] (8/11) Installing libmount (2.33-r0) [2021-07-07T17:11:43.506Z] (9/11) Installing libsmartcols (2.33-r0) [2021-07-07T17:11:43.767Z] (10/11) Installing util-linux-dev (2.33-r0) [2021-07-07T17:11:44.028Z] (11/11) Installing wget (1.20.3-r0) [2021-07-07T17:11:44.603Z] Executing busybox-1.29.3-r10.trigger [2021-07-07T17:11:44.603Z] OK: 273 MiB in 86 packages [2021-07-07T17:11:45.180Z] Removing intermediate container 399776d812ed [2021-07-07T17:11:45.180Z] ---> 28e6757a38a2 [2021-07-07T17:11:45.180Z] Step 6/25 : ENV CBOR_VERSION=0.5.0 [2021-07-07T17:11:45.180Z] ---> Running in 463568ad2bb1 [2021-07-07T17:11:45.180Z] Removing intermediate container 463568ad2bb1 [2021-07-07T17:11:45.180Z] ---> ae202f59effd [2021-07-07T17:11:45.180Z] 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-07T17:11:45.180Z] ---> Running in 258b4bd4655b [2021-07-07T17:11:45.444Z] --2021-07-07 17:11:45-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-07-07T17:11:45.444Z] Resolving github.com... 140.82.114.4 [2021-07-07T17:11:45.708Z] Connecting to github.com|140.82.114.4|:443... connected. [2021-07-07T17:11:45.708Z] HTTP request sent, awaiting response... 302 Found [2021-07-07T17:11:45.708Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-07-07T17:11:45.708Z] --2021-07-07 17:11:45-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-07-07T17:11:45.708Z] Resolving codeload.github.com... 140.82.114.9 [2021-07-07T17:11:45.708Z] Connecting to codeload.github.com|140.82.114.9|:443... connected. [2021-07-07T17:11:45.976Z] HTTP request sent, awaiting response... 200 OK [2021-07-07T17:11:45.976Z] Length: unspecified [application/x-gzip] [2021-07-07T17:11:45.976Z] Saving to: 'STDOUT' [2021-07-07T17:11:45.976Z] [2021-07-07T17:11:45.976Z] 0K .......... .......... .......... .......... .......... 1.30M [2021-07-07T17:11:45.976Z] 50K .......... .......... .......... .......... .......... 2.59M [2021-07-07T17:11:45.976Z] 100K .......... .......... .......... .......... .......... 2.56M [2021-07-07T17:11:45.976Z] 150K .......... .......... .......... .......... .......... 38.4M [2021-07-07T17:11:45.976Z] 200K .......... .......... .......... .......... .......... 2.94M [2021-07-07T17:11:45.976Z] 250K .......... .......... .......... .......... .......... 18.7M [2021-07-07T17:11:45.976Z] 300K .......... .......... .......... .......... .......... 11.5M [2021-07-07T17:11:45.976Z] 350K .......... .......... .......... .......... .......... 4.00M [2021-07-07T17:11:45.976Z] 400K .......... .......... .......... .......... .......... 28.9M [2021-07-07T17:11:45.976Z] 450K .......... .......... .......... .......... .......... 8.74M [2021-07-07T17:11:45.976Z] 500K .......... .......... .......... .......... .......... 20.5M [2021-07-07T17:11:45.976Z] 550K .......... .......... .......... .......... .......... 6.93M [2021-07-07T17:11:45.976Z] 600K .......... .......... .......... .......... .......... 2.84M [2021-07-07T17:11:45.976Z] 650K .......... .......... .......... .......... .......... 7.44M [2021-07-07T17:11:45.976Z] 700K .. 102M=0.2s [2021-07-07T17:11:45.976Z] [2021-07-07T17:11:45.976Z] 2021-07-07 17:11:45 (4.49 MB/s) - written to stdout [719348] [2021-07-07T17:11:45.976Z] [2021-07-07T17:11:46.263Z] -- The C compiler identification is GNU 8.3.0 [2021-07-07T17:11:46.263Z] -- The CXX compiler identification is GNU 8.3.0 [2021-07-07T17:11:46.263Z] -- Check for working C compiler: /usr/bin/cc [2021-07-07T17:11:46.263Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-07-07T17:11:46.263Z] -- Detecting C compiler ABI info [2021-07-07T17:11:46.263Z] -- Detecting C compiler ABI info - done [2021-07-07T17:11:46.263Z] -- Detecting C compile features [2021-07-07T17:11:46.527Z] -- Detecting C compile features - done [2021-07-07T17:11:46.527Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-07-07T17:11:46.527Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2021-07-07T17:11:46.527Z] -- Detecting CXX compiler ABI info [2021-07-07T17:11:46.790Z] -- Detecting CXX compiler ABI info - done [2021-07-07T17:11:46.790Z] -- Detecting CXX compile features [2021-07-07T17:11:47.056Z] -- Detecting CXX compile features - done [2021-07-07T17:11:47.056Z] -- Looking for include file endian.h [2021-07-07T17:11:47.319Z] -- Looking for include file endian.h - found [2021-07-07T17:11:47.319Z] -- Check if the system is big endian [2021-07-07T17:11:47.319Z] -- Searching 16 bit integer [2021-07-07T17:11:47.319Z] -- Looking for sys/types.h [2021-07-07T17:11:47.319Z] -- Looking for sys/types.h - found [2021-07-07T17:11:47.319Z] -- Looking for stdint.h [2021-07-07T17:11:47.319Z] -- Looking for stdint.h - found [2021-07-07T17:11:47.319Z] -- Looking for stddef.h [2021-07-07T17:11:47.319Z] -- Looking for stddef.h - found [2021-07-07T17:11:47.319Z] -- Check size of unsigned short [2021-07-07T17:11:47.584Z] -- Check size of unsigned short - done [2021-07-07T17:11:47.584Z] -- Using unsigned short [2021-07-07T17:11:47.584Z] -- Check if the system is big endian - little endian [2021-07-07T17:11:47.584Z] -- Check size of size_t [2021-07-07T17:11:47.584Z] -- Check size of size_t - done [2021-07-07T17:11:47.584Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-07-07T17:11:47.584Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-07-07T17:11:47.585Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-07-07T17:11:47.585Z] CMake did not find one. [2021-07-07T17:11:47.585Z] [2021-07-07T17:11:47.585Z] Could not find a package configuration file provided by "cJSON" with any of [2021-07-07T17:11:47.585Z] the following names: [2021-07-07T17:11:47.585Z] [2021-07-07T17:11:47.585Z] cJSONConfig.cmake [2021-07-07T17:11:47.585Z] cjson-config.cmake [2021-07-07T17:11:47.585Z] [2021-07-07T17:11:47.585Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-07-07T17:11:47.585Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-07-07T17:11:47.585Z] provides a separate development package or SDK, be sure it has been [2021-07-07T17:11:47.585Z] installed. [2021-07-07T17:11:47.585Z] [2021-07-07T17:11:47.585Z] [2021-07-07T17:11:47.585Z] -- Configuring done [2021-07-07T17:11:47.848Z] -- Generating done [2021-07-07T17:11:47.848Z] -- Build files have been written to: /tmp/cbor [2021-07-07T17:11:47.848Z] Scanning dependencies of target cbor_shared [2021-07-07T17:11:47.848Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-07-07T17:11:47.848Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-07-07T17:11:48.109Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-07-07T17:11:48.109Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-07-07T17:11:48.109Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-07-07T17:11:48.374Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-07-07T17:11:48.374Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-07-07T17:11:48.374Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-07-07T17:11:48.374Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-07-07T17:11:48.637Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-07-07T17:11:48.637Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-07-07T17:11:48.637Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-07-07T17:11:48.637Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-07-07T17:11:48.909Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-07-07T17:11:48.909Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-07-07T17:11:48.909Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-07-07T17:11:48.910Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-07-07T17:11:49.172Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-07-07T17:11:49.172Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-07-07T17:11:49.172Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-07-07T17:11:49.172Z] [ 40%] Linking C shared library libcbor.so [2021-07-07T17:11:49.438Z] [ 40%] Built target cbor_shared [2021-07-07T17:11:49.439Z] Scanning dependencies of target cbor [2021-07-07T17:11:49.439Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-07-07T17:11:49.439Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-07-07T17:11:49.701Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-07-07T17:11:49.701Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-07-07T17:11:49.965Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-07-07T17:11:49.965Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-07-07T17:11:49.965Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-07-07T17:11:49.965Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-07-07T17:11:49.965Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-07-07T17:11:50.227Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-07-07T17:11:50.227Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-07-07T17:11:50.227Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-07-07T17:11:50.490Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-07-07T17:11:50.490Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-07-07T17:11:50.490Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-07-07T17:11:50.490Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-07-07T17:11:50.754Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-07-07T17:11:50.754Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-07-07T17:11:50.754Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-07-07T17:11:50.754Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-07-07T17:11:51.016Z] [ 80%] Linking C static library libcbor.a [2021-07-07T17:11:51.016Z] [ 80%] Built target cbor [2021-07-07T17:11:51.016Z] Scanning dependencies of target create_items [2021-07-07T17:11:51.016Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-07-07T17:11:51.016Z] [ 84%] Linking C executable create_items [2021-07-07T17:11:51.016Z] [ 84%] Built target create_items [2021-07-07T17:11:51.016Z] Scanning dependencies of target readfile [2021-07-07T17:11:51.016Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-07-07T17:11:51.016Z] [ 88%] Linking C executable readfile [2021-07-07T17:11:51.016Z] [ 88%] Built target readfile [2021-07-07T17:11:51.016Z] Scanning dependencies of target streaming_parser [2021-07-07T17:11:51.016Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-07-07T17:11:51.278Z] [ 92%] Linking C executable streaming_parser [2021-07-07T17:11:51.278Z] [ 92%] Built target streaming_parser [2021-07-07T17:11:51.278Z] Scanning dependencies of target sort [2021-07-07T17:11:51.278Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-07-07T17:11:51.278Z] [ 96%] Linking C executable sort [2021-07-07T17:11:51.278Z] [ 96%] Built target sort [2021-07-07T17:11:51.278Z] Scanning dependencies of target hello [2021-07-07T17:11:51.278Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-07-07T17:11:51.278Z] [100%] Linking C executable hello [2021-07-07T17:11:51.278Z] [100%] Built target hello [2021-07-07T17:11:51.540Z] Install the project... [2021-07-07T17:11:51.540Z] -- Install configuration: "Release" [2021-07-07T17:11:51.540Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-07-07T17:11:51.540Z] -- Installing: /usr/local/lib64/libcbor.a [2021-07-07T17:11:51.540Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-07-07T17:11:51.540Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-07-07T17:11:51.540Z] -- Installing: /usr/local/lib64/libcbor.so [2021-07-07T17:11:51.540Z] -- Up-to-date: /usr/local/include/cbor [2021-07-07T17:11:51.540Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-07-07T17:11:51.540Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-07-07T17:11:51.540Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-07-07T17:11:51.540Z] -- Installing: /usr/local/include/cbor/common.h [2021-07-07T17:11:51.540Z] -- Installing: /usr/local/include/cbor/data.h [2021-07-07T17:11:51.540Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-07-07T17:11:51.540Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-07-07T17:11:51.540Z] -- Installing: /usr/local/include/cbor/internal [2021-07-07T17:11:51.540Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-07-07T17:11:51.540Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-07-07T17:11:51.540Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-07-07T17:11:51.540Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-07-07T17:11:51.540Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-07-07T17:11:51.540Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-07-07T17:11:51.540Z] -- Installing: /usr/local/include/cbor/ints.h [2021-07-07T17:11:51.540Z] -- Installing: /usr/local/include/cbor/maps.h [2021-07-07T17:11:51.540Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-07-07T17:11:51.540Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-07-07T17:11:51.540Z] -- Installing: /usr/local/include/cbor/strings.h [2021-07-07T17:11:51.540Z] -- Installing: /usr/local/include/cbor/tags.h [2021-07-07T17:11:51.540Z] -- Installing: /usr/local/include/cbor.h [2021-07-07T17:11:51.540Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-07-07T17:11:52.116Z] Removing intermediate container 258b4bd4655b [2021-07-07T17:11:52.116Z] ---> deba780e4172 [2021-07-07T17:11:52.116Z] Step 8/25 : RUN mkdir /tmp/sdk [2021-07-07T17:11:52.116Z] ---> Running in eb6a26dac643 [2021-07-07T17:11:52.693Z] Removing intermediate container eb6a26dac643 [2021-07-07T17:11:52.693Z] ---> 6d98a7525987 [2021-07-07T17:11:52.693Z] Step 9/25 : COPY VERSION /tmp/sdk [2021-07-07T17:11:52.955Z] ---> 84d9cb5d12ad [2021-07-07T17:11:52.955Z] Step 10/25 : COPY src /tmp/sdk/src [2021-07-07T17:11:53.218Z] ---> 501a9cb9f895 [2021-07-07T17:11:53.218Z] Step 11/25 : COPY include /tmp/sdk/include [2021-07-07T17:11:53.483Z] ---> d51f10ef68a6 [2021-07-07T17:11:53.483Z] Step 12/25 : COPY scripts /tmp/sdk/scripts [2021-07-07T17:11:53.483Z] ---> b8a9e722c448 [2021-07-07T17:11:53.483Z] Step 13/25 : COPY LICENSE /tmp/sdk [2021-07-07T17:11:53.764Z] ---> 3d019bcf61fd [2021-07-07T17:11:53.764Z] Step 14/25 : COPY Attribution.txt /tmp/sdk [2021-07-07T17:11:54.027Z] ---> 64b2704cdd6a [2021-07-07T17:11:54.027Z] Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-07-07T17:11:54.027Z] ---> Running in cdcbb72a90fd [2021-07-07T17:11:54.298Z] + CPPCHECK=false [2021-07-07T17:11:54.298Z] + DOCGEN=false [2021-07-07T17:11:54.298Z] + TOMLVER=SDK-0.2 [2021-07-07T17:11:54.298Z] + CUTILVER=1.1.4 [2021-07-07T17:11:54.298Z] + '[' 0 -gt 0 ] [2021-07-07T17:11:54.298Z] + readlink -f ./scripts/build.sh [2021-07-07T17:11:54.298Z] + dirname /tmp/sdk/scripts/build.sh [2021-07-07T17:11:54.298Z] + dirname /tmp/sdk/scripts [2021-07-07T17:11:54.298Z] + ROOT=/tmp/sdk [2021-07-07T17:11:54.298Z] + cd /tmp/sdk [2021-07-07T17:11:54.298Z] + '[' '!' -d deps ] [2021-07-07T17:11:54.298Z] + mkdir deps [2021-07-07T17:11:54.298Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-07-07T17:11:54.298Z] + tar -C deps -z -x -f - [2021-07-07T17:11:54.298Z] --2021-07-07 17:11:54-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-07-07T17:11:54.298Z] Resolving github.com... 140.82.113.4 [2021-07-07T17:11:54.298Z] Connecting to github.com|140.82.113.4|:443... connected. [2021-07-07T17:11:54.298Z] HTTP request sent, awaiting response... 302 Found [2021-07-07T17:11:54.298Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-07-07T17:11:54.298Z] --2021-07-07 17:11:54-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-07-07T17:11:54.298Z] Resolving codeload.github.com... 140.82.114.9 [2021-07-07T17:11:54.298Z] Connecting to codeload.github.com|140.82.114.9|:443... connected. [2021-07-07T17:11:54.559Z] HTTP request sent, awaiting response... 200 OK [2021-07-07T17:11:54.559Z] Length: unspecified [application/x-gzip] [2021-07-07T17:11:54.559Z] Saving to: 'STDOUT' [2021-07-07T17:11:54.559Z]  [2021-07-07T17:11:54.559Z] 0K .......... ...... 892K=0.02s [2021-07-07T17:11:54.559Z] [2021-07-07T17:11:54.559Z] 2021-07-07 17:11:54 (892 KB/s) - written to stdout [16451] [2021-07-07T17:11:54.559Z] [2021-07-07T17:11:54.559Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-07-07T17:11:54.559Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-07-07T17:11:54.559Z] + tar -C deps -z -x -f - [2021-07-07T17:11:54.559Z] --2021-07-07 17:11:54-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-07-07T17:11:54.559Z] Resolving github.com... 140.82.113.4 [2021-07-07T17:11:54.559Z] Connecting to github.com|140.82.113.4|:443... connected. [2021-07-07T17:11:54.822Z] HTTP request sent, awaiting response... 302 Found [2021-07-07T17:11:54.822Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] [2021-07-07T17:11:54.822Z] --2021-07-07 17:11:54-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [2021-07-07T17:11:54.822Z] Resolving codeload.github.com... 140.82.114.9 [2021-07-07T17:11:54.822Z] Connecting to codeload.github.com|140.82.114.9|:443... connected. [2021-07-07T17:11:54.822Z] HTTP request sent, awaiting response... 200 OK [2021-07-07T17:11:54.822Z] Length: unspecified [application/x-gzip] [2021-07-07T17:11:54.822Z] Saving to: 'STDOUT' [2021-07-07T17:11:54.822Z]  [2021-07-07T17:11:55.093Z] 0K .......... .......... .......... .......... .......... 1.21M [2021-07-07T17:11:55.093Z] 50K .......... .......... .......... .......... .......... 2.41M [2021-07-07T17:11:55.093Z] 100K .......... .......... .......... .......... .......... 16.8M [2021-07-07T17:11:55.093Z] 150K .......... .......... .......  4.36M=0.07s [2021-07-07T17:11:55.093Z] [2021-07-07T17:11:55.093Z] 2021-07-07 17:11:54 (2.49 MB/s) - written to stdout [181796] [2021-07-07T17:11:55.093Z] [2021-07-07T17:11:55.093Z] + mkdir -p src/c/iot [2021-07-07T17:11:55.093Z] + 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-07T17:11:55.093Z] + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot [2021-07-07T17:11:55.093Z] + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot [2021-07-07T17:11:55.093Z] + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot [2021-07-07T17:11:55.093Z] + mkdir -p include/iot [2021-07-07T17:11:55.093Z] + 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-07T17:11:55.093Z] + mkdir -p include/iot/os [2021-07-07T17:11:55.093Z] + 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-07T17:11:55.093Z] + mkdir -p /tmp/sdk/build/release [2021-07-07T17:11:55.093Z] + cd /tmp/sdk/build/release [2021-07-07T17:11:55.093Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-07-07T17:11:55.093Z] -- The C compiler identification is GNU 8.3.0 [2021-07-07T17:11:55.093Z] -- Check for working C compiler: /usr/bin/cc [2021-07-07T17:11:55.093Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-07-07T17:11:55.093Z] -- Detecting C compiler ABI info [2021-07-07T17:11:55.356Z] -- Detecting C compiler ABI info - done [2021-07-07T17:11:55.356Z] -- Detecting C compile features [2021-07-07T17:11:55.619Z] -- Detecting C compile features - done [2021-07-07T17:11:55.619Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-07-07T17:11:55.619Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-07-07T17:11:55.619Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-07-07T17:11:55.619Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-07-07T17:11:55.619Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-07-07T17:11:55.619Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-07-07T17:11:55.619Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-07-07T17:11:55.619Z] -- C SDK 0.0.0 for Linux [2021-07-07T17:11:55.619Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-07-07T17:11:55.619Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-07-07T17:11:55.619Z] -- Found Curses: /usr/lib/libcurses.so [2021-07-07T17:11:55.619Z] -- Configuring done [2021-07-07T17:11:55.619Z] -- Generating done [2021-07-07T17:11:55.619Z] -- Build files have been written to: /tmp/sdk/build/release [2021-07-07T17:11:55.619Z] + make all package [2021-07-07T17:11:55.619Z] + tee release.log [2021-07-07T17:11:55.619Z] Scanning dependencies of target csdk [2021-07-07T17:11:55.886Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-07-07T17:11:55.886Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-07-07T17:11:55.886Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-07-07T17:11:56.156Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-07-07T17:11:56.421Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-07-07T17:11:56.421Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-07-07T17:11:56.683Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-07-07T17:11:56.683Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-07-07T17:11:56.683Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-07-07T17:11:56.944Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-07-07T17:11:57.207Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-07-07T17:11:57.207Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-07-07T17:11:57.469Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-07-07T17:11:57.469Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-07-07T17:11:57.731Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-07-07T17:11:57.731Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-07-07T17:11:57.731Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-07-07T17:11:58.314Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-07-07T17:11:58.314Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-07-07T17:11:58.314Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-07-07T17:11:58.314Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-07-07T17:11:58.576Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-07-07T17:11:58.577Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-07-07T17:11:59.152Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-07-07T17:11:59.152Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-07-07T17:11:59.152Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-07-07T17:11:59.152Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-07-07T17:11:59.419Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-07-07T17:11:59.419Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-07-07T17:11:59.680Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-07-07T17:11:59.680Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-07-07T17:11:59.680Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-07-07T17:11:59.680Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-07-07T17:12:00.255Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-07-07T17:12:00.256Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-07-07T17:12:00.519Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-07-07T17:12:00.519Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-07-07T17:12:01.098Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-07-07T17:12:01.362Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-07-07T17:12:01.362Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-07-07T17:12:01.362Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-07-07T17:12:01.628Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-07-07T17:12:01.892Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-07-07T17:12:01.892Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-07-07T17:12:02.156Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-07-07T17:12:02.156Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-07-07T17:12:02.418Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-07-07T17:12:03.372Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-07-07T17:12:03.372Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-07-07T17:12:03.372Z] [ 75%] Linking C shared library libcsdk.so [2021-07-07T17:12:03.372Z] [ 75%] Built target csdk [2021-07-07T17:12:03.372Z] Scanning dependencies of target template [2021-07-07T17:12:03.372Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-07-07T17:12:03.638Z] [ 78%] Linking C executable template [2021-07-07T17:12:03.638Z] [ 78%] Built target template [2021-07-07T17:12:03.638Z] Scanning dependencies of target device-counter [2021-07-07T17:12:03.638Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-07-07T17:12:03.638Z] [ 81%] Linking C executable device-counter [2021-07-07T17:12:03.903Z] [ 81%] Built target device-counter [2021-07-07T17:12:03.903Z] Scanning dependencies of target device-random [2021-07-07T17:12:03.903Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-07-07T17:12:03.903Z] [ 84%] Linking C executable device-random [2021-07-07T17:12:03.903Z] [ 84%] Built target device-random [2021-07-07T17:12:03.903Z] Scanning dependencies of target device-gyro [2021-07-07T17:12:03.903Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-07-07T17:12:04.168Z] [ 87%] Linking C executable device-gyro [2021-07-07T17:12:04.169Z] [ 87%] Built target device-gyro [2021-07-07T17:12:04.169Z] Scanning dependencies of target device-bitfields [2021-07-07T17:12:04.169Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-07-07T17:12:04.169Z] [ 90%] Linking C executable device-bitfields [2021-07-07T17:12:04.169Z] [ 90%] Built target device-bitfields [2021-07-07T17:12:04.169Z] Scanning dependencies of target template-discovery [2021-07-07T17:12:04.169Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-07-07T17:12:04.432Z] [ 93%] Linking C executable template-discovery [2021-07-07T17:12:04.432Z] [ 93%] Built target template-discovery [2021-07-07T17:12:04.432Z] Scanning dependencies of target device-file [2021-07-07T17:12:04.432Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-07-07T17:12:04.697Z] [ 96%] Linking C executable device-file [2021-07-07T17:12:04.697Z] [ 96%] Built target device-file [2021-07-07T17:12:04.697Z] Scanning dependencies of target device-terminal [2021-07-07T17:12:04.697Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-07-07T17:12:04.697Z] [100%] Linking C executable device-terminal [2021-07-07T17:12:04.966Z] [100%] Built target device-terminal [2021-07-07T17:12:04.966Z] Run CPack packaging tool... [2021-07-07T17:12:04.966Z] CPack: Create package using TGZ [2021-07-07T17:12:04.966Z] CPack: Install projects [2021-07-07T17:12:04.966Z] CPack: - Run preinstall target for: Csdk [2021-07-07T17:12:04.966Z] CPack: - Install project: Csdk [2021-07-07T17:12:04.966Z] CPack: Create package [2021-07-07T17:12:04.966Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-07-07T17:12:04.966Z] + '[' false '=' true ] [2021-07-07T17:12:04.966Z] + '[' false '=' true ] [2021-07-07T17:12:04.966Z] + mkdir -p /tmp/sdk/build/debug [2021-07-07T17:12:04.966Z] + cd /tmp/sdk/build/debug [2021-07-07T17:12:04.966Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-07-07T17:12:05.227Z] -- The C compiler identification is GNU 8.3.0 [2021-07-07T17:12:05.227Z] -- Check for working C compiler: /usr/bin/cc [2021-07-07T17:12:05.227Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-07-07T17:12:05.227Z] -- Detecting C compiler ABI info [2021-07-07T17:12:05.227Z] -- Detecting C compiler ABI info - done [2021-07-07T17:12:05.227Z] -- Detecting C compile features [2021-07-07T17:12:05.490Z] -- Detecting C compile features - done [2021-07-07T17:12:05.490Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-07-07T17:12:05.490Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-07-07T17:12:05.490Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-07-07T17:12:05.490Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-07-07T17:12:05.490Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-07-07T17:12:05.490Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-07-07T17:12:05.490Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-07-07T17:12:05.490Z] -- C SDK 0.0.0 for Linux [2021-07-07T17:12:05.490Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-07-07T17:12:05.490Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-07-07T17:12:05.490Z] -- Found Curses: /usr/lib/libcurses.so [2021-07-07T17:12:05.753Z] -- Configuring done [2021-07-07T17:12:05.753Z] -- Generating done [2021-07-07T17:12:05.753Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-07-07T17:12:05.753Z] + make [2021-07-07T17:12:05.753Z] + tee debug.log [2021-07-07T17:12:05.753Z] Scanning dependencies of target csdk [2021-07-07T17:12:05.753Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-07-07T17:12:05.753Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-07-07T17:12:06.023Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-07-07T17:12:06.023Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-07-07T17:12:06.023Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-07-07T17:12:06.023Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-07-07T17:12:06.286Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-07-07T17:12:06.286Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-07-07T17:12:06.286Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-07-07T17:12:06.286Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-07-07T17:12:06.560Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-07-07T17:12:06.560Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-07-07T17:12:06.560Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-07-07T17:12:06.827Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-07-07T17:12:06.827Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-07-07T17:12:06.827Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-07-07T17:12:06.827Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-07-07T17:12:07.093Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-07-07T17:12:07.093Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-07-07T17:12:07.093Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-07-07T17:12:07.093Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-07-07T17:12:07.358Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-07-07T17:12:07.358Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-07-07T17:12:07.623Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-07-07T17:12:07.623Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-07-07T17:12:07.623Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-07-07T17:12:07.623Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-07-07T17:12:07.623Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-07-07T17:12:07.623Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-07-07T17:12:07.897Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-07-07T17:12:07.897Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-07-07T17:12:07.897Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-07-07T17:12:07.897Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-07-07T17:12:07.897Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-07-07T17:12:08.160Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-07-07T17:12:08.160Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-07-07T17:12:08.160Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-07-07T17:12:08.472Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-07-07T17:12:08.472Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-07-07T17:12:08.472Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-07-07T17:12:08.738Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-07-07T17:12:08.738Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-07-07T17:12:08.738Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-07-07T17:12:09.012Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-07-07T17:12:09.012Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-07-07T17:12:09.012Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-07-07T17:12:09.012Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-07-07T17:12:09.273Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-07-07T17:12:09.273Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-07-07T17:12:09.539Z] [ 75%] Linking C shared library libcsdk.so [2021-07-07T17:12:09.539Z] [ 75%] Built target csdk [2021-07-07T17:12:09.539Z] Scanning dependencies of target template [2021-07-07T17:12:09.539Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-07-07T17:12:09.539Z] [ 78%] Linking C executable template [2021-07-07T17:12:09.539Z] [ 78%] Built target template [2021-07-07T17:12:09.539Z] Scanning dependencies of target device-counter [2021-07-07T17:12:09.539Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-07-07T17:12:09.803Z] [ 81%] Linking C executable device-counter [2021-07-07T17:12:09.804Z] [ 81%] Built target device-counter [2021-07-07T17:12:09.804Z] Scanning dependencies of target device-random [2021-07-07T17:12:09.804Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-07-07T17:12:09.804Z] [ 84%] Linking C executable device-random [2021-07-07T17:12:09.804Z] [ 84%] Built target device-random [2021-07-07T17:12:09.804Z] Scanning dependencies of target device-gyro [2021-07-07T17:12:09.804Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-07-07T17:12:10.071Z] [ 87%] Linking C executable device-gyro [2021-07-07T17:12:10.071Z] [ 87%] Built target device-gyro [2021-07-07T17:12:10.071Z] Scanning dependencies of target device-bitfields [2021-07-07T17:12:10.071Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-07-07T17:12:10.071Z] [ 90%] Linking C executable device-bitfields [2021-07-07T17:12:10.071Z] [ 90%] Built target device-bitfields [2021-07-07T17:12:10.071Z] Scanning dependencies of target template-discovery [2021-07-07T17:12:10.071Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-07-07T17:12:10.338Z] [ 93%] Linking C executable template-discovery [2021-07-07T17:12:10.338Z] [ 93%] Built target template-discovery [2021-07-07T17:12:10.339Z] Scanning dependencies of target device-file [2021-07-07T17:12:10.339Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-07-07T17:12:10.339Z] [ 96%] Linking C executable device-file [2021-07-07T17:12:10.339Z] [ 96%] Built target device-file [2021-07-07T17:12:10.339Z] Scanning dependencies of target device-terminal [2021-07-07T17:12:10.339Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-07-07T17:12:10.603Z] [100%] Linking C executable device-terminal [2021-07-07T17:12:10.603Z] [100%] Built target device-terminal [2021-07-07T17:12:10.603Z] make: Entering directory '/tmp/sdk/build/release' [2021-07-07T17:12:10.603Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-07-07T17:12:10.603Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-07T17:12:10.603Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-07T17:12:10.603Z] [ 75%] Built target csdk [2021-07-07T17:12:10.603Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-07T17:12:10.603Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-07T17:12:10.603Z] [ 78%] Built target template [2021-07-07T17:12:10.603Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-07T17:12:10.603Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-07T17:12:10.603Z] [ 81%] Built target device-counter [2021-07-07T17:12:10.603Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-07T17:12:10.603Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-07T17:12:10.603Z] [ 84%] Built target device-random [2021-07-07T17:12:10.603Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-07T17:12:10.603Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-07T17:12:10.603Z] [ 87%] Built target device-gyro [2021-07-07T17:12:10.603Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-07T17:12:10.603Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-07T17:12:10.603Z] [ 90%] Built target device-bitfields [2021-07-07T17:12:10.603Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-07T17:12:10.603Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-07T17:12:10.868Z] [ 93%] Built target template-discovery [2021-07-07T17:12:10.868Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-07T17:12:10.868Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-07T17:12:10.868Z] [ 96%] Built target device-file [2021-07-07T17:12:10.868Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-07T17:12:10.868Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-07T17:12:10.868Z] [100%] Built target device-terminal [2021-07-07T17:12:10.868Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-07-07T17:12:10.868Z] Install the project... [2021-07-07T17:12:10.868Z] -- Install configuration: "Release" [2021-07-07T17:12:10.868Z] -- Installing: /usr/local/lib/libcsdk.so [2021-07-07T17:12:10.868Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-07-07T17:12:10.868Z] -- Up-to-date: /usr/local/include [2021-07-07T17:12:10.868Z] -- Installing: /usr/local/include/devsdk [2021-07-07T17:12:10.868Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-07-07T17:12:10.868Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-07-07T17:12:10.868Z] -- Installing: /usr/local/include/edgex [2021-07-07T17:12:10.868Z] -- Installing: /usr/local/include/edgex/devices.h [2021-07-07T17:12:10.868Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-07-07T17:12:10.868Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-07-07T17:12:10.868Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-07-07T17:12:10.868Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-07-07T17:12:10.868Z] -- Installing: /usr/local/include/edgex/secrets.h [2021-07-07T17:12:10.868Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-07-07T17:12:10.868Z] -- Installing: /usr/local/include/iot [2021-07-07T17:12:10.868Z] -- Installing: /usr/local/include/iot/base64.h [2021-07-07T17:12:10.868Z] -- Installing: /usr/local/include/iot/component.h [2021-07-07T17:12:10.868Z] -- Installing: /usr/local/include/iot/config.h [2021-07-07T17:12:10.868Z] -- Installing: /usr/local/include/iot/container.h [2021-07-07T17:12:10.868Z] -- Installing: /usr/local/include/iot/data.h [2021-07-07T17:12:10.868Z] -- Installing: /usr/local/include/iot/hash.h [2021-07-07T17:12:10.868Z] -- Installing: /usr/local/include/iot/iot.h [2021-07-07T17:12:10.868Z] -- Installing: /usr/local/include/iot/json.h [2021-07-07T17:12:10.868Z] -- Installing: /usr/local/include/iot/logger.h [2021-07-07T17:12:10.868Z] -- Installing: /usr/local/include/iot/os.h [2021-07-07T17:12:10.868Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-07-07T17:12:10.868Z] -- Installing: /usr/local/include/iot/thread.h [2021-07-07T17:12:10.868Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-07-07T17:12:10.868Z] -- Installing: /usr/local/include/iot/time.h [2021-07-07T17:12:10.868Z] -- Installing: /usr/local/include/iot/typecode.h [2021-07-07T17:12:10.868Z] -- Installing: /usr/local/include/iot/os [2021-07-07T17:12:10.868Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-07-07T17:12:10.868Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-07-07T17:12:10.868Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-07-07T17:12:10.868Z] -- Installing: /usr/local/include/iot/defs.h [2021-07-07T17:12:10.868Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-07-07T17:12:10.868Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-07-07T17:12:10.868Z] make: Leaving directory '/tmp/sdk/build/release' [2021-07-07T17:12:11.443Z] Removing intermediate container cdcbb72a90fd [2021-07-07T17:12:11.443Z] ---> a211511375aa [2021-07-07T17:12:11.443Z] Step 16/25 : FROM ${BASE} [2021-07-07T17:12:11.443Z] ---> 5eabd8fd8ba2 [2021-07-07T17:12:11.443Z] Step 17/25 : LABEL maintainer="IOTech " [2021-07-07T17:12:11.443Z] ---> Running in e6e6b74529ad [2021-07-07T17:12:11.707Z] Removing intermediate container e6e6b74529ad [2021-07-07T17:12:11.707Z] ---> 64de21f98b74 [2021-07-07T17:12:11.707Z] 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-07T17:12:11.707Z] ---> Running in 3d703d36ea82 [2021-07-07T17:12:11.970Z] Connecting to iotech.jfrog.io (54.170.66.44:443) [2021-07-07T17:12:12.546Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-07-07T17:12:12.546Z] [2021-07-07T17:12:12.810Z] Removing intermediate container 3d703d36ea82 [2021-07-07T17:12:12.810Z] ---> 473f78d2b25f [2021-07-07T17:12:12.810Z] Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-07-07T17:12:12.810Z] ---> Running in 215dfb4606c0 [2021-07-07T17:12:13.392Z] Removing intermediate container 215dfb4606c0 [2021-07-07T17:12:13.392Z] ---> 19b04d64e3a4 [2021-07-07T17:12:13.392Z] 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-07T17:12:13.392Z] ---> Running in 8ca0f8281d4d [2021-07-07T17:12:13.655Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2021-07-07T17:12:14.606Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2021-07-07T17:12:14.606Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz [2021-07-07T17:12:15.180Z] (1/6) Installing curl (7.64.0-r5) [2021-07-07T17:12:15.180Z] (2/6) Installing hiredis (0.14.0-r0) [2021-07-07T17:12:15.443Z] (3/6) Installing hiredis-dev (0.14.0-r0) [2021-07-07T17:12:15.443Z] (4/6) Installing libuuid (2.33-r0) [2021-07-07T17:12:15.443Z] (5/6) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-07-07T17:12:16.829Z] (6/6) Installing wget (1.20.3-r0) [2021-07-07T17:12:17.098Z] Executing busybox-1.29.3-r10.trigger [2021-07-07T17:12:17.098Z] OK: 269 MiB in 81 packages [2021-07-07T17:12:17.362Z] Removing intermediate container 8ca0f8281d4d [2021-07-07T17:12:17.362Z] ---> 850bc42ad937 [2021-07-07T17:12:17.362Z] Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-07-07T17:12:17.629Z] ---> cfc53ffc4d5b [2021-07-07T17:12:17.629Z] Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-07-07T17:12:17.892Z] ---> 9a082ee38194 [2021-07-07T17:12:17.892Z] Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-07-07T17:12:18.158Z] ---> a7519ac66998 [2021-07-07T17:12:18.158Z] Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-07-07T17:12:18.158Z] ---> 412086fa9716 [2021-07-07T17:12:18.158Z] Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-07-07T17:12:18.420Z] ---> e28d310d5a59 [2021-07-07T17:12:18.420Z] Successfully built e28d310d5a59 [2021-07-07T17:12:18.420Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-07T17:12:19.117Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-07T17:12:19.117Z] . [Pipeline] withDockerContainer [2021-07-07T17:12:19.246Z] prd-centos7-docker-4c-2g-2126 does not seem to be running inside a container [2021-07-07T17:12:19.293Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-07-07T17:12:19.705Z] $ docker top 97b1cc1b2588b8e22b7530a6c7f2bcf8deadb0f46d51cd4b01e2287dd90bccf3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-07T17:12:20.177Z] + make test [2021-07-07T17:12:20.178Z] echo "make test" [2021-07-07T17:12:20.178Z] make test [Pipeline] } [2021-07-07T17:12:20.207Z] $ docker stop --time=1 97b1cc1b2588b8e22b7530a6c7f2bcf8deadb0f46d51cd4b01e2287dd90bccf3 [2021-07-07T17:12:21.443Z] $ docker rm -f 97b1cc1b2588b8e22b7530a6c7f2bcf8deadb0f46d51cd4b01e2287dd90bccf3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-07T17:12:22.866Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-07-07T17:12:23.206Z] + ls -al . [2021-07-07T17:12:23.206Z] total 160 [2021-07-07T17:12:23.206Z] drwxrwxr-x. 8 jenkins jenkins 260 Jul 7 17:11 . [2021-07-07T17:12:23.206Z] drwxrwxr-x. 4 jenkins jenkins 28 Jul 7 17:11 .. [2021-07-07T17:12:23.206Z] -rw-rw-r--. 1 jenkins jenkins 3104 Jul 7 17:11 Attribution.txt [2021-07-07T17:12:23.206Z] -rw-rw-r--. 1 jenkins jenkins 7556 Jul 7 17:11 CHANGES [2021-07-07T17:12:23.206Z] drwxrwxr-x. 2 jenkins jenkins 121 Jul 7 17:11 docs [2021-07-07T17:12:23.206Z] -rw-rw-r--. 1 jenkins jenkins 108574 Jul 7 17:11 Doxyfile [2021-07-07T17:12:23.206Z] drwxrwxr-x. 8 jenkins jenkins 179 Jul 7 17:11 .git [2021-07-07T17:12:23.206Z] drwxrwxr-x. 2 jenkins jenkins 81 Jul 7 17:11 .github [2021-07-07T17:12:23.206Z] -rw-rw-r--. 1 jenkins jenkins 176 Jul 7 17:11 .gitignore [2021-07-07T17:12:23.206Z] drwxrwxr-x. 4 jenkins jenkins 33 Jul 7 17:11 include [2021-07-07T17:12:23.206Z] -rw-rw-r--. 1 jenkins jenkins 784 Jul 7 17:11 Jenkinsfile [2021-07-07T17:12:23.206Z] -rw-rw-r--. 1 jenkins jenkins 10174 Jul 7 17:11 LICENSE [2021-07-07T17:12:23.206Z] -rw-rw-r--. 1 jenkins jenkins 444 Jul 7 17:11 Makefile [2021-07-07T17:12:23.206Z] -rw-rw-r--. 1 jenkins jenkins 4090 Jul 7 17:11 README.md [2021-07-07T17:12:23.206Z] -rw-rw-r--. 1 jenkins jenkins 7090 Jul 7 17:11 README.v2.md [2021-07-07T17:12:23.206Z] drwxrwxr-x. 2 jenkins jenkins 98 Jul 7 17:11 scripts [2021-07-07T17:12:23.206Z] drwxrwxr-x. 4 jenkins jenkins 50 Jul 7 17:11 src [2021-07-07T17:12:23.206Z] -rw-rw-r--. 1 jenkins jenkins 5 Jul 7 17:09 VERSION [Pipeline] isUnix [Pipeline] sh [2021-07-07T17:12:23.568Z] + 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=ea5618c47e08fe482ed2457081bbbe286c91d90d --label arch=amd64 --label version=0.0.0 . [2021-07-07T17:12:23.568Z] Sending build context to Docker daemon 2.678MB [2021-07-07T17:12:23.568Z] Step 1/17 : ARG BASE=alpine:3.12 [2021-07-07T17:12:23.568Z] Step 2/17 : FROM ${BASE} [2021-07-07T17:12:23.568Z] ---> e28d310d5a59 [2021-07-07T17:12:23.568Z] Step 3/17 : LABEL maintainer="IOTech " [2021-07-07T17:12:23.568Z] ---> Running in 20f562c98ff0 [2021-07-07T17:12:23.833Z] Removing intermediate container 20f562c98ff0 [2021-07-07T17:12:23.833Z] ---> 832a2c8d54f7 [2021-07-07T17:12:23.833Z] 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-07T17:12:23.833Z] ---> Running in 890082ffe538 [2021-07-07T17:12:24.098Z] --2021-07-07 17:12:23-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub [2021-07-07T17:12:24.098Z] Resolving iotech.jfrog.io... 54.170.66.44, 54.229.110.245, 54.195.244.87 [2021-07-07T17:12:24.098Z] Connecting to iotech.jfrog.io|54.170.66.44|:443... connected. [2021-07-07T17:12:24.362Z] HTTP request sent, awaiting response... 200 OK [2021-07-07T17:12:24.362Z] Length: 451 [application/octet-stream] [2021-07-07T17:12:24.362Z] Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-07-07T17:12:24.362Z] [2021-07-07T17:12:24.362Z] 0K 100% 52.1M=0s [2021-07-07T17:12:24.362Z] [2021-07-07T17:12:24.362Z] 2021-07-07 17:12:24 (52.1 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] [2021-07-07T17:12:24.362Z] [2021-07-07T17:12:24.632Z] Removing intermediate container 890082ffe538 [2021-07-07T17:12:24.632Z] ---> f755e6b46f5c [2021-07-07T17:12:24.632Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-07-07T17:12:24.632Z] ---> Running in c780a81c3417 [2021-07-07T17:12:25.213Z] Removing intermediate container c780a81c3417 [2021-07-07T17:12:25.213Z] ---> ca362357d17f [2021-07-07T17:12:25.213Z] 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-07T17:12:25.213Z] ---> Running in 74a9760dcdb3 [2021-07-07T17:12:25.477Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2021-07-07T17:12:26.424Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2021-07-07T17:12:26.687Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz [2021-07-07T17:12:27.262Z] (1/6) Installing ncurses-dev (6.1_p20190105-r0) [2021-07-07T17:12:27.262Z] (2/6) Installing libblkid (2.33-r0) [2021-07-07T17:12:27.262Z] (3/6) Installing libfdisk (2.33-r0) [2021-07-07T17:12:27.524Z] (4/6) Installing libmount (2.33-r0) [2021-07-07T17:12:27.524Z] (5/6) Installing libsmartcols (2.33-r0) [2021-07-07T17:12:27.524Z] (6/6) Installing util-linux-dev (2.33-r0) [2021-07-07T17:12:27.787Z] Executing busybox-1.29.3-r10.trigger [2021-07-07T17:12:27.787Z] OK: 273 MiB in 87 packages [2021-07-07T17:12:28.363Z] Removing intermediate container 74a9760dcdb3 [2021-07-07T17:12:28.363Z] ---> b0387ff0574e [2021-07-07T17:12:28.363Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2021-07-07T17:12:28.364Z] ---> 48d0e27d388e [2021-07-07T17:12:28.364Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2021-07-07T17:12:28.634Z] ---> b739f1448c9d [2021-07-07T17:12:28.634Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2021-07-07T17:12:28.897Z] ---> 93a90ce56e9c [2021-07-07T17:12:28.897Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2021-07-07T17:12:28.897Z] ---> 4799412f1cef [2021-07-07T17:12:28.897Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2021-07-07T17:12:29.157Z] ---> 8ff149207276 [2021-07-07T17:12:29.157Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2021-07-07T17:12:29.420Z] ---> 289432b1fa93 [2021-07-07T17:12:29.420Z] Step 13/17 : WORKDIR /edgex-c-sdk [2021-07-07T17:12:29.420Z] ---> Running in c4b8f697d1ae [2021-07-07T17:12:29.420Z] Removing intermediate container c4b8f697d1ae [2021-07-07T17:12:29.420Z] ---> b057b0ba3ffb [2021-07-07T17:12:29.420Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-07-07T17:12:29.420Z] ---> Running in 268efc44f6b0 [2021-07-07T17:12:29.682Z] Removing intermediate container 268efc44f6b0 [2021-07-07T17:12:29.682Z] ---> 736744086660 [2021-07-07T17:12:29.682Z] Step 15/17 : LABEL arch=amd64 [2021-07-07T17:12:29.682Z] ---> Running in 4deebb7905b0 [2021-07-07T17:12:29.682Z] Removing intermediate container 4deebb7905b0 [2021-07-07T17:12:29.682Z] ---> 79845e91c2fd [2021-07-07T17:12:29.682Z] Step 16/17 : LABEL git_sha=ea5618c47e08fe482ed2457081bbbe286c91d90d [2021-07-07T17:12:29.682Z] ---> Running in c6075f5d7e6a [2021-07-07T17:12:29.944Z] Removing intermediate container c6075f5d7e6a [2021-07-07T17:12:29.944Z] ---> ea19fd671e76 [2021-07-07T17:12:29.944Z] Step 17/17 : LABEL version=0.0.0 [2021-07-07T17:12:29.944Z] ---> Running in 43831d02dccf [2021-07-07T17:12:29.944Z] Removing intermediate container 43831d02dccf [2021-07-07T17:12:29.944Z] ---> d07b41cd3cc5 [2021-07-07T17:12:29.944Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-07-07T17:12:29.944Z] Successfully built d07b41cd3cc5 [2021-07-07T17:12:29.944Z] 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-07T17:12:45.819Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2130 in /w/workspace/edgexfoundry_device-sdk-c_PR-357 [Pipeline] { [Pipeline] ws [2021-07-07T17:12:45.885Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2021-07-07T17:12:46.351Z] Selected Git installation does not exist. Using Default [2021-07-07T17:12:46.351Z] The recommended git tool is: NONE [2021-07-07T17:12:51.760Z] using credential edgex-jenkins-ssh [2021-07-07T17:12:51.783Z] Cloning the remote Git repository [2021-07-07T17:12:51.861Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-07-07T17:12:51.965Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2021-07-07T17:12:52.042Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-07-07T17:12:52.043Z] > git --version # timeout=10 [2021-07-07T17:12:52.057Z] > git --version # 'git version 2.17.1' [2021-07-07T17:12:52.058Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-07T17:12:52.149Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-07T17:12:53.289Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-07-07T17:12:53.304Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-07T17:12:53.329Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-07-07T17:12:53.358Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-07-07T17:12:53.359Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-07T17:12:53.370Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/357/head:refs/remotes/origin/PR-357 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-07-07T17:12:53.961Z] Merging remotes/origin/main commit c75449e85aa6c6239708e25f4301185f1aa5291c into PR head commit ea5618c47e08fe482ed2457081bbbe286c91d90d [2021-07-07T17:12:54.203Z] Merge succeeded, producing ea5618c47e08fe482ed2457081bbbe286c91d90d [2021-07-07T17:12:54.203Z] Checking out Revision ea5618c47e08fe482ed2457081bbbe286c91d90d (PR-357) [2021-07-07T17:12:53.976Z] > git config core.sparsecheckout # timeout=10 [2021-07-07T17:12:53.992Z] > git checkout -f ea5618c47e08fe482ed2457081bbbe286c91d90d # timeout=10 [2021-07-07T17:12:54.113Z] > git remote # timeout=10 [2021-07-07T17:12:54.132Z] > git config --get remote.origin.url # timeout=10 [2021-07-07T17:12:54.152Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-07T17:12:54.162Z] > git merge c75449e85aa6c6239708e25f4301185f1aa5291c # timeout=10 [2021-07-07T17:12:54.187Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-07-07T17:12:54.210Z] > git config core.sparsecheckout # timeout=10 [2021-07-07T17:12:54.222Z] > git checkout -f ea5618c47e08fe482ed2457081bbbe286c91d90d # timeout=10 [2021-07-07T17:12:58.457Z] Commit message: "feat: Add SecretStore implementation (#304, #305)" [2021-07-07T17:12:58.518Z] > git --version # timeout=10 [2021-07-07T17:12:58.533Z] > git --version # 'git version 2.17.1' [2021-07-07T17:12:58.546Z] fatal: bad object 144eb70ba3d470a427e699408e811d3f535e987a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-07T17:13:00.085Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-07-07T17:13:00.506Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-07-07T17:13:00.872Z] + true [2021-07-07T17:13:00.872Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-07T17:13:19.410Z] provisioning config files... [2021-07-07T17:13:19.442Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config3388682499205296639tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-07T17:13:19.906Z] ---> docker-login.sh [2021-07-07T17:13:19.906Z] nexus3.edgexfoundry.org:10001 [2021-07-07T17:13:20.890Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-07T17:13:21.162Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-07T17:13:21.162Z] Configure a credential helper to remove this warning. See [2021-07-07T17:13:21.162Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-07T17:13:21.162Z] [2021-07-07T17:13:21.162Z] Login Succeeded [2021-07-07T17:13:21.162Z] nexus3.edgexfoundry.org:10002 [2021-07-07T17:13:21.765Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-07T17:13:21.765Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-07T17:13:21.765Z] Configure a credential helper to remove this warning. See [2021-07-07T17:13:21.765Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-07T17:13:21.765Z] [2021-07-07T17:13:21.765Z] Login Succeeded [2021-07-07T17:13:21.765Z] nexus3.edgexfoundry.org:10003 [2021-07-07T17:13:22.043Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-07T17:13:22.325Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-07T17:13:22.325Z] Configure a credential helper to remove this warning. See [2021-07-07T17:13:22.325Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-07T17:13:22.325Z] [2021-07-07T17:13:22.325Z] Login Succeeded [2021-07-07T17:13:22.325Z] nexus3.edgexfoundry.org:10004 [2021-07-07T17:13:22.600Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-07T17:13:22.874Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-07T17:13:22.874Z] Configure a credential helper to remove this warning. See [2021-07-07T17:13:22.874Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-07T17:13:22.874Z] [2021-07-07T17:13:22.874Z] Login Succeeded [2021-07-07T17:13:22.874Z] docker.io [2021-07-07T17:13:23.148Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-07T17:13:23.422Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-07T17:13:23.422Z] Configure a credential helper to remove this warning. See [2021-07-07T17:13:23.422Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-07T17:13:23.422Z] [2021-07-07T17:13:23.422Z] Login Succeeded [2021-07-07T17:13:23.422Z] ---> docker-login.sh ends [Pipeline] } [2021-07-07T17:13:23.470Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-07-07T17:13:24.065Z] ========================================================= [2021-07-07T17:13:24.065Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2021-07-07T17:13:24.065Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-07-07T17:13:24.460Z] + 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-07T17:13:25.059Z] Sending build context to Docker daemon 2.677MB [2021-07-07T17:13:25.059Z] Step 1/25 : ARG BASE=alpine:3.12 [2021-07-07T17:13:25.059Z] Step 2/25 : FROM ${BASE} as builder [2021-07-07T17:13:25.337Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2021-07-07T17:13:25.337Z] 0362ad1dd800: Pulling fs layer [2021-07-07T17:13:25.337Z] f2cdb1532d8b: Pulling fs layer [2021-07-07T17:13:25.337Z] 37ed683be191: Pulling fs layer [2021-07-07T17:13:25.337Z] f2cdb1532d8b: Download complete [2021-07-07T17:13:25.337Z] 0362ad1dd800: Verifying Checksum [2021-07-07T17:13:25.337Z] 0362ad1dd800: Download complete [2021-07-07T17:13:25.937Z] 0362ad1dd800: Pull complete [2021-07-07T17:13:26.551Z] f2cdb1532d8b: Pull complete [2021-07-07T17:13:27.538Z] 37ed683be191: Verifying Checksum [2021-07-07T17:13:27.538Z] 37ed683be191: Download complete [2021-07-07T17:13:37.714Z] 37ed683be191: Pull complete [2021-07-07T17:13:37.714Z] Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f [2021-07-07T17:13:37.714Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2021-07-07T17:13:37.714Z] ---> b23d30803547 [2021-07-07T17:13:37.714Z] 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-07T17:13:37.714Z] ---> Running in afdea5b74666 [2021-07-07T17:13:38.697Z] Connecting to iotech.jfrog.io (54.195.244.87:443) [2021-07-07T17:13:39.303Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-07-07T17:13:39.303Z] [2021-07-07T17:13:40.292Z] Removing intermediate container afdea5b74666 [2021-07-07T17:13:40.292Z] ---> 55cbc8c62681 [2021-07-07T17:13:40.292Z] Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-07-07T17:13:40.292Z] ---> Running in f1ab001a3c41 [2021-07-07T17:13:42.939Z] Removing intermediate container f1ab001a3c41 [2021-07-07T17:13:42.939Z] ---> ae984c58822d [2021-07-07T17:13:42.939Z] 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-07T17:13:42.939Z] ---> Running in 7357c30331a4 [2021-07-07T17:13:44.392Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2021-07-07T17:13:44.994Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2021-07-07T17:13:45.597Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz [2021-07-07T17:13:46.190Z] (1/11) Installing hiredis (0.14.0-r0) [2021-07-07T17:13:46.190Z] (2/11) Installing hiredis-dev (0.14.0-r0) [2021-07-07T17:13:46.461Z] (3/11) Installing ncurses-dev (6.1_p20190105-r0) [2021-07-07T17:13:46.461Z] (4/11) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-07-07T17:13:47.900Z] (5/11) Installing libuuid (2.33-r0) [2021-07-07T17:13:47.900Z] (6/11) Installing libblkid (2.33-r0) [2021-07-07T17:13:48.172Z] (7/11) Installing libfdisk (2.33-r0) [2021-07-07T17:13:48.172Z] (8/11) Installing libmount (2.33-r0) [2021-07-07T17:13:48.172Z] (9/11) Installing libsmartcols (2.33-r0) [2021-07-07T17:13:48.445Z] (10/11) Installing util-linux-dev (2.33-r0) [2021-07-07T17:13:49.036Z] (11/11) Installing wget (1.20.3-r0) [2021-07-07T17:13:49.311Z] Executing busybox-1.29.3-r10.trigger [2021-07-07T17:13:49.311Z] OK: 287 MiB in 86 packages [2021-07-07T17:13:50.758Z] Removing intermediate container 7357c30331a4 [2021-07-07T17:13:50.758Z] ---> 1d2f4933bbf7 [2021-07-07T17:13:50.758Z] Step 6/25 : ENV CBOR_VERSION=0.5.0 [2021-07-07T17:13:50.758Z] ---> Running in 19cf47a641e6 [2021-07-07T17:13:51.358Z] Removing intermediate container 19cf47a641e6 [2021-07-07T17:13:51.358Z] ---> aadb0ac08572 [2021-07-07T17:13:51.358Z] 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-07T17:13:51.358Z] ---> Running in 346e746b6720 [2021-07-07T17:13:52.796Z] --2021-07-07 17:13:52-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-07-07T17:13:52.796Z] Resolving github.com... 140.82.114.3 [2021-07-07T17:13:52.797Z] Connecting to github.com|140.82.114.3|:443... connected. [2021-07-07T17:13:52.797Z] HTTP request sent, awaiting response... 302 Found [2021-07-07T17:13:52.797Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-07-07T17:13:52.797Z] --2021-07-07 17:13:52-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-07-07T17:13:52.797Z] Resolving codeload.github.com... 140.82.114.9 [2021-07-07T17:13:52.797Z] Connecting to codeload.github.com|140.82.114.9|:443... connected. [2021-07-07T17:13:53.072Z] HTTP request sent, awaiting response... 200 OK [2021-07-07T17:13:53.072Z] Length: unspecified [application/x-gzip] [2021-07-07T17:13:53.072Z] Saving to: 'STDOUT' [2021-07-07T17:13:53.072Z]  [2021-07-07T17:13:53.072Z] 0K .......... .......... .......... .......... .......... 1.51M [2021-07-07T17:13:53.072Z] 50K .......... .......... .......... .......... .......... 2.85M [2021-07-07T17:13:53.072Z] 100K .......... .......... .......... .......... .......... 2.83M [2021-07-07T17:13:53.072Z] 150K .......... .......... .......... .......... .......... 14.8M [2021-07-07T17:13:53.072Z] 200K .......... .......... .......... .......... .......... 14.5M [2021-07-07T17:13:53.072Z] 250K .......... .......... .......... .......... .......... 3.18M [2021-07-07T17:13:53.072Z] 300K .......... .......... .......... .......... .......... 4.11M [2021-07-07T17:13:53.072Z] 350K .......... .......... .......... .......... .......... 3.83M [2021-07-07T17:13:53.072Z] 400K .......... .......... .......... .......... .......... 4.19M [2021-07-07T17:13:53.072Z] 450K .......... .......... .......... .......... .......... 3.92M [2021-07-07T17:13:53.072Z] 500K .......... .......... .......... .......... .......... 5.63M [2021-07-07T17:13:53.072Z] 550K .......... .......... .......... .......... .......... 1.92M [2021-07-07T17:13:53.072Z] 600K .......... .......... .......... .......... .......... 974K [2021-07-07T17:13:53.072Z] 650K .......... .......... .......... .......... .......... 1.85M [2021-07-07T17:13:53.072Z] 700K ..        2.87M=0.3s [2021-07-07T17:13:53.072Z] [2021-07-07T17:13:53.072Z] 2021-07-07 17:13:53 (2.74 MB/s) - written to stdout [719348] [2021-07-07T17:13:53.072Z] [2021-07-07T17:13:53.667Z] -- The C compiler identification is GNU 8.3.0 [2021-07-07T17:13:53.667Z] -- The CXX compiler identification is GNU 8.3.0 [2021-07-07T17:13:53.667Z] -- Check for working C compiler: /usr/bin/cc [2021-07-07T17:13:53.940Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-07-07T17:13:53.940Z] -- Detecting C compiler ABI info [2021-07-07T17:13:54.214Z] -- Detecting C compiler ABI info - done [2021-07-07T17:13:54.214Z] -- Detecting C compile features [2021-07-07T17:13:55.197Z] -- Detecting C compile features - done [2021-07-07T17:13:55.197Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-07-07T17:13:55.473Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2021-07-07T17:13:55.473Z] -- Detecting CXX compiler ABI info [2021-07-07T17:13:55.746Z] -- Detecting CXX compiler ABI info - done [2021-07-07T17:13:55.746Z] -- Detecting CXX compile features [2021-07-07T17:13:57.726Z] -- Detecting CXX compile features - done [2021-07-07T17:13:57.726Z] -- Looking for include file endian.h [2021-07-07T17:13:57.726Z] -- Looking for include file endian.h - found [2021-07-07T17:13:57.726Z] -- Check if the system is big endian [2021-07-07T17:13:57.726Z] -- Searching 16 bit integer [2021-07-07T17:13:57.726Z] -- Looking for sys/types.h [2021-07-07T17:13:57.998Z] -- Looking for sys/types.h - found [2021-07-07T17:13:57.998Z] -- Looking for stdint.h [2021-07-07T17:13:57.998Z] -- Looking for stdint.h - found [2021-07-07T17:13:57.998Z] -- Looking for stddef.h [2021-07-07T17:13:58.271Z] -- Looking for stddef.h - found [2021-07-07T17:13:58.271Z] -- Check size of unsigned short [2021-07-07T17:13:58.546Z] -- Check size of unsigned short - done [2021-07-07T17:13:58.547Z] -- Using unsigned short [2021-07-07T17:13:58.828Z] -- Check if the system is big endian - little endian [2021-07-07T17:13:59.106Z] -- Check size of size_t [2021-07-07T17:13:59.384Z] -- Check size of size_t - done [2021-07-07T17:13:59.384Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-07-07T17:13:59.384Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-07-07T17:13:59.384Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-07-07T17:13:59.384Z] CMake did not find one. [2021-07-07T17:13:59.384Z] [2021-07-07T17:13:59.384Z] Could not find a package configuration file provided by "cJSON" with any of [2021-07-07T17:13:59.384Z] the following names: [2021-07-07T17:13:59.384Z] [2021-07-07T17:13:59.384Z] cJSONConfig.cmake [2021-07-07T17:13:59.384Z] cjson-config.cmake [2021-07-07T17:13:59.384Z] [2021-07-07T17:13:59.384Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-07-07T17:13:59.384Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-07-07T17:13:59.384Z] provides a separate development package or SDK, be sure it has been [2021-07-07T17:13:59.384Z] installed. [2021-07-07T17:13:59.384Z] [2021-07-07T17:13:59.384Z] [2021-07-07T17:13:59.384Z] -- Configuring done [2021-07-07T17:13:59.384Z] -- Generating done [2021-07-07T17:13:59.662Z] -- Build files have been written to: /tmp/cbor [2021-07-07T17:13:59.662Z] Scanning dependencies of target cbor_shared [2021-07-07T17:13:59.662Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-07-07T17:14:00.636Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-07-07T17:14:00.911Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-07-07T17:14:01.186Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-07-07T17:14:01.792Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-07-07T17:14:02.079Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-07-07T17:14:02.363Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-07-07T17:14:02.363Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-07-07T17:14:02.636Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-07-07T17:14:02.910Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-07-07T17:14:03.509Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-07-07T17:14:03.782Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-07-07T17:14:04.375Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-07-07T17:14:04.652Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-07-07T17:14:04.931Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-07-07T17:14:04.931Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-07-07T17:14:05.204Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-07-07T17:14:05.541Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-07-07T17:14:05.819Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-07-07T17:14:06.094Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-07-07T17:14:06.373Z] [ 40%] Linking C shared library libcbor.so [2021-07-07T17:14:06.373Z] [ 40%] Built target cbor_shared [2021-07-07T17:14:06.373Z] Scanning dependencies of target cbor [2021-07-07T17:14:06.373Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-07-07T17:14:07.351Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-07-07T17:14:07.949Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-07-07T17:14:07.949Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-07-07T17:14:09.394Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-07-07T17:14:09.394Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-07-07T17:14:09.669Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-07-07T17:14:09.943Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-07-07T17:14:10.219Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-07-07T17:14:10.505Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-07-07T17:14:11.102Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-07-07T17:14:11.700Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-07-07T17:14:11.976Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-07-07T17:14:12.249Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-07-07T17:14:12.521Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-07-07T17:14:12.796Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-07-07T17:14:13.070Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-07-07T17:14:13.664Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-07-07T17:14:13.664Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-07-07T17:14:13.952Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-07-07T17:14:14.225Z] [ 80%] Linking C static library libcbor.a [2021-07-07T17:14:14.225Z] [ 80%] Built target cbor [2021-07-07T17:14:14.225Z] Scanning dependencies of target create_items [2021-07-07T17:14:14.225Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-07-07T17:14:14.499Z] [ 84%] Linking C executable create_items [2021-07-07T17:14:14.499Z] [ 84%] Built target create_items [2021-07-07T17:14:14.771Z] Scanning dependencies of target readfile [2021-07-07T17:14:14.771Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-07-07T17:14:15.050Z] [ 88%] Linking C executable readfile [2021-07-07T17:14:15.050Z] [ 88%] Built target readfile [2021-07-07T17:14:15.050Z] Scanning dependencies of target streaming_parser [2021-07-07T17:14:15.050Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-07-07T17:14:15.326Z] [ 92%] Linking C executable streaming_parser [2021-07-07T17:14:15.326Z] [ 92%] Built target streaming_parser [2021-07-07T17:14:15.326Z] Scanning dependencies of target sort [2021-07-07T17:14:15.326Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-07-07T17:14:15.604Z] [ 96%] Linking C executable sort [2021-07-07T17:14:15.604Z] [ 96%] Built target sort [2021-07-07T17:14:15.604Z] Scanning dependencies of target hello [2021-07-07T17:14:15.877Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-07-07T17:14:15.877Z] [100%] Linking C executable hello [2021-07-07T17:14:15.877Z] [100%] Built target hello [2021-07-07T17:14:16.151Z] Install the project... [2021-07-07T17:14:16.151Z] -- Install configuration: "Release" [2021-07-07T17:14:16.151Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-07-07T17:14:16.151Z] -- Installing: /usr/local/lib64/libcbor.a [2021-07-07T17:14:16.151Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-07-07T17:14:16.151Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-07-07T17:14:16.151Z] -- Installing: /usr/local/lib64/libcbor.so [2021-07-07T17:14:16.151Z] -- Up-to-date: /usr/local/include/cbor [2021-07-07T17:14:16.151Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-07-07T17:14:16.151Z] -- Installing: /usr/local/include/cbor/ints.h [2021-07-07T17:14:16.151Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-07-07T17:14:16.151Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-07-07T17:14:16.151Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-07-07T17:14:16.151Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-07-07T17:14:16.151Z] -- Installing: /usr/local/include/cbor/data.h [2021-07-07T17:14:16.151Z] -- Installing: /usr/local/include/cbor/common.h [2021-07-07T17:14:16.151Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-07-07T17:14:16.151Z] -- Installing: /usr/local/include/cbor/strings.h [2021-07-07T17:14:16.151Z] -- Installing: /usr/local/include/cbor/tags.h [2021-07-07T17:14:16.151Z] -- Installing: /usr/local/include/cbor/internal [2021-07-07T17:14:16.151Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-07-07T17:14:16.151Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-07-07T17:14:16.151Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-07-07T17:14:16.151Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-07-07T17:14:16.151Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-07-07T17:14:16.151Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-07-07T17:14:16.151Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-07-07T17:14:16.151Z] -- Installing: /usr/local/include/cbor/maps.h [2021-07-07T17:14:16.151Z] -- Installing: /usr/local/include/cbor.h [2021-07-07T17:14:16.151Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-07-07T17:14:18.134Z] Removing intermediate container 346e746b6720 [2021-07-07T17:14:18.134Z] ---> e5f05f6f8713 [2021-07-07T17:14:18.134Z] Step 8/25 : RUN mkdir /tmp/sdk [2021-07-07T17:14:18.134Z] ---> Running in ac578e639d4b [2021-07-07T17:14:20.756Z] Removing intermediate container ac578e639d4b [2021-07-07T17:14:20.756Z] ---> acd9895e81fd [2021-07-07T17:14:20.756Z] Step 9/25 : COPY VERSION /tmp/sdk [2021-07-07T17:14:21.030Z] ---> d24fe7dcb527 [2021-07-07T17:14:21.030Z] Step 10/25 : COPY src /tmp/sdk/src [2021-07-07T17:14:22.466Z] ---> 81bd5ffcff58 [2021-07-07T17:14:22.466Z] Step 11/25 : COPY include /tmp/sdk/include [2021-07-07T17:14:23.064Z] ---> 9e591d9e09d8 [2021-07-07T17:14:23.064Z] Step 12/25 : COPY scripts /tmp/sdk/scripts [2021-07-07T17:14:23.666Z] ---> f8049c5ab5e0 [2021-07-07T17:14:23.666Z] Step 13/25 : COPY LICENSE /tmp/sdk [2021-07-07T17:14:24.646Z] ---> 0713448c59eb [2021-07-07T17:14:24.646Z] Step 14/25 : COPY Attribution.txt /tmp/sdk [2021-07-07T17:14:25.245Z] ---> b0894e9088ad [2021-07-07T17:14:25.245Z] Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-07-07T17:14:25.519Z] ---> Running in ddea002d5af7 [2021-07-07T17:14:26.524Z] + CPPCHECK=false [2021-07-07T17:14:26.524Z] + DOCGEN=false [2021-07-07T17:14:26.524Z] + TOMLVER=SDK-0.2 [2021-07-07T17:14:26.524Z] + CUTILVER=1.1.4 [2021-07-07T17:14:26.524Z] + '[' 0 -gt 0 ] [2021-07-07T17:14:26.524Z] + readlink -f ./scripts/build.sh [2021-07-07T17:14:26.524Z] + dirname /tmp/sdk/scripts/build.sh [2021-07-07T17:14:26.524Z] + dirname /tmp/sdk/scripts [2021-07-07T17:14:26.524Z] + ROOT=/tmp/sdk [2021-07-07T17:14:26.524Z] + cd /tmp/sdk [2021-07-07T17:14:26.524Z] + '[' '!' -d deps ] [2021-07-07T17:14:26.524Z] + mkdir deps [2021-07-07T17:14:26.524Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-07-07T17:14:26.524Z] + tar -C deps -z -x -f - [2021-07-07T17:14:26.524Z] --2021-07-07 17:14:26-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-07-07T17:14:26.524Z] Resolving github.com... 140.82.114.3 [2021-07-07T17:14:26.524Z] Connecting to github.com|140.82.114.3|:443... connected. [2021-07-07T17:14:26.846Z] HTTP request sent, awaiting response... 302 Found [2021-07-07T17:14:26.846Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-07-07T17:14:26.846Z] --2021-07-07 17:14:26-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-07-07T17:14:26.846Z] Resolving codeload.github.com... 140.82.114.9 [2021-07-07T17:14:26.846Z] Connecting to codeload.github.com|140.82.114.9|:443... connected. [2021-07-07T17:14:26.846Z] HTTP request sent, awaiting response... 200 OK [2021-07-07T17:14:26.846Z] Length: 16451 (16K) [application/x-gzip] [2021-07-07T17:14:26.846Z] Saving to: 'STDOUT' [2021-07-07T17:14:26.846Z] [2021-07-07T17:14:26.846Z] 0K .......... ......  100% 942K=0.02s [2021-07-07T17:14:26.846Z] [2021-07-07T17:14:26.846Z] 2021-07-07 17:14:26 (942 KB/s) - written to stdout [16451/16451] [2021-07-07T17:14:26.846Z] [2021-07-07T17:14:26.846Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-07-07T17:14:26.846Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-07-07T17:14:26.846Z] + tar -C deps -z -x -f - [2021-07-07T17:14:26.846Z] --2021-07-07 17:14:26-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-07-07T17:14:27.130Z] Resolving github.com... 140.82.114.3 [2021-07-07T17:14:27.130Z] Connecting to github.com|140.82.114.3|:443... connected. [2021-07-07T17:14:27.130Z] HTTP request sent, awaiting response... 302 Found [2021-07-07T17:14:27.130Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] [2021-07-07T17:14:27.130Z] --2021-07-07 17:14:26-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [2021-07-07T17:14:27.130Z] Resolving codeload.github.com... 140.82.114.9 [2021-07-07T17:14:27.130Z] Connecting to codeload.github.com|140.82.114.9|:443... connected. [2021-07-07T17:14:27.428Z] HTTP request sent, awaiting response... 200 OK [2021-07-07T17:14:27.428Z] Length: 181796 (178K) [application/x-gzip] [2021-07-07T17:14:27.428Z] Saving to: 'STDOUT' [2021-07-07T17:14:27.428Z]  [2021-07-07T17:14:27.428Z] 0K .......... .......... .......... .......... .......... 28% 1.37M 0s [2021-07-07T17:14:27.428Z] 50K .......... .......... .......... .......... .......... 56% 2.78M 0s [2021-07-07T17:14:27.428Z] 100K .......... .......... .......... .......... .......... 84% 4.90M 0s [2021-07-07T17:14:27.428Z] 150K .......... .......... .......  100% 1.69M=0.08s [2021-07-07T17:14:27.428Z] [2021-07-07T17:14:27.428Z] 2021-07-07 17:14:27 (2.20 MB/s) - written to stdout [181796/181796] [2021-07-07T17:14:27.428Z] [2021-07-07T17:14:27.428Z] + mkdir -p src/c/iot [2021-07-07T17:14:27.428Z] + 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-07T17:14:27.428Z] + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot [2021-07-07T17:14:27.428Z] + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot [2021-07-07T17:14:27.428Z] + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot [2021-07-07T17:14:27.428Z] + mkdir -p include/iot [2021-07-07T17:14:27.428Z] + 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-07T17:14:27.428Z] + mkdir -p include/iot/os [2021-07-07T17:14:27.428Z] + 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-07T17:14:27.428Z] + mkdir -p /tmp/sdk/build/release [2021-07-07T17:14:27.428Z] + cd /tmp/sdk/build/release [2021-07-07T17:14:27.428Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-07-07T17:14:27.710Z] -- The C compiler identification is GNU 8.3.0 [2021-07-07T17:14:27.710Z] -- Check for working C compiler: /usr/bin/cc [2021-07-07T17:14:27.985Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-07-07T17:14:27.985Z] -- Detecting C compiler ABI info [2021-07-07T17:14:28.259Z] -- Detecting C compiler ABI info - done [2021-07-07T17:14:28.259Z] -- Detecting C compile features [2021-07-07T17:14:28.859Z] -- Detecting C compile features - done [2021-07-07T17:14:29.136Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-07-07T17:14:29.136Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-07-07T17:14:29.136Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-07-07T17:14:29.136Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-07-07T17:14:29.136Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-07-07T17:14:29.136Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-07-07T17:14:29.136Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-07-07T17:14:29.136Z] -- C SDK 0.0.0 for Linux [2021-07-07T17:14:29.136Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-07-07T17:14:29.410Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-07-07T17:14:29.410Z] -- Found Curses: /usr/lib/libcurses.so [2021-07-07T17:14:29.410Z] -- Configuring done [2021-07-07T17:14:29.684Z] -- Generating done [2021-07-07T17:14:29.684Z] -- Build files have been written to: /tmp/sdk/build/release [2021-07-07T17:14:29.684Z] + make all package [2021-07-07T17:14:29.684Z] + tee release.log [2021-07-07T17:14:29.961Z] Scanning dependencies of target csdk [2021-07-07T17:14:29.961Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-07-07T17:14:30.555Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-07-07T17:14:31.166Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-07-07T17:14:33.156Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-07-07T17:14:33.751Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-07-07T17:14:33.751Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-07-07T17:14:34.343Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-07-07T17:14:34.936Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-07-07T17:14:34.936Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-07-07T17:14:36.362Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-07-07T17:14:37.795Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-07-07T17:14:38.390Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-07-07T17:14:38.988Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-07-07T17:14:39.596Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-07-07T17:14:40.192Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-07-07T17:14:40.192Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-07-07T17:14:40.465Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-07-07T17:14:43.850Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-07-07T17:14:43.850Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-07-07T17:14:44.122Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-07-07T17:14:44.395Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-07-07T17:14:44.670Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-07-07T17:14:45.651Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-07-07T17:14:48.261Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-07-07T17:14:48.261Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-07-07T17:14:48.261Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-07-07T17:14:48.859Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-07-07T17:14:49.453Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-07-07T17:14:49.453Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-07-07T17:14:50.430Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-07-07T17:14:50.707Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-07-07T17:14:51.301Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-07-07T17:14:51.575Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-07-07T17:14:53.536Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-07-07T17:14:53.809Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-07-07T17:14:54.786Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-07-07T17:14:55.065Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-07-07T17:14:59.420Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-07-07T17:15:00.024Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-07-07T17:15:00.638Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-07-07T17:15:00.910Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-07-07T17:15:01.887Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-07-07T17:15:03.329Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-07-07T17:15:03.606Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-07-07T17:15:04.200Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-07-07T17:15:04.472Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-07-07T17:15:06.437Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-07-07T17:15:09.809Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-07-07T17:15:10.082Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-07-07T17:15:10.678Z] [ 75%] Linking C shared library libcsdk.so [2021-07-07T17:15:10.954Z] [ 75%] Built target csdk [2021-07-07T17:15:10.954Z] Scanning dependencies of target template [2021-07-07T17:15:10.954Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-07-07T17:15:11.555Z] [ 78%] Linking C executable template [2021-07-07T17:15:11.828Z] [ 78%] Built target template [2021-07-07T17:15:11.828Z] Scanning dependencies of target device-counter [2021-07-07T17:15:11.828Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-07-07T17:15:12.423Z] [ 81%] Linking C executable device-counter [2021-07-07T17:15:12.423Z] [ 81%] Built target device-counter [2021-07-07T17:15:12.697Z] Scanning dependencies of target device-random [2021-07-07T17:15:12.697Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-07-07T17:15:12.970Z] [ 84%] Linking C executable device-random [2021-07-07T17:15:13.243Z] [ 84%] Built target device-random [2021-07-07T17:15:13.243Z] Scanning dependencies of target device-gyro [2021-07-07T17:15:13.243Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-07-07T17:15:13.840Z] [ 87%] Linking C executable device-gyro [2021-07-07T17:15:13.840Z] [ 87%] Built target device-gyro [2021-07-07T17:15:14.114Z] Scanning dependencies of target device-bitfields [2021-07-07T17:15:14.114Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-07-07T17:15:14.390Z] [ 90%] Linking C executable device-bitfields [2021-07-07T17:15:14.663Z] [ 90%] Built target device-bitfields [2021-07-07T17:15:14.663Z] Scanning dependencies of target template-discovery [2021-07-07T17:15:14.664Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-07-07T17:15:15.648Z] [ 93%] Linking C executable template-discovery [2021-07-07T17:15:15.648Z] [ 93%] Built target template-discovery [2021-07-07T17:15:15.648Z] Scanning dependencies of target device-file [2021-07-07T17:15:15.648Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-07-07T17:15:16.240Z] [ 96%] Linking C executable device-file [2021-07-07T17:15:16.512Z] [ 96%] Built target device-file [2021-07-07T17:15:16.512Z] Scanning dependencies of target device-terminal [2021-07-07T17:15:16.512Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-07-07T17:15:17.105Z] [100%] Linking C executable device-terminal [2021-07-07T17:15:17.379Z] [100%] Built target device-terminal [2021-07-07T17:15:17.379Z] Run CPack packaging tool... [2021-07-07T17:15:17.379Z] CPack: Create package using TGZ [2021-07-07T17:15:17.379Z] CPack: Install projects [2021-07-07T17:15:17.379Z] CPack: - Run preinstall target for: Csdk [2021-07-07T17:15:17.975Z] CPack: - Install project: Csdk [2021-07-07T17:15:17.975Z] CPack: Create package [2021-07-07T17:15:18.251Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-07-07T17:15:18.251Z] + '[' false '=' true ] [2021-07-07T17:15:18.251Z] + '[' false '=' true ] [2021-07-07T17:15:18.251Z] + mkdir -p /tmp/sdk/build/debug [2021-07-07T17:15:18.251Z] + cd /tmp/sdk/build/debug [2021-07-07T17:15:18.251Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-07-07T17:15:18.524Z] -- The C compiler identification is GNU 8.3.0 [2021-07-07T17:15:18.524Z] -- Check for working C compiler: /usr/bin/cc [2021-07-07T17:15:18.800Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-07-07T17:15:18.800Z] -- Detecting C compiler ABI info [2021-07-07T17:15:19.075Z] -- Detecting C compiler ABI info - done [2021-07-07T17:15:19.075Z] -- Detecting C compile features [2021-07-07T17:15:19.671Z] -- Detecting C compile features - done [2021-07-07T17:15:19.671Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-07-07T17:15:19.945Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-07-07T17:15:19.945Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-07-07T17:15:19.945Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-07-07T17:15:19.945Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-07-07T17:15:19.945Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-07-07T17:15:19.945Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-07-07T17:15:19.945Z] -- C SDK 0.0.0 for Linux [2021-07-07T17:15:19.945Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-07-07T17:15:20.217Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-07-07T17:15:20.217Z] -- Found Curses: /usr/lib/libcurses.so [2021-07-07T17:15:20.217Z] -- Configuring done [2021-07-07T17:15:20.490Z] -- Generating done [2021-07-07T17:15:20.490Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-07-07T17:15:20.490Z] + + maketee [2021-07-07T17:15:20.490Z] debug.log [2021-07-07T17:15:20.763Z] Scanning dependencies of target csdk [2021-07-07T17:15:20.763Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-07-07T17:15:21.037Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-07-07T17:15:21.632Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-07-07T17:15:21.910Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-07-07T17:15:22.525Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-07-07T17:15:22.525Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-07-07T17:15:22.799Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-07-07T17:15:23.075Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-07-07T17:15:23.351Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-07-07T17:15:23.624Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-07-07T17:15:24.218Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-07-07T17:15:24.490Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-07-07T17:15:24.778Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-07-07T17:15:25.051Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-07-07T17:15:25.324Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-07-07T17:15:25.598Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-07-07T17:15:25.598Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-07-07T17:15:26.575Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-07-07T17:15:26.575Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-07-07T17:15:26.847Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-07-07T17:15:27.123Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-07-07T17:15:27.396Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-07-07T17:15:27.682Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-07-07T17:15:28.277Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-07-07T17:15:28.552Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-07-07T17:15:28.828Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-07-07T17:15:28.828Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-07-07T17:15:29.105Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-07-07T17:15:29.377Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-07-07T17:15:29.651Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-07-07T17:15:29.923Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-07-07T17:15:30.196Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-07-07T17:15:30.196Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-07-07T17:15:30.788Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-07-07T17:15:30.788Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-07-07T17:15:31.380Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-07-07T17:15:31.658Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-07-07T17:15:32.644Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-07-07T17:15:32.915Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-07-07T17:15:33.188Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-07-07T17:15:33.461Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-07-07T17:15:33.733Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-07-07T17:15:34.711Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-07-07T17:15:34.711Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-07-07T17:15:34.983Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-07-07T17:15:35.256Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-07-07T17:15:35.855Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-07-07T17:15:36.830Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-07-07T17:15:37.103Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-07-07T17:15:37.103Z] [ 75%] Linking C shared library libcsdk.so [2021-07-07T17:15:37.378Z] [ 75%] Built target csdk [2021-07-07T17:15:37.378Z] Scanning dependencies of target template [2021-07-07T17:15:37.378Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-07-07T17:15:37.973Z] [ 78%] Linking C executable template [2021-07-07T17:15:37.973Z] [ 78%] Built target template [2021-07-07T17:15:37.973Z] Scanning dependencies of target device-counter [2021-07-07T17:15:37.973Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-07-07T17:15:38.247Z] [ 81%] Linking C executable device-counter [2021-07-07T17:15:38.521Z] [ 81%] Built target device-counter [2021-07-07T17:15:38.521Z] Scanning dependencies of target device-random [2021-07-07T17:15:38.521Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-07-07T17:15:38.795Z] [ 84%] Linking C executable device-random [2021-07-07T17:15:39.068Z] [ 84%] Built target device-random [2021-07-07T17:15:39.068Z] Scanning dependencies of target device-gyro [2021-07-07T17:15:39.068Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-07-07T17:15:39.340Z] [ 87%] Linking C executable device-gyro [2021-07-07T17:15:39.614Z] [ 87%] Built target device-gyro [2021-07-07T17:15:39.614Z] Scanning dependencies of target device-bitfields [2021-07-07T17:15:39.614Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-07-07T17:15:39.886Z] [ 90%] Linking C executable device-bitfields [2021-07-07T17:15:40.157Z] [ 90%] Built target device-bitfields [2021-07-07T17:15:40.157Z] Scanning dependencies of target template-discovery [2021-07-07T17:15:40.157Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-07-07T17:15:40.431Z] [ 93%] Linking C executable template-discovery [2021-07-07T17:15:40.703Z] [ 93%] Built target template-discovery [2021-07-07T17:15:40.703Z] Scanning dependencies of target device-file [2021-07-07T17:15:40.703Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-07-07T17:15:40.975Z] [ 96%] Linking C executable device-file [2021-07-07T17:15:41.249Z] [ 96%] Built target device-file [2021-07-07T17:15:41.249Z] Scanning dependencies of target device-terminal [2021-07-07T17:15:41.249Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-07-07T17:15:41.848Z] [100%] Linking C executable device-terminal [2021-07-07T17:15:41.848Z] [100%] Built target device-terminal [2021-07-07T17:15:41.848Z] make: Entering directory '/tmp/sdk/build/release' [2021-07-07T17:15:42.123Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-07-07T17:15:42.123Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-07T17:15:42.123Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-07T17:15:42.123Z] [ 75%] Built target csdk [2021-07-07T17:15:42.123Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-07T17:15:42.123Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-07T17:15:42.123Z] [ 78%] Built target template [2021-07-07T17:15:42.123Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-07T17:15:42.123Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-07T17:15:42.123Z] [ 81%] Built target device-counter [2021-07-07T17:15:42.123Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-07T17:15:42.123Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-07T17:15:42.398Z] [ 84%] Built target device-random [2021-07-07T17:15:42.398Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-07T17:15:42.398Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-07T17:15:42.398Z] [ 87%] Built target device-gyro [2021-07-07T17:15:42.398Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-07T17:15:42.398Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-07T17:15:42.398Z] [ 90%] Built target device-bitfields [2021-07-07T17:15:42.398Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-07T17:15:42.398Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-07T17:15:42.398Z] [ 93%] Built target template-discovery [2021-07-07T17:15:42.398Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-07T17:15:42.398Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-07T17:15:42.398Z] [ 96%] Built target device-file [2021-07-07T17:15:42.398Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-07T17:15:42.398Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-07T17:15:42.398Z] [100%] Built target device-terminal [2021-07-07T17:15:42.398Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-07-07T17:15:42.398Z] Install the project... [2021-07-07T17:15:42.671Z] -- Install configuration: "Release" [2021-07-07T17:15:42.671Z] -- Installing: /usr/local/lib/libcsdk.so [2021-07-07T17:15:42.671Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-07-07T17:15:42.671Z] -- Up-to-date: /usr/local/include [2021-07-07T17:15:42.671Z] -- Installing: /usr/local/include/edgex [2021-07-07T17:15:42.671Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-07-07T17:15:42.671Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-07-07T17:15:42.671Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-07-07T17:15:42.671Z] -- Installing: /usr/local/include/edgex/devices.h [2021-07-07T17:15:42.671Z] -- Installing: /usr/local/include/edgex/secrets.h [2021-07-07T17:15:42.671Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-07-07T17:15:42.671Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-07-07T17:15:42.671Z] -- Installing: /usr/local/include/devsdk [2021-07-07T17:15:42.671Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-07-07T17:15:42.671Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-07-07T17:15:42.671Z] -- Installing: /usr/local/include/iot [2021-07-07T17:15:42.671Z] -- Installing: /usr/local/include/iot/json.h [2021-07-07T17:15:42.671Z] -- Installing: /usr/local/include/iot/container.h [2021-07-07T17:15:42.671Z] -- Installing: /usr/local/include/iot/component.h [2021-07-07T17:15:42.671Z] -- Installing: /usr/local/include/iot/typecode.h [2021-07-07T17:15:42.671Z] -- Installing: /usr/local/include/iot/iot.h [2021-07-07T17:15:42.671Z] -- Installing: /usr/local/include/iot/time.h [2021-07-07T17:15:42.671Z] -- Installing: /usr/local/include/iot/hash.h [2021-07-07T17:15:42.671Z] -- Installing: /usr/local/include/iot/logger.h [2021-07-07T17:15:42.671Z] -- Installing: /usr/local/include/iot/os [2021-07-07T17:15:42.671Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-07-07T17:15:42.671Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-07-07T17:15:42.671Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-07-07T17:15:42.671Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-07-07T17:15:42.671Z] -- Installing: /usr/local/include/iot/data.h [2021-07-07T17:15:42.671Z] -- Installing: /usr/local/include/iot/thread.h [2021-07-07T17:15:42.671Z] -- Installing: /usr/local/include/iot/os.h [2021-07-07T17:15:42.671Z] -- Installing: /usr/local/include/iot/base64.h [2021-07-07T17:15:42.671Z] -- Installing: /usr/local/include/iot/defs.h [2021-07-07T17:15:42.671Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-07-07T17:15:42.671Z] -- Installing: /usr/local/include/iot/config.h [2021-07-07T17:15:42.671Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-07-07T17:15:42.671Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-07-07T17:15:42.671Z] make: Leaving directory '/tmp/sdk/build/release' [2021-07-07T17:15:44.659Z] Removing intermediate container ddea002d5af7 [2021-07-07T17:15:44.659Z] ---> f84c4b993a5e [2021-07-07T17:15:44.659Z] Step 16/25 : FROM ${BASE} [2021-07-07T17:15:44.659Z] ---> b23d30803547 [2021-07-07T17:15:44.659Z] Step 17/25 : LABEL maintainer="IOTech " [2021-07-07T17:15:44.931Z] ---> Running in 18a9620a59d0 [2021-07-07T17:15:45.201Z] Removing intermediate container 18a9620a59d0 [2021-07-07T17:15:45.201Z] ---> 7b99b4addb89 [2021-07-07T17:15:45.201Z] 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-07T17:15:45.473Z] ---> Running in 8192b5f2943c [2021-07-07T17:15:46.446Z] Connecting to iotech.jfrog.io (54.170.66.44:443) [2021-07-07T17:15:47.100Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-07-07T17:15:47.100Z] [2021-07-07T17:15:48.117Z] Removing intermediate container 8192b5f2943c [2021-07-07T17:15:48.117Z] ---> ec73b1a12121 [2021-07-07T17:15:48.117Z] Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-07-07T17:15:48.392Z] ---> Running in f2be27c499ee [2021-07-07T17:15:50.371Z] Removing intermediate container f2be27c499ee [2021-07-07T17:15:50.371Z] ---> 520e4adc4844 [2021-07-07T17:15:50.371Z] 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-07T17:15:50.643Z] ---> Running in a574182c4c86 [2021-07-07T17:15:52.080Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2021-07-07T17:15:52.674Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2021-07-07T17:15:53.646Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz [2021-07-07T17:15:53.919Z] (1/6) Installing curl (7.64.0-r5) [2021-07-07T17:15:54.189Z] (2/6) Installing hiredis (0.14.0-r0) [2021-07-07T17:15:54.189Z] (3/6) Installing hiredis-dev (0.14.0-r0) [2021-07-07T17:15:54.189Z] (4/6) Installing libuuid (2.33-r0) [2021-07-07T17:15:54.465Z] (5/6) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-07-07T17:15:55.897Z] (6/6) Installing wget (1.20.3-r0) [2021-07-07T17:15:56.171Z] Executing busybox-1.29.3-r10.trigger [2021-07-07T17:15:56.444Z] OK: 283 MiB in 81 packages [2021-07-07T17:15:57.871Z] Removing intermediate container a574182c4c86 [2021-07-07T17:15:57.871Z] ---> 6efdf0673e72 [2021-07-07T17:15:57.871Z] Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-07-07T17:15:58.465Z] ---> 7ef375b1e55e [2021-07-07T17:15:58.465Z] Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-07-07T17:15:59.444Z] ---> 502f885ed134 [2021-07-07T17:15:59.444Z] Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-07-07T17:16:00.037Z] ---> 85edd5fcc51f [2021-07-07T17:16:00.037Z] Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-07-07T17:16:01.011Z] ---> 530c832e9798 [2021-07-07T17:16:01.011Z] Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-07-07T17:16:01.988Z] ---> bf63359b5a2a [2021-07-07T17:16:01.988Z] Successfully built bf63359b5a2a [2021-07-07T17:16:01.988Z] 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-07T17:16:02.713Z] + docker inspect -f . ci-base-image-arm64 [2021-07-07T17:16:02.713Z] . [Pipeline] withDockerContainer [2021-07-07T17:16:03.055Z] prd-ubuntu18.04-docker-arm64-4c-16g-2130 does not seem to be running inside a container [2021-07-07T17:16:03.131Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-07-07T17:16:04.797Z] $ docker top 2b35b5a78c6f7157ba683322206f4e45f4ff1998e6ddc0143c87ce8268d35ccd -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-07T17:16:05.833Z] + make test [2021-07-07T17:16:05.833Z] echo "make test" [2021-07-07T17:16:05.833Z] make test [Pipeline] } [2021-07-07T17:16:05.878Z] $ docker stop --time=1 2b35b5a78c6f7157ba683322206f4e45f4ff1998e6ddc0143c87ce8268d35ccd [2021-07-07T17:16:07.838Z] $ docker rm -f 2b35b5a78c6f7157ba683322206f4e45f4ff1998e6ddc0143c87ce8268d35ccd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-07T17:16:08.814Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-07-07T17:16:09.182Z] + ls -al . [2021-07-07T17:16:09.182Z] total 192 [2021-07-07T17:16:09.182Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 7 17:12 . [2021-07-07T17:16:09.182Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 7 17:12 .. [2021-07-07T17:16:09.182Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 7 17:12 .git [2021-07-07T17:16:09.182Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 7 17:12 .github [2021-07-07T17:16:09.182Z] -rw-rw-r-- 1 jenkins jenkins 176 Jul 7 17:12 .gitignore [2021-07-07T17:16:09.182Z] -rw-rw-r-- 1 jenkins jenkins 3104 Jul 7 17:12 Attribution.txt [2021-07-07T17:16:09.182Z] -rw-rw-r-- 1 jenkins jenkins 7556 Jul 7 17:12 CHANGES [2021-07-07T17:16:09.182Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jul 7 17:12 Doxyfile [2021-07-07T17:16:09.182Z] -rw-rw-r-- 1 jenkins jenkins 784 Jul 7 17:12 Jenkinsfile [2021-07-07T17:16:09.182Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jul 7 17:12 LICENSE [2021-07-07T17:16:09.182Z] -rw-rw-r-- 1 jenkins jenkins 444 Jul 7 17:12 Makefile [2021-07-07T17:16:09.182Z] -rw-rw-r-- 1 jenkins jenkins 4090 Jul 7 17:12 README.md [2021-07-07T17:16:09.182Z] -rw-rw-r-- 1 jenkins jenkins 7090 Jul 7 17:12 README.v2.md [2021-07-07T17:16:09.182Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 7 17:09 VERSION [2021-07-07T17:16:09.182Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 7 17:12 docs [2021-07-07T17:16:09.182Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 7 17:12 include [2021-07-07T17:16:09.182Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 7 17:12 scripts [2021-07-07T17:16:09.182Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 7 17:12 src [Pipeline] isUnix [Pipeline] sh [2021-07-07T17:16:09.557Z] + 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=ea5618c47e08fe482ed2457081bbbe286c91d90d --label arch=arm64 --label version=0.0.0 . [2021-07-07T17:16:10.153Z] Sending build context to Docker daemon 2.677MB [2021-07-07T17:16:10.153Z] Step 1/17 : ARG BASE=alpine:3.12 [2021-07-07T17:16:10.153Z] Step 2/17 : FROM ${BASE} [2021-07-07T17:16:10.153Z] ---> bf63359b5a2a [2021-07-07T17:16:10.153Z] Step 3/17 : LABEL maintainer="IOTech " [2021-07-07T17:16:10.426Z] ---> Running in 1b75e11e7a60 [2021-07-07T17:16:10.702Z] Removing intermediate container 1b75e11e7a60 [2021-07-07T17:16:10.702Z] ---> 8fb3ad3da5f8 [2021-07-07T17:16:10.702Z] 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-07T17:16:10.978Z] ---> Running in 17d18aef10ce [2021-07-07T17:16:12.420Z] --2021-07-07 17:16:12-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub [2021-07-07T17:16:12.420Z] Resolving iotech.jfrog.io... 54.195.244.87, 54.170.66.44, 54.229.110.245 [2021-07-07T17:16:12.420Z] Connecting to iotech.jfrog.io|54.195.244.87|:443... connected. [2021-07-07T17:16:12.701Z] HTTP request sent, awaiting response... 200 OK [2021-07-07T17:16:12.701Z] Length: 451 [application/octet-stream] [2021-07-07T17:16:12.701Z] Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-07-07T17:16:12.701Z]  [2021-07-07T17:16:12.701Z] 0K  100% 17.8M=0s [2021-07-07T17:16:12.701Z] [2021-07-07T17:16:12.701Z] 2021-07-07 17:16:12 (17.8 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] [2021-07-07T17:16:12.701Z] [2021-07-07T17:16:13.688Z] Removing intermediate container 17d18aef10ce [2021-07-07T17:16:13.688Z] ---> 846ffa37dee2 [2021-07-07T17:16:13.688Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-07-07T17:16:13.688Z] ---> Running in a62e8cd724e8 [2021-07-07T17:16:16.303Z] Removing intermediate container a62e8cd724e8 [2021-07-07T17:16:16.303Z] ---> 5bc12f8af251 [2021-07-07T17:16:16.303Z] 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-07T17:16:16.303Z] ---> Running in 6468ed895af9 [2021-07-07T17:16:17.278Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2021-07-07T17:16:17.883Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2021-07-07T17:16:18.475Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz [2021-07-07T17:16:19.068Z] (1/6) Installing ncurses-dev (6.1_p20190105-r0) [2021-07-07T17:16:19.343Z] (2/6) Installing libblkid (2.33-r0) [2021-07-07T17:16:19.343Z] (3/6) Installing libfdisk (2.33-r0) [2021-07-07T17:16:19.343Z] (4/6) Installing libmount (2.33-r0) [2021-07-07T17:16:19.627Z] (5/6) Installing libsmartcols (2.33-r0) [2021-07-07T17:16:19.627Z] (6/6) Installing util-linux-dev (2.33-r0) [2021-07-07T17:16:19.899Z] Executing busybox-1.29.3-r10.trigger [2021-07-07T17:16:19.899Z] OK: 287 MiB in 87 packages [2021-07-07T17:16:21.334Z] Removing intermediate container 6468ed895af9 [2021-07-07T17:16:21.334Z] ---> 4d3acbc33c45 [2021-07-07T17:16:21.334Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2021-07-07T17:16:21.932Z] ---> 8d33ee35bc81 [2021-07-07T17:16:21.932Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2021-07-07T17:16:23.364Z] ---> 5133d14f5da4 [2021-07-07T17:16:23.364Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2021-07-07T17:16:23.959Z] ---> a99a9dd10151 [2021-07-07T17:16:23.959Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2021-07-07T17:16:24.552Z] ---> d23bfe4c4167 [2021-07-07T17:16:24.552Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2021-07-07T17:16:25.576Z] ---> 096d6a132865 [2021-07-07T17:16:25.576Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2021-07-07T17:16:26.173Z] ---> 67be6bc245a1 [2021-07-07T17:16:26.173Z] Step 13/17 : WORKDIR /edgex-c-sdk [2021-07-07T17:16:26.446Z] ---> Running in ce55db94121c [2021-07-07T17:16:27.040Z] Removing intermediate container ce55db94121c [2021-07-07T17:16:27.040Z] ---> e72a7461f380 [2021-07-07T17:16:27.040Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-07-07T17:16:27.040Z] ---> Running in 7adbe0d80539 [2021-07-07T17:16:27.635Z] Removing intermediate container 7adbe0d80539 [2021-07-07T17:16:27.635Z] ---> c567e7a853cb [2021-07-07T17:16:27.635Z] Step 15/17 : LABEL arch=arm64 [2021-07-07T17:16:27.907Z] ---> Running in 134df0965a25 [2021-07-07T17:16:28.178Z] Removing intermediate container 134df0965a25 [2021-07-07T17:16:28.178Z] ---> 46dc721d0f9c [2021-07-07T17:16:28.178Z] Step 16/17 : LABEL git_sha=ea5618c47e08fe482ed2457081bbbe286c91d90d [2021-07-07T17:16:28.452Z] ---> Running in 95ea56cab1d9 [2021-07-07T17:16:28.726Z] Removing intermediate container 95ea56cab1d9 [2021-07-07T17:16:28.726Z] ---> 72b5bc7efb84 [2021-07-07T17:16:28.726Z] Step 17/17 : LABEL version=0.0.0 [2021-07-07T17:16:28.998Z] ---> Running in 6a1213287fc5 [2021-07-07T17:16:29.592Z] Removing intermediate container 6a1213287fc5 [2021-07-07T17:16:29.592Z] ---> be57e606ff46 [2021-07-07T17:16:29.592Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-07-07T17:16:29.592Z] Successfully built be57e606ff46 [2021-07-07T17:16:29.592Z] 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-07T17:16:32.128Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-07T17:16:32.498Z] ---> package-listing.sh [2021-07-07T17:16:32.499Z] ++ tr '[:upper:]' '[:lower:]' [2021-07-07T17:16:32.499Z] ++ facter osfamily [2021-07-07T17:16:32.778Z] + OS_FAMILY=redhat [2021-07-07T17:16:32.778Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-357 [2021-07-07T17:16:32.778Z] + START_PACKAGES=/tmp/packages_start.txt [2021-07-07T17:16:32.778Z] + END_PACKAGES=/tmp/packages_end.txt [2021-07-07T17:16:32.778Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-07-07T17:16:32.778Z] + PACKAGES=/tmp/packages_start.txt [2021-07-07T17:16:32.778Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-357 ']' [2021-07-07T17:16:32.778Z] + PACKAGES=/tmp/packages_end.txt [2021-07-07T17:16:32.778Z] + case "${OS_FAMILY}" in [2021-07-07T17:16:32.778Z] + rpm -qa [2021-07-07T17:16:32.778Z] + sort [2021-07-07T17:16:33.356Z] + '[' -f /tmp/packages_start.txt ']' [2021-07-07T17:16:33.356Z] + '[' -f /tmp/packages_end.txt ']' [2021-07-07T17:16:33.356Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-07-07T17:16:33.356Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-357 ']' [2021-07-07T17:16:33.356Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-357/archives/ [2021-07-07T17:16:33.356Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-357/archives/ [Pipeline] echo [2021-07-07T17:16:33.392Z] 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-357/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-07-07T17:16:33.699Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-07-07T17:16:34.307Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-07T17:16:34.307Z] [2021-07-07T17:16:34.307Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-07-07T17:16:34.660Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-07T17:16:34.660Z] alpine: Pulling from edgex-lftools-log-publisher [2021-07-07T17:16:34.660Z] df20fa9351a1: Pulling fs layer [2021-07-07T17:16:34.660Z] 36b3adc4ff6f: Pulling fs layer [2021-07-07T17:16:34.660Z] 8ad3a11d3b57: Pulling fs layer [2021-07-07T17:16:34.660Z] 46f8f816bc3b: Pulling fs layer [2021-07-07T17:16:34.660Z] 93b61091891f: Pulling fs layer [2021-07-07T17:16:34.660Z] 93b9cdb0e59b: Pulling fs layer [2021-07-07T17:16:34.660Z] 5e14af77c1be: Pulling fs layer [2021-07-07T17:16:34.660Z] 01666e4c0597: Pulling fs layer [2021-07-07T17:16:34.660Z] aa168da1d23b: Pulling fs layer [2021-07-07T17:16:34.660Z] 93b9cdb0e59b: Waiting [2021-07-07T17:16:34.660Z] 5e14af77c1be: Waiting [2021-07-07T17:16:34.660Z] 01666e4c0597: Waiting [2021-07-07T17:16:34.660Z] aa168da1d23b: Waiting [2021-07-07T17:16:34.660Z] 46f8f816bc3b: Waiting [2021-07-07T17:16:34.660Z] 93b61091891f: Waiting [2021-07-07T17:16:34.660Z] 36b3adc4ff6f: Verifying Checksum [2021-07-07T17:16:34.660Z] 36b3adc4ff6f: Download complete [2021-07-07T17:16:34.921Z] 46f8f816bc3b: Verifying Checksum [2021-07-07T17:16:34.921Z] 46f8f816bc3b: Download complete [2021-07-07T17:16:34.921Z] df20fa9351a1: Verifying Checksum [2021-07-07T17:16:34.921Z] df20fa9351a1: Download complete [2021-07-07T17:16:34.921Z] 93b9cdb0e59b: Verifying Checksum [2021-07-07T17:16:34.921Z] 93b9cdb0e59b: Download complete [2021-07-07T17:16:34.921Z] 5e14af77c1be: Verifying Checksum [2021-07-07T17:16:34.921Z] 5e14af77c1be: Download complete [2021-07-07T17:16:34.921Z] 93b61091891f: Verifying Checksum [2021-07-07T17:16:34.921Z] 93b61091891f: Download complete [2021-07-07T17:16:34.921Z] 01666e4c0597: Verifying Checksum [2021-07-07T17:16:34.921Z] 01666e4c0597: Download complete [2021-07-07T17:16:34.921Z] 8ad3a11d3b57: Verifying Checksum [2021-07-07T17:16:34.921Z] 8ad3a11d3b57: Download complete [2021-07-07T17:16:35.188Z] df20fa9351a1: Pull complete [2021-07-07T17:16:35.189Z] 36b3adc4ff6f: Pull complete [2021-07-07T17:16:35.765Z] 8ad3a11d3b57: Pull complete [2021-07-07T17:16:36.025Z] 46f8f816bc3b: Pull complete [2021-07-07T17:16:36.286Z] 93b61091891f: Pull complete [2021-07-07T17:16:36.286Z] 93b9cdb0e59b: Pull complete [2021-07-07T17:16:36.286Z] 5e14af77c1be: Pull complete [2021-07-07T17:16:36.546Z] 01666e4c0597: Pull complete [2021-07-07T17:16:36.807Z] aa168da1d23b: Verifying Checksum [2021-07-07T17:16:36.807Z] aa168da1d23b: Download complete [2021-07-07T17:16:41.053Z] aa168da1d23b: Pull complete [2021-07-07T17:16:41.053Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-07-07T17:16:41.053Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-07T17:16:41.053Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-07-07T17:16:41.181Z] prd-centos7-docker-4c-2g-2120 does not seem to be running inside a container [2021-07-07T17:16:41.216Z] $ 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-357/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-357 -v /w/workspace/edgexfoundry_device-sdk-c_PR-357:/w/workspace/edgexfoundry_device-sdk-c_PR-357:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-357@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-07T17:16:43.120Z] $ docker top f12ab3a5e7250167d1112a5a3d6d673910e50831d7e9243b614a7a8a7ab536a8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-07T17:16:43.563Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-07-07T17:16:43.922Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-07-07T17:16:44.281Z] + ls /var/log/sa-host [2021-07-07T17:16:44.281Z] + sadf -c /var/log/sa-host/sa05 [2021-07-07T17:16:44.281Z] file_magic: OK [2021-07-07T17:16:44.281Z] HZ: Using current value: 100 [2021-07-07T17:16:44.281Z] file_header: OK [2021-07-07T17:16:44.281Z] 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-07T17:16:44.281Z] Statistics: [2021-07-07T17:16:44.281Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-07T17:16:44.281Z] File successfully converted to sysstat format version 12.2.1 [2021-07-07T17:16:44.281Z] + sadf -c /var/log/sa-host/sa07 [2021-07-07T17:16:44.281Z] file_magic: OK [2021-07-07T17:16:44.281Z] HZ: Using current value: 100 [2021-07-07T17:16:44.281Z] file_header: OK [2021-07-07T17:16:44.281Z] 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-07T17:16:44.281Z] Statistics: [2021-07-07T17:16:44.281Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-07T17:16:44.281Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-07T17:16:44.525Z] provisioning config files... [2021-07-07T17:16:44.536Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/config6660638208523730477tmp [Pipeline] { [Pipeline] echo [2021-07-07T17:16:44.590Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-07T17:16:44.928Z] ---> create-netrc.sh [Pipeline] } [2021-07-07T17:16:44.958Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-07-07T17:16:45.403Z] ---> python-tools-install.sh [Pipeline] echo [2021-07-07T17:16:45.436Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-07T17:16:45.770Z] ---> sudo-logs.sh [2021-07-07T17:16:45.770Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-07-07T17:16:45.856Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-07T17:16:46.196Z] ---> job-cost.sh [2021-07-07T17:16:46.196Z] lf-activate-venv: SKIPPING [2021-07-07T17:16:46.196Z] INFO: No Stack... [2021-07-07T17:16:47.142Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-07T17:16:47.411Z] INFO: Archiving Costs [Pipeline] echo [2021-07-07T17:16:47.442Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-07T17:16:47.777Z] ---> logs-deploy.sh [2021-07-07T17:16:47.777Z] lf-activate-venv: SKIPPING [2021-07-07T17:16:47.777Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-357/1 [2021-07-07T17:16:47.777Z] INFO: archiving workspace using pattern(s): [2021-07-07T17:16:48.726Z] Archives upload complete. [2021-07-07T17:16:48.726Z] INFO: archiving logs to Nexus