Pull request #346 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of iain-anderson for edgexfoundry/device-sdk-c Obtained Jenkinsfile from ba2020d750fee17eb42416cd3d5122366d144e66+33b035439234836da8ec139ac91219d6cbbab873 (b7300330d1d1d8161294eb3b19167f6f3cfd8f70) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2384588296183315794.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-ssh3992912594447480006.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-346/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-346/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6114400309555865053.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-346/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8821759975333295401.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7637060462730778016.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-346/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-346/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1460540835719843520.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-136 in /w/workspace/edgexfoundry_device-sdk-c_PR-346 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-346 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-346@tmp/jenkins-gitclient-ssh3418878122062746680.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-346@tmp/jenkins-gitclient-ssh1244313132439247660.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/346/head:refs/remotes/origin/PR-346 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 33b035439234836da8ec139ac91219d6cbbab873 into PR head commit ba2020d750fee17eb42416cd3d5122366d144e66 Merge succeeded, producing ba2020d750fee17eb42416cd3d5122366d144e66 Checking out Revision ba2020d750fee17eb42416cd3d5122366d144e66 (PR-346) > git config core.sparsecheckout # timeout=10 > git checkout -f ba2020d750fee17eb42416cd3d5122366d144e66 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-346@tmp/jenkins-gitclient-ssh6402377233574251167.key > git merge 33b035439234836da8ec139ac91219d6cbbab873 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ba2020d750fee17eb42416cd3d5122366d144e66 # timeout=10 Commit message: "feat: support upload of device profiles from .json (#334)" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:20:10 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:20:10 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:20:10 ========================================================= 12:20:10 EdgeX Global Pipelines Version Info 12:20:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:20:11 ------------------- 12:20:11 stable info: 12:20:11 ------------------- 12:20:11 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:20:11 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 12:20:11 Message: update stable to v1.0.192 12:20:12 ------------------- 12:20:12 experimental info: 12:20:12 ------------------- 12:20:12 Commited By: **** collab-it+edgex@linuxfoundation.org 12:20:12 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 12:20:12 Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:20:13 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 12:20:13 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 12:20:13 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:20:13 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:20:13 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:20:13 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo 12:20:13 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 12:20:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 12:20:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:20:13 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 12:20:13 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:20:13 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:20:13 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:20:13 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 12:20:13 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:20:14 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:20:14 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:20:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-346 [Pipeline] echo 12:20:14 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-346 [Pipeline] echo 12:20:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-346 [Pipeline] echo 12:20:14 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ba2020d750fee17eb42416cd3d5122366d144e66 [Pipeline] echo 12:20:14 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ba2020d [Pipeline] echo 12:20:14 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:20:14 provisioning config files... 12:20:14 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-346@tmp/config1289306028929465794tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:20:15 ---> docker-login.sh 12:20:15 nexus3.edgexfoundry.org:10001 12:20:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:20:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:20:15 Configure a credential helper to remove this warning. See 12:20:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:20:15 12:20:15 Login Succeeded 12:20:15 nexus3.edgexfoundry.org:10002 12:20:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:20:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:20:15 Configure a credential helper to remove this warning. See 12:20:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:20:15 12:20:15 Login Succeeded 12:20:15 nexus3.edgexfoundry.org:10003 12:20:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:20:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:20:15 Configure a credential helper to remove this warning. See 12:20:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:20:15 12:20:15 Login Succeeded 12:20:15 nexus3.edgexfoundry.org:10004 12:20:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:20:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:20:16 Configure a credential helper to remove this warning. See 12:20:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:20:16 12:20:16 Login Succeeded 12:20:16 docker.io 12:20:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:20:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:20:16 Configure a credential helper to remove this warning. See 12:20:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:20:16 12:20:16 Login Succeeded 12:20:16 ---> docker-login.sh ends [Pipeline] } 12:20:16 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:20:17 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:20:17 12:20:17 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 12:20:18 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:20:18 latest: Pulling from edgex-devops/git-semver 12:20:18 31603596830f: Pulling fs layer 12:20:18 54011a49482f: Pulling fs layer 12:20:18 a6820b24f6d8: Pulling fs layer 12:20:18 f581987b2513: Pulling fs layer 12:20:18 f581987b2513: Waiting 12:20:18 54011a49482f: Verifying Checksum 12:20:18 54011a49482f: Download complete 12:20:18 31603596830f: Verifying Checksum 12:20:18 31603596830f: Download complete 12:20:18 a6820b24f6d8: Verifying Checksum 12:20:18 a6820b24f6d8: Download complete 12:20:18 f581987b2513: Download complete 12:20:18 31603596830f: Pull complete 12:20:19 54011a49482f: Pull complete 12:20:19 a6820b24f6d8: Pull complete 12:20:19 f581987b2513: Pull complete 12:20:19 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 12:20:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:20:19 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 12:20:20 prd-centos7-docker-4c-2g-136 does not seem to be running inside a container 12:20:20 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-346 -v /w/workspace/edgexfoundry_device-sdk-c_PR-346:/w/workspace/edgexfoundry_device-sdk-c_PR-346:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-346@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-346@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 12:20:22 $ docker top 0464ca5d2b5d13c3d74742d54d29b628f3476413c598ab7badc71613535599c0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:20:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:20:22 [ssh-agent] Looking for ssh-agent implementation... 12:20:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:20:23 $ docker exec 0464ca5d2b5d13c3d74742d54d29b628f3476413c598ab7badc71613535599c0 ssh-agent 12:20:23 SSH_AUTH_SOCK=/tmp/ssh-FomHzuTdJ1KZ/agent.11 12:20:23 SSH_AGENT_PID=16 12:20:23 Running ssh-add (command line suppressed) 12:20:23 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-346@tmp/private_key_7176843585430656489.key (/w/workspace/edgexfoundry_device-sdk-c_PR-346@tmp/private_key_7176843585430656489.key) 12:20:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:20:23 + git tag --points-at HEAD [Pipeline] } 12:20:23 $ docker exec --env ******** --env ******** 0464ca5d2b5d13c3d74742d54d29b628f3476413c598ab7badc71613535599c0 ssh-agent -k 12:20:24 unset SSH_AUTH_SOCK; 12:20:24 unset SSH_AGENT_PID; 12:20:24 echo Agent pid 16 killed; 12:20:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:20:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:20:24 [ssh-agent] Looking for ssh-agent implementation... 12:20:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:20:24 $ docker exec 0464ca5d2b5d13c3d74742d54d29b628f3476413c598ab7badc71613535599c0 ssh-agent 12:20:24 SSH_AUTH_SOCK=/tmp/ssh-LQYFwVmhNME9/agent.45 12:20:24 SSH_AGENT_PID=50 12:20:24 Running ssh-add (command line suppressed) 12:20:24 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-346@tmp/private_key_1408788750157128199.key (/w/workspace/edgexfoundry_device-sdk-c_PR-346@tmp/private_key_1408788750157128199.key) 12:20:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:20:25 + git semver init 12:20:25 # -> Open(): unable to determine branch for HEAD 12:20:25 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-346/.git 12:20:25 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-346 12:20:25 # $SEMVER_REMOTE_NAME = origin 12:20:25 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 12:20:25 # $SEMVER_USER_NAME = edgex-jenkins 12:20:25 # $SEMVER_BRANCH = PR-346 12:20:25 # $SEMVER_TEMP = /tmp/semver-954841735 12:20:25 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 12:20:26 # '/tmp/semver-954841735' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-346/.semver' 12:20:26 # -> Force: false 12:20:26 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-346/.semver [Pipeline] } 12:20:26 $ docker exec --env ******** --env ******** 0464ca5d2b5d13c3d74742d54d29b628f3476413c598ab7badc71613535599c0 ssh-agent -k 12:20:26 unset SSH_AUTH_SOCK; 12:20:26 unset SSH_AGENT_PID; 12:20:26 echo Agent pid 50 killed; 12:20:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:20:26 + git semver [Pipeline] } 12:20:26 $ docker stop --time=1 0464ca5d2b5d13c3d74742d54d29b628f3476413c598ab7badc71613535599c0 12:20:28 $ docker rm -f 0464ca5d2b5d13c3d74742d54d29b628f3476413c598ab7badc71613535599c0 [Pipeline] // withDockerContainer [Pipeline] sh 12:20:28 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:20:29 Stashed 1 file(s) [Pipeline] echo 12:20:29 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 12:20:44 Still waiting to schedule task 12:20:44 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-136’ 12:20:44 Still waiting to schedule task 12:20:44 ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ is offline 12:22:39 Running on prd-ubuntu18.04-docker-arm64-4c-16g-137 in /w/workspace/edgexfoundry_device-sdk-c_PR-346 [Pipeline] { [Pipeline] ws 12:22:39 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 12:22:39 Selected Git installation does not exist. Using Default 12:22:39 The recommended git tool is: NONE 12:22:45 using credential edgex-jenkins-ssh 12:22:45 Cloning the remote Git repository 12:22:46 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 12:22:46 > git init /w/workspace/device-sdk-c/1 # timeout=10 12:22:46 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 12:22:46 > git --version # timeout=10 12:22:46 > git --version # 'git version 2.17.1' 12:22:46 using GIT_SSH to set credentials SSH Credentials for GitHub 12:22:46 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:22:48 Merging remotes/origin/master commit 33b035439234836da8ec139ac91219d6cbbab873 into PR head commit ba2020d750fee17eb42416cd3d5122366d144e66 12:22:48 Merge succeeded, producing ba2020d750fee17eb42416cd3d5122366d144e66 12:22:48 Checking out Revision ba2020d750fee17eb42416cd3d5122366d144e66 (PR-346) 12:22:47 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 12:22:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:22:47 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 12:22:47 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 12:22:47 using GIT_SSH to set credentials SSH Credentials for GitHub 12:22:47 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/346/head:refs/remotes/origin/PR-346 +refs/heads/master:refs/remotes/origin/master # timeout=10 12:22:48 > git config core.sparsecheckout # timeout=10 12:22:48 > git checkout -f ba2020d750fee17eb42416cd3d5122366d144e66 # timeout=10 12:22:48 > git remote # timeout=10 12:22:48 > git config --get remote.origin.url # timeout=10 12:22:48 using GIT_SSH to set credentials SSH Credentials for GitHub 12:22:48 > git merge 33b035439234836da8ec139ac91219d6cbbab873 # timeout=10 12:22:48 > git rev-parse HEAD^{commit} # timeout=10 12:22:48 > git config core.sparsecheckout # timeout=10 12:22:48 > git checkout -f ba2020d750fee17eb42416cd3d5122366d144e66 # timeout=10 12:22:52 Commit message: "feat: support upload of device profiles from .json (#334)" 12:22:52 > git --version # timeout=10 12:22:52 > git --version # 'git version 2.17.1' 12:22:52 fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:22:54 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 12:22:54 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 12:22:55 + true 12:22:55 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:22:58 provisioning config files... 12:22:58 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config5033459402018816621tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:22:58 ---> docker-login.sh 12:22:58 nexus3.edgexfoundry.org:10001 12:22:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:22:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:22:59 Configure a credential helper to remove this warning. See 12:22:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:22:59 12:22:59 Login Succeeded 12:22:59 nexus3.edgexfoundry.org:10002 12:23:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:23:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:23:00 Configure a credential helper to remove this warning. See 12:23:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:23:00 12:23:00 Login Succeeded 12:23:00 nexus3.edgexfoundry.org:10003 12:23:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:23:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:23:00 Configure a credential helper to remove this warning. See 12:23:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:23:00 12:23:00 Login Succeeded 12:23:00 nexus3.edgexfoundry.org:10004 12:23:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:23:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:23:01 Configure a credential helper to remove this warning. See 12:23:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:23:01 12:23:01 Login Succeeded 12:23:01 docker.io 12:23:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:23:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:23:02 Configure a credential helper to remove this warning. See 12:23:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:23:02 12:23:02 Login Succeeded 12:23:02 ---> docker-login.sh ends [Pipeline] } 12:23:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:23:02 ========================================================= 12:23:02 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 12:23:02 ========================================================= [Pipeline] isUnix [Pipeline] sh 12:23:03 + 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:23:03 Sending build context to Docker daemon 2.587MB 12:23:03 Step 1/25 : ARG BASE=alpine:3.12 12:23:03 Step 2/25 : FROM ${BASE} as builder 12:23:03 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 12:23:03 0362ad1dd800: Pulling fs layer 12:23:03 f2cdb1532d8b: Pulling fs layer 12:23:03 37ed683be191: Pulling fs layer 12:23:03 f2cdb1532d8b: Verifying Checksum 12:23:03 f2cdb1532d8b: Download complete 12:23:03 0362ad1dd800: Download complete 12:23:04 Running on prd-centos7-docker-4c-2g-138 in /w/workspace/edgexfoundry_device-sdk-c_PR-346 [Pipeline] { [Pipeline] ws 12:23:04 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 12:23:04 0362ad1dd800: Pull complete 12:23:04 f2cdb1532d8b: Pull complete 12:23:04 Selected Git installation does not exist. Using Default 12:23:04 The recommended git tool is: NONE 12:23:06 37ed683be191: Verifying Checksum 12:23:06 37ed683be191: Download complete 12:23:07 using credential edgex-jenkins-ssh 12:23:07 Cloning the remote Git repository 12:23:07 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 12:23:07 > git init /w/workspace/device-sdk-c/1 # timeout=10 12:23:07 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 12:23:07 > git --version # timeout=10 12:23:07 > git --version # 'git version 2.24.3' 12:23:07 using GIT_SSH to set credentials SSH Credentials for GitHub 12:23:07 [INFO] Currently running in a labeled security context 12:23:07 [INFO] Currently SELinux is 'enforcing' on the host 12:23:07 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh1739185002132371921.key 12:23:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:23:09 Merging remotes/origin/master commit 33b035439234836da8ec139ac91219d6cbbab873 into PR head commit ba2020d750fee17eb42416cd3d5122366d144e66 12:23:09 Merge succeeded, producing ba2020d750fee17eb42416cd3d5122366d144e66 12:23:09 Checking out Revision ba2020d750fee17eb42416cd3d5122366d144e66 (PR-346) 12:23:08 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 12:23:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:23:08 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 12:23:08 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 12:23:08 using GIT_SSH to set credentials SSH Credentials for GitHub 12:23:08 [INFO] Currently running in a labeled security context 12:23:08 [INFO] Currently SELinux is 'enforcing' on the host 12:23:08 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh7569223041620914362.key 12:23:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/346/head:refs/remotes/origin/PR-346 +refs/heads/master:refs/remotes/origin/master # timeout=10 12:23:09 > git config core.sparsecheckout # timeout=10 12:23:09 > git checkout -f ba2020d750fee17eb42416cd3d5122366d144e66 # timeout=10 12:23:09 > git remote # timeout=10 12:23:09 > git config --get remote.origin.url # timeout=10 12:23:09 using GIT_SSH to set credentials SSH Credentials for GitHub 12:23:09 [INFO] Currently running in a labeled security context 12:23:09 [INFO] Currently SELinux is 'enforcing' on the host 12:23:09 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh7759855554848834168.key 12:23:09 > git merge 33b035439234836da8ec139ac91219d6cbbab873 # timeout=10 12:23:09 > git rev-parse HEAD^{commit} # timeout=10 12:23:09 > git config core.sparsecheckout # timeout=10 12:23:09 > git checkout -f ba2020d750fee17eb42416cd3d5122366d144e66 # timeout=10 12:23:12 Commit message: "feat: support upload of device profiles from .json (#334)" 12:23:12 > git --version # timeout=10 12:23:12 > git --version # 'git version 2.24.3' 12:23:12 fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:23:14 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 12:23:14 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 12:23:14 + sudo service docker restart 12:23:14 + true 12:23:14 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:23:15 provisioning config files... 12:23:15 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config1770512128148199189tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:23:16 ---> docker-login.sh 12:23:16 nexus3.edgexfoundry.org:10001 12:23:16 37ed683be191: Pull complete 12:23:16 Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f 12:23:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 12:23:16 ---> b23d30803547 12:23:16 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:23:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:23:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:23:16 Configure a credential helper to remove this warning. See 12:23:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:23:16 12:23:16 Login Succeeded 12:23:16 nexus3.edgexfoundry.org:10002 12:23:16 ---> Running in 7ffd862a77d2 12:23:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:23:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:23:16 Configure a credential helper to remove this warning. See 12:23:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:23:16 12:23:16 Login Succeeded 12:23:16 nexus3.edgexfoundry.org:10003 12:23:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:23:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:23:17 Configure a credential helper to remove this warning. See 12:23:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:23:17 12:23:17 Login Succeeded 12:23:17 nexus3.edgexfoundry.org:10004 12:23:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:23:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:23:17 Configure a credential helper to remove this warning. See 12:23:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:23:17 12:23:17 Login Succeeded 12:23:17 docker.io 12:23:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:23:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:23:17 Configure a credential helper to remove this warning. See 12:23:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:23:17 12:23:17 Login Succeeded 12:23:17 ---> docker-login.sh ends [Pipeline] } 12:23:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:23:17 ========================================================= 12:23:17 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 12:23:17 ========================================================= [Pipeline] isUnix [Pipeline] sh 12:23:18 Connecting to iotech.jfrog.io (54.74.239.58:443) 12:23:18 + 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:23:18 Sending build context to Docker daemon 2.588MB 12:23:18 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 12:23:18 12:23:18 Step 1/25 : ARG BASE=alpine:3.12 12:23:18 Step 2/25 : FROM ${BASE} as builder 12:23:18 latest: Pulling from edgex-devops/edgex-gcc-base 12:23:18 e7c96db7181b: Pulling fs layer 12:23:18 4c13bbce0fe7: Pulling fs layer 12:23:18 6059c847ac2f: Pulling fs layer 12:23:18 4c13bbce0fe7: Verifying Checksum 12:23:18 e7c96db7181b: Verifying Checksum 12:23:18 e7c96db7181b: Download complete 12:23:18 e7c96db7181b: Pull complete 12:23:19 4c13bbce0fe7: Pull complete 12:23:19 Removing intermediate container 7ffd862a77d2 12:23:19 ---> f6519e5da11f 12:23:19 Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 12:23:19 ---> Running in d49dd390e085 12:23:20 6059c847ac2f: Verifying Checksum 12:23:20 6059c847ac2f: Download complete 12:23:21 Removing intermediate container d49dd390e085 12:23:21 ---> 8ebdb54180e1 12:23:21 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:23:21 ---> Running in 8867852f5d7d 12:23:22 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 12:23:23 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 12:23:23 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 12:23:24 (1/11) Installing hiredis (0.14.0-r0) 12:23:24 (2/11) Installing hiredis-dev (0.14.0-r0) 12:23:24 (3/11) Installing ncurses-dev (6.1_p20190105-r0) 12:23:24 (4/11) Installing paho-mqtt-c-dev (1.3.5-r0) 12:23:25 6059c847ac2f: Pull complete 12:23:25 Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e 12:23:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 12:23:25 ---> 5eabd8fd8ba2 12:23:25 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:23:26 (5/11) Installing libuuid (2.33-r0) 12:23:26 (6/11) Installing libblkid (2.33-r0) 12:23:26 (7/11) Installing libfdisk (2.33-r0) 12:23:26 (8/11) Installing libmount (2.33-r0) 12:23:26 (9/11) Installing libsmartcols (2.33-r0) 12:23:26 ---> Running in daf75866d930 12:23:27 (10/11) Installing util-linux-dev (2.33-r0) 12:23:27 Connecting to iotech.jfrog.io (54.229.110.245:443) 12:23:28 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 12:23:28 12:23:28 (11/11) Installing wget (1.20.3-r0) 12:23:28 Executing busybox-1.29.3-r10.trigger 12:23:28 OK: 287 MiB in 86 packages 12:23:28 Removing intermediate container daf75866d930 12:23:28 ---> 6bad8eccdad3 12:23:28 Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 12:23:28 ---> Running in df2696da0267 12:23:29 Removing intermediate container 8867852f5d7d 12:23:29 ---> 78986dfd41a3 12:23:29 Step 6/25 : ENV CBOR_VERSION=0.5.0 12:23:29 ---> Running in 1b60751c72b4 12:23:29 Removing intermediate container df2696da0267 12:23:29 ---> 80ed720d362d 12:23:29 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:23:29 ---> Running in f667b15db840 12:23:30 Removing intermediate container 1b60751c72b4 12:23:30 ---> 04c3a513ccce 12:23:30 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:23:30 ---> Running in 5e258efe13d4 12:23:30 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 12:23:31 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 12:23:31 --2021-05-14 12:23:31-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 12:23:31 Resolving github.com... 140.82.113.4 12:23:31 Connecting to github.com|140.82.113.4|:443... connected. 12:23:31 HTTP request sent, awaiting response... 302 Found 12:23:31 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 12:23:31 --2021-05-14 12:23:31-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 12:23:31 Resolving codeload.github.com... 140.82.112.9 12:23:31 Connecting to codeload.github.com|140.82.112.9|:443... connected. 12:23:31 HTTP request sent, awaiting response... 200 OK 12:23:31 Length: unspecified [application/x-gzip] 12:23:31 Saving to: 'STDOUT' 12:23:31 12:23:31 0K .......... .......... .......... .......... .......... 1.46M 12:23:31 50K .......... .......... .......... .......... .......... 3.28M 12:23:31 100K .......... .......... .......... .......... .......... 3.32M 12:23:31 150K .......... .......... .......... .......... .......... 9.85M 12:23:31 200K .......... .......... .......... .......... .......... 14.7M 12:23:31 250K .......... .......... .......... .......... .......... 3.87M 12:23:31 300K .......... .......... .......... .......... .......... 4.27M 12:23:31 350K .......... .......... .......... .......... .......... 4.26M 12:23:31 400K .......... .......... .......... .......... .......... 3.70M 12:23:31 450K .......... .......... .......... .......... .......... 4.74M 12:23:31 500K .......... .......... .......... .......... .......... 9.43M 12:23:31 550K .......... .......... .......... .......... .......... 2.43M 12:23:31 600K .......... .......... .......... .......... .......... 919K 12:23:31 650K .......... .......... .......... .......... .......... 1.90M 12:23:31 700K ..  10.0M=0.2s 12:23:31 12:23:31 2021-05-14 12:23:31 (2.91 MB/s) - written to stdout [719348] 12:23:31 12:23:32 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 12:23:32 -- The C compiler identification is GNU 8.3.0 12:23:32 -- The CXX compiler identification is GNU 8.3.0 12:23:32 -- Check for working C compiler: /usr/bin/cc 12:23:32 (1/11) Installing hiredis (0.14.0-r0) 12:23:32 (2/11) Installing hiredis-dev (0.14.0-r0) 12:23:32 (3/11) Installing ncurses-dev (6.1_p20190105-r0) 12:23:32 (4/11) Installing paho-mqtt-c-dev (1.3.5-r0) 12:23:32 -- Check for working C compiler: /usr/bin/cc -- works 12:23:32 -- Detecting C compiler ABI info 12:23:32 -- Detecting C compiler ABI info - done 12:23:32 -- Detecting C compile features 12:23:33 -- Detecting C compile features - done 12:23:33 -- Check for working CXX compiler: /usr/bin/c++ 12:23:33 -- Check for working CXX compiler: /usr/bin/c++ -- works 12:23:33 -- Detecting CXX compiler ABI info 12:23:33 (5/11) Installing libuuid (2.33-r0) 12:23:33 (6/11) Installing libblkid (2.33-r0) 12:23:34 -- Detecting CXX compiler ABI info - done 12:23:34 (7/11) Installing libfdisk (2.33-r0) 12:23:34 -- Detecting CXX compile features 12:23:34 (8/11) Installing libmount (2.33-r0) 12:23:34 (9/11) Installing libsmartcols (2.33-r0) 12:23:34 (10/11) Installing util-linux-dev (2.33-r0) 12:23:35 (11/11) Installing wget (1.20.3-r0) 12:23:35 Executing busybox-1.29.3-r10.trigger 12:23:35 OK: 273 MiB in 86 packages 12:23:35 -- Detecting CXX compile features - done 12:23:35 -- Looking for include file endian.h 12:23:35 Removing intermediate container f667b15db840 12:23:35 ---> 30e0d7123859 12:23:35 Step 6/25 : ENV CBOR_VERSION=0.5.0 12:23:36 -- Looking for include file endian.h - found 12:23:36 -- Check if the system is big endian 12:23:36 -- Searching 16 bit integer 12:23:36 -- Looking for sys/types.h 12:23:36 ---> Running in 65a5ced8d6cc 12:23:36 Removing intermediate container 65a5ced8d6cc 12:23:36 ---> dd7a7571bca7 12:23:36 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:23:36 ---> Running in 66329c4db639 12:23:36 -- Looking for sys/types.h - found 12:23:36 -- Looking for stdint.h 12:23:36 -- Looking for stdint.h - found 12:23:36 -- Looking for stddef.h 12:23:36 -- Looking for stddef.h - found 12:23:36 -- Check size of unsigned short 12:23:36 --2021-05-14 12:23:36-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 12:23:36 Resolving github.com... 140.82.113.4 12:23:36 Connecting to github.com|140.82.113.4|:443... connected. 12:23:36 HTTP request sent, awaiting response... 302 Found 12:23:36 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 12:23:36 --2021-05-14 12:23:36-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 12:23:36 Resolving codeload.github.com... 140.82.112.9 12:23:36 Connecting to codeload.github.com|140.82.112.9|:443... connected. 12:23:36 HTTP request sent, awaiting response... 200 OK 12:23:36 Length: unspecified [application/x-gzip] 12:23:36 Saving to: 'STDOUT' 12:23:36  12:23:36 -- Check size of unsigned short - done 12:23:36 -- Using unsigned short 12:23:37 0K .......... .......... .......... .......... .......... 1.43M 12:23:37 50K .......... .......... .......... .......... .......... 2.91M 12:23:37 100K .......... .......... .......... .......... .......... 36.9M 12:23:37 150K .......... .......... .......... .......... .......... 45.5M 12:23:37 200K .......... .......... .......... .......... .......... 3.16M 12:23:37 250K .......... .......... .......... .......... .......... 8.89M 12:23:37 300K .......... .......... .......... .......... .......... 8.83M 12:23:37 350K .......... .......... .......... .......... .......... 7.32M 12:23:37 400K .......... .......... .......... .......... .......... 9.22M 12:23:37 450K .......... .......... .......... .......... .......... 8.54M 12:23:37 500K .......... .......... .......... .......... .......... 17.8M 12:23:37 550K .......... .......... .......... .......... .......... 8.96M 12:23:37 600K .......... .......... .......... .......... .......... 1.76M 12:23:37 650K .......... .......... .......... .......... .......... 4.32M 12:23:37 700K .. 16.2M=0.1s 12:23:37 12:23:37 2021-05-14 12:23:36 (4.74 MB/s) - written to stdout [719348] 12:23:37 12:23:37 -- Check if the system is big endian - little endian 12:23:37 -- Check size of size_t 12:23:37 -- The C compiler identification is GNU 8.3.0 12:23:37 -- The CXX compiler identification is GNU 8.3.0 12:23:37 -- Check for working C compiler: /usr/bin/cc 12:23:37 -- Check for working C compiler: /usr/bin/cc -- works 12:23:37 -- Detecting C compiler ABI info 12:23:37 -- Check size of size_t - done 12:23:37 CMake Warning at examples/CMakeLists.txt:16 (find_package): 12:23:37 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 12:23:37 asked CMake to find a package configuration file provided by "cJSON", but 12:23:37 CMake did not find one. 12:23:37 12:23:37 Could not find a package configuration file provided by "cJSON" with any of 12:23:37 the following names: 12:23:37 12:23:37 cJSONConfig.cmake 12:23:37 cjson-config.cmake 12:23:37 12:23:37 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 12:23:37 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 12:23:37 provides a separate development package or SDK, be sure it has been 12:23:37 installed. 12:23:37 12:23:37 12:23:37 -- Detecting C compiler ABI info - done 12:23:37 -- Detecting C compile features 12:23:37 -- Configuring done 12:23:37 -- Generating done 12:23:37 -- Build files have been written to: /tmp/cbor 12:23:37 -- Detecting C compile features - done 12:23:37 -- Check for working CXX compiler: /usr/bin/c++ 12:23:37 -- Check for working CXX compiler: /usr/bin/c++ -- works 12:23:37 -- Detecting CXX compiler ABI info 12:23:37 -- Detecting CXX compiler ABI info - done 12:23:37 -- Detecting CXX compile features 12:23:38 Scanning dependencies of target cbor_shared 12:23:38 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 12:23:38 -- Detecting CXX compile features - done 12:23:38 -- Looking for include file endian.h 12:23:38 -- Looking for include file endian.h - found 12:23:38 -- Check if the system is big endian 12:23:38 -- Searching 16 bit integer 12:23:38 -- Looking for sys/types.h 12:23:38 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 12:23:38 -- Looking for sys/types.h - found 12:23:38 -- Looking for stdint.h 12:23:38 -- Looking for stdint.h - found 12:23:38 -- Looking for stddef.h 12:23:38 -- Looking for stddef.h - found 12:23:38 -- Check size of unsigned short 12:23:38 -- Check size of unsigned short - done 12:23:38 -- Using unsigned short 12:23:38 -- Check if the system is big endian - little endian 12:23:38 -- Check size of size_t 12:23:38 -- Check size of size_t - done 12:23:38 CMake Warning at examples/CMakeLists.txt:16 (find_package): 12:23:38 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 12:23:38 asked CMake to find a package configuration file provided by "cJSON", but 12:23:38 CMake did not find one. 12:23:38 12:23:38 Could not find a package configuration file provided by "cJSON" with any of 12:23:38 the following names: 12:23:38 12:23:38 cJSONConfig.cmake 12:23:38 cjson-config.cmake 12:23:38 12:23:38 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 12:23:38 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 12:23:38 provides a separate development package or SDK, be sure it has been 12:23:38 installed. 12:23:38 12:23:38 12:23:38 -- Configuring done 12:23:38 -- Generating done 12:23:39 -- Build files have been written to: /tmp/cbor 12:23:39 Scanning dependencies of target cbor_shared 12:23:39 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 12:23:39 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 12:23:39 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 12:23:39 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 12:23:39 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 12:23:39 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 12:23:39 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 12:23:39 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 12:23:39 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 12:23:39 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 12:23:39 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 12:23:39 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 12:23:40 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 12:23:40 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 12:23:40 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 12:23:40 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 12:23:40 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 12:23:40 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 12:23:40 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 12:23:40 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 12:23:40 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 12:23:40 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 12:23:40 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 12:23:40 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 12:23:40 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 12:23:40 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 12:23:40 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 12:23:41 [ 40%] Linking C shared library libcbor.so 12:23:41 [ 40%] Built target cbor_shared 12:23:41 Scanning dependencies of target cbor 12:23:41 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 12:23:41 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 12:23:41 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 12:23:41 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 12:23:41 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 12:23:41 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 12:23:41 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 12:23:41 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 12:23:41 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 12:23:41 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 12:23:41 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 12:23:42 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 12:23:42 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 12:23:42 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 12:23:42 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 12:23:42 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 12:23:42 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 12:23:42 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 12:23:42 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 12:23:42 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 12:23:42 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 12:23:42 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 12:23:42 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 12:23:42 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 12:23:42 [ 80%] Linking C static library libcbor.a 12:23:42 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 12:23:43 [ 80%] Built target cbor 12:23:43 Scanning dependencies of target create_items 12:23:43 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 12:23:43 [ 84%] Linking C executable create_items 12:23:43 [ 84%] Built target create_items 12:23:43 Scanning dependencies of target readfile 12:23:43 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 12:23:43 [ 88%] Linking C executable readfile 12:23:43 [ 88%] Built target readfile 12:23:43 Scanning dependencies of target streaming_parser 12:23:43 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 12:23:43 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 12:23:43 [ 92%] Linking C executable streaming_parser 12:23:43 [ 92%] Built target streaming_parser 12:23:43 Scanning dependencies of target sort 12:23:43 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 12:23:43 [ 96%] Linking C executable sort 12:23:43 [ 96%] Built target sort 12:23:43 Scanning dependencies of target hello 12:23:43 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 12:23:43 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 12:23:43 [100%] Linking C executable hello 12:23:43 [100%] Built target hello 12:23:43 Install the project... 12:23:43 -- Install configuration: "Release" 12:23:43 -- Installing: /usr/local/include/cbor/configuration.h 12:23:43 -- Installing: /usr/local/lib64/libcbor.a 12:23:43 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 12:23:43 -- Installing: /usr/local/lib64/libcbor.so.0 12:23:43 -- Installing: /usr/local/lib64/libcbor.so 12:23:43 -- Up-to-date: /usr/local/include/cbor 12:23:43 -- Installing: /usr/local/include/cbor/arrays.h 12:23:43 -- Installing: /usr/local/include/cbor/bytestrings.h 12:23:43 -- Installing: /usr/local/include/cbor/callbacks.h 12:23:43 -- Installing: /usr/local/include/cbor/common.h 12:23:43 -- Installing: /usr/local/include/cbor/data.h 12:23:43 -- Installing: /usr/local/include/cbor/encoding.h 12:23:43 -- Installing: /usr/local/include/cbor/floats_ctrls.h 12:23:43 -- Installing: /usr/local/include/cbor/internal 12:23:43 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 12:23:43 -- Installing: /usr/local/include/cbor/internal/encoders.h 12:23:43 -- Installing: /usr/local/include/cbor/internal/loaders.h 12:23:43 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 12:23:43 -- Installing: /usr/local/include/cbor/internal/stack.h 12:23:43 -- Installing: /usr/local/include/cbor/internal/unicode.h 12:23:43 -- Installing: /usr/local/include/cbor/ints.h 12:23:43 -- Installing: /usr/local/include/cbor/maps.h 12:23:43 -- Installing: /usr/local/include/cbor/serialization.h 12:23:43 -- Installing: /usr/local/include/cbor/streaming.h 12:23:43 -- Installing: /usr/local/include/cbor/strings.h 12:23:43 -- Installing: /usr/local/include/cbor/tags.h 12:23:43 -- Installing: /usr/local/include/cbor.h 12:23:43 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 12:23:43 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 12:23:43 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 12:23:43 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 12:23:44 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 12:23:44 [ 40%] Linking C shared library libcbor.so 12:23:44 [ 40%] Built target cbor_shared 12:23:44 Scanning dependencies of target cbor 12:23:44 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 12:23:45 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 12:23:46 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 12:23:46 Removing intermediate container 66329c4db639 12:23:46 ---> 444eb2f769d5 12:23:46 Step 8/25 : RUN mkdir /tmp/sdk 12:23:46 ---> Running in c083f90a60eb 12:23:46 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 12:23:46 Removing intermediate container c083f90a60eb 12:23:46 ---> 95051ee8f240 12:23:46 Step 9/25 : COPY VERSION /tmp/sdk 12:23:47 ---> 7aede5beceb2 12:23:47 Step 10/25 : COPY src /tmp/sdk/src 12:23:47 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 12:23:47 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 12:23:47 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 12:23:48 ---> 7ef4d76cf528 12:23:48 Step 11/25 : COPY include /tmp/sdk/include 12:23:48 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 12:23:48 ---> 18640b0713ad 12:23:48 Step 12/25 : COPY scripts /tmp/sdk/scripts 12:23:48 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 12:23:48 ---> a5792b328461 12:23:48 Step 13/25 : COPY LICENSE /tmp/sdk 12:23:48 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 12:23:48 ---> 3ebb872c7017 12:23:48 Step 14/25 : COPY Attribution.txt /tmp/sdk 12:23:49 ---> cbeeb0589921 12:23:49 Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 12:23:49 ---> Running in e93fe72a209c 12:23:49 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 12:23:49 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 12:23:50 + CPPCHECK=false 12:23:50 + DOCGEN=false 12:23:50 + TOMLVER=SDK-0.2 12:23:50 + CUTILVER=1.1.4 12:23:50 + '[' 0 -gt 0 ] 12:23:50 + readlink -f ./scripts/build.sh 12:23:50 + dirname /tmp/sdk/scripts/build.sh 12:23:50 + dirname /tmp/sdk/scripts 12:23:50 + ROOT=/tmp/sdk 12:23:50 + cd /tmp/sdk 12:23:50 + '[' '!' -d deps ] 12:23:50 + mkdir deps 12:23:50 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 12:23:50 + tar -C deps -z -x -f - 12:23:50 --2021-05-14 12:23:49-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 12:23:50 Resolving github.com... 140.82.113.4 12:23:50 Connecting to github.com|140.82.113.4|:443... connected. 12:23:50 HTTP request sent, awaiting response... 302 Found 12:23:50 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 12:23:50 --2021-05-14 12:23:49-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 12:23:50 Resolving codeload.github.com... 140.82.112.9 12:23:50 Connecting to codeload.github.com|140.82.112.9|:443... connected. 12:23:50 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 12:23:50 HTTP request sent, awaiting response... 200 OK 12:23:50 Length: unspecified [application/x-gzip] 12:23:50 Saving to: 'STDOUT' 12:23:50 12:23:50 0K .......... ......  950K=0.02s 12:23:50 12:23:50 2021-05-14 12:23:50 (950 KB/s) - written to stdout [16451] 12:23:50 12:23:50 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 12:23:50 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 12:23:50 + tar -C deps -z -x -f - 12:23:50 --2021-05-14 12:23:50-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 12:23:50 Resolving github.com... 140.82.113.4 12:23:50 Connecting to github.com|140.82.113.4|:443... connected. 12:23:50 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 12:23:50 HTTP request sent, awaiting response... 302 Found 12:23:50 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] 12:23:50 --2021-05-14 12:23:50-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 12:23:50 Resolving codeload.github.com... 140.82.112.9 12:23:50 Connecting to codeload.github.com|140.82.112.9|:443... connected. 12:23:50 HTTP request sent, awaiting response... 200 OK 12:23:50 Length: unspecified [application/x-gzip] 12:23:50 Saving to: 'STDOUT' 12:23:50  12:23:50 0K .......... .......... .......... .......... .......... 1.35M 12:23:50 50K .......... .......... .......... .......... .......... 2.67M 12:23:50 100K .......... .......... .......... .......... .......... 38.7M 12:23:50 150K .......... .......... ....... 3.14M=0.06s 12:23:50 12:23:50 2021-05-14 12:23:50 (2.69 MB/s) - written to stdout [181796] 12:23:50 12:23:50 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 12:23:50 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 12:23:50 + mkdir -p src/c/iot 12:23:50 + 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:23:50 + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot 12:23:50 + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot 12:23:50 + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot 12:23:50 + mkdir -p include/iot 12:23:50 + 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:23:50 + mkdir -p include/iot/os 12:23:50 + 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:23:50 + mkdir -p /tmp/sdk/build/release 12:23:50 + cd /tmp/sdk/build/release 12:23:50 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 12:23:50 -- The C compiler identification is GNU 8.3.0 12:23:50 -- Check for working C compiler: /usr/bin/cc 12:23:50 -- Check for working C compiler: /usr/bin/cc -- works 12:23:50 -- Detecting C compiler ABI info 12:23:50 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 12:23:51 -- Detecting C compiler ABI info - done 12:23:51 -- Detecting C compile features 12:23:51 -- Detecting C compile features - done 12:23:51 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 12:23:51 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 12:23:51 -- Found LIBYAML: /usr/lib/libyaml.so 12:23:51 -- Found LIBUUID: /usr/lib/libuuid.so 12:23:51 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 12:23:51 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 12:23:51 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 12:23:51 -- C SDK 0.0.0 for Linux 12:23:51 -- Performing Test CSDK_HAVE_ATOMIC 12:23:51 -- Performing Test CSDK_HAVE_ATOMIC - Success 12:23:51 -- Found Curses: /usr/lib/libcurses.so 12:23:51 -- Configuring done 12:23:51 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 12:23:51 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 12:23:51 -- Generating done 12:23:51 -- Build files have been written to: /tmp/sdk/build/release 12:23:51 + make all package 12:23:51 + tee release.log 12:23:51 Scanning dependencies of target csdk 12:23:51 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 12:23:51 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 12:23:51 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 12:23:51 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 12:23:52 [ 80%] Linking C static library libcbor.a 12:23:52 [ 80%] Built target cbor 12:23:52 Scanning dependencies of target create_items 12:23:52 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 12:23:52 [ 84%] Linking C executable create_items 12:23:52 [ 84%] Built target create_items 12:23:52 Scanning dependencies of target readfile 12:23:52 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 12:23:52 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 12:23:52 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 12:23:52 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 12:23:52 [ 88%] Linking C executable readfile 12:23:52 [ 88%] Built target readfile 12:23:52 Scanning dependencies of target streaming_parser 12:23:52 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 12:23:52 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 12:23:52 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 12:23:52 [ 92%] Linking C executable streaming_parser 12:23:52 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 12:23:53 [ 92%] Built target streaming_parser 12:23:53 Scanning dependencies of target sort 12:23:53 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 12:23:53 [ 96%] Linking C executable sort 12:23:53 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 12:23:53 [ 96%] Built target sort 12:23:53 Scanning dependencies of target hello 12:23:53 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 12:23:53 [100%] Linking C executable hello 12:23:53 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 12:23:53 [100%] Built target hello 12:23:53 Install the project... 12:23:53 -- Install configuration: "Release" 12:23:53 -- Installing: /usr/local/include/cbor/configuration.h 12:23:53 -- Installing: /usr/local/lib64/libcbor.a 12:23:53 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 12:23:53 -- Installing: /usr/local/lib64/libcbor.so.0 12:23:53 -- Installing: /usr/local/lib64/libcbor.so 12:23:53 -- Up-to-date: /usr/local/include/cbor 12:23:53 -- Installing: /usr/local/include/cbor/streaming.h 12:23:53 -- Installing: /usr/local/include/cbor/ints.h 12:23:53 -- Installing: /usr/local/include/cbor/floats_ctrls.h 12:23:53 -- Installing: /usr/local/include/cbor/bytestrings.h 12:23:53 -- Installing: /usr/local/include/cbor/encoding.h 12:23:53 -- Installing: /usr/local/include/cbor/serialization.h 12:23:53 -- Installing: /usr/local/include/cbor/data.h 12:23:53 -- Installing: /usr/local/include/cbor/common.h 12:23:53 -- Installing: /usr/local/include/cbor/callbacks.h 12:23:53 -- Installing: /usr/local/include/cbor/strings.h 12:23:53 -- Installing: /usr/local/include/cbor/tags.h 12:23:53 -- Installing: /usr/local/include/cbor/internal 12:23:53 -- Installing: /usr/local/include/cbor/internal/encoders.h 12:23:53 -- Installing: /usr/local/include/cbor/internal/loaders.h 12:23:53 -- Installing: /usr/local/include/cbor/internal/stack.h 12:23:53 -- Installing: /usr/local/include/cbor/internal/unicode.h 12:23:53 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 12:23:53 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 12:23:53 -- Installing: /usr/local/include/cbor/arrays.h 12:23:53 -- Installing: /usr/local/include/cbor/maps.h 12:23:53 -- Installing: /usr/local/include/cbor.h 12:23:53 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 12:23:53 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 12:23:53 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 12:23:54 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 12:23:54 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 12:23:54 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 12:23:54 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 12:23:54 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 12:23:54 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 12:23:55 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 12:23:55 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 12:23:55 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 12:23:55 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 12:23:55 Removing intermediate container 5e258efe13d4 12:23:55 ---> 4f15ddf5d6a8 12:23:55 Step 8/25 : RUN mkdir /tmp/sdk 12:23:55 ---> Running in bbeef0d77b2f 12:23:55 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 12:23:56 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 12:23:56 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 12:23:56 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 12:23:56 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 12:23:56 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 12:23:56 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 12:23:56 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 12:23:57 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 12:23:57 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 12:23:57 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 12:23:57 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 12:23:57 Removing intermediate container bbeef0d77b2f 12:23:57 ---> e34e84d2baf7 12:23:57 Step 9/25 : COPY VERSION /tmp/sdk 12:23:57 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 12:23:57 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 12:23:58 ---> 104ca2d1625a 12:23:58 Step 10/25 : COPY src /tmp/sdk/src 12:23:59 ---> 251ae77bb941 12:23:59 Step 11/25 : COPY include /tmp/sdk/include 12:23:59 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 12:23:59 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 12:23:59 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 12:23:59 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 12:23:59 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 12:23:59 ---> 5822c21e5278 12:23:59 Step 12/25 : COPY scripts /tmp/sdk/scripts 12:24:00 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 12:24:00 ---> ccb11c96192f 12:24:00 Step 13/25 : COPY LICENSE /tmp/sdk 12:24:00 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 12:24:01 ---> 85ae83315324 12:24:01 Step 14/25 : COPY Attribution.txt /tmp/sdk 12:24:01 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 12:24:01 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 12:24:01 [ 74%] Linking C shared library libcsdk.so 12:24:01 [ 74%] Built target csdk 12:24:01 Scanning dependencies of target template 12:24:01 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 12:24:02 ---> aeed11a91cb6 12:24:02 Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 12:24:02 ---> Running in 1f09a3e4de71 12:24:02 [ 77%] Linking C executable template 12:24:02 [ 77%] Built target template 12:24:02 Scanning dependencies of target device-counter 12:24:02 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 12:24:02 [ 80%] Linking C executable device-counter 12:24:02 [ 80%] Built target device-counter 12:24:02 Scanning dependencies of target device-random 12:24:02 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 12:24:02 [ 84%] Linking C executable device-random 12:24:02 [ 84%] Built target device-random 12:24:02 Scanning dependencies of target device-gyro 12:24:02 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 12:24:02 [ 87%] Linking C executable device-gyro 12:24:02 [ 87%] Built target device-gyro 12:24:02 Scanning dependencies of target device-bitfields 12:24:02 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 12:24:02 [ 90%] Linking C executable device-bitfields 12:24:02 [ 90%] Built target device-bitfields 12:24:02 Scanning dependencies of target template-discovery 12:24:02 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 12:24:03 [ 93%] Linking C executable template-discovery 12:24:03 [ 93%] Built target template-discovery 12:24:03 Scanning dependencies of target device-file 12:24:03 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 12:24:03 [ 96%] Linking C executable device-file 12:24:03 [ 96%] Built target device-file 12:24:03 Scanning dependencies of target device-terminal 12:24:03 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 12:24:03 [100%] Linking C executable device-terminal 12:24:03 + CPPCHECK=false 12:24:03 + DOCGEN=false 12:24:03 + TOMLVER=SDK-0.2 12:24:03 + CUTILVER=1.1.4 12:24:03 + '[' 0 -gt 0 ] 12:24:03 + readlink -f ./scripts/build.sh 12:24:03 + dirname /tmp/sdk/scripts/build.sh 12:24:03 + dirname /tmp/sdk/scripts 12:24:03 + ROOT=/tmp/sdk 12:24:03 + cd /tmp/sdk 12:24:03 + '[' '!' -d deps ] 12:24:03 + mkdir deps 12:24:03 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 12:24:03 + tar -C deps -z -x -f - 12:24:03 --2021-05-14 12:24:03-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 12:24:03 Resolving github.com... 140.82.113.4 12:24:03 Connecting to github.com|140.82.113.4|:443... connected. 12:24:03 HTTP request sent, awaiting response... 302 Found 12:24:03 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 12:24:03 --2021-05-14 12:24:03-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 12:24:03 Resolving codeload.github.com... 140.82.112.9 12:24:03 Connecting to codeload.github.com|140.82.112.9|:443... connected. 12:24:03 HTTP request sent, awaiting response... 200 OK 12:24:03 Length: unspecified [application/x-gzip] 12:24:03 Saving to: 'STDOUT' 12:24:03 12:24:03 0K .......... ......   977K=0.02s 12:24:03 12:24:03 2021-05-14 12:24:03 (977 KB/s) - written to stdout [16451] 12:24:03 12:24:03 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 12:24:03 + wget+ -O -tar https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 12:24:03 -C deps -z -x -f - 12:24:03 --2021-05-14 12:24:03-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 12:24:03 Resolving github.com... 140.82.113.4 12:24:03 Connecting to github.com|140.82.113.4|:443... connected. 12:24:03 [100%] Built target device-terminal 12:24:03 Run CPack packaging tool... 12:24:03 CPack: Create package using TGZ 12:24:03 CPack: Install projects 12:24:03 CPack: - Run preinstall target for: Csdk 12:24:03 HTTP request sent, awaiting response... 302 Found 12:24:03 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] 12:24:03 --2021-05-14 12:24:03-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 12:24:03 Resolving codeload.github.com... 140.82.112.9 12:24:03 Connecting to codeload.github.com|140.82.112.9|:443... connected. 12:24:03 HTTP request sent, awaiting response... 200 OK 12:24:03 Length: unspecified [application/x-gzip] 12:24:03 Saving to: 'STDOUT' 12:24:03  12:24:03 0K .......... .......... .......... .......... .......... 1.57M 12:24:03 50K .......... .......... .......... .......... .......... 3.31M 12:24:03 100K .......... .......... .......... .......... .......... 3.62M 12:24:03 150K .......... .......... .......   1.56M=0.08s 12:24:03 12:24:03 2021-05-14 12:24:03 (2.26 MB/s) - written to stdout [181796] 12:24:03 12:24:03 + mkdir -p src/c/iot 12:24:03 + 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:24:03 + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot 12:24:03 + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot 12:24:03 + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot 12:24:03 + mkdir -p include/iot 12:24:03 + 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:24:03 + mkdir -p include/iot/os 12:24:03 + 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:24:03 + mkdir -p /tmp/sdk/build/release 12:24:03 + cd /tmp/sdk/build/release 12:24:03 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 12:24:03 CPack: - Install project: Csdk 12:24:03 CPack: Create package 12:24:03 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 12:24:03 + '[' false '=' true ] 12:24:03 + '[' false '=' true ] 12:24:03 + mkdir -p /tmp/sdk/build/debug 12:24:03 + cd /tmp/sdk/build/debug 12:24:03 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 12:24:03 -- The C compiler identification is GNU 8.3.0 12:24:03 -- Check for working C compiler: /usr/bin/cc 12:24:04 -- Check for working C compiler: /usr/bin/cc -- works 12:24:04 -- Detecting C compiler ABI info 12:24:04 -- Detecting C compiler ABI info - done 12:24:04 -- Detecting C compile features 12:24:04 -- The C compiler identification is GNU 8.3.0 12:24:04 -- Check for working C compiler: /usr/bin/cc 12:24:04 -- Check for working C compiler: /usr/bin/cc -- works 12:24:04 -- Detecting C compiler ABI info 12:24:04 -- Detecting C compile features - done 12:24:04 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 12:24:04 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 12:24:04 -- Found LIBYAML: /usr/lib/libyaml.so 12:24:04 -- Found LIBUUID: /usr/lib/libuuid.so 12:24:04 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 12:24:04 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 12:24:04 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 12:24:04 -- C SDK 0.0.0 for Linux 12:24:04 -- Performing Test CSDK_HAVE_ATOMIC 12:24:04 -- Performing Test CSDK_HAVE_ATOMIC - Success 12:24:04 -- Found Curses: /usr/lib/libcurses.so 12:24:04 -- Detecting C compiler ABI info - done 12:24:04 -- Detecting C compile features 12:24:04 -- Configuring done 12:24:04 -- Generating done 12:24:04 -- Build files have been written to: /tmp/sdk/build/debug 12:24:04 + make 12:24:04 + tee debug.log 12:24:04 Scanning dependencies of target csdk 12:24:04 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 12:24:05 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 12:24:05 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 12:24:05 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 12:24:05 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 12:24:05 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 12:24:05 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 12:24:05 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 12:24:05 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 12:24:05 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 12:24:05 -- Detecting C compile features - done 12:24:05 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 12:24:05 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 12:24:05 -- Found LIBYAML: /usr/lib/libyaml.so 12:24:05 -- Found LIBUUID: /usr/lib/libuuid.so 12:24:05 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 12:24:05 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 12:24:05 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 12:24:05 -- C SDK 0.0.0 for Linux 12:24:05 -- Performing Test CSDK_HAVE_ATOMIC 12:24:05 -- Performing Test CSDK_HAVE_ATOMIC - Success 12:24:05 -- Found Curses: /usr/lib/libcurses.so 12:24:05 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 12:24:05 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 12:24:05 -- Configuring done 12:24:06 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 12:24:06 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 12:24:06 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 12:24:06 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 12:24:06 -- Generating done 12:24:06 -- Build files have been written to: /tmp/sdk/build/release 12:24:06 + + maketee all release.log package 12:24:06 12:24:06 Scanning dependencies of target csdk 12:24:06 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 12:24:06 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 12:24:06 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 12:24:06 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 12:24:06 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 12:24:06 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 12:24:06 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 12:24:06 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 12:24:06 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 12:24:07 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 12:24:07 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 12:24:07 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 12:24:07 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 12:24:07 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 12:24:07 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 12:24:07 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 12:24:07 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 12:24:07 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 12:24:07 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 12:24:07 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 12:24:07 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 12:24:07 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 12:24:07 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 12:24:07 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 12:24:08 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 12:24:08 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 12:24:08 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 12:24:08 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 12:24:08 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 12:24:08 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 12:24:08 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 12:24:09 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 12:24:09 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 12:24:09 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 12:24:09 [ 74%] Linking C shared library libcsdk.so 12:24:09 [ 74%] Built target csdk 12:24:09 Scanning dependencies of target template 12:24:09 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 12:24:09 [ 77%] Linking C executable template 12:24:09 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 12:24:09 [ 77%] Built target template 12:24:09 Scanning dependencies of target device-counter 12:24:09 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 12:24:09 [ 80%] Linking C executable device-counter 12:24:09 [ 80%] Built target device-counter 12:24:09 Scanning dependencies of target device-random 12:24:09 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 12:24:09 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 12:24:10 [ 84%] Linking C executable device-random 12:24:10 [ 84%] Built target device-random 12:24:10 Scanning dependencies of target device-gyro 12:24:10 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 12:24:10 [ 87%] Linking C executable device-gyro 12:24:10 [ 87%] Built target device-gyro 12:24:10 Scanning dependencies of target device-bitfields 12:24:10 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 12:24:10 [ 90%] Linking C executable device-bitfields 12:24:10 [ 90%] Built target device-bitfields 12:24:10 Scanning dependencies of target template-discovery 12:24:10 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 12:24:10 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 12:24:10 [ 93%] Linking C executable template-discovery 12:24:10 [ 93%] Built target template-discovery 12:24:10 Scanning dependencies of target device-file 12:24:10 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 12:24:10 [ 96%] Linking C executable device-file 12:24:10 [ 96%] Built target device-file 12:24:10 Scanning dependencies of target device-terminal 12:24:10 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 12:24:10 [100%] Linking C executable device-terminal 12:24:10 [100%] Built target device-terminal 12:24:10 make: Entering directory '/tmp/sdk/build/release' 12:24:10 make[1]: Entering directory '/tmp/sdk/build/release' 12:24:10 make[2]: Entering directory '/tmp/sdk/build/release' 12:24:10 make[2]: Leaving directory '/tmp/sdk/build/release' 12:24:10 [ 74%] Built target csdk 12:24:10 make[2]: Entering directory '/tmp/sdk/build/release' 12:24:10 make[2]: Leaving directory '/tmp/sdk/build/release' 12:24:10 [ 77%] Built target template 12:24:10 make[2]: Entering directory '/tmp/sdk/build/release' 12:24:10 make[2]: Leaving directory '/tmp/sdk/build/release' 12:24:10 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 12:24:11 [ 80%] Built target device-counter 12:24:11 make[2]: Entering directory '/tmp/sdk/build/release' 12:24:11 make[2]: Leaving directory '/tmp/sdk/build/release' 12:24:11 [ 84%] Built target device-random 12:24:11 make[2]: Entering directory '/tmp/sdk/build/release' 12:24:11 make[2]: Leaving directory '/tmp/sdk/build/release' 12:24:11 [ 87%] Built target device-gyro 12:24:11 make[2]: Entering directory '/tmp/sdk/build/release' 12:24:11 make[2]: Leaving directory '/tmp/sdk/build/release' 12:24:11 [ 90%] Built target device-bitfields 12:24:11 make[2]: Entering directory '/tmp/sdk/build/release' 12:24:11 make[2]: Leaving directory '/tmp/sdk/build/release' 12:24:11 [ 93%] Built target template-discovery 12:24:11 make[2]: Entering directory '/tmp/sdk/build/release' 12:24:11 make[2]: Leaving directory '/tmp/sdk/build/release' 12:24:11 [ 96%] Built target device-file 12:24:11 make[2]: Entering directory '/tmp/sdk/build/release' 12:24:11 make[2]: Leaving directory '/tmp/sdk/build/release' 12:24:11 [100%] Built target device-terminal 12:24:11 make[1]: Leaving directory '/tmp/sdk/build/release' 12:24:11 Install the project... 12:24:11 -- Install configuration: "Release" 12:24:11 -- Installing: /usr/local/lib/libcsdk.so 12:24:11 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 12:24:11 -- Up-to-date: /usr/local/include 12:24:11 -- Installing: /usr/local/include/devsdk 12:24:11 -- Installing: /usr/local/include/devsdk/devsdk-base.h 12:24:11 -- Installing: /usr/local/include/devsdk/devsdk.h 12:24:11 -- Installing: /usr/local/include/edgex 12:24:11 -- Installing: /usr/local/include/edgex/devices.h 12:24:11 -- Installing: /usr/local/include/edgex/edgex-base.h 12:24:11 -- Installing: /usr/local/include/edgex/edgex.h 12:24:11 -- Installing: /usr/local/include/edgex/profiles.h 12:24:11 -- Installing: /usr/local/include/edgex/rest-server.h 12:24:11 -- Installing: /usr/local/include/edgex/csdk-defs.h 12:24:11 -- Installing: /usr/local/include/iot 12:24:11 -- Installing: /usr/local/include/iot/base64.h 12:24:11 -- Installing: /usr/local/include/iot/component.h 12:24:11 -- Installing: /usr/local/include/iot/config.h 12:24:11 -- Installing: /usr/local/include/iot/container.h 12:24:11 -- Installing: /usr/local/include/iot/data.h 12:24:11 -- Installing: /usr/local/include/iot/hash.h 12:24:11 -- Installing: /usr/local/include/iot/iot.h 12:24:11 -- Installing: /usr/local/include/iot/json.h 12:24:11 -- Installing: /usr/local/include/iot/logger.h 12:24:11 -- Installing: /usr/local/include/iot/os.h 12:24:11 -- Installing: /usr/local/include/iot/scheduler.h 12:24:11 -- Installing: /usr/local/include/iot/thread.h 12:24:11 -- Installing: /usr/local/include/iot/threadpool.h 12:24:11 -- Installing: /usr/local/include/iot/time.h 12:24:11 -- Installing: /usr/local/include/iot/typecode.h 12:24:11 -- Installing: /usr/local/include/iot/os 12:24:11 -- Installing: /usr/local/include/iot/os/linux.h 12:24:11 -- Installing: /usr/local/include/iot/os/macos.h 12:24:11 -- Installing: /usr/local/include/iot/os/zephyr.h 12:24:11 -- Installing: /usr/local/include/iot/defs.h 12:24:11 -- Installing: /usr/local/share/device-sdk-c/LICENSE 12:24:11 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 12:24:11 make: Leaving directory '/tmp/sdk/build/release' 12:24:11 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 12:24:12 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 12:24:13 Removing intermediate container e93fe72a209c 12:24:13 ---> b2d612e13100 12:24:13 Step 16/25 : FROM ${BASE} 12:24:13 ---> 5eabd8fd8ba2 12:24:13 Step 17/25 : LABEL maintainer="IOTech " 12:24:13 ---> Running in 369c1d0ddfb2 12:24:13 Removing intermediate container 369c1d0ddfb2 12:24:13 ---> ff2afc10a096 12:24:13 Step 18/25 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub 12:24:13 ---> Running in 5f56a162e348 12:24:13 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 12:24:13 Connecting to iotech.jfrog.io (54.229.110.245:443) 12:24:14 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 12:24:14 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 12:24:14 12:24:14 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 12:24:15 Removing intermediate container 5f56a162e348 12:24:15 ---> f484a93d7b35 12:24:15 Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 12:24:15 ---> Running in e50894de9041 12:24:15 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 12:24:15 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 12:24:15 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 12:24:16 Removing intermediate container e50894de9041 12:24:16 ---> 93470932e53e 12:24:16 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:24:16 ---> Running in b3fc83729385 12:24:16 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 12:24:16 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 12:24:17 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 12:24:17 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 12:24:18 (1/6) Installing curl (7.64.0-r5) 12:24:18 (2/6) Installing hiredis (0.14.0-r0) 12:24:18 (3/6) Installing hiredis-dev (0.14.0-r0) 12:24:18 (4/6) Installing libuuid (2.33-r0) 12:24:18 (5/6) Installing paho-mqtt-c-dev (1.3.5-r0) 12:24:18 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 12:24:18 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 12:24:19 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 12:24:19 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 12:24:19 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 12:24:19 (6/6) Installing wget (1.20.3-r0) 12:24:20 Executing busybox-1.29.3-r10.trigger 12:24:20 OK: 269 MiB in 81 packages 12:24:20 Removing intermediate container b3fc83729385 12:24:20 ---> 3429310617ee 12:24:20 Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 12:24:20 ---> fdf528528194 12:24:20 Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 12:24:20 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 12:24:20 ---> d87ccd8ed840 12:24:20 Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib 12:24:21 ---> 3dee81041829 12:24:21 Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 12:24:21 ---> 03b8589be538 12:24:21 Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 12:24:21 ---> 38e5a672ebad 12:24:21 Successfully built 38e5a672ebad 12:24:21 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:24:22 + docker inspect -f . ci-base-image-x86_64 12:24:22 . [Pipeline] withDockerContainer 12:24:22 prd-centos7-docker-4c-2g-138 does not seem to be running inside a container 12:24:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:24:23 $ docker top e9a23874074c3d49a300437bc96fbb8cde12600e6568ee1e7213c60fd8f003ff -eo pid,comm 12:24:23 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 12:24:23 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 12:24:23 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [Pipeline] { [Pipeline] sh 12:24:23 + make test 12:24:23 echo "make test" 12:24:23 make test [Pipeline] } 12:24:23 $ docker stop --time=1 e9a23874074c3d49a300437bc96fbb8cde12600e6568ee1e7213c60fd8f003ff 12:24:23 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 12:24:24 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 12:24:24 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 12:24:25 $ docker rm -f e9a23874074c3d49a300437bc96fbb8cde12600e6568ee1e7213c60fd8f003ff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } 12:24:25 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 12:24:25 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [Pipeline] sh 12:24:26 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 12:24:26 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 12:24:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:24:27 + ls -al . 12:24:27 total 160 12:24:27 drwxrwxr-x. 8 jenkins jenkins 260 May 14 12:23 . 12:24:27 drwxrwxr-x. 4 jenkins jenkins 28 May 14 12:23 .. 12:24:27 -rw-rw-r--. 1 jenkins jenkins 3104 May 14 12:23 Attribution.txt 12:24:27 -rw-rw-r--. 1 jenkins jenkins 7200 May 14 12:23 CHANGES 12:24:27 drwxrwxr-x. 2 jenkins jenkins 121 May 14 12:23 docs 12:24:27 -rw-rw-r--. 1 jenkins jenkins 108574 May 14 12:23 Doxyfile 12:24:27 drwxrwxr-x. 8 jenkins jenkins 179 May 14 12:23 .git 12:24:27 drwxrwxr-x. 2 jenkins jenkins 81 May 14 12:23 .github 12:24:27 -rw-rw-r--. 1 jenkins jenkins 176 May 14 12:23 .gitignore 12:24:27 drwxrwxr-x. 4 jenkins jenkins 33 May 14 12:23 include 12:24:27 -rw-rw-r--. 1 jenkins jenkins 784 May 14 12:23 Jenkinsfile 12:24:27 -rw-rw-r--. 1 jenkins jenkins 10174 May 14 12:23 LICENSE 12:24:27 -rw-rw-r--. 1 jenkins jenkins 444 May 14 12:23 Makefile 12:24:27 -rw-rw-r--. 1 jenkins jenkins 4090 May 14 12:23 README.md 12:24:27 -rw-rw-r--. 1 jenkins jenkins 6654 May 14 12:23 README.v2.md 12:24:27 drwxrwxr-x. 2 jenkins jenkins 98 May 14 12:23 scripts 12:24:27 drwxrwxr-x. 4 jenkins jenkins 50 May 14 12:23 src 12:24:27 -rw-rw-r--. 1 jenkins jenkins 5 May 14 12:20 VERSION [Pipeline] isUnix [Pipeline] sh 12:24:27 + 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=ba2020d750fee17eb42416cd3d5122366d144e66 --label arch=amd64 --label version=0.0.0 . 12:24:27 Sending build context to Docker daemon 2.588MB 12:24:27 Step 1/17 : ARG BASE=alpine:3.12 12:24:27 Step 2/17 : FROM ${BASE} 12:24:27 ---> 38e5a672ebad 12:24:27 Step 3/17 : LABEL maintainer="IOTech " 12:24:28 ---> Running in ccc13d18c642 12:24:28 Removing intermediate container ccc13d18c642 12:24:28 ---> 7a33aab9906e 12:24:28 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:24:28 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 12:24:28 ---> Running in d1c8ecb86c60 12:24:28 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 12:24:29 --2021-05-14 12:24:29-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub 12:24:29 Resolving iotech.jfrog.io... 54.229.110.245, 54.74.239.58, 34.243.182.113 12:24:29 Connecting to iotech.jfrog.io|54.229.110.245|:443... connected. 12:24:29 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 12:24:29 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 12:24:29 HTTP request sent, awaiting response... 200 OK 12:24:29 Length: 451 [application/octet-stream] 12:24:29 Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 12:24:29 12:24:29 0K 100% 46.0M=0s 12:24:29 12:24:29 2021-05-14 12:24:29 (46.0 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] 12:24:29 12:24:30 Removing intermediate container d1c8ecb86c60 12:24:30 ---> ef3a3fdd69b5 12:24:30 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 12:24:30 ---> Running in 3a8903b0265d 12:24:30 Removing intermediate container 3a8903b0265d 12:24:30 ---> 484656fca4e9 12:24:30 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:24:31 ---> Running in fd86419207a5 12:24:31 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 12:24:32 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 12:24:32 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 12:24:33 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 12:24:33 (2/6) Installing libblkid (2.33-r0) 12:24:33 (3/6) Installing libfdisk (2.33-r0) 12:24:33 (4/6) Installing libmount (2.33-r0) 12:24:33 (5/6) Installing libsmartcols (2.33-r0) 12:24:33 (6/6) Installing util-linux-dev (2.33-r0) 12:24:34 Executing busybox-1.29.3-r10.trigger 12:24:34 OK: 273 MiB in 87 packages 12:24:34 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 12:24:34 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 12:24:34 Removing intermediate container fd86419207a5 12:24:34 ---> bfdf456d0797 12:24:34 Step 7/17 : COPY VERSION /edgex-c-sdk/ 12:24:34 ---> b99eec08b0b5 12:24:34 Step 8/17 : COPY src /edgex-c-sdk/src/ 12:24:34 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 12:24:35 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 12:24:35 ---> 5e84e1afd0cf 12:24:35 Step 9/17 : COPY include /edgex-c-sdk/include/ 12:24:35 ---> 35049bf5a58b 12:24:35 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 12:24:36 ---> 0e6dfdd8f831 12:24:36 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 12:24:36 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 12:24:36 ---> 3b4ed08f8561 12:24:36 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 12:24:36 ---> 257abc40e38d 12:24:36 Step 13/17 : WORKDIR /edgex-c-sdk 12:24:36 ---> Running in 76e915dcc3fc 12:24:36 Removing intermediate container 76e915dcc3fc 12:24:36 ---> 0c39554a1274 12:24:36 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 12:24:36 ---> Running in b7f5a79e5823 12:24:37 Removing intermediate container b7f5a79e5823 12:24:37 ---> 00cb52478a2f 12:24:37 Step 15/17 : LABEL arch=amd64 12:24:37 ---> Running in 0fac647bbebe 12:24:37 Removing intermediate container 0fac647bbebe 12:24:37 ---> aad9066e04ee 12:24:37 Step 16/17 : LABEL git_sha=ba2020d750fee17eb42416cd3d5122366d144e66 12:24:37 ---> Running in 96f2fa65b63f 12:24:37 Removing intermediate container 96f2fa65b63f 12:24:37 ---> 1bed696feb47 12:24:37 Step 17/17 : LABEL version=0.0.0 12:24:37 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 12:24:37 ---> Running in 4577a2a162f8 12:24:37 Removing intermediate container 4577a2a162f8 12:24:37 ---> e30842923ae8 12:24:37 [Warning] One or more build-args [ARCH MAKE] were not consumed 12:24:37 Successfully built e30842923ae8 12:24:37 Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 12:24:39 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 12:24:42 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 12:24:43 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 12:24:43 [ 74%] Linking C shared library libcsdk.so 12:24:43 [ 74%] Built target csdk 12:24:43 Scanning dependencies of target template 12:24:43 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 12:24:44 [ 77%] Linking C executable template 12:24:44 [ 77%] Built target template 12:24:44 Scanning dependencies of target device-counter 12:24:44 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 12:24:45 [ 80%] Linking C executable device-counter 12:24:45 [ 80%] Built target device-counter 12:24:45 Scanning dependencies of target device-random 12:24:45 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 12:24:45 [ 84%] Linking C executable device-random 12:24:46 [ 84%] Built target device-random 12:24:46 Scanning dependencies of target device-gyro 12:24:46 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 12:24:46 [ 87%] Linking C executable device-gyro 12:24:46 [ 87%] Built target device-gyro 12:24:46 Scanning dependencies of target device-bitfields 12:24:46 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 12:24:47 [ 90%] Linking C executable device-bitfields 12:24:47 [ 90%] Built target device-bitfields 12:24:47 Scanning dependencies of target template-discovery 12:24:47 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 12:24:48 [ 93%] Linking C executable template-discovery 12:24:48 [ 93%] Built target template-discovery 12:24:48 Scanning dependencies of target device-file 12:24:48 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 12:24:48 [ 96%] Linking C executable device-file 12:24:49 [ 96%] Built target device-file 12:24:49 Scanning dependencies of target device-terminal 12:24:49 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 12:24:49 [100%] Linking C executable device-terminal 12:24:49 [100%] Built target device-terminal 12:24:50 Run CPack packaging tool... 12:24:50 CPack: Create package using TGZ 12:24:50 CPack: Install projects 12:24:50 CPack: - Run preinstall target for: Csdk 12:24:50 CPack: - Install project: Csdk 12:24:50 CPack: Create package 12:24:50 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 12:24:50 + '[' false '=' true ] 12:24:50 + '[' false '=' true ] 12:24:50 + mkdir -p /tmp/sdk/build/debug 12:24:50 + cd /tmp/sdk/build/debug 12:24:50 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 12:24:50 -- The C compiler identification is GNU 8.3.0 12:24:50 -- Check for working C compiler: /usr/bin/cc 12:24:51 -- Check for working C compiler: /usr/bin/cc -- works 12:24:51 -- Detecting C compiler ABI info 12:24:51 -- Detecting C compiler ABI info - done 12:24:51 -- Detecting C compile features 12:24:52 -- Detecting C compile features - done 12:24:52 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 12:24:52 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 12:24:52 -- Found LIBYAML: /usr/lib/libyaml.so 12:24:52 -- Found LIBUUID: /usr/lib/libuuid.so 12:24:52 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 12:24:52 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 12:24:52 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 12:24:52 -- C SDK 0.0.0 for Linux 12:24:52 -- Performing Test CSDK_HAVE_ATOMIC 12:24:52 -- Performing Test CSDK_HAVE_ATOMIC - Success 12:24:52 -- Found Curses: /usr/lib/libcurses.so 12:24:52 -- Configuring done 12:24:53 -- Generating done 12:24:53 -- Build files have been written to: /tmp/sdk/build/debug 12:24:53 + make 12:24:53 + tee debug.log 12:24:53 Scanning dependencies of target csdk 12:24:53 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 12:24:53 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 12:24:53 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 12:24:54 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 12:24:54 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 12:24:55 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 12:24:55 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 12:24:55 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 12:24:55 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 12:24:56 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 12:24:56 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 12:24:56 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 12:24:57 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 12:24:57 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 12:24:57 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 12:24:57 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 12:24:58 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 12:24:58 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 12:24:59 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 12:24:59 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 12:24:59 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 12:24:59 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 12:24:59 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 12:25:00 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 12:25:00 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 12:25:01 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 12:25:01 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 12:25:01 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 12:25:01 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 12:25:01 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 12:25:02 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 12:25:02 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 12:25:02 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 12:25:03 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 12:25:03 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 12:25:03 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 12:25:03 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 12:25:04 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 12:25:05 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 12:25:05 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 12:25:05 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 12:25:05 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 12:25:06 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 12:25:07 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 12:25:08 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 12:25:08 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 12:25:08 [ 74%] Linking C shared library libcsdk.so 12:25:08 [ 74%] Built target csdk 12:25:08 Scanning dependencies of target template 12:25:08 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 12:25:09 [ 77%] Linking C executable template 12:25:09 [ 77%] Built target template 12:25:09 Scanning dependencies of target device-counter 12:25:09 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 12:25:09 [ 80%] Linking C executable device-counter 12:25:09 [ 80%] Built target device-counter 12:25:09 Scanning dependencies of target device-random 12:25:09 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 12:25:10 [ 84%] Linking C executable device-random 12:25:10 [ 84%] Built target device-random 12:25:10 Scanning dependencies of target device-gyro 12:25:10 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 12:25:10 [ 87%] Linking C executable device-gyro 12:25:10 [ 87%] Built target device-gyro 12:25:10 Scanning dependencies of target device-bitfields 12:25:10 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 12:25:11 [ 90%] Linking C executable device-bitfields 12:25:11 [ 90%] Built target device-bitfields 12:25:11 Scanning dependencies of target template-discovery 12:25:11 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 12:25:11 [ 93%] Linking C executable template-discovery 12:25:12 [ 93%] Built target template-discovery 12:25:12 Scanning dependencies of target device-file 12:25:12 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 12:25:12 [ 96%] Linking C executable device-file 12:25:12 [ 96%] Built target device-file 12:25:12 Scanning dependencies of target device-terminal 12:25:12 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 12:25:12 [100%] Linking C executable device-terminal 12:25:13 [100%] Built target device-terminal 12:25:13 make: Entering directory '/tmp/sdk/build/release' 12:25:13 make[1]: Entering directory '/tmp/sdk/build/release' 12:25:13 make[2]: Entering directory '/tmp/sdk/build/release' 12:25:13 make[2]: Leaving directory '/tmp/sdk/build/release' 12:25:13 [ 74%] Built target csdk 12:25:13 make[2]: Entering directory '/tmp/sdk/build/release' 12:25:13 make[2]: Leaving directory '/tmp/sdk/build/release' 12:25:13 [ 77%] Built target template 12:25:13 make[2]: Entering directory '/tmp/sdk/build/release' 12:25:13 make[2]: Leaving directory '/tmp/sdk/build/release' 12:25:13 [ 80%] Built target device-counter 12:25:13 make[2]: Entering directory '/tmp/sdk/build/release' 12:25:13 make[2]: Leaving directory '/tmp/sdk/build/release' 12:25:13 [ 84%] Built target device-random 12:25:13 make[2]: Entering directory '/tmp/sdk/build/release' 12:25:13 make[2]: Leaving directory '/tmp/sdk/build/release' 12:25:13 [ 87%] Built target device-gyro 12:25:13 make[2]: Entering directory '/tmp/sdk/build/release' 12:25:13 make[2]: Leaving directory '/tmp/sdk/build/release' 12:25:13 [ 90%] Built target device-bitfields 12:25:13 make[2]: Entering directory '/tmp/sdk/build/release' 12:25:13 make[2]: Leaving directory '/tmp/sdk/build/release' 12:25:13 [ 93%] Built target template-discovery 12:25:13 make[2]: Entering directory '/tmp/sdk/build/release' 12:25:13 make[2]: Leaving directory '/tmp/sdk/build/release' 12:25:13 [ 96%] Built target device-file 12:25:13 make[2]: Entering directory '/tmp/sdk/build/release' 12:25:13 make[2]: Leaving directory '/tmp/sdk/build/release' 12:25:13 [100%] Built target device-terminal 12:25:13 make[1]: Leaving directory '/tmp/sdk/build/release' 12:25:13 Install the project... 12:25:13 -- Install configuration: "Release" 12:25:13 -- Installing: /usr/local/lib/libcsdk.so 12:25:13 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 12:25:13 -- Up-to-date: /usr/local/include 12:25:13 -- Installing: /usr/local/include/edgex 12:25:13 -- Installing: /usr/local/include/edgex/rest-server.h 12:25:13 -- Installing: /usr/local/include/edgex/edgex-base.h 12:25:13 -- Installing: /usr/local/include/edgex/edgex.h 12:25:13 -- Installing: /usr/local/include/edgex/devices.h 12:25:13 -- Installing: /usr/local/include/edgex/profiles.h 12:25:13 -- Installing: /usr/local/include/edgex/csdk-defs.h 12:25:13 -- Installing: /usr/local/include/devsdk 12:25:13 -- Installing: /usr/local/include/devsdk/devsdk-base.h 12:25:13 -- Installing: /usr/local/include/devsdk/devsdk.h 12:25:13 -- Installing: /usr/local/include/iot 12:25:13 -- Installing: /usr/local/include/iot/json.h 12:25:13 -- Installing: /usr/local/include/iot/container.h 12:25:13 -- Installing: /usr/local/include/iot/component.h 12:25:13 -- Installing: /usr/local/include/iot/typecode.h 12:25:13 -- Installing: /usr/local/include/iot/iot.h 12:25:13 -- Installing: /usr/local/include/iot/time.h 12:25:13 -- Installing: /usr/local/include/iot/hash.h 12:25:13 -- Installing: /usr/local/include/iot/logger.h 12:25:13 -- Installing: /usr/local/include/iot/os 12:25:13 -- Installing: /usr/local/include/iot/os/zephyr.h 12:25:13 -- Installing: /usr/local/include/iot/os/linux.h 12:25:13 -- Installing: /usr/local/include/iot/os/macos.h 12:25:13 -- Installing: /usr/local/include/iot/scheduler.h 12:25:13 -- Installing: /usr/local/include/iot/data.h 12:25:13 -- Installing: /usr/local/include/iot/thread.h 12:25:13 -- Installing: /usr/local/include/iot/os.h 12:25:13 -- Installing: /usr/local/include/iot/base64.h 12:25:13 -- Installing: /usr/local/include/iot/defs.h 12:25:13 -- Installing: /usr/local/include/iot/threadpool.h 12:25:13 -- Installing: /usr/local/include/iot/config.h 12:25:13 -- Installing: /usr/local/share/device-sdk-c/LICENSE 12:25:13 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 12:25:13 make: Leaving directory '/tmp/sdk/build/release' 12:25:15 Removing intermediate container 1f09a3e4de71 12:25:15 ---> 3ea0057c231b 12:25:15 Step 16/25 : FROM ${BASE} 12:25:15 ---> b23d30803547 12:25:15 Step 17/25 : LABEL maintainer="IOTech " 12:25:16 ---> Running in ecd344af919e 12:25:16 Removing intermediate container ecd344af919e 12:25:16 ---> 63cbf1402d69 12:25:16 Step 18/25 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub 12:25:16 ---> Running in 1be2fa3fbed9 12:25:17 Connecting to iotech.jfrog.io (34.243.182.113:443) 12:25:18 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 12:25:18 12:25:19 Removing intermediate container 1be2fa3fbed9 12:25:19 ---> af9ebe61bbac 12:25:19 Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 12:25:19 ---> Running in a71195b7d2a0 12:25:21 Removing intermediate container a71195b7d2a0 12:25:21 ---> 9f2f4e6381b6 12:25:21 Step 20/25 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid paho-mqtt-c-dev hiredis-dev 12:25:21 ---> Running in 7687d2708b01 12:25:22 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 12:25:23 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 12:25:24 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 12:25:24 (1/6) Installing curl (7.64.0-r5) 12:25:25 (2/6) Installing hiredis (0.14.0-r0) 12:25:25 (3/6) Installing hiredis-dev (0.14.0-r0) 12:25:25 (4/6) Installing libuuid (2.33-r0) 12:25:25 (5/6) Installing paho-mqtt-c-dev (1.3.5-r0) 12:25:26 (6/6) Installing wget (1.20.3-r0) 12:25:27 Executing busybox-1.29.3-r10.trigger 12:25:27 OK: 283 MiB in 81 packages 12:25:28 Removing intermediate container 7687d2708b01 12:25:28 ---> 862c4707fd75 12:25:28 Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 12:25:29 ---> 7c9c7a6ed62b 12:25:29 Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 12:25:30 ---> a86cfe048c28 12:25:30 Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib 12:25:30 ---> ace366947330 12:25:30 Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 12:25:31 ---> 3e402101dc36 12:25:31 Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 12:25:32 ---> 4f8a89887f78 12:25:32 Successfully built 4f8a89887f78 12:25:32 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:25:33 + docker inspect -f . ci-base-image-arm64 12:25:33 . [Pipeline] withDockerContainer 12:25:33 prd-ubuntu18.04-docker-arm64-4c-16g-137 does not seem to be running inside a container 12:25:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:25:35 $ docker top a5c63a562628ccfd9718240feff47fadb2c15e4b92493d72cc4d2ae3309509ef -eo pid,comm [Pipeline] { [Pipeline] sh 12:25:36 + make test 12:25:36 echo "make test" 12:25:36 make test [Pipeline] } 12:25:36 $ docker stop --time=1 a5c63a562628ccfd9718240feff47fadb2c15e4b92493d72cc4d2ae3309509ef 12:25:38 $ docker rm -f a5c63a562628ccfd9718240feff47fadb2c15e4b92493d72cc4d2ae3309509ef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:25:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:25:39 + ls -al . 12:25:39 total 192 12:25:39 drwxrwxr-x 8 jenkins jenkins 4096 May 14 12:22 . 12:25:39 drwxrwxr-x 4 jenkins jenkins 4096 May 14 12:22 .. 12:25:39 drwxrwxr-x 8 jenkins jenkins 4096 May 14 12:22 .git 12:25:39 drwxrwxr-x 2 jenkins jenkins 4096 May 14 12:22 .github 12:25:39 -rw-rw-r-- 1 jenkins jenkins 176 May 14 12:22 .gitignore 12:25:39 -rw-rw-r-- 1 jenkins jenkins 3104 May 14 12:22 Attribution.txt 12:25:39 -rw-rw-r-- 1 jenkins jenkins 7200 May 14 12:22 CHANGES 12:25:39 -rw-rw-r-- 1 jenkins jenkins 108574 May 14 12:22 Doxyfile 12:25:39 -rw-rw-r-- 1 jenkins jenkins 784 May 14 12:22 Jenkinsfile 12:25:39 -rw-rw-r-- 1 jenkins jenkins 10174 May 14 12:22 LICENSE 12:25:39 -rw-rw-r-- 1 jenkins jenkins 444 May 14 12:22 Makefile 12:25:39 -rw-rw-r-- 1 jenkins jenkins 4090 May 14 12:22 README.md 12:25:39 -rw-rw-r-- 1 jenkins jenkins 6654 May 14 12:22 README.v2.md 12:25:39 -rw-rw-r-- 1 jenkins jenkins 5 May 14 12:20 VERSION 12:25:39 drwxrwxr-x 2 jenkins jenkins 4096 May 14 12:22 docs 12:25:39 drwxrwxr-x 4 jenkins jenkins 4096 May 14 12:22 include 12:25:39 drwxrwxr-x 2 jenkins jenkins 4096 May 14 12:22 scripts 12:25:39 drwxrwxr-x 4 jenkins jenkins 4096 May 14 12:22 src [Pipeline] isUnix [Pipeline] sh 12:25:39 + 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=ba2020d750fee17eb42416cd3d5122366d144e66 --label arch=arm64 --label version=0.0.0 . 12:25:40 Sending build context to Docker daemon 2.587MB 12:25:40 Step 1/17 : ARG BASE=alpine:3.12 12:25:40 Step 2/17 : FROM ${BASE} 12:25:40 ---> 4f8a89887f78 12:25:40 Step 3/17 : LABEL maintainer="IOTech " 12:25:40 ---> Running in b2c4619ad453 12:25:41 Removing intermediate container b2c4619ad453 12:25:41 ---> c2e10cac2202 12:25:41 Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub 12:25:41 ---> Running in 0c65b1b1cae0 12:25:42 --2021-05-14 12:25:42-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub 12:25:42 Resolving iotech.jfrog.io... 54.74.239.58, 34.243.182.113, 54.229.110.245 12:25:42 Connecting to iotech.jfrog.io|54.74.239.58|:443... connected. 12:25:42 HTTP request sent, awaiting response... 200 OK 12:25:42 Length: 451 [application/octet-stream] 12:25:42 Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 12:25:42  12:25:42 0K     100% 17.7M=0s 12:25:42 12:25:42 2021-05-14 12:25:42 (17.7 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] 12:25:42 12:25:43 Removing intermediate container 0c65b1b1cae0 12:25:43 ---> d2720239b72e 12:25:43 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 12:25:43 ---> Running in fb1c06cb15c7 12:25:46 Removing intermediate container fb1c06cb15c7 12:25:46 ---> 7a4ca100d525 12:25:46 Step 6/17 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev hiredis-dev && mkdir -p /edgex-c-sdk/build 12:25:46 ---> Running in 7fd1b5faccb9 12:25:47 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 12:25:48 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 12:25:49 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 12:25:49 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 12:25:49 (2/6) Installing libblkid (2.33-r0) 12:25:50 (3/6) Installing libfdisk (2.33-r0) 12:25:50 (4/6) Installing libmount (2.33-r0) 12:25:50 (5/6) Installing libsmartcols (2.33-r0) 12:25:50 (6/6) Installing util-linux-dev (2.33-r0) 12:25:50 Executing busybox-1.29.3-r10.trigger 12:25:50 OK: 287 MiB in 87 packages 12:25:52 Removing intermediate container 7fd1b5faccb9 12:25:52 ---> 5ad9ce23dbfa 12:25:52 Step 7/17 : COPY VERSION /edgex-c-sdk/ 12:25:52 ---> 2f45c0600b20 12:25:52 Step 8/17 : COPY src /edgex-c-sdk/src/ 12:25:53 ---> 50f062c97ccb 12:25:53 Step 9/17 : COPY include /edgex-c-sdk/include/ 12:25:54 ---> bc3ac78ebcdf 12:25:54 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 12:25:55 ---> 5843c7c2398a 12:25:55 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 12:25:55 ---> 2e2fc890b14c 12:25:55 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 12:25:56 ---> 812680a8c025 12:25:56 Step 13/17 : WORKDIR /edgex-c-sdk 12:25:56 ---> Running in 25ff429f6b2f 12:25:57 Removing intermediate container 25ff429f6b2f 12:25:57 ---> db18c07921e4 12:25:57 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 12:25:57 ---> Running in 4a21043e72f9 12:25:57 Removing intermediate container 4a21043e72f9 12:25:57 ---> 689bef089009 12:25:57 Step 15/17 : LABEL arch=arm64 12:25:57 ---> Running in aeb6c9310ac7 12:25:58 Removing intermediate container aeb6c9310ac7 12:25:58 ---> d3c2103506e5 12:25:58 Step 16/17 : LABEL git_sha=ba2020d750fee17eb42416cd3d5122366d144e66 12:25:58 ---> Running in c84d71253db4 12:25:58 Removing intermediate container c84d71253db4 12:25:58 ---> 7c46f96fa8fd 12:25:58 Step 17/17 : LABEL version=0.0.0 12:25:58 ---> Running in 74b5100f91e6 12:25:59 Removing intermediate container 74b5100f91e6 12:25:59 ---> f1a7fe21e415 12:25:59 [Warning] One or more build-args [ARCH MAKE] were not consumed 12:25:59 Successfully built f1a7fe21e415 12:25:59 Successfully tagged device-sdk-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 12:26:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:26:02 ---> package-listing.sh 12:26:02 ++ facter osfamily 12:26:02 ++ tr '[:upper:]' '[:lower:]' 12:26:02 + OS_FAMILY=redhat 12:26:02 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-346 12:26:02 + START_PACKAGES=/tmp/packages_start.txt 12:26:02 + END_PACKAGES=/tmp/packages_end.txt 12:26:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:26:02 + PACKAGES=/tmp/packages_start.txt 12:26:02 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-346 ']' 12:26:02 + PACKAGES=/tmp/packages_end.txt 12:26:02 + case "${OS_FAMILY}" in 12:26:02 + rpm -qa 12:26:02 + sort 12:26:07 + '[' -f /tmp/packages_start.txt ']' 12:26:07 + '[' -f /tmp/packages_end.txt ']' 12:26:07 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:26:07 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-346 ']' 12:26:07 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-346/archives/ 12:26:07 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-346/archives/ [Pipeline] echo 12:26:07 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-346/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:26:07 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 12:26:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 12:26:08 12:26:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 12:26:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 12:26:08 alpine: Pulling from edgex-lftools-log-publisher 12:26:08 df20fa9351a1: Pulling fs layer 12:26:08 36b3adc4ff6f: Pulling fs layer 12:26:08 8ad3a11d3b57: Pulling fs layer 12:26:08 46f8f816bc3b: Pulling fs layer 12:26:08 93b61091891f: Pulling fs layer 12:26:08 93b9cdb0e59b: Pulling fs layer 12:26:08 5e14af77c1be: Pulling fs layer 12:26:08 01666e4c0597: Pulling fs layer 12:26:08 aa168da1d23b: Pulling fs layer 12:26:08 46f8f816bc3b: Waiting 12:26:08 93b61091891f: Waiting 12:26:08 93b9cdb0e59b: Waiting 12:26:08 01666e4c0597: Waiting 12:26:08 5e14af77c1be: Waiting 12:26:08 36b3adc4ff6f: Download complete 12:26:08 46f8f816bc3b: Verifying Checksum 12:26:08 46f8f816bc3b: Download complete 12:26:08 df20fa9351a1: Verifying Checksum 12:26:08 df20fa9351a1: Download complete 12:26:08 93b61091891f: Download complete 12:26:08 93b9cdb0e59b: Verifying Checksum 12:26:08 93b9cdb0e59b: Download complete 12:26:08 5e14af77c1be: Verifying Checksum 12:26:08 5e14af77c1be: Download complete 12:26:08 01666e4c0597: Verifying Checksum 12:26:08 01666e4c0597: Download complete 12:26:09 df20fa9351a1: Pull complete 12:26:09 8ad3a11d3b57: Verifying Checksum 12:26:09 8ad3a11d3b57: Download complete 12:26:09 36b3adc4ff6f: Pull complete 12:26:10 8ad3a11d3b57: Pull complete 12:26:10 46f8f816bc3b: Pull complete 12:26:11 aa168da1d23b: Verifying Checksum 12:26:11 aa168da1d23b: Download complete 12:26:11 93b61091891f: Pull complete 12:26:12 93b9cdb0e59b: Pull complete 12:26:12 5e14af77c1be: Pull complete 12:26:12 01666e4c0597: Pull complete 12:26:20 aa168da1d23b: Pull complete 12:26:20 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 12:26:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 12:26:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 12:26:20 prd-centos7-docker-4c-2g-136 does not seem to be running inside a container 12:26:20 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-346/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-346 -v /w/workspace/edgexfoundry_device-sdk-c_PR-346:/w/workspace/edgexfoundry_device-sdk-c_PR-346:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-346@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-346@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 12:26:24 $ docker top 99f19ab0e64bbae00306ce027650f743e2b9ec3f5c12a3d352521ee0b2ae3acf -eo pid,comm [Pipeline] { [Pipeline] sh 12:26:24 + touch /tmp/pre-build-complete [Pipeline] sh 12:26:25 + mkdir -p /var/log/sa [Pipeline] sh 12:26:25 + ls /var/log/sa-host 12:26:25 + sadf -c /var/log/sa-host/sa14 12:26:25 file_magic: OK 12:26:25 HZ: Using current value: 100 12:26:25 file_header: OK 12:26:25 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:26:25 Statistics: 12:26:25 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 12:26:25 File successfully converted to sysstat format version 12.2.1 12:26:25 + sadf -c /var/log/sa-host/sa23 12:26:25 file_magic: OK 12:26:25 HZ: Using current value: 100 12:26:25 file_header: OK 12:26:25 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:26:25 Statistics: 12:26:25 Hnuu...uuuununununu... 12:26:25 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:26:26 provisioning config files... 12:26:26 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-346@tmp/config1134369659673115194tmp [Pipeline] { [Pipeline] echo 12:26:26 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:26:26 ---> create-netrc.sh [Pipeline] } 12:26:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 12:26:26 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 12:26:27 ---> python-tools-install.sh [Pipeline] echo 12:26:27 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:26:27 ---> sudo-logs.sh 12:26:27 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:26:27 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:26:27 ---> job-cost.sh 12:26:27 lf-activate-venv: SKIPPING 12:26:27 INFO: No Stack... 12:26:28 INFO: Retrieving Pricing Info for: v1-standard-2 12:26:29 INFO: Archiving Costs [Pipeline] echo 12:26:29 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:26:29 ---> logs-deploy.sh 12:26:29 lf-activate-venv: SKIPPING 12:26:29 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-346/1 12:26:29 INFO: archiving workspace using pattern(s): 12:26:31 Archives upload complete. 12:26:31 INFO: archiving logs to Nexus 12:26:33 ---> uname -a: 12:26:33 Linux prd-centos7-docker-4c-2g-136.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 12:26:33 12:26:33 12:26:33 ---> lscpu: 12:26:33 Architecture: x86_64 12:26:33 CPU op-mode(s): 32-bit, 64-bit 12:26:33 Byte Order: Little Endian 12:26:33 Address sizes: 40 bits physical, 48 bits virtual 12:26:33 CPU(s): 4 12:26:33 On-line CPU(s) list: 0-3 12:26:33 Thread(s) per core: 1 12:26:33 Core(s) per socket: 1 12:26:33 Socket(s): 4 12:26:33 NUMA node(s): 1 12:26:33 Vendor ID: GenuineIntel 12:26:33 CPU family: 6 12:26:33 Model: 44 12:26:33 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 12:26:33 Stepping: 1 12:26:33 CPU MHz: 2933.438 12:26:33 BogoMIPS: 5866.87 12:26:33 Virtualization: VT-x 12:26:33 Hypervisor vendor: KVM 12:26:33 Virtualization type: full 12:26:33 L1d cache: 128 KiB 12:26:33 L1i cache: 128 KiB 12:26:33 L2 cache: 16 MiB 12:26:33 L3 cache: 64 MiB 12:26:33 NUMA node0 CPU(s): 0-3 12:26:33 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 12:26:33 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 12:26:33 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 12:26:33 Vulnerability Meltdown: Mitigation; PTI 12:26:33 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 12:26:33 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 12:26:33 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 12:26:33 Vulnerability Srbds: Not affected 12:26:33 Vulnerability Tsx async abort: Not affected 12:26:33 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 12:26:33 12:26:33 12:26:33 ---> nproc: 12:26:33 4 12:26:33 12:26:33 12:26:33 ---> df -h: 12:26:33 Filesystem Size Used Available Use% Mounted on 12:26:33 overlay 50.0G 7.3G 42.7G 15% / 12:26:33 tmpfs 64.0M 0 64.0M 0% /dev 12:26:33 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 12:26:33 shm 64.0M 0 64.0M 0% /dev/shm 12:26:33 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 12:26:33 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 12:26:33 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 12:26:33 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 12:26:33 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 12:26:33 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/edgexfoundry_device-sdk-c_PR-346 12:26:33 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 12:26:33 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/edgexfoundry_device-sdk-c_PR-346@tmp 12:26:33 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 12:26:33 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 12:26:33 12:26:33 12:26:33 ---> free -m: 12:26:33 total used free shared buff/cache available 12:26:33 Mem: 1837 722 115 0 999 1009 12:26:33 Swap: 1023 1 1022 12:26:33 12:26:33 12:26:33 ---> ip addr: 12:26:33 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 12:26:33 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 12:26:33 inet 127.0.0.1/8 scope host lo 12:26:33 valid_lft forever preferred_lft forever 12:26:33 inet6 ::1/128 scope host 12:26:33 valid_lft forever preferred_lft forever 12:26:33 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 12:26:33 link/ether fa:16:3e:4d:2a:c7 brd ff:ff:ff:ff:ff:ff 12:26:33 inet 10.30.122.24/23 brd 10.30.123.255 scope global dynamic eth0 12:26:33 valid_lft 85981sec preferred_lft 85981sec 12:26:33 inet6 fe80::f816:3eff:fe4d:2ac7/64 scope link 12:26:33 valid_lft forever preferred_lft forever 12:26:33 3: docker0: mtu 1500 qdisc noqueue state DOWN 12:26:33 link/ether 02:42:e9:3c:ef:5e brd ff:ff:ff:ff:ff:ff 12:26:33 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 12:26:33 valid_lft forever preferred_lft forever 12:26:33 inet6 fe80::42:e9ff:fe3c:ef5e/64 scope link 12:26:33 valid_lft forever preferred_lft forever 12:26:33 12:26:33 12:26:33 ---> sar -b -r -n DEV: 12:26:33 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 05/14/21 _x86_64_ (4 CPU) 12:26:33 12:26:33 12:19:21 LINUX RESTART (4 CPU) 12:26:33 12:26:33 12:20:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 12:26:33 12:21:01 49.08 12.12 36.97 0.00 4411.98 3311.53 0.00 12:26:33 12:22:01 0.55 0.02 0.53 0.00 0.53 11.20 0.00 12:26:33 12:23:01 0.25 0.00 0.25 0.00 0.00 3.38 0.00 12:26:33 12:24:01 0.27 0.00 0.27 0.00 0.00 3.46 0.00 12:26:33 12:25:01 0.22 0.00 0.22 0.00 0.00 2.88 0.00 12:26:33 12:26:01 0.38 0.12 0.27 0.00 3.46 3.25 0.00 12:26:33 Average: 8.46 2.04 6.42 0.00 736.28 556.17 0.00 12:26:33 12:26:33 12:20:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 12:26:33 12:21:01 166512 0 612464 32.55 2620 1099948 1108264 37.82 395288 1120280 124 12:26:33 12:22:01 171476 0 607492 32.29 2620 1099956 1078020 36.79 395164 1116372 8 12:26:33 12:23:01 170632 0 608332 32.33 2620 1099960 1078264 36.80 408964 1103748 8 12:26:33 12:24:01 170804 0 608160 32.32 2620 1099960 1078228 36.80 408952 1103748 8 12:26:33 12:25:01 169460 0 609492 32.39 2620 1099972 1078156 36.80 428560 1085648 8 12:26:33 12:26:01 165084 0 613864 32.63 2620 1099976 1092576 37.29 433776 1084636 12 12:26:33 Average: 168995 0 609967 32.42 2620 1099962 1085585 37.05 411784 1102405 28 12:26:33 12:26:33 12:20:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 12:26:33 12:21:01 eth0 173.15 129.93 494.25 37.24 0.00 0.00 0.00 0.00 12:26:33 12:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:26:33 12:21:01 docker0 14.00 10.95 1.46 24.49 0.00 0.00 0.00 0.00 12:26:33 12:22:01 eth0 0.73 0.03 0.06 0.00 0.00 0.00 0.00 0.00 12:26:33 12:22:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:26:33 12:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:26:33 12:23:01 eth0 1.05 0.42 0.32 0.21 0.00 0.00 0.00 0.00 12:26:33 12:23:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:26:33 12:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:26:33 12:24:01 eth0 0.37 0.35 0.26 0.20 0.00 0.00 0.00 0.00 12:26:33 12:24:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:26:33 12:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:26:33 12:25:01 eth0 0.23 0.20 0.08 0.07 0.00 0.00 0.00 0.00 12:26:33 12:25:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:26:33 12:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:26:33 12:26:01 eth0 1.17 0.87 1.20 0.26 0.00 0.00 0.00 0.00 12:26:33 12:26:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:26:33 12:26:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:26:33 Average: eth0 29.46 21.97 82.73 6.33 0.00 0.00 0.00 0.00 12:26:33 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:26:33 Average: docker0 2.33 1.83 0.24 4.08 0.00 0.00 0.00 0.00 12:26:33 12:26:33 12:26:33 ---> sar -P ALL: 12:26:33 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 05/14/21 _x86_64_ (4 CPU) 12:26:33 12:26:33 12:19:21 LINUX RESTART (4 CPU) 12:26:33 12:26:33 12:20:01 CPU %user %nice %system %iowait %steal %idle 12:26:33 12:21:01 all 3.91 0.00 2.49 1.35 0.09 92.16 12:26:33 12:21:01 0 3.68 0.00 2.22 0.42 0.08 93.59 12:26:33 12:21:01 1 3.76 0.00 2.62 1.56 0.10 91.97 12:26:33 12:21:01 2 4.55 0.00 2.63 1.28 0.08 91.46 12:26:33 12:21:01 3 3.65 0.00 2.47 2.15 0.10 91.63 12:26:33 12:22:01 all 0.17 0.00 0.05 0.00 0.00 99.78 12:26:33 12:22:01 0 0.07 0.00 0.07 0.00 0.00 99.87 12:26:33 12:22:01 1 0.53 0.00 0.05 0.00 0.00 99.42 12:26:33 12:22:01 2 0.05 0.00 0.03 0.00 0.00 99.92 12:26:33 12:22:01 3 0.05 0.00 0.03 0.00 0.00 99.92 12:26:33 12:23:01 all 0.18 0.00 0.06 0.00 0.02 99.74 12:26:33 12:23:01 0 0.08 0.00 0.07 0.00 0.03 99.82 12:26:33 12:23:01 1 0.27 0.00 0.03 0.00 0.02 99.68 12:26:33 12:23:01 2 0.33 0.00 0.12 0.00 0.02 99.53 12:26:33 12:23:01 3 0.05 0.00 0.03 0.00 0.00 99.92 12:26:33 12:24:01 all 0.13 0.00 0.05 0.00 0.00 99.82 12:26:33 12:24:01 0 0.03 0.00 0.03 0.00 0.00 99.93 12:26:33 12:24:01 1 0.02 0.00 0.02 0.00 0.00 99.97 12:26:33 12:24:01 2 0.40 0.00 0.08 0.00 0.00 99.52 12:26:33 12:24:01 3 0.05 0.00 0.07 0.00 0.02 99.87 12:26:33 12:25:01 all 0.15 0.00 0.06 0.00 0.00 99.78 12:26:33 12:25:01 0 0.02 0.00 0.02 0.00 0.00 99.97 12:26:33 12:25:01 1 0.03 0.00 0.05 0.00 0.02 99.90 12:26:33 12:25:01 2 0.03 0.00 0.15 0.00 0.00 99.82 12:26:33 12:25:01 3 0.52 0.00 0.03 0.00 0.00 99.45 12:26:33 12:26:01 all 0.20 0.00 0.07 0.00 0.00 99.74 12:26:33 12:26:01 0 0.05 0.00 0.03 0.00 0.00 99.92 12:26:33 12:26:01 1 0.08 0.00 0.08 0.00 0.00 99.83 12:26:33 12:26:01 2 0.13 0.00 0.10 0.00 0.00 99.77 12:26:33 12:26:01 3 0.52 0.00 0.05 0.00 0.00 99.43 12:26:33 Average: all 0.79 0.00 0.46 0.22 0.02 98.51 12:26:33 Average: 0 0.65 0.00 0.40 0.07 0.02 98.86 12:26:33 Average: 1 0.78 0.00 0.47 0.26 0.02 98.47 12:26:33 Average: 2 0.91 0.00 0.52 0.21 0.02 98.34 12:26:33 Average: 3 0.80 0.00 0.45 0.36 0.02 98.38 12:26:33 12:26:33 12:26:33