Pull request #357 updated 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 6dd61b441719fab4f2192aeabeb577189d74fc2d+06bc10b48272c0f3cc1c2953f0a9dac9a54cc00f (fd7b855f3fb2864cabf4616c208a40f10c660a54) Running in Durability level: PERFORMANCE_OPTIMIZED 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-ssh5052044887848202081.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision db16f8292de5a0132d944c4e76ede2ca4f84da27 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-ssh8553152385502324626.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 db16f8292de5a0132d944c4e76ede2ca4f84da27 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-357/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-357/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5564044795080123064.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision db16f8292de5a0132d944c4e76ede2ca4f84da27 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f db16f8292de5a0132d944c4e76ede2ca4f84da27 # timeout=10 Commit message: "Merge pull request #343 from ernestojeda/pipeline-optimizations" > 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 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-ssh5610078917549096694.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-357/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > 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-357/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh541347673537109909.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-471 in /w/workspace/edgexfoundry_device-sdk-c_PR-357 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-357 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/jenkins-gitclient-ssh7032122238740050842.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 06bc10b48272c0f3cc1c2953f0a9dac9a54cc00f into PR head commit 6dd61b441719fab4f2192aeabeb577189d74fc2d Merge succeeded, producing 6dd61b441719fab4f2192aeabeb577189d74fc2d Checking out Revision 6dd61b441719fab4f2192aeabeb577189d74fc2d (PR-357) > 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-357@tmp/jenkins-gitclient-ssh6733251503294368532.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/357/head:refs/remotes/origin/PR-357 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6dd61b441719fab4f2192aeabeb577189d74fc2d # 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-357@tmp/jenkins-gitclient-ssh1617185757222684708.key > git merge 06bc10b48272c0f3cc1c2953f0a9dac9a54cc00f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6dd61b441719fab4f2192aeabeb577189d74fc2d # timeout=10 Commit message: "feat: Add SecretStore implementation (#304, #305)" First time build. Skipping changelog. > git rev-list --no-walk 66df8a1dc730d8f42e5be5e750b5933662fc1a4b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-07-29T14:53:55.917Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-07-29T14:53:56.035Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-07-29T14:53:56.082Z] ========================================================= [2021-07-29T14:53:56.082Z] EdgeX Global Pipelines Version Info [2021-07-29T14:53:56.082Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-07-29T14:53:57.067Z] ------------------- [2021-07-29T14:53:57.067Z] stable info: [2021-07-29T14:53:57.067Z] ------------------- [2021-07-29T14:53:57.067Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-07-29T14:53:57.067Z] Commit SHA: db16f8292de5a0132d944c4e76ede2ca4f84da27 [2021-07-29T14:53:57.067Z] Message: update stable to v1.0.197 [2021-07-29T14:53:58.032Z] ------------------- [2021-07-29T14:53:58.032Z] experimental info: [2021-07-29T14:53:58.032Z] ------------------- [2021-07-29T14:53:58.032Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-07-29T14:53:58.032Z] Commit SHA: db16f8292de5a0132d944c4e76ede2ca4f84da27 [2021-07-29T14:53:58.032Z] Message: update experimental to v1.0.197 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-07-29T14:53:58.164Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2021-07-29T14:53:58.182Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2021-07-29T14:53:58.201Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-07-29T14:53:58.219Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-07-29T14:53:58.238Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-07-29T14:53:58.257Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo [2021-07-29T14:53:58.277Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2021-07-29T14:53:58.296Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2021-07-29T14:53:58.326Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-07-29T14:53:58.345Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2021-07-29T14:53:58.365Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-07-29T14:53:58.384Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-07-29T14:53:58.404Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-07-29T14:53:58.422Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-07-29T14:53:58.441Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-07-29T14:53:58.460Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-07-29T14:53:58.479Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-07-29T14:53:58.499Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-357 [Pipeline] echo [2021-07-29T14:53:58.517Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-357 [Pipeline] echo [2021-07-29T14:53:58.536Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-357 [Pipeline] echo [2021-07-29T14:53:58.556Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6dd61b441719fab4f2192aeabeb577189d74fc2d [Pipeline] echo [2021-07-29T14:53:58.576Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6dd61b4 [Pipeline] echo [2021-07-29T14:53:58.595Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-29T14:53:58.669Z] provisioning config files... [2021-07-29T14:53:58.699Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/config5062476164201441579tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-29T14:53:59.046Z] ---> docker-login.sh [2021-07-29T14:53:59.046Z] nexus3.edgexfoundry.org:10001 [2021-07-29T14:53:59.046Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-29T14:53:59.314Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-29T14:53:59.314Z] Configure a credential helper to remove this warning. See [2021-07-29T14:53:59.314Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-29T14:53:59.314Z] [2021-07-29T14:53:59.314Z] Login Succeeded [2021-07-29T14:53:59.314Z] nexus3.edgexfoundry.org:10002 [2021-07-29T14:53:59.314Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-29T14:53:59.584Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-29T14:53:59.584Z] Configure a credential helper to remove this warning. See [2021-07-29T14:53:59.584Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-29T14:53:59.584Z] [2021-07-29T14:53:59.584Z] Login Succeeded [2021-07-29T14:53:59.584Z] nexus3.edgexfoundry.org:10003 [2021-07-29T14:53:59.584Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-29T14:53:59.584Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-29T14:53:59.584Z] Configure a credential helper to remove this warning. See [2021-07-29T14:53:59.584Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-29T14:53:59.584Z] [2021-07-29T14:53:59.584Z] Login Succeeded [2021-07-29T14:53:59.584Z] nexus3.edgexfoundry.org:10004 [2021-07-29T14:53:59.854Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-29T14:53:59.854Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-29T14:53:59.854Z] Configure a credential helper to remove this warning. See [2021-07-29T14:53:59.854Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-29T14:53:59.854Z] [2021-07-29T14:53:59.854Z] Login Succeeded [2021-07-29T14:53:59.854Z] docker.io [2021-07-29T14:54:00.129Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-29T14:54:00.397Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-29T14:54:00.397Z] Configure a credential helper to remove this warning. See [2021-07-29T14:54:00.397Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-29T14:54:00.397Z] [2021-07-29T14:54:00.397Z] Login Succeeded [2021-07-29T14:54:00.397Z] ---> docker-login.sh ends [Pipeline] } [2021-07-29T14:54:00.414Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2021-07-29T14:54:01.954Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-29T14:54:01.954Z] [2021-07-29T14:54:01.954Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-07-29T14:54:02.301Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-29T14:54:02.301Z] latest: Pulling from edgex-devops/git-semver [2021-07-29T14:54:02.301Z] 31603596830f: Pulling fs layer [2021-07-29T14:54:02.301Z] b6dc333f4379: Pulling fs layer [2021-07-29T14:54:02.301Z] 3d9ef1400e77: Pulling fs layer [2021-07-29T14:54:02.301Z] fd332fbdc1db: Pulling fs layer [2021-07-29T14:54:02.301Z] fd332fbdc1db: Waiting [2021-07-29T14:54:02.566Z] b6dc333f4379: Verifying Checksum [2021-07-29T14:54:02.566Z] b6dc333f4379: Download complete [2021-07-29T14:54:02.834Z] 31603596830f: Verifying Checksum [2021-07-29T14:54:02.834Z] 31603596830f: Download complete [2021-07-29T14:54:02.834Z] 31603596830f: Pull complete [2021-07-29T14:54:03.102Z] b6dc333f4379: Pull complete [2021-07-29T14:54:03.102Z] 3d9ef1400e77: Verifying Checksum [2021-07-29T14:54:03.102Z] 3d9ef1400e77: Download complete [2021-07-29T14:54:03.102Z] fd332fbdc1db: Verifying Checksum [2021-07-29T14:54:03.102Z] fd332fbdc1db: Download complete [2021-07-29T14:54:03.686Z] 3d9ef1400e77: Pull complete [2021-07-29T14:54:03.686Z] fd332fbdc1db: Pull complete [2021-07-29T14:54:03.686Z] Digest: sha256:db6b30291b918ea2df8875cce3ed97fb48fa491dcbf862453db6614bc0bd4782 [2021-07-29T14:54:03.686Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-29T14:54:03.686Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-07-29T14:54:03.797Z] prd-centos7-docker-4c-2g-471 does not seem to be running inside a container [2021-07-29T14:54:03.850Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-357 -v /w/workspace/edgexfoundry_device-sdk-c_PR-357:/w/workspace/edgexfoundry_device-sdk-c_PR-357:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-07-29T14:54:04.622Z] $ docker top 42888f890bc39d6b24d95b2bace6a227e513ef70db4f58a37351e4eae7d2eaf1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-07-29T14:54:04.747Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-29T14:54:04.747Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-29T14:54:04.861Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-29T14:54:04.860Z] $ docker exec 42888f890bc39d6b24d95b2bace6a227e513ef70db4f58a37351e4eae7d2eaf1 ssh-agent [2021-07-29T14:54:04.971Z] SSH_AUTH_SOCK=/tmp/ssh-gFHLnbcO2pY1/agent.14 [2021-07-29T14:54:04.971Z] SSH_AGENT_PID=20 [2021-07-29T14:54:04.983Z] Running ssh-add (command line suppressed) [2021-07-29T14:54:05.083Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/private_key_3707826109898131207.key (/w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/private_key_3707826109898131207.key) [2021-07-29T14:54:05.106Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-29T14:54:05.428Z] + git tag --points-at HEAD [Pipeline] } [2021-07-29T14:54:05.463Z] $ docker exec --env ******** --env ******** 42888f890bc39d6b24d95b2bace6a227e513ef70db4f58a37351e4eae7d2eaf1 ssh-agent -k [2021-07-29T14:54:05.552Z] unset SSH_AUTH_SOCK; [2021-07-29T14:54:05.552Z] unset SSH_AGENT_PID; [2021-07-29T14:54:05.552Z] echo Agent pid 20 killed; [2021-07-29T14:54:05.572Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-07-29T14:54:05.607Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-29T14:54:05.608Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-29T14:54:05.717Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-29T14:54:05.716Z] $ docker exec 42888f890bc39d6b24d95b2bace6a227e513ef70db4f58a37351e4eae7d2eaf1 ssh-agent [2021-07-29T14:54:05.820Z] SSH_AUTH_SOCK=/tmp/ssh-u49zINhacc77/agent.54 [2021-07-29T14:54:05.820Z] SSH_AGENT_PID=61 [2021-07-29T14:54:05.828Z] Running ssh-add (command line suppressed) [2021-07-29T14:54:05.903Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/private_key_6476680967310631911.key (/w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/private_key_6476680967310631911.key) [2021-07-29T14:54:05.925Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-29T14:54:06.234Z] + git semver init [2021-07-29T14:54:06.234Z] # -> Open(): unable to determine branch for HEAD [2021-07-29T14:54:06.234Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-357/.git [2021-07-29T14:54:06.234Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-357 [2021-07-29T14:54:06.234Z] # $SEMVER_REMOTE_NAME = origin [2021-07-29T14:54:06.234Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-07-29T14:54:06.234Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-07-29T14:54:06.234Z] # $SEMVER_BRANCH = PR-357 [2021-07-29T14:54:06.234Z] # $SEMVER_TEMP = /tmp/semver-629519990 [2021-07-29T14:54:06.234Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2021-07-29T14:54:06.823Z] # '/tmp/semver-629519990' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-357/.semver' [2021-07-29T14:54:06.823Z] # -> Force: false [2021-07-29T14:54:06.823Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-357/.semver [Pipeline] } [2021-07-29T14:54:06.837Z] $ docker exec --env ******** --env ******** 42888f890bc39d6b24d95b2bace6a227e513ef70db4f58a37351e4eae7d2eaf1 ssh-agent -k [2021-07-29T14:54:06.933Z] unset SSH_AUTH_SOCK; [2021-07-29T14:54:06.933Z] unset SSH_AGENT_PID; [2021-07-29T14:54:06.933Z] echo Agent pid 61 killed; [2021-07-29T14:54:06.949Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-29T14:54:07.288Z] + git semver [Pipeline] } [2021-07-29T14:54:07.308Z] $ docker stop --time=1 42888f890bc39d6b24d95b2bace6a227e513ef70db4f58a37351e4eae7d2eaf1 [2021-07-29T14:54:08.515Z] $ docker rm -f 42888f890bc39d6b24d95b2bace6a227e513ef70db4f58a37351e4eae7d2eaf1 [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-29T14:54:08.894Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-07-29T14:54:09.215Z] Stashed 1 file(s) [Pipeline] echo [2021-07-29T14:54:09.218Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-07-29T14:54:24.405Z] Still waiting to schedule task [2021-07-29T14:54:24.406Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-471’ [2021-07-29T14:54:24.408Z] Still waiting to schedule task [2021-07-29T14:54:24.408Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-07-29T14:56:32.848Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-472 in /w/workspace/edgexfoundry_device-sdk-c_PR-357 [Pipeline] { [Pipeline] ws [2021-07-29T14:56:32.866Z] Running in /w/workspace/device-sdk-c/7 [Pipeline] { [Pipeline] checkout [2021-07-29T14:56:33.053Z] Selected Git installation does not exist. Using Default [2021-07-29T14:56:33.054Z] The recommended git tool is: NONE [2021-07-29T14:56:38.591Z] using credential edgex-jenkins-ssh [2021-07-29T14:56:38.612Z] Cloning the remote Git repository [2021-07-29T14:56:38.688Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-07-29T14:56:38.831Z] > git init /w/workspace/device-sdk-c/7 # timeout=10 [2021-07-29T14:56:38.904Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-07-29T14:56:38.905Z] > git --version # timeout=10 [2021-07-29T14:56:38.939Z] > git --version # 'git version 2.17.1' [2021-07-29T14:56:38.942Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-29T14:56:39.049Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-29T14:56:40.229Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-07-29T14:56:40.246Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-29T14:56:40.270Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-07-29T14:56:40.302Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-07-29T14:56:40.303Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-29T14:56:40.324Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/357/head:refs/remotes/origin/PR-357 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-07-29T14:56:40.875Z] Merging remotes/origin/main commit 06bc10b48272c0f3cc1c2953f0a9dac9a54cc00f into PR head commit 6dd61b441719fab4f2192aeabeb577189d74fc2d [2021-07-29T14:56:41.137Z] Merge succeeded, producing 6dd61b441719fab4f2192aeabeb577189d74fc2d [2021-07-29T14:56:41.138Z] Checking out Revision 6dd61b441719fab4f2192aeabeb577189d74fc2d (PR-357) [2021-07-29T14:56:40.895Z] > git config core.sparsecheckout # timeout=10 [2021-07-29T14:56:40.912Z] > git checkout -f 6dd61b441719fab4f2192aeabeb577189d74fc2d # timeout=10 [2021-07-29T14:56:41.044Z] > git remote # timeout=10 [2021-07-29T14:56:41.072Z] > git config --get remote.origin.url # timeout=10 [2021-07-29T14:56:41.085Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-29T14:56:41.097Z] > git merge 06bc10b48272c0f3cc1c2953f0a9dac9a54cc00f # timeout=10 [2021-07-29T14:56:41.121Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-07-29T14:56:41.145Z] > git config core.sparsecheckout # timeout=10 [2021-07-29T14:56:41.171Z] > git checkout -f 6dd61b441719fab4f2192aeabeb577189d74fc2d # timeout=10 [2021-07-29T14:56:45.590Z] Commit message: "feat: Add SecretStore implementation (#304, #305)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-29T14:56:46.068Z] provisioning config files... [2021-07-29T14:56:46.096Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/7@tmp/config6783416450257247159tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-29T14:56:46.630Z] ---> docker-login.sh [2021-07-29T14:56:46.630Z] nexus3.edgexfoundry.org:10001 [2021-07-29T14:56:47.616Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-29T14:56:48.219Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-29T14:56:48.219Z] Configure a credential helper to remove this warning. See [2021-07-29T14:56:48.219Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-29T14:56:48.219Z] [2021-07-29T14:56:48.219Z] Login Succeeded [2021-07-29T14:56:48.219Z] nexus3.edgexfoundry.org:10002 [2021-07-29T14:56:48.497Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-29T14:56:48.497Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-29T14:56:48.497Z] Configure a credential helper to remove this warning. See [2021-07-29T14:56:48.497Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-29T14:56:48.497Z] [2021-07-29T14:56:48.497Z] Login Succeeded [2021-07-29T14:56:48.775Z] nexus3.edgexfoundry.org:10003 [2021-07-29T14:56:49.049Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-29T14:56:49.385Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-29T14:56:49.385Z] Configure a credential helper to remove this warning. See [2021-07-29T14:56:49.385Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-29T14:56:49.385Z] [2021-07-29T14:56:49.385Z] Login Succeeded [2021-07-29T14:56:49.385Z] nexus3.edgexfoundry.org:10004 [2021-07-29T14:56:49.659Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-29T14:56:49.935Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-29T14:56:49.935Z] Configure a credential helper to remove this warning. See [2021-07-29T14:56:49.935Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-29T14:56:49.935Z] [2021-07-29T14:56:49.935Z] Login Succeeded [2021-07-29T14:56:49.935Z] docker.io [2021-07-29T14:56:50.209Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-29T14:56:50.484Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-29T14:56:50.484Z] Configure a credential helper to remove this warning. See [2021-07-29T14:56:50.484Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-29T14:56:50.484Z] [2021-07-29T14:56:50.484Z] Login Succeeded [2021-07-29T14:56:50.484Z] ---> docker-login.sh ends [Pipeline] } [2021-07-29T14:56:50.563Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-07-29T14:56:51.027Z] ========================================================= [2021-07-29T14:56:51.027Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2021-07-29T14:56:51.027Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-07-29T14:56:51.380Z] + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . [2021-07-29T14:56:51.997Z] Sending build context to Docker daemon 2.683MB [2021-07-29T14:56:51.997Z] Step 1/25 : ARG BASE=alpine:3.12 [2021-07-29T14:56:51.997Z] Step 2/25 : FROM ${BASE} as builder [2021-07-29T14:56:52.270Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2021-07-29T14:56:52.270Z] d2f70382dc9a: Pulling fs layer [2021-07-29T14:56:52.270Z] b08cc2eccb4b: Pulling fs layer [2021-07-29T14:56:52.270Z] 7b69db201801: Pulling fs layer [2021-07-29T14:56:52.270Z] b08cc2eccb4b: Verifying Checksum [2021-07-29T14:56:52.270Z] b08cc2eccb4b: Download complete [2021-07-29T14:56:52.270Z] d2f70382dc9a: Verifying Checksum [2021-07-29T14:56:52.270Z] d2f70382dc9a: Download complete [2021-07-29T14:56:53.261Z] d2f70382dc9a: Pull complete [2021-07-29T14:56:53.535Z] b08cc2eccb4b: Pull complete [2021-07-29T14:56:54.994Z] 7b69db201801: Verifying Checksum [2021-07-29T14:56:54.994Z] 7b69db201801: Download complete [2021-07-29T14:56:57.804Z] Running on prd-centos7-docker-4c-2g-473 in /w/workspace/edgexfoundry_device-sdk-c_PR-357 [Pipeline] { [Pipeline] ws [2021-07-29T14:56:57.823Z] Running in /w/workspace/device-sdk-c/7 [Pipeline] { [Pipeline] checkout [2021-07-29T14:56:57.948Z] Selected Git installation does not exist. Using Default [2021-07-29T14:56:57.948Z] The recommended git tool is: NONE [2021-07-29T14:57:00.864Z] using credential edgex-jenkins-ssh [2021-07-29T14:57:00.878Z] Cloning the remote Git repository [2021-07-29T14:57:00.593Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-07-29T14:57:00.670Z] > git init /w/workspace/device-sdk-c/7 # timeout=10 [2021-07-29T14:57:00.711Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-07-29T14:57:00.711Z] > git --version # timeout=10 [2021-07-29T14:57:00.720Z] > git --version # 'git version 2.24.4' [2021-07-29T14:57:00.721Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-29T14:57:00.751Z] [INFO] Currently running in a labeled security context [2021-07-29T14:57:00.751Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-29T14:57:00.751Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/7@tmp/jenkins-gitclient-ssh856832975055428351.key [2021-07-29T14:57:00.767Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-29T14:57:01.991Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-07-29T14:57:02.002Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-29T14:57:02.013Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-07-29T14:57:02.031Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-07-29T14:57:02.031Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-29T14:57:02.032Z] [INFO] Currently running in a labeled security context [2021-07-29T14:57:02.032Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-29T14:57:02.032Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/7@tmp/jenkins-gitclient-ssh1205215824200226338.key [2021-07-29T14:57:02.040Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/357/head:refs/remotes/origin/PR-357 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-07-29T14:57:03.289Z] 7b69db201801: Pull complete [2021-07-29T14:57:03.289Z] Digest: sha256:6402f0ff92f22f5db569dc2a94aef5717e50795d64082fb226716824a8b8ffba [2021-07-29T14:57:03.289Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2021-07-29T14:57:03.289Z] ---> 759262b18b23 [2021-07-29T14:57:03.289Z] Step 3/25 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub [2021-07-29T14:57:03.295Z] Merging remotes/origin/main commit 06bc10b48272c0f3cc1c2953f0a9dac9a54cc00f into PR head commit 6dd61b441719fab4f2192aeabeb577189d74fc2d [2021-07-29T14:57:03.396Z] Merge succeeded, producing 6dd61b441719fab4f2192aeabeb577189d74fc2d [2021-07-29T14:57:03.397Z] Checking out Revision 6dd61b441719fab4f2192aeabeb577189d74fc2d (PR-357) [2021-07-29T14:57:03.186Z] > git config core.sparsecheckout # timeout=10 [2021-07-29T14:57:03.193Z] > git checkout -f 6dd61b441719fab4f2192aeabeb577189d74fc2d # timeout=10 [2021-07-29T14:57:03.240Z] > git remote # timeout=10 [2021-07-29T14:57:03.245Z] > git config --get remote.origin.url # timeout=10 [2021-07-29T14:57:03.249Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-29T14:57:03.251Z] [INFO] Currently running in a labeled security context [2021-07-29T14:57:03.251Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-29T14:57:03.251Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/7@tmp/jenkins-gitclient-ssh4941547444201810668.key [2021-07-29T14:57:03.261Z] > git merge 06bc10b48272c0f3cc1c2953f0a9dac9a54cc00f # timeout=10 [2021-07-29T14:57:03.274Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-07-29T14:57:03.289Z] > git config core.sparsecheckout # timeout=10 [2021-07-29T14:57:03.292Z] > git checkout -f 6dd61b441719fab4f2192aeabeb577189d74fc2d # timeout=10 [2021-07-29T14:57:04.736Z] ---> Running in d39ffd455874 [2021-07-29T14:57:06.196Z] Connecting to iotech.jfrog.io (54.195.244.87:443) [2021-07-29T14:57:06.473Z] saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-07-29T14:57:06.473Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-07-29T14:57:06.473Z] '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [2021-07-29T14:57:07.131Z] Commit message: "feat: Add SecretStore implementation (#304, #305)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2021-07-29T14:57:07.462Z] Removing intermediate container d39ffd455874 [2021-07-29T14:57:07.462Z] ---> e39640108856 [2021-07-29T14:57:07.462Z] Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-29T14:57:07.487Z] provisioning config files... [2021-07-29T14:57:07.507Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/7@tmp/config4175420618576737612tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-29T14:57:07.740Z] ---> Running in 2d3ad5c10e7f [2021-07-29T14:57:07.954Z] ---> docker-login.sh [2021-07-29T14:57:07.954Z] nexus3.edgexfoundry.org:10001 [2021-07-29T14:57:07.954Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-29T14:57:08.224Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-29T14:57:08.224Z] Configure a credential helper to remove this warning. See [2021-07-29T14:57:08.224Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-29T14:57:08.224Z] [2021-07-29T14:57:08.224Z] Login Succeeded [2021-07-29T14:57:08.224Z] nexus3.edgexfoundry.org:10002 [2021-07-29T14:57:08.224Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-29T14:57:08.224Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-29T14:57:08.224Z] Configure a credential helper to remove this warning. See [2021-07-29T14:57:08.224Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-29T14:57:08.224Z] [2021-07-29T14:57:08.224Z] Login Succeeded [2021-07-29T14:57:08.224Z] nexus3.edgexfoundry.org:10003 [2021-07-29T14:57:08.491Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-29T14:57:08.491Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-29T14:57:08.491Z] Configure a credential helper to remove this warning. See [2021-07-29T14:57:08.491Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-29T14:57:08.491Z] [2021-07-29T14:57:08.491Z] Login Succeeded [2021-07-29T14:57:08.491Z] nexus3.edgexfoundry.org:10004 [2021-07-29T14:57:08.491Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-29T14:57:08.761Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-29T14:57:08.761Z] Configure a credential helper to remove this warning. See [2021-07-29T14:57:08.761Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-29T14:57:08.761Z] [2021-07-29T14:57:08.761Z] Login Succeeded [2021-07-29T14:57:08.761Z] docker.io [2021-07-29T14:57:08.761Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-29T14:57:09.029Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-29T14:57:09.029Z] Configure a credential helper to remove this warning. See [2021-07-29T14:57:09.029Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-29T14:57:09.029Z] [2021-07-29T14:57:09.029Z] Login Succeeded [2021-07-29T14:57:09.029Z] ---> docker-login.sh ends [Pipeline] } [2021-07-29T14:57:09.080Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-07-29T14:57:09.278Z] ========================================================= [2021-07-29T14:57:09.278Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2021-07-29T14:57:09.278Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-07-29T14:57:09.617Z] + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . [2021-07-29T14:57:09.617Z] Sending build context to Docker daemon 2.684MB [2021-07-29T14:57:09.617Z] Step 1/25 : ARG BASE=alpine:3.12 [2021-07-29T14:57:09.617Z] Step 2/25 : FROM ${BASE} as builder [2021-07-29T14:57:09.888Z] latest: Pulling from edgex-devops/edgex-gcc-base [2021-07-29T14:57:09.888Z] 339de151aab4: Pulling fs layer [2021-07-29T14:57:09.888Z] 3691962f683c: Pulling fs layer [2021-07-29T14:57:09.888Z] e1147bf81a45: Pulling fs layer [2021-07-29T14:57:09.888Z] 3691962f683c: Verifying Checksum [2021-07-29T14:57:09.888Z] 3691962f683c: Download complete [2021-07-29T14:57:09.888Z] 339de151aab4: Verifying Checksum [2021-07-29T14:57:09.888Z] 339de151aab4: Download complete [2021-07-29T14:57:10.157Z] 339de151aab4: Pull complete [2021-07-29T14:57:10.157Z] 3691962f683c: Pull complete [2021-07-29T14:57:10.370Z] Removing intermediate container 2d3ad5c10e7f [2021-07-29T14:57:10.370Z] ---> ba083779bb9e [2021-07-29T14:57:10.370Z] Step 5/25 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev hiredis-dev [2021-07-29T14:57:10.370Z] ---> Running in 57d20995f45a [2021-07-29T14:57:11.361Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-07-29T14:57:12.343Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-07-29T14:57:13.321Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz [2021-07-29T14:57:13.521Z] e1147bf81a45: Verifying Checksum [2021-07-29T14:57:13.521Z] e1147bf81a45: Download complete [2021-07-29T14:57:13.916Z] (1/22) Installing hiredis (0.14.1-r0) [2021-07-29T14:57:13.916Z] (2/22) Installing hiredis-dev (0.14.1-r0) [2021-07-29T14:57:14.188Z] (3/22) Installing ncurses-dev (6.2_p20200523-r0) [2021-07-29T14:57:14.188Z] (4/22) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-07-29T14:57:16.164Z] (5/22) Installing libblkid (2.35.2-r0) [2021-07-29T14:57:16.164Z] (6/22) Installing blkid (2.35.2-r0) [2021-07-29T14:57:16.164Z] (7/22) Installing libcap-ng (0.7.10-r1) [2021-07-29T14:57:16.173Z] e1147bf81a45: Pull complete [2021-07-29T14:57:16.173Z] Digest: sha256:32c567f17180c4abff101a0d389449dec7f3f623a221c8a8ae98dcac9b0d9fee [2021-07-29T14:57:16.173Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2021-07-29T14:57:16.173Z] ---> ac6a0feb3254 [2021-07-29T14:57:16.173Z] Step 3/25 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub [2021-07-29T14:57:16.435Z] (8/22) Installing setpriv (2.35.2-r0) [2021-07-29T14:57:16.435Z] (9/22) Installing libmount (2.35.2-r0) [2021-07-29T14:57:16.707Z] (10/22) Installing libsmartcols (2.35.2-r0) [2021-07-29T14:57:16.707Z] (11/22) Installing findmnt (2.35.2-r0) [2021-07-29T14:57:16.707Z] (12/22) Installing mcookie (2.35.2-r0) [2021-07-29T14:57:16.978Z] (13/22) Installing hexdump (2.35.2-r0) [2021-07-29T14:57:16.978Z] (14/22) Installing lsblk (2.35.2-r0) [2021-07-29T14:57:16.978Z] (15/22) Installing libuuid (2.35.2-r0) [2021-07-29T14:57:17.144Z] ---> Running in 9f7995527eda [2021-07-29T14:57:17.250Z] (16/22) Installing libfdisk (2.35.2-r0) [2021-07-29T14:57:17.250Z] (17/22) Installing sfdisk (2.35.2-r0) [2021-07-29T14:57:17.250Z] (18/22) Installing cfdisk (2.35.2-r0) [2021-07-29T14:57:17.414Z] Connecting to iotech.jfrog.io (54.170.66.44:443) [2021-07-29T14:57:17.526Z] (19/22) Installing util-linux (2.35.2-r0) [2021-07-29T14:57:17.800Z] (20/22) Installing util-linux-dev (2.35.2-r0) [2021-07-29T14:57:17.999Z] saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-07-29T14:57:17.999Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-07-29T14:57:17.999Z] '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [2021-07-29T14:57:17.999Z] Removing intermediate container 9f7995527eda [2021-07-29T14:57:17.999Z] ---> 0dce78610e68 [2021-07-29T14:57:17.999Z] Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-07-29T14:57:17.999Z] ---> Running in 2706285cd3a7 [2021-07-29T14:57:18.073Z] (21/22) Installing libidn2 (2.3.0-r0) [2021-07-29T14:57:18.073Z] (22/22) Installing wget (1.20.3-r1) [2021-07-29T14:57:18.351Z] Executing busybox-1.31.1-r20.trigger [2021-07-29T14:57:18.351Z] OK: 276 MiB in 97 packages [2021-07-29T14:57:18.595Z] Removing intermediate container 2706285cd3a7 [2021-07-29T14:57:18.596Z] ---> 8b44b09918ea [2021-07-29T14:57:18.596Z] Step 5/25 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev hiredis-dev [2021-07-29T14:57:18.596Z] ---> Running in 3548b713e4ce [2021-07-29T14:57:18.865Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-07-29T14:57:19.451Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-07-29T14:57:20.037Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz [2021-07-29T14:57:20.305Z] (1/22) Installing hiredis (0.14.1-r0) [2021-07-29T14:57:20.305Z] (2/22) Installing hiredis-dev (0.14.1-r0) [2021-07-29T14:57:20.327Z] Removing intermediate container 57d20995f45a [2021-07-29T14:57:20.327Z] ---> 85d3e7aad5a9 [2021-07-29T14:57:20.327Z] Step 6/25 : ENV CBOR_VERSION=0.5.0 [2021-07-29T14:57:20.327Z] ---> Running in a4c45e55a6cf [2021-07-29T14:57:20.572Z] (3/22) Installing ncurses-dev (6.2_p20200523-r0) [2021-07-29T14:57:20.573Z] (4/22) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-07-29T14:57:20.601Z] Removing intermediate container a4c45e55a6cf [2021-07-29T14:57:20.601Z] ---> a48176fda6b9 [2021-07-29T14:57:20.601Z] Step 7/25 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install [2021-07-29T14:57:20.873Z] ---> Running in 0c087cdbb341 [2021-07-29T14:57:21.980Z] (5/22) Installing libblkid (2.35.2-r0) [2021-07-29T14:57:21.980Z] (6/22) Installing blkid (2.35.2-r0) [2021-07-29T14:57:22.247Z] (7/22) Installing libcap-ng (0.7.10-r1) [2021-07-29T14:57:22.247Z] (8/22) Installing setpriv (2.35.2-r0) [2021-07-29T14:57:22.247Z] (9/22) Installing libmount (2.35.2-r0) [2021-07-29T14:57:22.317Z] --2021-07-29 14:57:21-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-07-29T14:57:22.317Z] Resolving github.com (github.com)... 140.82.114.3 [2021-07-29T14:57:22.317Z] Connecting to github.com (github.com)|140.82.114.3|:443... connected. [2021-07-29T14:57:22.317Z] HTTP request sent, awaiting response... 302 Found [2021-07-29T14:57:22.317Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-07-29T14:57:22.317Z] --2021-07-29 14:57:22-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-07-29T14:57:22.317Z] Resolving codeload.github.com (codeload.github.com)... 140.82.113.10 [2021-07-29T14:57:22.317Z] Connecting to codeload.github.com (codeload.github.com)|140.82.113.10|:443... connected. [2021-07-29T14:57:22.317Z] HTTP request sent, awaiting response... 200 OK [2021-07-29T14:57:22.317Z] Length: unspecified [application/x-gzip] [2021-07-29T14:57:22.317Z] Saving to: 'STDOUT' [2021-07-29T14:57:22.317Z]  [2021-07-29T14:57:22.317Z] 0K .......... .......... .......... .......... .......... 1.09M [2021-07-29T14:57:22.317Z] 50K .......... .......... .......... .......... .......... 2.01M [2021-07-29T14:57:22.515Z] (10/22) Installing libsmartcols (2.35.2-r0) [2021-07-29T14:57:22.515Z] (11/22) Installing findmnt (2.35.2-r0) [2021-07-29T14:57:22.515Z] (12/22) Installing mcookie (2.35.2-r0) [2021-07-29T14:57:22.591Z] 100K .......... .......... .......... .......... .......... 2.13M [2021-07-29T14:57:22.591Z] 150K .......... .......... .......... .......... .......... 10.4M [2021-07-29T14:57:22.591Z] 200K .......... .......... .......... .......... .......... 9.90M [2021-07-29T14:57:22.591Z] 250K .......... .......... .......... .......... .......... 3.90M [2021-07-29T14:57:22.591Z] 300K .......... .......... .......... .......... .......... 4.74M [2021-07-29T14:57:22.591Z] 350K .......... .......... .......... .......... .......... 4.75M [2021-07-29T14:57:22.591Z] 400K .......... .......... .......... .......... .......... 2.61M [2021-07-29T14:57:22.591Z] 450K .......... .......... .......... .......... .......... 6.30M [2021-07-29T14:57:22.591Z] 500K .......... .......... .......... .......... .......... 531K [2021-07-29T14:57:22.591Z] 550K .......... .......... .......... .......... .......... 2.72M [2021-07-29T14:57:22.591Z] 600K .......... .......... .......... .......... .......... 982K [2021-07-29T14:57:22.782Z] (13/22) Installing hexdump (2.35.2-r0) [2021-07-29T14:57:22.782Z] (14/22) Installing lsblk (2.35.2-r0) [2021-07-29T14:57:22.782Z] (15/22) Installing libuuid (2.35.2-r0) [2021-07-29T14:57:22.864Z] 650K .......... .......... .......... .......... .......... 1.92M [2021-07-29T14:57:22.864Z] 700K .. 4.58M=0.4s [2021-07-29T14:57:22.864Z] [2021-07-29T14:57:22.864Z] 2021-07-29 14:57:22 (1.96 MB/s) - written to stdout [719348] [2021-07-29T14:57:22.864Z] [2021-07-29T14:57:23.049Z] (16/22) Installing libfdisk (2.35.2-r0) [2021-07-29T14:57:23.049Z] (17/22) Installing sfdisk (2.35.2-r0) [2021-07-29T14:57:23.049Z] (18/22) Installing cfdisk (2.35.2-r0) [2021-07-29T14:57:23.138Z] -- The C compiler identification is GNU 9.3.0 [2021-07-29T14:57:23.138Z] -- The CXX compiler identification is GNU 9.3.0 [2021-07-29T14:57:23.316Z] (19/22) Installing util-linux (2.35.2-r0) [2021-07-29T14:57:23.411Z] -- Check for working C compiler: /usr/bin/cc [2021-07-29T14:57:23.411Z] -- Check for working C compiler: /usr/bin/cc - works [2021-07-29T14:57:23.584Z] (20/22) Installing util-linux-dev (2.35.2-r0) [2021-07-29T14:57:23.684Z] -- Detecting C compiler ABI info [2021-07-29T14:57:23.684Z] -- Detecting C compiler ABI info - done [2021-07-29T14:57:23.861Z] (21/22) Installing libidn2 (2.3.0-r0) [2021-07-29T14:57:23.861Z] (22/22) Installing wget (1.20.3-r1) [2021-07-29T14:57:23.969Z] -- Detecting C compile features [2021-07-29T14:57:23.969Z] -- Detecting C compile features - done [2021-07-29T14:57:23.969Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-07-29T14:57:24.131Z] Executing busybox-1.31.1-r20.trigger [2021-07-29T14:57:24.131Z] OK: 295 MiB in 97 packages [2021-07-29T14:57:24.240Z] -- Check for working CXX compiler: /usr/bin/c++ - works [2021-07-29T14:57:24.240Z] -- Detecting CXX compiler ABI info [2021-07-29T14:57:24.397Z] Removing intermediate container 3548b713e4ce [2021-07-29T14:57:24.397Z] ---> 71cbef88428b [2021-07-29T14:57:24.397Z] Step 6/25 : ENV CBOR_VERSION=0.5.0 [2021-07-29T14:57:24.510Z] -- Detecting CXX compiler ABI info - done [2021-07-29T14:57:24.511Z] -- Detecting CXX compile features [2021-07-29T14:57:24.511Z] -- Detecting CXX compile features - done [2021-07-29T14:57:24.511Z] -- Looking for include file endian.h [2021-07-29T14:57:24.670Z] ---> Running in 886c41bfc84b [2021-07-29T14:57:24.670Z] Removing intermediate container 886c41bfc84b [2021-07-29T14:57:24.670Z] ---> 3875e80372f3 [2021-07-29T14:57:24.670Z] Step 7/25 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install [2021-07-29T14:57:24.670Z] ---> Running in f0f650489810 [2021-07-29T14:57:24.784Z] -- Looking for include file endian.h - found [2021-07-29T14:57:24.784Z] -- Check if the system is big endian [2021-07-29T14:57:24.784Z] -- Searching 16 bit integer [2021-07-29T14:57:24.784Z] -- Looking for sys/types.h [2021-07-29T14:57:24.938Z] --2021-07-29 14:57:24-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-07-29T14:57:24.938Z] Resolving github.com (github.com)... 140.82.114.3 [2021-07-29T14:57:24.938Z] Connecting to github.com (github.com)|140.82.114.3|:443... connected. [2021-07-29T14:57:24.938Z] HTTP request sent, awaiting response... 302 Found [2021-07-29T14:57:24.938Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-07-29T14:57:24.938Z] --2021-07-29 14:57:24-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-07-29T14:57:24.938Z] Resolving codeload.github.com (codeload.github.com)... 140.82.113.10 [2021-07-29T14:57:25.061Z] -- Looking for sys/types.h - found [2021-07-29T14:57:25.061Z] -- Looking for stdint.h [2021-07-29T14:57:25.206Z] Connecting to codeload.github.com (codeload.github.com)|140.82.113.10|:443... connected. [2021-07-29T14:57:25.206Z] HTTP request sent, awaiting response... 200 OK [2021-07-29T14:57:25.206Z] Length: unspecified [application/x-gzip] [2021-07-29T14:57:25.206Z] Saving to: 'STDOUT' [2021-07-29T14:57:25.206Z]  [2021-07-29T14:57:25.206Z] 0K .......... .......... .......... .......... .......... 1.27M [2021-07-29T14:57:25.206Z] 50K .......... .......... .......... .......... .......... 2.56M [2021-07-29T14:57:25.206Z] 100K .......... .......... .......... .......... .......... 36.2M [2021-07-29T14:57:25.207Z] 150K .......... .......... .......... .......... .......... 2.82M [2021-07-29T14:57:25.207Z] 200K .......... .......... .......... .......... .......... 25.7M [2021-07-29T14:57:25.207Z] 250K .......... .......... .......... .......... .......... 9.20M [2021-07-29T14:57:25.207Z] 300K .......... .......... .......... .......... .......... 3.44M [2021-07-29T14:57:25.207Z] 350K .......... .......... .......... .......... .......... 9.72M [2021-07-29T14:57:25.207Z] 400K .......... .......... .......... .......... .......... 10.3M [2021-07-29T14:57:25.207Z] 450K .......... .......... .......... .......... .......... 8.23M [2021-07-29T14:57:25.207Z] 500K .......... .......... .......... .......... .......... 14.3M [2021-07-29T14:57:25.207Z] 550K .......... .......... .......... .......... .......... 7.79M [2021-07-29T14:57:25.207Z] 600K .......... .......... .......... .......... .......... 3.11M [2021-07-29T14:57:25.207Z] 650K .......... .......... .......... .......... .......... 8.46M [2021-07-29T14:57:25.207Z] 700K .. 64.9M=0.1s [2021-07-29T14:57:25.207Z] [2021-07-29T14:57:25.207Z] 2021-07-29 14:57:25 (4.75 MB/s) - written to stdout [719348] [2021-07-29T14:57:25.207Z] [2021-07-29T14:57:25.335Z] -- Looking for stdint.h - found [2021-07-29T14:57:25.335Z] -- Looking for stddef.h [2021-07-29T14:57:25.474Z] -- The C compiler identification is GNU 9.3.0 [2021-07-29T14:57:25.474Z] -- The CXX compiler identification is GNU 9.3.0 [2021-07-29T14:57:25.474Z] -- Check for working C compiler: /usr/bin/cc [2021-07-29T14:57:25.474Z] -- Check for working C compiler: /usr/bin/cc - works [2021-07-29T14:57:25.474Z] -- Detecting C compiler ABI info [2021-07-29T14:57:25.474Z] -- Detecting C compiler ABI info - done [2021-07-29T14:57:25.610Z] -- Looking for stddef.h - found [2021-07-29T14:57:25.610Z] -- Check size of unsigned short [2021-07-29T14:57:25.610Z] -- Check size of unsigned short - done [2021-07-29T14:57:25.610Z] -- Searching 16 bit integer - Using unsigned short [2021-07-29T14:57:25.742Z] -- Detecting C compile features [2021-07-29T14:57:25.742Z] -- Detecting C compile features - done [2021-07-29T14:57:25.742Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-07-29T14:57:25.742Z] -- Check for working CXX compiler: /usr/bin/c++ - works [2021-07-29T14:57:25.742Z] -- Detecting CXX compiler ABI info [2021-07-29T14:57:25.742Z] -- Detecting CXX compiler ABI info - done [2021-07-29T14:57:25.742Z] -- Detecting CXX compile features [2021-07-29T14:57:25.742Z] -- Detecting CXX compile features - done [2021-07-29T14:57:25.742Z] -- Looking for include file endian.h [2021-07-29T14:57:25.883Z] -- Check if the system is big endian - little endian [2021-07-29T14:57:26.018Z] -- Looking for include file endian.h - found [2021-07-29T14:57:26.018Z] -- Check if the system is big endian [2021-07-29T14:57:26.018Z] -- Searching 16 bit integer [2021-07-29T14:57:26.018Z] -- Looking for sys/types.h [2021-07-29T14:57:26.018Z] -- Looking for sys/types.h - found [2021-07-29T14:57:26.018Z] -- Looking for stdint.h [2021-07-29T14:57:26.018Z] -- Looking for stdint.h - found [2021-07-29T14:57:26.018Z] -- Looking for stddef.h [2021-07-29T14:57:26.018Z] -- Looking for stddef.h - found [2021-07-29T14:57:26.018Z] -- Check size of unsigned short [2021-07-29T14:57:26.157Z] -- Check size of size_t [2021-07-29T14:57:26.288Z] -- Check size of unsigned short - done [2021-07-29T14:57:26.289Z] -- Searching 16 bit integer - Using unsigned short [2021-07-29T14:57:26.289Z] -- Check if the system is big endian - little endian [2021-07-29T14:57:26.289Z] -- Check size of size_t [2021-07-29T14:57:26.289Z] -- Check size of size_t - done [2021-07-29T14:57:26.289Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-07-29T14:57:26.289Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-07-29T14:57:26.289Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-07-29T14:57:26.289Z] CMake did not find one. [2021-07-29T14:57:26.289Z] [2021-07-29T14:57:26.289Z] Could not find a package configuration file provided by "cJSON" with any of [2021-07-29T14:57:26.289Z] the following names: [2021-07-29T14:57:26.289Z] [2021-07-29T14:57:26.289Z] cJSONConfig.cmake [2021-07-29T14:57:26.289Z] cjson-config.cmake [2021-07-29T14:57:26.289Z] [2021-07-29T14:57:26.289Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-07-29T14:57:26.289Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-07-29T14:57:26.289Z] provides a separate development package or SDK, be sure it has been [2021-07-29T14:57:26.289Z] installed. [2021-07-29T14:57:26.289Z] [2021-07-29T14:57:26.289Z] [2021-07-29T14:57:26.289Z] -- Configuring done [2021-07-29T14:57:26.289Z] -- Generating done [2021-07-29T14:57:26.289Z] -- Build files have been written to: /tmp/cbor [2021-07-29T14:57:26.430Z] -- Check size of size_t - done [2021-07-29T14:57:26.430Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-07-29T14:57:26.430Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-07-29T14:57:26.430Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-07-29T14:57:26.430Z] CMake did not find one. [2021-07-29T14:57:26.430Z] [2021-07-29T14:57:26.430Z] Could not find a package configuration file provided by "cJSON" with any of [2021-07-29T14:57:26.430Z] the following names: [2021-07-29T14:57:26.430Z] [2021-07-29T14:57:26.430Z] cJSONConfig.cmake [2021-07-29T14:57:26.430Z] cjson-config.cmake [2021-07-29T14:57:26.430Z] [2021-07-29T14:57:26.430Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-07-29T14:57:26.430Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-07-29T14:57:26.430Z] provides a separate development package or SDK, be sure it has been [2021-07-29T14:57:26.430Z] installed. [2021-07-29T14:57:26.430Z] [2021-07-29T14:57:26.430Z] [2021-07-29T14:57:26.430Z] -- Configuring done [2021-07-29T14:57:26.430Z] -- Generating done [2021-07-29T14:57:26.430Z] -- Build files have been written to: /tmp/cbor [2021-07-29T14:57:26.558Z] Scanning dependencies of target cbor_shared [2021-07-29T14:57:26.558Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-07-29T14:57:26.558Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-07-29T14:57:26.705Z] Scanning dependencies of target cbor_shared [2021-07-29T14:57:26.705Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-07-29T14:57:26.827Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-07-29T14:57:26.827Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-07-29T14:57:26.827Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-07-29T14:57:26.827Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-07-29T14:57:27.098Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-07-29T14:57:27.098Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-07-29T14:57:27.098Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-07-29T14:57:27.098Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-07-29T14:57:27.367Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-07-29T14:57:27.367Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-07-29T14:57:27.367Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-07-29T14:57:27.367Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-07-29T14:57:27.635Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-07-29T14:57:27.635Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-07-29T14:57:27.635Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-07-29T14:57:27.635Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-07-29T14:57:27.686Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-07-29T14:57:27.904Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-07-29T14:57:27.904Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-07-29T14:57:27.904Z] [ 40%] Linking C shared library libcbor.so [2021-07-29T14:57:27.904Z] [ 40%] Built target cbor_shared [2021-07-29T14:57:27.904Z] Scanning dependencies of target cbor [2021-07-29T14:57:27.904Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-07-29T14:57:27.960Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-07-29T14:57:28.173Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-07-29T14:57:28.173Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-07-29T14:57:28.173Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-07-29T14:57:28.232Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-07-29T14:57:28.439Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-07-29T14:57:28.708Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-07-29T14:57:28.708Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-07-29T14:57:28.708Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-07-29T14:57:28.708Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-07-29T14:57:28.827Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-07-29T14:57:28.976Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-07-29T14:57:28.977Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-07-29T14:57:28.977Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-07-29T14:57:29.100Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-07-29T14:57:29.247Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-07-29T14:57:29.247Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-07-29T14:57:29.247Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-07-29T14:57:29.376Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-07-29T14:57:29.376Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-07-29T14:57:29.523Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-07-29T14:57:29.524Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-07-29T14:57:29.524Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-07-29T14:57:29.524Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-07-29T14:57:29.524Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-07-29T14:57:29.648Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-07-29T14:57:29.793Z] [ 80%] Linking C static library libcbor.a [2021-07-29T14:57:29.793Z] [ 80%] Built target cbor [2021-07-29T14:57:29.793Z] Scanning dependencies of target sort [2021-07-29T14:57:29.793Z] [ 82%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-07-29T14:57:29.793Z] [ 84%] Linking C executable sort [2021-07-29T14:57:29.793Z] [ 84%] Built target sort [2021-07-29T14:57:29.793Z] Scanning dependencies of target readfile [2021-07-29T14:57:29.793Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-07-29T14:57:29.793Z] [ 88%] Linking C executable readfile [2021-07-29T14:57:29.922Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-07-29T14:57:30.063Z] [ 88%] Built target readfile [2021-07-29T14:57:30.063Z] Scanning dependencies of target streaming_parser [2021-07-29T14:57:30.063Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-07-29T14:57:30.063Z] [ 92%] Linking C executable streaming_parser [2021-07-29T14:57:30.063Z] [ 92%] Built target streaming_parser [2021-07-29T14:57:30.063Z] Scanning dependencies of target hello [2021-07-29T14:57:30.063Z] [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-07-29T14:57:30.063Z] [ 96%] Linking C executable hello [2021-07-29T14:57:30.063Z] [ 96%] Built target hello [2021-07-29T14:57:30.063Z] Scanning dependencies of target create_items [2021-07-29T14:57:30.063Z] [ 98%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-07-29T14:57:30.063Z] [100%] Linking C executable create_items [2021-07-29T14:57:30.332Z] [100%] Built target create_items [2021-07-29T14:57:30.332Z] Install the project... [2021-07-29T14:57:30.332Z] -- Install configuration: "Release" [2021-07-29T14:57:30.332Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-07-29T14:57:30.332Z] -- Installing: /usr/local/lib64/libcbor.a [2021-07-29T14:57:30.332Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-07-29T14:57:30.332Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-07-29T14:57:30.332Z] -- Installing: /usr/local/lib64/libcbor.so [2021-07-29T14:57:30.332Z] -- Up-to-date: /usr/local/include/cbor [2021-07-29T14:57:30.332Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-07-29T14:57:30.332Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-07-29T14:57:30.332Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-07-29T14:57:30.332Z] -- Installing: /usr/local/include/cbor/common.h [2021-07-29T14:57:30.332Z] -- Installing: /usr/local/include/cbor/data.h [2021-07-29T14:57:30.332Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-07-29T14:57:30.332Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-07-29T14:57:30.332Z] -- Installing: /usr/local/include/cbor/internal [2021-07-29T14:57:30.332Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-07-29T14:57:30.332Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-07-29T14:57:30.332Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-07-29T14:57:30.332Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-07-29T14:57:30.332Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-07-29T14:57:30.332Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-07-29T14:57:30.332Z] -- Installing: /usr/local/include/cbor/ints.h [2021-07-29T14:57:30.332Z] -- Installing: /usr/local/include/cbor/maps.h [2021-07-29T14:57:30.332Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-07-29T14:57:30.332Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-07-29T14:57:30.332Z] -- Installing: /usr/local/include/cbor/strings.h [2021-07-29T14:57:30.332Z] -- Installing: /usr/local/include/cbor/tags.h [2021-07-29T14:57:30.332Z] -- Installing: /usr/local/include/cbor.h [2021-07-29T14:57:30.332Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-07-29T14:57:30.526Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-07-29T14:57:30.800Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-07-29T14:57:30.916Z] Removing intermediate container f0f650489810 [2021-07-29T14:57:30.916Z] ---> 5231ac57f54a [2021-07-29T14:57:30.916Z] Step 8/25 : RUN mkdir /tmp/sdk [2021-07-29T14:57:30.916Z] ---> Running in efa475a1ed18 [2021-07-29T14:57:31.397Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-07-29T14:57:31.509Z] Removing intermediate container efa475a1ed18 [2021-07-29T14:57:31.509Z] ---> 4fd64255e8b6 [2021-07-29T14:57:31.509Z] Step 9/25 : COPY VERSION /tmp/sdk [2021-07-29T14:57:31.509Z] ---> 14a97482c3bf [2021-07-29T14:57:31.509Z] Step 10/25 : COPY src /tmp/sdk/src [2021-07-29T14:57:31.672Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-07-29T14:57:31.778Z] ---> c8050a2c4518 [2021-07-29T14:57:31.778Z] Step 11/25 : COPY include /tmp/sdk/include [2021-07-29T14:57:31.945Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-07-29T14:57:31.946Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-07-29T14:57:32.047Z] ---> d1e47dd3fa6d [2021-07-29T14:57:32.047Z] Step 12/25 : COPY scripts /tmp/sdk/scripts [2021-07-29T14:57:32.220Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-07-29T14:57:32.314Z] ---> d3d95976e950 [2021-07-29T14:57:32.314Z] Step 13/25 : COPY LICENSE /tmp/sdk [2021-07-29T14:57:32.314Z] ---> 65eb5f32c7bd [2021-07-29T14:57:32.314Z] Step 14/25 : COPY Attribution.txt /tmp/sdk [2021-07-29T14:57:32.493Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-07-29T14:57:32.585Z] ---> d79fb2fa5ba9 [2021-07-29T14:57:32.585Z] Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-07-29T14:57:32.585Z] ---> Running in 08f7a23f298e [2021-07-29T14:57:32.767Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-07-29T14:57:32.862Z] + CPPCHECK=false [2021-07-29T14:57:32.862Z] + DOCGEN=false [2021-07-29T14:57:32.862Z] + TOMLVER=SDK-0.2 [2021-07-29T14:57:32.862Z] + CUTILVER=1.1.4 [2021-07-29T14:57:32.862Z] + '[' 0 -gt 0 ] [2021-07-29T14:57:32.862Z] + readlink -f ./scripts/build.sh [2021-07-29T14:57:32.862Z] + dirname /tmp/sdk/scripts/build.sh [2021-07-29T14:57:32.862Z] + dirname /tmp/sdk/scripts [2021-07-29T14:57:32.862Z] + ROOT=/tmp/sdk [2021-07-29T14:57:32.862Z] + cd /tmp/sdk [2021-07-29T14:57:32.862Z] + '[' '!' -d deps ] [2021-07-29T14:57:32.862Z] + mkdir deps [2021-07-29T14:57:32.862Z] + + tar -C depswget -z -x -O -f - - [2021-07-29T14:57:32.863Z] https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-07-29T14:57:32.863Z] --2021-07-29 14:57:32-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-07-29T14:57:32.863Z] Resolving github.com (github.com)... 140.82.114.3 [2021-07-29T14:57:32.863Z] Connecting to github.com (github.com)|140.82.114.3|:443... connected. [2021-07-29T14:57:33.039Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-07-29T14:57:33.134Z] HTTP request sent, awaiting response... 302 Found [2021-07-29T14:57:33.134Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-07-29T14:57:33.134Z] --2021-07-29 14:57:32-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-07-29T14:57:33.134Z] Resolving codeload.github.com (codeload.github.com)... 140.82.113.10 [2021-07-29T14:57:33.134Z] Connecting to codeload.github.com (codeload.github.com)|140.82.113.10|:443... connected. [2021-07-29T14:57:33.315Z] [ 40%] Linking C shared library libcbor.so [2021-07-29T14:57:33.315Z] [ 40%] Built target cbor_shared [2021-07-29T14:57:33.315Z] Scanning dependencies of target cbor [2021-07-29T14:57:33.402Z] HTTP request sent, awaiting response... 200 OK [2021-07-29T14:57:33.402Z] Length: unspecified [application/x-gzip] [2021-07-29T14:57:33.402Z] Saving to: 'STDOUT' [2021-07-29T14:57:33.402Z] [2021-07-29T14:57:33.402Z] 0K .......... ......  763K=0.02s [2021-07-29T14:57:33.402Z] [2021-07-29T14:57:33.402Z] 2021-07-29 14:57:33 (763 KB/s) - written to stdout [16451] [2021-07-29T14:57:33.402Z] [2021-07-29T14:57:33.402Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-07-29T14:57:33.402Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-07-29T14:57:33.402Z] + tar -C deps -z -x -f - [2021-07-29T14:57:33.402Z] --2021-07-29 14:57:33-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-07-29T14:57:33.402Z] Resolving github.com (github.com)... 140.82.114.3 [2021-07-29T14:57:33.402Z] Connecting to github.com (github.com)|140.82.114.3|:443... connected. [2021-07-29T14:57:33.589Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-07-29T14:57:33.669Z] HTTP request sent, awaiting response... 302 Found [2021-07-29T14:57:33.669Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] [2021-07-29T14:57:33.669Z] --2021-07-29 14:57:33-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [2021-07-29T14:57:33.669Z] Resolving codeload.github.com (codeload.github.com)... 140.82.113.10 [2021-07-29T14:57:33.670Z] Connecting to codeload.github.com (codeload.github.com)|140.82.113.10|:443... connected. [2021-07-29T14:57:33.670Z] HTTP request sent, awaiting response... 200 OK [2021-07-29T14:57:33.670Z] Length: unspecified [application/x-gzip] [2021-07-29T14:57:33.670Z] Saving to: 'STDOUT' [2021-07-29T14:57:33.670Z] [2021-07-29T14:57:33.939Z] 0K .......... .......... .......... .......... .......... 729K [2021-07-29T14:57:33.939Z] 50K .......... .......... .......... .......... .......... 20.2M [2021-07-29T14:57:33.939Z] 100K .......... .......... .......... .......... .......... 1.96M [2021-07-29T14:57:33.939Z] 150K .......... .......... ....... 1.33M=0.1s [2021-07-29T14:57:33.939Z] [2021-07-29T14:57:33.939Z] 2021-07-29 14:57:33 (1.49 MB/s) - written to stdout [181796] [2021-07-29T14:57:33.939Z] [2021-07-29T14:57:33.939Z] + mkdir -p src/c/iot [2021-07-29T14:57:33.939Z] + cp deps/iotech-c-utils-1.1.4/src/c/base64.c deps/iotech-c-utils-1.1.4/src/c/component.c deps/iotech-c-utils-1.1.4/src/c/config.c deps/iotech-c-utils-1.1.4/src/c/container.c deps/iotech-c-utils-1.1.4/src/c/data.c deps/iotech-c-utils-1.1.4/src/c/hash.c deps/iotech-c-utils-1.1.4/src/c/iot.c deps/iotech-c-utils-1.1.4/src/c/json.c deps/iotech-c-utils-1.1.4/src/c/logger.c deps/iotech-c-utils-1.1.4/src/c/os.c deps/iotech-c-utils-1.1.4/src/c/scheduler.c deps/iotech-c-utils-1.1.4/src/c/thread.c deps/iotech-c-utils-1.1.4/src/c/threadpool.c deps/iotech-c-utils-1.1.4/src/c/time.c deps/iotech-c-utils-1.1.4/src/c/yxml.c src/c/iot [2021-07-29T14:57:33.939Z] + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot [2021-07-29T14:57:33.939Z] + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot [2021-07-29T14:57:33.939Z] + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot [2021-07-29T14:57:33.939Z] + mkdir -p include/iot [2021-07-29T14:57:33.939Z] + cp deps/iotech-c-utils-1.1.4/include/iot/base64.h deps/iotech-c-utils-1.1.4/include/iot/component.h deps/iotech-c-utils-1.1.4/include/iot/config.h deps/iotech-c-utils-1.1.4/include/iot/container.h deps/iotech-c-utils-1.1.4/include/iot/data.h deps/iotech-c-utils-1.1.4/include/iot/hash.h deps/iotech-c-utils-1.1.4/include/iot/iot.h deps/iotech-c-utils-1.1.4/include/iot/json.h deps/iotech-c-utils-1.1.4/include/iot/logger.h deps/iotech-c-utils-1.1.4/include/iot/os.h deps/iotech-c-utils-1.1.4/include/iot/scheduler.h deps/iotech-c-utils-1.1.4/include/iot/thread.h deps/iotech-c-utils-1.1.4/include/iot/threadpool.h deps/iotech-c-utils-1.1.4/include/iot/time.h deps/iotech-c-utils-1.1.4/include/iot/typecode.h include/iot [2021-07-29T14:57:33.939Z] + mkdir -p include/iot/os [2021-07-29T14:57:33.939Z] + cp deps/iotech-c-utils-1.1.4/include/iot/os/linux.h deps/iotech-c-utils-1.1.4/include/iot/os/macos.h deps/iotech-c-utils-1.1.4/include/iot/os/zephyr.h include/iot/os [2021-07-29T14:57:33.939Z] + mkdir -p /tmp/sdk/build/release [2021-07-29T14:57:33.939Z] + cd /tmp/sdk/build/release [2021-07-29T14:57:33.939Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-07-29T14:57:33.939Z] -- The C compiler identification is GNU 9.3.0 [2021-07-29T14:57:33.939Z] -- Check for working C compiler: /usr/bin/cc [2021-07-29T14:57:33.939Z] -- Check for working C compiler: /usr/bin/cc - works [2021-07-29T14:57:33.939Z] -- Detecting C compiler ABI info [2021-07-29T14:57:34.184Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-07-29T14:57:34.206Z] -- Detecting C compiler ABI info - done [2021-07-29T14:57:34.206Z] -- Detecting C compile features [2021-07-29T14:57:34.206Z] -- Detecting C compile features - done [2021-07-29T14:57:34.206Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-07-29T14:57:34.206Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") [2021-07-29T14:57:34.206Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-07-29T14:57:34.206Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-07-29T14:57:34.206Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-07-29T14:57:34.206Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-07-29T14:57:34.206Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-07-29T14:57:34.206Z] -- C SDK 0.0.0 for Linux [2021-07-29T14:57:34.206Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-07-29T14:57:34.206Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-07-29T14:57:34.206Z] -- Found Curses: /usr/lib/libcurses.so [2021-07-29T14:57:34.474Z] -- Configuring done [2021-07-29T14:57:34.474Z] -- Generating done [2021-07-29T14:57:34.474Z] -- Build files have been written to: /tmp/sdk/build/release [2021-07-29T14:57:34.474Z] + make all package [2021-07-29T14:57:34.474Z] + tee release.log [2021-07-29T14:57:34.474Z] Scanning dependencies of target csdk [2021-07-29T14:57:34.474Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-07-29T14:57:34.474Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-07-29T14:57:34.741Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-07-29T14:57:34.780Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-07-29T14:57:35.010Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-07-29T14:57:35.010Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-07-29T14:57:35.049Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-07-29T14:57:35.279Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-07-29T14:57:35.279Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-07-29T14:57:35.279Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-07-29T14:57:35.549Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-07-29T14:57:35.549Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-07-29T14:57:36.142Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-07-29T14:57:36.142Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-07-29T14:57:36.142Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-07-29T14:57:36.409Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-07-29T14:57:36.409Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-07-29T14:57:36.409Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-07-29T14:57:36.409Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-07-29T14:57:36.994Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-07-29T14:57:36.994Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-07-29T14:57:37.020Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-07-29T14:57:37.020Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-07-29T14:57:37.262Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-07-29T14:57:37.262Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-07-29T14:57:37.262Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-07-29T14:57:37.292Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-07-29T14:57:37.292Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-07-29T14:57:37.529Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-07-29T14:57:37.565Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-07-29T14:57:37.799Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-07-29T14:57:37.837Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-07-29T14:57:38.067Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-07-29T14:57:38.067Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-07-29T14:57:38.067Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-07-29T14:57:38.336Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-07-29T14:57:38.336Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-07-29T14:57:38.336Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-07-29T14:57:38.607Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-07-29T14:57:38.607Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-07-29T14:57:38.607Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-07-29T14:57:38.814Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-07-29T14:57:38.814Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-07-29T14:57:39.194Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-07-29T14:57:39.194Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-07-29T14:57:39.194Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-07-29T14:57:39.408Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-07-29T14:57:39.460Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-07-29T14:57:39.682Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-07-29T14:57:39.954Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-07-29T14:57:40.227Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-07-29T14:57:40.426Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-07-29T14:57:40.426Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-07-29T14:57:40.426Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-07-29T14:57:40.426Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-07-29T14:57:40.499Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-07-29T14:57:40.691Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-07-29T14:57:40.957Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-07-29T14:57:40.957Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-07-29T14:57:40.957Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-07-29T14:57:41.094Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-07-29T14:57:41.094Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-07-29T14:57:41.225Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-07-29T14:57:41.371Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-07-29T14:57:41.492Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-07-29T14:57:41.646Z] [ 80%] Linking C static library libcbor.a [2021-07-29T14:57:41.646Z] [ 80%] Built target cbor [2021-07-29T14:57:41.646Z] Scanning dependencies of target sort [2021-07-29T14:57:41.646Z] [ 82%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-07-29T14:57:41.921Z] [ 84%] Linking C executable sort [2021-07-29T14:57:41.921Z] [ 84%] Built target sort [2021-07-29T14:57:41.921Z] Scanning dependencies of target readfile [2021-07-29T14:57:42.075Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-07-29T14:57:42.195Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-07-29T14:57:42.195Z] [ 88%] Linking C executable readfile [2021-07-29T14:57:42.343Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-07-29T14:57:42.343Z] [ 75%] Linking C shared library libcsdk.so [2021-07-29T14:57:42.343Z] [ 75%] Built target csdk [2021-07-29T14:57:42.343Z] Scanning dependencies of target template [2021-07-29T14:57:42.343Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-07-29T14:57:42.467Z] [ 88%] Built target readfile [2021-07-29T14:57:42.468Z] Scanning dependencies of target streaming_parser [2021-07-29T14:57:42.468Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-07-29T14:57:42.610Z] [ 78%] Linking C executable template [2021-07-29T14:57:42.610Z] [ 78%] Built target template [2021-07-29T14:57:42.610Z] Scanning dependencies of target device-counter [2021-07-29T14:57:42.610Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-07-29T14:57:42.610Z] [ 81%] Linking C executable device-counter [2021-07-29T14:57:42.740Z] [ 92%] Linking C executable streaming_parser [2021-07-29T14:57:42.740Z] [ 92%] Built target streaming_parser [2021-07-29T14:57:42.740Z] Scanning dependencies of target hello [2021-07-29T14:57:42.740Z] [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-07-29T14:57:42.881Z] [ 81%] Built target device-counter [2021-07-29T14:57:42.882Z] Scanning dependencies of target device-random [2021-07-29T14:57:42.882Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-07-29T14:57:42.882Z] [ 84%] Linking C executable device-random [2021-07-29T14:57:42.882Z] [ 84%] Built target device-random [2021-07-29T14:57:42.882Z] Scanning dependencies of target device-gyro [2021-07-29T14:57:42.882Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-07-29T14:57:43.014Z] [ 96%] Linking C executable hello [2021-07-29T14:57:43.014Z] [ 96%] Built target hello [2021-07-29T14:57:43.014Z] Scanning dependencies of target create_items [2021-07-29T14:57:43.015Z] [ 98%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-07-29T14:57:43.159Z] [ 87%] Linking C executable device-gyro [2021-07-29T14:57:43.159Z] [ 87%] Built target device-gyro [2021-07-29T14:57:43.159Z] Scanning dependencies of target device-bitfields [2021-07-29T14:57:43.159Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-07-29T14:57:43.159Z] [ 90%] Linking C executable device-bitfields [2021-07-29T14:57:43.159Z] [ 90%] Built target device-bitfields [2021-07-29T14:57:43.159Z] Scanning dependencies of target template-discovery [2021-07-29T14:57:43.159Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-07-29T14:57:43.290Z] [100%] Linking C executable create_items [2021-07-29T14:57:43.290Z] [100%] Built target create_items [2021-07-29T14:57:43.432Z] [ 93%] Linking C executable template-discovery [2021-07-29T14:57:43.432Z] [ 93%] Built target template-discovery [2021-07-29T14:57:43.432Z] Scanning dependencies of target device-file [2021-07-29T14:57:43.432Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-07-29T14:57:43.584Z] Install the project... [2021-07-29T14:57:43.585Z] -- Install configuration: "Release" [2021-07-29T14:57:43.585Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-07-29T14:57:43.585Z] -- Installing: /usr/local/lib64/libcbor.a [2021-07-29T14:57:43.585Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-07-29T14:57:43.585Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-07-29T14:57:43.585Z] -- Installing: /usr/local/lib64/libcbor.so [2021-07-29T14:57:43.585Z] -- Up-to-date: /usr/local/include/cbor [2021-07-29T14:57:43.585Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-07-29T14:57:43.585Z] -- Installing: /usr/local/include/cbor/ints.h [2021-07-29T14:57:43.585Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-07-29T14:57:43.585Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-07-29T14:57:43.585Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-07-29T14:57:43.585Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-07-29T14:57:43.585Z] -- Installing: /usr/local/include/cbor/data.h [2021-07-29T14:57:43.585Z] -- Installing: /usr/local/include/cbor/common.h [2021-07-29T14:57:43.585Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-07-29T14:57:43.585Z] -- Installing: /usr/local/include/cbor/strings.h [2021-07-29T14:57:43.585Z] -- Installing: /usr/local/include/cbor/tags.h [2021-07-29T14:57:43.585Z] -- Installing: /usr/local/include/cbor/internal [2021-07-29T14:57:43.585Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-07-29T14:57:43.585Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-07-29T14:57:43.585Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-07-29T14:57:43.585Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-07-29T14:57:43.585Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-07-29T14:57:43.585Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-07-29T14:57:43.585Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-07-29T14:57:43.585Z] -- Installing: /usr/local/include/cbor/maps.h [2021-07-29T14:57:43.585Z] -- Installing: /usr/local/include/cbor.h [2021-07-29T14:57:43.585Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-07-29T14:57:43.699Z] [ 96%] Linking C executable device-file [2021-07-29T14:57:43.699Z] [ 96%] Built target device-file [2021-07-29T14:57:43.699Z] Scanning dependencies of target device-terminal [2021-07-29T14:57:43.699Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-07-29T14:57:43.699Z] [100%] Linking C executable device-terminal [2021-07-29T14:57:43.699Z] [100%] Built target device-terminal [2021-07-29T14:57:43.966Z] Run CPack packaging tool... [2021-07-29T14:57:43.966Z] CPack: Create package using TGZ [2021-07-29T14:57:43.966Z] CPack: Install projects [2021-07-29T14:57:43.966Z] CPack: - Run preinstall target for: Csdk [2021-07-29T14:57:43.966Z] CPack: - Install project: Csdk [] [2021-07-29T14:57:43.966Z] CPack: Create package [2021-07-29T14:57:43.966Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-07-29T14:57:43.966Z] + '[' false '=' true ] [2021-07-29T14:57:43.966Z] + '[' false '=' true ] [2021-07-29T14:57:43.966Z] + mkdir -p /tmp/sdk/build/debug [2021-07-29T14:57:43.966Z] + cd /tmp/sdk/build/debug [2021-07-29T14:57:43.966Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-07-29T14:57:44.233Z] -- The C compiler identification is GNU 9.3.0 [2021-07-29T14:57:44.233Z] -- Check for working C compiler: /usr/bin/cc [2021-07-29T14:57:44.233Z] -- Check for working C compiler: /usr/bin/cc - works [2021-07-29T14:57:44.233Z] -- Detecting C compiler ABI info [2021-07-29T14:57:44.233Z] -- Detecting C compiler ABI info - done [2021-07-29T14:57:44.233Z] -- Detecting C compile features [2021-07-29T14:57:44.233Z] -- Detecting C compile features - done [2021-07-29T14:57:44.233Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-07-29T14:57:44.500Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") [2021-07-29T14:57:44.500Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-07-29T14:57:44.500Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-07-29T14:57:44.500Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-07-29T14:57:44.500Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-07-29T14:57:44.500Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-07-29T14:57:44.500Z] -- C SDK 0.0.0 for Linux [2021-07-29T14:57:44.500Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-07-29T14:57:44.500Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-07-29T14:57:44.500Z] -- Found Curses: /usr/lib/libcurses.so [2021-07-29T14:57:44.500Z] -- Configuring done [2021-07-29T14:57:44.500Z] -- Generating done [2021-07-29T14:57:44.500Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-07-29T14:57:44.500Z] + make [2021-07-29T14:57:44.500Z] + tee debug.log [2021-07-29T14:57:44.500Z] Scanning dependencies of target csdk [2021-07-29T14:57:44.500Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-07-29T14:57:44.775Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-07-29T14:57:44.775Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-07-29T14:57:44.775Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-07-29T14:57:45.044Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-07-29T14:57:45.044Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-07-29T14:57:45.044Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-07-29T14:57:45.044Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-07-29T14:57:45.313Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-07-29T14:57:45.313Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-07-29T14:57:45.313Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-07-29T14:57:45.571Z] Removing intermediate container 0c087cdbb341 [2021-07-29T14:57:45.571Z] ---> 9e0a7c5a0c89 [2021-07-29T14:57:45.571Z] Step 8/25 : RUN mkdir /tmp/sdk [2021-07-29T14:57:45.571Z] ---> Running in b1cadb19dcc1 [2021-07-29T14:57:45.582Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-07-29T14:57:45.582Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-07-29T14:57:45.582Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-07-29T14:57:45.582Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-07-29T14:57:45.851Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-07-29T14:57:45.851Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-07-29T14:57:45.851Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-07-29T14:57:46.119Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-07-29T14:57:46.119Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-07-29T14:57:46.119Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-07-29T14:57:46.119Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-07-29T14:57:46.119Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-07-29T14:57:46.389Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-07-29T14:57:46.389Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-07-29T14:57:46.389Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-07-29T14:57:46.661Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-07-29T14:57:46.661Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-07-29T14:57:46.661Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-07-29T14:57:46.661Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-07-29T14:57:46.661Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-07-29T14:57:46.928Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-07-29T14:57:46.928Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-07-29T14:57:46.928Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-07-29T14:57:46.928Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-07-29T14:57:47.195Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-07-29T14:57:47.195Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-07-29T14:57:47.463Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-07-29T14:57:47.463Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-07-29T14:57:47.463Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-07-29T14:57:47.463Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-07-29T14:57:47.733Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-07-29T14:57:47.733Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-07-29T14:57:47.733Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-07-29T14:57:48.000Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-07-29T14:57:48.000Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-07-29T14:57:48.000Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-07-29T14:57:48.204Z] Removing intermediate container b1cadb19dcc1 [2021-07-29T14:57:48.204Z] ---> 96fab9346dd0 [2021-07-29T14:57:48.204Z] Step 9/25 : COPY VERSION /tmp/sdk [2021-07-29T14:57:48.271Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-07-29T14:57:48.271Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-07-29T14:57:48.271Z] [ 75%] Linking C shared library libcsdk.so [2021-07-29T14:57:48.540Z] [ 75%] Built target csdk [2021-07-29T14:57:48.540Z] Scanning dependencies of target template [2021-07-29T14:57:48.540Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-07-29T14:57:48.540Z] [ 78%] Linking C executable template [2021-07-29T14:57:48.540Z] [ 78%] Built target template [2021-07-29T14:57:48.540Z] Scanning dependencies of target device-counter [2021-07-29T14:57:48.540Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-07-29T14:57:48.802Z] ---> 64425abbe8c0 [2021-07-29T14:57:48.802Z] Step 10/25 : COPY src /tmp/sdk/src [2021-07-29T14:57:48.806Z] [ 81%] Linking C executable device-counter [2021-07-29T14:57:48.806Z] [ 81%] Built target device-counter [2021-07-29T14:57:48.806Z] Scanning dependencies of target device-random [2021-07-29T14:57:48.806Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-07-29T14:57:48.806Z] [ 84%] Linking C executable device-random [2021-07-29T14:57:48.806Z] [ 84%] Built target device-random [2021-07-29T14:57:48.806Z] Scanning dependencies of target device-gyro [2021-07-29T14:57:48.806Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-07-29T14:57:49.077Z] [ 87%] Linking C executable device-gyro [2021-07-29T14:57:49.077Z] [ 87%] Built target device-gyro [2021-07-29T14:57:49.077Z] Scanning dependencies of target device-bitfields [2021-07-29T14:57:49.077Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-07-29T14:57:49.077Z] [ 90%] Linking C executable device-bitfields [2021-07-29T14:57:49.077Z] [ 90%] Built target device-bitfields [2021-07-29T14:57:49.077Z] Scanning dependencies of target template-discovery [2021-07-29T14:57:49.077Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-07-29T14:57:49.349Z] [ 93%] Linking C executable template-discovery [2021-07-29T14:57:49.349Z] [ 93%] Built target template-discovery [2021-07-29T14:57:49.349Z] Scanning dependencies of target device-file [2021-07-29T14:57:49.349Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-07-29T14:57:49.349Z] [ 96%] Linking C executable device-file [2021-07-29T14:57:49.349Z] [ 96%] Built target device-file [2021-07-29T14:57:49.349Z] Scanning dependencies of target device-terminal [2021-07-29T14:57:49.349Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-07-29T14:57:49.619Z] [100%] Linking C executable device-terminal [2021-07-29T14:57:49.619Z] [100%] Built target device-terminal [2021-07-29T14:57:49.619Z] make: Entering directory '/tmp/sdk/build/release' [2021-07-29T14:57:49.619Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-07-29T14:57:49.619Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-29T14:57:49.619Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-29T14:57:49.619Z] [ 75%] Built target csdk [2021-07-29T14:57:49.619Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-29T14:57:49.619Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-29T14:57:49.619Z] [ 78%] Built target template [2021-07-29T14:57:49.619Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-29T14:57:49.619Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-29T14:57:49.619Z] [ 81%] Built target device-counter [2021-07-29T14:57:49.619Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-29T14:57:49.619Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-29T14:57:49.619Z] [ 84%] Built target device-random [2021-07-29T14:57:49.619Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-29T14:57:49.619Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-29T14:57:49.619Z] [ 87%] Built target device-gyro [2021-07-29T14:57:49.619Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-29T14:57:49.619Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-29T14:57:49.619Z] [ 90%] Built target device-bitfields [2021-07-29T14:57:49.619Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-29T14:57:49.619Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-29T14:57:49.619Z] [ 93%] Built target template-discovery [2021-07-29T14:57:49.619Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-29T14:57:49.619Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-29T14:57:49.788Z] ---> 6eea444ae4a9 [2021-07-29T14:57:49.788Z] Step 11/25 : COPY include /tmp/sdk/include [2021-07-29T14:57:49.887Z] [ 96%] Built target device-file [2021-07-29T14:57:49.887Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-29T14:57:49.887Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-29T14:57:49.887Z] [100%] Built target device-terminal [2021-07-29T14:57:49.887Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-07-29T14:57:49.887Z] Install the project... [2021-07-29T14:57:49.887Z] -- Install configuration: "Release" [2021-07-29T14:57:49.887Z] -- Installing: /usr/local/lib/libcsdk.so [2021-07-29T14:57:49.887Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-07-29T14:57:49.887Z] -- Up-to-date: /usr/local/include [2021-07-29T14:57:49.887Z] -- Installing: /usr/local/include/devsdk [2021-07-29T14:57:49.887Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-07-29T14:57:49.887Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-07-29T14:57:49.887Z] -- Installing: /usr/local/include/edgex [2021-07-29T14:57:49.887Z] -- Installing: /usr/local/include/edgex/devices.h [2021-07-29T14:57:49.887Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-07-29T14:57:49.887Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-07-29T14:57:49.887Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-07-29T14:57:49.887Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-07-29T14:57:49.887Z] -- Installing: /usr/local/include/edgex/secrets.h [2021-07-29T14:57:49.887Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-07-29T14:57:49.887Z] -- Installing: /usr/local/include/iot [2021-07-29T14:57:49.887Z] -- Installing: /usr/local/include/iot/base64.h [2021-07-29T14:57:49.887Z] -- Installing: /usr/local/include/iot/component.h [2021-07-29T14:57:49.887Z] -- Installing: /usr/local/include/iot/config.h [2021-07-29T14:57:49.887Z] -- Installing: /usr/local/include/iot/container.h [2021-07-29T14:57:49.887Z] -- Installing: /usr/local/include/iot/data.h [2021-07-29T14:57:49.887Z] -- Installing: /usr/local/include/iot/hash.h [2021-07-29T14:57:49.887Z] -- Installing: /usr/local/include/iot/iot.h [2021-07-29T14:57:49.887Z] -- Installing: /usr/local/include/iot/json.h [2021-07-29T14:57:49.887Z] -- Installing: /usr/local/include/iot/logger.h [2021-07-29T14:57:49.887Z] -- Installing: /usr/local/include/iot/os.h [2021-07-29T14:57:49.887Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-07-29T14:57:49.887Z] -- Installing: /usr/local/include/iot/thread.h [2021-07-29T14:57:49.887Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-07-29T14:57:49.887Z] -- Installing: /usr/local/include/iot/time.h [2021-07-29T14:57:49.887Z] -- Installing: /usr/local/include/iot/typecode.h [2021-07-29T14:57:49.887Z] -- Installing: /usr/local/include/iot/os [2021-07-29T14:57:49.887Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-07-29T14:57:49.887Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-07-29T14:57:49.887Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-07-29T14:57:49.887Z] -- Installing: /usr/local/include/iot/defs.h [2021-07-29T14:57:49.887Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-07-29T14:57:49.887Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-07-29T14:57:49.887Z] make: Leaving directory '/tmp/sdk/build/release' [2021-07-29T14:57:50.475Z] Removing intermediate container 08f7a23f298e [2021-07-29T14:57:50.475Z] ---> b6ffb08318ed [2021-07-29T14:57:50.475Z] Step 16/25 : FROM ${BASE} [2021-07-29T14:57:50.475Z] ---> ac6a0feb3254 [2021-07-29T14:57:50.475Z] Step 17/25 : LABEL maintainer="IOTech " [2021-07-29T14:57:50.475Z] ---> Running in 9c1b0ddd0841 [2021-07-29T14:57:50.475Z] Removing intermediate container 9c1b0ddd0841 [2021-07-29T14:57:50.475Z] ---> 25fad94bbf6e [2021-07-29T14:57:50.475Z] Step 18/25 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub [2021-07-29T14:57:50.475Z] ---> Running in 58ad073cf1e0 [2021-07-29T14:57:50.768Z] ---> e2cc125372cc [2021-07-29T14:57:50.768Z] Step 12/25 : COPY scripts /tmp/sdk/scripts [2021-07-29T14:57:51.066Z] Connecting to iotech.jfrog.io (54.170.66.44:443) [2021-07-29T14:57:51.344Z] saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-07-29T14:57:51.344Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-07-29T14:57:51.344Z] '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [2021-07-29T14:57:51.365Z] ---> 7dd810226e50 [2021-07-29T14:57:51.365Z] Step 13/25 : COPY LICENSE /tmp/sdk [2021-07-29T14:57:51.612Z] Removing intermediate container 58ad073cf1e0 [2021-07-29T14:57:51.612Z] ---> d2feb72e29aa [2021-07-29T14:57:51.612Z] Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-07-29T14:57:51.612Z] ---> Running in 518f7a806ca2 [2021-07-29T14:57:52.200Z] Removing intermediate container 518f7a806ca2 [2021-07-29T14:57:52.200Z] ---> fd2dce3fdbae [2021-07-29T14:57:52.200Z] Step 20/25 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid paho-mqtt-c-dev hiredis-dev [2021-07-29T14:57:52.200Z] ---> Running in e9219cbc90ae [2021-07-29T14:57:52.344Z] ---> 402a212d744a [2021-07-29T14:57:52.344Z] Step 14/25 : COPY Attribution.txt /tmp/sdk [2021-07-29T14:57:52.466Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-07-29T14:57:53.051Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-07-29T14:57:53.318Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz [2021-07-29T14:57:53.330Z] ---> 0231a84b2501 [2021-07-29T14:57:53.330Z] Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-07-29T14:57:53.330Z] ---> Running in 3fecf053989d [2021-07-29T14:57:53.903Z] (1/7) Installing curl (7.78.0-r0) [2021-07-29T14:57:53.903Z] (2/7) Installing hiredis (0.14.1-r0) [2021-07-29T14:57:53.903Z] (3/7) Installing hiredis-dev (0.14.1-r0) [2021-07-29T14:57:54.172Z] (4/7) Installing libuuid (2.35.2-r0) [2021-07-29T14:57:54.172Z] (5/7) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-07-29T14:57:54.765Z] + CPPCHECK=false [2021-07-29T14:57:54.765Z] + DOCGEN=false [2021-07-29T14:57:54.765Z] + TOMLVER=SDK-0.2 [2021-07-29T14:57:54.765Z] + CUTILVER=1.1.4 [2021-07-29T14:57:54.765Z] + '[' 0 -gt 0 ] [2021-07-29T14:57:54.765Z] + readlink -f ./scripts/build.sh [2021-07-29T14:57:54.765Z] + dirname /tmp/sdk/scripts/build.sh [2021-07-29T14:57:54.765Z] + dirname /tmp/sdk/scripts [2021-07-29T14:57:54.765Z] + ROOT=/tmp/sdk [2021-07-29T14:57:54.765Z] + cd /tmp/sdk [2021-07-29T14:57:54.765Z] + '[' '!' -d deps ] [2021-07-29T14:57:54.765Z] + mkdir deps [2021-07-29T14:57:54.765Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-07-29T14:57:54.765Z] + tar -C deps -z -x -f - [2021-07-29T14:57:54.765Z] --2021-07-29 14:57:54-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-07-29T14:57:54.765Z] Resolving github.com (github.com)... 140.82.112.4 [2021-07-29T14:57:54.765Z] Connecting to github.com (github.com)|140.82.112.4|:443... connected. [2021-07-29T14:57:54.765Z] HTTP request sent, awaiting response... 302 Found [2021-07-29T14:57:54.765Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-07-29T14:57:54.765Z] --2021-07-29 14:57:54-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-07-29T14:57:54.765Z] Resolving codeload.github.com (codeload.github.com)... 140.82.113.10 [2021-07-29T14:57:54.765Z] Connecting to codeload.github.com (codeload.github.com)|140.82.113.10|:443... connected. [2021-07-29T14:57:55.037Z] HTTP request sent, awaiting response... 200 OK [2021-07-29T14:57:55.037Z] Length: unspecified [application/x-gzip] [2021-07-29T14:57:55.037Z] Saving to: 'STDOUT' [2021-07-29T14:57:55.037Z]  [2021-07-29T14:57:55.037Z] 0K .......... ......      857K=0.02s [2021-07-29T14:57:55.037Z] [2021-07-29T14:57:55.037Z] 2021-07-29 14:57:54 (857 KB/s) - written to stdout [16451] [2021-07-29T14:57:55.037Z] [2021-07-29T14:57:55.037Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-07-29T14:57:55.037Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-07-29T14:57:55.037Z] + tar -C deps -z -x -f - [2021-07-29T14:57:55.037Z] --2021-07-29 14:57:54-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-07-29T14:57:55.308Z] Resolving github.com (github.com)... 140.82.112.4 [2021-07-29T14:57:55.308Z] Connecting to github.com (github.com)|140.82.112.4|:443... connected. [2021-07-29T14:57:55.308Z] HTTP request sent, awaiting response... 302 Found [2021-07-29T14:57:55.308Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] [2021-07-29T14:57:55.308Z] --2021-07-29 14:57:55-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [2021-07-29T14:57:55.308Z] Resolving codeload.github.com (codeload.github.com)... 140.82.113.10 [2021-07-29T14:57:55.308Z] Connecting to codeload.github.com (codeload.github.com)|140.82.113.10|:443... connected. [2021-07-29T14:57:55.585Z] HTTP request sent, awaiting response... 200 OK [2021-07-29T14:57:55.585Z] Length: unspecified [application/x-gzip] [2021-07-29T14:57:55.585Z] Saving to: 'STDOUT' [2021-07-29T14:57:55.585Z]  [2021-07-29T14:57:55.585Z] 0K .......... .......... .......... .......... .......... 1.14M [2021-07-29T14:57:55.585Z] 50K .......... .......... .......... .......... .......... 2.22M [2021-07-29T14:57:55.585Z] 100K .......... .......... .......... .......... .......... 8.80M [2021-07-29T14:57:55.585Z] 150K .......... .......... ....... 1.06M=0.1s [2021-07-29T14:57:55.585Z] [2021-07-29T14:57:55.585Z] 2021-07-29 14:57:55 (1.81 MB/s) - written to stdout [181796] [2021-07-29T14:57:55.585Z] [2021-07-29T14:57:55.585Z] + mkdir -p src/c/iot [2021-07-29T14:57:55.585Z] + cp deps/iotech-c-utils-1.1.4/src/c/base64.c deps/iotech-c-utils-1.1.4/src/c/component.c deps/iotech-c-utils-1.1.4/src/c/config.c deps/iotech-c-utils-1.1.4/src/c/container.c deps/iotech-c-utils-1.1.4/src/c/data.c deps/iotech-c-utils-1.1.4/src/c/hash.c deps/iotech-c-utils-1.1.4/src/c/iot.c deps/iotech-c-utils-1.1.4/src/c/json.c deps/iotech-c-utils-1.1.4/src/c/logger.c deps/iotech-c-utils-1.1.4/src/c/os.c deps/iotech-c-utils-1.1.4/src/c/scheduler.c deps/iotech-c-utils-1.1.4/src/c/thread.c deps/iotech-c-utils-1.1.4/src/c/threadpool.c deps/iotech-c-utils-1.1.4/src/c/time.c deps/iotech-c-utils-1.1.4/src/c/yxml.c src/c/iot [2021-07-29T14:57:55.585Z] + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot [2021-07-29T14:57:55.585Z] + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot [2021-07-29T14:57:55.585Z] + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot [2021-07-29T14:57:55.585Z] + mkdir -p include/iot [2021-07-29T14:57:55.585Z] + cp deps/iotech-c-utils-1.1.4/include/iot/base64.h deps/iotech-c-utils-1.1.4/include/iot/component.h deps/iotech-c-utils-1.1.4/include/iot/config.h deps/iotech-c-utils-1.1.4/include/iot/container.h deps/iotech-c-utils-1.1.4/include/iot/data.h deps/iotech-c-utils-1.1.4/include/iot/hash.h deps/iotech-c-utils-1.1.4/include/iot/iot.h deps/iotech-c-utils-1.1.4/include/iot/json.h deps/iotech-c-utils-1.1.4/include/iot/logger.h deps/iotech-c-utils-1.1.4/include/iot/os.h deps/iotech-c-utils-1.1.4/include/iot/scheduler.h deps/iotech-c-utils-1.1.4/include/iot/thread.h deps/iotech-c-utils-1.1.4/include/iot/threadpool.h deps/iotech-c-utils-1.1.4/include/iot/time.h deps/iotech-c-utils-1.1.4/include/iot/typecode.h include/iot [2021-07-29T14:57:55.585Z] + mkdir -p include/iot/os [2021-07-29T14:57:55.585Z] + cp deps/iotech-c-utils-1.1.4/include/iot/os/linux.h deps/iotech-c-utils-1.1.4/include/iot/os/macos.h deps/iotech-c-utils-1.1.4/include/iot/os/zephyr.h include/iot/os [2021-07-29T14:57:55.585Z] + mkdir -p /tmp/sdk/build/release [2021-07-29T14:57:55.585Z] + cd /tmp/sdk/build/release [2021-07-29T14:57:55.585Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-07-29T14:57:55.586Z] (6/7) Installing libidn2 (2.3.0-r0) [2021-07-29T14:57:55.586Z] (7/7) Installing wget (1.20.3-r1) [2021-07-29T14:57:55.856Z] -- The C compiler identification is GNU 9.3.0 [2021-07-29T14:57:55.857Z] -- Check for working C compiler: /usr/bin/cc [2021-07-29T14:57:55.861Z] Executing busybox-1.31.1-r20.trigger [2021-07-29T14:57:55.861Z] OK: 286 MiB in 82 packages [2021-07-29T14:57:56.129Z] Removing intermediate container e9219cbc90ae [2021-07-29T14:57:56.129Z] ---> ae0dbf9fc7c8 [2021-07-29T14:57:56.129Z] Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-07-29T14:57:56.129Z] -- Check for working C compiler: /usr/bin/cc - works [2021-07-29T14:57:56.129Z] -- Detecting C compiler ABI info [2021-07-29T14:57:56.397Z] ---> 5619a373b899 [2021-07-29T14:57:56.397Z] Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-07-29T14:57:56.397Z] ---> d1fbf6d14d01 [2021-07-29T14:57:56.397Z] Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-07-29T14:57:56.401Z] -- Detecting C compiler ABI info - done [2021-07-29T14:57:56.401Z] -- Detecting C compile features [2021-07-29T14:57:56.401Z] -- Detecting C compile features - done [2021-07-29T14:57:56.667Z] ---> 2db4397d2dac [2021-07-29T14:57:56.667Z] Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-07-29T14:57:56.675Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-07-29T14:57:56.675Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") [2021-07-29T14:57:56.675Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-07-29T14:57:56.675Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-07-29T14:57:56.675Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-07-29T14:57:56.675Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-07-29T14:57:56.675Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-07-29T14:57:56.675Z] -- C SDK 0.0.0 for Linux [2021-07-29T14:57:56.675Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-07-29T14:57:56.938Z] ---> afb2b1ef01f9 [2021-07-29T14:57:56.938Z] Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-07-29T14:57:56.938Z] ---> b6631054a115 [2021-07-29T14:57:56.950Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-07-29T14:57:57.206Z] Successfully built b6631054a115 [2021-07-29T14:57:57.206Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [2021-07-29T14:57:57.221Z] -- Found Curses: /usr/lib/libcurses.so [2021-07-29T14:57:57.221Z] -- Configuring done [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-29T14:57:57.495Z] -- Generating done [2021-07-29T14:57:57.495Z] -- Build files have been written to: /tmp/sdk/build/release [2021-07-29T14:57:57.496Z] + make all package [2021-07-29T14:57:57.496Z] + tee release.log [2021-07-29T14:57:57.496Z] Scanning dependencies of target csdk [2021-07-29T14:57:57.685Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-29T14:57:57.685Z] . [Pipeline] withDockerContainer [2021-07-29T14:57:57.768Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-07-29T14:57:57.785Z] prd-centos7-docker-4c-2g-473 does not seem to be running inside a container [2021-07-29T14:57:57.843Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/7 -v /w/workspace/device-sdk-c/7:/w/workspace/device-sdk-c/7:rw,z -v /w/workspace/device-sdk-c/7@tmp:/w/workspace/device-sdk-c/7@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-07-29T14:57:58.234Z] $ docker top 630115a1011f90c127ed19e42626e3739ec472d04d4c77bb6222aacec3d05634 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-29T14:57:58.361Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-07-29T14:57:58.668Z] + make test [2021-07-29T14:57:58.668Z] echo "make test" [2021-07-29T14:57:58.668Z] make test [Pipeline] } [2021-07-29T14:57:58.682Z] $ docker stop --time=1 630115a1011f90c127ed19e42626e3739ec472d04d4c77bb6222aacec3d05634 [2021-07-29T14:57:58.987Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-07-29T14:57:59.905Z] $ docker rm -f 630115a1011f90c127ed19e42626e3739ec472d04d4c77bb6222aacec3d05634 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2021-07-29T14:58:00.944Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-07-29T14:58:01.545Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-07-29T14:58:01.545Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-07-29T14:58:02.141Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [Pipeline] sh [2021-07-29T14:58:02.732Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-07-29T14:58:03.004Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-07-29T14:58:03.031Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-07-29T14:58:03.348Z] + ls -al . [2021-07-29T14:58:03.348Z] total 160 [2021-07-29T14:58:03.348Z] drwxrwxr-x. 8 jenkins jenkins 260 Jul 29 14:57 . [2021-07-29T14:58:03.348Z] drwxrwxr-x. 4 jenkins jenkins 28 Jul 29 14:57 .. [2021-07-29T14:58:03.348Z] -rw-rw-r--. 1 jenkins jenkins 3104 Jul 29 14:57 Attribution.txt [2021-07-29T14:58:03.348Z] -rw-rw-r--. 1 jenkins jenkins 7556 Jul 29 14:57 CHANGES [2021-07-29T14:58:03.348Z] drwxrwxr-x. 2 jenkins jenkins 121 Jul 29 14:57 docs [2021-07-29T14:58:03.349Z] -rw-rw-r--. 1 jenkins jenkins 108574 Jul 29 14:57 Doxyfile [2021-07-29T14:58:03.349Z] drwxrwxr-x. 8 jenkins jenkins 179 Jul 29 14:57 .git [2021-07-29T14:58:03.349Z] drwxrwxr-x. 2 jenkins jenkins 81 Jul 29 14:57 .github [2021-07-29T14:58:03.349Z] -rw-rw-r--. 1 jenkins jenkins 176 Jul 29 14:57 .gitignore [2021-07-29T14:58:03.349Z] drwxrwxr-x. 4 jenkins jenkins 33 Jul 29 14:57 include [2021-07-29T14:58:03.349Z] -rw-rw-r--. 1 jenkins jenkins 784 Jul 29 14:57 Jenkinsfile [2021-07-29T14:58:03.349Z] -rw-rw-r--. 1 jenkins jenkins 10174 Jul 29 14:57 LICENSE [2021-07-29T14:58:03.349Z] -rw-rw-r--. 1 jenkins jenkins 444 Jul 29 14:57 Makefile [2021-07-29T14:58:03.349Z] -rw-rw-r--. 1 jenkins jenkins 4090 Jul 29 14:57 README.md [2021-07-29T14:58:03.349Z] -rw-rw-r--. 1 jenkins jenkins 7090 Jul 29 14:57 README.v2.md [2021-07-29T14:58:03.349Z] drwxrwxr-x. 2 jenkins jenkins 98 Jul 29 14:57 scripts [2021-07-29T14:58:03.349Z] drwxrwxr-x. 4 jenkins jenkins 50 Jul 29 14:57 src [2021-07-29T14:58:03.349Z] -rw-rw-r--. 1 jenkins jenkins 5 Jul 29 14:54 VERSION [Pipeline] isUnix [Pipeline] sh [2021-07-29T14:58:03.672Z] + 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=6dd61b441719fab4f2192aeabeb577189d74fc2d --label arch=amd64 --label version=0.0.0 . [2021-07-29T14:58:03.672Z] Sending build context to Docker daemon 2.684MB [2021-07-29T14:58:03.672Z] Step 1/17 : ARG BASE=alpine:3.12 [2021-07-29T14:58:03.672Z] Step 2/17 : FROM ${BASE} [2021-07-29T14:58:03.672Z] ---> b6631054a115 [2021-07-29T14:58:03.672Z] Step 3/17 : LABEL maintainer="IOTech " [2021-07-29T14:58:03.672Z] ---> Running in b9a69e559ead [2021-07-29T14:58:03.943Z] Removing intermediate container b9a69e559ead [2021-07-29T14:58:03.943Z] ---> be247b84eebd [2021-07-29T14:58:03.943Z] Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub [2021-07-29T14:58:03.943Z] ---> Running in 7ecbe7a20d45 [2021-07-29T14:58:03.972Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-07-29T14:58:04.212Z] --2021-07-29 14:58:03-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub [2021-07-29T14:58:04.212Z] Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.170.66.44, 54.195.244.87, 54.229.110.245 [2021-07-29T14:58:04.212Z] Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.170.66.44|:443... connected. [2021-07-29T14:58:04.479Z] HTTP request sent, awaiting response... 200 OK [2021-07-29T14:58:04.479Z] Length: 451 [application/octet-stream] [2021-07-29T14:58:04.479Z] Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-07-29T14:58:04.479Z] [2021-07-29T14:58:04.479Z] 0K 100% 52.8M=0s [2021-07-29T14:58:04.479Z] [2021-07-29T14:58:04.479Z] 2021-07-29 14:58:04 (52.8 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] [2021-07-29T14:58:04.479Z] [2021-07-29T14:58:04.748Z] Removing intermediate container 7ecbe7a20d45 [2021-07-29T14:58:04.748Z] ---> 8e56f41ebc0b [2021-07-29T14:58:04.748Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-07-29T14:58:04.748Z] ---> Running in a9c6019c21c6 [2021-07-29T14:58:05.336Z] Removing intermediate container a9c6019c21c6 [2021-07-29T14:58:05.336Z] ---> b4ae75e42659 [2021-07-29T14:58:05.336Z] Step 6/17 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev hiredis-dev && mkdir -p /edgex-c-sdk/build [2021-07-29T14:58:05.336Z] ---> Running in c3a0a298e5ba [2021-07-29T14:58:05.604Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-07-29T14:58:05.945Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-07-29T14:58:05.945Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-07-29T14:58:06.185Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-07-29T14:58:06.452Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz [2021-07-29T14:58:06.540Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-07-29T14:58:07.037Z] (1/16) Installing ncurses-dev (6.2_p20200523-r0) [2021-07-29T14:58:07.037Z] (2/16) Installing libblkid (2.35.2-r0) [2021-07-29T14:58:07.138Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-07-29T14:58:07.303Z] (3/16) Installing blkid (2.35.2-r0) [2021-07-29T14:58:07.303Z] (4/16) Installing libcap-ng (0.7.10-r1) [2021-07-29T14:58:07.303Z] (5/16) Installing setpriv (2.35.2-r0) [2021-07-29T14:58:07.570Z] (6/16) Installing libmount (2.35.2-r0) [2021-07-29T14:58:07.570Z] (7/16) Installing libsmartcols (2.35.2-r0) [2021-07-29T14:58:07.570Z] (8/16) Installing findmnt (2.35.2-r0) [2021-07-29T14:58:07.732Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-07-29T14:58:07.732Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-07-29T14:58:07.837Z] (9/16) Installing mcookie (2.35.2-r0) [2021-07-29T14:58:07.837Z] (10/16) Installing hexdump (2.35.2-r0) [2021-07-29T14:58:07.837Z] (11/16) Installing lsblk (2.35.2-r0) [2021-07-29T14:58:08.004Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-07-29T14:58:08.104Z] (12/16) Installing libfdisk (2.35.2-r0) [2021-07-29T14:58:08.104Z] (13/16) Installing sfdisk (2.35.2-r0) [2021-07-29T14:58:08.104Z] (14/16) Installing cfdisk (2.35.2-r0) [2021-07-29T14:58:08.373Z] (15/16) Installing util-linux (2.35.2-r0) [2021-07-29T14:58:08.639Z] (16/16) Installing util-linux-dev (2.35.2-r0) [2021-07-29T14:58:08.907Z] Executing busybox-1.31.1-r20.trigger [2021-07-29T14:58:08.907Z] OK: 295 MiB in 98 packages [2021-07-29T14:58:09.496Z] Removing intermediate container c3a0a298e5ba [2021-07-29T14:58:09.496Z] ---> fe5678b29b3e [2021-07-29T14:58:09.496Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2021-07-29T14:58:09.496Z] ---> 32e1abe22597 [2021-07-29T14:58:09.496Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2021-07-29T14:58:09.765Z] ---> 9c54e428060d [2021-07-29T14:58:09.765Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2021-07-29T14:58:10.040Z] ---> 7ab5eca52959 [2021-07-29T14:58:10.040Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2021-07-29T14:58:10.040Z] ---> 95fcc77552f3 [2021-07-29T14:58:10.040Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2021-07-29T14:58:10.309Z] ---> d38061160063 [2021-07-29T14:58:10.309Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2021-07-29T14:58:10.578Z] ---> fa2ffd61a547 [2021-07-29T14:58:10.578Z] Step 13/17 : WORKDIR /edgex-c-sdk [2021-07-29T14:58:10.578Z] ---> Running in a7d23ef2ceb8 [2021-07-29T14:58:10.578Z] Removing intermediate container a7d23ef2ceb8 [2021-07-29T14:58:10.578Z] ---> 66f4389ea602 [2021-07-29T14:58:10.578Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-07-29T14:58:10.578Z] ---> Running in 14946bb7d15c [2021-07-29T14:58:10.846Z] Removing intermediate container 14946bb7d15c [2021-07-29T14:58:10.846Z] ---> 8f4d36eedae9 [2021-07-29T14:58:10.846Z] Step 15/17 : LABEL arch=amd64 [2021-07-29T14:58:10.846Z] ---> Running in d365519c66fc [2021-07-29T14:58:10.846Z] Removing intermediate container d365519c66fc [2021-07-29T14:58:10.846Z] ---> 6d97bf47bc55 [2021-07-29T14:58:10.846Z] Step 16/17 : LABEL git_sha=6dd61b441719fab4f2192aeabeb577189d74fc2d [2021-07-29T14:58:10.846Z] ---> Running in 040cd2ae3a98 [2021-07-29T14:58:10.846Z] Removing intermediate container 040cd2ae3a98 [2021-07-29T14:58:10.846Z] ---> 28aa4e6a1b5f [2021-07-29T14:58:10.846Z] Step 17/17 : LABEL version=0.0.0 [2021-07-29T14:58:11.112Z] ---> Running in 9c9c9ea30be1 [2021-07-29T14:58:11.112Z] Removing intermediate container 9c9c9ea30be1 [2021-07-29T14:58:11.112Z] ---> f9f0dd7b5d51 [2021-07-29T14:58:11.112Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-07-29T14:58:11.112Z] Successfully built f9f0dd7b5d51 [2021-07-29T14:58:11.112Z] Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [2021-07-29T14:58:11.391Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-07-29T14:58:11.391Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-07-29T14:58:11.391Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [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-07-29T14:58:11.665Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-07-29T14:58:11.941Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-07-29T14:58:11.947Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-29T14:58:11.947Z] [2021-07-29T14:58:11.947Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-07-29T14:58:12.277Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-29T14:58:12.278Z] latest: Pulling from edgex-lftools-log-publisher [2021-07-29T14:58:12.278Z] b4d181a07f80: Pulling fs layer [2021-07-29T14:58:12.278Z] a1111a8f2ec3: Pulling fs layer [2021-07-29T14:58:12.278Z] ed53099fbce6: Pulling fs layer [2021-07-29T14:58:12.278Z] dc539afda2c1: Pulling fs layer [2021-07-29T14:58:12.278Z] 77bc0d833cb6: Pulling fs layer [2021-07-29T14:58:12.278Z] 9065ff56babe: Pulling fs layer [2021-07-29T14:58:12.278Z] d287ab97295c: Pulling fs layer [2021-07-29T14:58:12.278Z] dc539afda2c1: Waiting [2021-07-29T14:58:12.278Z] 77bc0d833cb6: Waiting [2021-07-29T14:58:12.278Z] 9065ff56babe: Waiting [2021-07-29T14:58:12.278Z] d287ab97295c: Waiting [2021-07-29T14:58:12.544Z] a1111a8f2ec3: Verifying Checksum [2021-07-29T14:58:12.544Z] a1111a8f2ec3: Download complete [2021-07-29T14:58:12.544Z] dc539afda2c1: Verifying Checksum [2021-07-29T14:58:12.544Z] dc539afda2c1: Download complete [2021-07-29T14:58:12.811Z] 77bc0d833cb6: Verifying Checksum [2021-07-29T14:58:12.811Z] 77bc0d833cb6: Download complete [2021-07-29T14:58:12.811Z] 9065ff56babe: Verifying Checksum [2021-07-29T14:58:12.811Z] 9065ff56babe: Download complete [2021-07-29T14:58:12.916Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-07-29T14:58:13.078Z] ed53099fbce6: Verifying Checksum [2021-07-29T14:58:13.078Z] ed53099fbce6: Download complete [2021-07-29T14:58:14.044Z] b4d181a07f80: Verifying Checksum [2021-07-29T14:58:14.044Z] b4d181a07f80: Download complete [2021-07-29T14:58:15.018Z] b4d181a07f80: Pull complete [2021-07-29T14:58:15.295Z] a1111a8f2ec3: Pull complete [2021-07-29T14:58:15.536Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-07-29T14:58:15.536Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-07-29T14:58:15.536Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-07-29T14:58:15.883Z] ed53099fbce6: Pull complete [2021-07-29T14:58:15.883Z] dc539afda2c1: Pull complete [2021-07-29T14:58:16.130Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-07-29T14:58:16.463Z] 77bc0d833cb6: Pull complete [2021-07-29T14:58:16.464Z] 9065ff56babe: Pull complete [2021-07-29T14:58:16.722Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-07-29T14:58:16.722Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-07-29T14:58:17.695Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-07-29T14:58:17.875Z] d287ab97295c: Verifying Checksum [2021-07-29T14:58:17.875Z] d287ab97295c: Download complete [2021-07-29T14:58:17.965Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-07-29T14:58:18.556Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-07-29T14:58:18.829Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-07-29T14:58:20.797Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-07-29T14:58:21.072Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-07-29T14:58:22.052Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-07-29T14:58:22.180Z] d287ab97295c: Pull complete [2021-07-29T14:58:22.180Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-07-29T14:58:22.180Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-29T14:58:22.180Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-07-29T14:58:22.276Z] prd-centos7-docker-4c-2g-473 does not seem to be running inside a container [2021-07-29T14:58:22.326Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-07-29T14:58:22.342Z] $ 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/7 -v /w/workspace/device-sdk-c/7:/w/workspace/device-sdk-c/7:rw,z -v /w/workspace/device-sdk-c/7@tmp:/w/workspace/device-sdk-c/7@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-07-29T14:58:25.112Z] $ docker top 9a8240891bc62b38f6f4796726fcb2e5b08555bdadaa0cf9a1e58927d5d34ceb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-29T14:58:25.743Z] ---> job-cost.sh [2021-07-29T14:58:25.744Z] lf-activate-venv: SKIPPING [2021-07-29T14:58:25.744Z] INFO: No Stack... [2021-07-29T14:58:26.620Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-07-29T14:58:26.713Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-29T14:58:26.890Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-07-29T14:58:26.980Z] INFO: Archiving Costs [Pipeline] sh [2021-07-29T14:58:27.161Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-07-29T14:58:27.321Z] + cat /w/workspace/device-sdk-c/7/archives/cost.csv [2021-07-29T14:58:27.321Z] + cut -d, -f6 [Pipeline] lock [2021-07-29T14:58:27.364Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-357-7-stack-cost] [2021-07-29T14:58:27.378Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-357-7-stack-cost] did not exist. Created. [2021-07-29T14:58:27.378Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-357-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-29T14:58:27.716Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-07-29T14:58:27.751Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-07-29T14:58:27.971Z] Stashed 1 file(s) [Pipeline] } [2021-07-29T14:58:27.981Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-357-7-stack-cost] [Pipeline] // lock [Pipeline] } [2021-07-29T14:58:28.013Z] $ docker stop --time=1 9a8240891bc62b38f6f4796726fcb2e5b08555bdadaa0cf9a1e58927d5d34ceb [2021-07-29T14:58:28.347Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-07-29T14:58:29.203Z] $ docker rm -f 9a8240891bc62b38f6f4796726fcb2e5b08555bdadaa0cf9a1e58927d5d34ceb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-07-29T14:58:30.306Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-07-29T14:58:30.307Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-07-29T14:58:30.902Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-07-29T14:58:31.177Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-07-29T14:58:33.149Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-07-29T14:58:36.540Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-07-29T14:58:36.813Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-07-29T14:58:37.415Z] [ 75%] Linking C shared library libcsdk.so [2021-07-29T14:58:37.689Z] [ 75%] Built target csdk [2021-07-29T14:58:37.689Z] Scanning dependencies of target template [2021-07-29T14:58:37.689Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-07-29T14:58:38.283Z] [ 78%] Linking C executable template [2021-07-29T14:58:38.557Z] [ 78%] Built target template [2021-07-29T14:58:38.557Z] Scanning dependencies of target device-counter [2021-07-29T14:58:38.557Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-07-29T14:58:39.152Z] [ 81%] Linking C executable device-counter [2021-07-29T14:58:39.425Z] [ 81%] Built target device-counter [2021-07-29T14:58:39.425Z] Scanning dependencies of target device-random [2021-07-29T14:58:39.425Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-07-29T14:58:39.698Z] [ 84%] Linking C executable device-random [2021-07-29T14:58:39.974Z] [ 84%] Built target device-random [2021-07-29T14:58:39.974Z] Scanning dependencies of target device-gyro [2021-07-29T14:58:39.975Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-07-29T14:58:40.574Z] [ 87%] Linking C executable device-gyro [2021-07-29T14:58:40.847Z] [ 87%] Built target device-gyro [2021-07-29T14:58:40.847Z] Scanning dependencies of target device-bitfields [2021-07-29T14:58:40.847Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-07-29T14:58:41.122Z] [ 90%] Linking C executable device-bitfields [2021-07-29T14:58:41.399Z] [ 90%] Built target device-bitfields [2021-07-29T14:58:41.399Z] Scanning dependencies of target template-discovery [2021-07-29T14:58:41.399Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-07-29T14:58:42.379Z] [ 93%] Linking C executable template-discovery [2021-07-29T14:58:42.379Z] [ 93%] Built target template-discovery [2021-07-29T14:58:42.379Z] Scanning dependencies of target device-file [2021-07-29T14:58:42.379Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-07-29T14:58:42.975Z] [ 96%] Linking C executable device-file [2021-07-29T14:58:43.249Z] [ 96%] Built target device-file [2021-07-29T14:58:43.249Z] Scanning dependencies of target device-terminal [2021-07-29T14:58:43.523Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-07-29T14:58:43.796Z] [100%] Linking C executable device-terminal [2021-07-29T14:58:44.069Z] [100%] Built target device-terminal [2021-07-29T14:58:44.069Z] Run CPack packaging tool... [2021-07-29T14:58:44.353Z] CPack: Create package using TGZ [2021-07-29T14:58:44.353Z] CPack: Install projects [2021-07-29T14:58:44.353Z] CPack: - Run preinstall target for: Csdk [2021-07-29T14:58:44.626Z] CPack: - Install project: Csdk [] [2021-07-29T14:58:44.626Z] CPack: Create package [2021-07-29T14:58:44.899Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-07-29T14:58:44.899Z] + '[' false '=' true ] [2021-07-29T14:58:44.899Z] + '[' false '=' true ] [2021-07-29T14:58:44.899Z] + mkdir -p /tmp/sdk/build/debug [2021-07-29T14:58:44.899Z] + cd /tmp/sdk/build/debug [2021-07-29T14:58:44.899Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-07-29T14:58:45.173Z] -- The C compiler identification is GNU 9.3.0 [2021-07-29T14:58:45.173Z] -- Check for working C compiler: /usr/bin/cc [2021-07-29T14:58:45.447Z] -- Check for working C compiler: /usr/bin/cc - works [2021-07-29T14:58:45.447Z] -- Detecting C compiler ABI info [2021-07-29T14:58:45.721Z] -- Detecting C compiler ABI info - done [2021-07-29T14:58:45.721Z] -- Detecting C compile features [2021-07-29T14:58:45.721Z] -- Detecting C compile features - done [2021-07-29T14:58:45.996Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-07-29T14:58:45.996Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") [2021-07-29T14:58:45.996Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-07-29T14:58:45.996Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-07-29T14:58:45.996Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-07-29T14:58:45.996Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-07-29T14:58:45.996Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-07-29T14:58:45.996Z] -- C SDK 0.0.0 for Linux [2021-07-29T14:58:45.996Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-07-29T14:58:46.270Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-07-29T14:58:46.543Z] -- Found Curses: /usr/lib/libcurses.so [2021-07-29T14:58:46.543Z] -- Configuring done [2021-07-29T14:58:46.815Z] -- Generating done [2021-07-29T14:58:46.816Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-07-29T14:58:46.816Z] + make [2021-07-29T14:58:46.816Z] + tee debug.log [2021-07-29T14:58:46.816Z] Scanning dependencies of target csdk [2021-07-29T14:58:47.093Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-07-29T14:58:47.367Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-07-29T14:58:47.642Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-07-29T14:58:48.242Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-07-29T14:58:48.515Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-07-29T14:58:48.790Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-07-29T14:58:49.064Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-07-29T14:58:49.339Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-07-29T14:58:49.612Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-07-29T14:58:49.886Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-07-29T14:58:50.484Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-07-29T14:58:50.757Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-07-29T14:58:51.029Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-07-29T14:58:51.303Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-07-29T14:58:51.576Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-07-29T14:58:51.852Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-07-29T14:58:51.852Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-07-29T14:58:52.832Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-07-29T14:58:52.832Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-07-29T14:58:53.107Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-07-29T14:58:53.379Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-07-29T14:58:53.655Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-07-29T14:58:53.930Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-07-29T14:58:54.527Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-07-29T14:58:54.801Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-07-29T14:58:55.075Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-07-29T14:58:55.075Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-07-29T14:58:55.351Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-07-29T14:58:55.627Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-07-29T14:58:55.901Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-07-29T14:58:56.175Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-07-29T14:58:56.449Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-07-29T14:58:56.449Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-07-29T14:58:57.046Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-07-29T14:58:57.046Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-07-29T14:58:57.644Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-07-29T14:58:57.918Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-07-29T14:58:58.893Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-07-29T14:58:59.167Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-07-29T14:58:59.442Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-07-29T14:58:59.442Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-07-29T14:59:00.037Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-07-29T14:59:01.014Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-07-29T14:59:01.014Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-07-29T14:59:01.288Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-07-29T14:59:01.561Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-07-29T14:59:02.156Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-07-29T14:59:02.754Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-07-29T14:59:03.032Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-07-29T14:59:03.305Z] [ 75%] Linking C shared library libcsdk.so [2021-07-29T14:59:03.579Z] [ 75%] Built target csdk [2021-07-29T14:59:03.579Z] Scanning dependencies of target template [2021-07-29T14:59:03.579Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-07-29T14:59:03.852Z] [ 78%] Linking C executable template [2021-07-29T14:59:04.127Z] [ 78%] Built target template [2021-07-29T14:59:04.127Z] Scanning dependencies of target device-counter [2021-07-29T14:59:04.127Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-07-29T14:59:04.400Z] [ 81%] Linking C executable device-counter [2021-07-29T14:59:04.673Z] [ 81%] Built target device-counter [2021-07-29T14:59:04.673Z] Scanning dependencies of target device-random [2021-07-29T14:59:04.673Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-07-29T14:59:04.946Z] [ 84%] Linking C executable device-random [2021-07-29T14:59:05.218Z] [ 84%] Built target device-random [2021-07-29T14:59:05.219Z] Scanning dependencies of target device-gyro [2021-07-29T14:59:05.219Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-07-29T14:59:05.493Z] [ 87%] Linking C executable device-gyro [2021-07-29T14:59:05.766Z] [ 87%] Built target device-gyro [2021-07-29T14:59:05.766Z] Scanning dependencies of target device-bitfields [2021-07-29T14:59:05.766Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-07-29T14:59:06.040Z] [ 90%] Linking C executable device-bitfields [2021-07-29T14:59:06.314Z] [ 90%] Built target device-bitfields [2021-07-29T14:59:06.314Z] Scanning dependencies of target template-discovery [2021-07-29T14:59:06.314Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-07-29T14:59:06.587Z] [ 93%] Linking C executable template-discovery [2021-07-29T14:59:06.867Z] [ 93%] Built target template-discovery [2021-07-29T14:59:06.867Z] Scanning dependencies of target device-file [2021-07-29T14:59:06.868Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-07-29T14:59:07.142Z] [ 96%] Linking C executable device-file [2021-07-29T14:59:07.415Z] [ 96%] Built target device-file [2021-07-29T14:59:07.415Z] Scanning dependencies of target device-terminal [2021-07-29T14:59:07.415Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-07-29T14:59:07.689Z] [100%] Linking C executable device-terminal [2021-07-29T14:59:07.965Z] [100%] Built target device-terminal [2021-07-29T14:59:07.965Z] make: Entering directory '/tmp/sdk/build/release' [2021-07-29T14:59:07.965Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-07-29T14:59:08.239Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-29T14:59:08.239Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-29T14:59:08.239Z] [ 75%] Built target csdk [2021-07-29T14:59:08.239Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-29T14:59:08.239Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-29T14:59:08.239Z] [ 78%] Built target template [2021-07-29T14:59:08.239Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-29T14:59:08.239Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-29T14:59:08.239Z] [ 81%] Built target device-counter [2021-07-29T14:59:08.239Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-29T14:59:08.239Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-29T14:59:08.239Z] [ 84%] Built target device-random [2021-07-29T14:59:08.239Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-29T14:59:08.239Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-29T14:59:08.239Z] [ 87%] Built target device-gyro [2021-07-29T14:59:08.239Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-29T14:59:08.239Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-29T14:59:08.512Z] [ 90%] Built target device-bitfields [2021-07-29T14:59:08.512Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-29T14:59:08.512Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-29T14:59:08.512Z] [ 93%] Built target template-discovery [2021-07-29T14:59:08.512Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-29T14:59:08.512Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-29T14:59:08.512Z] [ 96%] Built target device-file [2021-07-29T14:59:08.512Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-29T14:59:08.512Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-29T14:59:08.512Z] [100%] Built target device-terminal [2021-07-29T14:59:08.512Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-07-29T14:59:08.512Z] Install the project... [2021-07-29T14:59:08.512Z] -- Install configuration: "Release" [2021-07-29T14:59:08.512Z] -- Installing: /usr/local/lib/libcsdk.so [2021-07-29T14:59:08.512Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-07-29T14:59:08.512Z] -- Up-to-date: /usr/local/include [2021-07-29T14:59:08.512Z] -- Installing: /usr/local/include/edgex [2021-07-29T14:59:08.512Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-07-29T14:59:08.512Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-07-29T14:59:08.512Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-07-29T14:59:08.512Z] -- Installing: /usr/local/include/edgex/devices.h [2021-07-29T14:59:08.512Z] -- Installing: /usr/local/include/edgex/secrets.h [2021-07-29T14:59:08.512Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-07-29T14:59:08.512Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-07-29T14:59:08.512Z] -- Installing: /usr/local/include/devsdk [2021-07-29T14:59:08.512Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-07-29T14:59:08.512Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-07-29T14:59:08.512Z] -- Installing: /usr/local/include/iot [2021-07-29T14:59:08.512Z] -- Installing: /usr/local/include/iot/json.h [2021-07-29T14:59:08.512Z] -- Installing: /usr/local/include/iot/container.h [2021-07-29T14:59:08.512Z] -- Installing: /usr/local/include/iot/component.h [2021-07-29T14:59:08.512Z] -- Installing: /usr/local/include/iot/typecode.h [2021-07-29T14:59:08.512Z] -- Installing: /usr/local/include/iot/iot.h [2021-07-29T14:59:08.512Z] -- Installing: /usr/local/include/iot/time.h [2021-07-29T14:59:08.512Z] -- Installing: /usr/local/include/iot/hash.h [2021-07-29T14:59:08.512Z] -- Installing: /usr/local/include/iot/logger.h [2021-07-29T14:59:08.512Z] -- Installing: /usr/local/include/iot/os [2021-07-29T14:59:08.512Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-07-29T14:59:08.512Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-07-29T14:59:08.512Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-07-29T14:59:08.512Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-07-29T14:59:08.512Z] -- Installing: /usr/local/include/iot/data.h [2021-07-29T14:59:08.512Z] -- Installing: /usr/local/include/iot/thread.h [2021-07-29T14:59:08.512Z] -- Installing: /usr/local/include/iot/os.h [2021-07-29T14:59:08.512Z] -- Installing: /usr/local/include/iot/base64.h [2021-07-29T14:59:08.512Z] -- Installing: /usr/local/include/iot/defs.h [2021-07-29T14:59:08.512Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-07-29T14:59:08.512Z] -- Installing: /usr/local/include/iot/config.h [2021-07-29T14:59:08.512Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-07-29T14:59:08.512Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-07-29T14:59:08.512Z] make: Leaving directory '/tmp/sdk/build/release' [2021-07-29T14:59:11.159Z] Removing intermediate container 3fecf053989d [2021-07-29T14:59:11.159Z] ---> 050ad9e1d9f4 [2021-07-29T14:59:11.159Z] Step 16/25 : FROM ${BASE} [2021-07-29T14:59:11.159Z] ---> 759262b18b23 [2021-07-29T14:59:11.159Z] Step 17/25 : LABEL maintainer="IOTech " [2021-07-29T14:59:11.159Z] ---> Running in 6d94d56a5825 [2021-07-29T14:59:11.443Z] Removing intermediate container 6d94d56a5825 [2021-07-29T14:59:11.443Z] ---> 711ae3118963 [2021-07-29T14:59:11.443Z] Step 18/25 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub [2021-07-29T14:59:11.443Z] ---> Running in 4fc7019e386b [2021-07-29T14:59:12.881Z] Connecting to iotech.jfrog.io (54.229.110.245:443) [2021-07-29T14:59:13.154Z] saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-07-29T14:59:13.154Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-07-29T14:59:13.154Z] '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [2021-07-29T14:59:14.136Z] Removing intermediate container 4fc7019e386b [2021-07-29T14:59:14.136Z] ---> 94d23ab4c3de [2021-07-29T14:59:14.136Z] Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-07-29T14:59:14.412Z] ---> Running in 5f1a8919269b [2021-07-29T14:59:17.039Z] Removing intermediate container 5f1a8919269b [2021-07-29T14:59:17.039Z] ---> edde089212ec [2021-07-29T14:59:17.039Z] Step 20/25 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid paho-mqtt-c-dev hiredis-dev [2021-07-29T14:59:17.039Z] ---> Running in fbbeec054149 [2021-07-29T14:59:18.017Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-07-29T14:59:18.620Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-07-29T14:59:19.215Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz [2021-07-29T14:59:19.807Z] (1/7) Installing curl (7.78.0-r0) [2021-07-29T14:59:19.807Z] (2/7) Installing hiredis (0.14.1-r0) [2021-07-29T14:59:19.807Z] (3/7) Installing hiredis-dev (0.14.1-r0) [2021-07-29T14:59:20.080Z] (4/7) Installing libuuid (2.35.2-r0) [2021-07-29T14:59:20.080Z] (5/7) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-07-29T14:59:21.510Z] (6/7) Installing libidn2 (2.3.0-r0) [2021-07-29T14:59:21.783Z] (7/7) Installing wget (1.20.3-r1) [2021-07-29T14:59:21.783Z] Executing busybox-1.31.1-r20.trigger [2021-07-29T14:59:21.783Z] OK: 267 MiB in 82 packages [2021-07-29T14:59:23.227Z] Removing intermediate container fbbeec054149 [2021-07-29T14:59:23.227Z] ---> c1130aa29481 [2021-07-29T14:59:23.227Z] Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-07-29T14:59:24.208Z] ---> ed1c1e801029 [2021-07-29T14:59:24.208Z] Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-07-29T14:59:24.806Z] ---> 9e6c62abac5e [2021-07-29T14:59:24.806Z] Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-07-29T14:59:25.787Z] ---> 8fda914633c2 [2021-07-29T14:59:25.787Z] Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-07-29T14:59:26.384Z] ---> 0cc657ee6874 [2021-07-29T14:59:26.384Z] Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-07-29T14:59:27.365Z] ---> 2094130f0515 [2021-07-29T14:59:27.365Z] Successfully built 2094130f0515 [2021-07-29T14:59:27.365Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-29T14:59:27.924Z] + docker inspect -f . ci-base-image-arm64 [2021-07-29T14:59:27.924Z] . [Pipeline] withDockerContainer [2021-07-29T14:59:28.164Z] prd-ubuntu18.04-docker-arm64-4c-16g-472 does not seem to be running inside a container [2021-07-29T14:59:28.253Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/7 -v /w/workspace/device-sdk-c/7:/w/workspace/device-sdk-c/7:rw,z -v /w/workspace/device-sdk-c/7@tmp:/w/workspace/device-sdk-c/7@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-07-29T14:59:29.943Z] $ docker top 5dcd490f2261fde77d45cdbf02eb8c4d48695dbb620f08dcc886d5d056dc6687 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-29T14:59:30.948Z] + make test [2021-07-29T14:59:30.948Z] echo "make test" [2021-07-29T14:59:30.948Z] make test [Pipeline] } [2021-07-29T14:59:30.969Z] $ docker stop --time=1 5dcd490f2261fde77d45cdbf02eb8c4d48695dbb620f08dcc886d5d056dc6687 [2021-07-29T14:59:32.857Z] $ docker rm -f 5dcd490f2261fde77d45cdbf02eb8c4d48695dbb620f08dcc886d5d056dc6687 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-29T14:59:33.876Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-07-29T14:59:34.213Z] + ls -al . [2021-07-29T14:59:34.213Z] total 192 [2021-07-29T14:59:34.213Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 29 14:56 . [2021-07-29T14:59:34.213Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 29 14:56 .. [2021-07-29T14:59:34.213Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 29 14:56 .git [2021-07-29T14:59:34.213Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 29 14:56 .github [2021-07-29T14:59:34.213Z] -rw-rw-r-- 1 jenkins jenkins 176 Jul 29 14:56 .gitignore [2021-07-29T14:59:34.213Z] -rw-rw-r-- 1 jenkins jenkins 3104 Jul 29 14:56 Attribution.txt [2021-07-29T14:59:34.213Z] -rw-rw-r-- 1 jenkins jenkins 7556 Jul 29 14:56 CHANGES [2021-07-29T14:59:34.213Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jul 29 14:56 Doxyfile [2021-07-29T14:59:34.213Z] -rw-rw-r-- 1 jenkins jenkins 784 Jul 29 14:56 Jenkinsfile [2021-07-29T14:59:34.213Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jul 29 14:56 LICENSE [2021-07-29T14:59:34.213Z] -rw-rw-r-- 1 jenkins jenkins 444 Jul 29 14:56 Makefile [2021-07-29T14:59:34.213Z] -rw-rw-r-- 1 jenkins jenkins 4090 Jul 29 14:56 README.md [2021-07-29T14:59:34.213Z] -rw-rw-r-- 1 jenkins jenkins 7090 Jul 29 14:56 README.v2.md [2021-07-29T14:59:34.213Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 29 14:54 VERSION [2021-07-29T14:59:34.213Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 29 14:56 docs [2021-07-29T14:59:34.213Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 29 14:56 include [2021-07-29T14:59:34.213Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 29 14:56 scripts [2021-07-29T14:59:34.213Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 29 14:56 src [Pipeline] isUnix [Pipeline] sh [2021-07-29T14:59:34.565Z] + 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=6dd61b441719fab4f2192aeabeb577189d74fc2d --label arch=arm64 --label version=0.0.0 . [2021-07-29T14:59:35.163Z] Sending build context to Docker daemon 2.683MB [2021-07-29T14:59:35.163Z] Step 1/17 : ARG BASE=alpine:3.12 [2021-07-29T14:59:35.163Z] Step 2/17 : FROM ${BASE} [2021-07-29T14:59:35.163Z] ---> 2094130f0515 [2021-07-29T14:59:35.163Z] Step 3/17 : LABEL maintainer="IOTech " [2021-07-29T14:59:35.437Z] ---> Running in f3fb77cd1cc6 [2021-07-29T14:59:36.032Z] Removing intermediate container f3fb77cd1cc6 [2021-07-29T14:59:36.032Z] ---> 992e0e122a1b [2021-07-29T14:59:36.032Z] Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub [2021-07-29T14:59:36.307Z] ---> Running in 4a9449518bd5 [2021-07-29T14:59:37.288Z] --2021-07-29 14:59:37-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub [2021-07-29T14:59:37.562Z] Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.170.66.44, 54.229.110.245, 54.195.244.87 [2021-07-29T14:59:37.562Z] Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.170.66.44|:443... connected. [2021-07-29T14:59:37.838Z] HTTP request sent, awaiting response... 200 OK [2021-07-29T14:59:37.838Z] Length: 451 [application/octet-stream] [2021-07-29T14:59:37.838Z] Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-07-29T14:59:37.838Z]  [2021-07-29T14:59:37.838Z] 0K 100% 17.7M=0s [2021-07-29T14:59:37.838Z] [2021-07-29T14:59:37.838Z] 2021-07-29 14:59:37 (17.7 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] [2021-07-29T14:59:37.838Z] [2021-07-29T14:59:38.824Z] Removing intermediate container 4a9449518bd5 [2021-07-29T14:59:38.824Z] ---> e8a62aa58f48 [2021-07-29T14:59:38.824Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-07-29T14:59:38.824Z] ---> Running in f13fecc0709a [2021-07-29T14:59:41.473Z] Removing intermediate container f13fecc0709a [2021-07-29T14:59:41.473Z] ---> b5adcfdab133 [2021-07-29T14:59:41.473Z] Step 6/17 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev hiredis-dev && mkdir -p /edgex-c-sdk/build [2021-07-29T14:59:41.473Z] ---> Running in d7ac49c355d8 [2021-07-29T14:59:42.919Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-07-29T14:59:43.523Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-07-29T14:59:43.796Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz [2021-07-29T14:59:44.774Z] (1/16) Installing ncurses-dev (6.2_p20200523-r0) [2021-07-29T14:59:44.774Z] (2/16) Installing libblkid (2.35.2-r0) [2021-07-29T14:59:44.774Z] (3/16) Installing blkid (2.35.2-r0) [2021-07-29T14:59:44.774Z] (4/16) Installing libcap-ng (0.7.10-r1) [2021-07-29T14:59:45.048Z] (5/16) Installing setpriv (2.35.2-r0) [2021-07-29T14:59:45.049Z] (6/16) Installing libmount (2.35.2-r0) [2021-07-29T14:59:45.049Z] (7/16) Installing libsmartcols (2.35.2-r0) [2021-07-29T14:59:45.322Z] (8/16) Installing findmnt (2.35.2-r0) [2021-07-29T14:59:45.323Z] (9/16) Installing mcookie (2.35.2-r0) [2021-07-29T14:59:45.323Z] (10/16) Installing hexdump (2.35.2-r0) [2021-07-29T14:59:45.597Z] (11/16) Installing lsblk (2.35.2-r0) [2021-07-29T14:59:45.597Z] (12/16) Installing libfdisk (2.35.2-r0) [2021-07-29T14:59:45.597Z] (13/16) Installing sfdisk (2.35.2-r0) [2021-07-29T14:59:45.870Z] (14/16) Installing cfdisk (2.35.2-r0) [2021-07-29T14:59:45.870Z] (15/16) Installing util-linux (2.35.2-r0) [2021-07-29T14:59:46.163Z] (16/16) Installing util-linux-dev (2.35.2-r0) [2021-07-29T14:59:46.442Z] Executing busybox-1.31.1-r20.trigger [2021-07-29T14:59:46.442Z] OK: 276 MiB in 98 packages [2021-07-29T14:59:48.431Z] Removing intermediate container d7ac49c355d8 [2021-07-29T14:59:48.431Z] ---> cca1007f9176 [2021-07-29T14:59:48.431Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2021-07-29T14:59:49.030Z] ---> d4443cb945cd [2021-07-29T14:59:49.030Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2021-07-29T14:59:50.013Z] ---> e7c222b478b9 [2021-07-29T14:59:50.013Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2021-07-29T14:59:51.013Z] ---> 3fe6df28ac2e [2021-07-29T14:59:51.013Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2021-07-29T14:59:51.610Z] ---> 28e1d6d27764 [2021-07-29T14:59:51.610Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2021-07-29T14:59:52.590Z] ---> ab0f838442f3 [2021-07-29T14:59:52.590Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2021-07-29T14:59:53.569Z] ---> 7f4a951ebfc3 [2021-07-29T14:59:53.569Z] Step 13/17 : WORKDIR /edgex-c-sdk [2021-07-29T14:59:53.569Z] ---> Running in 901568af0508 [2021-07-29T14:59:54.186Z] Removing intermediate container 901568af0508 [2021-07-29T14:59:54.187Z] ---> 8f2315f1c0e9 [2021-07-29T14:59:54.187Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-07-29T14:59:54.187Z] ---> Running in 42de6f4c999b [2021-07-29T14:59:55.182Z] Removing intermediate container 42de6f4c999b [2021-07-29T14:59:55.182Z] ---> 52d1023777a5 [2021-07-29T14:59:55.182Z] Step 15/17 : LABEL arch=arm64 [2021-07-29T14:59:55.182Z] ---> Running in 705dd234d273 [2021-07-29T14:59:55.797Z] Removing intermediate container 705dd234d273 [2021-07-29T14:59:55.797Z] ---> 6b58543d25a4 [2021-07-29T14:59:55.797Z] Step 16/17 : LABEL git_sha=6dd61b441719fab4f2192aeabeb577189d74fc2d [2021-07-29T14:59:56.084Z] ---> Running in 17b0cd8bccc2 [2021-07-29T14:59:56.698Z] Removing intermediate container 17b0cd8bccc2 [2021-07-29T14:59:56.698Z] ---> 476136a0664f [2021-07-29T14:59:56.698Z] Step 17/17 : LABEL version=0.0.0 [2021-07-29T14:59:56.698Z] ---> Running in 0820577a5e73 [2021-07-29T14:59:57.302Z] Removing intermediate container 0820577a5e73 [2021-07-29T14:59:57.303Z] ---> fdc8d27f9d80 [2021-07-29T14:59:57.303Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-07-29T14:59:57.303Z] Successfully built fdc8d27f9d80 [2021-07-29T14:59:57.303Z] 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-07-29T14:59:58.036Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-07-29T14:59:58.036Z] [2021-07-29T14:59:58.036Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-07-29T14:59:58.460Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-07-29T14:59:58.745Z] arm64: Pulling from edgex-lftools-log-publisher [2021-07-29T14:59:58.745Z] 448f6bf000e3: Pulling fs layer [2021-07-29T14:59:58.745Z] f757da607395: Pulling fs layer [2021-07-29T14:59:58.745Z] 05883995daec: Pulling fs layer [2021-07-29T14:59:58.745Z] 8603b9c90790: Pulling fs layer [2021-07-29T14:59:58.745Z] 1560dd03e051: Pulling fs layer [2021-07-29T14:59:58.745Z] 27f5ce0e4adf: Pulling fs layer [2021-07-29T14:59:58.745Z] c2d8d7efcc4b: Pulling fs layer [2021-07-29T14:59:58.745Z] 8603b9c90790: Waiting [2021-07-29T14:59:58.745Z] 27f5ce0e4adf: Waiting [2021-07-29T14:59:58.745Z] 1560dd03e051: Waiting [2021-07-29T14:59:58.745Z] c2d8d7efcc4b: Waiting [2021-07-29T14:59:59.030Z] f757da607395: Verifying Checksum [2021-07-29T14:59:59.030Z] f757da607395: Download complete [2021-07-29T14:59:59.030Z] 8603b9c90790: Verifying Checksum [2021-07-29T14:59:59.030Z] 8603b9c90790: Download complete [2021-07-29T14:59:59.323Z] 1560dd03e051: Verifying Checksum [2021-07-29T14:59:59.323Z] 1560dd03e051: Download complete [2021-07-29T14:59:59.323Z] 27f5ce0e4adf: Download complete [2021-07-29T14:59:59.950Z] 05883995daec: Verifying Checksum [2021-07-29T14:59:59.950Z] 05883995daec: Download complete [2021-07-29T14:59:59.950Z] 448f6bf000e3: Verifying Checksum [2021-07-29T14:59:59.950Z] 448f6bf000e3: Download complete [2021-07-29T15:00:04.315Z] 448f6bf000e3: Pull complete [2021-07-29T15:00:04.593Z] f757da607395: Pull complete [2021-07-29T15:00:04.870Z] c2d8d7efcc4b: Verifying Checksum [2021-07-29T15:00:04.870Z] c2d8d7efcc4b: Download complete [2021-07-29T15:00:06.302Z] 05883995daec: Pull complete [2021-07-29T15:00:06.576Z] 8603b9c90790: Pull complete [2021-07-29T15:00:07.558Z] 1560dd03e051: Pull complete [2021-07-29T15:00:07.832Z] 27f5ce0e4adf: Pull complete [2021-07-29T15:00:22.900Z] c2d8d7efcc4b: Pull complete [2021-07-29T15:00:22.900Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-07-29T15:00:22.900Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-07-29T15:00:22.900Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-07-29T15:00:23.164Z] prd-ubuntu18.04-docker-arm64-4c-16g-472 does not seem to be running inside a container [2021-07-29T15:00:23.245Z] $ 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/7 -v /w/workspace/device-sdk-c/7:/w/workspace/device-sdk-c/7:rw,z -v /w/workspace/device-sdk-c/7@tmp:/w/workspace/device-sdk-c/7@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-07-29T15:00:29.472Z] $ docker top 013a9d900e6eb8484ef29ee82f3d9bf8840263d0eb4722a07f7aa23eb37b45bd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-29T15:00:30.411Z] ---> job-cost.sh [2021-07-29T15:00:30.411Z] lf-activate-venv: SKIPPING [2021-07-29T15:00:30.411Z] INFO: No Stack... [2021-07-29T15:00:31.841Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-07-29T15:00:32.115Z] INFO: Archiving Costs [Pipeline] sh [2021-07-29T15:00:32.778Z] + cat+ /w/workspace/device-sdk-c/7/archives/cost.csv [2021-07-29T15:00:32.778Z] cut -d, -f6 [Pipeline] lock [2021-07-29T15:00:32.842Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-357-7-stack-cost] [2021-07-29T15:00:32.851Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-357-7-stack-cost] did not exist. Created. [2021-07-29T15:00:32.851Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-357-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-29T15:00:33.538Z] /w/workspace/device-sdk-c/7@tmp/durable-1953b325/script.sh: 1: /w/workspace/device-sdk-c/7@tmp/durable-1953b325/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-07-29T15:00:34.208Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-07-29T15:00:34.240Z] Warning: overwriting stash ‘stack-cost’ [2021-07-29T15:00:34.756Z] Stashed 1 file(s) [Pipeline] } [2021-07-29T15:00:34.767Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-357-7-stack-cost] [Pipeline] // lock [Pipeline] } [2021-07-29T15:00:34.791Z] $ docker stop --time=1 013a9d900e6eb8484ef29ee82f3d9bf8840263d0eb4722a07f7aa23eb37b45bd [2021-07-29T15:00:36.451Z] $ docker rm -f 013a9d900e6eb8484ef29ee82f3d9bf8840263d0eb4722a07f7aa23eb37b45bd [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] libraryResource [Pipeline] sh [2021-07-29T15:00:38.089Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-29T15:00:38.684Z] ---> package-listing.sh [2021-07-29T15:00:38.684Z] ++ facter osfamily [2021-07-29T15:00:38.684Z] ++ tr '[:upper:]' '[:lower:]' [2021-07-29T15:00:38.953Z] + OS_FAMILY=redhat [2021-07-29T15:00:38.953Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-357 [2021-07-29T15:00:38.953Z] + START_PACKAGES=/tmp/packages_start.txt [2021-07-29T15:00:38.953Z] + END_PACKAGES=/tmp/packages_end.txt [2021-07-29T15:00:38.953Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-07-29T15:00:38.953Z] + PACKAGES=/tmp/packages_start.txt [2021-07-29T15:00:38.953Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-357 ']' [2021-07-29T15:00:38.953Z] + PACKAGES=/tmp/packages_end.txt [2021-07-29T15:00:38.953Z] + case "${OS_FAMILY}" in [2021-07-29T15:00:38.953Z] + sort [2021-07-29T15:00:38.953Z] + rpm -qa [2021-07-29T15:00:39.536Z] + '[' -f /tmp/packages_start.txt ']' [2021-07-29T15:00:39.536Z] + '[' -f /tmp/packages_end.txt ']' [2021-07-29T15:00:39.536Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-07-29T15:00:39.536Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-357 ']' [2021-07-29T15:00:39.536Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-357/archives/ [2021-07-29T15:00:39.536Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-357/archives/ [Pipeline] echo [2021-07-29T15:00:39.553Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-357/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-07-29T15:00:39.860Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-07-29T15:00:40.449Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-29T15:00:40.449Z] [2021-07-29T15:00:40.449Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-07-29T15:00:40.787Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-29T15:00:40.787Z] latest: Pulling from edgex-lftools-log-publisher [2021-07-29T15:00:40.787Z] b4d181a07f80: Pulling fs layer [2021-07-29T15:00:40.787Z] a1111a8f2ec3: Pulling fs layer [2021-07-29T15:00:40.787Z] ed53099fbce6: Pulling fs layer [2021-07-29T15:00:40.787Z] dc539afda2c1: Pulling fs layer [2021-07-29T15:00:40.787Z] 77bc0d833cb6: Pulling fs layer [2021-07-29T15:00:40.787Z] 9065ff56babe: Pulling fs layer [2021-07-29T15:00:40.787Z] d287ab97295c: Pulling fs layer [2021-07-29T15:00:40.787Z] dc539afda2c1: Waiting [2021-07-29T15:00:40.787Z] 77bc0d833cb6: Waiting [2021-07-29T15:00:40.787Z] 9065ff56babe: Waiting [2021-07-29T15:00:40.787Z] d287ab97295c: Waiting [2021-07-29T15:00:41.371Z] a1111a8f2ec3: Verifying Checksum [2021-07-29T15:00:41.371Z] a1111a8f2ec3: Download complete [2021-07-29T15:00:41.371Z] dc539afda2c1: Verifying Checksum [2021-07-29T15:00:41.371Z] dc539afda2c1: Download complete [2021-07-29T15:00:41.638Z] ed53099fbce6: Verifying Checksum [2021-07-29T15:00:41.638Z] ed53099fbce6: Download complete [2021-07-29T15:00:41.638Z] 9065ff56babe: Verifying Checksum [2021-07-29T15:00:41.638Z] 9065ff56babe: Download complete [2021-07-29T15:00:41.638Z] 77bc0d833cb6: Verifying Checksum [2021-07-29T15:00:41.638Z] 77bc0d833cb6: Download complete [2021-07-29T15:00:42.223Z] b4d181a07f80: Verifying Checksum [2021-07-29T15:00:42.223Z] b4d181a07f80: Download complete [2021-07-29T15:00:43.195Z] b4d181a07f80: Pull complete [2021-07-29T15:00:43.467Z] a1111a8f2ec3: Pull complete [2021-07-29T15:00:44.055Z] ed53099fbce6: Pull complete [2021-07-29T15:00:44.055Z] dc539afda2c1: Pull complete [2021-07-29T15:00:44.321Z] 77bc0d833cb6: Pull complete [2021-07-29T15:00:44.321Z] 9065ff56babe: Pull complete [2021-07-29T15:00:46.269Z] d287ab97295c: Verifying Checksum [2021-07-29T15:00:46.269Z] d287ab97295c: Download complete [2021-07-29T15:00:50.564Z] d287ab97295c: Pull complete [2021-07-29T15:00:50.564Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-07-29T15:00:50.564Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-29T15:00:50.564Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-07-29T15:00:50.655Z] prd-centos7-docker-4c-2g-471 does not seem to be running inside a container [2021-07-29T15:00:50.706Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-357/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-357 -v /w/workspace/edgexfoundry_device-sdk-c_PR-357:/w/workspace/edgexfoundry_device-sdk-c_PR-357:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-07-29T15:00:52.610Z] $ docker top 70b82a265400b34cd3b84f056b414e45386408af5e7a8888a042cee3d9dda5ec -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-29T15:00:52.992Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-07-29T15:00:53.303Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-07-29T15:00:53.614Z] + ls /var/log/sa-host [2021-07-29T15:00:53.614Z] + sadf -c /var/log/sa-host/sa05 [2021-07-29T15:00:53.614Z] file_magic: OK [2021-07-29T15:00:53.614Z] HZ: Using current value: 100 [2021-07-29T15:00:53.614Z] file_header: OK [2021-07-29T15:00:53.614Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-07-29T15:00:53.614Z] Statistics: [2021-07-29T15:00:53.614Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-29T15:00:53.614Z] File successfully converted to sysstat format version 12.0.3 [2021-07-29T15:00:53.614Z] + sadf -c /var/log/sa-host/sa29 [2021-07-29T15:00:53.614Z] file_magic: OK [2021-07-29T15:00:53.614Z] HZ: Using current value: 100 [2021-07-29T15:00:53.614Z] file_header: OK [2021-07-29T15:00:53.614Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-07-29T15:00:53.614Z] Statistics: [2021-07-29T15:00:53.614Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-29T15:00:53.614Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-29T15:00:54.228Z] provisioning config files... [2021-07-29T15:00:54.244Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/config7387456993051923757tmp [Pipeline] { [Pipeline] echo [2021-07-29T15:00:54.267Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-29T15:00:54.585Z] ---> create-netrc.sh [Pipeline] } [2021-07-29T15:00:54.599Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-07-29T15:00:55.000Z] ---> python-tools-install.sh [Pipeline] echo [2021-07-29T15:00:55.014Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-29T15:00:55.327Z] ---> sudo-logs.sh [2021-07-29T15:00:55.327Z] Archiving 'sudo' log.. [2021-07-29T15:00:55.327Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-471.vexxhost.local: Name or service not known [2021-07-29T15:00:55.327Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-471.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-07-29T15:00:55.384Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-29T15:00:55.706Z] ---> job-cost.sh [2021-07-29T15:00:55.706Z] lf-activate-venv: SKIPPING [2021-07-29T15:00:55.706Z] DEBUG: total: 0.18000000715255737 [2021-07-29T15:00:55.706Z] INFO: Retrieving Stack Cost... [2021-07-29T15:00:56.674Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-29T15:00:56.942Z] INFO: Archiving Costs [Pipeline] echo [2021-07-29T15:00:56.960Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-29T15:00:57.277Z] ---> logs-deploy.sh [2021-07-29T15:00:57.277Z] lf-activate-venv: SKIPPING [2021-07-29T15:00:57.277Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-357/7 [2021-07-29T15:00:57.277Z] INFO: archiving workspace using pattern(s): [2021-07-29T15:00:57.866Z] Archives upload complete. [2021-07-29T15:00:58.134Z] INFO: archiving logs to Nexus