Pull request #365 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 16e6d37701b4df8eb31e235347825a376341209e+fa3f1bc6009dfda5647181c893d25c3a20ff6238 (eee62ef45c1f419360b2e66b9ee4b94e3eda87c0) 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-ssh20136504482408993.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-ssh8192735587861849881.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-365/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-365/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh793295471858751929.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-365/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4823899233884322690.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-ssh1485700818785714287.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 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-365/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-365/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5468544835284314513.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 98bb157299c17168c94e81a7dba3d05dc38b0f72 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98bb157299c17168c94e81a7dba3d05dc38b0f72 # timeout=10 Commit message: "Docs: Add example Jenkinsfile to documentation" > 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-709 in /w/workspace/edgexfoundry_device-sdk-c_PR-365 [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-365 # 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-365@tmp/jenkins-gitclient-ssh5629781539210233137.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 fa3f1bc6009dfda5647181c893d25c3a20ff6238 into PR head commit 16e6d37701b4df8eb31e235347825a376341209e Merge succeeded, producing a8159f9fcc357946baab99ef602a1f4cc1e2e741 Checking out Revision a8159f9fcc357946baab99ef602a1f4cc1e2e741 (PR-365) > 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-365@tmp/jenkins-gitclient-ssh5409302961085676260.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/365/head:refs/remotes/origin/PR-365 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 16e6d37701b4df8eb31e235347825a376341209e # 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-365@tmp/jenkins-gitclient-ssh6378111995880077963.key > git merge fa3f1bc6009dfda5647181c893d25c3a20ff6238 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a8159f9fcc357946baab99ef602a1f4cc1e2e741 # timeout=10 Commit message: "Merge commit 'fa3f1bc6009dfda5647181c893d25c3a20ff6238' into HEAD" 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-08-12T15:09:02.485Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-08-12T15:09:02.685Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-08-12T15:09:02.807Z] ========================================================= [2021-08-12T15:09:02.807Z] EdgeX Global Pipelines Version Info [2021-08-12T15:09:02.807Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-08-12T15:09:04.125Z] ------------------- [2021-08-12T15:09:04.125Z] stable info: [2021-08-12T15:09:04.125Z] ------------------- [2021-08-12T15:09:04.125Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-08-12T15:09:04.125Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-08-12T15:09:04.125Z] Message: update stable to v1.0.205 [2021-08-12T15:09:04.739Z] ------------------- [2021-08-12T15:09:04.739Z] experimental info: [2021-08-12T15:09:04.739Z] ------------------- [2021-08-12T15:09:04.739Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-08-12T15:09:04.739Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-08-12T15:09:04.739Z] Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-08-12T15:09:05.092Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2021-08-12T15:09:05.152Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2021-08-12T15:09:05.226Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-08-12T15:09:05.309Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-08-12T15:09:05.370Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-08-12T15:09:05.433Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo [2021-08-12T15:09:05.489Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2021-08-12T15:09:05.544Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2021-08-12T15:09:05.602Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-08-12T15:09:05.657Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-08-12T15:09:05.716Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2021-08-12T15:09:05.773Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-08-12T15:09:05.838Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-08-12T15:09:05.901Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-08-12T15:09:05.961Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-08-12T15:09:06.018Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-08-12T15:09:06.076Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-08-12T15:09:06.134Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-08-12T15:09:06.189Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-365 [Pipeline] echo [2021-08-12T15:09:06.246Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-365 [Pipeline] echo [2021-08-12T15:09:06.302Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-365 [Pipeline] echo [2021-08-12T15:09:06.365Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a8159f9fcc357946baab99ef602a1f4cc1e2e741 [Pipeline] echo [2021-08-12T15:09:06.428Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a8159f9 [Pipeline] echo [2021-08-12T15:09:06.486Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-12T15:09:06.647Z] provisioning config files... [2021-08-12T15:09:06.667Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-365@tmp/config3542656713672347632tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-12T15:09:07.072Z] ---> docker-login.sh [2021-08-12T15:09:07.072Z] nexus3.edgexfoundry.org:10001 [2021-08-12T15:09:07.072Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-12T15:09:07.341Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-12T15:09:07.341Z] Configure a credential helper to remove this warning. See [2021-08-12T15:09:07.341Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-12T15:09:07.341Z] [2021-08-12T15:09:07.341Z] Login Succeeded [2021-08-12T15:09:07.341Z] nexus3.edgexfoundry.org:10002 [2021-08-12T15:09:07.341Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-12T15:09:07.616Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-12T15:09:07.616Z] Configure a credential helper to remove this warning. See [2021-08-12T15:09:07.616Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-12T15:09:07.616Z] [2021-08-12T15:09:07.616Z] Login Succeeded [2021-08-12T15:09:07.616Z] nexus3.edgexfoundry.org:10003 [2021-08-12T15:09:07.616Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-12T15:09:07.616Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-12T15:09:07.616Z] Configure a credential helper to remove this warning. See [2021-08-12T15:09:07.616Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-12T15:09:07.616Z] [2021-08-12T15:09:07.616Z] Login Succeeded [2021-08-12T15:09:07.616Z] nexus3.edgexfoundry.org:10004 [2021-08-12T15:09:07.889Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-12T15:09:07.889Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-12T15:09:07.889Z] Configure a credential helper to remove this warning. See [2021-08-12T15:09:07.889Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-12T15:09:07.889Z] [2021-08-12T15:09:07.889Z] Login Succeeded [2021-08-12T15:09:07.889Z] docker.io [2021-08-12T15:09:07.889Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-12T15:09:08.476Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-12T15:09:08.476Z] Configure a credential helper to remove this warning. See [2021-08-12T15:09:08.476Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-12T15:09:08.476Z] [2021-08-12T15:09:08.476Z] Login Succeeded [2021-08-12T15:09:08.476Z] ---> docker-login.sh ends [Pipeline] } [2021-08-12T15:09:08.511Z] 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-08-12T15:09:10.068Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-12T15:09:10.068Z] [2021-08-12T15:09:10.068Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-08-12T15:09:10.453Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-12T15:09:10.453Z] latest: Pulling from edgex-devops/git-semver [2021-08-12T15:09:10.453Z] 31603596830f: Pulling fs layer [2021-08-12T15:09:10.453Z] d4622e32a9a9: Pulling fs layer [2021-08-12T15:09:10.453Z] 1030fce36090: Pulling fs layer [2021-08-12T15:09:10.453Z] 6c6cb7e1b49b: Pulling fs layer [2021-08-12T15:09:10.453Z] d4622e32a9a9: Verifying Checksum [2021-08-12T15:09:10.453Z] d4622e32a9a9: Download complete [2021-08-12T15:09:10.725Z] 31603596830f: Verifying Checksum [2021-08-12T15:09:10.725Z] 31603596830f: Download complete [2021-08-12T15:09:10.725Z] 6c6cb7e1b49b: Verifying Checksum [2021-08-12T15:09:10.725Z] 6c6cb7e1b49b: Download complete [2021-08-12T15:09:10.996Z] 31603596830f: Pull complete [2021-08-12T15:09:10.996Z] d4622e32a9a9: Pull complete [2021-08-12T15:09:10.996Z] 1030fce36090: Verifying Checksum [2021-08-12T15:09:10.996Z] 1030fce36090: Download complete [2021-08-12T15:09:11.602Z] 1030fce36090: Pull complete [2021-08-12T15:09:11.870Z] 6c6cb7e1b49b: Pull complete [2021-08-12T15:09:11.870Z] Digest: sha256:98b6084a185347f7b64647794a0a4774a411b925a780a33b3032b91fe10e00ab [2021-08-12T15:09:11.870Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-12T15:09:11.870Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-08-12T15:09:12.018Z] prd-centos7-docker-4c-2g-709 does not seem to be running inside a container [2021-08-12T15:09:12.079Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-365 -v /w/workspace/edgexfoundry_device-sdk-c_PR-365:/w/workspace/edgexfoundry_device-sdk-c_PR-365:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-365@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-365@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-08-12T15:09:12.891Z] $ docker top 0aeb7714c770cec710e39b3c32bd998c7c0e6d872ff0fc63cfc7d87dfbcd8ef3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-08-12T15:09:13.101Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-12T15:09:13.101Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-12T15:09:13.243Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-12T15:09:13.243Z] $ docker exec 0aeb7714c770cec710e39b3c32bd998c7c0e6d872ff0fc63cfc7d87dfbcd8ef3 ssh-agent [2021-08-12T15:09:13.378Z] SSH_AUTH_SOCK=/tmp/ssh-zrRETxG9rJ9V/agent.14 [2021-08-12T15:09:13.378Z] SSH_AGENT_PID=20 [2021-08-12T15:09:13.391Z] Running ssh-add (command line suppressed) [2021-08-12T15:09:13.494Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-365@tmp/private_key_4499364991714909445.key (/w/workspace/edgexfoundry_device-sdk-c_PR-365@tmp/private_key_4499364991714909445.key) [2021-08-12T15:09:13.518Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-12T15:09:13.879Z] + git tag --points-at HEAD [Pipeline] } [2021-08-12T15:09:13.926Z] $ docker exec --env ******** --env ******** 0aeb7714c770cec710e39b3c32bd998c7c0e6d872ff0fc63cfc7d87dfbcd8ef3 ssh-agent -k [2021-08-12T15:09:14.036Z] unset SSH_AUTH_SOCK; [2021-08-12T15:09:14.037Z] unset SSH_AGENT_PID; [2021-08-12T15:09:14.037Z] echo Agent pid 20 killed; [2021-08-12T15:09:14.058Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-08-12T15:09:14.144Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-12T15:09:14.144Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-12T15:09:14.271Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-12T15:09:14.271Z] $ docker exec 0aeb7714c770cec710e39b3c32bd998c7c0e6d872ff0fc63cfc7d87dfbcd8ef3 ssh-agent [2021-08-12T15:09:14.411Z] SSH_AUTH_SOCK=/tmp/ssh-WHqD4WobCesf/agent.53 [2021-08-12T15:09:14.411Z] SSH_AGENT_PID=59 [2021-08-12T15:09:14.422Z] Running ssh-add (command line suppressed) [2021-08-12T15:09:14.543Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-365@tmp/private_key_7518374586010622512.key (/w/workspace/edgexfoundry_device-sdk-c_PR-365@tmp/private_key_7518374586010622512.key) [2021-08-12T15:09:14.569Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-12T15:09:14.948Z] + git semver init [2021-08-12T15:09:14.949Z] # -> Open(): unable to determine branch for HEAD [2021-08-12T15:09:14.949Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-365/.git [2021-08-12T15:09:14.949Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-365 [2021-08-12T15:09:14.949Z] # $SEMVER_REMOTE_NAME = origin [2021-08-12T15:09:14.949Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-08-12T15:09:14.949Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-08-12T15:09:14.949Z] # $SEMVER_BRANCH = PR-365 [2021-08-12T15:09:14.949Z] # $SEMVER_TEMP = /tmp/semver-016342135 [2021-08-12T15:09:14.949Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2021-08-12T15:09:15.543Z] # '/tmp/semver-016342135' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-365/.semver' [2021-08-12T15:09:15.543Z] # -> Force: false [2021-08-12T15:09:15.543Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-365/.semver [Pipeline] } [2021-08-12T15:09:15.564Z] $ docker exec --env ******** --env ******** 0aeb7714c770cec710e39b3c32bd998c7c0e6d872ff0fc63cfc7d87dfbcd8ef3 ssh-agent -k [2021-08-12T15:09:15.678Z] unset SSH_AUTH_SOCK; [2021-08-12T15:09:15.678Z] unset SSH_AGENT_PID; [2021-08-12T15:09:15.678Z] echo Agent pid 59 killed; [2021-08-12T15:09:15.698Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-08-12T15:09:16.151Z] + git semver [Pipeline] } [2021-08-12T15:09:16.185Z] $ docker stop --time=1 0aeb7714c770cec710e39b3c32bd998c7c0e6d872ff0fc63cfc7d87dfbcd8ef3 [2021-08-12T15:09:17.415Z] $ docker rm -f 0aeb7714c770cec710e39b3c32bd998c7c0e6d872ff0fc63cfc7d87dfbcd8ef3 [Pipeline] // withDockerContainer [Pipeline] sh [2021-08-12T15:09:17.857Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-08-12T15:09:18.248Z] Stashed 1 file(s) [Pipeline] echo [2021-08-12T15:09:18.272Z] [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-08-12T15:09:33.643Z] Still waiting to schedule task [2021-08-12T15:09:33.643Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-709’ [2021-08-12T15:09:33.670Z] Still waiting to schedule task [2021-08-12T15:09:33.671Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-105’ is offline [2021-08-12T15:11:29.702Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-711 in /w/workspace/edgexfoundry_device-sdk-c_PR-365 [Pipeline] { [Pipeline] ws [2021-08-12T15:11:29.755Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2021-08-12T15:11:30.066Z] Selected Git installation does not exist. Using Default [2021-08-12T15:11:30.066Z] The recommended git tool is: NONE [2021-08-12T15:11:35.773Z] using credential edgex-jenkins-ssh [2021-08-12T15:11:35.796Z] Cloning the remote Git repository [2021-08-12T15:11:35.851Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-08-12T15:11:35.957Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2021-08-12T15:11:36.037Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-08-12T15:11:36.037Z] > git --version # timeout=10 [2021-08-12T15:11:36.052Z] > git --version # 'git version 2.17.1' [2021-08-12T15:11:36.054Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-12T15:11:36.147Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-12T15:11:37.365Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-08-12T15:11:37.390Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-12T15:11:37.413Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-08-12T15:11:37.454Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-08-12T15:11:37.455Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-12T15:11:37.466Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/365/head:refs/remotes/origin/PR-365 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-08-12T15:11:38.120Z] Merging remotes/origin/main commit fa3f1bc6009dfda5647181c893d25c3a20ff6238 into PR head commit 16e6d37701b4df8eb31e235347825a376341209e [2021-08-12T15:11:38.457Z] Merge succeeded, producing c18a3c401453d424705f066c849bbf59d2efeadf [2021-08-12T15:11:38.458Z] Checking out Revision c18a3c401453d424705f066c849bbf59d2efeadf (PR-365) [2021-08-12T15:11:38.135Z] > git config core.sparsecheckout # timeout=10 [2021-08-12T15:11:38.157Z] > git checkout -f 16e6d37701b4df8eb31e235347825a376341209e # timeout=10 [2021-08-12T15:11:38.273Z] > git remote # timeout=10 [2021-08-12T15:11:38.295Z] > git config --get remote.origin.url # timeout=10 [2021-08-12T15:11:38.314Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-12T15:11:38.325Z] > git merge fa3f1bc6009dfda5647181c893d25c3a20ff6238 # timeout=10 [2021-08-12T15:11:38.429Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-08-12T15:11:38.460Z] > git config core.sparsecheckout # timeout=10 [2021-08-12T15:11:38.477Z] > git checkout -f c18a3c401453d424705f066c849bbf59d2efeadf # timeout=10 [2021-08-12T15:11:42.768Z] Commit message: "Merge commit 'fa3f1bc6009dfda5647181c893d25c3a20ff6238' into HEAD" [2021-08-12T15:11:42.768Z] First time build. Skipping changelog. [2021-08-12T15:11:42.819Z] > git --version # timeout=10 [2021-08-12T15:11:42.834Z] > git --version # 'git version 2.17.1' [2021-08-12T15:11:42.848Z] fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-12T15:11:43.474Z] provisioning config files... [2021-08-12T15:11:43.504Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config6664141869584031222tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-12T15:11:44.166Z] ---> docker-login.sh [2021-08-12T15:11:44.166Z] nexus3.edgexfoundry.org:10001 [2021-08-12T15:11:45.172Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-12T15:11:45.459Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-12T15:11:45.459Z] Configure a credential helper to remove this warning. See [2021-08-12T15:11:45.459Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-12T15:11:45.459Z] [2021-08-12T15:11:45.459Z] Login Succeeded [2021-08-12T15:11:45.459Z] nexus3.edgexfoundry.org:10002 [2021-08-12T15:11:46.064Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-12T15:11:46.065Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-12T15:11:46.065Z] Configure a credential helper to remove this warning. See [2021-08-12T15:11:46.065Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-12T15:11:46.065Z] [2021-08-12T15:11:46.065Z] Login Succeeded [2021-08-12T15:11:46.065Z] nexus3.edgexfoundry.org:10003 [2021-08-12T15:11:46.667Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-12T15:11:46.667Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-12T15:11:46.667Z] Configure a credential helper to remove this warning. See [2021-08-12T15:11:46.667Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-12T15:11:46.667Z] [2021-08-12T15:11:46.667Z] Login Succeeded [2021-08-12T15:11:46.667Z] nexus3.edgexfoundry.org:10004 [2021-08-12T15:11:47.274Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-12T15:11:47.274Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-12T15:11:47.274Z] Configure a credential helper to remove this warning. See [2021-08-12T15:11:47.274Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-12T15:11:47.274Z] [2021-08-12T15:11:47.274Z] Login Succeeded [2021-08-12T15:11:47.274Z] docker.io [2021-08-12T15:11:47.938Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-12T15:11:48.214Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-12T15:11:48.214Z] Configure a credential helper to remove this warning. See [2021-08-12T15:11:48.214Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-12T15:11:48.214Z] [2021-08-12T15:11:48.214Z] Login Succeeded [2021-08-12T15:11:48.214Z] ---> docker-login.sh ends [Pipeline] } [2021-08-12T15:11:48.319Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-08-12T15:11:48.893Z] ========================================================= [2021-08-12T15:11:48.893Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2021-08-12T15:11:48.893Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-08-12T15:11:49.352Z] + 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-08-12T15:11:49.965Z] Sending build context to Docker daemon 2.706MB [2021-08-12T15:11:49.965Z] Step 1/25 : ARG BASE=alpine:3.12 [2021-08-12T15:11:49.965Z] Step 2/25 : FROM ${BASE} as builder [2021-08-12T15:11:50.241Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2021-08-12T15:11:50.241Z] d2f70382dc9a: Pulling fs layer [2021-08-12T15:11:50.241Z] b08cc2eccb4b: Pulling fs layer [2021-08-12T15:11:50.241Z] 7b69db201801: Pulling fs layer [2021-08-12T15:11:50.241Z] b08cc2eccb4b: Verifying Checksum [2021-08-12T15:11:50.241Z] b08cc2eccb4b: Download complete [2021-08-12T15:11:50.520Z] d2f70382dc9a: Verifying Checksum [2021-08-12T15:11:50.520Z] d2f70382dc9a: Download complete [2021-08-12T15:11:51.510Z] d2f70382dc9a: Pull complete [2021-08-12T15:11:51.784Z] b08cc2eccb4b: Pull complete [2021-08-12T15:11:53.212Z] 7b69db201801: Verifying Checksum [2021-08-12T15:11:53.212Z] 7b69db201801: Download complete [2021-08-12T15:12:01.529Z] 7b69db201801: Pull complete [2021-08-12T15:12:01.529Z] Digest: sha256:6402f0ff92f22f5db569dc2a94aef5717e50795d64082fb226716824a8b8ffba [2021-08-12T15:12:01.529Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2021-08-12T15:12:01.529Z] ---> 759262b18b23 [2021-08-12T15:12:01.529Z] 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-08-12T15:12:04.166Z] ---> Running in 05f30eef90d2 [2021-08-12T15:12:05.183Z] Connecting to iotech.jfrog.io (54.195.244.87:443) [2021-08-12T15:12:05.571Z] Running on prd-centos7-docker-4c-2g-712 in /w/workspace/edgexfoundry_device-sdk-c_PR-365 [Pipeline] { [Pipeline] ws [2021-08-12T15:12:05.629Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2021-08-12T15:12:05.790Z] saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-08-12T15:12:05.790Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-08-12T15:12:05.790Z] '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [2021-08-12T15:12:05.797Z] Selected Git installation does not exist. Using Default [2021-08-12T15:12:05.797Z] The recommended git tool is: NONE [2021-08-12T15:12:07.240Z] Removing intermediate container 05f30eef90d2 [2021-08-12T15:12:07.241Z] ---> 414dcfd8e00d [2021-08-12T15:12:07.241Z] Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-08-12T15:12:07.241Z] ---> Running in cc306337b033 [2021-08-12T15:12:08.583Z] using credential edgex-jenkins-ssh [2021-08-12T15:12:08.607Z] Cloning the remote Git repository [2021-08-12T15:12:08.276Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-08-12T15:12:08.348Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2021-08-12T15:12:08.386Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-08-12T15:12:08.386Z] > git --version # timeout=10 [2021-08-12T15:12:08.393Z] > git --version # 'git version 2.24.4' [2021-08-12T15:12:08.394Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-12T15:12:08.424Z] [INFO] Currently running in a labeled security context [2021-08-12T15:12:08.424Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-08-12T15:12:08.424Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh7541718026156923341.key [2021-08-12T15:12:08.438Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-12T15:12:09.888Z] Removing intermediate container cc306337b033 [2021-08-12T15:12:09.888Z] ---> 18f5a2dc02a9 [2021-08-12T15:12:09.888Z] 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-08-12T15:12:09.888Z] ---> Running in ff6d10f1a812 [2021-08-12T15:12:09.559Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-08-12T15:12:09.567Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-12T15:12:09.586Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-08-12T15:12:09.602Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-08-12T15:12:09.602Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-12T15:12:09.603Z] [INFO] Currently running in a labeled security context [2021-08-12T15:12:09.603Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-08-12T15:12:09.604Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh4217526562633856213.key [2021-08-12T15:12:09.609Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/365/head:refs/remotes/origin/PR-365 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-08-12T15:12:10.353Z] Merging remotes/origin/main commit fa3f1bc6009dfda5647181c893d25c3a20ff6238 into PR head commit 16e6d37701b4df8eb31e235347825a376341209e [2021-08-12T15:12:10.457Z] Merge succeeded, producing 3181a24b07ac7f9b3f80729621afdfba870adc2f [2021-08-12T15:12:10.458Z] Checking out Revision 3181a24b07ac7f9b3f80729621afdfba870adc2f (PR-365) [2021-08-12T15:12:11.325Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-08-12T15:12:10.136Z] > git config core.sparsecheckout # timeout=10 [2021-08-12T15:12:10.145Z] > git checkout -f 16e6d37701b4df8eb31e235347825a376341209e # timeout=10 [2021-08-12T15:12:10.189Z] > git remote # timeout=10 [2021-08-12T15:12:10.194Z] > git config --get remote.origin.url # timeout=10 [2021-08-12T15:12:10.200Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-12T15:12:10.201Z] [INFO] Currently running in a labeled security context [2021-08-12T15:12:10.201Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-08-12T15:12:10.201Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh1332651715984084257.key [2021-08-12T15:12:10.207Z] > git merge fa3f1bc6009dfda5647181c893d25c3a20ff6238 # timeout=10 [2021-08-12T15:12:10.231Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-08-12T15:12:10.244Z] > git config core.sparsecheckout # timeout=10 [2021-08-12T15:12:10.258Z] > git checkout -f 3181a24b07ac7f9b3f80729621afdfba870adc2f # timeout=10 [2021-08-12T15:12:12.303Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-08-12T15:12:12.575Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz [2021-08-12T15:12:13.176Z] (1/22) Installing hiredis (0.14.1-r0) [2021-08-12T15:12:13.450Z] (2/22) Installing hiredis-dev (0.14.1-r0) [2021-08-12T15:12:14.042Z] Commit message: "Merge commit 'fa3f1bc6009dfda5647181c893d25c3a20ff6238' into HEAD" [2021-08-12T15:12:14.043Z] First time build. Skipping changelog. [2021-08-12T15:12:14.046Z] (3/22) Installing ncurses-dev (6.2_p20200523-r0) [2021-08-12T15:12:14.046Z] (4/22) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-08-12T15:12:14.077Z] > git --version # timeout=10 [2021-08-12T15:12:14.082Z] > git --version # 'git version 2.24.4' [2021-08-12T15:12:14.091Z] fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-12T15:12:14.807Z] provisioning config files... [2021-08-12T15:12:14.829Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config285570469683940373tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-12T15:12:15.324Z] ---> docker-login.sh [2021-08-12T15:12:15.324Z] nexus3.edgexfoundry.org:10001 [2021-08-12T15:12:15.324Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-12T15:12:15.324Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-12T15:12:15.324Z] Configure a credential helper to remove this warning. See [2021-08-12T15:12:15.324Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-12T15:12:15.324Z] [2021-08-12T15:12:15.324Z] Login Succeeded [2021-08-12T15:12:15.324Z] nexus3.edgexfoundry.org:10002 [2021-08-12T15:12:15.596Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-12T15:12:15.596Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-12T15:12:15.596Z] Configure a credential helper to remove this warning. See [2021-08-12T15:12:15.596Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-12T15:12:15.596Z] [2021-08-12T15:12:15.596Z] Login Succeeded [2021-08-12T15:12:15.596Z] nexus3.edgexfoundry.org:10003 [2021-08-12T15:12:15.597Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-12T15:12:15.866Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-12T15:12:15.866Z] Configure a credential helper to remove this warning. See [2021-08-12T15:12:15.866Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-12T15:12:15.866Z] [2021-08-12T15:12:15.866Z] Login Succeeded [2021-08-12T15:12:15.866Z] nexus3.edgexfoundry.org:10004 [2021-08-12T15:12:15.866Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-12T15:12:15.866Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-12T15:12:15.866Z] Configure a credential helper to remove this warning. See [2021-08-12T15:12:15.866Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-12T15:12:15.866Z] [2021-08-12T15:12:15.866Z] Login Succeeded [2021-08-12T15:12:15.866Z] docker.io [2021-08-12T15:12:16.025Z] (5/22) Installing libblkid (2.35.2-r0) [2021-08-12T15:12:16.025Z] (6/22) Installing blkid (2.35.2-r0) [2021-08-12T15:12:16.144Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-12T15:12:16.300Z] (7/22) Installing libcap-ng (0.7.10-r1) [2021-08-12T15:12:16.300Z] (8/22) Installing setpriv (2.35.2-r0) [2021-08-12T15:12:16.300Z] (9/22) Installing libmount (2.35.2-r0) [2021-08-12T15:12:16.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-12T15:12:16.412Z] Configure a credential helper to remove this warning. See [2021-08-12T15:12:16.412Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-12T15:12:16.412Z] [2021-08-12T15:12:16.412Z] Login Succeeded [2021-08-12T15:12:16.412Z] ---> docker-login.sh ends [Pipeline] } [2021-08-12T15:12:16.480Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-08-12T15:12:16.572Z] (10/22) Installing libsmartcols (2.35.2-r0) [2021-08-12T15:12:16.572Z] (11/22) Installing findmnt (2.35.2-r0) [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-08-12T15:12:16.789Z] ========================================================= [2021-08-12T15:12:16.789Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2021-08-12T15:12:16.789Z] ========================================================= [Pipeline] fileExists [2021-08-12T15:12:16.844Z] (12/22) Installing mcookie (2.35.2-r0) [2021-08-12T15:12:16.844Z] (13/22) Installing hexdump (2.35.2-r0) [2021-08-12T15:12:16.844Z] (14/22) Installing lsblk (2.35.2-r0) [Pipeline] isUnix [Pipeline] sh [2021-08-12T15:12:17.117Z] (15/22) Installing libuuid (2.35.2-r0) [2021-08-12T15:12:17.117Z] (16/22) Installing libfdisk (2.35.2-r0) [2021-08-12T15:12:17.117Z] (17/22) Installing sfdisk (2.35.2-r0) [2021-08-12T15:12:17.207Z] + 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-08-12T15:12:17.207Z] Sending build context to Docker daemon 2.707MB [2021-08-12T15:12:17.207Z] Step 1/25 : ARG BASE=alpine:3.12 [2021-08-12T15:12:17.207Z] Step 2/25 : FROM ${BASE} as builder [2021-08-12T15:12:17.207Z] latest: Pulling from edgex-devops/edgex-gcc-base [2021-08-12T15:12:17.207Z] 339de151aab4: Pulling fs layer [2021-08-12T15:12:17.207Z] 3691962f683c: Pulling fs layer [2021-08-12T15:12:17.207Z] e1147bf81a45: Pulling fs layer [2021-08-12T15:12:17.207Z] 3691962f683c: Verifying Checksum [2021-08-12T15:12:17.207Z] 3691962f683c: Download complete [2021-08-12T15:12:17.389Z] (18/22) Installing cfdisk (2.35.2-r0) [2021-08-12T15:12:17.389Z] (19/22) Installing util-linux (2.35.2-r0) [2021-08-12T15:12:17.481Z] 339de151aab4: Verifying Checksum [2021-08-12T15:12:17.481Z] 339de151aab4: Download complete [2021-08-12T15:12:17.747Z] 339de151aab4: Pull complete [2021-08-12T15:12:17.747Z] 3691962f683c: Pull complete [2021-08-12T15:12:17.984Z] (20/22) Installing util-linux-dev (2.35.2-r0) [2021-08-12T15:12:18.579Z] (21/22) Installing libidn2 (2.3.0-r0) [2021-08-12T15:12:18.579Z] (22/22) Installing wget (1.20.3-r1) [2021-08-12T15:12:18.855Z] Executing busybox-1.31.1-r20.trigger [2021-08-12T15:12:18.855Z] OK: 276 MiB in 97 packages [2021-08-12T15:12:20.840Z] Removing intermediate container ff6d10f1a812 [2021-08-12T15:12:20.840Z] ---> 4169dfc7439a [2021-08-12T15:12:20.840Z] Step 6/25 : ENV CBOR_VERSION=0.5.0 [2021-08-12T15:12:20.840Z] ---> Running in f60d236f3105 [2021-08-12T15:12:21.101Z] e1147bf81a45: Verifying Checksum [2021-08-12T15:12:21.101Z] e1147bf81a45: Download complete [2021-08-12T15:12:21.437Z] Removing intermediate container f60d236f3105 [2021-08-12T15:12:21.438Z] ---> 0df9f6ff7ae3 [2021-08-12T15:12:21.438Z] 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-08-12T15:12:21.438Z] ---> Running in 4f9d2a5d3783 [2021-08-12T15:12:22.872Z] --2021-08-12 15:12:22-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-08-12T15:12:22.872Z] Resolving github.com (github.com)... 140.82.113.4 [2021-08-12T15:12:22.872Z] Connecting to github.com (github.com)|140.82.113.4|:443... connected. [2021-08-12T15:12:22.872Z] HTTP request sent, awaiting response... 302 Found [2021-08-12T15:12:22.872Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-08-12T15:12:22.872Z] --2021-08-12 15:12:22-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-08-12T15:12:22.872Z] Resolving codeload.github.com (codeload.github.com)... 140.82.112.9 [2021-08-12T15:12:23.145Z] Connecting to codeload.github.com (codeload.github.com)|140.82.112.9|:443... connected. [2021-08-12T15:12:23.145Z] HTTP request sent, awaiting response... 200 OK [2021-08-12T15:12:23.145Z] Length: unspecified [application/x-gzip] [2021-08-12T15:12:23.145Z] Saving to: 'STDOUT' [2021-08-12T15:12:23.145Z]  [2021-08-12T15:12:23.145Z] 0K .......... .......... .......... .......... .......... 1.36M [2021-08-12T15:12:23.145Z] 50K .......... .......... .......... .......... .......... 2.85M [2021-08-12T15:12:23.145Z] 100K .......... .......... .......... .......... .......... 8.16M [2021-08-12T15:12:23.145Z] 150K .......... .......... .......... .......... .......... 4.18M [2021-08-12T15:12:23.145Z] 200K .......... .......... .......... .......... .......... 11.0M [2021-08-12T15:12:23.145Z] 250K .......... .......... .......... .......... .......... 3.78M [2021-08-12T15:12:23.145Z] 300K .......... .......... .......... .......... .......... 4.22M [2021-08-12T15:12:23.145Z] 350K .......... .......... .......... .......... .......... 5.54M [2021-08-12T15:12:23.418Z] 400K .......... .......... .......... .......... .......... 3.06M [2021-08-12T15:12:23.418Z] 450K .......... .......... .......... .......... .......... 4.39M [2021-08-12T15:12:23.418Z] 500K .......... .......... .......... .......... .......... 7.87M [2021-08-12T15:12:23.418Z] 550K .......... .......... .......... .......... .......... 2.51M [2021-08-12T15:12:23.418Z] 600K .......... .......... .......... .......... .......... 912K [2021-08-12T15:12:23.418Z] 650K .......... .......... .......... .......... .......... 2.17M [2021-08-12T15:12:23.418Z] 700K ..      589K=0.2s [2021-08-12T15:12:23.418Z] [2021-08-12T15:12:23.418Z] 2021-08-12 15:12:23 (2.83 MB/s) - written to stdout [719348] [2021-08-12T15:12:23.418Z] [2021-08-12T15:12:23.691Z] -- The C compiler identification is GNU 9.3.0 [2021-08-12T15:12:23.708Z] e1147bf81a45: Pull complete [2021-08-12T15:12:23.708Z] Digest: sha256:32c567f17180c4abff101a0d389449dec7f3f623a221c8a8ae98dcac9b0d9fee [2021-08-12T15:12:23.708Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2021-08-12T15:12:23.708Z] ---> ac6a0feb3254 [2021-08-12T15:12:23.708Z] 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-08-12T15:12:23.962Z] -- The CXX compiler identification is GNU 9.3.0 [2021-08-12T15:12:23.963Z] -- Check for working C compiler: /usr/bin/cc [2021-08-12T15:12:24.235Z] -- Check for working C compiler: /usr/bin/cc - works [2021-08-12T15:12:24.235Z] -- Detecting C compiler ABI info [2021-08-12T15:12:24.508Z] -- Detecting C compiler ABI info - done [2021-08-12T15:12:24.508Z] -- Detecting C compile features [2021-08-12T15:12:24.508Z] -- Detecting C compile features - done [2021-08-12T15:12:24.508Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-08-12T15:12:24.665Z] ---> Running in b345f716384a [2021-08-12T15:12:24.665Z] Connecting to iotech.jfrog.io (54.170.66.44:443) [2021-08-12T15:12:24.782Z] -- Check for working CXX compiler: /usr/bin/c++ - works [2021-08-12T15:12:24.782Z] -- Detecting CXX compiler ABI info [2021-08-12T15:12:25.054Z] -- Detecting CXX compiler ABI info - done [2021-08-12T15:12:25.249Z] saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-08-12T15:12:25.249Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-08-12T15:12:25.249Z] '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [2021-08-12T15:12:25.249Z] Removing intermediate container b345f716384a [2021-08-12T15:12:25.249Z] ---> 71ec0b5c8980 [2021-08-12T15:12:25.249Z] Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-08-12T15:12:25.249Z] ---> Running in 884d0c987ffa [2021-08-12T15:12:25.329Z] -- Detecting CXX compile features [2021-08-12T15:12:25.329Z] -- Detecting CXX compile features - done [2021-08-12T15:12:25.329Z] -- Looking for include file endian.h [2021-08-12T15:12:25.603Z] -- Looking for include file endian.h - found [2021-08-12T15:12:25.603Z] -- Check if the system is big endian [2021-08-12T15:12:25.603Z] -- Searching 16 bit integer [2021-08-12T15:12:25.603Z] -- Looking for sys/types.h [2021-08-12T15:12:25.603Z] -- Looking for sys/types.h - found [2021-08-12T15:12:25.836Z] Removing intermediate container 884d0c987ffa [2021-08-12T15:12:25.836Z] ---> a608819def52 [2021-08-12T15:12:25.836Z] 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-08-12T15:12:25.836Z] ---> Running in d20a7a297cec [2021-08-12T15:12:25.876Z] -- Looking for stdint.h [2021-08-12T15:12:25.876Z] -- Looking for stdint.h - found [2021-08-12T15:12:25.876Z] -- Looking for stddef.h [2021-08-12T15:12:26.106Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-08-12T15:12:26.149Z] -- Looking for stddef.h - found [2021-08-12T15:12:26.149Z] -- Check size of unsigned short [2021-08-12T15:12:26.421Z] -- Check size of unsigned short - done [2021-08-12T15:12:26.421Z] -- Searching 16 bit integer - Using unsigned short [2021-08-12T15:12:26.692Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-08-12T15:12:26.696Z] -- Check if the system is big endian - little endian [2021-08-12T15:12:26.696Z] -- Check size of size_t [2021-08-12T15:12:26.957Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz [2021-08-12T15:12:26.975Z] -- Check size of size_t - done [2021-08-12T15:12:26.975Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-08-12T15:12:26.975Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-08-12T15:12:26.975Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-08-12T15:12:26.975Z] CMake did not find one. [2021-08-12T15:12:26.975Z] [2021-08-12T15:12:26.975Z] Could not find a package configuration file provided by "cJSON" with any of [2021-08-12T15:12:26.975Z] the following names: [2021-08-12T15:12:26.975Z] [2021-08-12T15:12:26.975Z] cJSONConfig.cmake [2021-08-12T15:12:26.975Z] cjson-config.cmake [2021-08-12T15:12:26.975Z] [2021-08-12T15:12:26.975Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-08-12T15:12:26.975Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-08-12T15:12:26.975Z] provides a separate development package or SDK, be sure it has been [2021-08-12T15:12:26.975Z] installed. [2021-08-12T15:12:26.975Z] [2021-08-12T15:12:26.975Z] [2021-08-12T15:12:26.975Z] -- Configuring done [2021-08-12T15:12:27.247Z] -- Generating done [2021-08-12T15:12:27.247Z] -- Build files have been written to: /tmp/cbor [2021-08-12T15:12:27.521Z] Scanning dependencies of target cbor_shared [2021-08-12T15:12:27.521Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-08-12T15:12:27.541Z] (1/22) Installing hiredis (0.14.1-r0) [2021-08-12T15:12:27.541Z] (2/22) Installing hiredis-dev (0.14.1-r0) [2021-08-12T15:12:27.809Z] (3/22) Installing ncurses-dev (6.2_p20200523-r0) [2021-08-12T15:12:27.809Z] (4/22) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-08-12T15:12:28.497Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-08-12T15:12:28.770Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-08-12T15:12:29.042Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-08-12T15:12:29.215Z] (5/22) Installing libblkid (2.35.2-r0) [2021-08-12T15:12:29.215Z] (6/22) Installing blkid (2.35.2-r0) [2021-08-12T15:12:29.480Z] (7/22) Installing libcap-ng (0.7.10-r1) [2021-08-12T15:12:29.480Z] (8/22) Installing setpriv (2.35.2-r0) [2021-08-12T15:12:29.480Z] (9/22) Installing libmount (2.35.2-r0) [2021-08-12T15:12:29.635Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-08-12T15:12:29.745Z] (10/22) Installing libsmartcols (2.35.2-r0) [2021-08-12T15:12:29.745Z] (11/22) Installing findmnt (2.35.2-r0) [2021-08-12T15:12:29.908Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-08-12T15:12:30.034Z] (12/22) Installing mcookie (2.35.2-r0) [2021-08-12T15:12:30.034Z] (13/22) Installing hexdump (2.35.2-r0) [2021-08-12T15:12:30.034Z] (14/22) Installing lsblk (2.35.2-r0) [2021-08-12T15:12:30.182Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-08-12T15:12:30.182Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-08-12T15:12:30.300Z] (15/22) Installing libuuid (2.35.2-r0) [2021-08-12T15:12:30.300Z] (16/22) Installing libfdisk (2.35.2-r0) [2021-08-12T15:12:30.300Z] (17/22) Installing sfdisk (2.35.2-r0) [2021-08-12T15:12:30.456Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-08-12T15:12:30.568Z] (18/22) Installing cfdisk (2.35.2-r0) [2021-08-12T15:12:30.568Z] (19/22) Installing util-linux (2.35.2-r0) [2021-08-12T15:12:30.733Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-08-12T15:12:30.837Z] (20/22) Installing util-linux-dev (2.35.2-r0) [2021-08-12T15:12:31.106Z] (21/22) Installing libidn2 (2.3.0-r0) [2021-08-12T15:12:31.334Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-08-12T15:12:31.379Z] (22/22) Installing wget (1.20.3-r1) [2021-08-12T15:12:31.380Z] Executing busybox-1.31.1-r20.trigger [2021-08-12T15:12:31.380Z] OK: 295 MiB in 97 packages [2021-08-12T15:12:31.609Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-08-12T15:12:31.970Z] Removing intermediate container d20a7a297cec [2021-08-12T15:12:31.970Z] ---> 90d385d61104 [2021-08-12T15:12:31.970Z] Step 6/25 : ENV CBOR_VERSION=0.5.0 [2021-08-12T15:12:31.970Z] ---> Running in 90ccdeaa09bb [2021-08-12T15:12:31.970Z] Removing intermediate container 90ccdeaa09bb [2021-08-12T15:12:31.970Z] ---> d3aac5aa55e3 [2021-08-12T15:12:31.970Z] 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-08-12T15:12:31.970Z] ---> Running in 1fa8f5cbc09b [2021-08-12T15:12:32.207Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-08-12T15:12:32.238Z] --2021-08-12 15:12:32-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-08-12T15:12:32.238Z] Resolving github.com (github.com)... 140.82.113.4 [2021-08-12T15:12:32.238Z] Connecting to github.com (github.com)|140.82.113.4|:443... connected. [2021-08-12T15:12:32.238Z] HTTP request sent, awaiting response... 302 Found [2021-08-12T15:12:32.238Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-08-12T15:12:32.238Z] --2021-08-12 15:12:32-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-08-12T15:12:32.238Z] Resolving codeload.github.com (codeload.github.com)... 140.82.112.9 [2021-08-12T15:12:32.238Z] Connecting to codeload.github.com (codeload.github.com)|140.82.112.9|:443... connected. [2021-08-12T15:12:32.481Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-08-12T15:12:32.505Z] HTTP request sent, awaiting response... 200 OK [2021-08-12T15:12:32.505Z] Length: unspecified [application/x-gzip] [2021-08-12T15:12:32.505Z] Saving to: 'STDOUT' [2021-08-12T15:12:32.505Z]  [2021-08-12T15:12:32.505Z] 0K .......... .......... .......... .......... .......... 1.17M [2021-08-12T15:12:32.505Z] 50K .......... .......... .......... .......... .......... 2.31M [2021-08-12T15:12:32.505Z] 100K .......... .......... .......... .......... .......... 38.7M [2021-08-12T15:12:32.505Z] 150K .......... .......... .......... .......... .......... 2.38M [2021-08-12T15:12:32.505Z] 200K .......... .......... .......... .......... .......... 30.7M [2021-08-12T15:12:32.505Z] 250K .......... .......... .......... .......... .......... 6.49M [2021-08-12T15:12:32.505Z] 300K .......... .......... .......... .......... .......... 10.8M [2021-08-12T15:12:32.505Z] 350K .......... .......... .......... .......... .......... 6.41M [2021-08-12T15:12:32.505Z] 400K .......... .......... .......... .......... .......... 14.9M [2021-08-12T15:12:32.505Z] 450K .......... .......... .......... .......... .......... 8.69M [2021-08-12T15:12:32.505Z] 500K .......... .......... .......... .......... .......... 17.0M [2021-08-12T15:12:32.505Z] 550K .......... .......... .......... .......... .......... 9.85M [2021-08-12T15:12:32.505Z] 600K .......... .......... .......... .......... .......... 4.49M [2021-08-12T15:12:32.505Z] 650K .......... .......... .......... .......... .......... 8.57M [2021-08-12T15:12:32.505Z] 700K .. 74.1M=0.1s [2021-08-12T15:12:32.505Z] [2021-08-12T15:12:32.505Z] 2021-08-12 15:12:32 (4.92 MB/s) - written to stdout [719348] [2021-08-12T15:12:32.505Z] [2021-08-12T15:12:32.505Z] -- The C compiler identification is GNU 9.3.0 [2021-08-12T15:12:32.755Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-08-12T15:12:32.774Z] -- The CXX compiler identification is GNU 9.3.0 [2021-08-12T15:12:32.775Z] -- Check for working C compiler: /usr/bin/cc [2021-08-12T15:12:32.775Z] -- Check for working C compiler: /usr/bin/cc - works [2021-08-12T15:12:32.775Z] -- Detecting C compiler ABI info [2021-08-12T15:12:32.775Z] -- Detecting C compiler ABI info - done [2021-08-12T15:12:32.775Z] -- Detecting C compile features [2021-08-12T15:12:32.775Z] -- Detecting C compile features - done [2021-08-12T15:12:32.775Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-08-12T15:12:33.029Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-08-12T15:12:33.043Z] -- Check for working CXX compiler: /usr/bin/c++ - works [2021-08-12T15:12:33.044Z] -- Detecting CXX compiler ABI info [2021-08-12T15:12:33.044Z] -- Detecting CXX compiler ABI info - done [2021-08-12T15:12:33.044Z] -- Detecting CXX compile features [2021-08-12T15:12:33.044Z] -- Detecting CXX compile features - done [2021-08-12T15:12:33.044Z] -- Looking for include file endian.h [2021-08-12T15:12:33.044Z] -- Looking for include file endian.h - found [2021-08-12T15:12:33.044Z] -- Check if the system is big endian [2021-08-12T15:12:33.044Z] -- Searching 16 bit integer [2021-08-12T15:12:33.044Z] -- Looking for sys/types.h [2021-08-12T15:12:33.044Z] -- Looking for sys/types.h - found [2021-08-12T15:12:33.044Z] -- Looking for stdint.h [2021-08-12T15:12:33.301Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-08-12T15:12:33.310Z] -- Looking for stdint.h - found [2021-08-12T15:12:33.310Z] -- Looking for stddef.h [2021-08-12T15:12:33.310Z] -- Looking for stddef.h - found [2021-08-12T15:12:33.310Z] -- Check size of unsigned short [2021-08-12T15:12:33.310Z] -- Check size of unsigned short - done [2021-08-12T15:12:33.310Z] -- Searching 16 bit integer - Using unsigned short [2021-08-12T15:12:33.310Z] -- Check if the system is big endian - little endian [2021-08-12T15:12:33.310Z] -- Check size of size_t [2021-08-12T15:12:33.575Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-08-12T15:12:33.575Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-08-12T15:12:33.576Z] -- Check size of size_t - done [2021-08-12T15:12:33.576Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-08-12T15:12:33.576Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-08-12T15:12:33.576Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-08-12T15:12:33.576Z] CMake did not find one. [2021-08-12T15:12:33.576Z] [2021-08-12T15:12:33.576Z] Could not find a package configuration file provided by "cJSON" with any of [2021-08-12T15:12:33.576Z] the following names: [2021-08-12T15:12:33.576Z] [2021-08-12T15:12:33.576Z] cJSONConfig.cmake [2021-08-12T15:12:33.576Z] cjson-config.cmake [2021-08-12T15:12:33.576Z] [2021-08-12T15:12:33.576Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-08-12T15:12:33.576Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-08-12T15:12:33.576Z] provides a separate development package or SDK, be sure it has been [2021-08-12T15:12:33.576Z] installed. [2021-08-12T15:12:33.576Z] [2021-08-12T15:12:33.576Z] [2021-08-12T15:12:33.576Z] -- Configuring done [2021-08-12T15:12:33.576Z] -- Generating done [2021-08-12T15:12:33.576Z] -- Build files have been written to: /tmp/cbor [2021-08-12T15:12:33.576Z] Scanning dependencies of target cbor_shared [2021-08-12T15:12:33.576Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-08-12T15:12:33.849Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-08-12T15:12:33.849Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-08-12T15:12:33.849Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-08-12T15:12:34.119Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-08-12T15:12:34.119Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-08-12T15:12:34.119Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-08-12T15:12:34.119Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-08-12T15:12:34.119Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-08-12T15:12:34.168Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-08-12T15:12:34.168Z] [ 40%] Linking C shared library libcbor.so [2021-08-12T15:12:34.168Z] [ 40%] Built target cbor_shared [2021-08-12T15:12:34.168Z] Scanning dependencies of target cbor [2021-08-12T15:12:34.388Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-08-12T15:12:34.388Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-08-12T15:12:34.388Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-08-12T15:12:34.440Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-08-12T15:12:34.660Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-08-12T15:12:34.660Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-08-12T15:12:34.660Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-08-12T15:12:34.660Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-08-12T15:12:34.660Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-08-12T15:12:34.930Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-08-12T15:12:34.930Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-08-12T15:12:34.930Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-08-12T15:12:34.930Z] [ 40%] Linking C shared library libcbor.so [2021-08-12T15:12:34.930Z] [ 40%] Built target cbor_shared [2021-08-12T15:12:34.930Z] Scanning dependencies of target cbor [2021-08-12T15:12:34.930Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-08-12T15:12:35.033Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-08-12T15:12:35.194Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-08-12T15:12:35.195Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-08-12T15:12:35.195Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-08-12T15:12:35.629Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-08-12T15:12:35.778Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-08-12T15:12:35.778Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-08-12T15:12:35.778Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-08-12T15:12:35.778Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-08-12T15:12:35.778Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-08-12T15:12:35.778Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-08-12T15:12:35.903Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-08-12T15:12:36.043Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-08-12T15:12:36.043Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-08-12T15:12:36.309Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-08-12T15:12:36.309Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-08-12T15:12:36.309Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-08-12T15:12:36.309Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-08-12T15:12:36.309Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-08-12T15:12:36.580Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-08-12T15:12:36.580Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-08-12T15:12:36.580Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-08-12T15:12:36.580Z] [ 80%] Linking C static library libcbor.a [2021-08-12T15:12:36.580Z] [ 80%] Built target cbor [2021-08-12T15:12:36.580Z] Scanning dependencies of target sort [2021-08-12T15:12:36.580Z] [ 82%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-08-12T15:12:36.848Z] [ 84%] Linking C executable sort [2021-08-12T15:12:36.848Z] [ 84%] Built target sort [2021-08-12T15:12:36.848Z] Scanning dependencies of target readfile [2021-08-12T15:12:36.848Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-08-12T15:12:36.848Z] [ 88%] Linking C executable readfile [2021-08-12T15:12:36.848Z] [ 88%] Built target readfile [2021-08-12T15:12:36.848Z] Scanning dependencies of target streaming_parser [2021-08-12T15:12:36.848Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-08-12T15:12:36.848Z] [ 92%] Linking C executable streaming_parser [2021-08-12T15:12:36.848Z] [ 92%] Built target streaming_parser [2021-08-12T15:12:36.848Z] Scanning dependencies of target hello [2021-08-12T15:12:36.848Z] [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-08-12T15:12:37.115Z] [ 96%] Linking C executable hello [2021-08-12T15:12:37.115Z] [ 96%] Built target hello [2021-08-12T15:12:37.115Z] Scanning dependencies of target create_items [2021-08-12T15:12:37.115Z] [ 98%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-08-12T15:12:37.115Z] [100%] Linking C executable create_items [2021-08-12T15:12:37.115Z] [100%] Built target create_items [2021-08-12T15:12:37.115Z] Install the project... [2021-08-12T15:12:37.115Z] -- Install configuration: "Release" [2021-08-12T15:12:37.115Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-08-12T15:12:37.115Z] -- Installing: /usr/local/lib64/libcbor.a [2021-08-12T15:12:37.115Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-08-12T15:12:37.115Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-08-12T15:12:37.115Z] -- Installing: /usr/local/lib64/libcbor.so [2021-08-12T15:12:37.115Z] -- Up-to-date: /usr/local/include/cbor [2021-08-12T15:12:37.115Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-08-12T15:12:37.115Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-08-12T15:12:37.115Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-08-12T15:12:37.115Z] -- Installing: /usr/local/include/cbor/common.h [2021-08-12T15:12:37.115Z] -- Installing: /usr/local/include/cbor/data.h [2021-08-12T15:12:37.115Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-08-12T15:12:37.115Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-08-12T15:12:37.115Z] -- Installing: /usr/local/include/cbor/internal [2021-08-12T15:12:37.115Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-08-12T15:12:37.115Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-08-12T15:12:37.115Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-08-12T15:12:37.115Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-08-12T15:12:37.115Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-08-12T15:12:37.115Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-08-12T15:12:37.115Z] -- Installing: /usr/local/include/cbor/ints.h [2021-08-12T15:12:37.115Z] -- Installing: /usr/local/include/cbor/maps.h [2021-08-12T15:12:37.115Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-08-12T15:12:37.115Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-08-12T15:12:37.115Z] -- Installing: /usr/local/include/cbor/strings.h [2021-08-12T15:12:37.115Z] -- Installing: /usr/local/include/cbor/tags.h [2021-08-12T15:12:37.115Z] -- Installing: /usr/local/include/cbor.h [2021-08-12T15:12:37.115Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-08-12T15:12:37.709Z] Removing intermediate container 1fa8f5cbc09b [2021-08-12T15:12:37.709Z] ---> ec3ca97625dd [2021-08-12T15:12:37.709Z] Step 8/25 : RUN mkdir /tmp/sdk [2021-08-12T15:12:37.709Z] ---> Running in c4fffce1df82 [2021-08-12T15:12:37.872Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-08-12T15:12:37.872Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-08-12T15:12:38.146Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-08-12T15:12:38.307Z] Removing intermediate container c4fffce1df82 [2021-08-12T15:12:38.307Z] ---> d90f6b48d854 [2021-08-12T15:12:38.307Z] Step 9/25 : COPY VERSION /tmp/sdk [2021-08-12T15:12:38.307Z] ---> a6b875d2f4a6 [2021-08-12T15:12:38.307Z] Step 10/25 : COPY src /tmp/sdk/src [2021-08-12T15:12:38.418Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-08-12T15:12:38.418Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-08-12T15:12:38.575Z] ---> 1e8c2319ce88 [2021-08-12T15:12:38.576Z] Step 11/25 : COPY include /tmp/sdk/include [2021-08-12T15:12:38.576Z] ---> 29bb86578317 [2021-08-12T15:12:38.576Z] Step 12/25 : COPY scripts /tmp/sdk/scripts [2021-08-12T15:12:38.842Z] ---> adc4f98b5719 [2021-08-12T15:12:38.842Z] Step 13/25 : COPY LICENSE /tmp/sdk [2021-08-12T15:12:39.015Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-08-12T15:12:39.111Z] ---> 53557caf9f06 [2021-08-12T15:12:39.111Z] Step 14/25 : COPY Attribution.txt /tmp/sdk [2021-08-12T15:12:39.111Z] ---> e1daff387c68 [2021-08-12T15:12:39.111Z] Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-08-12T15:12:39.111Z] ---> Running in 10e2cc5d1d5b [2021-08-12T15:12:39.377Z] + CPPCHECK=false [2021-08-12T15:12:39.377Z] + DOCGEN=false [2021-08-12T15:12:39.377Z] + TOMLVER=SDK-0.2 [2021-08-12T15:12:39.377Z] + CUTILVER=1.1.4 [2021-08-12T15:12:39.377Z] + '[' 0 -gt 0 ] [2021-08-12T15:12:39.377Z] + readlink -f ./scripts/build.sh [2021-08-12T15:12:39.377Z] + dirname /tmp/sdk/scripts/build.sh [2021-08-12T15:12:39.377Z] + dirname /tmp/sdk/scripts [2021-08-12T15:12:39.377Z] + ROOT=/tmp/sdk [2021-08-12T15:12:39.377Z] + cd /tmp/sdk [2021-08-12T15:12:39.377Z] + '[' '!' -d deps ] [2021-08-12T15:12:39.377Z] + mkdir deps [2021-08-12T15:12:39.377Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-08-12T15:12:39.377Z] + tar -C deps -z -x -f - [2021-08-12T15:12:39.377Z] --2021-08-12 15:12:39-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-08-12T15:12:39.377Z] Resolving github.com (github.com)... 140.82.113.4 [2021-08-12T15:12:39.377Z] Connecting to github.com (github.com)|140.82.113.4|:443... connected. [2021-08-12T15:12:39.610Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-08-12T15:12:39.643Z] HTTP request sent, awaiting response... 302 Found [2021-08-12T15:12:39.643Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-08-12T15:12:39.643Z] --2021-08-12 15:12:39-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-08-12T15:12:39.643Z] Resolving codeload.github.com (codeload.github.com)... 140.82.112.9 [2021-08-12T15:12:39.643Z] Connecting to codeload.github.com (codeload.github.com)|140.82.112.9|:443... connected. [2021-08-12T15:12:39.885Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-08-12T15:12:39.912Z] HTTP request sent, awaiting response... 200 OK [2021-08-12T15:12:39.913Z] Length: unspecified [application/x-gzip] [2021-08-12T15:12:39.913Z] Saving to: 'STDOUT' [2021-08-12T15:12:39.913Z] [2021-08-12T15:12:39.913Z] 0K .......... ......  831K=0.02s [2021-08-12T15:12:39.913Z] [2021-08-12T15:12:39.913Z] 2021-08-12 15:12:39 (831 KB/s) - written to stdout [16451] [2021-08-12T15:12:39.913Z] [2021-08-12T15:12:39.913Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-08-12T15:12:39.913Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-08-12T15:12:39.913Z] + tar -C deps -z -x -f - [2021-08-12T15:12:39.913Z] --2021-08-12 15:12:39-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-08-12T15:12:39.913Z] Resolving github.com (github.com)... 140.82.113.4 [2021-08-12T15:12:39.913Z] Connecting to github.com (github.com)|140.82.113.4|:443... connected. [2021-08-12T15:12:39.913Z] HTTP request sent, awaiting response... 302 Found [2021-08-12T15:12:39.913Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] [2021-08-12T15:12:39.913Z] --2021-08-12 15:12:39-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [2021-08-12T15:12:39.913Z] Resolving codeload.github.com (codeload.github.com)... 140.82.112.9 [2021-08-12T15:12:39.913Z] Connecting to codeload.github.com (codeload.github.com)|140.82.112.9|:443... connected. [2021-08-12T15:12:40.448Z] HTTP request sent, awaiting response... 200 OK [2021-08-12T15:12:40.448Z] Length: unspecified [application/x-gzip] [2021-08-12T15:12:40.448Z] Saving to: 'STDOUT' [2021-08-12T15:12:40.448Z] [2021-08-12T15:12:40.448Z] 0K .......... .......... .......... .......... .......... 1.24M [2021-08-12T15:12:40.448Z] 50K .......... .......... .......... .......... .......... 2.44M [2021-08-12T15:12:40.448Z] 100K .......... .......... .......... .......... .......... 39.4M [2021-08-12T15:12:40.448Z] 150K .......... .......... ....... 2.70M=0.07s [2021-08-12T15:12:40.448Z] [2021-08-12T15:12:40.448Z] 2021-08-12 15:12:40 (2.46 MB/s) - written to stdout [181796] [2021-08-12T15:12:40.448Z] [2021-08-12T15:12:40.448Z] + mkdir -p src/c/iot [2021-08-12T15:12:40.448Z] + cp deps/iotech-c-utils-1.1.4/src/c/base64.c deps/iotech-c-utils-1.1.4/src/c/component.c deps/iotech-c-utils-1.1.4/src/c/config.c deps/iotech-c-utils-1.1.4/src/c/container.c deps/iotech-c-utils-1.1.4/src/c/data.c deps/iotech-c-utils-1.1.4/src/c/hash.c deps/iotech-c-utils-1.1.4/src/c/iot.c deps/iotech-c-utils-1.1.4/src/c/json.c deps/iotech-c-utils-1.1.4/src/c/logger.c deps/iotech-c-utils-1.1.4/src/c/os.c deps/iotech-c-utils-1.1.4/src/c/scheduler.c deps/iotech-c-utils-1.1.4/src/c/thread.c deps/iotech-c-utils-1.1.4/src/c/threadpool.c deps/iotech-c-utils-1.1.4/src/c/time.c deps/iotech-c-utils-1.1.4/src/c/yxml.c src/c/iot [2021-08-12T15:12:40.448Z] + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot [2021-08-12T15:12:40.448Z] + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot [2021-08-12T15:12:40.448Z] + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot [2021-08-12T15:12:40.448Z] + mkdir -p include/iot [2021-08-12T15:12:40.448Z] + cp deps/iotech-c-utils-1.1.4/include/iot/base64.h deps/iotech-c-utils-1.1.4/include/iot/component.h deps/iotech-c-utils-1.1.4/include/iot/config.h deps/iotech-c-utils-1.1.4/include/iot/container.h deps/iotech-c-utils-1.1.4/include/iot/data.h deps/iotech-c-utils-1.1.4/include/iot/hash.h deps/iotech-c-utils-1.1.4/include/iot/iot.h deps/iotech-c-utils-1.1.4/include/iot/json.h deps/iotech-c-utils-1.1.4/include/iot/logger.h deps/iotech-c-utils-1.1.4/include/iot/os.h deps/iotech-c-utils-1.1.4/include/iot/scheduler.h deps/iotech-c-utils-1.1.4/include/iot/thread.h deps/iotech-c-utils-1.1.4/include/iot/threadpool.h deps/iotech-c-utils-1.1.4/include/iot/time.h deps/iotech-c-utils-1.1.4/include/iot/typecode.h include/iot [2021-08-12T15:12:40.448Z] + mkdir -p include/iot/os [2021-08-12T15:12:40.448Z] + cp deps/iotech-c-utils-1.1.4/include/iot/os/linux.h deps/iotech-c-utils-1.1.4/include/iot/os/macos.h deps/iotech-c-utils-1.1.4/include/iot/os/zephyr.h include/iot/os [2021-08-12T15:12:40.448Z] + mkdir -p /tmp/sdk/build/release [2021-08-12T15:12:40.448Z] + cd /tmp/sdk/build/release [2021-08-12T15:12:40.448Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-08-12T15:12:40.479Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-08-12T15:12:40.716Z] -- The C compiler identification is GNU 9.3.0 [2021-08-12T15:12:40.716Z] -- Check for working C compiler: /usr/bin/cc [2021-08-12T15:12:40.716Z] -- Check for working C compiler: /usr/bin/cc - works [2021-08-12T15:12:40.716Z] -- Detecting C compiler ABI info [2021-08-12T15:12:40.716Z] -- Detecting C compiler ABI info - done [2021-08-12T15:12:40.716Z] -- Detecting C compile features [2021-08-12T15:12:40.716Z] -- Detecting C compile features - done [2021-08-12T15:12:40.716Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-08-12T15:12:40.716Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") [2021-08-12T15:12:40.716Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-08-12T15:12:40.716Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-08-12T15:12:40.716Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-08-12T15:12:40.716Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-08-12T15:12:40.716Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-08-12T15:12:40.716Z] -- C SDK 0.0.0 for Linux [2021-08-12T15:12:40.716Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-08-12T15:12:40.754Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-08-12T15:12:40.984Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-08-12T15:12:40.984Z] -- Found Curses: /usr/lib/libcurses.so [2021-08-12T15:12:40.984Z] -- Configuring done [2021-08-12T15:12:40.984Z] -- Generating done [2021-08-12T15:12:40.984Z] -- Build files have been written to: /tmp/sdk/build/release [2021-08-12T15:12:40.984Z] + make all package [2021-08-12T15:12:40.984Z] + tee release.log [2021-08-12T15:12:40.984Z] Scanning dependencies of target csdk [2021-08-12T15:12:40.984Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-08-12T15:12:41.027Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-08-12T15:12:41.250Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-08-12T15:12:41.250Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-08-12T15:12:41.306Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-08-12T15:12:41.520Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-08-12T15:12:41.580Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-08-12T15:12:41.789Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-08-12T15:12:41.789Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-08-12T15:12:41.789Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-08-12T15:12:41.852Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-08-12T15:12:42.064Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-08-12T15:12:42.064Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-08-12T15:12:42.126Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-08-12T15:12:42.333Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-08-12T15:12:42.404Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-08-12T15:12:42.404Z] [ 80%] Linking C static library libcbor.a [2021-08-12T15:12:42.608Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-08-12T15:12:42.608Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-08-12T15:12:42.679Z] [ 80%] Built target cbor [2021-08-12T15:12:42.679Z] Scanning dependencies of target sort [2021-08-12T15:12:42.679Z] [ 82%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-08-12T15:12:42.879Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-08-12T15:12:42.879Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-08-12T15:12:42.879Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-08-12T15:12:42.879Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-08-12T15:12:42.960Z] [ 84%] Linking C executable sort [2021-08-12T15:12:42.960Z] [ 84%] Built target sort [2021-08-12T15:12:42.960Z] Scanning dependencies of target readfile [2021-08-12T15:12:42.960Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-08-12T15:12:43.147Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-08-12T15:12:43.237Z] [ 88%] Linking C executable readfile [2021-08-12T15:12:43.237Z] [ 88%] Built target readfile [2021-08-12T15:12:43.237Z] Scanning dependencies of target streaming_parser [2021-08-12T15:12:43.237Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-08-12T15:12:43.511Z] [ 92%] Linking C executable streaming_parser [2021-08-12T15:12:43.735Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-08-12T15:12:43.736Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-08-12T15:12:43.736Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-08-12T15:12:43.736Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-08-12T15:12:43.736Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-08-12T15:12:43.787Z] [ 92%] Built target streaming_parser [2021-08-12T15:12:43.787Z] Scanning dependencies of target hello [2021-08-12T15:12:43.787Z] [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-08-12T15:12:43.787Z] [ 96%] Linking C executable hello [2021-08-12T15:12:44.004Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-08-12T15:12:44.062Z] [ 96%] Built target hello [2021-08-12T15:12:44.062Z] Scanning dependencies of target create_items [2021-08-12T15:12:44.062Z] [ 98%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-08-12T15:12:44.338Z] [100%] Linking C executable create_items [2021-08-12T15:12:44.338Z] [100%] Built target create_items [2021-08-12T15:12:44.338Z] Install the project... [2021-08-12T15:12:44.338Z] -- Install configuration: "Release" [2021-08-12T15:12:44.338Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-08-12T15:12:44.338Z] -- Installing: /usr/local/lib64/libcbor.a [2021-08-12T15:12:44.338Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-08-12T15:12:44.338Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-08-12T15:12:44.338Z] -- Installing: /usr/local/lib64/libcbor.so [2021-08-12T15:12:44.338Z] -- Up-to-date: /usr/local/include/cbor [2021-08-12T15:12:44.338Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-08-12T15:12:44.338Z] -- Installing: /usr/local/include/cbor/ints.h [2021-08-12T15:12:44.338Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-08-12T15:12:44.338Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-08-12T15:12:44.338Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-08-12T15:12:44.338Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-08-12T15:12:44.338Z] -- Installing: /usr/local/include/cbor/data.h [2021-08-12T15:12:44.338Z] -- Installing: /usr/local/include/cbor/common.h [2021-08-12T15:12:44.338Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-08-12T15:12:44.338Z] -- Installing: /usr/local/include/cbor/strings.h [2021-08-12T15:12:44.338Z] -- Installing: /usr/local/include/cbor/tags.h [2021-08-12T15:12:44.338Z] -- Installing: /usr/local/include/cbor/internal [2021-08-12T15:12:44.338Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-08-12T15:12:44.338Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-08-12T15:12:44.338Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-08-12T15:12:44.338Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-08-12T15:12:44.338Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-08-12T15:12:44.338Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-08-12T15:12:44.338Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-08-12T15:12:44.338Z] -- Installing: /usr/local/include/cbor/maps.h [2021-08-12T15:12:44.338Z] -- Installing: /usr/local/include/cbor.h [2021-08-12T15:12:44.338Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-08-12T15:12:44.589Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-08-12T15:12:44.589Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-08-12T15:12:44.589Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-08-12T15:12:44.589Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-08-12T15:12:44.860Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-08-12T15:12:44.860Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-08-12T15:12:44.860Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-08-12T15:12:45.137Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-08-12T15:12:45.137Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-08-12T15:12:45.137Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-08-12T15:12:45.724Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-08-12T15:12:45.724Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-08-12T15:12:45.724Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-08-12T15:12:45.991Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-08-12T15:12:46.581Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-08-12T15:12:46.847Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-08-12T15:12:46.847Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-08-12T15:12:46.847Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-08-12T15:12:46.963Z] Removing intermediate container 4f9d2a5d3783 [2021-08-12T15:12:46.963Z] ---> 5337ae0f9607 [2021-08-12T15:12:46.963Z] Step 8/25 : RUN mkdir /tmp/sdk [2021-08-12T15:12:46.963Z] ---> Running in 0f386a130bef [2021-08-12T15:12:47.115Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-08-12T15:12:47.381Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-08-12T15:12:47.381Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-08-12T15:12:47.648Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-08-12T15:12:47.648Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-08-12T15:12:47.918Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-08-12T15:12:48.893Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-08-12T15:12:48.893Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-08-12T15:12:48.893Z] [ 75%] Linking C shared library libcsdk.so [2021-08-12T15:12:48.893Z] [ 75%] Built target csdk [2021-08-12T15:12:48.893Z] Scanning dependencies of target template [2021-08-12T15:12:48.893Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-08-12T15:12:48.947Z] Removing intermediate container 0f386a130bef [2021-08-12T15:12:48.947Z] ---> 39057ca4114a [2021-08-12T15:12:48.947Z] Step 9/25 : COPY VERSION /tmp/sdk [2021-08-12T15:12:49.161Z] [ 78%] Linking C executable template [2021-08-12T15:12:49.161Z] [ 78%] Built target template [2021-08-12T15:12:49.161Z] Scanning dependencies of target device-counter [2021-08-12T15:12:49.161Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-08-12T15:12:49.161Z] [ 81%] Linking C executable device-counter [2021-08-12T15:12:49.161Z] [ 81%] Built target device-counter [2021-08-12T15:12:49.161Z] Scanning dependencies of target device-random [2021-08-12T15:12:49.161Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-08-12T15:12:49.431Z] [ 84%] Linking C executable device-random [2021-08-12T15:12:49.431Z] [ 84%] Built target device-random [2021-08-12T15:12:49.431Z] Scanning dependencies of target device-gyro [2021-08-12T15:12:49.431Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-08-12T15:12:49.431Z] [ 87%] Linking C executable device-gyro [2021-08-12T15:12:49.431Z] [ 87%] Built target device-gyro [2021-08-12T15:12:49.431Z] Scanning dependencies of target device-bitfields [2021-08-12T15:12:49.431Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-08-12T15:12:49.701Z] [ 90%] Linking C executable device-bitfields [2021-08-12T15:12:49.701Z] [ 90%] Built target device-bitfields [2021-08-12T15:12:49.702Z] Scanning dependencies of target template-discovery [2021-08-12T15:12:49.702Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-08-12T15:12:49.928Z] ---> f192f3383d7b [2021-08-12T15:12:49.928Z] Step 10/25 : COPY src /tmp/sdk/src [2021-08-12T15:12:49.969Z] [ 93%] Linking C executable template-discovery [2021-08-12T15:12:49.969Z] [ 93%] Built target template-discovery [2021-08-12T15:12:49.969Z] Scanning dependencies of target device-file [2021-08-12T15:12:49.969Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-08-12T15:12:49.969Z] [ 96%] Linking C executable device-file [2021-08-12T15:12:49.969Z] [ 96%] Built target device-file [2021-08-12T15:12:49.969Z] Scanning dependencies of target device-terminal [2021-08-12T15:12:49.969Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-08-12T15:12:50.238Z] [100%] Linking C executable device-terminal [2021-08-12T15:12:50.238Z] [100%] Built target device-terminal [2021-08-12T15:12:50.238Z] Run CPack packaging tool... [2021-08-12T15:12:50.238Z] CPack: Create package using TGZ [2021-08-12T15:12:50.238Z] CPack: Install projects [2021-08-12T15:12:50.238Z] CPack: - Run preinstall target for: Csdk [2021-08-12T15:12:50.509Z] CPack: - Install project: Csdk [] [2021-08-12T15:12:50.509Z] CPack: Create package [2021-08-12T15:12:50.510Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-08-12T15:12:50.510Z] + '[' false '=' true ] [2021-08-12T15:12:50.510Z] + '[' false '=' true ] [2021-08-12T15:12:50.510Z] + mkdir -p /tmp/sdk/build/debug [2021-08-12T15:12:50.510Z] + cd /tmp/sdk/build/debug [2021-08-12T15:12:50.510Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-08-12T15:12:50.510Z] -- The C compiler identification is GNU 9.3.0 [2021-08-12T15:12:50.510Z] -- Check for working C compiler: /usr/bin/cc [2021-08-12T15:12:50.776Z] -- Check for working C compiler: /usr/bin/cc - works [2021-08-12T15:12:50.776Z] -- Detecting C compiler ABI info [2021-08-12T15:12:50.776Z] -- Detecting C compiler ABI info - done [2021-08-12T15:12:50.776Z] -- Detecting C compile features [2021-08-12T15:12:50.776Z] -- Detecting C compile features - done [2021-08-12T15:12:50.776Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-08-12T15:12:50.776Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") [2021-08-12T15:12:50.776Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-08-12T15:12:50.776Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-08-12T15:12:50.776Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-08-12T15:12:50.776Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-08-12T15:12:50.776Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-08-12T15:12:50.776Z] -- C SDK 0.0.0 for Linux [2021-08-12T15:12:50.776Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-08-12T15:12:50.776Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-08-12T15:12:50.776Z] -- Found Curses: /usr/lib/libcurses.so [2021-08-12T15:12:50.912Z] ---> 1ca1a4d238aa [2021-08-12T15:12:50.912Z] Step 11/25 : COPY include /tmp/sdk/include [2021-08-12T15:12:51.045Z] -- Configuring done [2021-08-12T15:12:51.045Z] -- Generating done [2021-08-12T15:12:51.045Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-08-12T15:12:51.045Z] + make [2021-08-12T15:12:51.045Z] + tee debug.log [2021-08-12T15:12:51.045Z] Scanning dependencies of target csdk [2021-08-12T15:12:51.045Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-08-12T15:12:51.045Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-08-12T15:12:51.045Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-08-12T15:12:51.314Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-08-12T15:12:51.314Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-08-12T15:12:51.314Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-08-12T15:12:51.580Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-08-12T15:12:51.580Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-08-12T15:12:51.580Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-08-12T15:12:51.580Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-08-12T15:12:51.851Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-08-12T15:12:51.851Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-08-12T15:12:51.851Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-08-12T15:12:51.851Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-08-12T15:12:51.892Z] ---> 922028574ae6 [2021-08-12T15:12:51.892Z] Step 12/25 : COPY scripts /tmp/sdk/scripts [2021-08-12T15:12:52.116Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-08-12T15:12:52.116Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-08-12T15:12:52.116Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-08-12T15:12:52.116Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-08-12T15:12:52.386Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-08-12T15:12:52.386Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-08-12T15:12:52.386Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-08-12T15:12:52.386Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-08-12T15:12:52.386Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-08-12T15:12:52.486Z] ---> b3b9da80d714 [2021-08-12T15:12:52.486Z] Step 13/25 : COPY LICENSE /tmp/sdk [2021-08-12T15:12:52.653Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-08-12T15:12:52.653Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-08-12T15:12:52.653Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-08-12T15:12:52.919Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-08-12T15:12:52.919Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-08-12T15:12:52.919Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-08-12T15:12:52.919Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-08-12T15:12:52.919Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-08-12T15:12:53.189Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-08-12T15:12:53.189Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-08-12T15:12:53.189Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-08-12T15:12:53.189Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-08-12T15:12:53.459Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-08-12T15:12:53.459Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-08-12T15:12:53.465Z] ---> d8ead20214dd [2021-08-12T15:12:53.465Z] Step 14/25 : COPY Attribution.txt /tmp/sdk [2021-08-12T15:12:53.729Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-08-12T15:12:53.729Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-08-12T15:12:53.729Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-08-12T15:12:53.729Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-08-12T15:12:53.729Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-08-12T15:12:54.000Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-08-12T15:12:54.000Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-08-12T15:12:54.000Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-08-12T15:12:54.057Z] ---> 15ecc4ce95cb [2021-08-12T15:12:54.057Z] Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-08-12T15:12:54.267Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-08-12T15:12:54.267Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-08-12T15:12:54.328Z] ---> Running in 9de439c1e356 [2021-08-12T15:12:54.534Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-08-12T15:12:54.535Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-08-12T15:12:54.535Z] [ 75%] Linking C shared library libcsdk.so [2021-08-12T15:12:54.535Z] [ 75%] Built target csdk [2021-08-12T15:12:54.535Z] Scanning dependencies of target template [2021-08-12T15:12:54.535Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-08-12T15:12:54.800Z] [ 78%] Linking C executable template [2021-08-12T15:12:54.800Z] [ 78%] Built target template [2021-08-12T15:12:54.800Z] Scanning dependencies of target device-counter [2021-08-12T15:12:54.800Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-08-12T15:12:54.800Z] [ 81%] Linking C executable device-counter [2021-08-12T15:12:54.800Z] [ 81%] Built target device-counter [2021-08-12T15:12:54.800Z] Scanning dependencies of target device-random [2021-08-12T15:12:54.800Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-08-12T15:12:54.800Z] [ 84%] Linking C executable device-random [2021-08-12T15:12:55.069Z] [ 84%] Built target device-random [2021-08-12T15:12:55.069Z] Scanning dependencies of target device-gyro [2021-08-12T15:12:55.069Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-08-12T15:12:55.069Z] [ 87%] Linking C executable device-gyro [2021-08-12T15:12:55.069Z] [ 87%] Built target device-gyro [2021-08-12T15:12:55.069Z] Scanning dependencies of target device-bitfields [2021-08-12T15:12:55.069Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-08-12T15:12:55.069Z] [ 90%] Linking C executable device-bitfields [2021-08-12T15:12:55.308Z] + CPPCHECK=false [2021-08-12T15:12:55.308Z] + DOCGEN=false [2021-08-12T15:12:55.308Z] + TOMLVER=SDK-0.2 [2021-08-12T15:12:55.308Z] + CUTILVER=1.1.4 [2021-08-12T15:12:55.308Z] + '[' 0 -gt 0 ] [2021-08-12T15:12:55.308Z] + readlink -f ./scripts/build.sh [2021-08-12T15:12:55.308Z] + dirname /tmp/sdk/scripts/build.sh [2021-08-12T15:12:55.308Z] + dirname /tmp/sdk/scripts [2021-08-12T15:12:55.308Z] + ROOT=/tmp/sdk [2021-08-12T15:12:55.308Z] + cd /tmp/sdk [2021-08-12T15:12:55.308Z] + '[' '!' -d deps ] [2021-08-12T15:12:55.308Z] + mkdir deps [2021-08-12T15:12:55.308Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-08-12T15:12:55.308Z] + tar -C deps -z -x -f - [2021-08-12T15:12:55.308Z] --2021-08-12 15:12:55-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-08-12T15:12:55.337Z] [ 90%] Built target device-bitfields [2021-08-12T15:12:55.337Z] Scanning dependencies of target template-discovery [2021-08-12T15:12:55.337Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-08-12T15:12:55.337Z] [ 93%] Linking C executable template-discovery [2021-08-12T15:12:55.337Z] [ 93%] Built target template-discovery [2021-08-12T15:12:55.337Z] Scanning dependencies of target device-file [2021-08-12T15:12:55.337Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-08-12T15:12:55.337Z] [ 96%] Linking C executable device-file [2021-08-12T15:12:55.579Z] Resolving github.com (github.com)... 140.82.113.4 [2021-08-12T15:12:55.580Z] Connecting to github.com (github.com)|140.82.113.4|:443... connected. [2021-08-12T15:12:55.580Z] HTTP request sent, awaiting response... 302 Found [2021-08-12T15:12:55.580Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-08-12T15:12:55.580Z] --2021-08-12 15:12:55-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-08-12T15:12:55.580Z] Resolving codeload.github.com (codeload.github.com)... 140.82.112.9 [2021-08-12T15:12:55.580Z] Connecting to codeload.github.com (codeload.github.com)|140.82.112.9|:443... connected. [2021-08-12T15:12:55.580Z] HTTP request sent, awaiting response... 200 OK [2021-08-12T15:12:55.580Z] Length: unspecified [application/x-gzip] [2021-08-12T15:12:55.580Z] Saving to: 'STDOUT' [2021-08-12T15:12:55.580Z]  [2021-08-12T15:12:55.580Z] 0K .......... ......    922K=0.02s [2021-08-12T15:12:55.580Z] [2021-08-12T15:12:55.580Z] 2021-08-12 15:12:55 (922 KB/s) - written to stdout [16451] [2021-08-12T15:12:55.580Z] [2021-08-12T15:12:55.580Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-08-12T15:12:55.580Z] + + tarwget -C -O deps - -z https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz -x [2021-08-12T15:12:55.580Z] -f - [2021-08-12T15:12:55.580Z] --2021-08-12 15:12:55-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-08-12T15:12:55.602Z] [ 96%] Built target device-file [2021-08-12T15:12:55.602Z] Scanning dependencies of target device-terminal [2021-08-12T15:12:55.602Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-08-12T15:12:55.602Z] [100%] Linking C executable device-terminal [2021-08-12T15:12:55.602Z] [100%] Built target device-terminal [2021-08-12T15:12:55.602Z] make: Entering directory '/tmp/sdk/build/release' [2021-08-12T15:12:55.602Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-08-12T15:12:55.602Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-12T15:12:55.602Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-12T15:12:55.602Z] [ 75%] Built target csdk [2021-08-12T15:12:55.602Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-12T15:12:55.602Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-12T15:12:55.602Z] [ 78%] Built target template [2021-08-12T15:12:55.602Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-12T15:12:55.602Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-12T15:12:55.602Z] [ 81%] Built target device-counter [2021-08-12T15:12:55.602Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-12T15:12:55.602Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-12T15:12:55.602Z] [ 84%] Built target device-random [2021-08-12T15:12:55.602Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-12T15:12:55.853Z] Resolving github.com (github.com)... 140.82.113.4 [2021-08-12T15:12:55.853Z] Connecting to github.com (github.com)|140.82.113.4|:443... connected. [2021-08-12T15:12:55.853Z] HTTP request sent, awaiting response... 302 Found [2021-08-12T15:12:55.853Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] [2021-08-12T15:12:55.853Z] --2021-08-12 15:12:55-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [2021-08-12T15:12:55.853Z] Resolving codeload.github.com (codeload.github.com)... 140.82.112.9 [2021-08-12T15:12:55.853Z] Connecting to codeload.github.com (codeload.github.com)|140.82.112.9|:443... connected. [2021-08-12T15:12:55.853Z] HTTP request sent, awaiting response... 200 OK [2021-08-12T15:12:55.853Z] Length: unspecified [application/x-gzip] [2021-08-12T15:12:55.853Z] Saving to: 'STDOUT' [2021-08-12T15:12:55.853Z]  [2021-08-12T15:12:55.853Z] 0K .......... .......... .......... .......... .......... 1.44M [2021-08-12T15:12:55.853Z] 50K .......... .......... .......... .......... .......... 2.73M [2021-08-12T15:12:55.853Z] 100K .......... .......... .......... .......... .......... 6.13M [2021-08-12T15:12:55.853Z] 150K .......... .......... .......  1.76M=0.08s [2021-08-12T15:12:55.853Z] [2021-08-12T15:12:55.853Z] 2021-08-12 15:12:55 (2.31 MB/s) - written to stdout [181796] [2021-08-12T15:12:55.853Z] [2021-08-12T15:12:55.873Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-12T15:12:55.873Z] [ 87%] Built target device-gyro [2021-08-12T15:12:55.873Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-12T15:12:55.873Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-12T15:12:55.873Z] [ 90%] Built target device-bitfields [2021-08-12T15:12:55.873Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-12T15:12:55.873Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-12T15:12:55.873Z] [ 93%] Built target template-discovery [2021-08-12T15:12:55.873Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-12T15:12:55.873Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-12T15:12:55.873Z] [ 96%] Built target device-file [2021-08-12T15:12:55.873Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-12T15:12:55.873Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-12T15:12:55.873Z] [100%] Built target device-terminal [2021-08-12T15:12:55.873Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-08-12T15:12:55.873Z] Install the project... [2021-08-12T15:12:55.873Z] -- Install configuration: "Release" [2021-08-12T15:12:55.873Z] -- Installing: /usr/local/lib/libcsdk.so [2021-08-12T15:12:55.873Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-08-12T15:12:55.873Z] -- Up-to-date: /usr/local/include [2021-08-12T15:12:55.873Z] -- Installing: /usr/local/include/devsdk [2021-08-12T15:12:55.873Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-08-12T15:12:55.873Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-08-12T15:12:55.873Z] -- Installing: /usr/local/include/edgex [2021-08-12T15:12:55.873Z] -- Installing: /usr/local/include/edgex/devices.h [2021-08-12T15:12:55.873Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-08-12T15:12:55.873Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-08-12T15:12:55.873Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-08-12T15:12:55.873Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-08-12T15:12:55.873Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-08-12T15:12:55.873Z] -- Installing: /usr/local/include/iot [2021-08-12T15:12:55.873Z] -- Installing: /usr/local/include/iot/base64.h [2021-08-12T15:12:55.873Z] -- Installing: /usr/local/include/iot/component.h [2021-08-12T15:12:55.873Z] -- Installing: /usr/local/include/iot/config.h [2021-08-12T15:12:55.873Z] -- Installing: /usr/local/include/iot/container.h [2021-08-12T15:12:55.873Z] -- Installing: /usr/local/include/iot/data.h [2021-08-12T15:12:55.873Z] -- Installing: /usr/local/include/iot/hash.h [2021-08-12T15:12:55.873Z] -- Installing: /usr/local/include/iot/iot.h [2021-08-12T15:12:55.873Z] -- Installing: /usr/local/include/iot/json.h [2021-08-12T15:12:55.873Z] -- Installing: /usr/local/include/iot/logger.h [2021-08-12T15:12:55.873Z] -- Installing: /usr/local/include/iot/os.h [2021-08-12T15:12:55.873Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-08-12T15:12:55.873Z] -- Installing: /usr/local/include/iot/thread.h [2021-08-12T15:12:55.873Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-08-12T15:12:55.873Z] -- Installing: /usr/local/include/iot/time.h [2021-08-12T15:12:55.873Z] -- Installing: /usr/local/include/iot/typecode.h [2021-08-12T15:12:55.873Z] -- Installing: /usr/local/include/iot/os [2021-08-12T15:12:55.873Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-08-12T15:12:55.873Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-08-12T15:12:55.874Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-08-12T15:12:55.874Z] -- Installing: /usr/local/include/iot/defs.h [2021-08-12T15:12:55.874Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-08-12T15:12:55.874Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-08-12T15:12:55.874Z] make: Leaving directory '/tmp/sdk/build/release' [2021-08-12T15:12:56.136Z] + mkdir -p src/c/iot [2021-08-12T15:12:56.136Z] + cp deps/iotech-c-utils-1.1.4/src/c/base64.c deps/iotech-c-utils-1.1.4/src/c/component.c deps/iotech-c-utils-1.1.4/src/c/config.c deps/iotech-c-utils-1.1.4/src/c/container.c deps/iotech-c-utils-1.1.4/src/c/data.c deps/iotech-c-utils-1.1.4/src/c/hash.c deps/iotech-c-utils-1.1.4/src/c/iot.c deps/iotech-c-utils-1.1.4/src/c/json.c deps/iotech-c-utils-1.1.4/src/c/logger.c deps/iotech-c-utils-1.1.4/src/c/os.c deps/iotech-c-utils-1.1.4/src/c/scheduler.c deps/iotech-c-utils-1.1.4/src/c/thread.c deps/iotech-c-utils-1.1.4/src/c/threadpool.c deps/iotech-c-utils-1.1.4/src/c/time.c deps/iotech-c-utils-1.1.4/src/c/yxml.c src/c/iot [2021-08-12T15:12:56.136Z] + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot [2021-08-12T15:12:56.136Z] + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot [2021-08-12T15:12:56.136Z] + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot [2021-08-12T15:12:56.136Z] + mkdir -p include/iot [2021-08-12T15:12:56.136Z] + cp deps/iotech-c-utils-1.1.4/include/iot/base64.h deps/iotech-c-utils-1.1.4/include/iot/component.h deps/iotech-c-utils-1.1.4/include/iot/config.h deps/iotech-c-utils-1.1.4/include/iot/container.h deps/iotech-c-utils-1.1.4/include/iot/data.h deps/iotech-c-utils-1.1.4/include/iot/hash.h deps/iotech-c-utils-1.1.4/include/iot/iot.h deps/iotech-c-utils-1.1.4/include/iot/json.h deps/iotech-c-utils-1.1.4/include/iot/logger.h deps/iotech-c-utils-1.1.4/include/iot/os.h deps/iotech-c-utils-1.1.4/include/iot/scheduler.h deps/iotech-c-utils-1.1.4/include/iot/thread.h deps/iotech-c-utils-1.1.4/include/iot/threadpool.h deps/iotech-c-utils-1.1.4/include/iot/time.h deps/iotech-c-utils-1.1.4/include/iot/typecode.h include/iot [2021-08-12T15:12:56.136Z] + mkdir -p include/iot/os [2021-08-12T15:12:56.136Z] + cp deps/iotech-c-utils-1.1.4/include/iot/os/linux.h deps/iotech-c-utils-1.1.4/include/iot/os/macos.h deps/iotech-c-utils-1.1.4/include/iot/os/zephyr.h include/iot/os [2021-08-12T15:12:56.136Z] + mkdir -p /tmp/sdk/build/release [2021-08-12T15:12:56.136Z] + cd /tmp/sdk/build/release [2021-08-12T15:12:56.136Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-08-12T15:12:56.427Z] -- The C compiler identification is GNU 9.3.0 [2021-08-12T15:12:56.427Z] -- Check for working C compiler: /usr/bin/cc [2021-08-12T15:12:56.483Z] Removing intermediate container 10e2cc5d1d5b [2021-08-12T15:12:56.483Z] ---> e93af5962c86 [2021-08-12T15:12:56.483Z] Step 16/25 : FROM ${BASE} [2021-08-12T15:12:56.483Z] ---> ac6a0feb3254 [2021-08-12T15:12:56.483Z] Step 17/25 : LABEL maintainer="IOTech " [2021-08-12T15:12:56.483Z] ---> Running in 0651c2bf7dc9 [2021-08-12T15:12:56.483Z] Removing intermediate container 0651c2bf7dc9 [2021-08-12T15:12:56.483Z] ---> 3dc4396d575c [2021-08-12T15:12:56.483Z] 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-08-12T15:12:56.483Z] ---> Running in d46f4ad66947 [2021-08-12T15:12:56.708Z] -- Check for working C compiler: /usr/bin/cc - works [2021-08-12T15:12:56.708Z] -- Detecting C compiler ABI info [2021-08-12T15:12:56.755Z] Connecting to iotech.jfrog.io (54.170.66.44:443) [2021-08-12T15:12:56.982Z] -- Detecting C compiler ABI info - done [2021-08-12T15:12:56.982Z] -- Detecting C compile features [2021-08-12T15:12:56.982Z] -- Detecting C compile features - done [2021-08-12T15:12:56.982Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-08-12T15:12:57.259Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") [2021-08-12T15:12:57.259Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-08-12T15:12:57.259Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-08-12T15:12:57.259Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-08-12T15:12:57.259Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-08-12T15:12:57.259Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-08-12T15:12:57.259Z] -- C SDK 0.0.0 for Linux [2021-08-12T15:12:57.259Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-08-12T15:12:57.343Z] saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-08-12T15:12:57.343Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-08-12T15:12:57.343Z] '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [2021-08-12T15:12:57.343Z] Removing intermediate container d46f4ad66947 [2021-08-12T15:12:57.343Z] ---> 1dc39e0106a4 [2021-08-12T15:12:57.343Z] Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-08-12T15:12:57.343Z] ---> Running in aa2c7eea1785 [2021-08-12T15:12:57.535Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-08-12T15:12:57.535Z] -- Found Curses: /usr/lib/libcurses.so [2021-08-12T15:12:57.807Z] -- Configuring done [2021-08-12T15:12:57.933Z] Removing intermediate container aa2c7eea1785 [2021-08-12T15:12:57.933Z] ---> c82e1ec0b9dd [2021-08-12T15:12:57.933Z] 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-08-12T15:12:57.933Z] ---> Running in 1eff7d4a2776 [2021-08-12T15:12:58.081Z] -- Generating done [2021-08-12T15:12:58.081Z] -- Build files have been written to: /tmp/sdk/build/release [2021-08-12T15:12:58.081Z] + make all package [2021-08-12T15:12:58.081Z] + tee release.log [2021-08-12T15:12:58.081Z] Scanning dependencies of target csdk [2021-08-12T15:12:58.199Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-08-12T15:12:58.352Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-08-12T15:12:58.791Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-08-12T15:12:58.947Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-08-12T15:12:59.060Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz [2021-08-12T15:12:59.221Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-08-12T15:12:59.647Z] (1/7) Installing curl (7.78.0-r0) [2021-08-12T15:12:59.647Z] (2/7) Installing hiredis (0.14.1-r0) [2021-08-12T15:12:59.921Z] (3/7) Installing hiredis-dev (0.14.1-r0) [2021-08-12T15:12:59.922Z] (4/7) Installing libuuid (2.35.2-r0) [2021-08-12T15:12:59.922Z] (5/7) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-08-12T15:13:01.193Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-08-12T15:13:01.334Z] (6/7) Installing libidn2 (2.3.0-r0) [2021-08-12T15:13:01.334Z] (7/7) Installing wget (1.20.3-r1) [2021-08-12T15:13:01.602Z] Executing busybox-1.31.1-r20.trigger [2021-08-12T15:13:01.602Z] OK: 286 MiB in 82 packages [2021-08-12T15:13:01.790Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-08-12T15:13:01.871Z] Removing intermediate container 1eff7d4a2776 [2021-08-12T15:13:01.871Z] ---> 6d966ceb0ca4 [2021-08-12T15:13:01.871Z] Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-08-12T15:13:02.064Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-08-12T15:13:02.138Z] ---> b44d999a6abb [2021-08-12T15:13:02.138Z] Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-08-12T15:13:02.138Z] ---> 46bdecb43007 [2021-08-12T15:13:02.138Z] Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-08-12T15:13:02.404Z] ---> 0c9045409d4b [2021-08-12T15:13:02.404Z] Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-08-12T15:13:02.669Z] ---> 7ef18632950d [2021-08-12T15:13:02.669Z] Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-08-12T15:13:02.669Z] ---> c3ba17fb61a2 [2021-08-12T15:13:02.669Z] Successfully built c3ba17fb61a2 [2021-08-12T15:13:02.669Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-12T15:13:03.043Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-08-12T15:13:03.306Z] + docker inspect -f . ci-base-image-x86_64 [2021-08-12T15:13:03.306Z] . [2021-08-12T15:13:03.317Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [Pipeline] withDockerContainer [2021-08-12T15:13:03.458Z] prd-centos7-docker-4c-2g-712 does not seem to be running inside a container [2021-08-12T15:13:03.529Z] $ 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-x86_64 cat [2021-08-12T15:13:03.589Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-08-12T15:13:03.978Z] $ docker top 53b17577f4c84e446d16b21e9f70e636e2cacf721e457224ae401bfc38be4087 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-12T15:13:04.478Z] + make test [2021-08-12T15:13:04.478Z] echo "make test" [2021-08-12T15:13:04.478Z] make test [Pipeline] } [2021-08-12T15:13:04.518Z] $ docker stop --time=1 53b17577f4c84e446d16b21e9f70e636e2cacf721e457224ae401bfc38be4087 [2021-08-12T15:13:04.577Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-08-12T15:13:05.768Z] $ docker rm -f 53b17577f4c84e446d16b21e9f70e636e2cacf721e457224ae401bfc38be4087 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2021-08-12T15:13:06.598Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-08-12T15:13:06.598Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-08-12T15:13:07.202Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-08-12T15:13:08.183Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [Pipeline] sh [2021-08-12T15:13:08.460Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-08-12T15:13:08.460Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-08-12T15:13:08.716Z] + sudo chown -R jenkins:jenkins . [2021-08-12T15:13:08.736Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [Pipeline] sh [2021-08-12T15:13:09.055Z] + ls -al . [2021-08-12T15:13:09.055Z] total 172 [2021-08-12T15:13:09.055Z] drwxrwxr-x. 8 jenkins jenkins 4096 Aug 12 15:12 . [2021-08-12T15:13:09.055Z] drwxrwxr-x. 4 jenkins jenkins 28 Aug 12 15:12 .. [2021-08-12T15:13:09.055Z] -rw-rw-r--. 1 jenkins jenkins 3104 Aug 12 15:12 Attribution.txt [2021-08-12T15:13:09.055Z] -rw-rw-r--. 1 jenkins jenkins 7701 Aug 12 15:12 CHANGES [2021-08-12T15:13:09.055Z] drwxrwxr-x. 2 jenkins jenkins 121 Aug 12 15:12 docs [2021-08-12T15:13:09.055Z] -rw-rw-r--. 1 jenkins jenkins 108574 Aug 12 15:12 Doxyfile [2021-08-12T15:13:09.055Z] drwxrwxr-x. 8 jenkins jenkins 179 Aug 12 15:12 .git [2021-08-12T15:13:09.055Z] drwxrwxr-x. 2 jenkins jenkins 81 Aug 12 15:12 .github [2021-08-12T15:13:09.055Z] -rw-rw-r--. 1 jenkins jenkins 176 Aug 12 15:12 .gitignore [2021-08-12T15:13:09.055Z] -rw-rw-r--. 1 jenkins jenkins 677 Aug 12 15:12 GOVERNANCE.md [2021-08-12T15:13:09.055Z] drwxrwxr-x. 4 jenkins jenkins 33 Aug 12 15:12 include [2021-08-12T15:13:09.055Z] -rw-rw-r--. 1 jenkins jenkins 784 Aug 12 15:12 Jenkinsfile [2021-08-12T15:13:09.055Z] -rw-rw-r--. 1 jenkins jenkins 10174 Aug 12 15:12 LICENSE [2021-08-12T15:13:09.055Z] -rw-rw-r--. 1 jenkins jenkins 444 Aug 12 15:12 Makefile [2021-08-12T15:13:09.055Z] -rw-rw-r--. 1 jenkins jenkins 618 Aug 12 15:12 OWNERS.md [2021-08-12T15:13:09.055Z] -rw-rw-r--. 1 jenkins jenkins 4086 Aug 12 15:12 README.md [2021-08-12T15:13:09.055Z] -rw-rw-r--. 1 jenkins jenkins 7090 Aug 12 15:12 README.v2.md [2021-08-12T15:13:09.055Z] drwxrwxr-x. 2 jenkins jenkins 98 Aug 12 15:12 scripts [2021-08-12T15:13:09.055Z] drwxrwxr-x. 4 jenkins jenkins 50 Aug 12 15:12 src [2021-08-12T15:13:09.055Z] -rw-rw-r--. 1 jenkins jenkins 5 Aug 12 15:09 VERSION [Pipeline] isUnix [Pipeline] sh [2021-08-12T15:13:09.412Z] + 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=3181a24b07ac7f9b3f80729621afdfba870adc2f --label arch=amd64 --label version=0.0.0 . [2021-08-12T15:13:09.412Z] Sending build context to Docker daemon 2.707MB [2021-08-12T15:13:09.412Z] Step 1/17 : ARG BASE=alpine:3.12 [2021-08-12T15:13:09.412Z] Step 2/17 : FROM ${BASE} [2021-08-12T15:13:09.412Z] ---> c3ba17fb61a2 [2021-08-12T15:13:09.412Z] Step 3/17 : LABEL maintainer="IOTech " [2021-08-12T15:13:09.412Z] ---> Running in e37885f11a65 [2021-08-12T15:13:09.687Z] Removing intermediate container e37885f11a65 [2021-08-12T15:13:09.687Z] ---> 7ad2c23b8dd7 [2021-08-12T15:13:09.687Z] 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-08-12T15:13:09.687Z] ---> Running in edea89a7e62a [2021-08-12T15:13:09.955Z] --2021-08-12 15:13:09-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub [2021-08-12T15:13:12.133Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-08-12T15:13:12.134Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-08-12T15:13:12.134Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-08-12T15:13:12.411Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-08-12T15:13:12.543Z] Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.229.110.245, 54.195.244.87, 54.170.66.44 [2021-08-12T15:13:12.543Z] Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.229.110.245|:443... connected. [2021-08-12T15:13:12.812Z] HTTP request sent, awaiting response... 200 OK [2021-08-12T15:13:12.812Z] Length: 451 [application/octet-stream] [2021-08-12T15:13:12.812Z] Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-08-12T15:13:12.812Z]  [2021-08-12T15:13:12.812Z] 0K 100% 48.9M=0s [2021-08-12T15:13:12.812Z] [2021-08-12T15:13:12.812Z] 2021-08-12 15:13:12 (48.9 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] [2021-08-12T15:13:12.812Z] [2021-08-12T15:13:12.812Z] Removing intermediate container edea89a7e62a [2021-08-12T15:13:12.812Z] ---> 4a181ccf3042 [2021-08-12T15:13:12.812Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-08-12T15:13:13.010Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-08-12T15:13:13.079Z] ---> Running in 0074199e0f22 [2021-08-12T15:13:13.347Z] Removing intermediate container 0074199e0f22 [2021-08-12T15:13:13.347Z] ---> 3cdff02c055b [2021-08-12T15:13:13.347Z] 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-08-12T15:13:13.347Z] ---> Running in 4e7672b5741e [2021-08-12T15:13:13.611Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-08-12T15:13:13.617Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-08-12T15:13:14.205Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-08-12T15:13:14.802Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz [2021-08-12T15:13:15.070Z] (1/16) Installing ncurses-dev (6.2_p20200523-r0) [2021-08-12T15:13:15.337Z] (2/16) Installing libblkid (2.35.2-r0) [2021-08-12T15:13:15.337Z] (3/16) Installing blkid (2.35.2-r0) [2021-08-12T15:13:15.337Z] (4/16) Installing libcap-ng (0.7.10-r1) [2021-08-12T15:13:15.604Z] (5/16) Installing setpriv (2.35.2-r0) [2021-08-12T15:13:15.604Z] (6/16) Installing libmount (2.35.2-r0) [2021-08-12T15:13:15.604Z] (7/16) Installing libsmartcols (2.35.2-r0) [2021-08-12T15:13:15.870Z] (8/16) Installing findmnt (2.35.2-r0) [2021-08-12T15:13:15.870Z] (9/16) Installing mcookie (2.35.2-r0) [2021-08-12T15:13:15.870Z] (10/16) Installing hexdump (2.35.2-r0) [2021-08-12T15:13:16.137Z] (11/16) Installing lsblk (2.35.2-r0) [2021-08-12T15:13:16.137Z] (12/16) Installing libfdisk (2.35.2-r0) [2021-08-12T15:13:16.137Z] (13/16) Installing sfdisk (2.35.2-r0) [2021-08-12T15:13:16.236Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-08-12T15:13:16.236Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-08-12T15:13:16.403Z] (14/16) Installing cfdisk (2.35.2-r0) [2021-08-12T15:13:16.403Z] (15/16) Installing util-linux (2.35.2-r0) [2021-08-12T15:13:16.508Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-08-12T15:13:16.676Z] (16/16) Installing util-linux-dev (2.35.2-r0) [2021-08-12T15:13:16.946Z] Executing busybox-1.31.1-r20.trigger [2021-08-12T15:13:16.946Z] OK: 295 MiB in 98 packages [2021-08-12T15:13:17.105Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-08-12T15:13:17.419Z] Removing intermediate container 4e7672b5741e [2021-08-12T15:13:17.419Z] ---> 91c40975a080 [2021-08-12T15:13:17.419Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2021-08-12T15:13:17.688Z] ---> 87b90cfd8542 [2021-08-12T15:13:17.688Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2021-08-12T15:13:17.688Z] ---> 47dce0f43dc3 [2021-08-12T15:13:17.688Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2021-08-12T15:13:17.700Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-08-12T15:13:17.700Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-08-12T15:13:17.962Z] ---> 939c0f21b76e [2021-08-12T15:13:17.962Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2021-08-12T15:13:17.962Z] ---> a50977217298 [2021-08-12T15:13:17.962Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2021-08-12T15:13:18.233Z] ---> b79d002f9c89 [2021-08-12T15:13:18.233Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2021-08-12T15:13:18.499Z] ---> ef071c2939cc [2021-08-12T15:13:18.499Z] Step 13/17 : WORKDIR /edgex-c-sdk [2021-08-12T15:13:18.499Z] ---> Running in 0e2031e9d9d3 [2021-08-12T15:13:18.499Z] Removing intermediate container 0e2031e9d9d3 [2021-08-12T15:13:18.499Z] ---> 3b4362df108b [2021-08-12T15:13:18.499Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-08-12T15:13:18.499Z] ---> Running in f489eefd2077 [2021-08-12T15:13:18.673Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-08-12T15:13:18.766Z] Removing intermediate container f489eefd2077 [2021-08-12T15:13:18.767Z] ---> 6cd6ab1ec747 [2021-08-12T15:13:18.767Z] Step 15/17 : LABEL arch=amd64 [2021-08-12T15:13:18.767Z] ---> Running in b88e0bdb9773 [2021-08-12T15:13:18.767Z] Removing intermediate container b88e0bdb9773 [2021-08-12T15:13:18.767Z] ---> 9bc6b5a59a2b [2021-08-12T15:13:18.767Z] Step 16/17 : LABEL git_sha=3181a24b07ac7f9b3f80729621afdfba870adc2f [2021-08-12T15:13:18.767Z] ---> Running in 70d9cd798097 [2021-08-12T15:13:18.767Z] Removing intermediate container 70d9cd798097 [2021-08-12T15:13:18.767Z] ---> 80f206a6b640 [2021-08-12T15:13:18.767Z] Step 17/17 : LABEL version=0.0.0 [2021-08-12T15:13:19.035Z] ---> Running in 08d86cd1a01b [2021-08-12T15:13:19.035Z] Removing intermediate container 08d86cd1a01b [2021-08-12T15:13:19.035Z] ---> b186b18a926c [2021-08-12T15:13:19.035Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-08-12T15:13:19.035Z] Successfully built b186b18a926c [2021-08-12T15:13:19.035Z] Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [2021-08-12T15:13:19.269Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 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-08-12T15:13:19.867Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-08-12T15:13:19.867Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-08-12T15:13:19.947Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-12T15:13:19.948Z] [2021-08-12T15:13:19.948Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-08-12T15:13:20.326Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-12T15:13:20.326Z] latest: Pulling from edgex-lftools-log-publisher [2021-08-12T15:13:20.326Z] b4d181a07f80: Pulling fs layer [2021-08-12T15:13:20.326Z] a1111a8f2ec3: Pulling fs layer [2021-08-12T15:13:20.326Z] ed53099fbce6: Pulling fs layer [2021-08-12T15:13:20.326Z] dc539afda2c1: Pulling fs layer [2021-08-12T15:13:20.326Z] 77bc0d833cb6: Pulling fs layer [2021-08-12T15:13:20.326Z] 9065ff56babe: Pulling fs layer [2021-08-12T15:13:20.326Z] d287ab97295c: Pulling fs layer [2021-08-12T15:13:20.326Z] 77bc0d833cb6: Waiting [2021-08-12T15:13:20.326Z] 9065ff56babe: Waiting [2021-08-12T15:13:20.326Z] d287ab97295c: Waiting [2021-08-12T15:13:20.326Z] dc539afda2c1: Waiting [2021-08-12T15:13:20.593Z] a1111a8f2ec3: Verifying Checksum [2021-08-12T15:13:20.593Z] a1111a8f2ec3: Download complete [2021-08-12T15:13:20.593Z] dc539afda2c1: Verifying Checksum [2021-08-12T15:13:20.593Z] dc539afda2c1: Download complete [2021-08-12T15:13:20.857Z] 77bc0d833cb6: Verifying Checksum [2021-08-12T15:13:20.857Z] 77bc0d833cb6: Download complete [2021-08-12T15:13:20.857Z] 9065ff56babe: Verifying Checksum [2021-08-12T15:13:20.857Z] 9065ff56babe: Download complete [2021-08-12T15:13:20.857Z] ed53099fbce6: Verifying Checksum [2021-08-12T15:13:20.857Z] ed53099fbce6: Download complete [2021-08-12T15:13:21.828Z] b4d181a07f80: Verifying Checksum [2021-08-12T15:13:21.828Z] b4d181a07f80: Download complete [2021-08-12T15:13:21.837Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-08-12T15:13:22.437Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-08-12T15:13:23.031Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-08-12T15:13:23.254Z] b4d181a07f80: Pull complete [2021-08-12T15:13:23.254Z] a1111a8f2ec3: Pull complete [2021-08-12T15:13:23.306Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-08-12T15:13:23.520Z] ed53099fbce6: Pull complete [2021-08-12T15:13:23.790Z] dc539afda2c1: Pull complete [2021-08-12T15:13:24.055Z] 77bc0d833cb6: Pull complete [2021-08-12T15:13:24.055Z] 9065ff56babe: Pull complete [2021-08-12T15:13:25.014Z] d287ab97295c: Verifying Checksum [2021-08-12T15:13:25.014Z] d287ab97295c: Download complete [2021-08-12T15:13:27.597Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-08-12T15:13:28.189Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-08-12T15:13:28.462Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-08-12T15:13:29.060Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-08-12T15:13:29.665Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-08-12T15:13:30.392Z] d287ab97295c: Pull complete [2021-08-12T15:13:30.392Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-08-12T15:13:30.392Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-12T15:13:30.392Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-08-12T15:13:30.549Z] prd-centos7-docker-4c-2g-712 does not seem to be running inside a container [2021-08-12T15:13:30.653Z] $ 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:latest cat [2021-08-12T15:13:31.684Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-08-12T15:13:31.685Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-08-12T15:13:31.961Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-08-12T15:13:32.561Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-08-12T15:13:32.998Z] $ docker top 5b1ffddbdef0bf18e7e04a330d6ed7c06973ca479d72f13b1cf4cdce6f31ef1b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-12T15:13:33.675Z] ---> job-cost.sh [2021-08-12T15:13:33.676Z] lf-activate-venv: SKIPPING [2021-08-12T15:13:33.676Z] INFO: No Stack... [2021-08-12T15:13:34.539Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-08-12T15:13:34.639Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-08-12T15:13:34.910Z] INFO: Archiving Costs [Pipeline] sh [2021-08-12T15:13:35.261Z] + cat /w/workspace/device-sdk-c/1/archives/cost.csv [2021-08-12T15:13:35.261Z] + cut -d, -f6 [Pipeline] lock [2021-08-12T15:13:35.330Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-365-1-stack-cost] [2021-08-12T15:13:35.337Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-365-1-stack-cost] did not exist. Created. [2021-08-12T15:13:35.337Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-365-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-08-12T15:13:35.778Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-08-12T15:13:36.036Z] Stashed 1 file(s) [Pipeline] } [2021-08-12T15:13:36.073Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-365-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-08-12T15:13:36.159Z] $ docker stop --time=1 5b1ffddbdef0bf18e7e04a330d6ed7c06973ca479d72f13b1cf4cdce6f31ef1b [2021-08-12T15:13:37.310Z] $ docker rm -f 5b1ffddbdef0bf18e7e04a330d6ed7c06973ca479d72f13b1cf4cdce6f31ef1b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-08-12T15:13:37.935Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-08-12T15:13:38.209Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-08-12T15:13:38.818Z] [ 75%] Linking C shared library libcsdk.so [2021-08-12T15:13:39.108Z] [ 75%] Built target csdk [2021-08-12T15:13:39.108Z] Scanning dependencies of target template [2021-08-12T15:13:39.108Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-08-12T15:13:39.719Z] [ 78%] Linking C executable template [2021-08-12T15:13:39.994Z] [ 78%] Built target template [2021-08-12T15:13:39.994Z] Scanning dependencies of target device-counter [2021-08-12T15:13:39.994Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-08-12T15:13:40.594Z] [ 81%] Linking C executable device-counter [2021-08-12T15:13:40.594Z] [ 81%] Built target device-counter [2021-08-12T15:13:40.594Z] Scanning dependencies of target device-random [2021-08-12T15:13:40.594Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-08-12T15:13:41.202Z] [ 84%] Linking C executable device-random [2021-08-12T15:13:41.482Z] [ 84%] Built target device-random [2021-08-12T15:13:41.482Z] Scanning dependencies of target device-gyro [2021-08-12T15:13:41.482Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-08-12T15:13:41.756Z] [ 87%] Linking C executable device-gyro [2021-08-12T15:13:42.030Z] [ 87%] Built target device-gyro [2021-08-12T15:13:42.030Z] Scanning dependencies of target device-bitfields [2021-08-12T15:13:42.030Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-08-12T15:13:42.630Z] [ 90%] Linking C executable device-bitfields [2021-08-12T15:13:42.906Z] [ 90%] Built target device-bitfields [2021-08-12T15:13:42.906Z] Scanning dependencies of target template-discovery [2021-08-12T15:13:42.906Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-08-12T15:13:43.509Z] [ 93%] Linking C executable template-discovery [2021-08-12T15:13:43.786Z] [ 93%] Built target template-discovery [2021-08-12T15:13:43.786Z] Scanning dependencies of target device-file [2021-08-12T15:13:43.786Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-08-12T15:13:44.384Z] [ 96%] Linking C executable device-file [2021-08-12T15:13:44.664Z] [ 96%] Built target device-file [2021-08-12T15:13:44.664Z] Scanning dependencies of target device-terminal [2021-08-12T15:13:44.664Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-08-12T15:13:45.265Z] [100%] Linking C executable device-terminal [2021-08-12T15:13:45.542Z] [100%] Built target device-terminal [2021-08-12T15:13:45.542Z] Run CPack packaging tool... [2021-08-12T15:13:45.542Z] CPack: Create package using TGZ [2021-08-12T15:13:45.542Z] CPack: Install projects [2021-08-12T15:13:45.542Z] CPack: - Run preinstall target for: Csdk [2021-08-12T15:13:46.141Z] CPack: - Install project: Csdk [] [2021-08-12T15:13:46.141Z] CPack: Create package [2021-08-12T15:13:46.141Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-08-12T15:13:46.141Z] + '[' false '=' true ] [2021-08-12T15:13:46.141Z] + '[' false '=' true ] [2021-08-12T15:13:46.141Z] + mkdir -p /tmp/sdk/build/debug [2021-08-12T15:13:46.141Z] + cd /tmp/sdk/build/debug [2021-08-12T15:13:46.141Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-08-12T15:13:46.418Z] -- The C compiler identification is GNU 9.3.0 [2021-08-12T15:13:46.418Z] -- Check for working C compiler: /usr/bin/cc [2021-08-12T15:13:46.694Z] -- Check for working C compiler: /usr/bin/cc - works [2021-08-12T15:13:46.694Z] -- Detecting C compiler ABI info [2021-08-12T15:13:46.971Z] -- Detecting C compiler ABI info - done [2021-08-12T15:13:46.971Z] -- Detecting C compile features [2021-08-12T15:13:46.971Z] -- Detecting C compile features - done [2021-08-12T15:13:47.248Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-08-12T15:13:47.248Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") [2021-08-12T15:13:47.248Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-08-12T15:13:47.248Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-08-12T15:13:47.248Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-08-12T15:13:47.248Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-08-12T15:13:47.248Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-08-12T15:13:47.248Z] -- C SDK 0.0.0 for Linux [2021-08-12T15:13:47.248Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-08-12T15:13:47.537Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-08-12T15:13:47.822Z] -- Found Curses: /usr/lib/libcurses.so [2021-08-12T15:13:47.822Z] -- Configuring done [2021-08-12T15:13:48.100Z] -- Generating done [2021-08-12T15:13:48.100Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-08-12T15:13:48.100Z] + + teemake [2021-08-12T15:13:48.100Z] debug.log [2021-08-12T15:13:48.100Z] Scanning dependencies of target csdk [2021-08-12T15:13:48.375Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-08-12T15:13:48.654Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-08-12T15:13:48.938Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-08-12T15:13:49.544Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-08-12T15:13:49.822Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-08-12T15:13:50.099Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-08-12T15:13:50.376Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-08-12T15:13:50.687Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-08-12T15:13:50.967Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-08-12T15:13:51.279Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-08-12T15:13:51.929Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-08-12T15:13:51.929Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-08-12T15:13:52.544Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-08-12T15:13:52.824Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-08-12T15:13:52.824Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-08-12T15:13:53.104Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-08-12T15:13:53.382Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-08-12T15:13:54.040Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-08-12T15:13:54.317Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-08-12T15:13:54.317Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-08-12T15:13:54.606Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-08-12T15:13:54.881Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-08-12T15:13:55.157Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-08-12T15:13:55.775Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-08-12T15:13:56.059Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-08-12T15:13:56.345Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-08-12T15:13:56.345Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-08-12T15:13:56.625Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-08-12T15:13:56.901Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-08-12T15:13:57.180Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-08-12T15:13:57.180Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-08-12T15:13:57.473Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-08-12T15:13:57.782Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-08-12T15:13:58.071Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-08-12T15:13:58.359Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-08-12T15:13:58.647Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-08-12T15:13:58.927Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-08-12T15:14:00.004Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-08-12T15:14:00.300Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-08-12T15:14:00.300Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-08-12T15:14:00.587Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-08-12T15:14:01.230Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-08-12T15:14:01.867Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-08-12T15:14:02.149Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-08-12T15:14:02.460Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-08-12T15:14:02.737Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-08-12T15:14:03.368Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-08-12T15:14:03.989Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-08-12T15:14:04.293Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-08-12T15:14:04.605Z] [ 75%] Linking C shared library libcsdk.so [2021-08-12T15:14:04.605Z] [ 75%] Built target csdk [2021-08-12T15:14:04.893Z] Scanning dependencies of target template [2021-08-12T15:14:04.893Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-08-12T15:14:05.177Z] [ 78%] Linking C executable template [2021-08-12T15:14:05.458Z] [ 78%] Built target template [2021-08-12T15:14:05.458Z] Scanning dependencies of target device-counter [2021-08-12T15:14:05.458Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-08-12T15:14:05.735Z] [ 81%] Linking C executable device-counter [2021-08-12T15:14:06.019Z] [ 81%] Built target device-counter [2021-08-12T15:14:06.019Z] Scanning dependencies of target device-random [2021-08-12T15:14:06.019Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-08-12T15:14:06.301Z] [ 84%] Linking C executable device-random [2021-08-12T15:14:06.301Z] [ 84%] Built target device-random [2021-08-12T15:14:06.301Z] Scanning dependencies of target device-gyro [2021-08-12T15:14:06.582Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-08-12T15:14:06.582Z] [ 87%] Linking C executable device-gyro [2021-08-12T15:14:06.872Z] [ 87%] Built target device-gyro [2021-08-12T15:14:06.872Z] Scanning dependencies of target device-bitfields [2021-08-12T15:14:06.872Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-08-12T15:14:07.154Z] [ 90%] Linking C executable device-bitfields [2021-08-12T15:14:07.436Z] [ 90%] Built target device-bitfields [2021-08-12T15:14:07.436Z] Scanning dependencies of target template-discovery [2021-08-12T15:14:07.436Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-08-12T15:14:07.744Z] [ 93%] Linking C executable template-discovery [2021-08-12T15:14:08.067Z] [ 93%] Built target template-discovery [2021-08-12T15:14:08.067Z] Scanning dependencies of target device-file [2021-08-12T15:14:08.067Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-08-12T15:14:08.359Z] [ 96%] Linking C executable device-file [2021-08-12T15:14:08.651Z] [ 96%] Built target device-file [2021-08-12T15:14:08.651Z] Scanning dependencies of target device-terminal [2021-08-12T15:14:08.651Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-08-12T15:14:08.929Z] [100%] Linking C executable device-terminal [2021-08-12T15:14:09.207Z] [100%] Built target device-terminal [2021-08-12T15:14:09.207Z] make: Entering directory '/tmp/sdk/build/release' [2021-08-12T15:14:09.207Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-08-12T15:14:09.499Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-12T15:14:09.499Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-12T15:14:09.499Z] [ 75%] Built target csdk [2021-08-12T15:14:09.499Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-12T15:14:09.499Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-12T15:14:09.499Z] [ 78%] Built target template [2021-08-12T15:14:09.499Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-12T15:14:09.499Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-12T15:14:09.499Z] [ 81%] Built target device-counter [2021-08-12T15:14:09.499Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-12T15:14:09.499Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-12T15:14:09.499Z] [ 84%] Built target device-random [2021-08-12T15:14:09.499Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-12T15:14:09.499Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-12T15:14:09.499Z] [ 87%] Built target device-gyro [2021-08-12T15:14:09.499Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-12T15:14:09.499Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-12T15:14:09.499Z] [ 90%] Built target device-bitfields [2021-08-12T15:14:09.785Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-12T15:14:09.785Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-12T15:14:09.785Z] [ 93%] Built target template-discovery [2021-08-12T15:14:09.785Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-12T15:14:09.785Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-12T15:14:09.785Z] [ 96%] Built target device-file [2021-08-12T15:14:09.785Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-12T15:14:09.785Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-12T15:14:09.785Z] [100%] Built target device-terminal [2021-08-12T15:14:09.785Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-08-12T15:14:09.785Z] Install the project... [2021-08-12T15:14:09.785Z] -- Install configuration: "Release" [2021-08-12T15:14:09.785Z] -- Installing: /usr/local/lib/libcsdk.so [2021-08-12T15:14:09.785Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-08-12T15:14:09.785Z] -- Up-to-date: /usr/local/include [2021-08-12T15:14:09.785Z] -- Installing: /usr/local/include/edgex [2021-08-12T15:14:09.785Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-08-12T15:14:09.785Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-08-12T15:14:09.785Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-08-12T15:14:09.785Z] -- Installing: /usr/local/include/edgex/devices.h [2021-08-12T15:14:09.785Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-08-12T15:14:09.785Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-08-12T15:14:09.785Z] -- Installing: /usr/local/include/devsdk [2021-08-12T15:14:09.785Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-08-12T15:14:09.785Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-08-12T15:14:09.785Z] -- Installing: /usr/local/include/iot [2021-08-12T15:14:09.785Z] -- Installing: /usr/local/include/iot/json.h [2021-08-12T15:14:09.785Z] -- Installing: /usr/local/include/iot/container.h [2021-08-12T15:14:09.785Z] -- Installing: /usr/local/include/iot/component.h [2021-08-12T15:14:09.785Z] -- Installing: /usr/local/include/iot/typecode.h [2021-08-12T15:14:09.785Z] -- Installing: /usr/local/include/iot/iot.h [2021-08-12T15:14:09.785Z] -- Installing: /usr/local/include/iot/time.h [2021-08-12T15:14:09.785Z] -- Installing: /usr/local/include/iot/hash.h [2021-08-12T15:14:09.785Z] -- Installing: /usr/local/include/iot/logger.h [2021-08-12T15:14:09.785Z] -- Installing: /usr/local/include/iot/os [2021-08-12T15:14:09.785Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-08-12T15:14:09.785Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-08-12T15:14:09.785Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-08-12T15:14:09.785Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-08-12T15:14:09.785Z] -- Installing: /usr/local/include/iot/data.h [2021-08-12T15:14:09.785Z] -- Installing: /usr/local/include/iot/thread.h [2021-08-12T15:14:09.785Z] -- Installing: /usr/local/include/iot/os.h [2021-08-12T15:14:09.785Z] -- Installing: /usr/local/include/iot/base64.h [2021-08-12T15:14:09.785Z] -- Installing: /usr/local/include/iot/defs.h [2021-08-12T15:14:09.785Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-08-12T15:14:09.785Z] -- Installing: /usr/local/include/iot/config.h [2021-08-12T15:14:09.785Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-08-12T15:14:09.785Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-08-12T15:14:09.785Z] make: Leaving directory '/tmp/sdk/build/release' [2021-08-12T15:14:11.885Z] Removing intermediate container 9de439c1e356 [2021-08-12T15:14:11.885Z] ---> 0df503e689f4 [2021-08-12T15:14:11.885Z] Step 16/25 : FROM ${BASE} [2021-08-12T15:14:11.885Z] ---> 759262b18b23 [2021-08-12T15:14:11.885Z] Step 17/25 : LABEL maintainer="IOTech " [2021-08-12T15:14:12.177Z] ---> Running in e6d328d2251b [2021-08-12T15:14:12.850Z] Removing intermediate container e6d328d2251b [2021-08-12T15:14:12.850Z] ---> 17d77de9d621 [2021-08-12T15:14:12.850Z] 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-08-12T15:14:12.850Z] ---> Running in 4e7129c4b0f8 [2021-08-12T15:14:14.430Z] Connecting to iotech.jfrog.io (54.170.66.44:443) [2021-08-12T15:14:14.736Z] saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-08-12T15:14:14.736Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-08-12T15:14:14.736Z] '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [2021-08-12T15:14:16.190Z] Removing intermediate container 4e7129c4b0f8 [2021-08-12T15:14:16.190Z] ---> 6f31eb85e869 [2021-08-12T15:14:16.190Z] Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-08-12T15:14:16.190Z] ---> Running in d9ab3ecf0c38 [2021-08-12T15:14:18.353Z] Removing intermediate container d9ab3ecf0c38 [2021-08-12T15:14:18.353Z] ---> 6dff9798ed2d [2021-08-12T15:14:18.353Z] 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-08-12T15:14:18.646Z] ---> Running in 67b9022fe412 [2021-08-12T15:14:19.673Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-08-12T15:14:20.688Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-08-12T15:14:20.965Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz [2021-08-12T15:14:21.564Z] (1/7) Installing curl (7.78.0-r0) [2021-08-12T15:14:21.849Z] (2/7) Installing hiredis (0.14.1-r0) [2021-08-12T15:14:21.849Z] (3/7) Installing hiredis-dev (0.14.1-r0) [2021-08-12T15:14:22.154Z] (4/7) Installing libuuid (2.35.2-r0) [2021-08-12T15:14:22.154Z] (5/7) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-08-12T15:14:24.217Z] (6/7) Installing libidn2 (2.3.0-r0) [2021-08-12T15:14:24.217Z] (7/7) Installing wget (1.20.3-r1) [2021-08-12T15:14:24.217Z] Executing busybox-1.31.1-r20.trigger [2021-08-12T15:14:24.511Z] OK: 267 MiB in 82 packages [2021-08-12T15:14:25.564Z] Removing intermediate container 67b9022fe412 [2021-08-12T15:14:25.564Z] ---> 8a20d34bdfd3 [2021-08-12T15:14:25.564Z] Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-08-12T15:14:26.559Z] ---> 711db08d7704 [2021-08-12T15:14:26.559Z] Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-08-12T15:14:27.628Z] ---> 82ce91c6207d [2021-08-12T15:14:27.629Z] Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-08-12T15:14:28.297Z] ---> a353b3e00fe5 [2021-08-12T15:14:28.297Z] Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-08-12T15:14:29.340Z] ---> 7c4455ec9803 [2021-08-12T15:14:29.340Z] Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-08-12T15:14:29.963Z] ---> 807e1e11eaeb [2021-08-12T15:14:29.963Z] Successfully built 807e1e11eaeb [2021-08-12T15:14:30.279Z] 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-08-12T15:14:30.990Z] + docker inspect -f . ci-base-image-arm64 [2021-08-12T15:14:30.990Z] . [Pipeline] withDockerContainer [2021-08-12T15:14:31.303Z] prd-ubuntu18.04-docker-arm64-4c-16g-711 does not seem to be running inside a container [2021-08-12T15:14:31.404Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-08-12T15:14:32.921Z] $ docker top e0faf8f9cfa0ea4241b10e96d7bf8b93e8b4e73abd3d96802dd0b135f56ce36a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-12T15:14:34.013Z] + make test [2021-08-12T15:14:34.013Z] echo "make test" [2021-08-12T15:14:34.013Z] make test [Pipeline] } [2021-08-12T15:14:34.064Z] $ docker stop --time=1 e0faf8f9cfa0ea4241b10e96d7bf8b93e8b4e73abd3d96802dd0b135f56ce36a [2021-08-12T15:14:35.981Z] $ docker rm -f e0faf8f9cfa0ea4241b10e96d7bf8b93e8b4e73abd3d96802dd0b135f56ce36a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-08-12T15:14:36.948Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-08-12T15:14:37.359Z] + ls -al . [2021-08-12T15:14:37.359Z] total 200 [2021-08-12T15:14:37.359Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 12 15:11 . [2021-08-12T15:14:37.359Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 15:11 .. [2021-08-12T15:14:37.359Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 12 15:11 .git [2021-08-12T15:14:37.359Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 12 15:11 .github [2021-08-12T15:14:37.359Z] -rw-rw-r-- 1 jenkins jenkins 176 Aug 12 15:11 .gitignore [2021-08-12T15:14:37.359Z] -rw-rw-r-- 1 jenkins jenkins 3104 Aug 12 15:11 Attribution.txt [2021-08-12T15:14:37.359Z] -rw-rw-r-- 1 jenkins jenkins 7701 Aug 12 15:11 CHANGES [2021-08-12T15:14:37.359Z] -rw-rw-r-- 1 jenkins jenkins 108574 Aug 12 15:11 Doxyfile [2021-08-12T15:14:37.359Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 12 15:11 GOVERNANCE.md [2021-08-12T15:14:37.360Z] -rw-rw-r-- 1 jenkins jenkins 784 Aug 12 15:11 Jenkinsfile [2021-08-12T15:14:37.360Z] -rw-rw-r-- 1 jenkins jenkins 10174 Aug 12 15:11 LICENSE [2021-08-12T15:14:37.360Z] -rw-rw-r-- 1 jenkins jenkins 444 Aug 12 15:11 Makefile [2021-08-12T15:14:37.360Z] -rw-rw-r-- 1 jenkins jenkins 618 Aug 12 15:11 OWNERS.md [2021-08-12T15:14:37.360Z] -rw-rw-r-- 1 jenkins jenkins 4086 Aug 12 15:11 README.md [2021-08-12T15:14:37.360Z] -rw-rw-r-- 1 jenkins jenkins 7090 Aug 12 15:11 README.v2.md [2021-08-12T15:14:37.360Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 12 15:09 VERSION [2021-08-12T15:14:37.360Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 12 15:11 docs [2021-08-12T15:14:37.360Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 15:11 include [2021-08-12T15:14:37.360Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 12 15:11 scripts [2021-08-12T15:14:37.360Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 15:11 src [Pipeline] isUnix [Pipeline] sh [2021-08-12T15:14:37.822Z] + 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=c18a3c401453d424705f066c849bbf59d2efeadf --label arch=arm64 --label version=0.0.0 . [2021-08-12T15:14:38.131Z] Sending build context to Docker daemon 2.706MB [2021-08-12T15:14:38.407Z] Step 1/17 : ARG BASE=alpine:3.12 [2021-08-12T15:14:38.407Z] Step 2/17 : FROM ${BASE} [2021-08-12T15:14:38.407Z] ---> 807e1e11eaeb [2021-08-12T15:14:38.407Z] Step 3/17 : LABEL maintainer="IOTech " [2021-08-12T15:14:38.691Z] ---> Running in 98e7fc816f71 [2021-08-12T15:14:39.321Z] Removing intermediate container 98e7fc816f71 [2021-08-12T15:14:39.321Z] ---> bffb4517bd78 [2021-08-12T15:14:39.321Z] 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-08-12T15:14:39.321Z] ---> Running in ec1f1e1e22cb [2021-08-12T15:14:40.789Z] --2021-08-12 15:14:40-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub [2021-08-12T15:14:40.789Z] Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.195.244.87, 54.170.66.44, 54.229.110.245 [2021-08-12T15:14:40.789Z] Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.195.244.87|:443... connected. [2021-08-12T15:14:41.119Z] HTTP request sent, awaiting response... 200 OK [2021-08-12T15:14:41.119Z] Length: 451 [application/octet-stream] [2021-08-12T15:14:41.119Z] Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-08-12T15:14:41.119Z] [2021-08-12T15:14:41.119Z] 0K     100% 17.7M=0s [2021-08-12T15:14:41.119Z] [2021-08-12T15:14:41.119Z] 2021-08-12 15:14:40 (17.7 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] [2021-08-12T15:14:41.119Z] [2021-08-12T15:14:42.146Z] Removing intermediate container ec1f1e1e22cb [2021-08-12T15:14:42.146Z] ---> 07d5e33b731a [2021-08-12T15:14:42.146Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-08-12T15:14:42.146Z] ---> Running in cbf6ff1b8c00 [2021-08-12T15:14:44.256Z] Removing intermediate container cbf6ff1b8c00 [2021-08-12T15:14:44.256Z] ---> 08a380a535ea [2021-08-12T15:14:44.256Z] 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-08-12T15:14:44.540Z] ---> Running in 28c00e9a5ab2 [2021-08-12T15:14:46.030Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-08-12T15:14:46.669Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-08-12T15:14:46.970Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz [2021-08-12T15:14:47.595Z] (1/16) Installing ncurses-dev (6.2_p20200523-r0) [2021-08-12T15:14:48.198Z] (2/16) Installing libblkid (2.35.2-r0) [2021-08-12T15:14:48.479Z] (3/16) Installing blkid (2.35.2-r0) [2021-08-12T15:14:48.479Z] (4/16) Installing libcap-ng (0.7.10-r1) [2021-08-12T15:14:48.479Z] (5/16) Installing setpriv (2.35.2-r0) [2021-08-12T15:14:48.765Z] (6/16) Installing libmount (2.35.2-r0) [2021-08-12T15:14:48.765Z] (7/16) Installing libsmartcols (2.35.2-r0) [2021-08-12T15:14:48.765Z] (8/16) Installing findmnt (2.35.2-r0) [2021-08-12T15:14:49.061Z] (9/16) Installing mcookie (2.35.2-r0) [2021-08-12T15:14:49.061Z] (10/16) Installing hexdump (2.35.2-r0) [2021-08-12T15:14:49.061Z] (11/16) Installing lsblk (2.35.2-r0) [2021-08-12T15:14:49.061Z] (12/16) Installing libfdisk (2.35.2-r0) [2021-08-12T15:14:49.343Z] (13/16) Installing sfdisk (2.35.2-r0) [2021-08-12T15:14:49.343Z] (14/16) Installing cfdisk (2.35.2-r0) [2021-08-12T15:14:49.343Z] (15/16) Installing util-linux (2.35.2-r0) [2021-08-12T15:14:49.983Z] (16/16) Installing util-linux-dev (2.35.2-r0) [2021-08-12T15:14:50.345Z] Executing busybox-1.31.1-r20.trigger [2021-08-12T15:14:50.345Z] OK: 276 MiB in 98 packages [2021-08-12T15:14:51.869Z] Removing intermediate container 28c00e9a5ab2 [2021-08-12T15:14:51.869Z] ---> f4e94ccb2b73 [2021-08-12T15:14:51.869Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2021-08-12T15:14:52.879Z] ---> 1c417f7e96dd [2021-08-12T15:14:52.879Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2021-08-12T15:14:53.902Z] ---> ac2f15a33204 [2021-08-12T15:14:53.902Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2021-08-12T15:14:54.662Z] ---> 53b767dbe01d [2021-08-12T15:14:54.662Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2021-08-12T15:14:55.722Z] ---> 6bd88ff4173f [2021-08-12T15:14:55.722Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2021-08-12T15:14:56.373Z] ---> 290ff45baff0 [2021-08-12T15:14:56.373Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2021-08-12T15:14:57.128Z] ---> 5acff42f3b6f [2021-08-12T15:14:57.129Z] Step 13/17 : WORKDIR /edgex-c-sdk [2021-08-12T15:14:57.470Z] ---> Running in 6879585d3515 [2021-08-12T15:14:58.145Z] Removing intermediate container 6879585d3515 [2021-08-12T15:14:58.145Z] ---> 0800548fa91c [2021-08-12T15:14:58.145Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-08-12T15:14:58.145Z] ---> Running in 4bf4b94c5cdf [2021-08-12T15:14:58.751Z] Removing intermediate container 4bf4b94c5cdf [2021-08-12T15:14:58.751Z] ---> 5cc7eb269d60 [2021-08-12T15:14:58.751Z] Step 15/17 : LABEL arch=arm64 [2021-08-12T15:14:59.030Z] ---> Running in 3e6e3e4ebe48 [2021-08-12T15:14:59.308Z] Removing intermediate container 3e6e3e4ebe48 [2021-08-12T15:14:59.308Z] ---> d4d18bad4601 [2021-08-12T15:14:59.308Z] Step 16/17 : LABEL git_sha=c18a3c401453d424705f066c849bbf59d2efeadf [2021-08-12T15:14:59.591Z] ---> Running in 29c8d8478f2b [2021-08-12T15:15:00.204Z] Removing intermediate container 29c8d8478f2b [2021-08-12T15:15:00.204Z] ---> 5f89b0d94929 [2021-08-12T15:15:00.204Z] Step 17/17 : LABEL version=0.0.0 [2021-08-12T15:15:00.204Z] ---> Running in a5ceccc40c17 [2021-08-12T15:15:00.857Z] Removing intermediate container a5ceccc40c17 [2021-08-12T15:15:00.857Z] ---> aa3a75c8f2f9 [2021-08-12T15:15:00.857Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-08-12T15:15:00.857Z] Successfully built aa3a75c8f2f9 [2021-08-12T15:15:00.857Z] 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-08-12T15:15:01.644Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-12T15:15:01.644Z] [2021-08-12T15:15:01.644Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-08-12T15:15:02.090Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-12T15:15:02.385Z] arm64: Pulling from edgex-lftools-log-publisher [2021-08-12T15:15:02.385Z] 448f6bf000e3: Pulling fs layer [2021-08-12T15:15:02.385Z] f757da607395: Pulling fs layer [2021-08-12T15:15:02.385Z] 05883995daec: Pulling fs layer [2021-08-12T15:15:02.385Z] 8603b9c90790: Pulling fs layer [2021-08-12T15:15:02.385Z] 1560dd03e051: Pulling fs layer [2021-08-12T15:15:02.385Z] 27f5ce0e4adf: Pulling fs layer [2021-08-12T15:15:02.385Z] c2d8d7efcc4b: Pulling fs layer [2021-08-12T15:15:02.385Z] 8603b9c90790: Waiting [2021-08-12T15:15:02.385Z] 1560dd03e051: Waiting [2021-08-12T15:15:02.385Z] c2d8d7efcc4b: Waiting [2021-08-12T15:15:02.385Z] 27f5ce0e4adf: Waiting [2021-08-12T15:15:02.986Z] f757da607395: Verifying Checksum [2021-08-12T15:15:02.986Z] f757da607395: Download complete [2021-08-12T15:15:03.616Z] 05883995daec: Verifying Checksum [2021-08-12T15:15:03.616Z] 05883995daec: Download complete [2021-08-12T15:15:03.913Z] 1560dd03e051: Verifying Checksum [2021-08-12T15:15:03.913Z] 1560dd03e051: Download complete [2021-08-12T15:15:03.913Z] 27f5ce0e4adf: Verifying Checksum [2021-08-12T15:15:04.600Z] 448f6bf000e3: Verifying Checksum [2021-08-12T15:15:04.600Z] 448f6bf000e3: Download complete [2021-08-12T15:15:08.362Z] 448f6bf000e3: Pull complete [2021-08-12T15:15:08.660Z] f757da607395: Pull complete [2021-08-12T15:15:10.179Z] 05883995daec: Pull complete [2021-08-12T15:15:10.464Z] c2d8d7efcc4b: Verifying Checksum [2021-08-12T15:15:10.464Z] c2d8d7efcc4b: Download complete [2021-08-12T15:15:10.756Z] 8603b9c90790: Pull complete [2021-08-12T15:15:11.810Z] 1560dd03e051: Pull complete [2021-08-12T15:15:12.149Z] 27f5ce0e4adf: Pull complete [2021-08-12T15:15:27.583Z] c2d8d7efcc4b: Pull complete [2021-08-12T15:15:27.583Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-08-12T15:15:27.583Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-12T15:15:27.583Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-08-12T15:15:27.920Z] prd-ubuntu18.04-docker-arm64-4c-16g-711 does not seem to be running inside a container [2021-08-12T15:15:28.011Z] $ 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:arm64 cat [2021-08-12T15:15:33.049Z] $ docker top 52aa1bd0a95b4cbb4fb122e2c5e4c533a18958214b0b3645d03d57cc5ca26b87 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-12T15:15:34.152Z] ---> job-cost.sh [2021-08-12T15:15:34.152Z] lf-activate-venv: SKIPPING [2021-08-12T15:15:34.152Z] INFO: No Stack... [2021-08-12T15:15:34.753Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-08-12T15:15:35.364Z] INFO: Archiving Costs [Pipeline] sh [2021-08-12T15:15:36.085Z] + + cutcat -d, /w/workspace/device-sdk-c/1/archives/cost.csv -f6 [2021-08-12T15:15:36.085Z] [Pipeline] lock [2021-08-12T15:15:36.183Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-365-1-stack-cost] [2021-08-12T15:15:36.189Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-365-1-stack-cost] did not exist. Created. [2021-08-12T15:15:36.189Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-365-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-08-12T15:15:36.990Z] /w/workspace/device-sdk-c/1@tmp/durable-5fecd653/script.sh: 1: /w/workspace/device-sdk-c/1@tmp/durable-5fecd653/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-08-12T15:15:37.717Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-08-12T15:15:37.764Z] Warning: overwriting stash ‘stack-cost’ [2021-08-12T15:15:38.412Z] Stashed 1 file(s) [Pipeline] } [2021-08-12T15:15:38.433Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-365-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-08-12T15:15:38.516Z] $ docker stop --time=1 52aa1bd0a95b4cbb4fb122e2c5e4c533a18958214b0b3645d03d57cc5ca26b87 [2021-08-12T15:15:40.172Z] $ docker rm -f 52aa1bd0a95b4cbb4fb122e2c5e4c533a18958214b0b3645d03d57cc5ca26b87 [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-08-12T15:15:42.068Z] + '[' -d /w/workspace/edgexfoundry_device-sdk-c_PR-365/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-08-12T15:15:42.447Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-12T15:15:43.124Z] ---> package-listing.sh [2021-08-12T15:15:43.124Z] ++ facter osfamily [2021-08-12T15:15:43.124Z] ++ tr '[:upper:]' '[:lower:]' [2021-08-12T15:15:43.399Z] + OS_FAMILY=redhat [2021-08-12T15:15:43.399Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-365 [2021-08-12T15:15:43.399Z] + START_PACKAGES=/tmp/packages_start.txt [2021-08-12T15:15:43.399Z] + END_PACKAGES=/tmp/packages_end.txt [2021-08-12T15:15:43.399Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-08-12T15:15:43.399Z] + PACKAGES=/tmp/packages_start.txt [2021-08-12T15:15:43.399Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-365 ']' [2021-08-12T15:15:43.399Z] + PACKAGES=/tmp/packages_end.txt [2021-08-12T15:15:43.399Z] + case "${OS_FAMILY}" in [2021-08-12T15:15:43.399Z] + rpm -qa [2021-08-12T15:15:43.399Z] + sort [2021-08-12T15:15:44.006Z] + '[' -f /tmp/packages_start.txt ']' [2021-08-12T15:15:44.006Z] + '[' -f /tmp/packages_end.txt ']' [2021-08-12T15:15:44.006Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-08-12T15:15:44.006Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-365 ']' [2021-08-12T15:15:44.006Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-365/archives/ [2021-08-12T15:15:44.006Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-365/archives/ [Pipeline] echo [2021-08-12T15:15:44.069Z] 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-365/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-08-12T15:15:44.452Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-08-12T15:15:45.097Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-12T15:15:45.097Z] [2021-08-12T15:15:45.097Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-08-12T15:15:45.495Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-12T15:15:45.495Z] latest: Pulling from edgex-lftools-log-publisher [2021-08-12T15:15:45.495Z] b4d181a07f80: Pulling fs layer [2021-08-12T15:15:45.495Z] a1111a8f2ec3: Pulling fs layer [2021-08-12T15:15:45.495Z] ed53099fbce6: Pulling fs layer [2021-08-12T15:15:45.495Z] dc539afda2c1: Pulling fs layer [2021-08-12T15:15:45.495Z] 77bc0d833cb6: Pulling fs layer [2021-08-12T15:15:45.495Z] 9065ff56babe: Pulling fs layer [2021-08-12T15:15:45.495Z] d287ab97295c: Pulling fs layer [2021-08-12T15:15:45.495Z] dc539afda2c1: Waiting [2021-08-12T15:15:45.495Z] 77bc0d833cb6: Waiting [2021-08-12T15:15:45.495Z] 9065ff56babe: Waiting [2021-08-12T15:15:45.495Z] d287ab97295c: Waiting [2021-08-12T15:15:45.764Z] a1111a8f2ec3: Verifying Checksum [2021-08-12T15:15:45.764Z] a1111a8f2ec3: Download complete [2021-08-12T15:15:45.764Z] dc539afda2c1: Verifying Checksum [2021-08-12T15:15:45.764Z] dc539afda2c1: Download complete [2021-08-12T15:15:46.032Z] 77bc0d833cb6: Verifying Checksum [2021-08-12T15:15:46.032Z] 77bc0d833cb6: Download complete [2021-08-12T15:15:46.032Z] 9065ff56babe: Verifying Checksum [2021-08-12T15:15:46.032Z] 9065ff56babe: Download complete [2021-08-12T15:15:46.312Z] ed53099fbce6: Verifying Checksum [2021-08-12T15:15:46.312Z] ed53099fbce6: Download complete [2021-08-12T15:15:47.282Z] b4d181a07f80: Verifying Checksum [2021-08-12T15:15:47.282Z] b4d181a07f80: Download complete [2021-08-12T15:15:48.256Z] b4d181a07f80: Pull complete [2021-08-12T15:15:48.528Z] a1111a8f2ec3: Pull complete [2021-08-12T15:15:49.114Z] ed53099fbce6: Pull complete [2021-08-12T15:15:49.114Z] dc539afda2c1: Pull complete [2021-08-12T15:15:49.386Z] 77bc0d833cb6: Pull complete [2021-08-12T15:15:49.386Z] 9065ff56babe: Pull complete [2021-08-12T15:15:51.338Z] d287ab97295c: Verifying Checksum [2021-08-12T15:15:51.338Z] d287ab97295c: Download complete [2021-08-12T15:15:55.630Z] d287ab97295c: Pull complete [2021-08-12T15:15:55.630Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-08-12T15:15:55.630Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-12T15:15:55.630Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-08-12T15:15:55.776Z] prd-centos7-docker-4c-2g-709 does not seem to be running inside a container [2021-08-12T15:15:55.859Z] $ 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-365/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-365 -v /w/workspace/edgexfoundry_device-sdk-c_PR-365:/w/workspace/edgexfoundry_device-sdk-c_PR-365:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-365@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-365@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-08-12T15:15:58.245Z] $ docker top 991af19c1e5ff51f05aaf8b19e28d55514d3245a06503a4ac8dc80bcddd0e5c2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-12T15:15:58.705Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-08-12T15:15:59.060Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-08-12T15:15:59.425Z] + ls /var/log/sa-host [2021-08-12T15:15:59.425Z] + sadf -c /var/log/sa-host/sa05 [2021-08-12T15:15:59.425Z] file_magic: OK [2021-08-12T15:15:59.425Z] HZ: Using current value: 100 [2021-08-12T15:15:59.425Z] file_header: OK [2021-08-12T15:15:59.425Z] 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-08-12T15:15:59.425Z] Statistics: [2021-08-12T15:15:59.425Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-08-12T15:15:59.425Z] File successfully converted to sysstat format version 12.0.3 [2021-08-12T15:15:59.425Z] + sadf -c /var/log/sa-host/sa12 [2021-08-12T15:15:59.425Z] file_magic: OK [2021-08-12T15:15:59.425Z] HZ: Using current value: 100 [2021-08-12T15:15:59.425Z] file_header: OK [2021-08-12T15:15:59.425Z] 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-08-12T15:15:59.425Z] Statistics: [2021-08-12T15:15:59.425Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-08-12T15:15:59.425Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-12T15:15:59.645Z] provisioning config files... [2021-08-12T15:15:59.666Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-365@tmp/config7807313791562411015tmp [Pipeline] { [Pipeline] echo [2021-08-12T15:15:59.722Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-12T15:16:00.094Z] ---> create-netrc.sh [Pipeline] } [2021-08-12T15:16:00.122Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-08-12T15:16:00.575Z] ---> python-tools-install.sh [Pipeline] echo [2021-08-12T15:16:00.611Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-12T15:16:00.983Z] ---> sudo-logs.sh [2021-08-12T15:16:00.983Z] Archiving 'sudo' log.. [2021-08-12T15:16:00.983Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-709.vexxhost.local: Name or service not known [2021-08-12T15:16:00.983Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-709.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-08-12T15:16:01.095Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-12T15:16:01.475Z] ---> job-cost.sh [2021-08-12T15:16:01.475Z] lf-activate-venv: SKIPPING [2021-08-12T15:16:01.475Z] DEBUG: total: 0.18000000715255737 [2021-08-12T15:16:01.475Z] INFO: Retrieving Stack Cost... [2021-08-12T15:16:02.907Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-08-12T15:16:03.211Z] INFO: Archiving Costs [Pipeline] echo [2021-08-12T15:16:03.257Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-12T15:16:03.616Z] ---> logs-deploy.sh [2021-08-12T15:16:03.616Z] lf-activate-venv: SKIPPING [2021-08-12T15:16:03.616Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-365/1 [2021-08-12T15:16:03.616Z] INFO: archiving workspace using pattern(s): [2021-08-12T15:16:04.238Z] Archives upload complete. [2021-08-12T15:16:04.509Z] INFO: archiving logs to Nexus