Pull request #357 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of iain-anderson for edgexfoundry/device-sdk-c Obtained Jenkinsfile from ea5618c47e08fe482ed2457081bbbe286c91d90d+c75449e85aa6c6239708e25f4301185f1aa5291c (1565bde3d0982f9a679ded813a0e5cabf0876a91) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7615155980055711016.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 144eb70ba3d470a427e699408e811d3f535e987a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6156054082929695603.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 144eb70ba3d470a427e699408e811d3f535e987a The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-357/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-357/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh393244928412724794.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-357/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7084179679122999741.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 144eb70ba3d470a427e699408e811d3f535e987a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 144eb70ba3d470a427e699408e811d3f535e987a # timeout=10 Commit message: "Merge pull request #341 from ernestojeda/master-2-main" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3615746916274798407.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 958cd7e315bbc9ba310183e4d590ee91b14940ee The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-357/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-357/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh8155353626925107295.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 958cd7e315bbc9ba310183e4d590ee91b14940ee (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 958cd7e315bbc9ba310183e4d590ee91b14940ee # timeout=10 Commit message: "Fix: job-cost.sh no longer causes build failures" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 144eb70ba3d470a427e699408e811d3f535e987a Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-2116’ is offline ‘prd-centos7-docker-4c-2g-2117’ is offline Running on prd-centos7-docker-4c-2g-2120 in /w/workspace/edgexfoundry_device-sdk-c_PR-357 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-357 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/jenkins-gitclient-ssh9083908145154136454.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Merging remotes/origin/main commit c75449e85aa6c6239708e25f4301185f1aa5291c into PR head commit ea5618c47e08fe482ed2457081bbbe286c91d90d Merge succeeded, producing ea5618c47e08fe482ed2457081bbbe286c91d90d Checking out Revision ea5618c47e08fe482ed2457081bbbe286c91d90d (PR-357) Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/jenkins-gitclient-ssh2693247727556218657.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/357/head:refs/remotes/origin/PR-357 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ea5618c47e08fe482ed2457081bbbe286c91d90d # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/jenkins-gitclient-ssh5365332646272775148.key > git merge c75449e85aa6c6239708e25f4301185f1aa5291c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ea5618c47e08fe482ed2457081bbbe286c91d90d # timeout=10 Commit message: "feat: Add SecretStore implementation (#304, #305)" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 144eb70ba3d470a427e699408e811d3f535e987a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:09:23 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:09:23 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:09:23 ========================================================= 17:09:23 EdgeX Global Pipelines Version Info 17:09:23 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:09:24 ------------------- 17:09:24 stable info: 17:09:24 ------------------- 17:09:24 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:09:24 Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a 17:09:24 Message: update stable to v1.0.196 17:09:25 ------------------- 17:09:25 experimental info: 17:09:25 ------------------- 17:09:25 Commited By: **** collab-it+edgex@linuxfoundation.org 17:09:25 Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a 17:09:25 Message: update experimental to v1.0.196 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:09:25 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 17:09:25 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 17:09:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:09:25 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:09:25 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:09:26 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo 17:09:26 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 17:09:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 17:09:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:09:26 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 17:09:26 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:09:26 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:09:26 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:09:26 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 17:09:26 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:09:26 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:09:26 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:09:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-357 [Pipeline] echo 17:09:26 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-357 [Pipeline] echo 17:09:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-357 [Pipeline] echo 17:09:26 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ea5618c47e08fe482ed2457081bbbe286c91d90d [Pipeline] echo 17:09:26 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ea5618c [Pipeline] echo 17:09:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:09:27 provisioning config files... 17:09:27 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/config6483871460108914679tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:09:27 ---> docker-login.sh 17:09:27 nexus3.edgexfoundry.org:10001 17:09:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:09:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:09:27 Configure a credential helper to remove this warning. See 17:09:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:09:27 17:09:27 Login Succeeded 17:09:27 nexus3.edgexfoundry.org:10002 17:09:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:09:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:09:27 Configure a credential helper to remove this warning. See 17:09:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:09:27 17:09:27 Login Succeeded 17:09:27 nexus3.edgexfoundry.org:10003 17:09:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:09:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:09:28 Configure a credential helper to remove this warning. See 17:09:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:09:28 17:09:28 Login Succeeded 17:09:28 nexus3.edgexfoundry.org:10004 17:09:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:09:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:09:28 Configure a credential helper to remove this warning. See 17:09:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:09:28 17:09:28 Login Succeeded 17:09:28 docker.io 17:09:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:09:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:09:28 Configure a credential helper to remove this warning. See 17:09:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:09:28 17:09:28 Login Succeeded 17:09:28 ---> docker-login.sh ends [Pipeline] } 17:09:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 17:09:29 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:09:29 17:09:29 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 17:09:30 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:09:30 latest: Pulling from edgex-devops/git-semver 17:09:30 31603596830f: Pulling fs layer 17:09:30 b6dc333f4379: Pulling fs layer 17:09:30 3d9ef1400e77: Pulling fs layer 17:09:30 fd332fbdc1db: Pulling fs layer 17:09:30 fd332fbdc1db: Waiting 17:09:30 b6dc333f4379: Verifying Checksum 17:09:30 b6dc333f4379: Download complete 17:09:30 31603596830f: Verifying Checksum 17:09:30 31603596830f: Download complete 17:09:30 3d9ef1400e77: Verifying Checksum 17:09:30 3d9ef1400e77: Download complete 17:09:30 fd332fbdc1db: Verifying Checksum 17:09:30 fd332fbdc1db: Download complete 17:09:30 31603596830f: Pull complete 17:09:30 b6dc333f4379: Pull complete 17:09:31 3d9ef1400e77: Pull complete 17:09:31 fd332fbdc1db: Pull complete 17:09:31 Digest: sha256:db6b30291b918ea2df8875cce3ed97fb48fa491dcbf862453db6614bc0bd4782 17:09:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:09:31 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 17:09:31 prd-centos7-docker-4c-2g-2120 does not seem to be running inside a container 17:09:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-357 -v /w/workspace/edgexfoundry_device-sdk-c_PR-357:/w/workspace/edgexfoundry_device-sdk-c_PR-357:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 17:09:32 $ docker top 13d921bc0accc3f7f52d8d92631890ea5b77ed4200d08beef0812ec0ce5f0cce -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:09:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:09:32 [ssh-agent] Looking for ssh-agent implementation... 17:09:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:09:32 $ docker exec 13d921bc0accc3f7f52d8d92631890ea5b77ed4200d08beef0812ec0ce5f0cce ssh-agent 17:09:32 SSH_AUTH_SOCK=/tmp/ssh-Oip3U0p8aYIq/agent.13 17:09:32 SSH_AGENT_PID=19 17:09:32 Running ssh-add (command line suppressed) 17:09:32 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/private_key_2173400337991179491.key (/w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/private_key_2173400337991179491.key) 17:09:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:09:33 + git tag --points-at HEAD [Pipeline] } 17:09:33 $ docker exec --env ******** --env ******** 13d921bc0accc3f7f52d8d92631890ea5b77ed4200d08beef0812ec0ce5f0cce ssh-agent -k 17:09:33 unset SSH_AUTH_SOCK; 17:09:33 unset SSH_AGENT_PID; 17:09:33 echo Agent pid 19 killed; 17:09:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:09:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:09:33 [ssh-agent] Looking for ssh-agent implementation... 17:09:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:09:33 $ docker exec 13d921bc0accc3f7f52d8d92631890ea5b77ed4200d08beef0812ec0ce5f0cce ssh-agent 17:09:33 SSH_AUTH_SOCK=/tmp/ssh-igNZuPotik4R/agent.53 17:09:33 SSH_AGENT_PID=59 17:09:33 Running ssh-add (command line suppressed) 17:09:33 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/private_key_6784209809839954486.key (/w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/private_key_6784209809839954486.key) 17:09:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:09:34 + git semver init 17:09:34 # -> Open(): unable to determine branch for HEAD 17:09:34 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-357/.git 17:09:34 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-357 17:09:34 # $SEMVER_REMOTE_NAME = origin 17:09:34 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 17:09:34 # $SEMVER_USER_NAME = edgex-jenkins 17:09:34 # $SEMVER_BRANCH = PR-357 17:09:34 # $SEMVER_TEMP = /tmp/semver-831332335 17:09:34 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 17:09:34 # '/tmp/semver-831332335' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-357/.semver' 17:09:34 # -> Force: false 17:09:34 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-357/.semver [Pipeline] } 17:09:34 $ docker exec --env ******** --env ******** 13d921bc0accc3f7f52d8d92631890ea5b77ed4200d08beef0812ec0ce5f0cce ssh-agent -k 17:09:34 unset SSH_AUTH_SOCK; 17:09:34 unset SSH_AGENT_PID; 17:09:34 echo Agent pid 59 killed; 17:09:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:09:35 + git semver [Pipeline] } 17:09:35 $ docker stop --time=1 13d921bc0accc3f7f52d8d92631890ea5b77ed4200d08beef0812ec0ce5f0cce 17:09:36 $ docker rm -f 13d921bc0accc3f7f52d8d92631890ea5b77ed4200d08beef0812ec0ce5f0cce [Pipeline] // withDockerContainer [Pipeline] sh 17:09:37 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:09:37 Stashed 1 file(s) [Pipeline] echo 17:09:37 [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 17:09:53 Still waiting to schedule task 17:09:53 ‘prd-centos7-docker-4c-2g-2122’ is offline 17:09:53 Still waiting to schedule task 17:09:53 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-2114’ 17:11:00 Running on prd-centos7-docker-4c-2g-2126 in /w/workspace/edgexfoundry_device-sdk-c_PR-357 [Pipeline] { [Pipeline] ws 17:11:00 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 17:11:00 Selected Git installation does not exist. Using Default 17:11:00 The recommended git tool is: NONE 17:11:03 using credential edgex-jenkins-ssh 17:11:03 Cloning the remote Git repository 17:11:03 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 17:11:03 > git init /w/workspace/device-sdk-c/1 # timeout=10 17:11:03 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 17:11:03 > git --version # timeout=10 17:11:03 > git --version # 'git version 2.24.4' 17:11:03 using GIT_SSH to set credentials SSH Credentials for GitHub 17:11:03 [INFO] Currently running in a labeled security context 17:11:03 [INFO] Currently SELinux is 'enforcing' on the host 17:11:03 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh6193494338347594852.key 17:11:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:11:05 Merging remotes/origin/main commit c75449e85aa6c6239708e25f4301185f1aa5291c into PR head commit ea5618c47e08fe482ed2457081bbbe286c91d90d 17:11:05 Merge succeeded, producing ea5618c47e08fe482ed2457081bbbe286c91d90d 17:11:05 Checking out Revision ea5618c47e08fe482ed2457081bbbe286c91d90d (PR-357) 17:11:04 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 17:11:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:11:04 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 17:11:04 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 17:11:04 using GIT_SSH to set credentials SSH Credentials for GitHub 17:11:04 [INFO] Currently running in a labeled security context 17:11:04 [INFO] Currently SELinux is 'enforcing' on the host 17:11:04 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh81610410255998825.key 17:11:04 > 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 17:11:05 > git config core.sparsecheckout # timeout=10 17:11:05 > git checkout -f ea5618c47e08fe482ed2457081bbbe286c91d90d # timeout=10 17:11:05 > git remote # timeout=10 17:11:05 > git config --get remote.origin.url # timeout=10 17:11:05 using GIT_SSH to set credentials SSH Credentials for GitHub 17:11:05 [INFO] Currently running in a labeled security context 17:11:05 [INFO] Currently SELinux is 'enforcing' on the host 17:11:05 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh2654547385685468951.key 17:11:05 > git merge c75449e85aa6c6239708e25f4301185f1aa5291c # timeout=10 17:11:05 > git rev-parse HEAD^{commit} # timeout=10 17:11:05 > git config core.sparsecheckout # timeout=10 17:11:05 > git checkout -f ea5618c47e08fe482ed2457081bbbe286c91d90d # timeout=10 17:11:08 Commit message: "feat: Add SecretStore implementation (#304, #305)" 17:11:08 > git --version # timeout=10 17:11:08 > git --version # 'git version 2.24.4' 17:11:08 fatal: bad object 144eb70ba3d470a427e699408e811d3f535e987a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:11:10 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 17:11:10 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 17:11:10 + true 17:11:10 + sudo service docker restart 17:11:10 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:11:29 provisioning config files... 17:11:29 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config7522285334695180742tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:11:29 ---> docker-login.sh 17:11:29 nexus3.edgexfoundry.org:10001 17:11:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:11:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:11:29 Configure a credential helper to remove this warning. See 17:11:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:11:29 17:11:29 Login Succeeded 17:11:29 nexus3.edgexfoundry.org:10002 17:11:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:11:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:11:29 Configure a credential helper to remove this warning. See 17:11:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:11:29 17:11:29 Login Succeeded 17:11:29 nexus3.edgexfoundry.org:10003 17:11:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:11:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:11:29 Configure a credential helper to remove this warning. See 17:11:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:11:29 17:11:29 Login Succeeded 17:11:29 nexus3.edgexfoundry.org:10004 17:11:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:11:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:11:30 Configure a credential helper to remove this warning. See 17:11:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:11:30 17:11:30 Login Succeeded 17:11:30 docker.io 17:11:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:11:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:11:30 Configure a credential helper to remove this warning. See 17:11:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:11:30 17:11:30 Login Succeeded 17:11:30 ---> docker-login.sh ends [Pipeline] } 17:11:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:11:30 ========================================================= 17:11:30 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 17:11:30 ========================================================= [Pipeline] isUnix [Pipeline] sh 17:11:31 + 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 . 17:11:31 Sending build context to Docker daemon 2.678MB 17:11:31 Step 1/25 : ARG BASE=alpine:3.12 17:11:31 Step 2/25 : FROM ${BASE} as builder 17:11:31 latest: Pulling from edgex-devops/edgex-gcc-base 17:11:31 e7c96db7181b: Pulling fs layer 17:11:31 4c13bbce0fe7: Pulling fs layer 17:11:31 6059c847ac2f: Pulling fs layer 17:11:31 4c13bbce0fe7: Verifying Checksum 17:11:31 4c13bbce0fe7: Download complete 17:11:31 e7c96db7181b: Verifying Checksum 17:11:31 e7c96db7181b: Download complete 17:11:31 e7c96db7181b: Pull complete 17:11:31 4c13bbce0fe7: Pull complete 17:11:32 6059c847ac2f: Verifying Checksum 17:11:32 6059c847ac2f: Download complete 17:11:36 6059c847ac2f: Pull complete 17:11:36 Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e 17:11:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 17:11:36 ---> 5eabd8fd8ba2 17:11:36 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 17:11:37 ---> Running in 9f227ed3a5e3 17:11:37 Connecting to iotech.jfrog.io (54.229.110.245:443) 17:11:38 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 17:11:38 17:11:38 Removing intermediate container 9f227ed3a5e3 17:11:38 ---> 14e37c045c64 17:11:38 Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 17:11:38 ---> Running in d3b9e6d55f01 17:11:39 Removing intermediate container d3b9e6d55f01 17:11:39 ---> e2695cab8b18 17:11:39 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 17:11:39 ---> Running in 399776d812ed 17:11:39 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 17:11:40 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 17:11:41 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 17:11:41 (1/11) Installing hiredis (0.14.0-r0) 17:11:41 (2/11) Installing hiredis-dev (0.14.0-r0) 17:11:41 (3/11) Installing ncurses-dev (6.1_p20190105-r0) 17:11:41 (4/11) Installing paho-mqtt-c-dev (1.3.5-r0) 17:11:43 (5/11) Installing libuuid (2.33-r0) 17:11:43 (6/11) Installing libblkid (2.33-r0) 17:11:43 (7/11) Installing libfdisk (2.33-r0) 17:11:43 (8/11) Installing libmount (2.33-r0) 17:11:43 (9/11) Installing libsmartcols (2.33-r0) 17:11:43 (10/11) Installing util-linux-dev (2.33-r0) 17:11:44 (11/11) Installing wget (1.20.3-r0) 17:11:44 Executing busybox-1.29.3-r10.trigger 17:11:44 OK: 273 MiB in 86 packages 17:11:45 Removing intermediate container 399776d812ed 17:11:45 ---> 28e6757a38a2 17:11:45 Step 6/25 : ENV CBOR_VERSION=0.5.0 17:11:45 ---> Running in 463568ad2bb1 17:11:45 Removing intermediate container 463568ad2bb1 17:11:45 ---> ae202f59effd 17:11:45 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 17:11:45 ---> Running in 258b4bd4655b 17:11:45 --2021-07-07 17:11:45-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 17:11:45 Resolving github.com... 140.82.114.4 17:11:45 Connecting to github.com|140.82.114.4|:443... connected. 17:11:45 HTTP request sent, awaiting response... 302 Found 17:11:45 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 17:11:45 --2021-07-07 17:11:45-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 17:11:45 Resolving codeload.github.com... 140.82.114.9 17:11:45 Connecting to codeload.github.com|140.82.114.9|:443... connected. 17:11:45 HTTP request sent, awaiting response... 200 OK 17:11:45 Length: unspecified [application/x-gzip] 17:11:45 Saving to: 'STDOUT' 17:11:45 17:11:45 0K .......... .......... .......... .......... .......... 1.30M 17:11:45 50K .......... .......... .......... .......... .......... 2.59M 17:11:45 100K .......... .......... .......... .......... .......... 2.56M 17:11:45 150K .......... .......... .......... .......... .......... 38.4M 17:11:45 200K .......... .......... .......... .......... .......... 2.94M 17:11:45 250K .......... .......... .......... .......... .......... 18.7M 17:11:45 300K .......... .......... .......... .......... .......... 11.5M 17:11:45 350K .......... .......... .......... .......... .......... 4.00M 17:11:45 400K .......... .......... .......... .......... .......... 28.9M 17:11:45 450K .......... .......... .......... .......... .......... 8.74M 17:11:45 500K .......... .......... .......... .......... .......... 20.5M 17:11:45 550K .......... .......... .......... .......... .......... 6.93M 17:11:45 600K .......... .......... .......... .......... .......... 2.84M 17:11:45 650K .......... .......... .......... .......... .......... 7.44M 17:11:45 700K .. 102M=0.2s 17:11:45 17:11:45 2021-07-07 17:11:45 (4.49 MB/s) - written to stdout [719348] 17:11:45 17:11:46 -- The C compiler identification is GNU 8.3.0 17:11:46 -- The CXX compiler identification is GNU 8.3.0 17:11:46 -- Check for working C compiler: /usr/bin/cc 17:11:46 -- Check for working C compiler: /usr/bin/cc -- works 17:11:46 -- Detecting C compiler ABI info 17:11:46 -- Detecting C compiler ABI info - done 17:11:46 -- Detecting C compile features 17:11:46 -- Detecting C compile features - done 17:11:46 -- Check for working CXX compiler: /usr/bin/c++ 17:11:46 -- Check for working CXX compiler: /usr/bin/c++ -- works 17:11:46 -- Detecting CXX compiler ABI info 17:11:46 -- Detecting CXX compiler ABI info - done 17:11:46 -- Detecting CXX compile features 17:11:47 -- Detecting CXX compile features - done 17:11:47 -- Looking for include file endian.h 17:11:47 -- Looking for include file endian.h - found 17:11:47 -- Check if the system is big endian 17:11:47 -- Searching 16 bit integer 17:11:47 -- Looking for sys/types.h 17:11:47 -- Looking for sys/types.h - found 17:11:47 -- Looking for stdint.h 17:11:47 -- Looking for stdint.h - found 17:11:47 -- Looking for stddef.h 17:11:47 -- Looking for stddef.h - found 17:11:47 -- Check size of unsigned short 17:11:47 -- Check size of unsigned short - done 17:11:47 -- Using unsigned short 17:11:47 -- Check if the system is big endian - little endian 17:11:47 -- Check size of size_t 17:11:47 -- Check size of size_t - done 17:11:47 CMake Warning at examples/CMakeLists.txt:16 (find_package): 17:11:47 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 17:11:47 asked CMake to find a package configuration file provided by "cJSON", but 17:11:47 CMake did not find one. 17:11:47 17:11:47 Could not find a package configuration file provided by "cJSON" with any of 17:11:47 the following names: 17:11:47 17:11:47 cJSONConfig.cmake 17:11:47 cjson-config.cmake 17:11:47 17:11:47 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 17:11:47 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 17:11:47 provides a separate development package or SDK, be sure it has been 17:11:47 installed. 17:11:47 17:11:47 17:11:47 -- Configuring done 17:11:47 -- Generating done 17:11:47 -- Build files have been written to: /tmp/cbor 17:11:47 Scanning dependencies of target cbor_shared 17:11:47 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 17:11:47 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 17:11:48 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 17:11:48 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 17:11:48 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 17:11:48 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 17:11:48 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 17:11:48 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 17:11:48 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 17:11:48 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 17:11:48 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 17:11:48 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 17:11:48 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 17:11:48 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 17:11:48 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 17:11:48 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 17:11:48 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 17:11:49 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 17:11:49 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 17:11:49 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 17:11:49 [ 40%] Linking C shared library libcbor.so 17:11:49 [ 40%] Built target cbor_shared 17:11:49 Scanning dependencies of target cbor 17:11:49 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 17:11:49 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 17:11:49 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 17:11:49 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 17:11:49 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 17:11:49 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 17:11:49 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 17:11:49 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 17:11:49 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 17:11:50 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 17:11:50 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 17:11:50 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 17:11:50 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 17:11:50 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 17:11:50 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 17:11:50 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 17:11:50 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 17:11:50 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 17:11:50 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 17:11:50 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 17:11:51 [ 80%] Linking C static library libcbor.a 17:11:51 [ 80%] Built target cbor 17:11:51 Scanning dependencies of target create_items 17:11:51 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 17:11:51 [ 84%] Linking C executable create_items 17:11:51 [ 84%] Built target create_items 17:11:51 Scanning dependencies of target readfile 17:11:51 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 17:11:51 [ 88%] Linking C executable readfile 17:11:51 [ 88%] Built target readfile 17:11:51 Scanning dependencies of target streaming_parser 17:11:51 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 17:11:51 [ 92%] Linking C executable streaming_parser 17:11:51 [ 92%] Built target streaming_parser 17:11:51 Scanning dependencies of target sort 17:11:51 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 17:11:51 [ 96%] Linking C executable sort 17:11:51 [ 96%] Built target sort 17:11:51 Scanning dependencies of target hello 17:11:51 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 17:11:51 [100%] Linking C executable hello 17:11:51 [100%] Built target hello 17:11:51 Install the project... 17:11:51 -- Install configuration: "Release" 17:11:51 -- Installing: /usr/local/include/cbor/configuration.h 17:11:51 -- Installing: /usr/local/lib64/libcbor.a 17:11:51 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 17:11:51 -- Installing: /usr/local/lib64/libcbor.so.0 17:11:51 -- Installing: /usr/local/lib64/libcbor.so 17:11:51 -- Up-to-date: /usr/local/include/cbor 17:11:51 -- Installing: /usr/local/include/cbor/arrays.h 17:11:51 -- Installing: /usr/local/include/cbor/bytestrings.h 17:11:51 -- Installing: /usr/local/include/cbor/callbacks.h 17:11:51 -- Installing: /usr/local/include/cbor/common.h 17:11:51 -- Installing: /usr/local/include/cbor/data.h 17:11:51 -- Installing: /usr/local/include/cbor/encoding.h 17:11:51 -- Installing: /usr/local/include/cbor/floats_ctrls.h 17:11:51 -- Installing: /usr/local/include/cbor/internal 17:11:51 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 17:11:51 -- Installing: /usr/local/include/cbor/internal/encoders.h 17:11:51 -- Installing: /usr/local/include/cbor/internal/loaders.h 17:11:51 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 17:11:51 -- Installing: /usr/local/include/cbor/internal/stack.h 17:11:51 -- Installing: /usr/local/include/cbor/internal/unicode.h 17:11:51 -- Installing: /usr/local/include/cbor/ints.h 17:11:51 -- Installing: /usr/local/include/cbor/maps.h 17:11:51 -- Installing: /usr/local/include/cbor/serialization.h 17:11:51 -- Installing: /usr/local/include/cbor/streaming.h 17:11:51 -- Installing: /usr/local/include/cbor/strings.h 17:11:51 -- Installing: /usr/local/include/cbor/tags.h 17:11:51 -- Installing: /usr/local/include/cbor.h 17:11:51 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 17:11:52 Removing intermediate container 258b4bd4655b 17:11:52 ---> deba780e4172 17:11:52 Step 8/25 : RUN mkdir /tmp/sdk 17:11:52 ---> Running in eb6a26dac643 17:11:52 Removing intermediate container eb6a26dac643 17:11:52 ---> 6d98a7525987 17:11:52 Step 9/25 : COPY VERSION /tmp/sdk 17:11:52 ---> 84d9cb5d12ad 17:11:52 Step 10/25 : COPY src /tmp/sdk/src 17:11:53 ---> 501a9cb9f895 17:11:53 Step 11/25 : COPY include /tmp/sdk/include 17:11:53 ---> d51f10ef68a6 17:11:53 Step 12/25 : COPY scripts /tmp/sdk/scripts 17:11:53 ---> b8a9e722c448 17:11:53 Step 13/25 : COPY LICENSE /tmp/sdk 17:11:53 ---> 3d019bcf61fd 17:11:53 Step 14/25 : COPY Attribution.txt /tmp/sdk 17:11:54 ---> 64b2704cdd6a 17:11:54 Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 17:11:54 ---> Running in cdcbb72a90fd 17:11:54 + CPPCHECK=false 17:11:54 + DOCGEN=false 17:11:54 + TOMLVER=SDK-0.2 17:11:54 + CUTILVER=1.1.4 17:11:54 + '[' 0 -gt 0 ] 17:11:54 + readlink -f ./scripts/build.sh 17:11:54 + dirname /tmp/sdk/scripts/build.sh 17:11:54 + dirname /tmp/sdk/scripts 17:11:54 + ROOT=/tmp/sdk 17:11:54 + cd /tmp/sdk 17:11:54 + '[' '!' -d deps ] 17:11:54 + mkdir deps 17:11:54 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 17:11:54 + tar -C deps -z -x -f - 17:11:54 --2021-07-07 17:11:54-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 17:11:54 Resolving github.com... 140.82.113.4 17:11:54 Connecting to github.com|140.82.113.4|:443... connected. 17:11:54 HTTP request sent, awaiting response... 302 Found 17:11:54 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 17:11:54 --2021-07-07 17:11:54-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 17:11:54 Resolving codeload.github.com... 140.82.114.9 17:11:54 Connecting to codeload.github.com|140.82.114.9|:443... connected. 17:11:54 HTTP request sent, awaiting response... 200 OK 17:11:54 Length: unspecified [application/x-gzip] 17:11:54 Saving to: 'STDOUT' 17:11:54  17:11:54 0K .......... ...... 892K=0.02s 17:11:54 17:11:54 2021-07-07 17:11:54 (892 KB/s) - written to stdout [16451] 17:11:54 17:11:54 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 17:11:54 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 17:11:54 + tar -C deps -z -x -f - 17:11:54 --2021-07-07 17:11:54-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 17:11:54 Resolving github.com... 140.82.113.4 17:11:54 Connecting to github.com|140.82.113.4|:443... connected. 17:11:54 HTTP request sent, awaiting response... 302 Found 17:11:54 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] 17:11:54 --2021-07-07 17:11:54-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 17:11:54 Resolving codeload.github.com... 140.82.114.9 17:11:54 Connecting to codeload.github.com|140.82.114.9|:443... connected. 17:11:54 HTTP request sent, awaiting response... 200 OK 17:11:54 Length: unspecified [application/x-gzip] 17:11:54 Saving to: 'STDOUT' 17:11:54  17:11:55 0K .......... .......... .......... .......... .......... 1.21M 17:11:55 50K .......... .......... .......... .......... .......... 2.41M 17:11:55 100K .......... .......... .......... .......... .......... 16.8M 17:11:55 150K .......... .......... .......  4.36M=0.07s 17:11:55 17:11:55 2021-07-07 17:11:54 (2.49 MB/s) - written to stdout [181796] 17:11:55 17:11:55 + mkdir -p src/c/iot 17:11:55 + 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 17:11:55 + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot 17:11:55 + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot 17:11:55 + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot 17:11:55 + mkdir -p include/iot 17:11:55 + 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 17:11:55 + mkdir -p include/iot/os 17:11:55 + 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 17:11:55 + mkdir -p /tmp/sdk/build/release 17:11:55 + cd /tmp/sdk/build/release 17:11:55 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 17:11:55 -- The C compiler identification is GNU 8.3.0 17:11:55 -- Check for working C compiler: /usr/bin/cc 17:11:55 -- Check for working C compiler: /usr/bin/cc -- works 17:11:55 -- Detecting C compiler ABI info 17:11:55 -- Detecting C compiler ABI info - done 17:11:55 -- Detecting C compile features 17:11:55 -- Detecting C compile features - done 17:11:55 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 17:11:55 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 17:11:55 -- Found LIBYAML: /usr/lib/libyaml.so 17:11:55 -- Found LIBUUID: /usr/lib/libuuid.so 17:11:55 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 17:11:55 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 17:11:55 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 17:11:55 -- C SDK 0.0.0 for Linux 17:11:55 -- Performing Test CSDK_HAVE_ATOMIC 17:11:55 -- Performing Test CSDK_HAVE_ATOMIC - Success 17:11:55 -- Found Curses: /usr/lib/libcurses.so 17:11:55 -- Configuring done 17:11:55 -- Generating done 17:11:55 -- Build files have been written to: /tmp/sdk/build/release 17:11:55 + make all package 17:11:55 + tee release.log 17:11:55 Scanning dependencies of target csdk 17:11:55 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 17:11:55 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 17:11:55 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 17:11:56 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 17:11:56 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 17:11:56 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 17:11:56 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 17:11:56 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 17:11:56 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 17:11:56 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 17:11:57 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 17:11:57 [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 17:11:57 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 17:11:57 [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 17:11:57 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 17:11:57 [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 17:11:57 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 17:11:58 [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 17:11:58 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 17:11:58 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 17:11:58 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 17:11:58 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 17:11:58 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 17:11:59 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 17:11:59 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 17:11:59 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 17:11:59 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 17:11:59 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 17:11:59 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 17:11:59 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 17:11:59 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 17:11:59 [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 17:11:59 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 17:12:00 [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o 17:12:00 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 17:12:00 [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 17:12:00 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 17:12:01 [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 17:12:01 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 17:12:01 [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 17:12:01 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 17:12:01 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 17:12:01 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 17:12:01 [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 17:12:02 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 17:12:02 [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o 17:12:02 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 17:12:03 [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 17:12:03 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 17:12:03 [ 75%] Linking C shared library libcsdk.so 17:12:03 [ 75%] Built target csdk 17:12:03 Scanning dependencies of target template 17:12:03 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 17:12:03 [ 78%] Linking C executable template 17:12:03 [ 78%] Built target template 17:12:03 Scanning dependencies of target device-counter 17:12:03 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 17:12:03 [ 81%] Linking C executable device-counter 17:12:03 [ 81%] Built target device-counter 17:12:03 Scanning dependencies of target device-random 17:12:03 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 17:12:03 [ 84%] Linking C executable device-random 17:12:03 [ 84%] Built target device-random 17:12:03 Scanning dependencies of target device-gyro 17:12:03 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 17:12:04 [ 87%] Linking C executable device-gyro 17:12:04 [ 87%] Built target device-gyro 17:12:04 Scanning dependencies of target device-bitfields 17:12:04 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 17:12:04 [ 90%] Linking C executable device-bitfields 17:12:04 [ 90%] Built target device-bitfields 17:12:04 Scanning dependencies of target template-discovery 17:12:04 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 17:12:04 [ 93%] Linking C executable template-discovery 17:12:04 [ 93%] Built target template-discovery 17:12:04 Scanning dependencies of target device-file 17:12:04 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 17:12:04 [ 96%] Linking C executable device-file 17:12:04 [ 96%] Built target device-file 17:12:04 Scanning dependencies of target device-terminal 17:12:04 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 17:12:04 [100%] Linking C executable device-terminal 17:12:04 [100%] Built target device-terminal 17:12:04 Run CPack packaging tool... 17:12:04 CPack: Create package using TGZ 17:12:04 CPack: Install projects 17:12:04 CPack: - Run preinstall target for: Csdk 17:12:04 CPack: - Install project: Csdk 17:12:04 CPack: Create package 17:12:04 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 17:12:04 + '[' false '=' true ] 17:12:04 + '[' false '=' true ] 17:12:04 + mkdir -p /tmp/sdk/build/debug 17:12:04 + cd /tmp/sdk/build/debug 17:12:04 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 17:12:05 -- The C compiler identification is GNU 8.3.0 17:12:05 -- Check for working C compiler: /usr/bin/cc 17:12:05 -- Check for working C compiler: /usr/bin/cc -- works 17:12:05 -- Detecting C compiler ABI info 17:12:05 -- Detecting C compiler ABI info - done 17:12:05 -- Detecting C compile features 17:12:05 -- Detecting C compile features - done 17:12:05 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 17:12:05 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 17:12:05 -- Found LIBYAML: /usr/lib/libyaml.so 17:12:05 -- Found LIBUUID: /usr/lib/libuuid.so 17:12:05 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 17:12:05 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 17:12:05 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 17:12:05 -- C SDK 0.0.0 for Linux 17:12:05 -- Performing Test CSDK_HAVE_ATOMIC 17:12:05 -- Performing Test CSDK_HAVE_ATOMIC - Success 17:12:05 -- Found Curses: /usr/lib/libcurses.so 17:12:05 -- Configuring done 17:12:05 -- Generating done 17:12:05 -- Build files have been written to: /tmp/sdk/build/debug 17:12:05 + make 17:12:05 + tee debug.log 17:12:05 Scanning dependencies of target csdk 17:12:05 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 17:12:05 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 17:12:06 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 17:12:06 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 17:12:06 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 17:12:06 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 17:12:06 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 17:12:06 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 17:12:06 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 17:12:06 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 17:12:06 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 17:12:06 [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 17:12:06 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 17:12:06 [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 17:12:06 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 17:12:06 [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 17:12:06 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 17:12:07 [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 17:12:07 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 17:12:07 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 17:12:07 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 17:12:07 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 17:12:07 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 17:12:07 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 17:12:07 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 17:12:07 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 17:12:07 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 17:12:07 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 17:12:07 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 17:12:07 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 17:12:07 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 17:12:07 [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 17:12:07 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 17:12:07 [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o 17:12:08 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 17:12:08 [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 17:12:08 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 17:12:08 [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 17:12:08 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 17:12:08 [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 17:12:08 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 17:12:08 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 17:12:08 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 17:12:09 [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 17:12:09 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 17:12:09 [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o 17:12:09 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 17:12:09 [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 17:12:09 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 17:12:09 [ 75%] Linking C shared library libcsdk.so 17:12:09 [ 75%] Built target csdk 17:12:09 Scanning dependencies of target template 17:12:09 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 17:12:09 [ 78%] Linking C executable template 17:12:09 [ 78%] Built target template 17:12:09 Scanning dependencies of target device-counter 17:12:09 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 17:12:09 [ 81%] Linking C executable device-counter 17:12:09 [ 81%] Built target device-counter 17:12:09 Scanning dependencies of target device-random 17:12:09 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 17:12:09 [ 84%] Linking C executable device-random 17:12:09 [ 84%] Built target device-random 17:12:09 Scanning dependencies of target device-gyro 17:12:09 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 17:12:10 [ 87%] Linking C executable device-gyro 17:12:10 [ 87%] Built target device-gyro 17:12:10 Scanning dependencies of target device-bitfields 17:12:10 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 17:12:10 [ 90%] Linking C executable device-bitfields 17:12:10 [ 90%] Built target device-bitfields 17:12:10 Scanning dependencies of target template-discovery 17:12:10 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 17:12:10 [ 93%] Linking C executable template-discovery 17:12:10 [ 93%] Built target template-discovery 17:12:10 Scanning dependencies of target device-file 17:12:10 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 17:12:10 [ 96%] Linking C executable device-file 17:12:10 [ 96%] Built target device-file 17:12:10 Scanning dependencies of target device-terminal 17:12:10 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 17:12:10 [100%] Linking C executable device-terminal 17:12:10 [100%] Built target device-terminal 17:12:10 make: Entering directory '/tmp/sdk/build/release' 17:12:10 make[1]: Entering directory '/tmp/sdk/build/release' 17:12:10 make[2]: Entering directory '/tmp/sdk/build/release' 17:12:10 make[2]: Leaving directory '/tmp/sdk/build/release' 17:12:10 [ 75%] Built target csdk 17:12:10 make[2]: Entering directory '/tmp/sdk/build/release' 17:12:10 make[2]: Leaving directory '/tmp/sdk/build/release' 17:12:10 [ 78%] Built target template 17:12:10 make[2]: Entering directory '/tmp/sdk/build/release' 17:12:10 make[2]: Leaving directory '/tmp/sdk/build/release' 17:12:10 [ 81%] Built target device-counter 17:12:10 make[2]: Entering directory '/tmp/sdk/build/release' 17:12:10 make[2]: Leaving directory '/tmp/sdk/build/release' 17:12:10 [ 84%] Built target device-random 17:12:10 make[2]: Entering directory '/tmp/sdk/build/release' 17:12:10 make[2]: Leaving directory '/tmp/sdk/build/release' 17:12:10 [ 87%] Built target device-gyro 17:12:10 make[2]: Entering directory '/tmp/sdk/build/release' 17:12:10 make[2]: Leaving directory '/tmp/sdk/build/release' 17:12:10 [ 90%] Built target device-bitfields 17:12:10 make[2]: Entering directory '/tmp/sdk/build/release' 17:12:10 make[2]: Leaving directory '/tmp/sdk/build/release' 17:12:10 [ 93%] Built target template-discovery 17:12:10 make[2]: Entering directory '/tmp/sdk/build/release' 17:12:10 make[2]: Leaving directory '/tmp/sdk/build/release' 17:12:10 [ 96%] Built target device-file 17:12:10 make[2]: Entering directory '/tmp/sdk/build/release' 17:12:10 make[2]: Leaving directory '/tmp/sdk/build/release' 17:12:10 [100%] Built target device-terminal 17:12:10 make[1]: Leaving directory '/tmp/sdk/build/release' 17:12:10 Install the project... 17:12:10 -- Install configuration: "Release" 17:12:10 -- Installing: /usr/local/lib/libcsdk.so 17:12:10 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 17:12:10 -- Up-to-date: /usr/local/include 17:12:10 -- Installing: /usr/local/include/devsdk 17:12:10 -- Installing: /usr/local/include/devsdk/devsdk-base.h 17:12:10 -- Installing: /usr/local/include/devsdk/devsdk.h 17:12:10 -- Installing: /usr/local/include/edgex 17:12:10 -- Installing: /usr/local/include/edgex/devices.h 17:12:10 -- Installing: /usr/local/include/edgex/edgex-base.h 17:12:10 -- Installing: /usr/local/include/edgex/edgex.h 17:12:10 -- Installing: /usr/local/include/edgex/profiles.h 17:12:10 -- Installing: /usr/local/include/edgex/rest-server.h 17:12:10 -- Installing: /usr/local/include/edgex/secrets.h 17:12:10 -- Installing: /usr/local/include/edgex/csdk-defs.h 17:12:10 -- Installing: /usr/local/include/iot 17:12:10 -- Installing: /usr/local/include/iot/base64.h 17:12:10 -- Installing: /usr/local/include/iot/component.h 17:12:10 -- Installing: /usr/local/include/iot/config.h 17:12:10 -- Installing: /usr/local/include/iot/container.h 17:12:10 -- Installing: /usr/local/include/iot/data.h 17:12:10 -- Installing: /usr/local/include/iot/hash.h 17:12:10 -- Installing: /usr/local/include/iot/iot.h 17:12:10 -- Installing: /usr/local/include/iot/json.h 17:12:10 -- Installing: /usr/local/include/iot/logger.h 17:12:10 -- Installing: /usr/local/include/iot/os.h 17:12:10 -- Installing: /usr/local/include/iot/scheduler.h 17:12:10 -- Installing: /usr/local/include/iot/thread.h 17:12:10 -- Installing: /usr/local/include/iot/threadpool.h 17:12:10 -- Installing: /usr/local/include/iot/time.h 17:12:10 -- Installing: /usr/local/include/iot/typecode.h 17:12:10 -- Installing: /usr/local/include/iot/os 17:12:10 -- Installing: /usr/local/include/iot/os/linux.h 17:12:10 -- Installing: /usr/local/include/iot/os/macos.h 17:12:10 -- Installing: /usr/local/include/iot/os/zephyr.h 17:12:10 -- Installing: /usr/local/include/iot/defs.h 17:12:10 -- Installing: /usr/local/share/device-sdk-c/LICENSE 17:12:10 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 17:12:10 make: Leaving directory '/tmp/sdk/build/release' 17:12:11 Removing intermediate container cdcbb72a90fd 17:12:11 ---> a211511375aa 17:12:11 Step 16/25 : FROM ${BASE} 17:12:11 ---> 5eabd8fd8ba2 17:12:11 Step 17/25 : LABEL maintainer="IOTech " 17:12:11 ---> Running in e6e6b74529ad 17:12:11 Removing intermediate container e6e6b74529ad 17:12:11 ---> 64de21f98b74 17:12:11 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 17:12:11 ---> Running in 3d703d36ea82 17:12:11 Connecting to iotech.jfrog.io (54.170.66.44:443) 17:12:12 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 17:12:12 17:12:12 Removing intermediate container 3d703d36ea82 17:12:12 ---> 473f78d2b25f 17:12:12 Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 17:12:12 ---> Running in 215dfb4606c0 17:12:13 Removing intermediate container 215dfb4606c0 17:12:13 ---> 19b04d64e3a4 17:12:13 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 17:12:13 ---> Running in 8ca0f8281d4d 17:12:13 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 17:12:14 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 17:12:14 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 17:12:15 (1/6) Installing curl (7.64.0-r5) 17:12:15 (2/6) Installing hiredis (0.14.0-r0) 17:12:15 (3/6) Installing hiredis-dev (0.14.0-r0) 17:12:15 (4/6) Installing libuuid (2.33-r0) 17:12:15 (5/6) Installing paho-mqtt-c-dev (1.3.5-r0) 17:12:16 (6/6) Installing wget (1.20.3-r0) 17:12:17 Executing busybox-1.29.3-r10.trigger 17:12:17 OK: 269 MiB in 81 packages 17:12:17 Removing intermediate container 8ca0f8281d4d 17:12:17 ---> 850bc42ad937 17:12:17 Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 17:12:17 ---> cfc53ffc4d5b 17:12:17 Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 17:12:17 ---> 9a082ee38194 17:12:17 Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib 17:12:18 ---> a7519ac66998 17:12:18 Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 17:12:18 ---> 412086fa9716 17:12:18 Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 17:12:18 ---> e28d310d5a59 17:12:18 Successfully built e28d310d5a59 17:12:18 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 17:12:19 + docker inspect -f . ci-base-image-x86_64 17:12:19 . [Pipeline] withDockerContainer 17:12:19 prd-centos7-docker-4c-2g-2126 does not seem to be running inside a container 17:12:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:12:19 $ docker top 97b1cc1b2588b8e22b7530a6c7f2bcf8deadb0f46d51cd4b01e2287dd90bccf3 -eo pid,comm [Pipeline] { [Pipeline] sh 17:12:20 + make test 17:12:20 echo "make test" 17:12:20 make test [Pipeline] } 17:12:20 $ docker stop --time=1 97b1cc1b2588b8e22b7530a6c7f2bcf8deadb0f46d51cd4b01e2287dd90bccf3 17:12:21 $ docker rm -f 97b1cc1b2588b8e22b7530a6c7f2bcf8deadb0f46d51cd4b01e2287dd90bccf3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:12:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:12:23 + ls -al . 17:12:23 total 160 17:12:23 drwxrwxr-x. 8 jenkins jenkins 260 Jul 7 17:11 . 17:12:23 drwxrwxr-x. 4 jenkins jenkins 28 Jul 7 17:11 .. 17:12:23 -rw-rw-r--. 1 jenkins jenkins 3104 Jul 7 17:11 Attribution.txt 17:12:23 -rw-rw-r--. 1 jenkins jenkins 7556 Jul 7 17:11 CHANGES 17:12:23 drwxrwxr-x. 2 jenkins jenkins 121 Jul 7 17:11 docs 17:12:23 -rw-rw-r--. 1 jenkins jenkins 108574 Jul 7 17:11 Doxyfile 17:12:23 drwxrwxr-x. 8 jenkins jenkins 179 Jul 7 17:11 .git 17:12:23 drwxrwxr-x. 2 jenkins jenkins 81 Jul 7 17:11 .github 17:12:23 -rw-rw-r--. 1 jenkins jenkins 176 Jul 7 17:11 .gitignore 17:12:23 drwxrwxr-x. 4 jenkins jenkins 33 Jul 7 17:11 include 17:12:23 -rw-rw-r--. 1 jenkins jenkins 784 Jul 7 17:11 Jenkinsfile 17:12:23 -rw-rw-r--. 1 jenkins jenkins 10174 Jul 7 17:11 LICENSE 17:12:23 -rw-rw-r--. 1 jenkins jenkins 444 Jul 7 17:11 Makefile 17:12:23 -rw-rw-r--. 1 jenkins jenkins 4090 Jul 7 17:11 README.md 17:12:23 -rw-rw-r--. 1 jenkins jenkins 7090 Jul 7 17:11 README.v2.md 17:12:23 drwxrwxr-x. 2 jenkins jenkins 98 Jul 7 17:11 scripts 17:12:23 drwxrwxr-x. 4 jenkins jenkins 50 Jul 7 17:11 src 17:12:23 -rw-rw-r--. 1 jenkins jenkins 5 Jul 7 17:09 VERSION [Pipeline] isUnix [Pipeline] sh 17:12:23 + docker build -t device-sdk -f scripts/Dockerfile.alpine --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=ea5618c47e08fe482ed2457081bbbe286c91d90d --label arch=amd64 --label version=0.0.0 . 17:12:23 Sending build context to Docker daemon 2.678MB 17:12:23 Step 1/17 : ARG BASE=alpine:3.12 17:12:23 Step 2/17 : FROM ${BASE} 17:12:23 ---> e28d310d5a59 17:12:23 Step 3/17 : LABEL maintainer="IOTech " 17:12:23 ---> Running in 20f562c98ff0 17:12:23 Removing intermediate container 20f562c98ff0 17:12:23 ---> 832a2c8d54f7 17:12:23 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 17:12:23 ---> Running in 890082ffe538 17:12:24 --2021-07-07 17:12:23-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub 17:12:24 Resolving iotech.jfrog.io... 54.170.66.44, 54.229.110.245, 54.195.244.87 17:12:24 Connecting to iotech.jfrog.io|54.170.66.44|:443... connected. 17:12:24 HTTP request sent, awaiting response... 200 OK 17:12:24 Length: 451 [application/octet-stream] 17:12:24 Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 17:12:24 17:12:24 0K 100% 52.1M=0s 17:12:24 17:12:24 2021-07-07 17:12:24 (52.1 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] 17:12:24 17:12:24 Removing intermediate container 890082ffe538 17:12:24 ---> f755e6b46f5c 17:12:24 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 17:12:24 ---> Running in c780a81c3417 17:12:25 Removing intermediate container c780a81c3417 17:12:25 ---> ca362357d17f 17:12:25 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 17:12:25 ---> Running in 74a9760dcdb3 17:12:25 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 17:12:26 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 17:12:26 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 17:12:27 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 17:12:27 (2/6) Installing libblkid (2.33-r0) 17:12:27 (3/6) Installing libfdisk (2.33-r0) 17:12:27 (4/6) Installing libmount (2.33-r0) 17:12:27 (5/6) Installing libsmartcols (2.33-r0) 17:12:27 (6/6) Installing util-linux-dev (2.33-r0) 17:12:27 Executing busybox-1.29.3-r10.trigger 17:12:27 OK: 273 MiB in 87 packages 17:12:28 Removing intermediate container 74a9760dcdb3 17:12:28 ---> b0387ff0574e 17:12:28 Step 7/17 : COPY VERSION /edgex-c-sdk/ 17:12:28 ---> 48d0e27d388e 17:12:28 Step 8/17 : COPY src /edgex-c-sdk/src/ 17:12:28 ---> b739f1448c9d 17:12:28 Step 9/17 : COPY include /edgex-c-sdk/include/ 17:12:28 ---> 93a90ce56e9c 17:12:28 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 17:12:28 ---> 4799412f1cef 17:12:28 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 17:12:29 ---> 8ff149207276 17:12:29 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 17:12:29 ---> 289432b1fa93 17:12:29 Step 13/17 : WORKDIR /edgex-c-sdk 17:12:29 ---> Running in c4b8f697d1ae 17:12:29 Removing intermediate container c4b8f697d1ae 17:12:29 ---> b057b0ba3ffb 17:12:29 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 17:12:29 ---> Running in 268efc44f6b0 17:12:29 Removing intermediate container 268efc44f6b0 17:12:29 ---> 736744086660 17:12:29 Step 15/17 : LABEL arch=amd64 17:12:29 ---> Running in 4deebb7905b0 17:12:29 Removing intermediate container 4deebb7905b0 17:12:29 ---> 79845e91c2fd 17:12:29 Step 16/17 : LABEL git_sha=ea5618c47e08fe482ed2457081bbbe286c91d90d 17:12:29 ---> Running in c6075f5d7e6a 17:12:29 Removing intermediate container c6075f5d7e6a 17:12:29 ---> ea19fd671e76 17:12:29 Step 17/17 : LABEL version=0.0.0 17:12:29 ---> Running in 43831d02dccf 17:12:29 Removing intermediate container 43831d02dccf 17:12:29 ---> d07b41cd3cc5 17:12:29 [Warning] One or more build-args [ARCH MAKE] were not consumed 17:12:29 Successfully built d07b41cd3cc5 17:12:29 Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 17:12:45 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2130 in /w/workspace/edgexfoundry_device-sdk-c_PR-357 [Pipeline] { [Pipeline] ws 17:12:45 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 17:12:46 Selected Git installation does not exist. Using Default 17:12:46 The recommended git tool is: NONE 17:12:51 using credential edgex-jenkins-ssh 17:12:51 Cloning the remote Git repository 17:12:51 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 17:12:51 > git init /w/workspace/device-sdk-c/1 # timeout=10 17:12:52 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 17:12:52 > git --version # timeout=10 17:12:52 > git --version # 'git version 2.17.1' 17:12:52 using GIT_SSH to set credentials SSH Credentials for GitHub 17:12:52 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:12:53 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 17:12:53 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:12:53 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 17:12:53 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 17:12:53 using GIT_SSH to set credentials SSH Credentials for GitHub 17:12:53 > 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 17:12:53 Merging remotes/origin/main commit c75449e85aa6c6239708e25f4301185f1aa5291c into PR head commit ea5618c47e08fe482ed2457081bbbe286c91d90d 17:12:54 Merge succeeded, producing ea5618c47e08fe482ed2457081bbbe286c91d90d 17:12:54 Checking out Revision ea5618c47e08fe482ed2457081bbbe286c91d90d (PR-357) 17:12:53 > git config core.sparsecheckout # timeout=10 17:12:53 > git checkout -f ea5618c47e08fe482ed2457081bbbe286c91d90d # timeout=10 17:12:54 > git remote # timeout=10 17:12:54 > git config --get remote.origin.url # timeout=10 17:12:54 using GIT_SSH to set credentials SSH Credentials for GitHub 17:12:54 > git merge c75449e85aa6c6239708e25f4301185f1aa5291c # timeout=10 17:12:54 > git rev-parse HEAD^{commit} # timeout=10 17:12:54 > git config core.sparsecheckout # timeout=10 17:12:54 > git checkout -f ea5618c47e08fe482ed2457081bbbe286c91d90d # timeout=10 17:12:58 Commit message: "feat: Add SecretStore implementation (#304, #305)" 17:12:58 > git --version # timeout=10 17:12:58 > git --version # 'git version 2.17.1' 17:12:58 fatal: bad object 144eb70ba3d470a427e699408e811d3f535e987a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:13:00 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 17:13:00 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 17:13:00 + true 17:13:00 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:13:19 provisioning config files... 17:13:19 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config3388682499205296639tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:13:19 ---> docker-login.sh 17:13:19 nexus3.edgexfoundry.org:10001 17:13:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:13:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:13:21 Configure a credential helper to remove this warning. See 17:13:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:13:21 17:13:21 Login Succeeded 17:13:21 nexus3.edgexfoundry.org:10002 17:13:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:13:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:13:21 Configure a credential helper to remove this warning. See 17:13:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:13:21 17:13:21 Login Succeeded 17:13:21 nexus3.edgexfoundry.org:10003 17:13:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:13:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:13:22 Configure a credential helper to remove this warning. See 17:13:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:13:22 17:13:22 Login Succeeded 17:13:22 nexus3.edgexfoundry.org:10004 17:13:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:13:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:13:22 Configure a credential helper to remove this warning. See 17:13:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:13:22 17:13:22 Login Succeeded 17:13:22 docker.io 17:13:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:13:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:13:23 Configure a credential helper to remove this warning. See 17:13:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:13:23 17:13:23 Login Succeeded 17:13:23 ---> docker-login.sh ends [Pipeline] } 17:13:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:13:24 ========================================================= 17:13:24 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 17:13:24 ========================================================= [Pipeline] isUnix [Pipeline] sh 17:13:24 + 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 . 17:13:25 Sending build context to Docker daemon 2.677MB 17:13:25 Step 1/25 : ARG BASE=alpine:3.12 17:13:25 Step 2/25 : FROM ${BASE} as builder 17:13:25 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 17:13:25 0362ad1dd800: Pulling fs layer 17:13:25 f2cdb1532d8b: Pulling fs layer 17:13:25 37ed683be191: Pulling fs layer 17:13:25 f2cdb1532d8b: Download complete 17:13:25 0362ad1dd800: Verifying Checksum 17:13:25 0362ad1dd800: Download complete 17:13:25 0362ad1dd800: Pull complete 17:13:26 f2cdb1532d8b: Pull complete 17:13:27 37ed683be191: Verifying Checksum 17:13:27 37ed683be191: Download complete 17:13:37 37ed683be191: Pull complete 17:13:37 Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f 17:13:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 17:13:37 ---> b23d30803547 17:13:37 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 17:13:37 ---> Running in afdea5b74666 17:13:38 Connecting to iotech.jfrog.io (54.195.244.87:443) 17:13:39 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 17:13:39 17:13:40 Removing intermediate container afdea5b74666 17:13:40 ---> 55cbc8c62681 17:13:40 Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 17:13:40 ---> Running in f1ab001a3c41 17:13:42 Removing intermediate container f1ab001a3c41 17:13:42 ---> ae984c58822d 17:13:42 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 17:13:42 ---> Running in 7357c30331a4 17:13:44 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 17:13:44 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 17:13:45 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 17:13:46 (1/11) Installing hiredis (0.14.0-r0) 17:13:46 (2/11) Installing hiredis-dev (0.14.0-r0) 17:13:46 (3/11) Installing ncurses-dev (6.1_p20190105-r0) 17:13:46 (4/11) Installing paho-mqtt-c-dev (1.3.5-r0) 17:13:47 (5/11) Installing libuuid (2.33-r0) 17:13:47 (6/11) Installing libblkid (2.33-r0) 17:13:48 (7/11) Installing libfdisk (2.33-r0) 17:13:48 (8/11) Installing libmount (2.33-r0) 17:13:48 (9/11) Installing libsmartcols (2.33-r0) 17:13:48 (10/11) Installing util-linux-dev (2.33-r0) 17:13:49 (11/11) Installing wget (1.20.3-r0) 17:13:49 Executing busybox-1.29.3-r10.trigger 17:13:49 OK: 287 MiB in 86 packages 17:13:50 Removing intermediate container 7357c30331a4 17:13:50 ---> 1d2f4933bbf7 17:13:50 Step 6/25 : ENV CBOR_VERSION=0.5.0 17:13:50 ---> Running in 19cf47a641e6 17:13:51 Removing intermediate container 19cf47a641e6 17:13:51 ---> aadb0ac08572 17:13:51 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 17:13:51 ---> Running in 346e746b6720 17:13:52 --2021-07-07 17:13:52-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 17:13:52 Resolving github.com... 140.82.114.3 17:13:52 Connecting to github.com|140.82.114.3|:443... connected. 17:13:52 HTTP request sent, awaiting response... 302 Found 17:13:52 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 17:13:52 --2021-07-07 17:13:52-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 17:13:52 Resolving codeload.github.com... 140.82.114.9 17:13:52 Connecting to codeload.github.com|140.82.114.9|:443... connected. 17:13:53 HTTP request sent, awaiting response... 200 OK 17:13:53 Length: unspecified [application/x-gzip] 17:13:53 Saving to: 'STDOUT' 17:13:53  17:13:53 0K .......... .......... .......... .......... .......... 1.51M 17:13:53 50K .......... .......... .......... .......... .......... 2.85M 17:13:53 100K .......... .......... .......... .......... .......... 2.83M 17:13:53 150K .......... .......... .......... .......... .......... 14.8M 17:13:53 200K .......... .......... .......... .......... .......... 14.5M 17:13:53 250K .......... .......... .......... .......... .......... 3.18M 17:13:53 300K .......... .......... .......... .......... .......... 4.11M 17:13:53 350K .......... .......... .......... .......... .......... 3.83M 17:13:53 400K .......... .......... .......... .......... .......... 4.19M 17:13:53 450K .......... .......... .......... .......... .......... 3.92M 17:13:53 500K .......... .......... .......... .......... .......... 5.63M 17:13:53 550K .......... .......... .......... .......... .......... 1.92M 17:13:53 600K .......... .......... .......... .......... .......... 974K 17:13:53 650K .......... .......... .......... .......... .......... 1.85M 17:13:53 700K ..        2.87M=0.3s 17:13:53 17:13:53 2021-07-07 17:13:53 (2.74 MB/s) - written to stdout [719348] 17:13:53 17:13:53 -- The C compiler identification is GNU 8.3.0 17:13:53 -- The CXX compiler identification is GNU 8.3.0 17:13:53 -- Check for working C compiler: /usr/bin/cc 17:13:53 -- Check for working C compiler: /usr/bin/cc -- works 17:13:53 -- Detecting C compiler ABI info 17:13:54 -- Detecting C compiler ABI info - done 17:13:54 -- Detecting C compile features 17:13:55 -- Detecting C compile features - done 17:13:55 -- Check for working CXX compiler: /usr/bin/c++ 17:13:55 -- Check for working CXX compiler: /usr/bin/c++ -- works 17:13:55 -- Detecting CXX compiler ABI info 17:13:55 -- Detecting CXX compiler ABI info - done 17:13:55 -- Detecting CXX compile features 17:13:57 -- Detecting CXX compile features - done 17:13:57 -- Looking for include file endian.h 17:13:57 -- Looking for include file endian.h - found 17:13:57 -- Check if the system is big endian 17:13:57 -- Searching 16 bit integer 17:13:57 -- Looking for sys/types.h 17:13:57 -- Looking for sys/types.h - found 17:13:57 -- Looking for stdint.h 17:13:57 -- Looking for stdint.h - found 17:13:57 -- Looking for stddef.h 17:13:58 -- Looking for stddef.h - found 17:13:58 -- Check size of unsigned short 17:13:58 -- Check size of unsigned short - done 17:13:58 -- Using unsigned short 17:13:58 -- Check if the system is big endian - little endian 17:13:59 -- Check size of size_t 17:13:59 -- Check size of size_t - done 17:13:59 CMake Warning at examples/CMakeLists.txt:16 (find_package): 17:13:59 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 17:13:59 asked CMake to find a package configuration file provided by "cJSON", but 17:13:59 CMake did not find one. 17:13:59 17:13:59 Could not find a package configuration file provided by "cJSON" with any of 17:13:59 the following names: 17:13:59 17:13:59 cJSONConfig.cmake 17:13:59 cjson-config.cmake 17:13:59 17:13:59 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 17:13:59 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 17:13:59 provides a separate development package or SDK, be sure it has been 17:13:59 installed. 17:13:59 17:13:59 17:13:59 -- Configuring done 17:13:59 -- Generating done 17:13:59 -- Build files have been written to: /tmp/cbor 17:13:59 Scanning dependencies of target cbor_shared 17:13:59 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 17:14:00 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 17:14:00 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 17:14:01 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 17:14:01 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 17:14:02 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 17:14:02 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 17:14:02 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 17:14:02 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 17:14:02 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 17:14:03 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 17:14:03 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 17:14:04 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 17:14:04 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 17:14:04 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 17:14:04 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 17:14:05 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 17:14:05 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 17:14:05 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 17:14:06 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 17:14:06 [ 40%] Linking C shared library libcbor.so 17:14:06 [ 40%] Built target cbor_shared 17:14:06 Scanning dependencies of target cbor 17:14:06 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 17:14:07 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 17:14:07 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 17:14:07 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 17:14:09 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 17:14:09 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 17:14:09 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 17:14:09 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 17:14:10 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 17:14:10 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 17:14:11 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 17:14:11 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 17:14:11 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 17:14:12 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 17:14:12 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 17:14:12 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 17:14:13 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 17:14:13 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 17:14:13 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 17:14:13 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 17:14:14 [ 80%] Linking C static library libcbor.a 17:14:14 [ 80%] Built target cbor 17:14:14 Scanning dependencies of target create_items 17:14:14 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 17:14:14 [ 84%] Linking C executable create_items 17:14:14 [ 84%] Built target create_items 17:14:14 Scanning dependencies of target readfile 17:14:14 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 17:14:15 [ 88%] Linking C executable readfile 17:14:15 [ 88%] Built target readfile 17:14:15 Scanning dependencies of target streaming_parser 17:14:15 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 17:14:15 [ 92%] Linking C executable streaming_parser 17:14:15 [ 92%] Built target streaming_parser 17:14:15 Scanning dependencies of target sort 17:14:15 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 17:14:15 [ 96%] Linking C executable sort 17:14:15 [ 96%] Built target sort 17:14:15 Scanning dependencies of target hello 17:14:15 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 17:14:15 [100%] Linking C executable hello 17:14:15 [100%] Built target hello 17:14:16 Install the project... 17:14:16 -- Install configuration: "Release" 17:14:16 -- Installing: /usr/local/include/cbor/configuration.h 17:14:16 -- Installing: /usr/local/lib64/libcbor.a 17:14:16 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 17:14:16 -- Installing: /usr/local/lib64/libcbor.so.0 17:14:16 -- Installing: /usr/local/lib64/libcbor.so 17:14:16 -- Up-to-date: /usr/local/include/cbor 17:14:16 -- Installing: /usr/local/include/cbor/streaming.h 17:14:16 -- Installing: /usr/local/include/cbor/ints.h 17:14:16 -- Installing: /usr/local/include/cbor/floats_ctrls.h 17:14:16 -- Installing: /usr/local/include/cbor/bytestrings.h 17:14:16 -- Installing: /usr/local/include/cbor/encoding.h 17:14:16 -- Installing: /usr/local/include/cbor/serialization.h 17:14:16 -- Installing: /usr/local/include/cbor/data.h 17:14:16 -- Installing: /usr/local/include/cbor/common.h 17:14:16 -- Installing: /usr/local/include/cbor/callbacks.h 17:14:16 -- Installing: /usr/local/include/cbor/strings.h 17:14:16 -- Installing: /usr/local/include/cbor/tags.h 17:14:16 -- Installing: /usr/local/include/cbor/internal 17:14:16 -- Installing: /usr/local/include/cbor/internal/encoders.h 17:14:16 -- Installing: /usr/local/include/cbor/internal/loaders.h 17:14:16 -- Installing: /usr/local/include/cbor/internal/stack.h 17:14:16 -- Installing: /usr/local/include/cbor/internal/unicode.h 17:14:16 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 17:14:16 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 17:14:16 -- Installing: /usr/local/include/cbor/arrays.h 17:14:16 -- Installing: /usr/local/include/cbor/maps.h 17:14:16 -- Installing: /usr/local/include/cbor.h 17:14:16 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 17:14:18 Removing intermediate container 346e746b6720 17:14:18 ---> e5f05f6f8713 17:14:18 Step 8/25 : RUN mkdir /tmp/sdk 17:14:18 ---> Running in ac578e639d4b 17:14:20 Removing intermediate container ac578e639d4b 17:14:20 ---> acd9895e81fd 17:14:20 Step 9/25 : COPY VERSION /tmp/sdk 17:14:21 ---> d24fe7dcb527 17:14:21 Step 10/25 : COPY src /tmp/sdk/src 17:14:22 ---> 81bd5ffcff58 17:14:22 Step 11/25 : COPY include /tmp/sdk/include 17:14:23 ---> 9e591d9e09d8 17:14:23 Step 12/25 : COPY scripts /tmp/sdk/scripts 17:14:23 ---> f8049c5ab5e0 17:14:23 Step 13/25 : COPY LICENSE /tmp/sdk 17:14:24 ---> 0713448c59eb 17:14:24 Step 14/25 : COPY Attribution.txt /tmp/sdk 17:14:25 ---> b0894e9088ad 17:14:25 Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 17:14:25 ---> Running in ddea002d5af7 17:14:26 + CPPCHECK=false 17:14:26 + DOCGEN=false 17:14:26 + TOMLVER=SDK-0.2 17:14:26 + CUTILVER=1.1.4 17:14:26 + '[' 0 -gt 0 ] 17:14:26 + readlink -f ./scripts/build.sh 17:14:26 + dirname /tmp/sdk/scripts/build.sh 17:14:26 + dirname /tmp/sdk/scripts 17:14:26 + ROOT=/tmp/sdk 17:14:26 + cd /tmp/sdk 17:14:26 + '[' '!' -d deps ] 17:14:26 + mkdir deps 17:14:26 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 17:14:26 + tar -C deps -z -x -f - 17:14:26 --2021-07-07 17:14:26-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 17:14:26 Resolving github.com... 140.82.114.3 17:14:26 Connecting to github.com|140.82.114.3|:443... connected. 17:14:26 HTTP request sent, awaiting response... 302 Found 17:14:26 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 17:14:26 --2021-07-07 17:14:26-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 17:14:26 Resolving codeload.github.com... 140.82.114.9 17:14:26 Connecting to codeload.github.com|140.82.114.9|:443... connected. 17:14:26 HTTP request sent, awaiting response... 200 OK 17:14:26 Length: 16451 (16K) [application/x-gzip] 17:14:26 Saving to: 'STDOUT' 17:14:26 17:14:26 0K .......... ......  100% 942K=0.02s 17:14:26 17:14:26 2021-07-07 17:14:26 (942 KB/s) - written to stdout [16451/16451] 17:14:26 17:14:26 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 17:14:26 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 17:14:26 + tar -C deps -z -x -f - 17:14:26 --2021-07-07 17:14:26-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 17:14:27 Resolving github.com... 140.82.114.3 17:14:27 Connecting to github.com|140.82.114.3|:443... connected. 17:14:27 HTTP request sent, awaiting response... 302 Found 17:14:27 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] 17:14:27 --2021-07-07 17:14:26-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 17:14:27 Resolving codeload.github.com... 140.82.114.9 17:14:27 Connecting to codeload.github.com|140.82.114.9|:443... connected. 17:14:27 HTTP request sent, awaiting response... 200 OK 17:14:27 Length: 181796 (178K) [application/x-gzip] 17:14:27 Saving to: 'STDOUT' 17:14:27  17:14:27 0K .......... .......... .......... .......... .......... 28% 1.37M 0s 17:14:27 50K .......... .......... .......... .......... .......... 56% 2.78M 0s 17:14:27 100K .......... .......... .......... .......... .......... 84% 4.90M 0s 17:14:27 150K .......... .......... .......  100% 1.69M=0.08s 17:14:27 17:14:27 2021-07-07 17:14:27 (2.20 MB/s) - written to stdout [181796/181796] 17:14:27 17:14:27 + mkdir -p src/c/iot 17:14:27 + 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 17:14:27 + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot 17:14:27 + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot 17:14:27 + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot 17:14:27 + mkdir -p include/iot 17:14:27 + 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 17:14:27 + mkdir -p include/iot/os 17:14:27 + 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 17:14:27 + mkdir -p /tmp/sdk/build/release 17:14:27 + cd /tmp/sdk/build/release 17:14:27 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 17:14:27 -- The C compiler identification is GNU 8.3.0 17:14:27 -- Check for working C compiler: /usr/bin/cc 17:14:27 -- Check for working C compiler: /usr/bin/cc -- works 17:14:27 -- Detecting C compiler ABI info 17:14:28 -- Detecting C compiler ABI info - done 17:14:28 -- Detecting C compile features 17:14:28 -- Detecting C compile features - done 17:14:29 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 17:14:29 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 17:14:29 -- Found LIBYAML: /usr/lib/libyaml.so 17:14:29 -- Found LIBUUID: /usr/lib/libuuid.so 17:14:29 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 17:14:29 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 17:14:29 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 17:14:29 -- C SDK 0.0.0 for Linux 17:14:29 -- Performing Test CSDK_HAVE_ATOMIC 17:14:29 -- Performing Test CSDK_HAVE_ATOMIC - Success 17:14:29 -- Found Curses: /usr/lib/libcurses.so 17:14:29 -- Configuring done 17:14:29 -- Generating done 17:14:29 -- Build files have been written to: /tmp/sdk/build/release 17:14:29 + make all package 17:14:29 + tee release.log 17:14:29 Scanning dependencies of target csdk 17:14:29 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 17:14:30 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 17:14:31 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 17:14:33 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 17:14:33 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 17:14:33 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 17:14:34 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 17:14:34 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 17:14:34 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 17:14:36 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 17:14:37 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 17:14:38 [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 17:14:38 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 17:14:39 [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 17:14:40 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 17:14:40 [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 17:14:40 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 17:14:43 [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 17:14:43 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 17:14:44 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 17:14:44 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 17:14:44 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 17:14:45 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 17:14:48 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 17:14:48 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 17:14:48 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 17:14:48 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 17:14:49 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 17:14:49 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 17:14:50 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 17:14:50 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 17:14:51 [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 17:14:51 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 17:14:53 [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o 17:14:53 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 17:14:54 [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 17:14:55 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 17:14:59 [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 17:15:00 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 17:15:00 [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 17:15:00 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 17:15:01 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 17:15:03 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 17:15:03 [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 17:15:04 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 17:15:04 [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o 17:15:06 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 17:15:09 [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 17:15:10 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 17:15:10 [ 75%] Linking C shared library libcsdk.so 17:15:10 [ 75%] Built target csdk 17:15:10 Scanning dependencies of target template 17:15:10 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 17:15:11 [ 78%] Linking C executable template 17:15:11 [ 78%] Built target template 17:15:11 Scanning dependencies of target device-counter 17:15:11 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 17:15:12 [ 81%] Linking C executable device-counter 17:15:12 [ 81%] Built target device-counter 17:15:12 Scanning dependencies of target device-random 17:15:12 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 17:15:12 [ 84%] Linking C executable device-random 17:15:13 [ 84%] Built target device-random 17:15:13 Scanning dependencies of target device-gyro 17:15:13 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 17:15:13 [ 87%] Linking C executable device-gyro 17:15:13 [ 87%] Built target device-gyro 17:15:14 Scanning dependencies of target device-bitfields 17:15:14 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 17:15:14 [ 90%] Linking C executable device-bitfields 17:15:14 [ 90%] Built target device-bitfields 17:15:14 Scanning dependencies of target template-discovery 17:15:14 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 17:15:15 [ 93%] Linking C executable template-discovery 17:15:15 [ 93%] Built target template-discovery 17:15:15 Scanning dependencies of target device-file 17:15:15 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 17:15:16 [ 96%] Linking C executable device-file 17:15:16 [ 96%] Built target device-file 17:15:16 Scanning dependencies of target device-terminal 17:15:16 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 17:15:17 [100%] Linking C executable device-terminal 17:15:17 [100%] Built target device-terminal 17:15:17 Run CPack packaging tool... 17:15:17 CPack: Create package using TGZ 17:15:17 CPack: Install projects 17:15:17 CPack: - Run preinstall target for: Csdk 17:15:17 CPack: - Install project: Csdk 17:15:17 CPack: Create package 17:15:18 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 17:15:18 + '[' false '=' true ] 17:15:18 + '[' false '=' true ] 17:15:18 + mkdir -p /tmp/sdk/build/debug 17:15:18 + cd /tmp/sdk/build/debug 17:15:18 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 17:15:18 -- The C compiler identification is GNU 8.3.0 17:15:18 -- Check for working C compiler: /usr/bin/cc 17:15:18 -- Check for working C compiler: /usr/bin/cc -- works 17:15:18 -- Detecting C compiler ABI info 17:15:19 -- Detecting C compiler ABI info - done 17:15:19 -- Detecting C compile features 17:15:19 -- Detecting C compile features - done 17:15:19 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 17:15:19 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 17:15:19 -- Found LIBYAML: /usr/lib/libyaml.so 17:15:19 -- Found LIBUUID: /usr/lib/libuuid.so 17:15:19 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 17:15:19 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 17:15:19 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 17:15:19 -- C SDK 0.0.0 for Linux 17:15:19 -- Performing Test CSDK_HAVE_ATOMIC 17:15:20 -- Performing Test CSDK_HAVE_ATOMIC - Success 17:15:20 -- Found Curses: /usr/lib/libcurses.so 17:15:20 -- Configuring done 17:15:20 -- Generating done 17:15:20 -- Build files have been written to: /tmp/sdk/build/debug 17:15:20 + + maketee 17:15:20 debug.log 17:15:20 Scanning dependencies of target csdk 17:15:20 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 17:15:21 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 17:15:21 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 17:15:21 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 17:15:22 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 17:15:22 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 17:15:22 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 17:15:23 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 17:15:23 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 17:15:23 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 17:15:24 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 17:15:24 [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 17:15:24 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 17:15:25 [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 17:15:25 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 17:15:25 [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 17:15:25 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 17:15:26 [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 17:15:26 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 17:15:26 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 17:15:27 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 17:15:27 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 17:15:27 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 17:15:28 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 17:15:28 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 17:15:28 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 17:15:28 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 17:15:29 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 17:15:29 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 17:15:29 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 17:15:29 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 17:15:30 [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 17:15:30 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 17:15:30 [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o 17:15:30 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 17:15:31 [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 17:15:31 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 17:15:32 [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 17:15:32 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 17:15:33 [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 17:15:33 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 17:15:33 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 17:15:34 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 17:15:34 [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 17:15:34 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 17:15:35 [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o 17:15:35 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 17:15:36 [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 17:15:37 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 17:15:37 [ 75%] Linking C shared library libcsdk.so 17:15:37 [ 75%] Built target csdk 17:15:37 Scanning dependencies of target template 17:15:37 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 17:15:37 [ 78%] Linking C executable template 17:15:37 [ 78%] Built target template 17:15:37 Scanning dependencies of target device-counter 17:15:37 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 17:15:38 [ 81%] Linking C executable device-counter 17:15:38 [ 81%] Built target device-counter 17:15:38 Scanning dependencies of target device-random 17:15:38 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 17:15:38 [ 84%] Linking C executable device-random 17:15:39 [ 84%] Built target device-random 17:15:39 Scanning dependencies of target device-gyro 17:15:39 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 17:15:39 [ 87%] Linking C executable device-gyro 17:15:39 [ 87%] Built target device-gyro 17:15:39 Scanning dependencies of target device-bitfields 17:15:39 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 17:15:39 [ 90%] Linking C executable device-bitfields 17:15:40 [ 90%] Built target device-bitfields 17:15:40 Scanning dependencies of target template-discovery 17:15:40 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 17:15:40 [ 93%] Linking C executable template-discovery 17:15:40 [ 93%] Built target template-discovery 17:15:40 Scanning dependencies of target device-file 17:15:40 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 17:15:40 [ 96%] Linking C executable device-file 17:15:41 [ 96%] Built target device-file 17:15:41 Scanning dependencies of target device-terminal 17:15:41 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 17:15:41 [100%] Linking C executable device-terminal 17:15:41 [100%] Built target device-terminal 17:15:41 make: Entering directory '/tmp/sdk/build/release' 17:15:42 make[1]: Entering directory '/tmp/sdk/build/release' 17:15:42 make[2]: Entering directory '/tmp/sdk/build/release' 17:15:42 make[2]: Leaving directory '/tmp/sdk/build/release' 17:15:42 [ 75%] Built target csdk 17:15:42 make[2]: Entering directory '/tmp/sdk/build/release' 17:15:42 make[2]: Leaving directory '/tmp/sdk/build/release' 17:15:42 [ 78%] Built target template 17:15:42 make[2]: Entering directory '/tmp/sdk/build/release' 17:15:42 make[2]: Leaving directory '/tmp/sdk/build/release' 17:15:42 [ 81%] Built target device-counter 17:15:42 make[2]: Entering directory '/tmp/sdk/build/release' 17:15:42 make[2]: Leaving directory '/tmp/sdk/build/release' 17:15:42 [ 84%] Built target device-random 17:15:42 make[2]: Entering directory '/tmp/sdk/build/release' 17:15:42 make[2]: Leaving directory '/tmp/sdk/build/release' 17:15:42 [ 87%] Built target device-gyro 17:15:42 make[2]: Entering directory '/tmp/sdk/build/release' 17:15:42 make[2]: Leaving directory '/tmp/sdk/build/release' 17:15:42 [ 90%] Built target device-bitfields 17:15:42 make[2]: Entering directory '/tmp/sdk/build/release' 17:15:42 make[2]: Leaving directory '/tmp/sdk/build/release' 17:15:42 [ 93%] Built target template-discovery 17:15:42 make[2]: Entering directory '/tmp/sdk/build/release' 17:15:42 make[2]: Leaving directory '/tmp/sdk/build/release' 17:15:42 [ 96%] Built target device-file 17:15:42 make[2]: Entering directory '/tmp/sdk/build/release' 17:15:42 make[2]: Leaving directory '/tmp/sdk/build/release' 17:15:42 [100%] Built target device-terminal 17:15:42 make[1]: Leaving directory '/tmp/sdk/build/release' 17:15:42 Install the project... 17:15:42 -- Install configuration: "Release" 17:15:42 -- Installing: /usr/local/lib/libcsdk.so 17:15:42 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 17:15:42 -- Up-to-date: /usr/local/include 17:15:42 -- Installing: /usr/local/include/edgex 17:15:42 -- Installing: /usr/local/include/edgex/rest-server.h 17:15:42 -- Installing: /usr/local/include/edgex/edgex-base.h 17:15:42 -- Installing: /usr/local/include/edgex/edgex.h 17:15:42 -- Installing: /usr/local/include/edgex/devices.h 17:15:42 -- Installing: /usr/local/include/edgex/secrets.h 17:15:42 -- Installing: /usr/local/include/edgex/profiles.h 17:15:42 -- Installing: /usr/local/include/edgex/csdk-defs.h 17:15:42 -- Installing: /usr/local/include/devsdk 17:15:42 -- Installing: /usr/local/include/devsdk/devsdk-base.h 17:15:42 -- Installing: /usr/local/include/devsdk/devsdk.h 17:15:42 -- Installing: /usr/local/include/iot 17:15:42 -- Installing: /usr/local/include/iot/json.h 17:15:42 -- Installing: /usr/local/include/iot/container.h 17:15:42 -- Installing: /usr/local/include/iot/component.h 17:15:42 -- Installing: /usr/local/include/iot/typecode.h 17:15:42 -- Installing: /usr/local/include/iot/iot.h 17:15:42 -- Installing: /usr/local/include/iot/time.h 17:15:42 -- Installing: /usr/local/include/iot/hash.h 17:15:42 -- Installing: /usr/local/include/iot/logger.h 17:15:42 -- Installing: /usr/local/include/iot/os 17:15:42 -- Installing: /usr/local/include/iot/os/zephyr.h 17:15:42 -- Installing: /usr/local/include/iot/os/linux.h 17:15:42 -- Installing: /usr/local/include/iot/os/macos.h 17:15:42 -- Installing: /usr/local/include/iot/scheduler.h 17:15:42 -- Installing: /usr/local/include/iot/data.h 17:15:42 -- Installing: /usr/local/include/iot/thread.h 17:15:42 -- Installing: /usr/local/include/iot/os.h 17:15:42 -- Installing: /usr/local/include/iot/base64.h 17:15:42 -- Installing: /usr/local/include/iot/defs.h 17:15:42 -- Installing: /usr/local/include/iot/threadpool.h 17:15:42 -- Installing: /usr/local/include/iot/config.h 17:15:42 -- Installing: /usr/local/share/device-sdk-c/LICENSE 17:15:42 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 17:15:42 make: Leaving directory '/tmp/sdk/build/release' 17:15:44 Removing intermediate container ddea002d5af7 17:15:44 ---> f84c4b993a5e 17:15:44 Step 16/25 : FROM ${BASE} 17:15:44 ---> b23d30803547 17:15:44 Step 17/25 : LABEL maintainer="IOTech " 17:15:44 ---> Running in 18a9620a59d0 17:15:45 Removing intermediate container 18a9620a59d0 17:15:45 ---> 7b99b4addb89 17:15:45 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 17:15:45 ---> Running in 8192b5f2943c 17:15:46 Connecting to iotech.jfrog.io (54.170.66.44:443) 17:15:47 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 17:15:47 17:15:48 Removing intermediate container 8192b5f2943c 17:15:48 ---> ec73b1a12121 17:15:48 Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 17:15:48 ---> Running in f2be27c499ee 17:15:50 Removing intermediate container f2be27c499ee 17:15:50 ---> 520e4adc4844 17:15:50 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 17:15:50 ---> Running in a574182c4c86 17:15:52 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 17:15:52 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 17:15:53 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 17:15:53 (1/6) Installing curl (7.64.0-r5) 17:15:54 (2/6) Installing hiredis (0.14.0-r0) 17:15:54 (3/6) Installing hiredis-dev (0.14.0-r0) 17:15:54 (4/6) Installing libuuid (2.33-r0) 17:15:54 (5/6) Installing paho-mqtt-c-dev (1.3.5-r0) 17:15:55 (6/6) Installing wget (1.20.3-r0) 17:15:56 Executing busybox-1.29.3-r10.trigger 17:15:56 OK: 283 MiB in 81 packages 17:15:57 Removing intermediate container a574182c4c86 17:15:57 ---> 6efdf0673e72 17:15:57 Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 17:15:58 ---> 7ef375b1e55e 17:15:58 Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 17:15:59 ---> 502f885ed134 17:15:59 Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib 17:16:00 ---> 85edd5fcc51f 17:16:00 Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 17:16:01 ---> 530c832e9798 17:16:01 Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 17:16:01 ---> bf63359b5a2a 17:16:01 Successfully built bf63359b5a2a 17:16:01 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:16:02 + docker inspect -f . ci-base-image-arm64 17:16:02 . [Pipeline] withDockerContainer 17:16:03 prd-ubuntu18.04-docker-arm64-4c-16g-2130 does not seem to be running inside a container 17:16:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:16:04 $ docker top 2b35b5a78c6f7157ba683322206f4e45f4ff1998e6ddc0143c87ce8268d35ccd -eo pid,comm [Pipeline] { [Pipeline] sh 17:16:05 + make test 17:16:05 echo "make test" 17:16:05 make test [Pipeline] } 17:16:05 $ docker stop --time=1 2b35b5a78c6f7157ba683322206f4e45f4ff1998e6ddc0143c87ce8268d35ccd 17:16:07 $ docker rm -f 2b35b5a78c6f7157ba683322206f4e45f4ff1998e6ddc0143c87ce8268d35ccd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:16:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:16:09 + ls -al . 17:16:09 total 192 17:16:09 drwxrwxr-x 8 jenkins jenkins 4096 Jul 7 17:12 . 17:16:09 drwxrwxr-x 4 jenkins jenkins 4096 Jul 7 17:12 .. 17:16:09 drwxrwxr-x 8 jenkins jenkins 4096 Jul 7 17:12 .git 17:16:09 drwxrwxr-x 2 jenkins jenkins 4096 Jul 7 17:12 .github 17:16:09 -rw-rw-r-- 1 jenkins jenkins 176 Jul 7 17:12 .gitignore 17:16:09 -rw-rw-r-- 1 jenkins jenkins 3104 Jul 7 17:12 Attribution.txt 17:16:09 -rw-rw-r-- 1 jenkins jenkins 7556 Jul 7 17:12 CHANGES 17:16:09 -rw-rw-r-- 1 jenkins jenkins 108574 Jul 7 17:12 Doxyfile 17:16:09 -rw-rw-r-- 1 jenkins jenkins 784 Jul 7 17:12 Jenkinsfile 17:16:09 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 7 17:12 LICENSE 17:16:09 -rw-rw-r-- 1 jenkins jenkins 444 Jul 7 17:12 Makefile 17:16:09 -rw-rw-r-- 1 jenkins jenkins 4090 Jul 7 17:12 README.md 17:16:09 -rw-rw-r-- 1 jenkins jenkins 7090 Jul 7 17:12 README.v2.md 17:16:09 -rw-rw-r-- 1 jenkins jenkins 5 Jul 7 17:09 VERSION 17:16:09 drwxrwxr-x 2 jenkins jenkins 4096 Jul 7 17:12 docs 17:16:09 drwxrwxr-x 4 jenkins jenkins 4096 Jul 7 17:12 include 17:16:09 drwxrwxr-x 2 jenkins jenkins 4096 Jul 7 17:12 scripts 17:16:09 drwxrwxr-x 4 jenkins jenkins 4096 Jul 7 17:12 src [Pipeline] isUnix [Pipeline] sh 17:16:09 + docker build -t device-sdk-arm64 -f scripts/Dockerfile.alpine --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=ea5618c47e08fe482ed2457081bbbe286c91d90d --label arch=arm64 --label version=0.0.0 . 17:16:10 Sending build context to Docker daemon 2.677MB 17:16:10 Step 1/17 : ARG BASE=alpine:3.12 17:16:10 Step 2/17 : FROM ${BASE} 17:16:10 ---> bf63359b5a2a 17:16:10 Step 3/17 : LABEL maintainer="IOTech " 17:16:10 ---> Running in 1b75e11e7a60 17:16:10 Removing intermediate container 1b75e11e7a60 17:16:10 ---> 8fb3ad3da5f8 17:16:10 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 17:16:10 ---> Running in 17d18aef10ce 17:16:12 --2021-07-07 17:16:12-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub 17:16:12 Resolving iotech.jfrog.io... 54.195.244.87, 54.170.66.44, 54.229.110.245 17:16:12 Connecting to iotech.jfrog.io|54.195.244.87|:443... connected. 17:16:12 HTTP request sent, awaiting response... 200 OK 17:16:12 Length: 451 [application/octet-stream] 17:16:12 Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 17:16:12  17:16:12 0K  100% 17.8M=0s 17:16:12 17:16:12 2021-07-07 17:16:12 (17.8 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] 17:16:12 17:16:13 Removing intermediate container 17d18aef10ce 17:16:13 ---> 846ffa37dee2 17:16:13 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 17:16:13 ---> Running in a62e8cd724e8 17:16:16 Removing intermediate container a62e8cd724e8 17:16:16 ---> 5bc12f8af251 17:16:16 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 17:16:16 ---> Running in 6468ed895af9 17:16:17 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 17:16:17 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 17:16:18 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 17:16:19 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 17:16:19 (2/6) Installing libblkid (2.33-r0) 17:16:19 (3/6) Installing libfdisk (2.33-r0) 17:16:19 (4/6) Installing libmount (2.33-r0) 17:16:19 (5/6) Installing libsmartcols (2.33-r0) 17:16:19 (6/6) Installing util-linux-dev (2.33-r0) 17:16:19 Executing busybox-1.29.3-r10.trigger 17:16:19 OK: 287 MiB in 87 packages 17:16:21 Removing intermediate container 6468ed895af9 17:16:21 ---> 4d3acbc33c45 17:16:21 Step 7/17 : COPY VERSION /edgex-c-sdk/ 17:16:21 ---> 8d33ee35bc81 17:16:21 Step 8/17 : COPY src /edgex-c-sdk/src/ 17:16:23 ---> 5133d14f5da4 17:16:23 Step 9/17 : COPY include /edgex-c-sdk/include/ 17:16:23 ---> a99a9dd10151 17:16:23 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 17:16:24 ---> d23bfe4c4167 17:16:24 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 17:16:25 ---> 096d6a132865 17:16:25 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 17:16:26 ---> 67be6bc245a1 17:16:26 Step 13/17 : WORKDIR /edgex-c-sdk 17:16:26 ---> Running in ce55db94121c 17:16:27 Removing intermediate container ce55db94121c 17:16:27 ---> e72a7461f380 17:16:27 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 17:16:27 ---> Running in 7adbe0d80539 17:16:27 Removing intermediate container 7adbe0d80539 17:16:27 ---> c567e7a853cb 17:16:27 Step 15/17 : LABEL arch=arm64 17:16:27 ---> Running in 134df0965a25 17:16:28 Removing intermediate container 134df0965a25 17:16:28 ---> 46dc721d0f9c 17:16:28 Step 16/17 : LABEL git_sha=ea5618c47e08fe482ed2457081bbbe286c91d90d 17:16:28 ---> Running in 95ea56cab1d9 17:16:28 Removing intermediate container 95ea56cab1d9 17:16:28 ---> 72b5bc7efb84 17:16:28 Step 17/17 : LABEL version=0.0.0 17:16:28 ---> Running in 6a1213287fc5 17:16:29 Removing intermediate container 6a1213287fc5 17:16:29 ---> be57e606ff46 17:16:29 [Warning] One or more build-args [ARCH MAKE] were not consumed 17:16:29 Successfully built be57e606ff46 17:16:29 Successfully tagged device-sdk-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 17:16:32 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:16:32 ---> package-listing.sh 17:16:32 ++ tr '[:upper:]' '[:lower:]' 17:16:32 ++ facter osfamily 17:16:32 + OS_FAMILY=redhat 17:16:32 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-357 17:16:32 + START_PACKAGES=/tmp/packages_start.txt 17:16:32 + END_PACKAGES=/tmp/packages_end.txt 17:16:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:16:32 + PACKAGES=/tmp/packages_start.txt 17:16:32 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-357 ']' 17:16:32 + PACKAGES=/tmp/packages_end.txt 17:16:32 + case "${OS_FAMILY}" in 17:16:32 + rpm -qa 17:16:32 + sort 17:16:33 + '[' -f /tmp/packages_start.txt ']' 17:16:33 + '[' -f /tmp/packages_end.txt ']' 17:16:33 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:16:33 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-357 ']' 17:16:33 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-357/archives/ 17:16:33 + 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 17:16:33 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 17:16:33 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 17:16:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:16:34 17:16:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 17:16:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:16:34 alpine: Pulling from edgex-lftools-log-publisher 17:16:34 df20fa9351a1: Pulling fs layer 17:16:34 36b3adc4ff6f: Pulling fs layer 17:16:34 8ad3a11d3b57: Pulling fs layer 17:16:34 46f8f816bc3b: Pulling fs layer 17:16:34 93b61091891f: Pulling fs layer 17:16:34 93b9cdb0e59b: Pulling fs layer 17:16:34 5e14af77c1be: Pulling fs layer 17:16:34 01666e4c0597: Pulling fs layer 17:16:34 aa168da1d23b: Pulling fs layer 17:16:34 93b9cdb0e59b: Waiting 17:16:34 5e14af77c1be: Waiting 17:16:34 01666e4c0597: Waiting 17:16:34 aa168da1d23b: Waiting 17:16:34 46f8f816bc3b: Waiting 17:16:34 93b61091891f: Waiting 17:16:34 36b3adc4ff6f: Verifying Checksum 17:16:34 36b3adc4ff6f: Download complete 17:16:34 46f8f816bc3b: Verifying Checksum 17:16:34 46f8f816bc3b: Download complete 17:16:34 df20fa9351a1: Verifying Checksum 17:16:34 df20fa9351a1: Download complete 17:16:34 93b9cdb0e59b: Verifying Checksum 17:16:34 93b9cdb0e59b: Download complete 17:16:34 5e14af77c1be: Verifying Checksum 17:16:34 5e14af77c1be: Download complete 17:16:34 93b61091891f: Verifying Checksum 17:16:34 93b61091891f: Download complete 17:16:34 01666e4c0597: Verifying Checksum 17:16:34 01666e4c0597: Download complete 17:16:34 8ad3a11d3b57: Verifying Checksum 17:16:34 8ad3a11d3b57: Download complete 17:16:35 df20fa9351a1: Pull complete 17:16:35 36b3adc4ff6f: Pull complete 17:16:35 8ad3a11d3b57: Pull complete 17:16:36 46f8f816bc3b: Pull complete 17:16:36 93b61091891f: Pull complete 17:16:36 93b9cdb0e59b: Pull complete 17:16:36 5e14af77c1be: Pull complete 17:16:36 01666e4c0597: Pull complete 17:16:36 aa168da1d23b: Verifying Checksum 17:16:36 aa168da1d23b: Download complete 17:16:41 aa168da1d23b: Pull complete 17:16:41 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 17:16:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:16:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 17:16:41 prd-centos7-docker-4c-2g-2120 does not seem to be running inside a container 17:16:41 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-357/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-357 -v /w/workspace/edgexfoundry_device-sdk-c_PR-357:/w/workspace/edgexfoundry_device-sdk-c_PR-357:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 17:16:43 $ docker top f12ab3a5e7250167d1112a5a3d6d673910e50831d7e9243b614a7a8a7ab536a8 -eo pid,comm [Pipeline] { [Pipeline] sh 17:16:43 + touch /tmp/pre-build-complete [Pipeline] sh 17:16:43 + mkdir -p /var/log/sa [Pipeline] sh 17:16:44 + ls /var/log/sa-host 17:16:44 + sadf -c /var/log/sa-host/sa05 17:16:44 file_magic: OK 17:16:44 HZ: Using current value: 100 17:16:44 file_header: OK 17:16:44 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 17:16:44 Statistics: 17:16:44 Hnuu...uuuununununu...Hnuu...uuuununununu... 17:16:44 File successfully converted to sysstat format version 12.2.1 17:16:44 + sadf -c /var/log/sa-host/sa07 17:16:44 file_magic: OK 17:16:44 HZ: Using current value: 100 17:16:44 file_header: OK 17:16:44 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 17:16:44 Statistics: 17:16:44 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 17:16:44 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:16:44 provisioning config files... 17:16:44 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/config6660638208523730477tmp [Pipeline] { [Pipeline] echo 17:16:44 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:16:44 ---> create-netrc.sh [Pipeline] } 17:16:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:16:45 ---> python-tools-install.sh [Pipeline] echo 17:16:45 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:16:45 ---> sudo-logs.sh 17:16:45 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:16:45 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:16:46 ---> job-cost.sh 17:16:46 lf-activate-venv: SKIPPING 17:16:46 INFO: No Stack... 17:16:47 INFO: Retrieving Pricing Info for: v3-standard-2 17:16:47 INFO: Archiving Costs [Pipeline] echo 17:16:47 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:16:47 ---> logs-deploy.sh 17:16:47 lf-activate-venv: SKIPPING 17:16:47 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-357/1 17:16:47 INFO: archiving workspace using pattern(s): 17:16:48 Archives upload complete. 17:16:48 INFO: archiving logs to Nexus 17:16:49 ---> uname -a: 17:16:49 Linux prd-centos7-docker-4c-2g-2120.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux 17:16:49 17:16:49 17:16:49 ---> lscpu: 17:16:49 Architecture: x86_64 17:16:49 CPU op-mode(s): 32-bit, 64-bit 17:16:49 Byte Order: Little Endian 17:16:49 Address sizes: 40 bits physical, 48 bits virtual 17:16:49 CPU(s): 2 17:16:49 On-line CPU(s) list: 0,1 17:16:49 Thread(s) per core: 1 17:16:49 Core(s) per socket: 1 17:16:49 Socket(s): 2 17:16:49 NUMA node(s): 1 17:16:49 Vendor ID: AuthenticAMD 17:16:49 CPU family: 23 17:16:49 Model: 49 17:16:49 Model name: AMD EPYC-Rome Processor 17:16:49 Stepping: 0 17:16:49 CPU MHz: 2800.000 17:16:49 BogoMIPS: 5600.00 17:16:49 Virtualization: AMD-V 17:16:49 Hypervisor vendor: KVM 17:16:49 Virtualization type: full 17:16:49 L1d cache: 64 KiB 17:16:49 L1i cache: 64 KiB 17:16:49 L2 cache: 1 MiB 17:16:49 L3 cache: 32 MiB 17:16:49 NUMA node0 CPU(s): 0,1 17:16:49 Vulnerability Itlb multihit: Not affected 17:16:49 Vulnerability L1tf: Not affected 17:16:49 Vulnerability Mds: Not affected 17:16:49 Vulnerability Meltdown: Not affected 17:16:49 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 17:16:49 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 17:16:49 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 17:16:49 Vulnerability Srbds: Not affected 17:16:49 Vulnerability Tsx async abort: Not affected 17:16:49 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 arat npt nrip_save umip spec_ctrl intel_stibp 17:16:49 17:16:49 17:16:49 ---> nproc: 17:16:49 2 17:16:49 17:16:49 17:16:49 ---> df -h: 17:16:49 Filesystem Size Used Available Use% Mounted on 17:16:49 overlay 40.0G 7.6G 32.4G 19% / 17:16:49 tmpfs 64.0M 0 64.0M 0% /dev 17:16:49 tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup 17:16:49 shm 64.0M 0 64.0M 0% /dev/shm 17:16:49 /dev/vda1 40.0G 7.6G 32.4G 19% /facter-os 17:16:49 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/resolv.conf 17:16:49 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hostname 17:16:49 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hosts 17:16:49 /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/edgexfoundry_device-sdk-c_PR-357 17:16:49 /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp 17:16:49 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/sa-host 17:16:49 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/secure 17:16:49 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/auth.log 17:16:49 /dev/vda1 40.0G 7.6G 32.4G 19% /run/cloud-init/result.json 17:16:49 17:16:49 17:16:49 ---> free -m: 17:16:49 total used free shared buff/cache available 17:16:49 Mem: 7821 932 4791 0 2097 6710 17:16:49 Swap: 1023 0 1023 17:16:49 17:16:49 17:16:49 ---> ip addr: 17:16:49 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 17:16:49 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 17:16:49 inet 127.0.0.1/8 scope host lo 17:16:49 valid_lft forever preferred_lft forever 17:16:49 inet6 ::1/128 scope host 17:16:49 valid_lft forever preferred_lft forever 17:16:49 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 17:16:49 link/ether fa:16:3e:70:c9:a1 brd ff:ff:ff:ff:ff:ff 17:16:49 inet 10.30.122.188/23 brd 10.30.123.255 scope global dynamic eth0 17:16:49 valid_lft 85922sec preferred_lft 85922sec 17:16:49 inet6 fe80::f816:3eff:fe70:c9a1/64 scope link 17:16:49 valid_lft forever preferred_lft forever 17:16:49 3: docker0: mtu 1500 qdisc noqueue state DOWN 17:16:49 link/ether 02:42:b9:d3:6a:21 brd ff:ff:ff:ff:ff:ff 17:16:49 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 17:16:49 valid_lft forever preferred_lft forever 17:16:49 inet6 fe80::42:b9ff:fed3:6a21/64 scope link 17:16:49 valid_lft forever preferred_lft forever 17:16:49 17:16:49 17:16:49 ---> sar -b -r -n DEV: 17:16:49 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 07/07/21 _x86_64_ (2 CPU) 17:16:49 17:16:49 17:08:40 LINUX RESTART (2 CPU) 17:16:49 17:16:49 17:09:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 17:16:49 17:10:01 126.28 18.73 107.55 0.00 5863.10 18279.14 0.00 17:16:49 17:11:01 1.83 0.00 1.83 0.00 0.00 37.16 0.00 17:16:49 17:12:01 0.22 0.00 0.22 0.00 0.00 3.45 0.00 17:16:49 17:13:01 0.20 0.00 0.20 0.00 0.00 2.70 0.00 17:16:49 17:14:01 0.18 0.00 0.18 0.00 0.00 2.17 0.00 17:16:49 17:15:01 0.42 0.00 0.42 0.00 0.00 6.41 0.00 17:16:49 17:16:01 0.20 0.00 0.20 0.00 0.00 2.73 0.00 17:16:49 Average: 18.22 2.64 15.59 0.00 825.84 2582.50 0.00 17:16:49 17:16:49 17:09:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 17:16:49 17:10:01 5444316 0 821888 10.26 2620 1740108 1306940 14.43 585816 1578840 132 17:16:49 17:11:01 5452684 0 813512 10.16 2620 1740116 1237620 13.66 578688 1578808 16 17:16:49 17:12:01 5452272 0 813924 10.16 2620 1740116 1237644 13.66 576952 1580732 8 17:16:49 17:13:01 5451572 0 814616 10.17 2620 1740124 1237708 13.67 577992 1580732 16 17:16:49 17:14:01 5455828 0 810352 10.12 2620 1740132 1206844 13.32 571184 1584148 16 17:16:49 17:15:01 5452628 0 813552 10.16 2620 1740132 1206964 13.33 574636 1584148 8 17:16:49 17:16:01 5451048 0 815124 10.18 2620 1740140 1207072 13.33 576388 1584148 16 17:16:49 Average: 5451478 0 814710 10.17 2620 1740124 1234399 13.63 577379 1581651 30 17:16:49 17:16:49 17:09:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 17:16:49 17:10:01 eth0 621.93 441.96 1131.58 90.64 0.00 0.00 0.00 0.00 17:16:49 17:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:16:49 17:10:01 docker0 11.14 7.38 1.19 25.80 0.00 0.00 0.00 0.00 17:16:49 17:11:01 eth0 4.10 0.88 1.27 0.74 0.00 0.00 0.00 0.00 17:16:49 17:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:16:49 17:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:16:49 17:12:01 eth0 2.50 0.70 0.91 0.61 0.00 0.00 0.00 0.00 17:16:49 17:12:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:16:49 17:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:16:49 17:13:01 eth0 1.38 0.70 0.80 0.55 0.00 0.00 0.00 0.00 17:16:49 17:13:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:16:49 17:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:16:49 17:14:01 eth0 0.57 0.08 0.06 0.04 0.00 0.00 0.00 0.00 17:16:49 17:14:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:16:49 17:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:16:49 17:15:01 eth0 1.23 0.42 0.46 0.27 0.00 0.00 0.00 0.00 17:16:49 17:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:16:49 17:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:16:49 17:16:01 eth0 1.03 0.30 0.33 0.20 0.00 0.00 0.00 0.00 17:16:49 17:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:16:49 17:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:16:49 Average: eth0 89.15 62.69 159.93 13.11 0.00 0.00 0.00 0.00 17:16:49 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:16:49 Average: docker0 1.57 1.04 0.17 3.63 0.00 0.00 0.00 0.00 17:16:49 17:16:49 17:16:49 ---> sar -P ALL: 17:16:49 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 07/07/21 _x86_64_ (2 CPU) 17:16:49 17:16:49 17:08:40 LINUX RESTART (2 CPU) 17:16:49 17:16:49 17:09:02 CPU %user %nice %system %iowait %steal %idle 17:16:49 17:10:01 all 17.38 0.00 4.44 3.74 0.07 74.37 17:16:49 17:10:01 0 18.72 0.00 4.37 2.63 0.07 74.20 17:16:49 17:10:01 1 16.04 0.00 4.51 4.85 0.07 74.53 17:16:49 17:11:01 all 0.12 0.00 0.04 0.00 0.03 99.81 17:16:49 17:11:01 0 0.03 0.00 0.05 0.00 0.03 99.88 17:16:49 17:11:01 1 0.20 0.00 0.03 0.00 0.03 99.73 17:16:49 17:12:01 all 0.18 0.00 0.07 0.00 0.03 99.73 17:16:49 17:12:01 0 0.23 0.00 0.03 0.00 0.02 99.72 17:16:49 17:12:01 1 0.12 0.00 0.10 0.00 0.03 99.75 17:16:49 17:13:01 all 0.07 0.00 0.03 0.00 0.04 99.87 17:16:49 17:13:01 0 0.08 0.00 0.03 0.00 0.03 99.85 17:16:49 17:13:01 1 0.05 0.00 0.02 0.00 0.05 99.88 17:16:49 17:14:01 all 0.08 0.00 0.03 0.00 0.03 99.87 17:16:49 17:14:01 0 0.08 0.00 0.03 0.00 0.03 99.85 17:16:49 17:14:01 1 0.07 0.00 0.02 0.00 0.03 99.88 17:16:49 17:15:01 all 0.08 0.00 0.03 0.00 0.05 99.84 17:16:49 17:15:01 0 0.02 0.00 0.02 0.00 0.05 99.92 17:16:49 17:15:01 1 0.15 0.00 0.03 0.00 0.05 99.77 17:16:49 17:16:01 all 0.07 0.00 0.03 0.00 0.03 99.87 17:16:49 17:16:01 0 0.05 0.00 0.03 0.00 0.05 99.87 17:16:49 17:16:01 1 0.08 0.00 0.02 0.00 0.02 99.88 17:16:49 Average: all 2.46 0.00 0.64 0.51 0.04 96.34 17:16:49 Average: 0 2.64 0.00 0.63 0.36 0.04 96.33 17:16:49 Average: 1 2.29 0.00 0.65 0.66 0.04 96.35 17:16:49 17:16:49 17:16:49