Pull request #320 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 21d00fda687168c389444e538d1872970232d4ad+a549a37f32250f0c70aed68e5cdfc8413de8dd00 (ec6a5cd4000e8a144a211ad12c4a74683c4188ad) 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 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-320/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 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > 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 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 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-320/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 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 # timeout=10 Commit message: "Add license check to tox" > 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 69a7e166112f335804d9fea76440e5140e47f034 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: docker-device-sdk-c DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-25966 in /w/workspace/edgexfoundry_device-sdk-c_PR-320 [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-320 # 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 > 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/320/head:refs/remotes/origin/PR-320 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit a549a37f32250f0c70aed68e5cdfc8413de8dd00 into PR head commit 21d00fda687168c389444e538d1872970232d4ad Merge succeeded, producing 21d00fda687168c389444e538d1872970232d4ad Checking out Revision 21d00fda687168c389444e538d1872970232d4ad (PR-320) > git config core.sparsecheckout # timeout=10 > git checkout -f 21d00fda687168c389444e538d1872970232d4ad # 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 a549a37f32250f0c70aed68e5cdfc8413de8dd00 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 21d00fda687168c389444e538d1872970232d4ad # timeout=10 Commit message: "fix: remove legacy service operatingstate" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:02:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:02:26 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:02:26 ========================================================= 18:02:26 EdgeX Global Pipelines Version Info 18:02:26 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:02:28 ------------------- 18:02:28 stable info: 18:02:28 ------------------- 18:02:28 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:02:28 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 18:02:28 Message: update stable to v1.0.179 18:02:29 ------------------- 18:02:29 experimental info: 18:02:29 ------------------- 18:02:29 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:02:29 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 18:02:29 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:02:29 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 18:02:29 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 18:02:30 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:02:30 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:02:30 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:02:30 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo 18:02:30 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 18:02:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 18:02:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:02:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-c [Pipeline] echo 18:02:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:02:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:02:31 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:02:31 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 18:02:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:02:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:02:31 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 18:02:32 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 18:02:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-320 [Pipeline] echo 18:02:32 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-320 [Pipeline] echo 18:02:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-320 [Pipeline] echo 18:02:32 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 21d00fda687168c389444e538d1872970232d4ad [Pipeline] echo 18:02:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 21d00fd [Pipeline] echo 18:02:32 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 18:02:33 provisioning config files... 18:02:33 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-320@tmp/config2500336103932570595tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:02:33 ---> docker-login.sh 18:02:33 nexus3.edgexfoundry.org:10001 18:02:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:02:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:02:34 Configure a credential helper to remove this warning. See 18:02:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:02:34 18:02:34 Login Succeeded 18:02:34 nexus3.edgexfoundry.org:10002 18:02:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:02:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:02:34 Configure a credential helper to remove this warning. See 18:02:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:02:34 18:02:34 Login Succeeded 18:02:34 nexus3.edgexfoundry.org:10003 18:02:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:02:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:02:34 Configure a credential helper to remove this warning. See 18:02:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:02:34 18:02:34 Login Succeeded 18:02:34 nexus3.edgexfoundry.org:10004 18:02:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:02:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:02:34 Configure a credential helper to remove this warning. See 18:02:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:02:34 18:02:34 Login Succeeded 18:02:34 docker.io 18:02:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:02:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:02:35 Configure a credential helper to remove this warning. See 18:02:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:02:35 18:02:35 Login Succeeded 18:02:35 ---> docker-login.sh ends [Pipeline] } 18:02:35 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 18:02:37 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:02:37 18:02:37 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 18:02:37 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:02:37 latest: Pulling from edgex-devops/git-semver 18:02:37 31603596830f: Pulling fs layer 18:02:37 2a8b12db71e7: Pulling fs layer 18:02:37 6ca5941a6612: Pulling fs layer 18:02:37 ecc8261a40a4: Pulling fs layer 18:02:37 ecc8261a40a4: Waiting 18:02:37 2a8b12db71e7: Verifying Checksum 18:02:37 2a8b12db71e7: Download complete 18:02:37 31603596830f: Verifying Checksum 18:02:37 31603596830f: Download complete 18:02:37 ecc8261a40a4: Verifying Checksum 18:02:37 ecc8261a40a4: Download complete 18:02:37 6ca5941a6612: Verifying Checksum 18:02:37 6ca5941a6612: Download complete 18:02:38 31603596830f: Pull complete 18:02:38 2a8b12db71e7: Pull complete 18:02:39 6ca5941a6612: Pull complete 18:02:39 ecc8261a40a4: Pull complete 18:02:39 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 18:02:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:02:39 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 18:02:39 prd-centos7-docker-4c-2g-25966 does not seem to be running inside a container 18:02:39 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-320 -v /w/workspace/edgexfoundry_device-sdk-c_PR-320:/w/workspace/edgexfoundry_device-sdk-c_PR-320:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-320@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-320@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 18:02:41 $ docker top b94132cefde2afd5376f23fb01c7624e1035187eacddffab865fba72fe925639 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:02:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:02:42 [ssh-agent] Looking for ssh-agent implementation... 18:02:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:02:42 $ docker exec b94132cefde2afd5376f23fb01c7624e1035187eacddffab865fba72fe925639 ssh-agent 18:02:42 SSH_AUTH_SOCK=/tmp/ssh-51KUPkhErzKC/agent.12 18:02:42 SSH_AGENT_PID=18 18:02:42 Running ssh-add (command line suppressed) 18:02:42 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-320@tmp/private_key_1434521185879898815.key (/w/workspace/edgexfoundry_device-sdk-c_PR-320@tmp/private_key_1434521185879898815.key) 18:02:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:02:43 + git tag --points-at HEAD [Pipeline] } 18:02:43 $ docker exec --env ******** --env ******** b94132cefde2afd5376f23fb01c7624e1035187eacddffab865fba72fe925639 ssh-agent -k 18:02:43 unset SSH_AUTH_SOCK; 18:02:43 unset SSH_AGENT_PID; 18:02:43 echo Agent pid 18 killed; 18:02:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:02:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:02:43 [ssh-agent] Looking for ssh-agent implementation... 18:02:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:02:44 $ docker exec b94132cefde2afd5376f23fb01c7624e1035187eacddffab865fba72fe925639 ssh-agent 18:02:44 SSH_AUTH_SOCK=/tmp/ssh-s7AS33MAi2aT/agent.48 18:02:44 SSH_AGENT_PID=53 18:02:44 Running ssh-add (command line suppressed) 18:02:44 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-320@tmp/private_key_2758953614263243316.key (/w/workspace/edgexfoundry_device-sdk-c_PR-320@tmp/private_key_2758953614263243316.key) 18:02:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:02:44 + git semver init 18:02:44 # -> Open(): unable to determine branch for HEAD 18:02:44 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-320/.git 18:02:44 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-320 18:02:44 # $SEMVER_REMOTE_NAME = origin 18:02:44 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:02:44 # $SEMVER_USER_NAME = edgex-jenkins 18:02:44 # $SEMVER_BRANCH = PR-320 18:02:44 # $SEMVER_TEMP = /tmp/semver-028015138 18:02:44 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 18:02:45 # '/tmp/semver-028015138' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-320/.semver' 18:02:45 # -> Force: false 18:02:45 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-320/.semver [Pipeline] } 18:02:45 $ docker exec --env ******** --env ******** b94132cefde2afd5376f23fb01c7624e1035187eacddffab865fba72fe925639 ssh-agent -k 18:02:46 unset SSH_AUTH_SOCK; 18:02:46 unset SSH_AGENT_PID; 18:02:46 echo Agent pid 53 killed; 18:02:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:02:46 + git semver [Pipeline] } 18:02:46 $ docker stop --time=1 b94132cefde2afd5376f23fb01c7624e1035187eacddffab865fba72fe925639 18:02:48 $ docker rm -f b94132cefde2afd5376f23fb01c7624e1035187eacddffab865fba72fe925639 [Pipeline] // withDockerContainer [Pipeline] sh 18:02:48 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:02:49 Stashed 1 file(s) [Pipeline] echo 18:02:49 [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 18:03:04 Still waiting to schedule task 18:03:04 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-25966’ 18:03:04 Still waiting to schedule task 18:03:04 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 18:04:57 Running on prd-ubuntu18.04-docker-arm64-4c-16g-25967 in /w/workspace/edgexfoundry_device-sdk-c_PR-320 [Pipeline] { [Pipeline] ws 18:04:57 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 18:05:02 using credential edgex-jenkins-ssh 18:05:02 Cloning the remote Git repository 18:05:02 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 18:05:02 > git init /w/workspace/device-sdk-c/1 # timeout=10 18:05:03 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 18:05:03 > git --version # timeout=10 18:05:03 > git --version # 'git version 2.17.1' 18:05:03 using GIT_SSH to set credentials SSH Credentials for GitHub 18:05:03 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:05:05 Merging remotes/origin/master commit a549a37f32250f0c70aed68e5cdfc8413de8dd00 into PR head commit 21d00fda687168c389444e538d1872970232d4ad 18:05:06 Merge succeeded, producing 21d00fda687168c389444e538d1872970232d4ad 18:05:06 Checking out Revision 21d00fda687168c389444e538d1872970232d4ad (PR-320) 18:05:05 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 18:05:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:05:05 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 18:05:05 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 18:05:05 using GIT_SSH to set credentials SSH Credentials for GitHub 18:05:05 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/320/head:refs/remotes/origin/PR-320 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:05:05 > git config core.sparsecheckout # timeout=10 18:05:06 > git checkout -f 21d00fda687168c389444e538d1872970232d4ad # timeout=10 18:05:06 > git remote # timeout=10 18:05:06 > git config --get remote.origin.url # timeout=10 18:05:06 using GIT_SSH to set credentials SSH Credentials for GitHub 18:05:06 > git merge a549a37f32250f0c70aed68e5cdfc8413de8dd00 # timeout=10 18:05:06 > git rev-parse HEAD^{commit} # timeout=10 18:05:06 > git config core.sparsecheckout # timeout=10 18:05:06 > git checkout -f 21d00fda687168c389444e538d1872970232d4ad # timeout=10 18:05:10 Commit message: "fix: remove legacy service operatingstate" 18:05:10 > git --version # timeout=10 18:05:10 > git --version # 'git version 2.17.1' 18:05:10 fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:05:12 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 18:05:13 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 18:05:13 + true 18:05:13 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 18:05:16 provisioning config files... 18:05:16 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config908803506368014229tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:05:16 ---> docker-login.sh 18:05:16 nexus3.edgexfoundry.org:10001 18:05:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:05:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:05:18 Configure a credential helper to remove this warning. See 18:05:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:05:18 18:05:18 Login Succeeded 18:05:18 nexus3.edgexfoundry.org:10002 18:05:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:05:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:05:18 Configure a credential helper to remove this warning. See 18:05:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:05:18 18:05:18 Login Succeeded 18:05:18 nexus3.edgexfoundry.org:10003 18:05:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:05:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:05:19 Configure a credential helper to remove this warning. See 18:05:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:05:19 18:05:19 Login Succeeded 18:05:19 nexus3.edgexfoundry.org:10004 18:05:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:05:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:05:19 Configure a credential helper to remove this warning. See 18:05:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:05:19 18:05:19 Login Succeeded 18:05:19 docker.io 18:05:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:05:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:05:20 Configure a credential helper to remove this warning. See 18:05:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:05:20 18:05:20 Login Succeeded 18:05:20 ---> docker-login.sh ends [Pipeline] } 18:05:20 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:05:20 ========================================================= 18:05:20 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 18:05:20 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:05:21 + 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 . 18:05:21 Sending build context to Docker daemon 2.504MB 18:05:21 Step 1/21 : ARG BASE=alpine:3.12 18:05:21 Step 2/21 : FROM ${BASE} as builder 18:05:21 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 18:05:21 0362ad1dd800: Pulling fs layer 18:05:21 f2cdb1532d8b: Pulling fs layer 18:05:21 37ed683be191: Pulling fs layer 18:05:21 f2cdb1532d8b: Verifying Checksum 18:05:21 f2cdb1532d8b: Download complete 18:05:22 0362ad1dd800: Verifying Checksum 18:05:22 0362ad1dd800: Download complete 18:05:23 0362ad1dd800: Pull complete 18:05:23 f2cdb1532d8b: Pull complete 18:05:24 37ed683be191: Verifying Checksum 18:05:24 37ed683be191: Download complete 18:05:35 37ed683be191: Pull complete 18:05:35 Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f 18:05:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 18:05:35 ---> b23d30803547 18:05:35 Step 3/21 : 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 18:05:35 ---> Running in a244370e0418 18:05:36 Running on prd-centos7-docker-4c-2g-25969 in /w/workspace/edgexfoundry_device-sdk-c_PR-320 [Pipeline] { [Pipeline] ws 18:05:36 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 18:05:36 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 18:05:37 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 18:05:37 (1/8) Installing ncurses-dev (6.1_p20190105-r0) 18:05:37 (2/8) Installing libuuid (2.33-r0) 18:05:37 (3/8) Installing libblkid (2.33-r0) 18:05:37 (4/8) Installing libfdisk (2.33-r0) 18:05:38 (5/8) Installing libmount (2.33-r0) 18:05:38 (6/8) Installing libsmartcols (2.33-r0) 18:05:38 (7/8) Installing util-linux-dev (2.33-r0) 18:05:38 (8/8) Installing wget (1.20.3-r0) 18:05:38 Executing busybox-1.29.3-r10.trigger 18:05:38 OK: 285 MiB in 83 packages 18:05:39 using credential edgex-jenkins-ssh 18:05:39 Cloning the remote Git repository 18:05:39 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 18:05:39 > git init /w/workspace/device-sdk-c/1 # timeout=10 18:05:39 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 18:05:39 > git --version # timeout=10 18:05:39 > git --version # 'git version 2.24.3' 18:05:39 using GIT_SSH to set credentials SSH Credentials for GitHub 18:05:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:05:40 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 18:05:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:05:40 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 18:05:40 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 18:05:40 using GIT_SSH to set credentials SSH Credentials for GitHub 18:05:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/320/head:refs/remotes/origin/PR-320 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:05:40 Removing intermediate container a244370e0418 18:05:40 ---> 9cfd0ea22443 18:05:40 Step 4/21 : ENV CBOR_VERSION=0.5.0 18:05:40 ---> Running in 50dfc49fd4cc 18:05:40 Merging remotes/origin/master commit a549a37f32250f0c70aed68e5cdfc8413de8dd00 into PR head commit 21d00fda687168c389444e538d1872970232d4ad 18:05:40 Merge succeeded, producing 21d00fda687168c389444e538d1872970232d4ad 18:05:40 Checking out Revision 21d00fda687168c389444e538d1872970232d4ad (PR-320) 18:05:40 Removing intermediate container 50dfc49fd4cc 18:05:40 ---> 456384139670 18:05:40 Step 5/21 : 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 18:05:41 ---> Running in 8000d35c470d 18:05:40 > git config core.sparsecheckout # timeout=10 18:05:40 > git checkout -f 21d00fda687168c389444e538d1872970232d4ad # timeout=10 18:05:40 > git remote # timeout=10 18:05:40 > git config --get remote.origin.url # timeout=10 18:05:40 using GIT_SSH to set credentials SSH Credentials for GitHub 18:05:40 > git merge a549a37f32250f0c70aed68e5cdfc8413de8dd00 # timeout=10 18:05:40 > git rev-parse HEAD^{commit} # timeout=10 18:05:40 > git config core.sparsecheckout # timeout=10 18:05:40 > git checkout -f 21d00fda687168c389444e538d1872970232d4ad # timeout=10 18:05:41 --2021-02-10 18:05:41-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 18:05:41 Resolving github.com... 140.82.112.3 18:05:41 Connecting to github.com|140.82.112.3|:443... connected. 18:05:41 HTTP request sent, awaiting response... 302 Found 18:05:41 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 18:05:41 --2021-02-10 18:05:41-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 18:05:42 Resolving codeload.github.com... 140.82.113.10 18:05:42 Connecting to codeload.github.com|140.82.113.10|:443... connected. 18:05:42 HTTP request sent, awaiting response... 200 OK 18:05:42 Length: unspecified [application/x-gzip] 18:05:42 Saving to: 'STDOUT' 18:05:42  18:05:42 0K .......... .......... .......... .......... .......... 1.55M 18:05:42 50K .......... .......... .......... .......... .......... 2.98M 18:05:42 100K .......... .......... .......... .......... .......... 9.41M 18:05:42 150K .......... .......... .......... .......... .......... 4.28M 18:05:42 200K .......... .......... .......... .......... .......... 8.43M 18:05:42 250K .......... .......... .......... .......... .......... 3.45M 18:05:42 300K .......... .......... .......... .......... .......... 5.66M 18:05:42 350K .......... .......... .......... .......... .......... 3.60M 18:05:42 400K .......... .......... .......... .......... .......... 3.75M 18:05:42 450K .......... .......... .......... .......... .......... 3.09M 18:05:42 500K .......... .......... .......... .......... .......... 7.36M 18:05:42 550K .......... .......... .......... .......... .......... 3.77M 18:05:42 600K .......... .......... .......... .......... .......... 770K 18:05:42 650K .......... .......... .......... .......... .......... 2.11M 18:05:42 700K .. 9.06M=0.2s 18:05:42 18:05:42 2021-02-10 18:05:42 (2.82 MB/s) - written to stdout [719348] 18:05:42 18:05:42 -- The C compiler identification is GNU 8.3.0 18:05:43 -- The CXX compiler identification is GNU 8.3.0 18:05:43 -- Check for working C compiler: /usr/bin/cc 18:05:43 -- Check for working C compiler: /usr/bin/cc -- works 18:05:43 -- Detecting C compiler ABI info 18:05:43 -- Detecting C compiler ABI info - done 18:05:43 -- Detecting C compile features 18:05:44 -- Detecting C compile features - done 18:05:44 -- Check for working CXX compiler: /usr/bin/c++ 18:05:44 Commit message: "fix: remove legacy service operatingstate" 18:05:44 > git --version # timeout=10 18:05:44 > git --version # 'git version 2.24.3' 18:05:44 fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 18:05:44 -- Check for working CXX compiler: /usr/bin/c++ -- works 18:05:44 -- Detecting CXX compiler ABI info [Pipeline] withEnv [Pipeline] { 18:05:44 -- Detecting CXX compiler ABI info - done 18:05:44 -- Detecting CXX compile features [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:05:45 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 18:05:46 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 18:05:46 -- Detecting CXX compile features - done 18:05:46 -- Looking for include file endian.h 18:05:46 -- Looking for include file endian.h - found 18:05:46 -- Check if the system is big endian 18:05:46 -- Searching 16 bit integer 18:05:46 -- Looking for sys/types.h 18:05:46 + sudo service docker restart 18:05:46 + true 18:05:46 Redirecting to /bin/systemctl restart docker.service 18:05:46 -- Looking for sys/types.h - found 18:05:46 -- Looking for stdint.h 18:05:47 -- Looking for stdint.h - found 18:05:47 -- Looking for stddef.h 18:05:47 -- Looking for stddef.h - found 18:05:47 -- Check size of unsigned short 18:05:47 -- Check size of unsigned short - done 18:05:47 -- Using unsigned short [Pipeline] withEnv [Pipeline] { 18:05:47 -- Check if the system is big endian - little endian 18:05:47 -- Check size of size_t [Pipeline] wrap 18:05:47 provisioning config files... 18:05:47 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config6288654127633677436tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:05:47 -- Check size of size_t - done 18:05:47 CMake Warning at examples/CMakeLists.txt:16 (find_package): 18:05:47 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 18:05:47 asked CMake to find a package configuration file provided by "cJSON", but 18:05:47 CMake did not find one. 18:05:47 18:05:47 Could not find a package configuration file provided by "cJSON" with any of 18:05:47 the following names: 18:05:47 18:05:47 cJSONConfig.cmake 18:05:47 cjson-config.cmake 18:05:47 18:05:47 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 18:05:47 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 18:05:47 provides a separate development package or SDK, be sure it has been 18:05:47 installed. 18:05:47 18:05:47 18:05:47 -- Configuring done 18:05:48 ---> docker-login.sh 18:05:48 nexus3.edgexfoundry.org:10001 18:05:48 -- Generating done 18:05:48 -- Build files have been written to: /tmp/cbor 18:05:48 Scanning dependencies of target cbor_shared 18:05:48 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 18:05:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:05:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:05:48 Configure a credential helper to remove this warning. See 18:05:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:05:48 18:05:48 Login Succeeded 18:05:48 nexus3.edgexfoundry.org:10002 18:05:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:05:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:05:48 Configure a credential helper to remove this warning. See 18:05:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:05:48 18:05:48 Login Succeeded 18:05:48 nexus3.edgexfoundry.org:10003 18:05:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:05:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:05:48 Configure a credential helper to remove this warning. See 18:05:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:05:48 18:05:48 Login Succeeded 18:05:48 nexus3.edgexfoundry.org:10004 18:05:48 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 18:05:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:05:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:05:49 Configure a credential helper to remove this warning. See 18:05:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:05:49 18:05:49 Login Succeeded 18:05:49 docker.io 18:05:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:05:49 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 18:05:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:05:49 Configure a credential helper to remove this warning. See 18:05:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:05:49 18:05:49 Login Succeeded 18:05:49 ---> docker-login.sh ends [Pipeline] } 18:05:49 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } 18:05:49 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:05:50 ========================================================= 18:05:50 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 18:05:50 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:05:50 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 18:05:50 + 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 . 18:05:50 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 18:05:50 Sending build context to Docker daemon 2.505MB 18:05:50 Step 1/21 : ARG BASE=alpine:3.12 18:05:50 Step 2/21 : FROM ${BASE} as builder 18:05:50 latest: Pulling from edgex-devops/edgex-gcc-base 18:05:50 e7c96db7181b: Pulling fs layer 18:05:50 4c13bbce0fe7: Pulling fs layer 18:05:50 6059c847ac2f: Pulling fs layer 18:05:50 4c13bbce0fe7: Verifying Checksum 18:05:50 4c13bbce0fe7: Download complete 18:05:50 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 18:05:50 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 18:05:51 e7c96db7181b: Verifying Checksum 18:05:51 e7c96db7181b: Download complete 18:05:51 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 18:05:51 e7c96db7181b: Pull complete 18:05:51 4c13bbce0fe7: Pull complete 18:05:51 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 18:05:52 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 18:05:52 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 18:05:52 6059c847ac2f: Verifying Checksum 18:05:52 6059c847ac2f: Download complete 18:05:52 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 18:05:52 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 18:05:53 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 18:05:53 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 18:05:53 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 18:05:54 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 18:05:54 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 18:05:54 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 18:05:54 [ 40%] Linking C shared library libcbor.so 18:05:54 [ 40%] Built target cbor_shared 18:05:54 Scanning dependencies of target cbor 18:05:54 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 18:05:55 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 18:05:56 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 18:05:56 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 18:05:57 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 18:05:57 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 18:05:58 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 18:05:58 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 18:05:58 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 18:05:58 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 18:05:59 6059c847ac2f: Pull complete 18:05:59 Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e 18:05:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 18:05:59 ---> 5eabd8fd8ba2 18:05:59 Step 3/21 : 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 18:05:59 ---> Running in c2363b64b7d1 18:05:59 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 18:05:59 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 18:06:00 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 18:06:00 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 18:06:00 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 18:06:00 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 18:06:01 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 18:06:01 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 18:06:01 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 18:06:01 (1/8) Installing ncurses-dev (6.1_p20190105-r0) 18:06:01 (2/8) Installing libuuid (2.33-r0) 18:06:01 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 18:06:01 (3/8) Installing libblkid (2.33-r0) 18:06:01 (4/8) Installing libfdisk (2.33-r0) 18:06:01 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 18:06:01 (5/8) Installing libmount (2.33-r0) 18:06:01 (6/8) Installing libsmartcols (2.33-r0) 18:06:01 (7/8) Installing util-linux-dev (2.33-r0) 18:06:02 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 18:06:02 [ 80%] Linking C static library libcbor.a 18:06:02 [ 80%] Built target cbor 18:06:02 Scanning dependencies of target create_items 18:06:02 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 18:06:02 (8/8) Installing wget (1.20.3-r0) 18:06:02 Executing busybox-1.29.3-r10.trigger 18:06:02 OK: 272 MiB in 83 packages 18:06:02 [ 84%] Linking C executable create_items 18:06:02 [ 84%] Built target create_items 18:06:02 Scanning dependencies of target readfile 18:06:02 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 18:06:02 [ 88%] Linking C executable readfile 18:06:02 [ 88%] Built target readfile 18:06:02 Scanning dependencies of target streaming_parser 18:06:02 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 18:06:03 [ 92%] Linking C executable streaming_parser 18:06:03 [ 92%] Built target streaming_parser 18:06:03 Scanning dependencies of target sort 18:06:03 Removing intermediate container c2363b64b7d1 18:06:03 ---> 0c3c0f36d6e1 18:06:03 Step 4/21 : ENV CBOR_VERSION=0.5.0 18:06:03 ---> Running in 2dd582cbdb40 18:06:03 Removing intermediate container 2dd582cbdb40 18:06:03 ---> c070f4f4912d 18:06:03 Step 5/21 : 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 18:06:03 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 18:06:03 [ 96%] Linking C executable sort 18:06:03 ---> Running in 6d97334397fa 18:06:03 [ 96%] Built target sort 18:06:03 Scanning dependencies of target hello 18:06:03 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 18:06:03 [100%] Linking C executable hello 18:06:04 [100%] Built target hello 18:06:04 Install the project... 18:06:04 -- Install configuration: "Release" 18:06:04 -- Installing: /usr/local/include/cbor/configuration.h 18:06:04 -- Installing: /usr/local/lib64/libcbor.a 18:06:04 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 18:06:04 -- Installing: /usr/local/lib64/libcbor.so.0 18:06:04 -- Installing: /usr/local/lib64/libcbor.so 18:06:04 -- Up-to-date: /usr/local/include/cbor 18:06:04 -- Installing: /usr/local/include/cbor/streaming.h 18:06:04 -- Installing: /usr/local/include/cbor/ints.h 18:06:04 -- Installing: /usr/local/include/cbor/floats_ctrls.h 18:06:04 -- Installing: /usr/local/include/cbor/bytestrings.h 18:06:04 -- Installing: /usr/local/include/cbor/encoding.h 18:06:04 -- Installing: /usr/local/include/cbor/serialization.h 18:06:04 -- Installing: /usr/local/include/cbor/data.h 18:06:04 -- Installing: /usr/local/include/cbor/common.h 18:06:04 -- Installing: /usr/local/include/cbor/callbacks.h 18:06:04 -- Installing: /usr/local/include/cbor/strings.h 18:06:04 -- Installing: /usr/local/include/cbor/tags.h 18:06:04 -- Installing: /usr/local/include/cbor/internal 18:06:04 -- Installing: /usr/local/include/cbor/internal/encoders.h 18:06:04 -- Installing: /usr/local/include/cbor/internal/loaders.h 18:06:04 -- Installing: /usr/local/include/cbor/internal/stack.h 18:06:04 -- Installing: /usr/local/include/cbor/internal/unicode.h 18:06:04 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 18:06:04 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 18:06:04 -- Installing: /usr/local/include/cbor/arrays.h 18:06:04 -- Installing: /usr/local/include/cbor/maps.h 18:06:04 -- Installing: /usr/local/include/cbor.h 18:06:04 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 18:06:04 --2021-02-10 18:06:04-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 18:06:04 Resolving github.com... 140.82.113.3 18:06:04 Connecting to github.com|140.82.113.3|:443... connected. 18:06:04 HTTP request sent, awaiting response... 302 Found 18:06:04 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 18:06:04 --2021-02-10 18:06:04-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 18:06:04 Resolving codeload.github.com... 140.82.113.10 18:06:04 Connecting to codeload.github.com|140.82.113.10|:443... connected. 18:06:04 HTTP request sent, awaiting response... 200 OK 18:06:04 Length: unspecified [application/x-gzip] 18:06:04 Saving to: 'STDOUT' 18:06:04 18:06:04 0K .......... .......... .......... .......... .......... 1.39M 18:06:04 50K .......... .......... .......... .......... .......... 3.22M 18:06:04 100K .......... .......... .......... .......... .......... 13.4M 18:06:04 150K .......... .......... .......... .......... .......... 3.85M 18:06:04 200K .......... .......... .......... .......... .......... 12.5M 18:06:04 250K .......... .......... .......... .......... .......... 8.82M 18:06:04 300K .......... .......... .......... .......... .......... 8.04M 18:06:04 350K .......... .......... .......... .......... .......... 10.9M 18:06:04 400K .......... .......... .......... .......... .......... 4.68M 18:06:04 450K .......... .......... .......... .......... .......... 8.25M 18:06:04 500K .......... .......... .......... .......... .......... 11.2M 18:06:04 550K .......... .......... .......... .......... .......... 6.08M 18:06:04 600K .......... .......... .......... .......... .......... 1.83M 18:06:04 650K .......... .......... .......... .......... .......... 4.33M 18:06:04 700K .. 894K=0.2s 18:06:04 18:06:04 2021-02-10 18:06:04 (4.39 MB/s) - written to stdout [719348] 18:06:04 18:06:04 -- The C compiler identification is GNU 8.3.0 18:06:05 -- The CXX compiler identification is GNU 8.3.0 18:06:05 -- Check for working C compiler: /usr/bin/cc 18:06:05 -- Check for working C compiler: /usr/bin/cc -- works 18:06:05 -- Detecting C compiler ABI info 18:06:05 -- Detecting C compiler ABI info - done 18:06:05 -- Detecting C compile features 18:06:05 -- Detecting C compile features - done 18:06:05 -- Check for working CXX compiler: /usr/bin/c++ 18:06:05 -- Check for working CXX compiler: /usr/bin/c++ -- works 18:06:05 -- Detecting CXX compiler ABI info 18:06:05 -- Detecting CXX compiler ABI info - done 18:06:05 -- Detecting CXX compile features 18:06:06 -- Detecting CXX compile features - done 18:06:06 -- Looking for include file endian.h 18:06:06 -- Looking for include file endian.h - found 18:06:06 -- Check if the system is big endian 18:06:06 -- Searching 16 bit integer 18:06:06 -- Looking for sys/types.h 18:06:06 -- Looking for sys/types.h - found 18:06:06 -- Looking for stdint.h 18:06:06 -- Looking for stdint.h - found 18:06:06 -- Looking for stddef.h 18:06:06 -- Looking for stddef.h - found 18:06:06 -- Check size of unsigned short 18:06:06 -- Check size of unsigned short - done 18:06:06 -- Using unsigned short 18:06:06 Removing intermediate container 8000d35c470d 18:06:06 ---> 3b0b0d34d766 18:06:06 Step 6/21 : RUN mkdir /tmp/sdk 18:06:06 ---> Running in ed5aa2658940 18:06:06 -- Check if the system is big endian - little endian 18:06:06 -- Check size of size_t 18:06:06 -- Check size of size_t - done 18:06:06 CMake Warning at examples/CMakeLists.txt:16 (find_package): 18:06:06 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 18:06:06 asked CMake to find a package configuration file provided by "cJSON", but 18:06:06 CMake did not find one. 18:06:06 18:06:06 Could not find a package configuration file provided by "cJSON" with any of 18:06:06 the following names: 18:06:06 18:06:06 cJSONConfig.cmake 18:06:06 cjson-config.cmake 18:06:06 18:06:06 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 18:06:06 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 18:06:06 provides a separate development package or SDK, be sure it has been 18:06:06 installed. 18:06:06 18:06:06 18:06:06 -- Configuring done 18:06:07 -- Generating done 18:06:07 -- Build files have been written to: /tmp/cbor 18:06:07 Scanning dependencies of target cbor_shared 18:06:07 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 18:06:07 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 18:06:07 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 18:06:07 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 18:06:07 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 18:06:07 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 18:06:07 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 18:06:07 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 18:06:07 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 18:06:07 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 18:06:08 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 18:06:08 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 18:06:08 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 18:06:08 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 18:06:08 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 18:06:08 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 18:06:08 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 18:06:08 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 18:06:08 Removing intermediate container ed5aa2658940 18:06:08 ---> afd9fb0a7df3 18:06:08 Step 7/21 : COPY VERSION /tmp/sdk 18:06:08 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 18:06:08 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 18:06:08 [ 40%] Linking C shared library libcbor.so 18:06:08 [ 40%] Built target cbor_shared 18:06:08 Scanning dependencies of target cbor 18:06:09 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 18:06:09 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 18:06:09 ---> 017b4b5e7d90 18:06:09 Step 8/21 : COPY src /tmp/sdk/src 18:06:09 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 18:06:09 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 18:06:09 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 18:06:09 ---> 53275d033e1e 18:06:09 Step 9/21 : COPY include /tmp/sdk/include 18:06:09 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 18:06:09 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 18:06:09 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 18:06:09 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 18:06:10 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 18:06:10 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 18:06:10 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 18:06:10 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 18:06:10 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 18:06:10 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 18:06:10 ---> 263e4709d645 18:06:10 Step 10/21 : COPY scripts /tmp/sdk/scripts 18:06:11 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 18:06:11 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 18:06:11 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 18:06:11 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 18:06:11 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 18:06:11 [ 80%] Linking C static library libcbor.a 18:06:11 [ 80%] Built target cbor 18:06:11 Scanning dependencies of target create_items 18:06:11 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 18:06:11 ---> 25a8c967d40a 18:06:11 Step 11/21 : COPY LICENSE /tmp/sdk 18:06:11 [ 84%] Linking C executable create_items 18:06:11 [ 84%] Built target create_items 18:06:11 Scanning dependencies of target readfile 18:06:11 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 18:06:11 [ 88%] Linking C executable readfile 18:06:11 [ 88%] Built target readfile 18:06:11 Scanning dependencies of target streaming_parser 18:06:11 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 18:06:11 [ 92%] Linking C executable streaming_parser 18:06:11 [ 92%] Built target streaming_parser 18:06:11 Scanning dependencies of target sort 18:06:11 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 18:06:11 [ 96%] Linking C executable sort 18:06:11 [ 96%] Built target sort 18:06:11 Scanning dependencies of target hello 18:06:11 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 18:06:11 [100%] Linking C executable hello 18:06:11 [100%] Built target hello 18:06:11 Install the project... 18:06:12 ---> 67aa914d735d 18:06:12 Step 12/21 : COPY Attribution.txt /tmp/sdk 18:06:12 -- Install configuration: "Release" 18:06:12 -- Installing: /usr/local/include/cbor/configuration.h 18:06:12 -- Installing: /usr/local/lib64/libcbor.a 18:06:12 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 18:06:12 -- Installing: /usr/local/lib64/libcbor.so.0 18:06:12 -- Installing: /usr/local/lib64/libcbor.so 18:06:12 -- Up-to-date: /usr/local/include/cbor 18:06:12 -- Installing: /usr/local/include/cbor/arrays.h 18:06:12 -- Installing: /usr/local/include/cbor/bytestrings.h 18:06:12 -- Installing: /usr/local/include/cbor/callbacks.h 18:06:12 -- Installing: /usr/local/include/cbor/common.h 18:06:12 -- Installing: /usr/local/include/cbor/data.h 18:06:12 -- Installing: /usr/local/include/cbor/encoding.h 18:06:12 -- Installing: /usr/local/include/cbor/floats_ctrls.h 18:06:12 -- Installing: /usr/local/include/cbor/internal 18:06:12 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 18:06:12 -- Installing: /usr/local/include/cbor/internal/encoders.h 18:06:12 -- Installing: /usr/local/include/cbor/internal/loaders.h 18:06:12 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 18:06:12 -- Installing: /usr/local/include/cbor/internal/stack.h 18:06:12 -- Installing: /usr/local/include/cbor/internal/unicode.h 18:06:12 -- Installing: /usr/local/include/cbor/ints.h 18:06:12 -- Installing: /usr/local/include/cbor/maps.h 18:06:12 -- Installing: /usr/local/include/cbor/serialization.h 18:06:12 -- Installing: /usr/local/include/cbor/streaming.h 18:06:12 -- Installing: /usr/local/include/cbor/strings.h 18:06:12 -- Installing: /usr/local/include/cbor/tags.h 18:06:12 -- Installing: /usr/local/include/cbor.h 18:06:12 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 18:06:12 ---> b389b9a55cf4 18:06:12 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 18:06:12 ---> Running in 60f6529b5a3a 18:06:13 + CPPCHECK=false 18:06:13 + DOCGEN=false 18:06:13 + TOMLVER=SDK-0.2 18:06:13 + CUTILVER=1.1.4 18:06:13 + '[' 0 -gt 0 ] 18:06:13 + readlink -f ./scripts/build.sh 18:06:13 + dirname /tmp/sdk/scripts/build.sh 18:06:13 + dirname /tmp/sdk/scripts 18:06:13 + ROOT=/tmp/sdk 18:06:13 + cd /tmp/sdk 18:06:13 + '[' '!' -d deps ] 18:06:13 + mkdir deps 18:06:13 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 18:06:13 --2021-02-10 18:06:13-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 18:06:13 + tar -C deps -z -x -f - 18:06:13 Resolving github.com... 140.82.113.3 18:06:13 Connecting to github.com|140.82.113.3|:443... connected. 18:06:14 HTTP request sent, awaiting response... 302 Found 18:06:14 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 18:06:14 --2021-02-10 18:06:13-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 18:06:14 Resolving codeload.github.com... 140.82.113.10 18:06:14 Connecting to codeload.github.com|140.82.113.10|:443... connected. 18:06:14 HTTP request sent, awaiting response... 200 OK 18:06:14 Length: unspecified [application/x-gzip] 18:06:14 Saving to: 'STDOUT' 18:06:14 18:06:14 0K .......... ......  957K=0.02s 18:06:14 18:06:14 2021-02-10 18:06:14 (957 KB/s) - written to stdout [16451] 18:06:14 18:06:14 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 18:06:14 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 18:06:14 + tar -C deps -z -x -f - 18:06:14 --2021-02-10 18:06:14-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 18:06:14 Resolving github.com... 140.82.113.3 18:06:14 Connecting to github.com|140.82.113.3|:443... connected. 18:06:14 HTTP request sent, awaiting response... 302 Found 18:06:14 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] 18:06:14 --2021-02-10 18:06:14-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 18:06:14 Resolving codeload.github.com... 140.82.113.10 18:06:14 Connecting to codeload.github.com|140.82.113.10|:443... connected. 18:06:14 Removing intermediate container 6d97334397fa 18:06:14 ---> 372c2e70740f 18:06:14 Step 6/21 : RUN mkdir /tmp/sdk 18:06:14 ---> Running in b47bba769b8d 18:06:14 HTTP request sent, awaiting response... 200 OK 18:06:14 Length: unspecified [application/x-gzip] 18:06:14 Saving to: 'STDOUT' 18:06:14  18:06:14 0K .......... .......... .......... .......... .......... 1.58M 18:06:14 50K .......... .......... .......... .......... .......... 3.11M 18:06:14 100K .......... .......... .......... .......... .......... 4.77M 18:06:14 150K .......... .......... .......  1.56M=0.07s 18:06:14 18:06:14 2021-02-10 18:06:14 (2.34 MB/s) - written to stdout [181796] 18:06:14 18:06:14 + mkdir -p src/c/iot 18:06:14 + cp deps/iotech-c-utils-1.1.4/src/c/base64.c deps/iotech-c-utils-1.1.4/src/c/component.c deps/iotech-c-utils-1.1.4/src/c/config.c deps/iotech-c-utils-1.1.4/src/c/container.c deps/iotech-c-utils-1.1.4/src/c/data.c deps/iotech-c-utils-1.1.4/src/c/hash.c deps/iotech-c-utils-1.1.4/src/c/iot.c deps/iotech-c-utils-1.1.4/src/c/json.c deps/iotech-c-utils-1.1.4/src/c/logger.c deps/iotech-c-utils-1.1.4/src/c/os.c deps/iotech-c-utils-1.1.4/src/c/scheduler.c deps/iotech-c-utils-1.1.4/src/c/thread.c deps/iotech-c-utils-1.1.4/src/c/threadpool.c deps/iotech-c-utils-1.1.4/src/c/time.c deps/iotech-c-utils-1.1.4/src/c/yxml.c src/c/iot 18:06:14 + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot 18:06:14 + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot 18:06:14 + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot 18:06:14 + mkdir -p include/iot 18:06:14 + cp deps/iotech-c-utils-1.1.4/include/iot/base64.h deps/iotech-c-utils-1.1.4/include/iot/component.h deps/iotech-c-utils-1.1.4/include/iot/config.h deps/iotech-c-utils-1.1.4/include/iot/container.h deps/iotech-c-utils-1.1.4/include/iot/data.h deps/iotech-c-utils-1.1.4/include/iot/hash.h deps/iotech-c-utils-1.1.4/include/iot/iot.h deps/iotech-c-utils-1.1.4/include/iot/json.h deps/iotech-c-utils-1.1.4/include/iot/logger.h deps/iotech-c-utils-1.1.4/include/iot/os.h deps/iotech-c-utils-1.1.4/include/iot/scheduler.h deps/iotech-c-utils-1.1.4/include/iot/thread.h deps/iotech-c-utils-1.1.4/include/iot/threadpool.h deps/iotech-c-utils-1.1.4/include/iot/time.h deps/iotech-c-utils-1.1.4/include/iot/typecode.h include/iot 18:06:14 + mkdir -p include/iot/os 18:06:14 + cp deps/iotech-c-utils-1.1.4/include/iot/os/linux.h deps/iotech-c-utils-1.1.4/include/iot/os/macos.h deps/iotech-c-utils-1.1.4/include/iot/os/zephyr.h include/iot/os 18:06:14 + mkdir -p /tmp/sdk/build/release 18:06:14 + cd /tmp/sdk/build/release 18:06:14 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 18:06:14 -- The C compiler identification is GNU 8.3.0 18:06:14 -- Check for working C compiler: /usr/bin/cc 18:06:15 -- Check for working C compiler: /usr/bin/cc -- works 18:06:15 -- Detecting C compiler ABI info 18:06:15 -- Detecting C compiler ABI info - done 18:06:15 -- Detecting C compile features 18:06:15 Removing intermediate container b47bba769b8d 18:06:15 ---> 1b8268014ca4 18:06:15 Step 7/21 : COPY VERSION /tmp/sdk 18:06:15 ---> 98aeb2e412d7 18:06:15 Step 8/21 : COPY src /tmp/sdk/src 18:06:16 ---> 289a2fae8456 18:06:16 Step 9/21 : COPY include /tmp/sdk/include 18:06:16 -- Detecting C compile features - done 18:06:16 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 18:06:16 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 18:06:16 -- Found LIBYAML: /usr/lib/libyaml.so 18:06:16 -- Found LIBUUID: /usr/lib/libuuid.so 18:06:16 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 18:06:16 -- C SDK 0.0.0 for Linux 18:06:16 -- Performing Test CSDK_HAVE_ATOMIC 18:06:16 -- Performing Test CSDK_HAVE_ATOMIC - Success 18:06:16 -- Found Curses: /usr/lib/libcurses.so 18:06:16 ---> f9e4d4ab8c5d 18:06:16 Step 10/21 : COPY scripts /tmp/sdk/scripts 18:06:16 -- Configuring done 18:06:16 ---> a3ca77ec6945 18:06:16 Step 11/21 : COPY LICENSE /tmp/sdk 18:06:17 -- Generating done 18:06:17 -- Build files have been written to: /tmp/sdk/build/release 18:06:17 + + maketee release.log 18:06:17 18:06:17 Scanning dependencies of target csdk 18:06:17 ---> 2ff8d6cd2198 18:06:17 Step 12/21 : COPY Attribution.txt /tmp/sdk 18:06:17 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 18:06:17 ---> f6e44e308cf2 18:06:17 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 18:06:17 ---> Running in e54812ed7a63 18:06:17 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 18:06:18 [ 5%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 18:06:18 + CPPCHECK=false 18:06:18 + DOCGEN=false 18:06:18 + TOMLVER=SDK-0.2 18:06:18 + CUTILVER=1.1.4 18:06:18 + '[' 0 -gt 0 ] 18:06:18 + readlink -f ./scripts/build.sh 18:06:18 + dirname /tmp/sdk/scripts/build.sh 18:06:18 + dirname /tmp/sdk/scripts 18:06:18 + ROOT=/tmp/sdk 18:06:18 + cd /tmp/sdk 18:06:18 + '[' '!' -d deps ] 18:06:18 + mkdir deps 18:06:18 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 18:06:18 + tar -C deps -z -x -f - 18:06:18 --2021-02-10 18:06:18-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 18:06:18 Resolving github.com... 140.82.113.3 18:06:18 Connecting to github.com|140.82.113.3|:443... connected. 18:06:18 HTTP request sent, awaiting response... 302 Found 18:06:18 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 18:06:18 --2021-02-10 18:06:18-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 18:06:18 Resolving codeload.github.com... 140.82.113.10 18:06:18 Connecting to codeload.github.com|140.82.113.10|:443... connected. 18:06:18 HTTP request sent, awaiting response... 200 OK 18:06:18 Length: unspecified [application/x-gzip] 18:06:18 Saving to: 'STDOUT' 18:06:18  18:06:18 0K .......... ......  987K=0.02s 18:06:18 18:06:18 2021-02-10 18:06:18 (987 KB/s) - written to stdout [16451] 18:06:18 18:06:18 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 18:06:18 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 18:06:18 + tar -C deps -z -x -f - 18:06:18 --2021-02-10 18:06:18-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 18:06:18 Resolving github.com... 140.82.113.3 18:06:18 Connecting to github.com|140.82.113.3|:443... connected. 18:06:18 [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o 18:06:19 HTTP request sent, awaiting response... 302 Found 18:06:19 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] 18:06:19 --2021-02-10 18:06:18-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 18:06:19 Resolving codeload.github.com... 140.82.113.10 18:06:19 Connecting to codeload.github.com|140.82.113.10|:443... connected. 18:06:19 HTTP request sent, awaiting response... 200 OK 18:06:19 Length: unspecified [application/x-gzip] 18:06:19 Saving to: 'STDOUT' 18:06:19 18:06:19 0K .......... .......... .......... .......... .......... 1.64M 18:06:19 50K .......... .......... .......... .......... .......... 3.31M 18:06:19 100K .......... .......... .......... .......... .......... 39.9M 18:06:19 150K .......... .......... ....... 3.07M=0.05s 18:06:19 18:06:19 2021-02-10 18:06:18 (3.18 MB/s) - written to stdout [181796] 18:06:19 18:06:19 + mkdir -p src/c/iot 18:06:19 + 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 18:06:19 + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot 18:06:19 + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot 18:06:19 + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot 18:06:19 + mkdir -p include/iot 18:06:19 + 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 18:06:19 + mkdir -p include/iot/os 18:06:19 + 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 18:06:19 + mkdir -p /tmp/sdk/build/release 18:06:19 + cd /tmp/sdk/build/release 18:06:19 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 18:06:19 -- The C compiler identification is GNU 8.3.0 18:06:19 -- Check for working C compiler: /usr/bin/cc 18:06:19 -- Check for working C compiler: /usr/bin/cc -- works 18:06:19 -- Detecting C compiler ABI info 18:06:19 -- Detecting C compiler ABI info - done 18:06:19 -- Detecting C compile features 18:06:19 -- Detecting C compile features - done 18:06:19 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 18:06:19 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 18:06:19 -- Found LIBYAML: /usr/lib/libyaml.so 18:06:19 -- Found LIBUUID: /usr/lib/libuuid.so 18:06:19 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 18:06:19 -- C SDK 0.0.0 for Linux 18:06:19 -- Performing Test CSDK_HAVE_ATOMIC 18:06:19 -- Performing Test CSDK_HAVE_ATOMIC - Success 18:06:19 -- Found Curses: /usr/lib/libcurses.so 18:06:20 -- Configuring done 18:06:20 -- Generating done 18:06:20 -- Build files have been written to: /tmp/sdk/build/release 18:06:20 + make 18:06:20 + tee release.log 18:06:20 Scanning dependencies of target csdk 18:06:20 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 18:06:20 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 18:06:20 [ 5%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 18:06:20 [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o 18:06:20 [ 8%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 18:06:21 [ 10%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 18:06:21 [ 8%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 18:06:21 [ 11%] Building C object c/CMakeFiles/csdk.dir/data.c.o 18:06:21 [ 10%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 18:06:21 [ 11%] Building C object c/CMakeFiles/csdk.dir/data.c.o 18:06:21 [ 13%] Building C object c/CMakeFiles/csdk.dir/device.c.o 18:06:22 [ 13%] Building C object c/CMakeFiles/csdk.dir/device.c.o 18:06:22 [ 15%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 18:06:22 [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 18:06:22 [ 18%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 18:06:22 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 18:06:23 [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 18:06:23 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 18:06:23 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 18:06:24 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 18:06:24 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 18:06:24 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 18:06:24 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 18:06:24 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 18:06:24 [ 15%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 18:06:24 [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 18:06:25 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 18:06:25 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 18:06:25 [ 18%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 18:06:25 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 18:06:25 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 18:06:25 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 18:06:25 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 18:06:26 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 18:06:26 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 18:06:26 [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 18:06:26 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 18:06:26 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 18:06:26 [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 18:06:26 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 18:06:26 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 18:06:27 [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o 18:06:27 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 18:06:27 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 18:06:27 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 18:06:29 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 18:06:29 [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 18:06:29 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 18:06:29 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 18:06:29 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 18:06:30 [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o 18:06:30 [ 68%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 18:06:31 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 18:06:31 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 18:06:31 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 18:06:31 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 18:06:31 [ 70%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 18:06:31 [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 18:06:31 [ 73%] Linking C shared library libcsdk.so 18:06:31 [ 73%] Built target csdk 18:06:31 Scanning dependencies of target template 18:06:32 [ 75%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 18:06:32 [ 76%] Linking C executable template 18:06:32 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 18:06:32 [ 76%] Built target template 18:06:32 Scanning dependencies of target device-counter 18:06:32 [ 78%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 18:06:32 [ 80%] Linking C executable device-counter 18:06:32 [ 80%] Built target device-counter 18:06:32 Scanning dependencies of target device-random 18:06:32 [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 18:06:32 [ 83%] Linking C executable device-random 18:06:32 [ 83%] Built target device-random 18:06:32 Scanning dependencies of target device-gyro 18:06:32 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 18:06:32 [ 86%] Linking C executable device-gyro 18:06:33 [ 86%] Built target device-gyro 18:06:33 Scanning dependencies of target device-bitfields 18:06:33 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 18:06:33 [ 90%] Linking C executable device-bitfields 18:06:33 [ 90%] Built target device-bitfields 18:06:33 Scanning dependencies of target template-discovery 18:06:33 [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 18:06:33 [ 93%] Linking C executable template-discovery 18:06:33 [ 93%] Built target template-discovery 18:06:33 Scanning dependencies of target device-file 18:06:33 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 18:06:34 [ 96%] Linking C executable device-file 18:06:34 [ 96%] Built target device-file 18:06:34 Scanning dependencies of target device-terminal 18:06:34 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 18:06:34 [100%] Linking C executable device-terminal 18:06:34 [100%] Built target device-terminal 18:06:34 + make package 18:06:34 + tee -a release.log 18:06:34 [ 73%] Built target csdk 18:06:34 [ 76%] Built target template 18:06:34 [ 80%] Built target device-counter 18:06:34 [ 83%] Built target device-random 18:06:34 [ 86%] Built target device-gyro 18:06:34 [ 90%] Built target device-bitfields 18:06:34 [ 93%] Built target template-discovery 18:06:34 [ 96%] Built target device-file 18:06:34 [100%] Built target device-terminal 18:06:34 Run CPack packaging tool... 18:06:34 CPack: Create package using TGZ 18:06:34 CPack: Install projects 18:06:34 CPack: - Run preinstall target for: Csdk 18:06:35 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 18:06:35 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 18:06:35 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 18:06:35 CPack: - Install project: Csdk 18:06:35 CPack: Create package 18:06:35 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 18:06:35 + '[' false '=' true ] 18:06:35 + '[' false '=' true ] 18:06:35 + mkdir -p /tmp/sdk/build/debug 18:06:35 + cd /tmp/sdk/build/debug 18:06:35 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 18:06:35 -- The C compiler identification is GNU 8.3.0 18:06:35 -- Check for working C compiler: /usr/bin/cc 18:06:35 -- Check for working C compiler: /usr/bin/cc -- works 18:06:35 -- Detecting C compiler ABI info 18:06:35 -- Detecting C compiler ABI info - done 18:06:35 -- Detecting C compile features 18:06:35 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 18:06:35 -- Detecting C compile features - done 18:06:35 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 18:06:35 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 18:06:35 -- Found LIBYAML: /usr/lib/libyaml.so 18:06:35 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 18:06:35 -- Found LIBUUID: /usr/lib/libuuid.so 18:06:35 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 18:06:35 -- C SDK 0.0.0 for Linux 18:06:35 -- Performing Test CSDK_HAVE_ATOMIC 18:06:35 -- Performing Test CSDK_HAVE_ATOMIC - Success 18:06:35 -- Found Curses: /usr/lib/libcurses.so 18:06:35 -- Configuring done 18:06:36 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 18:06:36 -- Generating done 18:06:36 -- Build files have been written to: /tmp/sdk/build/debug 18:06:36 + make 18:06:36 + tee debug.log 18:06:36 Scanning dependencies of target csdk 18:06:36 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 18:06:36 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 18:06:36 [ 5%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 18:06:36 [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o 18:06:36 [ 8%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 18:06:36 [ 10%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 18:06:36 [ 11%] Building C object c/CMakeFiles/csdk.dir/data.c.o 18:06:36 [ 13%] Building C object c/CMakeFiles/csdk.dir/device.c.o 18:06:37 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 18:06:37 [ 15%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 18:06:37 [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 18:06:37 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 18:06:37 [ 18%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 18:06:37 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 18:06:37 [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 18:06:37 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 18:06:37 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 18:06:37 [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 18:06:37 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 18:06:38 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 18:06:38 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 18:06:38 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 18:06:38 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 18:06:38 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 18:06:38 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 18:06:38 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 18:06:38 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 18:06:39 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 18:06:39 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 18:06:39 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 18:06:39 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 18:06:39 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 18:06:39 [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 18:06:39 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 18:06:39 [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o 18:06:39 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 18:06:39 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 18:06:39 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 18:06:40 [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o 18:06:40 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 18:06:40 [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 18:06:40 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 18:06:40 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 18:06:40 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 18:06:40 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 18:06:41 [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o 18:06:41 [ 68%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 18:06:41 [ 70%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 18:06:41 [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 18:06:41 [ 73%] Linking C shared library libcsdk.so 18:06:41 [ 73%] Built target csdk 18:06:41 Scanning dependencies of target template 18:06:41 [ 75%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 18:06:41 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 18:06:41 [ 76%] Linking C executable template 18:06:41 [ 76%] Built target template 18:06:41 Scanning dependencies of target device-counter 18:06:41 [ 78%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 18:06:42 [ 80%] Linking C executable device-counter 18:06:42 [ 80%] Built target device-counter 18:06:42 Scanning dependencies of target device-random 18:06:42 [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 18:06:42 [ 83%] Linking C executable device-random 18:06:42 [ 83%] Built target device-random 18:06:42 Scanning dependencies of target device-gyro 18:06:42 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 18:06:42 [ 86%] Linking C executable device-gyro 18:06:42 [ 86%] Built target device-gyro 18:06:42 Scanning dependencies of target device-bitfields 18:06:42 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 18:06:42 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 18:06:42 [ 90%] Linking C executable device-bitfields 18:06:42 [ 90%] Built target device-bitfields 18:06:42 Scanning dependencies of target template-discovery 18:06:42 [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 18:06:42 [ 93%] Linking C executable template-discovery 18:06:42 [ 93%] Built target template-discovery 18:06:42 Scanning dependencies of target device-file 18:06:42 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 18:06:42 [ 96%] Linking C executable device-file 18:06:42 [ 96%] Built target device-file 18:06:42 Scanning dependencies of target device-terminal 18:06:43 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 18:06:43 [100%] Linking C executable device-terminal 18:06:43 [100%] Built target device-terminal 18:06:43 make: Entering directory '/tmp/sdk/build/release' 18:06:43 make[1]: Entering directory '/tmp/sdk/build/release' 18:06:43 make[2]: Entering directory '/tmp/sdk/build/release' 18:06:43 make[2]: Leaving directory '/tmp/sdk/build/release' 18:06:43 [ 73%] Built target csdk 18:06:43 make[2]: Entering directory '/tmp/sdk/build/release' 18:06:43 make[2]: Leaving directory '/tmp/sdk/build/release' 18:06:43 [ 76%] Built target template 18:06:43 make[2]: Entering directory '/tmp/sdk/build/release' 18:06:43 make[2]: Leaving directory '/tmp/sdk/build/release' 18:06:43 [ 80%] Built target device-counter 18:06:43 make[2]: Entering directory '/tmp/sdk/build/release' 18:06:43 make[2]: Leaving directory '/tmp/sdk/build/release' 18:06:43 [ 83%] Built target device-random 18:06:43 make[2]: Entering directory '/tmp/sdk/build/release' 18:06:43 make[2]: Leaving directory '/tmp/sdk/build/release' 18:06:43 [ 86%] Built target device-gyro 18:06:43 make[2]: Entering directory '/tmp/sdk/build/release' 18:06:43 make[2]: Leaving directory '/tmp/sdk/build/release' 18:06:43 [ 90%] Built target device-bitfields 18:06:43 make[2]: Entering directory '/tmp/sdk/build/release' 18:06:43 make[2]: Leaving directory '/tmp/sdk/build/release' 18:06:43 [ 93%] Built target template-discovery 18:06:43 make[2]: Entering directory '/tmp/sdk/build/release' 18:06:43 make[2]: Leaving directory '/tmp/sdk/build/release' 18:06:43 [ 96%] Built target device-file 18:06:43 make[2]: Entering directory '/tmp/sdk/build/release' 18:06:43 make[2]: Leaving directory '/tmp/sdk/build/release' 18:06:43 [100%] Built target device-terminal 18:06:43 make[1]: Leaving directory '/tmp/sdk/build/release' 18:06:43 Install the project... 18:06:43 -- Install configuration: "Release" 18:06:43 -- Installing: /usr/local/lib/libcsdk.so 18:06:43 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 18:06:43 -- Up-to-date: /usr/local/include 18:06:43 -- Installing: /usr/local/include/devsdk 18:06:43 -- Installing: /usr/local/include/devsdk/devsdk-base.h 18:06:43 -- Installing: /usr/local/include/devsdk/devsdk.h 18:06:43 -- Installing: /usr/local/include/edgex 18:06:43 -- Installing: /usr/local/include/edgex/devices.h 18:06:43 -- Installing: /usr/local/include/edgex/edgex-base.h 18:06:43 -- Installing: /usr/local/include/edgex/edgex.h 18:06:43 -- Installing: /usr/local/include/edgex/error.h 18:06:43 -- Installing: /usr/local/include/edgex/os.h 18:06:43 -- Installing: /usr/local/include/edgex/profiles.h 18:06:43 -- Installing: /usr/local/include/edgex/rest-server.h 18:06:43 -- Installing: /usr/local/include/edgex/csdk-defs.h 18:06:43 -- Installing: /usr/local/include/iot 18:06:43 -- Installing: /usr/local/include/iot/base64.h 18:06:43 -- Installing: /usr/local/include/iot/component.h 18:06:43 -- Installing: /usr/local/include/iot/config.h 18:06:43 -- Installing: /usr/local/include/iot/container.h 18:06:43 -- Installing: /usr/local/include/iot/data.h 18:06:43 -- Installing: /usr/local/include/iot/hash.h 18:06:43 -- Installing: /usr/local/include/iot/iot.h 18:06:43 -- Installing: /usr/local/include/iot/json.h 18:06:43 -- Installing: /usr/local/include/iot/logger.h 18:06:43 -- Installing: /usr/local/include/iot/os.h 18:06:43 -- Installing: /usr/local/include/iot/scheduler.h 18:06:43 -- Installing: /usr/local/include/iot/thread.h 18:06:43 -- Installing: /usr/local/include/iot/threadpool.h 18:06:43 -- Installing: /usr/local/include/iot/time.h 18:06:43 -- Installing: /usr/local/include/iot/typecode.h 18:06:43 -- Installing: /usr/local/include/iot/os 18:06:43 -- Installing: /usr/local/include/iot/os/linux.h 18:06:43 -- Installing: /usr/local/include/iot/os/macos.h 18:06:43 -- Installing: /usr/local/include/iot/os/zephyr.h 18:06:43 -- Installing: /usr/local/include/iot/defs.h 18:06:43 -- Installing: /usr/local/share/device-sdk-c/LICENSE 18:06:43 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 18:06:43 make: Leaving directory '/tmp/sdk/build/release' 18:06:46 Removing intermediate container e54812ed7a63 18:06:46 ---> 53ebc65db40e 18:06:46 Step 14/21 : FROM ${BASE} 18:06:46 ---> 5eabd8fd8ba2 18:06:46 Step 15/21 : LABEL maintainer="IOTech " 18:06:46 ---> Running in 103fd87cbc6d 18:06:46 Removing intermediate container 103fd87cbc6d 18:06:46 ---> 3e5319f1e91d 18:06:46 Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid 18:06:46 ---> Running in 21609fee239f 18:06:46 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 18:06:46 [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 18:06:46 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 18:06:47 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 18:06:47 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 18:06:47 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 18:06:48 (1/3) Installing curl (7.64.0-r5) 18:06:48 (2/3) Installing libuuid (2.33-r0) 18:06:48 (3/3) Installing wget (1.20.3-r0) 18:06:48 Executing busybox-1.29.3-r10.trigger 18:06:48 OK: 268 MiB in 78 packages 18:06:48 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 18:06:48 Removing intermediate container 21609fee239f 18:06:48 ---> da27b5681b92 18:06:48 Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 18:06:49 ---> 5e92ebb12243 18:06:49 Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 18:06:49 ---> 29454f05e1fd 18:06:49 Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib 18:06:49 ---> 1599c3770d1c 18:06:49 Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 18:06:49 [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o 18:06:49 ---> 775542ebc616 18:06:49 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 18:06:50 ---> 3c8d2a801a92 18:06:50 Successfully built 3c8d2a801a92 18:06:50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) 18:06:51 [ 68%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:06:51 + docker inspect -f . ci-base-image-x86_64 18:06:51 . [Pipeline] withDockerContainer 18:06:52 prd-centos7-docker-4c-2g-25969 does not seem to be running inside a container 18:06:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:06:52 $ docker top 3ae1402667db343dc6991c2e17398149094c818185239fee6beb57c11e99f472 -eo pid,comm [Pipeline] { [Pipeline] sh 18:06:53 + make test 18:06:53 echo "make test" 18:06:53 make test [Pipeline] } 18:06:53 $ docker stop --time=1 3ae1402667db343dc6991c2e17398149094c818185239fee6beb57c11e99f472 18:06:54 [ 70%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 18:06:54 $ docker rm -f 3ae1402667db343dc6991c2e17398149094c818185239fee6beb57c11e99f472 18:06:55 [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 18:06:55 [ 73%] Linking C shared library libcsdk.so 18:06:55 [ 73%] Built target csdk 18:06:55 Scanning dependencies of target template 18:06:55 [ 75%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 18:06:56 [ 76%] Linking C executable template 18:06:56 [ 76%] Built target template 18:06:56 Scanning dependencies of target device-counter 18:06:56 [ 78%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 18:06:57 [ 80%] Linking C executable device-counter 18:06:57 [ 80%] Built target device-counter 18:06:57 Scanning dependencies of target device-random 18:06:57 [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 18:06:57 [ 83%] Linking C executable device-random 18:06:57 [ 83%] Built target device-random 18:06:57 Scanning dependencies of target device-gyro 18:06:57 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 18:06:58 [ 86%] Linking C executable device-gyro [Pipeline] sh 18:06:58 [ 86%] Built target device-gyro 18:06:58 Scanning dependencies of target device-bitfields 18:06:58 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 18:06:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:06:59 + ls -al . 18:06:59 total 160 18:06:59 drwxrwxr-x. 8 jenkins jenkins 260 Feb 10 18:05 . 18:06:59 drwxrwxr-x. 4 jenkins jenkins 28 Feb 10 18:05 .. 18:06:59 -rw-rw-r--. 1 jenkins jenkins 3104 Feb 10 18:05 Attribution.txt 18:06:59 -rw-rw-r--. 1 jenkins jenkins 6490 Feb 10 18:05 CHANGES 18:06:59 drwxrwxr-x. 2 jenkins jenkins 144 Feb 10 18:05 docs 18:06:59 -rw-rw-r--. 1 jenkins jenkins 108574 Feb 10 18:05 Doxyfile 18:06:59 drwxrwxr-x. 8 jenkins jenkins 179 Feb 10 18:05 .git 18:06:59 drwxrwxr-x. 2 jenkins jenkins 81 Feb 10 18:05 .github 18:06:59 -rw-rw-r--. 1 jenkins jenkins 176 Feb 10 18:05 .gitignore 18:06:59 drwxrwxr-x. 4 jenkins jenkins 33 Feb 10 18:05 include 18:06:59 -rw-rw-r--. 1 jenkins jenkins 784 Feb 10 18:05 Jenkinsfile 18:06:59 -rw-rw-r--. 1 jenkins jenkins 10174 Feb 10 18:05 LICENSE 18:06:59 -rw-rw-r--. 1 jenkins jenkins 449 Feb 10 18:05 Makefile 18:06:59 -rw-rw-r--. 1 jenkins jenkins 2697 Feb 10 18:05 README.md 18:06:59 -rw-rw-r--. 1 jenkins jenkins 6378 Feb 10 18:05 README.v2.md 18:06:59 drwxrwxr-x. 2 jenkins jenkins 98 Feb 10 18:05 scripts 18:06:59 drwxrwxr-x. 4 jenkins jenkins 50 Feb 10 18:05 src 18:06:59 -rw-rw-r--. 1 jenkins jenkins 5 Feb 10 18:02 VERSION [Pipeline] isUnix [Pipeline] sh 18:06:59 [ 90%] Linking C executable device-bitfields 18:06:59 [ 90%] Built target device-bitfields 18:06:59 Scanning dependencies of target template-discovery 18:06:59 [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 18:06:59 + docker build -t docker-device-sdk-c -f scripts/Dockerfile.alpine --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=21d00fda687168c389444e538d1872970232d4ad --label arch=amd64 --label version=0.0.0 . 18:06:59 Sending build context to Docker daemon 2.505MB 18:06:59 Step 1/15 : ARG BASE=alpine:3.12 18:06:59 Step 2/15 : FROM ${BASE} 18:06:59 ---> 3c8d2a801a92 18:06:59 Step 3/15 : LABEL maintainer="IOTech " 18:06:59 ---> Running in e1e5263043df 18:06:59 [ 93%] Linking C executable template-discovery 18:07:00 Removing intermediate container e1e5263043df 18:07:00 ---> 4873c256f6a5 18:07:00 Step 4/15 : 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 && mkdir -p /edgex-c-sdk/build 18:07:00 ---> Running in 678438d1ccc8 18:07:00 [ 93%] Built target template-discovery 18:07:00 Scanning dependencies of target device-file 18:07:00 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 18:07:00 [ 96%] Linking C executable device-file 18:07:00 [ 96%] Built target device-file 18:07:00 Scanning dependencies of target device-terminal 18:07:01 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 18:07:01 [100%] Linking C executable device-terminal 18:07:01 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 18:07:01 [100%] Built target device-terminal 18:07:01 + make package 18:07:01 + tee -a release.log 18:07:01 [ 73%] Built target csdk 18:07:01 [ 76%] Built target template 18:07:01 [ 80%] Built target device-counter 18:07:01 [ 83%] Built target device-random 18:07:02 [ 86%] Built target device-gyro 18:07:02 [ 90%] Built target device-bitfields 18:07:02 [ 93%] Built target template-discovery 18:07:02 [ 96%] Built target device-file 18:07:02 [100%] Built target device-terminal 18:07:02 Run CPack packaging tool... 18:07:02 CPack: Create package using TGZ 18:07:02 CPack: Install projects 18:07:02 CPack: - Run preinstall target for: Csdk 18:07:02 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 18:07:02 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 18:07:02 (2/6) Installing libblkid (2.33-r0) 18:07:02 (3/6) Installing libfdisk (2.33-r0) 18:07:02 (4/6) Installing libmount (2.33-r0) 18:07:02 (5/6) Installing libsmartcols (2.33-r0) 18:07:02 CPack: - Install project: Csdk 18:07:02 CPack: Create package 18:07:03 (6/6) Installing util-linux-dev (2.33-r0) 18:07:03 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 18:07:03 + '[' false '=' true ] 18:07:03 + '[' false '=' true ] 18:07:03 + mkdir -p /tmp/sdk/build/debug 18:07:03 + cd /tmp/sdk/build/debug 18:07:03 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 18:07:03 Executing busybox-1.29.3-r10.trigger 18:07:03 OK: 272 MiB in 84 packages 18:07:03 -- The C compiler identification is GNU 8.3.0 18:07:03 -- Check for working C compiler: /usr/bin/cc 18:07:03 -- Check for working C compiler: /usr/bin/cc -- works 18:07:03 -- Detecting C compiler ABI info 18:07:03 Removing intermediate container 678438d1ccc8 18:07:03 ---> 0fb3106b8bcb 18:07:03 Step 5/15 : COPY VERSION /edgex-c-sdk/ 18:07:03 -- Detecting C compiler ABI info - done 18:07:03 -- Detecting C compile features 18:07:04 ---> 3b5098aea627 18:07:04 Step 6/15 : COPY src /edgex-c-sdk/src/ 18:07:04 -- Detecting C compile features - done 18:07:04 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 18:07:04 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 18:07:04 -- Found LIBYAML: /usr/lib/libyaml.so 18:07:04 -- Found LIBUUID: /usr/lib/libuuid.so 18:07:04 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 18:07:04 -- C SDK 0.0.0 for Linux 18:07:04 -- Performing Test CSDK_HAVE_ATOMIC 18:07:04 -- Performing Test CSDK_HAVE_ATOMIC - Success 18:07:04 -- Found Curses: /usr/lib/libcurses.so 18:07:05 -- Configuring done 18:07:05 ---> 9ebf75549847 18:07:05 Step 7/15 : COPY include /edgex-c-sdk/include/ 18:07:05 ---> 9a5e2555e177 18:07:05 Step 8/15 : COPY scripts /edgex-c-sdk/scripts 18:07:05 -- Generating done 18:07:05 -- Build files have been written to: /tmp/sdk/build/debug 18:07:05 + + maketee debug.log 18:07:05 18:07:05 Scanning dependencies of target csdk 18:07:05 ---> dff9385258e2 18:07:05 Step 9/15 : COPY LICENSE /edgex-c-sdk/ 18:07:05 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 18:07:05 ---> 3d7f5b3d6758 18:07:05 Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ 18:07:05 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 18:07:05 ---> 30b7ca51ae55 18:07:05 Step 11/15 : WORKDIR /edgex-c-sdk 18:07:05 ---> Running in ea1d319486fb 18:07:06 [ 5%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 18:07:06 Removing intermediate container ea1d319486fb 18:07:06 ---> 330976f63147 18:07:06 Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 18:07:06 ---> Running in f01cc33460fd 18:07:06 [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o 18:07:06 Removing intermediate container f01cc33460fd 18:07:06 ---> 2048dd970adc 18:07:06 Step 13/15 : LABEL arch=amd64 18:07:06 ---> Running in 444eb9cfb7e7 18:07:06 Removing intermediate container 444eb9cfb7e7 18:07:06 ---> 94bed508bed0 18:07:06 Step 14/15 : LABEL git_sha=21d00fda687168c389444e538d1872970232d4ad 18:07:06 ---> Running in 6e68d464e581 18:07:06 Removing intermediate container 6e68d464e581 18:07:06 ---> 2a9837fbac4b 18:07:06 Step 15/15 : LABEL version=0.0.0 18:07:06 ---> Running in e13a16d67709 18:07:06 Removing intermediate container e13a16d67709 18:07:06 ---> a4ebcf830ed4 18:07:06 [Warning] One or more build-args [ARCH MAKE] were not consumed 18:07:06 Successfully built a4ebcf830ed4 18:07:06 [ 8%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 18:07:07 Successfully tagged docker-device-sdk-c:latest [Pipeline] } 18:07:07 [ 10%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [Pipeline] // script [Pipeline] } [Pipeline] // stage 18:07:07 [ 11%] Building C object c/CMakeFiles/csdk.dir/data.c.o [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage 18:07:07 [ 13%] Building C object c/CMakeFiles/csdk.dir/device.c.o [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv 18:07:08 [ 15%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [Pipeline] } [Pipeline] // ws [Pipeline] } 18:07:08 [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 18:07:08 [ 18%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 18:07:09 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 18:07:09 [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 18:07:09 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 18:07:09 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 18:07:10 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 18:07:10 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 18:07:11 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 18:07:11 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 18:07:11 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 18:07:12 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 18:07:12 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 18:07:12 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 18:07:13 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 18:07:13 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 18:07:13 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 18:07:13 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 18:07:13 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 18:07:14 [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 18:07:14 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 18:07:14 [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o 18:07:14 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 18:07:15 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 18:07:15 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 18:07:16 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 18:07:16 [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 18:07:17 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 18:07:17 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 18:07:17 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 18:07:18 [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o 18:07:18 [ 68%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 18:07:19 [ 70%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 18:07:19 [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 18:07:20 [ 73%] Linking C shared library libcsdk.so 18:07:20 [ 73%] Built target csdk 18:07:20 Scanning dependencies of target template 18:07:20 [ 75%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 18:07:20 [ 76%] Linking C executable template 18:07:20 [ 76%] Built target template 18:07:20 Scanning dependencies of target device-counter 18:07:20 [ 78%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 18:07:21 [ 80%] Linking C executable device-counter 18:07:21 [ 80%] Built target device-counter 18:07:21 Scanning dependencies of target device-random 18:07:21 [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 18:07:21 [ 83%] Linking C executable device-random 18:07:21 [ 83%] Built target device-random 18:07:21 Scanning dependencies of target device-gyro 18:07:21 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 18:07:22 [ 86%] Linking C executable device-gyro 18:07:22 [ 86%] Built target device-gyro 18:07:22 Scanning dependencies of target device-bitfields 18:07:22 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 18:07:22 [ 90%] Linking C executable device-bitfields 18:07:22 [ 90%] Built target device-bitfields 18:07:22 Scanning dependencies of target template-discovery 18:07:22 [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 18:07:23 [ 93%] Linking C executable template-discovery 18:07:23 [ 93%] Built target template-discovery 18:07:23 Scanning dependencies of target device-file 18:07:23 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 18:07:23 [ 96%] Linking C executable device-file 18:07:23 [ 96%] Built target device-file 18:07:23 Scanning dependencies of target device-terminal 18:07:23 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 18:07:24 [100%] Linking C executable device-terminal 18:07:24 [100%] Built target device-terminal 18:07:24 make: Entering directory '/tmp/sdk/build/release' 18:07:24 make[1]: Entering directory '/tmp/sdk/build/release' 18:07:24 make[2]: Entering directory '/tmp/sdk/build/release' 18:07:24 make[2]: Leaving directory '/tmp/sdk/build/release' 18:07:24 [ 73%] Built target csdk 18:07:24 make[2]: Entering directory '/tmp/sdk/build/release' 18:07:24 make[2]: Leaving directory '/tmp/sdk/build/release' 18:07:24 [ 76%] Built target template 18:07:24 make[2]: Entering directory '/tmp/sdk/build/release' 18:07:24 make[2]: Leaving directory '/tmp/sdk/build/release' 18:07:24 [ 80%] Built target device-counter 18:07:24 make[2]: Entering directory '/tmp/sdk/build/release' 18:07:24 make[2]: Leaving directory '/tmp/sdk/build/release' 18:07:24 [ 83%] Built target device-random 18:07:24 make[2]: Entering directory '/tmp/sdk/build/release' 18:07:24 make[2]: Leaving directory '/tmp/sdk/build/release' 18:07:24 [ 86%] Built target device-gyro 18:07:24 make[2]: Entering directory '/tmp/sdk/build/release' 18:07:24 make[2]: Leaving directory '/tmp/sdk/build/release' 18:07:24 [ 90%] Built target device-bitfields 18:07:24 make[2]: Entering directory '/tmp/sdk/build/release' 18:07:24 make[2]: Leaving directory '/tmp/sdk/build/release' 18:07:24 [ 93%] Built target template-discovery 18:07:24 make[2]: Entering directory '/tmp/sdk/build/release' 18:07:24 make[2]: Leaving directory '/tmp/sdk/build/release' 18:07:24 [ 96%] Built target device-file 18:07:24 make[2]: Entering directory '/tmp/sdk/build/release' 18:07:24 make[2]: Leaving directory '/tmp/sdk/build/release' 18:07:24 [100%] Built target device-terminal 18:07:24 make[1]: Leaving directory '/tmp/sdk/build/release' 18:07:24 Install the project... 18:07:24 -- Install configuration: "Release" 18:07:24 -- Installing: /usr/local/lib/libcsdk.so 18:07:24 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 18:07:24 -- Up-to-date: /usr/local/include 18:07:24 -- Installing: /usr/local/include/edgex 18:07:24 -- Installing: /usr/local/include/edgex/error.h 18:07:24 -- Installing: /usr/local/include/edgex/rest-server.h 18:07:24 -- Installing: /usr/local/include/edgex/edgex-base.h 18:07:24 -- Installing: /usr/local/include/edgex/edgex.h 18:07:24 -- Installing: /usr/local/include/edgex/devices.h 18:07:24 -- Installing: /usr/local/include/edgex/os.h 18:07:24 -- Installing: /usr/local/include/edgex/profiles.h 18:07:24 -- Installing: /usr/local/include/edgex/csdk-defs.h 18:07:24 -- Installing: /usr/local/include/devsdk 18:07:24 -- Installing: /usr/local/include/devsdk/devsdk-base.h 18:07:24 -- Installing: /usr/local/include/devsdk/devsdk.h 18:07:24 -- Installing: /usr/local/include/iot 18:07:24 -- Installing: /usr/local/include/iot/json.h 18:07:24 -- Installing: /usr/local/include/iot/container.h 18:07:24 -- Installing: /usr/local/include/iot/component.h 18:07:24 -- Installing: /usr/local/include/iot/typecode.h 18:07:24 -- Installing: /usr/local/include/iot/iot.h 18:07:24 -- Installing: /usr/local/include/iot/time.h 18:07:24 -- Installing: /usr/local/include/iot/hash.h 18:07:24 -- Installing: /usr/local/include/iot/logger.h 18:07:24 -- Installing: /usr/local/include/iot/os 18:07:24 -- Installing: /usr/local/include/iot/os/zephyr.h 18:07:24 -- Installing: /usr/local/include/iot/os/linux.h 18:07:24 -- Installing: /usr/local/include/iot/os/macos.h 18:07:24 -- Installing: /usr/local/include/iot/scheduler.h 18:07:24 -- Installing: /usr/local/include/iot/data.h 18:07:24 -- Installing: /usr/local/include/iot/thread.h 18:07:24 -- Installing: /usr/local/include/iot/os.h 18:07:24 -- Installing: /usr/local/include/iot/base64.h 18:07:24 -- Installing: /usr/local/include/iot/defs.h 18:07:24 -- Installing: /usr/local/include/iot/threadpool.h 18:07:24 -- Installing: /usr/local/include/iot/config.h 18:07:24 -- Installing: /usr/local/share/device-sdk-c/LICENSE 18:07:24 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 18:07:24 make: Leaving directory '/tmp/sdk/build/release' 18:07:27 Removing intermediate container 60f6529b5a3a 18:07:27 ---> a881478ac68c 18:07:27 Step 14/21 : FROM ${BASE} 18:07:27 ---> b23d30803547 18:07:27 Step 15/21 : LABEL maintainer="IOTech " 18:07:27 ---> Running in 549a4018f62f 18:07:27 Removing intermediate container 549a4018f62f 18:07:27 ---> 1acdc80b5f6a 18:07:27 Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid 18:07:28 ---> Running in f269bf8dcc3e 18:07:29 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 18:07:30 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 18:07:30 (1/3) Installing curl (7.64.0-r5) 18:07:30 (2/3) Installing libuuid (2.33-r0) 18:07:30 (3/3) Installing wget (1.20.3-r0) 18:07:30 Executing busybox-1.29.3-r10.trigger 18:07:30 OK: 281 MiB in 78 packages 18:07:31 Removing intermediate container f269bf8dcc3e 18:07:31 ---> 423d55af529d 18:07:31 Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 18:07:32 ---> e05ba3b6fbc3 18:07:32 Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 18:07:33 ---> 98521fc00bb8 18:07:33 Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib 18:07:34 ---> 99ccce9a861a 18:07:34 Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 18:07:35 ---> 2520f65da74a 18:07:35 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 18:07:35 ---> f2d6fcee415e 18:07:35 Successfully built f2d6fcee415e 18:07:35 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:07:36 + docker inspect -f . ci-base-image-arm64 18:07:36 . [Pipeline] withDockerContainer 18:07:37 prd-ubuntu18.04-docker-arm64-4c-16g-25967 does not seem to be running inside a container 18:07:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:07:38 $ docker top 88b034f200864ee3745647134c9a22350c29aa18a6074615d46b783553689d60 -eo pid,comm [Pipeline] { [Pipeline] sh 18:07:39 + make test 18:07:39 echo "make test" 18:07:39 make test [Pipeline] } 18:07:39 $ docker stop --time=1 88b034f200864ee3745647134c9a22350c29aa18a6074615d46b783553689d60 18:07:41 $ docker rm -f 88b034f200864ee3745647134c9a22350c29aa18a6074615d46b783553689d60 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:07:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:07:43 + ls -al . 18:07:43 total 192 18:07:43 drwxrwxr-x 8 jenkins jenkins 4096 Feb 10 18:05 . 18:07:43 drwxrwxr-x 4 jenkins jenkins 4096 Feb 10 18:05 .. 18:07:43 drwxrwxr-x 8 jenkins jenkins 4096 Feb 10 18:05 .git 18:07:43 drwxrwxr-x 2 jenkins jenkins 4096 Feb 10 18:05 .github 18:07:43 -rw-rw-r-- 1 jenkins jenkins 176 Feb 10 18:05 .gitignore 18:07:43 -rw-rw-r-- 1 jenkins jenkins 3104 Feb 10 18:05 Attribution.txt 18:07:43 -rw-rw-r-- 1 jenkins jenkins 6490 Feb 10 18:05 CHANGES 18:07:43 -rw-rw-r-- 1 jenkins jenkins 108574 Feb 10 18:05 Doxyfile 18:07:43 -rw-rw-r-- 1 jenkins jenkins 784 Feb 10 18:05 Jenkinsfile 18:07:43 -rw-rw-r-- 1 jenkins jenkins 10174 Feb 10 18:05 LICENSE 18:07:43 -rw-rw-r-- 1 jenkins jenkins 449 Feb 10 18:05 Makefile 18:07:43 -rw-rw-r-- 1 jenkins jenkins 2697 Feb 10 18:05 README.md 18:07:43 -rw-rw-r-- 1 jenkins jenkins 6378 Feb 10 18:05 README.v2.md 18:07:43 -rw-rw-r-- 1 jenkins jenkins 5 Feb 10 18:02 VERSION 18:07:43 drwxrwxr-x 2 jenkins jenkins 4096 Feb 10 18:05 docs 18:07:43 drwxrwxr-x 4 jenkins jenkins 4096 Feb 10 18:05 include 18:07:43 drwxrwxr-x 2 jenkins jenkins 4096 Feb 10 18:05 scripts 18:07:43 drwxrwxr-x 4 jenkins jenkins 4096 Feb 10 18:05 src [Pipeline] isUnix [Pipeline] sh 18:07:43 + docker build -t docker-device-sdk-c-arm64 -f scripts/Dockerfile.alpine --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=21d00fda687168c389444e538d1872970232d4ad --label arch=arm64 --label version=0.0.0 . 18:07:44 Sending build context to Docker daemon 2.504MB 18:07:44 Step 1/15 : ARG BASE=alpine:3.12 18:07:44 Step 2/15 : FROM ${BASE} 18:07:44 ---> f2d6fcee415e 18:07:44 Step 3/15 : LABEL maintainer="IOTech " 18:07:44 ---> Running in 69abadf7fe3c 18:07:45 Removing intermediate container 69abadf7fe3c 18:07:45 ---> ca05003b1bdb 18:07:45 Step 4/15 : 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 && mkdir -p /edgex-c-sdk/build 18:07:45 ---> Running in a303ce1e3dec 18:07:46 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 18:07:47 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 18:07:47 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 18:07:47 (2/6) Installing libblkid (2.33-r0) 18:07:47 (3/6) Installing libfdisk (2.33-r0) 18:07:47 (4/6) Installing libmount (2.33-r0) 18:07:48 (5/6) Installing libsmartcols (2.33-r0) 18:07:48 (6/6) Installing util-linux-dev (2.33-r0) 18:07:48 Executing busybox-1.29.3-r10.trigger 18:07:48 OK: 286 MiB in 84 packages 18:07:49 Removing intermediate container a303ce1e3dec 18:07:49 ---> 4188db659b06 18:07:49 Step 5/15 : COPY VERSION /edgex-c-sdk/ 18:07:50 ---> 1b72fe850114 18:07:50 Step 6/15 : COPY src /edgex-c-sdk/src/ 18:07:51 ---> cb79dd3e328a 18:07:51 Step 7/15 : COPY include /edgex-c-sdk/include/ 18:07:52 ---> 5b85b08575fe 18:07:52 Step 8/15 : COPY scripts /edgex-c-sdk/scripts 18:07:52 ---> 6a0dd26734ff 18:07:52 Step 9/15 : COPY LICENSE /edgex-c-sdk/ 18:07:53 ---> 9c3ccef48d14 18:07:53 Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ 18:07:54 ---> 3df07a67b5af 18:07:54 Step 11/15 : WORKDIR /edgex-c-sdk 18:07:54 ---> Running in a9741c1ae78d 18:07:54 Removing intermediate container a9741c1ae78d 18:07:54 ---> 39a34f2e9787 18:07:54 Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 18:07:54 ---> Running in 5cd25bb9e6cb 18:07:55 Removing intermediate container 5cd25bb9e6cb 18:07:55 ---> 1f242b463a92 18:07:55 Step 13/15 : LABEL arch=arm64 18:07:55 ---> Running in cf9d20d29c57 18:07:55 Removing intermediate container cf9d20d29c57 18:07:55 ---> 6f018c070bc2 18:07:55 Step 14/15 : LABEL git_sha=21d00fda687168c389444e538d1872970232d4ad 18:07:55 ---> Running in 545e956f37eb 18:07:56 Removing intermediate container 545e956f37eb 18:07:56 ---> b4fac4fadaa1 18:07:56 Step 15/15 : LABEL version=0.0.0 18:07:56 ---> Running in aee393872507 18:07:56 Removing intermediate container aee393872507 18:07:56 ---> d767bcfd6feb 18:07:56 [Warning] One or more build-args [ARCH MAKE] were not consumed 18:07:56 Successfully built d767bcfd6feb 18:07:56 Successfully tagged docker-device-sdk-c-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] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [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 18:08:00 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:08:01 ---> package-listing.sh 18:08:01 ++ facter osfamily 18:08:01 ++ tr '[:upper:]' '[:lower:]' 18:08:01 + OS_FAMILY=redhat 18:08:01 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-320 18:08:01 + START_PACKAGES=/tmp/packages_start.txt 18:08:01 + END_PACKAGES=/tmp/packages_end.txt 18:08:01 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:08:01 + PACKAGES=/tmp/packages_start.txt 18:08:01 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-320 ']' 18:08:01 + PACKAGES=/tmp/packages_end.txt 18:08:01 + case "${OS_FAMILY}" in 18:08:01 + rpm -qa 18:08:01 + sort 18:08:06 + '[' -f /tmp/packages_start.txt ']' 18:08:06 + '[' -f /tmp/packages_end.txt ']' 18:08:06 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:08:06 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-320 ']' 18:08:06 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-320/archives/ 18:08:06 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-320/archives/ [Pipeline] echo 18:08:06 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-320/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:08:06 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 18:08:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:08:07 18:08:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 18:08:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:08:07 alpine: Pulling from edgex-lftools-log-publisher 18:08:07 df20fa9351a1: Pulling fs layer 18:08:07 36b3adc4ff6f: Pulling fs layer 18:08:07 8ad3a11d3b57: Pulling fs layer 18:08:07 46f8f816bc3b: Pulling fs layer 18:08:07 93b61091891f: Pulling fs layer 18:08:07 93b9cdb0e59b: Pulling fs layer 18:08:07 5e14af77c1be: Pulling fs layer 18:08:07 01666e4c0597: Pulling fs layer 18:08:07 aa168da1d23b: Pulling fs layer 18:08:07 93b61091891f: Waiting 18:08:07 93b9cdb0e59b: Waiting 18:08:07 5e14af77c1be: Waiting 18:08:07 01666e4c0597: Waiting 18:08:07 aa168da1d23b: Waiting 18:08:07 46f8f816bc3b: Waiting 18:08:07 36b3adc4ff6f: Verifying Checksum 18:08:07 36b3adc4ff6f: Download complete 18:08:07 46f8f816bc3b: Download complete 18:08:08 df20fa9351a1: Verifying Checksum 18:08:08 93b9cdb0e59b: Verifying Checksum 18:08:08 93b9cdb0e59b: Download complete 18:08:08 5e14af77c1be: Verifying Checksum 18:08:08 5e14af77c1be: Download complete 18:08:08 93b61091891f: Verifying Checksum 18:08:08 93b61091891f: Download complete 18:08:08 01666e4c0597: Verifying Checksum 18:08:08 01666e4c0597: Download complete 18:08:08 df20fa9351a1: Pull complete 18:08:08 36b3adc4ff6f: Pull complete 18:08:08 8ad3a11d3b57: Verifying Checksum 18:08:08 8ad3a11d3b57: Download complete 18:08:09 8ad3a11d3b57: Pull complete 18:08:10 aa168da1d23b: Download complete 18:08:10 46f8f816bc3b: Pull complete 18:08:11 93b61091891f: Pull complete 18:08:11 93b9cdb0e59b: Pull complete 18:08:11 5e14af77c1be: Pull complete 18:08:11 01666e4c0597: Pull complete 18:08:19 aa168da1d23b: Pull complete 18:08:19 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 18:08:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:08:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 18:08:19 prd-centos7-docker-4c-2g-25966 does not seem to be running inside a container 18:08: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-320/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-320 -v /w/workspace/edgexfoundry_device-sdk-c_PR-320:/w/workspace/edgexfoundry_device-sdk-c_PR-320:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-320@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-320@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 18:08:23 $ docker top 0da197d4eda00d97eae295e5b2910d02dec1bd99a36a0ffc234bfc59c6f4a478 -eo pid,comm [Pipeline] { [Pipeline] sh 18:08:23 + touch /tmp/pre-build-complete [Pipeline] sh 18:08:24 + mkdir -p /var/log/sa [Pipeline] sh 18:08:24 + ls /var/log/sa-host 18:08:24 + sadf -c /var/log/sa-host/sa10 18:08:24 file_magic: OK 18:08:24 HZ: Using current value: 100 18:08:24 file_header: OK 18:08: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 18:08:24 Statistics: 18:08:24 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 18:08:24 File successfully converted to sysstat format version 12.2.1 18:08:24 + sadf -c /var/log/sa-host/sa23 18:08:24 file_magic: OK 18:08:24 HZ: Using current value: 100 18:08:24 file_header: OK 18:08: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 18:08:24 Statistics: 18:08:24 Hnuu...uuuununununu... 18:08:24 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:08:25 provisioning config files... 18:08:25 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-320@tmp/config5519669437390874889tmp [Pipeline] { [Pipeline] echo 18:08:25 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:08:25 ---> create-netrc.sh [Pipeline] } 18:08:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 18:08:26 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 18:08:26 ---> python-tools-install.sh [Pipeline] echo 18:08:26 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:08:26 ---> sudo-logs.sh 18:08:26 Archiving 'sudo' log.. [Pipeline] echo 18:08:26 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:08:27 ---> job-cost.sh 18:08:27 lf-activate-venv: SKIPPING 18:08:27 INFO: No Stack... 18:08:28 INFO: Retrieving Pricing Info for: v1-standard-2 18:08:28 INFO: Archiving Costs [Pipeline] echo 18:08:28 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:08:29 ---> logs-deploy.sh 18:08:29 lf-activate-venv: SKIPPING 18:08:29 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-320/1 18:08:29 INFO: archiving workspace using pattern(s): 18:08:30 Archives upload complete. 18:08:30 INFO: archiving logs to Nexus 18:08:31 ---> uname -a: 18:08:31 Linux prd-centos7-docker-4c-2g-25966.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 18:08:31 18:08:31 18:08:31 ---> lscpu: 18:08:31 Architecture: x86_64 18:08:31 CPU op-mode(s): 32-bit, 64-bit 18:08:31 Byte Order: Little Endian 18:08:31 Address sizes: 40 bits physical, 48 bits virtual 18:08:31 CPU(s): 4 18:08:31 On-line CPU(s) list: 0-3 18:08:31 Thread(s) per core: 1 18:08:31 Core(s) per socket: 1 18:08:31 Socket(s): 4 18:08:31 NUMA node(s): 1 18:08:31 Vendor ID: GenuineIntel 18:08:31 CPU family: 6 18:08:31 Model: 44 18:08:31 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 18:08:31 Stepping: 1 18:08:31 CPU MHz: 2933.436 18:08:31 BogoMIPS: 5866.87 18:08:31 Virtualization: VT-x 18:08:31 Hypervisor vendor: KVM 18:08:31 Virtualization type: full 18:08:31 L1d cache: 128 KiB 18:08:31 L1i cache: 128 KiB 18:08:31 L2 cache: 16 MiB 18:08:31 L3 cache: 64 MiB 18:08:31 NUMA node0 CPU(s): 0-3 18:08:31 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 18:08:31 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 18:08:31 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 18:08:31 Vulnerability Meltdown: Mitigation; PTI 18:08:31 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 18:08:31 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 18:08:31 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 18:08:31 Vulnerability Srbds: Not affected 18:08:31 Vulnerability Tsx async abort: Not affected 18:08:31 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 18:08:31 18:08:31 18:08:31 ---> nproc: 18:08:31 4 18:08:31 18:08:31 18:08:31 ---> df -h: 18:08:31 Filesystem Size Used Available Use% Mounted on 18:08:31 overlay 50.0G 7.3G 42.7G 15% / 18:08:31 tmpfs 64.0M 0 64.0M 0% /dev 18:08:31 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 18:08:31 shm 64.0M 0 64.0M 0% /dev/shm 18:08:31 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 18:08:31 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 18:08:31 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 18:08:31 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 18:08:31 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/edgexfoundry_device-sdk-c_PR-320@tmp 18:08:31 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 18:08:31 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 18:08:31 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 18:08:31 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 18:08:31 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/edgexfoundry_device-sdk-c_PR-320 18:08:31 18:08:31 18:08:31 ---> free -m: 18:08:31 total used free shared buff/cache available 18:08:31 Mem: 1837 716 100 0 1019 1015 18:08:31 Swap: 1023 0 1023 18:08:31 18:08:31 18:08:31 ---> ip addr: 18:08:31 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 18:08:31 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 18:08:31 inet 127.0.0.1/8 scope host lo 18:08:31 valid_lft forever preferred_lft forever 18:08:31 inet6 ::1/128 scope host 18:08:31 valid_lft forever preferred_lft forever 18:08:31 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 18:08:31 link/ether fa:16:3e:5f:79:aa brd ff:ff:ff:ff:ff:ff 18:08:31 inet 10.30.122.237/23 brd 10.30.123.255 scope global dynamic eth0 18:08:31 valid_lft 85999sec preferred_lft 85999sec 18:08:31 inet6 fe80::f816:3eff:fe5f:79aa/64 scope link 18:08:31 valid_lft forever preferred_lft forever 18:08:31 3: docker0: mtu 1500 qdisc noqueue state DOWN 18:08:31 link/ether 02:42:1d:3a:c7:f8 brd ff:ff:ff:ff:ff:ff 18:08:31 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 18:08:31 valid_lft forever preferred_lft forever 18:08:31 inet6 fe80::42:1dff:fe3a:c7f8/64 scope link 18:08:31 valid_lft forever preferred_lft forever 18:08:31 18:08:31 18:08:31 ---> sar -b -r -n DEV: 18:08:31 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 02/10/21 _x86_64_ (4 CPU) 18:08:31 18:08:31 18:01:40 LINUX RESTART (4 CPU) 18:08:31 18:08:31 18:02:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 18:08:31 18:03:01 119.93 44.36 75.57 0.00 7852.01 34703.54 0.00 18:08:31 18:04:01 3.37 0.02 3.35 0.00 0.54 108.23 0.00 18:08:31 18:05:01 0.40 0.00 0.40 0.00 0.00 5.91 0.00 18:08:31 18:06:01 0.25 0.00 0.25 0.00 0.00 2.83 0.00 18:08:31 18:07:01 0.18 0.00 0.18 0.00 0.00 2.18 0.00 18:08:31 18:08:01 0.58 0.18 0.40 0.00 7.59 5.44 0.00 18:08:31 Average: 20.85 7.45 13.40 0.00 1314.51 5824.24 0.00 18:08:31 18:08:31 18:02:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 18:08:31 18:03:01 154892 0 618956 32.90 2620 1105076 1106780 37.77 415072 1112528 124 18:08:31 18:04:01 159684 0 614084 32.64 2620 1105156 1079380 36.84 414380 1109580 12 18:08:31 18:05:01 159172 0 614592 32.66 2620 1105160 1079512 36.84 430372 1094352 16 18:08:31 18:06:01 158824 0 614940 32.68 2620 1105160 1079512 36.84 430408 1094352 8 18:08:31 18:07:01 158092 0 615612 32.72 2620 1105220 1079380 36.84 433996 1091812 24 18:08:31 18:08:01 154496 0 619004 32.90 2620 1105424 1082900 36.96 436252 1091908 72 18:08:31 Average: 157527 0 616198 32.75 2620 1105199 1084577 37.01 426747 1099089 43 18:08:31 18:08:31 18:02:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 18:08:31 18:03:01 eth0 519.68 336.61 1091.06 95.99 0.00 0.00 0.00 0.00 18:08:31 18:03:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:08:31 18:03:01 docker0 7.44 5.56 0.89 21.82 0.00 0.00 0.00 0.00 18:08:31 18:04:01 eth0 1.12 0.10 0.09 0.02 0.00 0.00 0.00 0.00 18:08:31 18:04:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:08:31 18:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:08:31 18:05:01 eth0 3.93 2.13 3.64 0.47 0.00 0.00 0.00 0.00 18:08:31 18:05:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:08:31 18:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:08:31 18:06:01 eth0 0.93 0.38 0.32 0.23 0.00 0.00 0.00 0.00 18:08:31 18:06:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:08:31 18:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:08:31 18:07:01 eth0 0.12 0.08 0.01 0.01 0.00 0.00 0.00 0.00 18:08:31 18:07:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:08:31 18:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:08:31 18:08:01 eth0 2.98 1.95 3.01 0.93 0.00 0.00 0.00 0.00 18:08:31 18:08:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:08:31 18:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:08:31 Average: eth0 88.42 57.07 183.65 16.33 0.00 0.00 0.00 0.00 18:08:31 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:08:31 Average: docker0 1.24 0.93 0.15 3.65 0.00 0.00 0.00 0.00 18:08:31 18:08:31 18:08:31 ---> sar -P ALL: 18:08:31 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 02/10/21 _x86_64_ (4 CPU) 18:08:31 18:08:31 18:01:40 LINUX RESTART (4 CPU) 18:08:31 18:08:31 18:02:01 CPU %user %nice %system %iowait %steal %idle 18:08:31 18:03:01 all 13.51 0.00 7.13 3.91 0.30 75.15 18:08:31 18:03:01 0 13.27 0.00 7.11 3.79 0.32 75.51 18:08:31 18:03:01 1 12.31 0.00 7.39 6.30 0.34 73.67 18:08:31 18:03:01 2 12.24 0.00 6.39 3.21 0.25 77.90 18:08:31 18:03:01 3 16.25 0.00 7.64 2.32 0.27 73.52 18:08:31 18:04:01 all 0.18 0.00 0.06 0.00 0.00 99.76 18:08:31 18:04:01 0 0.17 0.00 0.08 0.00 0.00 99.75 18:08:31 18:04:01 1 0.39 0.00 0.03 0.00 0.00 99.58 18:08:31 18:04:01 2 0.03 0.00 0.05 0.00 0.00 99.92 18:08:31 18:04:01 3 0.12 0.00 0.07 0.00 0.00 99.81 18:08:31 18:05:01 all 0.20 0.00 0.06 0.00 0.01 99.73 18:08:31 18:05:01 0 0.55 0.00 0.07 0.00 0.03 99.35 18:08:31 18:05:01 1 0.07 0.00 0.05 0.00 0.00 99.88 18:08:31 18:05:01 2 0.07 0.00 0.08 0.00 0.00 99.85 18:08:31 18:05:01 3 0.10 0.00 0.05 0.00 0.02 99.83 18:08:31 18:06:01 all 0.13 0.00 0.04 0.00 0.00 99.82 18:08:31 18:06:01 0 0.45 0.00 0.05 0.00 0.00 99.50 18:08:31 18:06:01 1 0.05 0.00 0.07 0.00 0.00 99.88 18:08:31 18:06:01 2 0.03 0.00 0.02 0.00 0.00 99.95 18:08:31 18:06:01 3 0.00 0.00 0.03 0.00 0.00 99.97 18:08:31 18:07:01 all 0.16 0.00 0.07 0.00 0.01 99.75 18:08:31 18:07:01 0 0.42 0.00 0.03 0.00 0.00 99.55 18:08:31 18:07:01 1 0.10 0.00 0.05 0.00 0.02 99.83 18:08:31 18:07:01 2 0.07 0.00 0.13 0.00 0.02 99.78 18:08:31 18:07:01 3 0.07 0.00 0.07 0.00 0.02 99.85 18:08:31 18:08:01 all 0.32 0.00 0.14 0.00 0.00 99.54 18:08:31 18:08:01 0 0.83 0.00 0.12 0.00 0.00 99.05 18:08:31 18:08:01 1 0.17 0.00 0.10 0.00 0.00 99.73 18:08:31 18:08:01 2 0.07 0.00 0.18 0.00 0.00 99.75 18:08:31 18:08:01 3 0.22 0.00 0.15 0.02 0.00 99.62 18:08:31 Average: all 2.38 0.00 1.23 0.64 0.05 95.69 18:08:31 Average: 0 2.59 0.00 1.23 0.62 0.06 95.50 18:08:31 Average: 1 2.15 0.00 1.27 1.04 0.06 95.48 18:08:31 Average: 2 2.06 0.00 1.13 0.53 0.04 96.24 18:08:31 Average: 3 2.74 0.00 1.31 0.38 0.05 95.52 18:08:31 18:08:31 18:08:31