Pull request #350 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 0eafd9ce86d38ef564b338f4b2a5e15f85c0d264+1059ececa5aae17f0ac3b06878bede2905539e8a (e9ae2eccd46ce2df87243aac5e5b95db85ab0071) 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-ssh8332588110247510031.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f4a1163c6b2b14014f487cca778b157dcbc6cc6b 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-ssh186306129447940172.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 f4a1163c6b2b14014f487cca778b157dcbc6cc6b 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-350/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-350/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2178909000626436474.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-350/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh9138953098857434002.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f4a1163c6b2b14014f487cca778b157dcbc6cc6b (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f4a1163c6b2b14014f487cca778b157dcbc6cc6b # timeout=10 Commit message: "Merge pull request #339 from ernestojeda/disable-snaps-temp" > 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-ssh8643337283530729042.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd 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-350/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-350/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh471917107118457186.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 d1a99147b03c6cd90561f8e70b7af78166bcd4cd (master) > git config core.sparsecheckout # timeout=10 > git checkout -f d1a99147b03c6cd90561f8e70b7af78166bcd4cd # timeout=10 Commit message: "Feat: Add initial Java pipeline functionality" > 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 f4a1163c6b2b14014f487cca778b157dcbc6cc6b 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-40 in /w/workspace/edgexfoundry_device-sdk-c_PR-350 [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-350 # 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-350@tmp/jenkins-gitclient-ssh5157086256917010627.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-350@tmp/jenkins-gitclient-ssh5563038261796244498.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/350/head:refs/remotes/origin/PR-350 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 1059ececa5aae17f0ac3b06878bede2905539e8a into PR head commit 0eafd9ce86d38ef564b338f4b2a5e15f85c0d264 Merge succeeded, producing 0eafd9ce86d38ef564b338f4b2a5e15f85c0d264 Checking out Revision 0eafd9ce86d38ef564b338f4b2a5e15f85c0d264 (PR-350) > git config core.sparsecheckout # timeout=10 > git checkout -f 0eafd9ce86d38ef564b338f4b2a5e15f85c0d264 # 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-350@tmp/jenkins-gitclient-ssh5808132404123344342.key > git merge 1059ececa5aae17f0ac3b06878bede2905539e8a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0eafd9ce86d38ef564b338f4b2a5e15f85c0d264 # timeout=10 Commit message: "refactor: rename config entries for consistency with Go services refactor: rework service ping check" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object f4a1163c6b2b14014f487cca778b157dcbc6cc6b [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:12:54 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:12:54 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:12:54 ========================================================= 13:12:54 EdgeX Global Pipelines Version Info 13:12:54 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:12:56 ------------------- 13:12:56 stable info: 13:12:56 ------------------- 13:12:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:12:56 Commit SHA: f4a1163c6b2b14014f487cca778b157dcbc6cc6b 13:12:56 Message: update stable to v1.0.194 13:12:56 ------------------- 13:12:56 experimental info: 13:12:56 ------------------- 13:12:56 Commited By: **** collab-it+edgex@linuxfoundation.org 13:12:56 Commit SHA: f4a1163c6b2b14014f487cca778b157dcbc6cc6b 13:12:56 Message: update experimental to v1.0.194 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:12:57 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 13:12:57 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 13:12:57 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:12:57 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:12:57 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:12:57 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo 13:12:57 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 13:12:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 13:12:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:12:57 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 13:12:57 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:12:57 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:12:57 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:12:57 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 13:12:57 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:12:57 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:12:57 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:12:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-350 [Pipeline] echo 13:12:58 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-350 [Pipeline] echo 13:12:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-350 [Pipeline] echo 13:12:58 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0eafd9ce86d38ef564b338f4b2a5e15f85c0d264 [Pipeline] echo 13:12:58 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0eafd9c [Pipeline] echo 13:12:58 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:12:58 provisioning config files... 13:12:58 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-350@tmp/config7780255797606275919tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:12:58 ---> docker-login.sh 13:12:58 nexus3.edgexfoundry.org:10001 13:12:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:12:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:12:59 Configure a credential helper to remove this warning. See 13:12:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:12:59 13:12:59 Login Succeeded 13:12:59 nexus3.edgexfoundry.org:10002 13:12:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:12:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:12:59 Configure a credential helper to remove this warning. See 13:12:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:12:59 13:12:59 Login Succeeded 13:12:59 nexus3.edgexfoundry.org:10003 13:12:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:12:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:12:59 Configure a credential helper to remove this warning. See 13:12:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:12:59 13:12:59 Login Succeeded 13:12:59 nexus3.edgexfoundry.org:10004 13:12:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:12:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:12:59 Configure a credential helper to remove this warning. See 13:12:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:12:59 13:12:59 Login Succeeded 13:12:59 docker.io 13:12:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:12:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:12:59 Configure a credential helper to remove this warning. See 13:12:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:12:59 13:12:59 Login Succeeded 13:12:59 ---> docker-login.sh ends [Pipeline] } 13:12:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 13:13:00 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:13:00 13:13:00 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 13:13:01 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:13:01 latest: Pulling from edgex-devops/git-semver 13:13:01 31603596830f: Pulling fs layer 13:13:01 54011a49482f: Pulling fs layer 13:13:01 a6820b24f6d8: Pulling fs layer 13:13:01 f581987b2513: Pulling fs layer 13:13:01 f581987b2513: Waiting 13:13:01 54011a49482f: Verifying Checksum 13:13:01 54011a49482f: Download complete 13:13:01 31603596830f: Verifying Checksum 13:13:01 31603596830f: Download complete 13:13:01 f581987b2513: Verifying Checksum 13:13:01 f581987b2513: Download complete 13:13:01 a6820b24f6d8: Verifying Checksum 13:13:01 a6820b24f6d8: Download complete 13:13:01 31603596830f: Pull complete 13:13:01 54011a49482f: Pull complete 13:13:02 a6820b24f6d8: Pull complete 13:13:02 f581987b2513: Pull complete 13:13:02 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 13:13:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:13:02 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 13:13:02 prd-centos7-docker-4c-2g-40 does not seem to be running inside a container 13:13:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-350 -v /w/workspace/edgexfoundry_device-sdk-c_PR-350:/w/workspace/edgexfoundry_device-sdk-c_PR-350:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-350@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-350@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 13:13:03 $ docker top 2983838e700adc0384fa90f4e5d80f568de6414e1c9bda44a3f95580b3b53eda -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:13:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:13:04 [ssh-agent] Looking for ssh-agent implementation... 13:13:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:13:04 $ docker exec 2983838e700adc0384fa90f4e5d80f568de6414e1c9bda44a3f95580b3b53eda ssh-agent 13:13:04 SSH_AUTH_SOCK=/tmp/ssh-TMdO7OgrH02C/agent.13 13:13:04 SSH_AGENT_PID=20 13:13:04 Running ssh-add (command line suppressed) 13:13:04 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-350@tmp/private_key_3416248580187526604.key (/w/workspace/edgexfoundry_device-sdk-c_PR-350@tmp/private_key_3416248580187526604.key) 13:13:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:13:04 + git tag --points-at HEAD [Pipeline] } 13:13:04 $ docker exec --env ******** --env ******** 2983838e700adc0384fa90f4e5d80f568de6414e1c9bda44a3f95580b3b53eda ssh-agent -k 13:13:04 unset SSH_AUTH_SOCK; 13:13:04 unset SSH_AGENT_PID; 13:13:04 echo Agent pid 20 killed; 13:13:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:13:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:13:04 [ssh-agent] Looking for ssh-agent implementation... 13:13:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:13:05 $ docker exec 2983838e700adc0384fa90f4e5d80f568de6414e1c9bda44a3f95580b3b53eda ssh-agent 13:13:05 SSH_AUTH_SOCK=/tmp/ssh-m6ZNG6Ujntr9/agent.53 13:13:05 SSH_AGENT_PID=60 13:13:05 Running ssh-add (command line suppressed) 13:13:05 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-350@tmp/private_key_1885678306759698969.key (/w/workspace/edgexfoundry_device-sdk-c_PR-350@tmp/private_key_1885678306759698969.key) 13:13:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:13:05 + git semver init 13:13:05 # -> Open(): unable to determine branch for HEAD 13:13:05 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-350/.git 13:13:05 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-350 13:13:05 # $SEMVER_REMOTE_NAME = origin 13:13:05 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 13:13:05 # $SEMVER_USER_NAME = edgex-jenkins 13:13:05 # $SEMVER_BRANCH = PR-350 13:13:05 # $SEMVER_TEMP = /tmp/semver-277483232 13:13:05 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 13:13:06 # '/tmp/semver-277483232' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-350/.semver' 13:13:06 # -> Force: false 13:13:06 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-350/.semver [Pipeline] } 13:13:06 $ docker exec --env ******** --env ******** 2983838e700adc0384fa90f4e5d80f568de6414e1c9bda44a3f95580b3b53eda ssh-agent -k 13:13:06 unset SSH_AUTH_SOCK; 13:13:06 unset SSH_AGENT_PID; 13:13:06 echo Agent pid 60 killed; 13:13:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:13:07 + git semver [Pipeline] } 13:13:07 $ docker stop --time=1 2983838e700adc0384fa90f4e5d80f568de6414e1c9bda44a3f95580b3b53eda 13:13:08 $ docker rm -f 2983838e700adc0384fa90f4e5d80f568de6414e1c9bda44a3f95580b3b53eda [Pipeline] // withDockerContainer [Pipeline] sh 13:13:08 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:13:09 Stashed 1 file(s) [Pipeline] echo 13:13:09 [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 13:13:24 Still waiting to schedule task 13:13:24 Waiting for next available executor on ‘centos7-docker-4c-2g’ 13:13:24 Still waiting to schedule task 13:13:24 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 13:15:20 Running on prd-ubuntu18.04-docker-arm64-4c-16g-41 in /w/workspace/edgexfoundry_device-sdk-c_PR-350 [Pipeline] { [Pipeline] ws 13:15:20 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 13:15:20 Selected Git installation does not exist. Using Default 13:15:20 The recommended git tool is: NONE 13:15:21 Running on prd-centos7-docker-4c-2g-42 in /w/workspace/edgexfoundry_device-sdk-c_PR-350 [Pipeline] { [Pipeline] ws 13:15:21 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 13:15:21 Selected Git installation does not exist. Using Default 13:15:21 The recommended git tool is: NONE 13:15:24 using credential edgex-jenkins-ssh 13:15:24 Cloning the remote Git repository 13:15:24 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 13:15:24 > git init /w/workspace/device-sdk-c/1 # timeout=10 13:15:24 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 13:15:24 > git --version # timeout=10 13:15:24 > git --version # 'git version 2.24.4' 13:15:24 using GIT_SSH to set credentials SSH Credentials for GitHub 13:15:24 [INFO] Currently running in a labeled security context 13:15:24 [INFO] Currently SELinux is 'enforcing' on the host 13:15:24 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh4339802583014799333.key 13:15:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:15:26 Merging remotes/origin/master commit 1059ececa5aae17f0ac3b06878bede2905539e8a into PR head commit 0eafd9ce86d38ef564b338f4b2a5e15f85c0d264 13:15:25 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 13:15:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:15:25 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 13:15:25 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 13:15:25 using GIT_SSH to set credentials SSH Credentials for GitHub 13:15:25 [INFO] Currently running in a labeled security context 13:15:25 [INFO] Currently SELinux is 'enforcing' on the host 13:15:25 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh2378762673982753833.key 13:15:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/350/head:refs/remotes/origin/PR-350 +refs/heads/master:refs/remotes/origin/master # timeout=10 13:15:25 > git config core.sparsecheckout # timeout=10 13:15:25 > git checkout -f 0eafd9ce86d38ef564b338f4b2a5e15f85c0d264 # timeout=10 13:15:25 > git remote # timeout=10 13:15:25 > git config --get remote.origin.url # timeout=10 13:15:25 using GIT_SSH to set credentials SSH Credentials for GitHub 13:15:25 [INFO] Currently running in a labeled security context 13:15:25 [INFO] Currently SELinux is 'enforcing' on the host 13:15:25 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh6452809679001901497.key 13:15:26 Merge succeeded, producing 0eafd9ce86d38ef564b338f4b2a5e15f85c0d264 13:15:26 Checking out Revision 0eafd9ce86d38ef564b338f4b2a5e15f85c0d264 (PR-350) 13:15:26 using credential edgex-jenkins-ssh 13:15:26 Cloning the remote Git repository 13:15:26 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 13:15:26 > git init /w/workspace/device-sdk-c/1 # timeout=10 13:15:26 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 13:15:26 > git --version # timeout=10 13:15:26 > git --version # 'git version 2.17.1' 13:15:26 using GIT_SSH to set credentials SSH Credentials for GitHub 13:15:26 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:15:25 > git merge 1059ececa5aae17f0ac3b06878bede2905539e8a # timeout=10 13:15:25 > git rev-parse HEAD^{commit} # timeout=10 13:15:25 > git config core.sparsecheckout # timeout=10 13:15:25 > git checkout -f 0eafd9ce86d38ef564b338f4b2a5e15f85c0d264 # timeout=10 13:15:27 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 13:15:27 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:15:28 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 13:15:28 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 13:15:28 using GIT_SSH to set credentials SSH Credentials for GitHub 13:15:28 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/350/head:refs/remotes/origin/PR-350 +refs/heads/master:refs/remotes/origin/master # timeout=10 13:15:28 Merging remotes/origin/master commit 1059ececa5aae17f0ac3b06878bede2905539e8a into PR head commit 0eafd9ce86d38ef564b338f4b2a5e15f85c0d264 13:15:28 Merge succeeded, producing 0eafd9ce86d38ef564b338f4b2a5e15f85c0d264 13:15:28 Checking out Revision 0eafd9ce86d38ef564b338f4b2a5e15f85c0d264 (PR-350) 13:15:29 Commit message: "refactor: rename config entries for consistency with Go services refactor: rework service ping check" 13:15:29 > git --version # timeout=10 13:15:29 > git --version # 'git version 2.24.4' 13:15:29 fatal: bad object f4a1163c6b2b14014f487cca778b157dcbc6cc6b 13:15:28 > git config core.sparsecheckout # timeout=10 13:15:28 > git checkout -f 0eafd9ce86d38ef564b338f4b2a5e15f85c0d264 # timeout=10 13:15:28 > git remote # timeout=10 13:15:28 > git config --get remote.origin.url # timeout=10 13:15:28 using GIT_SSH to set credentials SSH Credentials for GitHub 13:15:28 > git merge 1059ececa5aae17f0ac3b06878bede2905539e8a # timeout=10 13:15:28 > git rev-parse HEAD^{commit} # timeout=10 13:15:28 > git config core.sparsecheckout # timeout=10 13:15:28 > git checkout -f 0eafd9ce86d38ef564b338f4b2a5e15f85c0d264 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:15:30 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 13:15:31 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 13:15:31 + sudo service docker restart 13:15:31 + true 13:15:31 Redirecting to /bin/systemctl restart docker.service 13:15:33 Commit message: "refactor: rename config entries for consistency with Go services refactor: rework service ping check" 13:15:33 > git --version # timeout=10 13:15:33 > git --version # 'git version 2.17.1' 13:15:33 fatal: bad object f4a1163c6b2b14014f487cca778b157dcbc6cc6b [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:15:34 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 13:15:35 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 13:15:35 + true 13:15:35 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:15:49 provisioning config files... 13:15:49 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config8443808900005710247tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:15:50 ---> docker-login.sh 13:15:50 nexus3.edgexfoundry.org:10001 13:15:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:15:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:15:50 Configure a credential helper to remove this warning. See 13:15:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:15:50 13:15:50 Login Succeeded 13:15:50 nexus3.edgexfoundry.org:10002 13:15:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:15:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:15:50 Configure a credential helper to remove this warning. See 13:15:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:15:50 13:15:50 Login Succeeded 13:15:50 nexus3.edgexfoundry.org:10003 13:15:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:15:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:15:50 Configure a credential helper to remove this warning. See 13:15:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:15:50 13:15:50 Login Succeeded 13:15:50 nexus3.edgexfoundry.org:10004 13:15:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:15:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:15:51 Configure a credential helper to remove this warning. See 13:15:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:15:51 13:15:51 Login Succeeded 13:15:51 docker.io 13:15:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:15:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:15:51 Configure a credential helper to remove this warning. See 13:15:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:15:51 13:15:51 Login Succeeded 13:15:51 ---> docker-login.sh ends [Pipeline] } 13:15:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:15:51 ========================================================= 13:15:51 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 13:15:51 ========================================================= [Pipeline] isUnix [Pipeline] sh 13:15:52 + 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 . 13:15:52 Sending build context to Docker daemon 2.727MB 13:15:52 Step 1/25 : ARG BASE=alpine:3.12 13:15:52 Step 2/25 : FROM ${BASE} as builder 13:15:52 latest: Pulling from edgex-devops/edgex-gcc-base 13:15:52 e7c96db7181b: Pulling fs layer 13:15:52 4c13bbce0fe7: Pulling fs layer 13:15:52 6059c847ac2f: Pulling fs layer 13:15:52 4c13bbce0fe7: Verifying Checksum 13:15:52 4c13bbce0fe7: Download complete 13:15:52 e7c96db7181b: Verifying Checksum 13:15:52 e7c96db7181b: Download complete 13:15:52 e7c96db7181b: Pull complete 13:15:52 4c13bbce0fe7: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:15:54 provisioning config files... 13:15:54 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config5365301390231993860tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:15:54 6059c847ac2f: Verifying Checksum 13:15:54 6059c847ac2f: Download complete 13:15:54 ---> docker-login.sh 13:15:54 nexus3.edgexfoundry.org:10001 13:15:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:15:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:15:55 Configure a credential helper to remove this warning. See 13:15:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:15:55 13:15:55 Login Succeeded 13:15:55 nexus3.edgexfoundry.org:10002 13:15:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:15:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:15:56 Configure a credential helper to remove this warning. See 13:15:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:15:56 13:15:56 Login Succeeded 13:15:56 nexus3.edgexfoundry.org:10003 13:15:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:15:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:15:56 Configure a credential helper to remove this warning. See 13:15:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:15:56 13:15:56 Login Succeeded 13:15:56 nexus3.edgexfoundry.org:10004 13:15:56 6059c847ac2f: Pull complete 13:15:56 Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e 13:15:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 13:15:56 ---> 5eabd8fd8ba2 13:15:56 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 13:15:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:15:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:15:57 Configure a credential helper to remove this warning. See 13:15:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:15:57 13:15:57 Login Succeeded 13:15:57 docker.io 13:15:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:15:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:15:58 Configure a credential helper to remove this warning. See 13:15:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:15:58 13:15:58 Login Succeeded 13:15:58 ---> docker-login.sh ends [Pipeline] } 13:15:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 13:15:58 ---> Running in 41c803a610e7 [Pipeline] echo 13:15:58 ========================================================= 13:15:58 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 13:15:58 ========================================================= 13:15:58 Connecting to iotech.jfrog.io (34.243.182.113:443) [Pipeline] isUnix [Pipeline] sh 13:15:58 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 13:15:58 13:15:59 + 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 . 13:15:59 Removing intermediate container 41c803a610e7 13:15:59 ---> e9cb73f82694 13:15:59 Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 13:15:59 ---> Running in e523ebef919c 13:15:59 Sending build context to Docker daemon 2.726MB 13:15:59 Step 1/25 : ARG BASE=alpine:3.12 13:15:59 Step 2/25 : FROM ${BASE} as builder 13:15:59 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 13:15:59 0362ad1dd800: Pulling fs layer 13:15:59 f2cdb1532d8b: Pulling fs layer 13:15:59 37ed683be191: Pulling fs layer 13:15:59 Removing intermediate container e523ebef919c 13:15:59 ---> 60de653cded1 13:15:59 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 13:15:59 ---> Running in f76f7c69be02 13:16:00 f2cdb1532d8b: Verifying Checksum 13:16:00 f2cdb1532d8b: Download complete 13:16:00 0362ad1dd800: Verifying Checksum 13:16:00 0362ad1dd800: Download complete 13:16:00 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 13:16:00 0362ad1dd800: Pull complete 13:16:01 f2cdb1532d8b: Pull complete 13:16:01 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 13:16:01 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 13:16:02 (1/11) Installing hiredis (0.14.0-r0) 13:16:02 37ed683be191: Verifying Checksum 13:16:02 37ed683be191: Download complete 13:16:02 (2/11) Installing hiredis-dev (0.14.0-r0) 13:16:02 (3/11) Installing ncurses-dev (6.1_p20190105-r0) 13:16:02 (4/11) Installing paho-mqtt-c-dev (1.3.5-r0) 13:16:04 (5/11) Installing libuuid (2.33-r0) 13:16:04 (6/11) Installing libblkid (2.33-r0) 13:16:04 (7/11) Installing libfdisk (2.33-r0) 13:16:04 (8/11) Installing libmount (2.33-r0) 13:16:05 (9/11) Installing libsmartcols (2.33-r0) 13:16:05 (10/11) Installing util-linux-dev (2.33-r0) 13:16:05 (11/11) Installing wget (1.20.3-r0) 13:16:05 Executing busybox-1.29.3-r10.trigger 13:16:05 OK: 273 MiB in 86 packages 13:16:05 Removing intermediate container f76f7c69be02 13:16:05 ---> 770b377e4b34 13:16:05 Step 6/25 : ENV CBOR_VERSION=0.5.0 13:16:05 ---> Running in d966027d723e 13:16:05 Removing intermediate container d966027d723e 13:16:05 ---> e7a7ba779afc 13:16:05 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 13:16:05 ---> Running in 0a24950c2d80 13:16:06 --2021-06-09 13:16:06-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 13:16:06 Resolving github.com... 140.82.113.3 13:16:06 Connecting to github.com|140.82.113.3|:443... connected. 13:16:06 HTTP request sent, awaiting response... 302 Found 13:16:06 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 13:16:06 --2021-06-09 13:16:06-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 13:16:06 Resolving codeload.github.com... 140.82.114.9 13:16:06 Connecting to codeload.github.com|140.82.114.9|:443... connected. 13:16:06 HTTP request sent, awaiting response... 200 OK 13:16:06 Length: 719348 (702K) [application/x-gzip] 13:16:06 Saving to: 'STDOUT' 13:16:06 13:16:06 0K .......... .......... .......... .......... .......... 7% 1.52M 0s 13:16:06 50K .......... .......... .......... .......... .......... 14% 3.06M 0s 13:16:06 100K .......... .......... .......... .......... .......... 21% 37.9M 0s 13:16:06 150K .......... .......... .......... .......... .......... 28% 60.2M 0s 13:16:06 200K .......... .......... .......... .......... .......... 35% 3.30M 0s 13:16:06 250K .......... .......... .......... .......... .......... 42% 7.23M 0s 13:16:06 300K .......... .......... .......... .......... .......... 49% 5.81M 0s 13:16:06 350K .......... .......... .......... .......... .......... 56% 32.7M 0s 13:16:06 400K .......... .......... .......... .......... .......... 64% 16.9M 0s 13:16:06 450K .......... .......... .......... .......... .......... 71% 13.3M 0s 13:16:06 500K .......... .......... .......... .......... .......... 78% 15.0M 0s 13:16:06 550K .......... .......... .......... .......... .......... 85% 10.2M 0s 13:16:06 600K .......... .......... .......... .......... .......... 92% 5.52M 0s 13:16:06 650K .......... .......... .......... .......... .......... 99% 7.09M 0s 13:16:06 700K .. 100% 4746G=0.1s 13:16:06 13:16:06 2021-06-09 13:16:06 (6.13 MB/s) - written to stdout [719348/719348] 13:16:06 13:16:06 -- The C compiler identification is GNU 8.3.0 13:16:06 -- The CXX compiler identification is GNU 8.3.0 13:16:06 -- Check for working C compiler: /usr/bin/cc 13:16:06 -- Check for working C compiler: /usr/bin/cc -- works 13:16:06 -- Detecting C compiler ABI info 13:16:06 -- Detecting C compiler ABI info - done 13:16:06 -- Detecting C compile features 13:16:07 -- Detecting C compile features - done 13:16:07 -- Check for working CXX compiler: /usr/bin/c++ 13:16:07 -- Check for working CXX compiler: /usr/bin/c++ -- works 13:16:07 -- Detecting CXX compiler ABI info 13:16:07 -- Detecting CXX compiler ABI info - done 13:16:07 -- Detecting CXX compile features 13:16:07 -- Detecting CXX compile features - done 13:16:07 -- Looking for include file endian.h 13:16:07 -- Looking for include file endian.h - found 13:16:07 -- Check if the system is big endian 13:16:07 -- Searching 16 bit integer 13:16:07 -- Looking for sys/types.h 13:16:07 -- Looking for sys/types.h - found 13:16:07 -- Looking for stdint.h 13:16:07 -- Looking for stdint.h - found 13:16:07 -- Looking for stddef.h 13:16:07 -- Looking for stddef.h - found 13:16:07 -- Check size of unsigned short 13:16:07 -- Check size of unsigned short - done 13:16:07 -- Using unsigned short 13:16:07 -- Check if the system is big endian - little endian 13:16:07 -- Check size of size_t 13:16:07 -- Check size of size_t - done 13:16:07 CMake Warning at examples/CMakeLists.txt:16 (find_package): 13:16:07 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 13:16:07 asked CMake to find a package configuration file provided by "cJSON", but 13:16:07 CMake did not find one. 13:16:07 13:16:07 Could not find a package configuration file provided by "cJSON" with any of 13:16:07 the following names: 13:16:07 13:16:07 cJSONConfig.cmake 13:16:07 cjson-config.cmake 13:16:07 13:16:07 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 13:16:07 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 13:16:07 provides a separate development package or SDK, be sure it has been 13:16:07 installed. 13:16:07 13:16:07 13:16:07 -- Configuring done 13:16:08 -- Generating done 13:16:08 -- Build files have been written to: /tmp/cbor 13:16:08 Scanning dependencies of target cbor_shared 13:16:08 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 13:16:08 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 13:16:08 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 13:16:08 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 13:16:08 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 13:16:08 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 13:16:08 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 13:16:08 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 13:16:08 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 13:16:09 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 13:16:09 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 13:16:09 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 13:16:09 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 13:16:09 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 13:16:09 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 13:16:09 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 13:16:09 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 13:16:09 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 13:16:09 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 13:16:09 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 13:16:09 [ 40%] Linking C shared library libcbor.so 13:16:09 [ 40%] Built target cbor_shared 13:16:09 Scanning dependencies of target cbor 13:16:09 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 13:16:09 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 13:16:09 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 13:16:10 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 13:16:10 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 13:16:10 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 13:16:10 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 13:16:10 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 13:16:10 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 13:16:10 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 13:16:10 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 13:16:10 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 13:16:10 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 13:16:10 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 13:16:10 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 13:16:10 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 13:16:10 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 13:16:11 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 13:16:11 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 13:16:11 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 13:16:11 [ 80%] Linking C static library libcbor.a 13:16:11 [ 80%] Built target cbor 13:16:11 Scanning dependencies of target create_items 13:16:11 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 13:16:11 [ 84%] Linking C executable create_items 13:16:11 [ 84%] Built target create_items 13:16:11 Scanning dependencies of target readfile 13:16:11 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 13:16:11 [ 88%] Linking C executable readfile 13:16:11 [ 88%] Built target readfile 13:16:11 Scanning dependencies of target streaming_parser 13:16:11 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 13:16:11 [ 92%] Linking C executable streaming_parser 13:16:11 [ 92%] Built target streaming_parser 13:16:11 Scanning dependencies of target sort 13:16:11 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 13:16:11 [ 96%] Linking C executable sort 13:16:11 [ 96%] Built target sort 13:16:11 Scanning dependencies of target hello 13:16:11 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 13:16:11 [100%] Linking C executable hello 13:16:11 [100%] Built target hello 13:16:11 Install the project... 13:16:11 -- Install configuration: "Release" 13:16:11 -- Installing: /usr/local/include/cbor/configuration.h 13:16:11 -- Installing: /usr/local/lib64/libcbor.a 13:16:11 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 13:16:11 -- Installing: /usr/local/lib64/libcbor.so.0 13:16:11 -- Installing: /usr/local/lib64/libcbor.so 13:16:11 -- Up-to-date: /usr/local/include/cbor 13:16:11 -- Installing: /usr/local/include/cbor/arrays.h 13:16:11 -- Installing: /usr/local/include/cbor/bytestrings.h 13:16:11 -- Installing: /usr/local/include/cbor/callbacks.h 13:16:11 -- Installing: /usr/local/include/cbor/common.h 13:16:11 -- Installing: /usr/local/include/cbor/data.h 13:16:11 -- Installing: /usr/local/include/cbor/encoding.h 13:16:11 -- Installing: /usr/local/include/cbor/floats_ctrls.h 13:16:11 -- Installing: /usr/local/include/cbor/internal 13:16:11 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 13:16:11 -- Installing: /usr/local/include/cbor/internal/encoders.h 13:16:11 -- Installing: /usr/local/include/cbor/internal/loaders.h 13:16:11 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 13:16:11 -- Installing: /usr/local/include/cbor/internal/stack.h 13:16:11 -- Installing: /usr/local/include/cbor/internal/unicode.h 13:16:11 -- Installing: /usr/local/include/cbor/ints.h 13:16:11 -- Installing: /usr/local/include/cbor/maps.h 13:16:11 -- Installing: /usr/local/include/cbor/serialization.h 13:16:11 -- Installing: /usr/local/include/cbor/streaming.h 13:16:11 -- Installing: /usr/local/include/cbor/strings.h 13:16:11 -- Installing: /usr/local/include/cbor/tags.h 13:16:11 -- Installing: /usr/local/include/cbor.h 13:16:11 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 13:16:12 Removing intermediate container 0a24950c2d80 13:16:12 ---> 5bb019fcb52b 13:16:12 Step 8/25 : RUN mkdir /tmp/sdk 13:16:12 ---> Running in 931ce9cf0b07 13:16:12 37ed683be191: Pull complete 13:16:12 Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f 13:16:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 13:16:12 ---> b23d30803547 13:16:12 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 13:16:12 ---> Running in 116d97d5cc56 13:16:12 Removing intermediate container 931ce9cf0b07 13:16:12 ---> 9cf1b10d47b3 13:16:12 Step 9/25 : COPY VERSION /tmp/sdk 13:16:13 ---> be407f6d762a 13:16:13 Step 10/25 : COPY src /tmp/sdk/src 13:16:13 ---> 0acef218949f 13:16:13 Step 11/25 : COPY include /tmp/sdk/include 13:16:13 ---> 53af7923b1c5 13:16:13 Step 12/25 : COPY scripts /tmp/sdk/scripts 13:16:13 ---> 60265f203935 13:16:13 Step 13/25 : COPY LICENSE /tmp/sdk 13:16:13 ---> 7cf0d052604d 13:16:13 Step 14/25 : COPY Attribution.txt /tmp/sdk 13:16:13 Connecting to iotech.jfrog.io (54.72.115.12:443) 13:16:13 ---> 26868b45aead 13:16:13 Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 13:16:13 ---> Running in 3633c1f3fc39 13:16:14 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 13:16:14 13:16:14 + CPPCHECK=false 13:16:14 + DOCGEN=false 13:16:14 + TOMLVER=SDK-0.2 13:16:14 + CUTILVER=1.1.4 13:16:14 + '[' 0 -gt 0 ] 13:16:14 + readlink -f ./scripts/build.sh 13:16:14 + dirname /tmp/sdk/scripts/build.sh 13:16:14 + dirname /tmp/sdk/scripts 13:16:14 + ROOT=/tmp/sdk 13:16:14 + cd /tmp/sdk 13:16:14 + '[' '!' -d deps ] 13:16:14 + mkdir deps 13:16:14 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 13:16:14 + tar -C deps -z -x -f - 13:16:14 --2021-06-09 13:16:13-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 13:16:14 Resolving github.com... 140.82.113.3 13:16:14 Connecting to github.com|140.82.113.3|:443... connected. 13:16:14 HTTP request sent, awaiting response... 302 Found 13:16:14 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 13:16:14 --2021-06-09 13:16:14-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 13:16:14 Resolving codeload.github.com... 140.82.114.9 13:16:14 Connecting to codeload.github.com|140.82.114.9|:443... connected. 13:16:14 HTTP request sent, awaiting response... 200 OK 13:16:14 Length: unspecified [application/x-gzip] 13:16:14 Saving to: 'STDOUT' 13:16:14 13:16:14 0K .......... ......  1.06M=0.01s 13:16:14 13:16:14 2021-06-09 13:16:14 (1.06 MB/s) - written to stdout [16451] 13:16:14 13:16:14 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 13:16:14 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 13:16:14 + tar -C deps -z -x -f - 13:16:14 --2021-06-09 13:16:14-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 13:16:14 Resolving github.com... 140.82.113.3 13:16:14 Connecting to github.com|140.82.113.3|:443... connected. 13:16:14 HTTP request sent, awaiting response... 302 Found 13:16:14 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] 13:16:14 --2021-06-09 13:16:14-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 13:16:14 Resolving codeload.github.com... 140.82.114.9 13:16:14 Connecting to codeload.github.com|140.82.114.9|:443... connected. 13:16:14 HTTP request sent, awaiting response... 200 OK 13:16:14 Length: unspecified [application/x-gzip] 13:16:14 Saving to: 'STDOUT' 13:16:14  13:16:14 0K .......... .......... .......... .......... .......... 1.43M 13:16:14 50K .......... .......... .......... .......... .......... 2.86M 13:16:14 100K .......... .......... .......... .......... .......... 47.0M 13:16:14 150K .......... .......... ....... 3.48M=0.06s 13:16:14 13:16:14 2021-06-09 13:16:14 (2.90 MB/s) - written to stdout [181796] 13:16:14 13:16:14 + mkdir -p src/c/iot 13:16:14 + 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 13:16:14 + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot 13:16:14 + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot 13:16:14 + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot 13:16:14 + mkdir -p include/iot 13:16:14 + 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 13:16:14 + mkdir -p include/iot/os 13:16:14 + 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 13:16:14 + mkdir -p /tmp/sdk/build/release 13:16:14 + cd /tmp/sdk/build/release 13:16:14 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 13:16:14 -- The C compiler identification is GNU 8.3.0 13:16:14 -- Check for working C compiler: /usr/bin/cc 13:16:15 Removing intermediate container 116d97d5cc56 13:16:15 ---> 97ac2df9d5fd 13:16:15 Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 13:16:15 -- Check for working C compiler: /usr/bin/cc -- works 13:16:15 -- Detecting C compiler ABI info 13:16:15 -- Detecting C compiler ABI info - done 13:16:15 -- Detecting C compile features 13:16:15 ---> Running in d269dfe343a9 13:16:15 -- Detecting C compile features - done 13:16:15 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 13:16:15 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 13:16:15 -- Found LIBYAML: /usr/lib/libyaml.so 13:16:15 -- Found LIBUUID: /usr/lib/libuuid.so 13:16:15 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 13:16:15 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 13:16:15 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 13:16:15 -- C SDK 0.0.0 for Linux 13:16:15 -- Performing Test CSDK_HAVE_ATOMIC 13:16:15 -- Performing Test CSDK_HAVE_ATOMIC - Success 13:16:15 -- Found Curses: /usr/lib/libcurses.so 13:16:15 -- Configuring done 13:16:15 -- Generating done 13:16:15 -- Build files have been written to: /tmp/sdk/build/release 13:16:15 + tee release.log 13:16:15 + make all package 13:16:15 Scanning dependencies of target csdk 13:16:15 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 13:16:15 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 13:16:15 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 13:16:15 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 13:16:16 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 13:16:16 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 13:16:16 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 13:16:16 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 13:16:16 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 13:16:16 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 13:16:17 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 13:16:17 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 13:16:17 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 13:16:17 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 13:16:17 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 13:16:17 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 13:16:17 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 13:16:17 Removing intermediate container d269dfe343a9 13:16:17 ---> dd66966ad373 13:16:17 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 13:16:17 ---> Running in ca6be1d438bd 13:16:17 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 13:16:17 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 13:16:18 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 13:16:18 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 13:16:18 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 13:16:18 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 13:16:18 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 13:16:18 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 13:16:18 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 13:16:18 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 13:16:18 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 13:16:18 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 13:16:18 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 13:16:19 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 13:16:19 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 13:16:19 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 13:16:19 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 13:16:19 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 13:16:19 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 13:16:19 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 13:16:19 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 13:16:19 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 13:16:20 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 13:16:20 (1/11) Installing hiredis (0.14.0-r0) 13:16:20 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 13:16:20 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 13:16:20 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 13:16:20 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 13:16:21 (2/11) Installing hiredis-dev (0.14.0-r0) 13:16:21 (3/11) Installing ncurses-dev (6.1_p20190105-r0) 13:16:21 (4/11) Installing paho-mqtt-c-dev (1.3.5-r0) 13:16:21 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 13:16:21 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 13:16:21 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 13:16:22 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 13:16:22 (5/11) Installing libuuid (2.33-r0) 13:16:22 (6/11) Installing libblkid (2.33-r0) 13:16:22 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 13:16:22 [ 74%] Linking C shared library libcsdk.so 13:16:22 [ 74%] Built target csdk 13:16:22 Scanning dependencies of target template 13:16:22 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 13:16:22 (7/11) Installing libfdisk (2.33-r0) 13:16:22 [ 77%] Linking C executable template 13:16:22 [ 77%] Built target template 13:16:22 Scanning dependencies of target device-counter 13:16:22 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 13:16:22 [ 80%] Linking C executable device-counter 13:16:23 (8/11) Installing libmount (2.33-r0) 13:16:23 (9/11) Installing libsmartcols (2.33-r0) 13:16:23 [ 80%] Built target device-counter 13:16:23 Scanning dependencies of target device-random 13:16:23 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 13:16:23 [ 84%] Linking C executable device-random 13:16:23 [ 84%] Built target device-random 13:16:23 Scanning dependencies of target device-gyro 13:16:23 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 13:16:23 [ 87%] Linking C executable device-gyro 13:16:23 (10/11) Installing util-linux-dev (2.33-r0) 13:16:23 [ 87%] Built target device-gyro 13:16:23 Scanning dependencies of target device-bitfields 13:16:23 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 13:16:23 [ 90%] Linking C executable device-bitfields 13:16:23 [ 90%] Built target device-bitfields 13:16:23 Scanning dependencies of target template-discovery 13:16:23 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 13:16:23 (11/11) Installing wget (1.20.3-r0) 13:16:23 Executing busybox-1.29.3-r10.trigger 13:16:23 OK: 287 MiB in 86 packages 13:16:23 [ 93%] Linking C executable template-discovery 13:16:23 [ 93%] Built target template-discovery 13:16:23 Scanning dependencies of target device-file 13:16:23 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 13:16:23 [ 96%] Linking C executable device-file 13:16:23 [ 96%] Built target device-file 13:16:23 Scanning dependencies of target device-terminal 13:16:23 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 13:16:23 [100%] Linking C executable device-terminal 13:16:23 [100%] Built target device-terminal 13:16:23 Run CPack packaging tool... 13:16:23 CPack: Create package using TGZ 13:16:23 CPack: Install projects 13:16:23 CPack: - Run preinstall target for: Csdk 13:16:24 CPack: - Install project: Csdk 13:16:24 CPack: Create package 13:16:24 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 13:16:24 + '[' false '=' true ] 13:16:24 + '[' false '=' true ] 13:16:24 + mkdir -p /tmp/sdk/build/debug 13:16:24 + cd /tmp/sdk/build/debug 13:16:24 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 13:16:24 -- The C compiler identification is GNU 8.3.0 13:16:24 -- Check for working C compiler: /usr/bin/cc 13:16:24 -- Check for working C compiler: /usr/bin/cc -- works 13:16:24 -- Detecting C compiler ABI info 13:16:24 -- Detecting C compiler ABI info - done 13:16:24 -- Detecting C compile features 13:16:24 -- Detecting C compile features - done 13:16:24 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 13:16:24 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 13:16:24 -- Found LIBYAML: /usr/lib/libyaml.so 13:16:24 -- Found LIBUUID: /usr/lib/libuuid.so 13:16:24 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 13:16:24 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 13:16:24 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 13:16:24 -- C SDK 0.0.0 for Linux 13:16:24 -- Performing Test CSDK_HAVE_ATOMIC 13:16:24 -- Performing Test CSDK_HAVE_ATOMIC - Success 13:16:24 -- Found Curses: /usr/lib/libcurses.so 13:16:24 -- Configuring done 13:16:24 -- Generating done 13:16:24 -- Build files have been written to: /tmp/sdk/build/debug 13:16:24 + tee debug.log 13:16:24 + make 13:16:24 Scanning dependencies of target csdk 13:16:24 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 13:16:24 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 13:16:24 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 13:16:24 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 13:16:25 Removing intermediate container ca6be1d438bd 13:16:25 ---> a56cbfd9b2e0 13:16:25 Step 6/25 : ENV CBOR_VERSION=0.5.0 13:16:25 ---> Running in ad7218a047cf 13:16:25 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 13:16:25 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 13:16:25 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 13:16:25 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 13:16:25 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 13:16:25 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 13:16:25 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 13:16:25 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 13:16:25 Removing intermediate container ad7218a047cf 13:16:25 ---> 76b2d3406d97 13:16:25 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 13:16:25 ---> Running in c6dfdbe12828 13:16:25 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 13:16:25 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 13:16:25 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 13:16:25 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 13:16:25 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 13:16:26 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 13:16:26 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 13:16:26 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 13:16:26 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 13:16:26 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 13:16:26 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 13:16:26 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 13:16:26 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 13:16:26 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 13:16:26 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 13:16:26 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 13:16:26 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 13:16:26 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 13:16:26 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 13:16:26 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 13:16:26 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 13:16:26 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 13:16:26 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 13:16:26 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 13:16:27 --2021-06-09 13:16:26-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 13:16:27 Resolving github.com... 140.82.112.3 13:16:27 Connecting to github.com|140.82.112.3|:443... connected. 13:16:27 HTTP request sent, awaiting response... 302 Found 13:16:27 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 13:16:27 --2021-06-09 13:16:26-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 13:16:27 Resolving codeload.github.com... 140.82.114.9 13:16:27 Connecting to codeload.github.com|140.82.114.9|:443... connected. 13:16:27 HTTP request sent, awaiting response... 200 OK 13:16:27 Length: 719348 (702K) [application/x-gzip] 13:16:27 Saving to: 'STDOUT' 13:16:27 13:16:27 0K .......... .......... .......... .......... .......... 7% 1.52M 0s 13:16:27 50K .......... .......... .......... .......... .......... 14% 2.93M 0s 13:16:27 100K .......... .......... .......... .......... .......... 21% 3.28M 0s 13:16:27 150K .......... .......... .......... .......... .......... 28% 10.7M 0s 13:16:27 200K .......... .......... .......... .......... .......... 35% 8.23M 0s 13:16:27 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 13:16:27 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 13:16:27 250K .......... .......... .......... .......... .......... 42% 2.94M 0s 13:16:27 300K .......... .......... .......... .......... .......... 49% 4.47M 0s 13:16:27 350K .......... .......... .......... .......... .......... 56% 5.64M 0s 13:16:27 400K .......... .......... .......... .......... .......... 64% 4.35M 0s 13:16:27 450K .......... .......... .......... .......... .......... 71% 9.14M 0s 13:16:27 500K .......... .......... .......... .......... .......... 78% 5.10M 0s 13:16:27 550K .......... .......... .......... .......... .......... 85% 5.67M 0s 13:16:27 600K .......... .......... .......... .......... .......... 92% 1.08M 0s 13:16:27 650K .......... .......... .......... .......... .......... 99% 1.56M 0s 13:16:27 700K ..  100% 321K=0.2s 13:16:27 13:16:27 2021-06-09 13:16:27 (2.99 MB/s) - written to stdout [719348/719348] 13:16:27 13:16:27 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 13:16:27 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 13:16:27 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 13:16:27 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 13:16:27 -- The C compiler identification is GNU 8.3.0 13:16:27 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 13:16:27 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 13:16:27 -- The CXX compiler identification is GNU 8.3.0 13:16:27 -- Check for working C compiler: /usr/bin/cc 13:16:27 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 13:16:27 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 13:16:27 [ 74%] Linking C shared library libcsdk.so 13:16:27 [ 74%] Built target csdk 13:16:28 -- Check for working C compiler: /usr/bin/cc -- works 13:16:28 -- Detecting C compiler ABI info 13:16:28 Scanning dependencies of target template 13:16:28 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 13:16:28 [ 77%] Linking C executable template 13:16:28 [ 77%] Built target template 13:16:28 Scanning dependencies of target device-counter 13:16:28 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 13:16:28 [ 80%] Linking C executable device-counter 13:16:28 [ 80%] Built target device-counter 13:16:28 Scanning dependencies of target device-random 13:16:28 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 13:16:28 -- Detecting C compiler ABI info - done 13:16:28 -- Detecting C compile features 13:16:28 [ 84%] Linking C executable device-random 13:16:28 [ 84%] Built target device-random 13:16:28 Scanning dependencies of target device-gyro 13:16:28 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 13:16:28 [ 87%] Linking C executable device-gyro 13:16:28 [ 87%] Built target device-gyro 13:16:28 Scanning dependencies of target device-bitfields 13:16:28 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 13:16:28 [ 90%] Linking C executable device-bitfields 13:16:28 [ 90%] Built target device-bitfields 13:16:28 Scanning dependencies of target template-discovery 13:16:28 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 13:16:28 [ 93%] Linking C executable template-discovery 13:16:28 [ 93%] Built target template-discovery 13:16:28 Scanning dependencies of target device-file 13:16:28 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 13:16:28 [ 96%] Linking C executable device-file 13:16:29 [ 96%] Built target device-file 13:16:29 Scanning dependencies of target device-terminal 13:16:29 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 13:16:29 [100%] Linking C executable device-terminal 13:16:29 [100%] Built target device-terminal 13:16:29 make: Entering directory '/tmp/sdk/build/release' 13:16:29 make[1]: Entering directory '/tmp/sdk/build/release' 13:16:29 make[2]: Entering directory '/tmp/sdk/build/release' 13:16:29 make[2]: Leaving directory '/tmp/sdk/build/release' 13:16:29 [ 74%] Built target csdk 13:16:29 make[2]: Entering directory '/tmp/sdk/build/release' 13:16:29 make[2]: Leaving directory '/tmp/sdk/build/release' 13:16:29 [ 77%] Built target template 13:16:29 make[2]: Entering directory '/tmp/sdk/build/release' 13:16:29 make[2]: Leaving directory '/tmp/sdk/build/release' 13:16:29 [ 80%] Built target device-counter 13:16:29 make[2]: Entering directory '/tmp/sdk/build/release' 13:16:29 make[2]: Leaving directory '/tmp/sdk/build/release' 13:16:29 [ 84%] Built target device-random 13:16:29 make[2]: Entering directory '/tmp/sdk/build/release' 13:16:29 make[2]: Leaving directory '/tmp/sdk/build/release' 13:16:29 [ 87%] Built target device-gyro 13:16:29 make[2]: Entering directory '/tmp/sdk/build/release' 13:16:29 make[2]: Leaving directory '/tmp/sdk/build/release' 13:16:29 [ 90%] Built target device-bitfields 13:16:29 make[2]: Entering directory '/tmp/sdk/build/release' 13:16:29 make[2]: Leaving directory '/tmp/sdk/build/release' 13:16:29 [ 93%] Built target template-discovery 13:16:29 make[2]: Entering directory '/tmp/sdk/build/release' 13:16:29 make[2]: Leaving directory '/tmp/sdk/build/release' 13:16:29 [ 96%] Built target device-file 13:16:29 make[2]: Entering directory '/tmp/sdk/build/release' 13:16:29 make[2]: Leaving directory '/tmp/sdk/build/release' 13:16:29 [100%] Built target device-terminal 13:16:29 make[1]: Leaving directory '/tmp/sdk/build/release' 13:16:29 -- Detecting C compile features - done 13:16:29 -- Check for working CXX compiler: /usr/bin/c++ 13:16:29 Install the project... 13:16:29 -- Install configuration: "Release" 13:16:29 -- Installing: /usr/local/lib/libcsdk.so 13:16:29 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 13:16:29 -- Up-to-date: /usr/local/include 13:16:29 -- Installing: /usr/local/include/devsdk 13:16:29 -- Installing: /usr/local/include/devsdk/devsdk-base.h 13:16:29 -- Installing: /usr/local/include/devsdk/devsdk.h 13:16:29 -- Installing: /usr/local/include/edgex 13:16:29 -- Installing: /usr/local/include/edgex/devices.h 13:16:29 -- Installing: /usr/local/include/edgex/edgex-base.h 13:16:29 -- Installing: /usr/local/include/edgex/edgex.h 13:16:29 -- Installing: /usr/local/include/edgex/profiles.h 13:16:29 -- Installing: /usr/local/include/edgex/rest-server.h 13:16:29 -- Installing: /usr/local/include/edgex/csdk-defs.h 13:16:29 -- Installing: /usr/local/include/iot 13:16:29 -- Installing: /usr/local/include/iot/base64.h 13:16:29 -- Installing: /usr/local/include/iot/component.h 13:16:29 -- Installing: /usr/local/include/iot/config.h 13:16:29 -- Installing: /usr/local/include/iot/container.h 13:16:29 -- Installing: /usr/local/include/iot/data.h 13:16:29 -- Installing: /usr/local/include/iot/hash.h 13:16:29 -- Installing: /usr/local/include/iot/iot.h 13:16:29 -- Installing: /usr/local/include/iot/json.h 13:16:29 -- Installing: /usr/local/include/iot/logger.h 13:16:29 -- Installing: /usr/local/include/iot/os.h 13:16:29 -- Installing: /usr/local/include/iot/scheduler.h 13:16:29 -- Installing: /usr/local/include/iot/thread.h 13:16:29 -- Installing: /usr/local/include/iot/threadpool.h 13:16:29 -- Installing: /usr/local/include/iot/time.h 13:16:29 -- Installing: /usr/local/include/iot/typecode.h 13:16:29 -- Installing: /usr/local/include/iot/os 13:16:29 -- Installing: /usr/local/include/iot/os/linux.h 13:16:29 -- Installing: /usr/local/include/iot/os/macos.h 13:16:29 -- Installing: /usr/local/include/iot/os/zephyr.h 13:16:29 -- Installing: /usr/local/include/iot/defs.h 13:16:29 -- Installing: /usr/local/share/device-sdk-c/LICENSE 13:16:29 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 13:16:29 make: Leaving directory '/tmp/sdk/build/release' 13:16:29 -- Check for working CXX compiler: /usr/bin/c++ -- works 13:16:29 -- Detecting CXX compiler ABI info 13:16:29 -- Detecting CXX compiler ABI info - done 13:16:29 -- Detecting CXX compile features 13:16:29 Removing intermediate container 3633c1f3fc39 13:16:29 ---> 17a9edbbe989 13:16:29 Step 16/25 : FROM ${BASE} 13:16:29 ---> 5eabd8fd8ba2 13:16:29 Step 17/25 : LABEL maintainer="IOTech " 13:16:29 ---> Running in 714f33ecab88 13:16:29 Removing intermediate container 714f33ecab88 13:16:29 ---> e06cb54e1dbf 13:16:29 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 13:16:29 ---> Running in ef56a8e9ad93 13:16:30 Connecting to iotech.jfrog.io (54.72.115.12:443) 13:16:30 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 13:16:30 13:16:30 Removing intermediate container ef56a8e9ad93 13:16:30 ---> 5ce81de831d3 13:16:30 Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 13:16:30 ---> Running in dab2547c6e6a 13:16:31 -- Detecting CXX compile features - done 13:16:31 -- Looking for include file endian.h 13:16:31 Removing intermediate container dab2547c6e6a 13:16:31 ---> 0f8af80b2b5b 13:16:31 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 13:16:31 ---> Running in 150eb9a1cf08 13:16:31 -- Looking for include file endian.h - found 13:16:31 -- Check if the system is big endian 13:16:31 -- Searching 16 bit integer 13:16:31 -- Looking for sys/types.h 13:16:31 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 13:16:31 -- Looking for sys/types.h - found 13:16:31 -- Looking for stdint.h 13:16:31 -- Looking for stdint.h - found 13:16:31 -- Looking for stddef.h 13:16:32 -- Looking for stddef.h - found 13:16:32 -- Check size of unsigned short 13:16:32 -- Check size of unsigned short - done 13:16:32 -- Using unsigned short 13:16:32 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 13:16:32 -- Check if the system is big endian - little endian 13:16:32 -- Check size of size_t 13:16:32 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 13:16:33 -- Check size of size_t - done 13:16:33 CMake Warning at examples/CMakeLists.txt:16 (find_package): 13:16:33 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 13:16:33 asked CMake to find a package configuration file provided by "cJSON", but 13:16:33 CMake did not find one. 13:16:33 13:16:33 Could not find a package configuration file provided by "cJSON" with any of 13:16:33 the following names: 13:16:33 13:16:33 cJSONConfig.cmake 13:16:33 cjson-config.cmake 13:16:33 13:16:33 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 13:16:33 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 13:16:33 provides a separate development package or SDK, be sure it has been 13:16:33 installed. 13:16:33 13:16:33 13:16:33 -- Configuring done 13:16:33 -- Generating done 13:16:33 -- Build files have been written to: /tmp/cbor 13:16:33 Scanning dependencies of target cbor_shared 13:16:33 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 13:16:33 (1/6) Installing curl (7.64.0-r5) 13:16:33 (2/6) Installing hiredis (0.14.0-r0) 13:16:33 (3/6) Installing hiredis-dev (0.14.0-r0) 13:16:33 (4/6) Installing libuuid (2.33-r0) 13:16:33 (5/6) Installing paho-mqtt-c-dev (1.3.5-r0) 13:16:34 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 13:16:34 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 13:16:34 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 13:16:34 (6/6) Installing wget (1.20.3-r0) 13:16:35 Executing busybox-1.29.3-r10.trigger 13:16:35 OK: 269 MiB in 81 packages 13:16:35 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 13:16:35 Removing intermediate container 150eb9a1cf08 13:16:35 ---> e8641cae1dde 13:16:35 Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 13:16:35 ---> c1b405821e85 13:16:35 Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 13:16:35 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 13:16:35 ---> 4fb238054255 13:16:35 Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib 13:16:36 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 13:16:36 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 13:16:36 ---> e3be2f38dfac 13:16:36 Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 13:16:36 ---> 1efa69117f08 13:16:36 Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 13:16:36 ---> bf65f8e39b7e 13:16:36 Successfully built bf65f8e39b7e 13:16:36 Successfully tagged ci-base-image-x86_64:latest 13:16:36 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage 13:16:36 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:16:37 + docker inspect -f . ci-base-image-x86_64 13:16:37 . [Pipeline] withDockerContainer 13:16:37 prd-centos7-docker-4c-2g-42 does not seem to be running inside a container 13:16:37 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 13:16:37 $ 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 13:16:37 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 13:16:37 $ docker top 80e7edfcce2d88ad3c5c4b683e44cd555becce3b98b8989266ccee219b30ef54 -eo pid,comm [Pipeline] { [Pipeline] sh 13:16:37 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 13:16:38 + make test 13:16:38 echo "make test" 13:16:38 make test [Pipeline] } 13:16:38 $ docker stop --time=1 80e7edfcce2d88ad3c5c4b683e44cd555becce3b98b8989266ccee219b30ef54 13:16:38 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 13:16:38 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 13:16:38 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 13:16:38 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 13:16:39 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 13:16:39 $ docker rm -f 80e7edfcce2d88ad3c5c4b683e44cd555becce3b98b8989266ccee219b30ef54 [Pipeline] // withDockerContainer 13:16:39 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 13:16:39 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [Pipeline] script [Pipeline] { 13:16:39 [ 40%] Linking C shared library libcbor.so 13:16:39 [ 40%] Built target cbor_shared 13:16:39 Scanning dependencies of target cbor 13:16:39 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [Pipeline] sh 13:16:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:16:40 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 13:16:41 + ls -al . 13:16:41 total 160 13:16:41 drwxrwxr-x. 8 jenkins jenkins 260 Jun 9 13:15 . 13:16:41 drwxrwxr-x. 4 jenkins jenkins 28 Jun 9 13:15 .. 13:16:41 -rw-rw-r--. 1 jenkins jenkins 3104 Jun 9 13:15 Attribution.txt 13:16:41 -rw-rw-r--. 1 jenkins jenkins 7509 Jun 9 13:15 CHANGES 13:16:41 drwxrwxr-x. 2 jenkins jenkins 121 Jun 9 13:15 docs 13:16:41 -rw-rw-r--. 1 jenkins jenkins 108574 Jun 9 13:15 Doxyfile 13:16:41 drwxrwxr-x. 8 jenkins jenkins 179 Jun 9 13:15 .git 13:16:41 drwxrwxr-x. 2 jenkins jenkins 81 Jun 9 13:15 .github 13:16:41 -rw-rw-r--. 1 jenkins jenkins 176 Jun 9 13:15 .gitignore 13:16:41 drwxrwxr-x. 4 jenkins jenkins 33 Jun 9 13:15 include 13:16:41 -rw-rw-r--. 1 jenkins jenkins 784 Jun 9 13:15 Jenkinsfile 13:16:41 -rw-rw-r--. 1 jenkins jenkins 10174 Jun 9 13:15 LICENSE 13:16:41 -rw-rw-r--. 1 jenkins jenkins 444 Jun 9 13:15 Makefile 13:16:41 -rw-rw-r--. 1 jenkins jenkins 4090 Jun 9 13:15 README.md 13:16:41 -rw-rw-r--. 1 jenkins jenkins 7090 Jun 9 13:15 README.v2.md 13:16:41 drwxrwxr-x. 2 jenkins jenkins 98 Jun 9 13:15 scripts 13:16:41 drwxrwxr-x. 4 jenkins jenkins 50 Jun 9 13:15 src 13:16:41 -rw-rw-r--. 1 jenkins jenkins 5 Jun 9 13:13 VERSION [Pipeline] isUnix [Pipeline] sh 13:16:41 + 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=0eafd9ce86d38ef564b338f4b2a5e15f85c0d264 --label arch=amd64 --label version=0.0.0 . 13:16:41 Sending build context to Docker daemon 2.727MB 13:16:41 Step 1/17 : ARG BASE=alpine:3.12 13:16:41 Step 2/17 : FROM ${BASE} 13:16:41 ---> bf65f8e39b7e 13:16:41 Step 3/17 : LABEL maintainer="IOTech " 13:16:41 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 13:16:41 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 13:16:42 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 13:16:42 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 13:16:43 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 13:16:43 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 13:16:43 ---> Running in 1ee101016eda 13:16:43 Removing intermediate container 1ee101016eda 13:16:43 ---> 638202cf3e9b 13:16:43 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 13:16:43 ---> Running in 6e21919b94ee 13:16:43 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 13:16:43 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 13:16:43 --2021-06-09 13:16:43-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub 13:16:43 Resolving iotech.jfrog.io... 54.72.115.12, 34.243.182.113, 54.74.239.58 13:16:43 Connecting to iotech.jfrog.io|54.72.115.12|:443... connected. 13:16:44 HTTP request sent, awaiting response... 200 OK 13:16:44 Length: 451 [application/octet-stream] 13:16:44 Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 13:16:44  13:16:44 0K 100% 47.7M=0s 13:16:44 13:16:44 2021-06-09 13:16:44 (47.7 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] 13:16:44 13:16:44 Removing intermediate container 6e21919b94ee 13:16:44 ---> f02087d95a43 13:16:44 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 13:16:44 ---> Running in 801d9637d936 13:16:44 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 13:16:44 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 13:16:45 Removing intermediate container 801d9637d936 13:16:45 ---> 679439e8afdb 13:16:45 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 13:16:45 ---> Running in 3739c2e42b13 13:16:45 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 13:16:45 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 13:16:45 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 13:16:45 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 13:16:45 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 13:16:46 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 13:16:46 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 13:16:46 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 13:16:46 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 13:16:46 (2/6) Installing libblkid (2.33-r0) 13:16:46 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 13:16:46 (3/6) Installing libfdisk (2.33-r0) 13:16:46 (4/6) Installing libmount (2.33-r0) 13:16:46 (5/6) Installing libsmartcols (2.33-r0) 13:16:46 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 13:16:47 (6/6) Installing util-linux-dev (2.33-r0) 13:16:47 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 13:16:47 [ 80%] Linking C static library libcbor.a 13:16:47 Executing busybox-1.29.3-r10.trigger 13:16:47 OK: 273 MiB in 87 packages 13:16:47 [ 80%] Built target cbor 13:16:47 Scanning dependencies of target create_items 13:16:47 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 13:16:47 [ 84%] Linking C executable create_items 13:16:47 [ 84%] Built target create_items 13:16:47 Scanning dependencies of target readfile 13:16:47 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 13:16:48 Removing intermediate container 3739c2e42b13 13:16:48 ---> 58a088f4e941 13:16:48 Step 7/17 : COPY VERSION /edgex-c-sdk/ 13:16:48 ---> 1ad5e78ada39 13:16:48 Step 8/17 : COPY src /edgex-c-sdk/src/ 13:16:48 [ 88%] Linking C executable readfile 13:16:48 [ 88%] Built target readfile 13:16:48 Scanning dependencies of target streaming_parser 13:16:48 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 13:16:48 ---> c6d9c07fbdb2 13:16:48 Step 9/17 : COPY include /edgex-c-sdk/include/ 13:16:48 [ 92%] Linking C executable streaming_parser 13:16:48 [ 92%] Built target streaming_parser 13:16:48 Scanning dependencies of target sort 13:16:48 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 13:16:48 ---> 41b13b78a5b1 13:16:48 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 13:16:48 [ 96%] Linking C executable sort 13:16:48 [ 96%] Built target sort 13:16:48 ---> 0c4605cbd8d2 13:16:48 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 13:16:48 Scanning dependencies of target hello 13:16:48 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 13:16:48 [100%] Linking C executable hello 13:16:49 ---> 64676c152cf1 13:16:49 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 13:16:49 [100%] Built target hello 13:16:49 Install the project... 13:16:49 -- Install configuration: "Release" 13:16:49 -- Installing: /usr/local/include/cbor/configuration.h 13:16:49 -- Installing: /usr/local/lib64/libcbor.a 13:16:49 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 13:16:49 -- Installing: /usr/local/lib64/libcbor.so.0 13:16:49 -- Installing: /usr/local/lib64/libcbor.so 13:16:49 -- Up-to-date: /usr/local/include/cbor 13:16:49 -- Installing: /usr/local/include/cbor/streaming.h 13:16:49 -- Installing: /usr/local/include/cbor/ints.h 13:16:49 -- Installing: /usr/local/include/cbor/floats_ctrls.h 13:16:49 -- Installing: /usr/local/include/cbor/bytestrings.h 13:16:49 -- Installing: /usr/local/include/cbor/encoding.h 13:16:49 -- Installing: /usr/local/include/cbor/serialization.h 13:16:49 -- Installing: /usr/local/include/cbor/data.h 13:16:49 -- Installing: /usr/local/include/cbor/common.h 13:16:49 -- Installing: /usr/local/include/cbor/callbacks.h 13:16:49 -- Installing: /usr/local/include/cbor/strings.h 13:16:49 -- Installing: /usr/local/include/cbor/tags.h 13:16:49 -- Installing: /usr/local/include/cbor/internal 13:16:49 -- Installing: /usr/local/include/cbor/internal/encoders.h 13:16:49 -- Installing: /usr/local/include/cbor/internal/loaders.h 13:16:49 -- Installing: /usr/local/include/cbor/internal/stack.h 13:16:49 -- Installing: /usr/local/include/cbor/internal/unicode.h 13:16:49 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 13:16:49 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 13:16:49 -- Installing: /usr/local/include/cbor/arrays.h 13:16:49 -- Installing: /usr/local/include/cbor/maps.h 13:16:49 -- Installing: /usr/local/include/cbor.h 13:16:49 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 13:16:49 ---> 2ed0ac207593 13:16:49 Step 13/17 : WORKDIR /edgex-c-sdk 13:16:49 ---> Running in fa409070d310 13:16:49 Removing intermediate container fa409070d310 13:16:49 ---> 66a25ae53835 13:16:49 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 13:16:49 ---> Running in 67fb14778002 13:16:49 Removing intermediate container 67fb14778002 13:16:49 ---> 9402ad32ce95 13:16:49 Step 15/17 : LABEL arch=amd64 13:16:49 ---> Running in 0253d569e7eb 13:16:49 Removing intermediate container 0253d569e7eb 13:16:49 ---> d1ef7da75847 13:16:49 Step 16/17 : LABEL git_sha=0eafd9ce86d38ef564b338f4b2a5e15f85c0d264 13:16:49 ---> Running in c3939eb931c1 13:16:49 Removing intermediate container c3939eb931c1 13:16:49 ---> e76c91430292 13:16:49 Step 17/17 : LABEL version=0.0.0 13:16:50 ---> Running in 0f66d39ae0b2 13:16:50 Removing intermediate container 0f66d39ae0b2 13:16:50 ---> 4c409d90f311 13:16:50 [Warning] One or more build-args [ARCH MAKE] were not consumed 13:16:50 Successfully built 4c409d90f311 13:16:50 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] } 13:16:51 Removing intermediate container c6dfdbe12828 13:16:51 ---> e56821628efa 13:16:51 Step 8/25 : RUN mkdir /tmp/sdk [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 13:16:51 ---> Running in 41f19ac46499 13:16:53 Removing intermediate container 41f19ac46499 13:16:53 ---> 321aa344794f 13:16:53 Step 9/25 : COPY VERSION /tmp/sdk 13:16:54 ---> 3a0f07749fc4 13:16:54 Step 10/25 : COPY src /tmp/sdk/src 13:16:55 ---> 33c0f78accd7 13:16:55 Step 11/25 : COPY include /tmp/sdk/include 13:16:56 ---> 4792a1d45e77 13:16:56 Step 12/25 : COPY scripts /tmp/sdk/scripts 13:16:56 ---> 647dfca83bc2 13:16:56 Step 13/25 : COPY LICENSE /tmp/sdk 13:16:57 ---> 6de234392f42 13:16:57 Step 14/25 : COPY Attribution.txt /tmp/sdk 13:16:58 ---> cd5db244d7f4 13:16:58 Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 13:16:58 ---> Running in a6763740051f 13:16:59 + CPPCHECK=false 13:16:59 + DOCGEN=false 13:16:59 + TOMLVER=SDK-0.2 13:16:59 + CUTILVER=1.1.4 13:16:59 + '[' 0 -gt 0 ] 13:16:59 + readlink -f ./scripts/build.sh 13:16:59 + dirname /tmp/sdk/scripts/build.sh 13:16:59 + dirname /tmp/sdk/scripts 13:16:59 + ROOT=/tmp/sdk 13:16:59 + cd /tmp/sdk 13:16:59 + '[' '!' -d deps ] 13:16:59 + mkdir deps 13:16:59 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 13:16:59 + tar -C deps -z -x -f - 13:16:59 --2021-06-09 13:16:59-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 13:16:59 Resolving github.com... 140.82.112.3 13:16:59 Connecting to github.com|140.82.112.3|:443... connected. 13:16:59 HTTP request sent, awaiting response... 302 Found 13:16:59 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 13:16:59 --2021-06-09 13:16:59-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 13:16:59 Resolving codeload.github.com... 140.82.114.9 13:16:59 Connecting to codeload.github.com|140.82.114.9|:443... connected. 13:16:59 HTTP request sent, awaiting response... 200 OK 13:16:59 Length: unspecified [application/x-gzip] 13:16:59 Saving to: 'STDOUT' 13:16:59 13:16:59 0K .......... ......   930K=0.02s 13:16:59 13:16:59 2021-06-09 13:16:59 (930 KB/s) - written to stdout [16451] 13:16:59 13:16:59 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 13:16:59 + + tarwget -C -O deps - -z https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz -x -f - 13:16:59 13:16:59 --2021-06-09 13:16:59-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 13:16:59 Resolving github.com... 140.82.112.3 13:16:59 Connecting to github.com|140.82.112.3|:443... connected. 13:16:59 HTTP request sent, awaiting response... 302 Found 13:16:59 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] 13:16:59 --2021-06-09 13:16:59-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 13:16:59 Resolving codeload.github.com... 140.82.114.9 13:16:59 Connecting to codeload.github.com|140.82.114.9|:443... connected. 13:16:59 HTTP request sent, awaiting response... 200 OK 13:16:59 Length: unspecified [application/x-gzip] 13:16:59 Saving to: 'STDOUT' 13:16:59 13:16:59 0K .......... .......... .......... .......... .......... 1.24M 13:16:59 50K .......... .......... .......... .......... .......... 2.82M 13:16:59 100K .......... .......... .......... .......... .......... 2.07M 13:16:59 150K .......... .......... ....... 11.1M=0.08s 13:16:59 13:16:59 2021-06-09 13:16:59 (2.10 MB/s) - written to stdout [181796] 13:16:59 13:17:00 + mkdir -p src/c/iot 13:17:00 + 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 13:17:00 + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot 13:17:00 + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot 13:17:00 + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot 13:17:00 + mkdir -p include/iot 13:17:00 + 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 13:17:00 + mkdir -p include/iot/os 13:17:00 + 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 13:17:00 + mkdir -p /tmp/sdk/build/release 13:17:00 + cd /tmp/sdk/build/release 13:17:00 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 13:17:00 -- The C compiler identification is GNU 8.3.0 13:17:00 -- Check for working C compiler: /usr/bin/cc 13:17:00 -- Check for working C compiler: /usr/bin/cc -- works 13:17:00 -- Detecting C compiler ABI info 13:17:00 -- Detecting C compiler ABI info - done 13:17:01 -- Detecting C compile features 13:17:01 -- Detecting C compile features - done 13:17:01 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 13:17:01 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 13:17:01 -- Found LIBYAML: /usr/lib/libyaml.so 13:17:01 -- Found LIBUUID: /usr/lib/libuuid.so 13:17:01 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 13:17:01 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 13:17:01 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 13:17:01 -- C SDK 0.0.0 for Linux 13:17:01 -- Performing Test CSDK_HAVE_ATOMIC 13:17:02 -- Performing Test CSDK_HAVE_ATOMIC - Success 13:17:02 -- Found Curses: /usr/lib/libcurses.so 13:17:02 -- Configuring done 13:17:02 -- Generating done 13:17:02 -- Build files have been written to: /tmp/sdk/build/release 13:17:02 + make all package+ 13:17:02 tee release.log 13:17:02 Scanning dependencies of target csdk 13:17:02 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 13:17:03 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 13:17:03 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 13:17:05 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 13:17:05 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 13:17:06 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 13:17:06 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 13:17:07 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 13:17:07 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 13:17:08 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 13:17:10 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 13:17:10 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 13:17:11 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 13:17:11 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 13:17:12 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 13:17:12 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 13:17:12 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 13:17:14 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 13:17:15 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 13:17:15 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 13:17:16 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 13:17:16 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 13:17:16 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 13:17:19 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 13:17:19 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 13:17:19 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 13:17:20 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 13:17:20 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 13:17:20 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 13:17:21 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 13:17:22 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 13:17:22 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 13:17:22 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 13:17:24 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 13:17:25 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 13:17:26 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 13:17:26 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 13:17:30 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 13:17:30 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 13:17:31 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 13:17:31 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 13:17:32 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 13:17:33 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 13:17:35 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 13:17:39 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 13:17:39 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 13:17:39 [ 74%] Linking C shared library libcsdk.so 13:17:40 [ 74%] Built target csdk 13:17:40 Scanning dependencies of target template 13:17:40 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 13:17:40 [ 77%] Linking C executable template 13:17:41 [ 77%] Built target template 13:17:41 Scanning dependencies of target device-counter 13:17:41 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 13:17:41 [ 80%] Linking C executable device-counter 13:17:41 [ 80%] Built target device-counter 13:17:41 Scanning dependencies of target device-random 13:17:41 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 13:17:42 [ 84%] Linking C executable device-random 13:17:42 [ 84%] Built target device-random 13:17:42 Scanning dependencies of target device-gyro 13:17:42 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 13:17:42 [ 87%] Linking C executable device-gyro 13:17:43 [ 87%] Built target device-gyro 13:17:43 Scanning dependencies of target device-bitfields 13:17:43 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 13:17:43 [ 90%] Linking C executable device-bitfields 13:17:43 [ 90%] Built target device-bitfields 13:17:43 Scanning dependencies of target template-discovery 13:17:43 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 13:17:44 [ 93%] Linking C executable template-discovery 13:17:44 [ 93%] Built target template-discovery 13:17:44 Scanning dependencies of target device-file 13:17:44 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 13:17:45 [ 96%] Linking C executable device-file 13:17:45 [ 96%] Built target device-file 13:17:45 Scanning dependencies of target device-terminal 13:17:45 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 13:17:45 [100%] Linking C executable device-terminal 13:17:46 [100%] Built target device-terminal 13:17:46 Run CPack packaging tool... 13:17:46 CPack: Create package using TGZ 13:17:46 CPack: Install projects 13:17:46 CPack: - Run preinstall target for: Csdk 13:17:46 CPack: - Install project: Csdk 13:17:46 CPack: Create package 13:17:47 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 13:17:47 + '[' false '=' true ] 13:17:47 + '[' false '=' true ] 13:17:47 + mkdir -p /tmp/sdk/build/debug 13:17:47 + cd /tmp/sdk/build/debug 13:17:47 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 13:17:47 -- The C compiler identification is GNU 8.3.0 13:17:47 -- Check for working C compiler: /usr/bin/cc 13:17:47 -- Check for working C compiler: /usr/bin/cc -- works 13:17:47 -- Detecting C compiler ABI info 13:17:47 -- Detecting C compiler ABI info - done 13:17:47 -- Detecting C compile features 13:17:48 -- Detecting C compile features - done 13:17:48 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 13:17:48 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 13:17:48 -- Found LIBYAML: /usr/lib/libyaml.so 13:17:48 -- Found LIBUUID: /usr/lib/libuuid.so 13:17:48 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 13:17:48 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 13:17:48 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 13:17:48 -- C SDK 0.0.0 for Linux 13:17:48 -- Performing Test CSDK_HAVE_ATOMIC 13:17:48 -- Performing Test CSDK_HAVE_ATOMIC - Success 13:17:48 -- Found Curses: /usr/lib/libcurses.so 13:17:49 -- Configuring done 13:17:49 -- Generating done 13:17:49 -- Build files have been written to: /tmp/sdk/build/debug 13:17:49 + + maketee debug.log 13:17:49 13:17:49 Scanning dependencies of target csdk 13:17:49 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 13:17:49 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 13:17:50 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 13:17:50 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 13:17:50 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 13:17:50 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 13:17:51 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 13:17:51 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 13:17:51 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 13:17:52 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 13:17:52 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 13:17:53 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 13:17:53 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 13:17:53 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 13:17:53 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 13:17:54 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 13:17:54 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 13:17:54 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 13:17:55 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 13:17:55 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 13:17:55 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 13:17:55 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 13:17:56 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 13:17:57 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 13:17:57 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 13:17:57 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 13:17:57 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 13:17:57 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 13:17:57 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 13:17:58 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 13:17:58 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 13:17:58 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 13:17:58 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 13:17:59 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 13:17:59 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 13:17:59 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 13:18:00 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 13:18:01 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 13:18:01 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 13:18:01 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 13:18:01 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 13:18:02 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 13:18:02 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 13:18:03 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 13:18:04 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 13:18:04 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 13:18:04 [ 74%] Linking C shared library libcsdk.so 13:18:05 [ 74%] Built target csdk 13:18:05 Scanning dependencies of target template 13:18:05 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 13:18:05 [ 77%] Linking C executable template 13:18:05 [ 77%] Built target template 13:18:05 Scanning dependencies of target device-counter 13:18:05 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 13:18:05 [ 80%] Linking C executable device-counter 13:18:06 [ 80%] Built target device-counter 13:18:06 Scanning dependencies of target device-random 13:18:06 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 13:18:06 [ 84%] Linking C executable device-random 13:18:06 [ 84%] Built target device-random 13:18:06 Scanning dependencies of target device-gyro 13:18:06 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 13:18:06 [ 87%] Linking C executable device-gyro 13:18:07 [ 87%] Built target device-gyro 13:18:07 Scanning dependencies of target device-bitfields 13:18:07 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 13:18:07 [ 90%] Linking C executable device-bitfields 13:18:07 [ 90%] Built target device-bitfields 13:18:07 Scanning dependencies of target template-discovery 13:18:07 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 13:18:08 [ 93%] Linking C executable template-discovery 13:18:08 [ 93%] Built target template-discovery 13:18:08 Scanning dependencies of target device-file 13:18:08 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 13:18:08 [ 96%] Linking C executable device-file 13:18:08 [ 96%] Built target device-file 13:18:08 Scanning dependencies of target device-terminal 13:18:08 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 13:18:09 [100%] Linking C executable device-terminal 13:18:09 [100%] Built target device-terminal 13:18:09 make: Entering directory '/tmp/sdk/build/release' 13:18:09 make[1]: Entering directory '/tmp/sdk/build/release' 13:18:09 make[2]: Entering directory '/tmp/sdk/build/release' 13:18:09 make[2]: Leaving directory '/tmp/sdk/build/release' 13:18:09 [ 74%] Built target csdk 13:18:09 make[2]: Entering directory '/tmp/sdk/build/release' 13:18:09 make[2]: Leaving directory '/tmp/sdk/build/release' 13:18:09 [ 77%] Built target template 13:18:09 make[2]: Entering directory '/tmp/sdk/build/release' 13:18:09 make[2]: Leaving directory '/tmp/sdk/build/release' 13:18:09 [ 80%] Built target device-counter 13:18:09 make[2]: Entering directory '/tmp/sdk/build/release' 13:18:09 make[2]: Leaving directory '/tmp/sdk/build/release' 13:18:09 [ 84%] Built target device-random 13:18:09 make[2]: Entering directory '/tmp/sdk/build/release' 13:18:09 make[2]: Leaving directory '/tmp/sdk/build/release' 13:18:09 [ 87%] Built target device-gyro 13:18:09 make[2]: Entering directory '/tmp/sdk/build/release' 13:18:09 make[2]: Leaving directory '/tmp/sdk/build/release' 13:18:09 [ 90%] Built target device-bitfields 13:18:09 make[2]: Entering directory '/tmp/sdk/build/release' 13:18:09 make[2]: Leaving directory '/tmp/sdk/build/release' 13:18:09 [ 93%] Built target template-discovery 13:18:09 make[2]: Entering directory '/tmp/sdk/build/release' 13:18:09 make[2]: Leaving directory '/tmp/sdk/build/release' 13:18:09 [ 96%] Built target device-file 13:18:09 make[2]: Entering directory '/tmp/sdk/build/release' 13:18:09 make[2]: Leaving directory '/tmp/sdk/build/release' 13:18:09 [100%] Built target device-terminal 13:18:09 make[1]: Leaving directory '/tmp/sdk/build/release' 13:18:09 Install the project... 13:18:09 -- Install configuration: "Release" 13:18:09 -- Installing: /usr/local/lib/libcsdk.so 13:18:09 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 13:18:09 -- Up-to-date: /usr/local/include 13:18:09 -- Installing: /usr/local/include/edgex 13:18:09 -- Installing: /usr/local/include/edgex/rest-server.h 13:18:09 -- Installing: /usr/local/include/edgex/edgex-base.h 13:18:09 -- Installing: /usr/local/include/edgex/edgex.h 13:18:09 -- Installing: /usr/local/include/edgex/devices.h 13:18:09 -- Installing: /usr/local/include/edgex/profiles.h 13:18:09 -- Installing: /usr/local/include/edgex/csdk-defs.h 13:18:09 -- Installing: /usr/local/include/devsdk 13:18:09 -- Installing: /usr/local/include/devsdk/devsdk-base.h 13:18:09 -- Installing: /usr/local/include/devsdk/devsdk.h 13:18:09 -- Installing: /usr/local/include/iot 13:18:09 -- Installing: /usr/local/include/iot/json.h 13:18:09 -- Installing: /usr/local/include/iot/container.h 13:18:09 -- Installing: /usr/local/include/iot/component.h 13:18:09 -- Installing: /usr/local/include/iot/typecode.h 13:18:09 -- Installing: /usr/local/include/iot/iot.h 13:18:09 -- Installing: /usr/local/include/iot/time.h 13:18:09 -- Installing: /usr/local/include/iot/hash.h 13:18:09 -- Installing: /usr/local/include/iot/logger.h 13:18:09 -- Installing: /usr/local/include/iot/os 13:18:09 -- Installing: /usr/local/include/iot/os/zephyr.h 13:18:09 -- Installing: /usr/local/include/iot/os/linux.h 13:18:09 -- Installing: /usr/local/include/iot/os/macos.h 13:18:09 -- Installing: /usr/local/include/iot/scheduler.h 13:18:09 -- Installing: /usr/local/include/iot/data.h 13:18:09 -- Installing: /usr/local/include/iot/thread.h 13:18:09 -- Installing: /usr/local/include/iot/os.h 13:18:09 -- Installing: /usr/local/include/iot/base64.h 13:18:09 -- Installing: /usr/local/include/iot/defs.h 13:18:09 -- Installing: /usr/local/include/iot/threadpool.h 13:18:09 -- Installing: /usr/local/include/iot/config.h 13:18:09 -- Installing: /usr/local/share/device-sdk-c/LICENSE 13:18:09 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 13:18:09 make: Leaving directory '/tmp/sdk/build/release' 13:18:12 Removing intermediate container a6763740051f 13:18:12 ---> a754c91c96f8 13:18:12 Step 16/25 : FROM ${BASE} 13:18:12 ---> b23d30803547 13:18:12 Step 17/25 : LABEL maintainer="IOTech " 13:18:12 ---> Running in 24e5322138e9 13:18:13 Removing intermediate container 24e5322138e9 13:18:13 ---> 0261b8495045 13:18:13 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 13:18:13 ---> Running in a4558557bf53 13:18:14 Connecting to iotech.jfrog.io (34.243.182.113:443) 13:18:15 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 13:18:15 13:18:16 Removing intermediate container a4558557bf53 13:18:16 ---> d772ceac503b 13:18:16 Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 13:18:16 ---> Running in bfdaa9bba47e 13:18:19 Removing intermediate container bfdaa9bba47e 13:18:19 ---> 1a45b0fe3ce6 13:18:19 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 13:18:19 ---> Running in 552bf7adf288 13:18:20 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 13:18:21 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 13:18:21 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 13:18:22 (1/6) Installing curl (7.64.0-r5) 13:18:22 (2/6) Installing hiredis (0.14.0-r0) 13:18:22 (3/6) Installing hiredis-dev (0.14.0-r0) 13:18:22 (4/6) Installing libuuid (2.33-r0) 13:18:22 (5/6) Installing paho-mqtt-c-dev (1.3.5-r0) 13:18:24 (6/6) Installing wget (1.20.3-r0) 13:18:24 Executing busybox-1.29.3-r10.trigger 13:18:24 OK: 283 MiB in 81 packages 13:18:25 Removing intermediate container 552bf7adf288 13:18:25 ---> bce6f5fd5ccc 13:18:25 Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 13:18:26 ---> f4fbc3582341 13:18:26 Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 13:18:27 ---> 0862e0678f5a 13:18:27 Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib 13:18:28 ---> 150beece1e28 13:18:28 Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 13:18:29 ---> 3fac175c74d5 13:18:29 Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 13:18:30 ---> ebe884ef33ad 13:18:30 Successfully built ebe884ef33ad 13:18:30 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:18:30 + docker inspect -f . ci-base-image-arm64 13:18:30 . [Pipeline] withDockerContainer 13:18:31 prd-ubuntu18.04-docker-arm64-4c-16g-41 does not seem to be running inside a container 13:18:31 $ 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 ******** ci-base-image-arm64 cat 13:18:32 $ docker top 50fb3b6ba79e08f6b5fa1a5afcc6e8ea773105fda44d9fd24e92539fa5e2fe1f -eo pid,comm [Pipeline] { [Pipeline] sh 13:18:33 + make test 13:18:33 echo "make test" 13:18:33 make test [Pipeline] } 13:18:33 $ docker stop --time=1 50fb3b6ba79e08f6b5fa1a5afcc6e8ea773105fda44d9fd24e92539fa5e2fe1f 13:18:35 $ docker rm -f 50fb3b6ba79e08f6b5fa1a5afcc6e8ea773105fda44d9fd24e92539fa5e2fe1f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:18:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:18:37 + ls -al . 13:18:37 total 192 13:18:37 drwxrwxr-x 8 jenkins jenkins 4096 Jun 9 13:15 . 13:18:37 drwxrwxr-x 4 jenkins jenkins 4096 Jun 9 13:15 .. 13:18:37 drwxrwxr-x 8 jenkins jenkins 4096 Jun 9 13:15 .git 13:18:37 drwxrwxr-x 2 jenkins jenkins 4096 Jun 9 13:15 .github 13:18:37 -rw-rw-r-- 1 jenkins jenkins 176 Jun 9 13:15 .gitignore 13:18:37 -rw-rw-r-- 1 jenkins jenkins 3104 Jun 9 13:15 Attribution.txt 13:18:37 -rw-rw-r-- 1 jenkins jenkins 7509 Jun 9 13:15 CHANGES 13:18:37 -rw-rw-r-- 1 jenkins jenkins 108574 Jun 9 13:15 Doxyfile 13:18:37 -rw-rw-r-- 1 jenkins jenkins 784 Jun 9 13:15 Jenkinsfile 13:18:37 -rw-rw-r-- 1 jenkins jenkins 10174 Jun 9 13:15 LICENSE 13:18:37 -rw-rw-r-- 1 jenkins jenkins 444 Jun 9 13:15 Makefile 13:18:37 -rw-rw-r-- 1 jenkins jenkins 4090 Jun 9 13:15 README.md 13:18:37 -rw-rw-r-- 1 jenkins jenkins 7090 Jun 9 13:15 README.v2.md 13:18:37 -rw-rw-r-- 1 jenkins jenkins 5 Jun 9 13:13 VERSION 13:18:37 drwxrwxr-x 2 jenkins jenkins 4096 Jun 9 13:15 docs 13:18:37 drwxrwxr-x 4 jenkins jenkins 4096 Jun 9 13:15 include 13:18:37 drwxrwxr-x 2 jenkins jenkins 4096 Jun 9 13:15 scripts 13:18:37 drwxrwxr-x 4 jenkins jenkins 4096 Jun 9 13:15 src [Pipeline] isUnix [Pipeline] sh 13:18:37 + 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=0eafd9ce86d38ef564b338f4b2a5e15f85c0d264 --label arch=arm64 --label version=0.0.0 . 13:18:38 Sending build context to Docker daemon 2.726MB 13:18:38 Step 1/17 : ARG BASE=alpine:3.12 13:18:38 Step 2/17 : FROM ${BASE} 13:18:38 ---> ebe884ef33ad 13:18:38 Step 3/17 : LABEL maintainer="IOTech " 13:18:38 ---> Running in b6ba8f047a9c 13:18:38 Removing intermediate container b6ba8f047a9c 13:18:38 ---> b54fcee29b13 13:18:38 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 13:18:39 ---> Running in b67c6df2b09d 13:18:40 --2021-06-09 13:18:40-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub 13:18:40 Resolving iotech.jfrog.io... 54.72.115.12, 34.243.182.113, 54.74.239.58 13:18:40 Connecting to iotech.jfrog.io|54.72.115.12|:443... connected. 13:18:40 HTTP request sent, awaiting response... 200 OK 13:18:40 Length: 451 [application/octet-stream] 13:18:40 Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 13:18:40  13:18:40 0K     100% 17.9M=0s 13:18:40 13:18:40 2021-06-09 13:18:40 (17.9 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] 13:18:40 13:18:41 Removing intermediate container b67c6df2b09d 13:18:41 ---> 4ae4a0a14f23 13:18:41 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 13:18:41 ---> Running in 72205a9cb137 13:18:44 Removing intermediate container 72205a9cb137 13:18:44 ---> 9d473d5c9e22 13:18:44 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 13:18:44 ---> Running in 2530e4897577 13:18:45 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 13:18:46 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 13:18:46 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 13:18:47 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 13:18:47 (2/6) Installing libblkid (2.33-r0) 13:18:47 (3/6) Installing libfdisk (2.33-r0) 13:18:47 (4/6) Installing libmount (2.33-r0) 13:18:47 (5/6) Installing libsmartcols (2.33-r0) 13:18:48 (6/6) Installing util-linux-dev (2.33-r0) 13:18:48 Executing busybox-1.29.3-r10.trigger 13:18:48 OK: 287 MiB in 87 packages 13:18:49 Removing intermediate container 2530e4897577 13:18:49 ---> 309c2fb9f5e6 13:18:49 Step 7/17 : COPY VERSION /edgex-c-sdk/ 13:18:50 ---> d81654f5fd94 13:18:50 Step 8/17 : COPY src /edgex-c-sdk/src/ 13:18:51 ---> 72eda973fa6d 13:18:51 Step 9/17 : COPY include /edgex-c-sdk/include/ 13:18:52 ---> a669d8990aab 13:18:52 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 13:18:53 ---> cde44a1f3fa8 13:18:53 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 13:18:54 ---> ff5e31b9ecae 13:18:54 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 13:18:55 ---> f243aad5f1de 13:18:55 Step 13/17 : WORKDIR /edgex-c-sdk 13:18:55 ---> Running in 576db239f0de 13:18:55 Removing intermediate container 576db239f0de 13:18:55 ---> 8aa84664ec11 13:18:55 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 13:18:55 ---> Running in eff6dcfbc4e0 13:18:56 Removing intermediate container eff6dcfbc4e0 13:18:56 ---> b1a304e83e26 13:18:56 Step 15/17 : LABEL arch=arm64 13:18:56 ---> Running in db4c8baf5b0c 13:18:57 Removing intermediate container db4c8baf5b0c 13:18:57 ---> d27ae6a7d420 13:18:57 Step 16/17 : LABEL git_sha=0eafd9ce86d38ef564b338f4b2a5e15f85c0d264 13:18:57 ---> Running in 302cd6fcf17c 13:18:58 Removing intermediate container 302cd6fcf17c 13:18:58 ---> 6dc36209a48b 13:18:58 Step 17/17 : LABEL version=0.0.0 13:18:58 ---> Running in 62517cc11f0e 13:18:58 Removing intermediate container 62517cc11f0e 13:18:58 ---> 2c538417d640 13:18:58 [Warning] One or more build-args [ARCH MAKE] were not consumed 13:18:58 Successfully built 2c538417d640 13:18:58 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 13:19:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:19:01 ---> package-listing.sh 13:19:01 ++ facter osfamily 13:19:01 ++ tr '[:upper:]' '[:lower:]' 13:19:01 + OS_FAMILY=redhat 13:19:01 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-350 13:19:01 + START_PACKAGES=/tmp/packages_start.txt 13:19:01 + END_PACKAGES=/tmp/packages_end.txt 13:19:01 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:19:01 + PACKAGES=/tmp/packages_start.txt 13:19:01 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-350 ']' 13:19:01 + PACKAGES=/tmp/packages_end.txt 13:19:01 + case "${OS_FAMILY}" in 13:19:01 + rpm -qa 13:19:01 + sort 13:19:02 + '[' -f /tmp/packages_start.txt ']' 13:19:02 + '[' -f /tmp/packages_end.txt ']' 13:19:02 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:19:02 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-350 ']' 13:19:02 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-350/archives/ 13:19:02 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-350/archives/ [Pipeline] echo 13:19:02 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-350/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:19:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 13:19:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 13:19:03 13:19:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 13:19:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 13:19:04 alpine: Pulling from edgex-lftools-log-publisher 13:19:04 df20fa9351a1: Pulling fs layer 13:19:04 36b3adc4ff6f: Pulling fs layer 13:19:04 8ad3a11d3b57: Pulling fs layer 13:19:04 46f8f816bc3b: Pulling fs layer 13:19:04 93b61091891f: Pulling fs layer 13:19:04 93b9cdb0e59b: Pulling fs layer 13:19:04 5e14af77c1be: Pulling fs layer 13:19:04 01666e4c0597: Pulling fs layer 13:19:04 aa168da1d23b: Pulling fs layer 13:19:04 46f8f816bc3b: Waiting 13:19:04 93b61091891f: Waiting 13:19:04 93b9cdb0e59b: Waiting 13:19:04 5e14af77c1be: Waiting 13:19:04 01666e4c0597: Waiting 13:19:04 aa168da1d23b: Waiting 13:19:04 36b3adc4ff6f: Verifying Checksum 13:19:04 36b3adc4ff6f: Download complete 13:19:04 46f8f816bc3b: Verifying Checksum 13:19:04 46f8f816bc3b: Download complete 13:19:04 df20fa9351a1: Verifying Checksum 13:19:04 df20fa9351a1: Download complete 13:19:04 93b9cdb0e59b: Verifying Checksum 13:19:04 93b9cdb0e59b: Download complete 13:19:04 5e14af77c1be: Verifying Checksum 13:19:04 5e14af77c1be: Download complete 13:19:04 01666e4c0597: Verifying Checksum 13:19:04 01666e4c0597: Download complete 13:19:04 93b61091891f: Verifying Checksum 13:19:04 93b61091891f: Download complete 13:19:04 8ad3a11d3b57: Verifying Checksum 13:19:04 8ad3a11d3b57: Download complete 13:19:04 df20fa9351a1: Pull complete 13:19:04 36b3adc4ff6f: Pull complete 13:19:05 8ad3a11d3b57: Pull complete 13:19:05 46f8f816bc3b: Pull complete 13:19:05 93b61091891f: Pull complete 13:19:05 93b9cdb0e59b: Pull complete 13:19:05 5e14af77c1be: Pull complete 13:19:05 01666e4c0597: Pull complete 13:19:06 aa168da1d23b: Verifying Checksum 13:19:06 aa168da1d23b: Download complete 13:19:10 aa168da1d23b: Pull complete 13:19:10 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 13:19:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 13:19:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 13:19:10 prd-centos7-docker-4c-2g-40 does not seem to be running inside a container 13:19:10 $ 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-350/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-350 -v /w/workspace/edgexfoundry_device-sdk-c_PR-350:/w/workspace/edgexfoundry_device-sdk-c_PR-350:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-350@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-350@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 13:19:13 $ docker top 4b9216a0fcb8442b2e76e3798338b498058aec67c758a970d4a7b40f168cf57c -eo pid,comm [Pipeline] { [Pipeline] sh 13:19:14 + touch /tmp/pre-build-complete [Pipeline] sh 13:19:14 + mkdir -p /var/log/sa [Pipeline] sh 13:19:14 + ls /var/log/sa-host 13:19:14 + sadf -c /var/log/sa-host/sa05 13:19:14 file_magic: OK 13:19:14 HZ: Using current value: 100 13:19:14 file_header: OK 13:19:14 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 13:19:14 Statistics: 13:19:14 Hnuu...uuuununununu...Hnuu...uuuununununu... 13:19:14 File successfully converted to sysstat format version 12.2.1 13:19:14 + sadf -c /var/log/sa-host/sa09 13:19:14 file_magic: OK 13:19:14 HZ: Using current value: 100 13:19:14 file_header: OK 13:19:14 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 13:19:14 Statistics: 13:19:14 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 13:19:14 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:19:15 provisioning config files... 13:19:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-350@tmp/config7233452853948788tmp [Pipeline] { [Pipeline] echo 13:19:15 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:19:15 ---> create-netrc.sh [Pipeline] } 13:19:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:19:16 ---> python-tools-install.sh [Pipeline] echo 13:19:16 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:19:16 ---> sudo-logs.sh 13:19:16 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:19:16 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:19:16 ---> job-cost.sh 13:19:16 lf-activate-venv: SKIPPING 13:19:16 INFO: No Stack... 13:19:17 INFO: Retrieving Pricing Info for: v3-standard-2 13:19:18 INFO: Archiving Costs [Pipeline] echo 13:19:18 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:19:18 ---> logs-deploy.sh 13:19:18 lf-activate-venv: SKIPPING 13:19:18 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-350/1 13:19:18 INFO: archiving workspace using pattern(s): 13:19:19 Archives upload complete. 13:19:19 INFO: archiving logs to Nexus 13:19:20 ---> uname -a: 13:19:20 Linux prd-centos7-docker-4c-2g-40.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux 13:19:20 13:19:20 13:19:20 ---> lscpu: 13:19:20 Architecture: x86_64 13:19:20 CPU op-mode(s): 32-bit, 64-bit 13:19:20 Byte Order: Little Endian 13:19:20 Address sizes: 40 bits physical, 48 bits virtual 13:19:20 CPU(s): 2 13:19:20 On-line CPU(s) list: 0,1 13:19:20 Thread(s) per core: 1 13:19:20 Core(s) per socket: 1 13:19:20 Socket(s): 2 13:19:20 NUMA node(s): 1 13:19:20 Vendor ID: AuthenticAMD 13:19:20 CPU family: 23 13:19:20 Model: 49 13:19:20 Model name: AMD EPYC-Rome Processor 13:19:20 Stepping: 0 13:19:20 CPU MHz: 2800.000 13:19:20 BogoMIPS: 5600.00 13:19:20 Virtualization: AMD-V 13:19:20 Hypervisor vendor: KVM 13:19:20 Virtualization type: full 13:19:20 L1d cache: 64 KiB 13:19:20 L1i cache: 64 KiB 13:19:20 L2 cache: 1 MiB 13:19:20 L3 cache: 32 MiB 13:19:20 NUMA node0 CPU(s): 0,1 13:19:20 Vulnerability Itlb multihit: Not affected 13:19:20 Vulnerability L1tf: Not affected 13:19:20 Vulnerability Mds: Not affected 13:19:20 Vulnerability Meltdown: Not affected 13:19:20 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 13:19:20 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 13:19:20 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 13:19:20 Vulnerability Srbds: Not affected 13:19:20 Vulnerability Tsx async abort: Not affected 13:19:20 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 13:19:20 13:19:20 13:19:20 ---> nproc: 13:19:20 2 13:19:20 13:19:20 13:19:20 ---> df -h: 13:19:20 Filesystem Size Used Available Use% Mounted on 13:19:20 overlay 40.0G 7.6G 32.4G 19% / 13:19:20 tmpfs 64.0M 0 64.0M 0% /dev 13:19:20 tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup 13:19:20 shm 64.0M 0 64.0M 0% /dev/shm 13:19:20 /dev/vda1 40.0G 7.6G 32.4G 19% /facter-os 13:19:20 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/resolv.conf 13:19:20 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hostname 13:19:20 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hosts 13:19:20 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/auth.log 13:19:20 /dev/vda1 40.0G 7.6G 32.4G 19% /run/cloud-init/result.json 13:19:20 /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/edgexfoundry_device-sdk-c_PR-350 13:19:20 /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/edgexfoundry_device-sdk-c_PR-350@tmp 13:19:20 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/sa-host 13:19:20 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/secure 13:19:20 13:19:20 13:19:20 ---> free -m: 13:19:20 total used free shared buff/cache available 13:19:20 Mem: 7821 926 4797 0 2097 6717 13:19:20 Swap: 1023 0 1023 13:19:20 13:19:20 13:19:20 ---> ip addr: 13:19:20 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 13:19:20 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 13:19:20 inet 127.0.0.1/8 scope host lo 13:19:20 valid_lft forever preferred_lft forever 13:19:20 inet6 ::1/128 scope host 13:19:20 valid_lft forever preferred_lft forever 13:19:20 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 13:19:20 link/ether fa:16:3e:20:ad:fc brd ff:ff:ff:ff:ff:ff 13:19:20 inet 10.30.122.41/23 brd 10.30.123.255 scope global dynamic eth0 13:19:20 valid_lft 85986sec preferred_lft 85986sec 13:19:20 inet6 fe80::f816:3eff:fe20:adfc/64 scope link 13:19:20 valid_lft forever preferred_lft forever 13:19:20 3: docker0: mtu 1500 qdisc noqueue state DOWN 13:19:20 link/ether 02:42:e7:cf:21:44 brd ff:ff:ff:ff:ff:ff 13:19:20 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 13:19:20 valid_lft forever preferred_lft forever 13:19:20 inet6 fe80::42:e7ff:fecf:2144/64 scope link 13:19:20 valid_lft forever preferred_lft forever 13:19:20 13:19:20 13:19:20 ---> sar -b -r -n DEV: 13:19:20 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/09/21 _x86_64_ (2 CPU) 13:19:20 13:19:20 13:12:16 LINUX RESTART (2 CPU) 13:19:20 13:19:20 13:13:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 13:19:20 13:14:01 17.72 0.67 17.05 0.00 352.51 3087.44 0.00 13:19:20 13:15:01 0.35 0.00 0.35 0.00 0.00 5.53 0.00 13:19:20 13:16:01 0.18 0.00 0.18 0.00 0.00 2.05 0.00 13:19:20 13:17:01 0.37 0.00 0.37 0.00 0.00 6.08 0.00 13:19:20 13:18:02 0.23 0.00 0.23 0.00 0.00 3.32 0.00 13:19:20 13:19:01 0.39 0.00 0.39 0.00 0.00 6.62 0.00 13:19:20 Average: 3.22 0.11 3.10 0.00 58.93 520.08 0.00 13:19:20 13:19:20 13:13:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 13:19:20 13:14:01 5460224 0 805832 10.06 2620 1740256 1268012 14.00 579092 1570448 20 13:19:20 13:15:01 5464160 0 801892 10.01 2620 1740260 1201992 13.27 576340 1570412 8 13:19:20 13:16:01 5463924 0 802124 10.02 2620 1740264 1202172 13.27 576704 1571060 8 13:19:20 13:17:01 5462148 0 803896 10.04 2620 1740268 1202148 13.27 577992 1571060 16 13:19:20 13:18:02 5461728 0 804308 10.04 2620 1740276 1202232 13.27 574368 1575188 8 13:19:20 13:19:01 5447576 0 818460 10.22 2620 1740276 1275684 14.08 588176 1575188 12 13:19:20 Average: 5459960 0 806085 10.06 2620 1740267 1225373 13.53 578779 1572226 12 13:19:20 13:19:20 13:13:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 13:19:20 13:14:01 eth0 43.10 32.71 58.58 10.16 0.00 0.00 0.00 0.00 13:19:20 13:14:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:19:20 13:14:01 docker0 11.22 9.04 1.27 25.40 0.00 0.00 0.00 0.00 13:19:20 13:15:01 eth0 0.93 0.07 0.10 0.01 0.00 0.00 0.00 0.00 13:19:20 13:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:19:20 13:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:19:20 13:16:01 eth0 0.92 0.52 0.53 0.39 0.00 0.00 0.00 0.00 13:19:20 13:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:19:20 13:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:19:20 13:17:01 eth0 1.43 0.33 0.37 0.20 0.00 0.00 0.00 0.00 13:19:20 13:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:19:20 13:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:19:20 13:18:02 eth0 2.03 0.68 0.77 0.46 0.00 0.00 0.00 0.00 13:19:20 13:18:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:19:20 13:18:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:19:20 13:19:01 eth0 3.35 1.39 1.84 0.66 0.00 0.00 0.00 0.00 13:19:20 13:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:19:20 13:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:19:20 Average: eth0 8.64 5.96 10.39 1.98 0.00 0.00 0.00 0.00 13:19:20 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:19:20 Average: docker0 1.88 1.51 0.21 4.25 0.00 0.00 0.00 0.00 13:19:20 13:19:20 13:19:20 ---> sar -P ALL: 13:19:20 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/09/21 _x86_64_ (2 CPU) 13:19:20 13:19:20 13:12:16 LINUX RESTART (2 CPU) 13:19:20 13:19:20 13:13:01 CPU %user %nice %system %iowait %steal %idle 13:19:20 13:14:01 all 2.10 0.00 0.98 0.35 0.04 96.52 13:19:20 13:14:01 0 2.11 0.00 1.06 0.45 0.03 96.34 13:19:20 13:14:01 1 2.10 0.00 0.91 0.25 0.05 96.69 13:19:20 13:15:01 all 0.13 0.00 0.02 0.00 0.03 99.82 13:19:20 13:15:01 0 0.23 0.00 0.02 0.00 0.03 99.72 13:19:20 13:15:01 1 0.02 0.00 0.02 0.00 0.03 99.93 13:19:20 13:16:01 all 0.10 0.00 0.03 0.00 0.02 99.85 13:19:20 13:16:01 0 0.08 0.00 0.03 0.00 0.02 99.87 13:19:20 13:16:01 1 0.12 0.00 0.03 0.00 0.02 99.83 13:19:20 13:17:01 all 0.07 0.00 0.03 0.00 0.03 99.87 13:19:20 13:17:01 0 0.05 0.00 0.02 0.00 0.03 99.90 13:19:20 13:17:01 1 0.08 0.00 0.05 0.00 0.02 99.85 13:19:20 13:18:02 all 0.13 0.00 0.04 0.00 0.03 99.79 13:19:20 13:18:02 0 0.08 0.00 0.05 0.00 0.03 99.83 13:19:20 13:18:02 1 0.18 0.00 0.03 0.00 0.03 99.75 13:19:20 13:19:01 all 0.21 0.00 0.05 0.00 0.03 99.70 13:19:20 13:19:01 0 0.31 0.00 0.05 0.00 0.02 99.63 13:19:20 13:19:01 1 0.12 0.00 0.05 0.00 0.05 99.78 13:19:20 Average: all 0.46 0.00 0.19 0.06 0.03 99.26 13:19:20 Average: 0 0.48 0.00 0.20 0.08 0.03 99.22 13:19:20 Average: 1 0.44 0.00 0.18 0.04 0.03 99.31 13:19:20 13:19:20 13:19:20