Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 6309ba15ff828e808134537d97827cb51d4f1f0b Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh382562703019636277.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6034498461423209669.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 9d0281235b943b7ad605f650702698f9078b2862 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/master/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/master/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6300387043393948557.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6020410283317514672.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/master/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/master/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7911864648822262260.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-309’ is offline Running on prd-centos7-docker-4c-2g-16884 in /w/workspace/edgexfoundry_device-sdk-c_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git Avoid second fetch Checking out Revision 6309ba15ff828e808134537d97827cb51d4f1f0b (master) > git init /w/workspace/edgexfoundry_device-sdk-c_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_master@tmp/jenkins-gitclient-ssh3154562370842914621.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6309ba15ff828e808134537d97827cb51d4f1f0b # timeout=10 Commit message: "feat: support upload of device profiles from .json (#334) (#346)" > git rev-list --no-walk 33b035439234836da8ec139ac91219d6cbbab873 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:13:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:13:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:13:57 ========================================================= 12:13:57 EdgeX Global Pipelines Version Info 12:13:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:14:01 ------------------- 12:14:01 stable info: 12:14:01 ------------------- 12:14:01 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:14:01 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 12:14:01 Message: update stable to v1.0.192 12:14:01 ------------------- 12:14:01 experimental info: 12:14:01 ------------------- 12:14:01 Commited By: **** collab-it+edgex@linuxfoundation.org 12:14:01 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 12:14:01 Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:14:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 12:14:01 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 12:14:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:14:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:14:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:14:01 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo 12:14:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 12:14:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 12:14:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:14:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 12:14:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:14:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:14:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:14:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 12:14:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:14:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:14:02 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:14:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 12:14:04 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 12:14:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 12:14:04 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6309ba15ff828e808134537d97827cb51d4f1f0b [Pipeline] echo 12:14:04 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6309ba1 [Pipeline] echo 12:14:04 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:14:04 provisioning config files... 12:14:04 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config6244924943055659045tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:14:04 ---> docker-login.sh 12:14:04 nexus3.edgexfoundry.org:10001 12:14:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:14:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:14:04 Configure a credential helper to remove this warning. See 12:14:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:14:04 12:14:04 Login Succeeded 12:14:04 nexus3.edgexfoundry.org:10002 12:14:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:14:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:14:05 Configure a credential helper to remove this warning. See 12:14:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:14:05 12:14:05 Login Succeeded 12:14:05 nexus3.edgexfoundry.org:10003 12:14:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:14:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:14:05 Configure a credential helper to remove this warning. See 12:14:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:14:05 12:14:05 Login Succeeded 12:14:05 nexus3.edgexfoundry.org:10004 12:14:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:14:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:14:05 Configure a credential helper to remove this warning. See 12:14:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:14:05 12:14:05 Login Succeeded 12:14:05 docker.io 12:14:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:14:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:14:05 Configure a credential helper to remove this warning. See 12:14:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:14:05 12:14:05 Login Succeeded 12:14:05 ---> docker-login.sh ends [Pipeline] } 12:14:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 12:14:13 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:14:13 12:14:13 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 12:14:15 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:14:15 latest: Pulling from edgex-devops/git-semver 12:14:15 31603596830f: Pulling fs layer 12:14:15 54011a49482f: Pulling fs layer 12:14:15 a6820b24f6d8: Pulling fs layer 12:14:15 f581987b2513: Pulling fs layer 12:14:15 f581987b2513: Waiting 12:14:15 54011a49482f: Verifying Checksum 12:14:15 54011a49482f: Download complete 12:14:15 31603596830f: Verifying Checksum 12:14:15 31603596830f: Download complete 12:14:15 f581987b2513: Verifying Checksum 12:14:15 f581987b2513: Download complete 12:14:15 31603596830f: Pull complete 12:14:15 a6820b24f6d8: Verifying Checksum 12:14:15 a6820b24f6d8: Download complete 12:14:15 54011a49482f: Pull complete 12:14:15 a6820b24f6d8: Pull complete 12:14:15 f581987b2513: Pull complete 12:14:15 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 12:14:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:14:15 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 12:14:15 prd-centos7-docker-4c-2g-16884 does not seem to be running inside a container 12:14:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_master -v /w/workspace/edgexfoundry_device-sdk-c_master:/w/workspace/edgexfoundry_device-sdk-c_master:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_master@tmp:/w/workspace/edgexfoundry_device-sdk-c_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 12:14:16 $ docker top 6efab49b4417d7ca8cf0428d625408d253bd238396b03e5d750dbf8d130223fc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:14:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:14:16 [ssh-agent] Looking for ssh-agent implementation... 12:14:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:14:17 $ docker exec 6efab49b4417d7ca8cf0428d625408d253bd238396b03e5d750dbf8d130223fc ssh-agent 12:14:17 SSH_AUTH_SOCK=/tmp/ssh-kpQPwvb9ktt7/agent.14 12:14:17 SSH_AGENT_PID=20 12:14:17 Running ssh-add (command line suppressed) 12:14:17 Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_7799895049299172116.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_7799895049299172116.key) 12:14:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:14:17 + git tag --points-at HEAD [Pipeline] } 12:14:17 $ docker exec --env ******** --env ******** 6efab49b4417d7ca8cf0428d625408d253bd238396b03e5d750dbf8d130223fc ssh-agent -k 12:14:17 unset SSH_AUTH_SOCK; 12:14:17 unset SSH_AGENT_PID; 12:14:17 echo Agent pid 20 killed; 12:14:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:14:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:14:17 [ssh-agent] Looking for ssh-agent implementation... 12:14:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:14:17 $ docker exec 6efab49b4417d7ca8cf0428d625408d253bd238396b03e5d750dbf8d130223fc ssh-agent 12:14:17 SSH_AUTH_SOCK=/tmp/ssh-S2NktJLIX7TR/agent.53 12:14:17 SSH_AGENT_PID=59 12:14:17 Running ssh-add (command line suppressed) 12:14:18 Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_6769129729910907174.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_6769129729910907174.key) 12:14:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:14:18 + git semver init 12:14:18 # -> Open(): unable to determine branch for HEAD 12:14:18 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.git 12:14:18 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_master 12:14:18 # $SEMVER_REMOTE_NAME = origin 12:14:18 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 12:14:18 # $SEMVER_USER_NAME = edgex-jenkins 12:14:18 # $SEMVER_BRANCH = master 12:14:18 # $SEMVER_TEMP = /tmp/semver-310873825 12:14:18 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 12:14:18 # '/tmp/semver-310873825' -> '/w/workspace/edgexfoundry_device-sdk-c_master/.semver' 12:14:18 # -> Force: false 12:14:18 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.semver [Pipeline] } 12:14:18 $ docker exec --env ******** --env ******** 6efab49b4417d7ca8cf0428d625408d253bd238396b03e5d750dbf8d130223fc ssh-agent -k 12:14:19 unset SSH_AUTH_SOCK; 12:14:19 unset SSH_AGENT_PID; 12:14:19 echo Agent pid 59 killed; 12:14:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:14:19 + git semver [Pipeline] } 12:14:19 $ docker stop --time=1 6efab49b4417d7ca8cf0428d625408d253bd238396b03e5d750dbf8d130223fc 12:14:20 $ docker rm -f 6efab49b4417d7ca8cf0428d625408d253bd238396b03e5d750dbf8d130223fc [Pipeline] // withDockerContainer [Pipeline] sh 12:14:21 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:14:23 Stashed 1 file(s) [Pipeline] echo 12:14:23 [edgeXSemver]: initialized semver on version 1.3.2-dev.15 [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 12:14:38 Still waiting to schedule task 12:14:38 Waiting for next available executor on ‘centos7-docker-4c-2g’ 12:14:38 Still waiting to schedule task 12:14:38 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 12:16:55 Running on prd-ubuntu18.04-docker-arm64-4c-16g-16885 in /w/workspace/edgexfoundry_device-sdk-c_master [Pipeline] { [Pipeline] ws 12:16:55 Running in /w/workspace/device-sdk-c/67 [Pipeline] { [Pipeline] checkout 12:16:55 Selected Git installation does not exist. Using Default 12:16:55 The recommended git tool is: NONE 12:17:06 using credential edgex-jenkins-ssh 12:17:06 Cloning the remote Git repository 12:17:06 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 12:17:06 > git init /w/workspace/device-sdk-c/67 # timeout=10 12:17:09 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 12:17:09 > git --version # timeout=10 12:17:09 > git --version # 'git version 2.17.1' 12:17:09 using GIT_SSH to set credentials SSH Credentials for GitHub 12:17:09 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:17:10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 12:17:10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:17:12 Avoid second fetch 12:17:12 Checking out Revision 6309ba15ff828e808134537d97827cb51d4f1f0b (master) 12:17:12 Running on prd-centos7-docker-4c-2g-16886 in /w/workspace/edgexfoundry_device-sdk-c_master [Pipeline] { [Pipeline] ws 12:17:12 Running in /w/workspace/device-sdk-c/67 [Pipeline] { [Pipeline] checkout 12:17:12 Selected Git installation does not exist. Using Default 12:17:12 The recommended git tool is: NONE 12:17:12 > git config core.sparsecheckout # timeout=10 12:17:12 > git checkout -f 6309ba15ff828e808134537d97827cb51d4f1f0b # timeout=10 12:17:20 Commit message: "feat: support upload of device profiles from .json (#334) (#346)" 12:17:20 using credential edgex-jenkins-ssh 12:17:20 Cloning the remote Git repository [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:17:21 Avoid second fetch 12:17:21 Checking out Revision 6309ba15ff828e808134537d97827cb51d4f1f0b (master) 12:17:20 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 12:17:20 > git init /w/workspace/device-sdk-c/67 # timeout=10 12:17:20 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 12:17:20 > git --version # timeout=10 12:17:20 > git --version # 'git version 2.24.4' 12:17:20 using GIT_SSH to set credentials SSH Credentials for GitHub 12:17:20 [INFO] Currently running in a labeled security context 12:17:20 [INFO] Currently SELinux is 'enforcing' on the host 12:17:20 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/67@tmp/jenkins-gitclient-ssh1770728887486333084.key 12:17:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:17:21 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 12:17:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:17:21 > git config core.sparsecheckout # timeout=10 12:17:21 > git checkout -f 6309ba15ff828e808134537d97827cb51d4f1f0b # timeout=10 12:17:23 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 12:17:24 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 12:17:24 + sudo service docker restart 12:17:24 + true 12:17:27 Commit message: "feat: support upload of device profiles from .json (#334) (#346)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:17:30 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 12:17:30 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 12:17:30 + sudo service docker restart 12:17:30 + true 12:17:30 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:17:44 provisioning config files... 12:17:44 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/67@tmp/config2968937481688004164tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:17:45 ---> docker-login.sh 12:17:45 nexus3.edgexfoundry.org:10001 12:17:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:17:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:17:46 Configure a credential helper to remove this warning. See 12:17:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:17:46 12:17:46 Login Succeeded 12:17:46 nexus3.edgexfoundry.org:10002 12:17:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:17:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:17:47 Configure a credential helper to remove this warning. See 12:17:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:17:47 12:17:47 Login Succeeded 12:17:47 nexus3.edgexfoundry.org:10003 12:17:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:17:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:17:47 Configure a credential helper to remove this warning. See 12:17:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:17:47 12:17:47 Login Succeeded 12:17:47 nexus3.edgexfoundry.org:10004 12:17:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:17:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:17:48 Configure a credential helper to remove this warning. See 12:17:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:17:48 12:17:48 Login Succeeded 12:17:48 docker.io [Pipeline] withEnv [Pipeline] { 12:17:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] configFileProvider 12:17:48 provisioning config files... 12:17:48 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/67@tmp/config2029325870067295721tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:17:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:17:49 Configure a credential helper to remove this warning. See 12:17:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:17:49 12:17:49 Login Succeeded 12:17:49 ---> docker-login.sh ends 12:17:51 ---> docker-login.sh 12:17:51 nexus3.edgexfoundry.org:10001 12:17:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:17:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:17:51 Configure a credential helper to remove this warning. See 12:17:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:17:51 12:17:51 Login Succeeded 12:17:51 nexus3.edgexfoundry.org:10002 12:17:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:17:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:17:51 Configure a credential helper to remove this warning. See 12:17:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:17:51 12:17:51 Login Succeeded 12:17:51 nexus3.edgexfoundry.org:10003 12:17:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:17:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:17:51 Configure a credential helper to remove this warning. See 12:17:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:17:51 12:17:51 Login Succeeded 12:17:51 nexus3.edgexfoundry.org:10004 12:17:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:17:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:17:51 Configure a credential helper to remove this warning. See 12:17:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:17:51 12:17:51 Login Succeeded 12:17:51 docker.io 12:17:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:17:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:17:51 Configure a credential helper to remove this warning. See 12:17:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:17:51 12:17:51 Login Succeeded 12:17:51 ---> docker-login.sh ends [Pipeline] } 12:17:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] } 12:17:51 Deleting 1 temporary files [Pipeline] // withEnv [Pipeline] // configFileProvider [Pipeline] unstash [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:17:51 ========================================================= 12:17:51 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 12:17:51 ========================================================= [Pipeline] isUnix [Pipeline] sh [Pipeline] echo 12:17:51 ========================================================= 12:17:51 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 12:17:51 ========================================================= [Pipeline] isUnix [Pipeline] sh 12:17:51 + 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 . 12:17:51 Sending build context to Docker daemon 2.51MB 12:17:51 Step 1/25 : ARG BASE=alpine:3.12 12:17:51 Step 2/25 : FROM ${BASE} as builder 12:17:51 + 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 . 12:17:51 latest: Pulling from edgex-devops/edgex-gcc-base 12:17:51 e7c96db7181b: Pulling fs layer 12:17:51 4c13bbce0fe7: Pulling fs layer 12:17:51 6059c847ac2f: Pulling fs layer 12:17:51 4c13bbce0fe7: Verifying Checksum 12:17:51 4c13bbce0fe7: Download complete 12:17:52 e7c96db7181b: Verifying Checksum 12:17:52 e7c96db7181b: Download complete 12:17:52 e7c96db7181b: Pull complete 12:17:52 Sending build context to Docker daemon 2.509MB 12:17:52 Step 1/25 : ARG BASE=alpine:3.12 12:17:52 Step 2/25 : FROM ${BASE} as builder 12:17:52 4c13bbce0fe7: Pull complete 12:17:52 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 12:17:52 0362ad1dd800: Pulling fs layer 12:17:52 f2cdb1532d8b: Pulling fs layer 12:17:52 37ed683be191: Pulling fs layer 12:17:52 f2cdb1532d8b: Download complete 12:17:52 0362ad1dd800: Verifying Checksum 12:17:52 0362ad1dd800: Download complete 12:17:53 0362ad1dd800: Pull complete 12:17:53 f2cdb1532d8b: Pull complete 12:17:54 6059c847ac2f: Verifying Checksum 12:17:54 6059c847ac2f: Download complete 12:17:55 37ed683be191: Verifying Checksum 12:17:55 37ed683be191: Download complete 12:17:57 6059c847ac2f: Pull complete 12:17:57 Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e 12:17:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 12:17:57 ---> 5eabd8fd8ba2 12:17:57 Step 3/25 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub 12:18:01 ---> Running in 7813c19b51dc 12:18:01 Connecting to iotech.jfrog.io (54.74.239.58:443) 12:18:02 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 12:18:02 12:18:02 Removing intermediate container 7813c19b51dc 12:18:02 ---> 2fb28acd192d 12:18:02 Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 12:18:02 ---> Running in ed3ab5ff992f 12:18:02 Removing intermediate container ed3ab5ff992f 12:18:02 ---> 952400da9420 12:18:02 Step 5/25 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev hiredis-dev 12:18:02 ---> Running in 79da4f1b8f26 12:18:03 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 12:18:04 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 12:18:04 37ed683be191: Pull complete 12:18:04 Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f 12:18:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 12:18:04 ---> b23d30803547 12:18:04 Step 3/25 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub 12:18:04 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 12:18:04 (1/11) Installing hiredis (0.14.0-r0) 12:18:04 (2/11) Installing hiredis-dev (0.14.0-r0) 12:18:04 (3/11) Installing ncurses-dev (6.1_p20190105-r0) 12:18:04 (4/11) Installing paho-mqtt-c-dev (1.3.5-r0) 12:18:05 ---> Running in 7add18f343fb 12:18:06 (5/11) Installing libuuid (2.33-r0) 12:18:06 (6/11) Installing libblkid (2.33-r0) 12:18:06 (7/11) Installing libfdisk (2.33-r0) 12:18:06 (8/11) Installing libmount (2.33-r0) 12:18:06 (9/11) Installing libsmartcols (2.33-r0) 12:18:07 Connecting to iotech.jfrog.io (34.243.182.113:443) 12:18:07 (10/11) Installing util-linux-dev (2.33-r0) 12:18:07 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 12:18:07 12:18:07 (11/11) Installing wget (1.20.3-r0) 12:18:07 Executing busybox-1.29.3-r10.trigger 12:18:07 OK: 273 MiB in 86 packages 12:18:08 Removing intermediate container 79da4f1b8f26 12:18:08 ---> 2afc660bc944 12:18:08 Step 6/25 : ENV CBOR_VERSION=0.5.0 12:18:08 ---> Running in a53cc784ccb8 12:18:08 Removing intermediate container 7add18f343fb 12:18:08 ---> 68dbfaa1a78f 12:18:08 Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 12:18:08 Removing intermediate container a53cc784ccb8 12:18:08 ---> c78eb490ac66 12:18:08 Step 7/25 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install 12:18:08 ---> Running in 4029b98a56bb 12:18:08 ---> Running in f9d063c52f1d 12:18:10 --2021-05-24 12:18:08-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 12:18:10 Resolving github.com... 140.82.114.4 12:18:10 Connecting to github.com|140.82.114.4|:443... connected. 12:18:10 HTTP request sent, awaiting response... 302 Found 12:18:10 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 12:18:10 --2021-05-24 12:18:08-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 12:18:10 Resolving codeload.github.com... 140.82.114.10 12:18:10 Connecting to codeload.github.com|140.82.114.10|:443... connected. 12:18:10 HTTP request sent, awaiting response... 200 OK 12:18:10 Length: unspecified [application/x-gzip] 12:18:10 Saving to: 'STDOUT' 12:18:10 12:18:10 0K .......... .......... .......... .......... .......... 1.32M 12:18:10 50K .......... .......... .......... .......... .......... 2.85M 12:18:10 100K .......... .......... .......... .......... .......... 44.2M 12:18:10 150K .......... .......... .......... .......... .......... 3.78M 12:18:10 200K .......... .......... .......... .......... .......... 11.1M 12:18:10 250K .......... .......... .......... .......... .......... 6.78M 12:18:10 300K .......... .......... .......... .......... .......... 10.1M 12:18:10 350K .......... .......... .......... .......... .......... 9.50M 12:18:10 400K .......... .......... .......... .......... .......... 8.98M 12:18:10 450K .......... .......... .......... .......... .......... 9.45M 12:18:10 500K .......... .......... .......... .......... .......... 25.2M 12:18:10 550K .......... .......... .......... .......... .......... 7.78M 12:18:10 600K .......... .......... .......... .......... .......... 3.38M 12:18:10 650K .......... .......... .......... .......... .......... 8.28M 12:18:10 700K .. 36.4M=0.1s 12:18:10 12:18:10 2021-05-24 12:18:09 (5.32 MB/s) - written to stdout [719348] 12:18:10 12:18:10 -- The C compiler identification is GNU 8.3.0 12:18:10 -- The CXX compiler identification is GNU 8.3.0 12:18:10 -- Check for working C compiler: /usr/bin/cc 12:18:10 -- Check for working C compiler: /usr/bin/cc -- works 12:18:10 -- Detecting C compiler ABI info 12:18:10 -- Detecting C compiler ABI info - done 12:18:10 -- Detecting C compile features 12:18:10 -- Detecting C compile features - done 12:18:10 -- Check for working CXX compiler: /usr/bin/c++ 12:18:10 -- Check for working CXX compiler: /usr/bin/c++ -- works 12:18:10 -- Detecting CXX compiler ABI info 12:18:10 -- Detecting CXX compiler ABI info - done 12:18:10 -- Detecting CXX compile features 12:18:10 -- Detecting CXX compile features - done 12:18:10 -- Looking for include file endian.h 12:18:10 -- Looking for include file endian.h - found 12:18:10 -- Check if the system is big endian 12:18:10 -- Searching 16 bit integer 12:18:10 -- Looking for sys/types.h 12:18:10 -- Looking for sys/types.h - found 12:18:10 -- Looking for stdint.h 12:18:10 -- Looking for stdint.h - found 12:18:10 -- Looking for stddef.h 12:18:10 -- Looking for stddef.h - found 12:18:10 -- Check size of unsigned short 12:18:10 -- Check size of unsigned short - done 12:18:10 -- Using unsigned short 12:18:10 -- Check if the system is big endian - little endian 12:18:10 -- Check size of size_t 12:18:10 -- Check size of size_t - done 12:18:10 CMake Warning at examples/CMakeLists.txt:16 (find_package): 12:18:10 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 12:18:10 asked CMake to find a package configuration file provided by "cJSON", but 12:18:10 CMake did not find one. 12:18:10 12:18:10 Could not find a package configuration file provided by "cJSON" with any of 12:18:10 the following names: 12:18:10 12:18:10 cJSONConfig.cmake 12:18:10 cjson-config.cmake 12:18:10 12:18:10 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 12:18:10 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 12:18:10 provides a separate development package or SDK, be sure it has been 12:18:10 installed. 12:18:10 12:18:10 12:18:10 -- Configuring done 12:18:10 -- Generating done 12:18:10 -- Build files have been written to: /tmp/cbor 12:18:10 Scanning dependencies of target cbor_shared 12:18:10 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 12:18:10 Removing intermediate container f9d063c52f1d 12:18:10 ---> 287dd27980b5 12:18:10 Step 5/25 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev hiredis-dev 12:18:10 ---> Running in d6004baf71fe 12:18:11 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 12:18:11 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 12:18:11 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 12:18:11 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 12:18:11 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 12:18:11 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 12:18:11 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 12:18:11 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 12:18:11 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 12:18:11 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 12:18:11 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 12:18:11 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 12:18:11 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 12:18:12 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 12:18:12 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 12:18:12 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 12:18:12 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 12:18:12 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 12:18:12 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 12:18:12 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 12:18:12 [ 40%] Linking C shared library libcbor.so 12:18:12 [ 40%] Built target cbor_shared 12:18:12 Scanning dependencies of target cbor 12:18:12 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 12:18:12 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 12:18:12 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 12:18:12 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 12:18:12 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 12:18:12 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 12:18:12 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 12:18:12 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 12:18:12 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 12:18:13 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 12:18:13 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 12:18:13 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 12:18:13 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 12:18:13 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 12:18:13 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 12:18:13 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 12:18:13 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 12:18:13 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 12:18:13 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 12:18:13 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 12:18:13 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 12:18:13 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 12:18:13 [ 80%] Linking C static library libcbor.a 12:18:13 [ 80%] Built target cbor 12:18:13 Scanning dependencies of target create_items 12:18:13 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 12:18:13 [ 84%] Linking C executable create_items 12:18:13 [ 84%] Built target create_items 12:18:13 Scanning dependencies of target readfile 12:18:13 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 12:18:13 [ 88%] Linking C executable readfile 12:18:13 [ 88%] Built target readfile 12:18:13 Scanning dependencies of target streaming_parser 12:18:13 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 12:18:13 [ 92%] Linking C executable streaming_parser 12:18:13 [ 92%] Built target streaming_parser 12:18:14 (1/11) Installing hiredis (0.14.0-r0) 12:18:14 Scanning dependencies of target sort 12:18:14 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 12:18:14 [ 96%] Linking C executable sort 12:18:14 [ 96%] Built target sort 12:18:14 Scanning dependencies of target hello 12:18:14 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 12:18:14 [100%] Linking C executable hello 12:18:14 [100%] Built target hello 12:18:14 Install the project... 12:18:14 -- Install configuration: "Release" 12:18:14 -- Installing: /usr/local/include/cbor/configuration.h 12:18:14 -- Installing: /usr/local/lib64/libcbor.a 12:18:14 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 12:18:14 -- Installing: /usr/local/lib64/libcbor.so.0 12:18:14 -- Installing: /usr/local/lib64/libcbor.so 12:18:14 -- Up-to-date: /usr/local/include/cbor 12:18:14 -- Installing: /usr/local/include/cbor/arrays.h 12:18:14 -- Installing: /usr/local/include/cbor/bytestrings.h 12:18:14 -- Installing: /usr/local/include/cbor/callbacks.h 12:18:14 -- Installing: /usr/local/include/cbor/common.h 12:18:14 -- Installing: /usr/local/include/cbor/data.h 12:18:14 -- Installing: /usr/local/include/cbor/encoding.h 12:18:14 -- Installing: /usr/local/include/cbor/floats_ctrls.h 12:18:14 -- Installing: /usr/local/include/cbor/internal 12:18:14 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 12:18:14 -- Installing: /usr/local/include/cbor/internal/encoders.h 12:18:14 -- Installing: /usr/local/include/cbor/internal/loaders.h 12:18:14 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 12:18:14 -- Installing: /usr/local/include/cbor/internal/stack.h 12:18:14 -- Installing: /usr/local/include/cbor/internal/unicode.h 12:18:14 -- Installing: /usr/local/include/cbor/ints.h 12:18:14 -- Installing: /usr/local/include/cbor/maps.h 12:18:14 -- Installing: /usr/local/include/cbor/serialization.h 12:18:14 -- Installing: /usr/local/include/cbor/streaming.h 12:18:14 -- Installing: /usr/local/include/cbor/strings.h 12:18:14 -- Installing: /usr/local/include/cbor/tags.h 12:18:14 -- Installing: /usr/local/include/cbor.h 12:18:14 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 12:18:14 (2/11) Installing hiredis-dev (0.14.0-r0) 12:18:14 (3/11) Installing ncurses-dev (6.1_p20190105-r0) 12:18:14 (4/11) Installing paho-mqtt-c-dev (1.3.5-r0) 12:18:14 Removing intermediate container 4029b98a56bb 12:18:14 ---> 25e08d837a9f 12:18:14 Step 8/25 : RUN mkdir /tmp/sdk 12:18:14 ---> Running in d54c490b24f0 12:18:15 Removing intermediate container d54c490b24f0 12:18:15 ---> 296f1ce5ab42 12:18:15 Step 9/25 : COPY VERSION /tmp/sdk 12:18:15 ---> f9aa4523f2c2 12:18:15 Step 10/25 : COPY src /tmp/sdk/src 12:18:15 ---> 804f8d97b2d1 12:18:15 Step 11/25 : COPY include /tmp/sdk/include 12:18:15 ---> 599358a7cbf2 12:18:15 Step 12/25 : COPY scripts /tmp/sdk/scripts 12:18:15 (5/11) Installing libuuid (2.33-r0) 12:18:15 ---> 5ac28fdc7051 12:18:15 Step 13/25 : COPY LICENSE /tmp/sdk 12:18:15 ---> ff523debcbd4 12:18:15 Step 14/25 : COPY Attribution.txt /tmp/sdk 12:18:16 (6/11) Installing libblkid (2.33-r0) 12:18:16 ---> ff189dabbbed 12:18:16 Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 12:18:16 ---> Running in e137569c5432 12:18:16 (7/11) Installing libfdisk (2.33-r0) 12:18:16 (8/11) Installing libmount (2.33-r0) 12:18:16 + CPPCHECK=false 12:18:16 + DOCGEN=false 12:18:16 + TOMLVER=SDK-0.2 12:18:16 + CUTILVER=1.1.4 12:18:16 + '[' 0 -gt 0 ] 12:18:16 + readlink -f ./scripts/build.sh 12:18:16 + dirname /tmp/sdk/scripts/build.sh 12:18:16 + dirname /tmp/sdk/scripts 12:18:16 + ROOT=/tmp/sdk 12:18:16 + cd /tmp/sdk 12:18:16 + '[' '!' -d deps ] 12:18:16 + mkdir deps 12:18:16 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 12:18:16 + tar -C deps -z -x -f - 12:18:16 --2021-05-24 12:18:16-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 12:18:16 Resolving github.com... 140.82.114.4 12:18:16 Connecting to github.com|140.82.114.4|:443... connected. 12:18:16 HTTP request sent, awaiting response... 302 Found 12:18:16 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 12:18:16 --2021-05-24 12:18:16-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 12:18:16 Resolving codeload.github.com... 140.82.114.10 12:18:16 Connecting to codeload.github.com|140.82.114.10|:443... connected. 12:18:16 HTTP request sent, awaiting response... 200 OK 12:18:16 Length: unspecified [application/x-gzip] 12:18:16 Saving to: 'STDOUT' 12:18:16 12:18:16 0K .......... ...... 950K=0.02s 12:18:16 12:18:16 2021-05-24 12:18:16 (950 KB/s) - written to stdout [16451] 12:18:16 12:18:16 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 12:18:16 + + wgettar -O -C - deps -z https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz -x -f 12:18:16 - 12:18:16 --2021-05-24 12:18:16-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 12:18:16 Resolving github.com... 140.82.114.4 12:18:16 (9/11) Installing libsmartcols (2.33-r0) 12:18:16 (10/11) Installing util-linux-dev (2.33-r0) 12:18:16 Connecting to github.com|140.82.114.4|:443... connected. 12:18:16 HTTP request sent, awaiting response... 302 Found 12:18:16 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] 12:18:16 --2021-05-24 12:18:16-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 12:18:16 Resolving codeload.github.com... 140.82.114.10 12:18:16 Connecting to codeload.github.com|140.82.114.10|:443... connected. 12:18:16 (11/11) Installing wget (1.20.3-r0) 12:18:16 Executing busybox-1.29.3-r10.trigger 12:18:16 OK: 287 MiB in 86 packages 12:18:17 HTTP request sent, awaiting response... 200 OK 12:18:17 Length: unspecified [application/x-gzip] 12:18:17 Saving to: 'STDOUT' 12:18:17 12:18:17 0K .......... .......... .......... .......... .......... 1.61M 12:18:17 50K .......... .......... .......... .......... .......... 3.39M 12:18:17 100K .......... .......... .......... .......... .......... 26.8M 12:18:17 150K .......... .......... ....... 2.77M=0.06s 12:18:17 12:18:17 2021-05-24 12:18:17 (3.08 MB/s) - written to stdout [181796] 12:18:17 12:18:17 + mkdir -p src/c/iot 12:18:17 + 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 12:18:17 + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot 12:18:17 + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot 12:18:17 + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot 12:18:17 + mkdir -p include/iot 12:18:17 + 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 12:18:17 + mkdir -p include/iot/os 12:18:17 + 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 12:18:17 + mkdir -p /tmp/sdk/build/release 12:18:17 + cd /tmp/sdk/build/release 12:18:17 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 12:18:17 -- The C compiler identification is GNU 8.3.0 12:18:17 -- Check for working C compiler: /usr/bin/cc 12:18:17 -- Check for working C compiler: /usr/bin/cc -- works 12:18:17 -- Detecting C compiler ABI info 12:18:17 -- Detecting C compiler ABI info - done 12:18:17 -- Detecting C compile features 12:18:17 -- Detecting C compile features - done 12:18:17 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 12:18:17 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 12:18:17 -- Found LIBYAML: /usr/lib/libyaml.so 12:18:17 -- Found LIBUUID: /usr/lib/libuuid.so 12:18:17 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 12:18:17 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 12:18:17 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 12:18:17 -- C SDK 1.3.2-dev.15 for Linux 12:18:17 -- Performing Test CSDK_HAVE_ATOMIC 12:18:17 -- Performing Test CSDK_HAVE_ATOMIC - Success 12:18:17 -- Found Curses: /usr/lib/libcurses.so 12:18:17 -- Configuring done 12:18:17 -- Generating done 12:18:17 -- Build files have been written to: /tmp/sdk/build/release 12:18:17 + make all package 12:18:17 + tee release.log 12:18:17 Scanning dependencies of target csdk 12:18:17 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 12:18:17 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 12:18:17 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 12:18:18 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 12:18:18 Removing intermediate container d6004baf71fe 12:18:18 ---> bfcb0dd69f47 12:18:18 Step 6/25 : ENV CBOR_VERSION=0.5.0 12:18:18 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 12:18:18 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 12:18:18 ---> Running in 016c70940800 12:18:18 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 12:18:18 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 12:18:18 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 12:18:18 Removing intermediate container 016c70940800 12:18:18 ---> 2937bc3b1bf3 12:18:18 Step 7/25 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install 12:18:18 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 12:18:19 ---> Running in e7e4b81e8660 12:18:19 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 12:18:19 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 12:18:19 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 12:18:19 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 12:18:19 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 12:18:19 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 12:18:19 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 12:18:20 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 12:18:20 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 12:18:20 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 12:18:20 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 12:18:20 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 12:18:20 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 12:18:20 --2021-05-24 12:18:20-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 12:18:20 Resolving github.com... 140.82.114.4 12:18:20 Connecting to github.com|140.82.114.4|:443... connected. 12:18:20 HTTP request sent, awaiting response... 302 Found 12:18:20 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 12:18:20 --2021-05-24 12:18:20-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 12:18:20 Resolving codeload.github.com... 140.82.114.10 12:18:20 Connecting to codeload.github.com|140.82.114.10|:443... connected. 12:18:20 HTTP request sent, awaiting response... 200 OK 12:18:20 Length: unspecified [application/x-gzip] 12:18:20 Saving to: 'STDOUT' 12:18:20  12:18:20 0K .......... .......... .......... .......... .......... 1.37M 12:18:20 50K .......... .......... .......... .......... .......... 2.85M 12:18:20 100K .......... .......... .......... .......... .......... 13.2M 12:18:20 150K .......... .......... .......... .......... .......... 3.37M 12:18:20 200K .......... .......... .......... .......... .......... 13.7M 12:18:20 250K .......... .......... .......... .......... .......... 3.19M 12:18:20 300K .......... .......... .......... .......... .......... 5.77M 12:18:20 350K .......... .......... .......... .......... .......... 4.75M 12:18:20 400K .......... .......... .......... .......... .......... 4.26M 12:18:20 450K .......... .......... .......... .......... .......... 3.81M 12:18:20 500K .......... .......... .......... .......... .......... 13.4M 12:18:20 550K .......... .......... .......... .......... .......... 2.49M 12:18:20 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 12:18:20 600K .......... .......... .......... .......... .......... 922K 12:18:20 650K .......... .......... .......... .......... .......... 2.71M 12:18:20 700K ..     296K=0.2s 12:18:20 12:18:20 2021-05-24 12:18:20 (2.90 MB/s) - written to stdout [719348] 12:18:20 12:18:21 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 12:18:21 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 12:18:21 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 12:18:21 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 12:18:21 -- The C compiler identification is GNU 8.3.0 12:18:21 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 12:18:21 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 12:18:21 -- The CXX compiler identification is GNU 8.3.0 12:18:21 -- Check for working C compiler: /usr/bin/cc 12:18:21 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 12:18:21 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 12:18:21 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 12:18:21 -- Check for working C compiler: /usr/bin/cc -- works 12:18:21 -- Detecting C compiler ABI info 12:18:23 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 12:18:23 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 12:18:23 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 12:18:23 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 12:18:23 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 12:18:23 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 12:18:23 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 12:18:23 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 12:18:23 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 12:18:23 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 12:18:23 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 12:18:23 -- Detecting C compiler ABI info - done 12:18:23 -- Detecting C compile features 12:18:23 -- Detecting C compile features - done 12:18:23 -- Check for working CXX compiler: /usr/bin/c++ 12:18:23 -- Check for working CXX compiler: /usr/bin/c++ -- works 12:18:23 -- Detecting CXX compiler ABI info 12:18:23 -- Detecting CXX compiler ABI info - done 12:18:23 -- Detecting CXX compile features 12:18:24 -- Detecting CXX compile features - done 12:18:24 -- Looking for include file endian.h 12:18:24 -- Looking for include file endian.h - found 12:18:24 -- Check if the system is big endian 12:18:24 -- Searching 16 bit integer 12:18:24 -- Looking for sys/types.h 12:18:24 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 12:18:24 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 12:18:24 [ 74%] Linking C shared library libcsdk.so 12:18:24 [ 74%] Built target csdk 12:18:24 Scanning dependencies of target template 12:18:24 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 12:18:25 -- Looking for sys/types.h - found 12:18:25 -- Looking for stdint.h 12:18:25 [ 77%] Linking C executable template 12:18:25 [ 77%] Built target template 12:18:25 Scanning dependencies of target device-counter 12:18:25 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 12:18:25 [ 80%] Linking C executable device-counter 12:18:25 [ 80%] Built target device-counter 12:18:25 Scanning dependencies of target device-random 12:18:25 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 12:18:25 -- Looking for stdint.h - found 12:18:25 -- Looking for stddef.h 12:18:25 [ 84%] Linking C executable device-random 12:18:25 [ 84%] Built target device-random 12:18:25 Scanning dependencies of target device-gyro 12:18:25 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 12:18:25 [ 87%] Linking C executable device-gyro 12:18:25 [ 87%] Built target device-gyro 12:18:25 Scanning dependencies of target device-bitfields 12:18:25 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 12:18:25 -- Looking for stddef.h - found 12:18:25 -- Check size of unsigned short 12:18:25 [ 90%] Linking C executable device-bitfields 12:18:25 [ 90%] Built target device-bitfields 12:18:25 Scanning dependencies of target template-discovery 12:18:25 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 12:18:25 [ 93%] Linking C executable template-discovery 12:18:25 -- Check size of unsigned short - done 12:18:25 -- Using unsigned short 12:18:26 [ 93%] Built target template-discovery 12:18:26 Scanning dependencies of target device-file 12:18:26 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 12:18:26 [ 96%] Linking C executable device-file 12:18:26 [ 96%] Built target device-file 12:18:26 Scanning dependencies of target device-terminal 12:18:26 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 12:18:26 -- Check if the system is big endian - little endian 12:18:26 -- Check size of size_t 12:18:26 [100%] Linking C executable device-terminal 12:18:26 [100%] Built target device-terminal 12:18:26 Run CPack packaging tool... 12:18:26 CPack: Create package using TGZ 12:18:26 CPack: Install projects 12:18:26 CPack: - Run preinstall target for: Csdk 12:18:26 -- Check size of size_t - done 12:18:26 CMake Warning at examples/CMakeLists.txt:16 (find_package): 12:18:26 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 12:18:26 asked CMake to find a package configuration file provided by "cJSON", but 12:18:26 CMake did not find one. 12:18:26 12:18:26 Could not find a package configuration file provided by "cJSON" with any of 12:18:26 the following names: 12:18:26 12:18:26 cJSONConfig.cmake 12:18:26 cjson-config.cmake 12:18:26 12:18:26 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 12:18:26 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 12:18:26 provides a separate development package or SDK, be sure it has been 12:18:26 installed. 12:18:26 12:18:26 12:18:26 -- Configuring done 12:18:26 CPack: - Install project: Csdk 12:18:26 CPack: Create package 12:18:26 CPack: - package: /tmp/sdk/build/release/csdk-1.3.2-dev.15.tar.gz generated. 12:18:26 + '[' false '=' true ] 12:18:26 + '[' false '=' true ] 12:18:26 + mkdir -p /tmp/sdk/build/debug 12:18:26 + cd /tmp/sdk/build/debug 12:18:26 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 12:18:26 -- The C compiler identification is GNU 8.3.0 12:18:26 -- Check for working C compiler: /usr/bin/cc 12:18:26 -- Check for working C compiler: /usr/bin/cc -- works 12:18:26 -- Detecting C compiler ABI info 12:18:26 -- Generating done 12:18:26 -- Build files have been written to: /tmp/cbor 12:18:26 Scanning dependencies of target cbor_shared 12:18:26 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 12:18:26 -- Detecting C compiler ABI info - done 12:18:26 -- Detecting C compile features 12:18:26 -- Detecting C compile features - done 12:18:27 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 12:18:27 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 12:18:27 -- Found LIBYAML: /usr/lib/libyaml.so 12:18:27 -- Found LIBUUID: /usr/lib/libuuid.so 12:18:27 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 12:18:27 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 12:18:27 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 12:18:27 -- C SDK 1.3.2-dev.15 for Linux 12:18:27 -- Performing Test CSDK_HAVE_ATOMIC 12:18:27 -- Performing Test CSDK_HAVE_ATOMIC - Success 12:18:27 -- Found Curses: /usr/lib/libcurses.so 12:18:27 -- Configuring done 12:18:27 -- Generating done 12:18:27 -- Build files have been written to: /tmp/sdk/build/debug 12:18:27 + make 12:18:27 + tee debug.log 12:18:27 Scanning dependencies of target csdk 12:18:27 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 12:18:27 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 12:18:27 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 12:18:27 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 12:18:27 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 12:18:27 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 12:18:27 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 12:18:27 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 12:18:27 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 12:18:27 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 12:18:27 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 12:18:27 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 12:18:27 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 12:18:28 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 12:18:28 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 12:18:28 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 12:18:28 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 12:18:28 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 12:18:28 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 12:18:28 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 12:18:28 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 12:18:28 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 12:18:28 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 12:18:28 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 12:18:28 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 12:18:28 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 12:18:28 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 12:18:28 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 12:18:28 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 12:18:28 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 12:18:28 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 12:18:28 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 12:18:28 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 12:18:28 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 12:18:29 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 12:18:29 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 12:18:29 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 12:18:29 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 12:18:29 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 12:18:29 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 12:18:29 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 12:18:29 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 12:18:29 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 12:18:29 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 12:18:29 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 12:18:29 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 12:18:29 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 12:18:29 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 12:18:29 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 12:18:29 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 12:18:29 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 12:18:30 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 12:18:30 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 12:18:30 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 12:18:30 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 12:18:30 [ 74%] Linking C shared library libcsdk.so 12:18:30 [ 74%] Built target csdk 12:18:30 Scanning dependencies of target template 12:18:30 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 12:18:30 [ 77%] Linking C executable template 12:18:30 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 12:18:30 [ 77%] Built target template 12:18:30 Scanning dependencies of target device-counter 12:18:30 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 12:18:30 [ 80%] Linking C executable device-counter 12:18:30 [ 80%] Built target device-counter 12:18:30 Scanning dependencies of target device-random 12:18:30 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 12:18:30 [ 84%] Linking C executable device-random 12:18:30 [ 84%] Built target device-random 12:18:30 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 12:18:30 Scanning dependencies of target device-gyro 12:18:30 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 12:18:30 [ 87%] Linking C executable device-gyro 12:18:30 [ 87%] Built target device-gyro 12:18:30 Scanning dependencies of target device-bitfields 12:18:30 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 12:18:30 [ 90%] Linking C executable device-bitfields 12:18:30 [ 90%] Built target device-bitfields 12:18:30 Scanning dependencies of target template-discovery 12:18:30 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 12:18:31 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 12:18:31 [ 93%] Linking C executable template-discovery 12:18:31 [ 93%] Built target template-discovery 12:18:31 Scanning dependencies of target device-file 12:18:31 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 12:18:31 [ 96%] Linking C executable device-file 12:18:31 [ 96%] Built target device-file 12:18:31 Scanning dependencies of target device-terminal 12:18:31 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 12:18:31 [100%] Linking C executable device-terminal 12:18:31 [100%] Built target device-terminal 12:18:31 make: Entering directory '/tmp/sdk/build/release' 12:18:31 make[1]: Entering directory '/tmp/sdk/build/release' 12:18:31 make[2]: Entering directory '/tmp/sdk/build/release' 12:18:31 make[2]: Leaving directory '/tmp/sdk/build/release' 12:18:31 [ 74%] Built target csdk 12:18:31 make[2]: Entering directory '/tmp/sdk/build/release' 12:18:31 make[2]: Leaving directory '/tmp/sdk/build/release' 12:18:31 [ 77%] Built target template 12:18:31 make[2]: Entering directory '/tmp/sdk/build/release' 12:18:31 make[2]: Leaving directory '/tmp/sdk/build/release' 12:18:31 [ 80%] Built target device-counter 12:18:31 make[2]: Entering directory '/tmp/sdk/build/release' 12:18:31 make[2]: Leaving directory '/tmp/sdk/build/release' 12:18:31 [ 84%] Built target device-random 12:18:31 make[2]: Entering directory '/tmp/sdk/build/release' 12:18:31 make[2]: Leaving directory '/tmp/sdk/build/release' 12:18:31 [ 87%] Built target device-gyro 12:18:31 make[2]: Entering directory '/tmp/sdk/build/release' 12:18:31 make[2]: Leaving directory '/tmp/sdk/build/release' 12:18:31 [ 90%] Built target device-bitfields 12:18:31 make[2]: Entering directory '/tmp/sdk/build/release' 12:18:31 make[2]: Leaving directory '/tmp/sdk/build/release' 12:18:31 [ 93%] Built target template-discovery 12:18:31 make[2]: Entering directory '/tmp/sdk/build/release' 12:18:31 make[2]: Leaving directory '/tmp/sdk/build/release' 12:18:31 [ 96%] Built target device-file 12:18:31 make[2]: Entering directory '/tmp/sdk/build/release' 12:18:31 make[2]: Leaving directory '/tmp/sdk/build/release' 12:18:31 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 12:18:31 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 12:18:31 [100%] Built target device-terminal 12:18:31 make[1]: Leaving directory '/tmp/sdk/build/release' 12:18:31 Install the project... 12:18:31 -- Install configuration: "Release" 12:18:31 -- Installing: /usr/local/lib/libcsdk.so 12:18:31 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 12:18:31 -- Up-to-date: /usr/local/include 12:18:31 -- Installing: /usr/local/include/devsdk 12:18:31 -- Installing: /usr/local/include/devsdk/devsdk-base.h 12:18:31 -- Installing: /usr/local/include/devsdk/devsdk.h 12:18:31 -- Installing: /usr/local/include/edgex 12:18:31 -- Installing: /usr/local/include/edgex/devices.h 12:18:31 -- Installing: /usr/local/include/edgex/edgex-base.h 12:18:31 -- Installing: /usr/local/include/edgex/edgex.h 12:18:31 -- Installing: /usr/local/include/edgex/profiles.h 12:18:31 -- Installing: /usr/local/include/edgex/rest-server.h 12:18:31 -- Installing: /usr/local/include/edgex/csdk-defs.h 12:18:31 -- Installing: /usr/local/include/iot 12:18:31 -- Installing: /usr/local/include/iot/base64.h 12:18:31 -- Installing: /usr/local/include/iot/component.h 12:18:31 -- Installing: /usr/local/include/iot/config.h 12:18:31 -- Installing: /usr/local/include/iot/container.h 12:18:31 -- Installing: /usr/local/include/iot/data.h 12:18:31 -- Installing: /usr/local/include/iot/hash.h 12:18:31 -- Installing: /usr/local/include/iot/iot.h 12:18:31 -- Installing: /usr/local/include/iot/json.h 12:18:31 -- Installing: /usr/local/include/iot/logger.h 12:18:31 -- Installing: /usr/local/include/iot/os.h 12:18:31 -- Installing: /usr/local/include/iot/scheduler.h 12:18:31 -- Installing: /usr/local/include/iot/thread.h 12:18:31 -- Installing: /usr/local/include/iot/threadpool.h 12:18:31 -- Installing: /usr/local/include/iot/time.h 12:18:31 -- Installing: /usr/local/include/iot/typecode.h 12:18:31 -- Installing: /usr/local/include/iot/os 12:18:31 -- Installing: /usr/local/include/iot/os/linux.h 12:18:31 -- Installing: /usr/local/include/iot/os/macos.h 12:18:31 -- Installing: /usr/local/include/iot/os/zephyr.h 12:18:31 -- Installing: /usr/local/include/iot/defs.h 12:18:31 -- Installing: /usr/local/share/device-sdk-c/LICENSE 12:18:31 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 12:18:31 make: Leaving directory '/tmp/sdk/build/release' 12:18:32 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 12:18:32 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 12:18:32 Removing intermediate container e137569c5432 12:18:32 ---> 93835bdd2c6d 12:18:32 Step 16/25 : FROM ${BASE} 12:18:32 ---> 5eabd8fd8ba2 12:18:32 Step 17/25 : LABEL maintainer="IOTech " 12:18:32 ---> Running in b1557821b2a2 12:18:32 Removing intermediate container b1557821b2a2 12:18:32 ---> eedfd9e82298 12:18:32 Step 18/25 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub 12:18:32 ---> Running in 0cf3dac3867d 12:18:32 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 12:18:32 Connecting to iotech.jfrog.io (34.243.182.113:443) 12:18:32 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 12:18:33 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 12:18:33 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 12:18:33 12:18:33 Removing intermediate container 0cf3dac3867d 12:18:33 ---> 026e7ea9143d 12:18:33 Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 12:18:33 ---> Running in f2aed9b32d0e 12:18:33 [ 40%] Linking C shared library libcbor.so 12:18:33 [ 40%] Built target cbor_shared 12:18:33 Scanning dependencies of target cbor 12:18:33 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 12:18:33 Removing intermediate container f2aed9b32d0e 12:18:33 ---> 31bbf494c21e 12:18:33 Step 20/25 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid paho-mqtt-c-dev hiredis-dev 12:18:33 ---> Running in bc751b4106f3 12:18:34 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 12:18:36 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 12:18:36 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 12:18:36 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 12:18:36 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 12:18:36 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 12:18:36 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 12:18:36 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 12:18:36 (1/6) Installing curl (7.64.0-r5) 12:18:36 (2/6) Installing hiredis (0.14.0-r0) 12:18:36 (3/6) Installing hiredis-dev (0.14.0-r0) 12:18:36 (4/6) Installing libuuid (2.33-r0) 12:18:36 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 12:18:36 (5/6) Installing paho-mqtt-c-dev (1.3.5-r0) 12:18:36 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 12:18:36 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 12:18:37 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 12:18:38 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 12:18:38 (6/6) Installing wget (1.20.3-r0) 12:18:38 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 12:18:38 Executing busybox-1.29.3-r10.trigger 12:18:38 OK: 269 MiB in 81 packages 12:18:38 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 12:18:38 Removing intermediate container bc751b4106f3 12:18:38 ---> 8e3c3300db1f 12:18:38 Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 12:18:38 ---> b8c62fbcb29f 12:18:38 Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 12:18:39 ---> 9bdc81a07f92 12:18:39 Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib 12:18:39 ---> 7fc8c7973447 12:18:39 Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 12:18:39 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 12:18:39 ---> 88915d60cb68 12:18:39 Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 12:18:39 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 12:18:39 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 12:18:39 ---> 7c0a5ba79c1b 12:18:39 Successfully built 7c0a5ba79c1b 12:18:39 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix 12:18:39 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [Pipeline] sh 12:18:40 + docker inspect -f . ci-base-image-x86_64 12:18:40 . [Pipeline] withDockerContainer 12:18:40 prd-centos7-docker-4c-2g-16886 does not seem to be running inside a container 12:18:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/67 -v /w/workspace/device-sdk-c/67:/w/workspace/device-sdk-c/67:rw,z -v /w/workspace/device-sdk-c/67@tmp:/w/workspace/device-sdk-c/67@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 ******** ci-base-image-x86_64 cat 12:18:40 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 12:18:40 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 12:18:40 $ docker top b30cd9d72abe26cf10feefd8b2ced7271b164c55a1818a51d652722403e5310e -eo pid,comm [Pipeline] { [Pipeline] sh 12:18:40 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 12:18:40 [ 80%] Linking C static library libcbor.a 12:18:40 [ 80%] Built target cbor 12:18:40 Scanning dependencies of target create_items 12:18:40 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 12:18:40 + make test 12:18:40 echo "make test" 12:18:40 make test [Pipeline] } 12:18:40 $ docker stop --time=1 b30cd9d72abe26cf10feefd8b2ced7271b164c55a1818a51d652722403e5310e 12:18:41 [ 84%] Linking C executable create_items 12:18:41 [ 84%] Built target create_items 12:18:41 Scanning dependencies of target readfile 12:18:41 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 12:18:41 [ 88%] Linking C executable readfile 12:18:41 [ 88%] Built target readfile 12:18:41 Scanning dependencies of target streaming_parser 12:18:41 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 12:18:41 [ 92%] Linking C executable streaming_parser 12:18:42 [ 92%] Built target streaming_parser 12:18:42 Scanning dependencies of target sort 12:18:42 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 12:18:42 $ docker rm -f b30cd9d72abe26cf10feefd8b2ced7271b164c55a1818a51d652722403e5310e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 12:18:42 [ 96%] Linking C executable sort 12:18:42 [ 96%] Built target sort 12:18:42 Scanning dependencies of target hello 12:18:42 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [Pipeline] script [Pipeline] { 12:18:44 [100%] Linking C executable hello 12:18:44 [100%] Built target hello 12:18:44 Install the project... 12:18:44 -- Install configuration: "Release" 12:18:44 -- Installing: /usr/local/include/cbor/configuration.h 12:18:44 -- Installing: /usr/local/lib64/libcbor.a 12:18:44 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 12:18:44 -- Installing: /usr/local/lib64/libcbor.so.0 12:18:44 -- Installing: /usr/local/lib64/libcbor.so 12:18:44 -- Up-to-date: /usr/local/include/cbor 12:18:44 -- Installing: /usr/local/include/cbor/streaming.h 12:18:44 -- Installing: /usr/local/include/cbor/ints.h 12:18:44 -- Installing: /usr/local/include/cbor/floats_ctrls.h 12:18:44 -- Installing: /usr/local/include/cbor/bytestrings.h 12:18:44 -- Installing: /usr/local/include/cbor/encoding.h 12:18:44 -- Installing: /usr/local/include/cbor/serialization.h 12:18:44 -- Installing: /usr/local/include/cbor/data.h 12:18:44 -- Installing: /usr/local/include/cbor/common.h 12:18:44 -- Installing: /usr/local/include/cbor/callbacks.h 12:18:44 -- Installing: /usr/local/include/cbor/strings.h 12:18:44 -- Installing: /usr/local/include/cbor/tags.h 12:18:44 -- Installing: /usr/local/include/cbor/internal 12:18:44 -- Installing: /usr/local/include/cbor/internal/encoders.h 12:18:44 -- Installing: /usr/local/include/cbor/internal/loaders.h 12:18:44 -- Installing: /usr/local/include/cbor/internal/stack.h 12:18:44 -- Installing: /usr/local/include/cbor/internal/unicode.h 12:18:44 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 12:18:44 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 12:18:44 -- Installing: /usr/local/include/cbor/arrays.h 12:18:44 -- Installing: /usr/local/include/cbor/maps.h 12:18:44 -- Installing: /usr/local/include/cbor.h 12:18:44 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 12:18:46 Removing intermediate container e7e4b81e8660 12:18:46 ---> 7ff680068723 12:18:46 Step 8/25 : RUN mkdir /tmp/sdk 12:18:46 ---> Running in 320041f3282e 12:18:46 Removing intermediate container 320041f3282e 12:18:46 ---> 0d55d87fadba 12:18:46 Step 9/25 : COPY VERSION /tmp/sdk 12:18:49 ---> ba0265b9336a 12:18:49 Step 10/25 : COPY src /tmp/sdk/src 12:18:49 ---> 3eb089d30475 12:18:49 Step 11/25 : COPY include /tmp/sdk/include 12:18:51 ---> 27b7ebee4e22 12:18:51 Step 12/25 : COPY scripts /tmp/sdk/scripts 12:18:51 ---> 9c46f4f9d42e 12:18:51 Step 13/25 : COPY LICENSE /tmp/sdk 12:18:51 ---> d08d1a0486ff 12:18:51 Step 14/25 : COPY Attribution.txt /tmp/sdk 12:18:53 ---> 092a8ceae210 12:18:53 Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 12:18:53 ---> Running in 95a679932d94 12:18:53 + CPPCHECK=false 12:18:53 + DOCGEN=false 12:18:53 + TOMLVER=SDK-0.2 12:18:53 + CUTILVER=1.1.4 12:18:53 + '[' 0 -gt 0 ] 12:18:53 + readlink -f ./scripts/build.sh 12:18:53 + dirname /tmp/sdk/scripts/build.sh 12:18:53 + dirname /tmp/sdk/scripts 12:18:53 + ROOT=/tmp/sdk 12:18:53 + cd /tmp/sdk 12:18:53 + '[' '!' -d deps ] 12:18:53 + mkdir deps 12:18:53 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 12:18:53 + tar -C deps -z -x -f - 12:18:53 --2021-05-24 12:18:52-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 12:18:53 Resolving github.com... 140.82.114.4 12:18:53 Connecting to github.com|140.82.114.4|:443... connected. 12:18:53 HTTP request sent, awaiting response... 302 Found 12:18:53 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 12:18:53 --2021-05-24 12:18:53-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 12:18:53 Resolving codeload.github.com... 140.82.114.10 12:18:53 Connecting to codeload.github.com|140.82.114.10|:443... connected. 12:18:53 HTTP request sent, awaiting response... 200 OK 12:18:53 Length: unspecified [application/x-gzip] 12:18:53 Saving to: 'STDOUT' 12:18:53 12:18:53 0K .......... ...... 932K=0.02s 12:18:53 12:18:53 2021-05-24 12:18:53 (932 KB/s) - written to stdout [16451] 12:18:53 12:18:53 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 12:18:53 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 12:18:53 + tar -C deps -z -x -f - 12:18:53 --2021-05-24 12:18:53-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 12:18:53 Resolving github.com... 140.82.114.4 12:18:53 Connecting to github.com|140.82.114.4|:443... connected. 12:18:53 HTTP request sent, awaiting response... 302 Found 12:18:53 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] 12:18:53 --2021-05-24 12:18:53-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 12:18:53 Resolving codeload.github.com... 140.82.114.10 12:18:53 Connecting to codeload.github.com|140.82.114.10|:443... connected. 12:18:53 HTTP request sent, awaiting response... 200 OK 12:18:53 Length: unspecified [application/x-gzip] 12:18:53 Saving to: 'STDOUT' 12:18:53  12:18:53 0K .......... .......... .......... .......... .......... 1.57M 12:18:53 50K .......... .......... .......... .......... .......... 2.99M 12:18:53 100K .......... .......... .......... .......... .......... 6.10M 12:18:53 150K .......... .......... ....... 1.59M=0.07s 12:18:53 12:18:53 2021-05-24 12:18:53 (2.40 MB/s) - written to stdout [181796] 12:18:53 12:18:53 + mkdir -p src/c/iot 12:18:53 + 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 12:18:53 + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot 12:18:53 + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot 12:18:53 + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot 12:18:53 + mkdir -p include/iot 12:18:53 + 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 12:18:53 + mkdir -p include/iot/os 12:18:53 + 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 12:18:53 + mkdir -p /tmp/sdk/build/release 12:18:53 + cd /tmp/sdk/build/release 12:18:53 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 12:18:55 -- The C compiler identification is GNU 8.3.0 12:18:55 -- Check for working C compiler: /usr/bin/cc 12:18:55 -- Check for working C compiler: /usr/bin/cc -- works 12:18:55 -- Detecting C compiler ABI info 12:18:55 -- Detecting C compiler ABI info - done 12:18:55 -- Detecting C compile features 12:18:55 -- Detecting C compile features - done 12:18:55 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 12:18:55 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 12:18:55 -- Found LIBYAML: /usr/lib/libyaml.so 12:18:55 -- Found LIBUUID: /usr/lib/libuuid.so 12:18:55 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 12:18:55 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 12:18:55 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 12:18:55 -- C SDK 1.3.2-dev.15 for Linux 12:18:55 -- Performing Test CSDK_HAVE_ATOMIC 12:18:55 -- Performing Test CSDK_HAVE_ATOMIC - Success 12:18:55 -- Found Curses: /usr/lib/libcurses.so 12:18:55 -- Configuring done 12:18:55 -- Generating done 12:18:55 -- Build files have been written to: /tmp/sdk/build/release 12:18:55 + make all package 12:18:55 + tee release.log 12:18:58 Scanning dependencies of target csdk 12:18:58 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 12:18:58 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 12:18:58 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 12:19:00 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 12:19:00 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 12:19:00 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 12:19:00 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 12:19:02 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 12:19:02 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 12:19:02 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 12:19:05 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 12:19:05 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 12:19:05 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 12:19:05 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [Pipeline] sh 12:19:05 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 12:19:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:19:07 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 12:19:07 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 12:19:07 + ls -al . 12:19:07 total 160 12:19:07 drwxrwxr-x. 8 jenkins jenkins 260 May 24 12:17 . 12:19:07 drwxrwxr-x. 4 jenkins jenkins 30 May 24 12:17 .. 12:19:07 -rw-rw-r--. 1 jenkins jenkins 3104 May 24 12:17 Attribution.txt 12:19:07 -rw-rw-r--. 1 jenkins jenkins 7200 May 24 12:17 CHANGES 12:19:07 drwxrwxr-x. 2 jenkins jenkins 121 May 24 12:17 docs 12:19:07 -rw-rw-r--. 1 jenkins jenkins 108574 May 24 12:17 Doxyfile 12:19:07 drwxrwxr-x. 8 jenkins jenkins 162 May 24 12:17 .git 12:19:07 drwxrwxr-x. 2 jenkins jenkins 81 May 24 12:17 .github 12:19:07 -rw-rw-r--. 1 jenkins jenkins 176 May 24 12:17 .gitignore 12:19:07 drwxrwxr-x. 4 jenkins jenkins 33 May 24 12:17 include 12:19:07 -rw-rw-r--. 1 jenkins jenkins 784 May 24 12:17 Jenkinsfile 12:19:07 -rw-rw-r--. 1 jenkins jenkins 10174 May 24 12:17 LICENSE 12:19:07 -rw-rw-r--. 1 jenkins jenkins 444 May 24 12:17 Makefile 12:19:07 -rw-rw-r--. 1 jenkins jenkins 4090 May 24 12:17 README.md 12:19:07 -rw-rw-r--. 1 jenkins jenkins 6654 May 24 12:17 README.v2.md 12:19:07 drwxrwxr-x. 2 jenkins jenkins 98 May 24 12:17 scripts 12:19:07 drwxrwxr-x. 4 jenkins jenkins 50 May 24 12:17 src 12:19:07 -rw-rw-r--. 1 jenkins jenkins 12 May 24 12:14 VERSION [Pipeline] isUnix [Pipeline] sh 12:19:08 + docker build -t device-sdk -f scripts/Dockerfile.alpine --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=6309ba15ff828e808134537d97827cb51d4f1f0b --label arch=amd64 --label version=1.3.2-dev.15 . 12:19:08 Sending build context to Docker daemon 2.51MB 12:19:08 Step 1/17 : ARG BASE=alpine:3.12 12:19:08 Step 2/17 : FROM ${BASE} 12:19:08 ---> 7c0a5ba79c1b 12:19:08 Step 3/17 : LABEL maintainer="IOTech " 12:19:08 ---> Running in cdf5eefe8ffa 12:19:08 Removing intermediate container cdf5eefe8ffa 12:19:08 ---> c21c3c5b4683 12:19:08 Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub 12:19:08 ---> Running in f10b64cebdd5 12:19:08 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 12:19:08 --2021-05-24 12:19:08-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub 12:19:08 Resolving iotech.jfrog.io... 54.72.115.12, 34.243.182.113, 54.74.239.58 12:19:08 Connecting to iotech.jfrog.io|54.72.115.12|:443... connected. 12:19:08 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 12:19:08 HTTP request sent, awaiting response... 200 OK 12:19:08 Length: 451 [application/octet-stream] 12:19:08 Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 12:19:08  12:19:08 0K 100% 75.3M=0s 12:19:08 12:19:08 2021-05-24 12:19:08 (75.3 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] 12:19:08 12:19:09 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 12:19:09 Removing intermediate container f10b64cebdd5 12:19:09 ---> 1bd47b02c7b1 12:19:09 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 12:19:09 ---> Running in 14b3fa31eb6a 12:19:09 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 12:19:09 Removing intermediate container 14b3fa31eb6a 12:19:09 ---> c3e36a23782a 12:19:09 Step 6/17 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev hiredis-dev && mkdir -p /edgex-c-sdk/build 12:19:09 ---> Running in 8e29127f9e89 12:19:09 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 12:19:09 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 12:19:10 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 12:19:10 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 12:19:10 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 12:19:11 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 12:19:11 (2/6) Installing libblkid (2.33-r0) 12:19:11 (3/6) Installing libfdisk (2.33-r0) 12:19:11 (4/6) Installing libmount (2.33-r0) 12:19:11 (5/6) Installing libsmartcols (2.33-r0) 12:19:11 (6/6) Installing util-linux-dev (2.33-r0) 12:19:11 Executing busybox-1.29.3-r10.trigger 12:19:12 OK: 273 MiB in 87 packages 12:19:12 Removing intermediate container 8e29127f9e89 12:19:12 ---> 1477720054db 12:19:12 Step 7/17 : COPY VERSION /edgex-c-sdk/ 12:19:12 ---> df8667a95782 12:19:12 Step 8/17 : COPY src /edgex-c-sdk/src/ 12:19:12 ---> 94418cdcb4de 12:19:12 Step 9/17 : COPY include /edgex-c-sdk/include/ 12:19:12 ---> acabb0a7d39c 12:19:12 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 12:19:12 ---> 96df6b1e2e96 12:19:12 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 12:19:13 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 12:19:13 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 12:19:13 ---> 8ad6348a5282 12:19:13 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 12:19:13 ---> f5f389c23ca1 12:19:13 Step 13/17 : WORKDIR /edgex-c-sdk 12:19:13 ---> Running in 221d53c307cb 12:19:13 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 12:19:13 Removing intermediate container 221d53c307cb 12:19:13 ---> d9f34e09e603 12:19:13 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 12:19:13 ---> Running in 036ad97f3a36 12:19:13 Removing intermediate container 036ad97f3a36 12:19:13 ---> fcd0c934a56d 12:19:13 Step 15/17 : LABEL arch=amd64 12:19:13 ---> Running in b874bd9b4c6c 12:19:13 Removing intermediate container b874bd9b4c6c 12:19:13 ---> 690fa29680cb 12:19:13 Step 16/17 : LABEL git_sha=6309ba15ff828e808134537d97827cb51d4f1f0b 12:19:13 ---> Running in cd066bf7aa4d 12:19:13 Removing intermediate container cd066bf7aa4d 12:19:13 ---> 702092662756 12:19:13 Step 17/17 : LABEL version=1.3.2-dev.15 12:19:13 ---> Running in a984bc8452bf 12:19:13 Removing intermediate container a984bc8452bf 12:19:13 ---> 186b3a66b990 12:19:13 [Warning] One or more build-args [MAKE ARCH] were not consumed 12:19:13 Successfully built 186b3a66b990 12:19:13 Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // script [Pipeline] } 12:19:15 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 12:19:15 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 12:19:15 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 12:19:15 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 12:19:15 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 12:19:16 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 12:19:16 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 12:19:18 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 12:19:18 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 12:19:19 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 12:19:19 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 12:19:24 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 12:19:24 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 12:19:24 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 12:19:25 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 12:19:26 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 12:19:27 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 12:19:29 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 12:19:32 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 12:19:32 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 12:19:33 [ 74%] Linking C shared library libcsdk.so 12:19:33 [ 74%] Built target csdk 12:19:33 Scanning dependencies of target template 12:19:33 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 12:19:34 [ 77%] Linking C executable template 12:19:34 [ 77%] Built target template 12:19:34 Scanning dependencies of target device-counter 12:19:34 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 12:19:35 [ 80%] Linking C executable device-counter 12:19:35 [ 80%] Built target device-counter 12:19:35 Scanning dependencies of target device-random 12:19:35 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 12:19:35 [ 84%] Linking C executable device-random 12:19:35 [ 84%] Built target device-random 12:19:35 Scanning dependencies of target device-gyro 12:19:35 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 12:19:36 [ 87%] Linking C executable device-gyro 12:19:36 [ 87%] Built target device-gyro 12:19:36 Scanning dependencies of target device-bitfields 12:19:36 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 12:19:37 [ 90%] Linking C executable device-bitfields 12:19:37 [ 90%] Built target device-bitfields 12:19:37 Scanning dependencies of target template-discovery 12:19:37 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 12:19:37 [ 93%] Linking C executable template-discovery 12:19:37 [ 93%] Built target template-discovery 12:19:38 Scanning dependencies of target device-file 12:19:38 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 12:19:38 [ 96%] Linking C executable device-file 12:19:38 [ 96%] Built target device-file 12:19:38 Scanning dependencies of target device-terminal 12:19:38 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 12:19:39 [100%] Linking C executable device-terminal 12:19:39 [100%] Built target device-terminal 12:19:39 Run CPack packaging tool... 12:19:39 CPack: Create package using TGZ 12:19:39 CPack: Install projects 12:19:39 CPack: - Run preinstall target for: Csdk 12:19:40 CPack: - Install project: Csdk 12:19:40 CPack: Create package 12:19:40 CPack: - package: /tmp/sdk/build/release/csdk-1.3.2-dev.15.tar.gz generated. 12:19:40 + '[' false '=' true ] 12:19:40 + '[' false '=' true ] 12:19:40 + mkdir -p /tmp/sdk/build/debug 12:19:40 + cd /tmp/sdk/build/debug 12:19:40 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 12:19:42 -- The C compiler identification is GNU 8.3.0 12:19:42 -- Check for working C compiler: /usr/bin/cc 12:19:42 -- Check for working C compiler: /usr/bin/cc -- works 12:19:42 -- Detecting C compiler ABI info 12:19:42 -- Detecting C compiler ABI info - done 12:19:42 -- Detecting C compile features 12:19:42 -- Detecting C compile features - done 12:19:42 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 12:19:42 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 12:19:42 -- Found LIBYAML: /usr/lib/libyaml.so 12:19:42 -- Found LIBUUID: /usr/lib/libuuid.so 12:19:42 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 12:19:42 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 12:19:42 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 12:19:42 -- C SDK 1.3.2-dev.15 for Linux 12:19:42 -- Performing Test CSDK_HAVE_ATOMIC 12:19:42 -- Performing Test CSDK_HAVE_ATOMIC - Success 12:19:42 -- Found Curses: /usr/lib/libcurses.so 12:19:42 -- Configuring done 12:19:42 -- Generating done 12:19:42 -- Build files have been written to: /tmp/sdk/build/debug 12:19:42 + make 12:19:42 + tee debug.log 12:19:42 Scanning dependencies of target csdk 12:19:43 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 12:19:43 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 12:19:43 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 12:19:44 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 12:19:44 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 12:19:44 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 12:19:45 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 12:19:45 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 12:19:45 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 12:19:45 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 12:19:46 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 12:19:46 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 12:19:46 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 12:19:47 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 12:19:47 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 12:19:47 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 12:19:47 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 12:19:48 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 12:19:48 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 12:19:48 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 12:19:49 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 12:19:49 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 12:19:49 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 12:19:51 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 12:19:51 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 12:19:51 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 12:19:51 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 12:19:51 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 12:19:51 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 12:19:51 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 12:19:51 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 12:19:52 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 12:19:52 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 12:19:52 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 12:19:52 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 12:19:53 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 12:19:53 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 12:19:54 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 12:19:54 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 12:19:54 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 12:19:55 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 12:19:55 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 12:19:56 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 12:19:57 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 12:19:57 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 12:19:57 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 12:19:58 [ 74%] Linking C shared library libcsdk.so 12:19:58 [ 74%] Built target csdk 12:19:58 Scanning dependencies of target template 12:19:58 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 12:19:58 [ 77%] Linking C executable template 12:19:59 [ 77%] Built target template 12:19:59 Scanning dependencies of target device-counter 12:19:59 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 12:19:59 [ 80%] Linking C executable device-counter 12:19:59 [ 80%] Built target device-counter 12:19:59 Scanning dependencies of target device-random 12:19:59 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 12:19:59 [ 84%] Linking C executable device-random 12:19:59 [ 84%] Built target device-random 12:20:00 Scanning dependencies of target device-gyro 12:20:00 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 12:20:00 [ 87%] Linking C executable device-gyro 12:20:00 [ 87%] Built target device-gyro 12:20:00 Scanning dependencies of target device-bitfields 12:20:00 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 12:20:00 [ 90%] Linking C executable device-bitfields 12:20:00 [ 90%] Built target device-bitfields 12:20:00 Scanning dependencies of target template-discovery 12:20:00 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 12:20:01 [ 93%] Linking C executable template-discovery 12:20:01 [ 93%] Built target template-discovery 12:20:01 Scanning dependencies of target device-file 12:20:01 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 12:20:01 [ 96%] Linking C executable device-file 12:20:02 [ 96%] Built target device-file 12:20:02 Scanning dependencies of target device-terminal 12:20:02 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 12:20:02 [100%] Linking C executable device-terminal 12:20:02 [100%] Built target device-terminal 12:20:02 make: Entering directory '/tmp/sdk/build/release' 12:20:02 make[1]: Entering directory '/tmp/sdk/build/release' 12:20:02 make[2]: Entering directory '/tmp/sdk/build/release' 12:20:02 make[2]: Leaving directory '/tmp/sdk/build/release' 12:20:02 [ 74%] Built target csdk 12:20:02 make[2]: Entering directory '/tmp/sdk/build/release' 12:20:02 make[2]: Leaving directory '/tmp/sdk/build/release' 12:20:02 [ 77%] Built target template 12:20:02 make[2]: Entering directory '/tmp/sdk/build/release' 12:20:02 make[2]: Leaving directory '/tmp/sdk/build/release' 12:20:02 [ 80%] Built target device-counter 12:20:02 make[2]: Entering directory '/tmp/sdk/build/release' 12:20:02 make[2]: Leaving directory '/tmp/sdk/build/release' 12:20:02 [ 84%] Built target device-random 12:20:02 make[2]: Entering directory '/tmp/sdk/build/release' 12:20:02 make[2]: Leaving directory '/tmp/sdk/build/release' 12:20:03 [ 87%] Built target device-gyro 12:20:03 make[2]: Entering directory '/tmp/sdk/build/release' 12:20:03 make[2]: Leaving directory '/tmp/sdk/build/release' 12:20:03 [ 90%] Built target device-bitfields 12:20:03 make[2]: Entering directory '/tmp/sdk/build/release' 12:20:03 make[2]: Leaving directory '/tmp/sdk/build/release' 12:20:03 [ 93%] Built target template-discovery 12:20:03 make[2]: Entering directory '/tmp/sdk/build/release' 12:20:03 make[2]: Leaving directory '/tmp/sdk/build/release' 12:20:03 [ 96%] Built target device-file 12:20:03 make[2]: Entering directory '/tmp/sdk/build/release' 12:20:03 make[2]: Leaving directory '/tmp/sdk/build/release' 12:20:03 [100%] Built target device-terminal 12:20:03 make[1]: Leaving directory '/tmp/sdk/build/release' 12:20:03 Install the project... 12:20:03 -- Install configuration: "Release" 12:20:03 -- Installing: /usr/local/lib/libcsdk.so 12:20:03 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 12:20:03 -- Up-to-date: /usr/local/include 12:20:03 -- Installing: /usr/local/include/edgex 12:20:03 -- Installing: /usr/local/include/edgex/rest-server.h 12:20:03 -- Installing: /usr/local/include/edgex/edgex-base.h 12:20:03 -- Installing: /usr/local/include/edgex/edgex.h 12:20:03 -- Installing: /usr/local/include/edgex/devices.h 12:20:03 -- Installing: /usr/local/include/edgex/profiles.h 12:20:03 -- Installing: /usr/local/include/edgex/csdk-defs.h 12:20:03 -- Installing: /usr/local/include/devsdk 12:20:03 -- Installing: /usr/local/include/devsdk/devsdk-base.h 12:20:03 -- Installing: /usr/local/include/devsdk/devsdk.h 12:20:03 -- Installing: /usr/local/include/iot 12:20:03 -- Installing: /usr/local/include/iot/json.h 12:20:03 -- Installing: /usr/local/include/iot/container.h 12:20:03 -- Installing: /usr/local/include/iot/component.h 12:20:03 -- Installing: /usr/local/include/iot/typecode.h 12:20:03 -- Installing: /usr/local/include/iot/iot.h 12:20:03 -- Installing: /usr/local/include/iot/time.h 12:20:03 -- Installing: /usr/local/include/iot/hash.h 12:20:03 -- Installing: /usr/local/include/iot/logger.h 12:20:03 -- Installing: /usr/local/include/iot/os 12:20:03 -- Installing: /usr/local/include/iot/os/zephyr.h 12:20:03 -- Installing: /usr/local/include/iot/os/linux.h 12:20:03 -- Installing: /usr/local/include/iot/os/macos.h 12:20:03 -- Installing: /usr/local/include/iot/scheduler.h 12:20:03 -- Installing: /usr/local/include/iot/data.h 12:20:03 -- Installing: /usr/local/include/iot/thread.h 12:20:03 -- Installing: /usr/local/include/iot/os.h 12:20:03 -- Installing: /usr/local/include/iot/base64.h 12:20:03 -- Installing: /usr/local/include/iot/defs.h 12:20:03 -- Installing: /usr/local/include/iot/threadpool.h 12:20:03 -- Installing: /usr/local/include/iot/config.h 12:20:03 -- Installing: /usr/local/share/device-sdk-c/LICENSE 12:20:03 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 12:20:03 make: Leaving directory '/tmp/sdk/build/release' 12:20:05 Removing intermediate container 95a679932d94 12:20:05 ---> 45e25975ecd7 12:20:05 Step 16/25 : FROM ${BASE} 12:20:05 ---> b23d30803547 12:20:05 Step 17/25 : LABEL maintainer="IOTech " 12:20:05 ---> Running in b764519fce23 12:20:05 Removing intermediate container b764519fce23 12:20:05 ---> 2e6bdc0bd02c 12:20:05 Step 18/25 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub 12:20:05 ---> Running in 78a925b17913 12:20:07 Connecting to iotech.jfrog.io (54.72.115.12:443) 12:20:07 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 12:20:07 12:20:08 Removing intermediate container 78a925b17913 12:20:08 ---> 4fe37a981b0c 12:20:08 Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 12:20:08 ---> Running in d0f052720932 12:20:11 Removing intermediate container d0f052720932 12:20:11 ---> e91614823e03 12:20:11 Step 20/25 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid paho-mqtt-c-dev hiredis-dev 12:20:11 ---> Running in 87f24aca9318 12:20:12 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 12:20:13 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 12:20:13 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 12:20:14 (1/6) Installing curl (7.64.0-r5) 12:20:14 (2/6) Installing hiredis (0.14.0-r0) 12:20:14 (3/6) Installing hiredis-dev (0.14.0-r0) 12:20:14 (4/6) Installing libuuid (2.33-r0) 12:20:14 (5/6) Installing paho-mqtt-c-dev (1.3.5-r0) 12:20:15 (6/6) Installing wget (1.20.3-r0) 12:20:17 Executing busybox-1.29.3-r10.trigger 12:20:17 OK: 283 MiB in 81 packages 12:20:17 Removing intermediate container 87f24aca9318 12:20:17 ---> a12b0c20766a 12:20:17 Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 12:20:18 ---> f310f838e5c3 12:20:18 Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 12:20:19 ---> ad12377e60f9 12:20:19 Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib 12:20:19 ---> d15ebdd49287 12:20:19 Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 12:20:20 ---> 287e646c387a 12:20:20 Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 12:20:21 ---> 3d2824807f44 12:20:21 Successfully built 3d2824807f44 12:20:21 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:20:22 + docker inspect -f . ci-base-image-arm64 12:20:22 . [Pipeline] withDockerContainer 12:20:22 prd-ubuntu18.04-docker-arm64-4c-16g-16885 does not seem to be running inside a container 12:20:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/67 -v /w/workspace/device-sdk-c/67:/w/workspace/device-sdk-c/67:rw,z -v /w/workspace/device-sdk-c/67@tmp:/w/workspace/device-sdk-c/67@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 ******** ci-base-image-arm64 cat 12:20:24 $ docker top e22f1e4f714a8d1db0b3bc980f4b50cc55e8d0d3119ea9e43fa14d7774febaf2 -eo pid,comm [Pipeline] { [Pipeline] sh 12:20:25 + make test 12:20:25 echo "make test" 12:20:25 make test [Pipeline] } 12:20:25 $ docker stop --time=1 e22f1e4f714a8d1db0b3bc980f4b50cc55e8d0d3119ea9e43fa14d7774febaf2 12:20:27 $ docker rm -f e22f1e4f714a8d1db0b3bc980f4b50cc55e8d0d3119ea9e43fa14d7774febaf2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:20:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:20:30 + ls -al . 12:20:30 total 192 12:20:30 drwxrwxr-x 8 jenkins jenkins 4096 May 24 12:17 . 12:20:30 drwxrwxr-x 4 jenkins jenkins 4096 May 24 12:17 .. 12:20:30 drwxrwxr-x 8 jenkins jenkins 4096 May 24 12:17 .git 12:20:30 drwxrwxr-x 2 jenkins jenkins 4096 May 24 12:17 .github 12:20:30 -rw-rw-r-- 1 jenkins jenkins 176 May 24 12:17 .gitignore 12:20:30 -rw-rw-r-- 1 jenkins jenkins 3104 May 24 12:17 Attribution.txt 12:20:30 -rw-rw-r-- 1 jenkins jenkins 7200 May 24 12:17 CHANGES 12:20:30 -rw-rw-r-- 1 jenkins jenkins 108574 May 24 12:17 Doxyfile 12:20:30 -rw-rw-r-- 1 jenkins jenkins 784 May 24 12:17 Jenkinsfile 12:20:30 -rw-rw-r-- 1 jenkins jenkins 10174 May 24 12:17 LICENSE 12:20:30 -rw-rw-r-- 1 jenkins jenkins 444 May 24 12:17 Makefile 12:20:30 -rw-rw-r-- 1 jenkins jenkins 4090 May 24 12:17 README.md 12:20:30 -rw-rw-r-- 1 jenkins jenkins 6654 May 24 12:17 README.v2.md 12:20:30 -rw-rw-r-- 1 jenkins jenkins 12 May 24 12:14 VERSION 12:20:30 drwxrwxr-x 2 jenkins jenkins 4096 May 24 12:17 docs 12:20:30 drwxrwxr-x 4 jenkins jenkins 4096 May 24 12:17 include 12:20:30 drwxrwxr-x 2 jenkins jenkins 4096 May 24 12:17 scripts 12:20:30 drwxrwxr-x 4 jenkins jenkins 4096 May 24 12:17 src [Pipeline] isUnix [Pipeline] sh 12:20:30 + docker build -t device-sdk-arm64 -f scripts/Dockerfile.alpine --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=6309ba15ff828e808134537d97827cb51d4f1f0b --label arch=arm64 --label version=1.3.2-dev.15 . 12:20:31 Sending build context to Docker daemon 2.509MB 12:20:31 Step 1/17 : ARG BASE=alpine:3.12 12:20:31 Step 2/17 : FROM ${BASE} 12:20:31 ---> 3d2824807f44 12:20:31 Step 3/17 : LABEL maintainer="IOTech " 12:20:31 ---> Running in c9ac44e92c59 12:20:31 Removing intermediate container c9ac44e92c59 12:20:31 ---> 1188a9466e72 12:20:31 Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub 12:20:31 ---> Running in 88d01f427fec 12:20:32 --2021-05-24 12:20:32-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub 12:20:32 Resolving iotech.jfrog.io... 34.243.182.113, 54.72.115.12, 54.74.239.58 12:20:33 Connecting to iotech.jfrog.io|34.243.182.113|:443... connected. 12:20:33 HTTP request sent, awaiting response... 200 OK 12:20:33 Length: 451 [application/octet-stream] 12:20:33 Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 12:20:33  12:20:33 0K   100% 17.4M=0s 12:20:33 12:20:33 2021-05-24 12:20:33 (17.4 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] 12:20:33 12:20:34 Removing intermediate container 88d01f427fec 12:20:34 ---> fde7ad65e9df 12:20:34 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 12:20:34 ---> Running in 601435e9c134 12:20:37 Removing intermediate container 601435e9c134 12:20:37 ---> 44d5e6172d8f 12:20:37 Step 6/17 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev hiredis-dev && mkdir -p /edgex-c-sdk/build 12:20:37 ---> Running in 9f348d186443 12:20:38 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 12:20:38 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 12:20:39 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 12:20:40 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 12:20:40 (2/6) Installing libblkid (2.33-r0) 12:20:40 (3/6) Installing libfdisk (2.33-r0) 12:20:40 (4/6) Installing libmount (2.33-r0) 12:20:40 (5/6) Installing libsmartcols (2.33-r0) 12:20:40 (6/6) Installing util-linux-dev (2.33-r0) 12:20:41 Executing busybox-1.29.3-r10.trigger 12:20:41 OK: 287 MiB in 87 packages 12:20:42 Removing intermediate container 9f348d186443 12:20:42 ---> c55a15d64450 12:20:42 Step 7/17 : COPY VERSION /edgex-c-sdk/ 12:20:43 ---> 9e66a1db42ba 12:20:43 Step 8/17 : COPY src /edgex-c-sdk/src/ 12:20:44 ---> 8f83070a4e81 12:20:44 Step 9/17 : COPY include /edgex-c-sdk/include/ 12:20:45 ---> cb2a14c3306b 12:20:45 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 12:20:45 ---> a6ce12bae635 12:20:45 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 12:20:46 ---> 50c6ca57f73c 12:20:46 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 12:20:47 ---> 9a929ebd4b68 12:20:47 Step 13/17 : WORKDIR /edgex-c-sdk 12:20:47 ---> Running in fa840a85df9e 12:20:48 Removing intermediate container fa840a85df9e 12:20:48 ---> c3b8e94db918 12:20:48 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 12:20:48 ---> Running in 923e93763059 12:20:48 Removing intermediate container 923e93763059 12:20:48 ---> 902320084d4b 12:20:48 Step 15/17 : LABEL arch=arm64 12:20:49 ---> Running in 750cb92fa491 12:20:49 Removing intermediate container 750cb92fa491 12:20:49 ---> 2747a37d9443 12:20:49 Step 16/17 : LABEL git_sha=6309ba15ff828e808134537d97827cb51d4f1f0b 12:20:49 ---> Running in 520e72f2e941 12:20:50 Removing intermediate container 520e72f2e941 12:20:50 ---> cc48ce0d7772 12:20:50 Step 17/17 : LABEL version=1.3.2-dev.15 12:20:50 ---> Running in e6c38230e654 12:20:50 Removing intermediate container e6c38230e654 12:20:50 ---> bf62e2cce9cc 12:20:50 [Warning] One or more build-args [MAKE ARCH] were not consumed 12:20:50 Successfully built bf62e2cce9cc 12:20:50 Successfully tagged device-sdk-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] isUnix [Pipeline] sh 12:20:53 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:20:53 . [Pipeline] withDockerContainer 12:20:54 prd-centos7-docker-4c-2g-16884 does not seem to be running inside a container 12:20:54 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_master -v /w/workspace/edgexfoundry_device-sdk-c_master:/w/workspace/edgexfoundry_device-sdk-c_master:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_master@tmp:/w/workspace/edgexfoundry_device-sdk-c_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 12:20:54 $ docker top 4fece6d3e0774cb71d1287a7f05df8d8fad5cb365c6bcc352fede4f2b95ffa31 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:20:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:20:54 [ssh-agent] Looking for ssh-agent implementation... 12:20:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:20:54 $ docker exec 4fece6d3e0774cb71d1287a7f05df8d8fad5cb365c6bcc352fede4f2b95ffa31 ssh-agent 12:20:54 SSH_AUTH_SOCK=/tmp/ssh-rezzvpUHxsjf/agent.13 12:20:54 SSH_AGENT_PID=19 12:20:54 Running ssh-add (command line suppressed) 12:20:54 Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_8762970104276741653.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_8762970104276741653.key) 12:20:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:20:55 + git semver tag 12:20:55 # -> Open(): unable to determine branch for HEAD 12:20:55 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.git 12:20:55 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_master 12:20:55 # $SEMVER_REMOTE_NAME = origin 12:20:55 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 12:20:55 # $SEMVER_USER_NAME = edgex-jenkins 12:20:55 # $SEMVER_BRANCH = master 12:20:55 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.semver 12:20:55 # 6309ba15ff828e808134537d97827cb51d4f1f0b HEAD 12:20:55 # -> Force: false 12:20:55 # 70c3ecbef15cadc8d256232305f871fbf10ed166 refs/tags/v1.3.2-dev.15 [Pipeline] } 12:20:55 $ docker exec --env ******** --env ******** 4fece6d3e0774cb71d1287a7f05df8d8fad5cb365c6bcc352fede4f2b95ffa31 ssh-agent -k 12:20:55 unset SSH_AUTH_SOCK; 12:20:55 unset SSH_AGENT_PID; 12:20:55 echo Agent pid 19 killed; 12:20:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:20:57 + git semver [Pipeline] } 12:20:57 $ docker stop --time=1 4fece6d3e0774cb71d1287a7f05df8d8fad5cb365c6bcc352fede4f2b95ffa31 12:20:58 $ docker rm -f 4fece6d3e0774cb71d1287a7f05df8d8fad5cb365c6bcc352fede4f2b95ffa31 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 12:20:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 12:20:59 12:20:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 12:20:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 12:20:59 0.23.1-centos7: Pulling from edgex-lftools 12:20:59 ab5ef0e58194: Pulling fs layer 12:20:59 9712f1f96733: Pulling fs layer 12:20:59 63f879dbbcfc: Pulling fs layer 12:20:59 0d9ebad4ef96: Pulling fs layer 12:20:59 e9a5061849ea: Pulling fs layer 12:20:59 d747dcd14b5f: Pulling fs layer 12:20:59 2de7ff778b66: Pulling fs layer 12:20:59 0d9ebad4ef96: Waiting 12:20:59 e9a5061849ea: Waiting 12:20:59 d747dcd14b5f: Waiting 12:20:59 2de7ff778b66: Waiting 12:20:59 9712f1f96733: Download complete 12:21:01 63f879dbbcfc: Verifying Checksum 12:21:01 63f879dbbcfc: Download complete 12:21:01 e9a5061849ea: Verifying Checksum 12:21:01 e9a5061849ea: Download complete 12:21:01 d747dcd14b5f: Download complete 12:21:02 2de7ff778b66: Verifying Checksum 12:21:02 2de7ff778b66: Download complete 12:21:02 0d9ebad4ef96: Verifying Checksum 12:21:02 0d9ebad4ef96: Download complete 12:21:02 ab5ef0e58194: Verifying Checksum 12:21:02 ab5ef0e58194: Download complete 12:21:05 ab5ef0e58194: Pull complete 12:21:05 9712f1f96733: Pull complete 12:21:06 63f879dbbcfc: Pull complete 12:21:09 0d9ebad4ef96: Pull complete 12:21:09 e9a5061849ea: Pull complete 12:21:09 d747dcd14b5f: Pull complete 12:21:10 2de7ff778b66: Pull complete 12:21:10 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 12:21:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 12:21:10 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 12:21:13 prd-centos7-docker-4c-2g-16884 does not seem to be running inside a container 12:21:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_master -v /w/workspace/edgexfoundry_device-sdk-c_master:/w/workspace/edgexfoundry_device-sdk-c_master:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_master@tmp:/w/workspace/edgexfoundry_device-sdk-c_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 12:21:18 $ docker top 2c0e80f4ad744725119dde765a8183a607b35f73e84a4a093fc2f315d3ae4855 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 12:21:18 provisioning config files... 12:21:18 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config3046609524169556606tmp 12:21:18 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config3412186493849004005tmp 12:21:18 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config7179065692127910526tmp [Pipeline] { [Pipeline] echo 12:21:18 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 12:21:19 ---> sigul-configuration.sh 12:21:19 gpg: directory `/root/.gnupg' created 12:21:19 gpg: new configuration file `/root/.gnupg/gpg.conf' created 12:21:19 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 12:21:19 gpg: keyring `/root/.gnupg/secring.gpg' created 12:21:19 gpg: keyring `/root/.gnupg/pubring.gpg' created 12:21:19 gpg: CAST5 encrypted data 12:21:19 gpg: encrypted with 1 passphrase 12:21:19 gpg: WARNING: message was not integrity protected [Pipeline] sh 12:21:19 + mkdir /home/jenkins 12:21:19 + mkdir /home/jenkins/sigul [Pipeline] sh 12:21:19 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 12:21:19 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 12:21:20 ---> sigul-install.sh 12:21:24 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 12:21:24 + git tag --list 12:21:24 0.7.0 12:21:24 0.7.1 12:21:24 1.0.0 12:21:24 v1.0.1 12:21:24 v1.0.2 12:21:24 v1.0.3 12:21:24 v1.1.0 12:21:24 v1.1.1 12:21:24 v1.2.0 12:21:24 v1.2.1 12:21:24 v1.2.2 12:21:24 v1.3.0 12:21:24 v1.3.1 12:21:24 v1.3.1-dev.1 12:21:24 v1.3.1-dev.2 12:21:24 v1.3.1-dev.3 12:21:24 v1.3.2-dev.1 12:21:24 v1.3.2-dev.10 12:21:24 v1.3.2-dev.11 12:21:24 v1.3.2-dev.12 12:21:24 v1.3.2-dev.13 12:21:24 v1.3.2-dev.14 12:21:24 v1.3.2-dev.15 12:21:24 v1.3.2-dev.2 12:21:24 v1.3.2-dev.3 12:21:24 v1.3.2-dev.4 12:21:24 v1.3.2-dev.5 12:21:24 v1.3.2-dev.6 12:21:24 v1.3.2-dev.7 12:21:24 v1.3.2-dev.8 12:21:24 v1.3.2-dev.9 [Pipeline] sh 12:21:25 + lftools sign git-tag v1.3.2-dev.15 12:21:25 Signing Git tag with Sigul... 12:21:25 Signing v1.3.2-dev.15 [Pipeline] echo 12:21:26 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 12:21:26 ---> sigul-configuration-cleanup.sh [Pipeline] } 12:21:26 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 12:21:26 $ docker stop --time=1 2c0e80f4ad744725119dde765a8183a607b35f73e84a4a093fc2f315d3ae4855 12:21:28 $ docker rm -f 2c0e80f4ad744725119dde765a8183a607b35f73e84a4a093fc2f315d3ae4855 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 12:21:31 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:21:31 . [Pipeline] withDockerContainer 12:21:31 prd-centos7-docker-4c-2g-16884 does not seem to be running inside a container 12:21:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_master -v /w/workspace/edgexfoundry_device-sdk-c_master:/w/workspace/edgexfoundry_device-sdk-c_master:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_master@tmp:/w/workspace/edgexfoundry_device-sdk-c_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 12:21:31 $ docker top 2cf7a48abedeb54f73074a498ab50cc38d2d02b75536f3c78acf3811cb858081 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:21:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:21:32 [ssh-agent] Looking for ssh-agent implementation... 12:21:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:21:32 $ docker exec 2cf7a48abedeb54f73074a498ab50cc38d2d02b75536f3c78acf3811cb858081 ssh-agent 12:21:32 SSH_AUTH_SOCK=/tmp/ssh-dyToL0PEMY5m/agent.13 12:21:32 SSH_AGENT_PID=19 12:21:32 Running ssh-add (command line suppressed) 12:21:32 Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_7414895992779384635.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_7414895992779384635.key) 12:21:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:21:32 + git semver bump pre 12:21:32 # -> Open(): unable to determine branch for HEAD 12:21:32 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.git 12:21:32 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_master 12:21:32 # $SEMVER_REMOTE_NAME = origin 12:21:32 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 12:21:32 # $SEMVER_USER_NAME = edgex-jenkins 12:21:32 # $SEMVER_BRANCH = master 12:21:32 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.semver 12:21:32 1.3.2-dev.16 [Pipeline] } 12:21:32 $ docker exec --env ******** --env ******** 2cf7a48abedeb54f73074a498ab50cc38d2d02b75536f3c78acf3811cb858081 ssh-agent -k 12:21:32 unset SSH_AUTH_SOCK; 12:21:32 unset SSH_AGENT_PID; 12:21:32 echo Agent pid 19 killed; 12:21:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:21:33 + git semver [Pipeline] } 12:21:33 $ docker stop --time=1 2cf7a48abedeb54f73074a498ab50cc38d2d02b75536f3c78acf3811cb858081 12:21:34 $ docker rm -f 2cf7a48abedeb54f73074a498ab50cc38d2d02b75536f3c78acf3811cb858081 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 12:21:36 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:21:36 . [Pipeline] withDockerContainer 12:21:36 prd-centos7-docker-4c-2g-16884 does not seem to be running inside a container 12:21:36 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_master -v /w/workspace/edgexfoundry_device-sdk-c_master:/w/workspace/edgexfoundry_device-sdk-c_master:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_master@tmp:/w/workspace/edgexfoundry_device-sdk-c_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 12:21:37 $ docker top 84de1fa5e40bb5c49975f4da083c143d2e81878bb953f32e51f51c1cb8c0b61b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:21:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:21:37 [ssh-agent] Looking for ssh-agent implementation... 12:21:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:21:37 $ docker exec 84de1fa5e40bb5c49975f4da083c143d2e81878bb953f32e51f51c1cb8c0b61b ssh-agent 12:21:37 SSH_AUTH_SOCK=/tmp/ssh-ut4Cvoa8mKLe/agent.14 12:21:37 SSH_AGENT_PID=20 12:21:37 Running ssh-add (command line suppressed) 12:21:37 Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_3115574532713418683.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_3115574532713418683.key) 12:21:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:21:37 + git semver push 12:21:37 # -> Open(): unable to determine branch for HEAD 12:21:37 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.git 12:21:37 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_master 12:21:37 # $SEMVER_REMOTE_NAME = origin 12:21:37 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 12:21:37 # $SEMVER_USER_NAME = edgex-jenkins 12:21:37 # $SEMVER_BRANCH = master 12:21:37 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.semver [Pipeline] } 12:21:42 $ docker exec --env ******** --env ******** 84de1fa5e40bb5c49975f4da083c143d2e81878bb953f32e51f51c1cb8c0b61b ssh-agent -k 12:21:42 unset SSH_AUTH_SOCK; 12:21:42 unset SSH_AGENT_PID; 12:21:42 echo Agent pid 20 killed; 12:21:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:21:42 + git semver [Pipeline] } 12:21:42 $ docker stop --time=1 84de1fa5e40bb5c49975f4da083c143d2e81878bb953f32e51f51c1cb8c0b61b 12:21:43 $ docker rm -f 84de1fa5e40bb5c49975f4da083c143d2e81878bb953f32e51f51c1cb8c0b61b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 12:21:46 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:21:49 ---> package-listing.sh 12:21:49 ++ facter osfamily 12:21:49 ++ tr '[:upper:]' '[:lower:]' 12:21:49 + OS_FAMILY=redhat 12:21:49 + workspace=/w/workspace/edgexfoundry_device-sdk-c_master 12:21:49 + START_PACKAGES=/tmp/packages_start.txt 12:21:49 + END_PACKAGES=/tmp/packages_end.txt 12:21:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:21:49 + PACKAGES=/tmp/packages_start.txt 12:21:49 + '[' /w/workspace/edgexfoundry_device-sdk-c_master ']' 12:21:49 + PACKAGES=/tmp/packages_end.txt 12:21:49 + case "${OS_FAMILY}" in 12:21:49 + rpm -qa 12:21:49 + sort 12:21:49 + '[' -f /tmp/packages_start.txt ']' 12:21:49 + '[' -f /tmp/packages_end.txt ']' 12:21:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:21:49 + '[' /w/workspace/edgexfoundry_device-sdk-c_master ']' 12:21:49 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_master/archives/ 12:21:49 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_master/archives/ [Pipeline] echo 12:21:49 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_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:21:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 12:21:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 12:21:50 12:21:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 12:21:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 12:21:50 alpine: Pulling from edgex-lftools-log-publisher 12:21:50 df20fa9351a1: Pulling fs layer 12:21:50 36b3adc4ff6f: Pulling fs layer 12:21:50 8ad3a11d3b57: Pulling fs layer 12:21:50 46f8f816bc3b: Pulling fs layer 12:21:50 93b61091891f: Pulling fs layer 12:21:50 93b9cdb0e59b: Pulling fs layer 12:21:50 5e14af77c1be: Pulling fs layer 12:21:50 01666e4c0597: Pulling fs layer 12:21:50 aa168da1d23b: Pulling fs layer 12:21:50 46f8f816bc3b: Waiting 12:21:50 93b61091891f: Waiting 12:21:50 93b9cdb0e59b: Waiting 12:21:50 5e14af77c1be: Waiting 12:21:50 01666e4c0597: Waiting 12:21:50 aa168da1d23b: Waiting 12:21:50 36b3adc4ff6f: Verifying Checksum 12:21:50 36b3adc4ff6f: Download complete 12:21:50 46f8f816bc3b: Verifying Checksum 12:21:50 46f8f816bc3b: Download complete 12:21:50 df20fa9351a1: Verifying Checksum 12:21:50 df20fa9351a1: Download complete 12:21:50 93b9cdb0e59b: Verifying Checksum 12:21:50 93b9cdb0e59b: Download complete 12:21:50 5e14af77c1be: Verifying Checksum 12:21:50 5e14af77c1be: Download complete 12:21:50 93b61091891f: Verifying Checksum 12:21:50 93b61091891f: Download complete 12:21:50 01666e4c0597: Verifying Checksum 12:21:50 01666e4c0597: Download complete 12:21:50 df20fa9351a1: Pull complete 12:21:50 8ad3a11d3b57: Verifying Checksum 12:21:50 8ad3a11d3b57: Download complete 12:21:50 36b3adc4ff6f: Pull complete 12:21:51 8ad3a11d3b57: Pull complete 12:21:51 46f8f816bc3b: Pull complete 12:21:51 93b61091891f: Pull complete 12:21:51 93b9cdb0e59b: Pull complete 12:21:51 5e14af77c1be: Pull complete 12:21:51 01666e4c0597: Pull complete 12:21:52 aa168da1d23b: Verifying Checksum 12:21:52 aa168da1d23b: Download complete 12:21:57 aa168da1d23b: Pull complete 12:21:57 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 12:21:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 12:21:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 12:21:57 prd-centos7-docker-4c-2g-16884 does not seem to be running inside a container 12:21:57 $ 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_master/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_master -v /w/workspace/edgexfoundry_device-sdk-c_master:/w/workspace/edgexfoundry_device-sdk-c_master:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_master@tmp:/w/workspace/edgexfoundry_device-sdk-c_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 12:21:59 $ docker top 179a7b495ff78afa40aba14049585b84485fab03a2fa348e888701f97117ba10 -eo pid,comm [Pipeline] { [Pipeline] sh 12:22:00 + touch /tmp/pre-build-complete [Pipeline] sh 12:22:00 + mkdir -p /var/log/sa [Pipeline] sh 12:22:00 + ls /var/log/sa-host 12:22:00 + sadf -c /var/log/sa-host/sa05 12:22:00 file_magic: OK 12:22:00 HZ: Using current value: 100 12:22:00 file_header: OK 12:22:00 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 12:22:00 Statistics: 12:22:00 Hnuu...uuuununununu...Hnuu...uuuununununu... 12:22:00 File successfully converted to sysstat format version 12.2.1 12:22:00 + sadf -c /var/log/sa-host/sa24 12:22:00 file_magic: OK 12:22:00 HZ: Using current value: 100 12:22:00 file_header: OK 12:22:00 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 12:22:00 Statistics: 12:22:00 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 12:22:00 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:22:05 provisioning config files... 12:22:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config3972805054988179862tmp [Pipeline] { [Pipeline] echo 12:22:05 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:22:05 ---> create-netrc.sh [Pipeline] } 12:22:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 12:22:05 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 12:22:08 ---> python-tools-install.sh [Pipeline] echo 12:22:08 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:22:08 ---> sudo-logs.sh 12:22:08 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:22:08 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:22:08 ---> job-cost.sh 12:22:08 lf-activate-venv: SKIPPING 12:22:08 INFO: No Stack... 12:22:09 INFO: Retrieving Pricing Info for: v3-standard-2 12:22:09 INFO: Archiving Costs [Pipeline] echo 12:22:09 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:22:10 ---> logs-deploy.sh 12:22:10 lf-activate-venv: SKIPPING 12:22:10 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/master/67 12:22:10 INFO: archiving workspace using pattern(s): 12:22:11 Archives upload complete. 12:22:11 INFO: archiving logs to Nexus 12:22:11 ---> uname -a: 12:22:11 Linux prd-centos7-docker-4c-2g-16884.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux 12:22:11 12:22:11 12:22:11 ---> lscpu: 12:22:11 Architecture: x86_64 12:22:11 CPU op-mode(s): 32-bit, 64-bit 12:22:11 Byte Order: Little Endian 12:22:11 Address sizes: 40 bits physical, 48 bits virtual 12:22:11 CPU(s): 2 12:22:11 On-line CPU(s) list: 0,1 12:22:11 Thread(s) per core: 1 12:22:11 Core(s) per socket: 1 12:22:11 Socket(s): 2 12:22:11 NUMA node(s): 1 12:22:11 Vendor ID: AuthenticAMD 12:22:11 CPU family: 23 12:22:11 Model: 49 12:22:11 Model name: AMD EPYC-Rome Processor 12:22:11 Stepping: 0 12:22:11 CPU MHz: 2799.998 12:22:11 BogoMIPS: 5599.99 12:22:11 Virtualization: AMD-V 12:22:11 Hypervisor vendor: KVM 12:22:11 Virtualization type: full 12:22:11 L1d cache: 64 KiB 12:22:11 L1i cache: 64 KiB 12:22:11 L2 cache: 1 MiB 12:22:11 L3 cache: 32 MiB 12:22:11 NUMA node0 CPU(s): 0,1 12:22:11 Vulnerability Itlb multihit: Not affected 12:22:11 Vulnerability L1tf: Not affected 12:22:11 Vulnerability Mds: Not affected 12:22:11 Vulnerability Meltdown: Not affected 12:22:11 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 12:22:11 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 12:22:11 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 12:22:11 Vulnerability Srbds: Not affected 12:22:11 Vulnerability Tsx async abort: Not affected 12:22:11 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 arat npt nrip_save umip spec_ctrl intel_stibp 12:22:11 12:22:11 12:22:11 ---> nproc: 12:22:11 2 12:22:11 12:22:11 12:22:11 ---> df -h: 12:22:11 Filesystem Size Used Available Use% Mounted on 12:22:11 overlay 40.0G 8.2G 31.8G 20% / 12:22:11 tmpfs 64.0M 0 64.0M 0% /dev 12:22:11 tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup 12:22:11 shm 64.0M 0 64.0M 0% /dev/shm 12:22:11 /dev/vda1 40.0G 8.2G 31.8G 20% /facter-os 12:22:11 /dev/vda1 40.0G 8.2G 31.8G 20% /etc/resolv.conf 12:22:11 /dev/vda1 40.0G 8.2G 31.8G 20% /etc/hostname 12:22:11 /dev/vda1 40.0G 8.2G 31.8G 20% /etc/hosts 12:22:11 /dev/vda1 40.0G 8.2G 31.8G 20% /var/log/sa-host 12:22:11 /dev/vda1 40.0G 8.2G 31.8G 20% /var/log/secure 12:22:11 /dev/vda1 40.0G 8.2G 31.8G 20% /var/log/auth.log 12:22:11 /dev/vda1 40.0G 8.2G 31.8G 20% /run/cloud-init/result.json 12:22:11 /dev/vda1 40.0G 8.2G 31.8G 20% /w/workspace/edgexfoundry_device-sdk-c_master 12:22:11 /dev/vda1 40.0G 8.2G 31.8G 20% /w/workspace/edgexfoundry_device-sdk-c_master@tmp 12:22:11 12:22:11 12:22:11 ---> free -m: 12:22:11 total used free shared buff/cache available 12:22:11 Mem: 7821 1005 4128 0 2686 6689 12:22:11 Swap: 1023 0 1023 12:22:11 12:22:11 12:22:11 ---> ip addr: 12:22:11 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 12:22:11 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 12:22:11 inet 127.0.0.1/8 scope host lo 12:22:11 valid_lft forever preferred_lft forever 12:22:11 inet6 ::1/128 scope host 12:22:11 valid_lft forever preferred_lft forever 12:22:11 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 12:22:11 link/ether fa:16:3e:15:0e:2c brd ff:ff:ff:ff:ff:ff 12:22:11 inet 10.30.122.160/23 brd 10.30.123.255 scope global dynamic eth0 12:22:11 valid_lft 85864sec preferred_lft 85864sec 12:22:11 inet6 fe80::f816:3eff:fe15:e2c/64 scope link 12:22:11 valid_lft forever preferred_lft forever 12:22:11 3: docker0: mtu 1500 qdisc noqueue state DOWN 12:22:11 link/ether 02:42:2e:49:37:c3 brd ff:ff:ff:ff:ff:ff 12:22:11 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 12:22:11 valid_lft forever preferred_lft forever 12:22:11 inet6 fe80::42:2eff:fe49:37c3/64 scope link 12:22:11 valid_lft forever preferred_lft forever 12:22:11 12:22:11 12:22:11 ---> sar -b -r -n DEV: 12:22:11 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 05/24/21 _x86_64_ (2 CPU) 12:22:11 12:22:11 12:13:05 LINUX RESTART (2 CPU) 12:22:11 12:22:11 12:14:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 12:22:11 12:15:01 22.15 3.36 18.78 0.00 2564.80 3079.33 0.00 12:22:11 12:16:01 0.72 0.02 0.70 0.00 0.53 14.36 0.00 12:22:11 12:17:01 0.32 0.00 0.32 0.00 0.00 4.90 0.00 12:22:11 12:18:01 0.27 0.00 0.27 0.00 0.00 5.40 0.00 12:22:11 12:19:01 0.30 0.00 0.30 0.00 0.00 4.63 0.00 12:22:11 12:20:01 0.40 0.00 0.40 0.00 0.00 6.25 0.00 12:22:11 12:21:01 3.43 0.00 3.43 0.00 0.00 37.67 0.00 12:22:11 Average: 3.94 0.48 3.46 0.00 366.56 450.47 0.00 12:22:11 12:22:11 12:14:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 12:22:11 12:15:01 5530660 0 735828 9.19 2620 1739824 1091892 12.06 504028 1574416 20 12:22:11 12:16:01 5540248 0 726232 9.07 2620 1739832 1004212 11.09 496964 1574384 12 12:22:11 12:17:01 5537140 0 729340 9.11 2620 1739832 1026848 11.34 503056 1571372 16 12:22:11 12:18:01 5537028 0 729448 9.11 2620 1739836 1026500 11.33 502516 1571372 8 12:22:11 12:19:01 5540576 0 725892 9.06 2620 1739844 996436 11.00 493828 1577276 8 12:22:11 12:20:01 5531600 0 734868 9.18 2620 1739844 996352 11.00 503200 1577276 8 12:22:11 12:21:01 5402724 0 771584 9.63 2620 1832004 1181732 13.05 559668 1645120 92008 12:22:11 Average: 5517139 0 736170 9.19 2620 1753002 1046282 11.55 509037 1584459 13154 12:22:11 12:22:11 12:14:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 12:22:11 12:15:01 eth0 76.04 66.03 357.82 21.20 0.00 0.00 0.00 0.00 12:22:11 12:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:22:11 12:15:01 docker0 8.11 5.13 1.04 24.23 0.00 0.00 0.00 0.00 12:22:11 12:16:01 eth0 0.90 0.23 0.18 0.02 0.00 0.00 0.00 0.00 12:22:11 12:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:22:11 12:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:22:11 12:17:01 eth0 2.45 1.87 0.42 11.21 0.00 0.00 0.00 0.00 12:22:11 12:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:22:11 12:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:22:11 12:18:01 eth0 0.55 0.38 0.27 0.24 0.00 0.00 0.00 0.00 12:22:11 12:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:22:11 12:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:22:11 12:19:01 eth0 0.22 0.15 0.14 0.07 0.00 0.00 0.00 0.00 12:22:11 12:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:22:11 12:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:22:11 12:20:01 eth0 0.13 0.08 0.01 0.01 0.00 0.00 0.00 0.00 12:22:11 12:20:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:22:11 12:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:22:11 12:21:01 eth0 189.64 172.74 1566.58 16.47 0.00 0.00 0.00 0.00 12:22:11 12:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:22:11 12:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:22:11 Average: eth0 38.57 34.51 275.12 7.03 0.00 0.00 0.00 0.00 12:22:11 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:22:11 Average: docker0 1.16 0.73 0.15 3.46 0.00 0.00 0.00 0.00 12:22:11 12:22:11 12:22:11 ---> sar -P ALL: 12:22:11 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 05/24/21 _x86_64_ (2 CPU) 12:22:11 12:22:11 12:13:05 LINUX RESTART (2 CPU) 12:22:11 12:22:11 12:14:01 CPU %user %nice %system %iowait %steal %idle 12:22:11 12:15:01 all 2.78 0.00 1.55 0.59 0.04 95.04 12:22:11 12:15:01 0 2.82 0.00 1.61 0.12 0.03 95.41 12:22:11 12:15:01 1 2.74 0.00 1.49 1.06 0.05 94.66 12:22:11 12:16:01 all 0.09 0.00 0.04 0.00 0.03 99.83 12:22:11 12:16:01 0 0.13 0.00 0.03 0.00 0.02 99.82 12:22:11 12:16:01 1 0.05 0.00 0.05 0.00 0.05 99.85 12:22:11 12:17:01 all 0.15 0.00 0.04 0.00 0.03 99.78 12:22:11 12:17:01 0 0.17 0.00 0.05 0.00 0.02 99.77 12:22:11 12:17:01 1 0.13 0.00 0.03 0.00 0.03 99.80 12:22:11 12:18:01 all 0.09 0.00 0.03 0.00 0.03 99.85 12:22:11 12:18:01 0 0.17 0.00 0.03 0.00 0.02 99.78 12:22:11 12:18:01 1 0.02 0.00 0.03 0.00 0.03 99.92 12:22:11 12:19:01 all 0.15 0.00 0.20 0.00 0.03 99.62 12:22:11 12:19:01 0 0.18 0.00 0.13 0.00 0.02 99.67 12:22:11 12:19:01 1 0.12 0.00 0.27 0.00 0.05 99.57 12:22:11 12:20:01 all 0.08 0.00 0.03 0.00 0.02 99.87 12:22:11 12:20:01 0 0.13 0.00 0.02 0.00 0.00 99.85 12:22:11 12:20:01 1 0.03 0.00 0.03 0.00 0.03 99.90 12:22:11 12:21:01 all 1.20 0.00 0.72 0.03 0.04 98.00 12:22:11 12:21:01 0 1.08 0.00 0.77 0.05 0.03 98.06 12:22:11 12:21:01 1 1.33 0.00 0.67 0.02 0.05 97.94 12:22:11 Average: all 0.65 0.00 0.37 0.09 0.03 98.86 12:22:11 Average: 0 0.67 0.00 0.38 0.02 0.02 98.91 12:22:11 Average: 1 0.63 0.00 0.37 0.15 0.04 98.81 12:22:11 12:22:11 12:22:11