Pull request #352 updated 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 f19e730fe879e245449f2602bca344251008ec84+e4f1d4fe6d671b9129336b96db7cc10a253047cb (ee94489f7e7a9a8fa2c60636abd54eb585ce09b3) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6307004882863133536.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-ssh3051477706180576387.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-352/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > 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-ssh4199140151250011219.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 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-ssh6487853417265301957.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-352/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > 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-ssh2272504927668601556.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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-197 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-ssh7342635181106295644.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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-ssh3459170421365123578.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 Merging remotes/origin/master commit e4f1d4fe6d671b9129336b96db7cc10a253047cb into PR head commit f19e730fe879e245449f2602bca344251008ec84 Merge succeeded, producing f19e730fe879e245449f2602bca344251008ec84 Checking out Revision f19e730fe879e245449f2602bca344251008ec84 (PR-352) > git config core.sparsecheckout # timeout=10 > git checkout -f f19e730fe879e245449f2602bca344251008ec84 # 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-ssh3092994407106592750.key > git merge e4f1d4fe6d671b9129336b96db7cc10a253047cb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f19e730fe879e245449f2602bca344251008ec84 # timeout=10 Commit message: "fix: allow for non-string attributes" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:07:59 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk e0a835ee43393a6c9f2deee4a0633e5d1334e7f4 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:07:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:07:59 ========================================================= 14:07:59 EdgeX Global Pipelines Version Info 14:07:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:08:01 ------------------- 14:08:01 stable info: 14:08:01 ------------------- 14:08:01 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:08:01 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 14:08:01 Message: update stable to v1.0.195 14:08:01 ------------------- 14:08:01 experimental info: 14:08:01 ------------------- 14:08:01 Commited By: **** collab-it+edgex@linuxfoundation.org 14:08:01 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 14:08:01 Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:08:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 14:08:01 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 14:08:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:08:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:08:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:08:01 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo 14:08:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 14:08:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 14:08:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:08:02 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 14:08:02 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:08:02 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:08:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:08:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 14:08:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:08:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 14:08:02 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:08:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-352 [Pipeline] echo 14:08:02 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-352 [Pipeline] echo 14:08:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-352 [Pipeline] echo 14:08:02 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f19e730fe879e245449f2602bca344251008ec84 [Pipeline] echo 14:08:02 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f19e730 [Pipeline] echo 14:08:02 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:08:02 provisioning config files... 14:08:02 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-352@tmp/config4007115856174611033tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:08:02 ---> docker-login.sh 14:08:02 nexus3.edgexfoundry.org:10001 14:08:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:08:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:08:03 Configure a credential helper to remove this warning. See 14:08:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:08:03 14:08:03 Login Succeeded 14:08:03 nexus3.edgexfoundry.org:10002 14:08:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:08:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:08:03 Configure a credential helper to remove this warning. See 14:08:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:08:03 14:08:03 Login Succeeded 14:08:03 nexus3.edgexfoundry.org:10003 14:08:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:08:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:08:03 Configure a credential helper to remove this warning. See 14:08:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:08:03 14:08:03 Login Succeeded 14:08:03 nexus3.edgexfoundry.org:10004 14:08:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:08:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:08:03 Configure a credential helper to remove this warning. See 14:08:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:08:03 14:08:03 Login Succeeded 14:08:03 docker.io 14:08:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:08:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:08:03 Configure a credential helper to remove this warning. See 14:08:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:08:03 14:08:03 Login Succeeded 14:08:03 ---> docker-login.sh ends [Pipeline] } 14:08:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 14:08:05 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:08:05 14:08:05 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 14:08:05 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:08:05 latest: Pulling from edgex-devops/git-semver 14:08:05 31603596830f: Pulling fs layer 14:08:05 54011a49482f: Pulling fs layer 14:08:05 a6820b24f6d8: Pulling fs layer 14:08:05 f581987b2513: Pulling fs layer 14:08:05 f581987b2513: Waiting 14:08:05 54011a49482f: Verifying Checksum 14:08:05 54011a49482f: Download complete 14:08:06 31603596830f: Verifying Checksum 14:08:06 31603596830f: Download complete 14:08:06 f581987b2513: Verifying Checksum 14:08:06 f581987b2513: Download complete 14:08:06 a6820b24f6d8: Verifying Checksum 14:08:06 a6820b24f6d8: Download complete 14:08:06 31603596830f: Pull complete 14:08:06 54011a49482f: Pull complete 14:08:07 a6820b24f6d8: Pull complete 14:08:07 f581987b2513: Pull complete 14:08:07 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 14:08:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:08:07 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 14:08:07 prd-centos7-docker-4c-2g-197 does not seem to be running inside a container 14:08:07 $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 14:08:08 $ docker top d9abe56e3c301d0d542493fe1355c988f9834c266dbef737d350eb06240abef9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:08:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:08:08 [ssh-agent] Looking for ssh-agent implementation... 14:08:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:08:08 $ docker exec d9abe56e3c301d0d542493fe1355c988f9834c266dbef737d350eb06240abef9 ssh-agent 14:08:08 SSH_AUTH_SOCK=/tmp/ssh-n6HCYcdgp5pv/agent.14 14:08:08 SSH_AGENT_PID=20 14:08:08 Running ssh-add (command line suppressed) 14:08:08 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-352@tmp/private_key_2831742137879325701.key (/w/workspace/edgexfoundry_device-sdk-c_PR-352@tmp/private_key_2831742137879325701.key) 14:08:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:08:09 + git tag --points-at HEAD [Pipeline] } 14:08:09 $ docker exec --env ******** --env ******** d9abe56e3c301d0d542493fe1355c988f9834c266dbef737d350eb06240abef9 ssh-agent -k 14:08:09 unset SSH_AUTH_SOCK; 14:08:09 unset SSH_AGENT_PID; 14:08:09 echo Agent pid 20 killed; 14:08:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:08:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:08:09 [ssh-agent] Looking for ssh-agent implementation... 14:08:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:08:09 $ docker exec d9abe56e3c301d0d542493fe1355c988f9834c266dbef737d350eb06240abef9 ssh-agent 14:08:09 SSH_AUTH_SOCK=/tmp/ssh-WmZ6AKRNTmNu/agent.53 14:08:09 SSH_AGENT_PID=59 14:08:09 Running ssh-add (command line suppressed) 14:08:09 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-352@tmp/private_key_4867512567630655306.key (/w/workspace/edgexfoundry_device-sdk-c_PR-352@tmp/private_key_4867512567630655306.key) 14:08:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:08:10 + git semver init 14:08:10 # -> Open(): unable to determine branch for HEAD 14:08:10 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-352/.git 14:08:10 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-352 14:08:10 # $SEMVER_REMOTE_NAME = origin 14:08:10 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:08:10 # $SEMVER_USER_NAME = edgex-jenkins 14:08:10 # $SEMVER_BRANCH = PR-352 14:08:10 # $SEMVER_TEMP = /tmp/semver-826327547 14:08:10 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 14:08:10 # '/tmp/semver-826327547' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-352/.semver' 14:08:10 # -> Force: false 14:08:10 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-352/.semver [Pipeline] } 14:08:10 $ docker exec --env ******** --env ******** d9abe56e3c301d0d542493fe1355c988f9834c266dbef737d350eb06240abef9 ssh-agent -k 14:08:10 unset SSH_AUTH_SOCK; 14:08:10 unset SSH_AGENT_PID; 14:08:10 echo Agent pid 59 killed; 14:08:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:08:11 + git semver [Pipeline] } 14:08:11 $ docker stop --time=1 d9abe56e3c301d0d542493fe1355c988f9834c266dbef737d350eb06240abef9 14:08:12 $ docker rm -f d9abe56e3c301d0d542493fe1355c988f9834c266dbef737d350eb06240abef9 [Pipeline] // withDockerContainer [Pipeline] sh 14:08:12 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:08:12 Stashed 1 file(s) [Pipeline] echo 14:08:12 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 14:08:28 Still waiting to schedule task 14:08:28 Waiting for next available executor on ‘centos7-docker-4c-2g’ 14:08:28 Still waiting to schedule task 14:08:28 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-195’ 14:11:12 Running on prd-centos7-docker-4c-2g-198 in /w/workspace/edgexfoundry_device-sdk-c_PR-352 [Pipeline] { [Pipeline] ws 14:11:12 Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout 14:11:12 Selected Git installation does not exist. Using Default 14:11:12 The recommended git tool is: NONE 14:11:15 using credential edgex-jenkins-ssh 14:11:15 Cloning the remote Git repository 14:11:15 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 14:11:15 > git init /w/workspace/device-sdk-c/2 # timeout=10 14:11:15 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 14:11:15 > git --version # timeout=10 14:11:15 > git --version # 'git version 2.24.4' 14:11:15 using GIT_SSH to set credentials SSH Credentials for GitHub 14:11:15 [INFO] Currently running in a labeled security context 14:11:15 [INFO] Currently SELinux is 'enforcing' on the host 14:11:15 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/2@tmp/jenkins-gitclient-ssh8927718458400315852.key 14:11:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:11:16 Merging remotes/origin/master commit e4f1d4fe6d671b9129336b96db7cc10a253047cb into PR head commit f19e730fe879e245449f2602bca344251008ec84 14:11:16 Merge succeeded, producing f19e730fe879e245449f2602bca344251008ec84 14:11:16 Checking out Revision f19e730fe879e245449f2602bca344251008ec84 (PR-352) 14:11:16 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 14:11:16 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:11:16 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 14:11:16 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 14:11:16 using GIT_SSH to set credentials SSH Credentials for GitHub 14:11:16 [INFO] Currently running in a labeled security context 14:11:16 [INFO] Currently SELinux is 'enforcing' on the host 14:11:16 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/2@tmp/jenkins-gitclient-ssh1375176042394053831.key 14:11:16 > 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 14:11:16 > git config core.sparsecheckout # timeout=10 14:11:16 > git checkout -f f19e730fe879e245449f2602bca344251008ec84 # timeout=10 14:11:16 > git remote # timeout=10 14:11:16 > git config --get remote.origin.url # timeout=10 14:11:16 using GIT_SSH to set credentials SSH Credentials for GitHub 14:11:16 [INFO] Currently running in a labeled security context 14:11:16 [INFO] Currently SELinux is 'enforcing' on the host 14:11:16 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/2@tmp/jenkins-gitclient-ssh522249184411446361.key 14:11:16 > git merge e4f1d4fe6d671b9129336b96db7cc10a253047cb # timeout=10 14:11:16 > git rev-parse HEAD^{commit} # timeout=10 14:11:16 > git config core.sparsecheckout # timeout=10 14:11:16 > git checkout -f f19e730fe879e245449f2602bca344251008ec84 # timeout=10 14:11:20 Commit message: "fix: allow for non-string attributes" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:11:21 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 14:11:22 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 14:11:22 + sudo service docker restart 14:11:22 + true 14:11:22 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:11:40 provisioning config files... 14:11:40 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/2@tmp/config6692556760780590647tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:11:40 ---> docker-login.sh 14:11:40 nexus3.edgexfoundry.org:10001 14:11:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:11:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:11:41 Configure a credential helper to remove this warning. See 14:11:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:11:41 14:11:41 Login Succeeded 14:11:41 nexus3.edgexfoundry.org:10002 14:11:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:11:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:11:41 Configure a credential helper to remove this warning. See 14:11:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:11:41 14:11:41 Login Succeeded 14:11:41 nexus3.edgexfoundry.org:10003 14:11:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:11:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:11:42 Configure a credential helper to remove this warning. See 14:11:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:11:42 14:11:42 Login Succeeded 14:11:42 nexus3.edgexfoundry.org:10004 14:11:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:11:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:11:42 Configure a credential helper to remove this warning. See 14:11:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:11:42 14:11:42 Login Succeeded 14:11:42 docker.io 14:11:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:11:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:11:42 Configure a credential helper to remove this warning. See 14:11:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:11:42 14:11:42 Login Succeeded 14:11:42 ---> docker-login.sh ends [Pipeline] } 14:11:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:11:42 ========================================================= 14:11:42 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 14:11:42 ========================================================= [Pipeline] isUnix [Pipeline] sh 14:11:43 + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . 14:11:43 Sending build context to Docker daemon 2.621MB 14:11:43 Step 1/25 : ARG BASE=alpine:3.12 14:11:43 Step 2/25 : FROM ${BASE} as builder 14:11:43 latest: Pulling from edgex-devops/edgex-gcc-base 14:11:43 e7c96db7181b: Pulling fs layer 14:11:43 4c13bbce0fe7: Pulling fs layer 14:11:43 6059c847ac2f: Pulling fs layer 14:11:43 4c13bbce0fe7: Verifying Checksum 14:11:43 4c13bbce0fe7: Download complete 14:11:43 e7c96db7181b: Verifying Checksum 14:11:43 e7c96db7181b: Download complete 14:11:43 e7c96db7181b: Pull complete 14:11:43 4c13bbce0fe7: Pull complete 14:11:44 6059c847ac2f: Verifying Checksum 14:11:44 6059c847ac2f: Download complete 14:11:48 6059c847ac2f: Pull complete 14:11:48 Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e 14:11:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 14:11:48 ---> 5eabd8fd8ba2 14:11:48 Step 3/25 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub 14:11:50 ---> Running in 735c055eb784 14:11:50 Connecting to iotech.jfrog.io (54.72.115.12:443) 14:11:51 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 14:11:51 14:11:51 Removing intermediate container 735c055eb784 14:11:51 ---> daf3ea538f1c 14:11:51 Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 14:11:51 ---> Running in e62e6f2d079c 14:11:52 Removing intermediate container e62e6f2d079c 14:11:52 ---> 73d932cf5f5b 14:11: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 14:11:52 ---> Running in 2cad99040cbf 14:11:52 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 14:11:53 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 14:11:53 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 14:11:53 (1/11) Installing hiredis (0.14.0-r0) 14:11:54 (2/11) Installing hiredis-dev (0.14.0-r0) 14:11:54 (3/11) Installing ncurses-dev (6.1_p20190105-r0) 14:11:54 (4/11) Installing paho-mqtt-c-dev (1.3.5-r0) 14:11:55 (5/11) Installing libuuid (2.33-r0) 14:11:55 (6/11) Installing libblkid (2.33-r0) 14:11:55 (7/11) Installing libfdisk (2.33-r0) 14:11:55 (8/11) Installing libmount (2.33-r0) 14:11:55 (9/11) Installing libsmartcols (2.33-r0) 14:11:55 (10/11) Installing util-linux-dev (2.33-r0) 14:11:56 (11/11) Installing wget (1.20.3-r0) 14:11:56 Executing busybox-1.29.3-r10.trigger 14:11:56 OK: 273 MiB in 86 packages 14:11:56 Removing intermediate container 2cad99040cbf 14:11:56 ---> 0bd5191f5876 14:11:56 Step 6/25 : ENV CBOR_VERSION=0.5.0 14:11:56 ---> Running in aaf4c3748a4d 14:11:57 Removing intermediate container aaf4c3748a4d 14:11:57 ---> bc9aad01f1df 14:11:57 Step 7/25 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install 14:11:57 ---> Running in 716098115a9d 14:11:57 --2021-06-18 14:11:57-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 14:11:57 Resolving github.com... 140.82.114.3 14:11:57 Connecting to github.com|140.82.114.3|:443... connected. 14:11:57 HTTP request sent, awaiting response... 302 Found 14:11:57 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 14:11:57 --2021-06-18 14:11:57-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 14:11:57 Resolving codeload.github.com... 140.82.114.10 14:11:57 Connecting to codeload.github.com|140.82.114.10|:443... connected. 14:11:57 HTTP request sent, awaiting response... 200 OK 14:11:57 Length: unspecified [application/x-gzip] 14:11:57 Saving to: 'STDOUT' 14:11:57 14:11:57 0K .......... .......... .......... .......... .......... 1.62M 14:11:57 50K .......... .......... .......... .......... .......... 3.30M 14:11:57 100K .......... .......... .......... .......... .......... 20.4M 14:11:57 150K .......... .......... .......... .......... .......... 25.6M 14:11:57 200K .......... .......... .......... .......... .......... 3.68M 14:11:57 250K .......... .......... .......... .......... .......... 10.1M 14:11:57 300K .......... .......... .......... .......... .......... 11.4M 14:11:57 350K .......... .......... .......... .......... .......... 11.2M 14:11:57 400K .......... .......... .......... .......... .......... 16.2M 14:11:57 450K .......... .......... .......... .......... .......... 13.6M 14:11:57 500K .......... .......... .......... .......... .......... 83.1M 14:11:57 550K .......... .......... .......... .......... .......... 11.2M 14:11:57 600K .......... .......... .......... .......... .......... 3.59M 14:11:57 650K .......... .......... .......... .......... .......... 5.97M 14:11:57 700K .. 101M=0.1s 14:11:57 14:11:57 2021-06-18 14:11:57 (6.28 MB/s) - written to stdout [719348] 14:11:57 14:11:57 -- The C compiler identification is GNU 8.3.0 14:11:57 -- The CXX compiler identification is GNU 8.3.0 14:11:57 -- Check for working C compiler: /usr/bin/cc 14:11:57 -- Check for working C compiler: /usr/bin/cc -- works 14:11:57 -- Detecting C compiler ABI info 14:11:58 -- Detecting C compiler ABI info - done 14:11:58 -- Detecting C compile features 14:11:58 -- Detecting C compile features - done 14:11:58 -- Check for working CXX compiler: /usr/bin/c++ 14:11:58 -- Check for working CXX compiler: /usr/bin/c++ -- works 14:11:58 -- Detecting CXX compiler ABI info 14:11:58 -- Detecting CXX compiler ABI info - done 14:11:58 -- Detecting CXX compile features 14:11:58 -- Detecting CXX compile features - done 14:11:58 -- Looking for include file endian.h 14:11:58 -- Looking for include file endian.h - found 14:11:58 -- Check if the system is big endian 14:11:58 -- Searching 16 bit integer 14:11:58 -- Looking for sys/types.h 14:11:58 -- Looking for sys/types.h - found 14:11:58 -- Looking for stdint.h 14:11:58 -- Looking for stdint.h - found 14:11:58 -- Looking for stddef.h 14:11:59 -- Looking for stddef.h - found 14:11:59 -- Check size of unsigned short 14:11:59 -- Check size of unsigned short - done 14:11:59 -- Using unsigned short 14:11:59 -- Check if the system is big endian - little endian 14:11:59 -- Check size of size_t 14:11:59 -- Check size of size_t - done 14:11:59 CMake Warning at examples/CMakeLists.txt:16 (find_package): 14:11:59 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 14:11:59 asked CMake to find a package configuration file provided by "cJSON", but 14:11:59 CMake did not find one. 14:11:59 14:11:59 Could not find a package configuration file provided by "cJSON" with any of 14:11:59 the following names: 14:11:59 14:11:59 cJSONConfig.cmake 14:11:59 cjson-config.cmake 14:11:59 14:11:59 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 14:11:59 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 14:11:59 provides a separate development package or SDK, be sure it has been 14:11:59 installed. 14:11:59 14:11:59 14:11:59 -- Configuring done 14:11:59 -- Generating done 14:11:59 -- Build files have been written to: /tmp/cbor 14:11:59 Scanning dependencies of target cbor_shared 14:11:59 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 14:11:59 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 14:11:59 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 14:11:59 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 14:11:59 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 14:12:00 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 14:12:00 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 14:12:00 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 14:12:00 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 14:12:00 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 14:12:00 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 14:12:00 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 14:12:00 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 14:12:00 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 14:12:00 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 14:12:00 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 14:12:00 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 14:12:00 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 14:12:00 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 14:12:00 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 14:12:00 [ 40%] Linking C shared library libcbor.so 14:12:00 [ 40%] Built target cbor_shared 14:12:01 Scanning dependencies of target cbor 14:12:01 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 14:12:01 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 14:12:01 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 14:12:01 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 14:12:01 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 14:12:01 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 14:12:01 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 14:12:01 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 14:12:01 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 14:12:01 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 14:12:01 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 14:12:01 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 14:12:02 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 14:12:02 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 14:12:02 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 14:12:02 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 14:12:02 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 14:12:02 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 14:12:02 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 14:12:02 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 14:12:02 [ 80%] Linking C static library libcbor.a 14:12:02 [ 80%] Built target cbor 14:12:02 Scanning dependencies of target create_items 14:12:02 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 14:12:02 [ 84%] Linking C executable create_items 14:12:02 [ 84%] Built target create_items 14:12:02 Scanning dependencies of target readfile 14:12:02 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 14:12:02 [ 88%] Linking C executable readfile 14:12:02 [ 88%] Built target readfile 14:12:02 Scanning dependencies of target streaming_parser 14:12:02 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 14:12:02 [ 92%] Linking C executable streaming_parser 14:12:02 [ 92%] Built target streaming_parser 14:12:02 Scanning dependencies of target sort 14:12:02 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 14:12:02 [ 96%] Linking C executable sort 14:12:02 [ 96%] Built target sort 14:12:02 Scanning dependencies of target hello 14:12:02 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 14:12:02 [100%] Linking C executable hello 14:12:02 [100%] Built target hello 14:12:02 Install the project... 14:12:02 -- Install configuration: "Release" 14:12:02 -- Installing: /usr/local/include/cbor/configuration.h 14:12:02 -- Installing: /usr/local/lib64/libcbor.a 14:12:02 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 14:12:02 -- Installing: /usr/local/lib64/libcbor.so.0 14:12:02 -- Installing: /usr/local/lib64/libcbor.so 14:12:02 -- Up-to-date: /usr/local/include/cbor 14:12:02 -- Installing: /usr/local/include/cbor/arrays.h 14:12:02 -- Installing: /usr/local/include/cbor/bytestrings.h 14:12:02 -- Installing: /usr/local/include/cbor/callbacks.h 14:12:02 -- Installing: /usr/local/include/cbor/common.h 14:12:02 -- Installing: /usr/local/include/cbor/data.h 14:12:02 -- Installing: /usr/local/include/cbor/encoding.h 14:12:02 -- Installing: /usr/local/include/cbor/floats_ctrls.h 14:12:02 -- Installing: /usr/local/include/cbor/internal 14:12:02 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 14:12:02 -- Installing: /usr/local/include/cbor/internal/encoders.h 14:12:02 -- Installing: /usr/local/include/cbor/internal/loaders.h 14:12:02 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 14:12:02 -- Installing: /usr/local/include/cbor/internal/stack.h 14:12:02 -- Installing: /usr/local/include/cbor/internal/unicode.h 14:12:02 -- Installing: /usr/local/include/cbor/ints.h 14:12:02 -- Installing: /usr/local/include/cbor/maps.h 14:12:02 -- Installing: /usr/local/include/cbor/serialization.h 14:12:02 -- Installing: /usr/local/include/cbor/streaming.h 14:12:02 -- Installing: /usr/local/include/cbor/strings.h 14:12:02 -- Installing: /usr/local/include/cbor/tags.h 14:12:02 -- Installing: /usr/local/include/cbor.h 14:12:02 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 14:12:03 Removing intermediate container 716098115a9d 14:12:03 ---> 4ba4caf9003a 14:12:03 Step 8/25 : RUN mkdir /tmp/sdk 14:12:03 ---> Running in e83c4797fdab 14:12:04 Removing intermediate container e83c4797fdab 14:12:04 ---> 6cbcdc18b1bd 14:12:04 Step 9/25 : COPY VERSION /tmp/sdk 14:12:04 ---> 8ddce316e4fb 14:12:04 Step 10/25 : COPY src /tmp/sdk/src 14:12:04 ---> e8cb9552efd3 14:12:04 Step 11/25 : COPY include /tmp/sdk/include 14:12:04 ---> 04689695f907 14:12:04 Step 12/25 : COPY scripts /tmp/sdk/scripts 14:12:04 ---> f24d86891513 14:12:04 Step 13/25 : COPY LICENSE /tmp/sdk 14:12:05 ---> 4601cc39402a 14:12:05 Step 14/25 : COPY Attribution.txt /tmp/sdk 14:12:05 ---> d312902731c6 14:12:05 Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 14:12:05 ---> Running in 0d58f067cf0f 14:12:05 + CPPCHECK=false 14:12:05 + DOCGEN=false 14:12:05 + TOMLVER=SDK-0.2 14:12:05 + CUTILVER=1.1.4 14:12:05 + '[' 0 -gt 0 ] 14:12:05 + readlink -f ./scripts/build.sh 14:12:05 + dirname /tmp/sdk/scripts/build.sh 14:12:05 + dirname /tmp/sdk/scripts 14:12:05 + ROOT=/tmp/sdk 14:12:05 + cd /tmp/sdk 14:12:05 + '[' '!' -d deps ] 14:12:05 + mkdir deps 14:12:05 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 14:12:05 --2021-06-18 14:12:05-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 14:12:05 + tar -C deps -z -x -f - 14:12:05 Resolving github.com... 140.82.114.3 14:12:05 Connecting to github.com|140.82.114.3|:443... connected. 14:12:05 HTTP request sent, awaiting response... 302 Found 14:12:05 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 14:12:05 --2021-06-18 14:12:05-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 14:12:05 Resolving codeload.github.com... 140.82.114.10 14:12:05 Connecting to codeload.github.com|140.82.114.10|:443... connected. 14:12:05 HTTP request sent, awaiting response... 200 OK 14:12:05 Length: unspecified [application/x-gzip] 14:12:05 Saving to: 'STDOUT' 14:12:05  14:12:06 0K .......... ...... 979K=0.02s 14:12:06 14:12:06 2021-06-18 14:12:05 (979 KB/s) - written to stdout [16451] 14:12:06 14:12:06 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 14:12:06 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 14:12:06 + tar -C deps -z -x -f - 14:12:06 --2021-06-18 14:12:05-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 14:12:06 Resolving github.com... 140.82.114.3 14:12:06 Connecting to github.com|140.82.114.3|:443... connected. 14:12:06 HTTP request sent, awaiting response... 302 Found 14:12:06 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] 14:12:06 --2021-06-18 14:12:05-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 14:12:06 Resolving codeload.github.com... 140.82.114.10 14:12:06 Connecting to codeload.github.com|140.82.114.10|:443... connected. 14:12:06 HTTP request sent, awaiting response... 200 OK 14:12:06 Length: unspecified [application/x-gzip] 14:12:06 Saving to: 'STDOUT' 14:12:06 14:12:06 0K .......... .......... .......... .......... .......... 1.62M 14:12:06 50K .......... .......... .......... .......... .......... 3.05M 14:12:06 100K .......... .......... .......... .......... .......... 46.2M 14:12:06 150K .......... .......... ....... 4.62M=0.05s 14:12:06 14:12:06 2021-06-18 14:12:06 (3.28 MB/s) - written to stdout [181796] 14:12:06 14:12:06 + mkdir -p src/c/iot 14:12:06 + cp deps/iotech-c-utils-1.1.4/src/c/base64.c deps/iotech-c-utils-1.1.4/src/c/component.c deps/iotech-c-utils-1.1.4/src/c/config.c deps/iotech-c-utils-1.1.4/src/c/container.c deps/iotech-c-utils-1.1.4/src/c/data.c deps/iotech-c-utils-1.1.4/src/c/hash.c deps/iotech-c-utils-1.1.4/src/c/iot.c deps/iotech-c-utils-1.1.4/src/c/json.c deps/iotech-c-utils-1.1.4/src/c/logger.c deps/iotech-c-utils-1.1.4/src/c/os.c deps/iotech-c-utils-1.1.4/src/c/scheduler.c deps/iotech-c-utils-1.1.4/src/c/thread.c deps/iotech-c-utils-1.1.4/src/c/threadpool.c deps/iotech-c-utils-1.1.4/src/c/time.c deps/iotech-c-utils-1.1.4/src/c/yxml.c src/c/iot 14:12:06 + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot 14:12:06 + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot 14:12:06 + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot 14:12:06 + mkdir -p include/iot 14:12:06 + cp deps/iotech-c-utils-1.1.4/include/iot/base64.h deps/iotech-c-utils-1.1.4/include/iot/component.h deps/iotech-c-utils-1.1.4/include/iot/config.h deps/iotech-c-utils-1.1.4/include/iot/container.h deps/iotech-c-utils-1.1.4/include/iot/data.h deps/iotech-c-utils-1.1.4/include/iot/hash.h deps/iotech-c-utils-1.1.4/include/iot/iot.h deps/iotech-c-utils-1.1.4/include/iot/json.h deps/iotech-c-utils-1.1.4/include/iot/logger.h deps/iotech-c-utils-1.1.4/include/iot/os.h deps/iotech-c-utils-1.1.4/include/iot/scheduler.h deps/iotech-c-utils-1.1.4/include/iot/thread.h deps/iotech-c-utils-1.1.4/include/iot/threadpool.h deps/iotech-c-utils-1.1.4/include/iot/time.h deps/iotech-c-utils-1.1.4/include/iot/typecode.h include/iot 14:12:06 + mkdir -p include/iot/os 14:12:06 + cp deps/iotech-c-utils-1.1.4/include/iot/os/linux.h deps/iotech-c-utils-1.1.4/include/iot/os/macos.h deps/iotech-c-utils-1.1.4/include/iot/os/zephyr.h include/iot/os 14:12:06 + mkdir -p /tmp/sdk/build/release 14:12:06 + cd /tmp/sdk/build/release 14:12:06 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 14:12:06 -- The C compiler identification is GNU 8.3.0 14:12:06 -- Check for working C compiler: /usr/bin/cc 14:12:06 -- Check for working C compiler: /usr/bin/cc -- works 14:12:06 -- Detecting C compiler ABI info 14:12:06 -- Detecting C compiler ABI info - done 14:12:06 -- Detecting C compile features 14:12:06 -- Detecting C compile features - done 14:12:06 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:12:06 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 14:12:06 -- Found LIBYAML: /usr/lib/libyaml.so 14:12:06 -- Found LIBUUID: /usr/lib/libuuid.so 14:12:06 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 14:12:06 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 14:12:06 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 14:12:06 -- C SDK 0.0.0 for Linux 14:12:06 -- Performing Test CSDK_HAVE_ATOMIC 14:12:06 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:12:06 -- Found Curses: /usr/lib/libcurses.so 14:12:06 -- Configuring done 14:12:06 -- Generating done 14:12:06 -- Build files have been written to: /tmp/sdk/build/release 14:12:06 + make all package 14:12:06 + tee release.log 14:12:06 Scanning dependencies of target csdk 14:12:06 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:12:07 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 14:12:07 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:12:07 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:12:07 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:12:07 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 14:12:07 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 14:12:07 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 14:12:07 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:12:08 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:12:08 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:12:08 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:12:08 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:12:08 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:12:08 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 14:12:08 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:12:08 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:12:09 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 14:12:09 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 14:12:09 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 14:12:09 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 14:12:09 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 14:12:09 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 14:12:10 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 14:12:10 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 14:12:10 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 14:12:10 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 14:12:10 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 14:12:10 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 14:12:10 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 14:12:10 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 14:12:10 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 14:12:11 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 14:12:11 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:12:11 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:12:11 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 14:12:11 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:12:12 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:12:12 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:12:12 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 14:12:12 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:12:12 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:12:13 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:12:13 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 14:12:14 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:12:14 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:12:14 [ 74%] Linking C shared library libcsdk.so 14:12:14 [ 74%] Built target csdk 14:12:14 Scanning dependencies of target template 14:12:14 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:12:14 [ 77%] Linking C executable template 14:12:14 [ 77%] Built target template 14:12:14 Scanning dependencies of target device-counter 14:12:14 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:12:14 [ 80%] Linking C executable device-counter 14:12:14 [ 80%] Built target device-counter 14:12:14 Scanning dependencies of target device-random 14:12:14 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:12:14 [ 84%] Linking C executable device-random 14:12:14 [ 84%] Built target device-random 14:12:14 Scanning dependencies of target device-gyro 14:12:14 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:12:15 [ 87%] Linking C executable device-gyro 14:12:15 [ 87%] Built target device-gyro 14:12:15 Scanning dependencies of target device-bitfields 14:12:15 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 14:12:15 [ 90%] Linking C executable device-bitfields 14:12:15 [ 90%] Built target device-bitfields 14:12:15 Scanning dependencies of target template-discovery 14:12:15 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:12:15 [ 93%] Linking C executable template-discovery 14:12:15 [ 93%] Built target template-discovery 14:12:15 Scanning dependencies of target device-file 14:12:15 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 14:12:15 [ 96%] Linking C executable device-file 14:12:15 [ 96%] Built target device-file 14:12:15 Scanning dependencies of target device-terminal 14:12:15 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:12:15 [100%] Linking C executable device-terminal 14:12:15 [100%] Built target device-terminal 14:12:15 Run CPack packaging tool... 14:12:15 CPack: Create package using TGZ 14:12:15 CPack: Install projects 14:12:15 CPack: - Run preinstall target for: Csdk 14:12:15 CPack: - Install project: Csdk 14:12:15 CPack: Create package 14:12:15 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 14:12:15 + '[' false '=' true ] 14:12:15 + '[' false '=' true ] 14:12:15 + mkdir -p /tmp/sdk/build/debug 14:12:15 + cd /tmp/sdk/build/debug 14:12:15 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 14:12:16 -- The C compiler identification is GNU 8.3.0 14:12:16 -- Check for working C compiler: /usr/bin/cc 14:12:16 -- Check for working C compiler: /usr/bin/cc -- works 14:12:16 -- Detecting C compiler ABI info 14:12:16 -- Detecting C compiler ABI info - done 14:12:16 -- Detecting C compile features 14:12:16 -- Detecting C compile features - done 14:12:16 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:12:16 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 14:12:16 -- Found LIBYAML: /usr/lib/libyaml.so 14:12:16 -- Found LIBUUID: /usr/lib/libuuid.so 14:12:16 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 14:12:16 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 14:12:16 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 14:12:16 -- C SDK 0.0.0 for Linux 14:12:16 -- Performing Test CSDK_HAVE_ATOMIC 14:12:16 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:12:16 -- Found Curses: /usr/lib/libcurses.so 14:12:16 -- Configuring done 14:12:16 -- Generating done 14:12:16 -- Build files have been written to: /tmp/sdk/build/debug 14:12:16 + make 14:12:16 + tee debug.log 14:12:16 Scanning dependencies of target csdk 14:12:16 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:12:16 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 14:12:16 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:12:16 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:12:16 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:12:16 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 14:12:17 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 14:12:17 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 14:12:17 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:12:17 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:12:17 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:12:17 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:12:17 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:12:17 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:12:17 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 14:12:17 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:12:17 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:12:17 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 14:12:17 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 14:12:17 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 14:12:17 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 14:12:17 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 14:12:18 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 14:12:18 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 14:12:18 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 14:12:18 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 14:12:18 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 14:12:18 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 14:12:18 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 14:12:18 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 14:12:18 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 14:12:18 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 14:12:18 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 14:12:19 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:12:19 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:12:19 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 14:12:19 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:12:19 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:12:19 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:12:19 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 14:12:19 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:12:19 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:12:19 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:12:19 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 14:12:20 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:12:20 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:12:20 [ 74%] Linking C shared library libcsdk.so 14:12:20 [ 74%] Built target csdk 14:12:20 Scanning dependencies of target template 14:12:20 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:12:20 [ 77%] Linking C executable template 14:12:20 [ 77%] Built target template 14:12:20 Scanning dependencies of target device-counter 14:12:20 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:12:20 [ 80%] Linking C executable device-counter 14:12:20 [ 80%] Built target device-counter 14:12:20 Scanning dependencies of target device-random 14:12:20 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:12:20 [ 84%] Linking C executable device-random 14:12:20 [ 84%] Built target device-random 14:12:20 Scanning dependencies of target device-gyro 14:12:20 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:12:20 [ 87%] Linking C executable device-gyro 14:12:20 [ 87%] Built target device-gyro 14:12:20 Scanning dependencies of target device-bitfields 14:12:20 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 14:12:20 [ 90%] Linking C executable device-bitfields 14:12:20 [ 90%] Built target device-bitfields 14:12:20 Scanning dependencies of target template-discovery 14:12:20 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:12:20 [ 93%] Linking C executable template-discovery 14:12:21 [ 93%] Built target template-discovery 14:12:21 Scanning dependencies of target device-file 14:12:21 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 14:12:21 [ 96%] Linking C executable device-file 14:12:21 [ 96%] Built target device-file 14:12:21 Scanning dependencies of target device-terminal 14:12:21 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:12:21 [100%] Linking C executable device-terminal 14:12:21 [100%] Built target device-terminal 14:12:21 make: Entering directory '/tmp/sdk/build/release' 14:12:21 make[1]: Entering directory '/tmp/sdk/build/release' 14:12:21 make[2]: Entering directory '/tmp/sdk/build/release' 14:12:21 make[2]: Leaving directory '/tmp/sdk/build/release' 14:12:21 [ 74%] Built target csdk 14:12:21 make[2]: Entering directory '/tmp/sdk/build/release' 14:12:21 make[2]: Leaving directory '/tmp/sdk/build/release' 14:12:21 [ 77%] Built target template 14:12:21 make[2]: Entering directory '/tmp/sdk/build/release' 14:12:21 make[2]: Leaving directory '/tmp/sdk/build/release' 14:12:21 [ 80%] Built target device-counter 14:12:21 make[2]: Entering directory '/tmp/sdk/build/release' 14:12:21 make[2]: Leaving directory '/tmp/sdk/build/release' 14:12:21 [ 84%] Built target device-random 14:12:21 make[2]: Entering directory '/tmp/sdk/build/release' 14:12:21 make[2]: Leaving directory '/tmp/sdk/build/release' 14:12:21 [ 87%] Built target device-gyro 14:12:21 make[2]: Entering directory '/tmp/sdk/build/release' 14:12:21 make[2]: Leaving directory '/tmp/sdk/build/release' 14:12:21 [ 90%] Built target device-bitfields 14:12:21 make[2]: Entering directory '/tmp/sdk/build/release' 14:12:21 make[2]: Leaving directory '/tmp/sdk/build/release' 14:12:21 [ 93%] Built target template-discovery 14:12:21 make[2]: Entering directory '/tmp/sdk/build/release' 14:12:21 make[2]: Leaving directory '/tmp/sdk/build/release' 14:12:21 [ 96%] Built target device-file 14:12:21 make[2]: Entering directory '/tmp/sdk/build/release' 14:12:21 make[2]: Leaving directory '/tmp/sdk/build/release' 14:12:21 [100%] Built target device-terminal 14:12:21 make[1]: Leaving directory '/tmp/sdk/build/release' 14:12:21 Install the project... 14:12:21 -- Install configuration: "Release" 14:12:21 -- Installing: /usr/local/lib/libcsdk.so 14:12:21 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 14:12:21 -- Up-to-date: /usr/local/include 14:12:21 -- Installing: /usr/local/include/devsdk 14:12:21 -- Installing: /usr/local/include/devsdk/devsdk-base.h 14:12:21 -- Installing: /usr/local/include/devsdk/devsdk.h 14:12:21 -- Installing: /usr/local/include/edgex 14:12:21 -- Installing: /usr/local/include/edgex/devices.h 14:12:21 -- Installing: /usr/local/include/edgex/edgex-base.h 14:12:21 -- Installing: /usr/local/include/edgex/edgex.h 14:12:21 -- Installing: /usr/local/include/edgex/profiles.h 14:12:21 -- Installing: /usr/local/include/edgex/rest-server.h 14:12:21 -- Installing: /usr/local/include/edgex/csdk-defs.h 14:12:21 -- Installing: /usr/local/include/iot 14:12:21 -- Installing: /usr/local/include/iot/base64.h 14:12:21 -- Installing: /usr/local/include/iot/component.h 14:12:21 -- Installing: /usr/local/include/iot/config.h 14:12:21 -- Installing: /usr/local/include/iot/container.h 14:12:21 -- Installing: /usr/local/include/iot/data.h 14:12:21 -- Installing: /usr/local/include/iot/hash.h 14:12:21 -- Installing: /usr/local/include/iot/iot.h 14:12:21 -- Installing: /usr/local/include/iot/json.h 14:12:21 -- Installing: /usr/local/include/iot/logger.h 14:12:21 -- Installing: /usr/local/include/iot/os.h 14:12:21 -- Installing: /usr/local/include/iot/scheduler.h 14:12:21 -- Installing: /usr/local/include/iot/thread.h 14:12:21 -- Installing: /usr/local/include/iot/threadpool.h 14:12:21 -- Installing: /usr/local/include/iot/time.h 14:12:21 -- Installing: /usr/local/include/iot/typecode.h 14:12:21 -- Installing: /usr/local/include/iot/os 14:12:21 -- Installing: /usr/local/include/iot/os/linux.h 14:12:21 -- Installing: /usr/local/include/iot/os/macos.h 14:12:21 -- Installing: /usr/local/include/iot/os/zephyr.h 14:12:21 -- Installing: /usr/local/include/iot/defs.h 14:12:21 -- Installing: /usr/local/share/device-sdk-c/LICENSE 14:12:21 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 14:12:21 make: Leaving directory '/tmp/sdk/build/release' 14:12:22 Running on prd-ubuntu18.04-docker-arm64-4c-16g-199 in /w/workspace/edgexfoundry_device-sdk-c_PR-352 [Pipeline] { [Pipeline] ws 14:12:22 Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout 14:12:22 Removing intermediate container 0d58f067cf0f 14:12:22 ---> df65f60f4d63 14:12:22 Step 16/25 : FROM ${BASE} 14:12:22 ---> 5eabd8fd8ba2 14:12:22 Step 17/25 : LABEL maintainer="IOTech " 14:12:22 ---> Running in 2a28f61ea681 14:12:22 Removing intermediate container 2a28f61ea681 14:12:22 ---> afbfc5990eae 14:12:22 Step 18/25 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub 14:12:22 ---> Running in 1d400c7b5eed 14:12:22 Selected Git installation does not exist. Using Default 14:12:22 The recommended git tool is: NONE 14:12:22 Connecting to iotech.jfrog.io (54.74.239.58:443) 14:12:23 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 14:12:23 14:12:23 Removing intermediate container 1d400c7b5eed 14:12:23 ---> a1748da092ce 14:12:23 Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 14:12:23 ---> Running in b94ac26e5a9d 14:12:23 Removing intermediate container b94ac26e5a9d 14:12:23 ---> 842406c343a8 14:12:23 Step 20/25 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid paho-mqtt-c-dev hiredis-dev 14:12:23 ---> Running in c993febf4f31 14:12:24 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 14:12:24 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 14:12:25 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 14:12:26 (1/6) Installing curl (7.64.0-r5) 14:12:26 (2/6) Installing hiredis (0.14.0-r0) 14:12:26 (3/6) Installing hiredis-dev (0.14.0-r0) 14:12:26 (4/6) Installing libuuid (2.33-r0) 14:12:26 (5/6) Installing paho-mqtt-c-dev (1.3.5-r0) 14:12:27 using credential edgex-jenkins-ssh 14:12:27 Cloning the remote Git repository 14:12:28 (6/6) Installing wget (1.20.3-r0) 14:12:28 Executing busybox-1.29.3-r10.trigger 14:12:28 OK: 269 MiB in 81 packages 14:12:28 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 14:12:28 > git init /w/workspace/device-sdk-c/2 # timeout=10 14:12:28 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 14:12:28 > git --version # timeout=10 14:12:28 > git --version # 'git version 2.17.1' 14:12:28 using GIT_SSH to set credentials SSH Credentials for GitHub 14:12:28 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:12:28 Removing intermediate container c993febf4f31 14:12:28 ---> 80de13210b69 14:12:28 Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 14:12:28 ---> e9d6cf455a8f 14:12:28 Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 14:12:28 ---> b572442b81c6 14:12:28 Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib 14:12:29 ---> 5ebe01f2534b 14:12:29 Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 14:12:29 ---> 82411364639b 14:12:29 Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 14:12:29 ---> b12d664e5113 14:12:29 Successfully built b12d664e5113 14:12:29 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:12:29 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 14:12:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:12:29 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 14:12:29 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 14:12:29 using GIT_SSH to set credentials SSH Credentials for GitHub 14:12:29 > 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 14:12:29 + docker inspect -f . ci-base-image-x86_64 14:12:29 . [Pipeline] withDockerContainer 14:12:29 prd-centos7-docker-4c-2g-198 does not seem to be running inside a container 14:12:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 14:12:30 Merging remotes/origin/master commit e4f1d4fe6d671b9129336b96db7cc10a253047cb into PR head commit f19e730fe879e245449f2602bca344251008ec84 14:12:30 $ docker top 25cabe9846f7efb75eec0e24b4a2babd8284178a077de49a3279d29ca6c5db8c -eo pid,comm [Pipeline] { 14:12:30 Merge succeeded, producing f19e730fe879e245449f2602bca344251008ec84 14:12:30 Checking out Revision f19e730fe879e245449f2602bca344251008ec84 (PR-352) [Pipeline] sh 14:12:30 + make test 14:12:30 echo "make test" 14:12:30 make test [Pipeline] } 14:12:30 $ docker stop --time=1 25cabe9846f7efb75eec0e24b4a2babd8284178a077de49a3279d29ca6c5db8c 14:12:30 > git config core.sparsecheckout # timeout=10 14:12:30 > git checkout -f f19e730fe879e245449f2602bca344251008ec84 # timeout=10 14:12:30 > git remote # timeout=10 14:12:30 > git config --get remote.origin.url # timeout=10 14:12:30 using GIT_SSH to set credentials SSH Credentials for GitHub 14:12:30 > git merge e4f1d4fe6d671b9129336b96db7cc10a253047cb # timeout=10 14:12:30 > git rev-parse HEAD^{commit} # timeout=10 14:12:30 > git config core.sparsecheckout # timeout=10 14:12:30 > git checkout -f f19e730fe879e245449f2602bca344251008ec84 # timeout=10 14:12:32 $ docker rm -f 25cabe9846f7efb75eec0e24b4a2babd8284178a077de49a3279d29ca6c5db8c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 14:12:34 Commit message: "fix: allow for non-string attributes" [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:12:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:12:36 + ls -al . 14:12:36 total 160 14:12:36 drwxrwxr-x. 8 jenkins jenkins 260 Jun 18 14:11 . 14:12:36 drwxrwxr-x. 4 jenkins jenkins 28 Jun 18 14:11 .. 14:12:36 -rw-rw-r--. 1 jenkins jenkins 3104 Jun 18 14:11 Attribution.txt 14:12:36 -rw-rw-r--. 1 jenkins jenkins 7509 Jun 18 14:11 CHANGES 14:12:36 drwxrwxr-x. 2 jenkins jenkins 121 Jun 18 14:11 docs 14:12:36 -rw-rw-r--. 1 jenkins jenkins 108574 Jun 18 14:11 Doxyfile 14:12:36 drwxrwxr-x. 8 jenkins jenkins 179 Jun 18 14:11 .git 14:12:36 drwxrwxr-x. 2 jenkins jenkins 81 Jun 18 14:11 .github 14:12:36 -rw-rw-r--. 1 jenkins jenkins 176 Jun 18 14:11 .gitignore 14:12:36 drwxrwxr-x. 4 jenkins jenkins 33 Jun 18 14:11 include 14:12:36 -rw-rw-r--. 1 jenkins jenkins 784 Jun 18 14:11 Jenkinsfile 14:12:36 -rw-rw-r--. 1 jenkins jenkins 10174 Jun 18 14:11 LICENSE 14:12:36 -rw-rw-r--. 1 jenkins jenkins 444 Jun 18 14:11 Makefile 14:12:36 -rw-rw-r--. 1 jenkins jenkins 4090 Jun 18 14:11 README.md 14:12:36 -rw-rw-r--. 1 jenkins jenkins 7090 Jun 18 14:11 README.v2.md 14:12:36 drwxrwxr-x. 2 jenkins jenkins 98 Jun 18 14:11 scripts 14:12:36 drwxrwxr-x. 4 jenkins jenkins 50 Jun 18 14:11 src 14:12:36 -rw-rw-r--. 1 jenkins jenkins 5 Jun 18 14:08 VERSION [Pipeline] isUnix [Pipeline] sh 14:12:36 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 14:12:36 + docker build -t device-sdk -f scripts/Dockerfile.alpine --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=f19e730fe879e245449f2602bca344251008ec84 --label arch=amd64 --label version=0.0.0 . 14:12:36 Sending build context to Docker daemon 2.621MB 14:12:36 Step 1/17 : ARG BASE=alpine:3.12 14:12:36 Step 2/17 : FROM ${BASE} 14:12:36 ---> b12d664e5113 14:12:36 Step 3/17 : LABEL maintainer="IOTech " 14:12:36 ---> Running in 03bc8b802e8b 14:12:36 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 14:12:36 Removing intermediate container 03bc8b802e8b 14:12:36 ---> 779a20481992 14:12:36 Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub 14:12:36 ---> Running in 88d18b92d402 14:12:36 + true 14:12:36 + sudo service docker restart 14:12:37 --2021-06-18 14:12:36-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub 14:12:37 Resolving iotech.jfrog.io... 54.74.239.58, 54.72.115.12, 34.243.182.113 14:12:37 Connecting to iotech.jfrog.io|54.74.239.58|:443... connected. 14:12:37 HTTP request sent, awaiting response... 200 OK 14:12:37 Length: 451 [application/octet-stream] 14:12:37 Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 14:12:37 14:12:37 0K 100% 41.9M=0s 14:12:37 14:12:37 2021-06-18 14:12:37 (41.9 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] 14:12:37 14:12:37 Removing intermediate container 88d18b92d402 14:12:37 ---> b3e664b31e3b 14:12:37 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 14:12:37 ---> Running in 0bcae5864e61 14:12:38 Removing intermediate container 0bcae5864e61 14:12:38 ---> 3d95c472dc5e 14:12:38 Step 6/17 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev hiredis-dev && mkdir -p /edgex-c-sdk/build 14:12:38 ---> Running in f0cd6330b679 14:12:38 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 14:12:39 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 14:12:40 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 14:12:40 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 14:12:40 (2/6) Installing libblkid (2.33-r0) 14:12:40 (3/6) Installing libfdisk (2.33-r0) 14:12:40 (4/6) Installing libmount (2.33-r0) 14:12:40 (5/6) Installing libsmartcols (2.33-r0) 14:12:41 (6/6) Installing util-linux-dev (2.33-r0) 14:12:41 Executing busybox-1.29.3-r10.trigger 14:12:41 OK: 273 MiB in 87 packages 14:12:41 Removing intermediate container f0cd6330b679 14:12:41 ---> 637ddbfb6c8a 14:12:41 Step 7/17 : COPY VERSION /edgex-c-sdk/ 14:12:41 ---> a88d51a9aff1 14:12:41 Step 8/17 : COPY src /edgex-c-sdk/src/ 14:12:41 ---> a9d98c43b4dc 14:12:41 Step 9/17 : COPY include /edgex-c-sdk/include/ 14:12:42 ---> fa5e582fee13 14:12:42 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 14:12:42 ---> 4bf2800d3ce2 14:12:42 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 14:12:42 ---> 2114c646055b 14:12:42 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 14:12:42 ---> a10d08c5d5af 14:12:42 Step 13/17 : WORKDIR /edgex-c-sdk 14:12:42 ---> Running in 23b55cccba68 14:12:42 Removing intermediate container 23b55cccba68 14:12:42 ---> e926ca010a1b 14:12:42 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 14:12:42 ---> Running in b5e9572080da 14:12:42 Removing intermediate container b5e9572080da 14:12:42 ---> 8c79273e6d92 14:12:42 Step 15/17 : LABEL arch=amd64 14:12:42 ---> Running in 1c7bfa9daef9 14:12:42 Removing intermediate container 1c7bfa9daef9 14:12:42 ---> de18264dd7d3 14:12:42 Step 16/17 : LABEL git_sha=f19e730fe879e245449f2602bca344251008ec84 14:12:42 ---> Running in b9acfc1b3746 14:12:43 Removing intermediate container b9acfc1b3746 14:12:43 ---> a4ab7fa7a4c0 14:12:43 Step 17/17 : LABEL version=0.0.0 14:12:43 ---> Running in 846652b8e6dc 14:12:43 Removing intermediate container 846652b8e6dc 14:12:43 ---> 2634bc2de373 14:12:43 [Warning] One or more build-args [MAKE ARCH] were not consumed 14:12:43 Successfully built 2634bc2de373 14:12:43 Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:12:55 provisioning config files... 14:12:55 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/2@tmp/config4290798253358573053tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:12:55 ---> docker-login.sh 14:12:55 nexus3.edgexfoundry.org:10001 14:12:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:12:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:12:57 Configure a credential helper to remove this warning. See 14:12:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:12:57 14:12:57 Login Succeeded 14:12:57 nexus3.edgexfoundry.org:10002 14:12:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:12:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:12:57 Configure a credential helper to remove this warning. See 14:12:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:12:57 14:12:57 Login Succeeded 14:12:57 nexus3.edgexfoundry.org:10003 14:12:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:12:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:12:58 Configure a credential helper to remove this warning. See 14:12:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:12:58 14:12:58 Login Succeeded 14:12:58 nexus3.edgexfoundry.org:10004 14:12:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:12:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:12:58 Configure a credential helper to remove this warning. See 14:12:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:12:58 14:12:58 Login Succeeded 14:12:58 docker.io 14:12:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:12:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:12:59 Configure a credential helper to remove this warning. See 14:12:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:12:59 14:12:59 Login Succeeded 14:12:59 ---> docker-login.sh ends [Pipeline] } 14:12:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:12:59 ========================================================= 14:12:59 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 14:12:59 ========================================================= [Pipeline] isUnix [Pipeline] sh 14:12:59 + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . 14:13:00 Sending build context to Docker daemon 2.62MB 14:13:00 Step 1/25 : ARG BASE=alpine:3.12 14:13:00 Step 2/25 : FROM ${BASE} as builder 14:13:00 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 14:13:00 0362ad1dd800: Pulling fs layer 14:13:00 f2cdb1532d8b: Pulling fs layer 14:13:00 37ed683be191: Pulling fs layer 14:13:00 f2cdb1532d8b: Verifying Checksum 14:13:00 f2cdb1532d8b: Download complete 14:13:00 0362ad1dd800: Verifying Checksum 14:13:00 0362ad1dd800: Download complete 14:13:01 0362ad1dd800: Pull complete 14:13:01 f2cdb1532d8b: Pull complete 14:13:02 37ed683be191: Verifying Checksum 14:13:02 37ed683be191: Download complete 14:13:13 37ed683be191: Pull complete 14:13:13 Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f 14:13:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 14:13:13 ---> b23d30803547 14:13:13 Step 3/25 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub 14:13:13 ---> Running in 4edf163ce2fd 14:13:14 Connecting to iotech.jfrog.io (54.74.239.58:443) 14:13:14 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 14:13:14 14:13:15 Removing intermediate container 4edf163ce2fd 14:13:15 ---> 76622e7e06bc 14:13:15 Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 14:13:15 ---> Running in c96fa76d90da 14:13:17 Removing intermediate container c96fa76d90da 14:13:17 ---> cbcb8c0f91ce 14:13:17 Step 5/25 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev hiredis-dev 14:13:18 ---> Running in b0858b16afc0 14:13:19 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 14:13:20 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 14:13:20 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 14:13:21 (1/11) Installing hiredis (0.14.0-r0) 14:13:21 (2/11) Installing hiredis-dev (0.14.0-r0) 14:13:21 (3/11) Installing ncurses-dev (6.1_p20190105-r0) 14:13:21 (4/11) Installing paho-mqtt-c-dev (1.3.5-r0) 14:13:22 (5/11) Installing libuuid (2.33-r0) 14:13:22 (6/11) Installing libblkid (2.33-r0) 14:13:23 (7/11) Installing libfdisk (2.33-r0) 14:13:23 (8/11) Installing libmount (2.33-r0) 14:13:23 (9/11) Installing libsmartcols (2.33-r0) 14:13:23 (10/11) Installing util-linux-dev (2.33-r0) 14:13:23 (11/11) Installing wget (1.20.3-r0) 14:13:24 Executing busybox-1.29.3-r10.trigger 14:13:24 OK: 287 MiB in 86 packages 14:13:25 Removing intermediate container b0858b16afc0 14:13:25 ---> 32da2c9a72c0 14:13:25 Step 6/25 : ENV CBOR_VERSION=0.5.0 14:13:25 ---> Running in d185c66471d3 14:13:25 Removing intermediate container d185c66471d3 14:13:25 ---> 7a4478173c2f 14:13:25 Step 7/25 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install 14:13:26 ---> Running in 047d6573f3f2 14:13:27 --2021-06-18 14:13:27-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 14:13:27 Resolving github.com... 140.82.112.3 14:13:27 Connecting to github.com|140.82.112.3|:443... connected. 14:13:27 HTTP request sent, awaiting response... 302 Found 14:13:27 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 14:13:27 --2021-06-18 14:13:27-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 14:13:27 Resolving codeload.github.com... 140.82.112.9 14:13:27 Connecting to codeload.github.com|140.82.112.9|:443... connected. 14:13:27 HTTP request sent, awaiting response... 200 OK 14:13:27 Length: unspecified [application/x-gzip] 14:13:27 Saving to: 'STDOUT' 14:13:27  14:13:27 0K .......... .......... .......... .......... .......... 1.61M 14:13:27 50K .......... .......... .......... .......... .......... 3.18M 14:13:27 100K .......... .......... .......... .......... .......... 13.6M 14:13:27 150K .......... .......... .......... .......... .......... 4.08M 14:13:27 200K .......... .......... .......... .......... .......... 13.0M 14:13:27 250K .......... .......... .......... .......... .......... 2.52M 14:13:27 300K .......... .......... .......... .......... .......... 6.90M 14:13:27 350K .......... .......... .......... .......... .......... 5.49M 14:13:27 400K .......... .......... .......... .......... .......... 3.37M 14:13:27 450K .......... .......... .......... .......... .......... 3.62M 14:13:27 500K .......... .......... .......... .......... .......... 8.56M 14:13:27 550K .......... .......... .......... .......... .......... 2.52M 14:13:27 600K .......... .......... .......... .......... .......... 906K 14:13:27 650K .......... .......... .......... .......... .......... 2.32M 14:13:27 700K ..    372K=0.2s 14:13:27 14:13:27 2021-06-18 14:13:27 (2.90 MB/s) - written to stdout [719348] 14:13:27 14:13:28 -- The C compiler identification is GNU 8.3.0 14:13:28 -- The CXX compiler identification is GNU 8.3.0 14:13:28 -- Check for working C compiler: /usr/bin/cc 14:13:28 -- Check for working C compiler: /usr/bin/cc -- works 14:13:28 -- Detecting C compiler ABI info 14:13:28 -- Detecting C compiler ABI info - done 14:13:28 -- Detecting C compile features 14:13:29 -- Detecting C compile features - done 14:13:29 -- Check for working CXX compiler: /usr/bin/c++ 14:13:29 -- Check for working CXX compiler: /usr/bin/c++ -- works 14:13:29 -- Detecting CXX compiler ABI info 14:13:29 -- Detecting CXX compiler ABI info - done 14:13:29 -- Detecting CXX compile features 14:13:31 -- Detecting CXX compile features - done 14:13:31 -- Looking for include file endian.h 14:13:31 -- Looking for include file endian.h - found 14:13:31 -- Check if the system is big endian 14:13:31 -- Searching 16 bit integer 14:13:31 -- Looking for sys/types.h 14:13:31 -- Looking for sys/types.h - found 14:13:31 -- Looking for stdint.h 14:13:32 -- Looking for stdint.h - found 14:13:32 -- Looking for stddef.h 14:13:32 -- Looking for stddef.h - found 14:13:32 -- Check size of unsigned short 14:13:32 -- Check size of unsigned short - done 14:13:32 -- Using unsigned short 14:13:32 -- Check if the system is big endian - little endian 14:13:33 -- Check size of size_t 14:13:33 -- Check size of size_t - done 14:13:33 CMake Warning at examples/CMakeLists.txt:16 (find_package): 14:13:33 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 14:13:33 asked CMake to find a package configuration file provided by "cJSON", but 14:13:33 CMake did not find one. 14:13:33 14:13:33 Could not find a package configuration file provided by "cJSON" with any of 14:13:33 the following names: 14:13:33 14:13:33 cJSONConfig.cmake 14:13:33 cjson-config.cmake 14:13:33 14:13:33 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 14:13:33 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 14:13:33 provides a separate development package or SDK, be sure it has been 14:13:33 installed. 14:13:33 14:13:33 14:13:33 -- Configuring done 14:13:33 -- Generating done 14:13:33 -- Build files have been written to: /tmp/cbor 14:13:33 Scanning dependencies of target cbor_shared 14:13:33 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 14:13:34 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 14:13:34 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 14:13:35 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 14:13:35 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 14:13:35 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 14:13:36 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 14:13:36 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 14:13:36 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 14:13:36 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 14:13:37 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 14:13:37 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 14:13:37 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 14:13:38 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 14:13:38 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 14:13:38 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 14:13:39 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 14:13:39 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 14:13:39 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 14:13:39 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 14:13:39 [ 40%] Linking C shared library libcbor.so 14:13:40 [ 40%] Built target cbor_shared 14:13:40 Scanning dependencies of target cbor 14:13:40 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 14:13:40 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 14:13:41 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 14:13:41 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 14:13:42 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 14:13:42 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 14:13:43 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 14:13:43 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 14:13:43 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 14:13:43 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 14:13:44 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 14:13:44 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 14:13:45 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 14:13:45 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 14:13:45 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 14:13:45 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 14:13:46 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 14:13:46 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 14:13:46 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 14:13:47 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 14:13:47 [ 80%] Linking C static library libcbor.a 14:13:47 [ 80%] Built target cbor 14:13:47 Scanning dependencies of target create_items 14:13:47 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 14:13:47 [ 84%] Linking C executable create_items 14:13:47 [ 84%] Built target create_items 14:13:47 Scanning dependencies of target readfile 14:13:47 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 14:13:47 [ 88%] Linking C executable readfile 14:13:48 [ 88%] Built target readfile 14:13:48 Scanning dependencies of target streaming_parser 14:13:48 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 14:13:48 [ 92%] Linking C executable streaming_parser 14:13:48 [ 92%] Built target streaming_parser 14:13:48 Scanning dependencies of target sort 14:13:48 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 14:13:48 [ 96%] Linking C executable sort 14:13:48 [ 96%] Built target sort 14:13:48 Scanning dependencies of target hello 14:13:48 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 14:13:49 [100%] Linking C executable hello 14:13:49 [100%] Built target hello 14:13:49 Install the project... 14:13:49 -- Install configuration: "Release" 14:13:49 -- Installing: /usr/local/include/cbor/configuration.h 14:13:49 -- Installing: /usr/local/lib64/libcbor.a 14:13:49 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 14:13:49 -- Installing: /usr/local/lib64/libcbor.so.0 14:13:49 -- Installing: /usr/local/lib64/libcbor.so 14:13:49 -- Up-to-date: /usr/local/include/cbor 14:13:49 -- Installing: /usr/local/include/cbor/streaming.h 14:13:49 -- Installing: /usr/local/include/cbor/ints.h 14:13:49 -- Installing: /usr/local/include/cbor/floats_ctrls.h 14:13:49 -- Installing: /usr/local/include/cbor/bytestrings.h 14:13:49 -- Installing: /usr/local/include/cbor/encoding.h 14:13:49 -- Installing: /usr/local/include/cbor/serialization.h 14:13:49 -- Installing: /usr/local/include/cbor/data.h 14:13:49 -- Installing: /usr/local/include/cbor/common.h 14:13:49 -- Installing: /usr/local/include/cbor/callbacks.h 14:13:49 -- Installing: /usr/local/include/cbor/strings.h 14:13:49 -- Installing: /usr/local/include/cbor/tags.h 14:13:49 -- Installing: /usr/local/include/cbor/internal 14:13:49 -- Installing: /usr/local/include/cbor/internal/encoders.h 14:13:49 -- Installing: /usr/local/include/cbor/internal/loaders.h 14:13:49 -- Installing: /usr/local/include/cbor/internal/stack.h 14:13:49 -- Installing: /usr/local/include/cbor/internal/unicode.h 14:13:49 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 14:13:49 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 14:13:49 -- Installing: /usr/local/include/cbor/arrays.h 14:13:49 -- Installing: /usr/local/include/cbor/maps.h 14:13:49 -- Installing: /usr/local/include/cbor.h 14:13:49 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 14:13:51 Removing intermediate container 047d6573f3f2 14:13:51 ---> 50b873d3ae67 14:13:51 Step 8/25 : RUN mkdir /tmp/sdk 14:13:51 ---> Running in 820080017cd4 14:13:53 Removing intermediate container 820080017cd4 14:13:53 ---> c5ead9b0e560 14:13:53 Step 9/25 : COPY VERSION /tmp/sdk 14:13:53 ---> 74e74de98036 14:13:53 Step 10/25 : COPY src /tmp/sdk/src 14:13:55 ---> b6d90c62b2f6 14:13:55 Step 11/25 : COPY include /tmp/sdk/include 14:13:55 ---> 63a7dab780d9 14:13:55 Step 12/25 : COPY scripts /tmp/sdk/scripts 14:13:56 ---> de223b30f580 14:13:56 Step 13/25 : COPY LICENSE /tmp/sdk 14:13:57 ---> 0d64b5ae54cd 14:13:57 Step 14/25 : COPY Attribution.txt /tmp/sdk 14:13:58 ---> a33701004cac 14:13:58 Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 14:13:58 ---> Running in 59887e398825 14:13:59 + CPPCHECK=false 14:13:59 + DOCGEN=false 14:13:59 + TOMLVER=SDK-0.2 14:13:59 + CUTILVER=1.1.4 14:13:59 + '[' 0 -gt 0 ] 14:13:59 + readlink -f ./scripts/build.sh 14:13:59 + dirname /tmp/sdk/scripts/build.sh 14:13:59 + dirname /tmp/sdk/scripts 14:13:59 + ROOT=/tmp/sdk 14:13:59 + cd /tmp/sdk 14:13:59 + '[' '!' -d deps ] 14:13:59 + mkdir deps 14:13:59 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 14:13:59 + tar -C deps -z -x -f - 14:13:59 --2021-06-18 14:13:59-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 14:13:59 Resolving github.com... 140.82.112.3 14:13:59 Connecting to github.com|140.82.112.3|:443... connected. 14:13:59 HTTP request sent, awaiting response... 302 Found 14:13:59 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 14:13:59 --2021-06-18 14:13:59-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 14:13:59 Resolving codeload.github.com... 140.82.112.9 14:13:59 Connecting to codeload.github.com|140.82.112.9|:443... connected. 14:13:59 HTTP request sent, awaiting response... 200 OK 14:13:59 Length: unspecified [application/x-gzip] 14:13:59 Saving to: 'STDOUT' 14:13:59  14:13:59 0K .......... ...... 1.12M=0.01s 14:13:59 14:13:59 2021-06-18 14:13:59 (1.12 MB/s) - written to stdout [16451] 14:13:59 14:13:59 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 14:13:59 + tar -C deps -z -x -f - 14:13:59 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 14:13:59 --2021-06-18 14:13:59-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 14:13:59 Resolving github.com... 140.82.112.3 14:13:59 Connecting to github.com|140.82.112.3|:443... connected. 14:13:59 HTTP request sent, awaiting response... 302 Found 14:13:59 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] 14:13:59 --2021-06-18 14:13:59-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 14:13:59 Resolving codeload.github.com... 140.82.112.9 14:13:59 Connecting to codeload.github.com|140.82.112.9|:443... connected. 14:14:00 HTTP request sent, awaiting response... 200 OK 14:14:00 Length: unspecified [application/x-gzip] 14:14:00 Saving to: 'STDOUT' 14:14:00  14:14:00 0K .......... .......... .......... .......... .......... 1.62M 14:14:00 50K .......... .......... .......... .......... .......... 3.15M 14:14:00 100K .......... .......... .......... .......... .......... 3.16M 14:14:00 150K .......... .......... ....... 2.70M=0.07s 14:14:00 14:14:00 2021-06-18 14:14:00 (2.44 MB/s) - written to stdout [181796] 14:14:00 14:14:00 + mkdir -p src/c/iot 14:14:00 + cp deps/iotech-c-utils-1.1.4/src/c/base64.c deps/iotech-c-utils-1.1.4/src/c/component.c deps/iotech-c-utils-1.1.4/src/c/config.c deps/iotech-c-utils-1.1.4/src/c/container.c deps/iotech-c-utils-1.1.4/src/c/data.c deps/iotech-c-utils-1.1.4/src/c/hash.c deps/iotech-c-utils-1.1.4/src/c/iot.c deps/iotech-c-utils-1.1.4/src/c/json.c deps/iotech-c-utils-1.1.4/src/c/logger.c deps/iotech-c-utils-1.1.4/src/c/os.c deps/iotech-c-utils-1.1.4/src/c/scheduler.c deps/iotech-c-utils-1.1.4/src/c/thread.c deps/iotech-c-utils-1.1.4/src/c/threadpool.c deps/iotech-c-utils-1.1.4/src/c/time.c deps/iotech-c-utils-1.1.4/src/c/yxml.c src/c/iot 14:14:00 + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot 14:14:00 + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot 14:14:00 + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot 14:14:00 + mkdir -p include/iot 14:14:00 + cp deps/iotech-c-utils-1.1.4/include/iot/base64.h deps/iotech-c-utils-1.1.4/include/iot/component.h deps/iotech-c-utils-1.1.4/include/iot/config.h deps/iotech-c-utils-1.1.4/include/iot/container.h deps/iotech-c-utils-1.1.4/include/iot/data.h deps/iotech-c-utils-1.1.4/include/iot/hash.h deps/iotech-c-utils-1.1.4/include/iot/iot.h deps/iotech-c-utils-1.1.4/include/iot/json.h deps/iotech-c-utils-1.1.4/include/iot/logger.h deps/iotech-c-utils-1.1.4/include/iot/os.h deps/iotech-c-utils-1.1.4/include/iot/scheduler.h deps/iotech-c-utils-1.1.4/include/iot/thread.h deps/iotech-c-utils-1.1.4/include/iot/threadpool.h deps/iotech-c-utils-1.1.4/include/iot/time.h deps/iotech-c-utils-1.1.4/include/iot/typecode.h include/iot 14:14:00 + mkdir -p include/iot/os 14:14:00 + cp deps/iotech-c-utils-1.1.4/include/iot/os/linux.h deps/iotech-c-utils-1.1.4/include/iot/os/macos.h deps/iotech-c-utils-1.1.4/include/iot/os/zephyr.h include/iot/os 14:14:00 + mkdir -p /tmp/sdk/build/release 14:14:00 + cd /tmp/sdk/build/release 14:14:00 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 14:14:00 -- The C compiler identification is GNU 8.3.0 14:14:00 -- Check for working C compiler: /usr/bin/cc 14:14:00 -- Check for working C compiler: /usr/bin/cc -- works 14:14:00 -- Detecting C compiler ABI info 14:14:01 -- Detecting C compiler ABI info - done 14:14:01 -- Detecting C compile features 14:14:01 -- Detecting C compile features - done 14:14:02 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:14:02 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 14:14:02 -- Found LIBYAML: /usr/lib/libyaml.so 14:14:02 -- Found LIBUUID: /usr/lib/libuuid.so 14:14:02 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 14:14:02 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 14:14:02 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 14:14:02 -- C SDK 0.0.0 for Linux 14:14:02 -- Performing Test CSDK_HAVE_ATOMIC 14:14:02 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:14:02 -- Found Curses: /usr/lib/libcurses.so 14:14:02 -- Configuring done 14:14:02 -- Generating done 14:14:02 -- Build files have been written to: /tmp/sdk/build/release 14:14:02 + make all package 14:14:02 + tee release.log 14:14:02 Scanning dependencies of target csdk 14:14:02 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:14:03 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 14:14:04 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:14:05 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:14:06 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:14:06 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 14:14:06 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 14:14:07 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 14:14:07 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:14:08 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:14:10 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:14:10 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:14:11 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:14:11 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:14:12 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 14:14:12 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:14:12 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:14:15 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 14:14:15 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 14:14:15 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 14:14:16 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 14:14:16 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 14:14:17 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 14:14:19 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 14:14:19 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 14:14:19 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 14:14:20 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 14:14:21 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 14:14:21 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 14:14:22 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 14:14:22 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 14:14:22 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 14:14:23 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 14:14:25 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:14:25 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:14:26 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 14:14:26 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:14:30 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:14:31 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:14:31 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 14:14:31 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:14:32 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:14:34 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:14:36 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 14:14:39 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:14:39 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:14:40 [ 74%] Linking C shared library libcsdk.so 14:14:40 [ 74%] Built target csdk 14:14:40 Scanning dependencies of target template 14:14:40 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:14:41 [ 77%] Linking C executable template 14:14:41 [ 77%] Built target template 14:14:41 Scanning dependencies of target device-counter 14:14:41 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:14:41 [ 80%] Linking C executable device-counter 14:14:41 [ 80%] Built target device-counter 14:14:41 Scanning dependencies of target device-random 14:14:41 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:14:42 [ 84%] Linking C executable device-random 14:14:42 [ 84%] Built target device-random 14:14:42 Scanning dependencies of target device-gyro 14:14:42 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:14:42 [ 87%] Linking C executable device-gyro 14:14:43 [ 87%] Built target device-gyro 14:14:43 Scanning dependencies of target device-bitfields 14:14:43 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 14:14:43 [ 90%] Linking C executable device-bitfields 14:14:43 [ 90%] Built target device-bitfields 14:14:43 Scanning dependencies of target template-discovery 14:14:43 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:14:44 [ 93%] Linking C executable template-discovery 14:14:44 [ 93%] Built target template-discovery 14:14:44 Scanning dependencies of target device-file 14:14:44 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 14:14:45 [ 96%] Linking C executable device-file 14:14:45 [ 96%] Built target device-file 14:14:45 Scanning dependencies of target device-terminal 14:14:45 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:14:46 [100%] Linking C executable device-terminal 14:14:46 [100%] Built target device-terminal 14:14:46 Run CPack packaging tool... 14:14:46 CPack: Create package using TGZ 14:14:46 CPack: Install projects 14:14:46 CPack: - Run preinstall target for: Csdk 14:14:47 CPack: - Install project: Csdk 14:14:47 CPack: Create package 14:14:47 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 14:14:47 + '[' false '=' true ] 14:14:47 + '[' false '=' true ] 14:14:47 + mkdir -p /tmp/sdk/build/debug 14:14:47 + cd /tmp/sdk/build/debug 14:14:47 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 14:14:47 -- The C compiler identification is GNU 8.3.0 14:14:47 -- Check for working C compiler: /usr/bin/cc 14:14:47 -- Check for working C compiler: /usr/bin/cc -- works 14:14:47 -- Detecting C compiler ABI info 14:14:48 -- Detecting C compiler ABI info - done 14:14:48 -- Detecting C compile features 14:14:49 -- Detecting C compile features - done 14:14:49 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:14:49 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 14:14:49 -- Found LIBYAML: /usr/lib/libyaml.so 14:14:49 -- Found LIBUUID: /usr/lib/libuuid.so 14:14:49 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 14:14:49 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 14:14:49 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 14:14:49 -- C SDK 0.0.0 for Linux 14:14:49 -- Performing Test CSDK_HAVE_ATOMIC 14:14:49 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:14:49 -- Found Curses: /usr/lib/libcurses.so 14:14:49 -- Configuring done 14:14:49 -- Generating done 14:14:49 -- Build files have been written to: /tmp/sdk/build/debug 14:14:49 + + make 14:14:49 tee debug.log 14:14:49 Scanning dependencies of target csdk 14:14:50 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:14:50 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 14:14:50 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:14:51 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:14:51 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:14:51 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 14:14:52 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 14:14:52 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 14:14:52 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:14:52 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:14:53 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:14:53 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:14:53 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:14:53 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:14:54 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 14:14:54 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:14:54 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:14:55 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 14:14:55 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 14:14:55 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 14:14:56 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 14:14:56 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 14:14:56 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 14:14:57 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 14:14:57 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 14:14:57 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 14:14:57 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 14:14:58 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 14:14:58 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 14:14:58 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 14:14:58 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 14:14:58 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 14:14:59 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 14:14:59 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:14:59 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:15:00 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 14:15:00 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:15:01 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:15:01 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:15:01 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 14:15:02 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:15:02 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:15:03 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:15:03 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 14:15:04 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:15:04 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:15:05 [ 74%] Linking C shared library libcsdk.so 14:15:05 [ 74%] Built target csdk 14:15:05 Scanning dependencies of target template 14:15:05 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:15:05 [ 77%] Linking C executable template 14:15:05 [ 77%] Built target template 14:15:05 Scanning dependencies of target device-counter 14:15:05 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:15:06 [ 80%] Linking C executable device-counter 14:15:06 [ 80%] Built target device-counter 14:15:06 Scanning dependencies of target device-random 14:15:06 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:15:06 [ 84%] Linking C executable device-random 14:15:07 [ 84%] Built target device-random 14:15:07 Scanning dependencies of target device-gyro 14:15:07 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:15:07 [ 87%] Linking C executable device-gyro 14:15:07 [ 87%] Built target device-gyro 14:15:07 Scanning dependencies of target device-bitfields 14:15:07 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 14:15:07 [ 90%] Linking C executable device-bitfields 14:15:07 [ 90%] Built target device-bitfields 14:15:07 Scanning dependencies of target template-discovery 14:15:07 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:15:08 [ 93%] Linking C executable template-discovery 14:15:08 [ 93%] Built target template-discovery 14:15:08 Scanning dependencies of target device-file 14:15:08 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 14:15:08 [ 96%] Linking C executable device-file 14:15:08 [ 96%] Built target device-file 14:15:08 Scanning dependencies of target device-terminal 14:15:08 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:15:09 [100%] Linking C executable device-terminal 14:15:09 [100%] Built target device-terminal 14:15:09 make: Entering directory '/tmp/sdk/build/release' 14:15:09 make[1]: Entering directory '/tmp/sdk/build/release' 14:15:09 make[2]: Entering directory '/tmp/sdk/build/release' 14:15:09 make[2]: Leaving directory '/tmp/sdk/build/release' 14:15:09 [ 74%] Built target csdk 14:15:09 make[2]: Entering directory '/tmp/sdk/build/release' 14:15:09 make[2]: Leaving directory '/tmp/sdk/build/release' 14:15:09 [ 77%] Built target template 14:15:09 make[2]: Entering directory '/tmp/sdk/build/release' 14:15:09 make[2]: Leaving directory '/tmp/sdk/build/release' 14:15:09 [ 80%] Built target device-counter 14:15:09 make[2]: Entering directory '/tmp/sdk/build/release' 14:15:09 make[2]: Leaving directory '/tmp/sdk/build/release' 14:15:09 [ 84%] Built target device-random 14:15:09 make[2]: Entering directory '/tmp/sdk/build/release' 14:15:09 make[2]: Leaving directory '/tmp/sdk/build/release' 14:15:10 [ 87%] Built target device-gyro 14:15:10 make[2]: Entering directory '/tmp/sdk/build/release' 14:15:10 make[2]: Leaving directory '/tmp/sdk/build/release' 14:15:10 [ 90%] Built target device-bitfields 14:15:10 make[2]: Entering directory '/tmp/sdk/build/release' 14:15:10 make[2]: Leaving directory '/tmp/sdk/build/release' 14:15:10 [ 93%] Built target template-discovery 14:15:10 make[2]: Entering directory '/tmp/sdk/build/release' 14:15:10 make[2]: Leaving directory '/tmp/sdk/build/release' 14:15:10 [ 96%] Built target device-file 14:15:10 make[2]: Entering directory '/tmp/sdk/build/release' 14:15:10 make[2]: Leaving directory '/tmp/sdk/build/release' 14:15:10 [100%] Built target device-terminal 14:15:10 make[1]: Leaving directory '/tmp/sdk/build/release' 14:15:10 Install the project... 14:15:10 -- Install configuration: "Release" 14:15:10 -- Installing: /usr/local/lib/libcsdk.so 14:15:10 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 14:15:10 -- Up-to-date: /usr/local/include 14:15:10 -- Installing: /usr/local/include/edgex 14:15:10 -- Installing: /usr/local/include/edgex/rest-server.h 14:15:10 -- Installing: /usr/local/include/edgex/edgex-base.h 14:15:10 -- Installing: /usr/local/include/edgex/edgex.h 14:15:10 -- Installing: /usr/local/include/edgex/devices.h 14:15:10 -- Installing: /usr/local/include/edgex/profiles.h 14:15:10 -- Installing: /usr/local/include/edgex/csdk-defs.h 14:15:10 -- Installing: /usr/local/include/devsdk 14:15:10 -- Installing: /usr/local/include/devsdk/devsdk-base.h 14:15:10 -- Installing: /usr/local/include/devsdk/devsdk.h 14:15:10 -- Installing: /usr/local/include/iot 14:15:10 -- Installing: /usr/local/include/iot/json.h 14:15:10 -- Installing: /usr/local/include/iot/container.h 14:15:10 -- Installing: /usr/local/include/iot/component.h 14:15:10 -- Installing: /usr/local/include/iot/typecode.h 14:15:10 -- Installing: /usr/local/include/iot/iot.h 14:15:10 -- Installing: /usr/local/include/iot/time.h 14:15:10 -- Installing: /usr/local/include/iot/hash.h 14:15:10 -- Installing: /usr/local/include/iot/logger.h 14:15:10 -- Installing: /usr/local/include/iot/os 14:15:10 -- Installing: /usr/local/include/iot/os/zephyr.h 14:15:10 -- Installing: /usr/local/include/iot/os/linux.h 14:15:10 -- Installing: /usr/local/include/iot/os/macos.h 14:15:10 -- Installing: /usr/local/include/iot/scheduler.h 14:15:10 -- Installing: /usr/local/include/iot/data.h 14:15:10 -- Installing: /usr/local/include/iot/thread.h 14:15:10 -- Installing: /usr/local/include/iot/os.h 14:15:10 -- Installing: /usr/local/include/iot/base64.h 14:15:10 -- Installing: /usr/local/include/iot/defs.h 14:15:10 -- Installing: /usr/local/include/iot/threadpool.h 14:15:10 -- Installing: /usr/local/include/iot/config.h 14:15:10 -- Installing: /usr/local/share/device-sdk-c/LICENSE 14:15:10 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 14:15:10 make: Leaving directory '/tmp/sdk/build/release' 14:15:12 Removing intermediate container 59887e398825 14:15:12 ---> d55660316476 14:15:12 Step 16/25 : FROM ${BASE} 14:15:12 ---> b23d30803547 14:15:12 Step 17/25 : LABEL maintainer="IOTech " 14:15:12 ---> Running in d0fa43b6b565 14:15:12 Removing intermediate container d0fa43b6b565 14:15:12 ---> 517407dbbd9e 14:15:12 Step 18/25 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub 14:15:12 ---> Running in bd5ed01012e0 14:15:14 Connecting to iotech.jfrog.io (34.243.182.113:443) 14:15:14 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 14:15:14 14:15:15 Removing intermediate container bd5ed01012e0 14:15:15 ---> ec4feccaf54f 14:15:15 Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 14:15:15 ---> Running in 90e057bd4198 14:15:17 Removing intermediate container 90e057bd4198 14:15:17 ---> 855f2d6658c3 14:15:17 Step 20/25 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid paho-mqtt-c-dev hiredis-dev 14:15:17 ---> Running in d54917819918 14:15:19 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 14:15:19 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 14:15:20 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 14:15:20 (1/6) Installing curl (7.64.0-r5) 14:15:20 (2/6) Installing hiredis (0.14.0-r0) 14:15:20 (3/6) Installing hiredis-dev (0.14.0-r0) 14:15:20 (4/6) Installing libuuid (2.33-r0) 14:15:20 (5/6) Installing paho-mqtt-c-dev (1.3.5-r0) 14:15:22 (6/6) Installing wget (1.20.3-r0) 14:15:22 Executing busybox-1.29.3-r10.trigger 14:15:22 OK: 283 MiB in 81 packages 14:15:23 Removing intermediate container d54917819918 14:15:23 ---> 0040a309ab85 14:15:23 Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 14:15:24 ---> ebef42c84254 14:15:24 Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 14:15:25 ---> e6a9ed5d3a64 14:15:25 Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib 14:15:26 ---> ad1c9343ef76 14:15:26 Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 14:15:27 ---> 8b747c6f7e48 14:15:27 Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 14:15:27 ---> eff7acef209b 14:15:27 Successfully built eff7acef209b 14:15:27 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:15:28 + docker inspect -f . ci-base-image-arm64 14:15:28 . [Pipeline] withDockerContainer 14:15:28 prd-ubuntu18.04-docker-arm64-4c-16g-199 does not seem to be running inside a container 14:15:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 14:15:30 $ docker top 10cef8a51c8cb58972a89f5cff39fcb9547203ed85b9188491cc87baf9441222 -eo pid,comm [Pipeline] { [Pipeline] sh 14:15:31 + make test 14:15:31 echo "make test" 14:15:31 make test [Pipeline] } 14:15:31 $ docker stop --time=1 10cef8a51c8cb58972a89f5cff39fcb9547203ed85b9188491cc87baf9441222 14:15:33 $ docker rm -f 10cef8a51c8cb58972a89f5cff39fcb9547203ed85b9188491cc87baf9441222 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:15:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:15:34 + ls -al . 14:15:34 total 192 14:15:34 drwxrwxr-x 8 jenkins jenkins 4096 Jun 18 14:12 . 14:15:34 drwxrwxr-x 4 jenkins jenkins 4096 Jun 18 14:12 .. 14:15:34 drwxrwxr-x 8 jenkins jenkins 4096 Jun 18 14:12 .git 14:15:34 drwxrwxr-x 2 jenkins jenkins 4096 Jun 18 14:12 .github 14:15:34 -rw-rw-r-- 1 jenkins jenkins 176 Jun 18 14:12 .gitignore 14:15:34 -rw-rw-r-- 1 jenkins jenkins 3104 Jun 18 14:12 Attribution.txt 14:15:34 -rw-rw-r-- 1 jenkins jenkins 7509 Jun 18 14:12 CHANGES 14:15:34 -rw-rw-r-- 1 jenkins jenkins 108574 Jun 18 14:12 Doxyfile 14:15:34 -rw-rw-r-- 1 jenkins jenkins 784 Jun 18 14:12 Jenkinsfile 14:15:34 -rw-rw-r-- 1 jenkins jenkins 10174 Jun 18 14:12 LICENSE 14:15:34 -rw-rw-r-- 1 jenkins jenkins 444 Jun 18 14:12 Makefile 14:15:34 -rw-rw-r-- 1 jenkins jenkins 4090 Jun 18 14:12 README.md 14:15:34 -rw-rw-r-- 1 jenkins jenkins 7090 Jun 18 14:12 README.v2.md 14:15:34 -rw-rw-r-- 1 jenkins jenkins 5 Jun 18 14:08 VERSION 14:15:34 drwxrwxr-x 2 jenkins jenkins 4096 Jun 18 14:12 docs 14:15:34 drwxrwxr-x 4 jenkins jenkins 4096 Jun 18 14:12 include 14:15:34 drwxrwxr-x 2 jenkins jenkins 4096 Jun 18 14:12 scripts 14:15:34 drwxrwxr-x 4 jenkins jenkins 4096 Jun 18 14:12 src [Pipeline] isUnix [Pipeline] sh 14:15:34 + 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=f19e730fe879e245449f2602bca344251008ec84 --label arch=arm64 --label version=0.0.0 . 14:15:35 Sending build context to Docker daemon 2.62MB 14:15:35 Step 1/17 : ARG BASE=alpine:3.12 14:15:35 Step 2/17 : FROM ${BASE} 14:15:35 ---> eff7acef209b 14:15:35 Step 3/17 : LABEL maintainer="IOTech " 14:15:35 ---> Running in e09614ce8088 14:15:35 Removing intermediate container e09614ce8088 14:15:35 ---> a5634b0a6d25 14:15:35 Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub 14:15:35 ---> Running in 280a9e0ac3b5 14:15:37 --2021-06-18 14:15:36-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub 14:15:37 Resolving iotech.jfrog.io... 54.72.115.12, 34.243.182.113, 54.74.239.58 14:15:37 Connecting to iotech.jfrog.io|54.72.115.12|:443... connected. 14:15:37 HTTP request sent, awaiting response... 200 OK 14:15:37 Length: 451 [application/octet-stream] 14:15:37 Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 14:15:37 14:15:37 0K   100% 18.4M=0s 14:15:37 14:15:37 2021-06-18 14:15:37 (18.4 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] 14:15:37 14:15:38 Removing intermediate container 280a9e0ac3b5 14:15:38 ---> 269c53fc29db 14:15:38 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 14:15:38 ---> Running in 8c7665f03a5f 14:15:41 Removing intermediate container 8c7665f03a5f 14:15:41 ---> 8057604f7d4f 14:15:41 Step 6/17 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev hiredis-dev && mkdir -p /edgex-c-sdk/build 14:15:41 ---> Running in d88311040fb2 14:15:42 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 14:15:42 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 14:15:43 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 14:15:43 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 14:15:44 (2/6) Installing libblkid (2.33-r0) 14:15:44 (3/6) Installing libfdisk (2.33-r0) 14:15:44 (4/6) Installing libmount (2.33-r0) 14:15:44 (5/6) Installing libsmartcols (2.33-r0) 14:15:44 (6/6) Installing util-linux-dev (2.33-r0) 14:15:44 Executing busybox-1.29.3-r10.trigger 14:15:45 OK: 287 MiB in 87 packages 14:15:46 Removing intermediate container d88311040fb2 14:15:46 ---> e04d0fd1069b 14:15:46 Step 7/17 : COPY VERSION /edgex-c-sdk/ 14:15:47 ---> b569caf78ee8 14:15:47 Step 8/17 : COPY src /edgex-c-sdk/src/ 14:15:48 ---> ade1eddbfef7 14:15:48 Step 9/17 : COPY include /edgex-c-sdk/include/ 14:15:49 ---> b2c353b0981a 14:15:49 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 14:15:49 ---> 060918b83159 14:15:49 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 14:15:50 ---> 4ccc33a53799 14:15:50 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 14:15:51 ---> dcd3054d4f4f 14:15:51 Step 13/17 : WORKDIR /edgex-c-sdk 14:15:51 ---> Running in f7024b5fee81 14:15:51 Removing intermediate container f7024b5fee81 14:15:51 ---> 5ea043b3c752 14:15:51 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 14:15:51 ---> Running in 67a128938806 14:15:52 Removing intermediate container 67a128938806 14:15:52 ---> a11794f67bff 14:15:52 Step 15/17 : LABEL arch=arm64 14:15:52 ---> Running in e806238c3146 14:15:53 Removing intermediate container e806238c3146 14:15:53 ---> 88b34d800b61 14:15:53 Step 16/17 : LABEL git_sha=f19e730fe879e245449f2602bca344251008ec84 14:15:53 ---> Running in 2dc9f0b39e9c 14:15:54 Removing intermediate container 2dc9f0b39e9c 14:15:54 ---> 745220a62ab0 14:15:54 Step 17/17 : LABEL version=0.0.0 14:15:54 ---> Running in b952651ac321 14:15:54 Removing intermediate container b952651ac321 14:15:54 ---> 08baa0f09461 14:15:54 [Warning] One or more build-args [ARCH MAKE] were not consumed 14:15:54 Successfully built 08baa0f09461 14:15:54 Successfully tagged device-sdk-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [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 14:15:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:15:56 ---> package-listing.sh 14:15:56 ++ tr '[:upper:]' '[:lower:]' 14:15:56 ++ facter osfamily 14:15:57 + OS_FAMILY=redhat 14:15:57 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-352 14:15:57 + START_PACKAGES=/tmp/packages_start.txt 14:15:57 + END_PACKAGES=/tmp/packages_end.txt 14:15:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:15:57 + PACKAGES=/tmp/packages_start.txt 14:15:57 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-352 ']' 14:15:57 + PACKAGES=/tmp/packages_end.txt 14:15:57 + case "${OS_FAMILY}" in 14:15:57 + sort 14:15:57 + rpm -qa 14:15:57 + '[' -f /tmp/packages_start.txt ']' 14:15:57 + '[' -f /tmp/packages_end.txt ']' 14:15:57 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:15:57 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-352 ']' 14:15:57 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-352/archives/ 14:15:57 + 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 14:15:57 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 14:15:57 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 14:15:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:15:58 14:15:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 14:15:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:15:58 alpine: Pulling from edgex-lftools-log-publisher 14:15:58 df20fa9351a1: Pulling fs layer 14:15:58 36b3adc4ff6f: Pulling fs layer 14:15:58 8ad3a11d3b57: Pulling fs layer 14:15:58 46f8f816bc3b: Pulling fs layer 14:15:58 93b61091891f: Pulling fs layer 14:15:58 93b9cdb0e59b: Pulling fs layer 14:15:58 5e14af77c1be: Pulling fs layer 14:15:58 01666e4c0597: Pulling fs layer 14:15:58 aa168da1d23b: Pulling fs layer 14:15:58 93b9cdb0e59b: Waiting 14:15:58 5e14af77c1be: Waiting 14:15:58 01666e4c0597: Waiting 14:15:58 aa168da1d23b: Waiting 14:15:58 46f8f816bc3b: Waiting 14:15:58 93b61091891f: Waiting 14:15:58 36b3adc4ff6f: Verifying Checksum 14:15:58 36b3adc4ff6f: Download complete 14:15:58 46f8f816bc3b: Verifying Checksum 14:15:58 46f8f816bc3b: Download complete 14:15:59 df20fa9351a1: Verifying Checksum 14:15:59 df20fa9351a1: Download complete 14:15:59 93b9cdb0e59b: Verifying Checksum 14:15:59 93b9cdb0e59b: Download complete 14:15:59 5e14af77c1be: Verifying Checksum 14:15:59 5e14af77c1be: Download complete 14:15:59 93b61091891f: Verifying Checksum 14:15:59 93b61091891f: Download complete 14:15:59 01666e4c0597: Verifying Checksum 14:15:59 01666e4c0597: Download complete 14:15:59 8ad3a11d3b57: Verifying Checksum 14:15:59 8ad3a11d3b57: Download complete 14:15:59 df20fa9351a1: Pull complete 14:15:59 36b3adc4ff6f: Pull complete 14:15:59 8ad3a11d3b57: Pull complete 14:15:59 46f8f816bc3b: Pull complete 14:16:00 93b61091891f: Pull complete 14:16:00 93b9cdb0e59b: Pull complete 14:16:00 5e14af77c1be: Pull complete 14:16:00 01666e4c0597: Pull complete 14:16:01 aa168da1d23b: Verifying Checksum 14:16:01 aa168da1d23b: Download complete 14:16:05 aa168da1d23b: Pull complete 14:16:05 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 14:16:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:16:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 14:16:05 prd-centos7-docker-4c-2g-197 does not seem to be running inside a container 14:16:05 $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 14:16:07 $ docker top 3becd407d8e1671442c9196a4bf48fe3ebb0b67e0281fcb8359e025a0b0448a5 -eo pid,comm [Pipeline] { [Pipeline] sh 14:16:08 + touch /tmp/pre-build-complete [Pipeline] sh 14:16:08 + mkdir -p /var/log/sa [Pipeline] sh 14:16:08 + ls /var/log/sa-host 14:16:08 + sadf -c /var/log/sa-host/sa05 14:16:08 file_magic: OK 14:16:08 HZ: Using current value: 100 14:16:08 file_header: OK 14:16:08 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 14:16:08 Statistics: 14:16:08 Hnuu...uuuununununu...Hnuu...uuuununununu... 14:16:08 File successfully converted to sysstat format version 12.2.1 14:16:08 + sadf -c /var/log/sa-host/sa18 14:16:08 file_magic: OK 14:16:08 HZ: Using current value: 100 14:16:08 file_header: OK 14:16:08 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 14:16:08 Statistics: 14:16:08 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 14:16:08 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:16:09 provisioning config files... 14:16:09 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-352@tmp/config3844278538042521582tmp [Pipeline] { [Pipeline] echo 14:16:09 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:16:09 ---> create-netrc.sh [Pipeline] } 14:16:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:16:10 ---> python-tools-install.sh [Pipeline] echo 14:16:10 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:16:10 ---> sudo-logs.sh 14:16:10 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 14:16:10 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:16:11 ---> job-cost.sh 14:16:11 lf-activate-venv: SKIPPING 14:16:11 INFO: No Stack... 14:16:12 INFO: Retrieving Pricing Info for: v3-standard-2 14:16:12 INFO: Archiving Costs [Pipeline] echo 14:16:12 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:16:12 ---> logs-deploy.sh 14:16:12 lf-activate-venv: SKIPPING 14:16:12 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-352/2 14:16:12 INFO: archiving workspace using pattern(s): 14:16:13 Archives upload complete. 14:16:13 INFO: archiving logs to Nexus 14:16:14 ---> uname -a: 14:16:14 Linux prd-centos7-docker-4c-2g-197.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux 14:16:14 14:16:14 14:16:14 ---> lscpu: 14:16:14 Architecture: x86_64 14:16:14 CPU op-mode(s): 32-bit, 64-bit 14:16:14 Byte Order: Little Endian 14:16:14 Address sizes: 40 bits physical, 48 bits virtual 14:16:14 CPU(s): 2 14:16:14 On-line CPU(s) list: 0,1 14:16:14 Thread(s) per core: 1 14:16:14 Core(s) per socket: 1 14:16:14 Socket(s): 2 14:16:14 NUMA node(s): 1 14:16:14 Vendor ID: AuthenticAMD 14:16:14 CPU family: 23 14:16:14 Model: 49 14:16:14 Model name: AMD EPYC-Rome Processor 14:16:14 Stepping: 0 14:16:14 CPU MHz: 2800.000 14:16:14 BogoMIPS: 5600.00 14:16:14 Virtualization: AMD-V 14:16:14 Hypervisor vendor: KVM 14:16:14 Virtualization type: full 14:16:14 L1d cache: 64 KiB 14:16:14 L1i cache: 64 KiB 14:16:14 L2 cache: 1 MiB 14:16:14 L3 cache: 32 MiB 14:16:14 NUMA node0 CPU(s): 0,1 14:16:14 Vulnerability Itlb multihit: Not affected 14:16:14 Vulnerability L1tf: Not affected 14:16:14 Vulnerability Mds: Not affected 14:16:14 Vulnerability Meltdown: Not affected 14:16:14 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 14:16:14 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 14:16:14 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 14:16:14 Vulnerability Srbds: Not affected 14:16:14 Vulnerability Tsx async abort: Not affected 14:16:14 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 14:16:14 14:16:14 14:16:14 ---> nproc: 14:16:14 2 14:16:14 14:16:14 14:16:14 ---> df -h: 14:16:14 Filesystem Size Used Available Use% Mounted on 14:16:14 overlay 40.0G 7.6G 32.4G 19% / 14:16:14 tmpfs 64.0M 0 64.0M 0% /dev 14:16:14 tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup 14:16:14 shm 64.0M 0 64.0M 0% /dev/shm 14:16:14 /dev/vda1 40.0G 7.6G 32.4G 19% /facter-os 14:16:14 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/resolv.conf 14:16:14 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hostname 14:16:14 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hosts 14:16:14 /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/edgexfoundry_device-sdk-c_PR-352 14:16:14 /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/edgexfoundry_device-sdk-c_PR-352@tmp 14:16:14 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/sa-host 14:16:14 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/secure 14:16:14 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/auth.log 14:16:14 /dev/vda1 40.0G 7.6G 32.4G 19% /run/cloud-init/result.json 14:16:14 14:16:14 14:16:14 ---> free -m: 14:16:14 total used free shared buff/cache available 14:16:14 Mem: 7821 981 4742 0 2097 6661 14:16:14 Swap: 1023 0 1023 14:16:14 14:16:14 14:16:14 ---> ip addr: 14:16:14 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 14:16:14 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 14:16:14 inet 127.0.0.1/8 scope host lo 14:16:14 valid_lft forever preferred_lft forever 14:16:14 inet6 ::1/128 scope host 14:16:14 valid_lft forever preferred_lft forever 14:16:14 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 14:16:14 link/ether fa:16:3e:3c:19:88 brd ff:ff:ff:ff:ff:ff 14:16:14 inet 10.30.122.189/23 brd 10.30.123.255 scope global dynamic eth0 14:16:14 valid_lft 85875sec preferred_lft 85875sec 14:16:14 inet6 fe80::f816:3eff:fe3c:1988/64 scope link 14:16:14 valid_lft forever preferred_lft forever 14:16:14 3: docker0: mtu 1500 qdisc noqueue state DOWN 14:16:14 link/ether 02:42:27:d8:aa:e8 brd ff:ff:ff:ff:ff:ff 14:16:14 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 14:16:14 valid_lft forever preferred_lft forever 14:16:14 inet6 fe80::42:27ff:fed8:aae8/64 scope link 14:16:14 valid_lft forever preferred_lft forever 14:16:14 14:16:14 14:16:14 ---> sar -b -r -n DEV: 14:16:14 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) 14:16:14 14:16:14 14:07:19 LINUX RESTART (2 CPU) 14:16:14 14:16:14 14:08:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 14:16:14 14:09:01 20.63 3.35 17.29 0.00 2564.26 2681.10 0.00 14:16:14 14:10:01 0.28 0.00 0.28 0.00 0.00 4.85 0.00 14:16:14 14:11:01 0.32 0.00 0.32 0.00 0.00 3.75 0.00 14:16:14 14:12:01 0.32 0.00 0.32 0.00 0.00 4.36 0.00 14:16:14 14:13:01 0.32 0.00 0.32 0.00 0.00 4.06 0.00 14:16:14 14:14:01 0.32 0.00 0.32 0.00 0.00 3.78 0.00 14:16:14 14:15:01 0.18 0.00 0.18 0.00 0.00 2.05 0.00 14:16:14 14:16:01 3.38 0.10 3.28 0.00 10.00 76.26 0.00 14:16:14 Average: 3.22 0.43 2.79 0.00 321.87 347.62 0.00 14:16:14 14:16:14 14:08:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 14:16:14 14:09:01 5449688 0 816532 10.20 2620 1740100 1295860 14.31 584636 1575356 24 14:16:14 14:10:01 5459460 0 806756 10.07 2620 1740104 1203124 13.28 576304 1575320 16 14:16:14 14:11:01 5461124 0 805088 10.05 2620 1740108 1202908 13.28 577420 1572936 8 14:16:14 14:12:01 5458468 0 807740 10.09 2620 1740112 1203208 13.28 580056 1572936 8 14:16:14 14:13:01 5457484 0 808716 10.10 2620 1740120 1203052 13.28 574020 1580992 8 14:16:14 14:14:01 5456760 0 809440 10.11 2620 1740120 1202908 13.28 574384 1580992 8 14:16:14 14:15:01 5455372 0 810816 10.12 2620 1740132 1202968 13.28 575496 1580992 12 14:16:14 14:16:01 5110980 0 937540 11.71 2620 1957800 1610012 17.78 834124 1639544 216856 14:16:14 Average: 5413667 0 825328 10.31 2620 1767324 1265505 13.97 609555 1584884 27118 14:16:14 14:16:14 14:08:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 14:16:14 14:09:01 eth0 82.08 67.06 362.80 14.86 0.00 0.00 0.00 0.00 14:16:14 14:09:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:16:14 14:09:01 docker0 8.99 7.78 1.10 25.59 0.00 0.00 0.00 0.00 14:16:14 14:10:01 eth0 0.47 0.23 0.27 0.19 0.00 0.00 0.00 0.00 14:16:14 14:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:16:14 14:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:16:14 14:11:01 eth0 0.80 0.08 0.07 0.01 0.00 0.00 0.00 0.00 14:16:14 14:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:16:14 14:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:16:14 14:12:01 eth0 4.18 1.75 3.31 0.29 0.00 0.00 0.00 0.00 14:16:14 14:12:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:16:14 14:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:16:14 14:13:01 eth0 0.63 0.42 0.35 0.24 0.00 0.00 0.00 0.00 14:16:14 14:13:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:16:14 14:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:16:14 14:14:01 eth0 0.10 0.08 0.01 0.03 0.00 0.00 0.00 0.00 14:16:14 14:14:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:16:14 14:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:16:14 14:15:01 eth0 0.18 0.13 0.07 0.01 0.00 0.00 0.00 0.00 14:16:14 14:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:16:14 14:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:16:14 14:16:01 eth0 219.69 198.08 2166.03 16.76 0.00 0.00 0.00 0.00 14:16:14 14:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:16:14 14:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:16:14 Average: eth0 38.52 33.48 316.61 4.05 0.00 0.00 0.00 0.00 14:16:14 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:16:14 Average: docker0 1.12 0.97 0.14 3.20 0.00 0.00 0.00 0.00 14:16:14 14:16:14 14:16:14 ---> sar -P ALL: 14:16:14 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) 14:16:14 14:16:14 14:07:19 LINUX RESTART (2 CPU) 14:16:14 14:16:14 14:08:01 CPU %user %nice %system %iowait %steal %idle 14:16:14 14:09:01 all 2.94 0.00 1.50 0.46 0.05 95.04 14:16:14 14:09:01 0 2.89 0.00 1.57 0.39 0.05 95.10 14:16:14 14:09:01 1 3.00 0.00 1.43 0.54 0.05 94.98 14:16:14 14:10:01 all 0.11 0.00 0.04 0.00 0.03 99.82 14:16:14 14:10:01 0 0.15 0.00 0.05 0.00 0.02 99.78 14:16:14 14:10:01 1 0.07 0.00 0.03 0.00 0.03 99.87 14:16:14 14:11:01 all 0.10 0.00 0.03 0.00 0.03 99.83 14:16:14 14:11:01 0 0.15 0.00 0.02 0.00 0.02 99.82 14:16:14 14:11:01 1 0.05 0.00 0.05 0.00 0.05 99.85 14:16:14 14:12:01 all 0.13 0.00 0.03 0.00 0.03 99.81 14:16:14 14:12:01 0 0.23 0.00 0.03 0.00 0.03 99.70 14:16:14 14:12:01 1 0.03 0.00 0.02 0.00 0.03 99.92 14:16:14 14:13:01 all 0.17 0.00 0.04 0.00 0.03 99.76 14:16:14 14:13:01 0 0.28 0.00 0.05 0.00 0.03 99.63 14:16:14 14:13:01 1 0.05 0.00 0.03 0.00 0.03 99.88 14:16:14 14:14:01 all 0.08 0.00 0.02 0.00 0.03 99.87 14:16:14 14:14:01 0 0.13 0.00 0.02 0.00 0.03 99.82 14:16:14 14:14:01 1 0.02 0.00 0.02 0.00 0.03 99.93 14:16:14 14:15:01 all 0.11 0.00 0.05 0.00 0.03 99.81 14:16:14 14:15:01 0 0.07 0.00 0.05 0.00 0.03 99.85 14:16:14 14:15:01 1 0.15 0.00 0.05 0.00 0.03 99.77 14:16:14 14:16:01 all 3.24 0.00 1.08 0.03 0.03 95.63 14:16:14 14:16:01 0 3.56 0.00 1.16 0.03 0.02 95.23 14:16:14 14:16:01 1 2.93 0.00 0.99 0.02 0.03 96.03 14:16:14 Average: all 0.86 0.00 0.35 0.06 0.03 98.70 14:16:14 Average: 0 0.93 0.00 0.37 0.05 0.03 98.62 14:16:14 Average: 1 0.78 0.00 0.33 0.07 0.04 98.78 14:16:14 14:16:14 14:16:14