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 c057f0588fdea3f324fd5447e2fce0a3989f77bf+06bc10b48272c0f3cc1c2953f0a9dac9a54cc00f (8dcd4e9707edfa85f301de62b3823d8a2fc3f39c) 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-ssh9025298980747474218.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-ssh1752291569966845993.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-ssh6843208058615227142.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-ssh262526612290307960.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-ssh4105293602076721715.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-349 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-ssh8398589301646986012.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 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-ssh5927962936432934243.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 Merging remotes/origin/main commit 06bc10b48272c0f3cc1c2953f0a9dac9a54cc00f into PR head commit c057f0588fdea3f324fd5447e2fce0a3989f77bf Merge succeeded, producing c922ceb25b3a75d5f1f639641f76914338a1bd6f Checking out Revision c922ceb25b3a75d5f1f639641f76914338a1bd6f (PR-357) > git config core.sparsecheckout # timeout=10 > git checkout -f c057f0588fdea3f324fd5447e2fce0a3989f77bf # 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-ssh6733048715851556401.key > git merge 06bc10b48272c0f3cc1c2953f0a9dac9a54cc00f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c922ceb25b3a75d5f1f639641f76914338a1bd6f # timeout=10 Commit message: "Merge commit '06bc10b48272c0f3cc1c2953f0a9dac9a54cc00f' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-07-28T14:30:12.942Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-07-28T14:30:13.037Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-07-28T14:30:13.059Z] ========================================================= [2021-07-28T14:30:13.059Z] EdgeX Global Pipelines Version Info [2021-07-28T14:30:13.059Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 56650a93bd3a285f1611653009d11773249cf0f8 # timeout=10 [2021-07-28T14:30:14.323Z] ------------------- [2021-07-28T14:30:14.323Z] stable info: [2021-07-28T14:30:14.323Z] ------------------- [2021-07-28T14:30:14.323Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-07-28T14:30:14.323Z] Commit SHA: db16f8292de5a0132d944c4e76ede2ca4f84da27 [2021-07-28T14:30:14.323Z] Message: update stable to v1.0.197 [2021-07-28T14:30:14.908Z] ------------------- [2021-07-28T14:30:14.908Z] experimental info: [2021-07-28T14:30:14.908Z] ------------------- [2021-07-28T14:30:14.908Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-07-28T14:30:14.908Z] Commit SHA: db16f8292de5a0132d944c4e76ede2ca4f84da27 [2021-07-28T14:30:14.908Z] Message: update experimental to v1.0.197 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-07-28T14:30:15.042Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2021-07-28T14:30:15.062Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2021-07-28T14:30:15.082Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-07-28T14:30:15.102Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-07-28T14:30:15.123Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-07-28T14:30:15.142Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo [2021-07-28T14:30:15.161Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2021-07-28T14:30:15.180Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2021-07-28T14:30:15.199Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-07-28T14:30:15.217Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2021-07-28T14:30:15.236Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-07-28T14:30:15.255Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-07-28T14:30:15.273Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-07-28T14:30:15.292Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-07-28T14:30:15.311Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-07-28T14:30:15.331Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-07-28T14:30:15.350Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-07-28T14:30:15.369Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-357 [Pipeline] echo [2021-07-28T14:30:15.387Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-357 [Pipeline] echo [2021-07-28T14:30:15.407Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-357 [Pipeline] echo [2021-07-28T14:30:15.426Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c922ceb25b3a75d5f1f639641f76914338a1bd6f [Pipeline] echo [2021-07-28T14:30:15.444Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c922ceb [Pipeline] echo [2021-07-28T14:30:15.463Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-28T14:30:15.535Z] provisioning config files... [2021-07-28T14:30:15.556Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/config5503681799019641466tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-28T14:30:15.901Z] ---> docker-login.sh [2021-07-28T14:30:15.901Z] nexus3.edgexfoundry.org:10001 [2021-07-28T14:30:15.901Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-28T14:30:21.255Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-28T14:30:21.255Z] Configure a credential helper to remove this warning. See [2021-07-28T14:30:21.255Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-28T14:30:21.255Z] [2021-07-28T14:30:21.255Z] Login Succeeded [2021-07-28T14:30:21.255Z] nexus3.edgexfoundry.org:10002 [2021-07-28T14:30:21.255Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-28T14:30:21.255Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-28T14:30:21.255Z] Configure a credential helper to remove this warning. See [2021-07-28T14:30:21.255Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-28T14:30:21.255Z] [2021-07-28T14:30:21.255Z] Login Succeeded [2021-07-28T14:30:21.255Z] nexus3.edgexfoundry.org:10003 [2021-07-28T14:30:21.255Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-28T14:30:21.530Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-28T14:30:21.530Z] Configure a credential helper to remove this warning. See [2021-07-28T14:30:21.530Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-28T14:30:21.530Z] [2021-07-28T14:30:21.530Z] Login Succeeded [2021-07-28T14:30:21.530Z] nexus3.edgexfoundry.org:10004 [2021-07-28T14:30:21.530Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-28T14:30:21.798Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-28T14:30:21.799Z] Configure a credential helper to remove this warning. See [2021-07-28T14:30:21.799Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-28T14:30:21.799Z] [2021-07-28T14:30:21.799Z] Login Succeeded [2021-07-28T14:30:21.799Z] docker.io [2021-07-28T14:30:21.799Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-28T14:30:22.067Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-28T14:30:22.067Z] Configure a credential helper to remove this warning. See [2021-07-28T14:30:22.067Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-28T14:30:22.067Z] [2021-07-28T14:30:22.067Z] Login Succeeded [2021-07-28T14:30:22.067Z] ---> docker-login.sh ends [Pipeline] } [2021-07-28T14:30:22.080Z] 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-28T14:30:23.593Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-28T14:30:23.593Z] [2021-07-28T14:30:23.593Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-07-28T14:30:23.923Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-28T14:30:24.897Z] latest: Pulling from edgex-devops/git-semver [2021-07-28T14:30:24.898Z] 31603596830f: Pulling fs layer [2021-07-28T14:30:24.898Z] b6dc333f4379: Pulling fs layer [2021-07-28T14:30:24.898Z] 3d9ef1400e77: Pulling fs layer [2021-07-28T14:30:24.898Z] fd332fbdc1db: Pulling fs layer [2021-07-28T14:30:24.898Z] fd332fbdc1db: Waiting [2021-07-28T14:30:25.171Z] b6dc333f4379: Verifying Checksum [2021-07-28T14:30:25.171Z] b6dc333f4379: Download complete [2021-07-28T14:30:25.171Z] 31603596830f: Verifying Checksum [2021-07-28T14:30:25.171Z] 31603596830f: Download complete [2021-07-28T14:30:25.445Z] 31603596830f: Pull complete [2021-07-28T14:30:25.445Z] b6dc333f4379: Pull complete [2021-07-28T14:30:25.445Z] fd332fbdc1db: Verifying Checksum [2021-07-28T14:30:25.445Z] fd332fbdc1db: Download complete [2021-07-28T14:30:25.713Z] 3d9ef1400e77: Verifying Checksum [2021-07-28T14:30:25.713Z] 3d9ef1400e77: Download complete [2021-07-28T14:30:26.312Z] 3d9ef1400e77: Pull complete [2021-07-28T14:30:26.582Z] fd332fbdc1db: Pull complete [2021-07-28T14:30:26.582Z] Digest: sha256:db6b30291b918ea2df8875cce3ed97fb48fa491dcbf862453db6614bc0bd4782 [2021-07-28T14:30:26.582Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-28T14:30:26.582Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-07-28T14:30:26.736Z] prd-centos7-docker-4c-2g-349 does not seem to be running inside a container [2021-07-28T14:30:26.812Z] $ 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-28T14:30:27.440Z] $ docker top 34f08d046e123e1374926ffa7067657c6b15d5aba742a307424d81f1ba8f4af9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-07-28T14:30:27.571Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-28T14:30:27.571Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-28T14:30:27.696Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-28T14:30:27.698Z] $ docker exec 34f08d046e123e1374926ffa7067657c6b15d5aba742a307424d81f1ba8f4af9 ssh-agent [2021-07-28T14:30:28.033Z] SSH_AUTH_SOCK=/tmp/ssh-hLdv3okE2QeN/agent.14 [2021-07-28T14:30:28.033Z] SSH_AGENT_PID=20 [2021-07-28T14:30:28.049Z] Running ssh-add (command line suppressed) [2021-07-28T14:30:28.159Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/private_key_6284738464561035639.key (/w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/private_key_6284738464561035639.key) [2021-07-28T14:30:28.186Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-28T14:30:28.525Z] + git tag --points-at HEAD [Pipeline] } [2021-07-28T14:30:28.561Z] $ docker exec --env ******** --env ******** 34f08d046e123e1374926ffa7067657c6b15d5aba742a307424d81f1ba8f4af9 ssh-agent -k [2021-07-28T14:30:28.659Z] unset SSH_AUTH_SOCK; [2021-07-28T14:30:28.659Z] unset SSH_AGENT_PID; [2021-07-28T14:30:28.660Z] echo Agent pid 20 killed; [2021-07-28T14:30:28.679Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-07-28T14:30:28.740Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-28T14:30:28.740Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-28T14:30:28.853Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-28T14:30:28.856Z] $ docker exec 34f08d046e123e1374926ffa7067657c6b15d5aba742a307424d81f1ba8f4af9 ssh-agent [2021-07-28T14:30:28.971Z] SSH_AUTH_SOCK=/tmp/ssh-IIr7U8J4RIqM/agent.55 [2021-07-28T14:30:28.971Z] SSH_AGENT_PID=61 [2021-07-28T14:30:28.981Z] Running ssh-add (command line suppressed) [2021-07-28T14:30:29.088Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/private_key_4387540702204502625.key (/w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/private_key_4387540702204502625.key) [2021-07-28T14:30:29.123Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-28T14:30:29.452Z] + git semver init [2021-07-28T14:30:29.452Z] # -> Open(): unable to determine branch for HEAD [2021-07-28T14:30:29.452Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-357/.git [2021-07-28T14:30:29.452Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-357 [2021-07-28T14:30:29.452Z] # $SEMVER_REMOTE_NAME = origin [2021-07-28T14:30:29.452Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-07-28T14:30:29.452Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-07-28T14:30:29.452Z] # $SEMVER_BRANCH = PR-357 [2021-07-28T14:30:29.452Z] # $SEMVER_TEMP = /tmp/semver-577472317 [2021-07-28T14:30:29.452Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2021-07-28T14:30:30.035Z] # '/tmp/semver-577472317' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-357/.semver' [2021-07-28T14:30:30.035Z] # -> Force: false [2021-07-28T14:30:30.035Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-357/.semver [Pipeline] } [2021-07-28T14:30:30.047Z] $ docker exec --env ******** --env ******** 34f08d046e123e1374926ffa7067657c6b15d5aba742a307424d81f1ba8f4af9 ssh-agent -k [2021-07-28T14:30:30.147Z] unset SSH_AUTH_SOCK; [2021-07-28T14:30:30.148Z] unset SSH_AGENT_PID; [2021-07-28T14:30:30.148Z] echo Agent pid 61 killed; [2021-07-28T14:30:30.168Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-28T14:30:30.513Z] + git semver [Pipeline] } [2021-07-28T14:30:30.534Z] $ docker stop --time=1 34f08d046e123e1374926ffa7067657c6b15d5aba742a307424d81f1ba8f4af9 [2021-07-28T14:30:31.753Z] $ docker rm -f 34f08d046e123e1374926ffa7067657c6b15d5aba742a307424d81f1ba8f4af9 [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-28T14:30:32.147Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-07-28T14:30:32.548Z] Stashed 1 file(s) [Pipeline] echo [2021-07-28T14:30:32.551Z] [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-28T14:30:47.804Z] Still waiting to schedule task [2021-07-28T14:30:47.804Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-349’ [2021-07-28T14:30:47.806Z] Still waiting to schedule task [2021-07-28T14:30:47.806Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-07-28T14:32:57.848Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-350 in /w/workspace/edgexfoundry_device-sdk-c_PR-357 [Pipeline] { [Pipeline] ws [2021-07-28T14:32:57.867Z] Running in /w/workspace/device-sdk-c/3 [Pipeline] { [Pipeline] checkout [2021-07-28T14:32:58.049Z] Selected Git installation does not exist. Using Default [2021-07-28T14:32:58.049Z] The recommended git tool is: NONE [2021-07-28T14:33:03.085Z] using credential edgex-jenkins-ssh [2021-07-28T14:33:03.106Z] Cloning the remote Git repository [2021-07-28T14:33:03.176Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-07-28T14:33:03.281Z] > git init /w/workspace/device-sdk-c/3 # timeout=10 [2021-07-28T14:33:03.387Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-07-28T14:33:03.392Z] > git --version # timeout=10 [2021-07-28T14:33:03.407Z] > git --version # 'git version 2.17.1' [2021-07-28T14:33:03.409Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-28T14:33:03.473Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-28T14:33:05.363Z] Merging remotes/origin/main commit 06bc10b48272c0f3cc1c2953f0a9dac9a54cc00f into PR head commit c057f0588fdea3f324fd5447e2fce0a3989f77bf [2021-07-28T14:33:04.687Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-07-28T14:33:04.714Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-28T14:33:04.749Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-07-28T14:33:04.780Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-07-28T14:33:04.780Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-28T14:33:04.792Z] > 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-28T14:33:05.397Z] > git config core.sparsecheckout # timeout=10 [2021-07-28T14:33:05.412Z] > git checkout -f c057f0588fdea3f324fd5447e2fce0a3989f77bf # timeout=10 [2021-07-28T14:33:05.654Z] Merge succeeded, producing 5048bae720c79543fca2aba60573befd8a3af3e7 [2021-07-28T14:33:05.655Z] Checking out Revision 5048bae720c79543fca2aba60573befd8a3af3e7 (PR-357) [2021-07-28T14:33:05.520Z] > git remote # timeout=10 [2021-07-28T14:33:05.538Z] > git config --get remote.origin.url # timeout=10 [2021-07-28T14:33:05.549Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-28T14:33:05.560Z] > git merge 06bc10b48272c0f3cc1c2953f0a9dac9a54cc00f # timeout=10 [2021-07-28T14:33:05.654Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-07-28T14:33:05.675Z] > git config core.sparsecheckout # timeout=10 [2021-07-28T14:33:05.693Z] > git checkout -f 5048bae720c79543fca2aba60573befd8a3af3e7 # timeout=10 [2021-07-28T14:33:09.938Z] Commit message: "Merge commit '06bc10b48272c0f3cc1c2953f0a9dac9a54cc00f' into HEAD" [2021-07-28T14:33:09.969Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-28T14:33:10.492Z] provisioning config files... [2021-07-28T14:33:10.522Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/3@tmp/config3325633896943286015tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-28T14:33:11.102Z] ---> docker-login.sh [2021-07-28T14:33:11.102Z] nexus3.edgexfoundry.org:10001 [2021-07-28T14:33:09.957Z] > git rev-list --no-walk 56650a93bd3a285f1611653009d11773249cf0f8 # timeout=10 [2021-07-28T14:33:12.088Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-28T14:33:12.686Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-28T14:33:12.686Z] Configure a credential helper to remove this warning. See [2021-07-28T14:33:12.686Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-28T14:33:12.686Z] [2021-07-28T14:33:12.686Z] Login Succeeded [2021-07-28T14:33:12.686Z] nexus3.edgexfoundry.org:10002 [2021-07-28T14:33:12.961Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-28T14:33:13.239Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-28T14:33:13.239Z] Configure a credential helper to remove this warning. See [2021-07-28T14:33:13.239Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-28T14:33:13.239Z] [2021-07-28T14:33:13.239Z] Login Succeeded [2021-07-28T14:33:13.239Z] nexus3.edgexfoundry.org:10003 [2021-07-28T14:33:13.842Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-28T14:33:13.842Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-28T14:33:13.842Z] Configure a credential helper to remove this warning. See [2021-07-28T14:33:13.842Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-28T14:33:13.842Z] [2021-07-28T14:33:13.842Z] Login Succeeded [2021-07-28T14:33:13.842Z] nexus3.edgexfoundry.org:10004 [2021-07-28T14:33:14.442Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-28T14:33:14.442Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-28T14:33:14.442Z] Configure a credential helper to remove this warning. See [2021-07-28T14:33:14.442Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-28T14:33:14.442Z] [2021-07-28T14:33:14.442Z] Login Succeeded [2021-07-28T14:33:14.442Z] docker.io [2021-07-28T14:33:15.042Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-28T14:33:15.316Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-28T14:33:15.316Z] Configure a credential helper to remove this warning. See [2021-07-28T14:33:15.316Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-28T14:33:15.316Z] [2021-07-28T14:33:15.316Z] Login Succeeded [2021-07-28T14:33:15.316Z] ---> docker-login.sh ends [Pipeline] } [2021-07-28T14:33:15.397Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-07-28T14:33:15.971Z] ========================================================= [2021-07-28T14:33:15.971Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2021-07-28T14:33:15.971Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-07-28T14:33:16.387Z] + 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-28T14:33:16.995Z] Sending build context to Docker daemon 2.692MB [2021-07-28T14:33:16.995Z] Step 1/25 : ARG BASE=alpine:3.12 [2021-07-28T14:33:16.995Z] Step 2/25 : FROM ${BASE} as builder [2021-07-28T14:33:17.602Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2021-07-28T14:33:17.602Z] d2f70382dc9a: Pulling fs layer [2021-07-28T14:33:17.602Z] b08cc2eccb4b: Pulling fs layer [2021-07-28T14:33:17.602Z] 7b69db201801: Pulling fs layer [2021-07-28T14:33:17.602Z] b08cc2eccb4b: Download complete [2021-07-28T14:33:17.881Z] d2f70382dc9a: Verifying Checksum [2021-07-28T14:33:17.881Z] d2f70382dc9a: Download complete [2021-07-28T14:33:18.482Z] d2f70382dc9a: Pull complete [2021-07-28T14:33:19.080Z] b08cc2eccb4b: Pull complete [2021-07-28T14:33:20.530Z] 7b69db201801: Verifying Checksum [2021-07-28T14:33:20.530Z] 7b69db201801: Download complete [2021-07-28T14:33:28.863Z] 7b69db201801: Pull complete [2021-07-28T14:33:28.863Z] Digest: sha256:6402f0ff92f22f5db569dc2a94aef5717e50795d64082fb226716824a8b8ffba [2021-07-28T14:33:28.863Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2021-07-28T14:33:28.863Z] ---> 759262b18b23 [2021-07-28T14:33:28.863Z] 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-28T14:33:29.841Z] ---> Running in 4b18f9885ae8 [2021-07-28T14:33:31.829Z] Connecting to iotech.jfrog.io (54.195.244.87:443) [2021-07-28T14:33:32.104Z] saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-07-28T14:33:32.104Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-07-28T14:33:32.104Z] '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [2021-07-28T14:33:33.095Z] Removing intermediate container 4b18f9885ae8 [2021-07-28T14:33:33.095Z] ---> 47c552224344 [2021-07-28T14:33:33.095Z] Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-07-28T14:33:33.366Z] ---> Running in b5563b1543e1 [2021-07-28T14:33:35.347Z] Removing intermediate container b5563b1543e1 [2021-07-28T14:33:35.347Z] ---> 4f8b3e8a44a4 [2021-07-28T14:33:35.347Z] 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-28T14:33:35.951Z] ---> Running in 120c6a811638 [2021-07-28T14:33:37.396Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-07-28T14:33:37.683Z] Running on prd-centos7-docker-4c-2g-351 in /w/workspace/edgexfoundry_device-sdk-c_PR-357 [Pipeline] { [Pipeline] ws [2021-07-28T14:33:37.698Z] Running in /w/workspace/device-sdk-c/3 [Pipeline] { [Pipeline] checkout [2021-07-28T14:33:37.818Z] Selected Git installation does not exist. Using Default [2021-07-28T14:33:37.818Z] The recommended git tool is: NONE [2021-07-28T14:33:38.375Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-07-28T14:33:39.355Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz [2021-07-28T14:33:39.949Z] (1/22) Installing hiredis (0.14.1-r0) [2021-07-28T14:33:39.949Z] (2/22) Installing hiredis-dev (0.14.1-r0) [2021-07-28T14:33:40.220Z] (3/22) Installing ncurses-dev (6.2_p20200523-r0) [2021-07-28T14:33:40.220Z] (4/22) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-07-28T14:33:40.489Z] using credential edgex-jenkins-ssh [2021-07-28T14:33:40.502Z] Cloning the remote Git repository [2021-07-28T14:33:40.383Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-07-28T14:33:40.459Z] > git init /w/workspace/device-sdk-c/3 # timeout=10 [2021-07-28T14:33:40.491Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-07-28T14:33:40.491Z] > git --version # timeout=10 [2021-07-28T14:33:40.497Z] > git --version # 'git version 2.24.4' [2021-07-28T14:33:40.497Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-28T14:33:40.532Z] [INFO] Currently running in a labeled security context [2021-07-28T14:33:40.532Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-28T14:33:40.532Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/3@tmp/jenkins-gitclient-ssh8544738882189636904.key [2021-07-28T14:33:40.548Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-28T14:33:41.652Z] (5/22) Installing libblkid (2.35.2-r0) [2021-07-28T14:33:41.871Z] Merging remotes/origin/main commit 06bc10b48272c0f3cc1c2953f0a9dac9a54cc00f into PR head commit c057f0588fdea3f324fd5447e2fce0a3989f77bf [2021-07-28T14:33:41.928Z] (6/22) Installing blkid (2.35.2-r0) [2021-07-28T14:33:41.929Z] (7/22) Installing libcap-ng (0.7.10-r1) [2021-07-28T14:33:41.983Z] Merge succeeded, producing dc3ff0f1699aa99a52bfb21f6f08698a555aa4ee [2021-07-28T14:33:41.984Z] Checking out Revision dc3ff0f1699aa99a52bfb21f6f08698a555aa4ee (PR-357) [2021-07-28T14:33:42.204Z] (8/22) Installing setpriv (2.35.2-r0) [2021-07-28T14:33:42.204Z] (9/22) Installing libmount (2.35.2-r0) [2021-07-28T14:33:41.246Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-07-28T14:33:41.258Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-28T14:33:41.269Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-07-28T14:33:41.283Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-07-28T14:33:41.283Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-28T14:33:41.284Z] [INFO] Currently running in a labeled security context [2021-07-28T14:33:41.284Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-28T14:33:41.285Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/3@tmp/jenkins-gitclient-ssh8081203929015324382.key [2021-07-28T14:33:41.290Z] > 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-28T14:33:41.855Z] > git config core.sparsecheckout # timeout=10 [2021-07-28T14:33:41.864Z] > git checkout -f c057f0588fdea3f324fd5447e2fce0a3989f77bf # timeout=10 [2021-07-28T14:33:41.913Z] > git remote # timeout=10 [2021-07-28T14:33:41.919Z] > git config --get remote.origin.url # timeout=10 [2021-07-28T14:33:41.922Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-28T14:33:41.923Z] [INFO] Currently running in a labeled security context [2021-07-28T14:33:41.923Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-28T14:33:41.923Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/3@tmp/jenkins-gitclient-ssh5738693171147802124.key [2021-07-28T14:33:41.930Z] > git merge 06bc10b48272c0f3cc1c2953f0a9dac9a54cc00f # timeout=10 [2021-07-28T14:33:41.954Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-07-28T14:33:41.969Z] > git config core.sparsecheckout # timeout=10 [2021-07-28T14:33:41.979Z] > git checkout -f dc3ff0f1699aa99a52bfb21f6f08698a555aa4ee # timeout=10 [2021-07-28T14:33:42.477Z] (10/22) Installing libsmartcols (2.35.2-r0) [2021-07-28T14:33:42.477Z] (11/22) Installing findmnt (2.35.2-r0) [2021-07-28T14:33:42.477Z] (12/22) Installing mcookie (2.35.2-r0) [2021-07-28T14:33:42.750Z] (13/22) Installing hexdump (2.35.2-r0) [2021-07-28T14:33:42.750Z] (14/22) Installing lsblk (2.35.2-r0) [2021-07-28T14:33:42.750Z] (15/22) Installing libuuid (2.35.2-r0) [2021-07-28T14:33:43.025Z] (16/22) Installing libfdisk (2.35.2-r0) [2021-07-28T14:33:43.025Z] (17/22) Installing sfdisk (2.35.2-r0) [2021-07-28T14:33:43.025Z] (18/22) Installing cfdisk (2.35.2-r0) [2021-07-28T14:33:43.299Z] (19/22) Installing util-linux (2.35.2-r0) [2021-07-28T14:33:43.578Z] (20/22) Installing util-linux-dev (2.35.2-r0) [2021-07-28T14:33:43.856Z] (21/22) Installing libidn2 (2.3.0-r0) [2021-07-28T14:33:44.131Z] (22/22) Installing wget (1.20.3-r1) [2021-07-28T14:33:44.131Z] Executing busybox-1.31.1-r20.trigger [2021-07-28T14:33:44.131Z] OK: 276 MiB in 97 packages [2021-07-28T14:33:45.721Z] Commit message: "Merge commit '06bc10b48272c0f3cc1c2953f0a9dac9a54cc00f' into HEAD" [2021-07-28T14:33:45.780Z] First time build. Skipping changelog. [2021-07-28T14:33:45.772Z] > git rev-list --no-walk 56650a93bd3a285f1611653009d11773249cf0f8 # timeout=10 [2021-07-28T14:33:46.111Z] Removing intermediate container 120c6a811638 [2021-07-28T14:33:46.111Z] ---> 3779d639cedb [2021-07-28T14:33:46.111Z] Step 6/25 : ENV CBOR_VERSION=0.5.0 [2021-07-28T14:33:46.111Z] ---> Running in c2fe73df927f [2021-07-28T14:33:46.384Z] Removing intermediate container c2fe73df927f [2021-07-28T14:33:46.384Z] ---> c7990a6df6a4 [2021-07-28T14:33:46.384Z] 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 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-28T14:33:46.552Z] provisioning config files... [2021-07-28T14:33:46.571Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/3@tmp/config4575172069722994893tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-28T14:33:46.656Z] ---> Running in c6335f5f5f9a [2021-07-28T14:33:47.013Z] ---> docker-login.sh [2021-07-28T14:33:47.013Z] nexus3.edgexfoundry.org:10001 [2021-07-28T14:33:47.013Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-28T14:33:47.279Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-28T14:33:47.279Z] Configure a credential helper to remove this warning. See [2021-07-28T14:33:47.279Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-28T14:33:47.279Z] [2021-07-28T14:33:47.279Z] Login Succeeded [2021-07-28T14:33:47.279Z] nexus3.edgexfoundry.org:10002 [2021-07-28T14:33:47.279Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-28T14:33:47.547Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-28T14:33:47.547Z] Configure a credential helper to remove this warning. See [2021-07-28T14:33:47.547Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-28T14:33:47.547Z] [2021-07-28T14:33:47.547Z] Login Succeeded [2021-07-28T14:33:47.547Z] nexus3.edgexfoundry.org:10003 [2021-07-28T14:33:47.547Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-28T14:33:47.814Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-28T14:33:47.814Z] Configure a credential helper to remove this warning. See [2021-07-28T14:33:47.814Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-28T14:33:47.814Z] [2021-07-28T14:33:47.814Z] Login Succeeded [2021-07-28T14:33:47.814Z] nexus3.edgexfoundry.org:10004 [2021-07-28T14:33:47.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-28T14:33:48.081Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-28T14:33:48.081Z] Configure a credential helper to remove this warning. See [2021-07-28T14:33:48.081Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-28T14:33:48.081Z] [2021-07-28T14:33:48.081Z] Login Succeeded [2021-07-28T14:33:48.081Z] docker.io [2021-07-28T14:33:48.081Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-28T14:33:48.088Z] --2021-07-28 14:33:47-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-07-28T14:33:48.088Z] Resolving github.com (github.com)... 140.82.112.3 [2021-07-28T14:33:48.088Z] Connecting to github.com (github.com)|140.82.112.3|:443... connected. [2021-07-28T14:33:48.088Z] HTTP request sent, awaiting response... 302 Found [2021-07-28T14:33:48.088Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-07-28T14:33:48.088Z] --2021-07-28 14:33:47-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-07-28T14:33:48.088Z] Resolving codeload.github.com (codeload.github.com)... 140.82.112.9 [2021-07-28T14:33:48.088Z] Connecting to codeload.github.com (codeload.github.com)|140.82.112.9|:443... connected. [2021-07-28T14:33:48.347Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-28T14:33:48.347Z] Configure a credential helper to remove this warning. See [2021-07-28T14:33:48.347Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-28T14:33:48.347Z] [2021-07-28T14:33:48.347Z] Login Succeeded [2021-07-28T14:33:48.347Z] ---> docker-login.sh ends [2021-07-28T14:33:48.362Z] HTTP request sent, awaiting response... 200 OK [2021-07-28T14:33:48.362Z] Length: unspecified [application/x-gzip] [2021-07-28T14:33:48.362Z] Saving to: 'STDOUT' [2021-07-28T14:33:48.362Z]  [2021-07-28T14:33:48.362Z] 0K .......... .......... .......... .......... .......... 1.28M [2021-07-28T14:33:48.362Z] 50K .......... .......... .......... .......... .......... 2.58M [2021-07-28T14:33:48.362Z] 100K .......... .......... .......... .......... .......... 13.3M [2021-07-28T14:33:48.362Z] 150K .......... .......... .......... .......... .......... 2.92M [2021-07-28T14:33:48.362Z] 200K .......... .......... .......... .......... .......... 14.9M [2021-07-28T14:33:48.362Z] 250K .......... .......... .......... .......... .......... 3.29M [2021-07-28T14:33:48.362Z] 300K .......... .......... .......... .......... .......... 4.96M [2021-07-28T14:33:48.362Z] 350K .......... .......... .......... .......... .......... 5.29M [2021-07-28T14:33:48.362Z] 400K .......... .......... .......... .......... .......... 3.82M [2021-07-28T14:33:48.362Z] 450K .......... .......... .......... .......... .......... 3.59M [2021-07-28T14:33:48.362Z] 500K .......... .......... .......... .......... .......... 7.61M [2021-07-28T14:33:48.362Z] 550K .......... .......... .......... .......... .......... 3.83M [2021-07-28T14:33:48.362Z] 600K .......... .......... .......... .......... .......... 799K [2021-07-28T14:33:48.362Z] 650K .......... .......... .......... .......... .......... 1.89M [Pipeline] } [2021-07-28T14:33:48.408Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-07-28T14:33:48.618Z] ========================================================= [2021-07-28T14:33:48.618Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2021-07-28T14:33:48.618Z] ========================================================= [Pipeline] isUnix [2021-07-28T14:33:48.636Z] 700K ..                                  2.97M=0.2s [2021-07-28T14:33:48.637Z] [2021-07-28T14:33:48.637Z] 2021-07-28 14:33:48 (2.75 MB/s) - written to stdout [719348] [2021-07-28T14:33:48.637Z] [Pipeline] sh [2021-07-28T14:33:48.910Z] -- The C compiler identification is GNU 9.3.0 [2021-07-28T14:33:48.911Z] -- The CXX compiler identification is GNU 9.3.0 [2021-07-28T14:33:48.952Z] + 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-28T14:33:48.953Z] Sending build context to Docker daemon 2.693MB [2021-07-28T14:33:48.953Z] Step 1/25 : ARG BASE=alpine:3.12 [2021-07-28T14:33:48.953Z] Step 2/25 : FROM ${BASE} as builder [2021-07-28T14:33:49.183Z] -- Check for working C compiler: /usr/bin/cc [2021-07-28T14:33:49.183Z] -- Check for working C compiler: /usr/bin/cc - works [2021-07-28T14:33:49.218Z] latest: Pulling from edgex-devops/edgex-gcc-base [2021-07-28T14:33:49.218Z] 339de151aab4: Pulling fs layer [2021-07-28T14:33:49.218Z] 3691962f683c: Pulling fs layer [2021-07-28T14:33:49.218Z] e1147bf81a45: Pulling fs layer [2021-07-28T14:33:49.218Z] 3691962f683c: Verifying Checksum [2021-07-28T14:33:49.218Z] 3691962f683c: Download complete [2021-07-28T14:33:49.456Z] -- Detecting C compiler ABI info [2021-07-28T14:33:49.456Z] -- Detecting C compiler ABI info - done [2021-07-28T14:33:49.487Z] 339de151aab4: Verifying Checksum [2021-07-28T14:33:49.487Z] 339de151aab4: Download complete [2021-07-28T14:33:49.728Z] -- Detecting C compile features [2021-07-28T14:33:49.728Z] -- Detecting C compile features - done [2021-07-28T14:33:49.728Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-07-28T14:33:49.756Z] 339de151aab4: Pull complete [2021-07-28T14:33:49.756Z] 3691962f683c: Pull complete [2021-07-28T14:33:50.005Z] -- Check for working CXX compiler: /usr/bin/c++ - works [2021-07-28T14:33:50.005Z] -- Detecting CXX compiler ABI info [2021-07-28T14:33:50.276Z] -- Detecting CXX compiler ABI info - done [2021-07-28T14:33:50.276Z] -- Detecting CXX compile features [2021-07-28T14:33:50.276Z] -- Detecting CXX compile features - done [2021-07-28T14:33:50.276Z] -- Looking for include file endian.h [2021-07-28T14:33:50.548Z] -- Looking for include file endian.h - found [2021-07-28T14:33:50.548Z] -- Check if the system is big endian [2021-07-28T14:33:50.548Z] -- Searching 16 bit integer [2021-07-28T14:33:50.548Z] -- Looking for sys/types.h [2021-07-28T14:33:50.821Z] -- Looking for sys/types.h - found [2021-07-28T14:33:50.821Z] -- Looking for stdint.h [2021-07-28T14:33:51.095Z] -- Looking for stdint.h - found [2021-07-28T14:33:51.095Z] -- Looking for stddef.h [2021-07-28T14:33:51.369Z] -- Looking for stddef.h - found [2021-07-28T14:33:51.369Z] -- Check size of unsigned short [2021-07-28T14:33:51.643Z] -- Check size of unsigned short - done [2021-07-28T14:33:51.643Z] -- Searching 16 bit integer - Using unsigned short [2021-07-28T14:33:51.929Z] -- Check if the system is big endian - little endian [2021-07-28T14:33:51.929Z] -- Check size of size_t [2021-07-28T14:33:52.204Z] -- Check size of size_t - done [2021-07-28T14:33:52.205Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-07-28T14:33:52.205Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-07-28T14:33:52.205Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-07-28T14:33:52.205Z] CMake did not find one. [2021-07-28T14:33:52.205Z] [2021-07-28T14:33:52.205Z] Could not find a package configuration file provided by "cJSON" with any of [2021-07-28T14:33:52.205Z] the following names: [2021-07-28T14:33:52.205Z] [2021-07-28T14:33:52.205Z] cJSONConfig.cmake [2021-07-28T14:33:52.205Z] cjson-config.cmake [2021-07-28T14:33:52.205Z] [2021-07-28T14:33:52.205Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-07-28T14:33:52.205Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-07-28T14:33:52.205Z] provides a separate development package or SDK, be sure it has been [2021-07-28T14:33:52.205Z] installed. [2021-07-28T14:33:52.205Z] [2021-07-28T14:33:52.205Z] [2021-07-28T14:33:52.205Z] -- Configuring done [2021-07-28T14:33:52.477Z] -- Generating done [2021-07-28T14:33:52.477Z] -- Build files have been written to: /tmp/cbor [2021-07-28T14:33:52.477Z] Scanning dependencies of target cbor_shared [2021-07-28T14:33:52.477Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-07-28T14:33:53.476Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-07-28T14:33:54.006Z] e1147bf81a45: Verifying Checksum [2021-07-28T14:33:54.006Z] e1147bf81a45: Download complete [2021-07-28T14:33:54.069Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-07-28T14:33:54.069Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-07-28T14:33:54.667Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-07-28T14:33:54.941Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-07-28T14:33:55.217Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-07-28T14:33:55.217Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-07-28T14:33:55.489Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-07-28T14:33:55.761Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-07-28T14:33:56.360Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-07-28T14:33:56.632Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-07-28T14:33:56.633Z] e1147bf81a45: Pull complete [2021-07-28T14:33:56.633Z] Digest: sha256:32c567f17180c4abff101a0d389449dec7f3f623a221c8a8ae98dcac9b0d9fee [2021-07-28T14:33:56.633Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2021-07-28T14:33:56.633Z] ---> ac6a0feb3254 [2021-07-28T14:33:56.633Z] 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-28T14:33:57.226Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-07-28T14:33:57.500Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-07-28T14:33:57.593Z] ---> Running in c7778c86e6b4 [2021-07-28T14:33:57.593Z] Connecting to iotech.jfrog.io (54.229.110.245:443) [2021-07-28T14:33:57.774Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-07-28T14:33:58.047Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-07-28T14:33:58.176Z] saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-07-28T14:33:58.176Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-07-28T14:33:58.176Z] '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [2021-07-28T14:33:58.176Z] Removing intermediate container c7778c86e6b4 [2021-07-28T14:33:58.176Z] ---> 013ace0e1f70 [2021-07-28T14:33:58.176Z] Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-07-28T14:33:58.176Z] ---> Running in 5e8a4dfb94d6 [2021-07-28T14:33:58.321Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-07-28T14:33:58.594Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-07-28T14:33:58.594Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-07-28T14:33:58.760Z] Removing intermediate container 5e8a4dfb94d6 [2021-07-28T14:33:58.760Z] ---> cf1002cc472f [2021-07-28T14:33:58.760Z] 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-28T14:33:58.760Z] ---> Running in c07290b6251b [2021-07-28T14:33:59.030Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-07-28T14:33:59.191Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-07-28T14:33:59.191Z] [ 40%] Linking C shared library libcbor.so [2021-07-28T14:33:59.191Z] [ 40%] Built target cbor_shared [2021-07-28T14:33:59.191Z] Scanning dependencies of target cbor [2021-07-28T14:33:59.464Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-07-28T14:33:59.611Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-07-28T14:33:59.880Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz [2021-07-28T14:34:00.061Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-07-28T14:34:00.464Z] (1/22) Installing hiredis (0.14.1-r0) [2021-07-28T14:34:00.464Z] (2/22) Installing hiredis-dev (0.14.1-r0) [2021-07-28T14:34:00.654Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-07-28T14:34:00.732Z] (3/22) Installing ncurses-dev (6.2_p20200523-r0) [2021-07-28T14:34:00.732Z] (4/22) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-07-28T14:34:00.927Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-07-28T14:34:02.149Z] (5/22) Installing libblkid (2.35.2-r0) [2021-07-28T14:34:02.418Z] (6/22) Installing blkid (2.35.2-r0) [2021-07-28T14:34:02.418Z] (7/22) Installing libcap-ng (0.7.10-r1) [2021-07-28T14:34:02.418Z] (8/22) Installing setpriv (2.35.2-r0) [2021-07-28T14:34:02.683Z] (9/22) Installing libmount (2.35.2-r0) [2021-07-28T14:34:02.683Z] (10/22) Installing libsmartcols (2.35.2-r0) [2021-07-28T14:34:02.911Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-07-28T14:34:02.911Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-07-28T14:34:02.950Z] (11/22) Installing findmnt (2.35.2-r0) [2021-07-28T14:34:02.950Z] (12/22) Installing mcookie (2.35.2-r0) [2021-07-28T14:34:02.950Z] (13/22) Installing hexdump (2.35.2-r0) [2021-07-28T14:34:03.185Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-07-28T14:34:03.217Z] (14/22) Installing lsblk (2.35.2-r0) [2021-07-28T14:34:03.217Z] (15/22) Installing libuuid (2.35.2-r0) [2021-07-28T14:34:03.217Z] (16/22) Installing libfdisk (2.35.2-r0) [2021-07-28T14:34:03.457Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-07-28T14:34:03.457Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-07-28T14:34:03.489Z] (17/22) Installing sfdisk (2.35.2-r0) [2021-07-28T14:34:03.489Z] (18/22) Installing cfdisk (2.35.2-r0) [2021-07-28T14:34:03.489Z] (19/22) Installing util-linux (2.35.2-r0) [2021-07-28T14:34:04.059Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-07-28T14:34:04.078Z] (20/22) Installing util-linux-dev (2.35.2-r0) [2021-07-28T14:34:04.078Z] (21/22) Installing libidn2 (2.3.0-r0) [2021-07-28T14:34:04.352Z] (22/22) Installing wget (1.20.3-r1) [2021-07-28T14:34:04.352Z] Executing busybox-1.31.1-r20.trigger [2021-07-28T14:34:04.352Z] OK: 295 MiB in 97 packages [2021-07-28T14:34:04.660Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-07-28T14:34:04.932Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-07-28T14:34:04.936Z] Removing intermediate container c07290b6251b [2021-07-28T14:34:04.936Z] ---> 695efa0e123b [2021-07-28T14:34:04.936Z] Step 6/25 : ENV CBOR_VERSION=0.5.0 [2021-07-28T14:34:04.936Z] ---> Running in 9125f7564c1d [2021-07-28T14:34:04.936Z] Removing intermediate container 9125f7564c1d [2021-07-28T14:34:04.936Z] ---> 7820a11a1f10 [2021-07-28T14:34:04.936Z] 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-28T14:34:04.936Z] ---> Running in 1ed8d4d3622b [2021-07-28T14:34:05.202Z] --2021-07-28 14:34:05-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-07-28T14:34:05.202Z] Resolving github.com (github.com)... 140.82.112.3 [2021-07-28T14:34:05.202Z] Connecting to github.com (github.com)|140.82.112.3|:443... connected. [2021-07-28T14:34:05.202Z] HTTP request sent, awaiting response... 302 Found [2021-07-28T14:34:05.202Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-07-28T14:34:05.202Z] --2021-07-28 14:34:05-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-07-28T14:34:05.202Z] Resolving codeload.github.com (codeload.github.com)... 140.82.112.9 [2021-07-28T14:34:05.202Z] Connecting to codeload.github.com (codeload.github.com)|140.82.112.9|:443... connected. [2021-07-28T14:34:05.205Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-07-28T14:34:05.467Z] HTTP request sent, awaiting response... 200 OK [2021-07-28T14:34:05.467Z] Length: unspecified [application/x-gzip] [2021-07-28T14:34:05.467Z] Saving to: 'STDOUT' [2021-07-28T14:34:05.467Z] [2021-07-28T14:34:05.467Z] 0K .......... .......... .......... .......... .......... 1.44M [2021-07-28T14:34:05.467Z] 50K .......... .......... .......... .......... .......... 1.49M [2021-07-28T14:34:05.467Z] 100K .......... .......... .......... .......... .......... 1.46M [2021-07-28T14:34:05.467Z] 150K .......... .......... .......... .......... .......... 1.47M [2021-07-28T14:34:05.467Z] 200K .......... .......... .......... .......... .......... 1.48M [2021-07-28T14:34:05.467Z] 250K .......... .......... .......... .......... .......... 2.81M [2021-07-28T14:34:05.735Z] 300K .......... .......... .......... .......... .......... 1.47M [2021-07-28T14:34:05.735Z] 350K .......... .......... .......... .......... .......... 2.68M [2021-07-28T14:34:05.735Z] 400K .......... .......... .......... .......... .......... 1.56M [2021-07-28T14:34:05.735Z] 450K .......... .......... .......... .......... .......... 2.78M [2021-07-28T14:34:05.735Z] 500K .......... .......... .......... .......... .......... 1.56M [2021-07-28T14:34:05.735Z] 550K .......... .......... .......... .......... .......... 2.13M [2021-07-28T14:34:05.735Z] 600K .......... .......... .......... .......... .......... 1.97M [2021-07-28T14:34:05.735Z] 650K .......... .......... .......... .......... .......... 3.02M [2021-07-28T14:34:05.735Z] 700K .. 65.6M=0.4s [2021-07-28T14:34:05.735Z] [2021-07-28T14:34:05.735Z] 2021-07-28 14:34:05 (1.81 MB/s) - written to stdout [719348] [2021-07-28T14:34:05.735Z] [2021-07-28T14:34:05.735Z] -- The C compiler identification is GNU 9.3.0 [2021-07-28T14:34:05.799Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-07-28T14:34:06.003Z] -- The CXX compiler identification is GNU 9.3.0 [2021-07-28T14:34:06.003Z] -- Check for working C compiler: /usr/bin/cc [2021-07-28T14:34:06.003Z] -- Check for working C compiler: /usr/bin/cc - works [2021-07-28T14:34:06.003Z] -- Detecting C compiler ABI info [2021-07-28T14:34:06.003Z] -- Detecting C compiler ABI info - done [2021-07-28T14:34:06.003Z] -- Detecting C compile features [2021-07-28T14:34:06.003Z] -- Detecting C compile features - done [2021-07-28T14:34:06.003Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-07-28T14:34:06.072Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-07-28T14:34:06.270Z] -- Check for working CXX compiler: /usr/bin/c++ - works [2021-07-28T14:34:06.270Z] -- Detecting CXX compiler ABI info [2021-07-28T14:34:06.270Z] -- Detecting CXX compiler ABI info - done [2021-07-28T14:34:06.270Z] -- Detecting CXX compile features [2021-07-28T14:34:06.270Z] -- Detecting CXX compile features - done [2021-07-28T14:34:06.270Z] -- Looking for include file endian.h [2021-07-28T14:34:06.270Z] -- Looking for include file endian.h - found [2021-07-28T14:34:06.270Z] -- Check if the system is big endian [2021-07-28T14:34:06.270Z] -- Searching 16 bit integer [2021-07-28T14:34:06.270Z] -- Looking for sys/types.h [2021-07-28T14:34:06.270Z] -- Looking for sys/types.h - found [2021-07-28T14:34:06.270Z] -- Looking for stdint.h [2021-07-28T14:34:06.346Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-07-28T14:34:06.535Z] -- Looking for stdint.h - found [2021-07-28T14:34:06.535Z] -- Looking for stddef.h [2021-07-28T14:34:06.535Z] -- Looking for stddef.h - found [2021-07-28T14:34:06.535Z] -- Check size of unsigned short [2021-07-28T14:34:06.535Z] -- Check size of unsigned short - done [2021-07-28T14:34:06.535Z] -- Searching 16 bit integer - Using unsigned short [2021-07-28T14:34:06.619Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-07-28T14:34:06.803Z] -- Check if the system is big endian - little endian [2021-07-28T14:34:06.803Z] -- Check size of size_t [2021-07-28T14:34:06.803Z] -- Check size of size_t - done [2021-07-28T14:34:06.803Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-07-28T14:34:06.803Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-07-28T14:34:06.803Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-07-28T14:34:06.803Z] CMake did not find one. [2021-07-28T14:34:06.803Z] [2021-07-28T14:34:06.803Z] Could not find a package configuration file provided by "cJSON" with any of [2021-07-28T14:34:06.803Z] the following names: [2021-07-28T14:34:06.803Z] [2021-07-28T14:34:06.803Z] cJSONConfig.cmake [2021-07-28T14:34:06.803Z] cjson-config.cmake [2021-07-28T14:34:06.803Z] [2021-07-28T14:34:06.803Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-07-28T14:34:06.803Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-07-28T14:34:06.803Z] provides a separate development package or SDK, be sure it has been [2021-07-28T14:34:06.803Z] installed. [2021-07-28T14:34:06.803Z] [2021-07-28T14:34:06.803Z] [2021-07-28T14:34:06.803Z] -- Configuring done [2021-07-28T14:34:06.803Z] -- Generating done [2021-07-28T14:34:06.803Z] -- Build files have been written to: /tmp/cbor [2021-07-28T14:34:06.803Z] Scanning dependencies of target cbor_shared [2021-07-28T14:34:06.803Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-07-28T14:34:06.891Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-07-28T14:34:06.891Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-07-28T14:34:07.073Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-07-28T14:34:07.073Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-07-28T14:34:07.073Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-07-28T14:34:07.342Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-07-28T14:34:07.342Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-07-28T14:34:07.342Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-07-28T14:34:07.342Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-07-28T14:34:07.342Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-07-28T14:34:07.342Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-07-28T14:34:07.485Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-07-28T14:34:07.485Z] [ 80%] Linking C static library libcbor.a [2021-07-28T14:34:07.486Z] [ 80%] Built target cbor [2021-07-28T14:34:07.608Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-07-28T14:34:07.608Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-07-28T14:34:07.608Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-07-28T14:34:07.761Z] Scanning dependencies of target sort [2021-07-28T14:34:07.761Z] [ 82%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-07-28T14:34:07.761Z] [ 84%] Linking C executable sort [2021-07-28T14:34:07.874Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-07-28T14:34:07.875Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-07-28T14:34:07.875Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-07-28T14:34:07.875Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-07-28T14:34:08.036Z] [ 84%] Built target sort [2021-07-28T14:34:08.037Z] Scanning dependencies of target readfile [2021-07-28T14:34:08.037Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-07-28T14:34:08.142Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-07-28T14:34:08.142Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-07-28T14:34:08.142Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-07-28T14:34:08.142Z] [ 40%] Linking C shared library libcbor.so [2021-07-28T14:34:08.142Z] [ 40%] Built target cbor_shared [2021-07-28T14:34:08.142Z] Scanning dependencies of target cbor [2021-07-28T14:34:08.142Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-07-28T14:34:08.310Z] [ 88%] Linking C executable readfile [2021-07-28T14:34:08.310Z] [ 88%] Built target readfile [2021-07-28T14:34:08.310Z] Scanning dependencies of target streaming_parser [2021-07-28T14:34:08.310Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-07-28T14:34:08.409Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-07-28T14:34:08.409Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-07-28T14:34:08.409Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-07-28T14:34:08.582Z] [ 92%] Linking C executable streaming_parser [2021-07-28T14:34:08.583Z] [ 92%] Built target streaming_parser [2021-07-28T14:34:08.583Z] Scanning dependencies of target hello [2021-07-28T14:34:08.679Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-07-28T14:34:08.856Z] [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-07-28T14:34:08.856Z] [ 96%] Linking C executable hello [2021-07-28T14:34:08.856Z] [ 96%] Built target hello [2021-07-28T14:34:08.856Z] Scanning dependencies of target create_items [2021-07-28T14:34:08.945Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-07-28T14:34:08.945Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-07-28T14:34:08.945Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-07-28T14:34:08.945Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-07-28T14:34:08.945Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-07-28T14:34:09.129Z] [ 98%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-07-28T14:34:09.129Z] [100%] Linking C executable create_items [2021-07-28T14:34:09.212Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-07-28T14:34:09.213Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-07-28T14:34:09.404Z] [100%] Built target create_items [2021-07-28T14:34:09.404Z] Install the project... [2021-07-28T14:34:09.404Z] -- Install configuration: "Release" [2021-07-28T14:34:09.404Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-07-28T14:34:09.404Z] -- Installing: /usr/local/lib64/libcbor.a [2021-07-28T14:34:09.404Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-07-28T14:34:09.404Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-07-28T14:34:09.404Z] -- Installing: /usr/local/lib64/libcbor.so [2021-07-28T14:34:09.404Z] -- Up-to-date: /usr/local/include/cbor [2021-07-28T14:34:09.404Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-07-28T14:34:09.404Z] -- Installing: /usr/local/include/cbor/ints.h [2021-07-28T14:34:09.404Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-07-28T14:34:09.404Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-07-28T14:34:09.404Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-07-28T14:34:09.404Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-07-28T14:34:09.404Z] -- Installing: /usr/local/include/cbor/data.h [2021-07-28T14:34:09.404Z] -- Installing: /usr/local/include/cbor/common.h [2021-07-28T14:34:09.404Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-07-28T14:34:09.404Z] -- Installing: /usr/local/include/cbor/strings.h [2021-07-28T14:34:09.404Z] -- Installing: /usr/local/include/cbor/tags.h [2021-07-28T14:34:09.404Z] -- Installing: /usr/local/include/cbor/internal [2021-07-28T14:34:09.404Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-07-28T14:34:09.404Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-07-28T14:34:09.404Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-07-28T14:34:09.404Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-07-28T14:34:09.404Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-07-28T14:34:09.404Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-07-28T14:34:09.404Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-07-28T14:34:09.404Z] -- Installing: /usr/local/include/cbor/maps.h [2021-07-28T14:34:09.404Z] -- Installing: /usr/local/include/cbor.h [2021-07-28T14:34:09.404Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-07-28T14:34:09.479Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-07-28T14:34:09.479Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-07-28T14:34:09.479Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-07-28T14:34:09.479Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-07-28T14:34:09.747Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-07-28T14:34:09.747Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-07-28T14:34:09.747Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-07-28T14:34:09.747Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-07-28T14:34:09.747Z] [ 80%] Linking C static library libcbor.a [2021-07-28T14:34:09.747Z] [ 80%] Built target cbor [2021-07-28T14:34:09.747Z] Scanning dependencies of target sort [2021-07-28T14:34:09.747Z] [ 82%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-07-28T14:34:10.014Z] [ 84%] Linking C executable sort [2021-07-28T14:34:10.014Z] [ 84%] Built target sort [2021-07-28T14:34:10.014Z] Scanning dependencies of target readfile [2021-07-28T14:34:10.014Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-07-28T14:34:10.014Z] [ 88%] Linking C executable readfile [2021-07-28T14:34:10.014Z] [ 88%] Built target readfile [2021-07-28T14:34:10.014Z] Scanning dependencies of target streaming_parser [2021-07-28T14:34:10.014Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-07-28T14:34:10.014Z] [ 92%] Linking C executable streaming_parser [2021-07-28T14:34:10.014Z] [ 92%] Built target streaming_parser [2021-07-28T14:34:10.014Z] Scanning dependencies of target hello [2021-07-28T14:34:10.014Z] [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-07-28T14:34:10.282Z] [ 96%] Linking C executable hello [2021-07-28T14:34:10.282Z] [ 96%] Built target hello [2021-07-28T14:34:10.282Z] Scanning dependencies of target create_items [2021-07-28T14:34:10.282Z] [ 98%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-07-28T14:34:10.282Z] [100%] Linking C executable create_items [2021-07-28T14:34:10.282Z] [100%] Built target create_items [2021-07-28T14:34:10.282Z] Install the project... [2021-07-28T14:34:10.282Z] -- Install configuration: "Release" [2021-07-28T14:34:10.282Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-07-28T14:34:10.282Z] -- Installing: /usr/local/lib64/libcbor.a [2021-07-28T14:34:10.282Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-07-28T14:34:10.282Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-07-28T14:34:10.282Z] -- Installing: /usr/local/lib64/libcbor.so [2021-07-28T14:34:10.282Z] -- Up-to-date: /usr/local/include/cbor [2021-07-28T14:34:10.282Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-07-28T14:34:10.282Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-07-28T14:34:10.282Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-07-28T14:34:10.282Z] -- Installing: /usr/local/include/cbor/common.h [2021-07-28T14:34:10.282Z] -- Installing: /usr/local/include/cbor/data.h [2021-07-28T14:34:10.282Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-07-28T14:34:10.282Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-07-28T14:34:10.282Z] -- Installing: /usr/local/include/cbor/internal [2021-07-28T14:34:10.282Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-07-28T14:34:10.282Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-07-28T14:34:10.282Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-07-28T14:34:10.282Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-07-28T14:34:10.282Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-07-28T14:34:10.282Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-07-28T14:34:10.282Z] -- Installing: /usr/local/include/cbor/ints.h [2021-07-28T14:34:10.282Z] -- Installing: /usr/local/include/cbor/maps.h [2021-07-28T14:34:10.282Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-07-28T14:34:10.282Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-07-28T14:34:10.282Z] -- Installing: /usr/local/include/cbor/strings.h [2021-07-28T14:34:10.282Z] -- Installing: /usr/local/include/cbor/tags.h [2021-07-28T14:34:10.282Z] -- Installing: /usr/local/include/cbor.h [2021-07-28T14:34:10.282Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-07-28T14:34:10.868Z] Removing intermediate container 1ed8d4d3622b [2021-07-28T14:34:10.868Z] ---> 80e35caac6de [2021-07-28T14:34:10.868Z] Step 8/25 : RUN mkdir /tmp/sdk [2021-07-28T14:34:10.868Z] ---> Running in 46bebeae18b8 [2021-07-28T14:34:11.137Z] Removing intermediate container 46bebeae18b8 [2021-07-28T14:34:11.137Z] ---> fed7f47a3721 [2021-07-28T14:34:11.137Z] Step 9/25 : COPY VERSION /tmp/sdk [2021-07-28T14:34:11.387Z] Removing intermediate container c6335f5f5f9a [2021-07-28T14:34:11.387Z] ---> d84d0b2be7e8 [2021-07-28T14:34:11.387Z] Step 8/25 : RUN mkdir /tmp/sdk [2021-07-28T14:34:11.387Z] ---> Running in 91b43a171ff2 [2021-07-28T14:34:11.407Z] ---> 183488974186 [2021-07-28T14:34:11.407Z] Step 10/25 : COPY src /tmp/sdk/src [2021-07-28T14:34:11.675Z] ---> 72b43e8a550b [2021-07-28T14:34:11.675Z] Step 11/25 : COPY include /tmp/sdk/include [2021-07-28T14:34:11.675Z] ---> b8ac961c1ca5 [2021-07-28T14:34:11.675Z] Step 12/25 : COPY scripts /tmp/sdk/scripts [2021-07-28T14:34:11.943Z] ---> 8ead3f3aed16 [2021-07-28T14:34:11.943Z] Step 13/25 : COPY LICENSE /tmp/sdk [2021-07-28T14:34:11.943Z] ---> 2236842c913b [2021-07-28T14:34:11.943Z] Step 14/25 : COPY Attribution.txt /tmp/sdk [2021-07-28T14:34:12.422Z] ---> 2ea61a981df1 [2021-07-28T14:34:12.422Z] Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-07-28T14:34:12.422Z] ---> Running in ebdff9ae3119 [2021-07-28T14:34:12.422Z] + CPPCHECK=false [2021-07-28T14:34:12.422Z] + DOCGEN=false [2021-07-28T14:34:12.422Z] + TOMLVER=SDK-0.2 [2021-07-28T14:34:12.422Z] + CUTILVER=1.1.4 [2021-07-28T14:34:12.422Z] + '[' 0 -gt 0 ] [2021-07-28T14:34:12.422Z] + readlink -f ./scripts/build.sh [2021-07-28T14:34:12.422Z] + dirname /tmp/sdk/scripts/build.sh [2021-07-28T14:34:12.422Z] + dirname /tmp/sdk/scripts [2021-07-28T14:34:12.422Z] + ROOT=/tmp/sdk [2021-07-28T14:34:12.422Z] + cd /tmp/sdk [2021-07-28T14:34:12.422Z] + '[' '!' -d deps ] [2021-07-28T14:34:12.422Z] + mkdir deps [2021-07-28T14:34:12.422Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-07-28T14:34:12.422Z] + tar -C deps -z -x -f - [2021-07-28T14:34:12.422Z] --2021-07-28 14:34:12-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-07-28T14:34:12.422Z] Resolving github.com (github.com)... 140.82.112.3 [2021-07-28T14:34:12.422Z] Connecting to github.com (github.com)|140.82.112.3|:443... connected. [2021-07-28T14:34:12.693Z] HTTP request sent, awaiting response... 302 Found [2021-07-28T14:34:12.693Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-07-28T14:34:12.693Z] --2021-07-28 14:34:12-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-07-28T14:34:12.693Z] Resolving codeload.github.com (codeload.github.com)... 140.82.112.9 [2021-07-28T14:34:12.693Z] Connecting to codeload.github.com (codeload.github.com)|140.82.112.9|:443... connected. [2021-07-28T14:34:12.693Z] HTTP request sent, awaiting response... 200 OK [2021-07-28T14:34:12.693Z] Length: unspecified [application/x-gzip] [2021-07-28T14:34:12.693Z] Saving to: 'STDOUT' [2021-07-28T14:34:12.693Z] [2021-07-28T14:34:12.961Z] 0K .......... ...... 997K=0.02s [2021-07-28T14:34:12.961Z] [2021-07-28T14:34:12.961Z] 2021-07-28 14:34:12 (997 KB/s) - written to stdout [16451] [2021-07-28T14:34:12.961Z] [2021-07-28T14:34:12.961Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-07-28T14:34:12.961Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-07-28T14:34:12.961Z] + tar -C deps -z -x -f - [2021-07-28T14:34:12.961Z] --2021-07-28 14:34:12-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-07-28T14:34:12.961Z] Resolving github.com (github.com)... 140.82.112.3 [2021-07-28T14:34:12.961Z] Connecting to github.com (github.com)|140.82.112.3|:443... connected. [2021-07-28T14:34:12.961Z] HTTP request sent, awaiting response... 302 Found [2021-07-28T14:34:12.961Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] [2021-07-28T14:34:12.961Z] --2021-07-28 14:34:12-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [2021-07-28T14:34:12.961Z] Resolving codeload.github.com (codeload.github.com)... 140.82.112.9 [2021-07-28T14:34:12.961Z] Connecting to codeload.github.com (codeload.github.com)|140.82.112.9|:443... connected. [2021-07-28T14:34:13.228Z] HTTP request sent, awaiting response... 200 OK [2021-07-28T14:34:13.228Z] Length: unspecified [application/x-gzip] [2021-07-28T14:34:13.228Z] Saving to: 'STDOUT' [2021-07-28T14:34:13.228Z] [2021-07-28T14:34:13.228Z] 0K .......... .......... .......... .......... .......... 1.53M [2021-07-28T14:34:13.228Z] 50K .......... .......... .......... .......... .......... 3.14M [2021-07-28T14:34:13.228Z] 100K .......... .......... .......... .......... .......... 33.6M [2021-07-28T14:34:13.228Z] 150K .......... .......... ....... 7.16M=0.05s [2021-07-28T14:34:13.228Z] [2021-07-28T14:34:13.228Z] 2021-07-28 14:34:13 (3.29 MB/s) - written to stdout [181796] [2021-07-28T14:34:13.228Z] [2021-07-28T14:34:13.228Z] + mkdir -p src/c/iot [2021-07-28T14:34:13.228Z] + 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-28T14:34:13.228Z] + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot [2021-07-28T14:34:13.228Z] + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot [2021-07-28T14:34:13.228Z] + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot [2021-07-28T14:34:13.228Z] + mkdir -p include/iot [2021-07-28T14:34:13.228Z] + 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-28T14:34:13.228Z] + mkdir -p include/iot/os [2021-07-28T14:34:13.228Z] + 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-28T14:34:13.228Z] + mkdir -p /tmp/sdk/build/release [2021-07-28T14:34:13.228Z] + cd /tmp/sdk/build/release [2021-07-28T14:34:13.228Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-07-28T14:34:13.228Z] -- The C compiler identification is GNU 9.3.0 [2021-07-28T14:34:13.228Z] -- Check for working C compiler: /usr/bin/cc [2021-07-28T14:34:13.497Z] -- Check for working C compiler: /usr/bin/cc - works [2021-07-28T14:34:13.497Z] -- Detecting C compiler ABI info [2021-07-28T14:34:13.497Z] -- Detecting C compiler ABI info - done [2021-07-28T14:34:13.497Z] -- Detecting C compile features [2021-07-28T14:34:13.497Z] -- Detecting C compile features - done [2021-07-28T14:34:13.497Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-07-28T14:34:13.497Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") [2021-07-28T14:34:13.497Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-07-28T14:34:13.497Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-07-28T14:34:13.497Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-07-28T14:34:13.497Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-07-28T14:34:13.497Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-07-28T14:34:13.497Z] -- C SDK 0.0.0 for Linux [2021-07-28T14:34:13.497Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-07-28T14:34:13.497Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-07-28T14:34:13.765Z] -- Found Curses: /usr/lib/libcurses.so [2021-07-28T14:34:13.765Z] -- Configuring done [2021-07-28T14:34:13.765Z] -- Generating done [2021-07-28T14:34:13.765Z] -- Build files have been written to: /tmp/sdk/build/release [2021-07-28T14:34:13.765Z] + make all package [2021-07-28T14:34:13.765Z] + tee release.log [2021-07-28T14:34:13.765Z] Scanning dependencies of target csdk [2021-07-28T14:34:13.765Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-07-28T14:34:14.019Z] Removing intermediate container 91b43a171ff2 [2021-07-28T14:34:14.019Z] ---> ca91c108d665 [2021-07-28T14:34:14.019Z] Step 9/25 : COPY VERSION /tmp/sdk [2021-07-28T14:34:14.032Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-07-28T14:34:14.032Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-07-28T14:34:14.299Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-07-28T14:34:14.565Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-07-28T14:34:14.565Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-07-28T14:34:14.565Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-07-28T14:34:14.565Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-07-28T14:34:14.622Z] ---> 8434d7e25273 [2021-07-28T14:34:14.622Z] Step 10/25 : COPY src /tmp/sdk/src [2021-07-28T14:34:14.832Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-07-28T14:34:14.832Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-07-28T14:34:15.100Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-07-28T14:34:15.367Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-07-28T14:34:15.367Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-07-28T14:34:15.606Z] ---> b5b0780dd1c9 [2021-07-28T14:34:15.606Z] Step 11/25 : COPY include /tmp/sdk/include [2021-07-28T14:34:15.634Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-07-28T14:34:15.634Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-07-28T14:34:15.634Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-07-28T14:34:15.634Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-07-28T14:34:16.217Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-07-28T14:34:16.217Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-07-28T14:34:16.217Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-07-28T14:34:16.482Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-07-28T14:34:16.482Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-07-28T14:34:16.482Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-07-28T14:34:16.589Z] ---> e4069f886ccd [2021-07-28T14:34:16.589Z] Step 12/25 : COPY scripts /tmp/sdk/scripts [2021-07-28T14:34:17.068Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-07-28T14:34:17.068Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-07-28T14:34:17.068Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-07-28T14:34:17.189Z] ---> b0e837dafec5 [2021-07-28T14:34:17.189Z] Step 13/25 : COPY LICENSE /tmp/sdk [2021-07-28T14:34:17.335Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-07-28T14:34:17.335Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-07-28T14:34:17.335Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-07-28T14:34:17.604Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-07-28T14:34:17.604Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-07-28T14:34:17.873Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-07-28T14:34:17.873Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-07-28T14:34:18.142Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-07-28T14:34:18.142Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-07-28T14:34:18.169Z] ---> bbe00f4ea44e [2021-07-28T14:34:18.169Z] Step 14/25 : COPY Attribution.txt /tmp/sdk [2021-07-28T14:34:18.408Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-07-28T14:34:18.409Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-07-28T14:34:18.763Z] ---> 47845bd246bb [2021-07-28T14:34:18.763Z] Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-07-28T14:34:19.036Z] ---> Running in fb3441917c21 [2021-07-28T14:34:19.370Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-07-28T14:34:19.371Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-07-28T14:34:19.371Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-07-28T14:34:19.371Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-07-28T14:34:19.639Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-07-28T14:34:19.910Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-07-28T14:34:19.910Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-07-28T14:34:20.178Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-07-28T14:34:20.178Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-07-28T14:34:20.447Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-07-28T14:34:20.468Z] + CPPCHECK=false [2021-07-28T14:34:20.468Z] + DOCGEN=false [2021-07-28T14:34:20.468Z] + TOMLVER=SDK-0.2 [2021-07-28T14:34:20.468Z] + CUTILVER=1.1.4 [2021-07-28T14:34:20.468Z] + '[' 0 -gt 0 ] [2021-07-28T14:34:20.468Z] + readlink -f ./scripts/build.sh [2021-07-28T14:34:20.468Z] + dirname /tmp/sdk/scripts/build.sh [2021-07-28T14:34:20.468Z] + dirname /tmp/sdk/scripts [2021-07-28T14:34:20.468Z] + ROOT=/tmp/sdk [2021-07-28T14:34:20.468Z] + cd /tmp/sdk [2021-07-28T14:34:20.468Z] + '[' '!' -d deps ] [2021-07-28T14:34:20.468Z] + mkdir deps [2021-07-28T14:34:20.468Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-07-28T14:34:20.468Z] + tar -C deps -z -x -f - [2021-07-28T14:34:20.468Z] --2021-07-28 14:34:20-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-07-28T14:34:20.468Z] Resolving github.com (github.com)... 140.82.112.3 [2021-07-28T14:34:20.468Z] Connecting to github.com (github.com)|140.82.112.3|:443... connected. [2021-07-28T14:34:20.468Z] HTTP request sent, awaiting response... 302 Found [2021-07-28T14:34:20.468Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-07-28T14:34:20.468Z] --2021-07-28 14:34:20-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-07-28T14:34:20.468Z] Resolving codeload.github.com (codeload.github.com)... 140.82.112.9 [2021-07-28T14:34:20.468Z] Connecting to codeload.github.com (codeload.github.com)|140.82.112.9|:443... connected. [2021-07-28T14:34:20.468Z] HTTP request sent, awaiting response... 200 OK [2021-07-28T14:34:20.468Z] Length: unspecified [application/x-gzip] [2021-07-28T14:34:20.468Z] Saving to: 'STDOUT' [2021-07-28T14:34:20.468Z]  [2021-07-28T14:34:20.468Z] 0K .......... ......  879K=0.02s [2021-07-28T14:34:20.468Z] [2021-07-28T14:34:20.468Z] 2021-07-28 14:34:20 (879 KB/s) - written to stdout [16451] [2021-07-28T14:34:20.468Z] [2021-07-28T14:34:20.468Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-07-28T14:34:20.468Z] + + tarwget -C -O deps - -z https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz -x -f [2021-07-28T14:34:20.468Z] - [2021-07-28T14:34:20.468Z] --2021-07-28 14:34:20-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-07-28T14:34:20.468Z] Resolving github.com (github.com)... 140.82.112.3 [2021-07-28T14:34:20.739Z] Connecting to github.com (github.com)|140.82.112.3|:443... connected. [2021-07-28T14:34:20.739Z] HTTP request sent, awaiting response... 302 Found [2021-07-28T14:34:20.739Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] [2021-07-28T14:34:20.739Z] --2021-07-28 14:34:20-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [2021-07-28T14:34:20.739Z] Resolving codeload.github.com (codeload.github.com)... 140.82.112.9 [2021-07-28T14:34:20.739Z] Connecting to codeload.github.com (codeload.github.com)|140.82.112.9|:443... connected. [2021-07-28T14:34:20.739Z] HTTP request sent, awaiting response... 200 OK [2021-07-28T14:34:20.739Z] Length: unspecified [application/x-gzip] [2021-07-28T14:34:20.739Z] Saving to: 'STDOUT' [2021-07-28T14:34:20.739Z] [2021-07-28T14:34:20.739Z] 0K .......... .......... .......... .......... .......... 1.28M [2021-07-28T14:34:20.739Z] 50K .......... .......... .......... .......... .......... 2.62M [2021-07-28T14:34:20.739Z] 100K .......... .......... .......... .......... .......... 11.4M [2021-07-28T14:34:20.739Z] 150K .......... .......... .......   928K=0.09s [2021-07-28T14:34:20.739Z] [2021-07-28T14:34:20.739Z] 2021-07-28 14:34:20 (1.91 MB/s) - written to stdout [181796] [2021-07-28T14:34:20.739Z] [2021-07-28T14:34:21.012Z] + mkdir -p src/c/iot [2021-07-28T14:34:21.012Z] + 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-28T14:34:21.012Z] + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot [2021-07-28T14:34:21.012Z] + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot [2021-07-28T14:34:21.012Z] + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot [2021-07-28T14:34:21.012Z] + mkdir -p include/iot [2021-07-28T14:34:21.012Z] + 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-28T14:34:21.012Z] + mkdir -p include/iot/os [2021-07-28T14:34:21.012Z] + 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-28T14:34:21.012Z] + mkdir -p /tmp/sdk/build/release [2021-07-28T14:34:21.012Z] + cd /tmp/sdk/build/release [2021-07-28T14:34:21.012Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-07-28T14:34:21.029Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-07-28T14:34:21.285Z] -- The C compiler identification is GNU 9.3.0 [2021-07-28T14:34:21.285Z] -- Check for working C compiler: /usr/bin/cc [2021-07-28T14:34:21.293Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-07-28T14:34:21.293Z] [ 75%] Linking C shared library libcsdk.so [2021-07-28T14:34:21.293Z] [ 75%] Built target csdk [2021-07-28T14:34:21.293Z] Scanning dependencies of target template [2021-07-28T14:34:21.293Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-07-28T14:34:21.560Z] -- Check for working C compiler: /usr/bin/cc - works [2021-07-28T14:34:21.560Z] -- Detecting C compiler ABI info [2021-07-28T14:34:21.562Z] [ 78%] Linking C executable template [2021-07-28T14:34:21.562Z] [ 78%] Built target template [2021-07-28T14:34:21.562Z] Scanning dependencies of target device-counter [2021-07-28T14:34:21.562Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-07-28T14:34:21.562Z] [ 81%] Linking C executable device-counter [2021-07-28T14:34:21.562Z] [ 81%] Built target device-counter [2021-07-28T14:34:21.562Z] Scanning dependencies of target device-random [2021-07-28T14:34:21.562Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-07-28T14:34:21.830Z] [ 84%] Linking C executable device-random [2021-07-28T14:34:21.830Z] [ 84%] Built target device-random [2021-07-28T14:34:21.830Z] Scanning dependencies of target device-gyro [2021-07-28T14:34:21.830Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-07-28T14:34:21.830Z] [ 87%] Linking C executable device-gyro [2021-07-28T14:34:21.830Z] [ 87%] Built target device-gyro [2021-07-28T14:34:21.832Z] -- Detecting C compiler ABI info - done [2021-07-28T14:34:21.832Z] -- Detecting C compile features [2021-07-28T14:34:21.832Z] -- Detecting C compile features - done [2021-07-28T14:34:21.832Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-07-28T14:34:22.096Z] Scanning dependencies of target device-bitfields [2021-07-28T14:34:22.096Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-07-28T14:34:22.096Z] [ 90%] Linking C executable device-bitfields [2021-07-28T14:34:22.096Z] [ 90%] Built target device-bitfields [2021-07-28T14:34:22.096Z] Scanning dependencies of target template-discovery [2021-07-28T14:34:22.096Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-07-28T14:34:22.104Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") [2021-07-28T14:34:22.104Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-07-28T14:34:22.104Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-07-28T14:34:22.104Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-07-28T14:34:22.104Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-07-28T14:34:22.104Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-07-28T14:34:22.104Z] -- C SDK 0.0.0 for Linux [2021-07-28T14:34:22.104Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-07-28T14:34:22.367Z] [ 93%] Linking C executable template-discovery [2021-07-28T14:34:22.368Z] [ 93%] Built target template-discovery [2021-07-28T14:34:22.368Z] Scanning dependencies of target device-file [2021-07-28T14:34:22.368Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-07-28T14:34:22.368Z] [ 96%] Linking C executable device-file [2021-07-28T14:34:22.368Z] [ 96%] Built target device-file [2021-07-28T14:34:22.368Z] Scanning dependencies of target device-terminal [2021-07-28T14:34:22.368Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-07-28T14:34:22.376Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-07-28T14:34:22.376Z] -- Found Curses: /usr/lib/libcurses.so [2021-07-28T14:34:22.637Z] [100%] Linking C executable device-terminal [2021-07-28T14:34:22.637Z] [100%] Built target device-terminal [2021-07-28T14:34:22.637Z] Run CPack packaging tool... [2021-07-28T14:34:22.637Z] CPack: Create package using TGZ [2021-07-28T14:34:22.637Z] CPack: Install projects [2021-07-28T14:34:22.637Z] CPack: - Run preinstall target for: Csdk [2021-07-28T14:34:22.646Z] -- Configuring done [2021-07-28T14:34:22.903Z] CPack: - Install project: Csdk [] [2021-07-28T14:34:22.903Z] CPack: Create package [2021-07-28T14:34:22.903Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-07-28T14:34:22.903Z] + '[' false '=' true ] [2021-07-28T14:34:22.903Z] + '[' false '=' true ] [2021-07-28T14:34:22.903Z] + mkdir -p /tmp/sdk/build/debug [2021-07-28T14:34:22.903Z] + cd /tmp/sdk/build/debug [2021-07-28T14:34:22.903Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-07-28T14:34:22.903Z] -- The C compiler identification is GNU 9.3.0 [2021-07-28T14:34:22.903Z] -- Check for working C compiler: /usr/bin/cc [2021-07-28T14:34:22.903Z] -- Check for working C compiler: /usr/bin/cc - works [2021-07-28T14:34:22.903Z] -- Detecting C compiler ABI info [2021-07-28T14:34:22.921Z] -- Generating done [2021-07-28T14:34:22.921Z] -- Build files have been written to: /tmp/sdk/build/release [2021-07-28T14:34:22.921Z] + + teemake release.log all package [2021-07-28T14:34:22.921Z] [2021-07-28T14:34:22.921Z] Scanning dependencies of target csdk [2021-07-28T14:34:23.171Z] -- Detecting C compiler ABI info - done [2021-07-28T14:34:23.171Z] -- Detecting C compile features [2021-07-28T14:34:23.171Z] -- Detecting C compile features - done [2021-07-28T14:34:23.171Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-07-28T14:34:23.172Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") [2021-07-28T14:34:23.172Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-07-28T14:34:23.172Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-07-28T14:34:23.172Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-07-28T14:34:23.172Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-07-28T14:34:23.172Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-07-28T14:34:23.172Z] -- C SDK 0.0.0 for Linux [2021-07-28T14:34:23.172Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-07-28T14:34:23.172Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-07-28T14:34:23.172Z] -- Found Curses: /usr/lib/libcurses.so [2021-07-28T14:34:23.172Z] -- Configuring done [2021-07-28T14:34:23.192Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-07-28T14:34:23.439Z] -- Generating done [2021-07-28T14:34:23.439Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-07-28T14:34:23.439Z] + tee debug.log [2021-07-28T14:34:23.439Z] + make [2021-07-28T14:34:23.439Z] Scanning dependencies of target csdk [2021-07-28T14:34:23.439Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-07-28T14:34:23.439Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-07-28T14:34:23.439Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-07-28T14:34:23.706Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-07-28T14:34:23.706Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-07-28T14:34:23.706Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-07-28T14:34:23.706Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-07-28T14:34:23.785Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-07-28T14:34:23.975Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-07-28T14:34:23.975Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-07-28T14:34:23.975Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-07-28T14:34:24.058Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-07-28T14:34:24.242Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-07-28T14:34:24.242Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-07-28T14:34:24.242Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-07-28T14:34:24.242Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-07-28T14:34:24.242Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-07-28T14:34:24.508Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-07-28T14:34:24.508Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-07-28T14:34:24.508Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-07-28T14:34:24.776Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-07-28T14:34:24.776Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-07-28T14:34:24.776Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-07-28T14:34:24.776Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-07-28T14:34:24.776Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-07-28T14:34:25.047Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-07-28T14:34:25.047Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-07-28T14:34:25.047Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-07-28T14:34:25.047Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-07-28T14:34:25.316Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-07-28T14:34:25.316Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-07-28T14:34:25.316Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-07-28T14:34:25.316Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-07-28T14:34:25.316Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-07-28T14:34:25.582Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-07-28T14:34:25.582Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-07-28T14:34:25.582Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-07-28T14:34:25.582Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-07-28T14:34:26.025Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-07-28T14:34:26.049Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-07-28T14:34:26.049Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-07-28T14:34:26.049Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-07-28T14:34:26.049Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-07-28T14:34:26.049Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-07-28T14:34:26.049Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-07-28T14:34:26.315Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-07-28T14:34:26.315Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-07-28T14:34:26.315Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-07-28T14:34:26.584Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-07-28T14:34:26.584Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-07-28T14:34:26.619Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-07-28T14:34:26.850Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-07-28T14:34:26.850Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-07-28T14:34:26.850Z] [ 75%] Linking C shared library libcsdk.so [2021-07-28T14:34:26.850Z] [ 75%] Built target csdk [2021-07-28T14:34:26.850Z] Scanning dependencies of target template [2021-07-28T14:34:26.850Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-07-28T14:34:26.894Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-07-28T14:34:27.117Z] [ 78%] Linking C executable template [2021-07-28T14:34:27.117Z] [ 78%] Built target template [2021-07-28T14:34:27.117Z] Scanning dependencies of target device-counter [2021-07-28T14:34:27.117Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-07-28T14:34:27.117Z] [ 81%] Linking C executable device-counter [2021-07-28T14:34:27.117Z] [ 81%] Built target device-counter [2021-07-28T14:34:27.117Z] Scanning dependencies of target device-random [2021-07-28T14:34:27.117Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-07-28T14:34:27.384Z] [ 84%] Linking C executable device-random [2021-07-28T14:34:27.384Z] [ 84%] Built target device-random [2021-07-28T14:34:27.384Z] Scanning dependencies of target device-gyro [2021-07-28T14:34:27.384Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-07-28T14:34:27.384Z] [ 87%] Linking C executable device-gyro [2021-07-28T14:34:27.384Z] [ 87%] Built target device-gyro [2021-07-28T14:34:27.384Z] Scanning dependencies of target device-bitfields [2021-07-28T14:34:27.384Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-07-28T14:34:27.384Z] [ 90%] Linking C executable device-bitfields [2021-07-28T14:34:27.490Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-07-28T14:34:27.650Z] [ 90%] Built target device-bitfields [2021-07-28T14:34:27.650Z] Scanning dependencies of target template-discovery [2021-07-28T14:34:27.650Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-07-28T14:34:27.650Z] [ 93%] Linking C executable template-discovery [2021-07-28T14:34:27.650Z] [ 93%] Built target template-discovery [2021-07-28T14:34:27.650Z] Scanning dependencies of target device-file [2021-07-28T14:34:27.650Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-07-28T14:34:27.650Z] [ 96%] Linking C executable device-file [2021-07-28T14:34:27.918Z] [ 96%] Built target device-file [2021-07-28T14:34:27.918Z] Scanning dependencies of target device-terminal [2021-07-28T14:34:27.918Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-07-28T14:34:27.918Z] [100%] Linking C executable device-terminal [2021-07-28T14:34:27.918Z] [100%] Built target device-terminal [2021-07-28T14:34:27.918Z] make: Entering directory '/tmp/sdk/build/release' [2021-07-28T14:34:27.918Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-07-28T14:34:27.918Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-28T14:34:27.918Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-28T14:34:27.918Z] [ 75%] Built target csdk [2021-07-28T14:34:27.918Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-28T14:34:27.918Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-28T14:34:27.918Z] [ 78%] Built target template [2021-07-28T14:34:27.918Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-28T14:34:27.918Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-28T14:34:27.918Z] [ 81%] Built target device-counter [2021-07-28T14:34:27.918Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-28T14:34:27.918Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-28T14:34:28.085Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-07-28T14:34:28.085Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-07-28T14:34:28.186Z] [ 84%] Built target device-random [2021-07-28T14:34:28.186Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-28T14:34:28.186Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-28T14:34:28.186Z] [ 87%] Built target device-gyro [2021-07-28T14:34:28.186Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-28T14:34:28.186Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-28T14:34:28.186Z] [ 90%] Built target device-bitfields [2021-07-28T14:34:28.186Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-28T14:34:28.186Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-28T14:34:28.186Z] [ 93%] Built target template-discovery [2021-07-28T14:34:28.186Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-28T14:34:28.186Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-28T14:34:28.186Z] [ 96%] Built target device-file [2021-07-28T14:34:28.186Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-28T14:34:28.186Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-28T14:34:28.186Z] [100%] Built target device-terminal [2021-07-28T14:34:28.186Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-07-28T14:34:28.186Z] Install the project... [2021-07-28T14:34:28.186Z] -- Install configuration: "Release" [2021-07-28T14:34:28.186Z] -- Installing: /usr/local/lib/libcsdk.so [2021-07-28T14:34:28.186Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-07-28T14:34:28.186Z] -- Up-to-date: /usr/local/include [2021-07-28T14:34:28.186Z] -- Installing: /usr/local/include/devsdk [2021-07-28T14:34:28.186Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-07-28T14:34:28.186Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-07-28T14:34:28.186Z] -- Installing: /usr/local/include/edgex [2021-07-28T14:34:28.186Z] -- Installing: /usr/local/include/edgex/devices.h [2021-07-28T14:34:28.186Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-07-28T14:34:28.186Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-07-28T14:34:28.186Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-07-28T14:34:28.186Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-07-28T14:34:28.186Z] -- Installing: /usr/local/include/edgex/secrets.h [2021-07-28T14:34:28.186Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-07-28T14:34:28.186Z] -- Installing: /usr/local/include/iot [2021-07-28T14:34:28.186Z] -- Installing: /usr/local/include/iot/base64.h [2021-07-28T14:34:28.186Z] -- Installing: /usr/local/include/iot/component.h [2021-07-28T14:34:28.186Z] -- Installing: /usr/local/include/iot/config.h [2021-07-28T14:34:28.186Z] -- Installing: /usr/local/include/iot/container.h [2021-07-28T14:34:28.186Z] -- Installing: /usr/local/include/iot/data.h [2021-07-28T14:34:28.186Z] -- Installing: /usr/local/include/iot/hash.h [2021-07-28T14:34:28.186Z] -- Installing: /usr/local/include/iot/iot.h [2021-07-28T14:34:28.186Z] -- Installing: /usr/local/include/iot/json.h [2021-07-28T14:34:28.186Z] -- Installing: /usr/local/include/iot/logger.h [2021-07-28T14:34:28.186Z] -- Installing: /usr/local/include/iot/os.h [2021-07-28T14:34:28.186Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-07-28T14:34:28.186Z] -- Installing: /usr/local/include/iot/thread.h [2021-07-28T14:34:28.186Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-07-28T14:34:28.186Z] -- Installing: /usr/local/include/iot/time.h [2021-07-28T14:34:28.186Z] -- Installing: /usr/local/include/iot/typecode.h [2021-07-28T14:34:28.186Z] -- Installing: /usr/local/include/iot/os [2021-07-28T14:34:28.186Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-07-28T14:34:28.186Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-07-28T14:34:28.186Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-07-28T14:34:28.186Z] -- Installing: /usr/local/include/iot/defs.h [2021-07-28T14:34:28.186Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-07-28T14:34:28.186Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-07-28T14:34:28.186Z] make: Leaving directory '/tmp/sdk/build/release' [2021-07-28T14:34:28.771Z] Removing intermediate container ebdff9ae3119 [2021-07-28T14:34:28.771Z] ---> 99afc7f57277 [2021-07-28T14:34:28.771Z] Step 16/25 : FROM ${BASE} [2021-07-28T14:34:28.771Z] ---> ac6a0feb3254 [2021-07-28T14:34:28.771Z] Step 17/25 : LABEL maintainer="IOTech " [2021-07-28T14:34:28.771Z] ---> Running in 532abc347b17 [2021-07-28T14:34:28.771Z] Removing intermediate container 532abc347b17 [2021-07-28T14:34:28.771Z] ---> 6a02a09f5587 [2021-07-28T14:34:28.771Z] 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-28T14:34:28.771Z] ---> Running in 62f22d8ade4c [2021-07-28T14:34:29.040Z] Connecting to iotech.jfrog.io (54.229.110.245:443) [2021-07-28T14:34:29.310Z] saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-07-28T14:34:29.310Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-07-28T14:34:29.310Z] '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [2021-07-28T14:34:29.522Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-07-28T14:34:29.583Z] Removing intermediate container 62f22d8ade4c [2021-07-28T14:34:29.583Z] ---> 87c939468212 [2021-07-28T14:34:29.583Z] Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-07-28T14:34:29.583Z] ---> Running in 1f8f5075d823 [2021-07-28T14:34:30.173Z] Removing intermediate container 1f8f5075d823 [2021-07-28T14:34:30.173Z] ---> dab6038baaf8 [2021-07-28T14:34:30.173Z] 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-28T14:34:30.173Z] ---> Running in 171311c0ddb9 [2021-07-28T14:34:30.440Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-07-28T14:34:30.956Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-07-28T14:34:31.023Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-07-28T14:34:31.232Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-07-28T14:34:31.291Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz [2021-07-28T14:34:31.873Z] (1/7) Installing curl (7.78.0-r0) [2021-07-28T14:34:31.873Z] (2/7) Installing hiredis (0.14.1-r0) [2021-07-28T14:34:32.140Z] (3/7) Installing hiredis-dev (0.14.1-r0) [2021-07-28T14:34:32.140Z] (4/7) Installing libuuid (2.35.2-r0) [2021-07-28T14:34:32.140Z] (5/7) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-07-28T14:34:32.214Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-07-28T14:34:32.488Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-07-28T14:34:33.082Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-07-28T14:34:33.082Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-07-28T14:34:33.355Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-07-28T14:34:33.546Z] (6/7) Installing libidn2 (2.3.0-r0) [2021-07-28T14:34:33.546Z] (7/7) Installing wget (1.20.3-r1) [2021-07-28T14:34:33.814Z] Executing busybox-1.31.1-r20.trigger [2021-07-28T14:34:33.814Z] OK: 286 MiB in 82 packages [2021-07-28T14:34:34.084Z] Removing intermediate container 171311c0ddb9 [2021-07-28T14:34:34.084Z] ---> c4f4e16891a4 [2021-07-28T14:34:34.084Z] Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-07-28T14:34:34.352Z] ---> 7be2a2d0126d [2021-07-28T14:34:34.352Z] Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-07-28T14:34:34.352Z] ---> d5c8c269cd1f [2021-07-28T14:34:34.352Z] Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-07-28T14:34:34.621Z] ---> d0d57bfec542 [2021-07-28T14:34:34.621Z] Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-07-28T14:34:34.888Z] ---> ca60fb4337ed [2021-07-28T14:34:34.888Z] Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-07-28T14:34:34.888Z] ---> 055fa465546e [2021-07-28T14:34:34.888Z] Successfully built 055fa465546e [2021-07-28T14:34:34.888Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-28T14:34:35.471Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-28T14:34:35.471Z] . [Pipeline] withDockerContainer [2021-07-28T14:34:35.561Z] prd-centos7-docker-4c-2g-351 does not seem to be running inside a container [2021-07-28T14:34:35.622Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/3 -v /w/workspace/device-sdk-c/3:/w/workspace/device-sdk-c/3:rw,z -v /w/workspace/device-sdk-c/3@tmp:/w/workspace/device-sdk-c/3@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-28T14:34:35.987Z] $ docker top ab57fe15d0211f8e471dd9f11e5af5b53c18b080c48a72d1cbd2944da1d4a156 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-28T14:34:36.396Z] + make test [2021-07-28T14:34:36.397Z] echo "make test" [2021-07-28T14:34:36.397Z] make test [Pipeline] } [2021-07-28T14:34:36.413Z] $ docker stop --time=1 ab57fe15d0211f8e471dd9f11e5af5b53c18b080c48a72d1cbd2944da1d4a156 [2021-07-28T14:34:36.740Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-07-28T14:34:36.741Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-07-28T14:34:36.741Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-07-28T14:34:37.014Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-07-28T14:34:37.604Z] $ docker rm -f ab57fe15d0211f8e471dd9f11e5af5b53c18b080c48a72d1cbd2944da1d4a156 [2021-07-28T14:34:37.609Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2021-07-28T14:34:38.203Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [Pipeline] sh [2021-07-28T14:34:40.821Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-07-28T14:34:40.838Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-07-28T14:34:41.094Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-07-28T14:34:41.094Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-07-28T14:34:41.155Z] + ls -al . [2021-07-28T14:34:41.155Z] total 160 [2021-07-28T14:34:41.155Z] drwxrwxr-x. 8 jenkins jenkins 260 Jul 28 14:33 . [2021-07-28T14:34:41.155Z] drwxrwxr-x. 4 jenkins jenkins 28 Jul 28 14:33 .. [2021-07-28T14:34:41.155Z] -rw-rw-r--. 1 jenkins jenkins 3104 Jul 28 14:33 Attribution.txt [2021-07-28T14:34:41.155Z] -rw-rw-r--. 1 jenkins jenkins 7556 Jul 28 14:33 CHANGES [2021-07-28T14:34:41.155Z] drwxrwxr-x. 2 jenkins jenkins 121 Jul 28 14:33 docs [2021-07-28T14:34:41.155Z] -rw-rw-r--. 1 jenkins jenkins 108574 Jul 28 14:33 Doxyfile [2021-07-28T14:34:41.155Z] drwxrwxr-x. 8 jenkins jenkins 179 Jul 28 14:33 .git [2021-07-28T14:34:41.155Z] drwxrwxr-x. 2 jenkins jenkins 81 Jul 28 14:33 .github [2021-07-28T14:34:41.155Z] -rw-rw-r--. 1 jenkins jenkins 176 Jul 28 14:33 .gitignore [2021-07-28T14:34:41.155Z] drwxrwxr-x. 4 jenkins jenkins 33 Jul 28 14:33 include [2021-07-28T14:34:41.155Z] -rw-rw-r--. 1 jenkins jenkins 784 Jul 28 14:33 Jenkinsfile [2021-07-28T14:34:41.155Z] -rw-rw-r--. 1 jenkins jenkins 10174 Jul 28 14:33 LICENSE [2021-07-28T14:34:41.155Z] -rw-rw-r--. 1 jenkins jenkins 444 Jul 28 14:33 Makefile [2021-07-28T14:34:41.155Z] -rw-rw-r--. 1 jenkins jenkins 4090 Jul 28 14:33 README.md [2021-07-28T14:34:41.155Z] -rw-rw-r--. 1 jenkins jenkins 7090 Jul 28 14:33 README.v2.md [2021-07-28T14:34:41.155Z] drwxrwxr-x. 2 jenkins jenkins 98 Jul 28 14:33 scripts [2021-07-28T14:34:41.155Z] drwxrwxr-x. 4 jenkins jenkins 50 Jul 28 14:33 src [2021-07-28T14:34:41.155Z] -rw-rw-r--. 1 jenkins jenkins 5 Jul 28 14:30 VERSION [Pipeline] isUnix [Pipeline] sh [2021-07-28T14:34:41.486Z] + 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=dc3ff0f1699aa99a52bfb21f6f08698a555aa4ee --label arch=amd64 --label version=0.0.0 . [2021-07-28T14:34:41.486Z] Sending build context to Docker daemon 2.693MB [2021-07-28T14:34:41.486Z] Step 1/17 : ARG BASE=alpine:3.12 [2021-07-28T14:34:41.486Z] Step 2/17 : FROM ${BASE} [2021-07-28T14:34:41.486Z] ---> 055fa465546e [2021-07-28T14:34:41.486Z] Step 3/17 : LABEL maintainer="IOTech " [2021-07-28T14:34:41.486Z] ---> Running in 07e1d5f00842 [2021-07-28T14:34:41.691Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-07-28T14:34:41.752Z] Removing intermediate container 07e1d5f00842 [2021-07-28T14:34:41.752Z] ---> 0977992269ed [2021-07-28T14:34:41.752Z] 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-28T14:34:41.752Z] ---> Running in 3db8abc1c46f [2021-07-28T14:34:42.019Z] --2021-07-28 14:34:41-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub [2021-07-28T14:34:42.019Z] Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.229.110.245, 54.195.244.87, 54.170.66.44 [2021-07-28T14:34:42.019Z] Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.229.110.245|:443... connected. [2021-07-28T14:34:42.286Z] HTTP request sent, awaiting response... 200 OK [2021-07-28T14:34:42.286Z] Length: 451 [application/octet-stream] [2021-07-28T14:34:42.286Z] Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-07-28T14:34:42.286Z] [2021-07-28T14:34:42.286Z] 0K 100% 52.6M=0s [2021-07-28T14:34:42.286Z] [2021-07-28T14:34:42.286Z] 2021-07-28 14:34:42 (52.6 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] [2021-07-28T14:34:42.286Z] [2021-07-28T14:34:42.290Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-07-28T14:34:42.559Z] Removing intermediate container 3db8abc1c46f [2021-07-28T14:34:42.559Z] ---> 540304ed424e [2021-07-28T14:34:42.560Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-07-28T14:34:42.560Z] ---> Running in b4f5ae86402f [2021-07-28T14:34:42.563Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-07-28T14:34:43.148Z] Removing intermediate container b4f5ae86402f [2021-07-28T14:34:43.148Z] ---> 71161cf02d1e [2021-07-28T14:34:43.148Z] 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-28T14:34:43.148Z] ---> Running in a0590c1b13ae [2021-07-28T14:34:43.417Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-07-28T14:34:43.538Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-07-28T14:34:43.811Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-07-28T14:34:43.999Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-07-28T14:34:44.266Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz [2021-07-28T14:34:44.407Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-07-28T14:34:44.679Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-07-28T14:34:44.853Z] (1/16) Installing ncurses-dev (6.2_p20200523-r0) [2021-07-28T14:34:44.853Z] (2/16) Installing libblkid (2.35.2-r0) [2021-07-28T14:34:44.853Z] (3/16) Installing blkid (2.35.2-r0) [2021-07-28T14:34:44.853Z] (4/16) Installing libcap-ng (0.7.10-r1) [2021-07-28T14:34:45.119Z] (5/16) Installing setpriv (2.35.2-r0) [2021-07-28T14:34:45.119Z] (6/16) Installing libmount (2.35.2-r0) [2021-07-28T14:34:45.119Z] (7/16) Installing libsmartcols (2.35.2-r0) [2021-07-28T14:34:45.396Z] (8/16) Installing findmnt (2.35.2-r0) [2021-07-28T14:34:45.396Z] (9/16) Installing mcookie (2.35.2-r0) [2021-07-28T14:34:45.396Z] (10/16) Installing hexdump (2.35.2-r0) [2021-07-28T14:34:45.661Z] (11/16) Installing lsblk (2.35.2-r0) [2021-07-28T14:34:45.661Z] (12/16) Installing libfdisk (2.35.2-r0) [2021-07-28T14:34:45.661Z] (13/16) Installing sfdisk (2.35.2-r0) [2021-07-28T14:34:45.929Z] (14/16) Installing cfdisk (2.35.2-r0) [2021-07-28T14:34:45.929Z] (15/16) Installing util-linux (2.35.2-r0) [2021-07-28T14:34:46.198Z] (16/16) Installing util-linux-dev (2.35.2-r0) [2021-07-28T14:34:46.464Z] Executing busybox-1.31.1-r20.trigger [2021-07-28T14:34:46.464Z] OK: 295 MiB in 98 packages [2021-07-28T14:34:46.654Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-07-28T14:34:46.927Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-07-28T14:34:47.048Z] Removing intermediate container a0590c1b13ae [2021-07-28T14:34:47.048Z] ---> 28d542b5e41d [2021-07-28T14:34:47.048Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2021-07-28T14:34:47.048Z] ---> 16bc16602ce9 [2021-07-28T14:34:47.048Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2021-07-28T14:34:47.315Z] ---> 9e91d0e17ea8 [2021-07-28T14:34:47.315Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2021-07-28T14:34:47.583Z] ---> 7ff6584b807b [2021-07-28T14:34:47.584Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2021-07-28T14:34:47.584Z] ---> 3d78d13a111a [2021-07-28T14:34:47.584Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2021-07-28T14:34:47.853Z] ---> 185225da9d2a [2021-07-28T14:34:47.853Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2021-07-28T14:34:47.853Z] ---> 55f69dc7c274 [2021-07-28T14:34:47.853Z] Step 13/17 : WORKDIR /edgex-c-sdk [2021-07-28T14:34:47.853Z] ---> Running in 89c21ea99f83 [2021-07-28T14:34:47.924Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-07-28T14:34:47.925Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-07-28T14:34:48.122Z] Removing intermediate container 89c21ea99f83 [2021-07-28T14:34:48.122Z] ---> 1f7fbd78501a [2021-07-28T14:34:48.122Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-07-28T14:34:48.122Z] ---> Running in 001b0b6295e0 [2021-07-28T14:34:48.122Z] Removing intermediate container 001b0b6295e0 [2021-07-28T14:34:48.122Z] ---> 60c2706b4913 [2021-07-28T14:34:48.122Z] Step 15/17 : LABEL arch=amd64 [2021-07-28T14:34:48.122Z] ---> Running in cbe4b4f3d922 [2021-07-28T14:34:48.122Z] Removing intermediate container cbe4b4f3d922 [2021-07-28T14:34:48.122Z] ---> 5e7fbeaaa681 [2021-07-28T14:34:48.122Z] Step 16/17 : LABEL git_sha=dc3ff0f1699aa99a52bfb21f6f08698a555aa4ee [2021-07-28T14:34:48.389Z] ---> Running in 029b2906afc4 [2021-07-28T14:34:48.389Z] Removing intermediate container 029b2906afc4 [2021-07-28T14:34:48.389Z] ---> 3a403fb98bd0 [2021-07-28T14:34:48.389Z] Step 17/17 : LABEL version=0.0.0 [2021-07-28T14:34:48.389Z] ---> Running in fbad32d73096 [2021-07-28T14:34:48.389Z] Removing intermediate container fbad32d73096 [2021-07-28T14:34:48.389Z] ---> cc8d4407149e [2021-07-28T14:34:48.389Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-07-28T14:34:48.389Z] Successfully built cc8d4407149e [2021-07-28T14:34:48.389Z] Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-28T14:34:49.087Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-28T14:34:49.088Z] [2021-07-28T14:34:49.088Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-07-28T14:34:49.643Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-28T14:34:49.643Z] latest: Pulling from edgex-lftools-log-publisher [2021-07-28T14:34:49.643Z] b4d181a07f80: Pulling fs layer [2021-07-28T14:34:49.643Z] a1111a8f2ec3: Pulling fs layer [2021-07-28T14:34:49.643Z] ed53099fbce6: Pulling fs layer [2021-07-28T14:34:49.643Z] dc539afda2c1: Pulling fs layer [2021-07-28T14:34:49.643Z] 77bc0d833cb6: Pulling fs layer [2021-07-28T14:34:49.643Z] 9065ff56babe: Pulling fs layer [2021-07-28T14:34:49.643Z] d287ab97295c: Pulling fs layer [2021-07-28T14:34:49.643Z] dc539afda2c1: Waiting [2021-07-28T14:34:49.643Z] 77bc0d833cb6: Waiting [2021-07-28T14:34:49.643Z] 9065ff56babe: Waiting [2021-07-28T14:34:49.643Z] d287ab97295c: Waiting [2021-07-28T14:34:49.910Z] a1111a8f2ec3: Verifying Checksum [2021-07-28T14:34:49.910Z] a1111a8f2ec3: Download complete [2021-07-28T14:34:50.176Z] dc539afda2c1: Verifying Checksum [2021-07-28T14:34:50.176Z] dc539afda2c1: Download complete [2021-07-28T14:34:50.757Z] 77bc0d833cb6: Verifying Checksum [2021-07-28T14:34:50.757Z] 77bc0d833cb6: Download complete [2021-07-28T14:34:50.757Z] 9065ff56babe: Verifying Checksum [2021-07-28T14:34:50.757Z] 9065ff56babe: Download complete [2021-07-28T14:34:51.026Z] ed53099fbce6: Verifying Checksum [2021-07-28T14:34:51.026Z] ed53099fbce6: Download complete [2021-07-28T14:34:52.221Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-07-28T14:34:52.439Z] b4d181a07f80: Verifying Checksum [2021-07-28T14:34:52.439Z] b4d181a07f80: Download complete [2021-07-28T14:34:52.813Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-07-28T14:34:53.085Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-07-28T14:34:53.421Z] b4d181a07f80: Pull complete [2021-07-28T14:34:53.421Z] a1111a8f2ec3: Pull complete [2021-07-28T14:34:53.680Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-07-28T14:34:54.007Z] ed53099fbce6: Pull complete [2021-07-28T14:34:54.007Z] dc539afda2c1: Pull complete [2021-07-28T14:34:54.276Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-07-28T14:34:54.276Z] 77bc0d833cb6: Pull complete [2021-07-28T14:34:54.543Z] 9065ff56babe: Pull complete [2021-07-28T14:34:56.243Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-07-28T14:34:56.243Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-07-28T14:34:56.491Z] d287ab97295c: Verifying Checksum [2021-07-28T14:34:56.491Z] d287ab97295c: Download complete [2021-07-28T14:34:56.851Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-07-28T14:34:57.129Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-07-28T14:34:59.100Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-07-28T14:35:00.766Z] d287ab97295c: Pull complete [2021-07-28T14:35:00.766Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-07-28T14:35:00.766Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-28T14:35:00.766Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-07-28T14:35:00.856Z] prd-centos7-docker-4c-2g-351 does not seem to be running inside a container [2021-07-28T14:35:00.924Z] $ 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/3 -v /w/workspace/device-sdk-c/3:/w/workspace/device-sdk-c/3:rw,z -v /w/workspace/device-sdk-c/3@tmp:/w/workspace/device-sdk-c/3@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-28T14:35:02.476Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-07-28T14:35:02.747Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-07-28T14:35:03.306Z] $ docker top dac1e21a7c4d35fa51beaeeb47305d5135836cfc871ca95269f5a9f7e5ca6b86 -eo pid,comm [2021-07-28T14:35:03.337Z] [ 75%] Linking C shared library libcsdk.so [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-28T14:35:03.606Z] [ 75%] Built target csdk [2021-07-28T14:35:03.606Z] Scanning dependencies of target template [2021-07-28T14:35:03.606Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-07-28T14:35:03.908Z] ---> job-cost.sh [2021-07-28T14:35:03.908Z] lf-activate-venv: SKIPPING [2021-07-28T14:35:03.908Z] INFO: No Stack... [2021-07-28T14:35:04.196Z] [ 78%] Linking C executable template [2021-07-28T14:35:04.466Z] [ 78%] Built target template [2021-07-28T14:35:04.466Z] Scanning dependencies of target device-counter [2021-07-28T14:35:04.466Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-07-28T14:35:04.736Z] [ 81%] Linking C executable device-counter [2021-07-28T14:35:04.867Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-28T14:35:05.009Z] [ 81%] Built target device-counter [2021-07-28T14:35:05.009Z] Scanning dependencies of target device-random [2021-07-28T14:35:05.009Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-07-28T14:35:05.342Z] INFO: Archiving Costs [Pipeline] sh [2021-07-28T14:35:05.602Z] [ 84%] Linking C executable device-random [2021-07-28T14:35:05.667Z] + cat /w/workspace/device-sdk-c/3/archives/cost.csv [2021-07-28T14:35:05.668Z] + cut -d, -f6 [Pipeline] lock [2021-07-28T14:35:05.703Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-357-3-stack-cost] [2021-07-28T14:35:05.712Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-357-3-stack-cost] did not exist. Created. [2021-07-28T14:35:05.712Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-357-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-28T14:35:05.873Z] [ 84%] Built target device-random [2021-07-28T14:35:05.873Z] Scanning dependencies of target device-gyro [2021-07-28T14:35:05.873Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-07-28T14:35:06.057Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-07-28T14:35:06.144Z] [ 87%] Linking C executable device-gyro [2021-07-28T14:35:06.296Z] Stashed 1 file(s) [Pipeline] } [2021-07-28T14:35:06.312Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-357-3-stack-cost] [Pipeline] // lock [Pipeline] } [2021-07-28T14:35:06.339Z] $ docker stop --time=1 dac1e21a7c4d35fa51beaeeb47305d5135836cfc871ca95269f5a9f7e5ca6b86 [2021-07-28T14:35:06.417Z] [ 87%] Built target device-gyro [2021-07-28T14:35:06.417Z] Scanning dependencies of target device-bitfields [2021-07-28T14:35:06.417Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-07-28T14:35:07.012Z] [ 90%] Linking C executable device-bitfields [2021-07-28T14:35:07.012Z] [ 90%] Built target device-bitfields [2021-07-28T14:35:07.012Z] Scanning dependencies of target template-discovery [2021-07-28T14:35:07.012Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-07-28T14:35:07.490Z] $ docker rm -f dac1e21a7c4d35fa51beaeeb47305d5135836cfc871ca95269f5a9f7e5ca6b86 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-07-28T14:35:07.993Z] [ 93%] Linking C executable template-discovery [2021-07-28T14:35:07.993Z] [ 93%] Built target template-discovery [2021-07-28T14:35:07.993Z] Scanning dependencies of target device-file [2021-07-28T14:35:07.993Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-07-28T14:35:08.590Z] [ 96%] Linking C executable device-file [2021-07-28T14:35:08.867Z] [ 96%] Built target device-file [2021-07-28T14:35:08.867Z] Scanning dependencies of target device-terminal [2021-07-28T14:35:08.867Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-07-28T14:35:09.465Z] [100%] Linking C executable device-terminal [2021-07-28T14:35:09.739Z] [100%] Built target device-terminal [2021-07-28T14:35:09.739Z] Run CPack packaging tool... [2021-07-28T14:35:09.739Z] CPack: Create package using TGZ [2021-07-28T14:35:09.739Z] CPack: Install projects [2021-07-28T14:35:09.739Z] CPack: - Run preinstall target for: Csdk [2021-07-28T14:35:10.337Z] CPack: - Install project: Csdk [] [2021-07-28T14:35:10.337Z] CPack: Create package [2021-07-28T14:35:10.337Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-07-28T14:35:10.337Z] + '[' false '=' true ] [2021-07-28T14:35:10.337Z] + '[' false '=' true ] [2021-07-28T14:35:10.337Z] + mkdir -p /tmp/sdk/build/debug [2021-07-28T14:35:10.337Z] + cd /tmp/sdk/build/debug [2021-07-28T14:35:10.337Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-07-28T14:35:10.934Z] -- The C compiler identification is GNU 9.3.0 [2021-07-28T14:35:10.934Z] -- Check for working C compiler: /usr/bin/cc [2021-07-28T14:35:10.934Z] -- Check for working C compiler: /usr/bin/cc - works [2021-07-28T14:35:10.934Z] -- Detecting C compiler ABI info [2021-07-28T14:35:11.207Z] -- Detecting C compiler ABI info - done [2021-07-28T14:35:11.481Z] -- Detecting C compile features [2021-07-28T14:35:11.481Z] -- Detecting C compile features - done [2021-07-28T14:35:11.481Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-07-28T14:35:11.481Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") [2021-07-28T14:35:11.481Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-07-28T14:35:11.481Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-07-28T14:35:11.481Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-07-28T14:35:11.481Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-07-28T14:35:11.481Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-07-28T14:35:11.481Z] -- C SDK 0.0.0 for Linux [2021-07-28T14:35:11.754Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-07-28T14:35:11.754Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-07-28T14:35:12.027Z] -- Found Curses: /usr/lib/libcurses.so [2021-07-28T14:35:12.027Z] -- Configuring done [2021-07-28T14:35:12.299Z] -- Generating done [2021-07-28T14:35:12.299Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-07-28T14:35:12.299Z] + make [2021-07-28T14:35:12.299Z] + tee debug.log [2021-07-28T14:35:12.573Z] Scanning dependencies of target csdk [2021-07-28T14:35:12.573Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-07-28T14:35:13.171Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-07-28T14:35:13.443Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-07-28T14:35:14.039Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-07-28T14:35:14.312Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-07-28T14:35:14.313Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-07-28T14:35:14.586Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-07-28T14:35:14.860Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-07-28T14:35:15.133Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-07-28T14:35:15.407Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-07-28T14:35:16.003Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-07-28T14:35:16.277Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-07-28T14:35:16.551Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-07-28T14:35:16.830Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-07-28T14:35:17.104Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-07-28T14:35:17.379Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-07-28T14:35:17.655Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-07-28T14:35:18.251Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-07-28T14:35:18.523Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-07-28T14:35:18.797Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-07-28T14:35:18.797Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-07-28T14:35:19.072Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-07-28T14:35:19.347Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-07-28T14:35:20.324Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-07-28T14:35:20.324Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-07-28T14:35:20.597Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-07-28T14:35:20.870Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-07-28T14:35:21.143Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-07-28T14:35:21.143Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-07-28T14:35:21.416Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-07-28T14:35:21.689Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-07-28T14:35:21.962Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-07-28T14:35:22.235Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-07-28T14:35:22.508Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-07-28T14:35:22.781Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-07-28T14:35:23.055Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-07-28T14:35:23.328Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-07-28T14:35:24.305Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-07-28T14:35:24.578Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-07-28T14:35:24.851Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-07-28T14:35:25.124Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-07-28T14:35:25.397Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-07-28T14:35:26.402Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-07-28T14:35:26.674Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-07-28T14:35:26.947Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-07-28T14:35:27.220Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-07-28T14:35:27.815Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-07-28T14:35:28.410Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-07-28T14:35:28.684Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-07-28T14:35:28.957Z] [ 75%] Linking C shared library libcsdk.so [2021-07-28T14:35:29.230Z] [ 75%] Built target csdk [2021-07-28T14:35:29.230Z] Scanning dependencies of target template [2021-07-28T14:35:29.230Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-07-28T14:35:29.502Z] [ 78%] Linking C executable template [2021-07-28T14:35:29.774Z] [ 78%] Built target template [2021-07-28T14:35:29.774Z] Scanning dependencies of target device-counter [2021-07-28T14:35:29.774Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-07-28T14:35:30.049Z] [ 81%] Linking C executable device-counter [2021-07-28T14:35:30.321Z] [ 81%] Built target device-counter [2021-07-28T14:35:30.321Z] Scanning dependencies of target device-random [2021-07-28T14:35:30.321Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-07-28T14:35:30.595Z] [ 84%] Linking C executable device-random [2021-07-28T14:35:30.868Z] [ 84%] Built target device-random [2021-07-28T14:35:30.868Z] Scanning dependencies of target device-gyro [2021-07-28T14:35:30.868Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-07-28T14:35:31.140Z] [ 87%] Linking C executable device-gyro [2021-07-28T14:35:31.414Z] [ 87%] Built target device-gyro [2021-07-28T14:35:31.414Z] Scanning dependencies of target device-bitfields [2021-07-28T14:35:31.414Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-07-28T14:35:31.689Z] [ 90%] Linking C executable device-bitfields [2021-07-28T14:35:31.964Z] [ 90%] Built target device-bitfields [2021-07-28T14:35:31.964Z] Scanning dependencies of target template-discovery [2021-07-28T14:35:31.964Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-07-28T14:35:32.236Z] [ 93%] Linking C executable template-discovery [2021-07-28T14:35:32.509Z] [ 93%] Built target template-discovery [2021-07-28T14:35:32.509Z] Scanning dependencies of target device-file [2021-07-28T14:35:32.509Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-07-28T14:35:32.782Z] [ 96%] Linking C executable device-file [2021-07-28T14:35:33.054Z] [ 96%] Built target device-file [2021-07-28T14:35:33.054Z] Scanning dependencies of target device-terminal [2021-07-28T14:35:33.054Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-07-28T14:35:33.327Z] [100%] Linking C executable device-terminal [2021-07-28T14:35:33.601Z] [100%] Built target device-terminal [2021-07-28T14:35:33.601Z] make: Entering directory '/tmp/sdk/build/release' [2021-07-28T14:35:33.874Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-07-28T14:35:33.874Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-28T14:35:33.874Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-28T14:35:33.874Z] [ 75%] Built target csdk [2021-07-28T14:35:33.874Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-28T14:35:33.874Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-28T14:35:33.874Z] [ 78%] Built target template [2021-07-28T14:35:33.874Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-28T14:35:33.874Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-28T14:35:33.874Z] [ 81%] Built target device-counter [2021-07-28T14:35:33.874Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-28T14:35:33.874Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-28T14:35:33.874Z] [ 84%] Built target device-random [2021-07-28T14:35:33.874Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-28T14:35:34.148Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-28T14:35:34.148Z] [ 87%] Built target device-gyro [2021-07-28T14:35:34.148Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-28T14:35:34.148Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-28T14:35:34.148Z] [ 90%] Built target device-bitfields [2021-07-28T14:35:34.148Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-28T14:35:34.148Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-28T14:35:34.148Z] [ 93%] Built target template-discovery [2021-07-28T14:35:34.148Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-28T14:35:34.148Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-28T14:35:34.148Z] [ 96%] Built target device-file [2021-07-28T14:35:34.148Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-28T14:35:34.148Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-28T14:35:34.148Z] [100%] Built target device-terminal [2021-07-28T14:35:34.148Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-07-28T14:35:34.148Z] Install the project... [2021-07-28T14:35:34.148Z] -- Install configuration: "Release" [2021-07-28T14:35:34.148Z] -- Installing: /usr/local/lib/libcsdk.so [2021-07-28T14:35:34.148Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-07-28T14:35:34.148Z] -- Up-to-date: /usr/local/include [2021-07-28T14:35:34.148Z] -- Installing: /usr/local/include/edgex [2021-07-28T14:35:34.148Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-07-28T14:35:34.148Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-07-28T14:35:34.148Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-07-28T14:35:34.148Z] -- Installing: /usr/local/include/edgex/devices.h [2021-07-28T14:35:34.148Z] -- Installing: /usr/local/include/edgex/secrets.h [2021-07-28T14:35:34.148Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-07-28T14:35:34.148Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-07-28T14:35:34.148Z] -- Installing: /usr/local/include/devsdk [2021-07-28T14:35:34.148Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-07-28T14:35:34.148Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-07-28T14:35:34.148Z] -- Installing: /usr/local/include/iot [2021-07-28T14:35:34.148Z] -- Installing: /usr/local/include/iot/json.h [2021-07-28T14:35:34.148Z] -- Installing: /usr/local/include/iot/container.h [2021-07-28T14:35:34.148Z] -- Installing: /usr/local/include/iot/component.h [2021-07-28T14:35:34.148Z] -- Installing: /usr/local/include/iot/typecode.h [2021-07-28T14:35:34.148Z] -- Installing: /usr/local/include/iot/iot.h [2021-07-28T14:35:34.148Z] -- Installing: /usr/local/include/iot/time.h [2021-07-28T14:35:34.148Z] -- Installing: /usr/local/include/iot/hash.h [2021-07-28T14:35:34.148Z] -- Installing: /usr/local/include/iot/logger.h [2021-07-28T14:35:34.148Z] -- Installing: /usr/local/include/iot/os [2021-07-28T14:35:34.148Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-07-28T14:35:34.148Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-07-28T14:35:34.148Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-07-28T14:35:34.148Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-07-28T14:35:34.148Z] -- Installing: /usr/local/include/iot/data.h [2021-07-28T14:35:34.421Z] -- Installing: /usr/local/include/iot/thread.h [2021-07-28T14:35:34.421Z] -- Installing: /usr/local/include/iot/os.h [2021-07-28T14:35:34.421Z] -- Installing: /usr/local/include/iot/base64.h [2021-07-28T14:35:34.421Z] -- Installing: /usr/local/include/iot/defs.h [2021-07-28T14:35:34.421Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-07-28T14:35:34.421Z] -- Installing: /usr/local/include/iot/config.h [2021-07-28T14:35:34.421Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-07-28T14:35:34.421Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-07-28T14:35:34.421Z] make: Leaving directory '/tmp/sdk/build/release' [2021-07-28T14:35:36.396Z] Removing intermediate container fb3441917c21 [2021-07-28T14:35:36.396Z] ---> 67fd4119e86b [2021-07-28T14:35:36.396Z] Step 16/25 : FROM ${BASE} [2021-07-28T14:35:36.396Z] ---> 759262b18b23 [2021-07-28T14:35:36.396Z] Step 17/25 : LABEL maintainer="IOTech " [2021-07-28T14:35:36.396Z] ---> Running in 9d9479bc069c [2021-07-28T14:35:36.990Z] Removing intermediate container 9d9479bc069c [2021-07-28T14:35:36.990Z] ---> 7d657ba4a4a8 [2021-07-28T14:35:36.990Z] 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-28T14:35:37.268Z] ---> Running in b846b1c3b58d [2021-07-28T14:35:38.703Z] Connecting to iotech.jfrog.io (54.195.244.87:443) [2021-07-28T14:35:38.979Z] saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-07-28T14:35:38.979Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-07-28T14:35:38.979Z] '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [2021-07-28T14:35:39.961Z] Removing intermediate container b846b1c3b58d [2021-07-28T14:35:39.961Z] ---> 3fa10f9b7174 [2021-07-28T14:35:39.961Z] Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-07-28T14:35:39.961Z] ---> Running in a231f7102f7d [2021-07-28T14:35:42.582Z] Removing intermediate container a231f7102f7d [2021-07-28T14:35:42.582Z] ---> 94fd2045e3b0 [2021-07-28T14:35:42.582Z] 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-28T14:35:42.582Z] ---> Running in 19cb7c139a9f [2021-07-28T14:35:43.562Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-07-28T14:35:44.158Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-07-28T14:35:44.753Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz [2021-07-28T14:35:45.731Z] (1/7) Installing curl (7.78.0-r0) [2021-07-28T14:35:45.731Z] (2/7) Installing hiredis (0.14.1-r0) [2021-07-28T14:35:46.004Z] (3/7) Installing hiredis-dev (0.14.1-r0) [2021-07-28T14:35:46.004Z] (4/7) Installing libuuid (2.35.2-r0) [2021-07-28T14:35:46.004Z] (5/7) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-07-28T14:35:47.435Z] (6/7) Installing libidn2 (2.3.0-r0) [2021-07-28T14:35:47.708Z] (7/7) Installing wget (1.20.3-r1) [2021-07-28T14:35:47.981Z] Executing busybox-1.31.1-r20.trigger [2021-07-28T14:35:47.981Z] OK: 267 MiB in 82 packages [2021-07-28T14:35:49.415Z] Removing intermediate container 19cb7c139a9f [2021-07-28T14:35:49.416Z] ---> a950adc957e5 [2021-07-28T14:35:49.416Z] Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-07-28T14:35:50.018Z] ---> 2c6d31e30a1f [2021-07-28T14:35:50.018Z] Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-07-28T14:35:50.997Z] ---> 6e648d73917a [2021-07-28T14:35:50.997Z] Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-07-28T14:35:51.975Z] ---> e01238d7309a [2021-07-28T14:35:51.975Z] Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-07-28T14:35:52.954Z] ---> e478843f9426 [2021-07-28T14:35:52.954Z] Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-07-28T14:35:53.551Z] ---> 7d11d5a4da1a [2021-07-28T14:35:53.551Z] Successfully built 7d11d5a4da1a [2021-07-28T14:35:53.551Z] 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-28T14:35:54.319Z] + docker inspect -f . ci-base-image-arm64 [2021-07-28T14:35:54.319Z] . [Pipeline] withDockerContainer [2021-07-28T14:35:54.590Z] prd-ubuntu18.04-docker-arm64-4c-16g-350 does not seem to be running inside a container [2021-07-28T14:35:54.678Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/3 -v /w/workspace/device-sdk-c/3:/w/workspace/device-sdk-c/3:rw,z -v /w/workspace/device-sdk-c/3@tmp:/w/workspace/device-sdk-c/3@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-28T14:35:56.253Z] $ docker top 82b29698a86d3111fc7d7abdcd59e27b0cd1eea875aa8a1d568615ce799db52c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-28T14:35:57.238Z] + make test [2021-07-28T14:35:57.238Z] echo "make test" [2021-07-28T14:35:57.238Z] make test [Pipeline] } [2021-07-28T14:35:57.263Z] $ docker stop --time=1 82b29698a86d3111fc7d7abdcd59e27b0cd1eea875aa8a1d568615ce799db52c [2021-07-28T14:35:59.198Z] $ docker rm -f 82b29698a86d3111fc7d7abdcd59e27b0cd1eea875aa8a1d568615ce799db52c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-28T14:35:59.921Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-07-28T14:36:00.263Z] + ls -al . [2021-07-28T14:36:00.263Z] total 192 [2021-07-28T14:36:00.263Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 28 14:33 . [2021-07-28T14:36:00.263Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 28 14:33 .. [2021-07-28T14:36:00.263Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 28 14:33 .git [2021-07-28T14:36:00.263Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 28 14:33 .github [2021-07-28T14:36:00.263Z] -rw-rw-r-- 1 jenkins jenkins 176 Jul 28 14:33 .gitignore [2021-07-28T14:36:00.263Z] -rw-rw-r-- 1 jenkins jenkins 3104 Jul 28 14:33 Attribution.txt [2021-07-28T14:36:00.263Z] -rw-rw-r-- 1 jenkins jenkins 7556 Jul 28 14:33 CHANGES [2021-07-28T14:36:00.263Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jul 28 14:33 Doxyfile [2021-07-28T14:36:00.263Z] -rw-rw-r-- 1 jenkins jenkins 784 Jul 28 14:33 Jenkinsfile [2021-07-28T14:36:00.263Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jul 28 14:33 LICENSE [2021-07-28T14:36:00.263Z] -rw-rw-r-- 1 jenkins jenkins 444 Jul 28 14:33 Makefile [2021-07-28T14:36:00.263Z] -rw-rw-r-- 1 jenkins jenkins 4090 Jul 28 14:33 README.md [2021-07-28T14:36:00.263Z] -rw-rw-r-- 1 jenkins jenkins 7090 Jul 28 14:33 README.v2.md [2021-07-28T14:36:00.263Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 28 14:30 VERSION [2021-07-28T14:36:00.263Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 28 14:33 docs [2021-07-28T14:36:00.263Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 28 14:33 include [2021-07-28T14:36:00.263Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 28 14:33 scripts [2021-07-28T14:36:00.263Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 28 14:33 src [Pipeline] isUnix [Pipeline] sh [2021-07-28T14:36:00.614Z] + 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=5048bae720c79543fca2aba60573befd8a3af3e7 --label arch=arm64 --label version=0.0.0 . [2021-07-28T14:36:00.889Z] Sending build context to Docker daemon 2.692MB [2021-07-28T14:36:01.163Z] Step 1/17 : ARG BASE=alpine:3.12 [2021-07-28T14:36:01.163Z] Step 2/17 : FROM ${BASE} [2021-07-28T14:36:01.163Z] ---> 7d11d5a4da1a [2021-07-28T14:36:01.163Z] Step 3/17 : LABEL maintainer="IOTech " [2021-07-28T14:36:01.439Z] ---> Running in d2135df8c8b2 [2021-07-28T14:36:02.043Z] Removing intermediate container d2135df8c8b2 [2021-07-28T14:36:02.043Z] ---> 8dcd8a148b65 [2021-07-28T14:36:02.044Z] 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-28T14:36:02.044Z] ---> Running in c5e29ceaba3f [2021-07-28T14:36:03.477Z] --2021-07-28 14:36:03-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub [2021-07-28T14:36:03.477Z] Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.170.66.44, 54.195.244.87, 54.229.110.245 [2021-07-28T14:36:03.477Z] Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.170.66.44|:443... connected. [2021-07-28T14:36:03.750Z] HTTP request sent, awaiting response... 200 OK [2021-07-28T14:36:03.750Z] Length: 451 [application/octet-stream] [2021-07-28T14:36:03.750Z] Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-07-28T14:36:03.750Z]  [2021-07-28T14:36:03.750Z] 0K      100% 18.3M=0s [2021-07-28T14:36:03.750Z] [2021-07-28T14:36:03.750Z] 2021-07-28 14:36:03 (18.3 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] [2021-07-28T14:36:03.750Z] [2021-07-28T14:36:04.728Z] Removing intermediate container c5e29ceaba3f [2021-07-28T14:36:04.728Z] ---> 79b80ead1235 [2021-07-28T14:36:04.728Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-07-28T14:36:05.001Z] ---> Running in d851edd833dc [2021-07-28T14:36:06.988Z] Removing intermediate container d851edd833dc [2021-07-28T14:36:06.989Z] ---> 2d424e00a00c [2021-07-28T14:36:06.989Z] 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-28T14:36:07.585Z] ---> Running in 4b0a8e1fab09 [2021-07-28T14:36:08.567Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-07-28T14:36:09.543Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-07-28T14:36:09.819Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz [2021-07-28T14:36:10.414Z] (1/16) Installing ncurses-dev (6.2_p20200523-r0) [2021-07-28T14:36:10.414Z] (2/16) Installing libblkid (2.35.2-r0) [2021-07-28T14:36:10.687Z] (3/16) Installing blkid (2.35.2-r0) [2021-07-28T14:36:10.687Z] (4/16) Installing libcap-ng (0.7.10-r1) [2021-07-28T14:36:10.687Z] (5/16) Installing setpriv (2.35.2-r0) [2021-07-28T14:36:10.961Z] (6/16) Installing libmount (2.35.2-r0) [2021-07-28T14:36:10.961Z] (7/16) Installing libsmartcols (2.35.2-r0) [2021-07-28T14:36:10.961Z] (8/16) Installing findmnt (2.35.2-r0) [2021-07-28T14:36:10.961Z] (9/16) Installing mcookie (2.35.2-r0) [2021-07-28T14:36:11.235Z] (10/16) Installing hexdump (2.35.2-r0) [2021-07-28T14:36:11.235Z] (11/16) Installing lsblk (2.35.2-r0) [2021-07-28T14:36:11.235Z] (12/16) Installing libfdisk (2.35.2-r0) [2021-07-28T14:36:11.509Z] (13/16) Installing sfdisk (2.35.2-r0) [2021-07-28T14:36:11.509Z] (14/16) Installing cfdisk (2.35.2-r0) [2021-07-28T14:36:11.509Z] (15/16) Installing util-linux (2.35.2-r0) [2021-07-28T14:36:12.106Z] (16/16) Installing util-linux-dev (2.35.2-r0) [2021-07-28T14:36:12.405Z] Executing busybox-1.31.1-r20.trigger [2021-07-28T14:36:12.405Z] OK: 276 MiB in 98 packages [2021-07-28T14:36:13.929Z] Removing intermediate container 4b0a8e1fab09 [2021-07-28T14:36:13.929Z] ---> 1034c96a04e5 [2021-07-28T14:36:13.929Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2021-07-28T14:36:14.918Z] ---> 6f82fb302b99 [2021-07-28T14:36:14.918Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2021-07-28T14:36:15.928Z] ---> 76eab582fbd8 [2021-07-28T14:36:15.928Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2021-07-28T14:36:16.928Z] ---> d0d4e47d36b4 [2021-07-28T14:36:16.928Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2021-07-28T14:36:17.923Z] ---> 38cf2dd57030 [2021-07-28T14:36:17.923Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2021-07-28T14:36:18.557Z] ---> d927451da499 [2021-07-28T14:36:18.557Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2021-07-28T14:36:19.598Z] ---> 4bf8076346b8 [2021-07-28T14:36:19.598Z] Step 13/17 : WORKDIR /edgex-c-sdk [2021-07-28T14:36:19.598Z] ---> Running in d493991086b9 [2021-07-28T14:36:20.201Z] Removing intermediate container d493991086b9 [2021-07-28T14:36:20.201Z] ---> 3920c0993466 [2021-07-28T14:36:20.201Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-07-28T14:36:20.201Z] ---> Running in ba22860f746a [2021-07-28T14:36:20.797Z] Removing intermediate container ba22860f746a [2021-07-28T14:36:20.797Z] ---> 3e718a8ccff7 [2021-07-28T14:36:20.797Z] Step 15/17 : LABEL arch=arm64 [2021-07-28T14:36:20.797Z] ---> Running in 043b2e130541 [2021-07-28T14:36:21.395Z] Removing intermediate container 043b2e130541 [2021-07-28T14:36:21.395Z] ---> 7553ae98651a [2021-07-28T14:36:21.395Z] Step 16/17 : LABEL git_sha=5048bae720c79543fca2aba60573befd8a3af3e7 [2021-07-28T14:36:21.668Z] ---> Running in 5d5df8a879db [2021-07-28T14:36:21.940Z] Removing intermediate container 5d5df8a879db [2021-07-28T14:36:21.940Z] ---> e8092be252e9 [2021-07-28T14:36:21.940Z] Step 17/17 : LABEL version=0.0.0 [2021-07-28T14:36:22.216Z] ---> Running in 42aa3fb49d92 [2021-07-28T14:36:22.821Z] Removing intermediate container 42aa3fb49d92 [2021-07-28T14:36:22.821Z] ---> d904bfa66039 [2021-07-28T14:36:22.821Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-07-28T14:36:22.821Z] Successfully built d904bfa66039 [2021-07-28T14:36:22.821Z] 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-28T14:36:23.428Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-07-28T14:36:23.428Z] [2021-07-28T14:36:23.428Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-07-28T14:36:23.779Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-07-28T14:36:24.056Z] arm64: Pulling from edgex-lftools-log-publisher [2021-07-28T14:36:24.056Z] 448f6bf000e3: Pulling fs layer [2021-07-28T14:36:24.056Z] f757da607395: Pulling fs layer [2021-07-28T14:36:24.056Z] 05883995daec: Pulling fs layer [2021-07-28T14:36:24.056Z] 8603b9c90790: Pulling fs layer [2021-07-28T14:36:24.056Z] 1560dd03e051: Pulling fs layer [2021-07-28T14:36:24.056Z] 27f5ce0e4adf: Pulling fs layer [2021-07-28T14:36:24.056Z] c2d8d7efcc4b: Pulling fs layer [2021-07-28T14:36:24.056Z] 8603b9c90790: Waiting [2021-07-28T14:36:24.056Z] 1560dd03e051: Waiting [2021-07-28T14:36:24.056Z] 27f5ce0e4adf: Waiting [2021-07-28T14:36:24.056Z] c2d8d7efcc4b: Waiting [2021-07-28T14:36:24.330Z] f757da607395: Verifying Checksum [2021-07-28T14:36:24.330Z] f757da607395: Download complete [2021-07-28T14:36:24.330Z] 8603b9c90790: Verifying Checksum [2021-07-28T14:36:24.330Z] 8603b9c90790: Download complete [2021-07-28T14:36:24.604Z] 1560dd03e051: Verifying Checksum [2021-07-28T14:36:24.604Z] 1560dd03e051: Download complete [2021-07-28T14:36:24.604Z] 05883995daec: Verifying Checksum [2021-07-28T14:36:24.604Z] 05883995daec: Download complete [2021-07-28T14:36:24.604Z] 27f5ce0e4adf: Download complete [2021-07-28T14:36:25.202Z] 448f6bf000e3: Verifying Checksum [2021-07-28T14:36:25.202Z] 448f6bf000e3: Download complete [2021-07-28T14:36:27.833Z] c2d8d7efcc4b: Verifying Checksum [2021-07-28T14:36:27.833Z] c2d8d7efcc4b: Download complete [2021-07-28T14:36:28.813Z] 448f6bf000e3: Pull complete [2021-07-28T14:36:29.798Z] f757da607395: Pull complete [2021-07-28T14:36:31.237Z] 05883995daec: Pull complete [2021-07-28T14:36:31.512Z] 8603b9c90790: Pull complete [2021-07-28T14:36:32.494Z] 1560dd03e051: Pull complete [2021-07-28T14:36:32.768Z] 27f5ce0e4adf: Pull complete [2021-07-28T14:36:47.858Z] c2d8d7efcc4b: Pull complete [2021-07-28T14:36:47.858Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-07-28T14:36:47.858Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-07-28T14:36:47.858Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-07-28T14:36:48.119Z] prd-ubuntu18.04-docker-arm64-4c-16g-350 does not seem to be running inside a container [2021-07-28T14:36:48.197Z] $ 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/3 -v /w/workspace/device-sdk-c/3:/w/workspace/device-sdk-c/3:rw,z -v /w/workspace/device-sdk-c/3@tmp:/w/workspace/device-sdk-c/3@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-28T14:36:52.623Z] $ docker top 51ad97a9e6b1a4591cd38c567e9ce5e101778228b4baf1f9bde42e28ddb793a3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-28T14:36:53.596Z] ---> job-cost.sh [2021-07-28T14:36:53.596Z] lf-activate-venv: SKIPPING [2021-07-28T14:36:53.596Z] INFO: No Stack... [2021-07-28T14:36:54.568Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-07-28T14:36:54.838Z] INFO: Archiving Costs [Pipeline] sh [2021-07-28T14:36:55.493Z] + cat /w/workspace/device-sdk-c/3/archives/cost.csv [2021-07-28T14:36:55.493Z] + cut -d, -f6 [Pipeline] lock [2021-07-28T14:36:55.553Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-357-3-stack-cost] [2021-07-28T14:36:55.561Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-357-3-stack-cost] did not exist. Created. [2021-07-28T14:36:55.561Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-357-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-28T14:36:56.241Z] /w/workspace/device-sdk-c/3@tmp/durable-15fb882c/script.sh: 1: /w/workspace/device-sdk-c/3@tmp/durable-15fb882c/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-07-28T14:36:56.905Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-07-28T14:36:56.927Z] Warning: overwriting stash ‘stack-cost’ [2021-07-28T14:36:57.433Z] Stashed 1 file(s) [Pipeline] } [2021-07-28T14:36:57.446Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-357-3-stack-cost] [Pipeline] // lock [Pipeline] } [2021-07-28T14:36:57.471Z] $ docker stop --time=1 51ad97a9e6b1a4591cd38c567e9ce5e101778228b4baf1f9bde42e28ddb793a3 [2021-07-28T14:36:59.090Z] $ docker rm -f 51ad97a9e6b1a4591cd38c567e9ce5e101778228b4baf1f9bde42e28ddb793a3 [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-28T14:37:00.592Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-28T14:37:01.224Z] ---> package-listing.sh [2021-07-28T14:37:01.224Z] ++ facter osfamily [2021-07-28T14:37:01.224Z] ++ tr '[:upper:]' '[:lower:]' [2021-07-28T14:37:01.500Z] + OS_FAMILY=redhat [2021-07-28T14:37:01.500Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-357 [2021-07-28T14:37:01.500Z] + START_PACKAGES=/tmp/packages_start.txt [2021-07-28T14:37:01.500Z] + END_PACKAGES=/tmp/packages_end.txt [2021-07-28T14:37:01.500Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-07-28T14:37:01.500Z] + PACKAGES=/tmp/packages_start.txt [2021-07-28T14:37:01.500Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-357 ']' [2021-07-28T14:37:01.500Z] + PACKAGES=/tmp/packages_end.txt [2021-07-28T14:37:01.500Z] + case "${OS_FAMILY}" in [2021-07-28T14:37:01.500Z] + rpm -qa [2021-07-28T14:37:01.500Z] + sort [2021-07-28T14:37:02.090Z] + '[' -f /tmp/packages_start.txt ']' [2021-07-28T14:37:02.090Z] + '[' -f /tmp/packages_end.txt ']' [2021-07-28T14:37:02.090Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-07-28T14:37:02.090Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-357 ']' [2021-07-28T14:37:02.090Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-357/archives/ [2021-07-28T14:37:02.090Z] + 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-28T14:37:02.105Z] 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-28T14:37:02.406Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-07-28T14:37:03.008Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-28T14:37:03.009Z] [2021-07-28T14:37:03.009Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-07-28T14:37:03.344Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-28T14:37:03.344Z] latest: Pulling from edgex-lftools-log-publisher [2021-07-28T14:37:03.344Z] b4d181a07f80: Pulling fs layer [2021-07-28T14:37:03.344Z] a1111a8f2ec3: Pulling fs layer [2021-07-28T14:37:03.344Z] ed53099fbce6: Pulling fs layer [2021-07-28T14:37:03.344Z] dc539afda2c1: Pulling fs layer [2021-07-28T14:37:03.344Z] 77bc0d833cb6: Pulling fs layer [2021-07-28T14:37:03.344Z] 9065ff56babe: Pulling fs layer [2021-07-28T14:37:03.344Z] d287ab97295c: Pulling fs layer [2021-07-28T14:37:03.344Z] 9065ff56babe: Waiting [2021-07-28T14:37:03.344Z] dc539afda2c1: Waiting [2021-07-28T14:37:03.344Z] 77bc0d833cb6: Waiting [2021-07-28T14:37:03.344Z] d287ab97295c: Waiting [2021-07-28T14:37:03.611Z] a1111a8f2ec3: Verifying Checksum [2021-07-28T14:37:03.611Z] a1111a8f2ec3: Download complete [2021-07-28T14:37:03.876Z] dc539afda2c1: Verifying Checksum [2021-07-28T14:37:03.876Z] dc539afda2c1: Download complete [2021-07-28T14:37:04.143Z] 77bc0d833cb6: Verifying Checksum [2021-07-28T14:37:04.143Z] 77bc0d833cb6: Download complete [2021-07-28T14:37:04.143Z] 9065ff56babe: Verifying Checksum [2021-07-28T14:37:04.143Z] 9065ff56babe: Download complete [2021-07-28T14:37:04.409Z] ed53099fbce6: Verifying Checksum [2021-07-28T14:37:04.409Z] ed53099fbce6: Download complete [2021-07-28T14:37:05.012Z] b4d181a07f80: Verifying Checksum [2021-07-28T14:37:05.012Z] b4d181a07f80: Download complete [2021-07-28T14:37:05.983Z] b4d181a07f80: Pull complete [2021-07-28T14:37:06.255Z] a1111a8f2ec3: Pull complete [2021-07-28T14:37:06.916Z] ed53099fbce6: Pull complete [2021-07-28T14:37:06.916Z] dc539afda2c1: Pull complete [2021-07-28T14:37:07.227Z] 77bc0d833cb6: Pull complete [2021-07-28T14:37:07.227Z] 9065ff56babe: Pull complete [2021-07-28T14:37:09.815Z] d287ab97295c: Verifying Checksum [2021-07-28T14:37:09.815Z] d287ab97295c: Download complete [2021-07-28T14:37:14.522Z] d287ab97295c: Pull complete [2021-07-28T14:37:14.522Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-07-28T14:37:14.522Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-28T14:37:14.522Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-07-28T14:37:14.616Z] prd-centos7-docker-4c-2g-349 does not seem to be running inside a container [2021-07-28T14:37:14.678Z] $ 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-28T14:37:17.239Z] $ docker top 396a92feaaac3dbd377589127120fcd4f404b9de7573ca685d10cb4d87f81881 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-28T14:37:17.644Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-07-28T14:37:17.968Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-07-28T14:37:18.293Z] + ls /var/log/sa-host [2021-07-28T14:37:18.293Z] + sadf -c /var/log/sa-host/sa05 [2021-07-28T14:37:18.293Z] file_magic: OK [2021-07-28T14:37:18.293Z] HZ: Using current value: 100 [2021-07-28T14:37:18.293Z] file_header: OK [2021-07-28T14:37:18.293Z] 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-28T14:37:18.293Z] Statistics: [2021-07-28T14:37:18.293Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-28T14:37:18.293Z] File successfully converted to sysstat format version 12.0.3 [2021-07-28T14:37:18.293Z] + sadf -c /var/log/sa-host/sa28 [2021-07-28T14:37:18.293Z] file_magic: OK [2021-07-28T14:37:18.293Z] HZ: Using current value: 100 [2021-07-28T14:37:18.293Z] file_header: OK [2021-07-28T14:37:18.293Z] 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-28T14:37:18.293Z] Statistics: [2021-07-28T14:37:18.293Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-28T14:37:18.293Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-28T14:37:18.897Z] provisioning config files... [2021-07-28T14:37:18.912Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/config9183398641914983720tmp [Pipeline] { [Pipeline] echo [2021-07-28T14:37:18.935Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-28T14:37:19.247Z] ---> create-netrc.sh [Pipeline] } [2021-07-28T14:37:19.259Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-07-28T14:37:19.658Z] ---> python-tools-install.sh [Pipeline] echo [2021-07-28T14:37:19.673Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-28T14:37:20.000Z] ---> sudo-logs.sh [2021-07-28T14:37:20.000Z] Archiving 'sudo' log.. [2021-07-28T14:37:20.000Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-349.vexxhost.local: Name or service not known [2021-07-28T14:37:20.000Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-349.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-07-28T14:37:20.060Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-28T14:37:20.391Z] ---> job-cost.sh [2021-07-28T14:37:20.391Z] lf-activate-venv: SKIPPING [2021-07-28T14:37:20.391Z] DEBUG: total: 0.18000000715255737 [2021-07-28T14:37:20.391Z] INFO: Retrieving Stack Cost... [2021-07-28T14:37:21.799Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-28T14:37:22.383Z] INFO: Archiving Costs [Pipeline] echo [2021-07-28T14:37:22.401Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-28T14:37:22.722Z] ---> logs-deploy.sh [2021-07-28T14:37:22.722Z] lf-activate-venv: SKIPPING [2021-07-28T14:37:22.722Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-357/3 [2021-07-28T14:37:22.722Z] INFO: archiving workspace using pattern(s): [2021-07-28T14:37:23.681Z] Archives upload complete. [2021-07-28T14:37:23.681Z] INFO: archiving logs to Nexus