Pull request #363 updated 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 2bf2d807499ee9959cce0906e713c0e99fbf5fcd Obtained Jenkinsfile from e1f35502f034be90e9314597bd4064834fecb981 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2410220650198056941.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-ssh2573748086079743199.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-363/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /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-ssh4700464527272414102.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 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-ssh2374932380327706643.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-363/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /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-ssh5982004631887097129.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-353 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-ssh2848770935074662213.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 2bf2d807499ee9959cce0906e713c0e99fbf5fcd Merge succeeded, producing 2bf2d807499ee9959cce0906e713c0e99fbf5fcd Checking out Revision 2bf2d807499ee9959cce0906e713c0e99fbf5fcd (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-ssh1914590040963997978.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 2bf2d807499ee9959cce0906e713c0e99fbf5fcd # 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-ssh7376315499446764189.key > git merge e1f35502f034be90e9314597bd4064834fecb981 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2bf2d807499ee9959cce0906e713c0e99fbf5fcd # timeout=10 Commit message: "fix: Bug #361 fix for segfault on mqtt configuring" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { > git rev-list --no-walk b2b95c0601effb71d3340061699055a9bfb71e86 # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:17:33 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:17:33 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:17:33 ========================================================= 16:17:33 EdgeX Global Pipelines Version Info 16:17:33 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:17:34 ------------------- 16:17:34 stable info: 16:17:34 ------------------- 16:17:34 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:17:34 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 16:17:34 Message: update stable to v1.0.205 16:17:35 ------------------- 16:17:35 experimental info: 16:17:35 ------------------- 16:17:35 Commited By: **** collab-it+edgex@linuxfoundation.org 16:17:35 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 16:17:35 Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:17:35 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 16:17:35 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 16:17:35 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:17:35 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:17:35 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:17:35 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo 16:17:35 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 16:17:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 16:17:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:17:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:17:35 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 16:17:35 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:17:35 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:17:35 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:17:35 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 16:17:35 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:17:35 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:17:35 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:17:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-363 [Pipeline] echo 16:17:35 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-363 [Pipeline] echo 16:17:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-363 [Pipeline] echo 16:17:35 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2bf2d807499ee9959cce0906e713c0e99fbf5fcd [Pipeline] echo 16:17:35 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2bf2d80 [Pipeline] echo 16:17:35 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:17:35 provisioning config files... 16:17:35 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-363@tmp/config2503476969540774872tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:17:36 ---> docker-login.sh 16:17:36 nexus3.edgexfoundry.org:10001 16:17:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:17:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:17:36 Configure a credential helper to remove this warning. See 16:17:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:17:36 16:17:36 Login Succeeded 16:17:36 nexus3.edgexfoundry.org:10002 16:17:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:17:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:17:36 Configure a credential helper to remove this warning. See 16:17:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:17:36 16:17:36 Login Succeeded 16:17:36 nexus3.edgexfoundry.org:10003 16:17:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:17:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:17:36 Configure a credential helper to remove this warning. See 16:17:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:17:36 16:17:36 Login Succeeded 16:17:36 nexus3.edgexfoundry.org:10004 16:17:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:17:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:17:36 Configure a credential helper to remove this warning. See 16:17:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:17:36 16:17:36 Login Succeeded 16:17:36 docker.io 16:17:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:17:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:17:37 Configure a credential helper to remove this warning. See 16:17:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:17:37 16:17:37 Login Succeeded 16:17:37 ---> docker-login.sh ends [Pipeline] } 16:17:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 16:17:37 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:17:37 16:17:37 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 16:17:38 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:17:38 latest: Pulling from edgex-devops/git-semver 16:17:38 31603596830f: Pulling fs layer 16:17:38 d4622e32a9a9: Pulling fs layer 16:17:38 1030fce36090: Pulling fs layer 16:17:38 6c6cb7e1b49b: Pulling fs layer 16:17:38 d4622e32a9a9: Verifying Checksum 16:17:38 d4622e32a9a9: Download complete 16:17:38 31603596830f: Verifying Checksum 16:17:38 31603596830f: Download complete 16:17:38 31603596830f: Pull complete 16:17:38 d4622e32a9a9: Pull complete 16:17:38 6c6cb7e1b49b: Verifying Checksum 16:17:38 6c6cb7e1b49b: Download complete 16:17:38 1030fce36090: Verifying Checksum 16:17:38 1030fce36090: Download complete 16:17:39 1030fce36090: Pull complete 16:17:39 6c6cb7e1b49b: Pull complete 16:17:39 Digest: sha256:98b6084a185347f7b64647794a0a4774a411b925a780a33b3032b91fe10e00ab 16:17:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:17:39 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 16:17:39 prd-centos7-docker-4c-2g-353 does not seem to be running inside a container 16:17:39 $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:17:40 $ docker top 537bc4629ec21f560839f3176cf8b7eb9a04e4b9e6fed8675aa75799664a8657 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:17:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:17:40 [ssh-agent] Looking for ssh-agent implementation... 16:17:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:17:40 $ docker exec 537bc4629ec21f560839f3176cf8b7eb9a04e4b9e6fed8675aa75799664a8657 ssh-agent 16:17:41 SSH_AUTH_SOCK=/tmp/ssh-MiGl9NnBRTjl/agent.14 16:17:41 SSH_AGENT_PID=20 16:17:41 Running ssh-add (command line suppressed) 16:17:41 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-363@tmp/private_key_1628519589487843382.key (/w/workspace/edgexfoundry_device-sdk-c_PR-363@tmp/private_key_1628519589487843382.key) 16:17:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:17:41 + git tag --points-at HEAD [Pipeline] } 16:17:41 $ docker exec --env ******** --env ******** 537bc4629ec21f560839f3176cf8b7eb9a04e4b9e6fed8675aa75799664a8657 ssh-agent -k 16:17:41 unset SSH_AUTH_SOCK; 16:17:41 unset SSH_AGENT_PID; 16:17:41 echo Agent pid 20 killed; 16:17:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:17:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:17:41 [ssh-agent] Looking for ssh-agent implementation... 16:17:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:17:41 $ docker exec 537bc4629ec21f560839f3176cf8b7eb9a04e4b9e6fed8675aa75799664a8657 ssh-agent 16:17:42 SSH_AUTH_SOCK=/tmp/ssh-0aWf9krgcKCu/agent.53 16:17:42 SSH_AGENT_PID=59 16:17:42 Running ssh-add (command line suppressed) 16:17:42 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-363@tmp/private_key_3826392886808137154.key (/w/workspace/edgexfoundry_device-sdk-c_PR-363@tmp/private_key_3826392886808137154.key) 16:17:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:17:42 + git semver init 16:17:42 # -> Open(): unable to determine branch for HEAD 16:17:42 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-363/.git 16:17:42 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-363 16:17:42 # $SEMVER_REMOTE_NAME = origin 16:17:42 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:17:42 # $SEMVER_USER_NAME = edgex-jenkins 16:17:42 # $SEMVER_BRANCH = PR-363 16:17:42 # $SEMVER_TEMP = /tmp/semver-889222230 16:17:42 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 16:17:43 # '/tmp/semver-889222230' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-363/.semver' 16:17:43 # -> Force: false 16:17:43 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-363/.semver [Pipeline] } 16:17:43 $ docker exec --env ******** --env ******** 537bc4629ec21f560839f3176cf8b7eb9a04e4b9e6fed8675aa75799664a8657 ssh-agent -k 16:17:43 unset SSH_AUTH_SOCK; 16:17:43 unset SSH_AGENT_PID; 16:17:43 echo Agent pid 59 killed; 16:17:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:17:43 + git semver [Pipeline] } 16:17:43 $ docker stop --time=1 537bc4629ec21f560839f3176cf8b7eb9a04e4b9e6fed8675aa75799664a8657 16:17:44 $ docker rm -f 537bc4629ec21f560839f3176cf8b7eb9a04e4b9e6fed8675aa75799664a8657 [Pipeline] // withDockerContainer [Pipeline] sh 16:17:45 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:17:45 Stashed 1 file(s) [Pipeline] echo 16:17:45 [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 16:18:00 Still waiting to schedule task 16:18:00 Waiting for next available executor on ‘centos7-docker-4c-2g’ 16:18:00 Still waiting to schedule task 16:18:00 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 16:21:05 Running on prd-centos7-docker-4c-2g-356 in /w/workspace/edgexfoundry_device-sdk-c_PR-363 [Pipeline] { [Pipeline] ws 16:21:05 Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout 16:21:05 Selected Git installation does not exist. Using Default 16:21:05 The recommended git tool is: NONE 16:21:08 using credential edgex-jenkins-ssh 16:21:08 Cloning the remote Git repository 16:21:08 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 16:21:08 > git init /w/workspace/device-sdk-c/2 # timeout=10 16:21:08 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 16:21:08 > git --version # timeout=10 16:21:08 > git --version # 'git version 2.24.4' 16:21:08 using GIT_SSH to set credentials SSH Credentials for GitHub 16:21:08 [INFO] Currently running in a labeled security context 16:21:08 [INFO] Currently SELinux is 'enforcing' on the host 16:21:08 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/2@tmp/jenkins-gitclient-ssh92709696288262898.key 16:21:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:21:09 Merging remotes/origin/main commit e1f35502f034be90e9314597bd4064834fecb981 into PR head commit 2bf2d807499ee9959cce0906e713c0e99fbf5fcd 16:21:10 Merge succeeded, producing 2bf2d807499ee9959cce0906e713c0e99fbf5fcd 16:21:10 Checking out Revision 2bf2d807499ee9959cce0906e713c0e99fbf5fcd (PR-363) 16:21:09 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 16:21:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:21:09 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 16:21:09 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 16:21:09 using GIT_SSH to set credentials SSH Credentials for GitHub 16:21:09 [INFO] Currently running in a labeled security context 16:21:09 [INFO] Currently SELinux is 'enforcing' on the host 16:21:09 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/2@tmp/jenkins-gitclient-ssh8632048592012050064.key 16:21:09 > 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 16:21:09 > git config core.sparsecheckout # timeout=10 16:21:09 > git checkout -f 2bf2d807499ee9959cce0906e713c0e99fbf5fcd # timeout=10 16:21:09 > git remote # timeout=10 16:21:09 > git config --get remote.origin.url # timeout=10 16:21:09 using GIT_SSH to set credentials SSH Credentials for GitHub 16:21:09 [INFO] Currently running in a labeled security context 16:21:09 [INFO] Currently SELinux is 'enforcing' on the host 16:21:09 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/2@tmp/jenkins-gitclient-ssh6290143138029130104.key 16:21:10 > git merge e1f35502f034be90e9314597bd4064834fecb981 # timeout=10 16:21:10 > git rev-parse HEAD^{commit} # timeout=10 16:21:10 > git config core.sparsecheckout # timeout=10 16:21:10 > git checkout -f 2bf2d807499ee9959cce0906e713c0e99fbf5fcd # timeout=10 16:21:13 Commit message: "fix: Bug #361 fix for segfault on mqtt configuring" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:21:14 provisioning config files... 16:21:14 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/2@tmp/config6813571343667911771tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:21:14 ---> docker-login.sh 16:21:14 nexus3.edgexfoundry.org:10001 16:21:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:15 Configure a credential helper to remove this warning. See 16:21:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:15 16:21:15 Login Succeeded 16:21:15 nexus3.edgexfoundry.org:10002 16:21:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:15 Configure a credential helper to remove this warning. See 16:21:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:15 16:21:15 Login Succeeded 16:21:15 nexus3.edgexfoundry.org:10003 16:21:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:15 Configure a credential helper to remove this warning. See 16:21:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:15 16:21:15 Login Succeeded 16:21:15 nexus3.edgexfoundry.org:10004 16:21:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:15 Configure a credential helper to remove this warning. See 16:21:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:15 16:21:15 Login Succeeded 16:21:15 docker.io 16:21:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:15 Configure a credential helper to remove this warning. See 16:21:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:15 16:21:15 Login Succeeded 16:21:15 ---> docker-login.sh ends [Pipeline] } 16:21:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:21:16 ========================================================= 16:21:16 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 16:21:16 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 16:21:16 + 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 . 16:21:16 Sending build context to Docker daemon 2.636MB 16:21:16 Step 1/25 : ARG BASE=alpine:3.12 16:21:16 Step 2/25 : FROM ${BASE} as builder 16:21:16 latest: Pulling from edgex-devops/edgex-gcc-base 16:21:16 339de151aab4: Pulling fs layer 16:21:16 3691962f683c: Pulling fs layer 16:21:16 e1147bf81a45: Pulling fs layer 16:21:16 3691962f683c: Verifying Checksum 16:21:16 3691962f683c: Download complete 16:21:18 339de151aab4: Verifying Checksum 16:21:18 339de151aab4: Download complete 16:21:18 339de151aab4: Pull complete 16:21:18 3691962f683c: Pull complete 16:21:25 Running on prd-ubuntu18.04-docker-arm64-4c-16g-355 in /w/workspace/edgexfoundry_device-sdk-c_PR-363 [Pipeline] { [Pipeline] ws 16:21:25 Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout 16:21:26 Selected Git installation does not exist. Using Default 16:21:26 The recommended git tool is: NONE 16:21:26 e1147bf81a45: Verifying Checksum 16:21:26 e1147bf81a45: Download complete 16:21:28 e1147bf81a45: Pull complete 16:21:28 Digest: sha256:32c567f17180c4abff101a0d389449dec7f3f623a221c8a8ae98dcac9b0d9fee 16:21:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 16:21:28 ---> ac6a0feb3254 16:21:28 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 16:21:29 ---> Running in 2718e645a45e 16:21:29 Connecting to iotech.jfrog.io (54.170.66.44:443) 16:21:30 saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 16:21:30 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 16:21:30 '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved 16:21:30 Removing intermediate container 2718e645a45e 16:21:30 ---> 6951fc634dc7 16:21:30 Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 16:21:30 ---> Running in 76ba8244e1f3 16:21:30 Removing intermediate container 76ba8244e1f3 16:21:30 ---> 6606bc296edc 16:21:30 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 16:21:30 ---> Running in 9fd0d45febcc 16:21:31 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 16:21:31 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 16:21:32 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 16:21:32 using credential edgex-jenkins-ssh 16:21:32 Cloning the remote Git repository 16:21:32 (1/22) Installing hiredis (0.14.1-r0) 16:21:32 (2/22) Installing hiredis-dev (0.14.1-r0) 16:21:32 (3/22) Installing ncurses-dev (6.2_p20200523-r0) 16:21:32 (4/22) Installing paho-mqtt-c-dev (1.3.5-r0) 16:21:32 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 16:21:32 > git init /w/workspace/device-sdk-c/2 # timeout=10 16:21:32 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 16:21:32 > git --version # timeout=10 16:21:32 > git --version # 'git version 2.17.1' 16:21:32 using GIT_SSH to set credentials SSH Credentials for GitHub 16:21:32 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:21:34 (5/22) Installing libblkid (2.35.2-r0) 16:21:34 (6/22) Installing blkid (2.35.2-r0) 16:21:34 (7/22) Installing libcap-ng (0.7.10-r1) 16:21:34 (8/22) Installing setpriv (2.35.2-r0) 16:21:34 (9/22) Installing libmount (2.35.2-r0) 16:21:34 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 16:21:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:21:34 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 16:21:34 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 16:21:34 using GIT_SSH to set credentials SSH Credentials for GitHub 16:21:34 > 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 16:21:35 Merging remotes/origin/main commit e1f35502f034be90e9314597bd4064834fecb981 into PR head commit 2bf2d807499ee9959cce0906e713c0e99fbf5fcd 16:21:35 (10/22) Installing libsmartcols (2.35.2-r0) 16:21:35 (11/22) Installing findmnt (2.35.2-r0) 16:21:35 (12/22) Installing mcookie (2.35.2-r0) 16:21:35 Merge succeeded, producing 2bf2d807499ee9959cce0906e713c0e99fbf5fcd 16:21:35 Checking out Revision 2bf2d807499ee9959cce0906e713c0e99fbf5fcd (PR-363) 16:21:35 (13/22) Installing hexdump (2.35.2-r0) 16:21:35 (14/22) Installing lsblk (2.35.2-r0) 16:21:35 (15/22) Installing libuuid (2.35.2-r0) 16:21:35 (16/22) Installing libfdisk (2.35.2-r0) 16:21:36 (17/22) Installing sfdisk (2.35.2-r0) 16:21:36 (18/22) Installing cfdisk (2.35.2-r0) 16:21:36 (19/22) Installing util-linux (2.35.2-r0) 16:21:35 > git config core.sparsecheckout # timeout=10 16:21:35 > git checkout -f 2bf2d807499ee9959cce0906e713c0e99fbf5fcd # timeout=10 16:21:35 > git remote # timeout=10 16:21:35 > git config --get remote.origin.url # timeout=10 16:21:35 using GIT_SSH to set credentials SSH Credentials for GitHub 16:21:35 > git merge e1f35502f034be90e9314597bd4064834fecb981 # timeout=10 16:21:35 > git rev-parse HEAD^{commit} # timeout=10 16:21:35 > git config core.sparsecheckout # timeout=10 16:21:35 > git checkout -f 2bf2d807499ee9959cce0906e713c0e99fbf5fcd # timeout=10 16:21:38 (20/22) Installing util-linux-dev (2.35.2-r0) 16:21:39 (21/22) Installing libidn2 (2.3.0-r0) 16:21:39 Commit message: "fix: Bug #361 fix for segfault on mqtt configuring" 16:21:39 (22/22) Installing wget (1.20.3-r1) 16:21:40 Executing busybox-1.31.1-r20.trigger 16:21:40 OK: 295 MiB in 97 packages [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:21:40 provisioning config files... 16:21:40 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/2@tmp/config3024907134021800122tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:21:40 Removing intermediate container 9fd0d45febcc 16:21:40 ---> 6283a216bb01 16:21:40 Step 6/25 : ENV CBOR_VERSION=0.5.0 16:21:40 ---> Running in 5dc2426dbe45 16:21:40 Removing intermediate container 5dc2426dbe45 16:21:40 ---> 85bb670c3645 16:21:40 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 16:21:40 ---> Running in 04380d718885 16:21:40 ---> docker-login.sh 16:21:40 nexus3.edgexfoundry.org:10001 16:21:40 --2021-08-11 16:21:40-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 16:21:40 Resolving github.com (github.com)... 140.82.113.3 16:21:40 Connecting to github.com (github.com)|140.82.113.3|:443... connected. 16:21:41 HTTP request sent, awaiting response... 302 Found 16:21:41 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 16:21:41 --2021-08-11 16:21:41-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 16:21:41 Resolving codeload.github.com (codeload.github.com)... 140.82.113.10 16:21:41 Connecting to codeload.github.com (codeload.github.com)|140.82.113.10|:443... connected. 16:21:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:41 HTTP request sent, awaiting response... 200 OK 16:21:41 Length: unspecified [application/x-gzip] 16:21:41 Saving to: 'STDOUT' 16:21:41 16:21:41 0K .......... .......... .......... .......... .......... 1.27M 16:21:41 50K .......... .......... .......... .......... .......... 2.56M 16:21:41 100K .......... .......... .......... .......... .......... 26.2M 16:21:41 150K .......... .......... .......... .......... .......... 2.86M 16:21:41 200K .......... .......... .......... .......... .......... 29.1M 16:21:41 250K .......... .......... .......... .......... .......... 8.89M 16:21:41 300K .......... .......... .......... .......... .......... 9.55M 16:21:41 350K .......... .......... .......... .......... .......... 15.7M 16:21:41 400K .......... .......... .......... .......... .......... 9.18M 16:21:41 450K .......... .......... .......... .......... .......... 8.86M 16:21:41 500K .......... .......... .......... .......... .......... 36.2M 16:21:41 550K .......... .......... .......... .......... .......... 8.00M 16:21:41 600K .......... .......... .......... .......... .......... 4.56M 16:21:41 650K .......... .......... .......... .......... .......... 8.25M 16:21:41 700K .. 1.57M=0.1s 16:21:41 16:21:41 2021-08-11 16:21:41 (5.35 MB/s) - written to stdout [719348] 16:21:41 16:21:41 -- The C compiler identification is GNU 9.3.0 16:21:41 -- The CXX compiler identification is GNU 9.3.0 16:21:41 -- Check for working C compiler: /usr/bin/cc 16:21:41 -- Check for working C compiler: /usr/bin/cc - works 16:21:41 -- Detecting C compiler ABI info 16:21:41 -- Detecting C compiler ABI info - done 16:21:41 -- Detecting C compile features 16:21:41 -- Detecting C compile features - done 16:21:41 -- Check for working CXX compiler: /usr/bin/c++ 16:21:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:41 Configure a credential helper to remove this warning. See 16:21:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:41 16:21:41 Login Succeeded 16:21:41 nexus3.edgexfoundry.org:10002 16:21:41 -- Check for working CXX compiler: /usr/bin/c++ - works 16:21:41 -- Detecting CXX compiler ABI info 16:21:41 -- Detecting CXX compiler ABI info - done 16:21:41 -- Detecting CXX compile features 16:21:41 -- Detecting CXX compile features - done 16:21:41 -- Looking for include file endian.h 16:21:41 -- Looking for include file endian.h - found 16:21:41 -- Check if the system is big endian 16:21:41 -- Searching 16 bit integer 16:21:41 -- Looking for sys/types.h 16:21:41 -- Looking for sys/types.h - found 16:21:41 -- Looking for stdint.h 16:21:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:42 Configure a credential helper to remove this warning. See 16:21:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:42 16:21:42 Login Succeeded 16:21:42 nexus3.edgexfoundry.org:10003 16:21:42 -- Looking for stdint.h - found 16:21:42 -- Looking for stddef.h 16:21:42 -- Looking for stddef.h - found 16:21:42 -- Check size of unsigned short 16:21:42 -- Check size of unsigned short - done 16:21:42 -- Searching 16 bit integer - Using unsigned short 16:21:42 -- Check if the system is big endian - little endian 16:21:42 -- Check size of size_t 16:21:42 -- Check size of size_t - done 16:21:42 CMake Warning at examples/CMakeLists.txt:16 (find_package): 16:21:42 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 16:21:42 asked CMake to find a package configuration file provided by "cJSON", but 16:21:42 CMake did not find one. 16:21:42 16:21:42 Could not find a package configuration file provided by "cJSON" with any of 16:21:42 the following names: 16:21:42 16:21:42 cJSONConfig.cmake 16:21:42 cjson-config.cmake 16:21:42 16:21:42 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 16:21:42 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 16:21:42 provides a separate development package or SDK, be sure it has been 16:21:42 installed. 16:21:42 16:21:42 16:21:42 -- Configuring done 16:21:42 -- Generating done 16:21:42 -- Build files have been written to: /tmp/cbor 16:21:42 Scanning dependencies of target cbor_shared 16:21:42 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 16:21:42 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 16:21:42 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 16:21:42 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 16:21:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:42 Configure a credential helper to remove this warning. See 16:21:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:42 16:21:42 Login Succeeded 16:21:42 nexus3.edgexfoundry.org:10004 16:21:43 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 16:21:43 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 16:21:43 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 16:21:43 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 16:21:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:43 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 16:21:43 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 16:21:43 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 16:21:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:43 Configure a credential helper to remove this warning. See 16:21:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:43 16:21:43 Login Succeeded 16:21:43 docker.io 16:21:43 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 16:21:43 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 16:21:43 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 16:21:43 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 16:21:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:43 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 16:21:43 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 16:21:43 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 16:21:43 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 16:21:43 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 16:21:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:43 Configure a credential helper to remove this warning. See 16:21:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:43 16:21:43 Login Succeeded 16:21:43 ---> docker-login.sh ends [Pipeline] } 16:21:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 16:21:44 [ 40%] Linking C shared library libcbor.so 16:21:44 [ 40%] Built target cbor_shared 16:21:44 Scanning dependencies of target cbor 16:21:44 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 16:21:44 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 16:21:44 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 16:21:44 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 16:21:44 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 16:21:44 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 16:21:44 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [Pipeline] echo 16:21:44 ========================================================= 16:21:44 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 16:21:44 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 16:21:44 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 16:21:44 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 16:21:44 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 16:21:45 + 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 . 16:21:45 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 16:21:45 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 16:21:45 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 16:21:45 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 16:21:45 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 16:21:45 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 16:21:45 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 16:21:45 Sending build context to Docker daemon 2.635MB 16:21:45 Step 1/25 : ARG BASE=alpine:3.12 16:21:45 Step 2/25 : FROM ${BASE} as builder 16:21:45 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 16:21:45 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 16:21:45 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 16:21:45 [ 80%] Linking C static library libcbor.a 16:21:45 [ 80%] Built target cbor 16:21:45 Scanning dependencies of target sort 16:21:45 [ 82%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 16:21:45 [ 84%] Linking C executable sort 16:21:45 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 16:21:45 d2f70382dc9a: Pulling fs layer 16:21:45 b08cc2eccb4b: Pulling fs layer 16:21:45 7b69db201801: Pulling fs layer 16:21:45 b08cc2eccb4b: Download complete 16:21:46 [ 84%] Built target sort 16:21:46 Scanning dependencies of target readfile 16:21:46 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 16:21:46 [ 88%] Linking C executable readfile 16:21:46 [ 88%] Built target readfile 16:21:46 Scanning dependencies of target streaming_parser 16:21:46 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 16:21:46 [ 92%] Linking C executable streaming_parser 16:21:46 [ 92%] Built target streaming_parser 16:21:46 Scanning dependencies of target hello 16:21:46 [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 16:21:46 d2f70382dc9a: Verifying Checksum 16:21:46 d2f70382dc9a: Download complete 16:21:46 [ 96%] Linking C executable hello 16:21:46 [ 96%] Built target hello 16:21:46 Scanning dependencies of target create_items 16:21:46 [ 98%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 16:21:46 [100%] Linking C executable create_items 16:21:46 [100%] Built target create_items 16:21:46 Install the project... 16:21:46 -- Install configuration: "Release" 16:21:46 -- Installing: /usr/local/include/cbor/configuration.h 16:21:46 -- Installing: /usr/local/lib64/libcbor.a 16:21:46 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 16:21:46 -- Installing: /usr/local/lib64/libcbor.so.0 16:21:46 -- Installing: /usr/local/lib64/libcbor.so 16:21:46 -- Up-to-date: /usr/local/include/cbor 16:21:46 -- Installing: /usr/local/include/cbor/arrays.h 16:21:46 -- Installing: /usr/local/include/cbor/bytestrings.h 16:21:46 -- Installing: /usr/local/include/cbor/callbacks.h 16:21:46 -- Installing: /usr/local/include/cbor/common.h 16:21:46 -- Installing: /usr/local/include/cbor/data.h 16:21:46 -- Installing: /usr/local/include/cbor/encoding.h 16:21:46 -- Installing: /usr/local/include/cbor/floats_ctrls.h 16:21:46 -- Installing: /usr/local/include/cbor/internal 16:21:46 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 16:21:46 -- Installing: /usr/local/include/cbor/internal/encoders.h 16:21:46 -- Installing: /usr/local/include/cbor/internal/loaders.h 16:21:46 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 16:21:46 -- Installing: /usr/local/include/cbor/internal/stack.h 16:21:46 -- Installing: /usr/local/include/cbor/internal/unicode.h 16:21:46 -- Installing: /usr/local/include/cbor/ints.h 16:21:46 -- Installing: /usr/local/include/cbor/maps.h 16:21:46 -- Installing: /usr/local/include/cbor/serialization.h 16:21:46 -- Installing: /usr/local/include/cbor/streaming.h 16:21:46 -- Installing: /usr/local/include/cbor/strings.h 16:21:46 -- Installing: /usr/local/include/cbor/tags.h 16:21:46 -- Installing: /usr/local/include/cbor.h 16:21:46 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 16:21:47 Removing intermediate container 04380d718885 16:21:47 ---> afe51ed0fd34 16:21:47 Step 8/25 : RUN mkdir /tmp/sdk 16:21:47 ---> Running in c5292cfeff84 16:21:47 d2f70382dc9a: Pull complete 16:21:47 Removing intermediate container c5292cfeff84 16:21:47 ---> 1a1b81a8df5b 16:21:47 Step 9/25 : COPY VERSION /tmp/sdk 16:21:47 b08cc2eccb4b: Pull complete 16:21:47 ---> ca590a0e377c 16:21:47 Step 10/25 : COPY src /tmp/sdk/src 16:21:48 ---> d4f2324385e3 16:21:48 Step 11/25 : COPY include /tmp/sdk/include 16:21:48 ---> 9cae695ef0c7 16:21:48 Step 12/25 : COPY scripts /tmp/sdk/scripts 16:21:48 ---> 117182302c49 16:21:48 Step 13/25 : COPY LICENSE /tmp/sdk 16:21:48 ---> b7756cb37954 16:21:48 Step 14/25 : COPY Attribution.txt /tmp/sdk 16:21:48 ---> 3847968bd4a2 16:21:48 Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 16:21:48 ---> Running in 27dfaeb1c33b 16:21:48 + CPPCHECK=false 16:21:48 + DOCGEN=false 16:21:48 + TOMLVER=SDK-0.2 16:21:48 + CUTILVER=1.1.4 16:21:48 + '[' 0 -gt 0 ] 16:21:48 + readlink -f ./scripts/build.sh 16:21:48 + dirname /tmp/sdk/scripts/build.sh 16:21:48 + dirname /tmp/sdk/scripts 16:21:48 + ROOT=/tmp/sdk 16:21:48 + cd /tmp/sdk 16:21:48 + '[' '!' -d deps ] 16:21:48 + mkdir deps 16:21:48 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 16:21:48 + tar -C deps -z -x -f - 16:21:48 --2021-08-11 16:21:48-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 16:21:48 Resolving github.com (github.com)... 140.82.113.3 16:21:48 Connecting to github.com (github.com)|140.82.113.3|:443... connected. 16:21:48 7b69db201801: Verifying Checksum 16:21:48 7b69db201801: Download complete 16:21:49 HTTP request sent, awaiting response... 302 Found 16:21:49 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 16:21:49 --2021-08-11 16:21:48-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 16:21:49 Resolving codeload.github.com (codeload.github.com)... 140.82.113.10 16:21:49 Connecting to codeload.github.com (codeload.github.com)|140.82.113.10|:443... connected. 16:21:49 HTTP request sent, awaiting response... 200 OK 16:21:49 Length: unspecified [application/x-gzip] 16:21:49 Saving to: 'STDOUT' 16:21:49 16:21:49 0K .......... ...... 883K=0.02s 16:21:49 16:21:49 2021-08-11 16:21:49 (883 KB/s) - written to stdout [16451] 16:21:49 16:21:49 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 16:21:49 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 16:21:49 + tar -C deps -z -x -f - 16:21:49 --2021-08-11 16:21:49-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 16:21:49 Resolving github.com (github.com)... 140.82.113.3 16:21:49 Connecting to github.com (github.com)|140.82.113.3|:443... connected. 16:21:49 HTTP request sent, awaiting response... 302 Found 16:21:49 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] 16:21:49 --2021-08-11 16:21:49-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 16:21:49 Resolving codeload.github.com (codeload.github.com)... 140.82.113.10 16:21:49 Connecting to codeload.github.com (codeload.github.com)|140.82.113.10|:443... connected. 16:21:49 HTTP request sent, awaiting response... 200 OK 16:21:49 Length: unspecified [application/x-gzip] 16:21:49 Saving to: 'STDOUT' 16:21:49 16:21:49 0K .......... .......... .......... .......... .......... 1.25M 16:21:49 50K .......... .......... .......... .......... .......... 2.58M 16:21:49 100K .......... .......... .......... .......... .......... 16.2M 16:21:49 150K .......... .......... ....... 10.2M=0.06s 16:21:49 16:21:49 2021-08-11 16:21:49 (2.73 MB/s) - written to stdout [181796] 16:21:49 16:21:49 + mkdir -p src/c/iot 16:21:49 + 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 16:21:49 + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot 16:21:49 + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot 16:21:49 + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot 16:21:49 + mkdir -p include/iot 16:21:49 + 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 16:21:49 + mkdir -p include/iot/os 16:21:49 + 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 16:21:49 + mkdir -p /tmp/sdk/build/release 16:21:49 + cd /tmp/sdk/build/release 16:21:49 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 16:21:49 -- The C compiler identification is GNU 9.3.0 16:21:49 -- Check for working C compiler: /usr/bin/cc 16:21:49 -- Check for working C compiler: /usr/bin/cc - works 16:21:49 -- Detecting C compiler ABI info 16:21:49 -- Detecting C compiler ABI info - done 16:21:49 -- Detecting C compile features 16:21:49 -- Detecting C compile features - done 16:21:49 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 16:21:49 -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") 16:21:49 -- Found LIBYAML: /usr/lib/libyaml.so 16:21:49 -- Found LIBUUID: /usr/lib/libuuid.so 16:21:49 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 16:21:49 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 16:21:49 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 16:21:49 -- C SDK 0.0.0 for Linux 16:21:49 -- Performing Test CSDK_HAVE_ATOMIC 16:21:50 -- Performing Test CSDK_HAVE_ATOMIC - Success 16:21:50 -- Found Curses: /usr/lib/libcurses.so 16:21:50 -- Configuring done 16:21:50 -- Generating done 16:21:50 -- Build files have been written to: /tmp/sdk/build/release 16:21:50 + make+ alltee package release.log 16:21:50 16:21:50 Scanning dependencies of target csdk 16:21:50 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 16:21:50 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 16:21:50 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 16:21:50 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 16:21:51 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 16:21:51 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 16:21:51 /tmp/sdk/src/c/data-mqtt.c: In function 'edgex_data_client_new_mqtt': 16:21:51 /tmp/sdk/src/c/data-mqtt.c:182:12: warning: unused variable 'tm' [-Wunused-variable] 16:21:51 182 | uint64_t tm; 16:21:51 | ^~ 16:21:51 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 16:21:51 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 16:21:51 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 16:21:51 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 16:21:51 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 16:21:51 [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 16:21:52 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 16:21:52 [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 16:21:52 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 16:21:52 [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 16:21:52 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 16:21:52 [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 16:21:52 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 16:21:52 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 16:21:52 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 16:21:52 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 16:21:53 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 16:21:53 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 16:21:53 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 16:21:53 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 16:21:53 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 16:21:54 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 16:21:54 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 16:21:54 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 16:21:54 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 16:21:54 [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 16:21:54 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 16:21:54 [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o 16:21:54 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 16:21:55 [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 16:21:55 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 16:21:56 [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 16:21:56 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 16:21:56 [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 16:21:56 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 16:21:56 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 16:21:56 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 16:21:56 [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 16:21:56 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 16:21:57 [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o 16:21:57 7b69db201801: Pull complete 16:21:57 Digest: sha256:6402f0ff92f22f5db569dc2a94aef5717e50795d64082fb226716824a8b8ffba 16:21:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 16:21:57 ---> 759262b18b23 16:21:57 Step 3/25 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub 16:21:57 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 16:21:57 [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 16:21:58 ---> Running in 42fc061d7419 16:21:58 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 16:21:58 [ 75%] Linking C shared library libcsdk.so 16:21:58 [ 75%] Built target csdk 16:21:58 Scanning dependencies of target template 16:21:58 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 16:21:58 [ 78%] Linking C executable template 16:21:58 [ 78%] Built target template 16:21:58 Scanning dependencies of target device-counter 16:21:58 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 16:21:58 [ 81%] Linking C executable device-counter 16:21:58 [ 81%] Built target device-counter 16:21:58 Scanning dependencies of target device-random 16:21:58 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 16:21:58 [ 84%] Linking C executable device-random 16:21:58 [ 84%] Built target device-random 16:21:58 Scanning dependencies of target device-gyro 16:21:58 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 16:21:58 [ 87%] Linking C executable device-gyro 16:21:59 [ 87%] Built target device-gyro 16:21:59 Scanning dependencies of target device-bitfields 16:21:59 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 16:21:59 [ 90%] Linking C executable device-bitfields 16:21:59 [ 90%] Built target device-bitfields 16:21:59 Scanning dependencies of target template-discovery 16:21:59 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 16:21:59 [ 93%] Linking C executable template-discovery 16:21:59 [ 93%] Built target template-discovery 16:21:59 Scanning dependencies of target device-file 16:21:59 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 16:21:59 [ 96%] Linking C executable device-file 16:21:59 [ 96%] Built target device-file 16:21:59 Scanning dependencies of target device-terminal 16:21:59 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 16:21:59 [100%] Linking C executable device-terminal 16:21:59 Connecting to iotech.jfrog.io (54.229.110.245:443) 16:21:59 [100%] Built target device-terminal 16:21:59 Run CPack packaging tool... 16:21:59 CPack: Create package using TGZ 16:21:59 CPack: Install projects 16:21:59 CPack: - Run preinstall target for: Csdk 16:21:59 CPack: - Install project: Csdk [] 16:21:59 CPack: Create package 16:21:59 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 16:21:59 + '[' false '=' true ] 16:21:59 + '[' false '=' true ] 16:21:59 + mkdir -p /tmp/sdk/build/debug 16:21:59 + cd /tmp/sdk/build/debug 16:21:59 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 16:21:59 saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 16:21:59 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 16:21:59 '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved 16:22:00 -- The C compiler identification is GNU 9.3.0 16:22:00 -- Check for working C compiler: /usr/bin/cc 16:22:00 -- Check for working C compiler: /usr/bin/cc - works 16:22:00 -- Detecting C compiler ABI info 16:22:00 -- Detecting C compiler ABI info - done 16:22:00 -- Detecting C compile features 16:22:00 -- Detecting C compile features - done 16:22:00 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 16:22:00 -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") 16:22:00 -- Found LIBYAML: /usr/lib/libyaml.so 16:22:00 -- Found LIBUUID: /usr/lib/libuuid.so 16:22:00 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 16:22:00 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 16:22:00 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 16:22:00 -- C SDK 0.0.0 for Linux 16:22:00 -- Performing Test CSDK_HAVE_ATOMIC 16:22:00 -- Performing Test CSDK_HAVE_ATOMIC - Success 16:22:00 -- Found Curses: /usr/lib/libcurses.so 16:22:00 -- Configuring done 16:22:00 -- Generating done 16:22:00 -- Build files have been written to: /tmp/sdk/build/debug 16:22:00 + make 16:22:00 + tee debug.log 16:22:00 Scanning dependencies of target csdk 16:22:00 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 16:22:00 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 16:22:00 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 16:22:00 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 16:22:00 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 16:22:00 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 16:22:00 /tmp/sdk/src/c/data-mqtt.c: In function 'edgex_data_client_new_mqtt': 16:22:00 /tmp/sdk/src/c/data-mqtt.c:182:12: warning: unused variable 'tm' [-Wunused-variable] 16:22:00 182 | uint64_t tm; 16:22:00 | ^~ 16:22:00 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 16:22:00 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 16:22:00 Removing intermediate container 42fc061d7419 16:22:00 ---> 42168cc3ee18 16:22:00 Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 16:22:01 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 16:22:01 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 16:22:01 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 16:22:01 [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 16:22:01 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 16:22:01 [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 16:22:01 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 16:22:01 ---> Running in 63d1ad496deb 16:22:01 [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 16:22:01 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 16:22:01 [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 16:22:01 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 16:22:02 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 16:22:02 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 16:22:02 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 16:22:02 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 16:22:02 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 16:22:02 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 16:22:02 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 16:22:02 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 16:22:02 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 16:22:02 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 16:22:02 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 16:22:02 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 16:22:02 [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 16:22:02 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 16:22:02 [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o 16:22:02 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 16:22:03 [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 16:22:03 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 16:22:03 [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 16:22:03 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 16:22:03 [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 16:22:03 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 16:22:03 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 16:22:03 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 16:22:03 [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 16:22:03 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 16:22:03 [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o 16:22:04 Removing intermediate container 63d1ad496deb 16:22:04 ---> aea264f45dab 16:22:04 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 16:22:04 ---> Running in a328ddaa5972 16:22:04 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 16:22:04 [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 16:22:04 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 16:22:04 [ 75%] Linking C shared library libcsdk.so 16:22:04 [ 75%] Built target csdk 16:22:04 Scanning dependencies of target template 16:22:04 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 16:22:04 [ 78%] Linking C executable template 16:22:04 [ 78%] Built target template 16:22:04 Scanning dependencies of target device-counter 16:22:04 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 16:22:04 [ 81%] Linking C executable device-counter 16:22:04 [ 81%] Built target device-counter 16:22:04 Scanning dependencies of target device-random 16:22:04 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 16:22:04 [ 84%] Linking C executable device-random 16:22:04 [ 84%] Built target device-random 16:22:04 Scanning dependencies of target device-gyro 16:22:04 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 16:22:05 [ 87%] Linking C executable device-gyro 16:22:05 [ 87%] Built target device-gyro 16:22:05 Scanning dependencies of target device-bitfields 16:22:05 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 16:22:05 [ 90%] Linking C executable device-bitfields 16:22:05 [ 90%] Built target device-bitfields 16:22:05 Scanning dependencies of target template-discovery 16:22:05 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 16:22:05 [ 93%] Linking C executable template-discovery 16:22:05 [ 93%] Built target template-discovery 16:22:05 Scanning dependencies of target device-file 16:22:05 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 16:22:05 [ 96%] Linking C executable device-file 16:22:05 [ 96%] Built target device-file 16:22:05 Scanning dependencies of target device-terminal 16:22:05 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 16:22:05 [100%] Linking C executable device-terminal 16:22:05 [100%] Built target device-terminal 16:22:05 make: Entering directory '/tmp/sdk/build/release' 16:22:05 make[1]: Entering directory '/tmp/sdk/build/release' 16:22:05 make[2]: Entering directory '/tmp/sdk/build/release' 16:22:05 make[2]: Leaving directory '/tmp/sdk/build/release' 16:22:05 [ 75%] Built target csdk 16:22:05 make[2]: Entering directory '/tmp/sdk/build/release' 16:22:05 make[2]: Leaving directory '/tmp/sdk/build/release' 16:22:05 [ 78%] Built target template 16:22:05 make[2]: Entering directory '/tmp/sdk/build/release' 16:22:05 make[2]: Leaving directory '/tmp/sdk/build/release' 16:22:05 [ 81%] Built target device-counter 16:22:05 make[2]: Entering directory '/tmp/sdk/build/release' 16:22:05 make[2]: Leaving directory '/tmp/sdk/build/release' 16:22:05 [ 84%] Built target device-random 16:22:05 make[2]: Entering directory '/tmp/sdk/build/release' 16:22:05 make[2]: Leaving directory '/tmp/sdk/build/release' 16:22:05 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 16:22:05 [ 87%] Built target device-gyro 16:22:05 make[2]: Entering directory '/tmp/sdk/build/release' 16:22:05 make[2]: Leaving directory '/tmp/sdk/build/release' 16:22:05 [ 90%] Built target device-bitfields 16:22:05 make[2]: Entering directory '/tmp/sdk/build/release' 16:22:05 make[2]: Leaving directory '/tmp/sdk/build/release' 16:22:05 [ 93%] Built target template-discovery 16:22:05 make[2]: Entering directory '/tmp/sdk/build/release' 16:22:05 make[2]: Leaving directory '/tmp/sdk/build/release' 16:22:05 [ 96%] Built target device-file 16:22:05 make[2]: Entering directory '/tmp/sdk/build/release' 16:22:05 make[2]: Leaving directory '/tmp/sdk/build/release' 16:22:05 [100%] Built target device-terminal 16:22:05 make[1]: Leaving directory '/tmp/sdk/build/release' 16:22:05 Install the project... 16:22:05 -- Install configuration: "Release" 16:22:05 -- Installing: /usr/local/lib/libcsdk.so 16:22:05 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 16:22:05 -- Up-to-date: /usr/local/include 16:22:05 -- Installing: /usr/local/include/devsdk 16:22:05 -- Installing: /usr/local/include/devsdk/devsdk-base.h 16:22:05 -- Installing: /usr/local/include/devsdk/devsdk.h 16:22:05 -- Installing: /usr/local/include/edgex 16:22:05 -- Installing: /usr/local/include/edgex/devices.h 16:22:05 -- Installing: /usr/local/include/edgex/edgex-base.h 16:22:05 -- Installing: /usr/local/include/edgex/edgex.h 16:22:05 -- Installing: /usr/local/include/edgex/profiles.h 16:22:05 -- Installing: /usr/local/include/edgex/rest-server.h 16:22:05 -- Installing: /usr/local/include/edgex/csdk-defs.h 16:22:05 -- Installing: /usr/local/include/iot 16:22:05 -- Installing: /usr/local/include/iot/base64.h 16:22:05 -- Installing: /usr/local/include/iot/component.h 16:22:05 -- Installing: /usr/local/include/iot/config.h 16:22:05 -- Installing: /usr/local/include/iot/container.h 16:22:05 -- Installing: /usr/local/include/iot/data.h 16:22:05 -- Installing: /usr/local/include/iot/hash.h 16:22:05 -- Installing: /usr/local/include/iot/iot.h 16:22:05 -- Installing: /usr/local/include/iot/json.h 16:22:05 -- Installing: /usr/local/include/iot/logger.h 16:22:05 -- Installing: /usr/local/include/iot/os.h 16:22:05 -- Installing: /usr/local/include/iot/scheduler.h 16:22:05 -- Installing: /usr/local/include/iot/thread.h 16:22:05 -- Installing: /usr/local/include/iot/threadpool.h 16:22:05 -- Installing: /usr/local/include/iot/time.h 16:22:05 -- Installing: /usr/local/include/iot/typecode.h 16:22:05 -- Installing: /usr/local/include/iot/os 16:22:05 -- Installing: /usr/local/include/iot/os/linux.h 16:22:05 -- Installing: /usr/local/include/iot/os/macos.h 16:22:05 -- Installing: /usr/local/include/iot/os/zephyr.h 16:22:05 -- Installing: /usr/local/include/iot/defs.h 16:22:05 -- Installing: /usr/local/share/device-sdk-c/LICENSE 16:22:05 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 16:22:05 make: Leaving directory '/tmp/sdk/build/release' 16:22:06 Removing intermediate container 27dfaeb1c33b 16:22:06 ---> b49a83446c79 16:22:06 Step 16/25 : FROM ${BASE} 16:22:06 ---> ac6a0feb3254 16:22:06 Step 17/25 : LABEL maintainer="IOTech " 16:22:06 ---> Running in 1c91a8203fe8 16:22:06 Removing intermediate container 1c91a8203fe8 16:22:06 ---> c56da8773020 16:22:06 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 16:22:06 ---> Running in 9594d8b26ed9 16:22:06 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 16:22:07 Connecting to iotech.jfrog.io (54.195.244.87:443) 16:22:07 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 16:22:07 saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 16:22:07 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 16:22:07 '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved 16:22:07 Removing intermediate container 9594d8b26ed9 16:22:07 ---> f7e38ce2a28f 16:22:07 Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 16:22:07 ---> Running in 6b2cb41dd290 16:22:07 (1/22) Installing hiredis (0.14.1-r0) 16:22:08 (2/22) Installing hiredis-dev (0.14.1-r0) 16:22:08 (3/22) Installing ncurses-dev (6.2_p20200523-r0) 16:22:08 Removing intermediate container 6b2cb41dd290 16:22:08 ---> 7e02d6d1d3fd 16:22:08 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 16:22:08 ---> Running in c84d101349d7 16:22:08 (4/22) Installing paho-mqtt-c-dev (1.3.5-r0) 16:22:08 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 16:22:09 (5/22) Installing libblkid (2.35.2-r0) 16:22:10 (6/22) Installing blkid (2.35.2-r0) 16:22:10 (7/22) Installing libcap-ng (0.7.10-r1) 16:22:10 (8/22) Installing setpriv (2.35.2-r0) 16:22:10 (9/22) Installing libmount (2.35.2-r0) 16:22:10 (10/22) Installing libsmartcols (2.35.2-r0) 16:22:10 (11/22) Installing findmnt (2.35.2-r0) 16:22:10 (12/22) Installing mcookie (2.35.2-r0) 16:22:10 (13/22) Installing hexdump (2.35.2-r0) 16:22:10 (14/22) Installing lsblk (2.35.2-r0) 16:22:11 (15/22) Installing libuuid (2.35.2-r0) 16:22:11 (16/22) Installing libfdisk (2.35.2-r0) 16:22:11 (17/22) Installing sfdisk (2.35.2-r0) 16:22:11 (18/22) Installing cfdisk (2.35.2-r0) 16:22:11 (19/22) Installing util-linux (2.35.2-r0) 16:22:11 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 16:22:12 (20/22) Installing util-linux-dev (2.35.2-r0) 16:22:12 (21/22) Installing libidn2 (2.3.0-r0) 16:22:12 (22/22) Installing wget (1.20.3-r1) 16:22:13 Executing busybox-1.31.1-r20.trigger 16:22:13 OK: 276 MiB in 97 packages 16:22:15 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 16:22:15 (1/7) Installing curl (7.78.0-r0) 16:22:15 Removing intermediate container a328ddaa5972 16:22:15 ---> 7ba87dd3f584 16:22:15 Step 6/25 : ENV CBOR_VERSION=0.5.0 16:22:15 ---> Running in 217bea6f69a9 16:22:16 (2/7) Installing hiredis (0.14.1-r0) 16:22:16 (3/7) Installing hiredis-dev (0.14.1-r0) 16:22:16 Removing intermediate container 217bea6f69a9 16:22:16 ---> 65f4d426fe9d 16:22:16 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 16:22:16 ---> Running in 77623bd61aff 16:22:16 (4/7) Installing libuuid (2.35.2-r0) 16:22:16 (5/7) Installing paho-mqtt-c-dev (1.3.5-r0) 16:22:17 (6/7) Installing libidn2 (2.3.0-r0) 16:22:17 --2021-08-11 16:22:17-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 16:22:18 Resolving github.com (github.com)... 140.82.114.3 16:22:18 Connecting to github.com (github.com)|140.82.114.3|:443... connected. 16:22:18 HTTP request sent, awaiting response... 302 Found 16:22:18 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 16:22:18 --2021-08-11 16:22:18-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 16:22:18 Resolving codeload.github.com (codeload.github.com)... 140.82.113.10 16:22:18 Connecting to codeload.github.com (codeload.github.com)|140.82.113.10|:443... connected. 16:22:18 HTTP request sent, awaiting response... 200 OK 16:22:18 Length: unspecified [application/x-gzip] 16:22:18 Saving to: 'STDOUT' 16:22:18  16:22:18 (7/7) Installing wget (1.20.3-r1) 16:22:18 0K .......... .......... .......... .......... .......... 1.39M 16:22:18 50K .......... .......... .......... .......... .......... 3.20M 16:22:18 100K .......... .......... .......... .......... .......... 10.5M 16:22:18 150K .......... .......... .......... .......... .......... 3.69M 16:22:18 200K .......... .......... .......... .......... .......... 15.4M 16:22:18 250K .......... .......... .......... .......... .......... 4.11M 16:22:18 300K .......... .......... .......... .......... .......... 3.85M 16:22:18 350K .......... .......... .......... .......... .......... 6.20M 16:22:18 400K .......... .......... .......... .......... .......... 3.27M 16:22:18 450K .......... .......... .......... .......... .......... 4.02M 16:22:18 500K .......... .......... .......... .......... .......... 12.0M 16:22:18 550K .......... .......... .......... .......... .......... 3.88M 16:22:18 600K .......... .......... .......... .......... .......... 778K 16:22:18 650K .......... .......... .......... .......... .......... 2.09M 16:22:18 700K .. 2.16M=0.2s 16:22:18 16:22:18 2021-08-11 16:22:18 (2.90 MB/s) - written to stdout [719348] 16:22:18 16:22:18 Executing busybox-1.31.1-r20.trigger 16:22:18 OK: 286 MiB in 82 packages 16:22:18 -- The C compiler identification is GNU 9.3.0 16:22:18 Removing intermediate container c84d101349d7 16:22:18 ---> 5297eba9046c 16:22:18 Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 16:22:18 -- The CXX compiler identification is GNU 9.3.0 16:22:18 -- Check for working C compiler: /usr/bin/cc 16:22:19 ---> 816e54049d02 16:22:19 Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 16:22:19 -- Check for working C compiler: /usr/bin/cc - works 16:22:19 -- Detecting C compiler ABI info 16:22:19 ---> 896cefac4c0a 16:22:19 Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib 16:22:19 ---> 52f1b2d2b73d 16:22:19 Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 16:22:19 -- Detecting C compiler ABI info - done 16:22:19 ---> 21c1ef8f3983 16:22:19 Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 16:22:19 -- Detecting C compile features 16:22:19 -- Detecting C compile features - done 16:22:19 -- Check for working CXX compiler: /usr/bin/c++ 16:22:19 ---> 5f2e81b89ac4 16:22:19 Successfully built 5f2e81b89ac4 16:22:19 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { 16:22:20 -- Check for working CXX compiler: /usr/bin/c++ - works 16:22:20 -- Detecting CXX compiler ABI info [Pipeline] isUnix [Pipeline] sh 16:22:20 -- Detecting CXX compiler ABI info - done 16:22:20 -- Detecting CXX compile features 16:22:20 -- Detecting CXX compile features - done 16:22:20 -- Looking for include file endian.h 16:22:20 + docker inspect -f . ci-base-image-x86_64 16:22:20 . [Pipeline] withDockerContainer 16:22:20 prd-centos7-docker-4c-2g-356 does not seem to be running inside a container 16:22:20 -- Looking for include file endian.h - found 16:22:20 -- Check if the system is big endian 16:22:20 -- Searching 16 bit integer 16:22:20 -- Looking for sys/types.h 16:22:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:22:20 -- Looking for sys/types.h - found 16:22:20 -- Looking for stdint.h 16:22:21 $ docker top 846c4d45be777b9d0f653ef4449a6ebeaac4696042e397d6504421e8efcbdfce -eo pid,comm [Pipeline] { [Pipeline] sh 16:22:21 -- Looking for stdint.h - found 16:22:21 -- Looking for stddef.h 16:22:21 + make test 16:22:21 echo "make test" 16:22:21 make test [Pipeline] } 16:22:21 $ docker stop --time=1 846c4d45be777b9d0f653ef4449a6ebeaac4696042e397d6504421e8efcbdfce 16:22:21 -- Looking for stddef.h - found 16:22:21 -- Check size of unsigned short 16:22:21 -- Check size of unsigned short - done 16:22:21 -- Searching 16 bit integer - Using unsigned short 16:22:22 -- Check if the system is big endian - little endian 16:22:22 -- Check size of size_t 16:22:22 -- Check size of size_t - done 16:22:22 CMake Warning at examples/CMakeLists.txt:16 (find_package): 16:22:22 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 16:22:22 asked CMake to find a package configuration file provided by "cJSON", but 16:22:22 CMake did not find one. 16:22:22 16:22:22 Could not find a package configuration file provided by "cJSON" with any of 16:22:22 the following names: 16:22:22 16:22:22 cJSONConfig.cmake 16:22:22 cjson-config.cmake 16:22:22 16:22:22 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 16:22:22 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 16:22:22 provides a separate development package or SDK, be sure it has been 16:22:22 installed. 16:22:22 16:22:22 16:22:22 -- Configuring done 16:22:22 -- Generating done 16:22:22 -- Build files have been written to: /tmp/cbor 16:22:22 Scanning dependencies of target cbor_shared 16:22:22 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 16:22:22 $ docker rm -f 846c4d45be777b9d0f653ef4449a6ebeaac4696042e397d6504421e8efcbdfce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:22:23 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 16:22:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:22:24 + ls -al . 16:22:24 total 160 16:22:24 drwxrwxr-x. 8 jenkins jenkins 260 Aug 11 16:21 . 16:22:24 drwxrwxr-x. 4 jenkins jenkins 28 Aug 11 16:21 .. 16:22:24 -rw-rw-r--. 1 jenkins jenkins 3104 Aug 11 16:21 Attribution.txt 16:22:24 -rw-rw-r--. 1 jenkins jenkins 7556 Aug 11 16:21 CHANGES 16:22:24 drwxrwxr-x. 2 jenkins jenkins 121 Aug 11 16:21 docs 16:22:24 -rw-rw-r--. 1 jenkins jenkins 108574 Aug 11 16:21 Doxyfile 16:22:24 drwxrwxr-x. 8 jenkins jenkins 179 Aug 11 16:21 .git 16:22:24 drwxrwxr-x. 2 jenkins jenkins 81 Aug 11 16:21 .github 16:22:24 -rw-rw-r--. 1 jenkins jenkins 176 Aug 11 16:21 .gitignore 16:22:24 drwxrwxr-x. 4 jenkins jenkins 33 Aug 11 16:21 include 16:22:24 -rw-rw-r--. 1 jenkins jenkins 784 Aug 11 16:21 Jenkinsfile 16:22:24 -rw-rw-r--. 1 jenkins jenkins 10174 Aug 11 16:21 LICENSE 16:22:24 -rw-rw-r--. 1 jenkins jenkins 444 Aug 11 16:21 Makefile 16:22:24 -rw-rw-r--. 1 jenkins jenkins 4086 Aug 11 16:21 README.md 16:22:24 -rw-rw-r--. 1 jenkins jenkins 7090 Aug 11 16:21 README.v2.md 16:22:24 drwxrwxr-x. 2 jenkins jenkins 98 Aug 11 16:21 scripts 16:22:24 drwxrwxr-x. 4 jenkins jenkins 50 Aug 11 16:21 src 16:22:24 -rw-rw-r--. 1 jenkins jenkins 5 Aug 11 16:17 VERSION [Pipeline] isUnix [Pipeline] sh 16:22:24 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 16:22:24 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 16:22:24 + 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=2bf2d807499ee9959cce0906e713c0e99fbf5fcd --label arch=amd64 --label version=0.0.0 . 16:22:24 Sending build context to Docker daemon 2.636MB 16:22:24 Step 1/17 : ARG BASE=alpine:3.12 16:22:24 Step 2/17 : FROM ${BASE} 16:22:24 ---> 5f2e81b89ac4 16:22:24 Step 3/17 : LABEL maintainer="IOTech " 16:22:24 ---> Running in bb274302a929 16:22:24 Removing intermediate container bb274302a929 16:22:24 ---> 7c9af15231ff 16:22:24 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 16:22:24 ---> Running in 0a9ab7ec1e6b 16:22:24 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 16:22:24 --2021-08-11 16:22:24-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub 16:22:24 Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.229.110.245, 54.170.66.44, 54.195.244.87 16:22:24 Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.229.110.245|:443... connected. 16:22:25 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 16:22:25 HTTP request sent, awaiting response... 200 OK 16:22:25 Length: 451 [application/octet-stream] 16:22:25 Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 16:22:25  16:22:25 0K 100% 46.8M=0s 16:22:25 16:22:25 2021-08-11 16:22:25 (46.8 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] 16:22:25 16:22:25 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 16:22:25 Removing intermediate container 0a9ab7ec1e6b 16:22:25 ---> f5c689dbfac8 16:22:25 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 16:22:25 ---> Running in ee8e8f60c288 16:22:25 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 16:22:25 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 16:22:26 Removing intermediate container ee8e8f60c288 16:22:26 ---> 755b51d2e573 16:22:26 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 16:22:26 ---> Running in 515491136c11 16:22:26 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 16:22:26 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 16:22:26 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 16:22:26 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 16:22:26 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 16:22:27 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 16:22:27 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 16:22:27 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 16:22:27 (1/16) Installing ncurses-dev (6.2_p20200523-r0) 16:22:27 (2/16) Installing libblkid (2.35.2-r0) 16:22:27 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 16:22:28 (3/16) Installing blkid (2.35.2-r0) 16:22:28 (4/16) Installing libcap-ng (0.7.10-r1) 16:22:28 (5/16) Installing setpriv (2.35.2-r0) 16:22:28 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 16:22:28 (6/16) Installing libmount (2.35.2-r0) 16:22:28 (7/16) Installing libsmartcols (2.35.2-r0) 16:22:28 (8/16) Installing findmnt (2.35.2-r0) 16:22:28 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 16:22:28 (9/16) Installing mcookie (2.35.2-r0) 16:22:28 (10/16) Installing hexdump (2.35.2-r0) 16:22:28 (11/16) Installing lsblk (2.35.2-r0) 16:22:28 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 16:22:28 (12/16) Installing libfdisk (2.35.2-r0) 16:22:28 (13/16) Installing sfdisk (2.35.2-r0) 16:22:28 (14/16) Installing cfdisk (2.35.2-r0) 16:22:28 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 16:22:29 (15/16) Installing util-linux (2.35.2-r0) 16:22:29 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 16:22:29 [ 40%] Linking C shared library libcbor.so 16:22:29 (16/16) Installing util-linux-dev (2.35.2-r0) 16:22:29 [ 40%] Built target cbor_shared 16:22:29 Scanning dependencies of target cbor 16:22:29 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 16:22:29 Executing busybox-1.31.1-r20.trigger 16:22:29 OK: 295 MiB in 98 packages 16:22:29 Removing intermediate container 515491136c11 16:22:29 ---> 4b5a58d165c2 16:22:29 Step 7/17 : COPY VERSION /edgex-c-sdk/ 16:22:30 ---> 90bc59e8ba6c 16:22:30 Step 8/17 : COPY src /edgex-c-sdk/src/ 16:22:30 ---> 8249d6005a14 16:22:30 Step 9/17 : COPY include /edgex-c-sdk/include/ 16:22:30 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 16:22:30 ---> 6755152dea32 16:22:30 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 16:22:30 ---> 99e9a8d4951d 16:22:30 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 16:22:30 ---> 08e193fc5c2d 16:22:30 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 16:22:30 ---> b8f96f68fb98 16:22:30 Step 13/17 : WORKDIR /edgex-c-sdk 16:22:30 ---> Running in fd0f3f21ab6d 16:22:31 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 16:22:31 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 16:22:31 Removing intermediate container fd0f3f21ab6d 16:22:31 ---> a67c09794611 16:22:31 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 16:22:31 ---> Running in f4d2893ef147 16:22:31 Removing intermediate container f4d2893ef147 16:22:31 ---> d649fc6debcc 16:22:31 Step 15/17 : LABEL arch=amd64 16:22:31 ---> Running in eeb9423852b7 16:22:31 Removing intermediate container eeb9423852b7 16:22:31 ---> 77f2ba6e76ae 16:22:31 Step 16/17 : LABEL git_sha=2bf2d807499ee9959cce0906e713c0e99fbf5fcd 16:22:31 ---> Running in b682441a37d2 16:22:31 Removing intermediate container b682441a37d2 16:22:31 ---> d77e562be2d1 16:22:31 Step 17/17 : LABEL version=0.0.0 16:22:31 ---> Running in 54aab4c5a693 16:22:31 Removing intermediate container 54aab4c5a693 16:22:31 ---> 9356395a1c19 16:22:31 [Warning] One or more build-args [MAKE ARCH] were not consumed 16:22:31 Successfully built 9356395a1c19 16:22:31 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 16:22:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:22:32 16:22:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 16:22:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:22:32 latest: Pulling from edgex-lftools-log-publisher 16:22:32 b4d181a07f80: Pulling fs layer 16:22:32 a1111a8f2ec3: Pulling fs layer 16:22:32 ed53099fbce6: Pulling fs layer 16:22:32 dc539afda2c1: Pulling fs layer 16:22:32 77bc0d833cb6: Pulling fs layer 16:22:32 9065ff56babe: Pulling fs layer 16:22:32 d287ab97295c: Pulling fs layer 16:22:32 77bc0d833cb6: Waiting 16:22:32 9065ff56babe: Waiting 16:22:32 d287ab97295c: Waiting 16:22:32 dc539afda2c1: Waiting 16:22:33 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 16:22:33 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 16:22:33 a1111a8f2ec3: Verifying Checksum 16:22:33 a1111a8f2ec3: Download complete 16:22:33 dc539afda2c1: Verifying Checksum 16:22:33 dc539afda2c1: Download complete 16:22:33 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 16:22:33 77bc0d833cb6: Verifying Checksum 16:22:33 77bc0d833cb6: Download complete 16:22:33 9065ff56babe: Verifying Checksum 16:22:33 9065ff56babe: Download complete 16:22:33 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 16:22:33 ed53099fbce6: Verifying Checksum 16:22:33 ed53099fbce6: Download complete 16:22:33 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 16:22:34 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 16:22:34 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 16:22:34 b4d181a07f80: Verifying Checksum 16:22:34 b4d181a07f80: Download complete 16:22:34 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 16:22:35 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 16:22:35 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 16:22:35 b4d181a07f80: Pull complete 16:22:36 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 16:22:36 a1111a8f2ec3: Pull complete 16:22:36 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 16:22:36 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 16:22:36 ed53099fbce6: Pull complete 16:22:36 dc539afda2c1: Pull complete 16:22:37 77bc0d833cb6: Pull complete 16:22:37 9065ff56babe: Pull complete 16:22:37 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 16:22:37 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 16:22:37 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 16:22:37 [ 80%] Linking C static library libcbor.a 16:22:37 [ 80%] Built target cbor 16:22:37 Scanning dependencies of target sort 16:22:38 [ 82%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 16:22:38 [ 84%] Linking C executable sort 16:22:38 [ 84%] Built target sort 16:22:38 Scanning dependencies of target readfile 16:22:38 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 16:22:38 [ 88%] Linking C executable readfile 16:22:38 [ 88%] Built target readfile 16:22:38 Scanning dependencies of target streaming_parser 16:22:38 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 16:22:38 [ 92%] Linking C executable streaming_parser 16:22:38 [ 92%] Built target streaming_parser 16:22:38 Scanning dependencies of target hello 16:22:39 [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 16:22:39 [ 96%] Linking C executable hello 16:22:39 [ 96%] Built target hello 16:22:39 Scanning dependencies of target create_items 16:22:39 [ 98%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 16:22:39 [100%] Linking C executable create_items 16:22:39 d287ab97295c: Verifying Checksum 16:22:39 d287ab97295c: Download complete 16:22:39 [100%] Built target create_items 16:22:39 Install the project... 16:22:39 -- Install configuration: "Release" 16:22:39 -- Installing: /usr/local/include/cbor/configuration.h 16:22:39 -- Installing: /usr/local/lib64/libcbor.a 16:22:39 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 16:22:39 -- Installing: /usr/local/lib64/libcbor.so.0 16:22:39 -- Installing: /usr/local/lib64/libcbor.so 16:22:39 -- Up-to-date: /usr/local/include/cbor 16:22:39 -- Installing: /usr/local/include/cbor/streaming.h 16:22:39 -- Installing: /usr/local/include/cbor/ints.h 16:22:39 -- Installing: /usr/local/include/cbor/floats_ctrls.h 16:22:39 -- Installing: /usr/local/include/cbor/bytestrings.h 16:22:39 -- Installing: /usr/local/include/cbor/encoding.h 16:22:39 -- Installing: /usr/local/include/cbor/serialization.h 16:22:39 -- Installing: /usr/local/include/cbor/data.h 16:22:39 -- Installing: /usr/local/include/cbor/common.h 16:22:39 -- Installing: /usr/local/include/cbor/callbacks.h 16:22:39 -- Installing: /usr/local/include/cbor/strings.h 16:22:39 -- Installing: /usr/local/include/cbor/tags.h 16:22:39 -- Installing: /usr/local/include/cbor/internal 16:22:39 -- Installing: /usr/local/include/cbor/internal/encoders.h 16:22:39 -- Installing: /usr/local/include/cbor/internal/loaders.h 16:22:39 -- Installing: /usr/local/include/cbor/internal/stack.h 16:22:39 -- Installing: /usr/local/include/cbor/internal/unicode.h 16:22:39 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 16:22:39 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 16:22:39 -- Installing: /usr/local/include/cbor/arrays.h 16:22:39 -- Installing: /usr/local/include/cbor/maps.h 16:22:39 -- Installing: /usr/local/include/cbor.h 16:22:39 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 16:22:42 Removing intermediate container 77623bd61aff 16:22:42 ---> 60c44306741b 16:22:42 Step 8/25 : RUN mkdir /tmp/sdk 16:22:42 ---> Running in 93900286ee3e 16:22:43 d287ab97295c: Pull complete 16:22:43 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 16:22:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:22:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 16:22:44 prd-centos7-docker-4c-2g-356 does not seem to be running inside a container 16:22:44 $ 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/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:22:44 Removing intermediate container 93900286ee3e 16:22:44 ---> ab6c6b8623f5 16:22:44 Step 9/25 : COPY VERSION /tmp/sdk 16:22:45 ---> b759cb27bcdb 16:22:45 Step 10/25 : COPY src /tmp/sdk/src 16:22:46 $ docker top 3bab27ba88bc7f387c15f4944d9c0d68f371c5bb6c1ad1f54e64a356caf30b77 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:22:46 ---> 33ac7e54972a 16:22:46 Step 11/25 : COPY include /tmp/sdk/include 16:22:46 ---> job-cost.sh 16:22:46 lf-activate-venv: SKIPPING 16:22:46 INFO: No Stack... 16:22:46 ---> 7bc573756255 16:22:46 Step 12/25 : COPY scripts /tmp/sdk/scripts 16:22:47 INFO: Retrieving Pricing Info for: v3-standard-2 16:22:47 INFO: Archiving Costs [Pipeline] sh 16:22:47 ---> 760ec8e2c206 16:22:47 Step 13/25 : COPY LICENSE /tmp/sdk 16:22:48 + cat /w/workspace/device-sdk-c/2/archives/cost.csv 16:22:48 + cut -d, -f6 [Pipeline] lock 16:22:48 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-363-2-stack-cost] 16:22:48 Resource [jenkins-edgexfoundry-device-sdk-c-PR-363-2-stack-cost] did not exist. Created. 16:22:48 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-363-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:22:48 ---> 6f1c8a481bb8 16:22:48 Step 14/25 : COPY Attribution.txt /tmp/sdk 16:22:48 + echo total: 0.05999999865889549 [Pipeline] stash 16:22:48 Stashed 1 file(s) [Pipeline] } 16:22:48 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-363-2-stack-cost] [Pipeline] // lock [Pipeline] } 16:22:48 $ docker stop --time=1 3bab27ba88bc7f387c15f4944d9c0d68f371c5bb6c1ad1f54e64a356caf30b77 16:22:49 ---> bfdb5e52081a 16:22:49 Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 16:22:49 ---> Running in 305dcb1c474e 16:22:50 $ docker rm -f 3bab27ba88bc7f387c15f4944d9c0d68f371c5bb6c1ad1f54e64a356caf30b77 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 16:22:50 + CPPCHECK=false 16:22:50 + DOCGEN=false 16:22:50 + TOMLVER=SDK-0.2 16:22:50 + CUTILVER=1.1.4 16:22:50 + '[' 0 -gt 0 ] 16:22:50 + readlink -f ./scripts/build.sh 16:22:50 + dirname /tmp/sdk/scripts/build.sh 16:22:50 + dirname /tmp/sdk/scripts 16:22:50 + ROOT=/tmp/sdk 16:22:50 + cd /tmp/sdk 16:22:50 + '[' '!' -d deps ] 16:22:50 + mkdir deps 16:22:50 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 16:22:50 + tar -C deps -z -x -f - 16:22:50 --2021-08-11 16:22:50-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 16:22:50 Resolving github.com (github.com)... 140.82.114.3 16:22:50 Connecting to github.com (github.com)|140.82.114.3|:443... connected. 16:22:50 HTTP request sent, awaiting response... 302 Found 16:22:50 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 16:22:50 --2021-08-11 16:22:50-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 16:22:50 Resolving codeload.github.com (codeload.github.com)... 140.82.113.10 16:22:50 Connecting to codeload.github.com (codeload.github.com)|140.82.113.10|:443... connected. 16:22:51 HTTP request sent, awaiting response... 200 OK 16:22:51 Length: unspecified [application/x-gzip] 16:22:51 Saving to: 'STDOUT' 16:22:51  16:22:51 0K .......... ......   965K=0.02s 16:22:51 16:22:51 2021-08-11 16:22:50 (965 KB/s) - written to stdout [16451] 16:22:51 16:22:51 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 16:22:51 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 16:22:51 + tar -C deps -z -x -f - 16:22:51 --2021-08-11 16:22:50-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 16:22:51 Resolving github.com (github.com)... 140.82.114.3 16:22:51 Connecting to github.com (github.com)|140.82.114.3|:443... connected. 16:22:51 HTTP request sent, awaiting response... 302 Found 16:22:51 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] 16:22:51 --2021-08-11 16:22:50-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 16:22:51 Resolving codeload.github.com (codeload.github.com)... 140.82.113.10 16:22:51 Connecting to codeload.github.com (codeload.github.com)|140.82.113.10|:443... connected. 16:22:51 HTTP request sent, awaiting response... 200 OK 16:22:51 Length: unspecified [application/x-gzip] 16:22:51 Saving to: 'STDOUT' 16:22:51  16:22:51 0K .......... .......... .......... .......... .......... 1.50M 16:22:51 50K .......... .......... .......... .......... .......... 2.62M 16:22:51 100K .......... .......... .......... .......... .......... 5.06M 16:22:51 150K .......... .......... ....... 1.55M=0.08s 16:22:51 16:22:51 2021-08-11 16:22:51 (2.22 MB/s) - written to stdout [181796] 16:22:51 16:22:51 + mkdir -p src/c/iot 16:22:51 + 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 16:22:51 + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot 16:22:51 + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot 16:22:51 + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot 16:22:51 + mkdir -p include/iot 16:22:51 + 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 16:22:51 + mkdir -p include/iot/os 16:22:51 + 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 16:22:51 + mkdir -p /tmp/sdk/build/release 16:22:51 + cd /tmp/sdk/build/release 16:22:51 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 16:22:51 -- The C compiler identification is GNU 9.3.0 16:22:51 -- Check for working C compiler: /usr/bin/cc 16:22:52 -- Check for working C compiler: /usr/bin/cc - works 16:22:52 -- Detecting C compiler ABI info 16:22:52 -- Detecting C compiler ABI info - done 16:22:52 -- Detecting C compile features 16:22:52 -- Detecting C compile features - done 16:22:52 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 16:22:52 -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") 16:22:52 -- Found LIBYAML: /usr/lib/libyaml.so 16:22:52 -- Found LIBUUID: /usr/lib/libuuid.so 16:22:52 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 16:22:52 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 16:22:52 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 16:22:52 -- C SDK 0.0.0 for Linux 16:22:52 -- Performing Test CSDK_HAVE_ATOMIC 16:22:52 -- Performing Test CSDK_HAVE_ATOMIC - Success 16:22:52 -- Found Curses: /usr/lib/libcurses.so 16:22:53 -- Configuring done 16:22:53 -- Generating done 16:22:53 -- Build files have been written to: /tmp/sdk/build/release 16:22:53 + + teemake release.log all 16:22:53 package 16:22:53 Scanning dependencies of target csdk 16:22:53 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 16:22:54 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 16:22:54 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 16:22:56 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 16:22:57 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 16:22:57 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 16:22:57 /tmp/sdk/src/c/data-mqtt.c: In function 'edgex_data_client_new_mqtt': 16:22:57 /tmp/sdk/src/c/data-mqtt.c:182:12: warning: unused variable 'tm' [-Wunused-variable] 16:22:57 182 | uint64_t tm; 16:22:57 | ^~ 16:22:58 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 16:22:58 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 16:22:58 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 16:23:00 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 16:23:01 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 16:23:02 [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 16:23:02 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 16:23:03 [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 16:23:03 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 16:23:03 [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 16:23:03 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 16:23:07 [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 16:23:07 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 16:23:07 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 16:23:07 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 16:23:08 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 16:23:09 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 16:23:11 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 16:23:11 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 16:23:12 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 16:23:12 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 16:23:13 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 16:23:13 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 16:23:14 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 16:23:14 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 16:23:15 [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 16:23:15 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 16:23:17 [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o 16:23:17 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 16:23:18 [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 16:23:18 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 16:23:23 [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 16:23:23 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 16:23:24 [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 16:23:24 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 16:23:25 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 16:23:27 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 16:23:27 [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 16:23:27 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 16:23:28 [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o 16:23:30 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 16:23:33 [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 16:23:33 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 16:23:34 [ 75%] Linking C shared library libcsdk.so 16:23:34 [ 75%] Built target csdk 16:23:34 Scanning dependencies of target template 16:23:34 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 16:23:35 [ 78%] Linking C executable template 16:23:35 [ 78%] Built target template 16:23:35 Scanning dependencies of target device-counter 16:23:35 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 16:23:35 [ 81%] Linking C executable device-counter 16:23:36 [ 81%] Built target device-counter 16:23:36 Scanning dependencies of target device-random 16:23:36 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 16:23:36 [ 84%] Linking C executable device-random 16:23:37 [ 84%] Built target device-random 16:23:37 Scanning dependencies of target device-gyro 16:23:37 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 16:23:37 [ 87%] Linking C executable device-gyro 16:23:37 [ 87%] Built target device-gyro 16:23:37 Scanning dependencies of target device-bitfields 16:23:37 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 16:23:38 [ 90%] Linking C executable device-bitfields 16:23:38 [ 90%] Built target device-bitfields 16:23:38 Scanning dependencies of target template-discovery 16:23:38 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 16:23:39 [ 93%] Linking C executable template-discovery 16:23:39 [ 93%] Built target template-discovery 16:23:39 Scanning dependencies of target device-file 16:23:39 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 16:23:39 [ 96%] Linking C executable device-file 16:23:40 [ 96%] Built target device-file 16:23:40 Scanning dependencies of target device-terminal 16:23:40 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 16:23:40 [100%] Linking C executable device-terminal 16:23:41 [100%] Built target device-terminal 16:23:41 Run CPack packaging tool... 16:23:41 CPack: Create package using TGZ 16:23:41 CPack: Install projects 16:23:41 CPack: - Run preinstall target for: Csdk 16:23:41 CPack: - Install project: Csdk [] 16:23:41 CPack: Create package 16:23:41 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 16:23:41 + '[' false '=' true ] 16:23:41 + '[' false '=' true ] 16:23:41 + mkdir -p /tmp/sdk/build/debug 16:23:41 + cd /tmp/sdk/build/debug 16:23:41 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 16:23:42 -- The C compiler identification is GNU 9.3.0 16:23:42 -- Check for working C compiler: /usr/bin/cc 16:23:42 -- Check for working C compiler: /usr/bin/cc - works 16:23:42 -- Detecting C compiler ABI info 16:23:42 -- Detecting C compiler ABI info - done 16:23:42 -- Detecting C compile features 16:23:42 -- Detecting C compile features - done 16:23:42 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 16:23:43 -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") 16:23:43 -- Found LIBYAML: /usr/lib/libyaml.so 16:23:43 -- Found LIBUUID: /usr/lib/libuuid.so 16:23:43 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 16:23:43 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 16:23:43 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 16:23:43 -- C SDK 0.0.0 for Linux 16:23:43 -- Performing Test CSDK_HAVE_ATOMIC 16:23:43 -- Performing Test CSDK_HAVE_ATOMIC - Success 16:23:43 -- Found Curses: /usr/lib/libcurses.so 16:23:43 -- Configuring done 16:23:43 -- Generating done 16:23:43 -- Build files have been written to: /tmp/sdk/build/debug 16:23:43 + make 16:23:43 + tee debug.log 16:23:43 Scanning dependencies of target csdk 16:23:44 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 16:23:44 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 16:23:44 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 16:23:45 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 16:23:45 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 16:23:45 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 16:23:45 /tmp/sdk/src/c/data-mqtt.c: In function 'edgex_data_client_new_mqtt': 16:23:45 /tmp/sdk/src/c/data-mqtt.c:182:12: warning: unused variable 'tm' [-Wunused-variable] 16:23:45 182 | uint64_t tm; 16:23:45 | ^~ 16:23:46 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 16:23:46 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 16:23:46 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 16:23:46 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 16:23:47 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 16:23:47 [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 16:23:48 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 16:23:48 [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 16:23:48 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 16:23:48 [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 16:23:49 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 16:23:49 [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 16:23:49 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 16:23:50 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 16:23:50 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 16:23:50 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 16:23:50 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 16:23:51 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 16:23:51 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 16:23:51 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 16:23:52 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 16:23:52 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 16:23:52 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 16:23:52 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 16:23:53 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 16:23:53 [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 16:23:53 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 16:23:53 [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o 16:23:54 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 16:23:54 [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 16:23:54 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 16:23:55 [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 16:23:56 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 16:23:56 [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 16:23:56 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 16:23:56 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 16:23:57 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 16:23:58 [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 16:23:58 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 16:23:58 [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o 16:23:59 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 16:23:59 [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 16:24:00 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 16:24:00 [ 75%] Linking C shared library libcsdk.so 16:24:00 [ 75%] Built target csdk 16:24:00 Scanning dependencies of target template 16:24:00 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 16:24:00 [ 78%] Linking C executable template 16:24:01 [ 78%] Built target template 16:24:01 Scanning dependencies of target device-counter 16:24:01 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 16:24:01 [ 81%] Linking C executable device-counter 16:24:01 [ 81%] Built target device-counter 16:24:01 Scanning dependencies of target device-random 16:24:01 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 16:24:01 [ 84%] Linking C executable device-random 16:24:02 [ 84%] Built target device-random 16:24:02 Scanning dependencies of target device-gyro 16:24:02 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 16:24:02 [ 87%] Linking C executable device-gyro 16:24:02 [ 87%] Built target device-gyro 16:24:02 Scanning dependencies of target device-bitfields 16:24:02 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 16:24:03 [ 90%] Linking C executable device-bitfields 16:24:03 [ 90%] Built target device-bitfields 16:24:03 Scanning dependencies of target template-discovery 16:24:03 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 16:24:03 [ 93%] Linking C executable template-discovery 16:24:03 [ 93%] Built target template-discovery 16:24:03 Scanning dependencies of target device-file 16:24:03 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 16:24:04 [ 96%] Linking C executable device-file 16:24:04 [ 96%] Built target device-file 16:24:04 Scanning dependencies of target device-terminal 16:24:04 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 16:24:04 [100%] Linking C executable device-terminal 16:24:05 [100%] Built target device-terminal 16:24:05 make: Entering directory '/tmp/sdk/build/release' 16:24:05 make[1]: Entering directory '/tmp/sdk/build/release' 16:24:05 make[2]: Entering directory '/tmp/sdk/build/release' 16:24:05 make[2]: Leaving directory '/tmp/sdk/build/release' 16:24:05 [ 75%] Built target csdk 16:24:05 make[2]: Entering directory '/tmp/sdk/build/release' 16:24:05 make[2]: Leaving directory '/tmp/sdk/build/release' 16:24:05 [ 78%] Built target template 16:24:05 make[2]: Entering directory '/tmp/sdk/build/release' 16:24:05 make[2]: Leaving directory '/tmp/sdk/build/release' 16:24:05 [ 81%] Built target device-counter 16:24:05 make[2]: Entering directory '/tmp/sdk/build/release' 16:24:05 make[2]: Leaving directory '/tmp/sdk/build/release' 16:24:05 [ 84%] Built target device-random 16:24:05 make[2]: Entering directory '/tmp/sdk/build/release' 16:24:05 make[2]: Leaving directory '/tmp/sdk/build/release' 16:24:05 [ 87%] Built target device-gyro 16:24:05 make[2]: Entering directory '/tmp/sdk/build/release' 16:24:05 make[2]: Leaving directory '/tmp/sdk/build/release' 16:24:05 [ 90%] Built target device-bitfields 16:24:05 make[2]: Entering directory '/tmp/sdk/build/release' 16:24:05 make[2]: Leaving directory '/tmp/sdk/build/release' 16:24:05 [ 93%] Built target template-discovery 16:24:05 make[2]: Entering directory '/tmp/sdk/build/release' 16:24:05 make[2]: Leaving directory '/tmp/sdk/build/release' 16:24:05 [ 96%] Built target device-file 16:24:05 make[2]: Entering directory '/tmp/sdk/build/release' 16:24:05 make[2]: Leaving directory '/tmp/sdk/build/release' 16:24:05 [100%] Built target device-terminal 16:24:05 make[1]: Leaving directory '/tmp/sdk/build/release' 16:24:05 Install the project... 16:24:05 -- Install configuration: "Release" 16:24:05 -- Installing: /usr/local/lib/libcsdk.so 16:24:05 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 16:24:05 -- Up-to-date: /usr/local/include 16:24:05 -- Installing: /usr/local/include/edgex 16:24:05 -- Installing: /usr/local/include/edgex/rest-server.h 16:24:05 -- Installing: /usr/local/include/edgex/edgex-base.h 16:24:05 -- Installing: /usr/local/include/edgex/edgex.h 16:24:05 -- Installing: /usr/local/include/edgex/devices.h 16:24:05 -- Installing: /usr/local/include/edgex/profiles.h 16:24:05 -- Installing: /usr/local/include/edgex/csdk-defs.h 16:24:05 -- Installing: /usr/local/include/devsdk 16:24:05 -- Installing: /usr/local/include/devsdk/devsdk-base.h 16:24:05 -- Installing: /usr/local/include/devsdk/devsdk.h 16:24:05 -- Installing: /usr/local/include/iot 16:24:05 -- Installing: /usr/local/include/iot/json.h 16:24:05 -- Installing: /usr/local/include/iot/container.h 16:24:05 -- Installing: /usr/local/include/iot/component.h 16:24:05 -- Installing: /usr/local/include/iot/typecode.h 16:24:05 -- Installing: /usr/local/include/iot/iot.h 16:24:05 -- Installing: /usr/local/include/iot/time.h 16:24:05 -- Installing: /usr/local/include/iot/hash.h 16:24:05 -- Installing: /usr/local/include/iot/logger.h 16:24:05 -- Installing: /usr/local/include/iot/os 16:24:05 -- Installing: /usr/local/include/iot/os/zephyr.h 16:24:05 -- Installing: /usr/local/include/iot/os/linux.h 16:24:05 -- Installing: /usr/local/include/iot/os/macos.h 16:24:05 -- Installing: /usr/local/include/iot/scheduler.h 16:24:05 -- Installing: /usr/local/include/iot/data.h 16:24:05 -- Installing: /usr/local/include/iot/thread.h 16:24:05 -- Installing: /usr/local/include/iot/os.h 16:24:05 -- Installing: /usr/local/include/iot/base64.h 16:24:05 -- Installing: /usr/local/include/iot/defs.h 16:24:05 -- Installing: /usr/local/include/iot/threadpool.h 16:24:05 -- Installing: /usr/local/include/iot/config.h 16:24:05 -- Installing: /usr/local/share/device-sdk-c/LICENSE 16:24:05 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 16:24:05 make: Leaving directory '/tmp/sdk/build/release' 16:24:08 Removing intermediate container 305dcb1c474e 16:24:08 ---> 0d3d527911b6 16:24:08 Step 16/25 : FROM ${BASE} 16:24:08 ---> 759262b18b23 16:24:08 Step 17/25 : LABEL maintainer="IOTech " 16:24:08 ---> Running in 7580bb9f6420 16:24:08 Removing intermediate container 7580bb9f6420 16:24:08 ---> 67fe2d996550 16:24:08 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 16:24:08 ---> Running in 2835f6b95887 16:24:09 Connecting to iotech.jfrog.io (54.195.244.87:443) 16:24:10 saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 16:24:10 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 16:24:10 '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved 16:24:11 Removing intermediate container 2835f6b95887 16:24:11 ---> 5f251243d5ed 16:24:11 Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 16:24:11 ---> Running in 9ef32dd85f6d 16:24:14 Removing intermediate container 9ef32dd85f6d 16:24:14 ---> 8ab2ff92f776 16:24:14 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 16:24:14 ---> Running in 49ad04fb38a2 16:24:15 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 16:24:16 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 16:24:16 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 16:24:16 (1/7) Installing curl (7.78.0-r0) 16:24:16 (2/7) Installing hiredis (0.14.1-r0) 16:24:17 (3/7) Installing hiredis-dev (0.14.1-r0) 16:24:17 (4/7) Installing libuuid (2.35.2-r0) 16:24:17 (5/7) Installing paho-mqtt-c-dev (1.3.5-r0) 16:24:18 (6/7) Installing libidn2 (2.3.0-r0) 16:24:18 (7/7) Installing wget (1.20.3-r1) 16:24:19 Executing busybox-1.31.1-r20.trigger 16:24:19 OK: 267 MiB in 82 packages 16:24:20 Removing intermediate container 49ad04fb38a2 16:24:20 ---> eecf733774d6 16:24:20 Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 16:24:21 ---> a154a3e358fd 16:24:21 Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 16:24:22 ---> 9ddc7e52e134 16:24:22 Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib 16:24:23 ---> 21da88dd406a 16:24:23 Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 16:24:23 ---> a4990aeca3f3 16:24:23 Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 16:24:24 ---> 0567a449c089 16:24:24 Successfully built 0567a449c089 16:24:24 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:24:25 + docker inspect -f . ci-base-image-arm64 16:24:25 . [Pipeline] withDockerContainer 16:24:25 prd-ubuntu18.04-docker-arm64-4c-16g-355 does not seem to be running inside a container 16:24:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:24:27 $ docker top 8ba10f06e649f7c2e41aa6ff3e36a5504dddb806b92c61a07b3029ac7227b0ea -eo pid,comm [Pipeline] { [Pipeline] sh 16:24:28 + make test 16:24:28 echo "make test" 16:24:28 make test [Pipeline] } 16:24:28 $ docker stop --time=1 8ba10f06e649f7c2e41aa6ff3e36a5504dddb806b92c61a07b3029ac7227b0ea 16:24:30 $ docker rm -f 8ba10f06e649f7c2e41aa6ff3e36a5504dddb806b92c61a07b3029ac7227b0ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:24:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:24:31 + ls -al . 16:24:31 total 192 16:24:31 drwxrwxr-x 8 jenkins jenkins 4096 Aug 11 16:21 . 16:24:31 drwxrwxr-x 4 jenkins jenkins 4096 Aug 11 16:21 .. 16:24:31 drwxrwxr-x 8 jenkins jenkins 4096 Aug 11 16:21 .git 16:24:31 drwxrwxr-x 2 jenkins jenkins 4096 Aug 11 16:21 .github 16:24:31 -rw-rw-r-- 1 jenkins jenkins 176 Aug 11 16:21 .gitignore 16:24:31 -rw-rw-r-- 1 jenkins jenkins 3104 Aug 11 16:21 Attribution.txt 16:24:31 -rw-rw-r-- 1 jenkins jenkins 7556 Aug 11 16:21 CHANGES 16:24:31 -rw-rw-r-- 1 jenkins jenkins 108574 Aug 11 16:21 Doxyfile 16:24:31 -rw-rw-r-- 1 jenkins jenkins 784 Aug 11 16:21 Jenkinsfile 16:24:31 -rw-rw-r-- 1 jenkins jenkins 10174 Aug 11 16:21 LICENSE 16:24:31 -rw-rw-r-- 1 jenkins jenkins 444 Aug 11 16:21 Makefile 16:24:31 -rw-rw-r-- 1 jenkins jenkins 4086 Aug 11 16:21 README.md 16:24:31 -rw-rw-r-- 1 jenkins jenkins 7090 Aug 11 16:21 README.v2.md 16:24:31 -rw-rw-r-- 1 jenkins jenkins 5 Aug 11 16:17 VERSION 16:24:31 drwxrwxr-x 2 jenkins jenkins 4096 Aug 11 16:21 docs 16:24:31 drwxrwxr-x 4 jenkins jenkins 4096 Aug 11 16:21 include 16:24:31 drwxrwxr-x 2 jenkins jenkins 4096 Aug 11 16:21 scripts 16:24:31 drwxrwxr-x 4 jenkins jenkins 4096 Aug 11 16:21 src [Pipeline] isUnix [Pipeline] sh 16:24:31 + 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=2bf2d807499ee9959cce0906e713c0e99fbf5fcd --label arch=arm64 --label version=0.0.0 . 16:24:32 Sending build context to Docker daemon 2.635MB 16:24:32 Step 1/17 : ARG BASE=alpine:3.12 16:24:32 Step 2/17 : FROM ${BASE} 16:24:32 ---> 0567a449c089 16:24:32 Step 3/17 : LABEL maintainer="IOTech " 16:24:32 ---> Running in d2aead5a697b 16:24:33 Removing intermediate container d2aead5a697b 16:24:33 ---> 60ca5bd221d5 16:24:33 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 16:24:33 ---> Running in 5d8e454bc748 16:24:34 --2021-08-11 16:24:34-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub 16:24:34 Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.170.66.44, 54.195.244.87, 54.229.110.245 16:24:34 Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.170.66.44|:443... connected. 16:24:35 HTTP request sent, awaiting response... 200 OK 16:24:35 Length: 451 [application/octet-stream] 16:24:35 Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 16:24:35  16:24:35 0K  100% 18.2M=0s 16:24:35 16:24:35 2021-08-11 16:24:34 (18.2 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] 16:24:35 16:24:36 Removing intermediate container 5d8e454bc748 16:24:36 ---> fe5ac28dbaaa 16:24:36 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 16:24:36 ---> Running in 8cfbbee5fea1 16:24:38 Removing intermediate container 8cfbbee5fea1 16:24:38 ---> 491bac0f4235 16:24:38 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 16:24:38 ---> Running in f313cbd4555e 16:24:39 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 16:24:40 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 16:24:40 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 16:24:41 (1/16) Installing ncurses-dev (6.2_p20200523-r0) 16:24:41 (2/16) Installing libblkid (2.35.2-r0) 16:24:41 (3/16) Installing blkid (2.35.2-r0) 16:24:42 (4/16) Installing libcap-ng (0.7.10-r1) 16:24:42 (5/16) Installing setpriv (2.35.2-r0) 16:24:42 (6/16) Installing libmount (2.35.2-r0) 16:24:42 (7/16) Installing libsmartcols (2.35.2-r0) 16:24:42 (8/16) Installing findmnt (2.35.2-r0) 16:24:42 (9/16) Installing mcookie (2.35.2-r0) 16:24:42 (10/16) Installing hexdump (2.35.2-r0) 16:24:42 (11/16) Installing lsblk (2.35.2-r0) 16:24:42 (12/16) Installing libfdisk (2.35.2-r0) 16:24:42 (13/16) Installing sfdisk (2.35.2-r0) 16:24:42 (14/16) Installing cfdisk (2.35.2-r0) 16:24:42 (15/16) Installing util-linux (2.35.2-r0) 16:24:43 (16/16) Installing util-linux-dev (2.35.2-r0) 16:24:43 Executing busybox-1.31.1-r20.trigger 16:24:43 OK: 276 MiB in 98 packages 16:24:45 Removing intermediate container f313cbd4555e 16:24:45 ---> 030b43bbc029 16:24:45 Step 7/17 : COPY VERSION /edgex-c-sdk/ 16:24:46 ---> 5a527d49f4ac 16:24:46 Step 8/17 : COPY src /edgex-c-sdk/src/ 16:24:47 ---> 6bd0c94e77fd 16:24:47 Step 9/17 : COPY include /edgex-c-sdk/include/ 16:24:47 ---> 297360d5e735 16:24:47 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 16:24:48 ---> 7006585895fa 16:24:48 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 16:24:49 ---> f8b5bf3793b2 16:24:49 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 16:24:50 ---> b6baa93bf275 16:24:50 Step 13/17 : WORKDIR /edgex-c-sdk 16:24:50 ---> Running in eb7b2792df64 16:24:51 Removing intermediate container eb7b2792df64 16:24:51 ---> 51f129fc1453 16:24:51 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 16:24:51 ---> Running in 4ddcac9ebe90 16:24:52 Removing intermediate container 4ddcac9ebe90 16:24:52 ---> 722dbf6575be 16:24:52 Step 15/17 : LABEL arch=arm64 16:24:52 ---> Running in 028edf2a275c 16:24:52 Removing intermediate container 028edf2a275c 16:24:52 ---> 71486727f5d7 16:24:52 Step 16/17 : LABEL git_sha=2bf2d807499ee9959cce0906e713c0e99fbf5fcd 16:24:53 ---> Running in 4c04239be378 16:24:53 Removing intermediate container 4c04239be378 16:24:53 ---> e056f7d08d64 16:24:53 Step 17/17 : LABEL version=0.0.0 16:24:53 ---> Running in 421b78d0e2ca 16:24:54 Removing intermediate container 421b78d0e2ca 16:24:54 ---> ad3023e91e30 16:24:54 [Warning] One or more build-args [ARCH MAKE] were not consumed 16:24:54 Successfully built ad3023e91e30 16:24:54 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 16:24:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:24:55 16:24:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 16:24:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:24:56 arm64: Pulling from edgex-lftools-log-publisher 16:24:56 448f6bf000e3: Pulling fs layer 16:24:56 f757da607395: Pulling fs layer 16:24:56 05883995daec: Pulling fs layer 16:24:56 8603b9c90790: Pulling fs layer 16:24:56 1560dd03e051: Pulling fs layer 16:24:56 27f5ce0e4adf: Pulling fs layer 16:24:56 c2d8d7efcc4b: Pulling fs layer 16:24:56 1560dd03e051: Waiting 16:24:56 27f5ce0e4adf: Waiting 16:24:56 8603b9c90790: Waiting 16:24:56 c2d8d7efcc4b: Waiting 16:24:56 f757da607395: Verifying Checksum 16:24:56 f757da607395: Download complete 16:24:56 8603b9c90790: Verifying Checksum 16:24:56 8603b9c90790: Download complete 16:24:56 1560dd03e051: Verifying Checksum 16:24:56 1560dd03e051: Download complete 16:24:56 27f5ce0e4adf: Download complete 16:24:56 05883995daec: Verifying Checksum 16:24:56 05883995daec: Download complete 16:24:57 448f6bf000e3: Verifying Checksum 16:24:57 448f6bf000e3: Download complete 16:25:01 c2d8d7efcc4b: Verifying Checksum 16:25:01 c2d8d7efcc4b: Download complete 16:25:02 448f6bf000e3: Pull complete 16:25:02 f757da607395: Pull complete 16:25:04 05883995daec: Pull complete 16:25:04 8603b9c90790: Pull complete 16:25:05 1560dd03e051: Pull complete 16:25:05 27f5ce0e4adf: Pull complete 16:25:21 c2d8d7efcc4b: Pull complete 16:25:21 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 16:25:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:25:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 16:25:21 prd-ubuntu18.04-docker-arm64-4c-16g-355 does not seem to be running inside a container 16:25:21 $ 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/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 16:25:25 $ docker top da9c193ae2bc3a2a02c0ab91b04141ba3ae117403d122bb64bc40b021f15268b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:25:26 ---> job-cost.sh 16:25:26 lf-activate-venv: SKIPPING 16:25:26 INFO: No Stack... 16:25:27 INFO: Retrieving Pricing Info for: v2-standard-4 16:25:27 INFO: Archiving Costs [Pipeline] sh 16:25:28 + cut -d, -f6 16:25:28 + cat /w/workspace/device-sdk-c/2/archives/cost.csv [Pipeline] lock 16:25:28 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-363-2-stack-cost] 16:25:28 Resource [jenkins-edgexfoundry-device-sdk-c-PR-363-2-stack-cost] did not exist. Created. 16:25:28 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-363-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:25:29 /w/workspace/device-sdk-c/2@tmp/durable-e9a51897/script.sh: 1: /w/workspace/device-sdk-c/2@tmp/durable-e9a51897/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 16:25:29 + echo total: 0.18000000715255737 [Pipeline] stash 16:25:30 Warning: overwriting stash ‘stack-cost’ 16:25:30 Stashed 1 file(s) [Pipeline] } 16:25:30 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-363-2-stack-cost] [Pipeline] // lock [Pipeline] } 16:25:30 $ docker stop --time=1 da9c193ae2bc3a2a02c0ab91b04141ba3ae117403d122bb64bc40b021f15268b 16:25:32 $ docker rm -f da9c193ae2bc3a2a02c0ab91b04141ba3ae117403d122bb64bc40b021f15268b [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 16:25:33 + '[' -d /w/workspace/edgexfoundry_device-sdk-c_PR-363/archives ']' [Pipeline] libraryResource [Pipeline] sh 16:25:33 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:25:34 ---> package-listing.sh 16:25:34 ++ facter osfamily 16:25:34 ++ tr '[:upper:]' '[:lower:]' 16:25:34 + OS_FAMILY=redhat 16:25:34 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-363 16:25:34 + START_PACKAGES=/tmp/packages_start.txt 16:25:34 + END_PACKAGES=/tmp/packages_end.txt 16:25:34 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:25:34 + PACKAGES=/tmp/packages_start.txt 16:25:34 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-363 ']' 16:25:34 + PACKAGES=/tmp/packages_end.txt 16:25:34 + case "${OS_FAMILY}" in 16:25:34 + sort 16:25:34 + rpm -qa 16:25:35 + '[' -f /tmp/packages_start.txt ']' 16:25:35 + '[' -f /tmp/packages_end.txt ']' 16:25:35 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:25:35 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-363 ']' 16:25:35 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-363/archives/ 16:25:35 + 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 16:25:35 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 16:25:35 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 16:25:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:25:36 16:25:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 16:25:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:25:36 latest: Pulling from edgex-lftools-log-publisher 16:25:36 b4d181a07f80: Pulling fs layer 16:25:36 a1111a8f2ec3: Pulling fs layer 16:25:36 ed53099fbce6: Pulling fs layer 16:25:36 dc539afda2c1: Pulling fs layer 16:25:36 77bc0d833cb6: Pulling fs layer 16:25:36 9065ff56babe: Pulling fs layer 16:25:36 d287ab97295c: Pulling fs layer 16:25:36 dc539afda2c1: Waiting 16:25:36 77bc0d833cb6: Waiting 16:25:36 9065ff56babe: Waiting 16:25:36 d287ab97295c: Waiting 16:25:36 a1111a8f2ec3: Verifying Checksum 16:25:36 a1111a8f2ec3: Download complete 16:25:36 dc539afda2c1: Verifying Checksum 16:25:36 dc539afda2c1: Download complete 16:25:37 77bc0d833cb6: Verifying Checksum 16:25:37 77bc0d833cb6: Download complete 16:25:37 9065ff56babe: Verifying Checksum 16:25:37 9065ff56babe: Download complete 16:25:37 ed53099fbce6: Verifying Checksum 16:25:37 ed53099fbce6: Download complete 16:25:38 b4d181a07f80: Verifying Checksum 16:25:38 b4d181a07f80: Download complete 16:25:39 b4d181a07f80: Pull complete 16:25:39 a1111a8f2ec3: Pull complete 16:25:40 ed53099fbce6: Pull complete 16:25:40 dc539afda2c1: Pull complete 16:25:40 77bc0d833cb6: Pull complete 16:25:40 9065ff56babe: Pull complete 16:25:41 d287ab97295c: Verifying Checksum 16:25:41 d287ab97295c: Download complete 16:25:45 d287ab97295c: Pull complete 16:25:45 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 16:25:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:25:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 16:25:46 prd-centos7-docker-4c-2g-353 does not seem to be running inside a container 16:25:46 $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:25:48 $ docker top bcdfa6a5aedf7de51abe8bac3d77e8678e92e13e4a473977a250cf9b7137de8d -eo pid,comm [Pipeline] { [Pipeline] sh 16:25:48 + touch /tmp/pre-build-complete [Pipeline] sh 16:25:49 + mkdir -p /var/log/sysstat [Pipeline] sh 16:25:49 + ls /var/log/sa-host 16:25:49 + sadf -c /var/log/sa-host/sa05 16:25:49 file_magic: OK 16:25:49 HZ: Using current value: 100 16:25:49 file_header: OK 16:25:49 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 16:25:49 Statistics: 16:25:49 Hnuu...uuuununununu...Hnuu...uuuununununu... 16:25:49 File successfully converted to sysstat format version 12.0.3 16:25:49 + sadf -c /var/log/sa-host/sa11 16:25:49 file_magic: OK 16:25:49 HZ: Using current value: 100 16:25:49 file_header: OK 16:25:49 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 16:25:49 Statistics: 16:25:49 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 16:25:49 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:25:49 provisioning config files... 16:25:49 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-363@tmp/config120133496166534872tmp [Pipeline] { [Pipeline] echo 16:25:49 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:25:49 ---> create-netrc.sh [Pipeline] } 16:25:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:25:50 ---> python-tools-install.sh [Pipeline] echo 16:25:50 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:25:50 ---> sudo-logs.sh 16:25:50 Archiving 'sudo' log.. 16:25:50 sudo: unable to resolve host prd-centos7-docker-4c-2g-353.vexxhost.local: Name or service not known 16:25:50 sudo: unable to resolve host prd-centos7-docker-4c-2g-353.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo 16:25:50 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:25:51 ---> job-cost.sh 16:25:51 lf-activate-venv: SKIPPING 16:25:51 DEBUG: total: 0.18000000715255737 16:25:51 INFO: Retrieving Stack Cost... 16:25:52 INFO: Retrieving Pricing Info for: v3-standard-2 16:25:52 INFO: Archiving Costs [Pipeline] echo 16:25:52 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:25:52 ---> logs-deploy.sh 16:25:52 lf-activate-venv: SKIPPING 16:25:52 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-363/2 16:25:52 INFO: archiving workspace using pattern(s): 16:25:53 Archives upload complete. 16:25:53 INFO: archiving logs to Nexus 16:25:54 ---> uname -a: 16:25:54 Linux prd-centos7-docker-4c-2g-353.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 16:25:54 16:25:54 16:25:54 ---> lscpu: 16:25:54 Architecture: x86_64 16:25:54 CPU op-mode(s): 32-bit, 64-bit 16:25:54 Byte Order: Little Endian 16:25:54 Address sizes: 40 bits physical, 48 bits virtual 16:25:54 CPU(s): 2 16:25:54 On-line CPU(s) list: 0,1 16:25:54 Thread(s) per core: 1 16:25:54 Core(s) per socket: 1 16:25:54 Socket(s): 2 16:25:54 NUMA node(s): 1 16:25:54 Vendor ID: AuthenticAMD 16:25:54 CPU family: 23 16:25:54 Model: 49 16:25:54 Model name: AMD EPYC-Rome Processor 16:25:54 Stepping: 0 16:25:54 CPU MHz: 2800.000 16:25:54 BogoMIPS: 5600.00 16:25:54 Virtualization: AMD-V 16:25:54 Hypervisor vendor: KVM 16:25:54 Virtualization type: full 16:25:54 L1d cache: 32K 16:25:54 L1i cache: 32K 16:25:54 L2 cache: 512K 16:25:54 L3 cache: 16384K 16:25:54 NUMA node0 CPU(s): 0,1 16:25:54 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 16:25:54 16:25:54 16:25:54 ---> nproc: 16:25:54 2 16:25:54 16:25:54 16:25:54 ---> df -h: 16:25:54 Filesystem Size Used Avail Use% Mounted on 16:25:54 overlay 40G 7.7G 33G 20% / 16:25:54 tmpfs 64M 0 64M 0% /dev 16:25:54 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 16:25:54 shm 64M 0 64M 0% /dev/shm 16:25:54 /dev/vda1 40G 7.7G 33G 20% /facter-os 16:25:54 16:25:54 16:25:54 ---> sar -b -r -n DEV: 16:25:54 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) 16:25:54 16:25:54 16:16:46 LINUX RESTART (2 CPU) 16:25:54 16:25:54 16:17:01 tps rtps wtps bread/s bwrtn/s 16:25:54 16:18:02 247.91 115.95 131.96 11105.84 39823.32 16:25:54 16:19:01 1.56 0.00 1.56 0.00 32.66 16:25:54 16:20:01 0.30 0.00 0.30 0.00 5.01 16:25:54 16:21:01 0.23 0.00 0.23 0.00 3.51 16:25:54 16:22:01 0.27 0.00 0.27 0.00 3.17 16:25:54 16:23:01 0.22 0.00 0.22 0.00 3.18 16:25:54 16:24:02 0.28 0.00 0.28 0.00 3.53 16:25:54 16:25:01 0.30 0.00 0.30 0.00 3.56 16:25:54 Average: 31.53 14.56 16.97 1394.73 5008.01 16:25:54 16:25:54 16:17:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 16:25:54 16:18:02 5462108 0 807708 10.09 2620 1736504 1300468 14.36 580996 1567148 124 16:25:54 16:19:01 5474840 0 794968 9.93 2620 1736512 1223724 13.51 570176 1567112 20 16:25:54 16:20:01 5472052 0 797756 9.96 2620 1736512 1223808 13.51 574200 1565360 16 16:25:54 16:21:01 5474860 0 794940 9.93 2620 1736520 1206248 13.32 578904 1558528 8 16:25:54 16:22:01 5472740 0 797056 9.95 2620 1736524 1206392 13.32 574424 1565120 8 16:25:54 16:23:01 5469800 0 799992 9.99 2620 1736528 1206404 13.32 577152 1565124 8 16:25:54 16:24:02 5471280 0 798504 9.97 2620 1736536 1206248 13.32 576260 1565120 8 16:25:54 16:25:01 5471004 0 798776 9.97 2620 1736540 1206248 13.32 576432 1565120 20 16:25:54 Average: 5471086 0 798712 9.97 2620 1736522 1222442 13.50 576068 1564829 26 16:25:54 16:25:54 16:17:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 16:25:54 16:18:02 eth0 345.81 218.25 1029.56 70.94 0.00 0.00 0.00 0.00 16:25:54 16:18:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:25:54 16:18:02 docker0 8.31 6.84 0.99 25.69 0.00 0.00 0.00 0.00 16:25:54 16:19:01 eth0 0.58 0.25 0.52 0.02 0.00 0.00 0.00 0.00 16:25:54 16:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:25:54 16:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:25:54 16:20:01 eth0 0.97 0.28 0.30 0.19 0.00 0.00 0.00 0.00 16:25:54 16:20:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:25:54 16:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:25:54 16:21:01 eth0 0.78 0.08 0.08 0.01 0.00 0.00 0.00 0.00 16:25:54 16:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:25:54 16:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:25:54 16:22:01 eth0 0.98 0.62 0.54 0.40 0.00 0.00 0.00 0.00 16:25:54 16:22:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:25:54 16:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:25:54 16:23:01 eth0 0.40 0.23 0.15 0.07 0.00 0.00 0.00 0.00 16:25:54 16:23:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:25:54 16:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:25:54 16:24:02 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 16:25:54 16:24:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:25:54 16:24:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:25:54 16:25:01 eth0 0.12 0.08 0.01 0.01 0.00 0.00 0.00 0.00 16:25:54 16:25:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:25:54 16:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:25:54 Average: eth0 43.92 27.61 129.50 9.00 0.00 0.00 0.00 0.00 16:25:54 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:25:54 Average: docker0 1.04 0.86 0.12 3.23 0.00 0.00 0.00 0.00 16:25:54 16:25:54 16:25:54 ---> sar -P ALL: 16:25:54 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) 16:25:54 16:25:54 16:16:46 LINUX RESTART (2 CPU) 16:25:54 16:25:54 16:17:01 CPU %user %nice %system %iowait %steal %idle 16:25:54 16:18:02 all 21.72 0.00 9.34 5.80 0.08 63.06 16:25:54 16:18:02 0 22.41 0.00 9.72 6.91 0.09 60.87 16:25:54 16:18:02 1 21.03 0.00 8.96 4.69 0.07 65.25 16:25:54 16:19:01 all 0.22 0.00 0.08 0.00 0.02 99.69 16:25:54 16:19:01 0 0.37 0.00 0.07 0.00 0.02 99.54 16:25:54 16:19:01 1 0.07 0.00 0.08 0.00 0.02 99.83 16:25:54 16:20:01 all 0.23 0.00 0.04 0.00 0.02 99.72 16:25:54 16:20:01 0 0.37 0.00 0.05 0.00 0.03 99.55 16:25:54 16:20:01 1 0.08 0.00 0.03 0.00 0.00 99.88 16:25:54 16:21:01 all 0.18 0.00 0.06 0.00 0.01 99.76 16:25:54 16:21:01 0 0.32 0.00 0.05 0.00 0.00 99.63 16:25:54 16:21:01 1 0.03 0.00 0.07 0.00 0.02 99.88 16:25:54 16:22:01 all 0.21 0.00 0.03 0.00 0.02 99.74 16:25:54 16:22:01 0 0.33 0.00 0.02 0.00 0.02 99.63 16:25:54 16:22:01 1 0.08 0.00 0.05 0.00 0.02 99.85 16:25:54 16:23:01 all 0.22 0.00 0.03 0.00 0.02 99.73 16:25:54 16:23:01 0 0.40 0.00 0.03 0.00 0.02 99.55 16:25:54 16:23:01 1 0.03 0.00 0.03 0.00 0.02 99.92 16:25:54 16:24:02 all 0.24 0.00 0.03 0.00 0.01 99.72 16:25:54 16:24:02 0 0.43 0.00 0.03 0.00 0.02 99.52 16:25:54 16:24:02 1 0.05 0.00 0.02 0.00 0.00 99.93 16:25:54 16:25:01 all 0.20 0.00 0.03 0.00 0.02 99.76 16:25:54 16:25:01 0 0.36 0.00 0.02 0.00 0.02 99.61 16:25:54 16:25:01 1 0.03 0.00 0.03 0.00 0.02 99.92 16:25:54 Average: all 2.81 0.00 1.16 0.70 0.02 95.31 16:25:54 Average: 0 3.03 0.00 1.21 0.83 0.03 94.90 16:25:54 Average: 1 2.58 0.00 1.12 0.56 0.02 95.72 16:25:54 16:25:54 16:25:54