Pull request #344 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 e84e37becc814ab4619c544ede91496034644436+3284203db036fb577a63a0fff870deb676f4920e (8e2ba192c4f1504de560db2714505f9d0d945068) 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 > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # 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 > 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 9d0281235b943b7ad605f650702698f9078b2862 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-344/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 > 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 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > 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 > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a 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-344/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 > 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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > 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 9d0281235b943b7ad605f650702698f9078b2862 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-4727 in /w/workspace/edgexfoundry_device-sdk-c_PR-344 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout 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-344 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 3284203db036fb577a63a0fff870deb676f4920e into PR head commit e84e37becc814ab4619c544ede91496034644436 Merge succeeded, producing e84e37becc814ab4619c544ede91496034644436 Checking out Revision e84e37becc814ab4619c544ede91496034644436 (PR-344) > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/344/head:refs/remotes/origin/PR-344 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e84e37becc814ab4619c544ede91496034644436 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 3284203db036fb577a63a0fff870deb676f4920e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e84e37becc814ab4619c544ede91496034644436 # timeout=10 Commit message: "fix: update to new deviceCommand format, remove coreCommands from sample profiles (#310)" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:17:06 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:17:06 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:17:06 ========================================================= 17:17:06 EdgeX Global Pipelines Version Info 17:17:06 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:17:09 ------------------- 17:17:09 stable info: 17:17:09 ------------------- 17:17:09 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:17:09 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 17:17:09 Message: update stable to v1.0.192 17:17:09 ------------------- 17:17:09 experimental info: 17:17:09 ------------------- 17:17:09 Commited By: **** collab-it+edgex@linuxfoundation.org 17:17:09 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 17:17:09 Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:17:10 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 17:17:10 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 17:17:10 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:17:10 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:17:10 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:17:10 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo 17:17:10 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 17:17:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 17:17:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:17:10 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 17:17:10 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:17:10 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:17:10 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:17:10 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 17:17:10 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:17:10 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:17:10 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:17:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-344 [Pipeline] echo 17:17:10 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-344 [Pipeline] echo 17:17:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-344 [Pipeline] echo 17:17:11 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e84e37becc814ab4619c544ede91496034644436 [Pipeline] echo 17:17:11 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e84e37b [Pipeline] echo 17:17:11 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 17:17:11 provisioning config files... 17:17:11 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-344@tmp/config4725091775367162508tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:17:11 ---> docker-login.sh 17:17:11 nexus3.edgexfoundry.org:10001 17:17:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:17:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:17:12 Configure a credential helper to remove this warning. See 17:17:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:17:12 17:17:12 Login Succeeded 17:17:12 nexus3.edgexfoundry.org:10002 17:17:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:17:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:17:12 Configure a credential helper to remove this warning. See 17:17:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:17:12 17:17:12 Login Succeeded 17:17:12 nexus3.edgexfoundry.org:10003 17:17:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:17:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:17:12 Configure a credential helper to remove this warning. See 17:17:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:17:12 17:17:12 Login Succeeded 17:17:12 nexus3.edgexfoundry.org:10004 17:17:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:17:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:17:13 Configure a credential helper to remove this warning. See 17:17:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:17:13 17:17:13 Login Succeeded 17:17:13 docker.io 17:17:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:17:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:17:13 Configure a credential helper to remove this warning. See 17:17:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:17:13 17:17:13 Login Succeeded 17:17:13 ---> docker-login.sh ends [Pipeline] } 17:17:13 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 17:17:15 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:17:15 17:17:15 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 17:17:15 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:17:16 latest: Pulling from edgex-devops/git-semver 17:17:16 31603596830f: Pulling fs layer 17:17:16 54011a49482f: Pulling fs layer 17:17:16 a6820b24f6d8: Pulling fs layer 17:17:16 f581987b2513: Pulling fs layer 17:17:16 f581987b2513: Waiting 17:17:16 54011a49482f: Verifying Checksum 17:17:16 54011a49482f: Download complete 17:17:16 31603596830f: Verifying Checksum 17:17:16 31603596830f: Download complete 17:17:16 f581987b2513: Verifying Checksum 17:17:16 f581987b2513: Download complete 17:17:16 a6820b24f6d8: Verifying Checksum 17:17:16 a6820b24f6d8: Download complete 17:17:16 31603596830f: Pull complete 17:17:17 54011a49482f: Pull complete 17:17:18 a6820b24f6d8: Pull complete 17:17:18 f581987b2513: Pull complete 17:17:18 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 17:17:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:17:18 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 17:17:18 prd-centos7-docker-4c-2g-4727 does not seem to be running inside a container 17:17:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-344 -v /w/workspace/edgexfoundry_device-sdk-c_PR-344:/w/workspace/edgexfoundry_device-sdk-c_PR-344:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-344@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-344@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 17:17:21 $ docker top 76bdbf0c67391ebdc14aa36a900196bc6d9d0faf078c530c9af8b2fdcef08d03 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:17:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:17:21 [ssh-agent] Looking for ssh-agent implementation... 17:17:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:17:21 $ docker exec 76bdbf0c67391ebdc14aa36a900196bc6d9d0faf078c530c9af8b2fdcef08d03 ssh-agent 17:17:22 SSH_AUTH_SOCK=/tmp/ssh-orHllGHSXYsg/agent.13 17:17:22 SSH_AGENT_PID=18 17:17:22 Running ssh-add (command line suppressed) 17:17:22 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-344@tmp/private_key_6187164533536026191.key (/w/workspace/edgexfoundry_device-sdk-c_PR-344@tmp/private_key_6187164533536026191.key) 17:17:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:17:22 + git tag --points-at HEAD [Pipeline] } 17:17:22 $ docker exec --env ******** --env ******** 76bdbf0c67391ebdc14aa36a900196bc6d9d0faf078c530c9af8b2fdcef08d03 ssh-agent -k 17:17:23 unset SSH_AUTH_SOCK; 17:17:23 unset SSH_AGENT_PID; 17:17:23 echo Agent pid 18 killed; 17:17:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:17:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:17:23 [ssh-agent] Looking for ssh-agent implementation... 17:17:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:17:23 $ docker exec 76bdbf0c67391ebdc14aa36a900196bc6d9d0faf078c530c9af8b2fdcef08d03 ssh-agent 17:17:23 SSH_AUTH_SOCK=/tmp/ssh-qD5bqo3txdnF/agent.47 17:17:23 SSH_AGENT_PID=53 17:17:23 Running ssh-add (command line suppressed) 17:17:23 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-344@tmp/private_key_8867603809322752763.key (/w/workspace/edgexfoundry_device-sdk-c_PR-344@tmp/private_key_8867603809322752763.key) 17:17:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:17:24 + git semver init 17:17:24 # -> Open(): unable to determine branch for HEAD 17:17:24 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-344/.git 17:17:24 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-344 17:17:24 # $SEMVER_REMOTE_NAME = origin 17:17:24 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 17:17:24 # $SEMVER_USER_NAME = edgex-jenkins 17:17:24 # $SEMVER_BRANCH = PR-344 17:17:24 # $SEMVER_TEMP = /tmp/semver-125549347 17:17:24 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 17:17:25 # '/tmp/semver-125549347' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-344/.semver' 17:17:25 # -> Force: false 17:17:25 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-344/.semver [Pipeline] } 17:17:25 $ docker exec --env ******** --env ******** 76bdbf0c67391ebdc14aa36a900196bc6d9d0faf078c530c9af8b2fdcef08d03 ssh-agent -k 17:17:25 unset SSH_AUTH_SOCK; 17:17:25 unset SSH_AGENT_PID; 17:17:25 echo Agent pid 53 killed; 17:17:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:17:26 + git semver [Pipeline] } 17:17:26 $ docker stop --time=1 76bdbf0c67391ebdc14aa36a900196bc6d9d0faf078c530c9af8b2fdcef08d03 17:17:27 $ docker rm -f 76bdbf0c67391ebdc14aa36a900196bc6d9d0faf078c530c9af8b2fdcef08d03 [Pipeline] // withDockerContainer [Pipeline] sh 17:17:28 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:17:28 Stashed 1 file(s) [Pipeline] echo 17:17:28 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 17:17:44 Still waiting to schedule task 17:17:44 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-4727’ 17:17:44 Still waiting to schedule task 17:17:44 ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ is offline 17:19:41 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4728 in /w/workspace/edgexfoundry_device-sdk-c_PR-344 [Pipeline] { [Pipeline] ws 17:19:41 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 17:19:47 using credential edgex-jenkins-ssh 17:19:47 Cloning the remote Git repository 17:19:47 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 17:19:47 > git init /w/workspace/device-sdk-c/1 # timeout=10 17:19:47 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 17:19:47 > git --version # timeout=10 17:19:47 > git --version # 'git version 2.17.1' 17:19:47 using GIT_SSH to set credentials SSH Credentials for GitHub 17:19:47 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:19:49 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 17:19:49 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:19:49 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 17:19:49 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 17:19:49 using GIT_SSH to set credentials SSH Credentials for GitHub 17:19:49 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/344/head:refs/remotes/origin/PR-344 +refs/heads/master:refs/remotes/origin/master # timeout=10 17:19:49 Merging remotes/origin/master commit 3284203db036fb577a63a0fff870deb676f4920e into PR head commit e84e37becc814ab4619c544ede91496034644436 17:19:50 Merge succeeded, producing e84e37becc814ab4619c544ede91496034644436 17:19:50 Checking out Revision e84e37becc814ab4619c544ede91496034644436 (PR-344) 17:19:49 > git config core.sparsecheckout # timeout=10 17:19:49 > git checkout -f e84e37becc814ab4619c544ede91496034644436 # timeout=10 17:19:50 > git remote # timeout=10 17:19:50 > git config --get remote.origin.url # timeout=10 17:19:50 using GIT_SSH to set credentials SSH Credentials for GitHub 17:19:50 > git merge 3284203db036fb577a63a0fff870deb676f4920e # timeout=10 17:19:50 > git rev-parse HEAD^{commit} # timeout=10 17:19:50 > git config core.sparsecheckout # timeout=10 17:19:50 > git checkout -f e84e37becc814ab4619c544ede91496034644436 # timeout=10 17:19:54 Commit message: "fix: update to new deviceCommand format, remove coreCommands from sample profiles (#310)" 17:19:54 > git --version # timeout=10 17:19:54 > git --version # 'git version 2.17.1' 17:19:54 fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:19:56 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 17:19:56 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 17:19:57 + + true 17:19:57 sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 17:19:59 provisioning config files... 17:20:00 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config472743800054334471tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:20:00 ---> docker-login.sh 17:20:00 nexus3.edgexfoundry.org:10001 17:20:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:20:01 Running on prd-centos7-docker-4c-2g-4729 in /w/workspace/edgexfoundry_device-sdk-c_PR-344 [Pipeline] { [Pipeline] ws 17:20:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:20:01 Configure a credential helper to remove this warning. See 17:20:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:20:01 17:20:01 Login Succeeded 17:20:01 nexus3.edgexfoundry.org:10002 17:20:01 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 17:20:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:20:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:20:02 Configure a credential helper to remove this warning. See 17:20:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:20:02 17:20:02 Login Succeeded 17:20:02 nexus3.edgexfoundry.org:10003 17:20:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:20:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:20:02 Configure a credential helper to remove this warning. See 17:20:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:20:02 17:20:02 Login Succeeded 17:20:02 nexus3.edgexfoundry.org:10004 17:20:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:20:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:20:03 Configure a credential helper to remove this warning. See 17:20:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:20:03 17:20:03 Login Succeeded 17:20:03 docker.io 17:20:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:20:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:20:03 Configure a credential helper to remove this warning. See 17:20:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:20:03 17:20:03 Login Succeeded 17:20:03 ---> docker-login.sh ends [Pipeline] } 17:20:03 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 17:20:04 using credential edgex-jenkins-ssh 17:20:04 Cloning the remote Git repository [Pipeline] echo 17:20:04 ========================================================= 17:20:04 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 17:20:04 ========================================================= [Pipeline] isUnix [Pipeline] sh 17:20:04 + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . 17:20:05 Sending build context to Docker daemon 2.567MB 17:20:04 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 17:20:04 > git init /w/workspace/device-sdk-c/1 # timeout=10 17:20:04 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 17:20:04 > git --version # timeout=10 17:20:04 > git --version # 'git version 2.24.3' 17:20:04 using GIT_SSH to set credentials SSH Credentials for GitHub 17:20:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:20:05 Step 1/25 : ARG BASE=alpine:3.12 17:20:05 Step 2/25 : FROM ${BASE} as builder 17:20:05 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 17:20:05 0362ad1dd800: Pulling fs layer 17:20:05 f2cdb1532d8b: Pulling fs layer 17:20:05 37ed683be191: Pulling fs layer 17:20:05 f2cdb1532d8b: Verifying Checksum 17:20:05 f2cdb1532d8b: Download complete 17:20:05 0362ad1dd800: Verifying Checksum 17:20:05 0362ad1dd800: Download complete 17:20:06 0362ad1dd800: Pull complete 17:20:06 f2cdb1532d8b: Pull complete 17:20:07 Merging remotes/origin/master commit 3284203db036fb577a63a0fff870deb676f4920e into PR head commit e84e37becc814ab4619c544ede91496034644436 17:20:07 Merge succeeded, producing e84e37becc814ab4619c544ede91496034644436 17:20:07 Checking out Revision e84e37becc814ab4619c544ede91496034644436 (PR-344) 17:20:06 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 17:20:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:20:06 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 17:20:06 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 17:20:06 using GIT_SSH to set credentials SSH Credentials for GitHub 17:20:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/344/head:refs/remotes/origin/PR-344 +refs/heads/master:refs/remotes/origin/master # timeout=10 17:20:07 > git config core.sparsecheckout # timeout=10 17:20:07 > git checkout -f e84e37becc814ab4619c544ede91496034644436 # timeout=10 17:20:07 > git remote # timeout=10 17:20:07 > git config --get remote.origin.url # timeout=10 17:20:07 using GIT_SSH to set credentials SSH Credentials for GitHub 17:20:07 > git merge 3284203db036fb577a63a0fff870deb676f4920e # timeout=10 17:20:07 > git rev-parse HEAD^{commit} # timeout=10 17:20:07 > git config core.sparsecheckout # timeout=10 17:20:07 > git checkout -f e84e37becc814ab4619c544ede91496034644436 # timeout=10 17:20:07 37ed683be191: Verifying Checksum 17:20:07 37ed683be191: Download complete 17:20:11 Commit message: "fix: update to new deviceCommand format, remove coreCommands from sample profiles (#310)" 17:20:11 > git --version # timeout=10 17:20:11 > git --version # 'git version 2.24.3' 17:20:11 fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:20:12 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 17:20:12 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 17:20:12 + true 17:20:12 + sudo service docker restart 17:20:12 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 17:20:14 provisioning config files... 17:20:14 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config7911299218578557242tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:20:14 ---> docker-login.sh 17:20:14 nexus3.edgexfoundry.org:10001 17:20:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:20:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:20:15 Configure a credential helper to remove this warning. See 17:20:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:20:15 17:20:15 Login Succeeded 17:20:15 nexus3.edgexfoundry.org:10002 17:20:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:20:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:20:15 Configure a credential helper to remove this warning. See 17:20:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:20:15 17:20:15 Login Succeeded 17:20:15 nexus3.edgexfoundry.org:10003 17:20:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:20:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:20:15 Configure a credential helper to remove this warning. See 17:20:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:20:15 17:20:15 Login Succeeded 17:20:15 nexus3.edgexfoundry.org:10004 17:20:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:20:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:20:15 Configure a credential helper to remove this warning. See 17:20:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:20:15 17:20:15 Login Succeeded 17:20:15 docker.io 17:20:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:20:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:20:15 Configure a credential helper to remove this warning. See 17:20:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:20:15 17:20:15 Login Succeeded 17:20:16 ---> docker-login.sh ends [Pipeline] } 17:20:16 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:20:16 ========================================================= 17:20:16 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 17:20:16 ========================================================= [Pipeline] isUnix [Pipeline] sh 17:20:16 + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . 17:20:16 Sending build context to Docker daemon 2.568MB 17:20:16 Step 1/25 : ARG BASE=alpine:3.12 17:20:16 Step 2/25 : FROM ${BASE} as builder 17:20:17 latest: Pulling from edgex-devops/edgex-gcc-base 17:20:17 e7c96db7181b: Pulling fs layer 17:20:17 4c13bbce0fe7: Pulling fs layer 17:20:17 6059c847ac2f: Pulling fs layer 17:20:17 e7c96db7181b: Verifying Checksum 17:20:17 e7c96db7181b: Download complete 17:20:17 e7c96db7181b: Pull complete 17:20:17 4c13bbce0fe7: Pull complete 17:20:18 37ed683be191: Pull complete 17:20:18 Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f 17:20:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 17:20:18 ---> b23d30803547 17:20:18 Step 3/25 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub 17:20:18 6059c847ac2f: Verifying Checksum 17:20:18 6059c847ac2f: Download complete 17:20:18 ---> Running in 63c5602a1e95 17:20:19 Connecting to iotech.jfrog.io (34.243.182.113:443) 17:20:20 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 17:20:20 17:20:21 Removing intermediate container 63c5602a1e95 17:20:21 ---> 4e8805bd0963 17:20:21 Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 17:20:21 ---> Running in 57000be5b140 17:20:23 Removing intermediate container 57000be5b140 17:20:23 ---> 26a7ec4babdf 17:20:23 Step 5/25 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev hiredis-dev 17:20:23 ---> Running in 7d42d7b616c0 17:20:23 6059c847ac2f: Pull complete 17:20:23 Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e 17:20:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 17:20:23 ---> 5eabd8fd8ba2 17:20:23 Step 3/25 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub 17:20:24 ---> Running in 82496a33c1dc 17:20:24 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 17:20:25 Connecting to iotech.jfrog.io (54.229.110.245:443) 17:20:25 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 17:20:25 17:20:25 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 17:20:25 Removing intermediate container 82496a33c1dc 17:20:25 ---> c88e674a90dd 17:20:25 Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 17:20:25 ---> Running in 591ff577698c 17:20:26 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 17:20:26 (1/11) Installing hiredis (0.14.0-r0) 17:20:26 Removing intermediate container 591ff577698c 17:20:26 ---> 555047b8a313 17:20:26 Step 5/25 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev hiredis-dev 17:20:26 (2/11) Installing hiredis-dev (0.14.0-r0) 17:20:26 ---> Running in f6b6fc219d0e 17:20:26 (3/11) Installing ncurses-dev (6.1_p20190105-r0) 17:20:26 (4/11) Installing paho-mqtt-c-dev (1.3.5-r0) 17:20:26 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 17:20:28 (5/11) Installing libuuid (2.33-r0) 17:20:28 (6/11) Installing libblkid (2.33-r0) 17:20:28 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 17:20:28 (7/11) Installing libfdisk (2.33-r0) 17:20:28 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 17:20:28 (8/11) Installing libmount (2.33-r0) 17:20:28 (9/11) Installing libsmartcols (2.33-r0) 17:20:28 (10/11) Installing util-linux-dev (2.33-r0) 17:20:28 (1/11) Installing hiredis (0.14.0-r0) 17:20:29 (11/11) Installing wget (1.20.3-r0) 17:20:29 (2/11) Installing hiredis-dev (0.14.0-r0) 17:20:29 (3/11) Installing ncurses-dev (6.1_p20190105-r0) 17:20:29 Executing busybox-1.29.3-r10.trigger 17:20:29 OK: 287 MiB in 86 packages 17:20:29 (4/11) Installing paho-mqtt-c-dev (1.3.5-r0) 17:20:30 Removing intermediate container 7d42d7b616c0 17:20:30 ---> 5433bbb72119 17:20:30 Step 6/25 : ENV CBOR_VERSION=0.5.0 17:20:30 ---> Running in 7c7b013d6bcb 17:20:31 Removing intermediate container 7c7b013d6bcb 17:20:31 ---> f5b3e5d0b81d 17:20:31 Step 7/25 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install 17:20:31 ---> Running in 924b21d1d7e1 17:20:31 (5/11) Installing libuuid (2.33-r0) 17:20:31 (6/11) Installing libblkid (2.33-r0) 17:20:31 (7/11) Installing libfdisk (2.33-r0) 17:20:31 (8/11) Installing libmount (2.33-r0) 17:20:32 (9/11) Installing libsmartcols (2.33-r0) 17:20:32 (10/11) Installing util-linux-dev (2.33-r0) 17:20:32 (11/11) Installing wget (1.20.3-r0) 17:20:32 Executing busybox-1.29.3-r10.trigger 17:20:32 OK: 273 MiB in 86 packages 17:20:32 --2021-05-12 17:20:32-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 17:20:32 Resolving github.com... 140.82.114.3 17:20:32 Connecting to github.com|140.82.114.3|:443... connected. 17:20:32 HTTP request sent, awaiting response... 302 Found 17:20:32 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 17:20:32 --2021-05-12 17:20:32-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 17:20:32 Resolving codeload.github.com... 140.82.113.10 17:20:32 Connecting to codeload.github.com|140.82.113.10|:443... connected. 17:20:32 HTTP request sent, awaiting response... 200 OK 17:20:32 Length: unspecified [application/x-gzip] 17:20:32 Saving to: 'STDOUT' 17:20:32  17:20:32 0K .......... .......... .......... .......... .......... 1.45M 17:20:32 50K .......... .......... .......... .......... .......... 2.67M 17:20:32 100K .......... .......... .......... .......... .......... 10.2M 17:20:32 150K .......... .......... .......... .......... .......... 3.86M 17:20:32 200K .......... .......... .......... .......... .......... 7.86M 17:20:32 250K .......... .......... .......... .......... .......... 3.62M 17:20:32 300K .......... .......... .......... .......... .......... 5.48M 17:20:32 350K .......... .......... .......... .......... .......... 4.42M 17:20:32 400K .......... .......... .......... .......... .......... 4.28M 17:20:32 450K .......... .......... .......... .......... .......... 3.85M 17:20:32 500K .......... .......... .......... .......... .......... 9.89M 17:20:33 Removing intermediate container f6b6fc219d0e 17:20:33 ---> fb17fd07e817 17:20:33 Step 6/25 : ENV CBOR_VERSION=0.5.0 17:20:33 550K .......... .......... .......... .......... .......... 1.60M 17:20:33 600K .......... .......... .......... .......... .......... 1.03M 17:20:33 650K .......... .......... .......... .......... .......... 2.11M 17:20:33 700K .. 3.71M=0.2s 17:20:33 17:20:33 2021-05-12 17:20:33 (2.86 MB/s) - written to stdout [719348] 17:20:33 17:20:33 ---> Running in d5b9cfa3e650 17:20:33 Removing intermediate container d5b9cfa3e650 17:20:33 ---> e75c8feef0a0 17:20:33 Step 7/25 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install 17:20:33 ---> Running in b7829a99bce8 17:20:33 -- The C compiler identification is GNU 8.3.0 17:20:33 -- The CXX compiler identification is GNU 8.3.0 17:20:33 -- Check for working C compiler: /usr/bin/cc 17:20:33 --2021-05-12 17:20:33-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 17:20:33 Resolving github.com... 140.82.114.3 17:20:33 Connecting to github.com|140.82.114.3|:443... connected. 17:20:33 HTTP request sent, awaiting response... 302 Found 17:20:33 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 17:20:33 --2021-05-12 17:20:33-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 17:20:33 Resolving codeload.github.com... 140.82.113.10 17:20:33 Connecting to codeload.github.com|140.82.113.10|:443... connected. 17:20:33 HTTP request sent, awaiting response... 200 OK 17:20:33 Length: unspecified [application/x-gzip] 17:20:33 Saving to: 'STDOUT' 17:20:33  17:20:33 0K .......... .......... .......... .......... .......... 1.52M 17:20:33 50K .......... .......... .......... .......... .......... 3.06M 17:20:34 -- Check for working C compiler: /usr/bin/cc -- works 17:20:34 -- Detecting C compiler ABI info 17:20:34 100K .......... .......... .......... .......... .......... 48.2M 17:20:34 150K .......... .......... .......... .......... .......... 3.16M 17:20:34 200K .......... .......... .......... .......... .......... 24.3M 17:20:34 250K .......... .......... .......... .......... .......... 12.3M 17:20:34 300K .......... .......... .......... .......... .......... 11.2M 17:20:34 350K .......... .......... .......... .......... .......... 10.4M 17:20:34 400K .......... .......... .......... .......... .......... 5.90M 17:20:34 450K .......... .......... .......... .......... .......... 10.5M 17:20:34 500K .......... .......... .......... .......... .......... 19.3M 17:20:34 550K .......... .......... .......... .......... .......... 819K 17:20:34 600K .......... .......... .......... .......... .......... 25.1M 17:20:34 650K .......... .......... .......... .......... .......... 5.09M 17:20:34 700K .. 643K=0.2s 17:20:34 17:20:34 2021-05-12 17:20:34 (4.00 MB/s) - written to stdout [719348] 17:20:34 17:20:34 -- The C compiler identification is GNU 8.3.0 17:20:34 -- Detecting C compiler ABI info - done 17:20:34 -- Detecting C compile features 17:20:34 -- The CXX compiler identification is GNU 8.3.0 17:20:34 -- Check for working C compiler: /usr/bin/cc 17:20:34 -- Check for working C compiler: /usr/bin/cc -- works 17:20:34 -- Detecting C compiler ABI info 17:20:34 -- Detecting C compiler ABI info - done 17:20:34 -- Detecting C compile features 17:20:34 -- Detecting C compile features - done 17:20:34 -- Check for working CXX compiler: /usr/bin/c++ 17:20:34 -- Check for working CXX compiler: /usr/bin/c++ -- works 17:20:34 -- Detecting CXX compiler ABI info 17:20:34 -- Detecting C compile features - done 17:20:34 -- Check for working CXX compiler: /usr/bin/c++ 17:20:34 -- Detecting CXX compiler ABI info - done 17:20:34 -- Detecting CXX compile features 17:20:35 -- Check for working CXX compiler: /usr/bin/c++ -- works 17:20:35 -- Detecting CXX compiler ABI info 17:20:35 -- Detecting CXX compile features - done 17:20:35 -- Looking for include file endian.h 17:20:35 -- Detecting CXX compiler ABI info - done 17:20:35 -- Detecting CXX compile features 17:20:35 -- Looking for include file endian.h - found 17:20:35 -- Check if the system is big endian 17:20:35 -- Searching 16 bit integer 17:20:35 -- Looking for sys/types.h 17:20:35 -- Looking for sys/types.h - found 17:20:35 -- Looking for stdint.h 17:20:35 -- Looking for stdint.h - found 17:20:35 -- Looking for stddef.h 17:20:35 -- Looking for stddef.h - found 17:20:35 -- Check size of unsigned short 17:20:35 -- Check size of unsigned short - done 17:20:35 -- Using unsigned short 17:20:35 -- Check if the system is big endian - little endian 17:20:35 -- Check size of size_t 17:20:35 -- Check size of size_t - done 17:20:35 CMake Warning at examples/CMakeLists.txt:16 (find_package): 17:20:35 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 17:20:35 asked CMake to find a package configuration file provided by "cJSON", but 17:20:35 CMake did not find one. 17:20:35 17:20:35 Could not find a package configuration file provided by "cJSON" with any of 17:20:35 the following names: 17:20:35 17:20:35 cJSONConfig.cmake 17:20:35 cjson-config.cmake 17:20:35 17:20:35 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 17:20:35 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 17:20:35 provides a separate development package or SDK, be sure it has been 17:20:35 installed. 17:20:35 17:20:35 17:20:36 -- Configuring done 17:20:36 -- Generating done 17:20:36 -- Build files have been written to: /tmp/cbor 17:20:36 Scanning dependencies of target cbor_shared 17:20:36 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 17:20:36 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 17:20:36 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 17:20:36 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 17:20:36 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 17:20:36 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 17:20:36 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 17:20:36 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 17:20:36 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 17:20:36 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 17:20:36 -- Detecting CXX compile features - done 17:20:36 -- Looking for include file endian.h 17:20:37 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 17:20:37 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 17:20:37 -- Looking for include file endian.h - found 17:20:37 -- Check if the system is big endian 17:20:37 -- Searching 16 bit integer 17:20:37 -- Looking for sys/types.h 17:20:37 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 17:20:37 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 17:20:37 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 17:20:37 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 17:20:37 -- Looking for sys/types.h - found 17:20:37 -- Looking for stdint.h 17:20:37 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 17:20:37 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 17:20:37 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 17:20:37 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 17:20:37 -- Looking for stdint.h - found 17:20:37 -- Looking for stddef.h 17:20:37 [ 40%] Linking C shared library libcbor.so 17:20:37 [ 40%] Built target cbor_shared 17:20:37 Scanning dependencies of target cbor 17:20:37 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 17:20:37 -- Looking for stddef.h - found 17:20:37 -- Check size of unsigned short 17:20:38 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 17:20:38 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 17:20:38 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 17:20:38 -- Check size of unsigned short - done 17:20:38 -- Using unsigned short 17:20:38 -- Check if the system is big endian - little endian 17:20:38 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 17:20:38 -- Check size of size_t 17:20:38 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 17:20:38 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 17:20:38 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 17:20:38 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 17:20:38 -- Check size of size_t - done 17:20:38 CMake Warning at examples/CMakeLists.txt:16 (find_package): 17:20:38 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 17:20:38 asked CMake to find a package configuration file provided by "cJSON", but 17:20:38 CMake did not find one. 17:20:38 17:20:38 Could not find a package configuration file provided by "cJSON" with any of 17:20:38 the following names: 17:20:38 17:20:38 cJSONConfig.cmake 17:20:38 cjson-config.cmake 17:20:38 17:20:38 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 17:20:38 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 17:20:38 provides a separate development package or SDK, be sure it has been 17:20:38 installed. 17:20:38 17:20:38 17:20:38 -- Configuring done 17:20:38 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 17:20:38 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 17:20:39 -- Generating done 17:20:39 -- Build files have been written to: /tmp/cbor 17:20:39 Scanning dependencies of target cbor_shared 17:20:39 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 17:20:39 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 17:20:39 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 17:20:39 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 17:20:39 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 17:20:39 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 17:20:39 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 17:20:39 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 17:20:39 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 17:20:39 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 17:20:39 [ 80%] Linking C static library libcbor.a 17:20:39 [ 80%] Built target cbor 17:20:39 Scanning dependencies of target create_items 17:20:39 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 17:20:39 [ 84%] Linking C executable create_items 17:20:39 [ 84%] Built target create_items 17:20:39 Scanning dependencies of target readfile 17:20:39 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 17:20:39 [ 88%] Linking C executable readfile 17:20:39 [ 88%] Built target readfile 17:20:39 Scanning dependencies of target streaming_parser 17:20:39 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 17:20:39 [ 92%] Linking C executable streaming_parser 17:20:39 [ 92%] Built target streaming_parser 17:20:39 Scanning dependencies of target sort 17:20:39 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 17:20:40 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 17:20:40 [ 96%] Linking C executable sort 17:20:40 [ 96%] Built target sort 17:20:40 Scanning dependencies of target hello 17:20:40 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 17:20:40 [100%] Linking C executable hello 17:20:40 [100%] Built target hello 17:20:40 Install the project... 17:20:40 -- Install configuration: "Release" 17:20:40 -- Installing: /usr/local/include/cbor/configuration.h 17:20:40 -- Installing: /usr/local/lib64/libcbor.a 17:20:40 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 17:20:40 -- Installing: /usr/local/lib64/libcbor.so.0 17:20:40 -- Installing: /usr/local/lib64/libcbor.so 17:20:40 -- Up-to-date: /usr/local/include/cbor 17:20:40 -- Installing: /usr/local/include/cbor/arrays.h 17:20:40 -- Installing: /usr/local/include/cbor/bytestrings.h 17:20:40 -- Installing: /usr/local/include/cbor/callbacks.h 17:20:40 -- Installing: /usr/local/include/cbor/common.h 17:20:40 -- Installing: /usr/local/include/cbor/data.h 17:20:40 -- Installing: /usr/local/include/cbor/encoding.h 17:20:40 -- Installing: /usr/local/include/cbor/floats_ctrls.h 17:20:40 -- Installing: /usr/local/include/cbor/internal 17:20:40 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 17:20:40 -- Installing: /usr/local/include/cbor/internal/encoders.h 17:20:40 -- Installing: /usr/local/include/cbor/internal/loaders.h 17:20:40 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 17:20:40 -- Installing: /usr/local/include/cbor/internal/stack.h 17:20:40 -- Installing: /usr/local/include/cbor/internal/unicode.h 17:20:40 -- Installing: /usr/local/include/cbor/ints.h 17:20:40 -- Installing: /usr/local/include/cbor/maps.h 17:20:40 -- Installing: /usr/local/include/cbor/serialization.h 17:20:40 -- Installing: /usr/local/include/cbor/streaming.h 17:20:40 -- Installing: /usr/local/include/cbor/strings.h 17:20:40 -- Installing: /usr/local/include/cbor/tags.h 17:20:40 -- Installing: /usr/local/include/cbor.h 17:20:40 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 17:20:40 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 17:20:40 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 17:20:41 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 17:20:41 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 17:20:41 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 17:20:41 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 17:20:42 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 17:20:42 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 17:20:42 Removing intermediate container b7829a99bce8 17:20:42 ---> bd5d9d14662c 17:20:42 Step 8/25 : RUN mkdir /tmp/sdk 17:20:42 ---> Running in 71413e12ed2e 17:20:42 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 17:20:43 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 17:20:43 Removing intermediate container 71413e12ed2e 17:20:43 ---> 9a210299ed1e 17:20:43 Step 9/25 : COPY VERSION /tmp/sdk 17:20:43 ---> 3208df71efcd 17:20:43 Step 10/25 : COPY src /tmp/sdk/src 17:20:43 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 17:20:44 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 17:20:44 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 17:20:44 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 17:20:44 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 17:20:44 ---> a136445ba3a3 17:20:44 Step 11/25 : COPY include /tmp/sdk/include 17:20:44 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 17:20:44 ---> 32ed36a85ab0 17:20:44 Step 12/25 : COPY scripts /tmp/sdk/scripts 17:20:45 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 17:20:45 ---> 3015cb1b5099 17:20:45 Step 13/25 : COPY LICENSE /tmp/sdk 17:20:45 ---> 00b2944ee82d 17:20:45 Step 14/25 : COPY Attribution.txt /tmp/sdk 17:20:45 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 17:20:45 ---> b990459d3778 17:20:45 Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 17:20:45 ---> Running in 63668aaff78f 17:20:45 [ 40%] Linking C shared library libcbor.so 17:20:45 [ 40%] Built target cbor_shared 17:20:45 Scanning dependencies of target cbor 17:20:45 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 17:20:46 + CPPCHECK=false 17:20:46 + DOCGEN=false 17:20:46 + TOMLVER=SDK-0.2 17:20:46 + CUTILVER=1.1.4 17:20:46 + '[' 0 -gt 0 ] 17:20:46 + readlink -f ./scripts/build.sh 17:20:46 + dirname /tmp/sdk/scripts/build.sh 17:20:46 + dirname /tmp/sdk/scripts 17:20:46 + ROOT=/tmp/sdk 17:20:46 + cd /tmp/sdk 17:20:46 + '[' '!' -d deps ] 17:20:46 + mkdir deps 17:20:46 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 17:20:46 + tar -C deps -z -x -f - 17:20:46 --2021-05-12 17:20:45-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 17:20:46 Resolving github.com... 140.82.114.3 17:20:46 Connecting to github.com|140.82.114.3|:443... connected. 17:20:46 HTTP request sent, awaiting response... 302 Found 17:20:46 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 17:20:46 --2021-05-12 17:20:45-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 17:20:46 Resolving codeload.github.com... 140.82.113.10 17:20:46 Connecting to codeload.github.com|140.82.113.10|:443... connected. 17:20:46 HTTP request sent, awaiting response... 200 OK 17:20:46 Length: unspecified [application/x-gzip] 17:20:46 Saving to: 'STDOUT' 17:20:46  17:20:46 0K .......... ......   724K=0.02s 17:20:46 17:20:46 2021-05-12 17:20:46 (724 KB/s) - written to stdout [16451] 17:20:46 17:20:46 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 17:20:46 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 17:20:46 + tar -C deps -z -x -f - 17:20:46 --2021-05-12 17:20:46-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 17:20:46 Resolving github.com... 140.82.114.3 17:20:46 Connecting to github.com|140.82.114.3|:443... connected. 17:20:46 HTTP request sent, awaiting response... 302 Found 17:20:46 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] 17:20:46 --2021-05-12 17:20:46-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 17:20:46 Resolving codeload.github.com... 140.82.113.10 17:20:46 Connecting to codeload.github.com|140.82.113.10|:443... connected. 17:20:46 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 17:20:46 HTTP request sent, awaiting response... 200 OK 17:20:46 Length: unspecified [application/x-gzip] 17:20:46 Saving to: 'STDOUT' 17:20:46  17:20:46 0K .......... .......... .......... .......... .......... 1.13M 17:20:46 50K .......... .......... .......... .......... .......... 2.02M 17:20:46 100K .......... .......... .......... .......... .......... 2.19M 17:20:46 150K .......... .......... ....... 9.44M=0.09s 17:20:46 17:20:46 2021-05-12 17:20:46 (1.87 MB/s) - written to stdout [181796] 17:20:46 17:20:46 + mkdir -p src/c/iot 17:20:46 + cp deps/iotech-c-utils-1.1.4/src/c/base64.c deps/iotech-c-utils-1.1.4/src/c/component.c deps/iotech-c-utils-1.1.4/src/c/config.c deps/iotech-c-utils-1.1.4/src/c/container.c deps/iotech-c-utils-1.1.4/src/c/data.c deps/iotech-c-utils-1.1.4/src/c/hash.c deps/iotech-c-utils-1.1.4/src/c/iot.c deps/iotech-c-utils-1.1.4/src/c/json.c deps/iotech-c-utils-1.1.4/src/c/logger.c deps/iotech-c-utils-1.1.4/src/c/os.c deps/iotech-c-utils-1.1.4/src/c/scheduler.c deps/iotech-c-utils-1.1.4/src/c/thread.c deps/iotech-c-utils-1.1.4/src/c/threadpool.c deps/iotech-c-utils-1.1.4/src/c/time.c deps/iotech-c-utils-1.1.4/src/c/yxml.c src/c/iot 17:20:46 + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot 17:20:46 + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot 17:20:46 + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot 17:20:46 + mkdir -p include/iot 17:20:46 + cp deps/iotech-c-utils-1.1.4/include/iot/base64.h deps/iotech-c-utils-1.1.4/include/iot/component.h deps/iotech-c-utils-1.1.4/include/iot/config.h deps/iotech-c-utils-1.1.4/include/iot/container.h deps/iotech-c-utils-1.1.4/include/iot/data.h deps/iotech-c-utils-1.1.4/include/iot/hash.h deps/iotech-c-utils-1.1.4/include/iot/iot.h deps/iotech-c-utils-1.1.4/include/iot/json.h deps/iotech-c-utils-1.1.4/include/iot/logger.h deps/iotech-c-utils-1.1.4/include/iot/os.h deps/iotech-c-utils-1.1.4/include/iot/scheduler.h deps/iotech-c-utils-1.1.4/include/iot/thread.h deps/iotech-c-utils-1.1.4/include/iot/threadpool.h deps/iotech-c-utils-1.1.4/include/iot/time.h deps/iotech-c-utils-1.1.4/include/iot/typecode.h include/iot 17:20:46 + mkdir -p include/iot/os 17:20:46 + cp deps/iotech-c-utils-1.1.4/include/iot/os/linux.h deps/iotech-c-utils-1.1.4/include/iot/os/macos.h deps/iotech-c-utils-1.1.4/include/iot/os/zephyr.h include/iot/os 17:20:46 + mkdir -p /tmp/sdk/build/release 17:20:46 + cd /tmp/sdk/build/release 17:20:46 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 17:20:46 -- The C compiler identification is GNU 8.3.0 17:20:46 -- Check for working C compiler: /usr/bin/cc 17:20:47 -- Check for working C compiler: /usr/bin/cc -- works 17:20:47 -- Detecting C compiler ABI info 17:20:47 -- Detecting C compiler ABI info - done 17:20:47 -- Detecting C compile features 17:20:47 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 17:20:47 -- Detecting C compile features - done 17:20:47 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 17:20:47 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 17:20:47 -- Found LIBYAML: /usr/lib/libyaml.so 17:20:47 -- Found LIBUUID: /usr/lib/libuuid.so 17:20:47 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 17:20:47 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 17:20:47 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 17:20:47 -- C SDK 0.0.0 for Linux 17:20:47 -- Performing Test CSDK_HAVE_ATOMIC 17:20:47 -- Performing Test CSDK_HAVE_ATOMIC - Success 17:20:47 -- Found Curses: /usr/lib/libcurses.so 17:20:47 -- Configuring done 17:20:47 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 17:20:47 -- Generating done 17:20:47 -- Build files have been written to: /tmp/sdk/build/release 17:20:47 + make all package 17:20:47 + tee release.log 17:20:47 Scanning dependencies of target csdk 17:20:47 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 17:20:47 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 17:20:47 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 17:20:48 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 17:20:48 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 17:20:48 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 17:20:48 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 17:20:48 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 17:20:48 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 17:20:48 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 17:20:48 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 17:20:48 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 17:20:49 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 17:20:49 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 17:20:49 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 17:20:49 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 17:20:49 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 17:20:49 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 17:20:49 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 17:20:49 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 17:20:50 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 17:20:50 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 17:20:50 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 17:20:50 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 17:20:50 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 17:20:50 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 17:20:50 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 17:20:50 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 17:20:50 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 17:20:50 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 17:20:51 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 17:20:51 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 17:20:51 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 17:20:51 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 17:20:51 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 17:20:52 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 17:20:52 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 17:20:52 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 17:20:52 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 17:20:52 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 17:20:52 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 17:20:52 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 17:20:52 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 17:20:52 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 17:20:52 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 17:20:52 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 17:20:52 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 17:20:52 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 17:20:52 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 17:20:53 [ 80%] Linking C static library libcbor.a 17:20:53 [ 80%] Built target cbor 17:20:53 Scanning dependencies of target create_items 17:20:53 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 17:20:53 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 17:20:53 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 17:20:53 [ 84%] Linking C executable create_items 17:20:53 [ 84%] Built target create_items 17:20:53 Scanning dependencies of target readfile 17:20:53 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 17:20:53 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 17:20:53 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 17:20:53 [ 88%] Linking C executable readfile 17:20:53 [ 88%] Built target readfile 17:20:53 Scanning dependencies of target streaming_parser 17:20:53 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 17:20:54 [ 92%] Linking C executable streaming_parser 17:20:54 [ 92%] Built target streaming_parser 17:20:54 Scanning dependencies of target sort 17:20:54 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 17:20:54 [ 96%] Linking C executable sort 17:20:54 [ 96%] Built target sort 17:20:54 Scanning dependencies of target hello 17:20:54 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 17:20:54 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 17:20:54 [100%] Linking C executable hello 17:20:54 [100%] Built target hello 17:20:54 Install the project... 17:20:54 -- Install configuration: "Release" 17:20:54 -- Installing: /usr/local/include/cbor/configuration.h 17:20:54 -- Installing: /usr/local/lib64/libcbor.a 17:20:54 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 17:20:54 -- Installing: /usr/local/lib64/libcbor.so.0 17:20:54 -- Installing: /usr/local/lib64/libcbor.so 17:20:54 -- Up-to-date: /usr/local/include/cbor 17:20:54 -- Installing: /usr/local/include/cbor/streaming.h 17:20:54 -- Installing: /usr/local/include/cbor/ints.h 17:20:54 -- Installing: /usr/local/include/cbor/floats_ctrls.h 17:20:54 -- Installing: /usr/local/include/cbor/bytestrings.h 17:20:54 -- Installing: /usr/local/include/cbor/encoding.h 17:20:54 -- Installing: /usr/local/include/cbor/serialization.h 17:20:54 -- Installing: /usr/local/include/cbor/data.h 17:20:54 -- Installing: /usr/local/include/cbor/common.h 17:20:54 -- Installing: /usr/local/include/cbor/callbacks.h 17:20:54 -- Installing: /usr/local/include/cbor/strings.h 17:20:54 -- Installing: /usr/local/include/cbor/tags.h 17:20:54 -- Installing: /usr/local/include/cbor/internal 17:20:54 -- Installing: /usr/local/include/cbor/internal/encoders.h 17:20:54 -- Installing: /usr/local/include/cbor/internal/loaders.h 17:20:54 -- Installing: /usr/local/include/cbor/internal/stack.h 17:20:54 -- Installing: /usr/local/include/cbor/internal/unicode.h 17:20:54 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 17:20:54 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 17:20:54 -- Installing: /usr/local/include/cbor/arrays.h 17:20:54 -- Installing: /usr/local/include/cbor/maps.h 17:20:54 -- Installing: /usr/local/include/cbor.h 17:20:54 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 17:20:54 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 17:20:54 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 17:20:55 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 17:20:55 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 17:20:56 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 17:20:56 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 17:20:56 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 17:20:56 Removing intermediate container 924b21d1d7e1 17:20:56 ---> 3a7c68987859 17:20:56 Step 8/25 : RUN mkdir /tmp/sdk 17:20:56 ---> Running in a0be4343ca82 17:20:57 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 17:20:57 [ 74%] Linking C shared library libcsdk.so 17:20:57 [ 74%] Built target csdk 17:20:57 Scanning dependencies of target template 17:20:57 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 17:20:57 [ 77%] Linking C executable template 17:20:57 [ 77%] Built target template 17:20:57 Scanning dependencies of target device-counter 17:20:57 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 17:20:57 [ 80%] Linking C executable device-counter 17:20:57 [ 80%] Built target device-counter 17:20:57 Scanning dependencies of target device-random 17:20:57 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 17:20:57 [ 84%] Linking C executable device-random 17:20:57 [ 84%] Built target device-random 17:20:57 Scanning dependencies of target device-gyro 17:20:58 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 17:20:58 [ 87%] Linking C executable device-gyro 17:20:58 [ 87%] Built target device-gyro 17:20:58 Scanning dependencies of target device-bitfields 17:20:58 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 17:20:58 [ 90%] Linking C executable device-bitfields 17:20:58 [ 90%] Built target device-bitfields 17:20:58 Scanning dependencies of target template-discovery 17:20:58 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 17:20:58 [ 93%] Linking C executable template-discovery 17:20:58 [ 93%] Built target template-discovery 17:20:58 Scanning dependencies of target device-file 17:20:58 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 17:20:58 [ 96%] Linking C executable device-file 17:20:58 [ 96%] Built target device-file 17:20:58 Scanning dependencies of target device-terminal 17:20:58 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 17:20:58 [100%] Linking C executable device-terminal 17:20:58 [100%] Built target device-terminal 17:20:58 Run CPack packaging tool... 17:20:58 Removing intermediate container a0be4343ca82 17:20:58 ---> ea2cd939377e 17:20:58 Step 9/25 : COPY VERSION /tmp/sdk 17:20:59 CPack: Create package using TGZ 17:20:59 CPack: Install projects 17:20:59 CPack: - Run preinstall target for: Csdk 17:20:59 CPack: - Install project: Csdk 17:20:59 CPack: Create package 17:20:59 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 17:20:59 + '[' false '=' true ] 17:20:59 + '[' false '=' true ] 17:20:59 + mkdir -p /tmp/sdk/build/debug 17:20:59 + cd /tmp/sdk/build/debug 17:20:59 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 17:20:59 -- The C compiler identification is GNU 8.3.0 17:20:59 -- Check for working C compiler: /usr/bin/cc 17:20:59 -- Check for working C compiler: /usr/bin/cc -- works 17:20:59 -- Detecting C compiler ABI info 17:20:59 ---> bb57aacf7cb5 17:20:59 Step 10/25 : COPY src /tmp/sdk/src 17:20:59 -- Detecting C compiler ABI info - done 17:20:59 -- Detecting C compile features 17:20:59 -- Detecting C compile features - done 17:20:59 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 17:20:59 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 17:20:59 -- Found LIBYAML: /usr/lib/libyaml.so 17:20:59 -- Found LIBUUID: /usr/lib/libuuid.so 17:20:59 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 17:20:59 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 17:20:59 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 17:20:59 -- C SDK 0.0.0 for Linux 17:20:59 -- Performing Test CSDK_HAVE_ATOMIC 17:20:59 -- Performing Test CSDK_HAVE_ATOMIC - Success 17:20:59 -- Found Curses: /usr/lib/libcurses.so 17:20:59 -- Configuring done 17:20:59 -- Generating done 17:20:59 -- Build files have been written to: /tmp/sdk/build/debug 17:20:59 + make 17:20:59 + tee debug.log 17:20:59 Scanning dependencies of target csdk 17:20:59 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 17:21:00 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 17:21:00 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 17:21:00 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 17:21:00 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 17:21:00 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 17:21:00 ---> 34dbed0bb52a 17:21:00 Step 11/25 : COPY include /tmp/sdk/include 17:21:00 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 17:21:00 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 17:21:00 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 17:21:00 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 17:21:00 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 17:21:00 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 17:21:01 ---> 8d38485489d4 17:21:01 Step 12/25 : COPY scripts /tmp/sdk/scripts 17:21:01 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 17:21:01 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 17:21:01 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 17:21:01 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 17:21:01 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 17:21:01 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 17:21:01 ---> 6deca3ee7633 17:21:01 Step 13/25 : COPY LICENSE /tmp/sdk 17:21:01 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 17:21:01 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 17:21:01 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 17:21:01 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 17:21:01 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 17:21:02 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 17:21:02 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 17:21:02 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 17:21:02 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 17:21:02 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 17:21:02 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 17:21:02 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 17:21:02 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 17:21:02 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 17:21:02 ---> 72b2985a6469 17:21:02 Step 14/25 : COPY Attribution.txt /tmp/sdk 17:21:02 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 17:21:02 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 17:21:02 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 17:21:03 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 17:21:03 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 17:21:03 ---> 6eb3512a4263 17:21:03 Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 17:21:03 ---> Running in aff88086855b 17:21:03 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 17:21:03 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 17:21:03 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 17:21:03 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 17:21:03 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 17:21:03 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 17:21:04 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 17:21:04 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 17:21:04 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 17:21:04 [ 74%] Linking C shared library libcsdk.so 17:21:04 [ 74%] Built target csdk 17:21:04 Scanning dependencies of target template 17:21:04 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 17:21:04 [ 77%] Linking C executable template 17:21:04 [ 77%] Built target template 17:21:04 Scanning dependencies of target device-counter 17:21:04 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 17:21:04 [ 80%] Linking C executable device-counter 17:21:04 [ 80%] Built target device-counter 17:21:04 Scanning dependencies of target device-random 17:21:04 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 17:21:04 + CPPCHECK=false 17:21:04 + DOCGEN=false 17:21:04 + TOMLVER=SDK-0.2 17:21:04 + CUTILVER=1.1.4 17:21:04 + '[' 0 -gt 0 ] 17:21:04 + readlink -f ./scripts/build.sh 17:21:04 + dirname /tmp/sdk/scripts/build.sh 17:21:04 + dirname /tmp/sdk/scripts 17:21:04 + ROOT=/tmp/sdk 17:21:04 + cd /tmp/sdk 17:21:04 + '[' '!' -d deps ] 17:21:04 + mkdir deps 17:21:04 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 17:21:04 + tar -C deps -z -x -f - 17:21:04 --2021-05-12 17:21:04-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 17:21:04 Resolving github.com... 140.82.114.3 17:21:04 Connecting to github.com|140.82.114.3|:443... connected. 17:21:04 HTTP request sent, awaiting response... 302 Found 17:21:04 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 17:21:04 --2021-05-12 17:21:04-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 17:21:04 Resolving codeload.github.com... 140.82.113.10 17:21:04 Connecting to codeload.github.com|140.82.113.10|:443... connected. 17:21:04 HTTP request sent, awaiting response... 200 OK 17:21:04 Length: unspecified [application/x-gzip] 17:21:04 Saving to: 'STDOUT' 17:21:04  17:21:04 0K .......... ......   1.10M=0.01s 17:21:04 17:21:04 2021-05-12 17:21:04 (1.10 MB/s) - written to stdout [16451] 17:21:04 17:21:04 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 17:21:04 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 17:21:04 + tar -C deps -z -x -f - 17:21:04 --2021-05-12 17:21:04-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 17:21:04 Resolving github.com... 140.82.114.3 17:21:04 Connecting to github.com|140.82.114.3|:443... connected. 17:21:04 HTTP request sent, awaiting response... 302 Found 17:21:04 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] 17:21:04 --2021-05-12 17:21:04-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 17:21:04 Resolving codeload.github.com... 140.82.113.10 17:21:04 Connecting to codeload.github.com|140.82.113.10|:443... connected. 17:21:04 [ 84%] Linking C executable device-random 17:21:04 [ 84%] Built target device-random 17:21:04 Scanning dependencies of target device-gyro 17:21:04 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 17:21:04 [ 87%] Linking C executable device-gyro 17:21:04 HTTP request sent, awaiting response... 200 OK 17:21:04 Length: unspecified [application/x-gzip] 17:21:04 Saving to: 'STDOUT' 17:21:04  17:21:04 0K .......... .......... .......... .......... .......... 1.62M 17:21:04 50K .......... .......... .......... .......... .......... 2.95M 17:21:04 100K .......... .......... .......... .......... .......... 3.73M 17:21:04 150K .......... .......... .......                  1.79M=0.07s 17:21:04 17:21:04 2021-05-12 17:21:04 (2.32 MB/s) - written to stdout [181796] 17:21:04 17:21:04 + mkdir -p src/c/iot 17:21:04 + cp deps/iotech-c-utils-1.1.4/src/c/base64.c deps/iotech-c-utils-1.1.4/src/c/component.c deps/iotech-c-utils-1.1.4/src/c/config.c deps/iotech-c-utils-1.1.4/src/c/container.c deps/iotech-c-utils-1.1.4/src/c/data.c deps/iotech-c-utils-1.1.4/src/c/hash.c deps/iotech-c-utils-1.1.4/src/c/iot.c deps/iotech-c-utils-1.1.4/src/c/json.c deps/iotech-c-utils-1.1.4/src/c/logger.c deps/iotech-c-utils-1.1.4/src/c/os.c deps/iotech-c-utils-1.1.4/src/c/scheduler.c deps/iotech-c-utils-1.1.4/src/c/thread.c deps/iotech-c-utils-1.1.4/src/c/threadpool.c deps/iotech-c-utils-1.1.4/src/c/time.c deps/iotech-c-utils-1.1.4/src/c/yxml.c src/c/iot 17:21:04 + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot 17:21:04 + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot 17:21:04 + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot 17:21:04 + mkdir -p include/iot 17:21:04 + cp deps/iotech-c-utils-1.1.4/include/iot/base64.h deps/iotech-c-utils-1.1.4/include/iot/component.h deps/iotech-c-utils-1.1.4/include/iot/config.h deps/iotech-c-utils-1.1.4/include/iot/container.h deps/iotech-c-utils-1.1.4/include/iot/data.h deps/iotech-c-utils-1.1.4/include/iot/hash.h deps/iotech-c-utils-1.1.4/include/iot/iot.h deps/iotech-c-utils-1.1.4/include/iot/json.h deps/iotech-c-utils-1.1.4/include/iot/logger.h deps/iotech-c-utils-1.1.4/include/iot/os.h deps/iotech-c-utils-1.1.4/include/iot/scheduler.h deps/iotech-c-utils-1.1.4/include/iot/thread.h deps/iotech-c-utils-1.1.4/include/iot/threadpool.h deps/iotech-c-utils-1.1.4/include/iot/time.h deps/iotech-c-utils-1.1.4/include/iot/typecode.h include/iot 17:21:04 + mkdir -p include/iot/os 17:21:04 + cp deps/iotech-c-utils-1.1.4/include/iot/os/linux.h deps/iotech-c-utils-1.1.4/include/iot/os/macos.h deps/iotech-c-utils-1.1.4/include/iot/os/zephyr.h include/iot/os 17:21:04 + mkdir -p /tmp/sdk/build/release 17:21:04 + cd /tmp/sdk/build/release 17:21:04 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 17:21:05 [ 87%] Built target device-gyro 17:21:05 Scanning dependencies of target device-bitfields 17:21:05 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 17:21:05 [ 90%] Linking C executable device-bitfields 17:21:05 [ 90%] Built target device-bitfields 17:21:05 Scanning dependencies of target template-discovery 17:21:05 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 17:21:05 -- The C compiler identification is GNU 8.3.0 17:21:05 -- Check for working C compiler: /usr/bin/cc 17:21:05 [ 93%] Linking C executable template-discovery 17:21:05 [ 93%] Built target template-discovery 17:21:05 Scanning dependencies of target device-file 17:21:05 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 17:21:05 [ 96%] Linking C executable device-file 17:21:05 [ 96%] Built target device-file 17:21:05 Scanning dependencies of target device-terminal 17:21:05 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 17:21:05 -- Check for working C compiler: /usr/bin/cc -- works 17:21:05 -- Detecting C compiler ABI info 17:21:05 [100%] Linking C executable device-terminal 17:21:05 [100%] Built target device-terminal 17:21:05 make: Entering directory '/tmp/sdk/build/release' 17:21:05 make[1]: Entering directory '/tmp/sdk/build/release' 17:21:05 make[2]: Entering directory '/tmp/sdk/build/release' 17:21:05 make[2]: Leaving directory '/tmp/sdk/build/release' 17:21:05 [ 74%] Built target csdk 17:21:05 make[2]: Entering directory '/tmp/sdk/build/release' 17:21:05 make[2]: Leaving directory '/tmp/sdk/build/release' 17:21:05 [ 77%] Built target template 17:21:05 make[2]: Entering directory '/tmp/sdk/build/release' 17:21:05 make[2]: Leaving directory '/tmp/sdk/build/release' 17:21:05 [ 80%] Built target device-counter 17:21:05 make[2]: Entering directory '/tmp/sdk/build/release' 17:21:05 make[2]: Leaving directory '/tmp/sdk/build/release' 17:21:05 [ 84%] Built target device-random 17:21:05 make[2]: Entering directory '/tmp/sdk/build/release' 17:21:05 make[2]: Leaving directory '/tmp/sdk/build/release' 17:21:05 [ 87%] Built target device-gyro 17:21:05 make[2]: Entering directory '/tmp/sdk/build/release' 17:21:05 make[2]: Leaving directory '/tmp/sdk/build/release' 17:21:05 -- Detecting C compiler ABI info - done 17:21:05 -- Detecting C compile features 17:21:05 [ 90%] Built target device-bitfields 17:21:05 make[2]: Entering directory '/tmp/sdk/build/release' 17:21:05 make[2]: Leaving directory '/tmp/sdk/build/release' 17:21:05 [ 93%] Built target template-discovery 17:21:05 make[2]: Entering directory '/tmp/sdk/build/release' 17:21:05 make[2]: Leaving directory '/tmp/sdk/build/release' 17:21:05 [ 96%] Built target device-file 17:21:05 make[2]: Entering directory '/tmp/sdk/build/release' 17:21:05 make[2]: Leaving directory '/tmp/sdk/build/release' 17:21:05 [100%] Built target device-terminal 17:21:05 make[1]: Leaving directory '/tmp/sdk/build/release' 17:21:05 Install the project... 17:21:05 -- Install configuration: "Release" 17:21:05 -- Installing: /usr/local/lib/libcsdk.so 17:21:05 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 17:21:05 -- Up-to-date: /usr/local/include 17:21:05 -- Installing: /usr/local/include/devsdk 17:21:05 -- Installing: /usr/local/include/devsdk/devsdk-base.h 17:21:05 -- Installing: /usr/local/include/devsdk/devsdk.h 17:21:05 -- Installing: /usr/local/include/edgex 17:21:05 -- Installing: /usr/local/include/edgex/devices.h 17:21:05 -- Installing: /usr/local/include/edgex/edgex-base.h 17:21:05 -- Installing: /usr/local/include/edgex/edgex.h 17:21:05 -- Installing: /usr/local/include/edgex/profiles.h 17:21:05 -- Installing: /usr/local/include/edgex/rest-server.h 17:21:05 -- Installing: /usr/local/include/edgex/csdk-defs.h 17:21:05 -- Installing: /usr/local/include/iot 17:21:05 -- Installing: /usr/local/include/iot/base64.h 17:21:05 -- Installing: /usr/local/include/iot/component.h 17:21:05 -- Installing: /usr/local/include/iot/config.h 17:21:05 -- Installing: /usr/local/include/iot/container.h 17:21:05 -- Installing: /usr/local/include/iot/data.h 17:21:05 -- Installing: /usr/local/include/iot/hash.h 17:21:05 -- Installing: /usr/local/include/iot/iot.h 17:21:05 -- Installing: /usr/local/include/iot/json.h 17:21:05 -- Installing: /usr/local/include/iot/logger.h 17:21:05 -- Installing: /usr/local/include/iot/os.h 17:21:05 -- Installing: /usr/local/include/iot/scheduler.h 17:21:05 -- Installing: /usr/local/include/iot/thread.h 17:21:05 -- Installing: /usr/local/include/iot/threadpool.h 17:21:05 -- Installing: /usr/local/include/iot/time.h 17:21:05 -- Installing: /usr/local/include/iot/typecode.h 17:21:05 -- Installing: /usr/local/include/iot/os 17:21:05 -- Installing: /usr/local/include/iot/os/linux.h 17:21:05 -- Installing: /usr/local/include/iot/os/macos.h 17:21:05 -- Installing: /usr/local/include/iot/os/zephyr.h 17:21:05 -- Installing: /usr/local/include/iot/defs.h 17:21:05 -- Installing: /usr/local/share/device-sdk-c/LICENSE 17:21:05 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 17:21:05 make: Leaving directory '/tmp/sdk/build/release' 17:21:06 -- Detecting C compile features - done 17:21:06 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 17:21:06 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 17:21:06 -- Found LIBYAML: /usr/lib/libyaml.so 17:21:06 -- Found LIBUUID: /usr/lib/libuuid.so 17:21:06 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 17:21:06 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 17:21:06 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 17:21:06 -- C SDK 0.0.0 for Linux 17:21:06 -- Performing Test CSDK_HAVE_ATOMIC 17:21:07 -- Performing Test CSDK_HAVE_ATOMIC - Success 17:21:07 -- Found Curses: /usr/lib/libcurses.so 17:21:07 -- Configuring done 17:21:07 -- Generating done 17:21:07 -- Build files have been written to: /tmp/sdk/build/release 17:21:07 + make all package 17:21:07 + tee release.log 17:21:07 Scanning dependencies of target csdk 17:21:07 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 17:21:07 Removing intermediate container 63668aaff78f 17:21:07 ---> ea9bf0f621ff 17:21:07 Step 16/25 : FROM ${BASE} 17:21:07 ---> 5eabd8fd8ba2 17:21:07 Step 17/25 : LABEL maintainer="IOTech " 17:21:07 ---> Running in beae198cfb79 17:21:07 Removing intermediate container beae198cfb79 17:21:07 ---> 4c7087073065 17:21:07 Step 18/25 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub 17:21:07 ---> Running in 56a608530dc9 17:21:08 Connecting to iotech.jfrog.io (54.74.239.58:443) 17:21:08 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 17:21:08 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 17:21:08 17:21:08 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 17:21:08 Removing intermediate container 56a608530dc9 17:21:08 ---> 6f80ea9ffc9b 17:21:08 Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 17:21:08 ---> Running in 5adc04d7bce2 17:21:09 Removing intermediate container 5adc04d7bce2 17:21:09 ---> 959f5ca4f2d5 17:21:09 Step 20/25 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid paho-mqtt-c-dev hiredis-dev 17:21:09 ---> Running in 56038130f01e 17:21:10 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 17:21:10 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 17:21:10 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 17:21:11 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 17:21:11 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 17:21:11 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 17:21:11 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 17:21:12 (1/6) Installing curl (7.64.0-r5) 17:21:12 (2/6) Installing hiredis (0.14.0-r0) 17:21:12 (3/6) Installing hiredis-dev (0.14.0-r0) 17:21:12 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 17:21:12 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 17:21:12 (4/6) Installing libuuid (2.33-r0) 17:21:12 (5/6) Installing paho-mqtt-c-dev (1.3.5-r0) 17:21:13 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 17:21:13 (6/6) Installing wget (1.20.3-r0) 17:21:13 Executing busybox-1.29.3-r10.trigger 17:21:13 OK: 269 MiB in 81 packages 17:21:14 Removing intermediate container 56038130f01e 17:21:14 ---> ee0831afff6c 17:21:14 Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 17:21:14 ---> f352541275be 17:21:14 Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 17:21:14 ---> b19075ef85ef 17:21:14 Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib 17:21:15 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 17:21:15 ---> 503c57c9cf4c 17:21:15 Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 17:21:15 ---> d45b762e13dc 17:21:15 Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 17:21:15 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 17:21:15 ---> d9ef88608751 17:21:15 Successfully built d9ef88608751 17:21:15 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:21:16 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 17:21:16 + docker inspect -f . ci-base-image-x86_64 17:21:16 . [Pipeline] withDockerContainer 17:21:16 prd-centos7-docker-4c-2g-4729 does not seem to be running inside a container 17:21:16 $ 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 ******** ci-base-image-x86_64 cat 17:21:16 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 17:21:16 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 17:21:16 $ docker top 6f9f229862cb5e39fcd7aa8a1712df1e933ba574724af2a3bdea7bac65de27aa -eo pid,comm [Pipeline] { [Pipeline] sh 17:21:17 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 17:21:17 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 17:21:17 + make test 17:21:17 echo "make test" 17:21:17 make test [Pipeline] } 17:21:17 $ docker stop --time=1 6f9f229862cb5e39fcd7aa8a1712df1e933ba574724af2a3bdea7bac65de27aa 17:21:18 $ docker rm -f 6f9f229862cb5e39fcd7aa8a1712df1e933ba574724af2a3bdea7bac65de27aa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 17:21:19 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 17:21:20 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 17:21:20 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 17:21:20 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 17:21:20 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [Pipeline] sh 17:21:21 + sudo chown -R jenkins:jenkins . 17:21:21 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [Pipeline] sh 17:21:22 + ls -al . 17:21:22 total 160 17:21:22 drwxrwxr-x. 8 jenkins jenkins 260 May 12 17:20 . 17:21:22 drwxrwxr-x. 4 jenkins jenkins 28 May 12 17:20 .. 17:21:22 -rw-rw-r--. 1 jenkins jenkins 3104 May 12 17:20 Attribution.txt 17:21:22 -rw-rw-r--. 1 jenkins jenkins 7200 May 12 17:20 CHANGES 17:21:22 drwxrwxr-x. 2 jenkins jenkins 121 May 12 17:20 docs 17:21:22 -rw-rw-r--. 1 jenkins jenkins 108574 May 12 17:20 Doxyfile 17:21:22 drwxrwxr-x. 8 jenkins jenkins 179 May 12 17:20 .git 17:21:22 drwxrwxr-x. 2 jenkins jenkins 81 May 12 17:20 .github 17:21:22 -rw-rw-r--. 1 jenkins jenkins 176 May 12 17:20 .gitignore 17:21:22 drwxrwxr-x. 4 jenkins jenkins 33 May 12 17:20 include 17:21:22 -rw-rw-r--. 1 jenkins jenkins 784 May 12 17:20 Jenkinsfile 17:21:22 -rw-rw-r--. 1 jenkins jenkins 10174 May 12 17:20 LICENSE 17:21:22 -rw-rw-r--. 1 jenkins jenkins 444 May 12 17:20 Makefile 17:21:22 -rw-rw-r--. 1 jenkins jenkins 4090 May 12 17:20 README.md 17:21:22 -rw-rw-r--. 1 jenkins jenkins 6654 May 12 17:20 README.v2.md 17:21:22 drwxrwxr-x. 2 jenkins jenkins 98 May 12 17:20 scripts 17:21:22 drwxrwxr-x. 4 jenkins jenkins 50 May 12 17:20 src 17:21:22 -rw-rw-r--. 1 jenkins jenkins 5 May 12 17:17 VERSION [Pipeline] isUnix [Pipeline] sh 17:21:22 + 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=e84e37becc814ab4619c544ede91496034644436 --label arch=amd64 --label version=0.0.0 . 17:21:22 Sending build context to Docker daemon 2.568MB 17:21:22 Step 1/17 : ARG BASE=alpine:3.12 17:21:22 Step 2/17 : FROM ${BASE} 17:21:22 ---> d9ef88608751 17:21:22 Step 3/17 : LABEL maintainer="IOTech " 17:21:23 ---> Running in fc3821537fd3 17:21:23 Removing intermediate container fc3821537fd3 17:21:23 ---> 29a47052030e 17:21:23 Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub 17:21:23 ---> Running in b98bd052353b 17:21:24 --2021-05-12 17:21:24-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub 17:21:24 Resolving iotech.jfrog.io... 54.229.110.245, 54.74.239.58, 34.243.182.113 17:21:24 Connecting to iotech.jfrog.io|54.229.110.245|:443... connected. 17:21:24 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 17:21:24 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 17:21:24 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 17:21:24 HTTP request sent, awaiting response... 200 OK 17:21:24 Length: 451 [application/octet-stream] 17:21:24 Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 17:21:24 17:21:24 0K 100% 63.8M=0s 17:21:24 17:21:24 2021-05-12 17:21:24 (63.8 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] 17:21:24 17:21:25 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 17:21:25 Removing intermediate container b98bd052353b 17:21:25 ---> 60584bfb1849 17:21:25 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 17:21:25 ---> Running in d3bb2c3d1eb5 17:21:25 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 17:21:25 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 17:21:25 Removing intermediate container d3bb2c3d1eb5 17:21:25 ---> ccd7a5cae993 17:21:25 Step 6/17 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev hiredis-dev && mkdir -p /edgex-c-sdk/build 17:21:25 ---> Running in d2e615fe4ce7 17:21:26 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 17:21:26 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 17:21:26 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 17:21:26 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 17:21:27 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 17:21:27 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 17:21:27 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 17:21:28 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 17:21:28 (2/6) Installing libblkid (2.33-r0) 17:21:28 (3/6) Installing libfdisk (2.33-r0) 17:21:28 (4/6) Installing libmount (2.33-r0) 17:21:28 (5/6) Installing libsmartcols (2.33-r0) 17:21:28 (6/6) Installing util-linux-dev (2.33-r0) 17:21:28 Executing busybox-1.29.3-r10.trigger 17:21:28 OK: 273 MiB in 87 packages 17:21:29 Removing intermediate container d2e615fe4ce7 17:21:29 ---> 0753d58ad1ef 17:21:29 Step 7/17 : COPY VERSION /edgex-c-sdk/ 17:21:29 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 17:21:29 ---> 15a4548d2e53 17:21:29 Step 8/17 : COPY src /edgex-c-sdk/src/ 17:21:29 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 17:21:30 ---> 87d15b8b981d 17:21:30 Step 9/17 : COPY include /edgex-c-sdk/include/ 17:21:30 ---> 6def1decef91 17:21:30 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 17:21:30 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 17:21:30 ---> 4352e15050fc 17:21:30 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 17:21:31 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 17:21:31 ---> 78c5e0fa4356 17:21:31 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 17:21:31 ---> 646303f54780 17:21:31 Step 13/17 : WORKDIR /edgex-c-sdk 17:21:31 ---> Running in 95af45e80fd2 17:21:31 Removing intermediate container 95af45e80fd2 17:21:31 ---> 07c92fe88435 17:21:31 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 17:21:31 ---> Running in 399e2a5a6106 17:21:31 Removing intermediate container 399e2a5a6106 17:21:31 ---> e6ad635a4758 17:21:31 Step 15/17 : LABEL arch=amd64 17:21:31 ---> Running in bc5084df54a1 17:21:31 Removing intermediate container bc5084df54a1 17:21:31 ---> 72c3fc65cd99 17:21:31 Step 16/17 : LABEL git_sha=e84e37becc814ab4619c544ede91496034644436 17:21:31 ---> Running in 518589fdb14b 17:21:32 Removing intermediate container 518589fdb14b 17:21:32 ---> 8e0d160e5d05 17:21:32 Step 17/17 : LABEL version=0.0.0 17:21:32 ---> Running in fa587a0e9b0f 17:21:32 Removing intermediate container fa587a0e9b0f 17:21:32 ---> a7a425db4f79 17:21:32 [Warning] One or more build-args [ARCH MAKE] were not consumed 17:21:32 Successfully built a7a425db4f79 17:21:32 Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 17:21:35 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 17:21:35 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 17:21:35 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 17:21:36 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 17:21:36 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 17:21:38 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 17:21:40 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 17:21:43 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 17:21:43 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 17:21:44 [ 74%] Linking C shared library libcsdk.so 17:21:44 [ 74%] Built target csdk 17:21:44 Scanning dependencies of target template 17:21:44 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 17:21:45 [ 77%] Linking C executable template 17:21:45 [ 77%] Built target template 17:21:45 Scanning dependencies of target device-counter 17:21:45 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 17:21:45 [ 80%] Linking C executable device-counter 17:21:46 [ 80%] Built target device-counter 17:21:46 Scanning dependencies of target device-random 17:21:46 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 17:21:46 [ 84%] Linking C executable device-random 17:21:46 [ 84%] Built target device-random 17:21:46 Scanning dependencies of target device-gyro 17:21:46 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 17:21:47 [ 87%] Linking C executable device-gyro 17:21:47 [ 87%] Built target device-gyro 17:21:47 Scanning dependencies of target device-bitfields 17:21:47 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 17:21:47 [ 90%] Linking C executable device-bitfields 17:21:48 [ 90%] Built target device-bitfields 17:21:48 Scanning dependencies of target template-discovery 17:21:48 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 17:21:48 [ 93%] Linking C executable template-discovery 17:21:48 [ 93%] Built target template-discovery 17:21:48 Scanning dependencies of target device-file 17:21:48 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 17:21:49 [ 96%] Linking C executable device-file 17:21:49 [ 96%] Built target device-file 17:21:49 Scanning dependencies of target device-terminal 17:21:49 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 17:21:50 [100%] Linking C executable device-terminal 17:21:50 [100%] Built target device-terminal 17:21:50 Run CPack packaging tool... 17:21:50 CPack: Create package using TGZ 17:21:50 CPack: Install projects 17:21:50 CPack: - Run preinstall target for: Csdk 17:21:51 CPack: - Install project: Csdk 17:21:51 CPack: Create package 17:21:51 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 17:21:51 + '[' false '=' true ] 17:21:51 + '[' false '=' true ] 17:21:51 + mkdir -p /tmp/sdk/build/debug 17:21:51 + cd /tmp/sdk/build/debug 17:21:51 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 17:21:51 -- The C compiler identification is GNU 8.3.0 17:21:51 -- Check for working C compiler: /usr/bin/cc 17:21:51 -- Check for working C compiler: /usr/bin/cc -- works 17:21:51 -- Detecting C compiler ABI info 17:21:52 -- Detecting C compiler ABI info - done 17:21:52 -- Detecting C compile features 17:21:53 -- Detecting C compile features - done 17:21:53 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 17:21:53 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 17:21:53 -- Found LIBYAML: /usr/lib/libyaml.so 17:21:53 -- Found LIBUUID: /usr/lib/libuuid.so 17:21:53 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 17:21:53 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 17:21:53 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 17:21:53 -- C SDK 0.0.0 for Linux 17:21:53 -- Performing Test CSDK_HAVE_ATOMIC 17:21:53 -- Performing Test CSDK_HAVE_ATOMIC - Success 17:21:53 -- Found Curses: /usr/lib/libcurses.so 17:21:53 -- Configuring done 17:21:53 -- Generating done 17:21:53 -- Build files have been written to: /tmp/sdk/build/debug 17:21:53 + make 17:21:53 + tee debug.log 17:21:53 Scanning dependencies of target csdk 17:21:53 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 17:21:54 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 17:21:54 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 17:21:55 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 17:21:55 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 17:21:55 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 17:21:55 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 17:21:56 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 17:21:56 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 17:21:56 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 17:21:57 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 17:21:57 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 17:21:57 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 17:21:57 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 17:21:58 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 17:21:58 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 17:21:58 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 17:21:59 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 17:21:59 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 17:21:59 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 17:21:59 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 17:22:00 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 17:22:00 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 17:22:01 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 17:22:01 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 17:22:01 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 17:22:01 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 17:22:01 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 17:22:02 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 17:22:02 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 17:22:02 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 17:22:03 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 17:22:03 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 17:22:03 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 17:22:03 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 17:22:04 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 17:22:04 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 17:22:05 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 17:22:05 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 17:22:05 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 17:22:06 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 17:22:06 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 17:22:07 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 17:22:07 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 17:22:08 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 17:22:08 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 17:22:09 [ 74%] Linking C shared library libcsdk.so 17:22:09 [ 74%] Built target csdk 17:22:09 Scanning dependencies of target template 17:22:09 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 17:22:09 [ 77%] Linking C executable template 17:22:09 [ 77%] Built target template 17:22:09 Scanning dependencies of target device-counter 17:22:09 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 17:22:10 [ 80%] Linking C executable device-counter 17:22:10 [ 80%] Built target device-counter 17:22:10 Scanning dependencies of target device-random 17:22:10 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 17:22:10 [ 84%] Linking C executable device-random 17:22:10 [ 84%] Built target device-random 17:22:10 Scanning dependencies of target device-gyro 17:22:10 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 17:22:10 [ 87%] Linking C executable device-gyro 17:22:11 [ 87%] Built target device-gyro 17:22:11 Scanning dependencies of target device-bitfields 17:22:11 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 17:22:11 [ 90%] Linking C executable device-bitfields 17:22:11 [ 90%] Built target device-bitfields 17:22:11 Scanning dependencies of target template-discovery 17:22:11 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 17:22:12 [ 93%] Linking C executable template-discovery 17:22:12 [ 93%] Built target template-discovery 17:22:12 Scanning dependencies of target device-file 17:22:12 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 17:22:12 [ 96%] Linking C executable device-file 17:22:12 [ 96%] Built target device-file 17:22:12 Scanning dependencies of target device-terminal 17:22:12 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 17:22:13 [100%] Linking C executable device-terminal 17:22:13 [100%] Built target device-terminal 17:22:13 make: Entering directory '/tmp/sdk/build/release' 17:22:13 make[1]: Entering directory '/tmp/sdk/build/release' 17:22:13 make[2]: Entering directory '/tmp/sdk/build/release' 17:22:13 make[2]: Leaving directory '/tmp/sdk/build/release' 17:22:13 [ 74%] Built target csdk 17:22:13 make[2]: Entering directory '/tmp/sdk/build/release' 17:22:13 make[2]: Leaving directory '/tmp/sdk/build/release' 17:22:13 [ 77%] Built target template 17:22:13 make[2]: Entering directory '/tmp/sdk/build/release' 17:22:13 make[2]: Leaving directory '/tmp/sdk/build/release' 17:22:13 [ 80%] Built target device-counter 17:22:13 make[2]: Entering directory '/tmp/sdk/build/release' 17:22:13 make[2]: Leaving directory '/tmp/sdk/build/release' 17:22:13 [ 84%] Built target device-random 17:22:13 make[2]: Entering directory '/tmp/sdk/build/release' 17:22:13 make[2]: Leaving directory '/tmp/sdk/build/release' 17:22:13 [ 87%] Built target device-gyro 17:22:13 make[2]: Entering directory '/tmp/sdk/build/release' 17:22:13 make[2]: Leaving directory '/tmp/sdk/build/release' 17:22:13 [ 90%] Built target device-bitfields 17:22:13 make[2]: Entering directory '/tmp/sdk/build/release' 17:22:13 make[2]: Leaving directory '/tmp/sdk/build/release' 17:22:13 [ 93%] Built target template-discovery 17:22:13 make[2]: Entering directory '/tmp/sdk/build/release' 17:22:13 make[2]: Leaving directory '/tmp/sdk/build/release' 17:22:13 [ 96%] Built target device-file 17:22:13 make[2]: Entering directory '/tmp/sdk/build/release' 17:22:13 make[2]: Leaving directory '/tmp/sdk/build/release' 17:22:13 [100%] Built target device-terminal 17:22:13 make[1]: Leaving directory '/tmp/sdk/build/release' 17:22:13 Install the project... 17:22:13 -- Install configuration: "Release" 17:22:13 -- Installing: /usr/local/lib/libcsdk.so 17:22:13 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 17:22:13 -- Up-to-date: /usr/local/include 17:22:13 -- Installing: /usr/local/include/edgex 17:22:13 -- Installing: /usr/local/include/edgex/rest-server.h 17:22:13 -- Installing: /usr/local/include/edgex/edgex-base.h 17:22:13 -- Installing: /usr/local/include/edgex/edgex.h 17:22:13 -- Installing: /usr/local/include/edgex/devices.h 17:22:13 -- Installing: /usr/local/include/edgex/profiles.h 17:22:13 -- Installing: /usr/local/include/edgex/csdk-defs.h 17:22:13 -- Installing: /usr/local/include/devsdk 17:22:13 -- Installing: /usr/local/include/devsdk/devsdk-base.h 17:22:13 -- Installing: /usr/local/include/devsdk/devsdk.h 17:22:13 -- Installing: /usr/local/include/iot 17:22:13 -- Installing: /usr/local/include/iot/json.h 17:22:13 -- Installing: /usr/local/include/iot/container.h 17:22:13 -- Installing: /usr/local/include/iot/component.h 17:22:13 -- Installing: /usr/local/include/iot/typecode.h 17:22:13 -- Installing: /usr/local/include/iot/iot.h 17:22:13 -- Installing: /usr/local/include/iot/time.h 17:22:13 -- Installing: /usr/local/include/iot/hash.h 17:22:13 -- Installing: /usr/local/include/iot/logger.h 17:22:13 -- Installing: /usr/local/include/iot/os 17:22:13 -- Installing: /usr/local/include/iot/os/zephyr.h 17:22:13 -- Installing: /usr/local/include/iot/os/linux.h 17:22:13 -- Installing: /usr/local/include/iot/os/macos.h 17:22:13 -- Installing: /usr/local/include/iot/scheduler.h 17:22:13 -- Installing: /usr/local/include/iot/data.h 17:22:13 -- Installing: /usr/local/include/iot/thread.h 17:22:13 -- Installing: /usr/local/include/iot/os.h 17:22:13 -- Installing: /usr/local/include/iot/base64.h 17:22:13 -- Installing: /usr/local/include/iot/defs.h 17:22:13 -- Installing: /usr/local/include/iot/threadpool.h 17:22:13 -- Installing: /usr/local/include/iot/config.h 17:22:13 -- Installing: /usr/local/share/device-sdk-c/LICENSE 17:22:13 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 17:22:13 make: Leaving directory '/tmp/sdk/build/release' 17:22:15 Removing intermediate container aff88086855b 17:22:15 ---> a7770ac09dfd 17:22:15 Step 16/25 : FROM ${BASE} 17:22:15 ---> b23d30803547 17:22:15 Step 17/25 : LABEL maintainer="IOTech " 17:22:16 ---> Running in 0a390f8edd72 17:22:16 Removing intermediate container 0a390f8edd72 17:22:16 ---> dddb41ca9fef 17:22:16 Step 18/25 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub 17:22:16 ---> Running in a39e2d3c989e 17:22:17 Connecting to iotech.jfrog.io (54.229.110.245:443) 17:22:18 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 17:22:18 17:22:19 Removing intermediate container a39e2d3c989e 17:22:19 ---> 6b091d414fa7 17:22:19 Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 17:22:19 ---> Running in 70c8858a194c 17:22:21 Removing intermediate container 70c8858a194c 17:22:21 ---> e0e7ba763281 17:22:21 Step 20/25 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid paho-mqtt-c-dev hiredis-dev 17:22:21 ---> Running in 6cb7d549a97f 17:22:22 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 17:22:23 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 17:22:23 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 17:22:24 (1/6) Installing curl (7.64.0-r5) 17:22:24 (2/6) Installing hiredis (0.14.0-r0) 17:22:24 (3/6) Installing hiredis-dev (0.14.0-r0) 17:22:24 (4/6) Installing libuuid (2.33-r0) 17:22:24 (5/6) Installing paho-mqtt-c-dev (1.3.5-r0) 17:22:26 (6/6) Installing wget (1.20.3-r0) 17:22:26 Executing busybox-1.29.3-r10.trigger 17:22:26 OK: 283 MiB in 81 packages 17:22:28 Removing intermediate container 6cb7d549a97f 17:22:28 ---> bcf96f426e92 17:22:28 Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 17:22:29 ---> ad5241eee5d5 17:22:29 Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 17:22:30 ---> 94e18e27aa38 17:22:30 Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib 17:22:31 ---> 3e3c2b9440f5 17:22:31 Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 17:22:32 ---> 7567abe0f391 17:22:32 Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 17:22:32 ---> d1144ebb80c7 17:22:32 Successfully built d1144ebb80c7 17:22:32 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:22:33 + docker inspect -f . ci-base-image-arm64 17:22:33 . [Pipeline] withDockerContainer 17:22:33 prd-ubuntu18.04-docker-arm64-4c-16g-4728 does not seem to be running inside a container 17:22:33 $ 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 ******** ci-base-image-arm64 cat 17:22:35 $ docker top 6f87757d976ce40b4b27f58c2f04141d7ac7097f5515c536bb6e0f437bb4ca68 -eo pid,comm [Pipeline] { [Pipeline] sh 17:22:36 + make test 17:22:36 echo "make test" 17:22:36 make test [Pipeline] } 17:22:36 $ docker stop --time=1 6f87757d976ce40b4b27f58c2f04141d7ac7097f5515c536bb6e0f437bb4ca68 17:22:38 $ docker rm -f 6f87757d976ce40b4b27f58c2f04141d7ac7097f5515c536bb6e0f437bb4ca68 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:22:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:22:39 + ls -al . 17:22:39 total 192 17:22:39 drwxrwxr-x 8 jenkins jenkins 4096 May 12 17:19 . 17:22:39 drwxrwxr-x 4 jenkins jenkins 4096 May 12 17:19 .. 17:22:39 drwxrwxr-x 8 jenkins jenkins 4096 May 12 17:19 .git 17:22:39 drwxrwxr-x 2 jenkins jenkins 4096 May 12 17:19 .github 17:22:39 -rw-rw-r-- 1 jenkins jenkins 176 May 12 17:19 .gitignore 17:22:39 -rw-rw-r-- 1 jenkins jenkins 3104 May 12 17:19 Attribution.txt 17:22:39 -rw-rw-r-- 1 jenkins jenkins 7200 May 12 17:19 CHANGES 17:22:39 -rw-rw-r-- 1 jenkins jenkins 108574 May 12 17:19 Doxyfile 17:22:39 -rw-rw-r-- 1 jenkins jenkins 784 May 12 17:19 Jenkinsfile 17:22:39 -rw-rw-r-- 1 jenkins jenkins 10174 May 12 17:19 LICENSE 17:22:39 -rw-rw-r-- 1 jenkins jenkins 444 May 12 17:19 Makefile 17:22:39 -rw-rw-r-- 1 jenkins jenkins 4090 May 12 17:19 README.md 17:22:39 -rw-rw-r-- 1 jenkins jenkins 6654 May 12 17:19 README.v2.md 17:22:39 -rw-rw-r-- 1 jenkins jenkins 5 May 12 17:17 VERSION 17:22:39 drwxrwxr-x 2 jenkins jenkins 4096 May 12 17:19 docs 17:22:39 drwxrwxr-x 4 jenkins jenkins 4096 May 12 17:19 include 17:22:39 drwxrwxr-x 2 jenkins jenkins 4096 May 12 17:19 scripts 17:22:39 drwxrwxr-x 4 jenkins jenkins 4096 May 12 17:19 src [Pipeline] isUnix [Pipeline] sh 17:22:40 + 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=e84e37becc814ab4619c544ede91496034644436 --label arch=arm64 --label version=0.0.0 . 17:22:40 Sending build context to Docker daemon 2.567MB 17:22:40 Step 1/17 : ARG BASE=alpine:3.12 17:22:40 Step 2/17 : FROM ${BASE} 17:22:40 ---> d1144ebb80c7 17:22:40 Step 3/17 : LABEL maintainer="IOTech " 17:22:40 ---> Running in 1d481318321c 17:22:41 Removing intermediate container 1d481318321c 17:22:41 ---> 0f4e774fd20d 17:22:41 Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub 17:22:41 ---> Running in 3f92d0f6a91b 17:22:42 --2021-05-12 17:22:42-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub 17:22:42 Resolving iotech.jfrog.io... 54.74.239.58, 54.229.110.245, 34.243.182.113 17:22:42 Connecting to iotech.jfrog.io|54.74.239.58|:443... connected. 17:22:43 HTTP request sent, awaiting response... 200 OK 17:22:43 Length: 451 [application/octet-stream] 17:22:43 Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 17:22:43 17:22:43 0K 100% 19.9M=0s 17:22:43 17:22:43 2021-05-12 17:22:42 (19.9 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] 17:22:43 17:22:44 Removing intermediate container 3f92d0f6a91b 17:22:44 ---> 5881c8dea7f3 17:22:44 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 17:22:44 ---> Running in 3172ed38b2aa 17:22:46 Removing intermediate container 3172ed38b2aa 17:22:46 ---> e3832fe73961 17:22:46 Step 6/17 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev hiredis-dev && mkdir -p /edgex-c-sdk/build 17:22:46 ---> Running in dce5d3ad9303 17:22:47 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 17:22:48 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 17:22:48 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 17:22:49 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 17:22:49 (2/6) Installing libblkid (2.33-r0) 17:22:49 (3/6) Installing libfdisk (2.33-r0) 17:22:49 (4/6) Installing libmount (2.33-r0) 17:22:49 (5/6) Installing libsmartcols (2.33-r0) 17:22:49 (6/6) Installing util-linux-dev (2.33-r0) 17:22:49 Executing busybox-1.29.3-r10.trigger 17:22:49 OK: 287 MiB in 87 packages 17:22:51 Removing intermediate container dce5d3ad9303 17:22:51 ---> 493a76cf3d9e 17:22:51 Step 7/17 : COPY VERSION /edgex-c-sdk/ 17:22:52 ---> 5c465164a058 17:22:52 Step 8/17 : COPY src /edgex-c-sdk/src/ 17:22:52 ---> 2b9ee155fb1e 17:22:52 Step 9/17 : COPY include /edgex-c-sdk/include/ 17:22:53 ---> f437ecd26e2f 17:22:53 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 17:22:54 ---> 960e658e8771 17:22:54 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 17:22:54 ---> e28248cec99b 17:22:54 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 17:22:55 ---> f330c322c3b8 17:22:55 Step 13/17 : WORKDIR /edgex-c-sdk 17:22:55 ---> Running in b5b0d1e1e39d 17:22:56 Removing intermediate container b5b0d1e1e39d 17:22:56 ---> 01d9037a6fcb 17:22:56 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 17:22:56 ---> Running in a4eb5d55d75b 17:22:56 Removing intermediate container a4eb5d55d75b 17:22:56 ---> 765f0694f59d 17:22:56 Step 15/17 : LABEL arch=arm64 17:22:56 ---> Running in eda054a73a3b 17:22:57 Removing intermediate container eda054a73a3b 17:22:57 ---> 994997da6687 17:22:57 Step 16/17 : LABEL git_sha=e84e37becc814ab4619c544ede91496034644436 17:22:57 ---> Running in dcdfc3371b03 17:22:58 Removing intermediate container dcdfc3371b03 17:22:58 ---> 253b5897ce29 17:22:58 Step 17/17 : LABEL version=0.0.0 17:22:58 ---> Running in b17845c560fa 17:22:58 Removing intermediate container b17845c560fa 17:22:58 ---> 15938a8512bb 17:22:58 [Warning] One or more build-args [ARCH MAKE] were not consumed 17:22:58 Successfully built 15938a8512bb 17:22: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 17:23:00 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:23:01 ---> package-listing.sh 17:23:01 ++ facter osfamily 17:23:01 ++ tr '[:upper:]' '[:lower:]' 17:23:01 + OS_FAMILY=redhat 17:23:01 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-344 17:23:01 + START_PACKAGES=/tmp/packages_start.txt 17:23:01 + END_PACKAGES=/tmp/packages_end.txt 17:23:01 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:23:01 + PACKAGES=/tmp/packages_start.txt 17:23:01 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-344 ']' 17:23:01 + PACKAGES=/tmp/packages_end.txt 17:23:01 + case "${OS_FAMILY}" in 17:23:01 + rpm -qa 17:23:01 + sort 17:23:07 + '[' -f /tmp/packages_start.txt ']' 17:23:07 + '[' -f /tmp/packages_end.txt ']' 17:23:07 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:23:07 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-344 ']' 17:23:07 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-344/archives/ 17:23:07 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-344/archives/ [Pipeline] echo 17:23:07 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-344/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:23:07 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 17:23:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:23:08 17:23:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 17:23:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:23:08 alpine: Pulling from edgex-lftools-log-publisher 17:23:08 df20fa9351a1: Pulling fs layer 17:23:08 36b3adc4ff6f: Pulling fs layer 17:23:08 8ad3a11d3b57: Pulling fs layer 17:23:08 46f8f816bc3b: Pulling fs layer 17:23:08 93b61091891f: Pulling fs layer 17:23:08 93b9cdb0e59b: Pulling fs layer 17:23:08 5e14af77c1be: Pulling fs layer 17:23:08 01666e4c0597: Pulling fs layer 17:23:08 aa168da1d23b: Pulling fs layer 17:23:08 5e14af77c1be: Waiting 17:23:08 46f8f816bc3b: Waiting 17:23:08 93b9cdb0e59b: Waiting 17:23:08 93b61091891f: Waiting 17:23:08 aa168da1d23b: Waiting 17:23:08 01666e4c0597: Waiting 17:23:08 36b3adc4ff6f: Verifying Checksum 17:23:08 36b3adc4ff6f: Download complete 17:23:08 46f8f816bc3b: Verifying Checksum 17:23:08 46f8f816bc3b: Download complete 17:23:08 df20fa9351a1: Verifying Checksum 17:23:08 93b9cdb0e59b: Verifying Checksum 17:23:08 93b9cdb0e59b: Download complete 17:23:08 5e14af77c1be: Verifying Checksum 17:23:08 5e14af77c1be: Download complete 17:23:08 93b61091891f: Verifying Checksum 17:23:08 93b61091891f: Download complete 17:23:08 01666e4c0597: Verifying Checksum 17:23:08 01666e4c0597: Download complete 17:23:09 8ad3a11d3b57: Download complete 17:23:09 df20fa9351a1: Pull complete 17:23:09 36b3adc4ff6f: Pull complete 17:23:10 8ad3a11d3b57: Pull complete 17:23:10 46f8f816bc3b: Pull complete 17:23:10 93b61091891f: Pull complete 17:23:11 93b9cdb0e59b: Pull complete 17:23:11 5e14af77c1be: Pull complete 17:23:11 aa168da1d23b: Verifying Checksum 17:23:11 aa168da1d23b: Download complete 17:23:11 01666e4c0597: Pull complete 17:23:19 aa168da1d23b: Pull complete 17:23:19 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 17:23:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:23:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 17:23:19 prd-centos7-docker-4c-2g-4727 does not seem to be running inside a container 17:23:20 $ 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-344/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-344 -v /w/workspace/edgexfoundry_device-sdk-c_PR-344:/w/workspace/edgexfoundry_device-sdk-c_PR-344:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-344@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-344@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:10003/edgex-lftools-log-publisher:alpine cat 17:23:22 $ docker top 852c46b62a35ef3be032c41c68a0f195eefc2af208d2155aaf8c3e5390a02c0e -eo pid,comm [Pipeline] { [Pipeline] sh 17:23:23 + touch /tmp/pre-build-complete [Pipeline] sh 17:23:23 + mkdir -p /var/log/sa [Pipeline] sh 17:23:24 + ls /var/log/sa-host 17:23:24 + sadf -c /var/log/sa-host/sa12 17:23:24 file_magic: OK 17:23:24 HZ: Using current value: 100 17:23:24 file_header: OK 17:23:24 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 17:23:24 Statistics: 17:23:24 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 17:23:24 File successfully converted to sysstat format version 12.2.1 17:23:24 + sadf -c /var/log/sa-host/sa23 17:23:24 file_magic: OK 17:23:24 HZ: Using current value: 100 17:23:24 file_header: OK 17:23:24 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 17:23:24 Statistics: 17:23:24 Hnuu...uuuununununu... 17:23:24 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:23:24 provisioning config files... 17:23:24 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-344@tmp/config7395346942957743989tmp [Pipeline] { [Pipeline] echo 17:23:25 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:23:25 ---> create-netrc.sh [Pipeline] } 17:23:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 17:23:25 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 17:23:26 ---> python-tools-install.sh [Pipeline] echo 17:23:26 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:23:26 ---> sudo-logs.sh 17:23:26 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:23:26 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:23:27 ---> job-cost.sh 17:23:27 lf-activate-venv: SKIPPING 17:23:27 INFO: No Stack... 17:23:28 INFO: Retrieving Pricing Info for: v1-standard-2 17:23:29 INFO: Archiving Costs [Pipeline] echo 17:23:29 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:23:29 ---> logs-deploy.sh 17:23:29 lf-activate-venv: SKIPPING 17:23:29 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-344/1 17:23:29 INFO: archiving workspace using pattern(s): 17:23:32 Archives upload complete. 17:23:32 INFO: archiving logs to Nexus 17:23:33 ---> uname -a: 17:23:33 Linux prd-centos7-docker-4c-2g-4727.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 17:23:33 17:23:33 17:23:33 ---> lscpu: 17:23:33 Architecture: x86_64 17:23:33 CPU op-mode(s): 32-bit, 64-bit 17:23:33 Byte Order: Little Endian 17:23:33 Address sizes: 40 bits physical, 48 bits virtual 17:23:33 CPU(s): 4 17:23:33 On-line CPU(s) list: 0-3 17:23:33 Thread(s) per core: 1 17:23:33 Core(s) per socket: 1 17:23:33 Socket(s): 4 17:23:33 NUMA node(s): 1 17:23:33 Vendor ID: GenuineIntel 17:23:33 CPU family: 6 17:23:33 Model: 44 17:23:33 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 17:23:33 Stepping: 1 17:23:33 CPU MHz: 2933.436 17:23:33 BogoMIPS: 5866.87 17:23:33 Virtualization: VT-x 17:23:33 Hypervisor vendor: KVM 17:23:33 Virtualization type: full 17:23:33 L1d cache: 128 KiB 17:23:33 L1i cache: 128 KiB 17:23:33 L2 cache: 16 MiB 17:23:33 L3 cache: 64 MiB 17:23:33 NUMA node0 CPU(s): 0-3 17:23:33 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 17:23:33 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 17:23:33 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 17:23:33 Vulnerability Meltdown: Mitigation; PTI 17:23:33 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 17:23:33 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 17:23:33 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 17:23:33 Vulnerability Srbds: Not affected 17:23:33 Vulnerability Tsx async abort: Not affected 17:23:33 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 17:23:33 17:23:33 17:23:33 ---> nproc: 17:23:33 4 17:23:33 17:23:33 17:23:33 ---> df -h: 17:23:33 Filesystem Size Used Available Use% Mounted on 17:23:33 overlay 50.0G 7.3G 42.7G 15% / 17:23:33 tmpfs 64.0M 0 64.0M 0% /dev 17:23:33 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 17:23:33 shm 64.0M 0 64.0M 0% /dev/shm 17:23:33 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 17:23:33 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 17:23:33 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 17:23:33 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 17:23:33 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 17:23:33 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 17:23:33 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 17:23:33 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 17:23:33 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/edgexfoundry_device-sdk-c_PR-344 17:23:33 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/edgexfoundry_device-sdk-c_PR-344@tmp 17:23:33 17:23:33 17:23:33 ---> free -m: 17:23:33 total used free shared buff/cache available 17:23:33 Mem: 1837 725 101 0 1010 1006 17:23:33 Swap: 1023 1 1022 17:23:33 17:23:33 17:23:33 ---> ip addr: 17:23:33 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 17:23:33 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 17:23:33 inet 127.0.0.1/8 scope host lo 17:23:33 valid_lft forever preferred_lft forever 17:23:33 inet6 ::1/128 scope host 17:23:33 valid_lft forever preferred_lft forever 17:23:33 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 17:23:33 link/ether fa:16:3e:39:86:e8 brd ff:ff:ff:ff:ff:ff 17:23:33 inet 10.30.122.11/23 brd 10.30.123.255 scope global dynamic eth0 17:23:33 valid_lft 85965sec preferred_lft 85965sec 17:23:33 inet6 fe80::f816:3eff:fe39:86e8/64 scope link 17:23:33 valid_lft forever preferred_lft forever 17:23:33 3: docker0: mtu 1500 qdisc noqueue state DOWN 17:23:33 link/ether 02:42:ca:c2:05:58 brd ff:ff:ff:ff:ff:ff 17:23:33 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 17:23:33 valid_lft forever preferred_lft forever 17:23:33 inet6 fe80::42:caff:fec2:558/64 scope link 17:23:33 valid_lft forever preferred_lft forever 17:23:33 17:23:33 17:23:33 ---> sar -b -r -n DEV: 17:23:33 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 05/12/21 _x86_64_ (4 CPU) 17:23:33 17:23:33 17:16:06 LINUX RESTART (4 CPU) 17:23:33 17:23:33 17:17:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 17:23:33 17:18:01 47.45 11.92 35.53 0.00 4461.95 2945.30 0.00 17:23:33 17:19:01 1.40 0.00 1.40 0.00 0.00 21.92 0.00 17:23:33 17:20:01 0.28 0.00 0.28 0.00 0.00 4.33 0.00 17:23:33 17:21:01 0.18 0.00 0.18 0.00 0.00 2.01 0.00 17:23:33 17:22:01 0.23 0.00 0.23 0.00 0.00 3.65 0.00 17:23:33 17:23:01 1.22 0.90 0.32 0.00 176.96 3.93 0.00 17:23:33 Average: 8.36 2.11 6.25 0.00 763.51 490.45 0.00 17:23:33 17:23:33 17:17:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 17:23:33 17:18:01 142772 0 606240 32.22 2620 1129912 1133872 38.70 427156 1111544 8 17:23:33 17:19:01 150272 0 598728 31.82 2620 1129924 1081000 36.89 427212 1105588 8 17:23:33 17:20:01 142600 0 606396 32.23 2620 1129928 1081340 36.90 440748 1099856 8 17:23:33 17:21:01 138748 0 610248 32.43 2620 1129928 1081424 36.91 444852 1099340 8 17:23:33 17:22:01 140700 0 608288 32.33 2620 1129936 1081136 36.90 441884 1100740 12 17:23:33 17:23:01 128616 0 615092 32.69 2620 1135216 1097656 37.46 447720 1105984 76 17:23:33 Average: 140618 0 607499 32.29 2620 1130807 1092738 37.29 438262 1103842 20 17:23:33 17:23:33 17:17:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 17:23:33 17:18:01 eth0 111.52 84.98 477.49 26.15 0.00 0.00 0.00 0.00 17:23:33 17:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:23:33 17:18:01 docker0 8.27 6.76 1.01 24.34 0.00 0.00 0.00 0.00 17:23:33 17:19:01 eth0 0.78 0.10 0.06 0.04 0.00 0.00 0.00 0.00 17:23:33 17:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:23:33 17:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:23:33 17:20:01 eth0 4.16 2.08 3.31 0.32 0.00 0.00 0.00 0.00 17:23:33 17:20:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:23:33 17:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:23:33 17:21:01 eth0 0.33 0.33 0.26 0.20 0.00 0.00 0.00 0.00 17:23:33 17:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:23:33 17:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:23:33 17:22:01 eth0 0.27 0.17 0.14 0.07 0.00 0.00 0.00 0.00 17:23:33 17:22:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:23:33 17:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:23:33 17:23:01 eth0 3.43 2.20 3.38 1.11 0.00 0.00 0.00 0.00 17:23:33 17:23:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:23:33 17:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:23:33 Average: eth0 19.84 14.79 79.74 4.59 0.00 0.00 0.00 0.00 17:23:33 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:23:33 Average: docker0 1.36 1.11 0.17 4.00 0.00 0.00 0.00 0.00 17:23:33 17:23:33 17:23:33 ---> sar -P ALL: 17:23:33 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 05/12/21 _x86_64_ (4 CPU) 17:23:33 17:23:33 17:16:06 LINUX RESTART (4 CPU) 17:23:33 17:23:33 17:17:02 CPU %user %nice %system %iowait %steal %idle 17:23:33 17:18:01 all 3.81 0.00 2.76 1.16 3.12 89.15 17:23:33 17:18:01 0 3.69 0.00 3.37 0.71 2.72 89.51 17:23:33 17:18:01 1 3.71 0.00 2.55 2.17 3.34 88.22 17:23:33 17:18:01 2 4.06 0.00 2.39 0.27 3.32 89.96 17:23:33 17:18:01 3 3.77 0.00 2.74 1.49 3.10 88.90 17:23:33 17:19:01 all 0.15 0.00 0.07 0.00 0.22 99.57 17:23:33 17:19:01 0 0.03 0.00 0.03 0.00 0.15 99.78 17:23:33 17:19:01 1 0.45 0.00 0.07 0.00 0.20 99.28 17:23:33 17:19:01 2 0.05 0.00 0.08 0.00 0.22 99.65 17:23:33 17:19:01 3 0.07 0.00 0.08 0.00 0.30 99.55 17:23:33 17:20:01 all 0.16 0.00 0.16 0.00 0.34 99.34 17:23:33 17:20:01 0 0.05 0.00 0.15 0.00 0.17 99.63 17:23:33 17:20:01 1 0.42 0.00 0.17 0.00 0.45 98.97 17:23:33 17:20:01 2 0.05 0.00 0.17 0.00 0.27 99.52 17:23:33 17:20:01 3 0.12 0.00 0.17 0.00 0.48 99.24 17:23:33 17:21:01 all 0.14 0.00 0.03 0.00 0.19 99.64 17:23:33 17:21:01 0 0.02 0.00 0.00 0.00 0.02 99.97 17:23:33 17:21:01 1 0.47 0.00 0.07 0.00 0.45 99.02 17:23:33 17:21:01 2 0.03 0.00 0.03 0.00 0.20 99.73 17:23:33 17:21:01 3 0.03 0.00 0.03 0.00 0.10 99.83 17:23:33 17:22:01 all 0.16 0.00 0.09 0.00 0.15 99.60 17:23:33 17:22:01 0 0.02 0.00 0.05 0.00 0.02 99.92 17:23:33 17:22:01 1 0.48 0.00 0.08 0.00 0.27 99.17 17:23:33 17:22:01 2 0.05 0.00 0.12 0.00 0.07 99.77 17:23:33 17:22:01 3 0.10 0.00 0.10 0.00 0.23 99.57 17:23:33 17:23:01 all 0.42 0.00 0.15 0.02 0.19 99.23 17:23:33 17:23:01 0 0.35 0.00 0.20 0.05 0.23 99.17 17:23:33 17:23:01 1 0.72 0.00 0.13 0.00 0.15 99.00 17:23:33 17:23:01 2 0.10 0.00 0.07 0.02 0.12 99.70 17:23:33 17:23:01 3 0.50 0.00 0.18 0.00 0.27 99.05 17:23:33 Average: all 0.80 0.00 0.54 0.19 0.70 97.78 17:23:33 Average: 0 0.68 0.00 0.62 0.13 0.54 98.03 17:23:33 Average: 1 1.04 0.00 0.51 0.36 0.81 97.29 17:23:33 Average: 2 0.72 0.00 0.47 0.05 0.69 98.07 17:23:33 Average: 3 0.76 0.00 0.55 0.24 0.74 97.71 17:23:33 17:23:33 17:23:33