Pull request #352 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of iain-anderson for edgexfoundry/device-sdk-c Obtained Jenkinsfile from e0a835ee43393a6c9f2deee4a0633e5d1334e7f4+e4f1d4fe6d671b9129336b96db7cc10a253047cb (e3b8575bb0c84a5fc32a7ef6a837f3b7969ff83d) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh360238090766998648.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6a41506d72e8e131afc862d141935157bee59f41 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh3271477681051483772.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 6a41506d72e8e131afc862d141935157bee59f41 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-352/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-352/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6722642728084564730.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-352/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3311116381015661131.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6a41506d72e8e131afc862d141935157bee59f41 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a41506d72e8e131afc862d141935157bee59f41 # timeout=10 Commit message: "Merge pull request #340 from ernestojeda/enable-snap-stage" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4958367981772249727.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-352/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-352/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4601485459902387564.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd (master) > git config core.sparsecheckout # timeout=10 > git checkout -f d1a99147b03c6cd90561f8e70b7af78166bcd4cd # timeout=10 Commit message: "Feat: Add initial Java pipeline functionality" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-191 in /w/workspace/edgexfoundry_device-sdk-c_PR-352 [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-352 # 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 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-352@tmp/jenkins-gitclient-ssh8314295062728345643.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit e4f1d4fe6d671b9129336b96db7cc10a253047cb into PR head commit e0a835ee43393a6c9f2deee4a0633e5d1334e7f4 Merge succeeded, producing e0a835ee43393a6c9f2deee4a0633e5d1334e7f4 Checking out Revision e0a835ee43393a6c9f2deee4a0633e5d1334e7f4 (PR-352) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-352@tmp/jenkins-gitclient-ssh2944858638442411036.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/352/head:refs/remotes/origin/PR-352 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e0a835ee43393a6c9f2deee4a0633e5d1334e7f4 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-352@tmp/jenkins-gitclient-ssh5230572565624094553.key > git merge e4f1d4fe6d671b9129336b96db7cc10a253047cb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e0a835ee43393a6c9f2deee4a0633e5d1334e7f4 # timeout=10 Commit message: "fix: allow for non-string attributes" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:18:49 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:18:50 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:18:50 ========================================================= 13:18:50 EdgeX Global Pipelines Version Info 13:18:50 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:18:51 ------------------- 13:18:51 stable info: 13:18:51 ------------------- 13:18:51 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:18:51 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 13:18:51 Message: update stable to v1.0.195 13:18:52 ------------------- 13:18:52 experimental info: 13:18:52 ------------------- 13:18:52 Commited By: **** collab-it+edgex@linuxfoundation.org 13:18:52 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 13:18:52 Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:18:52 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 13:18:52 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 13:18:52 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:18:52 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:18:52 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:18:52 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo 13:18:52 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 13:18:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 13:18:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:18:53 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 13:18:53 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:18:53 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:18:53 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:18:53 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 13:18:53 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:18:53 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:18:53 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:18:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-352 [Pipeline] echo 13:18:53 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-352 [Pipeline] echo 13:18:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-352 [Pipeline] echo 13:18:53 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e0a835ee43393a6c9f2deee4a0633e5d1334e7f4 [Pipeline] echo 13:18:53 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e0a835e [Pipeline] echo 13:18:53 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:18:54 provisioning config files... 13:18:54 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-352@tmp/config7653752207137611838tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:18:54 ---> docker-login.sh 13:18:54 nexus3.edgexfoundry.org:10001 13:18:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:18:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:18:54 Configure a credential helper to remove this warning. See 13:18:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:18:54 13:18:54 Login Succeeded 13:18:54 nexus3.edgexfoundry.org:10002 13:18:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:18:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:18:54 Configure a credential helper to remove this warning. See 13:18:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:18:54 13:18:54 Login Succeeded 13:18:54 nexus3.edgexfoundry.org:10003 13:18:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:18:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:18:55 Configure a credential helper to remove this warning. See 13:18:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:18:55 13:18:55 Login Succeeded 13:18:55 nexus3.edgexfoundry.org:10004 13:18:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:18:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:18:55 Configure a credential helper to remove this warning. See 13:18:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:18:55 13:18:55 Login Succeeded 13:18:55 docker.io 13:18:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:18:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:18:55 Configure a credential helper to remove this warning. See 13:18:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:18:55 13:18:55 Login Succeeded 13:18:55 ---> docker-login.sh ends [Pipeline] } 13:18:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 13:18:57 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:18:57 13:18:57 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 13:18:57 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:18:57 latest: Pulling from edgex-devops/git-semver 13:18:57 31603596830f: Pulling fs layer 13:18:57 54011a49482f: Pulling fs layer 13:18:57 a6820b24f6d8: Pulling fs layer 13:18:57 f581987b2513: Pulling fs layer 13:18:57 f581987b2513: Waiting 13:18:57 54011a49482f: Verifying Checksum 13:18:57 54011a49482f: Download complete 13:18:57 31603596830f: Verifying Checksum 13:18:57 31603596830f: Download complete 13:18:57 f581987b2513: Verifying Checksum 13:18:57 f581987b2513: Download complete 13:18:57 a6820b24f6d8: Verifying Checksum 13:18:57 a6820b24f6d8: Download complete 13:18:57 31603596830f: Pull complete 13:18:58 54011a49482f: Pull complete 13:18:58 a6820b24f6d8: Pull complete 13:18:59 f581987b2513: Pull complete 13:18:59 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 13:18:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:18:59 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 13:18:59 prd-centos7-docker-4c-2g-191 does not seem to be running inside a container 13:18:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-352 -v /w/workspace/edgexfoundry_device-sdk-c_PR-352:/w/workspace/edgexfoundry_device-sdk-c_PR-352:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-352@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-352@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 13:19:00 $ docker top cac46a7200cf4812cdba0952d8b21d9df1630e7096bc9b95d479dce084647686 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:19:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:19:00 [ssh-agent] Looking for ssh-agent implementation... 13:19:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:19:00 $ docker exec cac46a7200cf4812cdba0952d8b21d9df1630e7096bc9b95d479dce084647686 ssh-agent 13:19:00 SSH_AUTH_SOCK=/tmp/ssh-5LxfwhXk38lL/agent.14 13:19:00 SSH_AGENT_PID=21 13:19:00 Running ssh-add (command line suppressed) 13:19:01 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-352@tmp/private_key_851650180152842401.key (/w/workspace/edgexfoundry_device-sdk-c_PR-352@tmp/private_key_851650180152842401.key) 13:19:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:19:01 + git tag --points-at HEAD [Pipeline] } 13:19:01 $ docker exec --env ******** --env ******** cac46a7200cf4812cdba0952d8b21d9df1630e7096bc9b95d479dce084647686 ssh-agent -k 13:19:01 unset SSH_AUTH_SOCK; 13:19:01 unset SSH_AGENT_PID; 13:19:01 echo Agent pid 21 killed; 13:19:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:19:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:19:01 [ssh-agent] Looking for ssh-agent implementation... 13:19:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:19:01 $ docker exec cac46a7200cf4812cdba0952d8b21d9df1630e7096bc9b95d479dce084647686 ssh-agent 13:19:01 SSH_AUTH_SOCK=/tmp/ssh-tYAJAjQJ90qD/agent.56 13:19:01 SSH_AGENT_PID=63 13:19:01 Running ssh-add (command line suppressed) 13:19:02 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-352@tmp/private_key_500586764444246721.key (/w/workspace/edgexfoundry_device-sdk-c_PR-352@tmp/private_key_500586764444246721.key) 13:19:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:19:02 + git semver init 13:19:02 # -> Open(): unable to determine branch for HEAD 13:19:02 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-352/.git 13:19:02 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-352 13:19:02 # $SEMVER_REMOTE_NAME = origin 13:19:02 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 13:19:02 # $SEMVER_USER_NAME = edgex-jenkins 13:19:02 # $SEMVER_BRANCH = PR-352 13:19:02 # $SEMVER_TEMP = /tmp/semver-119102248 13:19:02 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 13:19:03 # '/tmp/semver-119102248' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-352/.semver' 13:19:03 # -> Force: false 13:19:03 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-352/.semver [Pipeline] } 13:19:03 $ docker exec --env ******** --env ******** cac46a7200cf4812cdba0952d8b21d9df1630e7096bc9b95d479dce084647686 ssh-agent -k 13:19:03 unset SSH_AUTH_SOCK; 13:19:03 unset SSH_AGENT_PID; 13:19:03 echo Agent pid 63 killed; 13:19:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:19:03 + git semver [Pipeline] } 13:19:04 $ docker stop --time=1 cac46a7200cf4812cdba0952d8b21d9df1630e7096bc9b95d479dce084647686 13:19:05 $ docker rm -f cac46a7200cf4812cdba0952d8b21d9df1630e7096bc9b95d479dce084647686 [Pipeline] // withDockerContainer [Pipeline] sh 13:19:05 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:19:06 Stashed 1 file(s) [Pipeline] echo 13:19:06 [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 13:19:21 Still waiting to schedule task 13:19:21 Waiting for next available executor on ‘centos7-docker-4c-2g’ 13:19:21 Still waiting to schedule task 13:19:21 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-189’ 13:23:00 Running on prd-ubuntu18.04-docker-arm64-4c-16g-193 in /w/workspace/edgexfoundry_device-sdk-c_PR-352 [Pipeline] { [Pipeline] ws 13:23:00 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 13:23:00 Selected Git installation does not exist. Using Default 13:23:00 The recommended git tool is: NONE 13:23:06 using credential edgex-jenkins-ssh 13:23:06 Cloning the remote Git repository 13:23:06 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 13:23:06 > git init /w/workspace/device-sdk-c/1 # timeout=10 13:23:06 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 13:23:06 > git --version # timeout=10 13:23:06 > git --version # 'git version 2.17.1' 13:23:06 using GIT_SSH to set credentials SSH Credentials for GitHub 13:23:06 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:23:09 Merging remotes/origin/master commit e4f1d4fe6d671b9129336b96db7cc10a253047cb into PR head commit e0a835ee43393a6c9f2deee4a0633e5d1334e7f4 13:23:08 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 13:23:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:23:08 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 13:23:08 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 13:23:08 using GIT_SSH to set credentials SSH Credentials for GitHub 13:23:08 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/352/head:refs/remotes/origin/PR-352 +refs/heads/master:refs/remotes/origin/master # timeout=10 13:23:09 > git config core.sparsecheckout # timeout=10 13:23:09 > git checkout -f e0a835ee43393a6c9f2deee4a0633e5d1334e7f4 # timeout=10 13:23:09 > git remote # timeout=10 13:23:09 > git config --get remote.origin.url # timeout=10 13:23:09 using GIT_SSH to set credentials SSH Credentials for GitHub 13:23:09 Merge succeeded, producing e0a835ee43393a6c9f2deee4a0633e5d1334e7f4 13:23:09 Checking out Revision e0a835ee43393a6c9f2deee4a0633e5d1334e7f4 (PR-352) 13:23:09 > git merge e4f1d4fe6d671b9129336b96db7cc10a253047cb # timeout=10 13:23:09 > git rev-parse HEAD^{commit} # timeout=10 13:23:09 > git config core.sparsecheckout # timeout=10 13:23:09 > git checkout -f e0a835ee43393a6c9f2deee4a0633e5d1334e7f4 # timeout=10 13:23:13 Commit message: "fix: allow for non-string attributes" 13:23:13 > git --version # timeout=10 13:23:13 > git --version # 'git version 2.17.1' 13:23:13 fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:23:15 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 13:23:16 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 13:23:16 + + true 13:23:16 sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:23:34 provisioning config files... 13:23:34 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config5533038216077126379tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:23:35 ---> docker-login.sh 13:23:35 nexus3.edgexfoundry.org:10001 13:23:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:23:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:23:36 Configure a credential helper to remove this warning. See 13:23:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:23:36 13:23:36 Login Succeeded 13:23:36 nexus3.edgexfoundry.org:10002 13:23:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:23:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:23:37 Configure a credential helper to remove this warning. See 13:23:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:23:37 13:23:37 Login Succeeded 13:23:37 nexus3.edgexfoundry.org:10003 13:23:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:23:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:23:37 Configure a credential helper to remove this warning. See 13:23:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:23:37 13:23:37 Login Succeeded 13:23:37 nexus3.edgexfoundry.org:10004 13:23:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:23:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:23:38 Configure a credential helper to remove this warning. See 13:23:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:23:38 13:23:38 Login Succeeded 13:23:38 docker.io 13:23:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:23:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:23:39 Configure a credential helper to remove this warning. See 13:23:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:23:39 13:23:39 Login Succeeded 13:23:39 ---> docker-login.sh ends [Pipeline] } 13:23:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:23:39 ========================================================= 13:23:39 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 13:23:39 ========================================================= [Pipeline] isUnix [Pipeline] sh 13:23:40 + 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 . 13:23:40 Sending build context to Docker daemon 2.621MB 13:23:40 Step 1/25 : ARG BASE=alpine:3.12 13:23:40 Step 2/25 : FROM ${BASE} as builder 13:23:41 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 13:23:41 0362ad1dd800: Pulling fs layer 13:23:41 f2cdb1532d8b: Pulling fs layer 13:23:41 37ed683be191: Pulling fs layer 13:23:41 f2cdb1532d8b: Download complete 13:23:41 0362ad1dd800: Verifying Checksum 13:23:41 0362ad1dd800: Download complete 13:23:42 0362ad1dd800: Pull complete 13:23:42 f2cdb1532d8b: Pull complete 13:23:45 37ed683be191: Verifying Checksum 13:23:45 37ed683be191: Download complete 13:23:51 Running on prd-centos7-docker-4c-2g-192 in /w/workspace/edgexfoundry_device-sdk-c_PR-352 [Pipeline] { [Pipeline] ws 13:23:51 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 13:23:51 Selected Git installation does not exist. Using Default 13:23:51 The recommended git tool is: NONE 13:23:54 using credential edgex-jenkins-ssh 13:23:54 Cloning the remote Git repository 13:23:54 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 13:23:54 > git init /w/workspace/device-sdk-c/1 # timeout=10 13:23:54 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 13:23:54 > git --version # timeout=10 13:23:54 > git --version # 'git version 2.24.4' 13:23:54 using GIT_SSH to set credentials SSH Credentials for GitHub 13:23:54 [INFO] Currently running in a labeled security context 13:23:54 [INFO] Currently SELinux is 'enforcing' on the host 13:23:54 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh4602631686928178363.key 13:23:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:23:55 37ed683be191: Pull complete 13:23:55 Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f 13:23:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 13:23:55 ---> b23d30803547 13:23:55 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 13:23:55 ---> Running in 95602770fb44 13:23:55 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 13:23:55 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:23:55 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 13:23:55 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 13:23:55 using GIT_SSH to set credentials SSH Credentials for GitHub 13:23:55 [INFO] Currently running in a labeled security context 13:23:55 [INFO] Currently SELinux is 'enforcing' on the host 13:23:55 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh4025842338895649707.key 13:23:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/352/head:refs/remotes/origin/PR-352 +refs/heads/master:refs/remotes/origin/master # timeout=10 13:23:56 Merging remotes/origin/master commit e4f1d4fe6d671b9129336b96db7cc10a253047cb into PR head commit e0a835ee43393a6c9f2deee4a0633e5d1334e7f4 13:23:56 Merge succeeded, producing e0a835ee43393a6c9f2deee4a0633e5d1334e7f4 13:23:56 Checking out Revision e0a835ee43393a6c9f2deee4a0633e5d1334e7f4 (PR-352) 13:23:57 Connecting to iotech.jfrog.io (54.74.239.58:443) 13:23:57 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 13:23:57 13:23:56 > git config core.sparsecheckout # timeout=10 13:23:56 > git checkout -f e0a835ee43393a6c9f2deee4a0633e5d1334e7f4 # timeout=10 13:23:56 > git remote # timeout=10 13:23:56 > git config --get remote.origin.url # timeout=10 13:23:56 using GIT_SSH to set credentials SSH Credentials for GitHub 13:23:56 [INFO] Currently running in a labeled security context 13:23:56 [INFO] Currently SELinux is 'enforcing' on the host 13:23:56 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh3513851760860516241.key 13:23:56 > git merge e4f1d4fe6d671b9129336b96db7cc10a253047cb # timeout=10 13:23:56 > git rev-parse HEAD^{commit} # timeout=10 13:23:56 > git config core.sparsecheckout # timeout=10 13:23:56 > git checkout -f e0a835ee43393a6c9f2deee4a0633e5d1334e7f4 # timeout=10 13:23:58 Removing intermediate container 95602770fb44 13:23:58 ---> ee25ec5e8de2 13:23:58 Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 13:23:58 ---> Running in 20962aeb736d 13:24:00 Commit message: "fix: allow for non-string attributes" 13:24:00 > git --version # timeout=10 13:24:00 > git --version # 'git version 2.24.4' 13:24:00 fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:24:00 Removing intermediate container 20962aeb736d 13:24:00 ---> 1595d6fe11ed 13:24:00 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 13:24:01 ---> Running in 0fe0cb820c2d 13:24:02 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 13:24:02 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 13:24:02 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 13:24:02 + true 13:24:02 + sudo service docker restart 13:24:02 Redirecting to /bin/systemctl restart docker.service 13:24:03 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 13:24:04 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 13:24:05 (1/11) Installing hiredis (0.14.0-r0) 13:24:05 (2/11) Installing hiredis-dev (0.14.0-r0) 13:24:05 (3/11) Installing ncurses-dev (6.1_p20190105-r0) 13:24:05 (4/11) Installing paho-mqtt-c-dev (1.3.5-r0) 13:24:07 (5/11) Installing libuuid (2.33-r0) 13:24:07 (6/11) Installing libblkid (2.33-r0) 13:24:07 (7/11) Installing libfdisk (2.33-r0) 13:24:07 (8/11) Installing libmount (2.33-r0) 13:24:08 (9/11) Installing libsmartcols (2.33-r0) 13:24:08 (10/11) Installing util-linux-dev (2.33-r0) 13:24:09 (11/11) Installing wget (1.20.3-r0) 13:24:09 Executing busybox-1.29.3-r10.trigger 13:24:09 OK: 287 MiB in 86 packages 13:24:11 Removing intermediate container 0fe0cb820c2d 13:24:11 ---> 46a1df82a3a0 13:24:11 Step 6/25 : ENV CBOR_VERSION=0.5.0 13:24:11 ---> Running in 9936c63384c2 13:24:11 Removing intermediate container 9936c63384c2 13:24:11 ---> 8f20af22351e 13:24:11 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 13:24:11 ---> Running in dd2350e950f2 13:24:12 --2021-06-18 13:24:12-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 13:24:13 Resolving github.com... 140.82.114.3 13:24:13 Connecting to github.com|140.82.114.3|:443... connected. 13:24:13 HTTP request sent, awaiting response... 302 Found 13:24:13 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 13:24:13 --2021-06-18 13:24:13-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 13:24:13 Resolving codeload.github.com... 140.82.113.10 13:24:13 Connecting to codeload.github.com|140.82.113.10|:443... connected. 13:24:13 HTTP request sent, awaiting response... 200 OK 13:24:13 Length: unspecified [application/x-gzip] 13:24:13 Saving to: 'STDOUT' 13:24:13  13:24:13 0K .......... .......... .......... .......... .......... 1.59M 13:24:13 50K .......... .......... .......... .......... .......... 3.04M 13:24:13 100K .......... .......... .......... .......... .......... 12.3M 13:24:13 150K .......... .......... .......... .......... .......... 4.27M 13:24:13 200K .......... .......... .......... .......... .......... 8.71M 13:24:13 250K .......... .......... .......... .......... .......... 3.27M 13:24:13 300K .......... .......... .......... .......... .......... 4.99M 13:24:13 350K .......... .......... .......... .......... .......... 5.65M 13:24:13 400K .......... .......... .......... .......... .......... 3.19M 13:24:13 450K .......... .......... .......... .......... .......... 3.98M 13:24:13 500K .......... .......... .......... .......... .......... 11.0M 13:24:13 550K .......... .......... .......... .......... .......... 2.40M 13:24:13 600K .......... .......... .......... .......... .......... 863K 13:24:13 650K .......... .......... .......... .......... .......... 2.80M 13:24:13 700K .. 343K=0.2s 13:24:13 13:24:13 2021-06-18 13:24:13 (2.91 MB/s) - written to stdout [719348] 13:24:13 13:24:14 -- The C compiler identification is GNU 8.3.0 13:24:14 -- The CXX compiler identification is GNU 8.3.0 13:24:14 -- Check for working C compiler: /usr/bin/cc 13:24:14 -- Check for working C compiler: /usr/bin/cc -- works 13:24:14 -- Detecting C compiler ABI info 13:24:14 -- Detecting C compiler ABI info - done 13:24:14 -- Detecting C compile features 13:24:15 -- Detecting C compile features - done 13:24:15 -- Check for working CXX compiler: /usr/bin/c++ 13:24:15 -- Check for working CXX compiler: /usr/bin/c++ -- works 13:24:15 -- Detecting CXX compiler ABI info 13:24:15 -- Detecting CXX compiler ABI info - done 13:24:15 -- Detecting CXX compile features 13:24:17 -- Detecting CXX compile features - done 13:24:17 -- Looking for include file endian.h 13:24:17 -- Looking for include file endian.h - found 13:24:17 -- Check if the system is big endian 13:24:17 -- Searching 16 bit integer 13:24:17 -- Looking for sys/types.h 13:24:18 -- Looking for sys/types.h - found 13:24:18 -- Looking for stdint.h 13:24:18 -- Looking for stdint.h - found 13:24:18 -- Looking for stddef.h 13:24:18 -- Looking for stddef.h - found 13:24:18 -- Check size of unsigned short 13:24:18 -- Check size of unsigned short - done 13:24:18 -- Using unsigned short 13:24:18 -- Check if the system is big endian - little endian 13:24:18 -- Check size of size_t 13:24:19 -- Check size of size_t - done 13:24:19 CMake Warning at examples/CMakeLists.txt:16 (find_package): 13:24:19 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 13:24:19 asked CMake to find a package configuration file provided by "cJSON", but 13:24:19 CMake did not find one. 13:24:19 13:24:19 Could not find a package configuration file provided by "cJSON" with any of 13:24:19 the following names: 13:24:19 13:24:19 cJSONConfig.cmake 13:24:19 cjson-config.cmake 13:24:19 13:24:19 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 13:24:19 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 13:24:19 provides a separate development package or SDK, be sure it has been 13:24:19 installed. 13:24:19 13:24:19 13:24:19 -- Configuring done 13:24:19 -- Generating done 13:24:19 -- Build files have been written to: /tmp/cbor 13:24:19 Scanning dependencies of target cbor_shared 13:24:19 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 13:24:20 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 13:24:20 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 13:24:21 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 13:24:21 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 13:24:22 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 13:24:22 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 13:24:22 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 13:24:22 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 13:24:22 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 13:24:23 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 13:24:23 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 13:24:24 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 13:24:24 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 13:24:24 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:24:24 provisioning config files... 13:24:24 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config4018931765086970514tmp [Pipeline] { [Pipeline] libraryResource 13:24:24 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [Pipeline] sh 13:24:25 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 13:24:25 ---> docker-login.sh 13:24:25 nexus3.edgexfoundry.org:10001 13:24:25 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 13:24:25 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 13:24:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:24:26 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 13:24:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:24:26 Configure a credential helper to remove this warning. See 13:24:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:24:26 13:24:26 Login Succeeded 13:24:26 nexus3.edgexfoundry.org:10002 13:24:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:24:26 [ 40%] Linking C shared library libcbor.so 13:24:26 [ 40%] Built target cbor_shared 13:24:26 Scanning dependencies of target cbor 13:24:26 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 13:24:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:24:26 Configure a credential helper to remove this warning. See 13:24:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:24:26 13:24:26 Login Succeeded 13:24:26 nexus3.edgexfoundry.org:10003 13:24:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:24:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:24:26 Configure a credential helper to remove this warning. See 13:24:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:24:26 13:24:26 Login Succeeded 13:24:26 nexus3.edgexfoundry.org:10004 13:24:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:24:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:24:26 Configure a credential helper to remove this warning. See 13:24:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:24:26 13:24:26 Login Succeeded 13:24:26 docker.io 13:24:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:24:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:24:26 Configure a credential helper to remove this warning. See 13:24:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:24:26 13:24:26 Login Succeeded 13:24:26 ---> docker-login.sh ends [Pipeline] } 13:24:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:24:27 ========================================================= 13:24:27 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 13:24:27 ========================================================= [Pipeline] isUnix 13:24:27 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [Pipeline] sh 13:24:27 + 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 . 13:24:27 Sending build context to Docker daemon 2.622MB 13:24:27 Step 1/25 : ARG BASE=alpine:3.12 13:24:27 Step 2/25 : FROM ${BASE} as builder 13:24:27 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 13:24:27 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 13:24:28 latest: Pulling from edgex-devops/edgex-gcc-base 13:24:28 e7c96db7181b: Pulling fs layer 13:24:28 4c13bbce0fe7: Pulling fs layer 13:24:28 6059c847ac2f: Pulling fs layer 13:24:28 4c13bbce0fe7: Verifying Checksum 13:24:28 4c13bbce0fe7: Download complete 13:24:28 e7c96db7181b: Verifying Checksum 13:24:28 e7c96db7181b: Download complete 13:24:28 e7c96db7181b: Pull complete 13:24:28 4c13bbce0fe7: Pull complete 13:24:29 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 13:24:29 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 13:24:29 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 13:24:29 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 13:24:29 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 13:24:30 6059c847ac2f: Verifying Checksum 13:24:30 6059c847ac2f: Download complete 13:24:30 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 13:24:31 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 13:24:31 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 13:24:31 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 13:24:32 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 13:24:32 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 13:24:32 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 13:24:32 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 13:24:33 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 13:24:33 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 13:24:33 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 13:24:33 [ 80%] Linking C static library libcbor.a 13:24:33 [ 80%] Built target cbor 13:24:33 Scanning dependencies of target create_items 13:24:33 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 13:24:34 [ 84%] Linking C executable create_items 13:24:34 [ 84%] Built target create_items 13:24:34 Scanning dependencies of target readfile 13:24:34 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 13:24:34 [ 88%] Linking C executable readfile 13:24:34 [ 88%] Built target readfile 13:24:34 Scanning dependencies of target streaming_parser 13:24:34 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 13:24:34 [ 92%] Linking C executable streaming_parser 13:24:34 [ 92%] Built target streaming_parser 13:24:34 Scanning dependencies of target sort 13:24:35 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 13:24:35 [ 96%] Linking C executable sort 13:24:35 [ 96%] Built target sort 13:24:35 Scanning dependencies of target hello 13:24:35 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 13:24:35 [100%] Linking C executable hello 13:24:35 6059c847ac2f: Pull complete 13:24:35 Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e 13:24:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 13:24:35 ---> 5eabd8fd8ba2 13:24:35 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 13:24:35 [100%] Built target hello 13:24:35 Install the project... 13:24:35 -- Install configuration: "Release" 13:24:35 -- Installing: /usr/local/include/cbor/configuration.h 13:24:35 -- Installing: /usr/local/lib64/libcbor.a 13:24:35 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 13:24:35 -- Installing: /usr/local/lib64/libcbor.so.0 13:24:35 -- Installing: /usr/local/lib64/libcbor.so 13:24:35 -- Up-to-date: /usr/local/include/cbor 13:24:35 -- Installing: /usr/local/include/cbor/streaming.h 13:24:35 -- Installing: /usr/local/include/cbor/ints.h 13:24:35 -- Installing: /usr/local/include/cbor/floats_ctrls.h 13:24:35 -- Installing: /usr/local/include/cbor/bytestrings.h 13:24:35 -- Installing: /usr/local/include/cbor/encoding.h 13:24:35 -- Installing: /usr/local/include/cbor/serialization.h 13:24:35 -- Installing: /usr/local/include/cbor/data.h 13:24:35 -- Installing: /usr/local/include/cbor/common.h 13:24:35 -- Installing: /usr/local/include/cbor/callbacks.h 13:24:35 -- Installing: /usr/local/include/cbor/strings.h 13:24:35 -- Installing: /usr/local/include/cbor/tags.h 13:24:35 -- Installing: /usr/local/include/cbor/internal 13:24:35 -- Installing: /usr/local/include/cbor/internal/encoders.h 13:24:35 -- Installing: /usr/local/include/cbor/internal/loaders.h 13:24:35 -- Installing: /usr/local/include/cbor/internal/stack.h 13:24:35 -- Installing: /usr/local/include/cbor/internal/unicode.h 13:24:35 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 13:24:35 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 13:24:35 -- Installing: /usr/local/include/cbor/arrays.h 13:24:35 -- Installing: /usr/local/include/cbor/maps.h 13:24:35 -- Installing: /usr/local/include/cbor.h 13:24:35 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 13:24:37 Removing intermediate container dd2350e950f2 13:24:37 ---> a3449e55a2c9 13:24:37 Step 8/25 : RUN mkdir /tmp/sdk 13:24:37 ---> Running in c7ebecbc3ebe 13:24:39 Removing intermediate container c7ebecbc3ebe 13:24:39 ---> 2fe97c7df245 13:24:39 Step 9/25 : COPY VERSION /tmp/sdk 13:24:40 ---> 3afc4b5b364c 13:24:40 Step 10/25 : COPY src /tmp/sdk/src 13:24:41 ---> 1b8d70b8830e 13:24:41 Step 11/25 : COPY include /tmp/sdk/include 13:24:42 ---> 5f365636e459 13:24:42 Step 12/25 : COPY scripts /tmp/sdk/scripts 13:24:43 ---> 0cb9b0c8f630 13:24:43 Step 13/25 : COPY LICENSE /tmp/sdk 13:24:44 ---> 48fe9b63bcd2 13:24:44 Step 14/25 : COPY Attribution.txt /tmp/sdk 13:24:44 ---> 2ea619dbc11c 13:24:44 Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 13:24:44 ---> Running in 8c7a226b0969 13:24:46 + CPPCHECK=false 13:24:46 + DOCGEN=false 13:24:46 + TOMLVER=SDK-0.2 13:24:46 + CUTILVER=1.1.4 13:24:46 + '[' 0 -gt 0 ] 13:24:46 + readlink -f ./scripts/build.sh 13:24:46 + dirname /tmp/sdk/scripts/build.sh 13:24:46 + dirname /tmp/sdk/scripts 13:24:46 + ROOT=/tmp/sdk 13:24:46 + cd /tmp/sdk 13:24:46 + '[' '!' -d deps ] 13:24:46 + mkdir deps 13:24:46 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 13:24:46 + tar -C deps -z -x -f - 13:24:46 --2021-06-18 13:24:46-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 13:24:46 Resolving github.com... 140.82.114.3 13:24:46 Connecting to github.com|140.82.114.3|:443... connected. 13:24:46 HTTP request sent, awaiting response... 302 Found 13:24:46 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 13:24:46 --2021-06-18 13:24:46-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 13:24:46 Resolving codeload.github.com... 140.82.113.10 13:24:46 Connecting to codeload.github.com|140.82.113.10|:443... connected. 13:24:46 HTTP request sent, awaiting response... 200 OK 13:24:46 Length: unspecified [application/x-gzip] 13:24:46 Saving to: 'STDOUT' 13:24:46  13:24:46 0K .......... ......   969K=0.02s 13:24:46 13:24:46 2021-06-18 13:24:46 (969 KB/s) - written to stdout [16451] 13:24:46 13:24:46 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 13:24:46 + + tarwget -C -O deps - -z https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz -x 13:24:46 -f - 13:24:46 --2021-06-18 13:24:46-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 13:24:46 Resolving github.com... 140.82.114.3 13:24:46 Connecting to github.com|140.82.114.3|:443... connected. 13:24:46 HTTP request sent, awaiting response... 302 Found 13:24:46 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] 13:24:46 --2021-06-18 13:24:46-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 13:24:46 Resolving codeload.github.com... 140.82.113.10 13:24:46 Connecting to codeload.github.com|140.82.113.10|:443... connected. 13:24:46 HTTP request sent, awaiting response... 200 OK 13:24:46 Length: unspecified [application/x-gzip] 13:24:46 Saving to: 'STDOUT' 13:24:46  13:24:46 0K .......... .......... .......... .......... .......... 1.45M 13:24:46 50K .......... .......... .......... .......... .......... 2.96M 13:24:46 100K .......... .......... .......... .......... .......... 962K 13:24:46 150K .......... .......... ....... 14.5M=0.1s 13:24:46 13:24:46 2021-06-18 13:24:46 (1.67 MB/s) - written to stdout [181796] 13:24:46 13:24:46 + mkdir -p src/c/iot 13:24:46 + 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 13:24:46 + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot 13:24:46 + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot 13:24:46 + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot 13:24:46 + mkdir -p include/iot 13:24:46 + 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 13:24:46 + mkdir -p include/iot/os 13:24:46 + 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 13:24:46 + mkdir -p /tmp/sdk/build/release 13:24:46 + cd /tmp/sdk/build/release 13:24:46 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 13:24:47 -- The C compiler identification is GNU 8.3.0 13:24:47 -- Check for working C compiler: /usr/bin/cc 13:24:47 -- Check for working C compiler: /usr/bin/cc -- works 13:24:47 -- Detecting C compiler ABI info 13:24:47 -- Detecting C compiler ABI info - done 13:24:47 -- Detecting C compile features 13:24:48 -- Detecting C compile features - done 13:24:48 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 13:24:48 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 13:24:48 -- Found LIBYAML: /usr/lib/libyaml.so 13:24:48 -- Found LIBUUID: /usr/lib/libuuid.so 13:24:48 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 13:24:48 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 13:24:48 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 13:24:48 -- C SDK 0.0.0 for Linux 13:24:48 -- Performing Test CSDK_HAVE_ATOMIC 13:24:49 -- Performing Test CSDK_HAVE_ATOMIC - Success 13:24:49 -- Found Curses: /usr/lib/libcurses.so 13:24:49 -- Configuring done 13:24:49 -- Generating done 13:24:49 -- Build files have been written to: /tmp/sdk/build/release 13:24:49 + make all package 13:24:49 + tee release.log 13:24:49 Scanning dependencies of target csdk 13:24:49 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 13:24:50 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 13:24:50 ---> Running in 95277e297e2e 13:24:50 Connecting to iotech.jfrog.io (34.243.182.113:443) 13:24:50 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 13:24:50 13:24:50 Removing intermediate container 95277e297e2e 13:24:50 ---> d0f35201bc99 13:24:50 Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 13:24:50 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 13:24:50 ---> Running in bdd9b98ab420 13:24:52 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 13:24:52 Removing intermediate container bdd9b98ab420 13:24:52 ---> 8e679e9b0074 13:24:52 Step 5/25 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev hiredis-dev 13:24:53 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 13:24:53 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 13:24:53 ---> Running in 99c10ca2d8bd 13:24:53 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 13:24:54 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 13:24:54 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 13:24:54 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 13:24:55 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 13:24:55 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 13:24:57 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 13:24:57 (1/11) Installing hiredis (0.14.0-r0) 13:24:57 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 13:24:57 (2/11) Installing hiredis-dev (0.14.0-r0) 13:24:57 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 13:24:57 (3/11) Installing ncurses-dev (6.1_p20190105-r0) 13:24:57 (4/11) Installing paho-mqtt-c-dev (1.3.5-r0) 13:24:58 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 13:24:58 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 13:24:58 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 13:24:59 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 13:24:59 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 13:24:59 (5/11) Installing libuuid (2.33-r0) 13:24:59 (6/11) Installing libblkid (2.33-r0) 13:24:59 (7/11) Installing libfdisk (2.33-r0) 13:24:59 (8/11) Installing libmount (2.33-r0) 13:25:00 (9/11) Installing libsmartcols (2.33-r0) 13:25:00 (10/11) Installing util-linux-dev (2.33-r0) 13:25:01 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 13:25:02 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 13:25:02 (11/11) Installing wget (1.20.3-r0) 13:25:02 Executing busybox-1.29.3-r10.trigger 13:25:02 OK: 273 MiB in 86 packages 13:25:02 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 13:25:03 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 13:25:03 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 13:25:03 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 13:25:05 Removing intermediate container 99c10ca2d8bd 13:25:05 ---> c363f39af04d 13:25:05 Step 6/25 : ENV CBOR_VERSION=0.5.0 13:25:05 ---> Running in 3735ec843afd 13:25:06 Removing intermediate container 3735ec843afd 13:25:06 ---> c8e7dd9ef3e4 13:25:06 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 13:25:06 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 13:25:06 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 13:25:06 ---> Running in bdcc78664b67 13:25:06 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 13:25:07 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 13:25:07 --2021-06-18 13:25:07-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 13:25:07 Resolving github.com... 140.82.114.3 13:25:07 Connecting to github.com|140.82.114.3|:443... connected. 13:25:07 HTTP request sent, awaiting response... 302 Found 13:25:07 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 13:25:07 --2021-06-18 13:25:07-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 13:25:07 Resolving codeload.github.com... 140.82.113.10 13:25:07 Connecting to codeload.github.com|140.82.113.10|:443... connected. 13:25:08 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 13:25:08 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 13:25:08 HTTP request sent, awaiting response... 200 OK 13:25:08 Length: unspecified [application/x-gzip] 13:25:08 Saving to: 'STDOUT' 13:25:08 13:25:08 0K .......... .......... .......... .......... .......... 1.44M 13:25:08 50K .......... .......... .......... .......... .......... 2.90M 13:25:08 100K .......... .......... .......... .......... .......... 22.0M 13:25:08 150K .......... .......... .......... .......... .......... 3.40M 13:25:08 200K .......... .......... .......... .......... .......... 37.3M 13:25:08 250K .......... .......... .......... .......... .......... 5.97M 13:25:08 300K .......... .......... .......... .......... .......... 6.83M 13:25:08 350K .......... .......... .......... .......... .......... 16.7M 13:25:08 400K .......... .......... .......... .......... .......... 8.10M 13:25:08 450K .......... .......... .......... .......... .......... 10.1M 13:25:08 500K .......... .......... .......... .......... .......... 18.6M 13:25:08 550K .......... .......... .......... .......... .......... 7.33M 13:25:08 600K .......... .......... .......... .......... .......... 4.72M 13:25:08 650K .......... .......... .......... .......... .......... 6.46M 13:25:08 700K .. 103M=0.1s 13:25:08 13:25:08 2021-06-18 13:25:08 (5.49 MB/s) - written to stdout [719348] 13:25:08 13:25:08 -- The C compiler identification is GNU 8.3.0 13:25:08 -- The CXX compiler identification is GNU 8.3.0 13:25:08 -- Check for working C compiler: /usr/bin/cc 13:25:08 -- Check for working C compiler: /usr/bin/cc -- works 13:25:08 -- Detecting C compiler ABI info 13:25:08 -- Detecting C compiler ABI info - done 13:25:08 -- Detecting C compile features 13:25:08 -- Detecting C compile features - done 13:25:08 -- Check for working CXX compiler: /usr/bin/c++ 13:25:08 -- Check for working CXX compiler: /usr/bin/c++ -- works 13:25:08 -- Detecting CXX compiler ABI info 13:25:08 -- Detecting CXX compiler ABI info - done 13:25:08 -- Detecting CXX compile features 13:25:09 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 13:25:09 -- Detecting CXX compile features - done 13:25:09 -- Looking for include file endian.h 13:25:09 -- Looking for include file endian.h - found 13:25:09 -- Check if the system is big endian 13:25:09 -- Searching 16 bit integer 13:25:09 -- Looking for sys/types.h 13:25:09 -- Looking for sys/types.h - found 13:25:09 -- Looking for stdint.h 13:25:09 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 13:25:09 -- Looking for stdint.h - found 13:25:09 -- Looking for stddef.h 13:25:09 -- Looking for stddef.h - found 13:25:09 -- Check size of unsigned short 13:25:09 -- Check size of unsigned short - done 13:25:09 -- Using unsigned short 13:25:09 -- Check if the system is big endian - little endian 13:25:09 -- Check size of size_t 13:25:09 -- Check size of size_t - done 13:25:09 CMake Warning at examples/CMakeLists.txt:16 (find_package): 13:25:09 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 13:25:09 asked CMake to find a package configuration file provided by "cJSON", but 13:25:09 CMake did not find one. 13:25:09 13:25:09 Could not find a package configuration file provided by "cJSON" with any of 13:25:09 the following names: 13:25:09 13:25:09 cJSONConfig.cmake 13:25:09 cjson-config.cmake 13:25:09 13:25:09 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 13:25:09 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 13:25:09 provides a separate development package or SDK, be sure it has been 13:25:09 installed. 13:25:09 13:25:09 13:25:09 -- Configuring done 13:25:09 -- Generating done 13:25:09 -- Build files have been written to: /tmp/cbor 13:25:09 Scanning dependencies of target cbor_shared 13:25:09 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 13:25:09 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 13:25:10 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 13:25:10 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 13:25:10 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 13:25:10 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 13:25:10 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 13:25:10 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 13:25:10 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 13:25:10 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 13:25:10 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 13:25:10 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 13:25:10 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 13:25:10 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 13:25:10 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 13:25:10 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 13:25:10 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 13:25:10 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 13:25:10 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 13:25:11 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 13:25:11 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 13:25:11 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 13:25:11 [ 40%] Linking C shared library libcbor.so 13:25:11 [ 40%] Built target cbor_shared 13:25:11 Scanning dependencies of target cbor 13:25:11 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 13:25:11 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 13:25:11 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 13:25:11 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 13:25:11 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 13:25:11 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 13:25:11 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 13:25:11 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 13:25:11 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 13:25:11 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 13:25:12 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 13:25:12 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 13:25:12 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 13:25:12 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 13:25:12 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 13:25:12 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 13:25:12 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 13:25:12 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 13:25:12 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 13:25:12 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 13:25:12 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 13:25:12 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 13:25:12 [ 80%] Linking C static library libcbor.a 13:25:12 [ 80%] Built target cbor 13:25:12 Scanning dependencies of target create_items 13:25:12 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 13:25:12 [ 84%] Linking C executable create_items 13:25:12 [ 84%] Built target create_items 13:25:12 Scanning dependencies of target readfile 13:25:12 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 13:25:12 [ 88%] Linking C executable readfile 13:25:12 [ 88%] Built target readfile 13:25:12 Scanning dependencies of target streaming_parser 13:25:12 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 13:25:12 [ 92%] Linking C executable streaming_parser 13:25:12 [ 92%] Built target streaming_parser 13:25:12 Scanning dependencies of target sort 13:25:12 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 13:25:12 [ 96%] Linking C executable sort 13:25:12 [ 96%] Built target sort 13:25:12 Scanning dependencies of target hello 13:25:12 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 13:25:12 [100%] Linking C executable hello 13:25:12 [100%] Built target hello 13:25:13 Install the project... 13:25:13 -- Install configuration: "Release" 13:25:13 -- Installing: /usr/local/include/cbor/configuration.h 13:25:13 -- Installing: /usr/local/lib64/libcbor.a 13:25:13 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 13:25:13 -- Installing: /usr/local/lib64/libcbor.so.0 13:25:13 -- Installing: /usr/local/lib64/libcbor.so 13:25:13 -- Up-to-date: /usr/local/include/cbor 13:25:13 -- Installing: /usr/local/include/cbor/arrays.h 13:25:13 -- Installing: /usr/local/include/cbor/bytestrings.h 13:25:13 -- Installing: /usr/local/include/cbor/callbacks.h 13:25:13 -- Installing: /usr/local/include/cbor/common.h 13:25:13 -- Installing: /usr/local/include/cbor/data.h 13:25:13 -- Installing: /usr/local/include/cbor/encoding.h 13:25:13 -- Installing: /usr/local/include/cbor/floats_ctrls.h 13:25:13 -- Installing: /usr/local/include/cbor/internal 13:25:13 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 13:25:13 -- Installing: /usr/local/include/cbor/internal/encoders.h 13:25:13 -- Installing: /usr/local/include/cbor/internal/loaders.h 13:25:13 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 13:25:13 -- Installing: /usr/local/include/cbor/internal/stack.h 13:25:13 -- Installing: /usr/local/include/cbor/internal/unicode.h 13:25:13 -- Installing: /usr/local/include/cbor/ints.h 13:25:13 -- Installing: /usr/local/include/cbor/maps.h 13:25:13 -- Installing: /usr/local/include/cbor/serialization.h 13:25:13 -- Installing: /usr/local/include/cbor/streaming.h 13:25:13 -- Installing: /usr/local/include/cbor/strings.h 13:25:13 -- Installing: /usr/local/include/cbor/tags.h 13:25:13 -- Installing: /usr/local/include/cbor.h 13:25:13 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 13:25:13 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 13:25:13 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 13:25:16 Removing intermediate container bdcc78664b67 13:25:16 ---> 6a3f0dacfbbc 13:25:16 Step 8/25 : RUN mkdir /tmp/sdk 13:25:16 ---> Running in a06b72a30bfd 13:25:17 Removing intermediate container a06b72a30bfd 13:25:17 ---> 83241e718c75 13:25:17 Step 9/25 : COPY VERSION /tmp/sdk 13:25:17 ---> 08ed346171f0 13:25:17 Step 10/25 : COPY src /tmp/sdk/src 13:25:17 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 13:25:17 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 13:25:18 ---> f675816e8e25 13:25:18 Step 11/25 : COPY include /tmp/sdk/include 13:25:18 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 13:25:18 ---> 1113225e42e9 13:25:18 Step 12/25 : COPY scripts /tmp/sdk/scripts 13:25:18 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 13:25:18 ---> fbdb66d344d7 13:25:18 Step 13/25 : COPY LICENSE /tmp/sdk 13:25:19 ---> ef13e0bac37e 13:25:19 Step 14/25 : COPY Attribution.txt /tmp/sdk 13:25:19 ---> ef09b55d8cc4 13:25:19 Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 13:25:19 ---> Running in a3480a049e73 13:25:19 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 13:25:20 + CPPCHECK=false 13:25:20 + DOCGEN=false 13:25:20 + TOMLVER=SDK-0.2 13:25:20 + CUTILVER=1.1.4 13:25:20 + '[' 0 -gt 0 ] 13:25:20 + readlink -f ./scripts/build.sh 13:25:20 + dirname /tmp/sdk/scripts/build.sh 13:25:20 + dirname /tmp/sdk/scripts 13:25:20 + ROOT=/tmp/sdk 13:25:20 + cd /tmp/sdk 13:25:20 + '[' '!' -d deps ] 13:25:20 + mkdir deps 13:25:20 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 13:25:20 --2021-06-18 13:25:19-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 13:25:20 + tar -C deps -z -x -f - 13:25:20 Resolving github.com... 140.82.114.3 13:25:20 Connecting to github.com|140.82.114.3|:443... connected. 13:25:20 HTTP request sent, awaiting response... 302 Found 13:25:20 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 13:25:20 --2021-06-18 13:25:20-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 13:25:20 Resolving codeload.github.com... 140.82.113.10 13:25:20 Connecting to codeload.github.com|140.82.113.10|:443... connected. 13:25:20 HTTP request sent, awaiting response... 200 OK 13:25:20 Length: unspecified [application/x-gzip] 13:25:20 Saving to: 'STDOUT' 13:25:20 13:25:20 0K .......... ......  984K=0.02s 13:25:20 13:25:20 2021-06-18 13:25:20 (984 KB/s) - written to stdout [16451] 13:25:20 13:25:20 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 13:25:20 + tar -C+ deps -z -x -f -wget 13:25:20 -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 13:25:20 --2021-06-18 13:25:20-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 13:25:20 Resolving github.com... 140.82.114.3 13:25:20 Connecting to github.com|140.82.114.3|:443... connected. 13:25:20 HTTP request sent, awaiting response... 302 Found 13:25:20 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] 13:25:20 --2021-06-18 13:25:20-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 13:25:20 Resolving codeload.github.com... 140.82.113.10 13:25:20 Connecting to codeload.github.com|140.82.113.10|:443... connected. 13:25:20 HTTP request sent, awaiting response... 200 OK 13:25:20 Length: unspecified [application/x-gzip] 13:25:20 Saving to: 'STDOUT' 13:25:20 13:25:20 0K .......... .......... .......... .......... .......... 1.63M 13:25:20 50K .......... .......... .......... .......... .......... 3.59M 13:25:20 100K .......... .......... .......... .......... .......... 30.0M 13:25:20 150K .......... .......... ....... 14.3M=0.05s 13:25:20 13:25:20 2021-06-18 13:25:20 (3.69 MB/s) - written to stdout [181796] 13:25:20 13:25:20 + mkdir -p src/c/iot 13:25:20 + 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 13:25:20 + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot 13:25:20 + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot 13:25:20 + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot 13:25:20 + mkdir -p include/iot 13:25:20 + 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 13:25:20 + mkdir -p include/iot/os 13:25:20 + 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 13:25:20 + mkdir -p /tmp/sdk/build/release 13:25:20 + cd /tmp/sdk/build/release 13:25:20 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 13:25:20 -- The C compiler identification is GNU 8.3.0 13:25:20 -- Check for working C compiler: /usr/bin/cc 13:25:20 -- Check for working C compiler: /usr/bin/cc -- works 13:25:20 -- Detecting C compiler ABI info 13:25:20 -- Detecting C compiler ABI info - done 13:25:20 -- Detecting C compile features 13:25:21 -- Detecting C compile features - done 13:25:21 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 13:25:21 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 13:25:21 -- Found LIBYAML: /usr/lib/libyaml.so 13:25:21 -- Found LIBUUID: /usr/lib/libuuid.so 13:25:21 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 13:25:21 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 13:25:21 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 13:25:21 -- C SDK 0.0.0 for Linux 13:25:21 -- Performing Test CSDK_HAVE_ATOMIC 13:25:21 -- Performing Test CSDK_HAVE_ATOMIC - Success 13:25:21 -- Found Curses: /usr/lib/libcurses.so 13:25:21 -- Configuring done 13:25:21 -- Generating done 13:25:21 -- Build files have been written to: /tmp/sdk/build/release 13:25:21 + tee release.log 13:25:21 + make all package 13:25:21 Scanning dependencies of target csdk 13:25:21 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 13:25:21 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 13:25:21 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 13:25:21 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 13:25:21 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 13:25:21 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 13:25:21 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 13:25:21 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 13:25:22 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 13:25:22 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 13:25:22 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 13:25:22 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 13:25:22 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 13:25:22 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 13:25:22 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 13:25:22 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 13:25:22 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 13:25:22 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 13:25:23 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 13:25:23 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 13:25:23 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 13:25:23 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 13:25:23 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 13:25:23 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 13:25:23 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 13:25:24 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 13:25:24 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 13:25:24 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 13:25:24 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 13:25:24 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 13:25:24 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 13:25:24 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 13:25:24 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 13:25:25 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 13:25:25 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 13:25:25 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 13:25:25 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 13:25:25 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 13:25:25 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 13:25:26 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 13:25:26 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 13:25:26 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 13:25:26 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 13:25:26 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 13:25:26 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 13:25:26 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 13:25:27 [ 74%] Linking C shared library libcsdk.so 13:25:27 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 13:25:27 [ 74%] Built target csdk 13:25:27 Scanning dependencies of target template 13:25:27 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 13:25:27 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 13:25:28 [ 77%] Linking C executable template 13:25:28 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 13:25:28 [ 77%] Built target template 13:25:28 Scanning dependencies of target device-counter 13:25:28 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 13:25:28 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 13:25:28 [ 74%] Linking C shared library libcsdk.so 13:25:28 [ 74%] Built target csdk 13:25:28 Scanning dependencies of target template 13:25:28 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 13:25:28 [ 77%] Linking C executable template 13:25:28 [ 77%] Built target template 13:25:28 Scanning dependencies of target device-counter 13:25:28 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 13:25:28 [ 80%] Linking C executable device-counter 13:25:28 [ 80%] Built target device-counter 13:25:28 Scanning dependencies of target device-random 13:25:28 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 13:25:28 [ 84%] Linking C executable device-random 13:25:28 [ 84%] Built target device-random 13:25:28 Scanning dependencies of target device-gyro 13:25:28 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 13:25:28 [ 80%] Linking C executable device-counter 13:25:28 [ 80%] Built target device-counter 13:25:28 Scanning dependencies of target device-random 13:25:28 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 13:25:29 [ 87%] Linking C executable device-gyro 13:25:29 [ 87%] Built target device-gyro 13:25:29 Scanning dependencies of target device-bitfields 13:25:29 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 13:25:29 [ 90%] Linking C executable device-bitfields 13:25:29 [ 90%] Built target device-bitfields 13:25:29 Scanning dependencies of target template-discovery 13:25:29 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 13:25:29 [ 93%] Linking C executable template-discovery 13:25:29 [ 93%] Built target template-discovery 13:25:29 Scanning dependencies of target device-file 13:25:29 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 13:25:29 [ 84%] Linking C executable device-random 13:25:29 [ 96%] Linking C executable device-file 13:25:29 [ 96%] Built target device-file 13:25:29 Scanning dependencies of target device-terminal 13:25:29 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 13:25:29 [100%] Linking C executable device-terminal 13:25:29 [100%] Built target device-terminal 13:25:29 Run CPack packaging tool... 13:25:29 [ 84%] Built target device-random 13:25:29 Scanning dependencies of target device-gyro 13:25:29 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 13:25:29 CPack: Create package using TGZ 13:25:29 CPack: Install projects 13:25:29 CPack: - Run preinstall target for: Csdk 13:25:29 CPack: - Install project: Csdk 13:25:29 CPack: Create package 13:25:29 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 13:25:29 + '[' false '=' true ] 13:25:29 + '[' false '=' true ] 13:25:29 + mkdir -p /tmp/sdk/build/debug 13:25:29 + cd /tmp/sdk/build/debug 13:25:29 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 13:25:30 [ 87%] Linking C executable device-gyro 13:25:30 -- The C compiler identification is GNU 8.3.0 13:25:30 -- Check for working C compiler: /usr/bin/cc 13:25:30 -- Check for working C compiler: /usr/bin/cc -- works 13:25:30 -- Detecting C compiler ABI info 13:25:30 -- Detecting C compiler ABI info - done 13:25:30 -- Detecting C compile features 13:25:30 [ 87%] Built target device-gyro 13:25:30 Scanning dependencies of target device-bitfields 13:25:30 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 13:25:30 -- Detecting C compile features - done 13:25:30 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 13:25:30 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 13:25:30 -- Found LIBYAML: /usr/lib/libyaml.so 13:25:30 -- Found LIBUUID: /usr/lib/libuuid.so 13:25:30 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 13:25:30 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 13:25:30 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 13:25:30 -- C SDK 0.0.0 for Linux 13:25:30 -- Performing Test CSDK_HAVE_ATOMIC 13:25:30 -- Performing Test CSDK_HAVE_ATOMIC - Success 13:25:30 -- Found Curses: /usr/lib/libcurses.so 13:25:30 -- Configuring done 13:25:30 -- Generating done 13:25:30 -- Build files have been written to: /tmp/sdk/build/debug 13:25:30 + tee debug.log 13:25:30 + make 13:25:30 Scanning dependencies of target csdk 13:25:30 [ 90%] Linking C executable device-bitfields 13:25:30 [ 90%] Built target device-bitfields 13:25:30 Scanning dependencies of target template-discovery 13:25:30 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 13:25:30 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 13:25:30 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 13:25:30 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 13:25:30 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 13:25:31 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 13:25:31 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 13:25:31 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 13:25:31 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 13:25:31 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 13:25:31 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 13:25:31 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 13:25:31 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 13:25:31 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 13:25:31 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 13:25:31 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 13:25:31 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 13:25:31 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 13:25:31 [ 93%] Linking C executable template-discovery 13:25:31 [ 93%] Built target template-discovery 13:25:31 Scanning dependencies of target device-file 13:25:31 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 13:25:32 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 13:25:32 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 13:25:32 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 13:25:32 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 13:25:32 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 13:25:32 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 13:25:32 [ 96%] Linking C executable device-file 13:25:32 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 13:25:32 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 13:25:32 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 13:25:32 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 13:25:32 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 13:25:32 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 13:25:32 [ 96%] Built target device-file 13:25:32 Scanning dependencies of target device-terminal 13:25:32 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 13:25:32 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 13:25:32 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 13:25:32 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 13:25:32 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 13:25:32 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 13:25:33 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 13:25:33 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 13:25:33 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 13:25:33 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 13:25:33 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 13:25:33 [100%] Linking C executable device-terminal 13:25:33 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 13:25:33 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 13:25:33 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 13:25:33 [100%] Built target device-terminal 13:25:33 Run CPack packaging tool... 13:25:33 CPack: Create package using TGZ 13:25:33 CPack: Install projects 13:25:33 CPack: - Run preinstall target for: Csdk 13:25:33 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 13:25:33 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 13:25:34 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 13:25:34 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 13:25:34 [ 74%] Linking C shared library libcsdk.so 13:25:34 [ 74%] Built target csdk 13:25:34 Scanning dependencies of target template 13:25:34 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 13:25:34 CPack: - Install project: Csdk 13:25:34 CPack: Create package 13:25:34 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 13:25:34 + '[' false '=' true ] 13:25:34 + '[' false '=' true ] 13:25:34 + mkdir -p /tmp/sdk/build/debug 13:25:34 + cd /tmp/sdk/build/debug 13:25:34 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 13:25:34 [ 77%] Linking C executable template 13:25:34 [ 77%] Built target template 13:25:34 Scanning dependencies of target device-counter 13:25:34 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 13:25:34 [ 80%] Linking C executable device-counter 13:25:34 [ 80%] Built target device-counter 13:25:34 Scanning dependencies of target device-random 13:25:34 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 13:25:34 -- The C compiler identification is GNU 8.3.0 13:25:34 [ 84%] Linking C executable device-random 13:25:34 [ 84%] Built target device-random 13:25:34 Scanning dependencies of target device-gyro 13:25:34 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 13:25:34 [ 87%] Linking C executable device-gyro 13:25:34 [ 87%] Built target device-gyro 13:25:34 Scanning dependencies of target device-bitfields 13:25:34 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 13:25:34 [ 90%] Linking C executable device-bitfields 13:25:34 -- Check for working C compiler: /usr/bin/cc 13:25:34 -- Check for working C compiler: /usr/bin/cc -- works 13:25:34 -- Detecting C compiler ABI info 13:25:34 [ 90%] Built target device-bitfields 13:25:34 Scanning dependencies of target template-discovery 13:25:34 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 13:25:34 [ 93%] Linking C executable template-discovery 13:25:34 [ 93%] Built target template-discovery 13:25:34 Scanning dependencies of target device-file 13:25:34 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 13:25:34 [ 96%] Linking C executable device-file 13:25:35 -- Detecting C compiler ABI info - done 13:25:35 [ 96%] Built target device-file 13:25:35 Scanning dependencies of target device-terminal 13:25:35 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 13:25:35 [100%] Linking C executable device-terminal 13:25:35 [100%] Built target device-terminal 13:25:35 make: Entering directory '/tmp/sdk/build/release' 13:25:35 make[1]: Entering directory '/tmp/sdk/build/release' 13:25:35 make[2]: Entering directory '/tmp/sdk/build/release' 13:25:35 make[2]: Leaving directory '/tmp/sdk/build/release' 13:25:35 [ 74%] Built target csdk 13:25:35 make[2]: Entering directory '/tmp/sdk/build/release' 13:25:35 make[2]: Leaving directory '/tmp/sdk/build/release' 13:25:35 [ 77%] Built target template 13:25:35 make[2]: Entering directory '/tmp/sdk/build/release' 13:25:35 make[2]: Leaving directory '/tmp/sdk/build/release' 13:25:35 [ 80%] Built target device-counter 13:25:35 make[2]: Entering directory '/tmp/sdk/build/release' 13:25:35 make[2]: Leaving directory '/tmp/sdk/build/release' 13:25:35 [ 84%] Built target device-random 13:25:35 make[2]: Entering directory '/tmp/sdk/build/release' 13:25:35 make[2]: Leaving directory '/tmp/sdk/build/release' 13:25:35 [ 87%] Built target device-gyro 13:25:35 make[2]: Entering directory '/tmp/sdk/build/release' 13:25:35 make[2]: Leaving directory '/tmp/sdk/build/release' 13:25:35 [ 90%] Built target device-bitfields 13:25:35 make[2]: Entering directory '/tmp/sdk/build/release' 13:25:35 make[2]: Leaving directory '/tmp/sdk/build/release' 13:25:35 [ 93%] Built target template-discovery 13:25:35 make[2]: Entering directory '/tmp/sdk/build/release' 13:25:35 make[2]: Leaving directory '/tmp/sdk/build/release' 13:25:35 [ 96%] Built target device-file 13:25:35 make[2]: Entering directory '/tmp/sdk/build/release' 13:25:35 -- Detecting C compile features 13:25:35 make[2]: Leaving directory '/tmp/sdk/build/release' 13:25:35 [100%] Built target device-terminal 13:25:35 make[1]: Leaving directory '/tmp/sdk/build/release' 13:25:35 Install the project... 13:25:35 -- Install configuration: "Release" 13:25:35 -- Installing: /usr/local/lib/libcsdk.so 13:25:35 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 13:25:35 -- Up-to-date: /usr/local/include 13:25:35 -- Installing: /usr/local/include/devsdk 13:25:35 -- Installing: /usr/local/include/devsdk/devsdk-base.h 13:25:35 -- Installing: /usr/local/include/devsdk/devsdk.h 13:25:35 -- Installing: /usr/local/include/edgex 13:25:35 -- Installing: /usr/local/include/edgex/devices.h 13:25:35 -- Installing: /usr/local/include/edgex/edgex-base.h 13:25:35 -- Installing: /usr/local/include/edgex/edgex.h 13:25:35 -- Installing: /usr/local/include/edgex/profiles.h 13:25:35 -- Installing: /usr/local/include/edgex/rest-server.h 13:25:35 -- Installing: /usr/local/include/edgex/csdk-defs.h 13:25:35 -- Installing: /usr/local/include/iot 13:25:35 -- Installing: /usr/local/include/iot/base64.h 13:25:35 -- Installing: /usr/local/include/iot/component.h 13:25:35 -- Installing: /usr/local/include/iot/config.h 13:25:35 -- Installing: /usr/local/include/iot/container.h 13:25:35 -- Installing: /usr/local/include/iot/data.h 13:25:35 -- Installing: /usr/local/include/iot/hash.h 13:25:35 -- Installing: /usr/local/include/iot/iot.h 13:25:35 -- Installing: /usr/local/include/iot/json.h 13:25:35 -- Installing: /usr/local/include/iot/logger.h 13:25:35 -- Installing: /usr/local/include/iot/os.h 13:25:35 -- Installing: /usr/local/include/iot/scheduler.h 13:25:35 -- Installing: /usr/local/include/iot/thread.h 13:25:35 -- Installing: /usr/local/include/iot/threadpool.h 13:25:35 -- Installing: /usr/local/include/iot/time.h 13:25:35 -- Installing: /usr/local/include/iot/typecode.h 13:25:35 -- Installing: /usr/local/include/iot/os 13:25:35 -- Installing: /usr/local/include/iot/os/linux.h 13:25:35 -- Installing: /usr/local/include/iot/os/macos.h 13:25:35 -- Installing: /usr/local/include/iot/os/zephyr.h 13:25:35 -- Installing: /usr/local/include/iot/defs.h 13:25:35 -- Installing: /usr/local/share/device-sdk-c/LICENSE 13:25:35 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 13:25:35 make: Leaving directory '/tmp/sdk/build/release' 13:25:35 -- Detecting C compile features - done 13:25:35 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 13:25:35 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 13:25:35 -- Found LIBYAML: /usr/lib/libyaml.so 13:25:35 -- Found LIBUUID: /usr/lib/libuuid.so 13:25:35 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 13:25:35 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 13:25:35 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 13:25:35 -- C SDK 0.0.0 for Linux 13:25:35 -- Performing Test CSDK_HAVE_ATOMIC 13:25:36 -- Performing Test CSDK_HAVE_ATOMIC - Success 13:25:36 -- Found Curses: /usr/lib/libcurses.so 13:25:36 -- Configuring done 13:25:36 -- Generating done 13:25:36 -- Build files have been written to: /tmp/sdk/build/debug 13:25:36 + make 13:25:36 + tee debug.log 13:25:36 Scanning dependencies of target csdk 13:25:37 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 13:25:37 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 13:25:37 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 13:25:38 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 13:25:38 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 13:25:38 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 13:25:39 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 13:25:39 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 13:25:39 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 13:25:39 Removing intermediate container a3480a049e73 13:25:39 ---> dd0052f9967b 13:25:39 Step 16/25 : FROM ${BASE} 13:25:39 ---> 5eabd8fd8ba2 13:25:39 Step 17/25 : LABEL maintainer="IOTech " 13:25:39 ---> Running in 12feb3bd576e 13:25:39 Removing intermediate container 12feb3bd576e 13:25:39 ---> f533a79dab78 13:25:39 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 13:25:39 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 13:25:39 ---> Running in 39cb6c23e7d0 13:25:40 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 13:25:40 Connecting to iotech.jfrog.io (34.243.182.113:443) 13:25:40 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 13:25:40 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 13:25:40 13:25:41 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 13:25:41 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 13:25:41 Removing intermediate container 39cb6c23e7d0 13:25:41 ---> 9e2060786f59 13:25:41 Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 13:25:41 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 13:25:41 ---> Running in 1fa67b832100 13:25:41 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 13:25:41 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 13:25:42 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 13:25:42 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 13:25:43 Removing intermediate container 1fa67b832100 13:25:43 ---> 79382bb03b27 13:25:43 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 13:25:43 ---> Running in 225adcedf838 13:25:43 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 13:25:43 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 13:25:43 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 13:25:43 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 13:25:43 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 13:25:44 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 13:25:44 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 13:25:44 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 13:25:45 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 13:25:45 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 13:25:45 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 13:25:45 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 13:25:45 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 13:25:45 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 13:25:46 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 13:25:46 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 13:25:46 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 13:25:47 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 13:25:47 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 13:25:47 (1/6) Installing curl (7.64.0-r5) 13:25:47 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 13:25:47 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 13:25:47 (2/6) Installing hiredis (0.14.0-r0) 13:25:47 (3/6) Installing hiredis-dev (0.14.0-r0) 13:25:48 (4/6) Installing libuuid (2.33-r0) 13:25:48 (5/6) Installing paho-mqtt-c-dev (1.3.5-r0) 13:25:48 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 13:25:48 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 13:25:49 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 13:25:49 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 13:25:49 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 13:25:49 (6/6) Installing wget (1.20.3-r0) 13:25:50 Executing busybox-1.29.3-r10.trigger 13:25:50 OK: 269 MiB in 81 packages 13:25:50 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 13:25:51 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 13:25:51 Removing intermediate container 225adcedf838 13:25:51 ---> 3e358134133c 13:25:51 Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 13:25:51 ---> f332971ba3ff 13:25:51 Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 13:25:51 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 13:25:52 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 13:25:52 ---> 73bd84b0ee9e 13:25:52 Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib 13:25:52 [ 74%] Linking C shared library libcsdk.so 13:25:52 ---> 5d09ac446f06 13:25:52 Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 13:25:52 [ 74%] Built target csdk 13:25:52 Scanning dependencies of target template 13:25:52 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 13:25:52 ---> 9dc768256c74 13:25:52 Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 13:25:52 [ 77%] Linking C executable template 13:25:53 ---> 8eaf485b0ce0 13:25:53 Successfully built 8eaf485b0ce0 13:25:53 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } 13:25:53 [ 77%] Built target template 13:25:53 Scanning dependencies of target device-counter 13:25:53 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [Pipeline] // script [Pipeline] } 13:25:53 [ 80%] Linking C executable device-counter 13:25:53 [ 80%] Built target device-counter 13:25:53 Scanning dependencies of target device-random [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:25:53 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 13:25:53 [ 84%] Linking C executable device-random 13:25:53 + docker inspect -f . ci-base-image-x86_64 13:25:53 . [Pipeline] withDockerContainer 13:25:54 [ 84%] Built target device-random 13:25:54 Scanning dependencies of target device-gyro 13:25:54 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 13:25:54 prd-centos7-docker-4c-2g-192 does not seem to be running inside a container 13:25:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 13:25:54 [ 87%] Linking C executable device-gyro 13:25:54 [ 87%] Built target device-gyro 13:25:54 Scanning dependencies of target device-bitfields 13:25:54 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 13:25:54 $ docker top b78f213eb6373ffbb59902a67b30c9d37e2ac46e29ad70bbe3e0adc1bbeafcc3 -eo pid,comm [Pipeline] { [Pipeline] sh 13:25:54 [ 90%] Linking C executable device-bitfields 13:25:55 + make test 13:25:55 echo "make test" 13:25:55 make test 13:25:55 [ 90%] Built target device-bitfields 13:25:55 Scanning dependencies of target template-discovery 13:25:55 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [Pipeline] } 13:25:55 $ docker stop --time=1 b78f213eb6373ffbb59902a67b30c9d37e2ac46e29ad70bbe3e0adc1bbeafcc3 13:25:55 [ 93%] Linking C executable template-discovery 13:25:55 [ 93%] Built target template-discovery 13:25:55 Scanning dependencies of target device-file 13:25:55 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 13:25:55 [ 96%] Linking C executable device-file 13:25:56 [ 96%] Built target device-file 13:25:56 Scanning dependencies of target device-terminal 13:25:56 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 13:25:56 [100%] Linking C executable device-terminal 13:25:56 $ docker rm -f b78f213eb6373ffbb59902a67b30c9d37e2ac46e29ad70bbe3e0adc1bbeafcc3 13:25:56 [100%] Built target device-terminal 13:25:56 make: Entering directory '/tmp/sdk/build/release' 13:25:56 make[1]: Entering directory '/tmp/sdk/build/release' 13:25:56 make[2]: Entering directory '/tmp/sdk/build/release' 13:25:56 make[2]: Leaving directory '/tmp/sdk/build/release' 13:25:56 [ 74%] Built target csdk 13:25:56 make[2]: Entering directory '/tmp/sdk/build/release' [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 13:25:57 make[2]: Leaving directory '/tmp/sdk/build/release' 13:25:57 [ 77%] Built target template 13:25:57 make[2]: Entering directory '/tmp/sdk/build/release' 13:25:57 make[2]: Leaving directory '/tmp/sdk/build/release' 13:25:57 [ 80%] Built target device-counter 13:25:57 make[2]: Entering directory '/tmp/sdk/build/release' 13:25:57 make[2]: Leaving directory '/tmp/sdk/build/release' 13:25:57 [ 84%] Built target device-random 13:25:57 make[2]: Entering directory '/tmp/sdk/build/release' 13:25:57 make[2]: Leaving directory '/tmp/sdk/build/release' 13:25:57 [ 87%] Built target device-gyro 13:25:57 make[2]: Entering directory '/tmp/sdk/build/release' 13:25:57 make[2]: Leaving directory '/tmp/sdk/build/release' 13:25:57 [ 90%] Built target device-bitfields 13:25:57 make[2]: Entering directory '/tmp/sdk/build/release' 13:25:57 make[2]: Leaving directory '/tmp/sdk/build/release' 13:25:57 [ 93%] Built target template-discovery 13:25:57 make[2]: Entering directory '/tmp/sdk/build/release' 13:25:57 make[2]: Leaving directory '/tmp/sdk/build/release' 13:25:57 [ 96%] Built target device-file [Pipeline] script [Pipeline] { 13:25:57 make[2]: Entering directory '/tmp/sdk/build/release' 13:25:57 make[2]: Leaving directory '/tmp/sdk/build/release' 13:25:57 [100%] Built target device-terminal 13:25:57 make[1]: Leaving directory '/tmp/sdk/build/release' 13:25:57 Install the project... 13:25:57 -- Install configuration: "Release" 13:25:57 -- Installing: /usr/local/lib/libcsdk.so 13:25:57 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 13:25:57 -- Up-to-date: /usr/local/include 13:25:57 -- Installing: /usr/local/include/edgex 13:25:57 -- Installing: /usr/local/include/edgex/rest-server.h 13:25:57 -- Installing: /usr/local/include/edgex/edgex-base.h 13:25:57 -- Installing: /usr/local/include/edgex/edgex.h 13:25:57 -- Installing: /usr/local/include/edgex/devices.h 13:25:57 -- Installing: /usr/local/include/edgex/profiles.h 13:25:57 -- Installing: /usr/local/include/edgex/csdk-defs.h 13:25:57 -- Installing: /usr/local/include/devsdk 13:25:57 -- Installing: /usr/local/include/devsdk/devsdk-base.h 13:25:57 -- Installing: /usr/local/include/devsdk/devsdk.h 13:25:57 -- Installing: /usr/local/include/iot 13:25:57 -- Installing: /usr/local/include/iot/json.h 13:25:57 -- Installing: /usr/local/include/iot/container.h 13:25:57 -- Installing: /usr/local/include/iot/component.h 13:25:57 -- Installing: /usr/local/include/iot/typecode.h 13:25:57 -- Installing: /usr/local/include/iot/iot.h 13:25:57 -- Installing: /usr/local/include/iot/time.h 13:25:57 -- Installing: /usr/local/include/iot/hash.h 13:25:57 -- Installing: /usr/local/include/iot/logger.h 13:25:57 -- Installing: /usr/local/include/iot/os 13:25:57 -- Installing: /usr/local/include/iot/os/zephyr.h 13:25:57 -- Installing: /usr/local/include/iot/os/linux.h 13:25:57 -- Installing: /usr/local/include/iot/os/macos.h 13:25:57 -- Installing: /usr/local/include/iot/scheduler.h 13:25:57 -- Installing: /usr/local/include/iot/data.h 13:25:57 -- Installing: /usr/local/include/iot/thread.h 13:25:57 -- Installing: /usr/local/include/iot/os.h 13:25:57 -- Installing: /usr/local/include/iot/base64.h 13:25:57 -- Installing: /usr/local/include/iot/defs.h 13:25:57 -- Installing: /usr/local/include/iot/threadpool.h 13:25:57 -- Installing: /usr/local/include/iot/config.h 13:25:57 -- Installing: /usr/local/share/device-sdk-c/LICENSE 13:25:57 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 13:25:57 make: Leaving directory '/tmp/sdk/build/release' 13:25:59 Removing intermediate container 8c7a226b0969 13:25:59 ---> efaf374cf6ed 13:25:59 Step 16/25 : FROM ${BASE} 13:25:59 ---> b23d30803547 13:25:59 Step 17/25 : LABEL maintainer="IOTech " 13:25:59 ---> Running in 891ef9352db3 13:25:59 Removing intermediate container 891ef9352db3 13:25:59 ---> cea6128da5d1 13:25:59 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 13:25:59 ---> Running in 277a4eaf32c2 [Pipeline] sh 13:26:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:26:00 + ls -al . 13:26:00 total 160 13:26:00 drwxrwxr-x. 8 jenkins jenkins 260 Jun 18 13:23 . 13:26:00 drwxrwxr-x. 4 jenkins jenkins 28 Jun 18 13:23 .. 13:26:00 -rw-rw-r--. 1 jenkins jenkins 3104 Jun 18 13:23 Attribution.txt 13:26:00 -rw-rw-r--. 1 jenkins jenkins 7509 Jun 18 13:23 CHANGES 13:26:00 drwxrwxr-x. 2 jenkins jenkins 121 Jun 18 13:23 docs 13:26:00 -rw-rw-r--. 1 jenkins jenkins 108574 Jun 18 13:23 Doxyfile 13:26:00 drwxrwxr-x. 8 jenkins jenkins 179 Jun 18 13:23 .git 13:26:00 drwxrwxr-x. 2 jenkins jenkins 81 Jun 18 13:23 .github 13:26:00 -rw-rw-r--. 1 jenkins jenkins 176 Jun 18 13:23 .gitignore 13:26:00 drwxrwxr-x. 4 jenkins jenkins 33 Jun 18 13:23 include 13:26:00 -rw-rw-r--. 1 jenkins jenkins 784 Jun 18 13:23 Jenkinsfile 13:26:00 -rw-rw-r--. 1 jenkins jenkins 10174 Jun 18 13:23 LICENSE 13:26:00 -rw-rw-r--. 1 jenkins jenkins 444 Jun 18 13:23 Makefile 13:26:00 -rw-rw-r--. 1 jenkins jenkins 4090 Jun 18 13:23 README.md 13:26:00 -rw-rw-r--. 1 jenkins jenkins 7090 Jun 18 13:23 README.v2.md 13:26:00 drwxrwxr-x. 2 jenkins jenkins 98 Jun 18 13:23 scripts 13:26:00 drwxrwxr-x. 4 jenkins jenkins 50 Jun 18 13:23 src 13:26:00 -rw-rw-r--. 1 jenkins jenkins 5 Jun 18 13:19 VERSION [Pipeline] isUnix [Pipeline] sh 13:26:01 + 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=e0a835ee43393a6c9f2deee4a0633e5d1334e7f4 --label arch=amd64 --label version=0.0.0 . 13:26:01 Sending build context to Docker daemon 2.622MB 13:26:01 Step 1/17 : ARG BASE=alpine:3.12 13:26:01 Step 2/17 : FROM ${BASE} 13:26:01 ---> 8eaf485b0ce0 13:26:01 Step 3/17 : LABEL maintainer="IOTech " 13:26:01 Connecting to iotech.jfrog.io (54.74.239.58:443) 13:26:01 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 13:26:01 13:26:01 ---> Running in e01e9a9e907b 13:26:02 Removing intermediate container e01e9a9e907b 13:26:02 ---> 456d2e4501f1 13:26:02 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 13:26:02 ---> Running in 683dc7bef78b 13:26:02 Removing intermediate container 277a4eaf32c2 13:26:02 ---> 0af748b4f99e 13:26:02 Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 13:26:02 --2021-06-18 13:26:02-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub 13:26:02 Resolving iotech.jfrog.io... 34.243.182.113, 54.72.115.12, 54.74.239.58 13:26:02 ---> Running in c9c55bd9753c 13:26:02 Connecting to iotech.jfrog.io|34.243.182.113|:443... connected. 13:26:03 HTTP request sent, awaiting response... 200 OK 13:26:03 Length: 451 [application/octet-stream] 13:26:03 Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 13:26:03  13:26:03 0K 100% 51.9M=0s 13:26:03 13:26:03 2021-06-18 13:26:02 (51.9 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] 13:26:03 13:26:03 Removing intermediate container 683dc7bef78b 13:26:03 ---> 23738205d3fb 13:26:03 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 13:26:03 ---> Running in 48954a6d910a 13:26:03 Removing intermediate container 48954a6d910a 13:26:03 ---> 0d6be96be3e2 13:26:03 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 13:26:03 ---> Running in e20242976056 13:26:03 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 13:26:04 Removing intermediate container c9c55bd9753c 13:26:04 ---> 7fe197da2020 13:26:04 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 13:26:04 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 13:26:05 ---> Running in a51340293784 13:26:05 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 13:26:05 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 13:26:05 (2/6) Installing libblkid (2.33-r0) 13:26:05 (3/6) Installing libfdisk (2.33-r0) 13:26:05 (4/6) Installing libmount (2.33-r0) 13:26:05 (5/6) Installing libsmartcols (2.33-r0) 13:26:05 (6/6) Installing util-linux-dev (2.33-r0) 13:26:06 Executing busybox-1.29.3-r10.trigger 13:26:06 OK: 273 MiB in 87 packages 13:26:06 Removing intermediate container e20242976056 13:26:06 ---> 63df6aa887a0 13:26:06 Step 7/17 : COPY VERSION /edgex-c-sdk/ 13:26:06 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 13:26:06 ---> f4a144970430 13:26:06 Step 8/17 : COPY src /edgex-c-sdk/src/ 13:26:07 ---> 3230c2001e13 13:26:07 Step 9/17 : COPY include /edgex-c-sdk/include/ 13:26:07 ---> a70d728f0623 13:26:07 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 13:26:07 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 13:26:07 ---> 14ebc3cb5571 13:26:07 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 13:26:07 ---> c7b3cd31f60c 13:26:07 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 13:26:07 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 13:26:07 ---> 87332b19447c 13:26:07 Step 13/17 : WORKDIR /edgex-c-sdk 13:26:07 ---> Running in 87ad51591f0e 13:26:07 Removing intermediate container 87ad51591f0e 13:26:07 ---> 4e71e890e5b9 13:26:07 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 13:26:07 ---> Running in 3a266c001df5 13:26:07 Removing intermediate container 3a266c001df5 13:26:07 ---> 71086d2de659 13:26:07 Step 15/17 : LABEL arch=amd64 13:26:08 (1/6) Installing curl (7.64.0-r5) 13:26:08 (2/6) Installing hiredis (0.14.0-r0) 13:26:08 (3/6) Installing hiredis-dev (0.14.0-r0) 13:26:08 ---> Running in 53e71168308b 13:26:08 Removing intermediate container 53e71168308b 13:26:08 ---> 51bda17d737d 13:26:08 Step 16/17 : LABEL git_sha=e0a835ee43393a6c9f2deee4a0633e5d1334e7f4 13:26:08 (4/6) Installing libuuid (2.33-r0) 13:26:08 (5/6) Installing paho-mqtt-c-dev (1.3.5-r0) 13:26:08 ---> Running in 863c0253e585 13:26:08 Removing intermediate container 863c0253e585 13:26:08 ---> dd7a30fe4e37 13:26:08 Step 17/17 : LABEL version=0.0.0 13:26:08 ---> Running in cf368b56f847 13:26:08 Removing intermediate container cf368b56f847 13:26:08 ---> cff29d66a8d5 13:26:08 [Warning] One or more build-args [ARCH MAKE] were not consumed 13:26:08 Successfully built cff29d66a8d5 13:26:08 Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } 13:26:09 (6/6) Installing wget (1.20.3-r0) [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 13:26:10 Executing busybox-1.29.3-r10.trigger 13:26:10 OK: 283 MiB in 81 packages 13:26:11 Removing intermediate container a51340293784 13:26:11 ---> d6c80a638c9e 13:26:11 Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 13:26:12 ---> 2587ef296772 13:26:12 Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 13:26:12 ---> ac61f2a48ff1 13:26:12 Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib 13:26:13 ---> 044ee819fafb 13:26:13 Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 13:26:14 ---> 342cce4f1bbe 13:26:14 Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 13:26:15 ---> f1533206d8b9 13:26:15 Successfully built f1533206d8b9 13:26:15 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:26:16 + docker inspect -f . ci-base-image-arm64 13:26:16 . [Pipeline] withDockerContainer 13:26:16 prd-ubuntu18.04-docker-arm64-4c-16g-193 does not seem to be running inside a container 13:26:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 13:26:18 $ docker top d5c251a89025c2fd6b083e00daa084d52f1b8cb55bbdd115f0303578a3eabf4f -eo pid,comm [Pipeline] { [Pipeline] sh 13:26:19 + make test 13:26:19 echo "make test" 13:26:19 make test [Pipeline] } 13:26:19 $ docker stop --time=1 d5c251a89025c2fd6b083e00daa084d52f1b8cb55bbdd115f0303578a3eabf4f 13:26:21 $ docker rm -f d5c251a89025c2fd6b083e00daa084d52f1b8cb55bbdd115f0303578a3eabf4f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:26:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:26:22 + ls -al . 13:26:22 total 192 13:26:22 drwxrwxr-x 8 jenkins jenkins 4096 Jun 18 13:23 . 13:26:22 drwxrwxr-x 4 jenkins jenkins 4096 Jun 18 13:23 .. 13:26:22 drwxrwxr-x 8 jenkins jenkins 4096 Jun 18 13:23 .git 13:26:22 drwxrwxr-x 2 jenkins jenkins 4096 Jun 18 13:23 .github 13:26:22 -rw-rw-r-- 1 jenkins jenkins 176 Jun 18 13:23 .gitignore 13:26:22 -rw-rw-r-- 1 jenkins jenkins 3104 Jun 18 13:23 Attribution.txt 13:26:22 -rw-rw-r-- 1 jenkins jenkins 7509 Jun 18 13:23 CHANGES 13:26:22 -rw-rw-r-- 1 jenkins jenkins 108574 Jun 18 13:23 Doxyfile 13:26:22 -rw-rw-r-- 1 jenkins jenkins 784 Jun 18 13:23 Jenkinsfile 13:26:22 -rw-rw-r-- 1 jenkins jenkins 10174 Jun 18 13:23 LICENSE 13:26:22 -rw-rw-r-- 1 jenkins jenkins 444 Jun 18 13:23 Makefile 13:26:22 -rw-rw-r-- 1 jenkins jenkins 4090 Jun 18 13:23 README.md 13:26:22 -rw-rw-r-- 1 jenkins jenkins 7090 Jun 18 13:23 README.v2.md 13:26:22 -rw-rw-r-- 1 jenkins jenkins 5 Jun 18 13:19 VERSION 13:26:22 drwxrwxr-x 2 jenkins jenkins 4096 Jun 18 13:23 docs 13:26:22 drwxrwxr-x 4 jenkins jenkins 4096 Jun 18 13:23 include 13:26:22 drwxrwxr-x 2 jenkins jenkins 4096 Jun 18 13:23 scripts 13:26:22 drwxrwxr-x 4 jenkins jenkins 4096 Jun 18 13:23 src [Pipeline] isUnix [Pipeline] sh 13:26:22 + 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=e0a835ee43393a6c9f2deee4a0633e5d1334e7f4 --label arch=arm64 --label version=0.0.0 . 13:26:23 Sending build context to Docker daemon 2.621MB 13:26:23 Step 1/17 : ARG BASE=alpine:3.12 13:26:23 Step 2/17 : FROM ${BASE} 13:26:23 ---> f1533206d8b9 13:26:23 Step 3/17 : LABEL maintainer="IOTech " 13:26:23 ---> Running in 02c43b431843 13:26:24 Removing intermediate container 02c43b431843 13:26:24 ---> 9ead14a945e3 13:26: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 13:26:24 ---> Running in 2eda9d67596f 13:26:25 --2021-06-18 13:26:25-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub 13:26:25 Resolving iotech.jfrog.io... 54.74.239.58, 34.243.182.113, 54.72.115.12 13:26:25 Connecting to iotech.jfrog.io|54.74.239.58|:443... connected. 13:26:25 HTTP request sent, awaiting response... 200 OK 13:26:25 Length: 451 [application/octet-stream] 13:26:25 Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 13:26:25  13:26:25 0K       100% 17.9M=0s 13:26:25 13:26:25 2021-06-18 13:26:25 (17.9 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] 13:26:25 13:26:26 Removing intermediate container 2eda9d67596f 13:26:26 ---> e4eafb1d72f4 13:26:26 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 13:26:26 ---> Running in e6d62790a38d 13:26:29 Removing intermediate container e6d62790a38d 13:26:29 ---> 0befc9624f44 13:26:29 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 13:26:29 ---> Running in a479524bc554 13:26:30 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 13:26:31 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 13:26:31 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 13:26:32 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 13:26:32 (2/6) Installing libblkid (2.33-r0) 13:26:32 (3/6) Installing libfdisk (2.33-r0) 13:26:32 (4/6) Installing libmount (2.33-r0) 13:26:32 (5/6) Installing libsmartcols (2.33-r0) 13:26:32 (6/6) Installing util-linux-dev (2.33-r0) 13:26:32 Executing busybox-1.29.3-r10.trigger 13:26:32 OK: 287 MiB in 87 packages 13:26:34 Removing intermediate container a479524bc554 13:26:34 ---> 1f9f851cd508 13:26:34 Step 7/17 : COPY VERSION /edgex-c-sdk/ 13:26:35 ---> 76a25d7f43b2 13:26:35 Step 8/17 : COPY src /edgex-c-sdk/src/ 13:26:36 ---> 050d1d594bfc 13:26:36 Step 9/17 : COPY include /edgex-c-sdk/include/ 13:26:36 ---> b24d414bef60 13:26:36 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 13:26:37 ---> a81aa09722df 13:26:37 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 13:26:38 ---> 9d661968d0cf 13:26:38 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 13:26:38 ---> 510c8deef91a 13:26:38 Step 13/17 : WORKDIR /edgex-c-sdk 13:26:39 ---> Running in 48c85714cdce 13:26:39 Removing intermediate container 48c85714cdce 13:26:39 ---> 369ee0f51c86 13:26:39 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 13:26:39 ---> Running in 4636ff879c9c 13:26:40 Removing intermediate container 4636ff879c9c 13:26:40 ---> dc1482d34438 13:26:40 Step 15/17 : LABEL arch=arm64 13:26:40 ---> Running in 06790354c5ec 13:26:41 Removing intermediate container 06790354c5ec 13:26:41 ---> b23da108ba3e 13:26:41 Step 16/17 : LABEL git_sha=e0a835ee43393a6c9f2deee4a0633e5d1334e7f4 13:26:41 ---> Running in 2b2e11c11f77 13:26:41 Removing intermediate container 2b2e11c11f77 13:26:41 ---> 2357b531d5a8 13:26:41 Step 17/17 : LABEL version=0.0.0 13:26:41 ---> Running in 92111a87add3 13:26:42 Removing intermediate container 92111a87add3 13:26:42 ---> 4c03ad0ac75d 13:26:42 [Warning] One or more build-args [ARCH MAKE] were not consumed 13:26:42 Successfully built 4c03ad0ac75d 13:26:42 Successfully tagged device-sdk-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 13:26:44 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:26:45 ---> package-listing.sh 13:26:45 ++ facter osfamily 13:26:45 ++ tr '[:upper:]' '[:lower:]' 13:26:45 + OS_FAMILY=redhat 13:26:45 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-352 13:26:45 + START_PACKAGES=/tmp/packages_start.txt 13:26:45 + END_PACKAGES=/tmp/packages_end.txt 13:26:45 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:26:45 + PACKAGES=/tmp/packages_start.txt 13:26:45 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-352 ']' 13:26:45 + PACKAGES=/tmp/packages_end.txt 13:26:45 + case "${OS_FAMILY}" in 13:26:45 + sort 13:26:45 + rpm -qa 13:26:46 + '[' -f /tmp/packages_start.txt ']' 13:26:46 + '[' -f /tmp/packages_end.txt ']' 13:26:46 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:26:46 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-352 ']' 13:26:46 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-352/archives/ 13:26:46 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-352/archives/ [Pipeline] echo 13:26:46 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-352/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:26:46 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 13:26:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 13:26:47 13:26:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 13:26:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 13:26:47 alpine: Pulling from edgex-lftools-log-publisher 13:26:47 df20fa9351a1: Pulling fs layer 13:26:47 36b3adc4ff6f: Pulling fs layer 13:26:47 8ad3a11d3b57: Pulling fs layer 13:26:47 46f8f816bc3b: Pulling fs layer 13:26:47 93b61091891f: Pulling fs layer 13:26:47 93b9cdb0e59b: Pulling fs layer 13:26:47 5e14af77c1be: Pulling fs layer 13:26:47 01666e4c0597: Pulling fs layer 13:26:47 aa168da1d23b: Pulling fs layer 13:26:47 93b9cdb0e59b: Waiting 13:26:47 5e14af77c1be: Waiting 13:26:47 01666e4c0597: Waiting 13:26:47 aa168da1d23b: Waiting 13:26:47 46f8f816bc3b: Waiting 13:26:47 93b61091891f: Waiting 13:26:47 36b3adc4ff6f: Verifying Checksum 13:26:47 36b3adc4ff6f: Download complete 13:26:47 46f8f816bc3b: Verifying Checksum 13:26:47 46f8f816bc3b: Download complete 13:26:48 df20fa9351a1: Verifying Checksum 13:26:48 df20fa9351a1: Download complete 13:26:48 93b9cdb0e59b: Verifying Checksum 13:26:48 93b9cdb0e59b: Download complete 13:26:48 5e14af77c1be: Verifying Checksum 13:26:48 5e14af77c1be: Download complete 13:26:48 93b61091891f: Verifying Checksum 13:26:48 93b61091891f: Download complete 13:26:48 01666e4c0597: Verifying Checksum 13:26:48 01666e4c0597: Download complete 13:26:48 8ad3a11d3b57: Verifying Checksum 13:26:48 8ad3a11d3b57: Download complete 13:26:48 df20fa9351a1: Pull complete 13:26:48 36b3adc4ff6f: Pull complete 13:26:48 8ad3a11d3b57: Pull complete 13:26:48 46f8f816bc3b: Pull complete 13:26:49 93b61091891f: Pull complete 13:26:49 93b9cdb0e59b: Pull complete 13:26:49 5e14af77c1be: Pull complete 13:26:49 01666e4c0597: Pull complete 13:26:49 aa168da1d23b: Verifying Checksum 13:26:49 aa168da1d23b: Download complete 13:26:54 aa168da1d23b: Pull complete 13:26:54 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 13:26:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 13:26:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 13:26:54 prd-centos7-docker-4c-2g-191 does not seem to be running inside a container 13:26:54 $ 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-352/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-352 -v /w/workspace/edgexfoundry_device-sdk-c_PR-352:/w/workspace/edgexfoundry_device-sdk-c_PR-352:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-352@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-352@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 13:26:56 $ docker top f9a7c66c9d736a594f3fde30844af5f5e7ea01206343ca1f16d8780965bcf005 -eo pid,comm [Pipeline] { [Pipeline] sh 13:26:57 + touch /tmp/pre-build-complete [Pipeline] sh 13:26:57 + mkdir -p /var/log/sa [Pipeline] sh 13:26:57 + ls /var/log/sa-host 13:26:57 + sadf -c /var/log/sa-host/sa05 13:26:57 file_magic: OK 13:26:57 HZ: Using current value: 100 13:26:57 file_header: OK 13:26:57 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 13:26:57 Statistics: 13:26:57 Hnuu...uuuununununu...Hnuu...uuuununununu... 13:26:57 File successfully converted to sysstat format version 12.2.1 13:26:57 + sadf -c /var/log/sa-host/sa18 13:26:57 file_magic: OK 13:26:57 HZ: Using current value: 100 13:26:57 file_header: OK 13:26:57 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 13:26:57 Statistics: 13:26:57 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 13:26:57 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:26:58 provisioning config files... 13:26:58 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-352@tmp/config2965195953106184682tmp [Pipeline] { [Pipeline] echo 13:26:58 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:26:58 ---> create-netrc.sh [Pipeline] } 13:26:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:26:59 ---> python-tools-install.sh [Pipeline] echo 13:26:59 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:26:59 ---> sudo-logs.sh 13:26:59 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:26:59 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:27:00 ---> job-cost.sh 13:27:00 lf-activate-venv: SKIPPING 13:27:00 INFO: No Stack... 13:27:00 INFO: Retrieving Pricing Info for: v3-standard-2 13:27:01 INFO: Archiving Costs [Pipeline] echo 13:27:01 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:27:01 ---> logs-deploy.sh 13:27:01 lf-activate-venv: SKIPPING 13:27:01 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-352/1 13:27:01 INFO: archiving workspace using pattern(s): 13:27:02 Archives upload complete. 13:27:02 INFO: archiving logs to Nexus 13:27:03 ---> uname -a: 13:27:03 Linux prd-centos7-docker-4c-2g-191.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux 13:27:03 13:27:03 13:27:03 ---> lscpu: 13:27:03 Architecture: x86_64 13:27:03 CPU op-mode(s): 32-bit, 64-bit 13:27:03 Byte Order: Little Endian 13:27:03 Address sizes: 40 bits physical, 48 bits virtual 13:27:03 CPU(s): 2 13:27:03 On-line CPU(s) list: 0,1 13:27:03 Thread(s) per core: 1 13:27:03 Core(s) per socket: 1 13:27:03 Socket(s): 2 13:27:03 NUMA node(s): 1 13:27:03 Vendor ID: AuthenticAMD 13:27:03 CPU family: 23 13:27:03 Model: 49 13:27:03 Model name: AMD EPYC-Rome Processor 13:27:03 Stepping: 0 13:27:03 CPU MHz: 2799.998 13:27:03 BogoMIPS: 5599.99 13:27:03 Virtualization: AMD-V 13:27:03 Hypervisor vendor: KVM 13:27:03 Virtualization type: full 13:27:03 L1d cache: 64 KiB 13:27:03 L1i cache: 64 KiB 13:27:03 L2 cache: 1 MiB 13:27:03 L3 cache: 32 MiB 13:27:03 NUMA node0 CPU(s): 0,1 13:27:03 Vulnerability Itlb multihit: Not affected 13:27:03 Vulnerability L1tf: Not affected 13:27:03 Vulnerability Mds: Not affected 13:27:03 Vulnerability Meltdown: Not affected 13:27:03 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 13:27:03 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 13:27:03 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 13:27:03 Vulnerability Srbds: Not affected 13:27:03 Vulnerability Tsx async abort: Not affected 13:27:03 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 retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 arat npt nrip_save umip spec_ctrl intel_stibp 13:27:03 13:27:03 13:27:03 ---> nproc: 13:27:03 2 13:27:03 13:27:03 13:27:03 ---> df -h: 13:27:03 Filesystem Size Used Available Use% Mounted on 13:27:03 overlay 40.0G 7.6G 32.4G 19% / 13:27:03 tmpfs 64.0M 0 64.0M 0% /dev 13:27:03 tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup 13:27:03 shm 64.0M 0 64.0M 0% /dev/shm 13:27:03 /dev/vda1 40.0G 7.6G 32.4G 19% /facter-os 13:27:03 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/resolv.conf 13:27:03 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hostname 13:27:03 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hosts 13:27:03 /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/edgexfoundry_device-sdk-c_PR-352 13:27:03 /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/edgexfoundry_device-sdk-c_PR-352@tmp 13:27:03 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/sa-host 13:27:03 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/secure 13:27:03 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/auth.log 13:27:03 /dev/vda1 40.0G 7.6G 32.4G 19% /run/cloud-init/result.json 13:27:03 13:27:03 13:27:03 ---> free -m: 13:27:03 total used free shared buff/cache available 13:27:03 Mem: 7821 978 4745 0 2097 6664 13:27:03 Swap: 1023 0 1023 13:27:03 13:27:03 13:27:03 ---> ip addr: 13:27:03 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 13:27:03 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 13:27:03 inet 127.0.0.1/8 scope host lo 13:27:03 valid_lft forever preferred_lft forever 13:27:03 inet6 ::1/128 scope host 13:27:03 valid_lft forever preferred_lft forever 13:27:03 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 13:27:03 link/ether fa:16:3e:7b:1e:db brd ff:ff:ff:ff:ff:ff 13:27:03 inet 10.30.122.30/23 brd 10.30.123.255 scope global dynamic eth0 13:27:03 valid_lft 85877sec preferred_lft 85877sec 13:27:03 inet6 fe80::f816:3eff:fe7b:1edb/64 scope link 13:27:03 valid_lft forever preferred_lft forever 13:27:03 3: docker0: mtu 1500 qdisc noqueue state DOWN 13:27:03 link/ether 02:42:c8:87:bc:44 brd ff:ff:ff:ff:ff:ff 13:27:03 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 13:27:03 valid_lft forever preferred_lft forever 13:27:03 inet6 fe80::42:c8ff:fe87:bc44/64 scope link 13:27:03 valid_lft forever preferred_lft forever 13:27:03 13:27:03 13:27:03 ---> sar -b -r -n DEV: 13:27:03 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/18/21 _x86_64_ (2 CPU) 13:27:03 13:27:03 13:18:07 LINUX RESTART (2 CPU) 13:27:03 13:27:03 13:19:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 13:27:03 13:20:01 6.16 0.18 5.98 0.00 23.18 249.46 0.00 13:27:03 13:21:01 0.43 0.00 0.43 0.00 0.00 6.53 0.00 13:27:03 13:22:01 0.30 0.00 0.30 0.00 0.00 3.12 0.00 13:27:03 13:23:01 0.15 0.00 0.15 0.00 0.00 1.62 0.00 13:27:03 13:24:01 0.30 0.00 0.30 0.00 0.00 5.00 0.00 13:27:03 13:25:01 0.23 0.00 0.23 0.00 0.00 2.82 0.00 13:27:03 13:26:01 0.28 0.00 0.28 0.00 0.00 3.50 0.00 13:27:03 Average: 1.12 0.03 1.10 0.00 3.31 38.87 0.00 13:27:03 13:27:03 13:19:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 13:27:03 13:20:01 5465344 0 800872 10.00 2620 1740104 1248924 13.79 572912 1572188 20 13:27:03 13:21:01 5466836 0 799376 9.98 2620 1740108 1205736 13.31 575892 1568712 8 13:27:03 13:22:01 5466532 0 799676 9.98 2620 1740112 1205736 13.31 577224 1567368 8 13:27:03 13:23:01 5464152 0 802052 10.01 2620 1740116 1205880 13.31 577864 1569468 16 13:27:03 13:24:01 5463088 0 803108 10.03 2620 1740124 1206012 13.32 573016 1575152 16 13:27:03 13:25:01 5463700 0 802496 10.02 2620 1740124 1205736 13.31 572568 1575152 20 13:27:03 13:26:01 5463364 0 802820 10.02 2620 1740136 1205736 13.31 573292 1575152 16 13:27:03 Average: 5464717 0 801486 10.01 2620 1740118 1211966 13.38 574681 1571885 15 13:27:03 13:27:03 13:19:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 13:27:03 13:20:01 eth0 18.53 17.17 39.80 5.99 0.00 0.00 0.00 0.00 13:27:03 13:20:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:27:03 13:20:01 docker0 7.93 5.71 1.07 25.45 0.00 0.00 0.00 0.00 13:27:03 13:21:01 eth0 0.12 0.08 0.01 0.01 0.00 0.00 0.00 0.00 13:27:03 13:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:27:03 13:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:27:03 13:22:01 eth0 1.45 0.08 0.12 0.01 0.00 0.00 0.00 0.00 13:27:03 13:22:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:27:03 13:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:27:03 13:23:01 eth0 3.13 1.63 2.99 0.11 0.00 0.00 0.00 0.00 13:27:03 13:23:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:27:03 13:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:27:03 13:24:01 eth0 1.15 0.85 0.70 0.44 0.00 0.00 0.00 0.00 13:27:03 13:24:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:27:03 13:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:27:03 13:25:01 eth0 0.10 0.07 0.01 0.04 0.00 0.00 0.00 0.00 13:27:03 13:25:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:27:03 13:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:27:03 13:26:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 13:27:03 13:26:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:27:03 13:26:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:27:03 Average: eth0 3.51 2.85 6.23 0.94 0.00 0.00 0.00 0.00 13:27:03 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:27:03 Average: docker0 1.13 0.82 0.15 3.64 0.00 0.00 0.00 0.00 13:27:03 13:27:03 13:27:03 ---> sar -P ALL: 13:27:03 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/18/21 _x86_64_ (2 CPU) 13:27:03 13:27:03 13:18:07 LINUX RESTART (2 CPU) 13:27:03 13:27:03 13:19:01 CPU %user %nice %system %iowait %steal %idle 13:27:03 13:20:01 all 1.14 0.00 0.49 0.07 0.03 98.26 13:27:03 13:20:01 0 1.29 0.00 0.54 0.07 0.03 98.07 13:27:03 13:20:01 1 0.99 0.00 0.45 0.07 0.03 98.46 13:27:03 13:21:01 all 0.16 0.00 0.05 0.00 0.03 99.77 13:27:03 13:21:01 0 0.07 0.00 0.07 0.00 0.03 99.83 13:27:03 13:21:01 1 0.25 0.00 0.03 0.00 0.02 99.70 13:27:03 13:22:01 all 0.15 0.00 0.07 0.00 0.02 99.77 13:27:03 13:22:01 0 0.25 0.00 0.05 0.00 0.02 99.68 13:27:03 13:22:01 1 0.05 0.00 0.08 0.00 0.02 99.85 13:27:03 13:23:01 all 0.14 0.00 0.04 0.00 0.03 99.79 13:27:03 13:23:01 0 0.18 0.00 0.03 0.00 0.03 99.75 13:27:03 13:23:01 1 0.10 0.00 0.05 0.00 0.02 99.83 13:27:03 13:24:01 all 0.10 0.00 0.03 0.00 0.03 99.84 13:27:03 13:24:01 0 0.12 0.00 0.05 0.00 0.02 99.82 13:27:03 13:24:01 1 0.08 0.00 0.02 0.00 0.03 99.87 13:27:03 13:25:01 all 0.11 0.00 0.03 0.00 0.03 99.84 13:27:03 13:25:01 0 0.18 0.00 0.03 0.00 0.03 99.75 13:27:03 13:25:01 1 0.03 0.00 0.02 0.00 0.02 99.93 13:27:03 13:26:01 all 0.08 0.00 0.05 0.00 0.03 99.85 13:27:03 13:26:01 0 0.05 0.00 0.07 0.00 0.03 99.85 13:27:03 13:26:01 1 0.10 0.00 0.03 0.00 0.02 99.85 13:27:03 Average: all 0.27 0.00 0.11 0.01 0.03 99.59 13:27:03 Average: 0 0.31 0.00 0.12 0.01 0.03 99.54 13:27:03 Average: 1 0.23 0.00 0.10 0.01 0.02 99.64 13:27:03 13:27:03 13:27:03