Pull request #363 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 nil4git for edgexfoundry/device-sdk-c Loading trusted files from base branch main at e1f35502f034be90e9314597bd4064834fecb981 rather than b2b95c0601effb71d3340061699055a9bfb71e86 Obtained Jenkinsfile from e1f35502f034be90e9314597bd4064834fecb981 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-ssh2518428798202218649.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-ssh4356497877012628778.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-363/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-363/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4364014641439384856.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-363/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh674154884305264821.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-ssh969252053559394045.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-363/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-363/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1131839780549217070.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-340 in /w/workspace/edgexfoundry_device-sdk-c_PR-363 [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-363 # 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-363@tmp/jenkins-gitclient-ssh2336451940747010782.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit e1f35502f034be90e9314597bd4064834fecb981 into PR head commit b2b95c0601effb71d3340061699055a9bfb71e86 Merge succeeded, producing b2b95c0601effb71d3340061699055a9bfb71e86 Checking out Revision b2b95c0601effb71d3340061699055a9bfb71e86 (PR-363) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-363@tmp/jenkins-gitclient-ssh2517025795351880556.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/363/head:refs/remotes/origin/PR-363 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b2b95c0601effb71d3340061699055a9bfb71e86 # 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-363@tmp/jenkins-gitclient-ssh235879260970478880.key > git merge e1f35502f034be90e9314597bd4064834fecb981 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b2b95c0601effb71d3340061699055a9bfb71e86 # timeout=10 Commit message: "fix: Bug #361 fix for segfault on mqtt configuring" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:50:24 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:50:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:50:25 ========================================================= 15:50:25 EdgeX Global Pipelines Version Info 15:50:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:50:26 ------------------- 15:50:26 stable info: 15:50:26 ------------------- 15:50:26 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:50:26 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 15:50:26 Message: update stable to v1.0.205 15:50:27 ------------------- 15:50:27 experimental info: 15:50:27 ------------------- 15:50:27 Commited By: **** collab-it+edgex@linuxfoundation.org 15:50:27 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 15:50:27 Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:50:27 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 15:50:27 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 15:50:27 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:50:27 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:50:27 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:50:27 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo 15:50:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 15:50:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 15:50:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:50:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:50:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 15:50:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:50:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:50:28 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:50:28 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 15:50:28 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:50:28 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:50:28 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:50:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-363 [Pipeline] echo 15:50:28 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-363 [Pipeline] echo 15:50:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-363 [Pipeline] echo 15:50:28 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b2b95c0601effb71d3340061699055a9bfb71e86 [Pipeline] echo 15:50:28 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b2b95c0 [Pipeline] echo 15:50:28 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:50:28 provisioning config files... 15:50:28 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-363@tmp/config3501074931368655517tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:50:29 ---> docker-login.sh 15:50:29 nexus3.edgexfoundry.org:10001 15:50:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:50:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:50:29 Configure a credential helper to remove this warning. See 15:50:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:50:29 15:50:29 Login Succeeded 15:50:29 nexus3.edgexfoundry.org:10002 15:50:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:50:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:50:29 Configure a credential helper to remove this warning. See 15:50:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:50:29 15:50:29 Login Succeeded 15:50:29 nexus3.edgexfoundry.org:10003 15:50:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:50:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:50:30 Configure a credential helper to remove this warning. See 15:50:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:50:30 15:50:30 Login Succeeded 15:50:30 nexus3.edgexfoundry.org:10004 15:50:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:50:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:50:30 Configure a credential helper to remove this warning. See 15:50:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:50:30 15:50:30 Login Succeeded 15:50:30 docker.io 15:50:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:50:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:50:30 Configure a credential helper to remove this warning. See 15:50:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:50:30 15:50:30 Login Succeeded 15:50:30 ---> docker-login.sh ends [Pipeline] } 15:50:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 15:50:32 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:50:32 15:50:32 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 15:50:32 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:50:32 latest: Pulling from edgex-devops/git-semver 15:50:32 31603596830f: Pulling fs layer 15:50:32 d4622e32a9a9: Pulling fs layer 15:50:32 1030fce36090: Pulling fs layer 15:50:32 6c6cb7e1b49b: Pulling fs layer 15:50:32 6c6cb7e1b49b: Waiting 15:50:32 d4622e32a9a9: Verifying Checksum 15:50:32 d4622e32a9a9: Download complete 15:50:32 31603596830f: Verifying Checksum 15:50:32 31603596830f: Download complete 15:50:33 31603596830f: Pull complete 15:50:33 d4622e32a9a9: Pull complete 15:50:33 6c6cb7e1b49b: Verifying Checksum 15:50:33 1030fce36090: Verifying Checksum 15:50:33 1030fce36090: Download complete 15:50:33 1030fce36090: Pull complete 15:50:34 6c6cb7e1b49b: Pull complete 15:50:34 Digest: sha256:98b6084a185347f7b64647794a0a4774a411b925a780a33b3032b91fe10e00ab 15:50:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:50:34 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 15:50:34 prd-centos7-docker-4c-2g-340 does not seem to be running inside a container 15:50:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-363 -v /w/workspace/edgexfoundry_device-sdk-c_PR-363:/w/workspace/edgexfoundry_device-sdk-c_PR-363:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-363@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-363@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 15:50:35 $ docker top d44b34dec7ab007ee1baa191eb4e4f30611ffcb8d4823e650f0097408a1f2b27 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:50:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:50:35 [ssh-agent] Looking for ssh-agent implementation... 15:50:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:50:35 $ docker exec d44b34dec7ab007ee1baa191eb4e4f30611ffcb8d4823e650f0097408a1f2b27 ssh-agent 15:50:35 SSH_AUTH_SOCK=/tmp/ssh-5GJvA0etgzXa/agent.13 15:50:35 SSH_AGENT_PID=20 15:50:35 Running ssh-add (command line suppressed) 15:50:35 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-363@tmp/private_key_3057936934139801023.key (/w/workspace/edgexfoundry_device-sdk-c_PR-363@tmp/private_key_3057936934139801023.key) 15:50:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:50:35 + git tag --points-at HEAD [Pipeline] } 15:50:35 $ docker exec --env ******** --env ******** d44b34dec7ab007ee1baa191eb4e4f30611ffcb8d4823e650f0097408a1f2b27 ssh-agent -k 15:50:36 unset SSH_AUTH_SOCK; 15:50:36 unset SSH_AGENT_PID; 15:50:36 echo Agent pid 20 killed; 15:50:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:50:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:50:36 [ssh-agent] Looking for ssh-agent implementation... 15:50:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:50:36 $ docker exec d44b34dec7ab007ee1baa191eb4e4f30611ffcb8d4823e650f0097408a1f2b27 ssh-agent 15:50:36 SSH_AUTH_SOCK=/tmp/ssh-imYN8IF6lByn/agent.52 15:50:36 SSH_AGENT_PID=58 15:50:36 Running ssh-add (command line suppressed) 15:50:36 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-363@tmp/private_key_6166892605726702056.key (/w/workspace/edgexfoundry_device-sdk-c_PR-363@tmp/private_key_6166892605726702056.key) 15:50:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:50:36 + git semver init 15:50:36 # -> Open(): unable to determine branch for HEAD 15:50:36 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-363/.git 15:50:36 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-363 15:50:36 # $SEMVER_REMOTE_NAME = origin 15:50:36 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:50:36 # $SEMVER_USER_NAME = edgex-jenkins 15:50:36 # $SEMVER_BRANCH = PR-363 15:50:36 # $SEMVER_TEMP = /tmp/semver-358125219 15:50:36 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 15:50:37 # '/tmp/semver-358125219' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-363/.semver' 15:50:37 # -> Force: false 15:50:37 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-363/.semver [Pipeline] } 15:50:37 $ docker exec --env ******** --env ******** d44b34dec7ab007ee1baa191eb4e4f30611ffcb8d4823e650f0097408a1f2b27 ssh-agent -k 15:50:37 unset SSH_AUTH_SOCK; 15:50:37 unset SSH_AGENT_PID; 15:50:37 echo Agent pid 58 killed; 15:50:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:50:38 + git semver [Pipeline] } 15:50:38 $ docker stop --time=1 d44b34dec7ab007ee1baa191eb4e4f30611ffcb8d4823e650f0097408a1f2b27 15:50:39 $ docker rm -f d44b34dec7ab007ee1baa191eb4e4f30611ffcb8d4823e650f0097408a1f2b27 [Pipeline] // withDockerContainer [Pipeline] sh 15:50:39 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:50:40 Stashed 1 file(s) [Pipeline] echo 15:50:40 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 15:50:55 Still waiting to schedule task 15:50:55 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-340’ 15:50:55 Still waiting to schedule task 15:50:55 ‘prd-ubuntu18.04-docker-arm64-4c-16g-105’ is offline 15:52:58 Running on prd-ubuntu18.04-docker-arm64-4c-16g-341 in /w/workspace/edgexfoundry_device-sdk-c_PR-363 [Pipeline] { [Pipeline] ws 15:52:58 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 15:52:58 Selected Git installation does not exist. Using Default 15:52:58 The recommended git tool is: NONE 15:53:04 using credential edgex-jenkins-ssh 15:53:04 Cloning the remote Git repository 15:53:04 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 15:53:04 > git init /w/workspace/device-sdk-c/1 # timeout=10 15:53:04 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 15:53:04 > git --version # timeout=10 15:53:04 > git --version # 'git version 2.17.1' 15:53:04 using GIT_SSH to set credentials SSH Credentials for GitHub 15:53:04 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:53:07 Merging remotes/origin/main commit e1f35502f034be90e9314597bd4064834fecb981 into PR head commit b2b95c0601effb71d3340061699055a9bfb71e86 15:53:07 Merge succeeded, producing b2b95c0601effb71d3340061699055a9bfb71e86 15:53:07 Checking out Revision b2b95c0601effb71d3340061699055a9bfb71e86 (PR-363) 15:53:06 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 15:53:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:53:06 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 15:53:06 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 15:53:06 using GIT_SSH to set credentials SSH Credentials for GitHub 15:53:06 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/363/head:refs/remotes/origin/PR-363 +refs/heads/main:refs/remotes/origin/main # timeout=10 15:53:07 > git config core.sparsecheckout # timeout=10 15:53:07 > git checkout -f b2b95c0601effb71d3340061699055a9bfb71e86 # timeout=10 15:53:07 > git remote # timeout=10 15:53:07 > git config --get remote.origin.url # timeout=10 15:53:07 using GIT_SSH to set credentials SSH Credentials for GitHub 15:53:07 > git merge e1f35502f034be90e9314597bd4064834fecb981 # timeout=10 15:53:07 > git rev-parse HEAD^{commit} # timeout=10 15:53:07 > git config core.sparsecheckout # timeout=10 15:53:07 > git checkout -f b2b95c0601effb71d3340061699055a9bfb71e86 # timeout=10 15:53:11 Commit message: "fix: Bug #361 fix for segfault on mqtt configuring" 15:53:11 > git --version # timeout=10 15:53:11 > git --version # 'git version 2.17.1' 15:53:11 fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:53:12 provisioning config files... 15:53:12 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config5169664804569122244tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:53:13 ---> docker-login.sh 15:53:13 nexus3.edgexfoundry.org:10001 15:53:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:53:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:53:14 Configure a credential helper to remove this warning. See 15:53:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:53:14 15:53:14 Login Succeeded 15:53:14 nexus3.edgexfoundry.org:10002 15:53:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:53:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:53:15 Configure a credential helper to remove this warning. See 15:53:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:53:15 15:53:15 Login Succeeded 15:53:15 nexus3.edgexfoundry.org:10003 15:53:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:53:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:53:15 Configure a credential helper to remove this warning. See 15:53:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:53:15 15:53:15 Login Succeeded 15:53:15 nexus3.edgexfoundry.org:10004 15:53:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:53:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:53:16 Configure a credential helper to remove this warning. See 15:53:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:53:16 15:53:16 Login Succeeded 15:53:16 docker.io 15:53:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:53:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:53:17 Configure a credential helper to remove this warning. See 15:53:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:53:17 15:53:17 Login Succeeded 15:53:17 ---> docker-login.sh ends [Pipeline] } 15:53:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:53:17 ========================================================= 15:53:17 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 15:53:17 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 15:53:18 + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . 15:53:18 Sending build context to Docker daemon 2.635MB 15:53:18 Step 1/25 : ARG BASE=alpine:3.12 15:53:18 Step 2/25 : FROM ${BASE} as builder 15:53:19 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 15:53:19 d2f70382dc9a: Pulling fs layer 15:53:19 b08cc2eccb4b: Pulling fs layer 15:53:19 7b69db201801: Pulling fs layer 15:53:19 b08cc2eccb4b: Download complete 15:53:19 d2f70382dc9a: Verifying Checksum 15:53:19 d2f70382dc9a: Download complete 15:53:20 d2f70382dc9a: Pull complete 15:53:20 b08cc2eccb4b: Pull complete 15:53:22 7b69db201801: Verifying Checksum 15:53:22 7b69db201801: Download complete 15:53:30 7b69db201801: Pull complete 15:53:30 Digest: sha256:6402f0ff92f22f5db569dc2a94aef5717e50795d64082fb226716824a8b8ffba 15:53:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 15:53:30 ---> 759262b18b23 15:53:30 Step 3/25 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub 15:53:32 ---> Running in bf0658649dea 15:53:33 Running on prd-centos7-docker-4c-2g-342 in /w/workspace/edgexfoundry_device-sdk-c_PR-363 [Pipeline] { [Pipeline] ws 15:53:33 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 15:53:33 Selected Git installation does not exist. Using Default 15:53:33 The recommended git tool is: NONE 15:53:33 Connecting to iotech.jfrog.io (54.229.110.245:443) 15:53:34 saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 15:53:34 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 15:53:34 '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved 15:53:35 Removing intermediate container bf0658649dea 15:53:35 ---> 62dc441b6ce6 15:53:35 Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 15:53:35 ---> Running in c8c6e27ce144 15:53:36 using credential edgex-jenkins-ssh 15:53:36 Cloning the remote Git repository 15:53:35 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 15:53:35 > git init /w/workspace/device-sdk-c/1 # timeout=10 15:53:35 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 15:53:35 > git --version # timeout=10 15:53:35 > git --version # 'git version 2.24.4' 15:53:35 using GIT_SSH to set credentials SSH Credentials for GitHub 15:53:35 [INFO] Currently running in a labeled security context 15:53:35 [INFO] Currently SELinux is 'enforcing' on the host 15:53:35 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh8652188568453112844.key 15:53:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:53:37 Merging remotes/origin/main commit e1f35502f034be90e9314597bd4064834fecb981 into PR head commit b2b95c0601effb71d3340061699055a9bfb71e86 15:53:37 Merge succeeded, producing b2b95c0601effb71d3340061699055a9bfb71e86 15:53:37 Checking out Revision b2b95c0601effb71d3340061699055a9bfb71e86 (PR-363) 15:53:37 Removing intermediate container c8c6e27ce144 15:53:37 ---> ce2936a47454 15:53:37 Step 5/25 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev hiredis-dev 15:53:37 ---> Running in 501cc253ef13 15:53:36 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 15:53:36 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:53:36 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 15:53:36 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 15:53:36 using GIT_SSH to set credentials SSH Credentials for GitHub 15:53:36 [INFO] Currently running in a labeled security context 15:53:36 [INFO] Currently SELinux is 'enforcing' on the host 15:53:36 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh5428415960011996346.key 15:53:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/363/head:refs/remotes/origin/PR-363 +refs/heads/main:refs/remotes/origin/main # timeout=10 15:53:37 > git config core.sparsecheckout # timeout=10 15:53:37 > git checkout -f b2b95c0601effb71d3340061699055a9bfb71e86 # timeout=10 15:53:37 > git remote # timeout=10 15:53:37 > git config --get remote.origin.url # timeout=10 15:53:37 using GIT_SSH to set credentials SSH Credentials for GitHub 15:53:37 [INFO] Currently running in a labeled security context 15:53:37 [INFO] Currently SELinux is 'enforcing' on the host 15:53:37 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh6335266067462918103.key 15:53:37 > git merge e1f35502f034be90e9314597bd4064834fecb981 # timeout=10 15:53:37 > git rev-parse HEAD^{commit} # timeout=10 15:53:37 > git config core.sparsecheckout # timeout=10 15:53:37 > git checkout -f b2b95c0601effb71d3340061699055a9bfb71e86 # timeout=10 15:53:39 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 15:53:40 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 15:53:40 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 15:53:41 Commit message: "fix: Bug #361 fix for segfault on mqtt configuring" 15:53:41 > git --version # timeout=10 15:53:41 > git --version # 'git version 2.24.4' 15:53:41 fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 15:53:41 (1/22) Installing hiredis (0.14.1-r0) 15:53:41 (2/22) Installing hiredis-dev (0.14.1-r0) [Pipeline] withEnv [Pipeline] { 15:53:41 (3/22) Installing ncurses-dev (6.2_p20200523-r0) 15:53:41 (4/22) Installing paho-mqtt-c-dev (1.3.5-r0) [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:53:42 provisioning config files... 15:53:42 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config5695783927891130263tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:53:42 ---> docker-login.sh 15:53:42 nexus3.edgexfoundry.org:10001 15:53:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:53:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:53:42 Configure a credential helper to remove this warning. See 15:53:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:53:42 15:53:42 Login Succeeded 15:53:42 nexus3.edgexfoundry.org:10002 15:53:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:53:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:53:42 Configure a credential helper to remove this warning. See 15:53:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:53:42 15:53:42 Login Succeeded 15:53:42 nexus3.edgexfoundry.org:10003 15:53:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:53:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:53:43 Configure a credential helper to remove this warning. See 15:53:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:53:43 15:53:43 Login Succeeded 15:53:43 nexus3.edgexfoundry.org:10004 15:53:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:53:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:53:43 Configure a credential helper to remove this warning. See 15:53:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:53:43 15:53:43 Login Succeeded 15:53:43 docker.io 15:53:43 (5/22) Installing libblkid (2.35.2-r0) 15:53:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:53:43 (6/22) Installing blkid (2.35.2-r0) 15:53:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:53:43 Configure a credential helper to remove this warning. See 15:53:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:53:43 15:53:43 Login Succeeded 15:53:43 ---> docker-login.sh ends [Pipeline] } 15:53:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } 15:53:43 (7/22) Installing libcap-ng (0.7.10-r1) 15:53:43 (8/22) Installing setpriv (2.35.2-r0) 15:53:43 (9/22) Installing libmount (2.35.2-r0) [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:53:44 ========================================================= 15:53:44 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 15:53:44 ========================================================= [Pipeline] fileExists [Pipeline] isUnix 15:53:44 (10/22) Installing libsmartcols (2.35.2-r0) 15:53:44 (11/22) Installing findmnt (2.35.2-r0) [Pipeline] sh 15:53:44 (12/22) Installing mcookie (2.35.2-r0) 15:53:44 (13/22) Installing hexdump (2.35.2-r0) 15:53:44 (14/22) Installing lsblk (2.35.2-r0) 15:53:44 + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . 15:53:44 Sending build context to Docker daemon 2.636MB 15:53:44 Step 1/25 : ARG BASE=alpine:3.12 15:53:44 Step 2/25 : FROM ${BASE} as builder 15:53:44 (15/22) Installing libuuid (2.35.2-r0) 15:53:44 (16/22) Installing libfdisk (2.35.2-r0) 15:53:44 latest: Pulling from edgex-devops/edgex-gcc-base 15:53:44 339de151aab4: Pulling fs layer 15:53:44 3691962f683c: Pulling fs layer 15:53:44 e1147bf81a45: Pulling fs layer 15:53:44 3691962f683c: Verifying Checksum 15:53:44 3691962f683c: Download complete 15:53:44 339de151aab4: Verifying Checksum 15:53:44 339de151aab4: Download complete 15:53:44 (17/22) Installing sfdisk (2.35.2-r0) 15:53:44 (18/22) Installing cfdisk (2.35.2-r0) 15:53:44 339de151aab4: Pull complete 15:53:44 3691962f683c: Pull complete 15:53:45 (19/22) Installing util-linux (2.35.2-r0) 15:53:45 (20/22) Installing util-linux-dev (2.35.2-r0) 15:53:46 (21/22) Installing libidn2 (2.3.0-r0) 15:53:47 (22/22) Installing wget (1.20.3-r1) 15:53:47 Executing busybox-1.31.1-r20.trigger 15:53:47 OK: 276 MiB in 97 packages 15:53:48 e1147bf81a45: Verifying Checksum 15:53:48 e1147bf81a45: Download complete 15:53:49 Removing intermediate container 501cc253ef13 15:53:49 ---> 58c20f2a54fa 15:53:49 Step 6/25 : ENV CBOR_VERSION=0.5.0 15:53:49 ---> Running in 3a068cc30128 15:53:49 Removing intermediate container 3a068cc30128 15:53:49 ---> 210721ae33ee 15:53:49 Step 7/25 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install 15:53:49 ---> Running in a0f2491833d1 15:53:50 e1147bf81a45: Pull complete 15:53:50 Digest: sha256:32c567f17180c4abff101a0d389449dec7f3f623a221c8a8ae98dcac9b0d9fee 15:53:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 15:53:50 ---> ac6a0feb3254 15:53:50 Step 3/25 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub 15:53:51 --2021-08-11 15:53:50-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 15:53:51 Resolving github.com (github.com)... 140.82.113.3 15:53:51 Connecting to github.com (github.com)|140.82.113.3|:443... connected. 15:53:51 HTTP request sent, awaiting response... 302 Found 15:53:51 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 15:53:51 --2021-08-11 15:53:51-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 15:53:51 Resolving codeload.github.com (codeload.github.com)... 140.82.113.9 15:53:51 Connecting to codeload.github.com (codeload.github.com)|140.82.113.9|:443... connected. 15:53:51 HTTP request sent, awaiting response... 200 OK 15:53:51 Length: unspecified [application/x-gzip] 15:53:51 Saving to: 'STDOUT' 15:53:51  15:53:51 0K .......... .......... .......... .......... .......... 1.49M 15:53:51 50K .......... .......... .......... .......... .......... 2.94M 15:53:51 ---> Running in ad8b0fee89da 15:53:51 Connecting to iotech.jfrog.io (54.195.244.87:443) 15:53:51 100K .......... .......... .......... .......... .......... 2.80M 15:53:51 150K .......... .......... .......... .......... .......... 9.56M 15:53:51 200K .......... .......... .......... .......... .......... 8.89M 15:53:51 250K .......... .......... .......... .......... .......... 3.45M 15:53:51 300K .......... .......... .......... .......... .......... 5.00M 15:53:51 350K .......... .......... .......... .......... .......... 3.63M 15:53:51 400K .......... .......... .......... .......... .......... 3.23M 15:53:51 450K .......... .......... .......... .......... .......... 3.92M 15:53:51 500K .......... .......... .......... .......... .......... 11.0M 15:53:51 550K .......... .......... .......... .......... .......... 1.78M 15:53:51 600K .......... .......... .......... .......... .......... 1.05M 15:53:51 650K .......... .......... .......... .......... .......... 2.01M 15:53:51 700K .. 11.8M=0.2s 15:53:51 15:53:51 2021-08-11 15:53:51 (2.80 MB/s) - written to stdout [719348] 15:53:51 15:53:52 -- The C compiler identification is GNU 9.3.0 15:53:52 -- The CXX compiler identification is GNU 9.3.0 15:53:52 -- Check for working C compiler: /usr/bin/cc 15:53:52 saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 15:53:52 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 15:53:52 '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved 15:53:52 -- Check for working C compiler: /usr/bin/cc - works 15:53:52 -- Detecting C compiler ABI info 15:53:52 Removing intermediate container ad8b0fee89da 15:53:52 ---> 7c2d7103f1c2 15:53:52 Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 15:53:52 ---> Running in 0bec792b71a4 15:53:52 -- Detecting C compiler ABI info - done 15:53:52 -- Detecting C compile features 15:53:52 -- Detecting C compile features - done 15:53:52 Removing intermediate container 0bec792b71a4 15:53:52 ---> 011d4338a497 15:53:52 Step 5/25 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev hiredis-dev 15:53:52 ---> Running in 061ebb50513d 15:53:53 -- Check for working CXX compiler: /usr/bin/c++ 15:53:53 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 15:53:53 -- Check for working CXX compiler: /usr/bin/c++ - works 15:53:53 -- Detecting CXX compiler ABI info 15:53:53 -- Detecting CXX compiler ABI info - done 15:53:53 -- Detecting CXX compile features 15:53:53 -- Detecting CXX compile features - done 15:53:53 -- Looking for include file endian.h 15:53:54 -- Looking for include file endian.h - found 15:53:54 -- Check if the system is big endian 15:53:54 -- Searching 16 bit integer 15:53:54 -- Looking for sys/types.h 15:53:54 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 15:53:54 -- Looking for sys/types.h - found 15:53:54 -- Looking for stdint.h 15:53:54 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 15:53:54 -- Looking for stdint.h - found 15:53:54 -- Looking for stddef.h 15:53:54 -- Looking for stddef.h - found 15:53:54 -- Check size of unsigned short 15:53:54 (1/22) Installing hiredis (0.14.1-r0) 15:53:54 -- Check size of unsigned short - done 15:53:54 -- Searching 16 bit integer - Using unsigned short 15:53:55 (2/22) Installing hiredis-dev (0.14.1-r0) 15:53:55 (3/22) Installing ncurses-dev (6.2_p20200523-r0) 15:53:55 (4/22) Installing paho-mqtt-c-dev (1.3.5-r0) 15:53:55 -- Check if the system is big endian - little endian 15:53:55 -- Check size of size_t 15:53:55 -- Check size of size_t - done 15:53:55 CMake Warning at examples/CMakeLists.txt:16 (find_package): 15:53:55 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 15:53:55 asked CMake to find a package configuration file provided by "cJSON", but 15:53:55 CMake did not find one. 15:53:55 15:53:55 Could not find a package configuration file provided by "cJSON" with any of 15:53:55 the following names: 15:53:55 15:53:55 cJSONConfig.cmake 15:53:55 cjson-config.cmake 15:53:55 15:53:55 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 15:53:55 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 15:53:55 provides a separate development package or SDK, be sure it has been 15:53:55 installed. 15:53:55 15:53:55 15:53:55 -- Configuring done 15:53:55 -- Generating done 15:53:55 -- Build files have been written to: /tmp/cbor 15:53:55 Scanning dependencies of target cbor_shared 15:53:55 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 15:53:56 (5/22) Installing libblkid (2.35.2-r0) 15:53:56 (6/22) Installing blkid (2.35.2-r0) 15:53:56 (7/22) Installing libcap-ng (0.7.10-r1) 15:53:56 (8/22) Installing setpriv (2.35.2-r0) 15:53:56 (9/22) Installing libmount (2.35.2-r0) 15:53:56 (10/22) Installing libsmartcols (2.35.2-r0) 15:53:56 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 15:53:57 (11/22) Installing findmnt (2.35.2-r0) 15:53:57 (12/22) Installing mcookie (2.35.2-r0) 15:53:57 (13/22) Installing hexdump (2.35.2-r0) 15:53:57 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 15:53:57 (14/22) Installing lsblk (2.35.2-r0) 15:53:57 (15/22) Installing libuuid (2.35.2-r0) 15:53:57 (16/22) Installing libfdisk (2.35.2-r0) 15:53:57 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 15:53:57 (17/22) Installing sfdisk (2.35.2-r0) 15:53:57 (18/22) Installing cfdisk (2.35.2-r0) 15:53:57 (19/22) Installing util-linux (2.35.2-r0) 15:53:58 (20/22) Installing util-linux-dev (2.35.2-r0) 15:53:58 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 15:53:58 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 15:53:58 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 15:53:58 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 15:53:58 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 15:53:58 (21/22) Installing libidn2 (2.3.0-r0) 15:53:58 (22/22) Installing wget (1.20.3-r1) 15:53:59 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 15:53:59 Executing busybox-1.31.1-r20.trigger 15:53:59 OK: 295 MiB in 97 packages 15:53:59 Removing intermediate container 061ebb50513d 15:53:59 ---> c2ba73551e4c 15:53:59 Step 6/25 : ENV CBOR_VERSION=0.5.0 15:53:59 ---> Running in f73b3f838ee8 15:53:59 Removing intermediate container f73b3f838ee8 15:53:59 ---> bc8d84946e85 15:53:59 Step 7/25 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install 15:53:59 ---> Running in 2c19edb36a89 15:53:59 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 15:54:00 --2021-08-11 15:53:59-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 15:54:00 Resolving github.com (github.com)... 140.82.113.3 15:54:00 Connecting to github.com (github.com)|140.82.113.3|:443... connected. 15:54:00 HTTP request sent, awaiting response... 302 Found 15:54:00 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 15:54:00 --2021-08-11 15:53:59-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 15:54:00 Resolving codeload.github.com (codeload.github.com)... 140.82.113.9 15:54:00 Connecting to codeload.github.com (codeload.github.com)|140.82.113.9|:443... connected. 15:54:00 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 15:54:00 HTTP request sent, awaiting response... 200 OK 15:54:00 Length: unspecified [application/x-gzip] 15:54:00 Saving to: 'STDOUT' 15:54:00 15:54:00 0K .......... .......... .......... .......... .......... 1.24M 15:54:00 50K .......... .......... .......... .......... .......... 2.71M 15:54:00 100K .......... .......... .......... .......... .......... 19.5M 15:54:00 150K .......... .......... .......... .......... .......... 2.30M 15:54:00 200K .......... .......... .......... .......... .......... 10.8M 15:54:00 250K .......... .......... .......... .......... .......... 9.60M 15:54:00 300K .......... .......... .......... .......... .......... 1.65M 15:54:00 350K .......... .......... .......... .......... .......... 136M 15:54:00 400K .......... .......... .......... .......... .......... 5.76M 15:54:00 450K .......... .......... .......... .......... .......... 6.80M 15:54:00 500K .......... .......... .......... .......... .......... 29.7M 15:54:00 550K .......... .......... .......... .......... .......... 9.80M 15:54:00 600K .......... .......... .......... .......... .......... 3.11M 15:54:00 650K .......... .......... .......... .......... .......... 8.13M 15:54:00 700K .. 69.1M=0.2s 15:54:00 15:54:00 2021-08-11 15:54:00 (4.17 MB/s) - written to stdout [719348] 15:54:00 15:54:00 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 15:54:00 -- The C compiler identification is GNU 9.3.0 15:54:00 -- The CXX compiler identification is GNU 9.3.0 15:54:00 -- Check for working C compiler: /usr/bin/cc 15:54:00 -- Check for working C compiler: /usr/bin/cc - works 15:54:00 -- Detecting C compiler ABI info 15:54:00 -- Detecting C compiler ABI info - done 15:54:00 -- Detecting C compile features 15:54:00 -- Detecting C compile features - done 15:54:00 -- Check for working CXX compiler: /usr/bin/c++ 15:54:00 -- Check for working CXX compiler: /usr/bin/c++ - works 15:54:00 -- Detecting CXX compiler ABI info 15:54:00 -- Detecting CXX compiler ABI info - done 15:54:00 -- Detecting CXX compile features 15:54:00 -- Detecting CXX compile features - done 15:54:00 -- Looking for include file endian.h 15:54:00 -- Looking for include file endian.h - found 15:54:00 -- Check if the system is big endian 15:54:00 -- Searching 16 bit integer 15:54:00 -- Looking for sys/types.h 15:54:00 -- Looking for sys/types.h - found 15:54:00 -- Looking for stdint.h 15:54:00 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 15:54:00 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 15:54:01 -- Looking for stdint.h - found 15:54:01 -- Looking for stddef.h 15:54:01 -- Looking for stddef.h - found 15:54:01 -- Check size of unsigned short 15:54:01 -- Check size of unsigned short - done 15:54:01 -- Searching 16 bit integer - Using unsigned short 15:54:01 -- Check if the system is big endian - little endian 15:54:01 -- Check size of size_t 15:54:01 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 15:54:01 -- Check size of size_t - done 15:54:01 CMake Warning at examples/CMakeLists.txt:16 (find_package): 15:54:01 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 15:54:01 asked CMake to find a package configuration file provided by "cJSON", but 15:54:01 CMake did not find one. 15:54:01 15:54:01 Could not find a package configuration file provided by "cJSON" with any of 15:54:01 the following names: 15:54:01 15:54:01 cJSONConfig.cmake 15:54:01 cjson-config.cmake 15:54:01 15:54:01 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 15:54:01 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 15:54:01 provides a separate development package or SDK, be sure it has been 15:54:01 installed. 15:54:01 15:54:01 15:54:01 -- Configuring done 15:54:01 -- Generating done 15:54:01 -- Build files have been written to: /tmp/cbor 15:54:01 Scanning dependencies of target cbor_shared 15:54:01 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 15:54:01 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 15:54:01 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 15:54:01 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 15:54:01 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 15:54:01 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 15:54:01 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 15:54:01 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 15:54:01 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 15:54:01 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 15:54:01 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 15:54:01 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 15:54:02 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 15:54:02 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 15:54:02 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 15:54:02 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 15:54:02 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 15:54:02 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 15:54:02 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 15:54:02 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 15:54:02 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 15:54:02 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 15:54:02 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 15:54:02 [ 40%] Linking C shared library libcbor.so 15:54:02 [ 40%] Built target cbor_shared 15:54:02 Scanning dependencies of target cbor 15:54:02 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 15:54:02 [ 40%] Linking C shared library libcbor.so 15:54:02 [ 40%] Built target cbor_shared 15:54:02 Scanning dependencies of target cbor 15:54:02 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 15:54:02 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 15:54:02 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 15:54:03 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 15:54:03 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 15:54:03 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 15:54:03 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 15:54:03 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 15:54:03 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 15:54:03 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 15:54:03 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 15:54:03 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 15:54:03 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 15:54:03 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 15:54:03 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 15:54:04 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 15:54:04 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 15:54:04 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 15:54:04 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 15:54:04 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 15:54:04 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 15:54:04 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 15:54:04 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 15:54:04 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 15:54:04 [ 80%] Linking C static library libcbor.a 15:54:04 [ 80%] Built target cbor 15:54:04 Scanning dependencies of target sort 15:54:04 [ 82%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 15:54:04 [ 84%] Linking C executable sort 15:54:04 [ 84%] Built target sort 15:54:04 Scanning dependencies of target readfile 15:54:04 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 15:54:04 [ 88%] Linking C executable readfile 15:54:04 [ 88%] Built target readfile 15:54:04 Scanning dependencies of target streaming_parser 15:54:04 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 15:54:04 [ 92%] Linking C executable streaming_parser 15:54:04 [ 92%] Built target streaming_parser 15:54:04 Scanning dependencies of target hello 15:54:04 [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 15:54:04 [ 96%] Linking C executable hello 15:54:04 [ 96%] Built target hello 15:54:04 Scanning dependencies of target create_items 15:54:04 [ 98%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 15:54:04 [100%] Linking C executable create_items 15:54:04 [100%] Built target create_items 15:54:04 Install the project... 15:54:04 -- Install configuration: "Release" 15:54:04 -- Installing: /usr/local/include/cbor/configuration.h 15:54:04 -- Installing: /usr/local/lib64/libcbor.a 15:54:04 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 15:54:04 -- Installing: /usr/local/lib64/libcbor.so.0 15:54:04 -- Installing: /usr/local/lib64/libcbor.so 15:54:04 -- Up-to-date: /usr/local/include/cbor 15:54:04 -- Installing: /usr/local/include/cbor/arrays.h 15:54:04 -- Installing: /usr/local/include/cbor/bytestrings.h 15:54:04 -- Installing: /usr/local/include/cbor/callbacks.h 15:54:04 -- Installing: /usr/local/include/cbor/common.h 15:54:04 -- Installing: /usr/local/include/cbor/data.h 15:54:04 -- Installing: /usr/local/include/cbor/encoding.h 15:54:04 -- Installing: /usr/local/include/cbor/floats_ctrls.h 15:54:04 -- Installing: /usr/local/include/cbor/internal 15:54:04 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 15:54:04 -- Installing: /usr/local/include/cbor/internal/encoders.h 15:54:04 -- Installing: /usr/local/include/cbor/internal/loaders.h 15:54:04 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 15:54:04 -- Installing: /usr/local/include/cbor/internal/stack.h 15:54:04 -- Installing: /usr/local/include/cbor/internal/unicode.h 15:54:04 -- Installing: /usr/local/include/cbor/ints.h 15:54:04 -- Installing: /usr/local/include/cbor/maps.h 15:54:04 -- Installing: /usr/local/include/cbor/serialization.h 15:54:04 -- Installing: /usr/local/include/cbor/streaming.h 15:54:04 -- Installing: /usr/local/include/cbor/strings.h 15:54:04 -- Installing: /usr/local/include/cbor/tags.h 15:54:04 -- Installing: /usr/local/include/cbor.h 15:54:04 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 15:54:05 Removing intermediate container 2c19edb36a89 15:54:05 ---> 02a4440ab843 15:54:05 Step 8/25 : RUN mkdir /tmp/sdk 15:54:05 ---> Running in e4b1aedf29d3 15:54:05 Removing intermediate container e4b1aedf29d3 15:54:05 ---> 6d2286d6806c 15:54:05 Step 9/25 : COPY VERSION /tmp/sdk 15:54:06 ---> 1eb4306fa907 15:54:06 Step 10/25 : COPY src /tmp/sdk/src 15:54:06 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 15:54:06 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 15:54:06 ---> 2204ee102f02 15:54:06 Step 11/25 : COPY include /tmp/sdk/include 15:54:06 ---> 623826d44e40 15:54:06 Step 12/25 : COPY scripts /tmp/sdk/scripts 15:54:06 ---> dcd4048f8067 15:54:06 Step 13/25 : COPY LICENSE /tmp/sdk 15:54:06 ---> a5955eeae582 15:54:06 Step 14/25 : COPY Attribution.txt /tmp/sdk 15:54:06 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 15:54:06 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 15:54:06 ---> 6556a44fa7e0 15:54:06 Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 15:54:06 ---> Running in 8d9047e68640 15:54:06 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 15:54:07 + CPPCHECK=false 15:54:07 + DOCGEN=false 15:54:07 + TOMLVER=SDK-0.2 15:54:07 + CUTILVER=1.1.4 15:54:07 + '[' 0 -gt 0 ] 15:54:07 + readlink -f ./scripts/build.sh 15:54:07 + dirname /tmp/sdk/scripts/build.sh 15:54:07 + dirname /tmp/sdk/scripts 15:54:07 + ROOT=/tmp/sdk 15:54:07 + cd /tmp/sdk 15:54:07 + '[' '!' -d deps ] 15:54:07 + mkdir deps 15:54:07 + tar -C deps -z -x+ -f - 15:54:07 wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 15:54:07 --2021-08-11 15:54:06-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 15:54:07 Resolving github.com (github.com)... 140.82.113.3 15:54:07 Connecting to github.com (github.com)|140.82.113.3|:443... connected. 15:54:07 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 15:54:07 HTTP request sent, awaiting response... 302 Found 15:54:07 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 15:54:07 --2021-08-11 15:54:07-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 15:54:07 Resolving codeload.github.com (codeload.github.com)... 140.82.113.9 15:54:07 Connecting to codeload.github.com (codeload.github.com)|140.82.113.9|:443... connected. 15:54:07 HTTP request sent, awaiting response... 200 OK 15:54:07 Length: unspecified [application/x-gzip] 15:54:07 Saving to: 'STDOUT' 15:54:07  15:54:07 0K .......... ...... 823K=0.02s 15:54:07 15:54:07 2021-08-11 15:54:07 (823 KB/s) - written to stdout [16451] 15:54:07 15:54:07 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 15:54:07 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 15:54:07 --2021-08-11 15:54:07-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 15:54:07 + tar -C deps -z -x -f - 15:54:07 Resolving github.com (github.com)... 140.82.113.3 15:54:07 Connecting to github.com (github.com)|140.82.113.3|:443... connected. 15:54:07 HTTP request sent, awaiting response... 302 Found 15:54:07 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] 15:54:07 --2021-08-11 15:54:07-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 15:54:07 Resolving codeload.github.com (codeload.github.com)... 140.82.113.9 15:54:07 Connecting to codeload.github.com (codeload.github.com)|140.82.113.9|:443... connected. 15:54:07 HTTP request sent, awaiting response... 200 OK 15:54:07 Length: unspecified [application/x-gzip] 15:54:07 Saving to: 'STDOUT' 15:54:07 15:54:07 0K .......... .......... .......... .......... .......... 1.18M 15:54:07 50K .......... .......... .......... .......... .......... 2.39M 15:54:07 100K .......... .......... .......... .......... .......... 7.21M 15:54:07 150K .......... .......... ....... 19.8M=0.07s 15:54:07 15:54:07 2021-08-11 15:54:07 (2.48 MB/s) - written to stdout [181796] 15:54:07 15:54:07 + mkdir -p src/c/iot 15:54:07 + cp deps/iotech-c-utils-1.1.4/src/c/base64.c deps/iotech-c-utils-1.1.4/src/c/component.c deps/iotech-c-utils-1.1.4/src/c/config.c deps/iotech-c-utils-1.1.4/src/c/container.c deps/iotech-c-utils-1.1.4/src/c/data.c deps/iotech-c-utils-1.1.4/src/c/hash.c deps/iotech-c-utils-1.1.4/src/c/iot.c deps/iotech-c-utils-1.1.4/src/c/json.c deps/iotech-c-utils-1.1.4/src/c/logger.c deps/iotech-c-utils-1.1.4/src/c/os.c deps/iotech-c-utils-1.1.4/src/c/scheduler.c deps/iotech-c-utils-1.1.4/src/c/thread.c deps/iotech-c-utils-1.1.4/src/c/threadpool.c deps/iotech-c-utils-1.1.4/src/c/time.c deps/iotech-c-utils-1.1.4/src/c/yxml.c src/c/iot 15:54:07 + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot 15:54:07 + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot 15:54:07 + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot 15:54:07 + mkdir -p include/iot 15:54:07 + cp deps/iotech-c-utils-1.1.4/include/iot/base64.h deps/iotech-c-utils-1.1.4/include/iot/component.h deps/iotech-c-utils-1.1.4/include/iot/config.h deps/iotech-c-utils-1.1.4/include/iot/container.h deps/iotech-c-utils-1.1.4/include/iot/data.h deps/iotech-c-utils-1.1.4/include/iot/hash.h deps/iotech-c-utils-1.1.4/include/iot/iot.h deps/iotech-c-utils-1.1.4/include/iot/json.h deps/iotech-c-utils-1.1.4/include/iot/logger.h deps/iotech-c-utils-1.1.4/include/iot/os.h deps/iotech-c-utils-1.1.4/include/iot/scheduler.h deps/iotech-c-utils-1.1.4/include/iot/thread.h deps/iotech-c-utils-1.1.4/include/iot/threadpool.h deps/iotech-c-utils-1.1.4/include/iot/time.h deps/iotech-c-utils-1.1.4/include/iot/typecode.h include/iot 15:54:07 + mkdir -p include/iot/os 15:54:07 + cp deps/iotech-c-utils-1.1.4/include/iot/os/linux.h deps/iotech-c-utils-1.1.4/include/iot/os/macos.h deps/iotech-c-utils-1.1.4/include/iot/os/zephyr.h include/iot/os 15:54:07 + mkdir -p /tmp/sdk/build/release 15:54:07 + cd /tmp/sdk/build/release 15:54:07 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 15:54:08 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 15:54:08 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 15:54:08 -- The C compiler identification is GNU 9.3.0 15:54:08 -- Check for working C compiler: /usr/bin/cc 15:54:08 -- Check for working C compiler: /usr/bin/cc - works 15:54:08 -- Detecting C compiler ABI info 15:54:08 -- Detecting C compiler ABI info - done 15:54:08 -- Detecting C compile features 15:54:08 -- Detecting C compile features - done 15:54:08 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 15:54:08 -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") 15:54:08 -- Found LIBYAML: /usr/lib/libyaml.so 15:54:08 -- Found LIBUUID: /usr/lib/libuuid.so 15:54:08 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 15:54:08 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 15:54:08 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 15:54:08 -- C SDK 0.0.0 for Linux 15:54:08 -- Performing Test CSDK_HAVE_ATOMIC 15:54:08 -- Performing Test CSDK_HAVE_ATOMIC - Success 15:54:08 -- Found Curses: /usr/lib/libcurses.so 15:54:08 -- Configuring done 15:54:08 -- Generating done 15:54:08 -- Build files have been written to: /tmp/sdk/build/release 15:54:08 + make all package 15:54:08 + tee release.log 15:54:08 Scanning dependencies of target csdk 15:54:08 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 15:54:08 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 15:54:08 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 15:54:08 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 15:54:08 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 15:54:08 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 15:54:09 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 15:54:09 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 15:54:09 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 15:54:09 /tmp/sdk/src/c/data-mqtt.c: In function 'edgex_data_client_new_mqtt': 15:54:09 /tmp/sdk/src/c/data-mqtt.c:182:12: warning: unused variable 'tm' [-Wunused-variable] 15:54:09 182 | uint64_t tm; 15:54:09 | ^~ 15:54:09 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 15:54:09 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 15:54:09 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 15:54:09 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 15:54:09 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 15:54:09 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 15:54:09 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 15:54:09 [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 15:54:10 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 15:54:10 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 15:54:10 [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 15:54:10 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 15:54:10 [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 15:54:10 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 15:54:10 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 15:54:10 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 15:54:10 [ 80%] Linking C static library libcbor.a 15:54:10 [ 80%] Built target cbor 15:54:10 Scanning dependencies of target sort 15:54:10 [ 82%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 15:54:11 [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 15:54:11 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 15:54:11 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 15:54:11 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 15:54:11 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 15:54:11 [ 84%] Linking C executable sort 15:54:11 [ 84%] Built target sort 15:54:11 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 15:54:11 Scanning dependencies of target readfile 15:54:11 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 15:54:11 [ 88%] Linking C executable readfile 15:54:11 [ 88%] Built target readfile 15:54:11 Scanning dependencies of target streaming_parser 15:54:11 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 15:54:11 [ 92%] Linking C executable streaming_parser 15:54:11 [ 92%] Built target streaming_parser 15:54:11 Scanning dependencies of target hello 15:54:11 [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 15:54:11 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 15:54:11 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 15:54:11 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 15:54:11 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 15:54:11 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 15:54:12 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 15:54:12 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 15:54:12 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 15:54:12 [ 96%] Linking C executable hello 15:54:12 [ 96%] Built target hello 15:54:12 Scanning dependencies of target create_items 15:54:12 [ 98%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 15:54:12 [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 15:54:12 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 15:54:12 [100%] Linking C executable create_items 15:54:12 [100%] Built target create_items 15:54:12 [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o 15:54:12 Install the project... 15:54:12 -- Install configuration: "Release" 15:54:12 -- Installing: /usr/local/include/cbor/configuration.h 15:54:12 -- Installing: /usr/local/lib64/libcbor.a 15:54:12 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 15:54:12 -- Installing: /usr/local/lib64/libcbor.so.0 15:54:12 -- Installing: /usr/local/lib64/libcbor.so 15:54:12 -- Up-to-date: /usr/local/include/cbor 15:54:12 -- Installing: /usr/local/include/cbor/streaming.h 15:54:12 -- Installing: /usr/local/include/cbor/ints.h 15:54:12 -- Installing: /usr/local/include/cbor/floats_ctrls.h 15:54:12 -- Installing: /usr/local/include/cbor/bytestrings.h 15:54:12 -- Installing: /usr/local/include/cbor/encoding.h 15:54:12 -- Installing: /usr/local/include/cbor/serialization.h 15:54:12 -- Installing: /usr/local/include/cbor/data.h 15:54:12 -- Installing: /usr/local/include/cbor/common.h 15:54:12 -- Installing: /usr/local/include/cbor/callbacks.h 15:54:12 -- Installing: /usr/local/include/cbor/strings.h 15:54:12 -- Installing: /usr/local/include/cbor/tags.h 15:54:12 -- Installing: /usr/local/include/cbor/internal 15:54:12 -- Installing: /usr/local/include/cbor/internal/encoders.h 15:54:12 -- Installing: /usr/local/include/cbor/internal/loaders.h 15:54:12 -- Installing: /usr/local/include/cbor/internal/stack.h 15:54:12 -- Installing: /usr/local/include/cbor/internal/unicode.h 15:54:12 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 15:54:12 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 15:54:12 -- Installing: /usr/local/include/cbor/arrays.h 15:54:12 -- Installing: /usr/local/include/cbor/maps.h 15:54:12 -- Installing: /usr/local/include/cbor.h 15:54:12 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 15:54:13 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 15:54:13 [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 15:54:13 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 15:54:14 [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 15:54:14 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 15:54:14 [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 15:54:14 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 15:54:14 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 15:54:14 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 15:54:14 Removing intermediate container a0f2491833d1 15:54:14 ---> b62d871462bf 15:54:14 Step 8/25 : RUN mkdir /tmp/sdk 15:54:14 [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 15:54:14 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 15:54:14 [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o 15:54:15 ---> Running in 17c6b4f4ed51 15:54:15 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 15:54:16 [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 15:54:16 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 15:54:16 [ 75%] Linking C shared library libcsdk.so 15:54:16 [ 75%] Built target csdk 15:54:16 Scanning dependencies of target template 15:54:16 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 15:54:16 [ 78%] Linking C executable template 15:54:16 [ 78%] Built target template 15:54:16 Scanning dependencies of target device-counter 15:54:16 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 15:54:16 [ 81%] Linking C executable device-counter 15:54:16 [ 81%] Built target device-counter 15:54:16 Scanning dependencies of target device-random 15:54:16 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 15:54:16 [ 84%] Linking C executable device-random 15:54:16 [ 84%] Built target device-random 15:54:16 Scanning dependencies of target device-gyro 15:54:16 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 15:54:16 [ 87%] Linking C executable device-gyro 15:54:16 [ 87%] Built target device-gyro 15:54:16 Scanning dependencies of target device-bitfields 15:54:16 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 15:54:16 [ 90%] Linking C executable device-bitfields 15:54:16 [ 90%] Built target device-bitfields 15:54:16 Scanning dependencies of target template-discovery 15:54:16 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 15:54:17 Removing intermediate container 17c6b4f4ed51 15:54:17 ---> 71e882cf9f9b 15:54:17 Step 9/25 : COPY VERSION /tmp/sdk 15:54:17 [ 93%] Linking C executable template-discovery 15:54:17 [ 93%] Built target template-discovery 15:54:17 Scanning dependencies of target device-file 15:54:17 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 15:54:17 [ 96%] Linking C executable device-file 15:54:17 [ 96%] Built target device-file 15:54:17 Scanning dependencies of target device-terminal 15:54:17 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 15:54:17 [100%] Linking C executable device-terminal 15:54:17 [100%] Built target device-terminal 15:54:17 Run CPack packaging tool... 15:54:17 CPack: Create package using TGZ 15:54:17 CPack: Install projects 15:54:17 CPack: - Run preinstall target for: Csdk 15:54:17 CPack: - Install project: Csdk [] 15:54:17 CPack: Create package 15:54:17 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 15:54:17 + '[' false '=' true ] 15:54:17 + '[' false '=' true ] 15:54:17 + mkdir -p /tmp/sdk/build/debug 15:54:17 + cd /tmp/sdk/build/debug 15:54:17 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 15:54:17 -- The C compiler identification is GNU 9.3.0 15:54:17 -- Check for working C compiler: /usr/bin/cc 15:54:17 -- Check for working C compiler: /usr/bin/cc - works 15:54:17 -- Detecting C compiler ABI info 15:54:17 -- Detecting C compiler ABI info - done 15:54:17 -- Detecting C compile features 15:54:17 -- Detecting C compile features - done 15:54:17 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 15:54:17 -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") 15:54:17 -- Found LIBYAML: /usr/lib/libyaml.so 15:54:17 -- Found LIBUUID: /usr/lib/libuuid.so 15:54:17 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 15:54:17 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 15:54:17 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 15:54:17 -- C SDK 0.0.0 for Linux 15:54:17 -- Performing Test CSDK_HAVE_ATOMIC 15:54:17 -- Performing Test CSDK_HAVE_ATOMIC - Success 15:54:17 -- Found Curses: /usr/lib/libcurses.so 15:54:17 -- Configuring done 15:54:17 -- Generating done 15:54:17 -- Build files have been written to: /tmp/sdk/build/debug 15:54:17 + make 15:54:17 + tee debug.log 15:54:17 Scanning dependencies of target csdk 15:54:18 ---> 65d0e52a7b3d 15:54:18 Step 10/25 : COPY src /tmp/sdk/src 15:54:18 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 15:54:18 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 15:54:18 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 15:54:18 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 15:54:18 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 15:54:18 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 15:54:18 /tmp/sdk/src/c/data-mqtt.c: In function 'edgex_data_client_new_mqtt': 15:54:18 /tmp/sdk/src/c/data-mqtt.c:182:12: warning: unused variable 'tm' [-Wunused-variable] 15:54:18 182 | uint64_t tm; 15:54:18 | ^~ 15:54:18 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 15:54:18 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 15:54:18 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 15:54:18 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 15:54:18 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 15:54:18 [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 15:54:19 ---> be38efeb22af 15:54:19 Step 11/25 : COPY include /tmp/sdk/include 15:54:19 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 15:54:19 [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 15:54:19 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 15:54:19 [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 15:54:19 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 15:54:19 [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 15:54:19 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 15:54:19 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 15:54:19 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 15:54:19 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 15:54:19 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 15:54:19 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 15:54:19 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 15:54:19 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 15:54:19 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 15:54:19 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 15:54:19 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 15:54:19 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 15:54:20 ---> e0e7693caef6 15:54:20 Step 12/25 : COPY scripts /tmp/sdk/scripts 15:54:20 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 15:54:20 [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 15:54:20 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 15:54:20 [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o 15:54:20 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 15:54:20 [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 15:54:20 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 15:54:20 ---> 51e02c1d6467 15:54:20 Step 13/25 : COPY LICENSE /tmp/sdk 15:54:20 [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 15:54:20 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 15:54:20 [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 15:54:20 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 15:54:20 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 15:54:20 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 15:54:21 [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 15:54:21 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 15:54:21 [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o 15:54:21 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 15:54:21 [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 15:54:21 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 15:54:21 ---> a3ea424627dd 15:54:21 Step 14/25 : COPY Attribution.txt /tmp/sdk 15:54:21 [ 75%] Linking C shared library libcsdk.so 15:54:21 [ 75%] Built target csdk 15:54:21 Scanning dependencies of target template 15:54:21 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 15:54:21 [ 78%] Linking C executable template 15:54:21 [ 78%] Built target template 15:54:21 Scanning dependencies of target device-counter 15:54:21 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 15:54:21 [ 81%] Linking C executable device-counter 15:54:22 [ 81%] Built target device-counter 15:54:22 Scanning dependencies of target device-random 15:54:22 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 15:54:22 [ 84%] Linking C executable device-random 15:54:22 [ 84%] Built target device-random 15:54:22 Scanning dependencies of target device-gyro 15:54:22 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 15:54:22 [ 87%] Linking C executable device-gyro 15:54:22 ---> 1483e1621461 15:54:22 Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 15:54:22 [ 87%] Built target device-gyro 15:54:22 Scanning dependencies of target device-bitfields 15:54:22 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 15:54:22 [ 90%] Linking C executable device-bitfields 15:54:22 [ 90%] Built target device-bitfields 15:54:22 Scanning dependencies of target template-discovery 15:54:22 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 15:54:22 [ 93%] Linking C executable template-discovery 15:54:22 [ 93%] Built target template-discovery 15:54:22 ---> Running in 284a63f52df6 15:54:22 Scanning dependencies of target device-file 15:54:22 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 15:54:22 [ 96%] Linking C executable device-file 15:54:22 [ 96%] Built target device-file 15:54:22 Scanning dependencies of target device-terminal 15:54:22 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 15:54:22 [100%] Linking C executable device-terminal 15:54:22 [100%] Built target device-terminal 15:54:22 make: Entering directory '/tmp/sdk/build/release' 15:54:22 make[1]: Entering directory '/tmp/sdk/build/release' 15:54:22 make[2]: Entering directory '/tmp/sdk/build/release' 15:54:22 make[2]: Leaving directory '/tmp/sdk/build/release' 15:54:22 [ 75%] Built target csdk 15:54:22 make[2]: Entering directory '/tmp/sdk/build/release' 15:54:22 make[2]: Leaving directory '/tmp/sdk/build/release' 15:54:22 [ 78%] Built target template 15:54:22 make[2]: Entering directory '/tmp/sdk/build/release' 15:54:22 make[2]: Leaving directory '/tmp/sdk/build/release' 15:54:22 [ 81%] Built target device-counter 15:54:22 make[2]: Entering directory '/tmp/sdk/build/release' 15:54:22 make[2]: Leaving directory '/tmp/sdk/build/release' 15:54:22 [ 84%] Built target device-random 15:54:22 make[2]: Entering directory '/tmp/sdk/build/release' 15:54:22 make[2]: Leaving directory '/tmp/sdk/build/release' 15:54:22 [ 87%] Built target device-gyro 15:54:22 make[2]: Entering directory '/tmp/sdk/build/release' 15:54:22 make[2]: Leaving directory '/tmp/sdk/build/release' 15:54:22 [ 90%] Built target device-bitfields 15:54:22 make[2]: Entering directory '/tmp/sdk/build/release' 15:54:22 make[2]: Leaving directory '/tmp/sdk/build/release' 15:54:22 [ 93%] Built target template-discovery 15:54:22 make[2]: Entering directory '/tmp/sdk/build/release' 15:54:22 make[2]: Leaving directory '/tmp/sdk/build/release' 15:54:22 [ 96%] Built target device-file 15:54:22 make[2]: Entering directory '/tmp/sdk/build/release' 15:54:22 make[2]: Leaving directory '/tmp/sdk/build/release' 15:54:22 [100%] Built target device-terminal 15:54:22 make[1]: Leaving directory '/tmp/sdk/build/release' 15:54:22 Install the project... 15:54:22 -- Install configuration: "Release" 15:54:22 -- Installing: /usr/local/lib/libcsdk.so 15:54:22 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 15:54:22 -- Up-to-date: /usr/local/include 15:54:22 -- Installing: /usr/local/include/devsdk 15:54:22 -- Installing: /usr/local/include/devsdk/devsdk-base.h 15:54:22 -- Installing: /usr/local/include/devsdk/devsdk.h 15:54:22 -- Installing: /usr/local/include/edgex 15:54:22 -- Installing: /usr/local/include/edgex/devices.h 15:54:22 -- Installing: /usr/local/include/edgex/edgex-base.h 15:54:22 -- Installing: /usr/local/include/edgex/edgex.h 15:54:22 -- Installing: /usr/local/include/edgex/profiles.h 15:54:22 -- Installing: /usr/local/include/edgex/rest-server.h 15:54:22 -- Installing: /usr/local/include/edgex/csdk-defs.h 15:54:22 -- Installing: /usr/local/include/iot 15:54:22 -- Installing: /usr/local/include/iot/base64.h 15:54:22 -- Installing: /usr/local/include/iot/component.h 15:54:22 -- Installing: /usr/local/include/iot/config.h 15:54:22 -- Installing: /usr/local/include/iot/container.h 15:54:22 -- Installing: /usr/local/include/iot/data.h 15:54:22 -- Installing: /usr/local/include/iot/hash.h 15:54:22 -- Installing: /usr/local/include/iot/iot.h 15:54:22 -- Installing: /usr/local/include/iot/json.h 15:54:22 -- Installing: /usr/local/include/iot/logger.h 15:54:22 -- Installing: /usr/local/include/iot/os.h 15:54:22 -- Installing: /usr/local/include/iot/scheduler.h 15:54:22 -- Installing: /usr/local/include/iot/thread.h 15:54:22 -- Installing: /usr/local/include/iot/threadpool.h 15:54:22 -- Installing: /usr/local/include/iot/time.h 15:54:22 -- Installing: /usr/local/include/iot/typecode.h 15:54:22 -- Installing: /usr/local/include/iot/os 15:54:22 -- Installing: /usr/local/include/iot/os/linux.h 15:54:22 -- Installing: /usr/local/include/iot/os/macos.h 15:54:22 -- Installing: /usr/local/include/iot/os/zephyr.h 15:54:22 -- Installing: /usr/local/include/iot/defs.h 15:54:22 -- Installing: /usr/local/share/device-sdk-c/LICENSE 15:54:22 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 15:54:22 make: Leaving directory '/tmp/sdk/build/release' 15:54:23 Removing intermediate container 8d9047e68640 15:54:23 ---> 0e9db4dc47be 15:54:23 Step 16/25 : FROM ${BASE} 15:54:23 ---> ac6a0feb3254 15:54:23 Step 17/25 : LABEL maintainer="IOTech " 15:54:23 ---> Running in 42c3e8a3b091 15:54:23 Removing intermediate container 42c3e8a3b091 15:54:23 ---> b8e36adc71d1 15:54:23 Step 18/25 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub 15:54:23 ---> Running in a5bfff73758e 15:54:23 Connecting to iotech.jfrog.io (54.195.244.87:443) 15:54:23 + CPPCHECK=false 15:54:23 + DOCGEN=false 15:54:23 + TOMLVER=SDK-0.2 15:54:23 + CUTILVER=1.1.4 15:54:23 + '[' 0 -gt 0 ] 15:54:23 + readlink -f ./scripts/build.sh 15:54:23 + dirname /tmp/sdk/scripts/build.sh 15:54:23 + dirname /tmp/sdk/scripts 15:54:23 + ROOT=/tmp/sdk 15:54:23 + cd /tmp/sdk 15:54:23 + '[' '!' -d deps ] 15:54:23 + mkdir deps 15:54:23 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 15:54:23 + tar -C deps -z -x -f - 15:54:23 --2021-08-11 15:54:23-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 15:54:23 Resolving github.com (github.com)... 140.82.113.4 15:54:23 Connecting to github.com (github.com)|140.82.113.4|:443... connected. 15:54:23 HTTP request sent, awaiting response... 302 Found 15:54:23 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 15:54:23 --2021-08-11 15:54:23-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 15:54:23 Resolving codeload.github.com (codeload.github.com)... 140.82.113.9 15:54:23 Connecting to codeload.github.com (codeload.github.com)|140.82.113.9|:443... connected. 15:54:23 HTTP request sent, awaiting response... 200 OK 15:54:23 Length: unspecified [application/x-gzip] 15:54:23 Saving to: 'STDOUT' 15:54:23 15:54:23 0K .......... ...... 1.02M=0.02s 15:54:23 15:54:23 2021-08-11 15:54:23 (1.02 MB/s) - written to stdout [16451] 15:54:23 15:54:23 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 15:54:23 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 15:54:23 + tar -C deps -z -x -f - 15:54:23 --2021-08-11 15:54:23-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 15:54:23 Resolving github.com (github.com)... 140.82.113.4 15:54:23 Connecting to github.com (github.com)|140.82.113.4|:443... connected. 15:54:23 HTTP request sent, awaiting response... 302 Found 15:54:23 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] 15:54:23 --2021-08-11 15:54:23-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 15:54:23 Resolving codeload.github.com (codeload.github.com)... 140.82.113.9 15:54:23 Connecting to codeload.github.com (codeload.github.com)|140.82.113.9|:443... connected. 15:54:24 HTTP request sent, awaiting response... 200 OK 15:54:24 Length: unspecified [application/x-gzip] 15:54:24 Saving to: 'STDOUT' 15:54:24  15:54:24 0K .......... .......... .......... .......... .......... 1.48M 15:54:24 50K .......... .......... .......... .......... .......... 2.85M 15:54:24 100K .......... .......... .......... .......... .......... 2.78M 15:54:24 150K .......... .......... .......  14.3M=0.07s 15:54:24 15:54:24 2021-08-11 15:54:24 (2.49 MB/s) - written to stdout [181796] 15:54:24 15:54:24 + mkdir -p src/c/iot 15:54: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 15:54:24 + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot 15:54:24 + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot 15:54:24 + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot 15:54:24 + mkdir -p include/iot 15:54: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 15:54:24 + mkdir -p include/iot/os 15:54: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 15:54:24 + mkdir -p /tmp/sdk/build/release 15:54:24 + cd /tmp/sdk/build/release 15:54:24 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 15:54:24 saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 15:54:24 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 15:54:24 '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved 15:54:24 Removing intermediate container a5bfff73758e 15:54:24 ---> ead22abfc049 15:54:24 Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 15:54:24 -- The C compiler identification is GNU 9.3.0 15:54:24 -- Check for working C compiler: /usr/bin/cc 15:54:24 ---> Running in b9bdbafc1cc7 15:54:24 -- Check for working C compiler: /usr/bin/cc - works 15:54:24 -- Detecting C compiler ABI info 15:54:24 Removing intermediate container b9bdbafc1cc7 15:54:24 ---> 61576777becd 15:54:24 Step 20/25 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid paho-mqtt-c-dev hiredis-dev 15:54:24 ---> Running in 9001347107c9 15:54:24 -- Detecting C compiler ABI info - done 15:54:25 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 15:54:25 -- Detecting C compile features 15:54:25 -- Detecting C compile features - done 15:54:25 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 15:54:25 -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") 15:54:25 -- Found LIBYAML: /usr/lib/libyaml.so 15:54:25 -- Found LIBUUID: /usr/lib/libuuid.so 15:54:25 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 15:54:25 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 15:54:25 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 15:54:25 -- C SDK 0.0.0 for Linux 15:54:25 -- Performing Test CSDK_HAVE_ATOMIC 15:54:25 -- Performing Test CSDK_HAVE_ATOMIC - Success 15:54:25 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 15:54:25 -- Found Curses: /usr/lib/libcurses.so 15:54:25 -- Configuring done 15:54:26 -- Generating done 15:54:26 -- Build files have been written to: /tmp/sdk/build/release 15:54:26 + + teemake release.log all 15:54:26 package 15:54:26 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 15:54:26 Scanning dependencies of target csdk 15:54:26 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 15:54:26 (1/7) Installing curl (7.78.0-r0) 15:54:26 (2/7) Installing hiredis (0.14.1-r0) 15:54:26 (3/7) Installing hiredis-dev (0.14.1-r0) 15:54:26 (4/7) Installing libuuid (2.35.2-r0) 15:54:26 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 15:54:27 (5/7) Installing paho-mqtt-c-dev (1.3.5-r0) 15:54:27 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 15:54:27 (6/7) Installing libidn2 (2.3.0-r0) 15:54:28 (7/7) Installing wget (1.20.3-r1) 15:54:28 Executing busybox-1.31.1-r20.trigger 15:54:28 OK: 286 MiB in 82 packages 15:54:28 Removing intermediate container 9001347107c9 15:54:28 ---> 6f7bb2419f29 15:54:28 Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 15:54:29 ---> e440640f16f2 15:54:29 Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 15:54:29 ---> 629cb1f08d04 15:54:29 Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib 15:54:29 ---> acdcb961d285 15:54:29 Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 15:54:29 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 15:54:29 ---> ca929c9c8fee 15:54:29 Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 15:54:29 ---> c99c57905195 15:54:29 Successfully built c99c57905195 15:54:29 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:54:30 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 15:54:30 + docker inspect -f . ci-base-image-x86_64 15:54:30 . [Pipeline] withDockerContainer 15:54:30 prd-centos7-docker-4c-2g-342 does not seem to be running inside a container 15:54:30 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 15:54:30 /tmp/sdk/src/c/data-mqtt.c: In function 'edgex_data_client_new_mqtt': 15:54:30 /tmp/sdk/src/c/data-mqtt.c:182:12: warning: unused variable 'tm' [-Wunused-variable] 15:54:30 182 | uint64_t tm; 15:54:30 | ^~ 15:54:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:54:30 $ docker top 8dcdd7b3ad81bfdcff92fd419e76bce589bc9a36aec3ee3503e930773666a5dc -eo pid,comm [Pipeline] { [Pipeline] sh 15:54:30 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 15:54:31 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 15:54:31 + make test 15:54:31 echo "make test" 15:54:31 make test [Pipeline] } 15:54:31 $ docker stop --time=1 8dcdd7b3ad81bfdcff92fd419e76bce589bc9a36aec3ee3503e930773666a5dc 15:54:31 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 15:54:32 $ docker rm -f 8dcdd7b3ad81bfdcff92fd419e76bce589bc9a36aec3ee3503e930773666a5dc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 15:54:32 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 15:54:34 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 15:54:34 [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [Pipeline] sh 15:54:35 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 15:54:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:54:36 + ls -al . 15:54:36 total 160 15:54:36 drwxrwxr-x. 8 jenkins jenkins 260 Aug 11 15:53 . 15:54:36 drwxrwxr-x. 4 jenkins jenkins 28 Aug 11 15:53 .. 15:54:36 -rw-rw-r--. 1 jenkins jenkins 3104 Aug 11 15:53 Attribution.txt 15:54:36 -rw-rw-r--. 1 jenkins jenkins 7556 Aug 11 15:53 CHANGES 15:54:36 drwxrwxr-x. 2 jenkins jenkins 121 Aug 11 15:53 docs 15:54:36 -rw-rw-r--. 1 jenkins jenkins 108574 Aug 11 15:53 Doxyfile 15:54:36 drwxrwxr-x. 8 jenkins jenkins 179 Aug 11 15:53 .git 15:54:36 drwxrwxr-x. 2 jenkins jenkins 81 Aug 11 15:53 .github 15:54:36 -rw-rw-r--. 1 jenkins jenkins 176 Aug 11 15:53 .gitignore 15:54:36 drwxrwxr-x. 4 jenkins jenkins 33 Aug 11 15:53 include 15:54:36 -rw-rw-r--. 1 jenkins jenkins 784 Aug 11 15:53 Jenkinsfile 15:54:36 -rw-rw-r--. 1 jenkins jenkins 10174 Aug 11 15:53 LICENSE 15:54:36 -rw-rw-r--. 1 jenkins jenkins 444 Aug 11 15:53 Makefile 15:54:36 -rw-rw-r--. 1 jenkins jenkins 4086 Aug 11 15:53 README.md 15:54:36 -rw-rw-r--. 1 jenkins jenkins 7090 Aug 11 15:53 README.v2.md 15:54:36 drwxrwxr-x. 2 jenkins jenkins 98 Aug 11 15:53 scripts 15:54:36 drwxrwxr-x. 4 jenkins jenkins 50 Aug 11 15:53 src 15:54:36 -rw-rw-r--. 1 jenkins jenkins 5 Aug 11 15:50 VERSION [Pipeline] isUnix [Pipeline] sh 15:54:36 [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 15:54:36 + 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=b2b95c0601effb71d3340061699055a9bfb71e86 --label arch=amd64 --label version=0.0.0 . 15:54:36 Sending build context to Docker daemon 2.636MB 15:54:36 Step 1/17 : ARG BASE=alpine:3.12 15:54:36 Step 2/17 : FROM ${BASE} 15:54:36 ---> c99c57905195 15:54:36 Step 3/17 : LABEL maintainer="IOTech " 15:54:36 ---> Running in fca37a01a63c 15:54:36 Removing intermediate container fca37a01a63c 15:54:36 ---> 28fc17460694 15:54:36 Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub 15:54:36 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 15:54:36 ---> Running in 3366e9d9b11a 15:54:36 [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 15:54:36 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 15:54:36 --2021-08-11 15:54:36-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub 15:54:36 Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.195.244.87, 54.229.110.245, 54.170.66.44 15:54:36 Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.195.244.87|:443... connected. 15:54:37 HTTP request sent, awaiting response... 200 OK 15:54:37 Length: 451 [application/octet-stream] 15:54:37 Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 15:54:37 15:54:37 0K 100% 51.4M=0s 15:54:37 15:54:37 2021-08-11 15:54:37 (51.4 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] 15:54:37 15:54:37 Removing intermediate container 3366e9d9b11a 15:54:37 ---> 371818aff547 15:54:37 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 15:54:37 ---> Running in f143577aa469 15:54:37 Removing intermediate container f143577aa469 15:54:37 ---> 9a9a675a1ebe 15:54:37 Step 6/17 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev hiredis-dev && mkdir -p /edgex-c-sdk/build 15:54:37 ---> Running in 96e8059f9673 15:54:38 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 15:54:39 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 15:54:39 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 15:54:39 (1/16) Installing ncurses-dev (6.2_p20200523-r0) 15:54:39 (2/16) Installing libblkid (2.35.2-r0) 15:54:40 [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 15:54:40 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 15:54:40 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 15:54:40 (3/16) Installing blkid (2.35.2-r0) 15:54:40 (4/16) Installing libcap-ng (0.7.10-r1) 15:54:40 (5/16) Installing setpriv (2.35.2-r0) 15:54:40 (6/16) Installing libmount (2.35.2-r0) 15:54:40 (7/16) Installing libsmartcols (2.35.2-r0) 15:54:40 (8/16) Installing findmnt (2.35.2-r0) 15:54:40 (9/16) Installing mcookie (2.35.2-r0) 15:54:40 (10/16) Installing hexdump (2.35.2-r0) 15:54:40 (11/16) Installing lsblk (2.35.2-r0) 15:54:40 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 15:54:40 (12/16) Installing libfdisk (2.35.2-r0) 15:54:40 (13/16) Installing sfdisk (2.35.2-r0) 15:54:40 (14/16) Installing cfdisk (2.35.2-r0) 15:54:40 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 15:54:41 (15/16) Installing util-linux (2.35.2-r0) 15:54:41 (16/16) Installing util-linux-dev (2.35.2-r0) 15:54:41 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 15:54:41 Executing busybox-1.31.1-r20.trigger 15:54:41 OK: 295 MiB in 98 packages 15:54:42 Removing intermediate container 96e8059f9673 15:54:42 ---> 7a4a4ea27ed8 15:54:42 Step 7/17 : COPY VERSION /edgex-c-sdk/ 15:54:42 ---> 69e55007f70e 15:54:42 Step 8/17 : COPY src /edgex-c-sdk/src/ 15:54:42 ---> 9bfa3a5e4b22 15:54:42 Step 9/17 : COPY include /edgex-c-sdk/include/ 15:54:42 ---> d3a8463c47bf 15:54:42 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 15:54:42 ---> 5056f27f9ef0 15:54:42 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 15:54:43 ---> b0c45930d8b3 15:54:43 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 15:54:43 ---> 2c7dc7bd29a6 15:54:43 Step 13/17 : WORKDIR /edgex-c-sdk 15:54:43 ---> Running in 40cfffa44bd8 15:54:43 Removing intermediate container 40cfffa44bd8 15:54:43 ---> 6c3f14b07253 15:54:43 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 15:54:43 ---> Running in 89e5dd8d87cd 15:54:43 Removing intermediate container 89e5dd8d87cd 15:54:43 ---> bb1e9252f19f 15:54:43 Step 15/17 : LABEL arch=amd64 15:54:43 ---> Running in 78b48f41d9d2 15:54:43 Removing intermediate container 78b48f41d9d2 15:54:43 ---> a3ae65d6feba 15:54:43 Step 16/17 : LABEL git_sha=b2b95c0601effb71d3340061699055a9bfb71e86 15:54:43 ---> Running in 446717019fde 15:54:43 Removing intermediate container 446717019fde 15:54:43 ---> 48d60aa1b6ee 15:54:43 Step 17/17 : LABEL version=0.0.0 15:54:43 ---> Running in 39f44942f87a 15:54:43 Removing intermediate container 39f44942f87a 15:54:43 ---> 02f84cb07a05 15:54:43 [Warning] One or more build-args [ARCH MAKE] were not consumed 15:54:43 Successfully built 02f84cb07a05 15:54:43 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 15:54:44 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 15:54:44 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 15:54:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:54:44 15:54:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 15:54:44 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 15:54:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:54:44 latest: Pulling from edgex-lftools-log-publisher 15:54:44 b4d181a07f80: Pulling fs layer 15:54:44 a1111a8f2ec3: Pulling fs layer 15:54:44 ed53099fbce6: Pulling fs layer 15:54:44 dc539afda2c1: Pulling fs layer 15:54:44 77bc0d833cb6: Pulling fs layer 15:54:44 9065ff56babe: Pulling fs layer 15:54:44 d287ab97295c: Pulling fs layer 15:54:44 77bc0d833cb6: Waiting 15:54:44 9065ff56babe: Waiting 15:54:44 d287ab97295c: Waiting 15:54:44 dc539afda2c1: Waiting 15:54:45 a1111a8f2ec3: Verifying Checksum 15:54:45 a1111a8f2ec3: Download complete 15:54:45 dc539afda2c1: Verifying Checksum 15:54:45 dc539afda2c1: Download complete 15:54:45 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 15:54:45 77bc0d833cb6: Verifying Checksum 15:54:45 77bc0d833cb6: Download complete 15:54:45 9065ff56babe: Verifying Checksum 15:54:45 9065ff56babe: Download complete 15:54:45 ed53099fbce6: Verifying Checksum 15:54:45 ed53099fbce6: Download complete 15:54:45 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 15:54:45 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 15:54:45 b4d181a07f80: Verifying Checksum 15:54:45 b4d181a07f80: Download complete 15:54:46 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 15:54:47 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 15:54:47 b4d181a07f80: Pull complete 15:54:47 a1111a8f2ec3: Pull complete 15:54:47 [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 15:54:47 ed53099fbce6: Pull complete 15:54:47 dc539afda2c1: Pull complete 15:54:47 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 15:54:48 77bc0d833cb6: Pull complete 15:54:48 9065ff56babe: Pull complete 15:54:49 d287ab97295c: Verifying Checksum 15:54:49 d287ab97295c: Download complete 15:54:49 [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o 15:54:50 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 15:54:51 [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 15:54:51 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 15:54:53 d287ab97295c: Pull complete 15:54:53 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 15:54:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:54:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 15:54:54 prd-centos7-docker-4c-2g-342 does not seem to be running inside a container 15:54:54 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:54:55 [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 15:54:56 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 15:54:56 $ docker top f9fa00d0971e93adaf18b1ad1b6fd73aa0d28a45b6a9fccb924095e6ccf27bf2 -eo pid,comm [Pipeline] { 15:54:56 [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [Pipeline] libraryResource 15:54:56 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [Pipeline] sh 15:54:57 ---> job-cost.sh 15:54:57 lf-activate-venv: SKIPPING 15:54:57 INFO: No Stack... 15:54:57 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 15:54:58 INFO: Retrieving Pricing Info for: v3-standard-2 15:54:58 INFO: Archiving Costs [Pipeline] sh 15:54:58 + cat /w/workspace/device-sdk-c/1/archives/cost.csv 15:54:58 + cut -d, -f6 [Pipeline] lock 15:54:59 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-363-1-stack-cost] 15:54:59 Resource [jenkins-edgexfoundry-device-sdk-c-PR-363-1-stack-cost] did not exist. Created. 15:54:59 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-363-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:54:59 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 15:54:59 + echo total: 0.05999999865889549 15:54:59 [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [Pipeline] stash 15:55:00 Stashed 1 file(s) [Pipeline] } 15:55:00 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-363-1-stack-cost] [Pipeline] // lock 15:55:00 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [Pipeline] } 15:55:00 $ docker stop --time=1 f9fa00d0971e93adaf18b1ad1b6fd73aa0d28a45b6a9fccb924095e6ccf27bf2 15:55:00 [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o 15:55:01 $ docker rm -f f9fa00d0971e93adaf18b1ad1b6fd73aa0d28a45b6a9fccb924095e6ccf27bf2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 15:55:02 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 15:55:05 [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 15:55:06 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 15:55:06 [ 75%] Linking C shared library libcsdk.so 15:55:06 [ 75%] Built target csdk 15:55:06 Scanning dependencies of target template 15:55:06 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 15:55:07 [ 78%] Linking C executable template 15:55:07 [ 78%] Built target template 15:55:07 Scanning dependencies of target device-counter 15:55:08 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 15:55:08 [ 81%] Linking C executable device-counter 15:55:08 [ 81%] Built target device-counter 15:55:08 Scanning dependencies of target device-random 15:55:08 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 15:55:09 [ 84%] Linking C executable device-random 15:55:09 [ 84%] Built target device-random 15:55:09 Scanning dependencies of target device-gyro 15:55:09 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 15:55:09 [ 87%] Linking C executable device-gyro 15:55:10 [ 87%] Built target device-gyro 15:55:10 Scanning dependencies of target device-bitfields 15:55:10 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 15:55:10 [ 90%] Linking C executable device-bitfields 15:55:10 [ 90%] Built target device-bitfields 15:55:10 Scanning dependencies of target template-discovery 15:55:10 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 15:55:11 [ 93%] Linking C executable template-discovery 15:55:11 [ 93%] Built target template-discovery 15:55:11 Scanning dependencies of target device-file 15:55:11 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 15:55:12 [ 96%] Linking C executable device-file 15:55:12 [ 96%] Built target device-file 15:55:12 Scanning dependencies of target device-terminal 15:55:12 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 15:55:13 [100%] Linking C executable device-terminal 15:55:13 [100%] Built target device-terminal 15:55:13 Run CPack packaging tool... 15:55:13 CPack: Create package using TGZ 15:55:13 CPack: Install projects 15:55:13 CPack: - Run preinstall target for: Csdk 15:55:14 CPack: - Install project: Csdk [] 15:55:14 CPack: Create package 15:55:14 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 15:55:14 + '[' false '=' true ] 15:55:14 + '[' false '=' true ] 15:55:14 + mkdir -p /tmp/sdk/build/debug 15:55:14 + cd /tmp/sdk/build/debug 15:55:14 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 15:55:14 -- The C compiler identification is GNU 9.3.0 15:55:14 -- Check for working C compiler: /usr/bin/cc 15:55:14 -- Check for working C compiler: /usr/bin/cc - works 15:55:14 -- Detecting C compiler ABI info 15:55:15 -- Detecting C compiler ABI info - done 15:55:15 -- Detecting C compile features 15:55:15 -- Detecting C compile features - done 15:55:15 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 15:55:15 -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") 15:55:15 -- Found LIBYAML: /usr/lib/libyaml.so 15:55:15 -- Found LIBUUID: /usr/lib/libuuid.so 15:55:15 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 15:55:15 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 15:55:15 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 15:55:15 -- C SDK 0.0.0 for Linux 15:55:15 -- Performing Test CSDK_HAVE_ATOMIC 15:55:15 -- Performing Test CSDK_HAVE_ATOMIC - Success 15:55:15 -- Found Curses: /usr/lib/libcurses.so 15:55:16 -- Configuring done 15:55:16 -- Generating done 15:55:16 -- Build files have been written to: /tmp/sdk/build/debug 15:55:16 + make 15:55:16 + tee debug.log 15:55:16 Scanning dependencies of target csdk 15:55:16 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 15:55:16 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 15:55:17 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 15:55:17 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 15:55:17 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 15:55:18 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 15:55:18 /tmp/sdk/src/c/data-mqtt.c: In function 'edgex_data_client_new_mqtt': 15:55:18 /tmp/sdk/src/c/data-mqtt.c:182:12: warning: unused variable 'tm' [-Wunused-variable] 15:55:18 182 | uint64_t tm; 15:55:18 | ^~ 15:55:18 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 15:55:18 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 15:55:19 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 15:55:19 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 15:55:19 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 15:55:20 [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 15:55:20 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 15:55:20 [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 15:55:21 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 15:55:21 [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 15:55:21 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 15:55:22 [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 15:55:22 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 15:55:22 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 15:55:22 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 15:55:22 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 15:55:23 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 15:55:24 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 15:55:24 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 15:55:24 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 15:55:24 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 15:55:24 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 15:55:24 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 15:55:25 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 15:55:25 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 15:55:25 [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 15:55:25 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 15:55:26 [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o 15:55:26 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 15:55:26 [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 15:55:26 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 15:55:27 [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 15:55:28 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 15:55:28 [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 15:55:28 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 15:55:29 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 15:55:29 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 15:55:30 [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 15:55:30 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 15:55:30 [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o 15:55:31 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 15:55:32 [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 15:55:32 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 15:55:32 [ 75%] Linking C shared library libcsdk.so 15:55:32 [ 75%] Built target csdk 15:55:32 Scanning dependencies of target template 15:55:32 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 15:55:33 [ 78%] Linking C executable template 15:55:33 [ 78%] Built target template 15:55:33 Scanning dependencies of target device-counter 15:55:33 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 15:55:33 [ 81%] Linking C executable device-counter 15:55:33 [ 81%] Built target device-counter 15:55:33 Scanning dependencies of target device-random 15:55:33 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 15:55:34 [ 84%] Linking C executable device-random 15:55:34 [ 84%] Built target device-random 15:55:34 Scanning dependencies of target device-gyro 15:55:34 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 15:55:34 [ 87%] Linking C executable device-gyro 15:55:35 [ 87%] Built target device-gyro 15:55:35 Scanning dependencies of target device-bitfields 15:55:35 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 15:55:35 [ 90%] Linking C executable device-bitfields 15:55:35 [ 90%] Built target device-bitfields 15:55:35 Scanning dependencies of target template-discovery 15:55:35 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 15:55:35 [ 93%] Linking C executable template-discovery 15:55:36 [ 93%] Built target template-discovery 15:55:36 Scanning dependencies of target device-file 15:55:36 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 15:55:36 [ 96%] Linking C executable device-file 15:55:36 [ 96%] Built target device-file 15:55:36 Scanning dependencies of target device-terminal 15:55:36 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 15:55:36 [100%] Linking C executable device-terminal 15:55:37 [100%] Built target device-terminal 15:55:37 make: Entering directory '/tmp/sdk/build/release' 15:55:37 make[1]: Entering directory '/tmp/sdk/build/release' 15:55:37 make[2]: Entering directory '/tmp/sdk/build/release' 15:55:37 make[2]: Leaving directory '/tmp/sdk/build/release' 15:55:37 [ 75%] Built target csdk 15:55:37 make[2]: Entering directory '/tmp/sdk/build/release' 15:55:37 make[2]: Leaving directory '/tmp/sdk/build/release' 15:55:37 [ 78%] Built target template 15:55:37 make[2]: Entering directory '/tmp/sdk/build/release' 15:55:37 make[2]: Leaving directory '/tmp/sdk/build/release' 15:55:37 [ 81%] Built target device-counter 15:55:37 make[2]: Entering directory '/tmp/sdk/build/release' 15:55:37 make[2]: Leaving directory '/tmp/sdk/build/release' 15:55:37 [ 84%] Built target device-random 15:55:37 make[2]: Entering directory '/tmp/sdk/build/release' 15:55:37 make[2]: Leaving directory '/tmp/sdk/build/release' 15:55:37 [ 87%] Built target device-gyro 15:55:37 make[2]: Entering directory '/tmp/sdk/build/release' 15:55:37 make[2]: Leaving directory '/tmp/sdk/build/release' 15:55:37 [ 90%] Built target device-bitfields 15:55:37 make[2]: Entering directory '/tmp/sdk/build/release' 15:55:37 make[2]: Leaving directory '/tmp/sdk/build/release' 15:55:37 [ 93%] Built target template-discovery 15:55:37 make[2]: Entering directory '/tmp/sdk/build/release' 15:55:37 make[2]: Leaving directory '/tmp/sdk/build/release' 15:55:37 [ 96%] Built target device-file 15:55:37 make[2]: Entering directory '/tmp/sdk/build/release' 15:55:37 make[2]: Leaving directory '/tmp/sdk/build/release' 15:55:37 [100%] Built target device-terminal 15:55:37 make[1]: Leaving directory '/tmp/sdk/build/release' 15:55:37 Install the project... 15:55:37 -- Install configuration: "Release" 15:55:37 -- Installing: /usr/local/lib/libcsdk.so 15:55:37 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 15:55:37 -- Up-to-date: /usr/local/include 15:55:37 -- Installing: /usr/local/include/edgex 15:55:37 -- Installing: /usr/local/include/edgex/rest-server.h 15:55:37 -- Installing: /usr/local/include/edgex/edgex-base.h 15:55:37 -- Installing: /usr/local/include/edgex/edgex.h 15:55:37 -- Installing: /usr/local/include/edgex/devices.h 15:55:37 -- Installing: /usr/local/include/edgex/profiles.h 15:55:37 -- Installing: /usr/local/include/edgex/csdk-defs.h 15:55:37 -- Installing: /usr/local/include/devsdk 15:55:37 -- Installing: /usr/local/include/devsdk/devsdk-base.h 15:55:37 -- Installing: /usr/local/include/devsdk/devsdk.h 15:55:37 -- Installing: /usr/local/include/iot 15:55:37 -- Installing: /usr/local/include/iot/json.h 15:55:37 -- Installing: /usr/local/include/iot/container.h 15:55:37 -- Installing: /usr/local/include/iot/component.h 15:55:37 -- Installing: /usr/local/include/iot/typecode.h 15:55:37 -- Installing: /usr/local/include/iot/iot.h 15:55:37 -- Installing: /usr/local/include/iot/time.h 15:55:37 -- Installing: /usr/local/include/iot/hash.h 15:55:37 -- Installing: /usr/local/include/iot/logger.h 15:55:37 -- Installing: /usr/local/include/iot/os 15:55:37 -- Installing: /usr/local/include/iot/os/zephyr.h 15:55:37 -- Installing: /usr/local/include/iot/os/linux.h 15:55:37 -- Installing: /usr/local/include/iot/os/macos.h 15:55:37 -- Installing: /usr/local/include/iot/scheduler.h 15:55:37 -- Installing: /usr/local/include/iot/data.h 15:55:37 -- Installing: /usr/local/include/iot/thread.h 15:55:37 -- Installing: /usr/local/include/iot/os.h 15:55:37 -- Installing: /usr/local/include/iot/base64.h 15:55:37 -- Installing: /usr/local/include/iot/defs.h 15:55:37 -- Installing: /usr/local/include/iot/threadpool.h 15:55:37 -- Installing: /usr/local/include/iot/config.h 15:55:37 -- Installing: /usr/local/share/device-sdk-c/LICENSE 15:55:37 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 15:55:37 make: Leaving directory '/tmp/sdk/build/release' 15:55:39 Removing intermediate container 284a63f52df6 15:55:39 ---> e76420058dcf 15:55:39 Step 16/25 : FROM ${BASE} 15:55:39 ---> 759262b18b23 15:55:39 Step 17/25 : LABEL maintainer="IOTech " 15:55:40 ---> Running in fe6cfa18e546 15:55:40 Removing intermediate container fe6cfa18e546 15:55:40 ---> 13eeee2e896d 15:55:40 Step 18/25 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub 15:55:40 ---> Running in e16824292291 15:55:42 Connecting to iotech.jfrog.io (54.229.110.245:443) 15:55:43 saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 15:55:43 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 15:55:43 '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved 15:55:44 Removing intermediate container e16824292291 15:55:44 ---> afc208967a03 15:55:44 Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 15:55:44 ---> Running in 2834ed694a2c 15:55:47 Removing intermediate container 2834ed694a2c 15:55:47 ---> 32a4b37469d4 15:55: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 15:55:47 ---> Running in c05737d9b285 15:55:48 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 15:55:49 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 15:55:49 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 15:55:50 (1/7) Installing curl (7.78.0-r0) 15:55:50 (2/7) Installing hiredis (0.14.1-r0) 15:55:50 (3/7) Installing hiredis-dev (0.14.1-r0) 15:55:50 (4/7) Installing libuuid (2.35.2-r0) 15:55:50 (5/7) Installing paho-mqtt-c-dev (1.3.5-r0) 15:55:51 (6/7) Installing libidn2 (2.3.0-r0) 15:55:52 (7/7) Installing wget (1.20.3-r1) 15:55:52 Executing busybox-1.31.1-r20.trigger 15:55:52 OK: 267 MiB in 82 packages 15:55:53 Removing intermediate container c05737d9b285 15:55:53 ---> 1d74f976a6fb 15:55:53 Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 15:55:54 ---> a3dd66f635fe 15:55:54 Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 15:55:55 ---> e42bdcd4f5dc 15:55:55 Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib 15:55:56 ---> fbefd6208530 15:55:56 Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 15:55:56 ---> ac3db46ed034 15:55:56 Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 15:55:57 ---> 92162f0112a7 15:55:57 Successfully built 92162f0112a7 15:55:57 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:55:58 + docker inspect -f . ci-base-image-arm64 15:55:58 . [Pipeline] withDockerContainer 15:55:58 prd-ubuntu18.04-docker-arm64-4c-16g-341 does not seem to be running inside a container 15:55:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:56:00 $ docker top a44166b7c44d96afd2512b647504826dead86ee15b7cc262163989fb53f04528 -eo pid,comm [Pipeline] { [Pipeline] sh 15:56:01 + make test 15:56:01 echo "make test" 15:56:01 make test [Pipeline] } 15:56:01 $ docker stop --time=1 a44166b7c44d96afd2512b647504826dead86ee15b7cc262163989fb53f04528 15:56:03 $ docker rm -f a44166b7c44d96afd2512b647504826dead86ee15b7cc262163989fb53f04528 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:56:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:56:04 + ls -al . 15:56:04 total 192 15:56:04 drwxrwxr-x 8 jenkins jenkins 4096 Aug 11 15:53 . 15:56:04 drwxrwxr-x 4 jenkins jenkins 4096 Aug 11 15:53 .. 15:56:04 drwxrwxr-x 8 jenkins jenkins 4096 Aug 11 15:53 .git 15:56:04 drwxrwxr-x 2 jenkins jenkins 4096 Aug 11 15:53 .github 15:56:04 -rw-rw-r-- 1 jenkins jenkins 176 Aug 11 15:53 .gitignore 15:56:04 -rw-rw-r-- 1 jenkins jenkins 3104 Aug 11 15:53 Attribution.txt 15:56:04 -rw-rw-r-- 1 jenkins jenkins 7556 Aug 11 15:53 CHANGES 15:56:04 -rw-rw-r-- 1 jenkins jenkins 108574 Aug 11 15:53 Doxyfile 15:56:04 -rw-rw-r-- 1 jenkins jenkins 784 Aug 11 15:53 Jenkinsfile 15:56:04 -rw-rw-r-- 1 jenkins jenkins 10174 Aug 11 15:53 LICENSE 15:56:04 -rw-rw-r-- 1 jenkins jenkins 444 Aug 11 15:53 Makefile 15:56:04 -rw-rw-r-- 1 jenkins jenkins 4086 Aug 11 15:53 README.md 15:56:04 -rw-rw-r-- 1 jenkins jenkins 7090 Aug 11 15:53 README.v2.md 15:56:04 -rw-rw-r-- 1 jenkins jenkins 5 Aug 11 15:50 VERSION 15:56:04 drwxrwxr-x 2 jenkins jenkins 4096 Aug 11 15:53 docs 15:56:04 drwxrwxr-x 4 jenkins jenkins 4096 Aug 11 15:53 include 15:56:04 drwxrwxr-x 2 jenkins jenkins 4096 Aug 11 15:53 scripts 15:56:04 drwxrwxr-x 4 jenkins jenkins 4096 Aug 11 15:53 src [Pipeline] isUnix [Pipeline] sh 15:56:05 + 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=b2b95c0601effb71d3340061699055a9bfb71e86 --label arch=arm64 --label version=0.0.0 . 15:56:05 Sending build context to Docker daemon 2.635MB 15:56:05 Step 1/17 : ARG BASE=alpine:3.12 15:56:05 Step 2/17 : FROM ${BASE} 15:56:05 ---> 92162f0112a7 15:56:05 Step 3/17 : LABEL maintainer="IOTech " 15:56:05 ---> Running in 6227dc705eea 15:56:06 Removing intermediate container 6227dc705eea 15:56:06 ---> 10dd0d6e68c2 15:56:06 Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub 15:56:06 ---> Running in 6b0b2daff5dc 15:56:08 --2021-08-11 15:56:07-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub 15:56:08 Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.195.244.87, 54.229.110.245, 54.170.66.44 15:56:08 Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.195.244.87|:443... connected. 15:56:08 HTTP request sent, awaiting response... 200 OK 15:56:08 Length: 451 [application/octet-stream] 15:56:08 Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 15:56:08 15:56:08 0K  100% 19.3M=0s 15:56:08 15:56:08 2021-08-11 15:56:08 (19.3 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] 15:56:08 15:56:09 Removing intermediate container 6b0b2daff5dc 15:56:09 ---> 673b93fcbefc 15:56:09 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 15:56:09 ---> Running in dbc503046846 15:56:11 Removing intermediate container dbc503046846 15:56:11 ---> dee3b3cb459a 15:56:11 Step 6/17 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev hiredis-dev && mkdir -p /edgex-c-sdk/build 15:56:11 ---> Running in 5a1fa59ec430 15:56:12 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 15:56:13 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 15:56:14 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 15:56:14 (1/16) Installing ncurses-dev (6.2_p20200523-r0) 15:56:14 (2/16) Installing libblkid (2.35.2-r0) 15:56:15 (3/16) Installing blkid (2.35.2-r0) 15:56:15 (4/16) Installing libcap-ng (0.7.10-r1) 15:56:15 (5/16) Installing setpriv (2.35.2-r0) 15:56:15 (6/16) Installing libmount (2.35.2-r0) 15:56:15 (7/16) Installing libsmartcols (2.35.2-r0) 15:56:15 (8/16) Installing findmnt (2.35.2-r0) 15:56:15 (9/16) Installing mcookie (2.35.2-r0) 15:56:15 (10/16) Installing hexdump (2.35.2-r0) 15:56:15 (11/16) Installing lsblk (2.35.2-r0) 15:56:15 (12/16) Installing libfdisk (2.35.2-r0) 15:56:15 (13/16) Installing sfdisk (2.35.2-r0) 15:56:16 (14/16) Installing cfdisk (2.35.2-r0) 15:56:16 (15/16) Installing util-linux (2.35.2-r0) 15:56:16 (16/16) Installing util-linux-dev (2.35.2-r0) 15:56:16 Executing busybox-1.31.1-r20.trigger 15:56:16 OK: 276 MiB in 98 packages 15:56:18 Removing intermediate container 5a1fa59ec430 15:56:18 ---> 69ba88c4812d 15:56:18 Step 7/17 : COPY VERSION /edgex-c-sdk/ 15:56:19 ---> 45770f2c3bf0 15:56:19 Step 8/17 : COPY src /edgex-c-sdk/src/ 15:56:20 ---> 68f25d8883cb 15:56:20 Step 9/17 : COPY include /edgex-c-sdk/include/ 15:56:21 ---> c6748a551707 15:56:21 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 15:56:22 ---> 7cfc57e00149 15:56:22 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 15:56:22 ---> e26a43d70b1b 15:56:22 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 15:56:23 ---> 2986eb19aa66 15:56:23 Step 13/17 : WORKDIR /edgex-c-sdk 15:56:23 ---> Running in 02629f517100 15:56:24 Removing intermediate container 02629f517100 15:56:24 ---> 4c29df954158 15:56:24 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 15:56:24 ---> Running in 4d104d460a82 15:56:25 Removing intermediate container 4d104d460a82 15:56:25 ---> 9faa383acada 15:56:25 Step 15/17 : LABEL arch=arm64 15:56:25 ---> Running in 957b6555495d 15:56:26 Removing intermediate container 957b6555495d 15:56:26 ---> c42d4c626eea 15:56:26 Step 16/17 : LABEL git_sha=b2b95c0601effb71d3340061699055a9bfb71e86 15:56:26 ---> Running in c06006299b84 15:56:27 Removing intermediate container c06006299b84 15:56:27 ---> 482665f45d95 15:56:27 Step 17/17 : LABEL version=0.0.0 15:56:27 ---> Running in 0e367896983e 15:56:27 Removing intermediate container 0e367896983e 15:56:27 ---> 1b1040519cf3 15:56:27 [Warning] One or more build-args [ARCH MAKE] were not consumed 15:56:27 Successfully built 1b1040519cf3 15:56:27 Successfully tagged device-sdk-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:56:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:56:28 15:56:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 15:56:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:56:29 arm64: Pulling from edgex-lftools-log-publisher 15:56:29 448f6bf000e3: Pulling fs layer 15:56:29 f757da607395: Pulling fs layer 15:56:29 05883995daec: Pulling fs layer 15:56:29 8603b9c90790: Pulling fs layer 15:56:29 1560dd03e051: Pulling fs layer 15:56:29 27f5ce0e4adf: Pulling fs layer 15:56:29 c2d8d7efcc4b: Pulling fs layer 15:56:29 1560dd03e051: Waiting 15:56:29 27f5ce0e4adf: Waiting 15:56:29 c2d8d7efcc4b: Waiting 15:56:29 8603b9c90790: Waiting 15:56:29 f757da607395: Verifying Checksum 15:56:29 f757da607395: Download complete 15:56:29 8603b9c90790: Verifying Checksum 15:56:29 8603b9c90790: Download complete 15:56:29 1560dd03e051: Verifying Checksum 15:56:29 1560dd03e051: Download complete 15:56:29 27f5ce0e4adf: Verifying Checksum 15:56:29 27f5ce0e4adf: Download complete 15:56:29 05883995daec: Verifying Checksum 15:56:29 05883995daec: Download complete 15:56:30 448f6bf000e3: Download complete 15:56:33 c2d8d7efcc4b: Download complete 15:56:33 448f6bf000e3: Pull complete 15:56:34 f757da607395: Pull complete 15:56:35 05883995daec: Pull complete 15:56:35 8603b9c90790: Pull complete 15:56:36 1560dd03e051: Pull complete 15:56:37 27f5ce0e4adf: Pull complete 15:56:52 c2d8d7efcc4b: Pull complete 15:56:52 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 15:56:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:56:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 15:56:52 prd-ubuntu18.04-docker-arm64-4c-16g-341 does not seem to be running inside a container 15:56:52 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 15:56:57 $ docker top a8714285e9efad682016072b0f2558fd1441a0a03a55ed7942bdd1559bcedf1f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:56:58 ---> job-cost.sh 15:56:58 lf-activate-venv: SKIPPING 15:56:58 INFO: No Stack... 15:56:59 INFO: Retrieving Pricing Info for: v2-standard-4 15:56:59 INFO: Archiving Costs [Pipeline] sh 15:57:00 + cat /w/workspace/device-sdk-c/1/archives/cost.csv 15:57:00 + cut -d, -f6 [Pipeline] lock 15:57:00 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-363-1-stack-cost] 15:57:00 Resource [jenkins-edgexfoundry-device-sdk-c-PR-363-1-stack-cost] did not exist. Created. 15:57:00 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-363-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:57:01 /w/workspace/device-sdk-c/1@tmp/durable-d21dfa62/script.sh: 1: /w/workspace/device-sdk-c/1@tmp/durable-d21dfa62/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 15:57:02 + echo total: 0.18000000715255737 [Pipeline] stash 15:57:02 Warning: overwriting stash ‘stack-cost’ 15:57:02 Stashed 1 file(s) [Pipeline] } 15:57:02 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-363-1-stack-cost] [Pipeline] // lock [Pipeline] } 15:57:02 $ docker stop --time=1 a8714285e9efad682016072b0f2558fd1441a0a03a55ed7942bdd1559bcedf1f 15:57:04 $ docker rm -f a8714285e9efad682016072b0f2558fd1441a0a03a55ed7942bdd1559bcedf1f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 15:57:06 + '[' -d /w/workspace/edgexfoundry_device-sdk-c_PR-363/archives ']' [Pipeline] libraryResource [Pipeline] sh 15:57:06 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:57:07 ---> package-listing.sh 15:57:07 ++ tr '[:upper:]' '[:lower:]' 15:57:07 ++ facter osfamily 15:57:07 + OS_FAMILY=redhat 15:57:07 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-363 15:57:07 + START_PACKAGES=/tmp/packages_start.txt 15:57:07 + END_PACKAGES=/tmp/packages_end.txt 15:57:07 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:57:07 + PACKAGES=/tmp/packages_start.txt 15:57:07 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-363 ']' 15:57:07 + PACKAGES=/tmp/packages_end.txt 15:57:07 + case "${OS_FAMILY}" in 15:57:07 + rpm -qa 15:57:07 + sort 15:57:08 + '[' -f /tmp/packages_start.txt ']' 15:57:08 + '[' -f /tmp/packages_end.txt ']' 15:57:08 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:57:08 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-363 ']' 15:57:08 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-363/archives/ 15:57:08 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-363/archives/ [Pipeline] echo 15:57:08 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-363/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:57:08 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 15:57:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:57:09 15:57:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 15:57:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:57:09 latest: Pulling from edgex-lftools-log-publisher 15:57:09 b4d181a07f80: Pulling fs layer 15:57:09 a1111a8f2ec3: Pulling fs layer 15:57:09 ed53099fbce6: Pulling fs layer 15:57:09 dc539afda2c1: Pulling fs layer 15:57:09 77bc0d833cb6: Pulling fs layer 15:57:09 9065ff56babe: Pulling fs layer 15:57:09 d287ab97295c: Pulling fs layer 15:57:09 77bc0d833cb6: Waiting 15:57:09 9065ff56babe: Waiting 15:57:09 d287ab97295c: Waiting 15:57:09 dc539afda2c1: Waiting 15:57:10 a1111a8f2ec3: Verifying Checksum 15:57:10 a1111a8f2ec3: Download complete 15:57:10 dc539afda2c1: Verifying Checksum 15:57:10 dc539afda2c1: Download complete 15:57:10 77bc0d833cb6: Verifying Checksum 15:57:10 77bc0d833cb6: Download complete 15:57:10 9065ff56babe: Verifying Checksum 15:57:10 9065ff56babe: Download complete 15:57:10 ed53099fbce6: Verifying Checksum 15:57:10 ed53099fbce6: Download complete 15:57:11 b4d181a07f80: Verifying Checksum 15:57:11 b4d181a07f80: Download complete 15:57:12 b4d181a07f80: Pull complete 15:57:12 a1111a8f2ec3: Pull complete 15:57:13 ed53099fbce6: Pull complete 15:57:13 dc539afda2c1: Pull complete 15:57:13 77bc0d833cb6: Pull complete 15:57:13 9065ff56babe: Pull complete 15:57:16 d287ab97295c: Verifying Checksum 15:57:16 d287ab97295c: Download complete 15:57:20 d287ab97295c: Pull complete 15:57:20 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 15:57:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:57:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 15:57:20 prd-centos7-docker-4c-2g-340 does not seem to be running inside a container 15:57:20 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-363/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-363 -v /w/workspace/edgexfoundry_device-sdk-c_PR-363:/w/workspace/edgexfoundry_device-sdk-c_PR-363:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-363@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-363@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:57:23 $ docker top 53a9896a75a7ac5dd2c74280635a286a1a4d5df8b5e4549e476848e1193f3f42 -eo pid,comm [Pipeline] { [Pipeline] sh 15:57:23 + touch /tmp/pre-build-complete [Pipeline] sh 15:57:24 + mkdir -p /var/log/sysstat [Pipeline] sh 15:57:24 + ls /var/log/sa-host 15:57:24 + sadf -c /var/log/sa-host/sa05 15:57:24 file_magic: OK 15:57:24 HZ: Using current value: 100 15:57:24 file_header: OK 15:57:24 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 15:57:24 Statistics: 15:57:24 Hnuu...uuuununununu...Hnuu...uuuununununu... 15:57:24 File successfully converted to sysstat format version 12.0.3 15:57:24 + sadf -c /var/log/sa-host/sa11 15:57:24 file_magic: OK 15:57:24 HZ: Using current value: 100 15:57:24 file_header: OK 15:57:24 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 15:57:24 Statistics: 15:57:24 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 15:57:24 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:57:25 provisioning config files... 15:57:25 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-363@tmp/config3009704074970556461tmp [Pipeline] { [Pipeline] echo 15:57:25 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:57:25 ---> create-netrc.sh [Pipeline] } 15:57:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:57:26 ---> python-tools-install.sh [Pipeline] echo 15:57:26 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:57:26 ---> sudo-logs.sh 15:57:26 Archiving 'sudo' log.. 15:57:26 sudo: unable to resolve host prd-centos7-docker-4c-2g-340.vexxhost.local: Name or service not known 15:57:26 sudo: unable to resolve host prd-centos7-docker-4c-2g-340.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo 15:57:26 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:57:27 ---> job-cost.sh 15:57:27 lf-activate-venv: SKIPPING 15:57:27 DEBUG: total: 0.18000000715255737 15:57:27 INFO: Retrieving Stack Cost... 15:57:28 INFO: Retrieving Pricing Info for: v3-standard-2 15:57:28 INFO: Archiving Costs [Pipeline] echo 15:57:28 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:57:29 ---> logs-deploy.sh 15:57:29 lf-activate-venv: SKIPPING 15:57:29 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-363/1 15:57:29 INFO: archiving workspace using pattern(s): 15:57:30 Archives upload complete. 15:57:30 INFO: archiving logs to Nexus 15:57:30 ---> uname -a: 15:57:30 Linux prd-centos7-docker-4c-2g-340.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 GNU/Linux 15:57:30 15:57:30 15:57:30 ---> lscpu: 15:57:30 Architecture: x86_64 15:57:30 CPU op-mode(s): 32-bit, 64-bit 15:57:30 Byte Order: Little Endian 15:57:30 Address sizes: 40 bits physical, 48 bits virtual 15:57:30 CPU(s): 2 15:57:30 On-line CPU(s) list: 0,1 15:57:30 Thread(s) per core: 1 15:57:30 Core(s) per socket: 1 15:57:30 Socket(s): 2 15:57:30 NUMA node(s): 1 15:57:30 Vendor ID: AuthenticAMD 15:57:30 CPU family: 23 15:57:30 Model: 49 15:57:30 Model name: AMD EPYC-Rome Processor 15:57:30 Stepping: 0 15:57:30 CPU MHz: 2799.998 15:57:30 BogoMIPS: 5599.99 15:57:30 Virtualization: AMD-V 15:57:30 Hypervisor vendor: KVM 15:57:30 Virtualization type: full 15:57:30 L1d cache: 32K 15:57:30 L1i cache: 32K 15:57:30 L2 cache: 512K 15:57:30 L3 cache: 16384K 15:57:30 NUMA node0 CPU(s): 0,1 15:57:30 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities 15:57:30 15:57:30 15:57:30 ---> nproc: 15:57:30 2 15:57:30 15:57:30 15:57:30 ---> df -h: 15:57:30 Filesystem Size Used Avail Use% Mounted on 15:57:30 overlay 40G 7.7G 33G 20% / 15:57:30 tmpfs 64M 0 64M 0% /dev 15:57:30 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 15:57:30 shm 64M 0 64M 0% /dev/shm 15:57:30 /dev/vda1 40G 7.7G 33G 20% /facter-os 15:57:30 15:57:30 15:57:30 ---> sar -b -r -n DEV: 15:57:30 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 08/11/21 _x86_64_ (2 CPU) 15:57:30 15:57:30 15:49:45 LINUX RESTART (2 CPU) 15:57:30 15:57:30 15:50:01 tps rtps wtps bread/s bwrtn/s 15:57:30 15:51:01 204.05 73.15 130.90 9102.47 39810.46 15:57:30 15:52:01 1.83 0.00 1.83 0.00 35.68 15:57:30 15:53:01 0.30 0.00 0.30 0.00 4.75 15:57:30 15:54:01 0.13 0.00 0.13 0.00 2.15 15:57:30 15:55:01 0.27 0.00 0.27 0.00 3.61 15:57:30 15:56:01 0.27 0.00 0.27 0.00 4.00 15:57:30 15:57:01 0.27 0.00 0.27 0.00 3.65 15:57:30 Average: 29.59 10.45 19.14 1300.51 5695.58 15:57:30 15:57:30 15:50:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 15:57:30 15:51:01 5471592 0 798200 9.97 2620 1736528 1295284 14.30 576408 1562284 132 15:57:30 15:52:01 5483216 0 786572 9.82 2620 1736532 1206216 13.32 566452 1562248 16 15:57:30 15:53:01 5482736 0 787048 9.83 2620 1736536 1206324 13.32 567736 1561636 20 15:57:30 15:54:01 5480316 0 789464 9.86 2620 1736540 1206456 13.32 570072 1561632 8 15:57:30 15:55:01 5482172 0 787604 9.83 2620 1736544 1206216 13.32 565336 1565008 8 15:57:30 15:56:01 5481488 0 788284 9.84 2620 1736548 1206312 13.32 565788 1565008 8 15:57:30 15:57:01 5481880 0 787884 9.84 2620 1736556 1206216 13.32 565224 1565056 12 15:57:30 Average: 5480486 0 789294 9.86 2620 1736541 1219003 13.46 568145 1563267 29 15:57:30 15:57:30 15:50:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 15:57:30 15:51:01 eth0 465.21 293.17 1039.13 77.39 0.00 0.00 0.00 0.00 15:57:30 15:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:57:30 15:51:01 docker0 8.86 6.31 1.04 25.69 0.00 0.00 0.00 0.00 15:57:30 15:52:01 eth0 0.68 0.08 0.06 0.03 0.00 0.00 0.00 0.00 15:57:30 15:52:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:57:30 15:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:57:30 15:53:01 eth0 0.58 0.28 0.46 0.02 0.00 0.00 0.00 0.00 15:57:30 15:53:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:57:30 15:53:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:57:30 15:54:01 eth0 1.35 0.50 0.58 0.39 0.00 0.00 0.00 0.00 15:57:30 15:54:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:57:30 15:54:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:57:30 15:55:01 eth0 0.12 0.10 0.01 0.01 0.00 0.00 0.00 0.00 15:57:30 15:55:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:57:30 15:55:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:57:30 15:56:01 eth0 0.35 0.30 0.17 0.08 0.00 0.00 0.00 0.00 15:57:30 15:56:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:57:30 15:56:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:57:30 15:57:01 eth0 0.13 0.12 0.01 0.01 0.00 0.00 0.00 0.00 15:57:30 15:57:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:57:30 15:57:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:57:30 Average: eth0 66.93 42.08 148.65 11.13 0.00 0.00 0.00 0.00 15:57:30 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:57:30 Average: docker0 1.27 0.90 0.15 3.67 0.00 0.00 0.00 0.00 15:57:30 15:57:30 15:57:30 ---> sar -P ALL: 15:57:30 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 08/11/21 _x86_64_ (2 CPU) 15:57:30 15:57:30 15:49:45 LINUX RESTART (2 CPU) 15:57:30 15:57:30 15:50:01 CPU %user %nice %system %iowait %steal %idle 15:57:30 15:51:01 all 19.09 0.00 6.93 5.51 0.06 68.42 15:57:30 15:51:01 0 20.20 0.00 7.06 4.14 0.07 68.53 15:57:30 15:51:01 1 17.97 0.00 6.80 6.87 0.05 68.30 15:57:30 15:52:01 all 0.18 0.00 0.07 0.00 0.01 99.74 15:57:30 15:52:01 0 0.25 0.00 0.08 0.00 0.02 99.65 15:57:30 15:52:01 1 0.12 0.00 0.05 0.00 0.00 99.83 15:57:30 15:53:01 all 0.20 0.00 0.03 0.00 0.03 99.74 15:57:30 15:53:01 0 0.33 0.00 0.05 0.00 0.03 99.58 15:57:30 15:53:01 1 0.07 0.00 0.02 0.00 0.02 99.90 15:57:30 15:54:01 all 0.20 0.00 0.02 0.00 0.02 99.77 15:57:30 15:54:01 0 0.37 0.00 0.03 0.00 0.02 99.58 15:57:30 15:54:01 1 0.03 0.00 0.00 0.00 0.02 99.95 15:57:30 15:55:01 all 0.23 0.00 0.03 0.00 0.03 99.72 15:57:30 15:55:01 0 0.40 0.00 0.05 0.00 0.03 99.52 15:57:30 15:55:01 1 0.05 0.00 0.02 0.00 0.02 99.92 15:57:30 15:56:01 all 0.06 0.00 0.05 0.00 0.01 99.88 15:57:30 15:56:01 0 0.03 0.00 0.05 0.00 0.00 99.92 15:57:30 15:56:01 1 0.08 0.00 0.05 0.00 0.02 99.85 15:57:30 15:57:01 all 0.03 0.00 0.03 0.00 0.03 99.92 15:57:30 15:57:01 0 0.02 0.00 0.03 0.00 0.03 99.92 15:57:30 15:57:01 1 0.05 0.00 0.02 0.00 0.02 99.92 15:57:30 Average: all 2.78 0.00 0.99 0.76 0.02 95.44 15:57:30 Average: 0 3.00 0.00 1.02 0.57 0.03 95.38 15:57:30 Average: 1 2.55 0.00 0.97 0.95 0.02 95.51 15:57:30 15:57:30 15:57:30