Pull request #365 opened Connecting to https://api.github.com using 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 16e6d37701b4df8eb31e235347825a376341209e+fa3f1bc6009dfda5647181c893d25c3a20ff6238 (eee62ef45c1f419360b2e66b9ee4b94e3eda87c0) 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 > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh20136504482408993.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh8192735587861849881.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 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 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-365/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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-365/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh793295471858751929.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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-365/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4823899233884322690.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 # timeout=10 Commit message: "Merge pull request #353 from ernestojeda/go-mod-tidy-change" > 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 > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1485700818785714287.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 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-365/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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-365/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5468544835284314513.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 98bb157299c17168c94e81a7dba3d05dc38b0f72 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98bb157299c17168c94e81a7dba3d05dc38b0f72 # timeout=10 Commit message: "Docs: Add example Jenkinsfile to documentation" > 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 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 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_BUILD_IMAGE_TARGET: builder 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-709 in /w/workspace/edgexfoundry_device-sdk-c_PR-365 [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-365 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-365@tmp/jenkins-gitclient-ssh5629781539210233137.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit fa3f1bc6009dfda5647181c893d25c3a20ff6238 into PR head commit 16e6d37701b4df8eb31e235347825a376341209e Merge succeeded, producing a8159f9fcc357946baab99ef602a1f4cc1e2e741 Checking out Revision a8159f9fcc357946baab99ef602a1f4cc1e2e741 (PR-365) > 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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-365@tmp/jenkins-gitclient-ssh5409302961085676260.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/365/head:refs/remotes/origin/PR-365 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 16e6d37701b4df8eb31e235347825a376341209e # 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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-365@tmp/jenkins-gitclient-ssh6378111995880077963.key > git merge fa3f1bc6009dfda5647181c893d25c3a20ff6238 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a8159f9fcc357946baab99ef602a1f4cc1e2e741 # timeout=10 Commit message: "Merge commit 'fa3f1bc6009dfda5647181c893d25c3a20ff6238' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:09:02 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:09:02 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:09:02 ========================================================= 15:09:02 EdgeX Global Pipelines Version Info 15:09:02 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:09:04 ------------------- 15:09:04 stable info: 15:09:04 ------------------- 15:09:04 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:09:04 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 15:09:04 Message: update stable to v1.0.205 15:09:04 ------------------- 15:09:04 experimental info: 15:09:04 ------------------- 15:09:04 Commited By: **** collab-it+edgex@linuxfoundation.org 15:09:04 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 15:09:04 Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:09:05 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 15:09:05 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 15:09:05 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:09:05 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:09:05 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:09:05 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo 15:09:05 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 15:09:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 15:09:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:09:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:09:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 15:09:05 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:09:05 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:09:05 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:09:05 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 15:09:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:09:06 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:09:06 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:09:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-365 [Pipeline] echo 15:09:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-365 [Pipeline] echo 15:09:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-365 [Pipeline] echo 15:09:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a8159f9fcc357946baab99ef602a1f4cc1e2e741 [Pipeline] echo 15:09:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a8159f9 [Pipeline] echo 15:09:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:09:06 provisioning config files... 15:09:06 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-365@tmp/config3542656713672347632tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:09:07 ---> docker-login.sh 15:09:07 nexus3.edgexfoundry.org:10001 15:09:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:09:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:09:07 Configure a credential helper to remove this warning. See 15:09:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:09:07 15:09:07 Login Succeeded 15:09:07 nexus3.edgexfoundry.org:10002 15:09:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:09:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:09:07 Configure a credential helper to remove this warning. See 15:09:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:09:07 15:09:07 Login Succeeded 15:09:07 nexus3.edgexfoundry.org:10003 15:09:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:09:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:09:07 Configure a credential helper to remove this warning. See 15:09:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:09:07 15:09:07 Login Succeeded 15:09:07 nexus3.edgexfoundry.org:10004 15:09:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:09:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:09:07 Configure a credential helper to remove this warning. See 15:09:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:09:07 15:09:07 Login Succeeded 15:09:07 docker.io 15:09:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:09:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:09:08 Configure a credential helper to remove this warning. See 15:09:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:09:08 15:09:08 Login Succeeded 15:09:08 ---> docker-login.sh ends [Pipeline] } 15:09:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 15:09:10 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:09:10 15:09:10 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 15:09:10 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:09:10 latest: Pulling from edgex-devops/git-semver 15:09:10 31603596830f: Pulling fs layer 15:09:10 d4622e32a9a9: Pulling fs layer 15:09:10 1030fce36090: Pulling fs layer 15:09:10 6c6cb7e1b49b: Pulling fs layer 15:09:10 d4622e32a9a9: Verifying Checksum 15:09:10 d4622e32a9a9: Download complete 15:09:10 31603596830f: Verifying Checksum 15:09:10 31603596830f: Download complete 15:09:10 6c6cb7e1b49b: Verifying Checksum 15:09:10 6c6cb7e1b49b: Download complete 15:09:10 31603596830f: Pull complete 15:09:10 d4622e32a9a9: Pull complete 15:09:10 1030fce36090: Verifying Checksum 15:09:10 1030fce36090: Download complete 15:09:11 1030fce36090: Pull complete 15:09:11 6c6cb7e1b49b: Pull complete 15:09:11 Digest: sha256:98b6084a185347f7b64647794a0a4774a411b925a780a33b3032b91fe10e00ab 15:09:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:09:11 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 15:09:12 prd-centos7-docker-4c-2g-709 does not seem to be running inside a container 15:09:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-365 -v /w/workspace/edgexfoundry_device-sdk-c_PR-365:/w/workspace/edgexfoundry_device-sdk-c_PR-365:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-365@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-365@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:10004/edgex-devops/git-semver:latest cat 15:09:12 $ docker top 0aeb7714c770cec710e39b3c32bd998c7c0e6d872ff0fc63cfc7d87dfbcd8ef3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:09:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:09:13 [ssh-agent] Looking for ssh-agent implementation... 15:09:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:09:13 $ docker exec 0aeb7714c770cec710e39b3c32bd998c7c0e6d872ff0fc63cfc7d87dfbcd8ef3 ssh-agent 15:09:13 SSH_AUTH_SOCK=/tmp/ssh-zrRETxG9rJ9V/agent.14 15:09:13 SSH_AGENT_PID=20 15:09:13 Running ssh-add (command line suppressed) 15:09:13 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-365@tmp/private_key_4499364991714909445.key (/w/workspace/edgexfoundry_device-sdk-c_PR-365@tmp/private_key_4499364991714909445.key) 15:09:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:09:13 + git tag --points-at HEAD [Pipeline] } 15:09:13 $ docker exec --env ******** --env ******** 0aeb7714c770cec710e39b3c32bd998c7c0e6d872ff0fc63cfc7d87dfbcd8ef3 ssh-agent -k 15:09:14 unset SSH_AUTH_SOCK; 15:09:14 unset SSH_AGENT_PID; 15:09:14 echo Agent pid 20 killed; 15:09:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:09:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:09:14 [ssh-agent] Looking for ssh-agent implementation... 15:09:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:09:14 $ docker exec 0aeb7714c770cec710e39b3c32bd998c7c0e6d872ff0fc63cfc7d87dfbcd8ef3 ssh-agent 15:09:14 SSH_AUTH_SOCK=/tmp/ssh-WHqD4WobCesf/agent.53 15:09:14 SSH_AGENT_PID=59 15:09:14 Running ssh-add (command line suppressed) 15:09:14 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-365@tmp/private_key_7518374586010622512.key (/w/workspace/edgexfoundry_device-sdk-c_PR-365@tmp/private_key_7518374586010622512.key) 15:09:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:09:14 + git semver init 15:09:14 # -> Open(): unable to determine branch for HEAD 15:09:14 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-365/.git 15:09:14 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-365 15:09:14 # $SEMVER_REMOTE_NAME = origin 15:09:14 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:09:14 # $SEMVER_USER_NAME = edgex-jenkins 15:09:14 # $SEMVER_BRANCH = PR-365 15:09:14 # $SEMVER_TEMP = /tmp/semver-016342135 15:09:14 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 15:09:15 # '/tmp/semver-016342135' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-365/.semver' 15:09:15 # -> Force: false 15:09:15 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-365/.semver [Pipeline] } 15:09:15 $ docker exec --env ******** --env ******** 0aeb7714c770cec710e39b3c32bd998c7c0e6d872ff0fc63cfc7d87dfbcd8ef3 ssh-agent -k 15:09:15 unset SSH_AUTH_SOCK; 15:09:15 unset SSH_AGENT_PID; 15:09:15 echo Agent pid 59 killed; 15:09:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:09:16 + git semver [Pipeline] } 15:09:16 $ docker stop --time=1 0aeb7714c770cec710e39b3c32bd998c7c0e6d872ff0fc63cfc7d87dfbcd8ef3 15:09:17 $ docker rm -f 0aeb7714c770cec710e39b3c32bd998c7c0e6d872ff0fc63cfc7d87dfbcd8ef3 [Pipeline] // withDockerContainer [Pipeline] sh 15:09:17 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:09:18 Stashed 1 file(s) [Pipeline] echo 15:09:18 [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 15:09:33 Still waiting to schedule task 15:09:33 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-709’ 15:09:33 Still waiting to schedule task 15:09:33 ‘prd-ubuntu18.04-docker-arm64-4c-16g-105’ is offline 15:11:29 Running on prd-ubuntu18.04-docker-arm64-4c-16g-711 in /w/workspace/edgexfoundry_device-sdk-c_PR-365 [Pipeline] { [Pipeline] ws 15:11:29 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 15:11:30 Selected Git installation does not exist. Using Default 15:11:30 The recommended git tool is: NONE 15:11:35 using credential edgex-jenkins-ssh 15:11:35 Cloning the remote Git repository 15:11:35 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 15:11:35 > git init /w/workspace/device-sdk-c/1 # timeout=10 15:11:36 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 15:11:36 > git --version # timeout=10 15:11:36 > git --version # 'git version 2.17.1' 15:11:36 using GIT_SSH to set credentials SSH Credentials for GitHub 15:11:36 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:11:37 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 15:11:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:11:37 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 15:11:37 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 15:11:37 using GIT_SSH to set credentials SSH Credentials for GitHub 15:11:37 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/365/head:refs/remotes/origin/PR-365 +refs/heads/main:refs/remotes/origin/main # timeout=10 15:11:38 Merging remotes/origin/main commit fa3f1bc6009dfda5647181c893d25c3a20ff6238 into PR head commit 16e6d37701b4df8eb31e235347825a376341209e 15:11:38 Merge succeeded, producing c18a3c401453d424705f066c849bbf59d2efeadf 15:11:38 Checking out Revision c18a3c401453d424705f066c849bbf59d2efeadf (PR-365) 15:11:38 > git config core.sparsecheckout # timeout=10 15:11:38 > git checkout -f 16e6d37701b4df8eb31e235347825a376341209e # timeout=10 15:11:38 > git remote # timeout=10 15:11:38 > git config --get remote.origin.url # timeout=10 15:11:38 using GIT_SSH to set credentials SSH Credentials for GitHub 15:11:38 > git merge fa3f1bc6009dfda5647181c893d25c3a20ff6238 # timeout=10 15:11:38 > git rev-parse HEAD^{commit} # timeout=10 15:11:38 > git config core.sparsecheckout # timeout=10 15:11:38 > git checkout -f c18a3c401453d424705f066c849bbf59d2efeadf # timeout=10 15:11:42 Commit message: "Merge commit 'fa3f1bc6009dfda5647181c893d25c3a20ff6238' into HEAD" 15:11:42 First time build. Skipping changelog. 15:11:42 > git --version # timeout=10 15:11:42 > git --version # 'git version 2.17.1' 15:11:42 fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:11:43 provisioning config files... 15:11:43 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config6664141869584031222tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:11:44 ---> docker-login.sh 15:11:44 nexus3.edgexfoundry.org:10001 15:11:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:11:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:11:45 Configure a credential helper to remove this warning. See 15:11:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:11:45 15:11:45 Login Succeeded 15:11:45 nexus3.edgexfoundry.org:10002 15:11:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:11:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:11:46 Configure a credential helper to remove this warning. See 15:11:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:11:46 15:11:46 Login Succeeded 15:11:46 nexus3.edgexfoundry.org:10003 15:11:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:11:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:11:46 Configure a credential helper to remove this warning. See 15:11:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:11:46 15:11:46 Login Succeeded 15:11:46 nexus3.edgexfoundry.org:10004 15:11:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:11:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:11:47 Configure a credential helper to remove this warning. See 15:11:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:11:47 15:11:47 Login Succeeded 15:11:47 docker.io 15:11:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:11:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:11:48 Configure a credential helper to remove this warning. See 15:11:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:11:48 15:11:48 Login Succeeded 15:11:48 ---> docker-login.sh ends [Pipeline] } 15:11:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:11:48 ========================================================= 15:11:48 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 15:11:48 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 15:11:49 + 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 . 15:11:49 Sending build context to Docker daemon 2.706MB 15:11:49 Step 1/25 : ARG BASE=alpine:3.12 15:11:49 Step 2/25 : FROM ${BASE} as builder 15:11:50 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 15:11:50 d2f70382dc9a: Pulling fs layer 15:11:50 b08cc2eccb4b: Pulling fs layer 15:11:50 7b69db201801: Pulling fs layer 15:11:50 b08cc2eccb4b: Verifying Checksum 15:11:50 b08cc2eccb4b: Download complete 15:11:50 d2f70382dc9a: Verifying Checksum 15:11:50 d2f70382dc9a: Download complete 15:11:51 d2f70382dc9a: Pull complete 15:11:51 b08cc2eccb4b: Pull complete 15:11:53 7b69db201801: Verifying Checksum 15:11:53 7b69db201801: Download complete 15:12:01 7b69db201801: Pull complete 15:12:01 Digest: sha256:6402f0ff92f22f5db569dc2a94aef5717e50795d64082fb226716824a8b8ffba 15:12:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 15:12:01 ---> 759262b18b23 15:12:01 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 15:12:04 ---> Running in 05f30eef90d2 15:12:05 Connecting to iotech.jfrog.io (54.195.244.87:443) 15:12:05 Running on prd-centos7-docker-4c-2g-712 in /w/workspace/edgexfoundry_device-sdk-c_PR-365 [Pipeline] { [Pipeline] ws 15:12:05 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 15:12:05 saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 15:12:05 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 15:12:05 '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved 15:12:05 Selected Git installation does not exist. Using Default 15:12:05 The recommended git tool is: NONE 15:12:07 Removing intermediate container 05f30eef90d2 15:12:07 ---> 414dcfd8e00d 15:12:07 Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 15:12:07 ---> Running in cc306337b033 15:12:08 using credential edgex-jenkins-ssh 15:12:08 Cloning the remote Git repository 15:12:08 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 15:12:08 > git init /w/workspace/device-sdk-c/1 # timeout=10 15:12:08 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 15:12:08 > git --version # timeout=10 15:12:08 > git --version # 'git version 2.24.4' 15:12:08 using GIT_SSH to set credentials SSH Credentials for GitHub 15:12:08 [INFO] Currently running in a labeled security context 15:12:08 [INFO] Currently SELinux is 'enforcing' on the host 15:12:08 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh7541718026156923341.key 15:12:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:12:09 Removing intermediate container cc306337b033 15:12:09 ---> 18f5a2dc02a9 15:12:09 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 15:12:09 ---> Running in ff6d10f1a812 15:12:09 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 15:12:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:12:09 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 15:12:09 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 15:12:09 using GIT_SSH to set credentials SSH Credentials for GitHub 15:12:09 [INFO] Currently running in a labeled security context 15:12:09 [INFO] Currently SELinux is 'enforcing' on the host 15:12:09 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh4217526562633856213.key 15:12:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/365/head:refs/remotes/origin/PR-365 +refs/heads/main:refs/remotes/origin/main # timeout=10 15:12:10 Merging remotes/origin/main commit fa3f1bc6009dfda5647181c893d25c3a20ff6238 into PR head commit 16e6d37701b4df8eb31e235347825a376341209e 15:12:10 Merge succeeded, producing 3181a24b07ac7f9b3f80729621afdfba870adc2f 15:12:10 Checking out Revision 3181a24b07ac7f9b3f80729621afdfba870adc2f (PR-365) 15:12:11 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 15:12:10 > git config core.sparsecheckout # timeout=10 15:12:10 > git checkout -f 16e6d37701b4df8eb31e235347825a376341209e # timeout=10 15:12:10 > git remote # timeout=10 15:12:10 > git config --get remote.origin.url # timeout=10 15:12:10 using GIT_SSH to set credentials SSH Credentials for GitHub 15:12:10 [INFO] Currently running in a labeled security context 15:12:10 [INFO] Currently SELinux is 'enforcing' on the host 15:12:10 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh1332651715984084257.key 15:12:10 > git merge fa3f1bc6009dfda5647181c893d25c3a20ff6238 # timeout=10 15:12:10 > git rev-parse HEAD^{commit} # timeout=10 15:12:10 > git config core.sparsecheckout # timeout=10 15:12:10 > git checkout -f 3181a24b07ac7f9b3f80729621afdfba870adc2f # timeout=10 15:12:12 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 15:12:12 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 15:12:13 (1/22) Installing hiredis (0.14.1-r0) 15:12:13 (2/22) Installing hiredis-dev (0.14.1-r0) 15:12:14 Commit message: "Merge commit 'fa3f1bc6009dfda5647181c893d25c3a20ff6238' into HEAD" 15:12:14 First time build. Skipping changelog. 15:12:14 (3/22) Installing ncurses-dev (6.2_p20200523-r0) 15:12:14 (4/22) Installing paho-mqtt-c-dev (1.3.5-r0) 15:12:14 > git --version # timeout=10 15:12:14 > git --version # 'git version 2.24.4' 15:12:14 fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:12:14 provisioning config files... 15:12:14 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config285570469683940373tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:12:15 ---> docker-login.sh 15:12:15 nexus3.edgexfoundry.org:10001 15:12:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:12:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:12:15 Configure a credential helper to remove this warning. See 15:12:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:12:15 15:12:15 Login Succeeded 15:12:15 nexus3.edgexfoundry.org:10002 15:12:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:12:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:12:15 Configure a credential helper to remove this warning. See 15:12:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:12:15 15:12:15 Login Succeeded 15:12:15 nexus3.edgexfoundry.org:10003 15:12:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:12:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:12:15 Configure a credential helper to remove this warning. See 15:12:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:12:15 15:12:15 Login Succeeded 15:12:15 nexus3.edgexfoundry.org:10004 15:12:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:12:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:12:15 Configure a credential helper to remove this warning. See 15:12:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:12:15 15:12:15 Login Succeeded 15:12:15 docker.io 15:12:16 (5/22) Installing libblkid (2.35.2-r0) 15:12:16 (6/22) Installing blkid (2.35.2-r0) 15:12:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:12:16 (7/22) Installing libcap-ng (0.7.10-r1) 15:12:16 (8/22) Installing setpriv (2.35.2-r0) 15:12:16 (9/22) Installing libmount (2.35.2-r0) 15:12:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:12:16 Configure a credential helper to remove this warning. See 15:12:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:12:16 15:12:16 Login Succeeded 15:12:16 ---> docker-login.sh ends [Pipeline] } 15:12:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } 15:12:16 (10/22) Installing libsmartcols (2.35.2-r0) 15:12:16 (11/22) Installing findmnt (2.35.2-r0) [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:12:16 ========================================================= 15:12:16 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 15:12:16 ========================================================= [Pipeline] fileExists 15:12:16 (12/22) Installing mcookie (2.35.2-r0) 15:12:16 (13/22) Installing hexdump (2.35.2-r0) 15:12:16 (14/22) Installing lsblk (2.35.2-r0) [Pipeline] isUnix [Pipeline] sh 15:12:17 (15/22) Installing libuuid (2.35.2-r0) 15:12:17 (16/22) Installing libfdisk (2.35.2-r0) 15:12:17 (17/22) Installing sfdisk (2.35.2-r0) 15:12:17 + 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 . 15:12:17 Sending build context to Docker daemon 2.707MB 15:12:17 Step 1/25 : ARG BASE=alpine:3.12 15:12:17 Step 2/25 : FROM ${BASE} as builder 15:12:17 latest: Pulling from edgex-devops/edgex-gcc-base 15:12:17 339de151aab4: Pulling fs layer 15:12:17 3691962f683c: Pulling fs layer 15:12:17 e1147bf81a45: Pulling fs layer 15:12:17 3691962f683c: Verifying Checksum 15:12:17 3691962f683c: Download complete 15:12:17 (18/22) Installing cfdisk (2.35.2-r0) 15:12:17 (19/22) Installing util-linux (2.35.2-r0) 15:12:17 339de151aab4: Verifying Checksum 15:12:17 339de151aab4: Download complete 15:12:17 339de151aab4: Pull complete 15:12:17 3691962f683c: Pull complete 15:12:17 (20/22) Installing util-linux-dev (2.35.2-r0) 15:12:18 (21/22) Installing libidn2 (2.3.0-r0) 15:12:18 (22/22) Installing wget (1.20.3-r1) 15:12:18 Executing busybox-1.31.1-r20.trigger 15:12:18 OK: 276 MiB in 97 packages 15:12:20 Removing intermediate container ff6d10f1a812 15:12:20 ---> 4169dfc7439a 15:12:20 Step 6/25 : ENV CBOR_VERSION=0.5.0 15:12:20 ---> Running in f60d236f3105 15:12:21 e1147bf81a45: Verifying Checksum 15:12:21 e1147bf81a45: Download complete 15:12:21 Removing intermediate container f60d236f3105 15:12:21 ---> 0df9f6ff7ae3 15:12:21 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 15:12:21 ---> Running in 4f9d2a5d3783 15:12:22 --2021-08-12 15:12:22-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 15:12:22 Resolving github.com (github.com)... 140.82.113.4 15:12:22 Connecting to github.com (github.com)|140.82.113.4|:443... connected. 15:12:22 HTTP request sent, awaiting response... 302 Found 15:12:22 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 15:12:22 --2021-08-12 15:12:22-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 15:12:22 Resolving codeload.github.com (codeload.github.com)... 140.82.112.9 15:12:23 Connecting to codeload.github.com (codeload.github.com)|140.82.112.9|:443... connected. 15:12:23 HTTP request sent, awaiting response... 200 OK 15:12:23 Length: unspecified [application/x-gzip] 15:12:23 Saving to: 'STDOUT' 15:12:23  15:12:23 0K .......... .......... .......... .......... .......... 1.36M 15:12:23 50K .......... .......... .......... .......... .......... 2.85M 15:12:23 100K .......... .......... .......... .......... .......... 8.16M 15:12:23 150K .......... .......... .......... .......... .......... 4.18M 15:12:23 200K .......... .......... .......... .......... .......... 11.0M 15:12:23 250K .......... .......... .......... .......... .......... 3.78M 15:12:23 300K .......... .......... .......... .......... .......... 4.22M 15:12:23 350K .......... .......... .......... .......... .......... 5.54M 15:12:23 400K .......... .......... .......... .......... .......... 3.06M 15:12:23 450K .......... .......... .......... .......... .......... 4.39M 15:12:23 500K .......... .......... .......... .......... .......... 7.87M 15:12:23 550K .......... .......... .......... .......... .......... 2.51M 15:12:23 600K .......... .......... .......... .......... .......... 912K 15:12:23 650K .......... .......... .......... .......... .......... 2.17M 15:12:23 700K ..      589K=0.2s 15:12:23 15:12:23 2021-08-12 15:12:23 (2.83 MB/s) - written to stdout [719348] 15:12:23 15:12:23 -- The C compiler identification is GNU 9.3.0 15:12:23 e1147bf81a45: Pull complete 15:12:23 Digest: sha256:32c567f17180c4abff101a0d389449dec7f3f623a221c8a8ae98dcac9b0d9fee 15:12:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 15:12:23 ---> ac6a0feb3254 15:12:23 Step 3/25 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub 15:12:23 -- The CXX compiler identification is GNU 9.3.0 15:12:23 -- Check for working C compiler: /usr/bin/cc 15:12:24 -- Check for working C compiler: /usr/bin/cc - works 15:12:24 -- Detecting C compiler ABI info 15:12:24 -- Detecting C compiler ABI info - done 15:12:24 -- Detecting C compile features 15:12:24 -- Detecting C compile features - done 15:12:24 -- Check for working CXX compiler: /usr/bin/c++ 15:12:24 ---> Running in b345f716384a 15:12:24 Connecting to iotech.jfrog.io (54.170.66.44:443) 15:12:24 -- Check for working CXX compiler: /usr/bin/c++ - works 15:12:24 -- Detecting CXX compiler ABI info 15:12:25 -- Detecting CXX compiler ABI info - done 15:12:25 saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 15:12:25 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 15:12:25 '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved 15:12:25 Removing intermediate container b345f716384a 15:12:25 ---> 71ec0b5c8980 15:12:25 Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 15:12:25 ---> Running in 884d0c987ffa 15:12:25 -- Detecting CXX compile features 15:12:25 -- Detecting CXX compile features - done 15:12:25 -- Looking for include file endian.h 15:12:25 -- Looking for include file endian.h - found 15:12:25 -- Check if the system is big endian 15:12:25 -- Searching 16 bit integer 15:12:25 -- Looking for sys/types.h 15:12:25 -- Looking for sys/types.h - found 15:12:25 Removing intermediate container 884d0c987ffa 15:12:25 ---> a608819def52 15:12:25 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 15:12:25 ---> Running in d20a7a297cec 15:12:25 -- Looking for stdint.h 15:12:25 -- Looking for stdint.h - found 15:12:25 -- Looking for stddef.h 15:12:26 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 15:12:26 -- Looking for stddef.h - found 15:12:26 -- Check size of unsigned short 15:12:26 -- Check size of unsigned short - done 15:12:26 -- Searching 16 bit integer - Using unsigned short 15:12:26 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 15:12:26 -- Check if the system is big endian - little endian 15:12:26 -- Check size of size_t 15:12:26 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 15:12:26 -- Check size of size_t - done 15:12:26 CMake Warning at examples/CMakeLists.txt:16 (find_package): 15:12:26 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 15:12:26 asked CMake to find a package configuration file provided by "cJSON", but 15:12:26 CMake did not find one. 15:12:26 15:12:26 Could not find a package configuration file provided by "cJSON" with any of 15:12:26 the following names: 15:12:26 15:12:26 cJSONConfig.cmake 15:12:26 cjson-config.cmake 15:12:26 15:12:26 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 15:12:26 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 15:12:26 provides a separate development package or SDK, be sure it has been 15:12:26 installed. 15:12:26 15:12:26 15:12:26 -- Configuring done 15:12:27 -- Generating done 15:12:27 -- Build files have been written to: /tmp/cbor 15:12:27 Scanning dependencies of target cbor_shared 15:12:27 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 15:12:27 (1/22) Installing hiredis (0.14.1-r0) 15:12:27 (2/22) Installing hiredis-dev (0.14.1-r0) 15:12:27 (3/22) Installing ncurses-dev (6.2_p20200523-r0) 15:12:27 (4/22) Installing paho-mqtt-c-dev (1.3.5-r0) 15:12:28 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 15:12:28 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 15:12:29 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 15:12:29 (5/22) Installing libblkid (2.35.2-r0) 15:12:29 (6/22) Installing blkid (2.35.2-r0) 15:12:29 (7/22) Installing libcap-ng (0.7.10-r1) 15:12:29 (8/22) Installing setpriv (2.35.2-r0) 15:12:29 (9/22) Installing libmount (2.35.2-r0) 15:12:29 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 15:12:29 (10/22) Installing libsmartcols (2.35.2-r0) 15:12:29 (11/22) Installing findmnt (2.35.2-r0) 15:12:29 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 15:12:30 (12/22) Installing mcookie (2.35.2-r0) 15:12:30 (13/22) Installing hexdump (2.35.2-r0) 15:12:30 (14/22) Installing lsblk (2.35.2-r0) 15:12:30 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 15:12:30 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 15:12:30 (15/22) Installing libuuid (2.35.2-r0) 15:12:30 (16/22) Installing libfdisk (2.35.2-r0) 15:12:30 (17/22) Installing sfdisk (2.35.2-r0) 15:12:30 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 15:12:30 (18/22) Installing cfdisk (2.35.2-r0) 15:12:30 (19/22) Installing util-linux (2.35.2-r0) 15:12:30 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 15:12:30 (20/22) Installing util-linux-dev (2.35.2-r0) 15:12:31 (21/22) Installing libidn2 (2.3.0-r0) 15:12:31 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 15:12:31 (22/22) Installing wget (1.20.3-r1) 15:12:31 Executing busybox-1.31.1-r20.trigger 15:12:31 OK: 295 MiB in 97 packages 15:12:31 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 15:12:31 Removing intermediate container d20a7a297cec 15:12:31 ---> 90d385d61104 15:12:31 Step 6/25 : ENV CBOR_VERSION=0.5.0 15:12:31 ---> Running in 90ccdeaa09bb 15:12:31 Removing intermediate container 90ccdeaa09bb 15:12:31 ---> d3aac5aa55e3 15:12:31 Step 7/25 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install 15:12:31 ---> Running in 1fa8f5cbc09b 15:12:32 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 15:12:32 --2021-08-12 15:12:32-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 15:12:32 Resolving github.com (github.com)... 140.82.113.4 15:12:32 Connecting to github.com (github.com)|140.82.113.4|:443... connected. 15:12:32 HTTP request sent, awaiting response... 302 Found 15:12:32 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 15:12:32 --2021-08-12 15:12:32-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 15:12:32 Resolving codeload.github.com (codeload.github.com)... 140.82.112.9 15:12:32 Connecting to codeload.github.com (codeload.github.com)|140.82.112.9|:443... connected. 15:12:32 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 15:12:32 HTTP request sent, awaiting response... 200 OK 15:12:32 Length: unspecified [application/x-gzip] 15:12:32 Saving to: 'STDOUT' 15:12:32  15:12:32 0K .......... .......... .......... .......... .......... 1.17M 15:12:32 50K .......... .......... .......... .......... .......... 2.31M 15:12:32 100K .......... .......... .......... .......... .......... 38.7M 15:12:32 150K .......... .......... .......... .......... .......... 2.38M 15:12:32 200K .......... .......... .......... .......... .......... 30.7M 15:12:32 250K .......... .......... .......... .......... .......... 6.49M 15:12:32 300K .......... .......... .......... .......... .......... 10.8M 15:12:32 350K .......... .......... .......... .......... .......... 6.41M 15:12:32 400K .......... .......... .......... .......... .......... 14.9M 15:12:32 450K .......... .......... .......... .......... .......... 8.69M 15:12:32 500K .......... .......... .......... .......... .......... 17.0M 15:12:32 550K .......... .......... .......... .......... .......... 9.85M 15:12:32 600K .......... .......... .......... .......... .......... 4.49M 15:12:32 650K .......... .......... .......... .......... .......... 8.57M 15:12:32 700K .. 74.1M=0.1s 15:12:32 15:12:32 2021-08-12 15:12:32 (4.92 MB/s) - written to stdout [719348] 15:12:32 15:12:32 -- The C compiler identification is GNU 9.3.0 15:12:32 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 15:12:32 -- The CXX compiler identification is GNU 9.3.0 15:12:32 -- Check for working C compiler: /usr/bin/cc 15:12:32 -- Check for working C compiler: /usr/bin/cc - works 15:12:32 -- Detecting C compiler ABI info 15:12:32 -- Detecting C compiler ABI info - done 15:12:32 -- Detecting C compile features 15:12:32 -- Detecting C compile features - done 15:12:32 -- Check for working CXX compiler: /usr/bin/c++ 15:12:33 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 15:12:33 -- Check for working CXX compiler: /usr/bin/c++ - works 15:12:33 -- Detecting CXX compiler ABI info 15:12:33 -- Detecting CXX compiler ABI info - done 15:12:33 -- Detecting CXX compile features 15:12:33 -- Detecting CXX compile features - done 15:12:33 -- Looking for include file endian.h 15:12:33 -- Looking for include file endian.h - found 15:12:33 -- Check if the system is big endian 15:12:33 -- Searching 16 bit integer 15:12:33 -- Looking for sys/types.h 15:12:33 -- Looking for sys/types.h - found 15:12:33 -- Looking for stdint.h 15:12:33 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 15:12:33 -- Looking for stdint.h - found 15:12:33 -- Looking for stddef.h 15:12:33 -- Looking for stddef.h - found 15:12:33 -- Check size of unsigned short 15:12:33 -- Check size of unsigned short - done 15:12:33 -- Searching 16 bit integer - Using unsigned short 15:12:33 -- Check if the system is big endian - little endian 15:12:33 -- Check size of size_t 15:12:33 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 15:12:33 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 15:12:33 -- Check size of size_t - done 15:12:33 CMake Warning at examples/CMakeLists.txt:16 (find_package): 15:12:33 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 15:12:33 asked CMake to find a package configuration file provided by "cJSON", but 15:12:33 CMake did not find one. 15:12:33 15:12:33 Could not find a package configuration file provided by "cJSON" with any of 15:12:33 the following names: 15:12:33 15:12:33 cJSONConfig.cmake 15:12:33 cjson-config.cmake 15:12:33 15:12:33 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 15:12:33 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 15:12:33 provides a separate development package or SDK, be sure it has been 15:12:33 installed. 15:12:33 15:12:33 15:12:33 -- Configuring done 15:12:33 -- Generating done 15:12:33 -- Build files have been written to: /tmp/cbor 15:12:33 Scanning dependencies of target cbor_shared 15:12:33 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 15:12:33 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 15:12:33 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 15:12:33 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 15:12:34 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 15:12:34 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 15:12:34 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 15:12:34 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 15:12:34 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 15:12:34 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 15:12:34 [ 40%] Linking C shared library libcbor.so 15:12:34 [ 40%] Built target cbor_shared 15:12:34 Scanning dependencies of target cbor 15:12:34 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 15:12:34 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 15:12:34 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 15:12:34 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 15:12:34 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 15:12:34 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 15:12:34 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 15:12:34 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 15:12:34 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 15:12:34 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 15:12:34 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 15:12:34 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 15:12:34 [ 40%] Linking C shared library libcbor.so 15:12:34 [ 40%] Built target cbor_shared 15:12:34 Scanning dependencies of target cbor 15:12:34 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 15:12:35 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 15:12:35 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 15:12:35 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 15:12:35 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 15:12:35 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 15:12:35 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 15:12:35 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 15:12:35 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 15:12:35 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 15:12:35 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 15:12:35 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 15:12:35 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 15:12:36 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 15:12:36 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 15:12:36 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 15:12:36 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 15:12:36 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 15:12:36 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 15:12:36 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 15:12:36 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 15:12:36 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 15:12:36 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 15:12:36 [ 80%] Linking C static library libcbor.a 15:12:36 [ 80%] Built target cbor 15:12:36 Scanning dependencies of target sort 15:12:36 [ 82%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 15:12:36 [ 84%] Linking C executable sort 15:12:36 [ 84%] Built target sort 15:12:36 Scanning dependencies of target readfile 15:12:36 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 15:12:36 [ 88%] Linking C executable readfile 15:12:36 [ 88%] Built target readfile 15:12:36 Scanning dependencies of target streaming_parser 15:12:36 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 15:12:36 [ 92%] Linking C executable streaming_parser 15:12:36 [ 92%] Built target streaming_parser 15:12:36 Scanning dependencies of target hello 15:12:36 [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 15:12:37 [ 96%] Linking C executable hello 15:12:37 [ 96%] Built target hello 15:12:37 Scanning dependencies of target create_items 15:12:37 [ 98%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 15:12:37 [100%] Linking C executable create_items 15:12:37 [100%] Built target create_items 15:12:37 Install the project... 15:12:37 -- Install configuration: "Release" 15:12:37 -- Installing: /usr/local/include/cbor/configuration.h 15:12:37 -- Installing: /usr/local/lib64/libcbor.a 15:12:37 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 15:12:37 -- Installing: /usr/local/lib64/libcbor.so.0 15:12:37 -- Installing: /usr/local/lib64/libcbor.so 15:12:37 -- Up-to-date: /usr/local/include/cbor 15:12:37 -- Installing: /usr/local/include/cbor/arrays.h 15:12:37 -- Installing: /usr/local/include/cbor/bytestrings.h 15:12:37 -- Installing: /usr/local/include/cbor/callbacks.h 15:12:37 -- Installing: /usr/local/include/cbor/common.h 15:12:37 -- Installing: /usr/local/include/cbor/data.h 15:12:37 -- Installing: /usr/local/include/cbor/encoding.h 15:12:37 -- Installing: /usr/local/include/cbor/floats_ctrls.h 15:12:37 -- Installing: /usr/local/include/cbor/internal 15:12:37 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 15:12:37 -- Installing: /usr/local/include/cbor/internal/encoders.h 15:12:37 -- Installing: /usr/local/include/cbor/internal/loaders.h 15:12:37 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 15:12:37 -- Installing: /usr/local/include/cbor/internal/stack.h 15:12:37 -- Installing: /usr/local/include/cbor/internal/unicode.h 15:12:37 -- Installing: /usr/local/include/cbor/ints.h 15:12:37 -- Installing: /usr/local/include/cbor/maps.h 15:12:37 -- Installing: /usr/local/include/cbor/serialization.h 15:12:37 -- Installing: /usr/local/include/cbor/streaming.h 15:12:37 -- Installing: /usr/local/include/cbor/strings.h 15:12:37 -- Installing: /usr/local/include/cbor/tags.h 15:12:37 -- Installing: /usr/local/include/cbor.h 15:12:37 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 15:12:37 Removing intermediate container 1fa8f5cbc09b 15:12:37 ---> ec3ca97625dd 15:12:37 Step 8/25 : RUN mkdir /tmp/sdk 15:12:37 ---> Running in c4fffce1df82 15:12:37 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 15:12:37 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 15:12:38 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 15:12:38 Removing intermediate container c4fffce1df82 15:12:38 ---> d90f6b48d854 15:12:38 Step 9/25 : COPY VERSION /tmp/sdk 15:12:38 ---> a6b875d2f4a6 15:12:38 Step 10/25 : COPY src /tmp/sdk/src 15:12:38 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 15:12:38 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 15:12:38 ---> 1e8c2319ce88 15:12:38 Step 11/25 : COPY include /tmp/sdk/include 15:12:38 ---> 29bb86578317 15:12:38 Step 12/25 : COPY scripts /tmp/sdk/scripts 15:12:38 ---> adc4f98b5719 15:12:38 Step 13/25 : COPY LICENSE /tmp/sdk 15:12:39 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 15:12:39 ---> 53557caf9f06 15:12:39 Step 14/25 : COPY Attribution.txt /tmp/sdk 15:12:39 ---> e1daff387c68 15:12:39 Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 15:12:39 ---> Running in 10e2cc5d1d5b 15:12:39 + CPPCHECK=false 15:12:39 + DOCGEN=false 15:12:39 + TOMLVER=SDK-0.2 15:12:39 + CUTILVER=1.1.4 15:12:39 + '[' 0 -gt 0 ] 15:12:39 + readlink -f ./scripts/build.sh 15:12:39 + dirname /tmp/sdk/scripts/build.sh 15:12:39 + dirname /tmp/sdk/scripts 15:12:39 + ROOT=/tmp/sdk 15:12:39 + cd /tmp/sdk 15:12:39 + '[' '!' -d deps ] 15:12:39 + mkdir deps 15:12:39 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 15:12:39 + tar -C deps -z -x -f - 15:12:39 --2021-08-12 15:12:39-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 15:12:39 Resolving github.com (github.com)... 140.82.113.4 15:12:39 Connecting to github.com (github.com)|140.82.113.4|:443... connected. 15:12:39 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 15:12:39 HTTP request sent, awaiting response... 302 Found 15:12:39 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 15:12:39 --2021-08-12 15:12:39-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 15:12:39 Resolving codeload.github.com (codeload.github.com)... 140.82.112.9 15:12:39 Connecting to codeload.github.com (codeload.github.com)|140.82.112.9|:443... connected. 15:12:39 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 15:12:39 HTTP request sent, awaiting response... 200 OK 15:12:39 Length: unspecified [application/x-gzip] 15:12:39 Saving to: 'STDOUT' 15:12:39 15:12:39 0K .......... ......  831K=0.02s 15:12:39 15:12:39 2021-08-12 15:12:39 (831 KB/s) - written to stdout [16451] 15:12:39 15:12:39 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 15:12:39 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 15:12:39 + tar -C deps -z -x -f - 15:12:39 --2021-08-12 15:12:39-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 15:12:39 Resolving github.com (github.com)... 140.82.113.4 15:12:39 Connecting to github.com (github.com)|140.82.113.4|:443... connected. 15:12:39 HTTP request sent, awaiting response... 302 Found 15:12:39 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] 15:12:39 --2021-08-12 15:12:39-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 15:12:39 Resolving codeload.github.com (codeload.github.com)... 140.82.112.9 15:12:39 Connecting to codeload.github.com (codeload.github.com)|140.82.112.9|:443... connected. 15:12:40 HTTP request sent, awaiting response... 200 OK 15:12:40 Length: unspecified [application/x-gzip] 15:12:40 Saving to: 'STDOUT' 15:12:40 15:12:40 0K .......... .......... .......... .......... .......... 1.24M 15:12:40 50K .......... .......... .......... .......... .......... 2.44M 15:12:40 100K .......... .......... .......... .......... .......... 39.4M 15:12:40 150K .......... .......... ....... 2.70M=0.07s 15:12:40 15:12:40 2021-08-12 15:12:40 (2.46 MB/s) - written to stdout [181796] 15:12:40 15:12:40 + mkdir -p src/c/iot 15:12:40 + 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 15:12:40 + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot 15:12:40 + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot 15:12:40 + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot 15:12:40 + mkdir -p include/iot 15:12:40 + 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 15:12:40 + mkdir -p include/iot/os 15:12:40 + 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 15:12:40 + mkdir -p /tmp/sdk/build/release 15:12:40 + cd /tmp/sdk/build/release 15:12:40 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 15:12:40 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 15:12:40 -- The C compiler identification is GNU 9.3.0 15:12:40 -- Check for working C compiler: /usr/bin/cc 15:12:40 -- Check for working C compiler: /usr/bin/cc - works 15:12:40 -- Detecting C compiler ABI info 15:12:40 -- Detecting C compiler ABI info - done 15:12:40 -- Detecting C compile features 15:12:40 -- Detecting C compile features - done 15:12:40 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 15:12:40 -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") 15:12:40 -- Found LIBYAML: /usr/lib/libyaml.so 15:12:40 -- Found LIBUUID: /usr/lib/libuuid.so 15:12:40 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 15:12:40 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 15:12:40 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 15:12:40 -- C SDK 0.0.0 for Linux 15:12:40 -- Performing Test CSDK_HAVE_ATOMIC 15:12:40 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 15:12:40 -- Performing Test CSDK_HAVE_ATOMIC - Success 15:12:40 -- Found Curses: /usr/lib/libcurses.so 15:12:40 -- Configuring done 15:12:40 -- Generating done 15:12:40 -- Build files have been written to: /tmp/sdk/build/release 15:12:40 + make all package 15:12:40 + tee release.log 15:12:40 Scanning dependencies of target csdk 15:12:40 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 15:12:41 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 15:12:41 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 15:12:41 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 15:12:41 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 15:12:41 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 15:12:41 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 15:12:41 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 15:12:41 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 15:12:41 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 15:12:41 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 15:12:42 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 15:12:42 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 15:12:42 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 15:12:42 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 15:12:42 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 15:12:42 [ 80%] Linking C static library libcbor.a 15:12:42 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 15:12:42 [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 15:12:42 [ 80%] Built target cbor 15:12:42 Scanning dependencies of target sort 15:12:42 [ 82%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 15:12:42 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 15:12:42 [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 15:12:42 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 15:12:42 [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 15:12:42 [ 84%] Linking C executable sort 15:12:42 [ 84%] Built target sort 15:12:42 Scanning dependencies of target readfile 15:12:42 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 15:12:43 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 15:12:43 [ 88%] Linking C executable readfile 15:12:43 [ 88%] Built target readfile 15:12:43 Scanning dependencies of target streaming_parser 15:12:43 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 15:12:43 [ 92%] Linking C executable streaming_parser 15:12:43 [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 15:12:43 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 15:12:43 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 15:12:43 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 15:12:43 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 15:12:43 [ 92%] Built target streaming_parser 15:12:43 Scanning dependencies of target hello 15:12:43 [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 15:12:43 [ 96%] Linking C executable hello 15:12:44 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 15:12:44 [ 96%] Built target hello 15:12:44 Scanning dependencies of target create_items 15:12:44 [ 98%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 15:12:44 [100%] Linking C executable create_items 15:12:44 [100%] Built target create_items 15:12:44 Install the project... 15:12:44 -- Install configuration: "Release" 15:12:44 -- Installing: /usr/local/include/cbor/configuration.h 15:12:44 -- Installing: /usr/local/lib64/libcbor.a 15:12:44 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 15:12:44 -- Installing: /usr/local/lib64/libcbor.so.0 15:12:44 -- Installing: /usr/local/lib64/libcbor.so 15:12:44 -- Up-to-date: /usr/local/include/cbor 15:12:44 -- Installing: /usr/local/include/cbor/streaming.h 15:12:44 -- Installing: /usr/local/include/cbor/ints.h 15:12:44 -- Installing: /usr/local/include/cbor/floats_ctrls.h 15:12:44 -- Installing: /usr/local/include/cbor/bytestrings.h 15:12:44 -- Installing: /usr/local/include/cbor/encoding.h 15:12:44 -- Installing: /usr/local/include/cbor/serialization.h 15:12:44 -- Installing: /usr/local/include/cbor/data.h 15:12:44 -- Installing: /usr/local/include/cbor/common.h 15:12:44 -- Installing: /usr/local/include/cbor/callbacks.h 15:12:44 -- Installing: /usr/local/include/cbor/strings.h 15:12:44 -- Installing: /usr/local/include/cbor/tags.h 15:12:44 -- Installing: /usr/local/include/cbor/internal 15:12:44 -- Installing: /usr/local/include/cbor/internal/encoders.h 15:12:44 -- Installing: /usr/local/include/cbor/internal/loaders.h 15:12:44 -- Installing: /usr/local/include/cbor/internal/stack.h 15:12:44 -- Installing: /usr/local/include/cbor/internal/unicode.h 15:12:44 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 15:12:44 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 15:12:44 -- Installing: /usr/local/include/cbor/arrays.h 15:12:44 -- Installing: /usr/local/include/cbor/maps.h 15:12:44 -- Installing: /usr/local/include/cbor.h 15:12:44 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 15:12:44 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 15:12:44 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 15:12:44 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 15:12:44 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 15:12:44 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 15:12:44 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 15:12:44 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 15:12:45 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 15:12:45 [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 15:12:45 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 15:12:45 [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o 15:12:45 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 15:12:45 [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 15:12:45 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 15:12:46 [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 15:12:46 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 15:12:46 [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 15:12:46 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 15:12:46 Removing intermediate container 4f9d2a5d3783 15:12:46 ---> 5337ae0f9607 15:12:46 Step 8/25 : RUN mkdir /tmp/sdk 15:12:46 ---> Running in 0f386a130bef 15:12:47 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 15:12:47 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 15:12:47 [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 15:12:47 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 15:12:47 [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o 15:12:47 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 15:12:48 [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 15:12:48 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 15:12:48 [ 75%] Linking C shared library libcsdk.so 15:12:48 [ 75%] Built target csdk 15:12:48 Scanning dependencies of target template 15:12:48 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 15:12:48 Removing intermediate container 0f386a130bef 15:12:48 ---> 39057ca4114a 15:12:48 Step 9/25 : COPY VERSION /tmp/sdk 15:12:49 [ 78%] Linking C executable template 15:12:49 [ 78%] Built target template 15:12:49 Scanning dependencies of target device-counter 15:12:49 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 15:12:49 [ 81%] Linking C executable device-counter 15:12:49 [ 81%] Built target device-counter 15:12:49 Scanning dependencies of target device-random 15:12:49 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 15:12:49 [ 84%] Linking C executable device-random 15:12:49 [ 84%] Built target device-random 15:12:49 Scanning dependencies of target device-gyro 15:12:49 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 15:12:49 [ 87%] Linking C executable device-gyro 15:12:49 [ 87%] Built target device-gyro 15:12:49 Scanning dependencies of target device-bitfields 15:12:49 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 15:12:49 [ 90%] Linking C executable device-bitfields 15:12:49 [ 90%] Built target device-bitfields 15:12:49 Scanning dependencies of target template-discovery 15:12:49 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 15:12:49 ---> f192f3383d7b 15:12:49 Step 10/25 : COPY src /tmp/sdk/src 15:12:49 [ 93%] Linking C executable template-discovery 15:12:49 [ 93%] Built target template-discovery 15:12:49 Scanning dependencies of target device-file 15:12:49 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 15:12:49 [ 96%] Linking C executable device-file 15:12:49 [ 96%] Built target device-file 15:12:49 Scanning dependencies of target device-terminal 15:12:49 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 15:12:50 [100%] Linking C executable device-terminal 15:12:50 [100%] Built target device-terminal 15:12:50 Run CPack packaging tool... 15:12:50 CPack: Create package using TGZ 15:12:50 CPack: Install projects 15:12:50 CPack: - Run preinstall target for: Csdk 15:12:50 CPack: - Install project: Csdk [] 15:12:50 CPack: Create package 15:12:50 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 15:12:50 + '[' false '=' true ] 15:12:50 + '[' false '=' true ] 15:12:50 + mkdir -p /tmp/sdk/build/debug 15:12:50 + cd /tmp/sdk/build/debug 15:12:50 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 15:12:50 -- The C compiler identification is GNU 9.3.0 15:12:50 -- Check for working C compiler: /usr/bin/cc 15:12:50 -- Check for working C compiler: /usr/bin/cc - works 15:12:50 -- Detecting C compiler ABI info 15:12:50 -- Detecting C compiler ABI info - done 15:12:50 -- Detecting C compile features 15:12:50 -- Detecting C compile features - done 15:12:50 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 15:12:50 -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") 15:12:50 -- Found LIBYAML: /usr/lib/libyaml.so 15:12:50 -- Found LIBUUID: /usr/lib/libuuid.so 15:12:50 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 15:12:50 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 15:12:50 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 15:12:50 -- C SDK 0.0.0 for Linux 15:12:50 -- Performing Test CSDK_HAVE_ATOMIC 15:12:50 -- Performing Test CSDK_HAVE_ATOMIC - Success 15:12:50 -- Found Curses: /usr/lib/libcurses.so 15:12:50 ---> 1ca1a4d238aa 15:12:50 Step 11/25 : COPY include /tmp/sdk/include 15:12:51 -- Configuring done 15:12:51 -- Generating done 15:12:51 -- Build files have been written to: /tmp/sdk/build/debug 15:12:51 + make 15:12:51 + tee debug.log 15:12:51 Scanning dependencies of target csdk 15:12:51 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 15:12:51 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 15:12:51 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 15:12:51 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 15:12:51 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 15:12:51 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 15:12:51 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 15:12:51 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 15:12:51 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 15:12:51 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 15:12:51 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 15:12:51 [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 15:12:51 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 15:12:51 [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 15:12:51 ---> 922028574ae6 15:12:51 Step 12/25 : COPY scripts /tmp/sdk/scripts 15:12:52 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 15:12:52 [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 15:12:52 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 15:12:52 [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 15:12:52 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 15:12:52 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 15:12:52 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 15:12:52 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 15:12:52 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 15:12:52 ---> b3b9da80d714 15:12:52 Step 13/25 : COPY LICENSE /tmp/sdk 15:12:52 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 15:12:52 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 15:12:52 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 15:12:52 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 15:12:52 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 15:12:52 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 15:12:52 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 15:12:52 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 15:12:53 [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 15:12:53 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 15:12:53 [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o 15:12:53 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 15:12:53 [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 15:12:53 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 15:12:53 ---> d8ead20214dd 15:12:53 Step 14/25 : COPY Attribution.txt /tmp/sdk 15:12:53 [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 15:12:53 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 15:12:53 [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 15:12:53 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 15:12:53 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 15:12:54 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 15:12:54 [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 15:12:54 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 15:12:54 ---> 15ecc4ce95cb 15:12:54 Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 15:12:54 [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o 15:12:54 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 15:12:54 ---> Running in 9de439c1e356 15:12:54 [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 15:12:54 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 15:12:54 [ 75%] Linking C shared library libcsdk.so 15:12:54 [ 75%] Built target csdk 15:12:54 Scanning dependencies of target template 15:12:54 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 15:12:54 [ 78%] Linking C executable template 15:12:54 [ 78%] Built target template 15:12:54 Scanning dependencies of target device-counter 15:12:54 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 15:12:54 [ 81%] Linking C executable device-counter 15:12:54 [ 81%] Built target device-counter 15:12:54 Scanning dependencies of target device-random 15:12:54 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 15:12:54 [ 84%] Linking C executable device-random 15:12:55 [ 84%] Built target device-random 15:12:55 Scanning dependencies of target device-gyro 15:12:55 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 15:12:55 [ 87%] Linking C executable device-gyro 15:12:55 [ 87%] Built target device-gyro 15:12:55 Scanning dependencies of target device-bitfields 15:12:55 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 15:12:55 [ 90%] Linking C executable device-bitfields 15:12:55 + CPPCHECK=false 15:12:55 + DOCGEN=false 15:12:55 + TOMLVER=SDK-0.2 15:12:55 + CUTILVER=1.1.4 15:12:55 + '[' 0 -gt 0 ] 15:12:55 + readlink -f ./scripts/build.sh 15:12:55 + dirname /tmp/sdk/scripts/build.sh 15:12:55 + dirname /tmp/sdk/scripts 15:12:55 + ROOT=/tmp/sdk 15:12:55 + cd /tmp/sdk 15:12:55 + '[' '!' -d deps ] 15:12:55 + mkdir deps 15:12:55 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 15:12:55 + tar -C deps -z -x -f - 15:12:55 --2021-08-12 15:12:55-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 15:12:55 [ 90%] Built target device-bitfields 15:12:55 Scanning dependencies of target template-discovery 15:12:55 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 15:12:55 [ 93%] Linking C executable template-discovery 15:12:55 [ 93%] Built target template-discovery 15:12:55 Scanning dependencies of target device-file 15:12:55 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 15:12:55 [ 96%] Linking C executable device-file 15:12:55 Resolving github.com (github.com)... 140.82.113.4 15:12:55 Connecting to github.com (github.com)|140.82.113.4|:443... connected. 15:12:55 HTTP request sent, awaiting response... 302 Found 15:12:55 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 15:12:55 --2021-08-12 15:12:55-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 15:12:55 Resolving codeload.github.com (codeload.github.com)... 140.82.112.9 15:12:55 Connecting to codeload.github.com (codeload.github.com)|140.82.112.9|:443... connected. 15:12:55 HTTP request sent, awaiting response... 200 OK 15:12:55 Length: unspecified [application/x-gzip] 15:12:55 Saving to: 'STDOUT' 15:12:55  15:12:55 0K .......... ......    922K=0.02s 15:12:55 15:12:55 2021-08-12 15:12:55 (922 KB/s) - written to stdout [16451] 15:12:55 15:12:55 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 15:12:55 + + tarwget -C -O deps - -z https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz -x 15:12:55 -f - 15:12:55 --2021-08-12 15:12:55-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 15:12:55 [ 96%] Built target device-file 15:12:55 Scanning dependencies of target device-terminal 15:12:55 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 15:12:55 [100%] Linking C executable device-terminal 15:12:55 [100%] Built target device-terminal 15:12:55 make: Entering directory '/tmp/sdk/build/release' 15:12:55 make[1]: Entering directory '/tmp/sdk/build/release' 15:12:55 make[2]: Entering directory '/tmp/sdk/build/release' 15:12:55 make[2]: Leaving directory '/tmp/sdk/build/release' 15:12:55 [ 75%] Built target csdk 15:12:55 make[2]: Entering directory '/tmp/sdk/build/release' 15:12:55 make[2]: Leaving directory '/tmp/sdk/build/release' 15:12:55 [ 78%] Built target template 15:12:55 make[2]: Entering directory '/tmp/sdk/build/release' 15:12:55 make[2]: Leaving directory '/tmp/sdk/build/release' 15:12:55 [ 81%] Built target device-counter 15:12:55 make[2]: Entering directory '/tmp/sdk/build/release' 15:12:55 make[2]: Leaving directory '/tmp/sdk/build/release' 15:12:55 [ 84%] Built target device-random 15:12:55 make[2]: Entering directory '/tmp/sdk/build/release' 15:12:55 Resolving github.com (github.com)... 140.82.113.4 15:12:55 Connecting to github.com (github.com)|140.82.113.4|:443... connected. 15:12:55 HTTP request sent, awaiting response... 302 Found 15:12:55 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] 15:12:55 --2021-08-12 15:12:55-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 15:12:55 Resolving codeload.github.com (codeload.github.com)... 140.82.112.9 15:12:55 Connecting to codeload.github.com (codeload.github.com)|140.82.112.9|:443... connected. 15:12:55 HTTP request sent, awaiting response... 200 OK 15:12:55 Length: unspecified [application/x-gzip] 15:12:55 Saving to: 'STDOUT' 15:12:55  15:12:55 0K .......... .......... .......... .......... .......... 1.44M 15:12:55 50K .......... .......... .......... .......... .......... 2.73M 15:12:55 100K .......... .......... .......... .......... .......... 6.13M 15:12:55 150K .......... .......... .......  1.76M=0.08s 15:12:55 15:12:55 2021-08-12 15:12:55 (2.31 MB/s) - written to stdout [181796] 15:12:55 15:12:55 make[2]: Leaving directory '/tmp/sdk/build/release' 15:12:55 [ 87%] Built target device-gyro 15:12:55 make[2]: Entering directory '/tmp/sdk/build/release' 15:12:55 make[2]: Leaving directory '/tmp/sdk/build/release' 15:12:55 [ 90%] Built target device-bitfields 15:12:55 make[2]: Entering directory '/tmp/sdk/build/release' 15:12:55 make[2]: Leaving directory '/tmp/sdk/build/release' 15:12:55 [ 93%] Built target template-discovery 15:12:55 make[2]: Entering directory '/tmp/sdk/build/release' 15:12:55 make[2]: Leaving directory '/tmp/sdk/build/release' 15:12:55 [ 96%] Built target device-file 15:12:55 make[2]: Entering directory '/tmp/sdk/build/release' 15:12:55 make[2]: Leaving directory '/tmp/sdk/build/release' 15:12:55 [100%] Built target device-terminal 15:12:55 make[1]: Leaving directory '/tmp/sdk/build/release' 15:12:55 Install the project... 15:12:55 -- Install configuration: "Release" 15:12:55 -- Installing: /usr/local/lib/libcsdk.so 15:12:55 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 15:12:55 -- Up-to-date: /usr/local/include 15:12:55 -- Installing: /usr/local/include/devsdk 15:12:55 -- Installing: /usr/local/include/devsdk/devsdk-base.h 15:12:55 -- Installing: /usr/local/include/devsdk/devsdk.h 15:12:55 -- Installing: /usr/local/include/edgex 15:12:55 -- Installing: /usr/local/include/edgex/devices.h 15:12:55 -- Installing: /usr/local/include/edgex/edgex-base.h 15:12:55 -- Installing: /usr/local/include/edgex/edgex.h 15:12:55 -- Installing: /usr/local/include/edgex/profiles.h 15:12:55 -- Installing: /usr/local/include/edgex/rest-server.h 15:12:55 -- Installing: /usr/local/include/edgex/csdk-defs.h 15:12:55 -- Installing: /usr/local/include/iot 15:12:55 -- Installing: /usr/local/include/iot/base64.h 15:12:55 -- Installing: /usr/local/include/iot/component.h 15:12:55 -- Installing: /usr/local/include/iot/config.h 15:12:55 -- Installing: /usr/local/include/iot/container.h 15:12:55 -- Installing: /usr/local/include/iot/data.h 15:12:55 -- Installing: /usr/local/include/iot/hash.h 15:12:55 -- Installing: /usr/local/include/iot/iot.h 15:12:55 -- Installing: /usr/local/include/iot/json.h 15:12:55 -- Installing: /usr/local/include/iot/logger.h 15:12:55 -- Installing: /usr/local/include/iot/os.h 15:12:55 -- Installing: /usr/local/include/iot/scheduler.h 15:12:55 -- Installing: /usr/local/include/iot/thread.h 15:12:55 -- Installing: /usr/local/include/iot/threadpool.h 15:12:55 -- Installing: /usr/local/include/iot/time.h 15:12:55 -- Installing: /usr/local/include/iot/typecode.h 15:12:55 -- Installing: /usr/local/include/iot/os 15:12:55 -- Installing: /usr/local/include/iot/os/linux.h 15:12:55 -- Installing: /usr/local/include/iot/os/macos.h 15:12:55 -- Installing: /usr/local/include/iot/os/zephyr.h 15:12:55 -- Installing: /usr/local/include/iot/defs.h 15:12:55 -- Installing: /usr/local/share/device-sdk-c/LICENSE 15:12:55 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 15:12:55 make: Leaving directory '/tmp/sdk/build/release' 15:12:56 + mkdir -p src/c/iot 15:12:56 + 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 15:12:56 + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot 15:12:56 + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot 15:12:56 + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot 15:12:56 + mkdir -p include/iot 15:12:56 + 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 15:12:56 + mkdir -p include/iot/os 15:12:56 + 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 15:12:56 + mkdir -p /tmp/sdk/build/release 15:12:56 + cd /tmp/sdk/build/release 15:12:56 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 15:12:56 -- The C compiler identification is GNU 9.3.0 15:12:56 -- Check for working C compiler: /usr/bin/cc 15:12:56 Removing intermediate container 10e2cc5d1d5b 15:12:56 ---> e93af5962c86 15:12:56 Step 16/25 : FROM ${BASE} 15:12:56 ---> ac6a0feb3254 15:12:56 Step 17/25 : LABEL maintainer="IOTech " 15:12:56 ---> Running in 0651c2bf7dc9 15:12:56 Removing intermediate container 0651c2bf7dc9 15:12:56 ---> 3dc4396d575c 15:12:56 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 15:12:56 ---> Running in d46f4ad66947 15:12:56 -- Check for working C compiler: /usr/bin/cc - works 15:12:56 -- Detecting C compiler ABI info 15:12:56 Connecting to iotech.jfrog.io (54.170.66.44:443) 15:12:56 -- Detecting C compiler ABI info - done 15:12:56 -- Detecting C compile features 15:12:56 -- Detecting C compile features - done 15:12:56 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 15:12:57 -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") 15:12:57 -- Found LIBYAML: /usr/lib/libyaml.so 15:12:57 -- Found LIBUUID: /usr/lib/libuuid.so 15:12:57 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 15:12:57 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 15:12:57 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 15:12:57 -- C SDK 0.0.0 for Linux 15:12:57 -- Performing Test CSDK_HAVE_ATOMIC 15:12:57 saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 15:12:57 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 15:12:57 '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved 15:12:57 Removing intermediate container d46f4ad66947 15:12:57 ---> 1dc39e0106a4 15:12:57 Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 15:12:57 ---> Running in aa2c7eea1785 15:12:57 -- Performing Test CSDK_HAVE_ATOMIC - Success 15:12:57 -- Found Curses: /usr/lib/libcurses.so 15:12:57 -- Configuring done 15:12:57 Removing intermediate container aa2c7eea1785 15:12:57 ---> c82e1ec0b9dd 15:12:57 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 15:12:57 ---> Running in 1eff7d4a2776 15:12:58 -- Generating done 15:12:58 -- Build files have been written to: /tmp/sdk/build/release 15:12:58 + make all package 15:12:58 + tee release.log 15:12:58 Scanning dependencies of target csdk 15:12:58 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 15:12:58 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 15:12:58 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 15:12:58 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 15:12:59 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 15:12:59 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 15:12:59 (1/7) Installing curl (7.78.0-r0) 15:12:59 (2/7) Installing hiredis (0.14.1-r0) 15:12:59 (3/7) Installing hiredis-dev (0.14.1-r0) 15:12:59 (4/7) Installing libuuid (2.35.2-r0) 15:12:59 (5/7) Installing paho-mqtt-c-dev (1.3.5-r0) 15:13:01 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 15:13:01 (6/7) Installing libidn2 (2.3.0-r0) 15:13:01 (7/7) Installing wget (1.20.3-r1) 15:13:01 Executing busybox-1.31.1-r20.trigger 15:13:01 OK: 286 MiB in 82 packages 15:13:01 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 15:13:01 Removing intermediate container 1eff7d4a2776 15:13:01 ---> 6d966ceb0ca4 15:13:01 Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 15:13:02 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 15:13:02 ---> b44d999a6abb 15:13:02 Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 15:13:02 ---> 46bdecb43007 15:13:02 Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib 15:13:02 ---> 0c9045409d4b 15:13:02 Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 15:13:02 ---> 7ef18632950d 15:13:02 Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 15:13:02 ---> c3ba17fb61a2 15:13:02 Successfully built c3ba17fb61a2 15:13:02 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 15:13:03 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 15:13:03 + docker inspect -f . ci-base-image-x86_64 15:13:03 . 15:13:03 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [Pipeline] withDockerContainer 15:13:03 prd-centos7-docker-4c-2g-712 does not seem to be running inside a container 15:13:03 $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:13:03 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 15:13:03 $ docker top 53b17577f4c84e446d16b21e9f70e636e2cacf721e457224ae401bfc38be4087 -eo pid,comm [Pipeline] { [Pipeline] sh 15:13:04 + make test 15:13:04 echo "make test" 15:13:04 make test [Pipeline] } 15:13:04 $ docker stop --time=1 53b17577f4c84e446d16b21e9f70e636e2cacf721e457224ae401bfc38be4087 15:13:04 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 15:13:05 $ docker rm -f 53b17577f4c84e446d16b21e9f70e636e2cacf721e457224ae401bfc38be4087 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 15:13:06 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 15:13:06 [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 15:13:07 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 15:13:08 [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [Pipeline] sh 15:13:08 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 15:13:08 [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 15:13:08 + sudo chown -R jenkins:jenkins . 15:13:08 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [Pipeline] sh 15:13:09 + ls -al . 15:13:09 total 172 15:13:09 drwxrwxr-x. 8 jenkins jenkins 4096 Aug 12 15:12 . 15:13:09 drwxrwxr-x. 4 jenkins jenkins 28 Aug 12 15:12 .. 15:13:09 -rw-rw-r--. 1 jenkins jenkins 3104 Aug 12 15:12 Attribution.txt 15:13:09 -rw-rw-r--. 1 jenkins jenkins 7701 Aug 12 15:12 CHANGES 15:13:09 drwxrwxr-x. 2 jenkins jenkins 121 Aug 12 15:12 docs 15:13:09 -rw-rw-r--. 1 jenkins jenkins 108574 Aug 12 15:12 Doxyfile 15:13:09 drwxrwxr-x. 8 jenkins jenkins 179 Aug 12 15:12 .git 15:13:09 drwxrwxr-x. 2 jenkins jenkins 81 Aug 12 15:12 .github 15:13:09 -rw-rw-r--. 1 jenkins jenkins 176 Aug 12 15:12 .gitignore 15:13:09 -rw-rw-r--. 1 jenkins jenkins 677 Aug 12 15:12 GOVERNANCE.md 15:13:09 drwxrwxr-x. 4 jenkins jenkins 33 Aug 12 15:12 include 15:13:09 -rw-rw-r--. 1 jenkins jenkins 784 Aug 12 15:12 Jenkinsfile 15:13:09 -rw-rw-r--. 1 jenkins jenkins 10174 Aug 12 15:12 LICENSE 15:13:09 -rw-rw-r--. 1 jenkins jenkins 444 Aug 12 15:12 Makefile 15:13:09 -rw-rw-r--. 1 jenkins jenkins 618 Aug 12 15:12 OWNERS.md 15:13:09 -rw-rw-r--. 1 jenkins jenkins 4086 Aug 12 15:12 README.md 15:13:09 -rw-rw-r--. 1 jenkins jenkins 7090 Aug 12 15:12 README.v2.md 15:13:09 drwxrwxr-x. 2 jenkins jenkins 98 Aug 12 15:12 scripts 15:13:09 drwxrwxr-x. 4 jenkins jenkins 50 Aug 12 15:12 src 15:13:09 -rw-rw-r--. 1 jenkins jenkins 5 Aug 12 15:09 VERSION [Pipeline] isUnix [Pipeline] sh 15:13:09 + 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=3181a24b07ac7f9b3f80729621afdfba870adc2f --label arch=amd64 --label version=0.0.0 . 15:13:09 Sending build context to Docker daemon 2.707MB 15:13:09 Step 1/17 : ARG BASE=alpine:3.12 15:13:09 Step 2/17 : FROM ${BASE} 15:13:09 ---> c3ba17fb61a2 15:13:09 Step 3/17 : LABEL maintainer="IOTech " 15:13:09 ---> Running in e37885f11a65 15:13:09 Removing intermediate container e37885f11a65 15:13:09 ---> 7ad2c23b8dd7 15:13:09 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 15:13:09 ---> Running in edea89a7e62a 15:13:09 --2021-08-12 15:13:09-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub 15:13:12 [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 15:13:12 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 15:13:12 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 15:13:12 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 15:13:12 Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.229.110.245, 54.195.244.87, 54.170.66.44 15:13:12 Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.229.110.245|:443... connected. 15:13:12 HTTP request sent, awaiting response... 200 OK 15:13:12 Length: 451 [application/octet-stream] 15:13:12 Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 15:13:12  15:13:12 0K 100% 48.9M=0s 15:13:12 15:13:12 2021-08-12 15:13:12 (48.9 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] 15:13:12 15:13:12 Removing intermediate container edea89a7e62a 15:13:12 ---> 4a181ccf3042 15:13:12 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 15:13:13 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 15:13:13 ---> Running in 0074199e0f22 15:13:13 Removing intermediate container 0074199e0f22 15:13:13 ---> 3cdff02c055b 15:13:13 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 15:13:13 ---> Running in 4e7672b5741e 15:13:13 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 15:13:13 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 15:13:14 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 15:13:14 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 15:13:15 (1/16) Installing ncurses-dev (6.2_p20200523-r0) 15:13:15 (2/16) Installing libblkid (2.35.2-r0) 15:13:15 (3/16) Installing blkid (2.35.2-r0) 15:13:15 (4/16) Installing libcap-ng (0.7.10-r1) 15:13:15 (5/16) Installing setpriv (2.35.2-r0) 15:13:15 (6/16) Installing libmount (2.35.2-r0) 15:13:15 (7/16) Installing libsmartcols (2.35.2-r0) 15:13:15 (8/16) Installing findmnt (2.35.2-r0) 15:13:15 (9/16) Installing mcookie (2.35.2-r0) 15:13:15 (10/16) Installing hexdump (2.35.2-r0) 15:13:16 (11/16) Installing lsblk (2.35.2-r0) 15:13:16 (12/16) Installing libfdisk (2.35.2-r0) 15:13:16 (13/16) Installing sfdisk (2.35.2-r0) 15:13:16 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 15:13:16 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 15:13:16 (14/16) Installing cfdisk (2.35.2-r0) 15:13:16 (15/16) Installing util-linux (2.35.2-r0) 15:13:16 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 15:13:16 (16/16) Installing util-linux-dev (2.35.2-r0) 15:13:16 Executing busybox-1.31.1-r20.trigger 15:13:16 OK: 295 MiB in 98 packages 15:13:17 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 15:13:17 Removing intermediate container 4e7672b5741e 15:13:17 ---> 91c40975a080 15:13:17 Step 7/17 : COPY VERSION /edgex-c-sdk/ 15:13:17 ---> 87b90cfd8542 15:13:17 Step 8/17 : COPY src /edgex-c-sdk/src/ 15:13:17 ---> 47dce0f43dc3 15:13:17 Step 9/17 : COPY include /edgex-c-sdk/include/ 15:13:17 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 15:13:17 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 15:13:17 ---> 939c0f21b76e 15:13:17 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 15:13:17 ---> a50977217298 15:13:17 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 15:13:18 ---> b79d002f9c89 15:13:18 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 15:13:18 ---> ef071c2939cc 15:13:18 Step 13/17 : WORKDIR /edgex-c-sdk 15:13:18 ---> Running in 0e2031e9d9d3 15:13:18 Removing intermediate container 0e2031e9d9d3 15:13:18 ---> 3b4362df108b 15:13:18 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 15:13:18 ---> Running in f489eefd2077 15:13:18 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 15:13:18 Removing intermediate container f489eefd2077 15:13:18 ---> 6cd6ab1ec747 15:13:18 Step 15/17 : LABEL arch=amd64 15:13:18 ---> Running in b88e0bdb9773 15:13:18 Removing intermediate container b88e0bdb9773 15:13:18 ---> 9bc6b5a59a2b 15:13:18 Step 16/17 : LABEL git_sha=3181a24b07ac7f9b3f80729621afdfba870adc2f 15:13:18 ---> Running in 70d9cd798097 15:13:18 Removing intermediate container 70d9cd798097 15:13:18 ---> 80f206a6b640 15:13:18 Step 17/17 : LABEL version=0.0.0 15:13:19 ---> Running in 08d86cd1a01b 15:13:19 Removing intermediate container 08d86cd1a01b 15:13:19 ---> b186b18a926c 15:13:19 [Warning] One or more build-args [ARCH MAKE] were not consumed 15:13:19 Successfully built b186b18a926c 15:13:19 Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) 15:13:19 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 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 Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:13:19 [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 15:13:19 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 15:13:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:13:19 15:13:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 15:13:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:13:20 latest: Pulling from edgex-lftools-log-publisher 15:13:20 b4d181a07f80: Pulling fs layer 15:13:20 a1111a8f2ec3: Pulling fs layer 15:13:20 ed53099fbce6: Pulling fs layer 15:13:20 dc539afda2c1: Pulling fs layer 15:13:20 77bc0d833cb6: Pulling fs layer 15:13:20 9065ff56babe: Pulling fs layer 15:13:20 d287ab97295c: Pulling fs layer 15:13:20 77bc0d833cb6: Waiting 15:13:20 9065ff56babe: Waiting 15:13:20 d287ab97295c: Waiting 15:13:20 dc539afda2c1: Waiting 15:13:20 a1111a8f2ec3: Verifying Checksum 15:13:20 a1111a8f2ec3: Download complete 15:13:20 dc539afda2c1: Verifying Checksum 15:13:20 dc539afda2c1: Download complete 15:13:20 77bc0d833cb6: Verifying Checksum 15:13:20 77bc0d833cb6: Download complete 15:13:20 9065ff56babe: Verifying Checksum 15:13:20 9065ff56babe: Download complete 15:13:20 ed53099fbce6: Verifying Checksum 15:13:20 ed53099fbce6: Download complete 15:13:21 b4d181a07f80: Verifying Checksum 15:13:21 b4d181a07f80: Download complete 15:13:21 [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o 15:13:22 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 15:13:23 [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 15:13:23 b4d181a07f80: Pull complete 15:13:23 a1111a8f2ec3: Pull complete 15:13:23 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 15:13:23 ed53099fbce6: Pull complete 15:13:23 dc539afda2c1: Pull complete 15:13:24 77bc0d833cb6: Pull complete 15:13:24 9065ff56babe: Pull complete 15:13:25 d287ab97295c: Verifying Checksum 15:13:25 d287ab97295c: Download complete 15:13:27 [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 15:13:28 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 15:13:28 [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 15:13:29 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 15:13:29 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 15:13:30 d287ab97295c: Pull complete 15:13:30 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 15:13:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:13:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 15:13:30 prd-centos7-docker-4c-2g-712 does not seem to be running inside a container 15:13:30 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:13:31 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 15:13:31 [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 15:13:31 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 15:13:32 [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o 15:13:32 $ docker top 5b1ffddbdef0bf18e7e04a330d6ed7c06973ca479d72f13b1cf4cdce6f31ef1b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:13:33 ---> job-cost.sh 15:13:33 lf-activate-venv: SKIPPING 15:13:33 INFO: No Stack... 15:13:34 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 15:13:34 INFO: Retrieving Pricing Info for: v3-standard-2 15:13:34 INFO: Archiving Costs [Pipeline] sh 15:13:35 + cat /w/workspace/device-sdk-c/1/archives/cost.csv 15:13:35 + cut -d, -f6 [Pipeline] lock 15:13:35 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-365-1-stack-cost] 15:13:35 Resource [jenkins-edgexfoundry-device-sdk-c-PR-365-1-stack-cost] did not exist. Created. 15:13:35 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-365-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:13:35 + echo total: 0.05999999865889549 [Pipeline] stash 15:13:36 Stashed 1 file(s) [Pipeline] } 15:13:36 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-365-1-stack-cost] [Pipeline] // lock [Pipeline] } 15:13:36 $ docker stop --time=1 5b1ffddbdef0bf18e7e04a330d6ed7c06973ca479d72f13b1cf4cdce6f31ef1b 15:13:37 $ docker rm -f 5b1ffddbdef0bf18e7e04a330d6ed7c06973ca479d72f13b1cf4cdce6f31ef1b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 15:13:37 [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 15:13:38 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 15:13:38 [ 75%] Linking C shared library libcsdk.so 15:13:39 [ 75%] Built target csdk 15:13:39 Scanning dependencies of target template 15:13:39 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 15:13:39 [ 78%] Linking C executable template 15:13:39 [ 78%] Built target template 15:13:39 Scanning dependencies of target device-counter 15:13:39 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 15:13:40 [ 81%] Linking C executable device-counter 15:13:40 [ 81%] Built target device-counter 15:13:40 Scanning dependencies of target device-random 15:13:40 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 15:13:41 [ 84%] Linking C executable device-random 15:13:41 [ 84%] Built target device-random 15:13:41 Scanning dependencies of target device-gyro 15:13:41 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 15:13:41 [ 87%] Linking C executable device-gyro 15:13:42 [ 87%] Built target device-gyro 15:13:42 Scanning dependencies of target device-bitfields 15:13:42 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 15:13:42 [ 90%] Linking C executable device-bitfields 15:13:42 [ 90%] Built target device-bitfields 15:13:42 Scanning dependencies of target template-discovery 15:13:42 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 15:13:43 [ 93%] Linking C executable template-discovery 15:13:43 [ 93%] Built target template-discovery 15:13:43 Scanning dependencies of target device-file 15:13:43 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 15:13:44 [ 96%] Linking C executable device-file 15:13:44 [ 96%] Built target device-file 15:13:44 Scanning dependencies of target device-terminal 15:13:44 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 15:13:45 [100%] Linking C executable device-terminal 15:13:45 [100%] Built target device-terminal 15:13:45 Run CPack packaging tool... 15:13:45 CPack: Create package using TGZ 15:13:45 CPack: Install projects 15:13:45 CPack: - Run preinstall target for: Csdk 15:13:46 CPack: - Install project: Csdk [] 15:13:46 CPack: Create package 15:13:46 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 15:13:46 + '[' false '=' true ] 15:13:46 + '[' false '=' true ] 15:13:46 + mkdir -p /tmp/sdk/build/debug 15:13:46 + cd /tmp/sdk/build/debug 15:13:46 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 15:13:46 -- The C compiler identification is GNU 9.3.0 15:13:46 -- Check for working C compiler: /usr/bin/cc 15:13:46 -- Check for working C compiler: /usr/bin/cc - works 15:13:46 -- Detecting C compiler ABI info 15:13:46 -- Detecting C compiler ABI info - done 15:13:46 -- Detecting C compile features 15:13:46 -- Detecting C compile features - done 15:13:47 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 15:13:47 -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") 15:13:47 -- Found LIBYAML: /usr/lib/libyaml.so 15:13:47 -- Found LIBUUID: /usr/lib/libuuid.so 15:13:47 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 15:13:47 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 15:13:47 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 15:13:47 -- C SDK 0.0.0 for Linux 15:13:47 -- Performing Test CSDK_HAVE_ATOMIC 15:13:47 -- Performing Test CSDK_HAVE_ATOMIC - Success 15:13:47 -- Found Curses: /usr/lib/libcurses.so 15:13:47 -- Configuring done 15:13:48 -- Generating done 15:13:48 -- Build files have been written to: /tmp/sdk/build/debug 15:13:48 + + teemake 15:13:48 debug.log 15:13:48 Scanning dependencies of target csdk 15:13:48 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 15:13:48 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 15:13:48 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 15:13:49 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 15:13:49 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 15:13:50 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 15:13:50 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 15:13:50 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 15:13:50 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 15:13:51 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 15:13:51 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 15:13:51 [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 15:13:52 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 15:13:52 [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 15:13:52 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 15:13:53 [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 15:13:53 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 15:13:54 [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 15:13:54 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 15:13:54 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 15:13:54 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 15:13:54 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 15:13:55 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 15:13:55 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 15:13:56 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 15:13:56 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 15:13:56 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 15:13:56 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 15:13:56 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 15:13:57 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 15:13:57 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 15:13:57 [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 15:13:57 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 15:13:58 [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o 15:13:58 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 15:13:58 [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 15:13:58 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 15:14:00 [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 15:14:00 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 15:14:00 [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 15:14:00 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 15:14:01 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 15:14:01 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 15:14:02 [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 15:14:02 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 15:14:02 [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o 15:14:03 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 15:14:03 [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 15:14:04 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 15:14:04 [ 75%] Linking C shared library libcsdk.so 15:14:04 [ 75%] Built target csdk 15:14:04 Scanning dependencies of target template 15:14:04 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 15:14:05 [ 78%] Linking C executable template 15:14:05 [ 78%] Built target template 15:14:05 Scanning dependencies of target device-counter 15:14:05 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 15:14:05 [ 81%] Linking C executable device-counter 15:14:06 [ 81%] Built target device-counter 15:14:06 Scanning dependencies of target device-random 15:14:06 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 15:14:06 [ 84%] Linking C executable device-random 15:14:06 [ 84%] Built target device-random 15:14:06 Scanning dependencies of target device-gyro 15:14:06 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 15:14:06 [ 87%] Linking C executable device-gyro 15:14:06 [ 87%] Built target device-gyro 15:14:06 Scanning dependencies of target device-bitfields 15:14:06 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 15:14:07 [ 90%] Linking C executable device-bitfields 15:14:07 [ 90%] Built target device-bitfields 15:14:07 Scanning dependencies of target template-discovery 15:14:07 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 15:14:07 [ 93%] Linking C executable template-discovery 15:14:08 [ 93%] Built target template-discovery 15:14:08 Scanning dependencies of target device-file 15:14:08 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 15:14:08 [ 96%] Linking C executable device-file 15:14:08 [ 96%] Built target device-file 15:14:08 Scanning dependencies of target device-terminal 15:14:08 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 15:14:08 [100%] Linking C executable device-terminal 15:14:09 [100%] Built target device-terminal 15:14:09 make: Entering directory '/tmp/sdk/build/release' 15:14:09 make[1]: Entering directory '/tmp/sdk/build/release' 15:14:09 make[2]: Entering directory '/tmp/sdk/build/release' 15:14:09 make[2]: Leaving directory '/tmp/sdk/build/release' 15:14:09 [ 75%] Built target csdk 15:14:09 make[2]: Entering directory '/tmp/sdk/build/release' 15:14:09 make[2]: Leaving directory '/tmp/sdk/build/release' 15:14:09 [ 78%] Built target template 15:14:09 make[2]: Entering directory '/tmp/sdk/build/release' 15:14:09 make[2]: Leaving directory '/tmp/sdk/build/release' 15:14:09 [ 81%] Built target device-counter 15:14:09 make[2]: Entering directory '/tmp/sdk/build/release' 15:14:09 make[2]: Leaving directory '/tmp/sdk/build/release' 15:14:09 [ 84%] Built target device-random 15:14:09 make[2]: Entering directory '/tmp/sdk/build/release' 15:14:09 make[2]: Leaving directory '/tmp/sdk/build/release' 15:14:09 [ 87%] Built target device-gyro 15:14:09 make[2]: Entering directory '/tmp/sdk/build/release' 15:14:09 make[2]: Leaving directory '/tmp/sdk/build/release' 15:14:09 [ 90%] Built target device-bitfields 15:14:09 make[2]: Entering directory '/tmp/sdk/build/release' 15:14:09 make[2]: Leaving directory '/tmp/sdk/build/release' 15:14:09 [ 93%] Built target template-discovery 15:14:09 make[2]: Entering directory '/tmp/sdk/build/release' 15:14:09 make[2]: Leaving directory '/tmp/sdk/build/release' 15:14:09 [ 96%] Built target device-file 15:14:09 make[2]: Entering directory '/tmp/sdk/build/release' 15:14:09 make[2]: Leaving directory '/tmp/sdk/build/release' 15:14:09 [100%] Built target device-terminal 15:14:09 make[1]: Leaving directory '/tmp/sdk/build/release' 15:14:09 Install the project... 15:14:09 -- Install configuration: "Release" 15:14:09 -- Installing: /usr/local/lib/libcsdk.so 15:14:09 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 15:14:09 -- Up-to-date: /usr/local/include 15:14:09 -- Installing: /usr/local/include/edgex 15:14:09 -- Installing: /usr/local/include/edgex/rest-server.h 15:14:09 -- Installing: /usr/local/include/edgex/edgex-base.h 15:14:09 -- Installing: /usr/local/include/edgex/edgex.h 15:14:09 -- Installing: /usr/local/include/edgex/devices.h 15:14:09 -- Installing: /usr/local/include/edgex/profiles.h 15:14:09 -- Installing: /usr/local/include/edgex/csdk-defs.h 15:14:09 -- Installing: /usr/local/include/devsdk 15:14:09 -- Installing: /usr/local/include/devsdk/devsdk-base.h 15:14:09 -- Installing: /usr/local/include/devsdk/devsdk.h 15:14:09 -- Installing: /usr/local/include/iot 15:14:09 -- Installing: /usr/local/include/iot/json.h 15:14:09 -- Installing: /usr/local/include/iot/container.h 15:14:09 -- Installing: /usr/local/include/iot/component.h 15:14:09 -- Installing: /usr/local/include/iot/typecode.h 15:14:09 -- Installing: /usr/local/include/iot/iot.h 15:14:09 -- Installing: /usr/local/include/iot/time.h 15:14:09 -- Installing: /usr/local/include/iot/hash.h 15:14:09 -- Installing: /usr/local/include/iot/logger.h 15:14:09 -- Installing: /usr/local/include/iot/os 15:14:09 -- Installing: /usr/local/include/iot/os/zephyr.h 15:14:09 -- Installing: /usr/local/include/iot/os/linux.h 15:14:09 -- Installing: /usr/local/include/iot/os/macos.h 15:14:09 -- Installing: /usr/local/include/iot/scheduler.h 15:14:09 -- Installing: /usr/local/include/iot/data.h 15:14:09 -- Installing: /usr/local/include/iot/thread.h 15:14:09 -- Installing: /usr/local/include/iot/os.h 15:14:09 -- Installing: /usr/local/include/iot/base64.h 15:14:09 -- Installing: /usr/local/include/iot/defs.h 15:14:09 -- Installing: /usr/local/include/iot/threadpool.h 15:14:09 -- Installing: /usr/local/include/iot/config.h 15:14:09 -- Installing: /usr/local/share/device-sdk-c/LICENSE 15:14:09 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 15:14:09 make: Leaving directory '/tmp/sdk/build/release' 15:14:11 Removing intermediate container 9de439c1e356 15:14:11 ---> 0df503e689f4 15:14:11 Step 16/25 : FROM ${BASE} 15:14:11 ---> 759262b18b23 15:14:11 Step 17/25 : LABEL maintainer="IOTech " 15:14:12 ---> Running in e6d328d2251b 15:14:12 Removing intermediate container e6d328d2251b 15:14:12 ---> 17d77de9d621 15:14:12 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 15:14:12 ---> Running in 4e7129c4b0f8 15:14:14 Connecting to iotech.jfrog.io (54.170.66.44:443) 15:14:14 saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 15:14:14 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 15:14:14 '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved 15:14:16 Removing intermediate container 4e7129c4b0f8 15:14:16 ---> 6f31eb85e869 15:14:16 Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 15:14:16 ---> Running in d9ab3ecf0c38 15:14:18 Removing intermediate container d9ab3ecf0c38 15:14:18 ---> 6dff9798ed2d 15:14:18 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 15:14:18 ---> Running in 67b9022fe412 15:14:19 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 15:14:20 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 15:14:20 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 15:14:21 (1/7) Installing curl (7.78.0-r0) 15:14:21 (2/7) Installing hiredis (0.14.1-r0) 15:14:21 (3/7) Installing hiredis-dev (0.14.1-r0) 15:14:22 (4/7) Installing libuuid (2.35.2-r0) 15:14:22 (5/7) Installing paho-mqtt-c-dev (1.3.5-r0) 15:14:24 (6/7) Installing libidn2 (2.3.0-r0) 15:14:24 (7/7) Installing wget (1.20.3-r1) 15:14:24 Executing busybox-1.31.1-r20.trigger 15:14:24 OK: 267 MiB in 82 packages 15:14:25 Removing intermediate container 67b9022fe412 15:14:25 ---> 8a20d34bdfd3 15:14:25 Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 15:14:26 ---> 711db08d7704 15:14:26 Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 15:14:27 ---> 82ce91c6207d 15:14:27 Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib 15:14:28 ---> a353b3e00fe5 15:14:28 Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 15:14:29 ---> 7c4455ec9803 15:14:29 Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 15:14:29 ---> 807e1e11eaeb 15:14:29 Successfully built 807e1e11eaeb 15:14:30 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:14:30 + docker inspect -f . ci-base-image-arm64 15:14:30 . [Pipeline] withDockerContainer 15:14:31 prd-ubuntu18.04-docker-arm64-4c-16g-711 does not seem to be running inside a container 15:14:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:14:32 $ docker top e0faf8f9cfa0ea4241b10e96d7bf8b93e8b4e73abd3d96802dd0b135f56ce36a -eo pid,comm [Pipeline] { [Pipeline] sh 15:14:34 + make test 15:14:34 echo "make test" 15:14:34 make test [Pipeline] } 15:14:34 $ docker stop --time=1 e0faf8f9cfa0ea4241b10e96d7bf8b93e8b4e73abd3d96802dd0b135f56ce36a 15:14:35 $ docker rm -f e0faf8f9cfa0ea4241b10e96d7bf8b93e8b4e73abd3d96802dd0b135f56ce36a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:14:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:14:37 + ls -al . 15:14:37 total 200 15:14:37 drwxrwxr-x 8 jenkins jenkins 4096 Aug 12 15:11 . 15:14:37 drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 15:11 .. 15:14:37 drwxrwxr-x 8 jenkins jenkins 4096 Aug 12 15:11 .git 15:14:37 drwxrwxr-x 2 jenkins jenkins 4096 Aug 12 15:11 .github 15:14:37 -rw-rw-r-- 1 jenkins jenkins 176 Aug 12 15:11 .gitignore 15:14:37 -rw-rw-r-- 1 jenkins jenkins 3104 Aug 12 15:11 Attribution.txt 15:14:37 -rw-rw-r-- 1 jenkins jenkins 7701 Aug 12 15:11 CHANGES 15:14:37 -rw-rw-r-- 1 jenkins jenkins 108574 Aug 12 15:11 Doxyfile 15:14:37 -rw-rw-r-- 1 jenkins jenkins 677 Aug 12 15:11 GOVERNANCE.md 15:14:37 -rw-rw-r-- 1 jenkins jenkins 784 Aug 12 15:11 Jenkinsfile 15:14:37 -rw-rw-r-- 1 jenkins jenkins 10174 Aug 12 15:11 LICENSE 15:14:37 -rw-rw-r-- 1 jenkins jenkins 444 Aug 12 15:11 Makefile 15:14:37 -rw-rw-r-- 1 jenkins jenkins 618 Aug 12 15:11 OWNERS.md 15:14:37 -rw-rw-r-- 1 jenkins jenkins 4086 Aug 12 15:11 README.md 15:14:37 -rw-rw-r-- 1 jenkins jenkins 7090 Aug 12 15:11 README.v2.md 15:14:37 -rw-rw-r-- 1 jenkins jenkins 5 Aug 12 15:09 VERSION 15:14:37 drwxrwxr-x 2 jenkins jenkins 4096 Aug 12 15:11 docs 15:14:37 drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 15:11 include 15:14:37 drwxrwxr-x 2 jenkins jenkins 4096 Aug 12 15:11 scripts 15:14:37 drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 15:11 src [Pipeline] isUnix [Pipeline] sh 15:14:37 + docker build -t device-sdk-arm64 -f scripts/Dockerfile.alpine --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=c18a3c401453d424705f066c849bbf59d2efeadf --label arch=arm64 --label version=0.0.0 . 15:14:38 Sending build context to Docker daemon 2.706MB 15:14:38 Step 1/17 : ARG BASE=alpine:3.12 15:14:38 Step 2/17 : FROM ${BASE} 15:14:38 ---> 807e1e11eaeb 15:14:38 Step 3/17 : LABEL maintainer="IOTech " 15:14:38 ---> Running in 98e7fc816f71 15:14:39 Removing intermediate container 98e7fc816f71 15:14:39 ---> bffb4517bd78 15:14:39 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 15:14:39 ---> Running in ec1f1e1e22cb 15:14:40 --2021-08-12 15:14:40-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub 15:14:40 Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.195.244.87, 54.170.66.44, 54.229.110.245 15:14:40 Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.195.244.87|:443... connected. 15:14:41 HTTP request sent, awaiting response... 200 OK 15:14:41 Length: 451 [application/octet-stream] 15:14:41 Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 15:14:41 15:14:41 0K     100% 17.7M=0s 15:14:41 15:14:41 2021-08-12 15:14:40 (17.7 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] 15:14:41 15:14:42 Removing intermediate container ec1f1e1e22cb 15:14:42 ---> 07d5e33b731a 15:14:42 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 15:14:42 ---> Running in cbf6ff1b8c00 15:14:44 Removing intermediate container cbf6ff1b8c00 15:14:44 ---> 08a380a535ea 15:14:44 Step 6/17 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev hiredis-dev && mkdir -p /edgex-c-sdk/build 15:14:44 ---> Running in 28c00e9a5ab2 15:14:46 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 15:14:46 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 15:14:46 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 15:14:47 (1/16) Installing ncurses-dev (6.2_p20200523-r0) 15:14:48 (2/16) Installing libblkid (2.35.2-r0) 15:14:48 (3/16) Installing blkid (2.35.2-r0) 15:14:48 (4/16) Installing libcap-ng (0.7.10-r1) 15:14:48 (5/16) Installing setpriv (2.35.2-r0) 15:14:48 (6/16) Installing libmount (2.35.2-r0) 15:14:48 (7/16) Installing libsmartcols (2.35.2-r0) 15:14:48 (8/16) Installing findmnt (2.35.2-r0) 15:14:49 (9/16) Installing mcookie (2.35.2-r0) 15:14:49 (10/16) Installing hexdump (2.35.2-r0) 15:14:49 (11/16) Installing lsblk (2.35.2-r0) 15:14:49 (12/16) Installing libfdisk (2.35.2-r0) 15:14:49 (13/16) Installing sfdisk (2.35.2-r0) 15:14:49 (14/16) Installing cfdisk (2.35.2-r0) 15:14:49 (15/16) Installing util-linux (2.35.2-r0) 15:14:49 (16/16) Installing util-linux-dev (2.35.2-r0) 15:14:50 Executing busybox-1.31.1-r20.trigger 15:14:50 OK: 276 MiB in 98 packages 15:14:51 Removing intermediate container 28c00e9a5ab2 15:14:51 ---> f4e94ccb2b73 15:14:51 Step 7/17 : COPY VERSION /edgex-c-sdk/ 15:14:52 ---> 1c417f7e96dd 15:14:52 Step 8/17 : COPY src /edgex-c-sdk/src/ 15:14:53 ---> ac2f15a33204 15:14:53 Step 9/17 : COPY include /edgex-c-sdk/include/ 15:14:54 ---> 53b767dbe01d 15:14:54 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 15:14:55 ---> 6bd88ff4173f 15:14:55 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 15:14:56 ---> 290ff45baff0 15:14:56 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 15:14:57 ---> 5acff42f3b6f 15:14:57 Step 13/17 : WORKDIR /edgex-c-sdk 15:14:57 ---> Running in 6879585d3515 15:14:58 Removing intermediate container 6879585d3515 15:14:58 ---> 0800548fa91c 15:14:58 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 15:14:58 ---> Running in 4bf4b94c5cdf 15:14:58 Removing intermediate container 4bf4b94c5cdf 15:14:58 ---> 5cc7eb269d60 15:14:58 Step 15/17 : LABEL arch=arm64 15:14:59 ---> Running in 3e6e3e4ebe48 15:14:59 Removing intermediate container 3e6e3e4ebe48 15:14:59 ---> d4d18bad4601 15:14:59 Step 16/17 : LABEL git_sha=c18a3c401453d424705f066c849bbf59d2efeadf 15:14:59 ---> Running in 29c8d8478f2b 15:15:00 Removing intermediate container 29c8d8478f2b 15:15:00 ---> 5f89b0d94929 15:15:00 Step 17/17 : LABEL version=0.0.0 15:15:00 ---> Running in a5ceccc40c17 15:15:00 Removing intermediate container a5ceccc40c17 15:15:00 ---> aa3a75c8f2f9 15:15:00 [Warning] One or more build-args [ARCH MAKE] were not consumed 15:15:00 Successfully built aa3a75c8f2f9 15:15:00 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 Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:15:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:15:01 15:15:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 15:15:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:15:02 arm64: Pulling from edgex-lftools-log-publisher 15:15:02 448f6bf000e3: Pulling fs layer 15:15:02 f757da607395: Pulling fs layer 15:15:02 05883995daec: Pulling fs layer 15:15:02 8603b9c90790: Pulling fs layer 15:15:02 1560dd03e051: Pulling fs layer 15:15:02 27f5ce0e4adf: Pulling fs layer 15:15:02 c2d8d7efcc4b: Pulling fs layer 15:15:02 8603b9c90790: Waiting 15:15:02 1560dd03e051: Waiting 15:15:02 c2d8d7efcc4b: Waiting 15:15:02 27f5ce0e4adf: Waiting 15:15:02 f757da607395: Verifying Checksum 15:15:02 f757da607395: Download complete 15:15:03 05883995daec: Verifying Checksum 15:15:03 05883995daec: Download complete 15:15:03 1560dd03e051: Verifying Checksum 15:15:03 1560dd03e051: Download complete 15:15:03 27f5ce0e4adf: Verifying Checksum 15:15:04 448f6bf000e3: Verifying Checksum 15:15:04 448f6bf000e3: Download complete 15:15:08 448f6bf000e3: Pull complete 15:15:08 f757da607395: Pull complete 15:15:10 05883995daec: Pull complete 15:15:10 c2d8d7efcc4b: Verifying Checksum 15:15:10 c2d8d7efcc4b: Download complete 15:15:10 8603b9c90790: Pull complete 15:15:11 1560dd03e051: Pull complete 15:15:12 27f5ce0e4adf: Pull complete 15:15:27 c2d8d7efcc4b: Pull complete 15:15:27 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 15:15:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:15:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 15:15:27 prd-ubuntu18.04-docker-arm64-4c-16g-711 does not seem to be running inside a container 15:15:28 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 15:15:33 $ docker top 52aa1bd0a95b4cbb4fb122e2c5e4c533a18958214b0b3645d03d57cc5ca26b87 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:15:34 ---> job-cost.sh 15:15:34 lf-activate-venv: SKIPPING 15:15:34 INFO: No Stack... 15:15:34 INFO: Retrieving Pricing Info for: v2-standard-4 15:15:35 INFO: Archiving Costs [Pipeline] sh 15:15:36 + + cutcat -d, /w/workspace/device-sdk-c/1/archives/cost.csv -f6 15:15:36 [Pipeline] lock 15:15:36 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-365-1-stack-cost] 15:15:36 Resource [jenkins-edgexfoundry-device-sdk-c-PR-365-1-stack-cost] did not exist. Created. 15:15:36 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-365-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:15:36 /w/workspace/device-sdk-c/1@tmp/durable-5fecd653/script.sh: 1: /w/workspace/device-sdk-c/1@tmp/durable-5fecd653/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 15:15:37 + echo total: 0.18000000715255737 [Pipeline] stash 15:15:37 Warning: overwriting stash ‘stack-cost’ 15:15:38 Stashed 1 file(s) [Pipeline] } 15:15:38 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-365-1-stack-cost] [Pipeline] // lock [Pipeline] } 15:15:38 $ docker stop --time=1 52aa1bd0a95b4cbb4fb122e2c5e4c533a18958214b0b3645d03d57cc5ca26b87 15:15:40 $ docker rm -f 52aa1bd0a95b4cbb4fb122e2c5e4c533a18958214b0b3645d03d57cc5ca26b87 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [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] sh 15:15:42 + '[' -d /w/workspace/edgexfoundry_device-sdk-c_PR-365/archives ']' [Pipeline] libraryResource [Pipeline] sh 15:15:42 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:15:43 ---> package-listing.sh 15:15:43 ++ facter osfamily 15:15:43 ++ tr '[:upper:]' '[:lower:]' 15:15:43 + OS_FAMILY=redhat 15:15:43 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-365 15:15:43 + START_PACKAGES=/tmp/packages_start.txt 15:15:43 + END_PACKAGES=/tmp/packages_end.txt 15:15:43 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:15:43 + PACKAGES=/tmp/packages_start.txt 15:15:43 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-365 ']' 15:15:43 + PACKAGES=/tmp/packages_end.txt 15:15:43 + case "${OS_FAMILY}" in 15:15:43 + rpm -qa 15:15:43 + sort 15:15:44 + '[' -f /tmp/packages_start.txt ']' 15:15:44 + '[' -f /tmp/packages_end.txt ']' 15:15:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:15:44 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-365 ']' 15:15:44 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-365/archives/ 15:15:44 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-365/archives/ [Pipeline] echo 15:15:44 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-365/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:15:44 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 15:15:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:15:45 15:15:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 15:15:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:15:45 latest: Pulling from edgex-lftools-log-publisher 15:15:45 b4d181a07f80: Pulling fs layer 15:15:45 a1111a8f2ec3: Pulling fs layer 15:15:45 ed53099fbce6: Pulling fs layer 15:15:45 dc539afda2c1: Pulling fs layer 15:15:45 77bc0d833cb6: Pulling fs layer 15:15:45 9065ff56babe: Pulling fs layer 15:15:45 d287ab97295c: Pulling fs layer 15:15:45 dc539afda2c1: Waiting 15:15:45 77bc0d833cb6: Waiting 15:15:45 9065ff56babe: Waiting 15:15:45 d287ab97295c: Waiting 15:15:45 a1111a8f2ec3: Verifying Checksum 15:15:45 a1111a8f2ec3: Download complete 15:15:45 dc539afda2c1: Verifying Checksum 15:15:45 dc539afda2c1: Download complete 15:15:46 77bc0d833cb6: Verifying Checksum 15:15:46 77bc0d833cb6: Download complete 15:15:46 9065ff56babe: Verifying Checksum 15:15:46 9065ff56babe: Download complete 15:15:46 ed53099fbce6: Verifying Checksum 15:15:46 ed53099fbce6: Download complete 15:15:47 b4d181a07f80: Verifying Checksum 15:15:47 b4d181a07f80: Download complete 15:15:48 b4d181a07f80: Pull complete 15:15:48 a1111a8f2ec3: Pull complete 15:15:49 ed53099fbce6: Pull complete 15:15:49 dc539afda2c1: Pull complete 15:15:49 77bc0d833cb6: Pull complete 15:15:49 9065ff56babe: Pull complete 15:15:51 d287ab97295c: Verifying Checksum 15:15:51 d287ab97295c: Download complete 15:15:55 d287ab97295c: Pull complete 15:15:55 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 15:15:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:15:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 15:15:55 prd-centos7-docker-4c-2g-709 does not seem to be running inside a container 15:15:55 $ 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-365/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-365 -v /w/workspace/edgexfoundry_device-sdk-c_PR-365:/w/workspace/edgexfoundry_device-sdk-c_PR-365:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-365@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-365@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:15:58 $ docker top 991af19c1e5ff51f05aaf8b19e28d55514d3245a06503a4ac8dc80bcddd0e5c2 -eo pid,comm [Pipeline] { [Pipeline] sh 15:15:58 + touch /tmp/pre-build-complete [Pipeline] sh 15:15:59 + mkdir -p /var/log/sysstat [Pipeline] sh 15:15:59 + ls /var/log/sa-host 15:15:59 + sadf -c /var/log/sa-host/sa05 15:15:59 file_magic: OK 15:15:59 HZ: Using current value: 100 15:15:59 file_header: OK 15:15:59 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 15:15:59 Statistics: 15:15:59 Hnuu...uuuununununu...Hnuu...uuuununununu... 15:15:59 File successfully converted to sysstat format version 12.0.3 15:15:59 + sadf -c /var/log/sa-host/sa12 15:15:59 file_magic: OK 15:15:59 HZ: Using current value: 100 15:15:59 file_header: OK 15:15:59 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 15:15:59 Statistics: 15:15:59 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 15:15:59 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:15:59 provisioning config files... 15:15:59 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-365@tmp/config7807313791562411015tmp [Pipeline] { [Pipeline] echo 15:15:59 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:16:00 ---> create-netrc.sh [Pipeline] } 15:16:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:16:00 ---> python-tools-install.sh [Pipeline] echo 15:16:00 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:16:00 ---> sudo-logs.sh 15:16:00 Archiving 'sudo' log.. 15:16:00 sudo: unable to resolve host prd-centos7-docker-4c-2g-709.vexxhost.local: Name or service not known 15:16:00 sudo: unable to resolve host prd-centos7-docker-4c-2g-709.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo 15:16:01 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:16:01 ---> job-cost.sh 15:16:01 lf-activate-venv: SKIPPING 15:16:01 DEBUG: total: 0.18000000715255737 15:16:01 INFO: Retrieving Stack Cost... 15:16:02 INFO: Retrieving Pricing Info for: v3-standard-2 15:16:03 INFO: Archiving Costs [Pipeline] echo 15:16:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:16:03 ---> logs-deploy.sh 15:16:03 lf-activate-venv: SKIPPING 15:16:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-365/1 15:16:03 INFO: archiving workspace using pattern(s): 15:16:04 Archives upload complete. 15:16:04 INFO: archiving logs to Nexus 15:16:05 ---> uname -a: 15:16:05 Linux prd-centos7-docker-4c-2g-709.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 GNU/Linux 15:16:05 15:16:05 15:16:05 ---> lscpu: 15:16:05 Architecture: x86_64 15:16:05 CPU op-mode(s): 32-bit, 64-bit 15:16:05 Byte Order: Little Endian 15:16:05 Address sizes: 40 bits physical, 48 bits virtual 15:16:05 CPU(s): 2 15:16:05 On-line CPU(s) list: 0,1 15:16:05 Thread(s) per core: 1 15:16:05 Core(s) per socket: 1 15:16:05 Socket(s): 2 15:16:05 NUMA node(s): 1 15:16:05 Vendor ID: AuthenticAMD 15:16:05 CPU family: 23 15:16:05 Model: 49 15:16:05 Model name: AMD EPYC-Rome Processor 15:16:05 Stepping: 0 15:16:05 CPU MHz: 2799.998 15:16:05 BogoMIPS: 5599.99 15:16:05 Virtualization: AMD-V 15:16:05 Hypervisor vendor: KVM 15:16:05 Virtualization type: full 15:16:05 L1d cache: 32K 15:16:05 L1i cache: 32K 15:16:05 L2 cache: 512K 15:16:05 L3 cache: 16384K 15:16:05 NUMA node0 CPU(s): 0,1 15:16:05 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities 15:16:05 15:16:05 15:16:05 ---> nproc: 15:16:05 2 15:16:05 15:16:05 15:16:05 ---> df -h: 15:16:05 Filesystem Size Used Avail Use% Mounted on 15:16:05 overlay 40G 7.7G 33G 20% / 15:16:05 tmpfs 64M 0 64M 0% /dev 15:16:05 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 15:16:05 shm 64M 0 64M 0% /dev/shm 15:16:05 /dev/vda1 40G 7.7G 33G 20% /facter-os 15:16:05 15:16:05 15:16:05 ---> sar -b -r -n DEV: 15:16:05 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 08/12/21 _x86_64_ (2 CPU) 15:16:05 15:16:05 15:08:21 LINUX RESTART (2 CPU) 15:16:05 15:16:05 15:09:01 tps rtps wtps bread/s bwrtn/s 15:16:05 15:10:01 20.83 3.56 17.27 2600.63 2794.77 15:16:05 15:11:01 0.30 0.00 0.30 0.00 4.80 15:16:05 15:12:02 0.28 0.00 0.28 0.00 3.88 15:16:05 15:13:01 0.19 0.00 0.19 0.00 2.88 15:16:05 15:14:01 0.20 0.00 0.20 0.00 1.82 15:16:05 15:15:01 0.40 0.00 0.40 0.00 4.98 15:16:05 Average: 3.71 0.60 3.11 434.73 470.24 15:16:05 15:16:05 15:09:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 15:16:05 15:10:01 5453964 0 815740 10.19 2620 1736616 1302128 14.38 589004 1566372 20 15:16:05 15:11:01 5464812 0 804888 10.05 2620 1736620 1202756 13.28 579752 1566336 16 15:16:05 15:12:02 5463572 0 806124 10.07 2620 1736624 1203032 13.28 583208 1564548 8 15:16:05 15:13:01 5462160 0 807532 10.08 2620 1736628 1203056 13.28 584212 1564544 8 15:16:05 15:14:01 5463992 0 805696 10.06 2620 1736632 1202828 13.28 578748 1568816 16 15:16:05 15:15:01 5462704 0 806920 10.08 2620 1736696 1202816 13.28 579640 1568832 28 15:16:05 Average: 5461867 0 807817 10.09 2620 1736636 1219436 13.46 582427 1566575 16 15:16:05 15:16:05 15:09:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 15:16:05 15:10:01 eth0 109.01 72.76 377.55 17.59 0.00 0.00 0.00 0.00 15:16:05 15:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:16:05 15:10:01 docker0 7.06 5.30 0.95 25.72 0.00 0.00 0.00 0.00 15:16:05 15:11:01 eth0 0.53 0.00 0.05 0.00 0.00 0.00 0.00 0.00 15:16:05 15:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:16:05 15:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:16:05 15:12:02 eth0 1.02 0.33 0.32 0.20 0.00 0.00 0.00 0.00 15:16:05 15:12:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:16:05 15:12:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:16:05 15:13:01 eth0 0.42 0.29 0.27 0.20 0.00 0.00 0.00 0.00 15:16:05 15:13:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:16:05 15:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:16:05 15:14:01 eth0 0.23 0.20 0.08 0.08 0.00 0.00 0.00 0.00 15:16:05 15:14:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:16:05 15:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:16:05 15:15:01 eth0 0.17 0.15 0.07 0.01 0.00 0.00 0.00 0.00 15:16:05 15:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:16:05 15:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:16:05 Average: eth0 18.62 12.32 63.24 3.02 0.00 0.00 0.00 0.00 15:16:05 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:16:05 Average: docker0 1.18 0.89 0.16 4.30 0.00 0.00 0.00 0.00 15:16:05 15:16:05 15:16:05 ---> sar -P ALL: 15:16:05 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 08/12/21 _x86_64_ (2 CPU) 15:16:05 15:16:05 15:08:21 LINUX RESTART (2 CPU) 15:16:05 15:16:05 15:09:01 CPU %user %nice %system %iowait %steal %idle 15:16:05 15:10:01 all 3.82 0.00 2.09 0.40 0.05 93.64 15:16:05 15:10:01 0 3.88 0.00 2.36 0.31 0.07 93.39 15:16:05 15:10:01 1 3.76 0.00 1.82 0.49 0.03 93.89 15:16:05 15:11:01 all 0.20 0.00 0.08 0.00 0.02 99.71 15:16:05 15:11:01 0 0.32 0.00 0.08 0.00 0.02 99.58 15:16:05 15:11:01 1 0.08 0.00 0.07 0.00 0.02 99.83 15:16:05 15:12:02 all 0.18 0.00 0.07 0.00 0.02 99.74 15:16:05 15:12:02 0 0.15 0.00 0.08 0.00 0.02 99.75 15:16:05 15:12:02 1 0.20 0.00 0.05 0.00 0.02 99.73 15:16:05 15:13:01 all 0.23 0.00 0.07 0.00 0.01 99.69 15:16:05 15:13:01 0 0.12 0.00 0.08 0.00 0.02 99.78 15:16:05 15:13:01 1 0.34 0.00 0.05 0.00 0.00 99.61 15:16:05 15:14:01 all 0.23 0.00 0.08 0.00 0.02 99.67 15:16:05 15:14:01 0 0.12 0.00 0.12 0.00 0.02 99.75 15:16:05 15:14:01 1 0.35 0.00 0.05 0.00 0.02 99.58 15:16:05 15:15:01 all 0.19 0.00 0.05 0.00 0.03 99.73 15:16:05 15:15:01 0 0.07 0.00 0.05 0.00 0.03 99.85 15:16:05 15:15:01 1 0.32 0.00 0.05 0.00 0.02 99.62 15:16:05 Average: all 0.80 0.00 0.40 0.07 0.02 98.71 15:16:05 Average: 0 0.77 0.00 0.46 0.05 0.03 98.69 15:16:05 Average: 1 0.84 0.00 0.35 0.08 0.02 98.72 15:16:05 15:16:05 15:16:05