Pull request #366 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 c8594b023b7b26154ab08a5e478c3913b824877c+fa3f1bc6009dfda5647181c893d25c3a20ff6238 (7316466a5987eec18eb3a4734a19fb574e662ee1) 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-ssh1252240851375195665.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-ssh5367355350222390566.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-366/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-366/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh304669730973079295.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-366/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2363213191142725817.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-ssh4100768090882918287.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-366/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-366/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3822110042793979944.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-976 in /w/workspace/edgexfoundry_device-sdk-c_PR-366 [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-366 # 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-366@tmp/jenkins-gitclient-ssh3887344908515232703.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit fa3f1bc6009dfda5647181c893d25c3a20ff6238 into PR head commit c8594b023b7b26154ab08a5e478c3913b824877c Merge succeeded, producing c8594b023b7b26154ab08a5e478c3913b824877c Checking out Revision c8594b023b7b26154ab08a5e478c3913b824877c (PR-366) > 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-366@tmp/jenkins-gitclient-ssh6272859448852230359.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/366/head:refs/remotes/origin/PR-366 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c8594b023b7b26154ab08a5e478c3913b824877c # 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-366@tmp/jenkins-gitclient-ssh4448649889423398157.key > git merge fa3f1bc6009dfda5647181c893d25c3a20ff6238 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c8594b023b7b26154ab08a5e478c3913b824877c # timeout=10 Commit message: "docs: Add templates for new GitHub issues" 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 14:05:54 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:05:54 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:05:54 ========================================================= 14:05:54 EdgeX Global Pipelines Version Info 14:05:54 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:05:55 ------------------- 14:05:55 stable info: 14:05:55 ------------------- 14:05:55 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:05:55 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 14:05:55 Message: update stable to v1.0.205 14:05:56 ------------------- 14:05:56 experimental info: 14:05:56 ------------------- 14:05:56 Commited By: **** collab-it+edgex@linuxfoundation.org 14:05:56 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 14:05:56 Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:05:56 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 14:05:56 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 14:05:56 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:05:57 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:05:57 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:05:57 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo 14:05:57 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 14:05:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 14:05:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:05:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 14:05:57 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 14:05:57 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:05:57 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:05:57 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:05:57 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 14:05:57 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:05:57 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 14:05:57 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:05:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-366 [Pipeline] echo 14:05:57 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-366 [Pipeline] echo 14:05:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-366 [Pipeline] echo 14:05:58 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c8594b023b7b26154ab08a5e478c3913b824877c [Pipeline] echo 14:05:58 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c8594b0 [Pipeline] echo 14:05:58 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:05:58 provisioning config files... 14:05:58 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-366@tmp/config8135695902444719627tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:05:58 ---> docker-login.sh 14:05:58 nexus3.edgexfoundry.org:10001 14:05:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:05:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:05:59 Configure a credential helper to remove this warning. See 14:05:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:05:59 14:05:59 Login Succeeded 14:05:59 nexus3.edgexfoundry.org:10002 14:05:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:05:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:05:59 Configure a credential helper to remove this warning. See 14:05:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:05:59 14:05:59 Login Succeeded 14:05:59 nexus3.edgexfoundry.org:10003 14:05:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:05:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:05:59 Configure a credential helper to remove this warning. See 14:05:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:05:59 14:05:59 Login Succeeded 14:05:59 nexus3.edgexfoundry.org:10004 14:05:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:05:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:05:59 Configure a credential helper to remove this warning. See 14:05:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:05:59 14:05:59 Login Succeeded 14:05:59 docker.io 14:05:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:05:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:05:59 Configure a credential helper to remove this warning. See 14:05:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:05:59 14:05:59 Login Succeeded 14:05:59 ---> docker-login.sh ends [Pipeline] } 14:05:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 14:06:01 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:06:01 14:06:01 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 14:06:01 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:06:01 latest: Pulling from edgex-devops/git-semver 14:06:01 31603596830f: Pulling fs layer 14:06:01 d4622e32a9a9: Pulling fs layer 14:06:01 1030fce36090: Pulling fs layer 14:06:01 6c6cb7e1b49b: Pulling fs layer 14:06:01 6c6cb7e1b49b: Waiting 14:06:01 d4622e32a9a9: Verifying Checksum 14:06:01 d4622e32a9a9: Download complete 14:06:02 31603596830f: Verifying Checksum 14:06:02 31603596830f: Download complete 14:06:02 31603596830f: Pull complete 14:06:02 d4622e32a9a9: Pull complete 14:06:02 6c6cb7e1b49b: Verifying Checksum 14:06:02 6c6cb7e1b49b: Download complete 14:06:02 1030fce36090: Verifying Checksum 14:06:02 1030fce36090: Download complete 14:06:03 1030fce36090: Pull complete 14:06:03 6c6cb7e1b49b: Pull complete 14:06:03 Digest: sha256:98b6084a185347f7b64647794a0a4774a411b925a780a33b3032b91fe10e00ab 14:06:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:06:03 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 14:06:03 prd-centos7-docker-4c-2g-976 does not seem to be running inside a container 14:06:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-366 -v /w/workspace/edgexfoundry_device-sdk-c_PR-366:/w/workspace/edgexfoundry_device-sdk-c_PR-366:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-366@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-366@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 14:06:04 $ docker top af6b7693e3711528d658fad2ae50ba3a45a9d3398ad58cdbe3cc9b42d0b7546b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:06:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:06:04 [ssh-agent] Looking for ssh-agent implementation... 14:06:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:06:04 $ docker exec af6b7693e3711528d658fad2ae50ba3a45a9d3398ad58cdbe3cc9b42d0b7546b ssh-agent 14:06:04 SSH_AUTH_SOCK=/tmp/ssh-4jRScmPZQEqM/agent.16 14:06:04 SSH_AGENT_PID=22 14:06:04 Running ssh-add (command line suppressed) 14:06:05 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-366@tmp/private_key_8798423913373109580.key (/w/workspace/edgexfoundry_device-sdk-c_PR-366@tmp/private_key_8798423913373109580.key) 14:06:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:06:05 + git tag --points-at HEAD [Pipeline] } 14:06:05 $ docker exec --env ******** --env ******** af6b7693e3711528d658fad2ae50ba3a45a9d3398ad58cdbe3cc9b42d0b7546b ssh-agent -k 14:06:05 unset SSH_AUTH_SOCK; 14:06:05 unset SSH_AGENT_PID; 14:06:05 echo Agent pid 22 killed; 14:06:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:06:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:06:05 [ssh-agent] Looking for ssh-agent implementation... 14:06:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:06:06 $ docker exec af6b7693e3711528d658fad2ae50ba3a45a9d3398ad58cdbe3cc9b42d0b7546b ssh-agent 14:06:06 SSH_AUTH_SOCK=/tmp/ssh-znag3OSqn3FH/agent.56 14:06:06 SSH_AGENT_PID=62 14:06:06 Running ssh-add (command line suppressed) 14:06:06 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-366@tmp/private_key_1498929500295609784.key (/w/workspace/edgexfoundry_device-sdk-c_PR-366@tmp/private_key_1498929500295609784.key) 14:06:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:06:06 + git semver init 14:06:06 # -> Open(): unable to determine branch for HEAD 14:06:06 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-366/.git 14:06:06 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-366 14:06:06 # $SEMVER_REMOTE_NAME = origin 14:06:06 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:06:06 # $SEMVER_USER_NAME = edgex-jenkins 14:06:06 # $SEMVER_BRANCH = PR-366 14:06:06 # $SEMVER_TEMP = /tmp/semver-667698214 14:06:06 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 14:06:07 # '/tmp/semver-667698214' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-366/.semver' 14:06:07 # -> Force: false 14:06:07 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-366/.semver [Pipeline] } 14:06:07 $ docker exec --env ******** --env ******** af6b7693e3711528d658fad2ae50ba3a45a9d3398ad58cdbe3cc9b42d0b7546b ssh-agent -k 14:06:07 unset SSH_AUTH_SOCK; 14:06:07 unset SSH_AGENT_PID; 14:06:07 echo Agent pid 62 killed; 14:06:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:06:08 + git semver [Pipeline] } 14:06:08 $ docker stop --time=1 af6b7693e3711528d658fad2ae50ba3a45a9d3398ad58cdbe3cc9b42d0b7546b 14:06:09 $ docker rm -f af6b7693e3711528d658fad2ae50ba3a45a9d3398ad58cdbe3cc9b42d0b7546b [Pipeline] // withDockerContainer [Pipeline] sh 14:06:09 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:06:10 Stashed 1 file(s) [Pipeline] echo 14:06:10 [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 14:06:25 Still waiting to schedule task 14:06:25 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-976’ 14:06:25 Still waiting to schedule task 14:06:25 ‘prd-ubuntu18.04-docker-arm64-4c-16g-105’ is offline 14:08:35 Running on prd-ubuntu18.04-docker-arm64-4c-16g-977 in /w/workspace/edgexfoundry_device-sdk-c_PR-366 [Pipeline] { [Pipeline] ws 14:08:35 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 14:08:36 Selected Git installation does not exist. Using Default 14:08:36 The recommended git tool is: NONE 14:08:42 using credential edgex-jenkins-ssh 14:08:42 Cloning the remote Git repository 14:08:42 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 14:08:42 > git init /w/workspace/device-sdk-c/1 # timeout=10 14:08:42 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 14:08:42 > git --version # timeout=10 14:08:42 > git --version # 'git version 2.17.1' 14:08:42 using GIT_SSH to set credentials SSH Credentials for GitHub 14:08:42 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:08:44 Merging remotes/origin/main commit fa3f1bc6009dfda5647181c893d25c3a20ff6238 into PR head commit c8594b023b7b26154ab08a5e478c3913b824877c 14:08:44 Merge succeeded, producing c8594b023b7b26154ab08a5e478c3913b824877c 14:08:44 Checking out Revision c8594b023b7b26154ab08a5e478c3913b824877c (PR-366) 14:08:43 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 14:08:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:08:43 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 14:08:43 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 14:08:43 using GIT_SSH to set credentials SSH Credentials for GitHub 14:08:43 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/366/head:refs/remotes/origin/PR-366 +refs/heads/main:refs/remotes/origin/main # timeout=10 14:08:44 > git config core.sparsecheckout # timeout=10 14:08:44 > git checkout -f c8594b023b7b26154ab08a5e478c3913b824877c # timeout=10 14:08:44 > git remote # timeout=10 14:08:44 > git config --get remote.origin.url # timeout=10 14:08:44 using GIT_SSH to set credentials SSH Credentials for GitHub 14:08:44 > git merge fa3f1bc6009dfda5647181c893d25c3a20ff6238 # timeout=10 14:08:44 > git rev-parse HEAD^{commit} # timeout=10 14:08:44 > git config core.sparsecheckout # timeout=10 14:08:44 > git checkout -f c8594b023b7b26154ab08a5e478c3913b824877c # timeout=10 14:08:48 Commit message: "docs: Add templates for new GitHub issues" 14:08:49 > git --version # timeout=10 14:08:49 > git --version # 'git version 2.17.1' 14:08:49 fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:08:49 provisioning config files... 14:08:49 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config222581316527207087tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:08:50 ---> docker-login.sh 14:08:50 nexus3.edgexfoundry.org:10001 14:08:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:08:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:08:51 Configure a credential helper to remove this warning. See 14:08:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:08:51 14:08:51 Login Succeeded 14:08:51 nexus3.edgexfoundry.org:10002 14:08:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:08:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:08:52 Configure a credential helper to remove this warning. See 14:08:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:08:52 14:08:52 Login Succeeded 14:08:52 nexus3.edgexfoundry.org:10003 14:08:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:08:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:08:53 Configure a credential helper to remove this warning. See 14:08:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:08:53 14:08:53 Login Succeeded 14:08:53 nexus3.edgexfoundry.org:10004 14:08:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:08:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:08:53 Configure a credential helper to remove this warning. See 14:08:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:08:53 14:08:53 Login Succeeded 14:08:53 docker.io 14:08:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:08:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:08:54 Configure a credential helper to remove this warning. See 14:08:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:08:54 14:08:54 Login Succeeded 14:08:54 ---> docker-login.sh ends [Pipeline] } 14:08:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:08:55 ========================================================= 14:08:55 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 14:08:55 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 14:08:55 + 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 . 14:08:56 Sending build context to Docker daemon 2.657MB 14:08:56 Step 1/25 : ARG BASE=alpine:3.12 14:08:56 Step 2/25 : FROM ${BASE} as builder 14:08:56 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 14:08:56 d2f70382dc9a: Pulling fs layer 14:08:56 b08cc2eccb4b: Pulling fs layer 14:08:56 7b69db201801: Pulling fs layer 14:08:56 b08cc2eccb4b: Verifying Checksum 14:08:56 b08cc2eccb4b: Download complete 14:08:56 d2f70382dc9a: Verifying Checksum 14:08:56 d2f70382dc9a: Download complete 14:08:57 d2f70382dc9a: Pull complete 14:08:57 b08cc2eccb4b: Pull complete 14:08:59 7b69db201801: Download complete 14:09:06 7b69db201801: Pull complete 14:09:06 Digest: sha256:6402f0ff92f22f5db569dc2a94aef5717e50795d64082fb226716824a8b8ffba 14:09:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 14:09:06 ---> 759262b18b23 14:09:06 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 14:09:09 ---> Running in 166cb4e710f8 14:09:11 Connecting to iotech.jfrog.io (54.229.110.245:443) 14:09:11 saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 14:09:11 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 14:09:11 '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved 14:09:13 Removing intermediate container 166cb4e710f8 14:09:13 ---> f40eaf6a911e 14:09:13 Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 14:09:13 ---> Running in c1a628d689d6 14:09:15 Removing intermediate container c1a628d689d6 14:09:15 ---> 676183d47197 14:09:15 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 14:09:15 ---> Running in 123863a1509e 14:09:16 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 14:09:17 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 14:09:18 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 14:09:18 (1/22) Installing hiredis (0.14.1-r0) 14:09:18 (2/22) Installing hiredis-dev (0.14.1-r0) 14:09:18 (3/22) Installing ncurses-dev (6.2_p20200523-r0) 14:09:18 (4/22) Installing paho-mqtt-c-dev (1.3.5-r0) 14:09:20 (5/22) Installing libblkid (2.35.2-r0) 14:09:20 (6/22) Installing blkid (2.35.2-r0) 14:09:20 (7/22) Installing libcap-ng (0.7.10-r1) 14:09:20 (8/22) Installing setpriv (2.35.2-r0) 14:09:20 (9/22) Installing libmount (2.35.2-r0) 14:09:21 (10/22) Installing libsmartcols (2.35.2-r0) 14:09:21 (11/22) Installing findmnt (2.35.2-r0) 14:09:21 (12/22) Installing mcookie (2.35.2-r0) 14:09:21 (13/22) Installing hexdump (2.35.2-r0) 14:09:21 (14/22) Installing lsblk (2.35.2-r0) 14:09:21 (15/22) Installing libuuid (2.35.2-r0) 14:09:21 (16/22) Installing libfdisk (2.35.2-r0) 14:09:21 (17/22) Installing sfdisk (2.35.2-r0) 14:09:22 (18/22) Installing cfdisk (2.35.2-r0) 14:09:22 (19/22) Installing util-linux (2.35.2-r0) 14:09:22 (20/22) Installing util-linux-dev (2.35.2-r0) 14:09:22 (21/22) Installing libidn2 (2.3.0-r0) 14:09:22 (22/22) Installing wget (1.20.3-r1) 14:09:23 Executing busybox-1.31.1-r20.trigger 14:09:23 OK: 276 MiB in 97 packages 14:09:25 Removing intermediate container 123863a1509e 14:09:25 ---> 77b3224c1714 14:09:25 Step 6/25 : ENV CBOR_VERSION=0.5.0 14:09:25 ---> Running in a4061f5124c5 14:09:25 Removing intermediate container a4061f5124c5 14:09:25 ---> c05fe45e34c5 14:09:25 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 14:09:26 ---> Running in 1ef5140896ae 14:09:27 --2021-08-16 14:09:27-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 14:09:27 Resolving github.com (github.com)... 140.82.113.4 14:09:27 Connecting to github.com (github.com)|140.82.113.4|:443... connected. 14:09:27 HTTP request sent, awaiting response... 302 Found 14:09:27 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 14:09:27 --2021-08-16 14:09:27-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 14:09:27 Resolving codeload.github.com (codeload.github.com)... 140.82.112.9 14:09:27 Connecting to codeload.github.com (codeload.github.com)|140.82.112.9|:443... connected. 14:09:54 HTTP request sent, awaiting response... 200 OK 14:09:54 Length: unspecified [application/x-gzip] 14:09:54 Saving to: 'STDOUT' 14:09:54  14:09:54 0K .......... .......... .......... .......... .......... 1.33M 14:09:54 50K .......... .......... .......... .......... .......... 2.77M 14:09:54 100K .......... .......... .......... .......... .......... 2.55M 14:09:54 150K .......... .......... .......... .......... .......... 2.63M 14:09:54 200K .......... .......... .......... .......... .......... 3.17M 14:09:54 250K .......... .......... .......... .......... .......... 10.2M 14:09:54 300K .......... .......... .......... .......... .......... 4.76M 14:09:54 350K .......... .......... .......... .......... .......... 4.95M 14:09:54 400K .......... .......... .......... .......... .......... 4.36M 14:09:54 450K .......... .......... .......... .......... .......... 3.70M 14:09:54 500K .......... .......... .......... .......... .......... 9.73M 14:09:54 550K .......... .......... .......... .......... .......... 2.83M 14:09:54 600K .......... .......... .......... .......... .......... 878K 14:09:54 650K .......... .......... .......... .......... .......... 2.67M 14:09:54 700K ..   407K=0.3s 14:09:54 14:09:54 2021-08-16 14:09:50 (2.63 MB/s) - written to stdout [719348] 14:09:54 14:09:54 -- The C compiler identification is GNU 9.3.0 14:09:54 -- The CXX compiler identification is GNU 9.3.0 14:09:54 -- Check for working C compiler: /usr/bin/cc 14:09:54 -- Check for working C compiler: /usr/bin/cc - works 14:09:54 -- Detecting C compiler ABI info 14:09:54 -- Detecting C compiler ABI info - done 14:09:54 -- Detecting C compile features 14:09:54 -- Detecting C compile features - done 14:09:54 -- Check for working CXX compiler: /usr/bin/c++ 14:09:54 -- Check for working CXX compiler: /usr/bin/c++ - works 14:09:54 -- Detecting CXX compiler ABI info 14:09:54 -- Detecting CXX compiler ABI info - done 14:09:54 -- Detecting CXX compile features 14:09:54 -- Detecting CXX compile features - done 14:09:54 -- Looking for include file endian.h 14:09:54 -- Looking for include file endian.h - found 14:09:54 -- Check if the system is big endian 14:09:54 -- Searching 16 bit integer 14:09:54 -- Looking for sys/types.h 14:09:54 -- Looking for sys/types.h - found 14:09:54 -- Looking for stdint.h 14:09:54 -- Looking for stdint.h - found 14:09:54 -- Looking for stddef.h 14:09:54 -- Looking for stddef.h - found 14:09:54 -- Check size of unsigned short 14:09:54 -- Check size of unsigned short - done 14:09:54 -- Searching 16 bit integer - Using unsigned short 14:09:54 -- Check if the system is big endian - little endian 14:09:54 -- Check size of size_t 14:09:54 -- Check size of size_t - done 14:09:54 CMake Warning at examples/CMakeLists.txt:16 (find_package): 14:09:54 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 14:09:54 asked CMake to find a package configuration file provided by "cJSON", but 14:09:54 CMake did not find one. 14:09:54 14:09:54 Could not find a package configuration file provided by "cJSON" with any of 14:09:54 the following names: 14:09:54 14:09:54 cJSONConfig.cmake 14:09:54 cjson-config.cmake 14:09:54 14:09:54 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 14:09:54 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 14:09:54 provides a separate development package or SDK, be sure it has been 14:09:54 installed. 14:09:54 14:09:54 14:09:54 -- Configuring done 14:09:54 -- Generating done 14:09:54 -- Build files have been written to: /tmp/cbor 14:09:54 Scanning dependencies of target cbor_shared 14:09:54 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 14:09:55 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 14:09:55 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 14:09:55 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 14:09:56 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 14:09:56 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 14:09:57 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 14:09:57 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 14:09:57 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 14:09:57 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 14:09:58 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 14:09:58 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 14:09:59 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 14:09:59 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 14:09:59 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 14:09:59 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 14:10:00 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 14:10:00 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 14:10:00 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 14:10:01 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 14:10:01 [ 40%] Linking C shared library libcbor.so 14:10:01 [ 40%] Built target cbor_shared 14:10:01 Scanning dependencies of target cbor 14:10:01 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 14:10:02 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 14:10:02 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 14:10:02 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 14:10:04 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 14:10:04 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 14:10:05 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 14:10:05 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 14:10:05 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 14:10:05 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 14:10:06 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 14:10:06 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 14:10:07 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 14:10:07 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 14:10:07 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 14:10:08 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 14:10:08 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 14:10:08 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 14:10:08 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 14:10:09 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 14:10:09 [ 80%] Linking C static library libcbor.a 14:10:09 [ 80%] Built target cbor 14:10:09 Scanning dependencies of target sort 14:10:09 [ 82%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 14:10:09 [ 84%] Linking C executable sort 14:10:09 [ 84%] Built target sort 14:10:09 Scanning dependencies of target readfile 14:10:09 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 14:10:09 [ 88%] Linking C executable readfile 14:10:10 [ 88%] Built target readfile 14:10:10 Scanning dependencies of target streaming_parser 14:10:10 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 14:10:10 [ 92%] Linking C executable streaming_parser 14:10:10 [ 92%] Built target streaming_parser 14:10:10 Scanning dependencies of target hello 14:10:10 [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 14:10:10 [ 96%] Linking C executable hello 14:10:10 [ 96%] Built target hello 14:10:10 Scanning dependencies of target create_items 14:10:10 [ 98%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 14:10:11 [100%] Linking C executable create_items 14:10:11 [100%] Built target create_items 14:10:11 Install the project... 14:10:11 -- Install configuration: "Release" 14:10:11 -- Installing: /usr/local/include/cbor/configuration.h 14:10:11 -- Installing: /usr/local/lib64/libcbor.a 14:10:11 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 14:10:11 -- Installing: /usr/local/lib64/libcbor.so.0 14:10:11 -- Installing: /usr/local/lib64/libcbor.so 14:10:11 -- Up-to-date: /usr/local/include/cbor 14:10:11 -- Installing: /usr/local/include/cbor/streaming.h 14:10:11 -- Installing: /usr/local/include/cbor/ints.h 14:10:11 -- Installing: /usr/local/include/cbor/floats_ctrls.h 14:10:11 -- Installing: /usr/local/include/cbor/bytestrings.h 14:10:11 -- Installing: /usr/local/include/cbor/encoding.h 14:10:11 -- Installing: /usr/local/include/cbor/serialization.h 14:10:11 -- Installing: /usr/local/include/cbor/data.h 14:10:11 -- Installing: /usr/local/include/cbor/common.h 14:10:11 -- Installing: /usr/local/include/cbor/callbacks.h 14:10:11 -- Installing: /usr/local/include/cbor/strings.h 14:10:11 -- Installing: /usr/local/include/cbor/tags.h 14:10:11 -- Installing: /usr/local/include/cbor/internal 14:10:11 -- Installing: /usr/local/include/cbor/internal/encoders.h 14:10:11 -- Installing: /usr/local/include/cbor/internal/loaders.h 14:10:11 -- Installing: /usr/local/include/cbor/internal/stack.h 14:10:11 -- Installing: /usr/local/include/cbor/internal/unicode.h 14:10:11 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 14:10:11 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 14:10:11 -- Installing: /usr/local/include/cbor/arrays.h 14:10:11 -- Installing: /usr/local/include/cbor/maps.h 14:10:11 -- Installing: /usr/local/include/cbor.h 14:10:11 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 14:10:13 Removing intermediate container 1ef5140896ae 14:10:13 ---> d998d1ded712 14:10:13 Step 8/25 : RUN mkdir /tmp/sdk 14:10:13 ---> Running in cdbc1bda905a 14:10:16 Removing intermediate container cdbc1bda905a 14:10:16 ---> 1b8fe35f2867 14:10:16 Step 9/25 : COPY VERSION /tmp/sdk 14:10:17 ---> ffc3fdb71ec4 14:10:17 Step 10/25 : COPY src /tmp/sdk/src 14:10:18 ---> 285650110df4 14:10:18 Step 11/25 : COPY include /tmp/sdk/include 14:10:19 ---> b157f00a83b4 14:10:19 Step 12/25 : COPY scripts /tmp/sdk/scripts 14:10:20 ---> 339069a2d267 14:10:20 Step 13/25 : COPY LICENSE /tmp/sdk 14:10:21 ---> e2f215a3f5a8 14:10:21 Step 14/25 : COPY Attribution.txt /tmp/sdk 14:10:21 ---> 59bbfe96bfd0 14:10:21 Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 14:10:22 ---> Running in b4d8616c38ce 14:10:23 + CPPCHECK=false 14:10:23 + DOCGEN=false 14:10:23 + TOMLVER=SDK-0.2 14:10:23 + CUTILVER=1.1.4 14:10:23 + '[' 0 -gt 0 ] 14:10:23 + readlink -f ./scripts/build.sh 14:10:23 + dirname /tmp/sdk/scripts/build.sh 14:10:23 + dirname /tmp/sdk/scripts 14:10:23 + ROOT=/tmp/sdk 14:10:23 + cd /tmp/sdk 14:10:23 + '[' '!' -d deps ] 14:10:23 + mkdir deps 14:10:23 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 14:10:23 + tar -C deps -z -x -f - 14:10:23 --2021-08-16 14:10:23-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 14:10:23 Resolving github.com (github.com)... 140.82.113.4 14:10:23 Connecting to github.com (github.com)|140.82.113.4|:443... connected. 14:10:23 HTTP request sent, awaiting response... 302 Found 14:10:23 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 14:10:23 --2021-08-16 14:10:23-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 14:10:23 Resolving codeload.github.com (codeload.github.com)... 140.82.112.9 14:10:23 Connecting to codeload.github.com (codeload.github.com)|140.82.112.9|:443... connected. 14:10:23 HTTP request sent, awaiting response... 200 OK 14:10:23 Length: unspecified [application/x-gzip] 14:10:23 Saving to: 'STDOUT' 14:10:23  14:10:23 0K .......... ......  893K=0.02s 14:10:23 14:10:23 2021-08-16 14:10:23 (893 KB/s) - written to stdout [16451] 14:10:23 14:10:23 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 14:10:23 + + wgettar -O -C - deps https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz -z 14:10:23 -x -f - 14:10:23 --2021-08-16 14:10:23-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 14:10:23 Resolving github.com (github.com)... 140.82.113.4 14:10:23 Connecting to github.com (github.com)|140.82.113.4|:443... connected. 14:10:24 HTTP request sent, awaiting response... 302 Found 14:10:24 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] 14:10:24 --2021-08-16 14:10:23-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 14:10:24 Resolving codeload.github.com (codeload.github.com)... 140.82.112.9 14:10:24 Connecting to codeload.github.com (codeload.github.com)|140.82.112.9|:443... connected. 14:10:24 HTTP request sent, awaiting response... 200 OK 14:10:24 Length: unspecified [application/x-gzip] 14:10:24 Saving to: 'STDOUT' 14:10:24 14:10:24 0K .......... .......... .......... .......... .......... 1.45M 14:10:24 50K .......... .......... .......... .......... .......... 2.92M 14:10:24 100K .......... .......... .......... .......... .......... 7.00M 14:10:24 150K .......... .......... .......  1.48M=0.08s 14:10:24 14:10:24 2021-08-16 14:10:24 (2.29 MB/s) - written to stdout [181796] 14:10:24 14:10:24 + mkdir -p src/c/iot 14:10:24 + 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 14:10:24 + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot 14:10:24 + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot 14:10:24 + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot 14:10:24 + mkdir -p include/iot 14:10:24 + 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 14:10:24 + mkdir -p include/iot/os 14:10:24 + 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 14:10:24 + mkdir -p /tmp/sdk/build/release 14:10:24 + cd /tmp/sdk/build/release 14:10:24 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 14:10:24 -- The C compiler identification is GNU 9.3.0 14:10:24 -- Check for working C compiler: /usr/bin/cc 14:10:24 -- Check for working C compiler: /usr/bin/cc - works 14:10:24 -- Detecting C compiler ABI info 14:10:25 -- Detecting C compiler ABI info - done 14:10:25 -- Detecting C compile features 14:10:25 -- Detecting C compile features - done 14:10:25 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:10:25 -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") 14:10:25 -- Found LIBYAML: /usr/lib/libyaml.so 14:10:25 -- Found LIBUUID: /usr/lib/libuuid.so 14:10:25 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 14:10:25 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 14:10:25 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 14:10:25 -- C SDK 0.0.0 for Linux 14:10:25 -- Performing Test CSDK_HAVE_ATOMIC 14:10:25 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:10:26 -- Found Curses: /usr/lib/libcurses.so 14:10:26 -- Configuring done 14:10:26 -- Generating done 14:10:26 -- Build files have been written to: /tmp/sdk/build/release 14:10:26 + make all package 14:10:26 + tee release.log 14:10:26 Scanning dependencies of target csdk 14:10:26 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:10:27 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 14:10:27 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:10:29 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:10:30 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:10:30 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 14:10:31 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 14:10:31 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 14:10:31 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:10:32 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:10:34 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:10:35 [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:10:35 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:10:36 [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:10:36 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 14:10:36 [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:10:37 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:10:39 [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 14:10:40 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 14:10:40 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 14:10:40 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 14:10:41 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 14:10:41 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 14:10:44 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 14:10:44 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 14:10:44 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 14:10:45 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 14:10:45 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 14:10:46 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 14:10:47 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 14:10:47 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 14:10:47 [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 14:10:48 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 14:10:50 [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:10:50 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:10:51 [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 14:10:52 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:10:56 [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:10:56 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:10:57 [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 14:10:57 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:10:58 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:11:00 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 14:11:00 [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 14:11:00 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 14:11:01 [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:11:03 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 14:11:06 [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:11:07 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:11:07 [ 75%] Linking C shared library libcsdk.so 14:11:07 [ 75%] Built target csdk 14:11:07 Scanning dependencies of target template 14:11:07 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:11:08 [ 78%] Linking C executable template 14:11:08 [ 78%] Built target template 14:11:08 Scanning dependencies of target device-counter 14:11:08 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:11:09 [ 81%] Linking C executable device-counter 14:11:09 [ 81%] Built target device-counter 14:11:09 Scanning dependencies of target device-random 14:11:09 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:11:09 [ 84%] Linking C executable device-random 14:11:10 [ 84%] Built target device-random 14:11:10 Scanning dependencies of target device-gyro 14:11:10 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:11:10 [ 87%] Linking C executable device-gyro 14:11:10 [ 87%] Built target device-gyro 14:11:10 Scanning dependencies of target device-bitfields 14:11:11 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 14:11:11 [ 90%] Linking C executable device-bitfields 14:11:11 [ 90%] Built target device-bitfields 14:11:11 Scanning dependencies of target template-discovery 14:11:11 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:11:12 [ 93%] Linking C executable template-discovery 14:11:12 [ 93%] Built target template-discovery 14:11:12 Scanning dependencies of target device-file 14:11:12 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 14:11:13 [ 96%] Linking C executable device-file 14:11:13 [ 96%] Built target device-file 14:11:13 Scanning dependencies of target device-terminal 14:11:13 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:11:14 [100%] Linking C executable device-terminal 14:11:14 [100%] Built target device-terminal 14:11:14 Run CPack packaging tool... 14:11:14 CPack: Create package using TGZ 14:11:14 CPack: Install projects 14:11:14 CPack: - Run preinstall target for: Csdk 14:11:14 CPack: - Install project: Csdk [] 14:11:14 CPack: Create package 14:11:14 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 14:11:14 + '[' false '=' true ] 14:11:14 + '[' false '=' true ] 14:11:14 + mkdir -p /tmp/sdk/build/debug 14:11:14 + cd /tmp/sdk/build/debug 14:11:14 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 14:11:15 -- The C compiler identification is GNU 9.3.0 14:11:15 -- Check for working C compiler: /usr/bin/cc 14:11:15 -- Check for working C compiler: /usr/bin/cc - works 14:11:15 -- Detecting C compiler ABI info 14:11:15 -- Detecting C compiler ABI info - done 14:11:16 -- Detecting C compile features 14:11:16 -- Detecting C compile features - done 14:11:16 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:11:16 -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") 14:11:16 -- Found LIBYAML: /usr/lib/libyaml.so 14:11:16 -- Found LIBUUID: /usr/lib/libuuid.so 14:11:16 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 14:11:16 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 14:11:16 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 14:11:16 -- C SDK 0.0.0 for Linux 14:11:16 -- Performing Test CSDK_HAVE_ATOMIC 14:11:16 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:11:16 -- Found Curses: /usr/lib/libcurses.so 14:11:16 -- Configuring done 14:11:16 -- Generating done 14:11:16 -- Build files have been written to: /tmp/sdk/build/debug 14:11:16 + make 14:11:16 + tee debug.log 14:11:17 Scanning dependencies of target csdk 14:11:17 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:11:17 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 14:11:18 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:11:18 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:11:18 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:11:18 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 14:11:19 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 14:11:19 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 14:11:19 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:11:20 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:11:20 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:11:20 [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:11:21 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:11:21 [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:11:21 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 14:11:21 [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:11:22 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:11:22 [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 14:11:23 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 14:11:23 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 14:11:23 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 14:11:23 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 14:11:23 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 14:11:24 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 14:11:24 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 14:11:25 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 14:11:25 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 14:11:25 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 14:11:25 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 14:11:26 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 14:11:26 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 14:11:26 [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 14:11:26 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 14:11:27 [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:11:27 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:11:27 [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 14:11:28 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:11:29 [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:11:29 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:11:29 [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 14:11:29 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:11:30 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:11:31 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 14:11:31 [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 14:11:31 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 14:11:31 [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:11:32 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 14:11:32 [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:11:33 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:11:33 [ 75%] Linking C shared library libcsdk.so 14:11:33 [ 75%] Built target csdk 14:11:33 Scanning dependencies of target template 14:11:33 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:11:33 [ 78%] Linking C executable template 14:11:34 [ 78%] Built target template 14:11:34 Scanning dependencies of target device-counter 14:11:34 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:11:34 [ 81%] Linking C executable device-counter 14:11:34 [ 81%] Built target device-counter 14:11:34 Scanning dependencies of target device-random 14:11:34 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:11:35 [ 84%] Linking C executable device-random 14:11:35 [ 84%] Built target device-random 14:11:35 Scanning dependencies of target device-gyro 14:11:35 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:11:35 [ 87%] Linking C executable device-gyro 14:11:35 [ 87%] Built target device-gyro 14:11:35 Scanning dependencies of target device-bitfields 14:11:35 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 14:11:36 [ 90%] Linking C executable device-bitfields 14:11:36 [ 90%] Built target device-bitfields 14:11:36 Scanning dependencies of target template-discovery 14:11:36 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:11:36 [ 93%] Linking C executable template-discovery 14:11:36 [ 93%] Built target template-discovery 14:11:36 Scanning dependencies of target device-file 14:11:36 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 14:11:37 [ 96%] Linking C executable device-file 14:11:37 [ 96%] Built target device-file 14:11:37 Scanning dependencies of target device-terminal 14:11:37 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:11:37 [100%] Linking C executable device-terminal 14:11:38 [100%] Built target device-terminal 14:11:38 make: Entering directory '/tmp/sdk/build/release' 14:11:38 make[1]: Entering directory '/tmp/sdk/build/release' 14:11:38 make[2]: Entering directory '/tmp/sdk/build/release' 14:11:38 make[2]: Leaving directory '/tmp/sdk/build/release' 14:11:38 [ 75%] Built target csdk 14:11:38 make[2]: Entering directory '/tmp/sdk/build/release' 14:11:38 make[2]: Leaving directory '/tmp/sdk/build/release' 14:11:38 [ 78%] Built target template 14:11:38 make[2]: Entering directory '/tmp/sdk/build/release' 14:11:38 make[2]: Leaving directory '/tmp/sdk/build/release' 14:11:38 [ 81%] Built target device-counter 14:11:38 make[2]: Entering directory '/tmp/sdk/build/release' 14:11:38 make[2]: Leaving directory '/tmp/sdk/build/release' 14:11:38 [ 84%] Built target device-random 14:11:38 make[2]: Entering directory '/tmp/sdk/build/release' 14:11:38 make[2]: Leaving directory '/tmp/sdk/build/release' 14:11:38 [ 87%] Built target device-gyro 14:11:38 make[2]: Entering directory '/tmp/sdk/build/release' 14:11:38 make[2]: Leaving directory '/tmp/sdk/build/release' 14:11:38 [ 90%] Built target device-bitfields 14:11:38 make[2]: Entering directory '/tmp/sdk/build/release' 14:11:38 make[2]: Leaving directory '/tmp/sdk/build/release' 14:11:38 [ 93%] Built target template-discovery 14:11:38 make[2]: Entering directory '/tmp/sdk/build/release' 14:11:38 make[2]: Leaving directory '/tmp/sdk/build/release' 14:11:38 [ 96%] Built target device-file 14:11:38 make[2]: Entering directory '/tmp/sdk/build/release' 14:11:38 make[2]: Leaving directory '/tmp/sdk/build/release' 14:11:38 [100%] Built target device-terminal 14:11:38 make[1]: Leaving directory '/tmp/sdk/build/release' 14:11:38 Install the project... 14:11:38 -- Install configuration: "Release" 14:11:38 -- Installing: /usr/local/lib/libcsdk.so 14:11:38 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 14:11:38 -- Up-to-date: /usr/local/include 14:11:38 -- Installing: /usr/local/include/edgex 14:11:38 -- Installing: /usr/local/include/edgex/rest-server.h 14:11:38 -- Installing: /usr/local/include/edgex/edgex-base.h 14:11:38 -- Installing: /usr/local/include/edgex/edgex.h 14:11:38 -- Installing: /usr/local/include/edgex/devices.h 14:11:38 -- Installing: /usr/local/include/edgex/profiles.h 14:11:38 -- Installing: /usr/local/include/edgex/csdk-defs.h 14:11:38 -- Installing: /usr/local/include/devsdk 14:11:38 -- Installing: /usr/local/include/devsdk/devsdk-base.h 14:11:38 -- Installing: /usr/local/include/devsdk/devsdk.h 14:11:38 -- Installing: /usr/local/include/iot 14:11:38 -- Installing: /usr/local/include/iot/json.h 14:11:38 -- Installing: /usr/local/include/iot/container.h 14:11:38 -- Installing: /usr/local/include/iot/component.h 14:11:38 -- Installing: /usr/local/include/iot/typecode.h 14:11:38 -- Installing: /usr/local/include/iot/iot.h 14:11:38 -- Installing: /usr/local/include/iot/time.h 14:11:38 -- Installing: /usr/local/include/iot/hash.h 14:11:38 -- Installing: /usr/local/include/iot/logger.h 14:11:38 -- Installing: /usr/local/include/iot/os 14:11:38 -- Installing: /usr/local/include/iot/os/zephyr.h 14:11:38 -- Installing: /usr/local/include/iot/os/linux.h 14:11:38 -- Installing: /usr/local/include/iot/os/macos.h 14:11:38 -- Installing: /usr/local/include/iot/scheduler.h 14:11:38 -- Installing: /usr/local/include/iot/data.h 14:11:38 -- Installing: /usr/local/include/iot/thread.h 14:11:38 -- Installing: /usr/local/include/iot/os.h 14:11:38 -- Installing: /usr/local/include/iot/base64.h 14:11:38 -- Installing: /usr/local/include/iot/defs.h 14:11:38 -- Installing: /usr/local/include/iot/threadpool.h 14:11:38 -- Installing: /usr/local/include/iot/config.h 14:11:38 -- Installing: /usr/local/share/device-sdk-c/LICENSE 14:11:38 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 14:11:38 make: Leaving directory '/tmp/sdk/build/release' 14:11:41 Removing intermediate container b4d8616c38ce 14:11:41 ---> d3cb89c9bb5d 14:11:41 Step 16/25 : FROM ${BASE} 14:11:41 ---> 759262b18b23 14:11:41 Step 17/25 : LABEL maintainer="IOTech " 14:11:41 ---> Running in 99d01e84553c 14:11:42 Removing intermediate container 99d01e84553c 14:11:42 ---> 635479130731 14:11:42 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 14:11:42 ---> Running in c5395987e666 14:11:43 Connecting to iotech.jfrog.io (54.170.66.44:443) 14:11:43 saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 14:11:43 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 14:11:43 '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved 14:11:44 Removing intermediate container c5395987e666 14:11:44 ---> 2b98cfc42647 14:11:44 Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 14:11:45 ---> Running in f3ca8d5caa49 14:11:47 Removing intermediate container f3ca8d5caa49 14:11:47 ---> 162e32749ec4 14:11:47 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 14:11:47 ---> Running in d72b0a5780df 14:11:49 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 14:11:49 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 14:11:49 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 14:11:50 (1/7) Installing curl (7.78.0-r0) 14:11:50 (2/7) Installing hiredis (0.14.1-r0) 14:11:50 (3/7) Installing hiredis-dev (0.14.1-r0) 14:11:50 (4/7) Installing libuuid (2.35.2-r0) 14:11:50 (5/7) Installing paho-mqtt-c-dev (1.3.5-r0) 14:11:52 (6/7) Installing libidn2 (2.3.0-r0) 14:11:52 (7/7) Installing wget (1.20.3-r1) 14:11:52 Executing busybox-1.31.1-r20.trigger 14:11:52 OK: 267 MiB in 82 packages 14:11:54 Removing intermediate container d72b0a5780df 14:11:54 ---> 984d4cbf455b 14:11:54 Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 14:11:55 ---> 13fc05bc5562 14:11:55 Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 14:11:55 ---> c21f8c7bd566 14:11:55 Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib 14:11:56 ---> 3b11cb37ce67 14:11:56 Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 14:11:57 ---> bdff76a15ad5 14:11:57 Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 14:11:58 ---> e360edbe4245 14:11:58 Successfully built e360edbe4245 14:11:58 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:11:59 + docker inspect -f . ci-base-image-arm64 14:11:59 . [Pipeline] withDockerContainer 14:11:59 prd-ubuntu18.04-docker-arm64-4c-16g-977 does not seem to be running inside a container 14:11:59 $ 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 14:12:01 $ docker top 5129951be2a1579127abcb09080f4be963fa099d7839ba00948600ee7992161f -eo pid,comm [Pipeline] { [Pipeline] sh 14:12:02 + make test 14:12:02 echo "make test" 14:12:02 make test [Pipeline] } 14:12:02 $ docker stop --time=1 5129951be2a1579127abcb09080f4be963fa099d7839ba00948600ee7992161f 14:12:04 $ docker rm -f 5129951be2a1579127abcb09080f4be963fa099d7839ba00948600ee7992161f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:12:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:12:08 + ls -al . 14:12:08 total 200 14:12:08 drwxrwxr-x 8 jenkins jenkins 4096 Aug 16 14:08 . 14:12:08 drwxrwxr-x 4 jenkins jenkins 4096 Aug 16 14:08 .. 14:12:08 drwxrwxr-x 8 jenkins jenkins 4096 Aug 16 14:08 .git 14:12:08 drwxrwxr-x 3 jenkins jenkins 4096 Aug 16 14:08 .github 14:12:08 -rw-rw-r-- 1 jenkins jenkins 176 Aug 16 14:08 .gitignore 14:12:08 -rw-rw-r-- 1 jenkins jenkins 3104 Aug 16 14:08 Attribution.txt 14:12:08 -rw-rw-r-- 1 jenkins jenkins 7556 Aug 16 14:08 CHANGES 14:12:08 -rw-rw-r-- 1 jenkins jenkins 108574 Aug 16 14:08 Doxyfile 14:12:08 -rw-rw-r-- 1 jenkins jenkins 677 Aug 16 14:08 GOVERNANCE.md 14:12:08 -rw-rw-r-- 1 jenkins jenkins 784 Aug 16 14:08 Jenkinsfile 14:12:08 -rw-rw-r-- 1 jenkins jenkins 10174 Aug 16 14:08 LICENSE 14:12:08 -rw-rw-r-- 1 jenkins jenkins 444 Aug 16 14:08 Makefile 14:12:08 -rw-rw-r-- 1 jenkins jenkins 618 Aug 16 14:08 OWNERS.md 14:12:08 -rw-rw-r-- 1 jenkins jenkins 4086 Aug 16 14:08 README.md 14:12:08 -rw-rw-r-- 1 jenkins jenkins 7090 Aug 16 14:08 README.v2.md 14:12:08 -rw-rw-r-- 1 jenkins jenkins 5 Aug 16 14:06 VERSION 14:12:08 drwxrwxr-x 2 jenkins jenkins 4096 Aug 16 14:08 docs 14:12:08 drwxrwxr-x 4 jenkins jenkins 4096 Aug 16 14:08 include 14:12:08 drwxrwxr-x 2 jenkins jenkins 4096 Aug 16 14:08 scripts 14:12:08 drwxrwxr-x 4 jenkins jenkins 4096 Aug 16 14:08 src [Pipeline] isUnix [Pipeline] sh 14:12:08 + 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=c8594b023b7b26154ab08a5e478c3913b824877c --label arch=arm64 --label version=0.0.0 . 14:12:09 Sending build context to Docker daemon 2.657MB 14:12:09 Step 1/17 : ARG BASE=alpine:3.12 14:12:09 Step 2/17 : FROM ${BASE} 14:12:09 ---> e360edbe4245 14:12:09 Step 3/17 : LABEL maintainer="IOTech " 14:12:09 ---> Running in aab3310c5420 14:12:10 Removing intermediate container aab3310c5420 14:12:10 ---> bf3972623caa 14:12:10 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 14:12:10 ---> Running in 34a4e38fb5e9 14:12:11 --2021-08-16 14:12:11-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub 14:12:11 Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.229.110.245, 54.170.66.44, 54.195.244.87 14:12:11 Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.229.110.245|:443... connected. 14:12:12 HTTP request sent, awaiting response... 200 OK 14:12:12 Length: 451 [application/octet-stream] 14:12:12 Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 14:12:12  14:12:12 0K    100% 18.5M=0s 14:12:12 14:12:12 2021-08-16 14:12:12 (18.5 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] 14:12:12 14:12:13 Removing intermediate container 34a4e38fb5e9 14:12:13 ---> 9ebf4c2e4957 14:12:13 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 14:12:13 ---> Running in c546f071550f 14:12:16 Removing intermediate container c546f071550f 14:12:16 ---> c409c22e0ec9 14:12:16 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 14:12:16 ---> Running in 513d056f0d30 14:12:17 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 14:12:18 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 14:12:18 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 14:12:19 (1/16) Installing ncurses-dev (6.2_p20200523-r0) 14:12:19 (2/16) Installing libblkid (2.35.2-r0) 14:12:19 (3/16) Installing blkid (2.35.2-r0) 14:12:19 (4/16) Installing libcap-ng (0.7.10-r1) 14:12:19 (5/16) Installing setpriv (2.35.2-r0) 14:12:19 (6/16) Installing libmount (2.35.2-r0) 14:12:19 (7/16) Installing libsmartcols (2.35.2-r0) 14:12:19 (8/16) Installing findmnt (2.35.2-r0) 14:12:19 (9/16) Installing mcookie (2.35.2-r0) 14:12:19 (10/16) Installing hexdump (2.35.2-r0) 14:12:20 (11/16) Installing lsblk (2.35.2-r0) 14:12:20 (12/16) Installing libfdisk (2.35.2-r0) 14:12:20 (13/16) Installing sfdisk (2.35.2-r0) 14:12:20 (14/16) Installing cfdisk (2.35.2-r0) 14:12:20 (15/16) Installing util-linux (2.35.2-r0) 14:12:20 (16/16) Installing util-linux-dev (2.35.2-r0) 14:12:21 Executing busybox-1.31.1-r20.trigger 14:12:21 OK: 276 MiB in 98 packages 14:12:23 Removing intermediate container 513d056f0d30 14:12:23 ---> 0559ff9ee8a5 14:12:23 Step 7/17 : COPY VERSION /edgex-c-sdk/ 14:12:23 ---> 4d2d6ae04621 14:12:23 Step 8/17 : COPY src /edgex-c-sdk/src/ 14:12:25 ---> a2967b852e9f 14:12:25 Step 9/17 : COPY include /edgex-c-sdk/include/ 14:12:25 ---> a294e7685143 14:12:25 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 14:12:26 ---> 0a3b1f8c1f53 14:12:26 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 14:12:27 ---> 44b1b102fc0c 14:12:27 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 14:12:28 ---> 6d763cb59c99 14:12:28 Step 13/17 : WORKDIR /edgex-c-sdk 14:12:28 ---> Running in b1009b9720cd 14:12:29 Removing intermediate container b1009b9720cd 14:12:29 ---> 39397ca8b8b0 14:12:29 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 14:12:29 ---> Running in 0e5f066f86f4 14:12:29 Removing intermediate container 0e5f066f86f4 14:12:29 ---> ffbacb6788a3 14:12:29 Step 15/17 : LABEL arch=arm64 14:12:29 ---> Running in bccd7c82601f 14:12:30 Removing intermediate container bccd7c82601f 14:12:30 ---> 871d3d22ab70 14:12:30 Step 16/17 : LABEL git_sha=c8594b023b7b26154ab08a5e478c3913b824877c 14:12:30 ---> Running in 1687bdf190fb 14:12:30 Removing intermediate container 1687bdf190fb 14:12:30 ---> 93ac6a5bb99a 14:12:30 Step 17/17 : LABEL version=0.0.0 14:12:31 ---> Running in bc74a48cfea1 14:12:31 Removing intermediate container bc74a48cfea1 14:12:31 ---> 5e058a5fc5be 14:12:31 [Warning] One or more build-args [MAKE ARCH] were not consumed 14:12:31 Successfully built 5e058a5fc5be 14:12:31 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 14:12:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:12:32 14:12:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 14:12:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:12:33 arm64: Pulling from edgex-lftools-log-publisher 14:12:33 448f6bf000e3: Pulling fs layer 14:12:33 f757da607395: Pulling fs layer 14:12:33 05883995daec: Pulling fs layer 14:12:33 8603b9c90790: Pulling fs layer 14:12:33 1560dd03e051: Pulling fs layer 14:12:33 27f5ce0e4adf: Pulling fs layer 14:12:33 c2d8d7efcc4b: Pulling fs layer 14:12:33 1560dd03e051: Waiting 14:12:33 27f5ce0e4adf: Waiting 14:12:33 c2d8d7efcc4b: Waiting 14:12:33 8603b9c90790: Waiting 14:12:34 f757da607395: Verifying Checksum 14:12:34 f757da607395: Download complete 14:12:34 8603b9c90790: Verifying Checksum 14:12:34 8603b9c90790: Download complete 14:12:34 1560dd03e051: Verifying Checksum 14:12:34 1560dd03e051: Download complete 14:12:34 27f5ce0e4adf: Verifying Checksum 14:12:34 27f5ce0e4adf: Download complete 14:12:35 05883995daec: Verifying Checksum 14:12:35 05883995daec: Download complete 14:12:35 448f6bf000e3: Verifying Checksum 14:12:35 448f6bf000e3: Download complete 14:12:39 c2d8d7efcc4b: Verifying Checksum 14:12:39 c2d8d7efcc4b: Download complete 14:12:40 448f6bf000e3: Pull complete 14:12:40 f757da607395: Pull complete 14:12:42 05883995daec: Pull complete 14:12:42 8603b9c90790: Pull complete 14:12:43 1560dd03e051: Pull complete 14:12:44 27f5ce0e4adf: Pull complete 14:12:59 c2d8d7efcc4b: Pull complete 14:12:59 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 14:12:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:12:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 14:12:59 prd-ubuntu18.04-docker-arm64-4c-16g-977 does not seem to be running inside a container 14:12:59 $ 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 14:13:05 $ docker top b408904b719bc6152230edad192875635d64e076d186bcd3c2f9337f9086dafd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:13:06 ---> job-cost.sh 14:13:06 lf-activate-venv: SKIPPING 14:13:06 INFO: No Stack... 14:13:07 INFO: Retrieving Pricing Info for: v2-standard-4 14:13:07 INFO: Archiving Costs [Pipeline] sh 14:13:08 + cat /w/workspace/device-sdk-c/1/archives/cost.csv 14:13:08 + cut -d, -f6 [Pipeline] lock 14:13:08 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-366-1-stack-cost] 14:13:08 Resource [jenkins-edgexfoundry-device-sdk-c-PR-366-1-stack-cost] did not exist. Created. 14:13:08 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-366-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:13:10 + echo total: 0.18000000715255737 [Pipeline] stash 14:13:11 Stashed 1 file(s) [Pipeline] } 14:13:11 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-366-1-stack-cost] [Pipeline] // lock [Pipeline] } 14:13:11 $ docker stop --time=1 b408904b719bc6152230edad192875635d64e076d186bcd3c2f9337f9086dafd 14:13:13 $ docker rm -f b408904b719bc6152230edad192875635d64e076d186bcd3c2f9337f9086dafd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 14:16:54 Running on prd-centos7-docker-4c-2g-978 in /w/workspace/edgexfoundry_device-sdk-c_PR-366 [Pipeline] { [Pipeline] ws 14:16:54 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 14:16:54 Selected Git installation does not exist. Using Default 14:16:54 The recommended git tool is: NONE 14:16:57 using credential edgex-jenkins-ssh 14:16:57 Cloning the remote Git repository 14:16:56 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 14:16:56 > git init /w/workspace/device-sdk-c/1 # timeout=10 14:16:57 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 14:16:57 > git --version # timeout=10 14:16:57 > git --version # 'git version 2.24.4' 14:16:57 using GIT_SSH to set credentials SSH Credentials for GitHub 14:16:57 [INFO] Currently running in a labeled security context 14:16:57 [INFO] Currently SELinux is 'enforcing' on the host 14:16:57 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh7124634465830333239.key 14:16:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:16:58 Merging remotes/origin/main commit fa3f1bc6009dfda5647181c893d25c3a20ff6238 into PR head commit c8594b023b7b26154ab08a5e478c3913b824877c 14:16:57 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 14:16:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:16:58 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 14:16:58 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 14:16:58 using GIT_SSH to set credentials SSH Credentials for GitHub 14:16:58 [INFO] Currently running in a labeled security context 14:16:58 [INFO] Currently SELinux is 'enforcing' on the host 14:16:58 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh1568246264573672821.key 14:16:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/366/head:refs/remotes/origin/PR-366 +refs/heads/main:refs/remotes/origin/main # timeout=10 14:16:58 > git config core.sparsecheckout # timeout=10 14:16:58 > git checkout -f c8594b023b7b26154ab08a5e478c3913b824877c # timeout=10 14:16:58 > git remote # timeout=10 14:16:58 > git config --get remote.origin.url # timeout=10 14:16:58 using GIT_SSH to set credentials SSH Credentials for GitHub 14:16:58 [INFO] Currently running in a labeled security context 14:16:58 [INFO] Currently SELinux is 'enforcing' on the host 14:16:58 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh6170667861431935364.key 14:16:58 > git merge fa3f1bc6009dfda5647181c893d25c3a20ff6238 # timeout=10 14:16:58 > git rev-parse HEAD^{commit} # timeout=10 14:16:58 Merge succeeded, producing c8594b023b7b26154ab08a5e478c3913b824877c 14:16:58 Checking out Revision c8594b023b7b26154ab08a5e478c3913b824877c (PR-366) 14:16:58 > git config core.sparsecheckout # timeout=10 14:16:58 > git checkout -f c8594b023b7b26154ab08a5e478c3913b824877c # timeout=10 14:17:02 Commit message: "docs: Add templates for new GitHub issues" 14:17:02 > git --version # timeout=10 14:17:02 > git --version # 'git version 2.24.4' 14:17:02 fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:17:03 provisioning config files... 14:17:03 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config4304794225501784822tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:17:04 ---> docker-login.sh 14:17:04 nexus3.edgexfoundry.org:10001 14:17:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:17:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:17:04 Configure a credential helper to remove this warning. See 14:17:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:17:04 14:17:04 Login Succeeded 14:17:04 nexus3.edgexfoundry.org:10002 14:17:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:17:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:17:04 Configure a credential helper to remove this warning. See 14:17:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:17:04 14:17:04 Login Succeeded 14:17:04 nexus3.edgexfoundry.org:10003 14:17:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:17:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:17:04 Configure a credential helper to remove this warning. See 14:17:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:17:04 14:17:04 Login Succeeded 14:17:04 nexus3.edgexfoundry.org:10004 14:17:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:17:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:17:04 Configure a credential helper to remove this warning. See 14:17:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:17:04 14:17:04 Login Succeeded 14:17:04 docker.io 14:17:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:17:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:17:05 Configure a credential helper to remove this warning. See 14:17:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:17:05 14:17:05 Login Succeeded 14:17:05 ---> docker-login.sh ends [Pipeline] } 14:17:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:17:05 ========================================================= 14:17:05 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 14:17:05 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 14:17:05 + 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 . 14:17:05 Sending build context to Docker daemon 2.658MB 14:17:05 Step 1/25 : ARG BASE=alpine:3.12 14:17:05 Step 2/25 : FROM ${BASE} as builder 14:17:06 latest: Pulling from edgex-devops/edgex-gcc-base 14:17:06 339de151aab4: Pulling fs layer 14:17:06 3691962f683c: Pulling fs layer 14:17:06 e1147bf81a45: Pulling fs layer 14:17:06 3691962f683c: Verifying Checksum 14:17:06 3691962f683c: Download complete 14:17:06 339de151aab4: Verifying Checksum 14:17:06 339de151aab4: Download complete 14:17:06 339de151aab4: Pull complete 14:17:06 3691962f683c: Pull complete 14:17:10 e1147bf81a45: Verifying Checksum 14:17:10 e1147bf81a45: Download complete 14:17:12 e1147bf81a45: Pull complete 14:17:12 Digest: sha256:32c567f17180c4abff101a0d389449dec7f3f623a221c8a8ae98dcac9b0d9fee 14:17:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 14:17:12 ---> ac6a0feb3254 14:17:12 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 14:17:13 ---> Running in 7c7e9e0e6667 14:17:13 Connecting to iotech.jfrog.io (54.229.110.245:443) 14:17:14 saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 14:17:14 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 14:17:14 '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved 14:17:14 Removing intermediate container 7c7e9e0e6667 14:17:14 ---> fe2ee948585e 14:17:14 Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 14:17:14 ---> Running in dfe479d78713 14:17:14 Removing intermediate container dfe479d78713 14:17:14 ---> 165e3784c390 14:17:14 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 14:17:14 ---> Running in 02c0da4b6593 14:17:15 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 14:17:15 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 14:17:16 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 14:17:16 (1/22) Installing hiredis (0.14.1-r0) 14:17:16 (2/22) Installing hiredis-dev (0.14.1-r0) 14:17:16 (3/22) Installing ncurses-dev (6.2_p20200523-r0) 14:17:16 (4/22) Installing paho-mqtt-c-dev (1.3.5-r0) 14:17:18 (5/22) Installing libblkid (2.35.2-r0) 14:17:18 (6/22) Installing blkid (2.35.2-r0) 14:17:18 (7/22) Installing libcap-ng (0.7.10-r1) 14:17:18 (8/22) Installing setpriv (2.35.2-r0) 14:17:18 (9/22) Installing libmount (2.35.2-r0) 14:17:18 (10/22) Installing libsmartcols (2.35.2-r0) 14:17:18 (11/22) Installing findmnt (2.35.2-r0) 14:17:18 (12/22) Installing mcookie (2.35.2-r0) 14:17:18 (13/22) Installing hexdump (2.35.2-r0) 14:17:18 (14/22) Installing lsblk (2.35.2-r0) 14:17:19 (15/22) Installing libuuid (2.35.2-r0) 14:17:19 (16/22) Installing libfdisk (2.35.2-r0) 14:17:19 (17/22) Installing sfdisk (2.35.2-r0) 14:17:19 (18/22) Installing cfdisk (2.35.2-r0) 14:17:19 (19/22) Installing util-linux (2.35.2-r0) 14:17:19 (20/22) Installing util-linux-dev (2.35.2-r0) 14:17:20 (21/22) Installing libidn2 (2.3.0-r0) 14:17:20 (22/22) Installing wget (1.20.3-r1) 14:17:20 Executing busybox-1.31.1-r20.trigger 14:17:20 OK: 295 MiB in 97 packages 14:17:20 Removing intermediate container 02c0da4b6593 14:17:20 ---> b14058bea0f9 14:17:20 Step 6/25 : ENV CBOR_VERSION=0.5.0 14:17:20 ---> Running in d2752cb4ad74 14:17:21 Removing intermediate container d2752cb4ad74 14:17:21 ---> 71fddd61815b 14:17: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 14:17:21 ---> Running in a2c55fd81209 14:17:21 --2021-08-16 14:17:21-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 14:17:21 Resolving github.com (github.com)... 140.82.112.3 14:17:21 Connecting to github.com (github.com)|140.82.112.3|:443... connected. 14:17:21 HTTP request sent, awaiting response... 302 Found 14:17:21 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 14:17:21 --2021-08-16 14:17:21-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 14:17:21 Resolving codeload.github.com (codeload.github.com)... 140.82.112.10 14:17:21 Connecting to codeload.github.com (codeload.github.com)|140.82.112.10|:443... connected. 14:18:00 HTTP request sent, awaiting response... 200 OK 14:18:00 Length: unspecified [application/x-gzip] 14:18:00 Saving to: 'STDOUT' 14:18:00 14:18:00 0K .......... .......... .......... .......... .......... 1.44M 14:18:00 50K .......... .......... .......... .......... .......... 2.81M 14:18:00 100K .......... .......... .......... .......... .......... 43.1M 14:18:00 150K .......... .......... .......... .......... .......... 32.3M 14:18:00 200K .......... .......... .......... .......... .......... 2.88M 14:18:00 250K .......... .......... .......... .......... .......... 8.71M 14:18:00 300K .......... .......... .......... .......... .......... 12.8M 14:18:00 350K .......... .......... .......... .......... .......... 13.6M 14:18:00 400K .......... .......... .......... .......... .......... 9.20M 14:18:00 450K .......... .......... .......... .......... .......... 11.1M 14:18:00 500K .......... .......... .......... .......... .......... 27.0M 14:18:00 550K .......... .......... .......... .......... .......... 706K 14:18:00 600K .......... .......... .......... .......... .......... 3.94M 14:18:00 650K .......... .......... .......... .......... .......... 5.77M 14:18:00 700K .. 102M=0.2s 14:18:00 14:18:00 2021-08-16 14:17:55 (3.66 MB/s) - written to stdout [719348] 14:18:00 14:18:00 -- The C compiler identification is GNU 9.3.0 14:18:00 -- The CXX compiler identification is GNU 9.3.0 14:18:00 -- Check for working C compiler: /usr/bin/cc 14:18:00 -- Check for working C compiler: /usr/bin/cc - works 14:18:00 -- Detecting C compiler ABI info 14:18:00 -- Detecting C compiler ABI info - done 14:18:00 -- Detecting C compile features 14:18:00 -- Detecting C compile features - done 14:18:00 -- Check for working CXX compiler: /usr/bin/c++ 14:18:00 -- Check for working CXX compiler: /usr/bin/c++ - works 14:18:00 -- Detecting CXX compiler ABI info 14:18:00 -- Detecting CXX compiler ABI info - done 14:18:00 -- Detecting CXX compile features 14:18:00 -- Detecting CXX compile features - done 14:18:00 -- Looking for include file endian.h 14:18:00 -- Looking for include file endian.h - found 14:18:00 -- Check if the system is big endian 14:18:00 -- Searching 16 bit integer 14:18:00 -- Looking for sys/types.h 14:18:00 -- Looking for sys/types.h - found 14:18:00 -- Looking for stdint.h 14:18:00 -- Looking for stdint.h - found 14:18:00 -- Looking for stddef.h 14:18:00 -- Looking for stddef.h - found 14:18:00 -- Check size of unsigned short 14:18:00 -- Check size of unsigned short - done 14:18:00 -- Searching 16 bit integer - Using unsigned short 14:18:00 -- Check if the system is big endian - little endian 14:18:00 -- Check size of size_t 14:18:00 -- Check size of size_t - done 14:18:00 CMake Warning at examples/CMakeLists.txt:16 (find_package): 14:18:00 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 14:18:00 asked CMake to find a package configuration file provided by "cJSON", but 14:18:00 CMake did not find one. 14:18:00 14:18:00 Could not find a package configuration file provided by "cJSON" with any of 14:18:00 the following names: 14:18:00 14:18:00 cJSONConfig.cmake 14:18:00 cjson-config.cmake 14:18:00 14:18:00 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 14:18:00 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 14:18:00 provides a separate development package or SDK, be sure it has been 14:18:00 installed. 14:18:00 14:18:00 14:18:00 -- Configuring done 14:18:00 -- Generating done 14:18:00 -- Build files have been written to: /tmp/cbor 14:18:00 Scanning dependencies of target cbor_shared 14:18:00 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 14:18:00 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 14:18:00 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 14:18:00 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 14:18:00 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 14:18:00 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 14:18:00 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 14:18:00 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 14:18:00 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 14:18:00 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 14:18:00 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 14:18:00 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 14:18:00 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 14:18:00 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 14:18:00 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 14:18:00 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 14:18:00 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 14:18:00 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 14:18:00 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 14:18:00 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 14:18:00 [ 40%] Linking C shared library libcbor.so 14:18:00 [ 40%] Built target cbor_shared 14:18:00 Scanning dependencies of target cbor 14:18:00 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 14:18:00 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 14:18:00 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 14:18:00 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 14:18:00 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 14:18:00 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 14:18:00 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 14:18:00 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 14:18:00 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 14:18:00 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 14:18:00 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 14:18:00 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 14:18:00 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 14:18:00 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 14:18:00 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 14:18:00 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 14:18:00 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 14:18:00 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 14:18:00 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 14:18:00 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 14:18:00 [ 80%] Linking C static library libcbor.a 14:18:00 [ 80%] Built target cbor 14:18:00 Scanning dependencies of target sort 14:18:00 [ 82%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 14:18:00 [ 84%] Linking C executable sort 14:18:00 [ 84%] Built target sort 14:18:00 Scanning dependencies of target readfile 14:18:00 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 14:18:00 [ 88%] Linking C executable readfile 14:18:00 [ 88%] Built target readfile 14:18:00 Scanning dependencies of target streaming_parser 14:18:00 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 14:18:00 [ 92%] Linking C executable streaming_parser 14:18:00 [ 92%] Built target streaming_parser 14:18:00 Scanning dependencies of target hello 14:18:00 [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 14:18:00 [ 96%] Linking C executable hello 14:18:00 [ 96%] Built target hello 14:18:00 Scanning dependencies of target create_items 14:18:00 [ 98%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 14:18:00 [100%] Linking C executable create_items 14:18:00 [100%] Built target create_items 14:18:00 Install the project... 14:18:00 -- Install configuration: "Release" 14:18:00 -- Installing: /usr/local/include/cbor/configuration.h 14:18:00 -- Installing: /usr/local/lib64/libcbor.a 14:18:00 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 14:18:00 -- Installing: /usr/local/lib64/libcbor.so.0 14:18:00 -- Installing: /usr/local/lib64/libcbor.so 14:18:00 -- Up-to-date: /usr/local/include/cbor 14:18:00 -- Installing: /usr/local/include/cbor/arrays.h 14:18:00 -- Installing: /usr/local/include/cbor/bytestrings.h 14:18:00 -- Installing: /usr/local/include/cbor/callbacks.h 14:18:00 -- Installing: /usr/local/include/cbor/common.h 14:18:00 -- Installing: /usr/local/include/cbor/data.h 14:18:00 -- Installing: /usr/local/include/cbor/encoding.h 14:18:00 -- Installing: /usr/local/include/cbor/floats_ctrls.h 14:18:00 -- Installing: /usr/local/include/cbor/internal 14:18:00 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 14:18:00 -- Installing: /usr/local/include/cbor/internal/encoders.h 14:18:00 -- Installing: /usr/local/include/cbor/internal/loaders.h 14:18:00 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 14:18:00 -- Installing: /usr/local/include/cbor/internal/stack.h 14:18:00 -- Installing: /usr/local/include/cbor/internal/unicode.h 14:18:00 -- Installing: /usr/local/include/cbor/ints.h 14:18:00 -- Installing: /usr/local/include/cbor/maps.h 14:18:00 -- Installing: /usr/local/include/cbor/serialization.h 14:18:00 -- Installing: /usr/local/include/cbor/streaming.h 14:18:00 -- Installing: /usr/local/include/cbor/strings.h 14:18:00 -- Installing: /usr/local/include/cbor/tags.h 14:18:00 -- Installing: /usr/local/include/cbor.h 14:18:00 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 14:18:00 Removing intermediate container a2c55fd81209 14:18:00 ---> 31da102d8d0e 14:18:00 Step 8/25 : RUN mkdir /tmp/sdk 14:18:01 ---> Running in af3408f277ed 14:18:01 Removing intermediate container af3408f277ed 14:18:01 ---> 6f10baf9b171 14:18:01 Step 9/25 : COPY VERSION /tmp/sdk 14:18:01 ---> eb97759c6bae 14:18:01 Step 10/25 : COPY src /tmp/sdk/src 14:18:01 ---> 405a8ca54954 14:18:01 Step 11/25 : COPY include /tmp/sdk/include 14:18:01 ---> 2201cb11ac66 14:18:01 Step 12/25 : COPY scripts /tmp/sdk/scripts 14:18:02 ---> 7e2d6e6aa779 14:18:02 Step 13/25 : COPY LICENSE /tmp/sdk 14:18:02 ---> 1ee239ff6ab5 14:18:02 Step 14/25 : COPY Attribution.txt /tmp/sdk 14:18:02 ---> bcdeb8efdf04 14:18:02 Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 14:18:02 ---> Running in d6fc83f056ee 14:18:02 + CPPCHECK=false 14:18:02 + DOCGEN=false 14:18:02 + TOMLVER=SDK-0.2 14:18:02 + CUTILVER=1.1.4 14:18:02 + '[' 0 -gt 0 ] 14:18:02 + readlink -f ./scripts/build.sh 14:18:02 + dirname /tmp/sdk/scripts/build.sh 14:18:02 + dirname /tmp/sdk/scripts 14:18:02 + ROOT=/tmp/sdk 14:18:02 + cd /tmp/sdk 14:18:02 + '[' '!' -d deps ] 14:18:02 + mkdir deps 14:18:02 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 14:18:02 + tar -C deps -z -x -f - 14:18:02 --2021-08-16 14:18:02-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 14:18:02 Resolving github.com (github.com)... 140.82.113.4 14:18:02 Connecting to github.com (github.com)|140.82.113.4|:443... connected. 14:18:02 HTTP request sent, awaiting response... 302 Found 14:18:02 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 14:18:02 --2021-08-16 14:18:02-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 14:18:02 Resolving codeload.github.com (codeload.github.com)... 140.82.112.10 14:18:02 Connecting to codeload.github.com (codeload.github.com)|140.82.112.10|:443... connected. 14:18:10 HTTP request sent, awaiting response... 200 OK 14:18:10 Length: unspecified [application/x-gzip] 14:18:10 Saving to: 'STDOUT' 14:18:10 14:18:10 0K .......... ......  957K=0.02s 14:18:10 14:18:10 2021-08-16 14:18:09 (957 KB/s) - written to stdout [16451] 14:18:10 14:18:10 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 14:18:10 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 14:18:10 + tar -C deps -z -x -f - 14:18:10 --2021-08-16 14:18:10-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 14:18:10 Resolving github.com (github.com)... 140.82.113.4 14:18:10 Connecting to github.com (github.com)|140.82.113.4|:443... connected. 14:18:10 HTTP request sent, awaiting response... 302 Found 14:18:10 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] 14:18:10 --2021-08-16 14:18:10-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 14:18:10 Resolving codeload.github.com (codeload.github.com)... 140.82.112.10 14:18:10 Connecting to codeload.github.com (codeload.github.com)|140.82.112.10|:443... connected. 14:18:14 HTTP request sent, awaiting response... 200 OK 14:18:14 Length: unspecified [application/x-gzip] 14:18:14 Saving to: 'STDOUT' 14:18:14 14:18:14 0K .......... .......... .......... .......... .......... 1.48M 14:18:14 50K .......... .......... .......... .......... .......... 2.72M 14:18:14 100K .......... .......... .......... .......... .......... 35.7M 14:18:14 150K .......... .......... ....... 4.04M=0.06s 14:18:14 14:18:14 2021-08-16 14:18:14 (2.94 MB/s) - written to stdout [181796] 14:18:14 14:18:14 + mkdir -p src/c/iot 14:18:14 + cp deps/iotech-c-utils-1.1.4/src/c/base64.c deps/iotech-c-utils-1.1.4/src/c/component.c deps/iotech-c-utils-1.1.4/src/c/config.c deps/iotech-c-utils-1.1.4/src/c/container.c deps/iotech-c-utils-1.1.4/src/c/data.c deps/iotech-c-utils-1.1.4/src/c/hash.c deps/iotech-c-utils-1.1.4/src/c/iot.c deps/iotech-c-utils-1.1.4/src/c/json.c deps/iotech-c-utils-1.1.4/src/c/logger.c deps/iotech-c-utils-1.1.4/src/c/os.c deps/iotech-c-utils-1.1.4/src/c/scheduler.c deps/iotech-c-utils-1.1.4/src/c/thread.c deps/iotech-c-utils-1.1.4/src/c/threadpool.c deps/iotech-c-utils-1.1.4/src/c/time.c deps/iotech-c-utils-1.1.4/src/c/yxml.c src/c/iot 14:18:14 + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot 14:18:14 + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot 14:18:14 + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot 14:18:14 + mkdir -p include/iot 14:18:14 + cp deps/iotech-c-utils-1.1.4/include/iot/base64.h deps/iotech-c-utils-1.1.4/include/iot/component.h deps/iotech-c-utils-1.1.4/include/iot/config.h deps/iotech-c-utils-1.1.4/include/iot/container.h deps/iotech-c-utils-1.1.4/include/iot/data.h deps/iotech-c-utils-1.1.4/include/iot/hash.h deps/iotech-c-utils-1.1.4/include/iot/iot.h deps/iotech-c-utils-1.1.4/include/iot/json.h deps/iotech-c-utils-1.1.4/include/iot/logger.h deps/iotech-c-utils-1.1.4/include/iot/os.h deps/iotech-c-utils-1.1.4/include/iot/scheduler.h deps/iotech-c-utils-1.1.4/include/iot/thread.h deps/iotech-c-utils-1.1.4/include/iot/threadpool.h deps/iotech-c-utils-1.1.4/include/iot/time.h deps/iotech-c-utils-1.1.4/include/iot/typecode.h include/iot 14:18:14 + mkdir -p include/iot/os 14:18:14 + cp deps/iotech-c-utils-1.1.4/include/iot/os/linux.h deps/iotech-c-utils-1.1.4/include/iot/os/macos.h deps/iotech-c-utils-1.1.4/include/iot/os/zephyr.h include/iot/os 14:18:14 + mkdir -p /tmp/sdk/build/release 14:18:14 + cd /tmp/sdk/build/release 14:18:14 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 14:18:14 -- The C compiler identification is GNU 9.3.0 14:18:14 -- Check for working C compiler: /usr/bin/cc 14:18:14 -- Check for working C compiler: /usr/bin/cc - works 14:18:14 -- Detecting C compiler ABI info 14:18:14 -- Detecting C compiler ABI info - done 14:18:14 -- Detecting C compile features 14:18:14 -- Detecting C compile features - done 14:18:14 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:18:14 -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") 14:18:14 -- Found LIBYAML: /usr/lib/libyaml.so 14:18:14 -- Found LIBUUID: /usr/lib/libuuid.so 14:18:14 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 14:18:14 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 14:18:14 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 14:18:14 -- C SDK 0.0.0 for Linux 14:18:14 -- Performing Test CSDK_HAVE_ATOMIC 14:18:14 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:18:14 -- Found Curses: /usr/lib/libcurses.so 14:18:14 -- Configuring done 14:18:14 -- Generating done 14:18:14 -- Build files have been written to: /tmp/sdk/build/release 14:18:14 + tee release.log 14:18:14 + make all package 14:18:14 Scanning dependencies of target csdk 14:18:14 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:18:14 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 14:18:15 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:18:15 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:18:15 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:18:15 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 14:18:15 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 14:18:15 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 14:18:15 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:18:15 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:18:16 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:18:16 [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:18:16 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:18:16 [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:18:16 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 14:18:16 [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:18:16 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:18:17 [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 14:18:17 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 14:18:17 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 14:18:17 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 14:18:17 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 14:18:17 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 14:18:18 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 14:18:18 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 14:18:18 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 14:18:18 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 14:18:18 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 14:18:18 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 14:18:18 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 14:18:18 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 14:18:18 [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 14:18:18 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 14:18:19 [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:18:19 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:18:19 [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 14:18:19 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:18:20 [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:18:20 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:18:20 [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 14:18:20 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:18:20 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:18:21 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 14:18:21 [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 14:18:21 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 14:18:21 [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:18:21 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 14:18:22 [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:18:22 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:18:22 [ 75%] Linking C shared library libcsdk.so 14:18:22 [ 75%] Built target csdk 14:18:22 Scanning dependencies of target template 14:18:22 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:18:22 [ 78%] Linking C executable template 14:18:22 [ 78%] Built target template 14:18:22 Scanning dependencies of target device-counter 14:18:22 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:18:22 [ 81%] Linking C executable device-counter 14:18:22 [ 81%] Built target device-counter 14:18:22 Scanning dependencies of target device-random 14:18:22 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:18:22 [ 84%] Linking C executable device-random 14:18:22 [ 84%] Built target device-random 14:18:22 Scanning dependencies of target device-gyro 14:18:22 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:18:23 [ 87%] Linking C executable device-gyro 14:18:23 [ 87%] Built target device-gyro 14:18:23 Scanning dependencies of target device-bitfields 14:18:23 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 14:18:23 [ 90%] Linking C executable device-bitfields 14:18:23 [ 90%] Built target device-bitfields 14:18:23 Scanning dependencies of target template-discovery 14:18:23 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:18:23 [ 93%] Linking C executable template-discovery 14:18:23 [ 93%] Built target template-discovery 14:18:23 Scanning dependencies of target device-file 14:18:23 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 14:18:23 [ 96%] Linking C executable device-file 14:18:23 [ 96%] Built target device-file 14:18:23 Scanning dependencies of target device-terminal 14:18:23 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:18:23 [100%] Linking C executable device-terminal 14:18:24 [100%] Built target device-terminal 14:18:24 Run CPack packaging tool... 14:18:24 CPack: Create package using TGZ 14:18:24 CPack: Install projects 14:18:24 CPack: - Run preinstall target for: Csdk 14:18:24 CPack: - Install project: Csdk [] 14:18:24 CPack: Create package 14:18:24 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 14:18:24 + '[' false '=' true ] 14:18:24 + '[' false '=' true ] 14:18:24 + mkdir -p /tmp/sdk/build/debug 14:18:24 + cd /tmp/sdk/build/debug 14:18:24 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 14:18:24 -- The C compiler identification is GNU 9.3.0 14:18:24 -- Check for working C compiler: /usr/bin/cc 14:18:24 -- Check for working C compiler: /usr/bin/cc - works 14:18:24 -- Detecting C compiler ABI info 14:18:24 -- Detecting C compiler ABI info - done 14:18:24 -- Detecting C compile features 14:18:24 -- Detecting C compile features - done 14:18:24 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:18:24 -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") 14:18:24 -- Found LIBYAML: /usr/lib/libyaml.so 14:18:24 -- Found LIBUUID: /usr/lib/libuuid.so 14:18:24 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 14:18:24 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 14:18:24 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 14:18:24 -- C SDK 0.0.0 for Linux 14:18:24 -- Performing Test CSDK_HAVE_ATOMIC 14:18:24 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:18:24 -- Found Curses: /usr/lib/libcurses.so 14:18:24 -- Configuring done 14:18:24 -- Generating done 14:18:24 -- Build files have been written to: /tmp/sdk/build/debug 14:18:24 + make 14:18:24 + tee debug.log 14:18:24 Scanning dependencies of target csdk 14:18:24 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:18:24 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 14:18:24 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:18:24 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:18:24 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:18:25 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 14:18:25 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 14:18:25 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 14:18:25 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:18:25 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:18:25 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:18:25 [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:18:25 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:18:25 [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:18:25 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 14:18:25 [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:18:25 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:18:25 [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 14:18:25 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 14:18:25 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 14:18:25 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 14:18:25 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 14:18:26 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 14:18:26 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 14:18:26 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 14:18:26 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 14:18:26 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 14:18:26 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 14:18:26 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 14:18:26 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 14:18:26 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 14:18:26 [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 14:18:26 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 14:18:26 [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:18:26 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:18:27 [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 14:18:27 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:18:27 [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:18:27 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:18:27 [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 14:18:27 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:18:27 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:18:27 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 14:18:27 [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 14:18:27 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 14:18:27 [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:18:27 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 14:18:28 [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:18:28 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:18:28 [ 75%] Linking C shared library libcsdk.so 14:18:28 [ 75%] Built target csdk 14:18:28 Scanning dependencies of target template 14:18:28 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:18:28 [ 78%] Linking C executable template 14:18:28 [ 78%] Built target template 14:18:28 Scanning dependencies of target device-counter 14:18:28 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:18:28 [ 81%] Linking C executable device-counter 14:18:28 [ 81%] Built target device-counter 14:18:28 Scanning dependencies of target device-random 14:18:28 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:18:28 [ 84%] Linking C executable device-random 14:18:28 [ 84%] Built target device-random 14:18:28 Scanning dependencies of target device-gyro 14:18:28 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:18:28 [ 87%] Linking C executable device-gyro 14:18:28 [ 87%] Built target device-gyro 14:18:28 Scanning dependencies of target device-bitfields 14:18:28 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 14:18:28 [ 90%] Linking C executable device-bitfields 14:18:28 [ 90%] Built target device-bitfields 14:18:28 Scanning dependencies of target template-discovery 14:18:28 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:18:28 [ 93%] Linking C executable template-discovery 14:18:28 [ 93%] Built target template-discovery 14:18:28 Scanning dependencies of target device-file 14:18:28 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 14:18:29 [ 96%] Linking C executable device-file 14:18:29 [ 96%] Built target device-file 14:18:29 Scanning dependencies of target device-terminal 14:18:29 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:18:29 [100%] Linking C executable device-terminal 14:18:29 [100%] Built target device-terminal 14:18:29 make: Entering directory '/tmp/sdk/build/release' 14:18:29 make[1]: Entering directory '/tmp/sdk/build/release' 14:18:29 make[2]: Entering directory '/tmp/sdk/build/release' 14:18:29 make[2]: Leaving directory '/tmp/sdk/build/release' 14:18:29 [ 75%] Built target csdk 14:18:29 make[2]: Entering directory '/tmp/sdk/build/release' 14:18:29 make[2]: Leaving directory '/tmp/sdk/build/release' 14:18:29 [ 78%] Built target template 14:18:29 make[2]: Entering directory '/tmp/sdk/build/release' 14:18:29 make[2]: Leaving directory '/tmp/sdk/build/release' 14:18:29 [ 81%] Built target device-counter 14:18:29 make[2]: Entering directory '/tmp/sdk/build/release' 14:18:29 make[2]: Leaving directory '/tmp/sdk/build/release' 14:18:29 [ 84%] Built target device-random 14:18:29 make[2]: Entering directory '/tmp/sdk/build/release' 14:18:29 make[2]: Leaving directory '/tmp/sdk/build/release' 14:18:29 [ 87%] Built target device-gyro 14:18:29 make[2]: Entering directory '/tmp/sdk/build/release' 14:18:29 make[2]: Leaving directory '/tmp/sdk/build/release' 14:18:29 [ 90%] Built target device-bitfields 14:18:29 make[2]: Entering directory '/tmp/sdk/build/release' 14:18:29 make[2]: Leaving directory '/tmp/sdk/build/release' 14:18:29 [ 93%] Built target template-discovery 14:18:29 make[2]: Entering directory '/tmp/sdk/build/release' 14:18:29 make[2]: Leaving directory '/tmp/sdk/build/release' 14:18:29 [ 96%] Built target device-file 14:18:29 make[2]: Entering directory '/tmp/sdk/build/release' 14:18:29 make[2]: Leaving directory '/tmp/sdk/build/release' 14:18:29 [100%] Built target device-terminal 14:18:29 make[1]: Leaving directory '/tmp/sdk/build/release' 14:18:29 Install the project... 14:18:29 -- Install configuration: "Release" 14:18:29 -- Installing: /usr/local/lib/libcsdk.so 14:18:29 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 14:18:29 -- Up-to-date: /usr/local/include 14:18:29 -- Installing: /usr/local/include/devsdk 14:18:29 -- Installing: /usr/local/include/devsdk/devsdk-base.h 14:18:29 -- Installing: /usr/local/include/devsdk/devsdk.h 14:18:29 -- Installing: /usr/local/include/edgex 14:18:29 -- Installing: /usr/local/include/edgex/devices.h 14:18:29 -- Installing: /usr/local/include/edgex/edgex-base.h 14:18:29 -- Installing: /usr/local/include/edgex/edgex.h 14:18:29 -- Installing: /usr/local/include/edgex/profiles.h 14:18:29 -- Installing: /usr/local/include/edgex/rest-server.h 14:18:29 -- Installing: /usr/local/include/edgex/csdk-defs.h 14:18:29 -- Installing: /usr/local/include/iot 14:18:29 -- Installing: /usr/local/include/iot/base64.h 14:18:29 -- Installing: /usr/local/include/iot/component.h 14:18:29 -- Installing: /usr/local/include/iot/config.h 14:18:29 -- Installing: /usr/local/include/iot/container.h 14:18:29 -- Installing: /usr/local/include/iot/data.h 14:18:29 -- Installing: /usr/local/include/iot/hash.h 14:18:29 -- Installing: /usr/local/include/iot/iot.h 14:18:29 -- Installing: /usr/local/include/iot/json.h 14:18:29 -- Installing: /usr/local/include/iot/logger.h 14:18:29 -- Installing: /usr/local/include/iot/os.h 14:18:29 -- Installing: /usr/local/include/iot/scheduler.h 14:18:29 -- Installing: /usr/local/include/iot/thread.h 14:18:29 -- Installing: /usr/local/include/iot/threadpool.h 14:18:29 -- Installing: /usr/local/include/iot/time.h 14:18:29 -- Installing: /usr/local/include/iot/typecode.h 14:18:29 -- Installing: /usr/local/include/iot/os 14:18:29 -- Installing: /usr/local/include/iot/os/linux.h 14:18:29 -- Installing: /usr/local/include/iot/os/macos.h 14:18:29 -- Installing: /usr/local/include/iot/os/zephyr.h 14:18:29 -- Installing: /usr/local/include/iot/defs.h 14:18:29 -- Installing: /usr/local/share/device-sdk-c/LICENSE 14:18:29 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 14:18:29 make: Leaving directory '/tmp/sdk/build/release' 14:18:30 Removing intermediate container d6fc83f056ee 14:18:30 ---> 1c928d74165b 14:18:30 Step 16/25 : FROM ${BASE} 14:18:30 ---> ac6a0feb3254 14:18:30 Step 17/25 : LABEL maintainer="IOTech " 14:18:30 ---> Running in 734fda64a77f 14:18:30 Removing intermediate container 734fda64a77f 14:18:30 ---> 829d9eaa76ae 14:18:30 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 14:18:30 ---> Running in ffc52e746283 14:18:30 Connecting to iotech.jfrog.io (54.229.110.245:443) 14:18:30 saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 14:18:30 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 14:18:30 '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved 14:18:31 Removing intermediate container ffc52e746283 14:18:31 ---> 0117362100bc 14:18:31 Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 14:18:31 ---> Running in 3753d81400da 14:18:31 Removing intermediate container 3753d81400da 14:18:31 ---> 7712d524a75e 14:18:31 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 14:18:31 ---> Running in 230fb259cb94 14:18:31 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 14:18:32 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 14:18:33 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 14:18:33 (1/7) Installing curl (7.78.0-r0) 14:18:33 (2/7) Installing hiredis (0.14.1-r0) 14:18:34 (3/7) Installing hiredis-dev (0.14.1-r0) 14:18:34 (4/7) Installing libuuid (2.35.2-r0) 14:18:34 (5/7) Installing paho-mqtt-c-dev (1.3.5-r0) 14:18:35 (6/7) Installing libidn2 (2.3.0-r0) 14:18:35 (7/7) Installing wget (1.20.3-r1) 14:18:35 Executing busybox-1.31.1-r20.trigger 14:18:35 OK: 286 MiB in 82 packages 14:18:36 Removing intermediate container 230fb259cb94 14:18:36 ---> 39c2bc37e2ca 14:18:36 Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 14:18:36 ---> 4e9341e97187 14:18:36 Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 14:18:36 ---> 76f0b25abacf 14:18:36 Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib 14:18:36 ---> 8309e97749a3 14:18:36 Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 14:18:36 ---> eacb06867911 14:18:36 Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 14:18:37 ---> b31e22b75a58 14:18:37 Successfully built b31e22b75a58 14:18:37 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 14:18:37 + docker inspect -f . ci-base-image-x86_64 14:18:37 . [Pipeline] withDockerContainer 14:18:37 prd-centos7-docker-4c-2g-978 does not seem to be running inside a container 14:18:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 14:18:38 $ docker top c7bc7d155d777aaaf7083707131545248ab854ad372e6fc3c2bb87a6eb849fa7 -eo pid,comm [Pipeline] { [Pipeline] sh 14:18:38 + make test 14:18:38 echo "make test" 14:18:38 make test [Pipeline] } 14:18:38 $ docker stop --time=1 c7bc7d155d777aaaf7083707131545248ab854ad372e6fc3c2bb87a6eb849fa7 14:18:39 $ docker rm -f c7bc7d155d777aaaf7083707131545248ab854ad372e6fc3c2bb87a6eb849fa7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:18:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:18:40 + ls -al . 14:18:40 total 172 14:18:40 drwxrwxr-x. 8 jenkins jenkins 4096 Aug 16 14:16 . 14:18:40 drwxrwxr-x. 4 jenkins jenkins 28 Aug 16 14:16 .. 14:18:40 -rw-rw-r--. 1 jenkins jenkins 3104 Aug 16 14:16 Attribution.txt 14:18:40 -rw-rw-r--. 1 jenkins jenkins 7556 Aug 16 14:16 CHANGES 14:18:40 drwxrwxr-x. 2 jenkins jenkins 121 Aug 16 14:16 docs 14:18:40 -rw-rw-r--. 1 jenkins jenkins 108574 Aug 16 14:16 Doxyfile 14:18:40 drwxrwxr-x. 8 jenkins jenkins 179 Aug 16 14:17 .git 14:18:40 drwxrwxr-x. 3 jenkins jenkins 103 Aug 16 14:16 .github 14:18:40 -rw-rw-r--. 1 jenkins jenkins 176 Aug 16 14:16 .gitignore 14:18:40 -rw-rw-r--. 1 jenkins jenkins 677 Aug 16 14:16 GOVERNANCE.md 14:18:40 drwxrwxr-x. 4 jenkins jenkins 33 Aug 16 14:16 include 14:18:40 -rw-rw-r--. 1 jenkins jenkins 784 Aug 16 14:16 Jenkinsfile 14:18:40 -rw-rw-r--. 1 jenkins jenkins 10174 Aug 16 14:16 LICENSE 14:18:40 -rw-rw-r--. 1 jenkins jenkins 444 Aug 16 14:16 Makefile 14:18:40 -rw-rw-r--. 1 jenkins jenkins 618 Aug 16 14:16 OWNERS.md 14:18:40 -rw-rw-r--. 1 jenkins jenkins 4086 Aug 16 14:16 README.md 14:18:40 -rw-rw-r--. 1 jenkins jenkins 7090 Aug 16 14:16 README.v2.md 14:18:40 drwxrwxr-x. 2 jenkins jenkins 98 Aug 16 14:16 scripts 14:18:40 drwxrwxr-x. 4 jenkins jenkins 50 Aug 16 14:16 src 14:18:40 -rw-rw-r--. 1 jenkins jenkins 5 Aug 16 14:06 VERSION [Pipeline] isUnix [Pipeline] sh 14:18:41 + 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=c8594b023b7b26154ab08a5e478c3913b824877c --label arch=amd64 --label version=0.0.0 . 14:18:41 Sending build context to Docker daemon 2.658MB 14:18:41 Step 1/17 : ARG BASE=alpine:3.12 14:18:41 Step 2/17 : FROM ${BASE} 14:18:41 ---> b31e22b75a58 14:18:41 Step 3/17 : LABEL maintainer="IOTech " 14:18:41 ---> Running in 17da776adcc1 14:18:41 Removing intermediate container 17da776adcc1 14:18:41 ---> 8dcbf93ffe09 14:18:41 Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub 14:18:41 ---> Running in ad2421f4e5d2 14:18:41 --2021-08-16 14:18:41-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub 14:18:41 Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.170.66.44, 54.229.110.245, 54.195.244.87 14:18:41 Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.170.66.44|:443... connected. 14:18:42 HTTP request sent, awaiting response... 200 OK 14:18:42 Length: 451 [application/octet-stream] 14:18:42 Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 14:18:42 14:18:42 0K 100% 53.3M=0s 14:18:42 14:18:42 2021-08-16 14:18:42 (53.3 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] 14:18:42 14:18:42 Removing intermediate container ad2421f4e5d2 14:18:42 ---> 8422ac58a4be 14:18:42 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 14:18:42 ---> Running in 5892e4e63525 14:18:42 Removing intermediate container 5892e4e63525 14:18:42 ---> f486fde1fd7b 14:18:42 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 14:18:42 ---> Running in c2e3489eed24 14:18:42 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 14:18:43 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 14:18:43 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 14:18:44 (1/16) Installing ncurses-dev (6.2_p20200523-r0) 14:18:44 (2/16) Installing libblkid (2.35.2-r0) 14:18:44 (3/16) Installing blkid (2.35.2-r0) 14:18:44 (4/16) Installing libcap-ng (0.7.10-r1) 14:18:44 (5/16) Installing setpriv (2.35.2-r0) 14:18:44 (6/16) Installing libmount (2.35.2-r0) 14:18:44 (7/16) Installing libsmartcols (2.35.2-r0) 14:18:45 (8/16) Installing findmnt (2.35.2-r0) 14:18:45 (9/16) Installing mcookie (2.35.2-r0) 14:18:45 (10/16) Installing hexdump (2.35.2-r0) 14:18:45 (11/16) Installing lsblk (2.35.2-r0) 14:18:45 (12/16) Installing libfdisk (2.35.2-r0) 14:18:45 (13/16) Installing sfdisk (2.35.2-r0) 14:18:45 (14/16) Installing cfdisk (2.35.2-r0) 14:18:45 (15/16) Installing util-linux (2.35.2-r0) 14:18:45 (16/16) Installing util-linux-dev (2.35.2-r0) 14:18:46 Executing busybox-1.31.1-r20.trigger 14:18:46 OK: 295 MiB in 98 packages 14:18:46 Removing intermediate container c2e3489eed24 14:18:46 ---> 381fdd6e5abb 14:18:46 Step 7/17 : COPY VERSION /edgex-c-sdk/ 14:18:46 ---> 06203ec866ec 14:18:46 Step 8/17 : COPY src /edgex-c-sdk/src/ 14:18:46 ---> d32dfec4b969 14:18:46 Step 9/17 : COPY include /edgex-c-sdk/include/ 14:18:46 ---> 1887ddfb4983 14:18:46 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 14:18:46 ---> cf9076976bf9 14:18:46 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 14:18:47 ---> 3263ab54aa22 14:18:47 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 14:18:47 ---> d25e1e529d45 14:18:47 Step 13/17 : WORKDIR /edgex-c-sdk 14:18:47 ---> Running in 0b51f1f7cde8 14:18:47 Removing intermediate container 0b51f1f7cde8 14:18:47 ---> aaf22a672efd 14:18:47 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 14:18:47 ---> Running in 3bd3cba9a4e7 14:18:47 Removing intermediate container 3bd3cba9a4e7 14:18:47 ---> 73bd827fa16f 14:18:47 Step 15/17 : LABEL arch=amd64 14:18:47 ---> Running in b96cfa444cae 14:18:47 Removing intermediate container b96cfa444cae 14:18:47 ---> 3c37ec405f2e 14:18:47 Step 16/17 : LABEL git_sha=c8594b023b7b26154ab08a5e478c3913b824877c 14:18:47 ---> Running in a3c0148bebdb 14:18:47 Removing intermediate container a3c0148bebdb 14:18:47 ---> e414be83f350 14:18:47 Step 17/17 : LABEL version=0.0.0 14:18:47 ---> Running in e43727e64f5d 14:18:47 Removing intermediate container e43727e64f5d 14:18:47 ---> 311f8ce40bdc 14:18:47 [Warning] One or more build-args [ARCH MAKE] were not consumed 14:18:47 Successfully built 311f8ce40bdc 14:18:47 Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:18:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:18:48 14:18:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 14:18:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:18:49 latest: Pulling from edgex-lftools-log-publisher 14:18:49 b4d181a07f80: Pulling fs layer 14:18:49 a1111a8f2ec3: Pulling fs layer 14:18:49 ed53099fbce6: Pulling fs layer 14:18:49 dc539afda2c1: Pulling fs layer 14:18:49 77bc0d833cb6: Pulling fs layer 14:18:49 9065ff56babe: Pulling fs layer 14:18:49 d287ab97295c: Pulling fs layer 14:18:49 77bc0d833cb6: Waiting 14:18:49 9065ff56babe: Waiting 14:18:49 d287ab97295c: Waiting 14:18:49 dc539afda2c1: Waiting 14:18:49 a1111a8f2ec3: Verifying Checksum 14:18:49 a1111a8f2ec3: Download complete 14:18:49 dc539afda2c1: Verifying Checksum 14:18:49 dc539afda2c1: Download complete 14:18:49 77bc0d833cb6: Verifying Checksum 14:18:49 77bc0d833cb6: Download complete 14:18:50 9065ff56babe: Verifying Checksum 14:18:50 9065ff56babe: Download complete 14:18:50 ed53099fbce6: Verifying Checksum 14:18:50 ed53099fbce6: Download complete 14:18:51 b4d181a07f80: Verifying Checksum 14:18:51 b4d181a07f80: Download complete 14:18:52 b4d181a07f80: Pull complete 14:18:52 a1111a8f2ec3: Pull complete 14:18:52 ed53099fbce6: Pull complete 14:18:53 dc539afda2c1: Pull complete 14:18:53 77bc0d833cb6: Pull complete 14:18:53 9065ff56babe: Pull complete 14:18:55 d287ab97295c: Verifying Checksum 14:18:55 d287ab97295c: Download complete 14:18:59 d287ab97295c: Pull complete 14:18:59 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 14:18:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:18:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 14:18:59 prd-centos7-docker-4c-2g-978 does not seem to be running inside a container 14:18:59 $ 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:latest cat 14:19:02 $ docker top 651842b18ad9782f60bbb57c2d720b49baf6c5b2f4332de3fd785b57bf34ffd8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:19:03 ---> job-cost.sh 14:19:03 lf-activate-venv: SKIPPING 14:19:03 INFO: No Stack... 14:19:03 INFO: Retrieving Pricing Info for: v3-standard-2 14:19:04 INFO: Archiving Costs [Pipeline] sh 14:19:04 + cat /w/workspace/device-sdk-c/1/archives/cost.csv 14:19:04 + cut -d, -f6 [Pipeline] lock 14:19:04 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-366-1-stack-cost] 14:19:04 Resource [jenkins-edgexfoundry-device-sdk-c-PR-366-1-stack-cost] did not exist. Created. 14:19:04 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-366-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:19:05 /w/workspace/device-sdk-c/1@tmp/durable-45928a7e/script.sh: 1: /w/workspace/device-sdk-c/1@tmp/durable-45928a7e/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 14:19:05 + echo total: 0.05999999865889549 [Pipeline] stash 14:19:05 Warning: overwriting stash ‘stack-cost’ 14:19:05 Stashed 1 file(s) [Pipeline] } 14:19:05 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-366-1-stack-cost] [Pipeline] // lock [Pipeline] } 14:19:05 $ docker stop --time=1 651842b18ad9782f60bbb57c2d720b49baf6c5b2f4332de3fd785b57bf34ffd8 14:19:06 $ docker rm -f 651842b18ad9782f60bbb57c2d720b49baf6c5b2f4332de3fd785b57bf34ffd8 [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 14:19:08 + '[' -d /w/workspace/edgexfoundry_device-sdk-c_PR-366/archives ']' [Pipeline] libraryResource [Pipeline] sh 14:19:09 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:19:09 ---> package-listing.sh 14:19:09 ++ facter osfamily 14:19:09 ++ tr '[:upper:]' '[:lower:]' 14:19:09 + OS_FAMILY=redhat 14:19:09 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-366 14:19:09 + START_PACKAGES=/tmp/packages_start.txt 14:19:09 + END_PACKAGES=/tmp/packages_end.txt 14:19:09 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:19:09 + PACKAGES=/tmp/packages_start.txt 14:19:09 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-366 ']' 14:19:09 + PACKAGES=/tmp/packages_end.txt 14:19:09 + case "${OS_FAMILY}" in 14:19:09 + rpm -qa 14:19:09 + sort 14:19:10 + '[' -f /tmp/packages_start.txt ']' 14:19:10 + '[' -f /tmp/packages_end.txt ']' 14:19:10 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:19:10 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-366 ']' 14:19:10 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-366/archives/ 14:19:10 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-366/archives/ [Pipeline] echo 14:19:10 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-366/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 14:19:10 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 14:19:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:19:11 14:19:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 14:19:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:19:12 latest: Pulling from edgex-lftools-log-publisher 14:19:12 b4d181a07f80: Pulling fs layer 14:19:12 a1111a8f2ec3: Pulling fs layer 14:19:12 ed53099fbce6: Pulling fs layer 14:19:12 dc539afda2c1: Pulling fs layer 14:19:12 77bc0d833cb6: Pulling fs layer 14:19:12 9065ff56babe: Pulling fs layer 14:19:12 d287ab97295c: Pulling fs layer 14:19:12 dc539afda2c1: Waiting 14:19:12 77bc0d833cb6: Waiting 14:19:12 9065ff56babe: Waiting 14:19:12 d287ab97295c: Waiting 14:19:12 a1111a8f2ec3: Verifying Checksum 14:19:12 a1111a8f2ec3: Download complete 14:19:12 dc539afda2c1: Verifying Checksum 14:19:12 dc539afda2c1: Download complete 14:19:12 77bc0d833cb6: Verifying Checksum 14:19:12 77bc0d833cb6: Download complete 14:19:12 9065ff56babe: Verifying Checksum 14:19:12 9065ff56babe: Download complete 14:19:13 ed53099fbce6: Verifying Checksum 14:19:13 ed53099fbce6: Download complete 14:19:14 b4d181a07f80: Verifying Checksum 14:19:14 b4d181a07f80: Download complete 14:19:15 b4d181a07f80: Pull complete 14:19:15 a1111a8f2ec3: Pull complete 14:19:16 ed53099fbce6: Pull complete 14:19:16 dc539afda2c1: Pull complete 14:19:16 77bc0d833cb6: Pull complete 14:19:16 9065ff56babe: Pull complete 14:19:20 d287ab97295c: Verifying Checksum 14:19:20 d287ab97295c: Download complete 14:19:25 d287ab97295c: Pull complete 14:19:25 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 14:19:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:19:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 14:19:25 prd-centos7-docker-4c-2g-976 does not seem to be running inside a container 14:19:25 $ 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-366/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-366 -v /w/workspace/edgexfoundry_device-sdk-c_PR-366:/w/workspace/edgexfoundry_device-sdk-c_PR-366:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-366@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-366@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 14:19:27 $ docker top ad37a058372dc65da787d9a3c82258f50511ac8dc29189ba189d0a1e6e1dc4ba -eo pid,comm [Pipeline] { [Pipeline] sh 14:19:27 + touch /tmp/pre-build-complete [Pipeline] sh 14:19:27 + mkdir -p /var/log/sysstat [Pipeline] sh 14:19:28 + ls /var/log/sa-host 14:19:28 + sadf -c /var/log/sa-host/sa05 14:19:28 file_magic: OK 14:19:28 HZ: Using current value: 100 14:19:28 file_header: OK 14:19:28 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 14:19:28 Statistics: 14:19:28 Hnuu...uuuununununu...Hnuu...uuuununununu... 14:19:28 File successfully converted to sysstat format version 12.0.3 14:19:28 + sadf -c /var/log/sa-host/sa16 14:19:28 file_magic: OK 14:19:28 HZ: Using current value: 100 14:19:28 file_header: OK 14:19:28 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 14:19:28 Statistics: 14:19:28 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 14:19:28 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:19:28 provisioning config files... 14:19:29 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-366@tmp/config7024172793793766304tmp [Pipeline] { [Pipeline] echo 14:19:29 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:19:29 ---> create-netrc.sh [Pipeline] } 14:19:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:19:29 ---> python-tools-install.sh [Pipeline] echo 14:19:30 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:19:30 ---> sudo-logs.sh 14:19:30 Archiving 'sudo' log.. 14:19:30 sudo: unable to resolve host prd-centos7-docker-4c-2g-976.vexxhost.local: Name or service not known 14:19:30 sudo: unable to resolve host prd-centos7-docker-4c-2g-976.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo 14:19:30 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:19:31 ---> job-cost.sh 14:19:31 lf-activate-venv: SKIPPING 14:19:31 DEBUG: total: 0.05999999865889549 14:19:31 INFO: Retrieving Stack Cost... 14:19:32 INFO: Retrieving Pricing Info for: v3-standard-2 14:19:32 INFO: Archiving Costs [Pipeline] echo 14:19:32 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:19:32 ---> logs-deploy.sh 14:19:32 lf-activate-venv: SKIPPING 14:19:32 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-366/1 14:19:32 INFO: archiving workspace using pattern(s): 14:19:33 Archives upload complete. 14:19:33 INFO: archiving logs to Nexus 14:19:34 ---> uname -a: 14:19:34 Linux prd-centos7-docker-4c-2g-976.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 14:19:34 14:19:34 14:19:34 ---> lscpu: 14:19:34 Architecture: x86_64 14:19:34 CPU op-mode(s): 32-bit, 64-bit 14:19:34 Byte Order: Little Endian 14:19:34 Address sizes: 40 bits physical, 48 bits virtual 14:19:34 CPU(s): 2 14:19:34 On-line CPU(s) list: 0,1 14:19:34 Thread(s) per core: 1 14:19:34 Core(s) per socket: 1 14:19:34 Socket(s): 2 14:19:34 NUMA node(s): 1 14:19:34 Vendor ID: AuthenticAMD 14:19:34 CPU family: 23 14:19:34 Model: 49 14:19:34 Model name: AMD EPYC-Rome Processor 14:19:34 Stepping: 0 14:19:34 CPU MHz: 2800.000 14:19:34 BogoMIPS: 5600.00 14:19:34 Virtualization: AMD-V 14:19:34 Hypervisor vendor: KVM 14:19:34 Virtualization type: full 14:19:34 L1d cache: 32K 14:19:34 L1i cache: 32K 14:19:34 L2 cache: 512K 14:19:34 L3 cache: 16384K 14:19:34 NUMA node0 CPU(s): 0,1 14:19:34 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 14:19:34 14:19:34 14:19:34 ---> nproc: 14:19:34 2 14:19:34 14:19:34 14:19:34 ---> df -h: 14:19:34 Filesystem Size Used Avail Use% Mounted on 14:19:34 overlay 40G 7.7G 33G 20% / 14:19:34 tmpfs 64M 0 64M 0% /dev 14:19:34 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 14:19:34 shm 64M 0 64M 0% /dev/shm 14:19:34 /dev/vda1 40G 7.7G 33G 20% /facter-os 14:19:34 14:19:34 14:19:34 ---> sar -b -r -n DEV: 14:19:34 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 08/16/21 _x86_64_ (2 CPU) 14:19:34 14:19:34 14:05:14 LINUX RESTART (2 CPU) 14:19:34 14:19:34 14:06:01 tps rtps wtps bread/s bwrtn/s 14:19:34 14:07:01 17.92 0.67 17.26 352.43 2664.79 14:19:34 14:08:01 0.37 0.00 0.37 0.00 5.61 14:19:34 14:09:01 0.27 0.00 0.27 0.00 3.33 14:19:34 14:10:01 0.22 0.00 0.22 0.00 2.70 14:19:34 14:11:01 0.48 0.00 0.48 0.00 5.98 14:19:34 14:12:01 0.23 0.00 0.23 0.00 3.65 14:19:34 14:13:01 0.17 0.00 0.17 0.00 2.47 14:19:34 14:14:01 0.32 0.00 0.32 0.00 3.50 14:19:34 14:15:01 0.23 0.00 0.23 0.00 2.83 14:19:34 14:16:01 0.25 0.00 0.25 0.00 3.07 14:19:34 14:17:01 0.23 0.00 0.23 0.00 2.83 14:19:34 14:18:01 0.28 0.00 0.28 0.00 3.63 14:19:34 14:19:01 0.22 0.00 0.22 0.00 3.73 14:19:34 Average: 1.63 0.05 1.58 27.11 208.34 14:19:34 14:19:34 14:06:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 14:19:34 14:07:01 5476788 0 792960 9.90 2620 1736572 1139716 12.58 571100 1562980 20 14:19:34 14:08:01 5480704 0 789036 9.85 2620 1736580 1088304 12.02 567876 1562944 12 14:19:34 14:09:01 5479028 0 790712 9.87 2620 1736580 1088664 12.02 570568 1562088 8 14:19:34 14:10:01 5480332 0 789400 9.86 2620 1736588 1088304 12.02 569800 1562088 8 14:19:34 14:11:01 5477136 0 792592 9.90 2620 1736592 1088412 12.02 567392 1567776 8 14:19:34 14:12:01 5477084 0 792640 9.90 2620 1736596 1088304 12.02 567116 1567776 20 14:19:34 14:13:01 5468740 0 800976 10.00 2620 1736604 1088304 12.02 575204 1567848 8 14:19:34 14:14:01 5468476 0 801236 10.00 2620 1736608 1088364 12.02 577772 1566120 8 14:19:34 14:15:01 5468696 0 801012 10.00 2620 1736612 1088304 12.02 577388 1566120 8 14:19:34 14:16:01 5468304 0 801400 10.01 2620 1736616 1088388 12.02 577900 1566120 8 14:19:34 14:17:01 5466992 0 802708 10.02 2620 1736620 1088544 12.02 583748 1561072 16 14:19:34 14:18:01 5468592 0 801104 10.00 2620 1736624 1088304 12.02 582364 1561072 20 14:19:34 14:19:01 5468676 0 801012 10.00 2620 1736632 1088304 12.02 582180 1561296 16 14:19:34 Average: 5473042 0 796676 9.95 2620 1736602 1092324 12.06 574647 1564254 12 14:19:34 14:19:34 14:06:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 14:19:34 14:07:01 eth0 84.69 58.69 353.77 12.85 0.00 0.00 0.00 0.00 14:19:34 14:07:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:19:34 14:07:01 docker0 7.73 6.63 1.00 25.84 0.00 0.00 0.00 0.00 14:19:34 14:08:01 eth0 0.62 0.05 0.06 0.00 0.00 0.00 0.00 0.00 14:19:34 14:08:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:19:34 14:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:19:34 14:09:01 eth0 1.12 0.75 2.90 0.20 0.00 0.00 0.00 0.00 14:19:34 14:09:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:19:34 14:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:19:34 14:10:01 eth0 0.10 0.08 0.01 0.04 0.00 0.00 0.00 0.00 14:19:34 14:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:19:34 14:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:19:34 14:11:01 eth0 0.30 0.22 0.14 0.07 0.00 0.00 0.00 0.00 14:19:34 14:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:19:34 14:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:19:34 14:12:01 eth0 0.58 0.08 0.06 0.01 0.00 0.00 0.00 0.00 14:19:34 14:12:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:19:34 14:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:19:34 14:13:01 eth0 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 14:19:34 14:13:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:19:34 14:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:19:34 14:14:01 eth0 0.25 0.15 0.12 0.01 0.00 0.00 0.00 0.00 14:19:34 14:14:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:19:34 14:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:19:34 14:15:01 eth0 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 14:19:34 14:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:19:34 14:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:19:34 14:16:01 eth0 0.25 0.18 0.08 0.07 0.00 0.00 0.00 0.00 14:19:34 14:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:19:34 14:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:19:34 14:17:01 eth0 1.02 0.35 0.38 0.17 0.00 0.00 0.00 0.00 14:19:34 14:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:19:34 14:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:19:34 14:18:01 eth0 0.07 0.08 0.01 0.03 0.00 0.00 0.00 0.00 14:19:34 14:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:19:34 14:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:19:34 14:19:01 eth0 0.07 0.08 0.01 0.01 0.00 0.00 0.00 0.00 14:19:34 14:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:19:34 14:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:19:34 Average: eth0 6.87 4.69 27.51 1.04 0.00 0.00 0.00 0.00 14:19:34 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:19:34 Average: docker0 0.59 0.51 0.08 1.99 0.00 0.00 0.00 0.00 14:19:34 14:19:34 14:19:34 ---> sar -P ALL: 14:19:34 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 08/16/21 _x86_64_ (2 CPU) 14:19:34 14:19:34 14:05:14 LINUX RESTART (2 CPU) 14:19:34 14:19:34 14:06:01 CPU %user %nice %system %iowait %steal %idle 14:19:34 14:07:01 all 2.80 0.00 1.22 0.19 0.04 95.75 14:19:34 14:07:01 0 3.07 0.00 1.30 0.13 0.03 95.47 14:19:34 14:07:01 1 2.54 0.00 1.14 0.24 0.05 96.03 14:19:34 14:08:01 all 0.20 0.00 0.07 0.00 0.03 99.71 14:19:34 14:08:01 0 0.37 0.00 0.07 0.00 0.03 99.53 14:19:34 14:08:01 1 0.03 0.00 0.07 0.00 0.02 99.88 14:19:34 14:09:01 all 0.26 0.00 0.04 0.00 0.01 99.69 14:19:34 14:09:01 0 0.45 0.00 0.05 0.00 0.02 99.48 14:19:34 14:09:01 1 0.07 0.00 0.03 0.00 0.00 99.90 14:19:34 14:10:01 all 0.23 0.00 0.05 0.00 0.02 99.71 14:19:34 14:10:01 0 0.43 0.00 0.07 0.00 0.02 99.48 14:19:34 14:10:01 1 0.02 0.00 0.03 0.00 0.02 99.93 14:19:34 14:11:01 all 0.22 0.00 0.06 0.00 0.01 99.72 14:19:34 14:11:01 0 0.33 0.00 0.08 0.00 0.02 99.57 14:19:34 14:11:01 1 0.10 0.00 0.03 0.00 0.00 99.87 14:19:34 14:12:01 all 0.17 0.00 0.06 0.00 0.02 99.76 14:19:34 14:12:01 0 0.20 0.00 0.07 0.00 0.02 99.72 14:19:34 14:12:01 1 0.13 0.00 0.05 0.00 0.02 99.80 14:19:34 14:13:01 all 0.12 0.00 0.06 0.00 0.02 99.81 14:19:34 14:13:01 0 0.18 0.00 0.08 0.00 0.03 99.70 14:19:34 14:13:01 1 0.05 0.00 0.03 0.00 0.00 99.92 14:19:34 14:14:01 all 0.19 0.00 0.04 0.00 0.03 99.74 14:19:34 14:14:01 0 0.37 0.00 0.07 0.00 0.03 99.53 14:19:34 14:14:01 1 0.02 0.00 0.02 0.00 0.02 99.95 14:19:34 14:15:01 all 0.25 0.00 0.07 0.00 0.02 99.67 14:19:34 14:15:01 0 0.45 0.00 0.07 0.00 0.02 99.47 14:19:34 14:15:01 1 0.05 0.00 0.07 0.00 0.02 99.87 14:19:34 14:16:01 all 0.23 0.00 0.03 0.00 0.02 99.72 14:19:34 14:16:01 0 0.42 0.00 0.05 0.00 0.02 99.52 14:19:34 14:16:01 1 0.03 0.00 0.02 0.00 0.02 99.93 14:19:34 14:17:01 all 0.26 0.00 0.06 0.00 0.02 99.67 14:19:34 14:17:01 0 0.43 0.00 0.07 0.00 0.03 99.47 14:19:34 14:17:01 1 0.08 0.00 0.05 0.00 0.00 99.87 14:19:34 14:19:34 14:17:01 CPU %user %nice %system %iowait %steal %idle 14:19:34 14:18:01 all 0.15 0.00 0.05 0.00 0.01 99.79 14:19:34 14:18:01 0 0.23 0.00 0.07 0.00 0.00 99.70 14:19:34 14:18:01 1 0.07 0.00 0.03 0.00 0.02 99.88 14:19:34 14:19:01 all 0.22 0.00 0.04 0.00 0.01 99.73 14:19:34 14:19:01 0 0.08 0.00 0.05 0.00 0.02 99.85 14:19:34 14:19:01 1 0.35 0.00 0.03 0.00 0.00 99.62 14:19:34 Average: all 0.40 0.00 0.14 0.01 0.02 99.42 14:19:34 Average: 0 0.54 0.00 0.16 0.01 0.02 99.27 14:19:34 Average: 1 0.27 0.00 0.12 0.02 0.01 99.57 14:19:34 14:19:34 14:19:34