Pull request #372 opened Connecting to https://api.github.com using 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 338e2053341470ada287baaf3fa9da8a04fcd32d+103eb2d1a1e0c2c0103fb2343729ae53009a4524 (f7be8782fa58a80c1ecc85127c2cd8ff895ed824) 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 > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8038255576611544406.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4423216368152190539.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 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 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-372/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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-372/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5601888521571776065.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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-372/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7582954527323039443.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 # timeout=10 Commit message: "Merge pull request #353 from ernestojeda/go-mod-tidy-change" > 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 > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4261066009117065127.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 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-372/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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-372/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh8689484673151823797.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 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 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_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-355 in /w/workspace/edgexfoundry_device-sdk-c_PR-372 [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-372 # 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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-372@tmp/jenkins-gitclient-ssh5480768264165958090.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 103eb2d1a1e0c2c0103fb2343729ae53009a4524 into PR head commit 338e2053341470ada287baaf3fa9da8a04fcd32d Merge succeeded, producing 338e2053341470ada287baaf3fa9da8a04fcd32d Checking out Revision 338e2053341470ada287baaf3fa9da8a04fcd32d (PR-372) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-372@tmp/jenkins-gitclient-ssh8147932305506576296.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/372/head:refs/remotes/origin/PR-372 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 338e2053341470ada287baaf3fa9da8a04fcd32d # 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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-372@tmp/jenkins-gitclient-ssh7275477549937143724.key > git merge 103eb2d1a1e0c2c0103fb2343729ae53009a4524 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 338e2053341470ada287baaf3fa9da8a04fcd32d # timeout=10 Commit message: "fix: reduce startup logging by default (#370)" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-09-16T11:04:54.613Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-09-16T11:04:54.814Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-09-16T11:04:54.944Z] ========================================================= [2021-09-16T11:04:54.944Z] EdgeX Global Pipelines Version Info [2021-09-16T11:04:54.944Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-09-16T11:04:56.218Z] ------------------- [2021-09-16T11:04:56.218Z] stable info: [2021-09-16T11:04:56.218Z] ------------------- [2021-09-16T11:04:56.218Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-09-16T11:04:56.218Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-09-16T11:04:56.218Z] Message: update stable to v1.0.205 [2021-09-16T11:04:57.181Z] ------------------- [2021-09-16T11:04:57.181Z] experimental info: [2021-09-16T11:04:57.181Z] ------------------- [2021-09-16T11:04:57.181Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-09-16T11:04:57.181Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-09-16T11:04:57.181Z] Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-09-16T11:04:57.409Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2021-09-16T11:04:57.464Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2021-09-16T11:04:57.520Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-09-16T11:04:57.569Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-09-16T11:04:57.619Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-09-16T11:04:57.675Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo [2021-09-16T11:04:57.729Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2021-09-16T11:04:57.783Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2021-09-16T11:04:57.845Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-09-16T11:04:57.900Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-09-16T11:04:57.955Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2021-09-16T11:04:58.040Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-09-16T11:04:58.095Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-09-16T11:04:58.150Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-09-16T11:04:58.216Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-09-16T11:04:58.274Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-09-16T11:04:58.333Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-09-16T11:04:58.389Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-09-16T11:04:58.460Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-372 [Pipeline] echo [2021-09-16T11:04:58.528Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-372 [Pipeline] echo [2021-09-16T11:04:58.582Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-372 [Pipeline] echo [2021-09-16T11:04:58.641Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 338e2053341470ada287baaf3fa9da8a04fcd32d [Pipeline] echo [2021-09-16T11:04:58.703Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 338e205 [Pipeline] echo [2021-09-16T11:04:58.762Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-09-16T11:04:58.932Z] provisioning config files... [2021-09-16T11:04:58.952Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-372@tmp/config223526641861303233tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-09-16T11:04:59.356Z] ---> docker-login.sh [2021-09-16T11:04:59.356Z] nexus3.edgexfoundry.org:10001 [2021-09-16T11:04:59.356Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-16T11:04:59.624Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-16T11:04:59.624Z] Configure a credential helper to remove this warning. See [2021-09-16T11:04:59.624Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-16T11:04:59.624Z] [2021-09-16T11:04:59.624Z] Login Succeeded [2021-09-16T11:04:59.624Z] nexus3.edgexfoundry.org:10002 [2021-09-16T11:04:59.895Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-16T11:04:59.895Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-16T11:04:59.895Z] Configure a credential helper to remove this warning. See [2021-09-16T11:04:59.895Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-16T11:04:59.895Z] [2021-09-16T11:04:59.895Z] Login Succeeded [2021-09-16T11:04:59.895Z] nexus3.edgexfoundry.org:10003 [2021-09-16T11:04:59.895Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-16T11:05:00.162Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-16T11:05:00.162Z] Configure a credential helper to remove this warning. See [2021-09-16T11:05:00.162Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-16T11:05:00.162Z] [2021-09-16T11:05:00.162Z] Login Succeeded [2021-09-16T11:05:00.162Z] nexus3.edgexfoundry.org:10004 [2021-09-16T11:05:00.162Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-16T11:05:00.162Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-16T11:05:00.162Z] Configure a credential helper to remove this warning. See [2021-09-16T11:05:00.162Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-16T11:05:00.162Z] [2021-09-16T11:05:00.162Z] Login Succeeded [2021-09-16T11:05:00.162Z] docker.io [2021-09-16T11:05:00.162Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-16T11:05:00.744Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-16T11:05:00.744Z] Configure a credential helper to remove this warning. See [2021-09-16T11:05:00.744Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-16T11:05:00.744Z] [2021-09-16T11:05:00.744Z] Login Succeeded [2021-09-16T11:05:00.744Z] ---> docker-login.sh ends [Pipeline] } [2021-09-16T11:05:00.771Z] 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-09-16T11:05:02.378Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-09-16T11:05:02.378Z] [2021-09-16T11:05:02.378Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-09-16T11:05:02.752Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-09-16T11:05:02.752Z] latest: Pulling from edgex-devops/git-semver [2021-09-16T11:05:02.752Z] 31603596830f: Pulling fs layer [2021-09-16T11:05:02.752Z] 04fac38145f0: Pulling fs layer [2021-09-16T11:05:02.752Z] 701f6daf10bf: Pulling fs layer [2021-09-16T11:05:02.752Z] 24f72da36158: Pulling fs layer [2021-09-16T11:05:02.752Z] 24f72da36158: Waiting [2021-09-16T11:05:02.752Z] 04fac38145f0: Verifying Checksum [2021-09-16T11:05:02.752Z] 04fac38145f0: Download complete [2021-09-16T11:05:03.020Z] 31603596830f: Verifying Checksum [2021-09-16T11:05:03.020Z] 31603596830f: Download complete [2021-09-16T11:05:03.020Z] 31603596830f: Pull complete [2021-09-16T11:05:03.291Z] 04fac38145f0: Pull complete [2021-09-16T11:05:03.291Z] 24f72da36158: Verifying Checksum [2021-09-16T11:05:03.291Z] 24f72da36158: Download complete [2021-09-16T11:05:03.291Z] 701f6daf10bf: Verifying Checksum [2021-09-16T11:05:03.291Z] 701f6daf10bf: Download complete [2021-09-16T11:05:03.889Z] 701f6daf10bf: Pull complete [2021-09-16T11:05:03.889Z] 24f72da36158: Pull complete [2021-09-16T11:05:03.889Z] Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 [2021-09-16T11:05:03.889Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-09-16T11:05:04.160Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-09-16T11:05:04.302Z] prd-centos7-docker-4c-2g-355 does not seem to be running inside a container [2021-09-16T11:05:04.357Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-372 -v /w/workspace/edgexfoundry_device-sdk-c_PR-372:/w/workspace/edgexfoundry_device-sdk-c_PR-372:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-372@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-372@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-09-16T11:05:05.120Z] $ docker top ef3448c5f5d40c3ad9622e325c72bd7bc311cf9c27f7dd55b98c2db6ee4c2026 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-09-16T11:05:05.336Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-09-16T11:05:05.336Z] [ssh-agent] Looking for ssh-agent implementation... [2021-09-16T11:05:05.455Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-09-16T11:05:05.454Z] $ docker exec ef3448c5f5d40c3ad9622e325c72bd7bc311cf9c27f7dd55b98c2db6ee4c2026 ssh-agent [2021-09-16T11:05:05.571Z] SSH_AUTH_SOCK=/tmp/ssh-emzkUkBO8FcA/agent.15 [2021-09-16T11:05:05.571Z] SSH_AGENT_PID=21 [2021-09-16T11:05:05.583Z] Running ssh-add (command line suppressed) [2021-09-16T11:05:05.690Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-372@tmp/private_key_8765311203074445868.key (/w/workspace/edgexfoundry_device-sdk-c_PR-372@tmp/private_key_8765311203074445868.key) [2021-09-16T11:05:05.716Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-09-16T11:05:06.083Z] + git tag --points-at HEAD [Pipeline] } [2021-09-16T11:05:06.129Z] $ docker exec --env ******** --env ******** ef3448c5f5d40c3ad9622e325c72bd7bc311cf9c27f7dd55b98c2db6ee4c2026 ssh-agent -k [2021-09-16T11:05:06.225Z] unset SSH_AUTH_SOCK; [2021-09-16T11:05:06.225Z] unset SSH_AGENT_PID; [2021-09-16T11:05:06.225Z] echo Agent pid 21 killed; [2021-09-16T11:05:06.241Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-09-16T11:05:06.367Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-09-16T11:05:06.367Z] [ssh-agent] Looking for ssh-agent implementation... [2021-09-16T11:05:06.480Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-09-16T11:05:06.479Z] $ docker exec ef3448c5f5d40c3ad9622e325c72bd7bc311cf9c27f7dd55b98c2db6ee4c2026 ssh-agent [2021-09-16T11:05:06.600Z] SSH_AUTH_SOCK=/tmp/ssh-cpzL3leTNID0/agent.55 [2021-09-16T11:05:06.600Z] SSH_AGENT_PID=61 [2021-09-16T11:05:06.610Z] Running ssh-add (command line suppressed) [2021-09-16T11:05:06.697Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-372@tmp/private_key_8808693578518691690.key (/w/workspace/edgexfoundry_device-sdk-c_PR-372@tmp/private_key_8808693578518691690.key) [2021-09-16T11:05:06.725Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-09-16T11:05:07.079Z] + git semver init [2021-09-16T11:05:07.079Z] # -> Open(): unable to determine branch for HEAD [2021-09-16T11:05:07.079Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-372/.git [2021-09-16T11:05:07.079Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-372 [2021-09-16T11:05:07.079Z] # $SEMVER_REMOTE_NAME = origin [2021-09-16T11:05:07.079Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-09-16T11:05:07.079Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-09-16T11:05:07.079Z] # $SEMVER_BRANCH = PR-372 [2021-09-16T11:05:07.079Z] # $SEMVER_TEMP = /tmp/semver-231849168 [2021-09-16T11:05:07.079Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2021-09-16T11:05:09.667Z] # '/tmp/semver-231849168' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-372/.semver' [2021-09-16T11:05:09.667Z] # -> Force: false [2021-09-16T11:05:09.667Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-372/.semver [Pipeline] } [2021-09-16T11:05:09.689Z] $ docker exec --env ******** --env ******** ef3448c5f5d40c3ad9622e325c72bd7bc311cf9c27f7dd55b98c2db6ee4c2026 ssh-agent -k [2021-09-16T11:05:09.799Z] unset SSH_AUTH_SOCK; [2021-09-16T11:05:09.799Z] unset SSH_AGENT_PID; [2021-09-16T11:05:09.799Z] echo Agent pid 61 killed; [2021-09-16T11:05:09.819Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-09-16T11:05:10.250Z] + git semver [Pipeline] } [2021-09-16T11:05:10.281Z] $ docker stop --time=1 ef3448c5f5d40c3ad9622e325c72bd7bc311cf9c27f7dd55b98c2db6ee4c2026 [2021-09-16T11:05:11.544Z] $ docker rm -f ef3448c5f5d40c3ad9622e325c72bd7bc311cf9c27f7dd55b98c2db6ee4c2026 [Pipeline] // withDockerContainer [Pipeline] sh [2021-09-16T11:05:11.995Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-09-16T11:05:12.397Z] Stashed 1 file(s) [Pipeline] echo [2021-09-16T11:05:12.421Z] [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-09-16T11:05:27.846Z] Still waiting to schedule task [2021-09-16T11:05:27.846Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-355’ [2021-09-16T11:05:27.871Z] Still waiting to schedule task [2021-09-16T11:05:27.872Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-09-16T11:07:48.116Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-356 in /w/workspace/edgexfoundry_device-sdk-c_PR-372 [Pipeline] { [Pipeline] ws [2021-09-16T11:07:48.177Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2021-09-16T11:07:48.449Z] Selected Git installation does not exist. Using Default [2021-09-16T11:07:48.449Z] The recommended git tool is: NONE [2021-09-16T11:07:54.337Z] using credential edgex-jenkins-ssh [2021-09-16T11:07:54.360Z] Cloning the remote Git repository [2021-09-16T11:07:54.447Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-09-16T11:07:54.611Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2021-09-16T11:07:54.716Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-09-16T11:07:54.717Z] > git --version # timeout=10 [2021-09-16T11:07:54.747Z] > git --version # 'git version 2.17.1' [2021-09-16T11:07:54.749Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-09-16T11:07:54.853Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-09-16T11:07:56.975Z] Merging remotes/origin/main commit 103eb2d1a1e0c2c0103fb2343729ae53009a4524 into PR head commit 338e2053341470ada287baaf3fa9da8a04fcd32d [2021-09-16T11:07:56.188Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-09-16T11:07:56.213Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-09-16T11:07:56.238Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-09-16T11:07:56.280Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-09-16T11:07:56.281Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-09-16T11:07:56.304Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/372/head:refs/remotes/origin/PR-372 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-09-16T11:07:56.992Z] > git config core.sparsecheckout # timeout=10 [2021-09-16T11:07:57.013Z] > git checkout -f 338e2053341470ada287baaf3fa9da8a04fcd32d # timeout=10 [2021-09-16T11:07:57.139Z] > git remote # timeout=10 [2021-09-16T11:07:57.162Z] > git config --get remote.origin.url # timeout=10 [2021-09-16T11:07:57.227Z] Merge succeeded, producing 338e2053341470ada287baaf3fa9da8a04fcd32d [2021-09-16T11:07:57.227Z] Checking out Revision 338e2053341470ada287baaf3fa9da8a04fcd32d (PR-372) [2021-09-16T11:07:57.175Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-09-16T11:07:57.191Z] > git merge 103eb2d1a1e0c2c0103fb2343729ae53009a4524 # timeout=10 [2021-09-16T11:07:57.212Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-09-16T11:07:57.231Z] > git config core.sparsecheckout # timeout=10 [2021-09-16T11:07:57.242Z] > git checkout -f 338e2053341470ada287baaf3fa9da8a04fcd32d # timeout=10 [2021-09-16T11:08:01.513Z] Commit message: "fix: reduce startup logging by default (#370)" [2021-09-16T11:08:01.567Z] > git --version # timeout=10 [2021-09-16T11:08:01.577Z] > git --version # 'git version 2.17.1' [2021-09-16T11:08:01.591Z] fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-09-16T11:08:02.669Z] provisioning config files... [2021-09-16T11:08:02.698Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config7755704813026807275tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-09-16T11:08:03.313Z] ---> docker-login.sh [2021-09-16T11:08:03.313Z] nexus3.edgexfoundry.org:10001 [2021-09-16T11:08:04.756Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-16T11:08:05.031Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-16T11:08:05.031Z] Configure a credential helper to remove this warning. See [2021-09-16T11:08:05.031Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-16T11:08:05.031Z] [2021-09-16T11:08:05.031Z] Login Succeeded [2021-09-16T11:08:05.031Z] nexus3.edgexfoundry.org:10002 [2021-09-16T11:08:05.309Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-16T11:08:05.597Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-16T11:08:05.597Z] Configure a credential helper to remove this warning. See [2021-09-16T11:08:05.597Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-16T11:08:05.597Z] [2021-09-16T11:08:05.597Z] Login Succeeded [2021-09-16T11:08:05.597Z] nexus3.edgexfoundry.org:10003 [2021-09-16T11:08:05.871Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-16T11:08:06.145Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-16T11:08:06.145Z] Configure a credential helper to remove this warning. See [2021-09-16T11:08:06.145Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-16T11:08:06.145Z] [2021-09-16T11:08:06.145Z] Login Succeeded [2021-09-16T11:08:06.145Z] nexus3.edgexfoundry.org:10004 [2021-09-16T11:08:06.420Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-16T11:08:06.694Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-16T11:08:06.695Z] Configure a credential helper to remove this warning. See [2021-09-16T11:08:06.695Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-16T11:08:06.695Z] [2021-09-16T11:08:06.695Z] Login Succeeded [2021-09-16T11:08:06.695Z] docker.io [2021-09-16T11:08:06.981Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-16T11:08:07.578Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-16T11:08:07.578Z] Configure a credential helper to remove this warning. See [2021-09-16T11:08:07.578Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-16T11:08:07.578Z] [2021-09-16T11:08:07.579Z] Login Succeeded [2021-09-16T11:08:07.579Z] ---> docker-login.sh ends [Pipeline] } [2021-09-16T11:08:07.671Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-09-16T11:08:08.382Z] ========================================================= [2021-09-16T11:08:08.383Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2021-09-16T11:08:08.383Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-09-16T11:08:08.858Z] + 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-09-16T11:08:09.460Z] Sending build context to Docker daemon 2.749MB [2021-09-16T11:08:09.460Z] Step 1/25 : ARG BASE=alpine:3.12 [2021-09-16T11:08:09.460Z] Step 2/25 : FROM ${BASE} as builder [2021-09-16T11:08:09.738Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2021-09-16T11:08:09.738Z] d2f70382dc9a: Pulling fs layer [2021-09-16T11:08:09.738Z] b08cc2eccb4b: Pulling fs layer [2021-09-16T11:08:09.738Z] 7b69db201801: Pulling fs layer [2021-09-16T11:08:09.738Z] b08cc2eccb4b: Verifying Checksum [2021-09-16T11:08:09.738Z] b08cc2eccb4b: Download complete [2021-09-16T11:08:10.013Z] d2f70382dc9a: Download complete [2021-09-16T11:08:11.004Z] d2f70382dc9a: Pull complete [2021-09-16T11:08:11.280Z] b08cc2eccb4b: Pull complete [2021-09-16T11:08:12.732Z] 7b69db201801: Verifying Checksum [2021-09-16T11:08:12.733Z] 7b69db201801: Download complete [2021-09-16T11:08:16.714Z] Running on prd-centos7-docker-4c-2g-357 in /w/workspace/edgexfoundry_device-sdk-c_PR-372 [Pipeline] { [Pipeline] ws [2021-09-16T11:08:16.770Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2021-09-16T11:08:16.926Z] Selected Git installation does not exist. Using Default [2021-09-16T11:08:16.926Z] The recommended git tool is: NONE [2021-09-16T11:08:19.514Z] using credential edgex-jenkins-ssh [2021-09-16T11:08:19.527Z] Cloning the remote Git repository [2021-09-16T11:08:19.410Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-09-16T11:08:19.481Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2021-09-16T11:08:19.514Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-09-16T11:08:19.514Z] > git --version # timeout=10 [2021-09-16T11:08:19.524Z] > git --version # 'git version 2.24.4' [2021-09-16T11:08:19.524Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-09-16T11:08:19.560Z] [INFO] Currently running in a labeled security context [2021-09-16T11:08:19.560Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-09-16T11:08:19.560Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh4602774680835368489.key [2021-09-16T11:08:19.617Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-09-16T11:08:21.024Z] Merging remotes/origin/main commit 103eb2d1a1e0c2c0103fb2343729ae53009a4524 into PR head commit 338e2053341470ada287baaf3fa9da8a04fcd32d [2021-09-16T11:08:21.056Z] 7b69db201801: Pull complete [2021-09-16T11:08:21.056Z] Digest: sha256:6402f0ff92f22f5db569dc2a94aef5717e50795d64082fb226716824a8b8ffba [2021-09-16T11:08:21.056Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2021-09-16T11:08:21.056Z] ---> 759262b18b23 [2021-09-16T11:08:21.056Z] 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-09-16T11:08:21.123Z] Merge succeeded, producing 338e2053341470ada287baaf3fa9da8a04fcd32d [2021-09-16T11:08:21.123Z] Checking out Revision 338e2053341470ada287baaf3fa9da8a04fcd32d (PR-372) [2021-09-16T11:08:20.396Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-09-16T11:08:20.402Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-09-16T11:08:20.425Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-09-16T11:08:20.442Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-09-16T11:08:20.442Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-09-16T11:08:20.443Z] [INFO] Currently running in a labeled security context [2021-09-16T11:08:20.443Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-09-16T11:08:20.443Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh4038580739472407730.key [2021-09-16T11:08:20.454Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/372/head:refs/remotes/origin/PR-372 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-09-16T11:08:21.015Z] > git config core.sparsecheckout # timeout=10 [2021-09-16T11:08:21.023Z] > git checkout -f 338e2053341470ada287baaf3fa9da8a04fcd32d # timeout=10 [2021-09-16T11:08:21.074Z] > git remote # timeout=10 [2021-09-16T11:08:21.079Z] > git config --get remote.origin.url # timeout=10 [2021-09-16T11:08:21.087Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-09-16T11:08:21.088Z] [INFO] Currently running in a labeled security context [2021-09-16T11:08:21.088Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-09-16T11:08:21.088Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh6067386275094656901.key [2021-09-16T11:08:21.093Z] > git merge 103eb2d1a1e0c2c0103fb2343729ae53009a4524 # timeout=10 [2021-09-16T11:08:21.102Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-09-16T11:08:21.115Z] > git config core.sparsecheckout # timeout=10 [2021-09-16T11:08:21.126Z] > git checkout -f 338e2053341470ada287baaf3fa9da8a04fcd32d # timeout=10 [2021-09-16T11:08:22.495Z] ---> Running in a7e8ca540f67 [2021-09-16T11:08:23.960Z] Connecting to iotech.jfrog.io (54.229.110.245:443) [2021-09-16T11:08:24.236Z] saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-09-16T11:08:24.237Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-09-16T11:08:24.237Z] '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [2021-09-16T11:08:24.869Z] Commit message: "fix: reduce startup logging by default (#370)" [2021-09-16T11:08:24.897Z] > git --version # timeout=10 [2021-09-16T11:08:24.904Z] > git --version # 'git version 2.24.4' [2021-09-16T11:08:24.912Z] fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-09-16T11:08:25.221Z] Removing intermediate container a7e8ca540f67 [2021-09-16T11:08:25.222Z] ---> 1e31824ce1df [2021-09-16T11:08:25.222Z] Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2021-09-16T11:08:25.498Z] ---> Running in 54a291b7e4dd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-09-16T11:08:25.584Z] provisioning config files... [2021-09-16T11:08:25.604Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config7497854984253763683tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-09-16T11:08:26.073Z] ---> docker-login.sh [2021-09-16T11:08:26.073Z] nexus3.edgexfoundry.org:10001 [2021-09-16T11:08:26.073Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-16T11:08:26.073Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-16T11:08:26.073Z] Configure a credential helper to remove this warning. See [2021-09-16T11:08:26.073Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-16T11:08:26.073Z] [2021-09-16T11:08:26.073Z] Login Succeeded [2021-09-16T11:08:26.073Z] nexus3.edgexfoundry.org:10002 [2021-09-16T11:08:26.345Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-16T11:08:26.345Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-16T11:08:26.345Z] Configure a credential helper to remove this warning. See [2021-09-16T11:08:26.345Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-16T11:08:26.345Z] [2021-09-16T11:08:26.345Z] Login Succeeded [2021-09-16T11:08:26.345Z] nexus3.edgexfoundry.org:10003 [2021-09-16T11:08:26.345Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-16T11:08:26.610Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-16T11:08:26.610Z] Configure a credential helper to remove this warning. See [2021-09-16T11:08:26.610Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-16T11:08:26.610Z] [2021-09-16T11:08:26.610Z] Login Succeeded [2021-09-16T11:08:26.610Z] nexus3.edgexfoundry.org:10004 [2021-09-16T11:08:26.610Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-16T11:08:26.610Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-16T11:08:26.610Z] Configure a credential helper to remove this warning. See [2021-09-16T11:08:26.610Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-16T11:08:26.610Z] [2021-09-16T11:08:26.610Z] Login Succeeded [2021-09-16T11:08:26.610Z] docker.io [2021-09-16T11:08:26.877Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-16T11:08:27.142Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-16T11:08:27.142Z] Configure a credential helper to remove this warning. See [2021-09-16T11:08:27.142Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-16T11:08:27.142Z] [2021-09-16T11:08:27.142Z] Login Succeeded [2021-09-16T11:08:27.142Z] ---> docker-login.sh ends [Pipeline] } [2021-09-16T11:08:27.201Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-09-16T11:08:27.497Z] ========================================================= [2021-09-16T11:08:27.498Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2021-09-16T11:08:27.498Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-09-16T11:08:27.894Z] + 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-09-16T11:08:27.894Z] Sending build context to Docker daemon 2.75MB [2021-09-16T11:08:27.894Z] Step 1/25 : ARG BASE=alpine:3.12 [2021-09-16T11:08:27.894Z] Step 2/25 : FROM ${BASE} as builder [2021-09-16T11:08:28.127Z] Removing intermediate container 54a291b7e4dd [2021-09-16T11:08:28.127Z] ---> e2574aadf621 [2021-09-16T11:08:28.127Z] 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-09-16T11:08:28.127Z] ---> Running in f7cf5ef12f40 [2021-09-16T11:08:28.166Z] latest: Pulling from edgex-devops/edgex-gcc-base [2021-09-16T11:08:28.166Z] 339de151aab4: Pulling fs layer [2021-09-16T11:08:28.166Z] 3691962f683c: Pulling fs layer [2021-09-16T11:08:28.166Z] e1147bf81a45: Pulling fs layer [2021-09-16T11:08:28.166Z] 3691962f683c: Verifying Checksum [2021-09-16T11:08:28.166Z] 3691962f683c: Download complete [2021-09-16T11:08:28.166Z] 339de151aab4: Verifying Checksum [2021-09-16T11:08:28.166Z] 339de151aab4: Download complete [2021-09-16T11:08:28.439Z] 339de151aab4: Pull complete [2021-09-16T11:08:28.439Z] 3691962f683c: Pull complete [2021-09-16T11:08:29.568Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-09-16T11:08:30.541Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-09-16T11:08:31.023Z] e1147bf81a45: Verifying Checksum [2021-09-16T11:08:31.023Z] e1147bf81a45: Download complete [2021-09-16T11:08:31.518Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz [2021-09-16T11:08:32.107Z] (1/22) Installing hiredis (0.14.1-r0) [2021-09-16T11:08:32.378Z] (2/22) Installing hiredis-dev (0.14.1-r0) [2021-09-16T11:08:32.378Z] (3/22) Installing ncurses-dev (6.2_p20200523-r0) [2021-09-16T11:08:32.648Z] (4/22) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-09-16T11:08:33.624Z] e1147bf81a45: Pull complete [2021-09-16T11:08:33.624Z] Digest: sha256:32c567f17180c4abff101a0d389449dec7f3f623a221c8a8ae98dcac9b0d9fee [2021-09-16T11:08:33.624Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2021-09-16T11:08:33.624Z] ---> ac6a0feb3254 [2021-09-16T11:08:33.624Z] 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-09-16T11:08:34.073Z] (5/22) Installing libblkid (2.35.2-r0) [2021-09-16T11:08:34.346Z] (6/22) Installing blkid (2.35.2-r0) [2021-09-16T11:08:34.346Z] (7/22) Installing libcap-ng (0.7.10-r1) [2021-09-16T11:08:34.584Z] ---> Running in 940849c13f29 [2021-09-16T11:08:34.624Z] (8/22) Installing setpriv (2.35.2-r0) [2021-09-16T11:08:34.624Z] (9/22) Installing libmount (2.35.2-r0) [2021-09-16T11:08:34.624Z] (10/22) Installing libsmartcols (2.35.2-r0) [2021-09-16T11:08:34.896Z] (11/22) Installing findmnt (2.35.2-r0) [2021-09-16T11:08:34.896Z] (12/22) Installing mcookie (2.35.2-r0) [2021-09-16T11:08:35.164Z] Connecting to iotech.jfrog.io (54.170.66.44:443) [2021-09-16T11:08:35.165Z] (13/22) Installing hexdump (2.35.2-r0) [2021-09-16T11:08:35.165Z] (14/22) Installing lsblk (2.35.2-r0) [2021-09-16T11:08:35.165Z] (15/22) Installing libuuid (2.35.2-r0) [2021-09-16T11:08:35.435Z] saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-09-16T11:08:35.435Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-09-16T11:08:35.435Z] '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [2021-09-16T11:08:35.436Z] (16/22) Installing libfdisk (2.35.2-r0) [2021-09-16T11:08:35.436Z] (17/22) Installing sfdisk (2.35.2-r0) [2021-09-16T11:08:35.711Z] (18/22) Installing cfdisk (2.35.2-r0) [2021-09-16T11:08:35.711Z] (19/22) Installing util-linux (2.35.2-r0) [2021-09-16T11:08:35.714Z] Removing intermediate container 940849c13f29 [2021-09-16T11:08:35.714Z] ---> ae20cb1df4cc [2021-09-16T11:08:35.714Z] Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-09-16T11:08:35.714Z] ---> Running in 5b319be2fb72 [2021-09-16T11:08:35.980Z] Removing intermediate container 5b319be2fb72 [2021-09-16T11:08:35.980Z] ---> e9fce33c6f6f [2021-09-16T11:08:35.980Z] 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-09-16T11:08:36.246Z] ---> Running in fa2de24a1a98 [2021-09-16T11:08:36.512Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-09-16T11:08:37.094Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-09-16T11:08:37.140Z] (20/22) Installing util-linux-dev (2.35.2-r0) [2021-09-16T11:08:37.361Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz [2021-09-16T11:08:37.735Z] (21/22) Installing libidn2 (2.3.0-r0) [2021-09-16T11:08:37.735Z] (22/22) Installing wget (1.20.3-r1) [2021-09-16T11:08:37.945Z] (1/22) Installing hiredis (0.14.1-r0) [2021-09-16T11:08:37.945Z] (2/22) Installing hiredis-dev (0.14.1-r0) [2021-09-16T11:08:37.945Z] (3/22) Installing ncurses-dev (6.2_p20200523-r0) [2021-09-16T11:08:38.009Z] Executing busybox-1.31.1-r20.trigger [2021-09-16T11:08:38.009Z] OK: 276 MiB in 97 packages [2021-09-16T11:08:38.211Z] (4/22) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-09-16T11:08:39.616Z] (5/22) Installing libblkid (2.35.2-r0) [2021-09-16T11:08:39.616Z] (6/22) Installing blkid (2.35.2-r0) [2021-09-16T11:08:39.883Z] (7/22) Installing libcap-ng (0.7.10-r1) [2021-09-16T11:08:39.883Z] (8/22) Installing setpriv (2.35.2-r0) [2021-09-16T11:08:39.883Z] (9/22) Installing libmount (2.35.2-r0) [2021-09-16T11:08:39.980Z] Removing intermediate container f7cf5ef12f40 [2021-09-16T11:08:39.981Z] ---> 3ed015d9c823 [2021-09-16T11:08:39.981Z] Step 6/25 : ENV CBOR_VERSION=0.5.0 [2021-09-16T11:08:40.152Z] (10/22) Installing libsmartcols (2.35.2-r0) [2021-09-16T11:08:40.152Z] (11/22) Installing findmnt (2.35.2-r0) [2021-09-16T11:08:40.152Z] (12/22) Installing mcookie (2.35.2-r0) [2021-09-16T11:08:40.254Z] ---> Running in 69fb24118e8d [2021-09-16T11:08:40.419Z] (13/22) Installing hexdump (2.35.2-r0) [2021-09-16T11:08:40.419Z] (14/22) Installing lsblk (2.35.2-r0) [2021-09-16T11:08:40.419Z] (15/22) Installing libuuid (2.35.2-r0) [2021-09-16T11:08:40.684Z] (16/22) Installing libfdisk (2.35.2-r0) [2021-09-16T11:08:40.684Z] (17/22) Installing sfdisk (2.35.2-r0) [2021-09-16T11:08:40.684Z] (18/22) Installing cfdisk (2.35.2-r0) [2021-09-16T11:08:40.847Z] Removing intermediate container 69fb24118e8d [2021-09-16T11:08:40.847Z] ---> 674bf3f44b1d [2021-09-16T11:08:40.847Z] 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-09-16T11:08:40.847Z] ---> Running in 00918099bf5c [2021-09-16T11:08:40.956Z] (19/22) Installing util-linux (2.35.2-r0) [2021-09-16T11:08:41.221Z] (20/22) Installing util-linux-dev (2.35.2-r0) [2021-09-16T11:08:42.180Z] (21/22) Installing libidn2 (2.3.0-r0) [2021-09-16T11:08:42.180Z] (22/22) Installing wget (1.20.3-r1) [2021-09-16T11:08:42.180Z] Executing busybox-1.31.1-r20.trigger [2021-09-16T11:08:42.180Z] OK: 295 MiB in 97 packages [2021-09-16T11:08:42.279Z] --2021-09-16 11:08:41-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-09-16T11:08:42.279Z] Resolving github.com (github.com)... 140.82.113.4 [2021-09-16T11:08:42.279Z] Connecting to github.com (github.com)|140.82.113.4|:443... connected. [2021-09-16T11:08:42.279Z] HTTP request sent, awaiting response... 302 Found [2021-09-16T11:08:42.279Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-09-16T11:08:42.279Z] --2021-09-16 11:08:42-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-09-16T11:08:42.279Z] Resolving codeload.github.com (codeload.github.com)... 140.82.114.9 [2021-09-16T11:08:42.279Z] Connecting to codeload.github.com (codeload.github.com)|140.82.114.9|:443... connected. [2021-09-16T11:08:42.556Z] HTTP request sent, awaiting response... 200 OK [2021-09-16T11:08:42.556Z] Length: unspecified [application/x-gzip] [2021-09-16T11:08:42.556Z] Saving to: 'STDOUT' [2021-09-16T11:08:42.556Z]  [2021-09-16T11:08:42.556Z] 0K .......... .......... .......... .......... .......... 1.54M [2021-09-16T11:08:42.556Z] 50K .......... .......... .......... .......... .......... 2.88M [2021-09-16T11:08:42.556Z] 100K .......... .......... .......... .......... .......... 12.1M [2021-09-16T11:08:42.556Z] 150K .......... .......... .......... .......... .......... 3.81M [2021-09-16T11:08:42.556Z] 200K .......... .......... .......... .......... .......... 14.9M [2021-09-16T11:08:42.556Z] 250K .......... .......... .......... .......... .......... 4.33M [2021-09-16T11:08:42.556Z] 300K .......... .......... .......... .......... .......... 5.12M [2021-09-16T11:08:42.556Z] 350K .......... .......... .......... .......... .......... 5.62M [2021-09-16T11:08:42.556Z] 400K .......... .......... .......... .......... .......... 3.06M [2021-09-16T11:08:42.556Z] 450K .......... .......... .......... .......... .......... 3.87M [2021-09-16T11:08:42.556Z] 500K .......... .......... .......... .......... .......... 8.20M [2021-09-16T11:08:42.556Z] 550K .......... .......... .......... .......... .......... 2.47M [2021-09-16T11:08:42.556Z] 600K .......... .......... .......... .......... .......... 897K [2021-09-16T11:08:42.768Z] Removing intermediate container fa2de24a1a98 [2021-09-16T11:08:42.768Z] ---> e1b092cdc23a [2021-09-16T11:08:42.768Z] Step 6/25 : ENV CBOR_VERSION=0.5.0 [2021-09-16T11:08:42.768Z] ---> Running in 320381fcfcad [2021-09-16T11:08:42.768Z] Removing intermediate container 320381fcfcad [2021-09-16T11:08:42.768Z] ---> ccee996f65fc [2021-09-16T11:08:42.768Z] 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-09-16T11:08:42.768Z] ---> Running in cd116fe9a00b [2021-09-16T11:08:42.828Z] 650K .......... .......... .......... .......... .......... 2.02M [2021-09-16T11:08:42.828Z] 700K .. 498K=0.2s [2021-09-16T11:08:42.828Z] [2021-09-16T11:08:42.828Z] 2021-09-16 11:08:42 (2.89 MB/s) - written to stdout [719348] [2021-09-16T11:08:42.828Z] [2021-09-16T11:08:43.038Z] --2021-09-16 11:08:42-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-09-16T11:08:43.038Z] Resolving github.com (github.com)... 140.82.113.4 [2021-09-16T11:08:43.038Z] Connecting to github.com (github.com)|140.82.113.4|:443... connected. [2021-09-16T11:08:43.100Z] -- The C compiler identification is GNU 9.3.0 [2021-09-16T11:08:43.305Z] HTTP request sent, awaiting response... 302 Found [2021-09-16T11:08:43.305Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-09-16T11:08:43.305Z] --2021-09-16 11:08:43-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-09-16T11:08:43.305Z] Resolving codeload.github.com (codeload.github.com)... 140.82.114.9 [2021-09-16T11:08:43.305Z] Connecting to codeload.github.com (codeload.github.com)|140.82.114.9|:443... connected. [2021-09-16T11:08:43.305Z] HTTP request sent, awaiting response... 200 OK [2021-09-16T11:08:43.305Z] Length: unspecified [application/x-gzip] [2021-09-16T11:08:43.305Z] Saving to: 'STDOUT' [2021-09-16T11:08:43.305Z] [2021-09-16T11:08:43.305Z] 0K .......... .......... .......... .......... .......... 1.44M [2021-09-16T11:08:43.305Z] 50K .......... .......... .......... .......... .......... 2.86M [2021-09-16T11:08:43.305Z] 100K .......... .......... .......... .......... .......... 41.3M [2021-09-16T11:08:43.305Z] 150K .......... .......... .......... .......... .......... 3.11M [2021-09-16T11:08:43.305Z] 200K .......... .......... .......... .......... .......... 42.9M [2021-09-16T11:08:43.305Z] 250K .......... .......... .......... .......... .......... 6.75M [2021-09-16T11:08:43.305Z] 300K .......... .......... .......... .......... .......... 6.23M [2021-09-16T11:08:43.305Z] 350K .......... .......... .......... .......... .......... 34.6M [2021-09-16T11:08:43.305Z] 400K .......... .......... .......... .......... .......... 6.51M [2021-09-16T11:08:43.305Z] 450K .......... .......... .......... .......... .......... 16.9M [2021-09-16T11:08:43.305Z] 500K .......... .......... .......... .......... .......... 2.19M [2021-09-16T11:08:43.305Z] 550K .......... .......... .......... .......... .......... 30.3M [2021-09-16T11:08:43.374Z] -- The CXX compiler identification is GNU 9.3.0 [2021-09-16T11:08:43.374Z] -- Check for working C compiler: /usr/bin/cc [2021-09-16T11:08:43.572Z] 600K .......... .......... .......... .......... .......... 2.37M [2021-09-16T11:08:43.572Z] 650K .......... .......... .......... .......... .......... 5.84M [2021-09-16T11:08:43.572Z] 700K .. 50.4M=0.1s [2021-09-16T11:08:43.572Z] [2021-09-16T11:08:43.572Z] 2021-09-16 11:08:43 (4.61 MB/s) - written to stdout [719348] [2021-09-16T11:08:43.572Z] [2021-09-16T11:08:43.572Z] -- The C compiler identification is GNU 9.3.0 [2021-09-16T11:08:43.572Z] -- The CXX compiler identification is GNU 9.3.0 [2021-09-16T11:08:43.572Z] -- Check for working C compiler: /usr/bin/cc [2021-09-16T11:08:43.572Z] -- Check for working C compiler: /usr/bin/cc - works [2021-09-16T11:08:43.572Z] -- Detecting C compiler ABI info [2021-09-16T11:08:43.647Z] -- Check for working C compiler: /usr/bin/cc - works [2021-09-16T11:08:43.647Z] -- Detecting C compiler ABI info [2021-09-16T11:08:43.840Z] -- Detecting C compiler ABI info - done [2021-09-16T11:08:43.840Z] -- Detecting C compile features [2021-09-16T11:08:43.840Z] -- Detecting C compile features - done [2021-09-16T11:08:43.840Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-09-16T11:08:43.840Z] -- Check for working CXX compiler: /usr/bin/c++ - works [2021-09-16T11:08:43.840Z] -- Detecting CXX compiler ABI info [2021-09-16T11:08:43.840Z] -- Detecting CXX compiler ABI info - done [2021-09-16T11:08:43.840Z] -- Detecting CXX compile features [2021-09-16T11:08:43.840Z] -- Detecting CXX compile features - done [2021-09-16T11:08:43.840Z] -- Looking for include file endian.h [2021-09-16T11:08:43.920Z] -- Detecting C compiler ABI info - done [2021-09-16T11:08:43.920Z] -- Detecting C compile features [2021-09-16T11:08:43.920Z] -- Detecting C compile features - done [2021-09-16T11:08:43.920Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-09-16T11:08:44.109Z] -- Looking for include file endian.h - found [2021-09-16T11:08:44.109Z] -- Check if the system is big endian [2021-09-16T11:08:44.109Z] -- Searching 16 bit integer [2021-09-16T11:08:44.109Z] -- Looking for sys/types.h [2021-09-16T11:08:44.109Z] -- Looking for sys/types.h - found [2021-09-16T11:08:44.109Z] -- Looking for stdint.h [2021-09-16T11:08:44.109Z] -- Looking for stdint.h - found [2021-09-16T11:08:44.109Z] -- Looking for stddef.h [2021-09-16T11:08:44.109Z] -- Looking for stddef.h - found [2021-09-16T11:08:44.109Z] -- Check size of unsigned short [2021-09-16T11:08:44.194Z] -- Check for working CXX compiler: /usr/bin/c++ - works [2021-09-16T11:08:44.194Z] -- Detecting CXX compiler ABI info [2021-09-16T11:08:44.378Z] -- Check size of unsigned short - done [2021-09-16T11:08:44.378Z] -- Searching 16 bit integer - Using unsigned short [2021-09-16T11:08:44.378Z] -- Check if the system is big endian - little endian [2021-09-16T11:08:44.378Z] -- Check size of size_t [2021-09-16T11:08:44.378Z] -- Check size of size_t - done [2021-09-16T11:08:44.378Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-09-16T11:08:44.378Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-09-16T11:08:44.378Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-09-16T11:08:44.378Z] CMake did not find one. [2021-09-16T11:08:44.378Z] [2021-09-16T11:08:44.378Z] Could not find a package configuration file provided by "cJSON" with any of [2021-09-16T11:08:44.378Z] the following names: [2021-09-16T11:08:44.378Z] [2021-09-16T11:08:44.378Z] cJSONConfig.cmake [2021-09-16T11:08:44.378Z] cjson-config.cmake [2021-09-16T11:08:44.378Z] [2021-09-16T11:08:44.378Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-09-16T11:08:44.378Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-09-16T11:08:44.378Z] provides a separate development package or SDK, be sure it has been [2021-09-16T11:08:44.378Z] installed. [2021-09-16T11:08:44.378Z] [2021-09-16T11:08:44.378Z] [2021-09-16T11:08:44.378Z] -- Configuring done [2021-09-16T11:08:44.378Z] -- Generating done [2021-09-16T11:08:44.378Z] -- Build files have been written to: /tmp/cbor [2021-09-16T11:08:44.378Z] Scanning dependencies of target cbor_shared [2021-09-16T11:08:44.466Z] -- Detecting CXX compiler ABI info - done [2021-09-16T11:08:44.467Z] -- Detecting CXX compile features [2021-09-16T11:08:44.467Z] -- Detecting CXX compile features - done [2021-09-16T11:08:44.467Z] -- Looking for include file endian.h [2021-09-16T11:08:44.643Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-09-16T11:08:44.643Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-09-16T11:08:44.643Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-09-16T11:08:44.740Z] -- Looking for include file endian.h - found [2021-09-16T11:08:44.740Z] -- Check if the system is big endian [2021-09-16T11:08:44.740Z] -- Searching 16 bit integer [2021-09-16T11:08:44.740Z] -- Looking for sys/types.h [2021-09-16T11:08:44.909Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-09-16T11:08:44.909Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-09-16T11:08:44.909Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-09-16T11:08:45.014Z] -- Looking for sys/types.h - found [2021-09-16T11:08:45.014Z] -- Looking for stdint.h [2021-09-16T11:08:45.174Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-09-16T11:08:45.174Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-09-16T11:08:45.174Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-09-16T11:08:45.174Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-09-16T11:08:45.287Z] -- Looking for stdint.h - found [2021-09-16T11:08:45.287Z] -- Looking for stddef.h [2021-09-16T11:08:45.446Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-09-16T11:08:45.447Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-09-16T11:08:45.447Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-09-16T11:08:45.447Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-09-16T11:08:45.561Z] -- Looking for stddef.h - found [2021-09-16T11:08:45.561Z] -- Check size of unsigned short [2021-09-16T11:08:45.717Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-09-16T11:08:45.717Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-09-16T11:08:45.717Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-09-16T11:08:45.717Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-09-16T11:08:45.717Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-09-16T11:08:45.834Z] -- Check size of unsigned short - done [2021-09-16T11:08:45.834Z] -- Searching 16 bit integer - Using unsigned short [2021-09-16T11:08:45.983Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-09-16T11:08:45.983Z] [ 40%] Linking C shared library libcbor.so [2021-09-16T11:08:45.983Z] [ 40%] Built target cbor_shared [2021-09-16T11:08:45.983Z] Scanning dependencies of target cbor [2021-09-16T11:08:45.983Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-09-16T11:08:46.111Z] -- Check if the system is big endian - little endian [2021-09-16T11:08:46.111Z] -- Check size of size_t [2021-09-16T11:08:46.250Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-09-16T11:08:46.250Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-09-16T11:08:46.250Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-09-16T11:08:46.384Z] -- Check size of size_t - done [2021-09-16T11:08:46.384Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-09-16T11:08:46.384Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-09-16T11:08:46.384Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-09-16T11:08:46.384Z] CMake did not find one. [2021-09-16T11:08:46.384Z] [2021-09-16T11:08:46.384Z] Could not find a package configuration file provided by "cJSON" with any of [2021-09-16T11:08:46.384Z] the following names: [2021-09-16T11:08:46.384Z] [2021-09-16T11:08:46.384Z] cJSONConfig.cmake [2021-09-16T11:08:46.384Z] cjson-config.cmake [2021-09-16T11:08:46.384Z] [2021-09-16T11:08:46.384Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-09-16T11:08:46.384Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-09-16T11:08:46.384Z] provides a separate development package or SDK, be sure it has been [2021-09-16T11:08:46.384Z] installed. [2021-09-16T11:08:46.384Z] [2021-09-16T11:08:46.384Z] [2021-09-16T11:08:46.384Z] -- Configuring done [2021-09-16T11:08:46.514Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-09-16T11:08:46.658Z] -- Generating done [2021-09-16T11:08:46.658Z] -- Build files have been written to: /tmp/cbor [2021-09-16T11:08:46.658Z] Scanning dependencies of target cbor_shared [2021-09-16T11:08:46.779Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-09-16T11:08:46.779Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-09-16T11:08:46.779Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-09-16T11:08:46.779Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-09-16T11:08:46.779Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-09-16T11:08:46.929Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-09-16T11:08:47.055Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-09-16T11:08:47.055Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-09-16T11:08:47.329Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-09-16T11:08:47.329Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-09-16T11:08:47.329Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-09-16T11:08:47.329Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-09-16T11:08:47.526Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-09-16T11:08:47.597Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-09-16T11:08:47.597Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-09-16T11:08:47.597Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-09-16T11:08:47.598Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-09-16T11:08:47.598Z] [ 80%] Linking C static library libcbor.a [2021-09-16T11:08:47.598Z] [ 80%] Built target cbor [2021-09-16T11:08:47.863Z] Scanning dependencies of target sort [2021-09-16T11:08:47.863Z] [ 82%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-09-16T11:08:47.863Z] [ 84%] Linking C executable sort [2021-09-16T11:08:47.863Z] [ 84%] Built target sort [2021-09-16T11:08:47.863Z] Scanning dependencies of target readfile [2021-09-16T11:08:47.863Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-09-16T11:08:47.863Z] [ 88%] Linking C executable readfile [2021-09-16T11:08:47.863Z] [ 88%] Built target readfile [2021-09-16T11:08:47.863Z] Scanning dependencies of target streaming_parser [2021-09-16T11:08:47.863Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-09-16T11:08:47.863Z] [ 92%] Linking C executable streaming_parser [2021-09-16T11:08:47.863Z] [ 92%] Built target streaming_parser [2021-09-16T11:08:48.120Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-09-16T11:08:48.134Z] Scanning dependencies of target hello [2021-09-16T11:08:48.134Z] [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-09-16T11:08:48.134Z] [ 96%] Linking C executable hello [2021-09-16T11:08:48.134Z] [ 96%] Built target hello [2021-09-16T11:08:48.134Z] Scanning dependencies of target create_items [2021-09-16T11:08:48.134Z] [ 98%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-09-16T11:08:48.134Z] [100%] Linking C executable create_items [2021-09-16T11:08:48.134Z] [100%] Built target create_items [2021-09-16T11:08:48.134Z] Install the project... [2021-09-16T11:08:48.134Z] -- Install configuration: "Release" [2021-09-16T11:08:48.134Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-09-16T11:08:48.134Z] -- Installing: /usr/local/lib64/libcbor.a [2021-09-16T11:08:48.134Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-09-16T11:08:48.134Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-09-16T11:08:48.134Z] -- Installing: /usr/local/lib64/libcbor.so [2021-09-16T11:08:48.134Z] -- Up-to-date: /usr/local/include/cbor [2021-09-16T11:08:48.134Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-09-16T11:08:48.134Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-09-16T11:08:48.134Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-09-16T11:08:48.134Z] -- Installing: /usr/local/include/cbor/common.h [2021-09-16T11:08:48.134Z] -- Installing: /usr/local/include/cbor/data.h [2021-09-16T11:08:48.134Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-09-16T11:08:48.134Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-09-16T11:08:48.134Z] -- Installing: /usr/local/include/cbor/internal [2021-09-16T11:08:48.134Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-09-16T11:08:48.134Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-09-16T11:08:48.134Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-09-16T11:08:48.134Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-09-16T11:08:48.134Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-09-16T11:08:48.134Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-09-16T11:08:48.134Z] -- Installing: /usr/local/include/cbor/ints.h [2021-09-16T11:08:48.134Z] -- Installing: /usr/local/include/cbor/maps.h [2021-09-16T11:08:48.134Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-09-16T11:08:48.134Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-09-16T11:08:48.134Z] -- Installing: /usr/local/include/cbor/strings.h [2021-09-16T11:08:48.134Z] -- Installing: /usr/local/include/cbor/tags.h [2021-09-16T11:08:48.134Z] -- Installing: /usr/local/include/cbor.h [2021-09-16T11:08:48.134Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-09-16T11:08:48.393Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-09-16T11:08:48.712Z] Removing intermediate container cd116fe9a00b [2021-09-16T11:08:48.713Z] ---> 82078f70c854 [2021-09-16T11:08:48.713Z] Step 8/25 : RUN mkdir /tmp/sdk [2021-09-16T11:08:48.713Z] ---> Running in 129699f1dc7f [2021-09-16T11:08:48.993Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-09-16T11:08:49.267Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-09-16T11:08:49.294Z] Removing intermediate container 129699f1dc7f [2021-09-16T11:08:49.294Z] ---> a4163789e867 [2021-09-16T11:08:49.294Z] Step 9/25 : COPY VERSION /tmp/sdk [2021-09-16T11:08:49.294Z] ---> a708bd9715bf [2021-09-16T11:08:49.294Z] Step 10/25 : COPY src /tmp/sdk/src [2021-09-16T11:08:49.541Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-09-16T11:08:49.541Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-09-16T11:08:49.559Z] ---> 01fd88aef507 [2021-09-16T11:08:49.559Z] Step 11/25 : COPY include /tmp/sdk/include [2021-09-16T11:08:49.559Z] ---> 9bbb29b75f4b [2021-09-16T11:08:49.559Z] Step 12/25 : COPY scripts /tmp/sdk/scripts [2021-09-16T11:08:49.814Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-09-16T11:08:49.824Z] ---> 86cfcc12a936 [2021-09-16T11:08:49.824Z] Step 13/25 : COPY LICENSE /tmp/sdk [2021-09-16T11:08:50.087Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-09-16T11:08:50.089Z] ---> c2b4ac6697e2 [2021-09-16T11:08:50.089Z] Step 14/25 : COPY Attribution.txt /tmp/sdk [2021-09-16T11:08:50.089Z] ---> 362aa9e52805 [2021-09-16T11:08:50.089Z] Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-09-16T11:08:50.089Z] ---> Running in 300db22c708c [2021-09-16T11:08:50.357Z] + CPPCHECK=false [2021-09-16T11:08:50.357Z] + DOCGEN=false [2021-09-16T11:08:50.357Z] + TOMLVER=SDK-0.2 [2021-09-16T11:08:50.357Z] + CUTILVER=1.2.2 [2021-09-16T11:08:50.357Z] + '[' 0 -gt 0 ] [2021-09-16T11:08:50.357Z] + readlink -f ./scripts/build.sh [2021-09-16T11:08:50.357Z] + dirname /tmp/sdk/scripts/build.sh [2021-09-16T11:08:50.357Z] + dirname /tmp/sdk/scripts [2021-09-16T11:08:50.357Z] + ROOT=/tmp/sdk [2021-09-16T11:08:50.357Z] + cd /tmp/sdk [2021-09-16T11:08:50.357Z] + '[' '!' -d deps ] [2021-09-16T11:08:50.357Z] + mkdir deps [2021-09-16T11:08:50.357Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-09-16T11:08:50.357Z] + tar -C deps -z -x -f - [2021-09-16T11:08:50.357Z] --2021-09-16 11:08:50-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-09-16T11:08:50.357Z] Resolving github.com (github.com)... 140.82.113.3 [2021-09-16T11:08:50.357Z] Connecting to github.com (github.com)|140.82.113.3|:443... connected. [2021-09-16T11:08:50.626Z] HTTP request sent, awaiting response... 302 Found [2021-09-16T11:08:50.626Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-09-16T11:08:50.626Z] --2021-09-16 11:08:50-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-09-16T11:08:50.626Z] Resolving codeload.github.com (codeload.github.com)... 140.82.114.9 [2021-09-16T11:08:50.626Z] Connecting to codeload.github.com (codeload.github.com)|140.82.114.9|:443... connected. [2021-09-16T11:08:50.626Z] HTTP request sent, awaiting response... 200 OK [2021-09-16T11:08:50.626Z] Length: unspecified [application/x-gzip] [2021-09-16T11:08:50.626Z] Saving to: 'STDOUT' [2021-09-16T11:08:50.626Z] [2021-09-16T11:08:50.626Z] 0K .......... ...... 957K=0.02s [2021-09-16T11:08:50.626Z] [2021-09-16T11:08:50.626Z] 2021-09-16 11:08:50 (957 KB/s) - written to stdout [16451] [2021-09-16T11:08:50.626Z] [2021-09-16T11:08:50.626Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-09-16T11:08:50.626Z] + tar -C deps -z -x -f - [2021-09-16T11:08:50.626Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2021-09-16T11:08:50.626Z] --2021-09-16 11:08:50-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2021-09-16T11:08:50.679Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-09-16T11:08:50.892Z] Resolving github.com (github.com)... 140.82.113.3 [2021-09-16T11:08:50.892Z] Connecting to github.com (github.com)|140.82.113.3|:443... connected. [2021-09-16T11:08:50.892Z] HTTP request sent, awaiting response... 302 Found [2021-09-16T11:08:50.892Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [following] [2021-09-16T11:08:50.892Z] --2021-09-16 11:08:50-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [2021-09-16T11:08:50.892Z] Resolving codeload.github.com (codeload.github.com)... 140.82.114.9 [2021-09-16T11:08:50.892Z] Connecting to codeload.github.com (codeload.github.com)|140.82.114.9|:443... connected. [2021-09-16T11:08:50.950Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-09-16T11:08:51.157Z] HTTP request sent, awaiting response... 200 OK [2021-09-16T11:08:51.157Z] Length: unspecified [application/x-gzip] [2021-09-16T11:08:51.157Z] Saving to: 'STDOUT' [2021-09-16T11:08:51.157Z]  [2021-09-16T11:08:51.157Z] 0K .......... .......... .......... .......... .......... 1.30M [2021-09-16T11:08:51.157Z] 50K .......... .......... .......... .......... .......... 2.58M [2021-09-16T11:08:51.157Z] 100K .......... .......... .......... .......... .......... 38.6M [2021-09-16T11:08:51.157Z] 150K .......... .......... .......... ........ 3.21M=0.07s [2021-09-16T11:08:51.157Z] [2021-09-16T11:08:51.157Z] 2021-09-16 11:08:51 (2.65 MB/s) - written to stdout [193412] [2021-09-16T11:08:51.157Z] [2021-09-16T11:08:51.157Z] + mkdir -p src/c/iot [2021-09-16T11:08:51.157Z] + cp deps/iotech-c-utils-1.2.2/src/c/base64.c deps/iotech-c-utils-1.2.2/src/c/component.c deps/iotech-c-utils-1.2.2/src/c/config.c deps/iotech-c-utils-1.2.2/src/c/container.c deps/iotech-c-utils-1.2.2/src/c/data.c deps/iotech-c-utils-1.2.2/src/c/hash.c deps/iotech-c-utils-1.2.2/src/c/iot.c deps/iotech-c-utils-1.2.2/src/c/json.c deps/iotech-c-utils-1.2.2/src/c/logger.c deps/iotech-c-utils-1.2.2/src/c/os.c deps/iotech-c-utils-1.2.2/src/c/scheduler.c deps/iotech-c-utils-1.2.2/src/c/thread.c deps/iotech-c-utils-1.2.2/src/c/threadpool.c deps/iotech-c-utils-1.2.2/src/c/time.c deps/iotech-c-utils-1.2.2/src/c/uuid.c deps/iotech-c-utils-1.2.2/src/c/yxml.c src/c/iot [2021-09-16T11:08:51.157Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2021-09-16T11:08:51.157Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2021-09-16T11:08:51.157Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2021-09-16T11:08:51.157Z] + mkdir -p include/iot [2021-09-16T11:08:51.157Z] + cp deps/iotech-c-utils-1.2.2/include/iot/base64.h deps/iotech-c-utils-1.2.2/include/iot/component.h deps/iotech-c-utils-1.2.2/include/iot/config.h deps/iotech-c-utils-1.2.2/include/iot/container.h deps/iotech-c-utils-1.2.2/include/iot/data.h deps/iotech-c-utils-1.2.2/include/iot/hash.h deps/iotech-c-utils-1.2.2/include/iot/iot.h deps/iotech-c-utils-1.2.2/include/iot/json.h deps/iotech-c-utils-1.2.2/include/iot/logger.h deps/iotech-c-utils-1.2.2/include/iot/os.h deps/iotech-c-utils-1.2.2/include/iot/scheduler.h deps/iotech-c-utils-1.2.2/include/iot/thread.h deps/iotech-c-utils-1.2.2/include/iot/threadpool.h deps/iotech-c-utils-1.2.2/include/iot/time.h deps/iotech-c-utils-1.2.2/include/iot/typecode.h deps/iotech-c-utils-1.2.2/include/iot/uuid.h include/iot [2021-09-16T11:08:51.157Z] + mkdir -p include/iot/os [2021-09-16T11:08:51.157Z] + cp deps/iotech-c-utils-1.2.2/include/iot/os/linux.h deps/iotech-c-utils-1.2.2/include/iot/os/macos.h deps/iotech-c-utils-1.2.2/include/iot/os/zephyr.h include/iot/os [2021-09-16T11:08:51.157Z] + mkdir -p /tmp/sdk/build/release [2021-09-16T11:08:51.157Z] + cd /tmp/sdk/build/release [2021-09-16T11:08:51.157Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-09-16T11:08:51.222Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-09-16T11:08:51.423Z] -- The C compiler identification is GNU 9.3.0 [2021-09-16T11:08:51.423Z] -- Check for working C compiler: /usr/bin/cc [2021-09-16T11:08:51.423Z] -- Check for working C compiler: /usr/bin/cc - works [2021-09-16T11:08:51.423Z] -- Detecting C compiler ABI info [2021-09-16T11:08:51.423Z] -- Detecting C compiler ABI info - done [2021-09-16T11:08:51.423Z] -- Detecting C compile features [2021-09-16T11:08:51.423Z] -- Detecting C compile features - done [2021-09-16T11:08:51.423Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-09-16T11:08:51.423Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") [2021-09-16T11:08:51.423Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-09-16T11:08:51.423Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-09-16T11:08:51.423Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-09-16T11:08:51.423Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-09-16T11:08:51.423Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-09-16T11:08:51.423Z] -- C SDK 0.0.0 for Linux [2021-09-16T11:08:51.423Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-09-16T11:08:51.691Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-09-16T11:08:51.691Z] -- Found Curses: /usr/lib/libcurses.so [2021-09-16T11:08:51.691Z] -- Configuring done [2021-09-16T11:08:51.691Z] -- Generating done [2021-09-16T11:08:51.691Z] -- Build files have been written to: /tmp/sdk/build/release [2021-09-16T11:08:51.691Z] + make all package [2021-09-16T11:08:51.691Z] + tee release.log [2021-09-16T11:08:51.691Z] Scanning dependencies of target csdk [2021-09-16T11:08:51.691Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-09-16T11:08:51.815Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-09-16T11:08:51.815Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-09-16T11:08:51.956Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-09-16T11:08:51.956Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-09-16T11:08:52.085Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-09-16T11:08:52.222Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-09-16T11:08:52.356Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-09-16T11:08:52.492Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-09-16T11:08:52.492Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-09-16T11:08:52.492Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-09-16T11:08:52.628Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-09-16T11:08:52.760Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-09-16T11:08:52.760Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-09-16T11:08:52.900Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-09-16T11:08:53.027Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-09-16T11:08:53.173Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-09-16T11:08:53.173Z] [ 40%] Linking C shared library libcbor.so [2021-09-16T11:08:53.293Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-09-16T11:08:53.293Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-09-16T11:08:53.444Z] [ 40%] Built target cbor_shared [2021-09-16T11:08:53.444Z] Scanning dependencies of target cbor [2021-09-16T11:08:53.444Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-09-16T11:08:53.559Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-09-16T11:08:53.559Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-09-16T11:08:53.559Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-09-16T11:08:53.825Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-09-16T11:08:53.825Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-09-16T11:08:54.406Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-09-16T11:08:54.406Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-09-16T11:08:54.406Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-09-16T11:08:54.406Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-09-16T11:08:54.421Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-09-16T11:08:54.672Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-09-16T11:08:54.672Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2021-09-16T11:08:54.672Z] /tmp/sdk/src/c/iot/container.c:335:37: warning: unused variable 'factory' [-Wunused-variable] [2021-09-16T11:08:54.672Z] 335 | const iot_component_factory_t * factory; [2021-09-16T11:08:54.672Z] | ^~~~~~~ [2021-09-16T11:08:54.672Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-09-16T11:08:55.018Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-09-16T11:08:55.018Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-09-16T11:08:55.633Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-09-16T11:08:55.634Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-09-16T11:08:55.634Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-09-16T11:08:55.901Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-09-16T11:08:55.901Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-09-16T11:08:55.901Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-09-16T11:08:56.173Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-09-16T11:08:56.173Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-09-16T11:08:56.444Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-09-16T11:08:56.444Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2021-09-16T11:08:56.444Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-09-16T11:08:56.711Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-09-16T11:08:56.977Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-09-16T11:08:56.984Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-09-16T11:08:56.984Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-09-16T11:08:57.246Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-09-16T11:08:57.247Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-09-16T11:08:57.255Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-09-16T11:08:57.255Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-09-16T11:08:57.529Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-09-16T11:08:57.803Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-09-16T11:08:57.839Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-09-16T11:08:58.110Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-09-16T11:08:58.110Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-09-16T11:08:58.378Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-09-16T11:08:58.378Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-09-16T11:08:58.647Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-09-16T11:08:58.782Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-09-16T11:08:58.782Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-09-16T11:08:58.913Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-09-16T11:08:58.913Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-09-16T11:08:58.913Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-09-16T11:08:59.384Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-09-16T11:08:59.501Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-09-16T11:08:59.656Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-09-16T11:08:59.929Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-09-16T11:09:00.085Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-09-16T11:09:00.085Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-09-16T11:09:00.085Z] [ 76%] Linking C shared library libcsdk.so [2021-09-16T11:09:00.203Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-09-16T11:09:00.353Z] [ 76%] Built target csdk [2021-09-16T11:09:00.353Z] Scanning dependencies of target template [2021-09-16T11:09:00.353Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-09-16T11:09:00.353Z] [ 79%] Linking C executable template [2021-09-16T11:09:00.353Z] [ 79%] Built target template [2021-09-16T11:09:00.353Z] Scanning dependencies of target device-counter [2021-09-16T11:09:00.353Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-09-16T11:09:00.477Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-09-16T11:09:00.622Z] [ 82%] Linking C executable device-counter [2021-09-16T11:09:00.622Z] [ 82%] Built target device-counter [2021-09-16T11:09:00.622Z] Scanning dependencies of target device-random [2021-09-16T11:09:00.622Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-09-16T11:09:00.622Z] [ 85%] Linking C executable device-random [2021-09-16T11:09:00.622Z] [ 85%] Built target device-random [2021-09-16T11:09:00.752Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-09-16T11:09:00.888Z] Scanning dependencies of target device-gyro [2021-09-16T11:09:00.888Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-09-16T11:09:00.888Z] [ 88%] Linking C executable device-gyro [2021-09-16T11:09:00.888Z] [ 88%] Built target device-gyro [2021-09-16T11:09:00.888Z] Scanning dependencies of target device-bitfields [2021-09-16T11:09:00.888Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-09-16T11:09:00.888Z] [ 91%] Linking C executable device-bitfields [2021-09-16T11:09:01.027Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-09-16T11:09:01.153Z] [ 91%] Built target device-bitfields [2021-09-16T11:09:01.153Z] Scanning dependencies of target template-discovery [2021-09-16T11:09:01.153Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-09-16T11:09:01.153Z] [ 94%] Linking C executable template-discovery [2021-09-16T11:09:01.153Z] [ 94%] Built target template-discovery [2021-09-16T11:09:01.153Z] Scanning dependencies of target device-file [2021-09-16T11:09:01.153Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-09-16T11:09:01.303Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-09-16T11:09:01.418Z] [ 97%] Linking C executable device-file [2021-09-16T11:09:01.418Z] [ 97%] Built target device-file [2021-09-16T11:09:01.418Z] Scanning dependencies of target device-terminal [2021-09-16T11:09:01.418Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-09-16T11:09:01.418Z] [100%] Linking C executable device-terminal [2021-09-16T11:09:01.576Z] [ 80%] Linking C static library libcbor.a [2021-09-16T11:09:01.577Z] [ 80%] Built target cbor [2021-09-16T11:09:01.577Z] Scanning dependencies of target sort [2021-09-16T11:09:01.577Z] [ 82%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-09-16T11:09:01.691Z] [100%] Built target device-terminal [2021-09-16T11:09:01.691Z] Run CPack packaging tool... [2021-09-16T11:09:01.691Z] CPack: Create package using TGZ [2021-09-16T11:09:01.691Z] CPack: Install projects [2021-09-16T11:09:01.691Z] CPack: - Run preinstall target for: Csdk [2021-09-16T11:09:01.691Z] CPack: - Install project: Csdk [] [2021-09-16T11:09:01.691Z] CPack: Create package [2021-09-16T11:09:01.860Z] [ 84%] Linking C executable sort [2021-09-16T11:09:01.860Z] [ 84%] Built target sort [2021-09-16T11:09:01.860Z] Scanning dependencies of target readfile [2021-09-16T11:09:01.860Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-09-16T11:09:01.959Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-09-16T11:09:01.959Z] + '[' false '=' true ] [2021-09-16T11:09:01.959Z] + '[' false '=' true ] [2021-09-16T11:09:01.959Z] + mkdir -p /tmp/sdk/build/debug [2021-09-16T11:09:01.959Z] + cd /tmp/sdk/build/debug [2021-09-16T11:09:01.959Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-09-16T11:09:01.959Z] -- The C compiler identification is GNU 9.3.0 [2021-09-16T11:09:01.959Z] -- Check for working C compiler: /usr/bin/cc [2021-09-16T11:09:01.959Z] -- Check for working C compiler: /usr/bin/cc - works [2021-09-16T11:09:01.959Z] -- Detecting C compiler ABI info [2021-09-16T11:09:01.959Z] -- Detecting C compiler ABI info - done [2021-09-16T11:09:01.959Z] -- Detecting C compile features [2021-09-16T11:09:01.959Z] -- Detecting C compile features - done [2021-09-16T11:09:01.959Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-09-16T11:09:02.133Z] [ 88%] Linking C executable readfile [2021-09-16T11:09:02.224Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") [2021-09-16T11:09:02.224Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-09-16T11:09:02.224Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-09-16T11:09:02.224Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-09-16T11:09:02.224Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-09-16T11:09:02.224Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-09-16T11:09:02.224Z] -- C SDK 0.0.0 for Linux [2021-09-16T11:09:02.225Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-09-16T11:09:02.225Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-09-16T11:09:02.225Z] -- Found Curses: /usr/lib/libcurses.so [2021-09-16T11:09:02.225Z] -- Configuring done [2021-09-16T11:09:02.225Z] -- Generating done [2021-09-16T11:09:02.225Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-09-16T11:09:02.225Z] + tee debug.log [2021-09-16T11:09:02.225Z] + make [2021-09-16T11:09:02.225Z] Scanning dependencies of target csdk [2021-09-16T11:09:02.407Z] [ 88%] Built target readfile [2021-09-16T11:09:02.407Z] Scanning dependencies of target streaming_parser [2021-09-16T11:09:02.407Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-09-16T11:09:02.492Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-09-16T11:09:02.492Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-09-16T11:09:02.492Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-09-16T11:09:02.683Z] [ 92%] Linking C executable streaming_parser [2021-09-16T11:09:02.683Z] [ 92%] Built target streaming_parser [2021-09-16T11:09:02.683Z] Scanning dependencies of target hello [2021-09-16T11:09:02.683Z] [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-09-16T11:09:02.760Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-09-16T11:09:02.760Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-09-16T11:09:02.760Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-09-16T11:09:02.760Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-09-16T11:09:02.760Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-09-16T11:09:02.962Z] [ 96%] Linking C executable hello [2021-09-16T11:09:02.962Z] [ 96%] Built target hello [2021-09-16T11:09:02.962Z] Scanning dependencies of target create_items [2021-09-16T11:09:02.962Z] [ 98%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-09-16T11:09:03.026Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-09-16T11:09:03.026Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-09-16T11:09:03.026Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-09-16T11:09:03.235Z] [100%] Linking C executable create_items [2021-09-16T11:09:03.235Z] [100%] Built target create_items [2021-09-16T11:09:03.235Z] Install the project... [2021-09-16T11:09:03.235Z] -- Install configuration: "Release" [2021-09-16T11:09:03.235Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-09-16T11:09:03.235Z] -- Installing: /usr/local/lib64/libcbor.a [2021-09-16T11:09:03.235Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-09-16T11:09:03.235Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-09-16T11:09:03.235Z] -- Installing: /usr/local/lib64/libcbor.so [2021-09-16T11:09:03.235Z] -- Up-to-date: /usr/local/include/cbor [2021-09-16T11:09:03.235Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-09-16T11:09:03.235Z] -- Installing: /usr/local/include/cbor/ints.h [2021-09-16T11:09:03.235Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-09-16T11:09:03.235Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-09-16T11:09:03.235Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-09-16T11:09:03.235Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-09-16T11:09:03.235Z] -- Installing: /usr/local/include/cbor/data.h [2021-09-16T11:09:03.235Z] -- Installing: /usr/local/include/cbor/common.h [2021-09-16T11:09:03.235Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-09-16T11:09:03.235Z] -- Installing: /usr/local/include/cbor/strings.h [2021-09-16T11:09:03.235Z] -- Installing: /usr/local/include/cbor/tags.h [2021-09-16T11:09:03.235Z] -- Installing: /usr/local/include/cbor/internal [2021-09-16T11:09:03.235Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-09-16T11:09:03.235Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-09-16T11:09:03.235Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-09-16T11:09:03.235Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-09-16T11:09:03.235Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-09-16T11:09:03.235Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-09-16T11:09:03.235Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-09-16T11:09:03.235Z] -- Installing: /usr/local/include/cbor/maps.h [2021-09-16T11:09:03.235Z] -- Installing: /usr/local/include/cbor.h [2021-09-16T11:09:03.235Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-09-16T11:09:03.291Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-09-16T11:09:03.291Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-09-16T11:09:03.291Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-09-16T11:09:03.291Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-09-16T11:09:03.291Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-09-16T11:09:03.556Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-09-16T11:09:03.556Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-09-16T11:09:03.556Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-09-16T11:09:03.822Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-09-16T11:09:03.822Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-09-16T11:09:03.822Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-09-16T11:09:03.822Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2021-09-16T11:09:03.822Z] /tmp/sdk/src/c/iot/container.c:335:37: warning: unused variable 'factory' [-Wunused-variable] [2021-09-16T11:09:03.822Z] 335 | const iot_component_factory_t * factory; [2021-09-16T11:09:03.822Z] | ^~~~~~~ [2021-09-16T11:09:03.822Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-09-16T11:09:04.087Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-09-16T11:09:04.087Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-09-16T11:09:04.087Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-09-16T11:09:04.353Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-09-16T11:09:04.353Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-09-16T11:09:04.353Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-09-16T11:09:04.353Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-09-16T11:09:04.353Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-09-16T11:09:04.625Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-09-16T11:09:04.625Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2021-09-16T11:09:04.625Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-09-16T11:09:04.625Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-09-16T11:09:04.625Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-09-16T11:09:04.898Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-09-16T11:09:04.898Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-09-16T11:09:05.167Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-09-16T11:09:05.167Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-09-16T11:09:05.167Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-09-16T11:09:05.167Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-09-16T11:09:05.432Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-09-16T11:09:05.432Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-09-16T11:09:05.700Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-09-16T11:09:05.700Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-09-16T11:09:05.700Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-09-16T11:09:05.700Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-09-16T11:09:05.878Z] Removing intermediate container 00918099bf5c [2021-09-16T11:09:05.878Z] ---> 0c569a815f1e [2021-09-16T11:09:05.878Z] Step 8/25 : RUN mkdir /tmp/sdk [2021-09-16T11:09:05.878Z] ---> Running in 986529ec2ae2 [2021-09-16T11:09:05.967Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-09-16T11:09:05.968Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-09-16T11:09:06.234Z] [ 76%] Linking C shared library libcsdk.so [2021-09-16T11:09:06.234Z] [ 76%] Built target csdk [2021-09-16T11:09:06.234Z] Scanning dependencies of target template [2021-09-16T11:09:06.234Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-09-16T11:09:06.234Z] [ 79%] Linking C executable template [2021-09-16T11:09:06.234Z] [ 79%] Built target template [2021-09-16T11:09:06.234Z] Scanning dependencies of target device-counter [2021-09-16T11:09:06.234Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-09-16T11:09:06.499Z] [ 82%] Linking C executable device-counter [2021-09-16T11:09:06.500Z] [ 82%] Built target device-counter [2021-09-16T11:09:06.500Z] Scanning dependencies of target device-random [2021-09-16T11:09:06.500Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-09-16T11:09:06.500Z] [ 85%] Linking C executable device-random [2021-09-16T11:09:06.500Z] [ 85%] Built target device-random [2021-09-16T11:09:06.500Z] Scanning dependencies of target device-gyro [2021-09-16T11:09:06.500Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-09-16T11:09:06.500Z] [ 88%] Linking C executable device-gyro [2021-09-16T11:09:06.768Z] [ 88%] Built target device-gyro [2021-09-16T11:09:06.768Z] Scanning dependencies of target device-bitfields [2021-09-16T11:09:06.768Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-09-16T11:09:06.768Z] [ 91%] Linking C executable device-bitfields [2021-09-16T11:09:06.768Z] [ 91%] Built target device-bitfields [2021-09-16T11:09:06.768Z] Scanning dependencies of target template-discovery [2021-09-16T11:09:06.768Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-09-16T11:09:06.768Z] [ 94%] Linking C executable template-discovery [2021-09-16T11:09:07.034Z] [ 94%] Built target template-discovery [2021-09-16T11:09:07.034Z] Scanning dependencies of target device-file [2021-09-16T11:09:07.034Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-09-16T11:09:07.034Z] [ 97%] Linking C executable device-file [2021-09-16T11:09:07.034Z] [ 97%] Built target device-file [2021-09-16T11:09:07.034Z] Scanning dependencies of target device-terminal [2021-09-16T11:09:07.034Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-09-16T11:09:07.034Z] [100%] Linking C executable device-terminal [2021-09-16T11:09:07.302Z] [100%] Built target device-terminal [2021-09-16T11:09:07.302Z] make: Entering directory '/tmp/sdk/build/release' [2021-09-16T11:09:07.303Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-09-16T11:09:07.303Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-09-16T11:09:07.303Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-09-16T11:09:07.303Z] [ 76%] Built target csdk [2021-09-16T11:09:07.303Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-09-16T11:09:07.303Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-09-16T11:09:07.303Z] [ 79%] Built target template [2021-09-16T11:09:07.303Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-09-16T11:09:07.303Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-09-16T11:09:07.303Z] [ 82%] Built target device-counter [2021-09-16T11:09:07.303Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-09-16T11:09:07.303Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-09-16T11:09:07.303Z] [ 85%] Built target device-random [2021-09-16T11:09:07.303Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-09-16T11:09:07.303Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-09-16T11:09:07.303Z] [ 88%] Built target device-gyro [2021-09-16T11:09:07.303Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-09-16T11:09:07.303Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-09-16T11:09:07.303Z] [ 91%] Built target device-bitfields [2021-09-16T11:09:07.303Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-09-16T11:09:07.303Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-09-16T11:09:07.303Z] [ 94%] Built target template-discovery [2021-09-16T11:09:07.303Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-09-16T11:09:07.303Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-09-16T11:09:07.303Z] [ 97%] Built target device-file [2021-09-16T11:09:07.303Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-09-16T11:09:07.303Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-09-16T11:09:07.303Z] [100%] Built target device-terminal [2021-09-16T11:09:07.303Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-09-16T11:09:07.303Z] Install the project... [2021-09-16T11:09:07.303Z] -- Install configuration: "Release" [2021-09-16T11:09:07.303Z] -- Installing: /usr/local/lib/libcsdk.so [2021-09-16T11:09:07.303Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-09-16T11:09:07.303Z] -- Up-to-date: /usr/local/include [2021-09-16T11:09:07.303Z] -- Installing: /usr/local/include/devsdk [2021-09-16T11:09:07.303Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-09-16T11:09:07.303Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-09-16T11:09:07.303Z] -- Installing: /usr/local/include/edgex [2021-09-16T11:09:07.303Z] -- Installing: /usr/local/include/edgex/devices.h [2021-09-16T11:09:07.303Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-09-16T11:09:07.303Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-09-16T11:09:07.303Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-09-16T11:09:07.303Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-09-16T11:09:07.303Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-09-16T11:09:07.303Z] -- Installing: /usr/local/include/iot [2021-09-16T11:09:07.303Z] -- Installing: /usr/local/include/iot/base64.h [2021-09-16T11:09:07.303Z] -- Installing: /usr/local/include/iot/component.h [2021-09-16T11:09:07.303Z] -- Installing: /usr/local/include/iot/config.h [2021-09-16T11:09:07.303Z] -- Installing: /usr/local/include/iot/container.h [2021-09-16T11:09:07.303Z] -- Installing: /usr/local/include/iot/data.h [2021-09-16T11:09:07.303Z] -- Installing: /usr/local/include/iot/hash.h [2021-09-16T11:09:07.303Z] -- Installing: /usr/local/include/iot/iot.h [2021-09-16T11:09:07.303Z] -- Installing: /usr/local/include/iot/json.h [2021-09-16T11:09:07.303Z] -- Installing: /usr/local/include/iot/logger.h [2021-09-16T11:09:07.303Z] -- Installing: /usr/local/include/iot/os.h [2021-09-16T11:09:07.303Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-09-16T11:09:07.303Z] -- Installing: /usr/local/include/iot/thread.h [2021-09-16T11:09:07.303Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-09-16T11:09:07.303Z] -- Installing: /usr/local/include/iot/time.h [2021-09-16T11:09:07.303Z] -- Installing: /usr/local/include/iot/typecode.h [2021-09-16T11:09:07.303Z] -- Installing: /usr/local/include/iot/uuid.h [2021-09-16T11:09:07.303Z] -- Installing: /usr/local/include/iot/os [2021-09-16T11:09:07.303Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-09-16T11:09:07.303Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-09-16T11:09:07.303Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-09-16T11:09:07.303Z] -- Installing: /usr/local/include/iot/defs.h [2021-09-16T11:09:07.303Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-09-16T11:09:07.303Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-09-16T11:09:07.303Z] make: Leaving directory '/tmp/sdk/build/release' [2021-09-16T11:09:07.887Z] Removing intermediate container 300db22c708c [2021-09-16T11:09:07.887Z] ---> 2b4596b0fc9d [2021-09-16T11:09:07.887Z] Step 16/25 : FROM ${BASE} [2021-09-16T11:09:07.887Z] ---> ac6a0feb3254 [2021-09-16T11:09:07.887Z] Step 17/25 : LABEL maintainer="IOTech " [2021-09-16T11:09:07.887Z] ---> Running in 4afcea26c4e1 [2021-09-16T11:09:08.155Z] Removing intermediate container 4afcea26c4e1 [2021-09-16T11:09:08.155Z] ---> 9f1dfa65379d [2021-09-16T11:09:08.155Z] 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-09-16T11:09:08.155Z] ---> Running in 383539211c2c [2021-09-16T11:09:08.423Z] Connecting to iotech.jfrog.io (54.170.66.44:443) [2021-09-16T11:09:08.496Z] Removing intermediate container 986529ec2ae2 [2021-09-16T11:09:08.496Z] ---> 005103c69bff [2021-09-16T11:09:08.496Z] Step 9/25 : COPY VERSION /tmp/sdk [2021-09-16T11:09:08.689Z] saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-09-16T11:09:08.689Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-09-16T11:09:08.689Z] '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [2021-09-16T11:09:08.778Z] ---> 51128c480608 [2021-09-16T11:09:08.778Z] Step 10/25 : COPY src /tmp/sdk/src [2021-09-16T11:09:08.956Z] Removing intermediate container 383539211c2c [2021-09-16T11:09:08.956Z] ---> 6cae74274191 [2021-09-16T11:09:08.956Z] Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-09-16T11:09:08.956Z] ---> Running in 67fd360b35b2 [2021-09-16T11:09:09.224Z] Removing intermediate container 67fd360b35b2 [2021-09-16T11:09:09.224Z] ---> ab2318169a33 [2021-09-16T11:09:09.224Z] 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-09-16T11:09:09.490Z] ---> Running in 45d53d2676f7 [2021-09-16T11:09:09.491Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-09-16T11:09:10.210Z] ---> d2dd56385479 [2021-09-16T11:09:10.211Z] Step 11/25 : COPY include /tmp/sdk/include [2021-09-16T11:09:10.448Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-09-16T11:09:10.809Z] ---> 6945e8f91f65 [2021-09-16T11:09:10.809Z] Step 12/25 : COPY scripts /tmp/sdk/scripts [2021-09-16T11:09:11.029Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz [2021-09-16T11:09:11.295Z] (1/7) Installing curl (7.79.0-r0) [2021-09-16T11:09:11.295Z] (2/7) Installing hiredis (0.14.1-r0) [2021-09-16T11:09:11.562Z] (3/7) Installing hiredis-dev (0.14.1-r0) [2021-09-16T11:09:11.562Z] (4/7) Installing libuuid (2.35.2-r0) [2021-09-16T11:09:11.562Z] (5/7) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-09-16T11:09:11.791Z] ---> 4c36eec0c123 [2021-09-16T11:09:11.791Z] Step 13/25 : COPY LICENSE /tmp/sdk [2021-09-16T11:09:12.388Z] ---> d1761473490d [2021-09-16T11:09:12.388Z] Step 14/25 : COPY Attribution.txt /tmp/sdk [2021-09-16T11:09:12.966Z] (6/7) Installing libidn2 (2.3.0-r0) [2021-09-16T11:09:12.966Z] (7/7) Installing wget (1.20.3-r1) [2021-09-16T11:09:13.233Z] Executing busybox-1.31.1-r20.trigger [2021-09-16T11:09:13.233Z] OK: 286 MiB in 82 packages [2021-09-16T11:09:13.367Z] ---> 52106d67a2ab [2021-09-16T11:09:13.368Z] Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-09-16T11:09:13.499Z] Removing intermediate container 45d53d2676f7 [2021-09-16T11:09:13.500Z] ---> c63693da9774 [2021-09-16T11:09:13.500Z] Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-09-16T11:09:13.641Z] ---> Running in 40b8317f818b [2021-09-16T11:09:13.768Z] ---> aa5d8cbf73c0 [2021-09-16T11:09:13.768Z] Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-09-16T11:09:13.768Z] ---> b2f443b0aea0 [2021-09-16T11:09:13.768Z] Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-09-16T11:09:14.036Z] ---> 3cde52bae30d [2021-09-16T11:09:14.036Z] Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-09-16T11:09:14.036Z] ---> 64cb2fbc53e7 [2021-09-16T11:09:14.036Z] Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-09-16T11:09:14.300Z] ---> eac2074875a6 [2021-09-16T11:09:14.300Z] Successfully built eac2074875a6 [2021-09-16T11:09:14.301Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [2021-09-16T11:09:14.624Z] + CPPCHECK=false [2021-09-16T11:09:14.624Z] + DOCGEN=false [2021-09-16T11:09:14.624Z] + TOMLVER=SDK-0.2 [2021-09-16T11:09:14.624Z] + CUTILVER=1.2.2 [2021-09-16T11:09:14.624Z] + '[' 0 -gt 0 ] [2021-09-16T11:09:14.624Z] + readlink -f ./scripts/build.sh [2021-09-16T11:09:14.624Z] + dirname /tmp/sdk/scripts/build.sh [2021-09-16T11:09:14.624Z] + dirname /tmp/sdk/scripts [2021-09-16T11:09:14.624Z] + ROOT=/tmp/sdk [2021-09-16T11:09:14.624Z] + cd /tmp/sdk [2021-09-16T11:09:14.624Z] + '[' '!' -d deps ] [2021-09-16T11:09:14.624Z] + mkdir deps [Pipeline] isUnix [Pipeline] sh [2021-09-16T11:09:14.899Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-09-16T11:09:14.899Z] + tar -C deps -z -x -f - [2021-09-16T11:09:14.899Z] --2021-09-16 11:09:14-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-09-16T11:09:14.899Z] Resolving github.com (github.com)... 140.82.113.3 [2021-09-16T11:09:14.899Z] Connecting to github.com (github.com)|140.82.113.3|:443... connected. [2021-09-16T11:09:14.899Z] HTTP request sent, awaiting response... 302 Found [2021-09-16T11:09:14.899Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-09-16T11:09:14.899Z] --2021-09-16 11:09:14-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-09-16T11:09:14.899Z] Resolving codeload.github.com (codeload.github.com)... 140.82.114.9 [2021-09-16T11:09:14.899Z] Connecting to codeload.github.com (codeload.github.com)|140.82.114.9|:443... connected. [2021-09-16T11:09:14.899Z] HTTP request sent, awaiting response... 200 OK [2021-09-16T11:09:14.899Z] Length: unspecified [application/x-gzip] [2021-09-16T11:09:14.899Z] Saving to: 'STDOUT' [2021-09-16T11:09:14.899Z]  [2021-09-16T11:09:14.899Z] 0K .......... ......  943K=0.02s [2021-09-16T11:09:14.899Z] [2021-09-16T11:09:14.899Z] 2021-09-16 11:09:14 (943 KB/s) - written to stdout [16451] [2021-09-16T11:09:14.899Z] [2021-09-16T11:09:14.899Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-09-16T11:09:14.974Z] + docker inspect -f . ci-base-image-x86_64 [2021-09-16T11:09:14.974Z] . [Pipeline] withDockerContainer [2021-09-16T11:09:15.082Z] prd-centos7-docker-4c-2g-357 does not seem to be running inside a container [2021-09-16T11:09:15.134Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-09-16T11:09:15.174Z] + tar -C deps -z -x -f - [2021-09-16T11:09:15.174Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2021-09-16T11:09:15.174Z] --2021-09-16 11:09:14-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2021-09-16T11:09:15.174Z] Resolving github.com (github.com)... 140.82.113.3 [2021-09-16T11:09:15.174Z] Connecting to github.com (github.com)|140.82.113.3|:443... connected. [2021-09-16T11:09:15.174Z] HTTP request sent, awaiting response... 302 Found [2021-09-16T11:09:15.174Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [following] [2021-09-16T11:09:15.174Z] --2021-09-16 11:09:15-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [2021-09-16T11:09:15.174Z] Resolving codeload.github.com (codeload.github.com)... 140.82.114.9 [2021-09-16T11:09:15.174Z] Connecting to codeload.github.com (codeload.github.com)|140.82.114.9|:443... connected. [2021-09-16T11:09:15.174Z] HTTP request sent, awaiting response... 200 OK [2021-09-16T11:09:15.174Z] Length: unspecified [application/x-gzip] [2021-09-16T11:09:15.174Z] Saving to: 'STDOUT' [2021-09-16T11:09:15.174Z]  [2021-09-16T11:09:15.174Z] 0K .......... .......... .......... .......... .......... 1.47M [2021-09-16T11:09:15.174Z] 50K .......... .......... .......... .......... .......... 3.35M [2021-09-16T11:09:15.452Z] 100K .......... .......... .......... .......... .......... 2.91M [2021-09-16T11:09:15.452Z] 150K .......... .......... .......... ........  1.46M=0.09s [2021-09-16T11:09:15.452Z] [2021-09-16T11:09:15.452Z] 2021-09-16 11:09:15 (2.04 MB/s) - written to stdout [193412] [2021-09-16T11:09:15.452Z] [2021-09-16T11:09:15.452Z] + mkdir -p src/c/iot [2021-09-16T11:09:15.452Z] + cp deps/iotech-c-utils-1.2.2/src/c/base64.c deps/iotech-c-utils-1.2.2/src/c/component.c deps/iotech-c-utils-1.2.2/src/c/config.c deps/iotech-c-utils-1.2.2/src/c/container.c deps/iotech-c-utils-1.2.2/src/c/data.c deps/iotech-c-utils-1.2.2/src/c/hash.c deps/iotech-c-utils-1.2.2/src/c/iot.c deps/iotech-c-utils-1.2.2/src/c/json.c deps/iotech-c-utils-1.2.2/src/c/logger.c deps/iotech-c-utils-1.2.2/src/c/os.c deps/iotech-c-utils-1.2.2/src/c/scheduler.c deps/iotech-c-utils-1.2.2/src/c/thread.c deps/iotech-c-utils-1.2.2/src/c/threadpool.c deps/iotech-c-utils-1.2.2/src/c/time.c deps/iotech-c-utils-1.2.2/src/c/uuid.c deps/iotech-c-utils-1.2.2/src/c/yxml.c src/c/iot [2021-09-16T11:09:15.452Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2021-09-16T11:09:15.452Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2021-09-16T11:09:15.452Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2021-09-16T11:09:15.452Z] + mkdir -p include/iot [2021-09-16T11:09:15.452Z] + cp deps/iotech-c-utils-1.2.2/include/iot/base64.h deps/iotech-c-utils-1.2.2/include/iot/component.h deps/iotech-c-utils-1.2.2/include/iot/config.h deps/iotech-c-utils-1.2.2/include/iot/container.h deps/iotech-c-utils-1.2.2/include/iot/data.h deps/iotech-c-utils-1.2.2/include/iot/hash.h deps/iotech-c-utils-1.2.2/include/iot/iot.h deps/iotech-c-utils-1.2.2/include/iot/json.h deps/iotech-c-utils-1.2.2/include/iot/logger.h deps/iotech-c-utils-1.2.2/include/iot/os.h deps/iotech-c-utils-1.2.2/include/iot/scheduler.h deps/iotech-c-utils-1.2.2/include/iot/thread.h deps/iotech-c-utils-1.2.2/include/iot/threadpool.h deps/iotech-c-utils-1.2.2/include/iot/time.h deps/iotech-c-utils-1.2.2/include/iot/typecode.h deps/iotech-c-utils-1.2.2/include/iot/uuid.h include/iot [2021-09-16T11:09:15.452Z] + mkdir -p include/iot/os [2021-09-16T11:09:15.452Z] + cp deps/iotech-c-utils-1.2.2/include/iot/os/linux.h deps/iotech-c-utils-1.2.2/include/iot/os/macos.h deps/iotech-c-utils-1.2.2/include/iot/os/zephyr.h include/iot/os [2021-09-16T11:09:15.452Z] + mkdir -p /tmp/sdk/build/release [2021-09-16T11:09:15.452Z] + cd /tmp/sdk/build/release [2021-09-16T11:09:15.452Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-09-16T11:09:15.465Z] $ docker top 92137fde29304d700f951b1b65adb7da58f94d74ceca11ba4bb1037c40472464 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-09-16T11:09:15.726Z] -- The C compiler identification is GNU 9.3.0 [2021-09-16T11:09:15.726Z] -- Check for working C compiler: /usr/bin/cc [2021-09-16T11:09:15.927Z] + make test [2021-09-16T11:09:15.927Z] echo "make test" [2021-09-16T11:09:15.927Z] make test [Pipeline] } [2021-09-16T11:09:15.957Z] $ docker stop --time=1 92137fde29304d700f951b1b65adb7da58f94d74ceca11ba4bb1037c40472464 [2021-09-16T11:09:15.999Z] -- Check for working C compiler: /usr/bin/cc - works [2021-09-16T11:09:15.999Z] -- Detecting C compiler ABI info [2021-09-16T11:09:16.281Z] -- Detecting C compiler ABI info - done [2021-09-16T11:09:16.281Z] -- Detecting C compile features [2021-09-16T11:09:16.281Z] -- Detecting C compile features - done [2021-09-16T11:09:16.281Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-09-16T11:09:16.556Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") [2021-09-16T11:09:16.556Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-09-16T11:09:16.556Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-09-16T11:09:16.556Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-09-16T11:09:16.556Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-09-16T11:09:16.556Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-09-16T11:09:16.556Z] -- C SDK 0.0.0 for Linux [2021-09-16T11:09:16.556Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-09-16T11:09:16.837Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-09-16T11:09:16.837Z] -- Found Curses: /usr/lib/libcurses.so [2021-09-16T11:09:17.108Z] -- Configuring done [2021-09-16T11:09:17.150Z] $ docker rm -f 92137fde29304d700f951b1b65adb7da58f94d74ceca11ba4bb1037c40472464 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [2021-09-16T11:09:17.383Z] -- Generating done [2021-09-16T11:09:17.383Z] -- Build files have been written to: /tmp/sdk/build/release [2021-09-16T11:09:17.383Z] + make all package [2021-09-16T11:09:17.383Z] + tee release.log [2021-09-16T11:09:17.383Z] Scanning dependencies of target csdk [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2021-09-16T11:09:17.653Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-09-16T11:09:18.245Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-09-16T11:09:18.840Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [Pipeline] sh [2021-09-16T11:09:20.053Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-09-16T11:09:20.385Z] + ls -al . [2021-09-16T11:09:20.385Z] total 172 [2021-09-16T11:09:20.385Z] drwxrwxr-x. 8 jenkins jenkins 4096 Sep 16 11:08 . [2021-09-16T11:09:20.385Z] drwxrwxr-x. 4 jenkins jenkins 28 Sep 16 11:08 .. [2021-09-16T11:09:20.385Z] -rw-rw-r--. 1 jenkins jenkins 3104 Sep 16 11:08 Attribution.txt [2021-09-16T11:09:20.385Z] -rw-rw-r--. 1 jenkins jenkins 7701 Sep 16 11:08 CHANGES [2021-09-16T11:09:20.385Z] drwxrwxr-x. 2 jenkins jenkins 121 Sep 16 11:08 docs [2021-09-16T11:09:20.385Z] -rw-rw-r--. 1 jenkins jenkins 108574 Sep 16 11:08 Doxyfile [2021-09-16T11:09:20.385Z] drwxrwxr-x. 8 jenkins jenkins 179 Sep 16 11:08 .git [2021-09-16T11:09:20.385Z] drwxrwxr-x. 2 jenkins jenkins 81 Sep 16 11:08 .github [2021-09-16T11:09:20.385Z] -rw-rw-r--. 1 jenkins jenkins 176 Sep 16 11:08 .gitignore [2021-09-16T11:09:20.385Z] -rw-rw-r--. 1 jenkins jenkins 677 Sep 16 11:08 GOVERNANCE.md [2021-09-16T11:09:20.385Z] drwxrwxr-x. 4 jenkins jenkins 33 Sep 16 11:08 include [2021-09-16T11:09:20.385Z] -rw-rw-r--. 1 jenkins jenkins 784 Sep 16 11:08 Jenkinsfile [2021-09-16T11:09:20.385Z] -rw-rw-r--. 1 jenkins jenkins 10174 Sep 16 11:08 LICENSE [2021-09-16T11:09:20.385Z] -rw-rw-r--. 1 jenkins jenkins 444 Sep 16 11:08 Makefile [2021-09-16T11:09:20.385Z] -rw-rw-r--. 1 jenkins jenkins 618 Sep 16 11:08 OWNERS.md [2021-09-16T11:09:20.385Z] -rw-rw-r--. 1 jenkins jenkins 4086 Sep 16 11:08 README.md [2021-09-16T11:09:20.385Z] -rw-rw-r--. 1 jenkins jenkins 7090 Sep 16 11:08 README.v2.md [2021-09-16T11:09:20.385Z] drwxrwxr-x. 2 jenkins jenkins 98 Sep 16 11:08 scripts [2021-09-16T11:09:20.385Z] drwxrwxr-x. 4 jenkins jenkins 50 Sep 16 11:08 src [2021-09-16T11:09:20.385Z] -rw-rw-r--. 1 jenkins jenkins 5 Sep 16 11:05 VERSION [Pipeline] isUnix [Pipeline] sh [2021-09-16T11:09:20.741Z] + 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=338e2053341470ada287baaf3fa9da8a04fcd32d --label arch=amd64 --label version=0.0.0 . [2021-09-16T11:09:20.741Z] Sending build context to Docker daemon 2.75MB [2021-09-16T11:09:20.741Z] Step 1/17 : ARG BASE=alpine:3.12 [2021-09-16T11:09:20.741Z] Step 2/17 : FROM ${BASE} [2021-09-16T11:09:20.741Z] ---> eac2074875a6 [2021-09-16T11:09:20.741Z] Step 3/17 : LABEL maintainer="IOTech " [2021-09-16T11:09:20.741Z] ---> Running in c4fe28848e5d [2021-09-16T11:09:20.806Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-09-16T11:09:21.008Z] Removing intermediate container c4fe28848e5d [2021-09-16T11:09:21.008Z] ---> 06bf90d63c91 [2021-09-16T11:09:21.008Z] 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-09-16T11:09:21.008Z] ---> Running in 7a7ed22ba4f2 [2021-09-16T11:09:21.274Z] --2021-09-16 11:09:21-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub [2021-09-16T11:09:21.274Z] Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.170.66.44, 54.229.110.245, 54.195.244.87 [2021-09-16T11:09:21.274Z] Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.170.66.44|:443... connected. [2021-09-16T11:09:21.400Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-09-16T11:09:21.400Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-09-16T11:09:21.543Z] HTTP request sent, awaiting response... 200 OK [2021-09-16T11:09:21.543Z] Length: 451 [application/octet-stream] [2021-09-16T11:09:21.543Z] Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-09-16T11:09:21.543Z]  [2021-09-16T11:09:21.543Z] 0K 100% 38.6M=0s [2021-09-16T11:09:21.543Z] [2021-09-16T11:09:21.543Z] 2021-09-16 11:09:21 (38.6 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] [2021-09-16T11:09:21.543Z] [2021-09-16T11:09:21.809Z] Removing intermediate container 7a7ed22ba4f2 [2021-09-16T11:09:21.809Z] ---> c204627e4ba4 [2021-09-16T11:09:21.809Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-09-16T11:09:21.809Z] ---> Running in 32d060180b7f [2021-09-16T11:09:22.376Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-09-16T11:09:22.391Z] Removing intermediate container 32d060180b7f [2021-09-16T11:09:22.391Z] ---> 3c767c068c8d [2021-09-16T11:09:22.391Z] 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-09-16T11:09:22.391Z] ---> Running in fe315b3e1cfe [2021-09-16T11:09:22.648Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-09-16T11:09:22.663Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-09-16T11:09:22.921Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-09-16T11:09:23.242Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-09-16T11:09:23.507Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz [2021-09-16T11:09:23.899Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-09-16T11:09:24.088Z] (1/16) Installing ncurses-dev (6.2_p20200523-r0) [2021-09-16T11:09:24.088Z] (2/16) Installing libblkid (2.35.2-r0) [2021-09-16T11:09:24.089Z] (3/16) Installing blkid (2.35.2-r0) [2021-09-16T11:09:24.354Z] (4/16) Installing libcap-ng (0.7.10-r1) [2021-09-16T11:09:24.354Z] (5/16) Installing setpriv (2.35.2-r0) [2021-09-16T11:09:24.354Z] (6/16) Installing libmount (2.35.2-r0) [2021-09-16T11:09:24.620Z] (7/16) Installing libsmartcols (2.35.2-r0) [2021-09-16T11:09:24.620Z] (8/16) Installing findmnt (2.35.2-r0) [2021-09-16T11:09:24.620Z] (9/16) Installing mcookie (2.35.2-r0) [2021-09-16T11:09:24.885Z] (10/16) Installing hexdump (2.35.2-r0) [2021-09-16T11:09:24.885Z] (11/16) Installing lsblk (2.35.2-r0) [2021-09-16T11:09:24.885Z] (12/16) Installing libfdisk (2.35.2-r0) [2021-09-16T11:09:25.151Z] (13/16) Installing sfdisk (2.35.2-r0) [2021-09-16T11:09:25.151Z] (14/16) Installing cfdisk (2.35.2-r0) [2021-09-16T11:09:25.151Z] (15/16) Installing util-linux (2.35.2-r0) [2021-09-16T11:09:25.737Z] (16/16) Installing util-linux-dev (2.35.2-r0) [2021-09-16T11:09:25.737Z] Executing busybox-1.31.1-r20.trigger [2021-09-16T11:09:25.737Z] OK: 295 MiB in 98 packages [2021-09-16T11:09:25.864Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-09-16T11:09:26.137Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-09-16T11:09:26.318Z] Removing intermediate container fe315b3e1cfe [2021-09-16T11:09:26.318Z] ---> cd8ce5b94e5e [2021-09-16T11:09:26.318Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2021-09-16T11:09:26.318Z] ---> b1e8eb23bcea [2021-09-16T11:09:26.318Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2021-09-16T11:09:26.585Z] ---> e13a328e0dba [2021-09-16T11:09:26.585Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2021-09-16T11:09:26.731Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-09-16T11:09:26.863Z] ---> 15141f393639 [2021-09-16T11:09:26.863Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2021-09-16T11:09:27.136Z] ---> 8b31792e86b3 [2021-09-16T11:09:27.136Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2021-09-16T11:09:27.136Z] ---> 64ecb2cf39a5 [2021-09-16T11:09:27.136Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2021-09-16T11:09:27.327Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-09-16T11:09:27.401Z] ---> 2a3cf8fe9a05 [2021-09-16T11:09:27.401Z] Step 13/17 : WORKDIR /edgex-c-sdk [2021-09-16T11:09:27.401Z] ---> Running in 86b275b127fa [2021-09-16T11:09:27.401Z] Removing intermediate container 86b275b127fa [2021-09-16T11:09:27.401Z] ---> 0c1daf39e18a [2021-09-16T11:09:27.401Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-09-16T11:09:27.401Z] ---> Running in 782bdbd853e6 [2021-09-16T11:09:27.668Z] Removing intermediate container 782bdbd853e6 [2021-09-16T11:09:27.668Z] ---> ac37e0967967 [2021-09-16T11:09:27.668Z] Step 15/17 : LABEL arch=amd64 [2021-09-16T11:09:27.668Z] ---> Running in 496a0829c09c [2021-09-16T11:09:27.668Z] Removing intermediate container 496a0829c09c [2021-09-16T11:09:27.668Z] ---> cf9259fa7c6d [2021-09-16T11:09:27.668Z] Step 16/17 : LABEL git_sha=338e2053341470ada287baaf3fa9da8a04fcd32d [2021-09-16T11:09:27.668Z] ---> Running in 131bbce4d506 [2021-09-16T11:09:27.668Z] Removing intermediate container 131bbce4d506 [2021-09-16T11:09:27.668Z] ---> 7fb3a3940775 [2021-09-16T11:09:27.668Z] Step 17/17 : LABEL version=0.0.0 [2021-09-16T11:09:27.668Z] ---> Running in 17f24587a1f2 [2021-09-16T11:09:27.921Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-09-16T11:09:27.921Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-09-16T11:09:27.933Z] Removing intermediate container 17f24587a1f2 [2021-09-16T11:09:27.933Z] ---> 8213923c5d3a [2021-09-16T11:09:27.933Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-09-16T11:09:27.933Z] Successfully built 8213923c5d3a [2021-09-16T11:09:27.933Z] Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [2021-09-16T11:09:28.195Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [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 Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-09-16T11:09:29.054Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-16T11:09:29.054Z] [2021-09-16T11:09:29.054Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-09-16T11:09:29.444Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-16T11:09:29.444Z] latest: Pulling from edgex-lftools-log-publisher [2021-09-16T11:09:29.444Z] b4d181a07f80: Pulling fs layer [2021-09-16T11:09:29.444Z] a1111a8f2ec3: Pulling fs layer [2021-09-16T11:09:29.444Z] ed53099fbce6: Pulling fs layer [2021-09-16T11:09:29.444Z] dc539afda2c1: Pulling fs layer [2021-09-16T11:09:29.444Z] 77bc0d833cb6: Pulling fs layer [2021-09-16T11:09:29.444Z] 9065ff56babe: Pulling fs layer [2021-09-16T11:09:29.444Z] d287ab97295c: Pulling fs layer [2021-09-16T11:09:29.444Z] 77bc0d833cb6: Waiting [2021-09-16T11:09:29.444Z] 9065ff56babe: Waiting [2021-09-16T11:09:29.444Z] d287ab97295c: Waiting [2021-09-16T11:09:29.444Z] dc539afda2c1: Waiting [2021-09-16T11:09:29.711Z] a1111a8f2ec3: Verifying Checksum [2021-09-16T11:09:29.711Z] a1111a8f2ec3: Download complete [2021-09-16T11:09:29.711Z] dc539afda2c1: Verifying Checksum [2021-09-16T11:09:29.711Z] dc539afda2c1: Download complete [2021-09-16T11:09:29.978Z] 77bc0d833cb6: Verifying Checksum [2021-09-16T11:09:29.978Z] 77bc0d833cb6: Download complete [2021-09-16T11:09:29.978Z] 9065ff56babe: Verifying Checksum [2021-09-16T11:09:29.978Z] 9065ff56babe: Download complete [2021-09-16T11:09:30.560Z] ed53099fbce6: Verifying Checksum [2021-09-16T11:09:30.560Z] ed53099fbce6: Download complete [2021-09-16T11:09:31.146Z] b4d181a07f80: Verifying Checksum [2021-09-16T11:09:31.146Z] b4d181a07f80: Download complete [2021-09-16T11:09:31.575Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-09-16T11:09:31.575Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-09-16T11:09:31.575Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-09-16T11:09:31.849Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-09-16T11:09:32.108Z] b4d181a07f80: Pull complete [2021-09-16T11:09:32.108Z] a1111a8f2ec3: Pull complete [2021-09-16T11:09:32.445Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-09-16T11:09:32.445Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2021-09-16T11:09:32.445Z] /tmp/sdk/src/c/iot/container.c:335:37: warning: unused variable 'factory' [-Wunused-variable] [2021-09-16T11:09:32.445Z] 335 | const iot_component_factory_t * factory; [2021-09-16T11:09:32.445Z] | ^~~~~~~ [2021-09-16T11:09:32.696Z] ed53099fbce6: Pull complete [2021-09-16T11:09:32.696Z] dc539afda2c1: Pull complete [2021-09-16T11:09:32.962Z] 77bc0d833cb6: Pull complete [2021-09-16T11:09:32.962Z] 9065ff56babe: Pull complete [2021-09-16T11:09:33.039Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-09-16T11:09:34.371Z] d287ab97295c: Verifying Checksum [2021-09-16T11:09:34.371Z] d287ab97295c: Download complete [2021-09-16T11:09:38.419Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-09-16T11:09:38.419Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-09-16T11:09:38.649Z] d287ab97295c: Pull complete [2021-09-16T11:09:38.649Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-09-16T11:09:38.649Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-16T11:09:38.649Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-09-16T11:09:38.690Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-09-16T11:09:38.758Z] prd-centos7-docker-4c-2g-357 does not seem to be running inside a container [2021-09-16T11:09:38.812Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-09-16T11:09:39.294Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-09-16T11:09:39.568Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-09-16T11:09:39.839Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-09-16T11:09:40.814Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-09-16T11:09:41.085Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-09-16T11:09:41.132Z] $ docker top b3627efe514b3d39786e0496c805d91f2e9975107cf29853c07fbb91526fd0db -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-09-16T11:09:41.676Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-09-16T11:09:41.845Z] ---> job-cost.sh [2021-09-16T11:09:41.845Z] lf-activate-venv: SKIPPING [2021-09-16T11:09:41.845Z] INFO: No Stack... [2021-09-16T11:09:41.948Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2021-09-16T11:09:42.220Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-09-16T11:09:43.251Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-09-16T11:09:43.522Z] INFO: Archiving Costs [Pipeline] sh [2021-09-16T11:09:43.884Z] + cat /w/workspace/device-sdk-c/1/archives/cost.csv [2021-09-16T11:09:43.884Z] + cut -d, -f6 [Pipeline] lock [2021-09-16T11:09:43.958Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-372-1-stack-cost] [2021-09-16T11:09:43.966Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-372-1-stack-cost] did not exist. Created. [2021-09-16T11:09:43.966Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-372-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-09-16T11:09:44.198Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-09-16T11:09:44.400Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-09-16T11:09:44.475Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-09-16T11:09:44.643Z] Stashed 1 file(s) [Pipeline] } [2021-09-16T11:09:44.664Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-372-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-09-16T11:09:44.745Z] $ docker stop --time=1 b3627efe514b3d39786e0496c805d91f2e9975107cf29853c07fbb91526fd0db [2021-09-16T11:09:45.458Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-09-16T11:09:45.729Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-09-16T11:09:45.892Z] $ docker rm -f b3627efe514b3d39786e0496c805d91f2e9975107cf29853c07fbb91526fd0db [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-09-16T11:09:50.016Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-09-16T11:09:50.296Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-09-16T11:09:50.890Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-09-16T11:09:51.164Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-09-16T11:09:52.139Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-09-16T11:09:54.108Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-09-16T11:09:54.108Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-09-16T11:09:54.380Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-09-16T11:09:54.653Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-09-16T11:09:57.262Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-09-16T11:10:00.640Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-09-16T11:10:00.640Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-09-16T11:10:01.238Z] [ 76%] Linking C shared library libcsdk.so [2021-09-16T11:10:01.514Z] [ 76%] Built target csdk [2021-09-16T11:10:01.514Z] Scanning dependencies of target template [2021-09-16T11:10:01.514Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-09-16T11:10:02.111Z] [ 79%] Linking C executable template [2021-09-16T11:10:02.413Z] [ 79%] Built target template [2021-09-16T11:10:02.413Z] Scanning dependencies of target device-counter [2021-09-16T11:10:02.413Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-09-16T11:10:03.011Z] [ 82%] Linking C executable device-counter [2021-09-16T11:10:03.011Z] [ 82%] Built target device-counter [2021-09-16T11:10:03.011Z] Scanning dependencies of target device-random [2021-09-16T11:10:03.011Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-09-16T11:10:03.603Z] [ 85%] Linking C executable device-random [2021-09-16T11:10:03.875Z] [ 85%] Built target device-random [2021-09-16T11:10:03.875Z] Scanning dependencies of target device-gyro [2021-09-16T11:10:03.875Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-09-16T11:10:04.147Z] [ 88%] Linking C executable device-gyro [2021-09-16T11:10:04.419Z] [ 88%] Built target device-gyro [2021-09-16T11:10:04.419Z] Scanning dependencies of target device-bitfields [2021-09-16T11:10:04.419Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-09-16T11:10:05.012Z] [ 91%] Linking C executable device-bitfields [2021-09-16T11:10:05.283Z] [ 91%] Built target device-bitfields [2021-09-16T11:10:05.283Z] Scanning dependencies of target template-discovery [2021-09-16T11:10:05.283Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-09-16T11:10:05.877Z] [ 94%] Linking C executable template-discovery [2021-09-16T11:10:06.150Z] [ 94%] Built target template-discovery [2021-09-16T11:10:06.150Z] Scanning dependencies of target device-file [2021-09-16T11:10:06.150Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-09-16T11:10:06.748Z] [ 97%] Linking C executable device-file [2021-09-16T11:10:07.020Z] [ 97%] Built target device-file [2021-09-16T11:10:07.020Z] Scanning dependencies of target device-terminal [2021-09-16T11:10:07.297Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-09-16T11:10:07.569Z] [100%] Linking C executable device-terminal [2021-09-16T11:10:07.842Z] [100%] Built target device-terminal [2021-09-16T11:10:07.842Z] Run CPack packaging tool... [2021-09-16T11:10:08.117Z] CPack: Create package using TGZ [2021-09-16T11:10:08.117Z] CPack: Install projects [2021-09-16T11:10:08.117Z] CPack: - Run preinstall target for: Csdk [2021-09-16T11:10:08.388Z] CPack: - Install project: Csdk [] [2021-09-16T11:10:08.660Z] CPack: Create package [2021-09-16T11:10:08.660Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-09-16T11:10:08.660Z] + '[' false '=' true ] [2021-09-16T11:10:08.660Z] + '[' false '=' true ] [2021-09-16T11:10:08.660Z] + mkdir -p /tmp/sdk/build/debug [2021-09-16T11:10:08.660Z] + cd /tmp/sdk/build/debug [2021-09-16T11:10:08.660Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-09-16T11:10:08.932Z] -- The C compiler identification is GNU 9.3.0 [2021-09-16T11:10:08.932Z] -- Check for working C compiler: /usr/bin/cc [2021-09-16T11:10:09.210Z] -- Check for working C compiler: /usr/bin/cc - works [2021-09-16T11:10:09.210Z] -- Detecting C compiler ABI info [2021-09-16T11:10:09.481Z] -- Detecting C compiler ABI info - done [2021-09-16T11:10:09.752Z] -- Detecting C compile features [2021-09-16T11:10:09.752Z] -- Detecting C compile features - done [2021-09-16T11:10:09.752Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-09-16T11:10:09.752Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") [2021-09-16T11:10:09.752Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-09-16T11:10:09.752Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-09-16T11:10:09.752Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-09-16T11:10:09.752Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-09-16T11:10:10.024Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-09-16T11:10:10.024Z] -- C SDK 0.0.0 for Linux [2021-09-16T11:10:10.024Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-09-16T11:10:10.024Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-09-16T11:10:10.301Z] -- Found Curses: /usr/lib/libcurses.so [2021-09-16T11:10:10.301Z] -- Configuring done [2021-09-16T11:10:10.575Z] -- Generating done [2021-09-16T11:10:10.575Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-09-16T11:10:10.849Z] + make [2021-09-16T11:10:10.849Z] + tee debug.log [2021-09-16T11:10:10.850Z] Scanning dependencies of target csdk [2021-09-16T11:10:11.123Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-09-16T11:10:11.399Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-09-16T11:10:11.673Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-09-16T11:10:12.266Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-09-16T11:10:12.541Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-09-16T11:10:12.541Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-09-16T11:10:13.146Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-09-16T11:10:13.146Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-09-16T11:10:13.420Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-09-16T11:10:14.012Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-09-16T11:10:14.285Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-09-16T11:10:14.562Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-09-16T11:10:15.161Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-09-16T11:10:15.471Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-09-16T11:10:15.770Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-09-16T11:10:15.770Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-09-16T11:10:16.071Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-09-16T11:10:17.135Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-09-16T11:10:17.135Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-09-16T11:10:17.412Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-09-16T11:10:17.703Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-09-16T11:10:17.992Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-09-16T11:10:17.992Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2021-09-16T11:10:17.992Z] /tmp/sdk/src/c/iot/container.c:335:37: warning: unused variable 'factory' [-Wunused-variable] [2021-09-16T11:10:17.992Z] 335 | const iot_component_factory_t * factory; [2021-09-16T11:10:17.992Z] | ^~~~~~~ [2021-09-16T11:10:18.287Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-09-16T11:10:19.776Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-09-16T11:10:19.776Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-09-16T11:10:20.084Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-09-16T11:10:20.084Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-09-16T11:10:20.366Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-09-16T11:10:20.647Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-09-16T11:10:20.921Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-09-16T11:10:21.197Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-09-16T11:10:21.470Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-09-16T11:10:21.755Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2021-09-16T11:10:21.755Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-09-16T11:10:22.353Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-09-16T11:10:22.353Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-09-16T11:10:22.947Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-09-16T11:10:22.947Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-09-16T11:10:23.923Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-09-16T11:10:24.194Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-09-16T11:10:24.467Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-09-16T11:10:24.739Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-09-16T11:10:25.011Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-09-16T11:10:25.984Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-09-16T11:10:26.254Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-09-16T11:10:26.527Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-09-16T11:10:26.527Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-09-16T11:10:27.121Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-09-16T11:10:28.097Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-09-16T11:10:28.097Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-09-16T11:10:28.368Z] [ 76%] Linking C shared library libcsdk.so [2021-09-16T11:10:28.640Z] [ 76%] Built target csdk [2021-09-16T11:10:28.640Z] Scanning dependencies of target template [2021-09-16T11:10:28.640Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-09-16T11:10:28.912Z] [ 79%] Linking C executable template [2021-09-16T11:10:29.186Z] [ 79%] Built target template [2021-09-16T11:10:29.186Z] Scanning dependencies of target device-counter [2021-09-16T11:10:29.186Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-09-16T11:10:29.473Z] [ 82%] Linking C executable device-counter [2021-09-16T11:10:29.743Z] [ 82%] Built target device-counter [2021-09-16T11:10:29.743Z] Scanning dependencies of target device-random [2021-09-16T11:10:29.743Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-09-16T11:10:30.014Z] [ 85%] Linking C executable device-random [2021-09-16T11:10:30.284Z] [ 85%] Built target device-random [2021-09-16T11:10:30.284Z] Scanning dependencies of target device-gyro [2021-09-16T11:10:30.284Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-09-16T11:10:30.555Z] [ 88%] Linking C executable device-gyro [2021-09-16T11:10:30.828Z] [ 88%] Built target device-gyro [2021-09-16T11:10:30.828Z] Scanning dependencies of target device-bitfields [2021-09-16T11:10:30.828Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-09-16T11:10:31.098Z] [ 91%] Linking C executable device-bitfields [2021-09-16T11:10:31.371Z] [ 91%] Built target device-bitfields [2021-09-16T11:10:31.371Z] Scanning dependencies of target template-discovery [2021-09-16T11:10:31.371Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-09-16T11:10:31.642Z] [ 94%] Linking C executable template-discovery [2021-09-16T11:10:31.916Z] [ 94%] Built target template-discovery [2021-09-16T11:10:31.916Z] Scanning dependencies of target device-file [2021-09-16T11:10:31.916Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-09-16T11:10:32.188Z] [ 97%] Linking C executable device-file [2021-09-16T11:10:32.460Z] [ 97%] Built target device-file [2021-09-16T11:10:32.460Z] Scanning dependencies of target device-terminal [2021-09-16T11:10:32.460Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-09-16T11:10:32.732Z] [100%] Linking C executable device-terminal [2021-09-16T11:10:33.005Z] [100%] Built target device-terminal [2021-09-16T11:10:33.005Z] make: Entering directory '/tmp/sdk/build/release' [2021-09-16T11:10:33.005Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-09-16T11:10:33.005Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-09-16T11:10:33.005Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-09-16T11:10:33.277Z] [ 76%] Built target csdk [2021-09-16T11:10:33.277Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-09-16T11:10:33.277Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-09-16T11:10:33.277Z] [ 79%] Built target template [2021-09-16T11:10:33.277Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-09-16T11:10:33.277Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-09-16T11:10:33.277Z] [ 82%] Built target device-counter [2021-09-16T11:10:33.277Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-09-16T11:10:33.277Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-09-16T11:10:33.277Z] [ 85%] Built target device-random [2021-09-16T11:10:33.277Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-09-16T11:10:33.277Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-09-16T11:10:33.277Z] [ 88%] Built target device-gyro [2021-09-16T11:10:33.277Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-09-16T11:10:33.277Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-09-16T11:10:33.277Z] [ 91%] Built target device-bitfields [2021-09-16T11:10:33.277Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-09-16T11:10:33.277Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-09-16T11:10:33.277Z] [ 94%] Built target template-discovery [2021-09-16T11:10:33.277Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-09-16T11:10:33.277Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-09-16T11:10:33.277Z] [ 97%] Built target device-file [2021-09-16T11:10:33.277Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-09-16T11:10:33.547Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-09-16T11:10:33.547Z] [100%] Built target device-terminal [2021-09-16T11:10:33.547Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-09-16T11:10:33.547Z] Install the project... [2021-09-16T11:10:33.547Z] -- Install configuration: "Release" [2021-09-16T11:10:33.547Z] -- Installing: /usr/local/lib/libcsdk.so [2021-09-16T11:10:33.547Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-09-16T11:10:33.547Z] -- Up-to-date: /usr/local/include [2021-09-16T11:10:33.547Z] -- Installing: /usr/local/include/edgex [2021-09-16T11:10:33.547Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-09-16T11:10:33.547Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-09-16T11:10:33.547Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-09-16T11:10:33.547Z] -- Installing: /usr/local/include/edgex/devices.h [2021-09-16T11:10:33.547Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-09-16T11:10:33.547Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-09-16T11:10:33.547Z] -- Installing: /usr/local/include/devsdk [2021-09-16T11:10:33.547Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-09-16T11:10:33.547Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-09-16T11:10:33.547Z] -- Installing: /usr/local/include/iot [2021-09-16T11:10:33.547Z] -- Installing: /usr/local/include/iot/json.h [2021-09-16T11:10:33.547Z] -- Installing: /usr/local/include/iot/container.h [2021-09-16T11:10:33.547Z] -- Installing: /usr/local/include/iot/component.h [2021-09-16T11:10:33.547Z] -- Installing: /usr/local/include/iot/typecode.h [2021-09-16T11:10:33.547Z] -- Installing: /usr/local/include/iot/iot.h [2021-09-16T11:10:33.547Z] -- Installing: /usr/local/include/iot/uuid.h [2021-09-16T11:10:33.547Z] -- Installing: /usr/local/include/iot/time.h [2021-09-16T11:10:33.547Z] -- Installing: /usr/local/include/iot/hash.h [2021-09-16T11:10:33.548Z] -- Installing: /usr/local/include/iot/logger.h [2021-09-16T11:10:33.548Z] -- Installing: /usr/local/include/iot/os [2021-09-16T11:10:33.548Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-09-16T11:10:33.548Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-09-16T11:10:33.548Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-09-16T11:10:33.548Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-09-16T11:10:33.548Z] -- Installing: /usr/local/include/iot/data.h [2021-09-16T11:10:33.548Z] -- Installing: /usr/local/include/iot/thread.h [2021-09-16T11:10:33.548Z] -- Installing: /usr/local/include/iot/os.h [2021-09-16T11:10:33.548Z] -- Installing: /usr/local/include/iot/base64.h [2021-09-16T11:10:33.548Z] -- Installing: /usr/local/include/iot/defs.h [2021-09-16T11:10:33.548Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-09-16T11:10:33.548Z] -- Installing: /usr/local/include/iot/config.h [2021-09-16T11:10:33.548Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-09-16T11:10:33.548Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-09-16T11:10:33.548Z] make: Leaving directory '/tmp/sdk/build/release' [2021-09-16T11:10:35.519Z] Removing intermediate container 40b8317f818b [2021-09-16T11:10:35.519Z] ---> 7a52fec9bd7c [2021-09-16T11:10:35.519Z] Step 16/25 : FROM ${BASE} [2021-09-16T11:10:35.519Z] ---> 759262b18b23 [2021-09-16T11:10:35.519Z] Step 17/25 : LABEL maintainer="IOTech " [2021-09-16T11:10:35.787Z] ---> Running in bdfb1a4ba515 [2021-09-16T11:10:36.059Z] Removing intermediate container bdfb1a4ba515 [2021-09-16T11:10:36.059Z] ---> ead23220a7bb [2021-09-16T11:10:36.059Z] 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-09-16T11:10:36.332Z] ---> Running in 2b860abde1c8 [2021-09-16T11:10:37.758Z] Connecting to iotech.jfrog.io (54.170.66.44:443) [2021-09-16T11:10:38.031Z] saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-09-16T11:10:38.031Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-09-16T11:10:38.031Z] '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [2021-09-16T11:10:39.009Z] Removing intermediate container 2b860abde1c8 [2021-09-16T11:10:39.009Z] ---> 035c73eed18e [2021-09-16T11:10:39.009Z] Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-09-16T11:10:39.282Z] ---> Running in 1ca8889ba078 [2021-09-16T11:10:41.250Z] Removing intermediate container 1ca8889ba078 [2021-09-16T11:10:41.250Z] ---> b23f3499f3ea [2021-09-16T11:10:41.250Z] 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-09-16T11:10:41.250Z] ---> Running in 412c9925c0d6 [2021-09-16T11:10:42.679Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-09-16T11:10:43.271Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-09-16T11:10:43.541Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz [2021-09-16T11:10:44.516Z] (1/7) Installing curl (7.79.0-r0) [2021-09-16T11:10:44.516Z] (2/7) Installing hiredis (0.14.1-r0) [2021-09-16T11:10:44.516Z] (3/7) Installing hiredis-dev (0.14.1-r0) [2021-09-16T11:10:44.516Z] (4/7) Installing libuuid (2.35.2-r0) [2021-09-16T11:10:44.516Z] (5/7) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-09-16T11:10:45.938Z] (6/7) Installing libidn2 (2.3.0-r0) [2021-09-16T11:10:46.207Z] (7/7) Installing wget (1.20.3-r1) [2021-09-16T11:10:46.477Z] Executing busybox-1.31.1-r20.trigger [2021-09-16T11:10:46.477Z] OK: 267 MiB in 82 packages [2021-09-16T11:10:47.455Z] Removing intermediate container 412c9925c0d6 [2021-09-16T11:10:47.455Z] ---> 14e4062acc32 [2021-09-16T11:10:47.455Z] Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-09-16T11:10:48.429Z] ---> 06f2c097f9a5 [2021-09-16T11:10:48.429Z] Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-09-16T11:10:49.412Z] ---> b9ccefb55146 [2021-09-16T11:10:49.412Z] Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-09-16T11:10:50.001Z] ---> 91962b86ca1f [2021-09-16T11:10:50.001Z] Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-09-16T11:10:50.979Z] ---> 7b9c804e52cf [2021-09-16T11:10:50.979Z] Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-09-16T11:10:51.569Z] ---> 76e436038d7b [2021-09-16T11:10:51.569Z] Successfully built 76e436038d7b [2021-09-16T11:10:51.569Z] 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-09-16T11:10:52.312Z] + docker inspect -f . ci-base-image-arm64 [2021-09-16T11:10:52.312Z] . [Pipeline] withDockerContainer [2021-09-16T11:10:52.592Z] prd-ubuntu18.04-docker-arm64-4c-16g-356 does not seem to be running inside a container [2021-09-16T11:10:52.667Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-09-16T11:10:54.380Z] $ docker top c9679620d5efbaac0eb307d1c93372200707fc11fe5bd4b50acb0bb6c12e3a11 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-09-16T11:10:55.402Z] + make test [2021-09-16T11:10:55.402Z] echo "make test" [2021-09-16T11:10:55.402Z] make test [Pipeline] } [2021-09-16T11:10:55.429Z] $ docker stop --time=1 c9679620d5efbaac0eb307d1c93372200707fc11fe5bd4b50acb0bb6c12e3a11 [2021-09-16T11:10:57.328Z] $ docker rm -f c9679620d5efbaac0eb307d1c93372200707fc11fe5bd4b50acb0bb6c12e3a11 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-09-16T11:10:58.302Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-09-16T11:10:58.664Z] + ls -al . [2021-09-16T11:10:58.664Z] total 200 [2021-09-16T11:10:58.664Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 16 11:07 . [2021-09-16T11:10:58.664Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 16 11:07 .. [2021-09-16T11:10:58.664Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 16 11:08 .git [2021-09-16T11:10:58.664Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 16 11:07 .github [2021-09-16T11:10:58.664Z] -rw-rw-r-- 1 jenkins jenkins 176 Sep 16 11:07 .gitignore [2021-09-16T11:10:58.664Z] -rw-rw-r-- 1 jenkins jenkins 3104 Sep 16 11:07 Attribution.txt [2021-09-16T11:10:58.664Z] -rw-rw-r-- 1 jenkins jenkins 7701 Sep 16 11:07 CHANGES [2021-09-16T11:10:58.664Z] -rw-rw-r-- 1 jenkins jenkins 108574 Sep 16 11:07 Doxyfile [2021-09-16T11:10:58.664Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 16 11:07 GOVERNANCE.md [2021-09-16T11:10:58.664Z] -rw-rw-r-- 1 jenkins jenkins 784 Sep 16 11:07 Jenkinsfile [2021-09-16T11:10:58.664Z] -rw-rw-r-- 1 jenkins jenkins 10174 Sep 16 11:07 LICENSE [2021-09-16T11:10:58.664Z] -rw-rw-r-- 1 jenkins jenkins 444 Sep 16 11:07 Makefile [2021-09-16T11:10:58.664Z] -rw-rw-r-- 1 jenkins jenkins 618 Sep 16 11:07 OWNERS.md [2021-09-16T11:10:58.664Z] -rw-rw-r-- 1 jenkins jenkins 4086 Sep 16 11:07 README.md [2021-09-16T11:10:58.664Z] -rw-rw-r-- 1 jenkins jenkins 7090 Sep 16 11:07 README.v2.md [2021-09-16T11:10:58.664Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 16 11:05 VERSION [2021-09-16T11:10:58.664Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 16 11:07 docs [2021-09-16T11:10:58.664Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 16 11:07 include [2021-09-16T11:10:58.664Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 16 11:07 scripts [2021-09-16T11:10:58.664Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 16 11:07 src [Pipeline] isUnix [Pipeline] sh [2021-09-16T11:10:59.036Z] + 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=338e2053341470ada287baaf3fa9da8a04fcd32d --label arch=arm64 --label version=0.0.0 . [2021-09-16T11:10:59.639Z] Sending build context to Docker daemon 2.749MB [2021-09-16T11:10:59.639Z] Step 1/17 : ARG BASE=alpine:3.12 [2021-09-16T11:10:59.639Z] Step 2/17 : FROM ${BASE} [2021-09-16T11:10:59.639Z] ---> 76e436038d7b [2021-09-16T11:10:59.639Z] Step 3/17 : LABEL maintainer="IOTech " [2021-09-16T11:10:59.639Z] ---> Running in c6a6fa9fd7f7 [2021-09-16T11:11:00.241Z] Removing intermediate container c6a6fa9fd7f7 [2021-09-16T11:11:00.241Z] ---> 3a15286eb1f2 [2021-09-16T11:11:00.241Z] 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-09-16T11:11:00.534Z] ---> Running in 01e3805cdee4 [2021-09-16T11:11:01.508Z] --2021-09-16 11:11:01-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub [2021-09-16T11:11:01.508Z] Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.195.244.87, 54.170.66.44, 54.229.110.245 [2021-09-16T11:11:01.781Z] Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.195.244.87|:443... connected. [2021-09-16T11:11:02.055Z] HTTP request sent, awaiting response... 200 OK [2021-09-16T11:11:02.055Z] Length: 451 [application/octet-stream] [2021-09-16T11:11:02.055Z] Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-09-16T11:11:02.055Z]  [2021-09-16T11:11:02.055Z] 0K 100% 17.6M=0s [2021-09-16T11:11:02.055Z] [2021-09-16T11:11:02.055Z] 2021-09-16 11:11:01 (17.6 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] [2021-09-16T11:11:02.055Z] [2021-09-16T11:11:03.032Z] Removing intermediate container 01e3805cdee4 [2021-09-16T11:11:03.032Z] ---> b3e652df9aa7 [2021-09-16T11:11:03.032Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-09-16T11:11:03.032Z] ---> Running in 057dec4be3f0 [2021-09-16T11:11:05.004Z] Removing intermediate container 057dec4be3f0 [2021-09-16T11:11:05.004Z] ---> 65e3facdc2f0 [2021-09-16T11:11:05.004Z] 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-09-16T11:11:05.275Z] ---> Running in 724c3ccdee8f [2021-09-16T11:11:06.710Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-09-16T11:11:07.303Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-09-16T11:11:07.574Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz [2021-09-16T11:11:08.164Z] (1/16) Installing ncurses-dev (6.2_p20200523-r0) [2021-09-16T11:11:08.435Z] (2/16) Installing libblkid (2.35.2-r0) [2021-09-16T11:11:08.435Z] (3/16) Installing blkid (2.35.2-r0) [2021-09-16T11:11:08.708Z] (4/16) Installing libcap-ng (0.7.10-r1) [2021-09-16T11:11:08.708Z] (5/16) Installing setpriv (2.35.2-r0) [2021-09-16T11:11:08.708Z] (6/16) Installing libmount (2.35.2-r0) [2021-09-16T11:11:08.978Z] (7/16) Installing libsmartcols (2.35.2-r0) [2021-09-16T11:11:08.978Z] (8/16) Installing findmnt (2.35.2-r0) [2021-09-16T11:11:08.978Z] (9/16) Installing mcookie (2.35.2-r0) [2021-09-16T11:11:08.978Z] (10/16) Installing hexdump (2.35.2-r0) [2021-09-16T11:11:09.247Z] (11/16) Installing lsblk (2.35.2-r0) [2021-09-16T11:11:09.247Z] (12/16) Installing libfdisk (2.35.2-r0) [2021-09-16T11:11:09.247Z] (13/16) Installing sfdisk (2.35.2-r0) [2021-09-16T11:11:09.527Z] (14/16) Installing cfdisk (2.35.2-r0) [2021-09-16T11:11:09.527Z] (15/16) Installing util-linux (2.35.2-r0) [2021-09-16T11:11:09.797Z] (16/16) Installing util-linux-dev (2.35.2-r0) [2021-09-16T11:11:10.069Z] Executing busybox-1.31.1-r20.trigger [2021-09-16T11:11:10.344Z] OK: 276 MiB in 98 packages [2021-09-16T11:11:11.771Z] Removing intermediate container 724c3ccdee8f [2021-09-16T11:11:11.771Z] ---> 2ee9fe195942 [2021-09-16T11:11:11.771Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2021-09-16T11:11:12.750Z] ---> af8e7562b4c5 [2021-09-16T11:11:12.750Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2021-09-16T11:11:13.725Z] ---> 733b9058721e [2021-09-16T11:11:13.725Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2021-09-16T11:11:14.319Z] ---> 61a0f9fb6766 [2021-09-16T11:11:14.319Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2021-09-16T11:11:15.298Z] ---> d9fa0eab7f64 [2021-09-16T11:11:15.298Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2021-09-16T11:11:15.892Z] ---> 04409151ea3e [2021-09-16T11:11:15.892Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2021-09-16T11:11:16.870Z] ---> 702c574ba165 [2021-09-16T11:11:16.870Z] Step 13/17 : WORKDIR /edgex-c-sdk [2021-09-16T11:11:16.870Z] ---> Running in 1935628ca1cd [2021-09-16T11:11:17.463Z] Removing intermediate container 1935628ca1cd [2021-09-16T11:11:17.463Z] ---> ae8852b6faf2 [2021-09-16T11:11:17.463Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-09-16T11:11:17.463Z] ---> Running in 3114015f112b [2021-09-16T11:11:18.056Z] Removing intermediate container 3114015f112b [2021-09-16T11:11:18.056Z] ---> b3c1c47610ac [2021-09-16T11:11:18.057Z] Step 15/17 : LABEL arch=arm64 [2021-09-16T11:11:18.057Z] ---> Running in c2167016275c [2021-09-16T11:11:18.649Z] Removing intermediate container c2167016275c [2021-09-16T11:11:18.649Z] ---> 54576bc3b677 [2021-09-16T11:11:18.649Z] Step 16/17 : LABEL git_sha=338e2053341470ada287baaf3fa9da8a04fcd32d [2021-09-16T11:11:18.649Z] ---> Running in be6f0586cf84 [2021-09-16T11:11:19.243Z] Removing intermediate container be6f0586cf84 [2021-09-16T11:11:19.243Z] ---> a2adb1f53c31 [2021-09-16T11:11:19.243Z] Step 17/17 : LABEL version=0.0.0 [2021-09-16T11:11:19.515Z] ---> Running in 9ba6060e42d4 [2021-09-16T11:11:19.785Z] Removing intermediate container 9ba6060e42d4 [2021-09-16T11:11:19.785Z] ---> c93156c5e859 [2021-09-16T11:11:19.785Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-09-16T11:11:19.785Z] Successfully built c93156c5e859 [2021-09-16T11:11:20.056Z] 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 Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-09-16T11:11:21.183Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-09-16T11:11:21.183Z] [2021-09-16T11:11:21.183Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-09-16T11:11:21.892Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-09-16T11:11:22.165Z] arm64: Pulling from edgex-lftools-log-publisher [2021-09-16T11:11:22.165Z] 448f6bf000e3: Pulling fs layer [2021-09-16T11:11:22.165Z] f757da607395: Pulling fs layer [2021-09-16T11:11:22.165Z] 05883995daec: Pulling fs layer [2021-09-16T11:11:22.165Z] 8603b9c90790: Pulling fs layer [2021-09-16T11:11:22.165Z] 1560dd03e051: Pulling fs layer [2021-09-16T11:11:22.165Z] 27f5ce0e4adf: Pulling fs layer [2021-09-16T11:11:22.165Z] c2d8d7efcc4b: Pulling fs layer [2021-09-16T11:11:22.165Z] 8603b9c90790: Waiting [2021-09-16T11:11:22.165Z] 1560dd03e051: Waiting [2021-09-16T11:11:22.165Z] c2d8d7efcc4b: Waiting [2021-09-16T11:11:22.165Z] 27f5ce0e4adf: Waiting [2021-09-16T11:11:22.763Z] f757da607395: Verifying Checksum [2021-09-16T11:11:22.763Z] f757da607395: Download complete [2021-09-16T11:11:22.763Z] 05883995daec: Verifying Checksum [2021-09-16T11:11:22.763Z] 05883995daec: Download complete [2021-09-16T11:11:22.763Z] 8603b9c90790: Download complete [2021-09-16T11:11:22.763Z] 27f5ce0e4adf: Verifying Checksum [2021-09-16T11:11:22.763Z] 27f5ce0e4adf: Download complete [2021-09-16T11:11:23.034Z] 1560dd03e051: Verifying Checksum [2021-09-16T11:11:24.008Z] 448f6bf000e3: Verifying Checksum [2021-09-16T11:11:24.008Z] 448f6bf000e3: Download complete [2021-09-16T11:11:27.394Z] c2d8d7efcc4b: Verifying Checksum [2021-09-16T11:11:27.394Z] c2d8d7efcc4b: Download complete [2021-09-16T11:11:27.394Z] 448f6bf000e3: Pull complete [2021-09-16T11:11:27.988Z] f757da607395: Pull complete [2021-09-16T11:11:29.425Z] 05883995daec: Pull complete [2021-09-16T11:11:30.021Z] 8603b9c90790: Pull complete [2021-09-16T11:11:31.002Z] 1560dd03e051: Pull complete [2021-09-16T11:11:31.274Z] 27f5ce0e4adf: Pull complete [2021-09-16T11:11:46.358Z] c2d8d7efcc4b: Pull complete [2021-09-16T11:11:46.358Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-09-16T11:11:46.358Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-09-16T11:11:46.358Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-09-16T11:11:46.641Z] prd-ubuntu18.04-docker-arm64-4c-16g-356 does not seem to be running inside a container [2021-09-16T11:11:46.720Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-09-16T11:11:51.068Z] $ docker top 6d6846bf0170be6fdff26965a1ebd9e132077d6265306211d375b3f1795c835a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-09-16T11:11:52.327Z] ---> job-cost.sh [2021-09-16T11:11:52.327Z] lf-activate-venv: SKIPPING [2021-09-16T11:11:52.327Z] INFO: No Stack... [2021-09-16T11:11:53.307Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-09-16T11:11:53.582Z] INFO: Archiving Costs [Pipeline] sh [2021-09-16T11:11:54.317Z] + cat /w/workspace/device-sdk-c/1/archives/cost.csv [2021-09-16T11:11:54.317Z] + cut -d, -f6 [Pipeline] lock [2021-09-16T11:11:54.420Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-372-1-stack-cost] [2021-09-16T11:11:54.427Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-372-1-stack-cost] did not exist. Created. [2021-09-16T11:11:54.427Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-372-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-09-16T11:11:55.186Z] /w/workspace/device-sdk-c/1@tmp/durable-177c2a9b/script.sh: 1: /w/workspace/device-sdk-c/1@tmp/durable-177c2a9b/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-09-16T11:11:55.884Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-09-16T11:11:55.935Z] Warning: overwriting stash ‘stack-cost’ [2021-09-16T11:11:56.516Z] Stashed 1 file(s) [Pipeline] } [2021-09-16T11:11:56.540Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-372-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-09-16T11:11:56.614Z] $ docker stop --time=1 6d6846bf0170be6fdff26965a1ebd9e132077d6265306211d375b3f1795c835a [2021-09-16T11:11:58.233Z] $ docker rm -f 6d6846bf0170be6fdff26965a1ebd9e132077d6265306211d375b3f1795c835a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [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] sh [2021-09-16T11:12:00.597Z] + '[' -d /w/workspace/edgexfoundry_device-sdk-c_PR-372/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-09-16T11:12:00.961Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-16T11:12:01.595Z] ---> package-listing.sh [2021-09-16T11:12:01.595Z] ++ facter osfamily [2021-09-16T11:12:01.595Z] ++ tr '[:upper:]' '[:lower:]' [2021-09-16T11:12:01.861Z] + OS_FAMILY=redhat [2021-09-16T11:12:01.861Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-372 [2021-09-16T11:12:01.861Z] + START_PACKAGES=/tmp/packages_start.txt [2021-09-16T11:12:01.861Z] + END_PACKAGES=/tmp/packages_end.txt [2021-09-16T11:12:01.861Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-09-16T11:12:01.861Z] + PACKAGES=/tmp/packages_start.txt [2021-09-16T11:12:01.861Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-372 ']' [2021-09-16T11:12:01.861Z] + PACKAGES=/tmp/packages_end.txt [2021-09-16T11:12:01.861Z] + case "${OS_FAMILY}" in [2021-09-16T11:12:01.861Z] + rpm -qa [2021-09-16T11:12:01.861Z] + sort [2021-09-16T11:12:02.441Z] + '[' -f /tmp/packages_start.txt ']' [2021-09-16T11:12:02.441Z] + '[' -f /tmp/packages_end.txt ']' [2021-09-16T11:12:02.441Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-09-16T11:12:02.441Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-372 ']' [2021-09-16T11:12:02.441Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-372/archives/ [2021-09-16T11:12:02.441Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-372/archives/ [Pipeline] echo [2021-09-16T11:12:02.482Z] 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-372/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-09-16T11:12:02.836Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-09-16T11:12:03.452Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-16T11:12:03.452Z] [2021-09-16T11:12:03.452Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-09-16T11:12:03.825Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-16T11:12:03.825Z] latest: Pulling from edgex-lftools-log-publisher [2021-09-16T11:12:03.825Z] b4d181a07f80: Pulling fs layer [2021-09-16T11:12:03.825Z] a1111a8f2ec3: Pulling fs layer [2021-09-16T11:12:03.825Z] ed53099fbce6: Pulling fs layer [2021-09-16T11:12:03.825Z] dc539afda2c1: Pulling fs layer [2021-09-16T11:12:03.825Z] 77bc0d833cb6: Pulling fs layer [2021-09-16T11:12:03.825Z] 9065ff56babe: Pulling fs layer [2021-09-16T11:12:03.825Z] d287ab97295c: Pulling fs layer [2021-09-16T11:12:03.825Z] dc539afda2c1: Waiting [2021-09-16T11:12:03.825Z] 77bc0d833cb6: Waiting [2021-09-16T11:12:03.825Z] 9065ff56babe: Waiting [2021-09-16T11:12:03.825Z] d287ab97295c: Waiting [2021-09-16T11:12:04.091Z] a1111a8f2ec3: Verifying Checksum [2021-09-16T11:12:04.091Z] a1111a8f2ec3: Download complete [2021-09-16T11:12:04.091Z] dc539afda2c1: Verifying Checksum [2021-09-16T11:12:04.091Z] dc539afda2c1: Download complete [2021-09-16T11:12:04.355Z] 77bc0d833cb6: Verifying Checksum [2021-09-16T11:12:04.355Z] 77bc0d833cb6: Download complete [2021-09-16T11:12:04.355Z] 9065ff56babe: Verifying Checksum [2021-09-16T11:12:04.355Z] 9065ff56babe: Download complete [2021-09-16T11:12:04.355Z] ed53099fbce6: Verifying Checksum [2021-09-16T11:12:04.355Z] ed53099fbce6: Download complete [2021-09-16T11:12:05.311Z] b4d181a07f80: Verifying Checksum [2021-09-16T11:12:05.311Z] b4d181a07f80: Download complete [2021-09-16T11:12:06.287Z] b4d181a07f80: Pull complete [2021-09-16T11:12:06.555Z] a1111a8f2ec3: Pull complete [2021-09-16T11:12:07.136Z] ed53099fbce6: Pull complete [2021-09-16T11:12:07.136Z] dc539afda2c1: Pull complete [2021-09-16T11:12:07.401Z] 77bc0d833cb6: Pull complete [2021-09-16T11:12:07.401Z] 9065ff56babe: Pull complete [2021-09-16T11:12:08.809Z] d287ab97295c: Verifying Checksum [2021-09-16T11:12:08.809Z] d287ab97295c: Download complete [2021-09-16T11:12:13.088Z] d287ab97295c: Pull complete [2021-09-16T11:12:13.088Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-09-16T11:12:13.088Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-16T11:12:13.088Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-09-16T11:12:13.241Z] prd-centos7-docker-4c-2g-355 does not seem to be running inside a container [2021-09-16T11:12:13.290Z] $ 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-372/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-372 -v /w/workspace/edgexfoundry_device-sdk-c_PR-372:/w/workspace/edgexfoundry_device-sdk-c_PR-372:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-372@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-372@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-09-16T11:12:15.545Z] $ docker top 15d7b5f380330a5356b2145325e96d2c86aca19855e3e4d9063b2f84a1b15144 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-09-16T11:12:16.014Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-09-16T11:12:16.352Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-09-16T11:12:16.695Z] + ls /var/log/sa-host [2021-09-16T11:12:16.695Z] + sadf -c /var/log/sa-host/sa05 [2021-09-16T11:12:16.695Z] file_magic: OK [2021-09-16T11:12:16.695Z] HZ: Using current value: 100 [2021-09-16T11:12:16.695Z] file_header: OK [2021-09-16T11:12:16.695Z] 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-09-16T11:12:16.695Z] Statistics: [2021-09-16T11:12:16.695Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-09-16T11:12:16.695Z] File successfully converted to sysstat format version 12.0.3 [2021-09-16T11:12:16.695Z] + sadf -c /var/log/sa-host/sa16 [2021-09-16T11:12:16.695Z] file_magic: OK [2021-09-16T11:12:16.695Z] HZ: Using current value: 100 [2021-09-16T11:12:16.695Z] file_header: OK [2021-09-16T11:12:16.695Z] 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-09-16T11:12:16.695Z] Statistics: [2021-09-16T11:12:16.695Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-09-16T11:12:16.695Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-09-16T11:12:17.312Z] provisioning config files... [2021-09-16T11:12:17.330Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-372@tmp/config7726769219666119227tmp [Pipeline] { [Pipeline] echo [2021-09-16T11:12:17.387Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-16T11:12:17.747Z] ---> create-netrc.sh [Pipeline] } [2021-09-16T11:12:17.775Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-09-16T11:12:18.250Z] ---> python-tools-install.sh [Pipeline] echo [2021-09-16T11:12:18.289Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-16T11:12:18.830Z] ---> sudo-logs.sh [2021-09-16T11:12:18.830Z] Archiving 'sudo' log.. [2021-09-16T11:12:18.830Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-355.vexxhost.local: Name or service not known [2021-09-16T11:12:18.830Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-355.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-09-16T11:12:19.092Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-16T11:12:19.523Z] ---> job-cost.sh [2021-09-16T11:12:19.523Z] lf-activate-venv: SKIPPING [2021-09-16T11:12:19.523Z] DEBUG: total: 0.10999999940395355 [2021-09-16T11:12:19.523Z] INFO: Retrieving Stack Cost... [2021-09-16T11:12:20.482Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-09-16T11:12:20.749Z] INFO: Archiving Costs [Pipeline] echo [2021-09-16T11:12:20.790Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-16T11:12:21.152Z] ---> logs-deploy.sh [2021-09-16T11:12:21.152Z] lf-activate-venv: SKIPPING [2021-09-16T11:12:21.152Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-372/1 [2021-09-16T11:12:21.152Z] INFO: archiving workspace using pattern(s): [2021-09-16T11:12:21.736Z] Archives upload complete. [2021-09-16T11:12:22.002Z] INFO: archiving logs to Nexus