Pull request #348 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of iain-anderson for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 06b752e626a66475f3ba444a1929f976db96c5b5+f6bb9bf53ac86779778c08f9fa605f5085252768 (34f32c4c36d399552db1ab8885e8aada43b6ad29) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4526732289890228833.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd 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-ssh4535908766890877562.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 c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-348/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-348/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6947869654675797029.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-348/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh940938726249451880.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd # timeout=10 Commit message: "Merge pull request #338 from ernestojeda/add-latest-tag" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3078073395137217993.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-348/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-348/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3985964367047431612.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd (master) > git config core.sparsecheckout # timeout=10 > git checkout -f d1a99147b03c6cd90561f8e70b7af78166bcd4cd # timeout=10 Commit message: "Feat: Add initial Java pipeline functionality" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd 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 Running on prd-centos7-docker-4c-2g-889 in /w/workspace/edgexfoundry_device-sdk-c_PR-348 [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-348 # 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-348@tmp/jenkins-gitclient-ssh2727725420842872681.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit f6bb9bf53ac86779778c08f9fa605f5085252768 into PR head commit 06b752e626a66475f3ba444a1929f976db96c5b5 Merge succeeded, producing 06b752e626a66475f3ba444a1929f976db96c5b5 Checking out Revision 06b752e626a66475f3ba444a1929f976db96c5b5 (PR-348) > 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-348@tmp/jenkins-gitclient-ssh226979390538745316.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/348/head:refs/remotes/origin/PR-348 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 06b752e626a66475f3ba444a1929f976db96c5b5 # 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-348@tmp/jenkins-gitclient-ssh760660292160015029.key > git merge f6bb9bf53ac86779778c08f9fa605f5085252768 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 06b752e626a66475f3ba444a1929f976db96c5b5 # timeout=10 Commit message: "feat: only parse protocols/attributes once" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:48:04 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:48:04 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:48:09 ========================================================= 09:48:09 EdgeX Global Pipelines Version Info 09:48:09 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:48:10 ------------------- 09:48:10 stable info: 09:48:10 ------------------- 09:48:10 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:48:10 Commit SHA: c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd 09:48:10 Message: update stable to v1.0.193 09:48:12 ------------------- 09:48:12 experimental info: 09:48:12 ------------------- 09:48:12 Commited By: **** collab-it+edgex@linuxfoundation.org 09:48:12 Commit SHA: c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd 09:48:12 Message: update experimental to v1.0.193 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:48:12 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 09:48:12 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 09:48:13 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:48:13 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:48:13 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:48:13 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo 09:48:13 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 09:48:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 09:48:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:48:13 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 09:48:13 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:48:13 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:48:13 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:48:13 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 09:48:13 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:48:13 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:48:13 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:48:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-348 [Pipeline] echo 09:48:13 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-348 [Pipeline] echo 09:48:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-348 [Pipeline] echo 09:48:14 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 06b752e626a66475f3ba444a1929f976db96c5b5 [Pipeline] echo 09:48:14 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 06b752e [Pipeline] echo 09:48:14 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:48:14 provisioning config files... 09:48:14 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-348@tmp/config5725999840073659874tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:48:14 ---> docker-login.sh 09:48:14 nexus3.edgexfoundry.org:10001 09:48:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:48:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:48:14 Configure a credential helper to remove this warning. See 09:48:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:48:14 09:48:14 Login Succeeded 09:48:14 nexus3.edgexfoundry.org:10002 09:48:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:48:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:48:15 Configure a credential helper to remove this warning. See 09:48:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:48:15 09:48:15 Login Succeeded 09:48:15 nexus3.edgexfoundry.org:10003 09:48:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:48:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:48:15 Configure a credential helper to remove this warning. See 09:48:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:48:15 09:48:15 Login Succeeded 09:48:15 nexus3.edgexfoundry.org:10004 09:48:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:48:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:48:15 Configure a credential helper to remove this warning. See 09:48:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:48:15 09:48:15 Login Succeeded 09:48:15 docker.io 09:48:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:48:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:48:15 Configure a credential helper to remove this warning. See 09:48:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:48:15 09:48:15 Login Succeeded 09:48:15 ---> docker-login.sh ends [Pipeline] } 09:48:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 09:48:19 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:48:19 09:48:19 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 09:48:19 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:48:19 latest: Pulling from edgex-devops/git-semver 09:48:19 31603596830f: Pulling fs layer 09:48:19 54011a49482f: Pulling fs layer 09:48:19 a6820b24f6d8: Pulling fs layer 09:48:19 f581987b2513: Pulling fs layer 09:48:19 f581987b2513: Waiting 09:48:19 54011a49482f: Verifying Checksum 09:48:19 54011a49482f: Download complete 09:48:20 31603596830f: Verifying Checksum 09:48:20 31603596830f: Download complete 09:48:20 f581987b2513: Verifying Checksum 09:48:20 f581987b2513: Download complete 09:48:20 a6820b24f6d8: Verifying Checksum 09:48:20 a6820b24f6d8: Download complete 09:48:20 31603596830f: Pull complete 09:48:20 54011a49482f: Pull complete 09:48:20 a6820b24f6d8: Pull complete 09:48:21 f581987b2513: Pull complete 09:48:21 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 09:48:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:48:21 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 09:48:21 prd-centos7-docker-4c-2g-889 does not seem to be running inside a container 09:48:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-348 -v /w/workspace/edgexfoundry_device-sdk-c_PR-348:/w/workspace/edgexfoundry_device-sdk-c_PR-348:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-348@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-348@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 09:48:22 $ docker top 206b72a73e1a4164eb72164bb57523f47ca89ce00026e193c56a026e69231782 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:48:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:48:22 [ssh-agent] Looking for ssh-agent implementation... 09:48:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:48:22 $ docker exec 206b72a73e1a4164eb72164bb57523f47ca89ce00026e193c56a026e69231782 ssh-agent 09:48:23 SSH_AUTH_SOCK=/tmp/ssh-LUR5uU3yKxSw/agent.14 09:48:23 SSH_AGENT_PID=20 09:48:23 Running ssh-add (command line suppressed) 09:48:23 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-348@tmp/private_key_1836859364440745889.key (/w/workspace/edgexfoundry_device-sdk-c_PR-348@tmp/private_key_1836859364440745889.key) 09:48:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:48:23 + git tag --points-at HEAD [Pipeline] } 09:48:23 $ docker exec --env ******** --env ******** 206b72a73e1a4164eb72164bb57523f47ca89ce00026e193c56a026e69231782 ssh-agent -k 09:48:23 unset SSH_AUTH_SOCK; 09:48:23 unset SSH_AGENT_PID; 09:48:23 echo Agent pid 20 killed; 09:48:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:48:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:48:23 [ssh-agent] Looking for ssh-agent implementation... 09:48:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:48:24 $ docker exec 206b72a73e1a4164eb72164bb57523f47ca89ce00026e193c56a026e69231782 ssh-agent 09:48:24 SSH_AUTH_SOCK=/tmp/ssh-BlGv3NZoV6bs/agent.52 09:48:24 SSH_AGENT_PID=58 09:48:24 Running ssh-add (command line suppressed) 09:48:24 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-348@tmp/private_key_6833396295497017001.key (/w/workspace/edgexfoundry_device-sdk-c_PR-348@tmp/private_key_6833396295497017001.key) 09:48:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:48:24 + git semver init 09:48:24 # -> Open(): unable to determine branch for HEAD 09:48:24 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-348/.git 09:48:24 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-348 09:48:24 # $SEMVER_REMOTE_NAME = origin 09:48:24 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:48:24 # $SEMVER_USER_NAME = edgex-jenkins 09:48:24 # $SEMVER_BRANCH = PR-348 09:48:24 # $SEMVER_TEMP = /tmp/semver-628883223 09:48:24 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 09:48:25 # '/tmp/semver-628883223' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-348/.semver' 09:48:25 # -> Force: false 09:48:25 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-348/.semver [Pipeline] } 09:48:25 $ docker exec --env ******** --env ******** 206b72a73e1a4164eb72164bb57523f47ca89ce00026e193c56a026e69231782 ssh-agent -k 09:48:25 unset SSH_AUTH_SOCK; 09:48:25 unset SSH_AGENT_PID; 09:48:25 echo Agent pid 58 killed; 09:48:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:48:25 + git semver [Pipeline] } 09:48:25 $ docker stop --time=1 206b72a73e1a4164eb72164bb57523f47ca89ce00026e193c56a026e69231782 09:48:27 $ docker rm -f 206b72a73e1a4164eb72164bb57523f47ca89ce00026e193c56a026e69231782 [Pipeline] // withDockerContainer [Pipeline] sh 09:48:27 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:48:27 Stashed 1 file(s) [Pipeline] echo 09:48:27 [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 09:48:43 Still waiting to schedule task 09:48:43 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-889’ 09:48:43 Still waiting to schedule task 09:48:43 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 09:50:49 Running on prd-ubuntu18.04-docker-arm64-4c-16g-890 in /w/workspace/edgexfoundry_device-sdk-c_PR-348 [Pipeline] { [Pipeline] ws 09:50:49 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 09:50:49 Selected Git installation does not exist. Using Default 09:50:49 The recommended git tool is: NONE 09:50:55 using credential edgex-jenkins-ssh 09:50:55 Cloning the remote Git repository 09:50:55 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 09:50:55 > git init /w/workspace/device-sdk-c/1 # timeout=10 09:50:55 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 09:50:55 > git --version # timeout=10 09:50:55 > git --version # 'git version 2.17.1' 09:50:55 using GIT_SSH to set credentials SSH Credentials for GitHub 09:50:55 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:50:57 Merging remotes/origin/master commit f6bb9bf53ac86779778c08f9fa605f5085252768 into PR head commit 06b752e626a66475f3ba444a1929f976db96c5b5 09:50:56 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 09:50:56 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:50:56 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 09:50:56 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 09:50:56 using GIT_SSH to set credentials SSH Credentials for GitHub 09:50:56 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/348/head:refs/remotes/origin/PR-348 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:50:57 Merge succeeded, producing 06b752e626a66475f3ba444a1929f976db96c5b5 09:50:57 Checking out Revision 06b752e626a66475f3ba444a1929f976db96c5b5 (PR-348) 09:50:57 > git config core.sparsecheckout # timeout=10 09:50:57 > git checkout -f 06b752e626a66475f3ba444a1929f976db96c5b5 # timeout=10 09:50:57 > git remote # timeout=10 09:50:57 > git config --get remote.origin.url # timeout=10 09:50:57 using GIT_SSH to set credentials SSH Credentials for GitHub 09:50:57 > git merge f6bb9bf53ac86779778c08f9fa605f5085252768 # timeout=10 09:50:57 > git rev-parse HEAD^{commit} # timeout=10 09:50:57 > git config core.sparsecheckout # timeout=10 09:50:57 > git checkout -f 06b752e626a66475f3ba444a1929f976db96c5b5 # timeout=10 09:51:01 Commit message: "feat: only parse protocols/attributes once" 09:51:01 > git --version # timeout=10 09:51:01 > git --version # 'git version 2.17.1' 09:51:01 fatal: bad object c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:51:03 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 09:51:05 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 09:51:06 + + truesudo 09:51:06 service docker restart 09:51:10 Running on prd-centos7-docker-4c-2g-891 in /w/workspace/edgexfoundry_device-sdk-c_PR-348 [Pipeline] { [Pipeline] ws 09:51:11 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 09:51:11 Selected Git installation does not exist. Using Default 09:51:11 The recommended git tool is: NONE 09:51:13 using credential edgex-jenkins-ssh 09:51:13 Cloning the remote Git repository 09:51:13 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 09:51:13 > git init /w/workspace/device-sdk-c/1 # timeout=10 09:51:13 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 09:51:13 > git --version # timeout=10 09:51:13 > git --version # 'git version 2.24.4' 09:51:13 using GIT_SSH to set credentials SSH Credentials for GitHub 09:51:13 [INFO] Currently running in a labeled security context 09:51:13 [INFO] Currently SELinux is 'enforcing' on the host 09:51:13 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh5406881902714903955.key 09:51:13 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:51:15 Merging remotes/origin/master commit f6bb9bf53ac86779778c08f9fa605f5085252768 into PR head commit 06b752e626a66475f3ba444a1929f976db96c5b5 09:51:15 Merge succeeded, producing 06b752e626a66475f3ba444a1929f976db96c5b5 09:51:15 Checking out Revision 06b752e626a66475f3ba444a1929f976db96c5b5 (PR-348) 09:51:14 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 09:51:14 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:51:14 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 09:51:14 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 09:51:14 using GIT_SSH to set credentials SSH Credentials for GitHub 09:51:14 [INFO] Currently running in a labeled security context 09:51:14 [INFO] Currently SELinux is 'enforcing' on the host 09:51:14 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh5973444017854065550.key 09:51:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/348/head:refs/remotes/origin/PR-348 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:51:15 > git config core.sparsecheckout # timeout=10 09:51:15 > git checkout -f 06b752e626a66475f3ba444a1929f976db96c5b5 # timeout=10 09:51:15 > git remote # timeout=10 09:51:15 > git config --get remote.origin.url # timeout=10 09:51:15 using GIT_SSH to set credentials SSH Credentials for GitHub 09:51:15 [INFO] Currently running in a labeled security context 09:51:15 [INFO] Currently SELinux is 'enforcing' on the host 09:51:15 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh573776799576605505.key 09:51:15 > git merge f6bb9bf53ac86779778c08f9fa605f5085252768 # timeout=10 09:51:15 > git rev-parse HEAD^{commit} # timeout=10 09:51:15 > git config core.sparsecheckout # timeout=10 09:51:15 > git checkout -f 06b752e626a66475f3ba444a1929f976db96c5b5 # timeout=10 09:51:19 Commit message: "feat: only parse protocols/attributes once" 09:51:19 > git --version # timeout=10 09:51:19 > git --version # 'git version 2.24.4' 09:51:19 fatal: bad object c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:51:22 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 09:51:22 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 09:51:22 + sudo service docker restart 09:51:22 + true 09:51:22 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:51:24 provisioning config files... 09:51:24 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config9194540450522068122tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:51:25 ---> docker-login.sh 09:51:25 nexus3.edgexfoundry.org:10001 09:51:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:51:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:51:26 Configure a credential helper to remove this warning. See 09:51:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:51:26 09:51:26 Login Succeeded 09:51:26 nexus3.edgexfoundry.org:10002 09:51:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:51:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:51:27 Configure a credential helper to remove this warning. See 09:51:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:51:27 09:51:27 Login Succeeded 09:51:27 nexus3.edgexfoundry.org:10003 09:51:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:51:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:51:27 Configure a credential helper to remove this warning. See 09:51:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:51:27 09:51:27 Login Succeeded 09:51:27 nexus3.edgexfoundry.org:10004 09:51:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:51:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:51:28 Configure a credential helper to remove this warning. See 09:51:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:51:28 09:51:28 Login Succeeded 09:51:28 docker.io 09:51:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:51:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:51:29 Configure a credential helper to remove this warning. See 09:51:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:51:29 09:51:29 Login Succeeded 09:51:29 ---> docker-login.sh ends [Pipeline] } 09:51:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:51:29 ========================================================= 09:51:29 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 09:51:29 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:51:30 + 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 . 09:51:30 Sending build context to Docker daemon 2.718MB 09:51:30 Step 1/25 : ARG BASE=alpine:3.12 09:51:30 Step 2/25 : FROM ${BASE} as builder 09:51:31 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 09:51:31 0362ad1dd800: Pulling fs layer 09:51:31 f2cdb1532d8b: Pulling fs layer 09:51:31 37ed683be191: Pulling fs layer 09:51:31 f2cdb1532d8b: Download complete 09:51:31 0362ad1dd800: Download complete 09:51:31 0362ad1dd800: Pull complete 09:51:32 f2cdb1532d8b: Pull complete 09:51:33 37ed683be191: Verifying Checksum 09:51:33 37ed683be191: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:51:41 provisioning config files... 09:51:41 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config2498154400738208457tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:51:41 ---> docker-login.sh 09:51:41 nexus3.edgexfoundry.org:10001 09:51:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:51:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:51:42 Configure a credential helper to remove this warning. See 09:51:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:51:42 09:51:42 Login Succeeded 09:51:42 nexus3.edgexfoundry.org:10002 09:51:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:51:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:51:42 Configure a credential helper to remove this warning. See 09:51:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:51:42 09:51:42 Login Succeeded 09:51:42 nexus3.edgexfoundry.org:10003 09:51:42 37ed683be191: Pull complete 09:51:42 Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f 09:51:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 09:51:42 ---> b23d30803547 09:51:42 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 09:51:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:51:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:51:42 Configure a credential helper to remove this warning. See 09:51:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:51:42 09:51:42 Login Succeeded 09:51:42 nexus3.edgexfoundry.org:10004 09:51:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:51:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:51:42 Configure a credential helper to remove this warning. See 09:51:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:51:42 09:51:42 Login Succeeded 09:51:42 docker.io 09:51:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:51:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:51:42 Configure a credential helper to remove this warning. See 09:51:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:51:42 09:51:42 Login Succeeded 09:51:42 ---> docker-login.sh ends [Pipeline] } 09:51:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:51:43 ========================================================= 09:51:43 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 09:51:43 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:51: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 . 09:51:43 Sending build context to Docker daemon 2.719MB 09:51:43 Step 1/25 : ARG BASE=alpine:3.12 09:51:43 Step 2/25 : FROM ${BASE} as builder 09:51:43 ---> Running in c85544002420 09:51:43 latest: Pulling from edgex-devops/edgex-gcc-base 09:51:43 e7c96db7181b: Pulling fs layer 09:51:43 4c13bbce0fe7: Pulling fs layer 09:51:43 6059c847ac2f: Pulling fs layer 09:51:43 4c13bbce0fe7: Verifying Checksum 09:51:43 4c13bbce0fe7: Download complete 09:51:43 e7c96db7181b: Verifying Checksum 09:51:43 e7c96db7181b: Download complete 09:51:44 e7c96db7181b: Pull complete 09:51:44 4c13bbce0fe7: Pull complete 09:51:45 6059c847ac2f: Verifying Checksum 09:51:45 6059c847ac2f: Download complete 09:51:45 Connecting to iotech.jfrog.io (54.74.239.58:443) 09:51:45 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 09:51:45 09:51:46 Removing intermediate container c85544002420 09:51:46 ---> 8267f34b5f50 09:51:46 Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 09:51:46 ---> Running in 92fad4a7e6f8 09:51:48 6059c847ac2f: Pull complete 09:51:48 Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e 09:51:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 09:51:48 ---> 5eabd8fd8ba2 09:51: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 09:51:49 Removing intermediate container 92fad4a7e6f8 09:51:49 ---> bdedeb4111e7 09:51:49 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 09:51:49 ---> Running in 240a93916e44 09:51:50 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 09:51:50 ---> Running in 8070c946a0aa 09:51:50 Connecting to iotech.jfrog.io (54.72.115.12:443) 09:51:50 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 09:51:50 09:51:51 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 09:51:51 Removing intermediate container 8070c946a0aa 09:51:51 ---> 766907b43236 09:51:51 Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 09:51:51 ---> Running in 1fdb045c7f07 09:51:51 Removing intermediate container 1fdb045c7f07 09:51:51 ---> be4c315fdcc7 09:51:51 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 09:51:51 ---> Running in 54b8b630926d 09:51:51 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 09:51:52 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 09:51:52 (1/11) Installing hiredis (0.14.0-r0) 09:51:52 (2/11) Installing hiredis-dev (0.14.0-r0) 09:51:52 (3/11) Installing ncurses-dev (6.1_p20190105-r0) 09:51:52 (4/11) Installing paho-mqtt-c-dev (1.3.5-r0) 09:51:52 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 09:51:53 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 09:51:53 (1/11) Installing hiredis (0.14.0-r0) 09:51:53 (2/11) Installing hiredis-dev (0.14.0-r0) 09:51:53 (3/11) Installing ncurses-dev (6.1_p20190105-r0) 09:51:53 (4/11) Installing paho-mqtt-c-dev (1.3.5-r0) 09:51:54 (5/11) Installing libuuid (2.33-r0) 09:51:54 (6/11) Installing libblkid (2.33-r0) 09:51:54 (7/11) Installing libfdisk (2.33-r0) 09:51:54 (8/11) Installing libmount (2.33-r0) 09:51:54 (9/11) Installing libsmartcols (2.33-r0) 09:51:55 (5/11) Installing libuuid (2.33-r0) 09:51:55 (6/11) Installing libblkid (2.33-r0) 09:51:55 (10/11) Installing util-linux-dev (2.33-r0) 09:51:55 (7/11) Installing libfdisk (2.33-r0) 09:51:55 (8/11) Installing libmount (2.33-r0) 09:51:55 (11/11) Installing wget (1.20.3-r0) 09:51:55 Executing busybox-1.29.3-r10.trigger 09:51:55 OK: 287 MiB in 86 packages 09:51:55 (9/11) Installing libsmartcols (2.33-r0) 09:51:55 (10/11) Installing util-linux-dev (2.33-r0) 09:51:55 (11/11) Installing wget (1.20.3-r0) 09:51:55 Executing busybox-1.29.3-r10.trigger 09:51:55 OK: 273 MiB in 86 packages 09:51:56 Removing intermediate container 54b8b630926d 09:51:56 ---> d5750f2fdce8 09:51:56 Step 6/25 : ENV CBOR_VERSION=0.5.0 09:51:56 ---> Running in ef0d81cff52e 09:51:56 Removing intermediate container ef0d81cff52e 09:51:56 ---> 18aa4c3f2447 09:51:56 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 09:51:56 ---> Running in cb81ed03fdf1 09:51:56 Removing intermediate container 240a93916e44 09:51:56 ---> 4c4d4cacd051 09:51:56 Step 6/25 : ENV CBOR_VERSION=0.5.0 09:51:56 --2021-06-08 09:51:56-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 09:51:56 Resolving github.com... 140.82.112.3 09:51:56 Connecting to github.com|140.82.112.3|:443... connected. 09:51:56 HTTP request sent, awaiting response... 302 Found 09:51:56 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 09:51:56 --2021-06-08 09:51:56-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 09:51:56 Resolving codeload.github.com... 140.82.113.10 09:51:56 Connecting to codeload.github.com|140.82.113.10|:443... connected. 09:51:57 ---> Running in af331f1c106a 09:51:57 HTTP request sent, awaiting response... 200 OK 09:51:57 Length: unspecified [application/x-gzip] 09:51:57 Saving to: 'STDOUT' 09:51:57  09:51:57 0K .......... .......... .......... .......... .......... 1.55M 09:51:57 50K .......... .......... .......... .......... .......... 3.15M 09:51:57 100K .......... .......... .......... .......... .......... 36.7M 09:51:57 150K .......... .......... .......... .......... .......... 40.6M 09:51:57 200K .......... .......... .......... .......... .......... 3.55M 09:51:57 250K .......... .......... .......... .......... .......... 4.89M 09:51:57 300K .......... .......... .......... .......... .......... 26.9M 09:51:57 350K .......... .......... .......... .......... .......... 13.1M 09:51:57 400K .......... .......... .......... .......... .......... 13.3M 09:51:57 450K .......... .......... .......... .......... .......... 12.5M 09:51:57 500K .......... .......... .......... .......... .......... 27.6M 09:51:57 550K .......... .......... .......... .......... .......... 10.1M 09:51:57 600K .......... .......... .......... .......... .......... 4.64M 09:51:57 650K .......... .......... .......... .......... .......... 9.79M 09:51:57 700K .. 45.9M=0.1s 09:51:57 09:51:57 2021-06-08 09:51:57 (6.32 MB/s) - written to stdout [719348] 09:51:57 09:51:57 -- The C compiler identification is GNU 8.3.0 09:51:57 -- The CXX compiler identification is GNU 8.3.0 09:51:57 -- Check for working C compiler: /usr/bin/cc 09:51:57 -- Check for working C compiler: /usr/bin/cc -- works 09:51:57 -- Detecting C compiler ABI info 09:51:57 -- Detecting C compiler ABI info - done 09:51:57 -- Detecting C compile features 09:51:57 -- Detecting C compile features - done 09:51:57 -- Check for working CXX compiler: /usr/bin/c++ 09:51:57 -- Check for working CXX compiler: /usr/bin/c++ -- works 09:51:57 -- Detecting CXX compiler ABI info 09:51:57 Removing intermediate container af331f1c106a 09:51:57 ---> a3fd3c33f77a 09:51: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 09:51:57 ---> Running in 0f8d4fa9f8b1 09:51:57 -- Detecting CXX compiler ABI info - done 09:51:57 -- Detecting CXX compile features 09:51:58 -- Detecting CXX compile features - done 09:51:58 -- Looking for include file endian.h 09:51:58 -- Looking for include file endian.h - found 09:51:58 -- Check if the system is big endian 09:51:58 -- Searching 16 bit integer 09:51:58 -- Looking for sys/types.h 09:51:58 -- Looking for sys/types.h - found 09:51:58 -- Looking for stdint.h 09:51:58 -- Looking for stdint.h - found 09:51:58 -- Looking for stddef.h 09:51:58 -- Looking for stddef.h - found 09:51:58 -- Check size of unsigned short 09:51:58 -- Check size of unsigned short - done 09:51:58 -- Using unsigned short 09:51:58 -- Check if the system is big endian - little endian 09:51:58 -- Check size of size_t 09:51:58 -- Check size of size_t - done 09:51:58 CMake Warning at examples/CMakeLists.txt:16 (find_package): 09:51:58 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 09:51:58 asked CMake to find a package configuration file provided by "cJSON", but 09:51:58 CMake did not find one. 09:51:58 09:51:58 Could not find a package configuration file provided by "cJSON" with any of 09:51:58 the following names: 09:51:58 09:51:58 cJSONConfig.cmake 09:51:58 cjson-config.cmake 09:51:58 09:51:58 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 09:51:58 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 09:51:58 provides a separate development package or SDK, be sure it has been 09:51:58 installed. 09:51:58 09:51:58 09:51:58 -- Configuring done 09:51:58 -- Generating done 09:51:58 -- Build files have been written to: /tmp/cbor 09:51:58 Scanning dependencies of target cbor_shared 09:51:58 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 09:51:59 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 09:51:59 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 09:51:59 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 09:51:59 --2021-06-08 09:51:58-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 09:51:59 Resolving github.com... 140.82.112.3 09:51:59 Connecting to github.com|140.82.112.3|:443... connected. 09:51:59 HTTP request sent, awaiting response... 302 Found 09:51:59 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 09:51:59 --2021-06-08 09:51:58-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 09:51:59 Resolving codeload.github.com... 140.82.113.10 09:51:59 Connecting to codeload.github.com|140.82.113.10|:443... connected. 09:51:59 HTTP request sent, awaiting response... 200 OK 09:51:59 Length: unspecified [application/x-gzip] 09:51:59 Saving to: 'STDOUT' 09:51:59  09:51:59 0K .......... .......... .......... .......... .......... 1.43M 09:51:59 50K .......... .......... .......... .......... .......... 2.85M 09:51:59 100K .......... .......... .......... .......... .......... 12.5M 09:51:59 150K .......... .......... .......... .......... .......... 3.74M 09:51:59 200K .......... .......... .......... .......... .......... 13.8M 09:51:59 250K .......... .......... .......... .......... .......... 3.68M 09:51:59 300K .......... .......... .......... .......... .......... 5.78M 09:51:59 350K .......... .......... .......... .......... .......... 3.40M 09:51:59 400K .......... .......... .......... .......... .......... 3.66M 09:51:59 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 09:51:59 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 09:51:59 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 09:51:59 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 09:51:59 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 09:51:59 450K .......... .......... .......... .......... .......... 2.83M 09:51:59 500K .......... .......... .......... .......... .......... 9.81M 09:51:59 550K .......... .......... .......... .......... .......... 1.35M 09:51:59 600K .......... .......... .......... .......... .......... 1.17M 09:51:59 650K .......... .......... .......... .......... .......... 2.14M 09:51:59 700K .. 4.73M=0.2s 09:51:59 09:51:59 2021-06-08 09:51:59 (2.80 MB/s) - written to stdout [719348] 09:51:59 09:51:59 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 09:51:59 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 09:51:59 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 09:51:59 -- The C compiler identification is GNU 8.3.0 09:51:59 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 09:51:59 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 09:51:59 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 09:51:59 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 09:51:59 -- The CXX compiler identification is GNU 8.3.0 09:51:59 -- Check for working C compiler: /usr/bin/cc 09:52:00 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 09:52:00 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 09:52:00 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 09:52:00 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 09:52:00 [ 40%] Linking C shared library libcbor.so 09:52:00 [ 40%] Built target cbor_shared 09:52:00 Scanning dependencies of target cbor 09:52:00 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 09:52:00 -- Check for working C compiler: /usr/bin/cc -- works 09:52:00 -- Detecting C compiler ABI info 09:52:00 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 09:52:00 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 09:52:00 -- Detecting C compiler ABI info - done 09:52:00 -- Detecting C compile features 09:52:00 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 09:52:00 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 09:52:00 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 09:52:00 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 09:52:00 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 09:52:00 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 09:52:00 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 09:52:01 -- Detecting C compile features - done 09:52:01 -- Check for working CXX compiler: /usr/bin/c++ 09:52:01 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 09:52:01 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 09:52:01 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 09:52:01 -- Check for working CXX compiler: /usr/bin/c++ -- works 09:52:01 -- Detecting CXX compiler ABI info 09:52:01 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 09:52:01 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 09:52:01 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 09:52:01 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 09:52:01 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 09:52:01 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 09:52:01 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 09:52:01 [ 80%] Linking C static library libcbor.a 09:52:01 [ 80%] Built target cbor 09:52:01 Scanning dependencies of target create_items 09:52:01 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 09:52:01 [ 84%] Linking C executable create_items 09:52:01 -- Detecting CXX compiler ABI info - done 09:52:01 -- Detecting CXX compile features 09:52:01 [ 84%] Built target create_items 09:52:01 Scanning dependencies of target readfile 09:52:01 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 09:52:01 [ 88%] Linking C executable readfile 09:52:01 [ 88%] Built target readfile 09:52:01 Scanning dependencies of target streaming_parser 09:52:01 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 09:52:01 [ 92%] Linking C executable streaming_parser 09:52:01 [ 92%] Built target streaming_parser 09:52:01 Scanning dependencies of target sort 09:52:01 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 09:52:01 [ 96%] Linking C executable sort 09:52:01 [ 96%] Built target sort 09:52:01 Scanning dependencies of target hello 09:52:02 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 09:52:02 [100%] Linking C executable hello 09:52:02 [100%] Built target hello 09:52:02 Install the project... 09:52:02 -- Install configuration: "Release" 09:52:02 -- Installing: /usr/local/include/cbor/configuration.h 09:52:02 -- Installing: /usr/local/lib64/libcbor.a 09:52:02 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 09:52:02 -- Installing: /usr/local/lib64/libcbor.so.0 09:52:02 -- Installing: /usr/local/lib64/libcbor.so 09:52:02 -- Up-to-date: /usr/local/include/cbor 09:52:02 -- Installing: /usr/local/include/cbor/arrays.h 09:52:02 -- Installing: /usr/local/include/cbor/bytestrings.h 09:52:02 -- Installing: /usr/local/include/cbor/callbacks.h 09:52:02 -- Installing: /usr/local/include/cbor/common.h 09:52:02 -- Installing: /usr/local/include/cbor/data.h 09:52:02 -- Installing: /usr/local/include/cbor/encoding.h 09:52:02 -- Installing: /usr/local/include/cbor/floats_ctrls.h 09:52:02 -- Installing: /usr/local/include/cbor/internal 09:52:02 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 09:52:02 -- Installing: /usr/local/include/cbor/internal/encoders.h 09:52:02 -- Installing: /usr/local/include/cbor/internal/loaders.h 09:52:02 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 09:52:02 -- Installing: /usr/local/include/cbor/internal/stack.h 09:52:02 -- Installing: /usr/local/include/cbor/internal/unicode.h 09:52:02 -- Installing: /usr/local/include/cbor/ints.h 09:52:02 -- Installing: /usr/local/include/cbor/maps.h 09:52:02 -- Installing: /usr/local/include/cbor/serialization.h 09:52:02 -- Installing: /usr/local/include/cbor/streaming.h 09:52:02 -- Installing: /usr/local/include/cbor/strings.h 09:52:02 -- Installing: /usr/local/include/cbor/tags.h 09:52:02 -- Installing: /usr/local/include/cbor.h 09:52:02 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 09:52:02 Removing intermediate container cb81ed03fdf1 09:52:02 ---> 477466f0fffc 09:52:02 Step 8/25 : RUN mkdir /tmp/sdk 09:52:02 ---> Running in 8ef3752bf222 09:52:03 -- Detecting CXX compile features - done 09:52:03 Removing intermediate container 8ef3752bf222 09:52:03 ---> 66bf9ec985b9 09:52:03 Step 9/25 : COPY VERSION /tmp/sdk 09:52:03 ---> 832d1433f8c5 09:52:03 Step 10/25 : COPY src /tmp/sdk/src 09:52:03 -- Looking for include file endian.h 09:52:03 -- Looking for include file endian.h - found 09:52:03 -- Check if the system is big endian 09:52:03 -- Searching 16 bit integer 09:52:03 -- Looking for sys/types.h 09:52:03 ---> be1b9ad24034 09:52:03 Step 11/25 : COPY include /tmp/sdk/include 09:52:03 -- Looking for sys/types.h - found 09:52:03 -- Looking for stdint.h 09:52:03 ---> 5da3682243f1 09:52:03 Step 12/25 : COPY scripts /tmp/sdk/scripts 09:52:03 ---> 00c6453d11fd 09:52:03 Step 13/25 : COPY LICENSE /tmp/sdk 09:52:03 -- Looking for stdint.h - found 09:52:03 -- Looking for stddef.h 09:52:04 ---> 56be774dd947 09:52:04 Step 14/25 : COPY Attribution.txt /tmp/sdk 09:52:04 -- Looking for stddef.h - found 09:52:04 -- Check size of unsigned short 09:52:04 ---> a1855078245f 09:52:04 Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 09:52:04 ---> Running in 57d87a789cbe 09:52:04 -- Check size of unsigned short - done 09:52:04 -- Using unsigned short 09:52:04 + CPPCHECK=false 09:52:04 + DOCGEN=false 09:52:04 + TOMLVER=SDK-0.2 09:52:04 + CUTILVER=1.1.4 09:52:04 + '[' 0 -gt 0 ] 09:52:04 + readlink -f ./scripts/build.sh 09:52:04 + dirname /tmp/sdk/scripts/build.sh 09:52:04 + dirname /tmp/sdk/scripts 09:52:04 + ROOT=/tmp/sdk 09:52:04 + cd /tmp/sdk 09:52:04 + '[' '!' -d deps ] 09:52:04 + mkdir deps 09:52:04 + tar -C deps -z -x+ -f - 09:52:04 wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 09:52:04 --2021-06-08 09:52:04-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 09:52:04 Resolving github.com... 140.82.112.3 09:52:04 Connecting to github.com|140.82.112.3|:443... connected. 09:52:04 HTTP request sent, awaiting response... 302 Found 09:52:04 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 09:52:04 --2021-06-08 09:52:04-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 09:52:04 Resolving codeload.github.com... 140.82.113.10 09:52:04 Connecting to codeload.github.com|140.82.113.10|:443... connected. 09:52:04 -- Check if the system is big endian - little endian 09:52:04 -- Check size of size_t 09:52:04 HTTP request sent, awaiting response... 200 OK 09:52:04 Length: unspecified [application/x-gzip] 09:52:04 Saving to: 'STDOUT' 09:52:04  09:52:04 0K .......... ...... 1.07M=0.01s 09:52:04 09:52:04 2021-06-08 09:52:04 (1.07 MB/s) - written to stdout [16451] 09:52:04 09:52:04 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 09:52:04 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 09:52:04 + tar -C deps -z -x -f - 09:52:04 --2021-06-08 09:52:04-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 09:52:04 Resolving github.com... 140.82.112.3 09:52:04 Connecting to github.com|140.82.112.3|:443... connected. 09:52:05 -- Check size of size_t - done 09:52:05 CMake Warning at examples/CMakeLists.txt:16 (find_package): 09:52:05 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 09:52:05 asked CMake to find a package configuration file provided by "cJSON", but 09:52:05 CMake did not find one. 09:52:05 09:52:05 Could not find a package configuration file provided by "cJSON" with any of 09:52:05 the following names: 09:52:05 09:52:05 cJSONConfig.cmake 09:52:05 cjson-config.cmake 09:52:05 09:52:05 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 09:52:05 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 09:52:05 provides a separate development package or SDK, be sure it has been 09:52:05 installed. 09:52:05 09:52:05 09:52:05 -- Configuring done 09:52:05 HTTP request sent, awaiting response... 302 Found 09:52:05 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] 09:52:05 --2021-06-08 09:52:04-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 09:52:05 Resolving codeload.github.com... 140.82.113.10 09:52:05 Connecting to codeload.github.com|140.82.113.10|:443... connected. 09:52:05 -- Generating done 09:52:05 -- Build files have been written to: /tmp/cbor 09:52:05 Scanning dependencies of target cbor_shared 09:52:05 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 09:52:05 HTTP request sent, awaiting response... 200 OK 09:52:05 Length: unspecified [application/x-gzip] 09:52:05 Saving to: 'STDOUT' 09:52:05  09:52:05 0K .......... .......... .......... .......... .......... 1.64M 09:52:05 50K .......... .......... .......... .......... .......... 3.30M 09:52:05 100K .......... .......... .......... .......... .......... 25.5M 09:52:05 150K .......... .......... ....... 5.24M=0.05s 09:52:05 09:52:05 2021-06-08 09:52:05 (3.36 MB/s) - written to stdout [181796] 09:52:05 09:52:05 + mkdir -p src/c/iot 09:52:05 + 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 09:52:05 + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot 09:52:05 + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot 09:52:05 + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot 09:52:05 + mkdir -p include/iot 09:52:05 + 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 09:52:05 + mkdir -p include/iot/os 09:52:05 + 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 09:52:05 + mkdir -p /tmp/sdk/build/release 09:52:05 + cd /tmp/sdk/build/release 09:52:05 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 09:52:05 -- The C compiler identification is GNU 8.3.0 09:52:05 -- Check for working C compiler: /usr/bin/cc 09:52:05 -- Check for working C compiler: /usr/bin/cc -- works 09:52:05 -- Detecting C compiler ABI info 09:52:05 -- Detecting C compiler ABI info - done 09:52:05 -- Detecting C compile features 09:52:05 -- Detecting C compile features - done 09:52:05 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 09:52:05 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 09:52:05 -- Found LIBYAML: /usr/lib/libyaml.so 09:52:05 -- Found LIBUUID: /usr/lib/libuuid.so 09:52:05 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 09:52:05 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 09:52:05 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 09:52:05 -- C SDK 0.0.0 for Linux 09:52:05 -- Performing Test CSDK_HAVE_ATOMIC 09:52:05 -- Performing Test CSDK_HAVE_ATOMIC - Success 09:52:05 -- Found Curses: /usr/lib/libcurses.so 09:52:05 -- Configuring done 09:52:05 -- Generating done 09:52:05 -- Build files have been written to: /tmp/sdk/build/release 09:52:05 + tee release.log 09:52:05 + make all package 09:52:05 Scanning dependencies of target csdk 09:52:05 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 09:52:06 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 09:52:06 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 09:52:06 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 09:52:06 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 09:52:06 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 09:52:06 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 09:52:06 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 09:52:06 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 09:52:06 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 09:52:07 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 09:52:07 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 09:52:07 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 09:52:07 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 09:52:07 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 09:52:07 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 09:52:07 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 09:52:07 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 09:52:07 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 09:52:07 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 09:52:07 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 09:52:07 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 09:52:08 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 09:52:08 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 09:52:08 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 09:52:08 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 09:52:08 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 09:52:08 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 09:52:08 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 09:52:08 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 09:52:08 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 09:52:08 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 09:52:09 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 09:52:09 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 09:52:09 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 09:52:09 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 09:52:09 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 09:52:09 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 09:52:09 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 09:52:09 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 09:52:09 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 09:52:09 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 09:52:10 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 09:52:10 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 09:52:10 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 09:52:10 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 09:52:10 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 09:52:10 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 09:52:10 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 09:52:10 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 09:52:10 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 09:52:10 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 09:52:10 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 09:52:11 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 09:52:11 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 09:52:11 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 09:52:11 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 09:52:11 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 09:52:11 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 09:52:11 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 09:52:11 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 09:52:11 [ 40%] Linking C shared library libcbor.so 09:52:11 [ 40%] Built target cbor_shared 09:52:11 Scanning dependencies of target cbor 09:52:11 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 09:52:12 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 09:52:12 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 09:52:12 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 09:52:12 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 09:52:13 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 09:52:13 [ 74%] Linking C shared library libcsdk.so 09:52:13 [ 74%] Built target csdk 09:52:13 Scanning dependencies of target template 09:52:13 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 09:52:13 [ 77%] Linking C executable template 09:52:13 [ 77%] Built target template 09:52:13 Scanning dependencies of target device-counter 09:52:13 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 09:52:13 [ 80%] Linking C executable device-counter 09:52:13 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 09:52:13 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 09:52:13 [ 80%] Built target device-counter 09:52:13 Scanning dependencies of target device-random 09:52:13 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 09:52:13 [ 84%] Linking C executable device-random 09:52:13 [ 84%] Built target device-random 09:52:13 Scanning dependencies of target device-gyro 09:52:13 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 09:52:13 [ 87%] Linking C executable device-gyro 09:52:13 [ 87%] Built target device-gyro 09:52:13 Scanning dependencies of target device-bitfields 09:52:13 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 09:52:13 [ 90%] Linking C executable device-bitfields 09:52:13 [ 90%] Built target device-bitfields 09:52:13 Scanning dependencies of target template-discovery 09:52:13 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 09:52:14 [ 93%] Linking C executable template-discovery 09:52:14 [ 93%] Built target template-discovery 09:52:14 Scanning dependencies of target device-file 09:52:14 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 09:52:14 [ 96%] Linking C executable device-file 09:52:14 [ 96%] Built target device-file 09:52:14 Scanning dependencies of target device-terminal 09:52:14 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 09:52:14 [100%] Linking C executable device-terminal 09:52:14 [100%] Built target device-terminal 09:52:14 Run CPack packaging tool... 09:52:14 CPack: Create package using TGZ 09:52:14 CPack: Install projects 09:52:14 CPack: - Run preinstall target for: Csdk 09:52:14 CPack: - Install project: Csdk 09:52:14 CPack: Create package 09:52:14 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 09:52:14 + '[' false '=' true ] 09:52:14 + '[' false '=' true ] 09:52:14 + mkdir -p /tmp/sdk/build/debug 09:52:14 + cd /tmp/sdk/build/debug 09:52:14 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 09:52:14 -- The C compiler identification is GNU 8.3.0 09:52:14 -- Check for working C compiler: /usr/bin/cc 09:52:14 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 09:52:14 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 09:52:14 -- Check for working C compiler: /usr/bin/cc -- works 09:52:14 -- Detecting C compiler ABI info 09:52:14 -- Detecting C compiler ABI info - done 09:52:14 -- Detecting C compile features 09:52:15 -- Detecting C compile features - done 09:52:15 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 09:52:15 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 09:52:15 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 09:52:15 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 09:52:15 -- Found LIBYAML: /usr/lib/libyaml.so 09:52:15 -- Found LIBUUID: /usr/lib/libuuid.so 09:52:15 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 09:52:15 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 09:52:15 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 09:52:15 -- C SDK 0.0.0 for Linux 09:52:15 -- Performing Test CSDK_HAVE_ATOMIC 09:52:15 -- Performing Test CSDK_HAVE_ATOMIC - Success 09:52:15 -- Found Curses: /usr/lib/libcurses.so 09:52:15 -- Configuring done 09:52:15 -- Generating done 09:52:15 -- Build files have been written to: /tmp/sdk/build/debug 09:52:15 + tee debug.log 09:52:15 + make 09:52:15 Scanning dependencies of target csdk 09:52:15 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 09:52:15 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 09:52:15 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 09:52:15 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 09:52:15 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 09:52:15 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 09:52:15 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 09:52:15 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 09:52:15 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 09:52:15 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 09:52:15 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 09:52:16 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 09:52:16 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 09:52:16 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 09:52:16 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 09:52:16 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 09:52:16 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 09:52:16 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 09:52:16 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 09:52:16 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 09:52:16 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 09:52:16 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 09:52:16 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 09:52:16 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 09:52:18 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 09:52:18 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 09:52:18 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 09:52:18 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 09:52:18 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 09:52:18 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 09:52:18 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 09:52:18 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 09:52:18 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 09:52:18 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 09:52:18 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 09:52:18 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 09:52:18 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 09:52:18 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 09:52:18 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 09:52:18 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 09:52:18 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 09:52:18 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 09:52:18 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 09:52:18 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 09:52:18 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 09:52:18 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 09:52:18 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 09:52:18 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 09:52:18 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 09:52:18 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 09:52:18 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 09:52:18 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 09:52:18 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 09:52:18 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 09:52:18 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 09:52:18 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 09:52:18 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 09:52:18 [ 74%] Linking C shared library libcsdk.so 09:52:18 [ 74%] Built target csdk 09:52:18 Scanning dependencies of target template 09:52:18 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 09:52:18 [ 77%] Linking C executable template 09:52:18 [ 77%] Built target template 09:52:18 Scanning dependencies of target device-counter 09:52:18 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 09:52:18 [ 80%] Linking C executable device-counter 09:52:18 [ 80%] Built target device-counter 09:52:19 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 09:52:19 Scanning dependencies of target device-random 09:52:19 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 09:52:19 [ 84%] Linking C executable device-random 09:52:19 [ 84%] Built target device-random 09:52:19 Scanning dependencies of target device-gyro 09:52:19 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 09:52:19 [ 87%] Linking C executable device-gyro 09:52:19 [ 87%] Built target device-gyro 09:52:19 Scanning dependencies of target device-bitfields 09:52:19 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 09:52:19 [ 90%] Linking C executable device-bitfields 09:52:19 [ 90%] Built target device-bitfields 09:52:19 Scanning dependencies of target template-discovery 09:52:19 [ 80%] Linking C static library libcbor.a 09:52:19 [ 80%] Built target cbor 09:52:19 Scanning dependencies of target create_items 09:52:19 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 09:52:19 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 09:52:19 [ 93%] Linking C executable template-discovery 09:52:19 [ 93%] Built target template-discovery 09:52:19 Scanning dependencies of target device-file 09:52:19 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 09:52:19 [ 96%] Linking C executable device-file 09:52:19 [ 96%] Built target device-file 09:52:19 Scanning dependencies of target device-terminal 09:52:19 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 09:52:19 [ 84%] Linking C executable create_items 09:52:19 [ 84%] Built target create_items 09:52:19 Scanning dependencies of target readfile 09:52:19 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 09:52:19 [100%] Linking C executable device-terminal 09:52:19 [100%] Built target device-terminal 09:52:19 make: Entering directory '/tmp/sdk/build/release' 09:52:19 make[1]: Entering directory '/tmp/sdk/build/release' 09:52:19 make[2]: Entering directory '/tmp/sdk/build/release' 09:52:19 make[2]: Leaving directory '/tmp/sdk/build/release' 09:52:19 [ 74%] Built target csdk 09:52:19 make[2]: Entering directory '/tmp/sdk/build/release' 09:52:19 make[2]: Leaving directory '/tmp/sdk/build/release' 09:52:19 [ 77%] Built target template 09:52:19 make[2]: Entering directory '/tmp/sdk/build/release' 09:52:19 make[2]: Leaving directory '/tmp/sdk/build/release' 09:52:19 [ 80%] Built target device-counter 09:52:19 make[2]: Entering directory '/tmp/sdk/build/release' 09:52:19 make[2]: Leaving directory '/tmp/sdk/build/release' 09:52:19 [ 84%] Built target device-random 09:52:19 make[2]: Entering directory '/tmp/sdk/build/release' 09:52:19 make[2]: Leaving directory '/tmp/sdk/build/release' 09:52:19 [ 87%] Built target device-gyro 09:52:19 make[2]: Entering directory '/tmp/sdk/build/release' 09:52:19 make[2]: Leaving directory '/tmp/sdk/build/release' 09:52:19 [ 90%] Built target device-bitfields 09:52:19 make[2]: Entering directory '/tmp/sdk/build/release' 09:52:19 make[2]: Leaving directory '/tmp/sdk/build/release' 09:52:19 [ 93%] Built target template-discovery 09:52:19 make[2]: Entering directory '/tmp/sdk/build/release' 09:52:19 make[2]: Leaving directory '/tmp/sdk/build/release' 09:52:19 [ 96%] Built target device-file 09:52:19 make[2]: Entering directory '/tmp/sdk/build/release' 09:52:19 make[2]: Leaving directory '/tmp/sdk/build/release' 09:52:19 [ 88%] Linking C executable readfile 09:52:20 [100%] Built target device-terminal 09:52:20 make[1]: Leaving directory '/tmp/sdk/build/release' 09:52:20 Install the project... 09:52:20 -- Install configuration: "Release" 09:52:20 -- Installing: /usr/local/lib/libcsdk.so 09:52:20 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 09:52:20 -- Up-to-date: /usr/local/include 09:52:20 -- Installing: /usr/local/include/devsdk 09:52:20 -- Installing: /usr/local/include/devsdk/devsdk-base.h 09:52:20 -- Installing: /usr/local/include/devsdk/devsdk.h 09:52:20 -- Installing: /usr/local/include/edgex 09:52:20 -- Installing: /usr/local/include/edgex/devices.h 09:52:20 -- Installing: /usr/local/include/edgex/edgex-base.h 09:52:20 -- Installing: /usr/local/include/edgex/edgex.h 09:52:20 -- Installing: /usr/local/include/edgex/profiles.h 09:52:20 -- Installing: /usr/local/include/edgex/rest-server.h 09:52:20 -- Installing: /usr/local/include/edgex/csdk-defs.h 09:52:20 -- Installing: /usr/local/include/iot 09:52:20 -- Installing: /usr/local/include/iot/base64.h 09:52:20 -- Installing: /usr/local/include/iot/component.h 09:52:20 -- Installing: /usr/local/include/iot/config.h 09:52:20 -- Installing: /usr/local/include/iot/container.h 09:52:20 -- Installing: /usr/local/include/iot/data.h 09:52:20 -- Installing: /usr/local/include/iot/hash.h 09:52:20 -- Installing: /usr/local/include/iot/iot.h 09:52:20 -- Installing: /usr/local/include/iot/json.h 09:52:20 -- Installing: /usr/local/include/iot/logger.h 09:52:20 -- Installing: /usr/local/include/iot/os.h 09:52:20 -- Installing: /usr/local/include/iot/scheduler.h 09:52:20 -- Installing: /usr/local/include/iot/thread.h 09:52:20 -- Installing: /usr/local/include/iot/threadpool.h 09:52:20 -- Installing: /usr/local/include/iot/time.h 09:52:20 -- Installing: /usr/local/include/iot/typecode.h 09:52:20 -- Installing: /usr/local/include/iot/os 09:52:20 -- Installing: /usr/local/include/iot/os/linux.h 09:52:20 -- Installing: /usr/local/include/iot/os/macos.h 09:52:20 -- Installing: /usr/local/include/iot/os/zephyr.h 09:52:20 -- Installing: /usr/local/include/iot/defs.h 09:52:20 -- Installing: /usr/local/share/device-sdk-c/LICENSE 09:52:20 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 09:52:20 make: Leaving directory '/tmp/sdk/build/release' 09:52:20 [ 88%] Built target readfile 09:52:20 Scanning dependencies of target streaming_parser 09:52:20 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 09:52:20 [ 92%] Linking C executable streaming_parser 09:52:20 [ 92%] Built target streaming_parser 09:52:20 Scanning dependencies of target sort 09:52:20 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 09:52:20 Removing intermediate container 57d87a789cbe 09:52:20 ---> 155916da167a 09:52:20 Step 16/25 : FROM ${BASE} 09:52:20 ---> 5eabd8fd8ba2 09:52:20 Step 17/25 : LABEL maintainer="IOTech " 09:52:20 ---> Running in 60324a8ee045 09:52:20 Removing intermediate container 60324a8ee045 09:52:20 ---> 1775c563071a 09:52:20 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 09:52:20 ---> Running in b933d48bd25e 09:52:20 [ 96%] Linking C executable sort 09:52:20 [ 96%] Built target sort 09:52:20 Scanning dependencies of target hello 09:52:20 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 09:52:20 Connecting to iotech.jfrog.io (34.243.182.113:443) 09:52:21 [100%] Linking C executable hello 09:52:21 [100%] Built target hello 09:52:21 Install the project... 09:52:21 -- Install configuration: "Release" 09:52:21 -- Installing: /usr/local/include/cbor/configuration.h 09:52:21 -- Installing: /usr/local/lib64/libcbor.a 09:52:21 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 09:52:21 -- Installing: /usr/local/lib64/libcbor.so.0 09:52:21 -- Installing: /usr/local/lib64/libcbor.so 09:52:21 -- Up-to-date: /usr/local/include/cbor 09:52:21 -- Installing: /usr/local/include/cbor/streaming.h 09:52:21 -- Installing: /usr/local/include/cbor/ints.h 09:52:21 -- Installing: /usr/local/include/cbor/floats_ctrls.h 09:52:21 -- Installing: /usr/local/include/cbor/bytestrings.h 09:52:21 -- Installing: /usr/local/include/cbor/encoding.h 09:52:21 -- Installing: /usr/local/include/cbor/serialization.h 09:52:21 -- Installing: /usr/local/include/cbor/data.h 09:52:21 -- Installing: /usr/local/include/cbor/common.h 09:52:21 -- Installing: /usr/local/include/cbor/callbacks.h 09:52:21 -- Installing: /usr/local/include/cbor/strings.h 09:52:21 -- Installing: /usr/local/include/cbor/tags.h 09:52:21 -- Installing: /usr/local/include/cbor/internal 09:52:21 -- Installing: /usr/local/include/cbor/internal/encoders.h 09:52:21 -- Installing: /usr/local/include/cbor/internal/loaders.h 09:52:21 -- Installing: /usr/local/include/cbor/internal/stack.h 09:52:21 -- Installing: /usr/local/include/cbor/internal/unicode.h 09:52:21 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 09:52:21 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 09:52:21 -- Installing: /usr/local/include/cbor/arrays.h 09:52:21 -- Installing: /usr/local/include/cbor/maps.h 09:52:21 -- Installing: /usr/local/include/cbor.h 09:52:21 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 09:52:21 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 09:52:21 09:52:21 Removing intermediate container b933d48bd25e 09:52:21 ---> c79af8f302d0 09:52:21 Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 09:52:21 ---> Running in 0876536e322a 09:52:21 Removing intermediate container 0876536e322a 09:52:21 ---> 1110afdd3a3c 09:52:21 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 09:52:21 ---> Running in 3ed079ccfcc8 09:52:22 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 09:52:22 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 09:52:23 Removing intermediate container 0f8d4fa9f8b1 09:52:23 ---> 80f32fd2efec 09:52:23 Step 8/25 : RUN mkdir /tmp/sdk 09:52:23 ---> Running in 8d67e1689ffc 09:52:23 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 09:52:23 (1/6) Installing curl (7.64.0-r5) 09:52:23 (2/6) Installing hiredis (0.14.0-r0) 09:52:23 (3/6) Installing hiredis-dev (0.14.0-r0) 09:52:23 (4/6) Installing libuuid (2.33-r0) 09:52:24 (5/6) Installing paho-mqtt-c-dev (1.3.5-r0) 09:52:25 Removing intermediate container 8d67e1689ffc 09:52:25 ---> 22017326b568 09:52:25 Step 9/25 : COPY VERSION /tmp/sdk 09:52:25 (6/6) Installing wget (1.20.3-r0) 09:52:25 Executing busybox-1.29.3-r10.trigger 09:52:25 OK: 269 MiB in 81 packages 09:52:26 Removing intermediate container 3ed079ccfcc8 09:52:26 ---> cb67aab72bf0 09:52:26 Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 09:52:26 ---> 4ea6a5f69e28 09:52:26 Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 09:52:26 ---> 99acd50874fb 09:52:26 Step 10/25 : COPY src /tmp/sdk/src 09:52:26 ---> 9f9928ab678a 09:52:26 Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib 09:52:26 ---> 2a50c1e8a6e8 09:52:26 Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 09:52:26 ---> 01ec670568fa 09:52:26 Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 09:52:26 ---> f4df39ea0f2a 09:52:26 Successfully built f4df39ea0f2a 09:52:26 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } 09:52:27 ---> fdca7c929b88 09:52:27 Step 11/25 : COPY include /tmp/sdk/include [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:52:27 + docker inspect -f . ci-base-image-x86_64 09:52:27 . [Pipeline] withDockerContainer 09:52:27 ---> 49265b60eedd 09:52:27 Step 12/25 : COPY scripts /tmp/sdk/scripts 09:52:27 prd-centos7-docker-4c-2g-891 does not seem to be running inside a container 09:52:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:52:28 $ docker top 95d7b6058c0ced347db13ea56b380f1d3c0b3cade5a05e13ab3a476273223b35 -eo pid,comm [Pipeline] { [Pipeline] sh 09:52:28 + make test 09:52:28 echo "make test" 09:52:28 make test [Pipeline] } 09:52:28 $ docker stop --time=1 95d7b6058c0ced347db13ea56b380f1d3c0b3cade5a05e13ab3a476273223b35 09:52:28 ---> 68081af8d46b 09:52:28 Step 13/25 : COPY LICENSE /tmp/sdk 09:52:29 ---> e70c8b749251 09:52:29 Step 14/25 : COPY Attribution.txt /tmp/sdk 09:52:29 $ docker rm -f 95d7b6058c0ced347db13ea56b380f1d3c0b3cade5a05e13ab3a476273223b35 [Pipeline] // withDockerContainer [Pipeline] } 09:52:29 ---> 58af0c5fcec2 09:52:29 Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 09:52:30 ---> Running in c22b15c4338b [Pipeline] script [Pipeline] { 09:52:31 + CPPCHECK=false 09:52:31 + DOCGEN=false 09:52:31 + TOMLVER=SDK-0.2 09:52:31 + CUTILVER=1.1.4 09:52:31 + '[' 0 -gt 0 ] 09:52:31 + readlink -f ./scripts/build.sh 09:52:31 + dirname /tmp/sdk/scripts/build.sh 09:52:31 + dirname /tmp/sdk/scripts 09:52:31 + ROOT=/tmp/sdk 09:52:31 + cd /tmp/sdk 09:52:31 + '[' '!' -d deps ] 09:52:31 + mkdir deps 09:52:31 + tar -C deps -z -x -f - 09:52:31 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 09:52:31 --2021-06-08 09:52:31-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 09:52:33 Resolving github.com... 140.82.113.4 09:52:33 Connecting to github.com|140.82.113.4|:443... connected. 09:52:33 HTTP request sent, awaiting response... 302 Found 09:52:33 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 09:52:33 --2021-06-08 09:52:31-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 09:52:33 Resolving codeload.github.com... 140.82.113.10 09:52:33 Connecting to codeload.github.com|140.82.113.10|:443... connected. 09:52:33 HTTP request sent, awaiting response... 200 OK 09:52:33 Length: unspecified [application/x-gzip] 09:52:33 Saving to: 'STDOUT' 09:52:33 09:52:33 0K .......... ...... 913K=0.02s 09:52:33 09:52:33 2021-06-08 09:52:31 (913 KB/s) - written to stdout [16451] 09:52:33 09:52:33 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 09:52:33 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 09:52:33 + tar -C deps -z -x -f - 09:52:33 --2021-06-08 09:52:31-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 09:52:33 Resolving github.com... 140.82.113.4 09:52:33 Connecting to github.com|140.82.113.4|:443... connected. 09:52:33 HTTP request sent, awaiting response... 302 Found 09:52:33 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] 09:52:33 --2021-06-08 09:52:31-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 09:52:33 Resolving codeload.github.com... 140.82.113.10 09:52:33 Connecting to codeload.github.com|140.82.113.10|:443... connected. 09:52:33 HTTP request sent, awaiting response... 200 OK 09:52:33 Length: unspecified [application/x-gzip] 09:52:33 Saving to: 'STDOUT' 09:52:33  09:52:33 0K .......... .......... .......... .......... .......... 1.49M 09:52:33 50K .......... .......... .......... .......... .......... 2.95M 09:52:33 100K .......... .......... .......... .......... .......... 5.28M 09:52:33 150K .......... .......... .......   1.55M=0.08s 09:52:33 09:52:33 2021-06-08 09:52:31 (2.28 MB/s) - written to stdout [181796] 09:52:33 09:52:33 + mkdir -p src/c/iot 09:52:33 + 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 09:52:33 + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot 09:52:33 + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot 09:52:33 + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot 09:52:33 + mkdir -p include/iot 09:52:33 + 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 09:52:33 + mkdir -p include/iot/os 09:52:33 + 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 09:52:33 + mkdir -p /tmp/sdk/build/release 09:52:33 + cd /tmp/sdk/build/release 09:52:33 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 09:52:33 -- The C compiler identification is GNU 8.3.0 09:52:33 -- Check for working C compiler: /usr/bin/cc 09:52:33 -- Check for working C compiler: /usr/bin/cc -- works 09:52:33 -- Detecting C compiler ABI info 09:52:33 -- Detecting C compiler ABI info - done 09:52:33 -- Detecting C compile features 09:52:33 -- Detecting C compile features - done 09:52:33 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 09:52:33 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 09:52:33 -- Found LIBYAML: /usr/lib/libyaml.so 09:52:33 -- Found LIBUUID: /usr/lib/libuuid.so 09:52:33 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 09:52:33 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 09:52:33 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 09:52:33 -- C SDK 0.0.0 for Linux 09:52:33 -- Performing Test CSDK_HAVE_ATOMIC 09:52:33 -- Performing Test CSDK_HAVE_ATOMIC - Success 09:52:33 -- Found Curses: /usr/lib/libcurses.so 09:52:34 -- Configuring done 09:52:34 -- Generating done 09:52:34 -- Build files have been written to: /tmp/sdk/build/release 09:52:34 + make all package 09:52:34 + tee release.log 09:52:34 Scanning dependencies of target csdk 09:52:36 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 09:52:36 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 09:52:36 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [Pipeline] sh 09:52:37 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 09:52:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:52:37 + ls -al . 09:52:37 total 160 09:52:37 drwxrwxr-x. 8 jenkins jenkins 260 Jun 8 09:51 . 09:52:37 drwxrwxr-x. 4 jenkins jenkins 28 Jun 8 09:51 .. 09:52:37 -rw-rw-r--. 1 jenkins jenkins 3104 Jun 8 09:51 Attribution.txt 09:52:37 -rw-rw-r--. 1 jenkins jenkins 7451 Jun 8 09:51 CHANGES 09:52:37 drwxrwxr-x. 2 jenkins jenkins 121 Jun 8 09:51 docs 09:52:37 -rw-rw-r--. 1 jenkins jenkins 108574 Jun 8 09:51 Doxyfile 09:52:37 drwxrwxr-x. 8 jenkins jenkins 179 Jun 8 09:51 .git 09:52:37 drwxrwxr-x. 2 jenkins jenkins 81 Jun 8 09:51 .github 09:52:37 -rw-rw-r--. 1 jenkins jenkins 176 Jun 8 09:51 .gitignore 09:52:37 drwxrwxr-x. 4 jenkins jenkins 33 Jun 8 09:51 include 09:52:37 -rw-rw-r--. 1 jenkins jenkins 784 Jun 8 09:51 Jenkinsfile 09:52:37 -rw-rw-r--. 1 jenkins jenkins 10174 Jun 8 09:51 LICENSE 09:52:37 -rw-rw-r--. 1 jenkins jenkins 444 Jun 8 09:51 Makefile 09:52:37 -rw-rw-r--. 1 jenkins jenkins 4090 Jun 8 09:51 README.md 09:52:37 -rw-rw-r--. 1 jenkins jenkins 7090 Jun 8 09:51 README.v2.md 09:52:37 drwxrwxr-x. 2 jenkins jenkins 98 Jun 8 09:51 scripts 09:52:37 drwxrwxr-x. 4 jenkins jenkins 50 Jun 8 09:51 src 09:52:37 -rw-rw-r--. 1 jenkins jenkins 5 Jun 8 09:48 VERSION [Pipeline] isUnix [Pipeline] sh 09:52:37 + 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=06b752e626a66475f3ba444a1929f976db96c5b5 --label arch=amd64 --label version=0.0.0 . 09:52:37 Sending build context to Docker daemon 2.719MB 09:52:37 Step 1/17 : ARG BASE=alpine:3.12 09:52:37 Step 2/17 : FROM ${BASE} 09:52:37 ---> f4df39ea0f2a 09:52:37 Step 3/17 : LABEL maintainer="IOTech " 09:52:37 ---> Running in 4a0a34729e99 09:52:37 Removing intermediate container 4a0a34729e99 09:52:37 ---> 47767176ea5d 09:52:37 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 09:52:38 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 09:52:38 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 09:52:38 ---> Running in d11c4d6cad2b 09:52:38 --2021-06-08 09:52:38-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub 09:52:38 Resolving iotech.jfrog.io... 34.243.182.113, 54.74.239.58, 54.72.115.12 09:52:38 Connecting to iotech.jfrog.io|34.243.182.113|:443... connected. 09:52:38 HTTP request sent, awaiting response... 200 OK 09:52:38 Length: 451 [application/octet-stream] 09:52:38 Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 09:52:38 09:52:38 0K 100% 52.6M=0s 09:52:38 09:52:38 2021-06-08 09:52:38 (52.6 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] 09:52:38 09:52:38 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 09:52:38 Removing intermediate container d11c4d6cad2b 09:52:38 ---> 9edb6a037b01 09:52:38 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 09:52:38 ---> Running in 8cc664cd93a2 09:52:39 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 09:52:39 Removing intermediate container 8cc664cd93a2 09:52:39 ---> 0fcb1487e581 09:52:39 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 09:52:39 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 09:52:39 ---> Running in 2bfaa00a5782 09:52:39 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 09:52:40 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 09:52:40 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 09:52:41 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 09:52:41 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 09:52:41 (2/6) Installing libblkid (2.33-r0) 09:52:41 (3/6) Installing libfdisk (2.33-r0) 09:52:41 (4/6) Installing libmount (2.33-r0) 09:52:41 (5/6) Installing libsmartcols (2.33-r0) 09:52:42 (6/6) Installing util-linux-dev (2.33-r0) 09:52:42 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 09:52:42 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 09:52:42 Executing busybox-1.29.3-r10.trigger 09:52:42 OK: 273 MiB in 87 packages 09:52:42 Removing intermediate container 2bfaa00a5782 09:52:42 ---> f9cbb9f716cf 09:52:42 Step 7/17 : COPY VERSION /edgex-c-sdk/ 09:52:42 ---> f977aa998d33 09:52:42 Step 8/17 : COPY src /edgex-c-sdk/src/ 09:52:42 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 09:52:43 ---> 20136107cde9 09:52:43 Step 9/17 : COPY include /edgex-c-sdk/include/ 09:52:43 ---> eed8211e8a9c 09:52:43 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 09:52:43 ---> 46a4576957ee 09:52:43 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 09:52:43 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 09:52:43 ---> 6494f636635a 09:52:43 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 09:52:43 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 09:52:43 ---> c3962e02c354 09:52:43 Step 13/17 : WORKDIR /edgex-c-sdk 09:52:43 ---> Running in 5464d7da7491 09:52:43 Removing intermediate container 5464d7da7491 09:52:43 ---> 43b888b5a430 09:52:43 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 09:52:43 ---> Running in f68a145bc6ba 09:52:43 Removing intermediate container f68a145bc6ba 09:52:43 ---> 2b4d63cf7f8e 09:52:43 Step 15/17 : LABEL arch=amd64 09:52:44 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 09:52:44 ---> Running in 7f52f1828e33 09:52:44 Removing intermediate container 7f52f1828e33 09:52:44 ---> b4345eecdad7 09:52:44 Step 16/17 : LABEL git_sha=06b752e626a66475f3ba444a1929f976db96c5b5 09:52:44 ---> Running in e1451f5c9c6e 09:52:44 Removing intermediate container e1451f5c9c6e 09:52:44 ---> c4510f80125c 09:52:44 Step 17/17 : LABEL version=0.0.0 09:52:44 ---> Running in 46ce930697e2 09:52:44 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 09:52:44 Removing intermediate container 46ce930697e2 09:52:44 ---> 8407e8687385 09:52:44 [Warning] One or more build-args [ARCH MAKE] were not consumed 09:52:44 Successfully built 8407e8687385 09:52:44 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] } 09:52:46 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 09:52:47 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 09:52:47 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 09:52:47 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 09:52:48 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 09:52:48 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 09:52:51 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 09:52:51 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 09:52:51 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 09:52:52 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 09:52:52 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 09:52:52 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 09:52:53 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 09:52:53 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 09:52:54 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 09:52:54 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 09:52:56 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 09:52:57 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 09:52:57 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 09:52:57 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 09:53:02 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 09:53:02 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 09:53:02 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 09:53:03 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 09:53:03 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 09:53:05 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 09:53:07 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 09:53:10 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 09:53:11 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 09:53:11 [ 74%] Linking C shared library libcsdk.so 09:53:11 [ 74%] Built target csdk 09:53:11 Scanning dependencies of target template 09:53:11 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 09:53:12 [ 77%] Linking C executable template 09:53:12 [ 77%] Built target template 09:53:12 Scanning dependencies of target device-counter 09:53:12 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 09:53:13 [ 80%] Linking C executable device-counter 09:53:13 [ 80%] Built target device-counter 09:53:13 Scanning dependencies of target device-random 09:53:13 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 09:53:13 [ 84%] Linking C executable device-random 09:53:14 [ 84%] Built target device-random 09:53:14 Scanning dependencies of target device-gyro 09:53:14 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 09:53:16 [ 87%] Linking C executable device-gyro 09:53:16 [ 87%] Built target device-gyro 09:53:16 Scanning dependencies of target device-bitfields 09:53:16 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 09:53:16 [ 90%] Linking C executable device-bitfields 09:53:16 [ 90%] Built target device-bitfields 09:53:16 Scanning dependencies of target template-discovery 09:53:16 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 09:53:16 [ 93%] Linking C executable template-discovery 09:53:16 [ 93%] Built target template-discovery 09:53:16 Scanning dependencies of target device-file 09:53:16 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 09:53:16 [ 96%] Linking C executable device-file 09:53:17 [ 96%] Built target device-file 09:53:17 Scanning dependencies of target device-terminal 09:53:17 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 09:53:17 [100%] Linking C executable device-terminal 09:53:17 [100%] Built target device-terminal 09:53:18 Run CPack packaging tool... 09:53:18 CPack: Create package using TGZ 09:53:18 CPack: Install projects 09:53:18 CPack: - Run preinstall target for: Csdk 09:53:18 CPack: - Install project: Csdk 09:53:18 CPack: Create package 09:53:18 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 09:53:18 + '[' false '=' true ] 09:53:18 + '[' false '=' true ] 09:53:18 + mkdir -p /tmp/sdk/build/debug 09:53:18 + cd /tmp/sdk/build/debug 09:53:18 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 09:53:18 -- The C compiler identification is GNU 8.3.0 09:53:18 -- Check for working C compiler: /usr/bin/cc 09:53:19 -- Check for working C compiler: /usr/bin/cc -- works 09:53:19 -- Detecting C compiler ABI info 09:53:19 -- Detecting C compiler ABI info - done 09:53:19 -- Detecting C compile features 09:53:20 -- Detecting C compile features - done 09:53:20 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 09:53:20 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 09:53:20 -- Found LIBYAML: /usr/lib/libyaml.so 09:53:20 -- Found LIBUUID: /usr/lib/libuuid.so 09:53:20 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 09:53:20 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 09:53:20 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 09:53:20 -- C SDK 0.0.0 for Linux 09:53:20 -- Performing Test CSDK_HAVE_ATOMIC 09:53:20 -- Performing Test CSDK_HAVE_ATOMIC - Success 09:53:20 -- Found Curses: /usr/lib/libcurses.so 09:53:20 -- Configuring done 09:53:20 -- Generating done 09:53:20 -- Build files have been written to: /tmp/sdk/build/debug 09:53:20 + + maketee 09:53:20 debug.log 09:53:20 Scanning dependencies of target csdk 09:53:21 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 09:53:21 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 09:53:21 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 09:53:22 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 09:53:22 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 09:53:22 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 09:53:23 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 09:53:23 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 09:53:23 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 09:53:23 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 09:53:24 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 09:53:24 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 09:53:25 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 09:53:25 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 09:53:25 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 09:53:25 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 09:53:25 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 09:53:26 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 09:53:26 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 09:53:27 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 09:53:27 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 09:53:27 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 09:53:27 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 09:53:28 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 09:53:28 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 09:53:28 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 09:53:29 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 09:53:29 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 09:53:29 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 09:53:29 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 09:53:30 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 09:53:30 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 09:53:30 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 09:53:30 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 09:53:30 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 09:53:31 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 09:53:31 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 09:53:32 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 09:53:32 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 09:53:33 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 09:53:33 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 09:53:33 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 09:53:34 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 09:53:35 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 09:53:35 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 09:53:36 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 09:53:36 [ 74%] Linking C shared library libcsdk.so 09:53:36 [ 74%] Built target csdk 09:53:36 Scanning dependencies of target template 09:53:36 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 09:53:36 [ 77%] Linking C executable template 09:53:37 [ 77%] Built target template 09:53:37 Scanning dependencies of target device-counter 09:53:37 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 09:53:37 [ 80%] Linking C executable device-counter 09:53:37 [ 80%] Built target device-counter 09:53:37 Scanning dependencies of target device-random 09:53:37 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 09:53:37 [ 84%] Linking C executable device-random 09:53:38 [ 84%] Built target device-random 09:53:38 Scanning dependencies of target device-gyro 09:53:38 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 09:53:38 [ 87%] Linking C executable device-gyro 09:53:38 [ 87%] Built target device-gyro 09:53:38 Scanning dependencies of target device-bitfields 09:53:38 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 09:53:38 [ 90%] Linking C executable device-bitfields 09:53:39 [ 90%] Built target device-bitfields 09:53:39 Scanning dependencies of target template-discovery 09:53:39 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 09:53:39 [ 93%] Linking C executable template-discovery 09:53:39 [ 93%] Built target template-discovery 09:53:39 Scanning dependencies of target device-file 09:53:39 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 09:53:39 [ 96%] Linking C executable device-file 09:53:40 [ 96%] Built target device-file 09:53:40 Scanning dependencies of target device-terminal 09:53:40 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 09:53:40 [100%] Linking C executable device-terminal 09:53:40 [100%] Built target device-terminal 09:53:40 make: Entering directory '/tmp/sdk/build/release' 09:53:40 make[1]: Entering directory '/tmp/sdk/build/release' 09:53:40 make[2]: Entering directory '/tmp/sdk/build/release' 09:53:40 make[2]: Leaving directory '/tmp/sdk/build/release' 09:53:40 [ 74%] Built target csdk 09:53:40 make[2]: Entering directory '/tmp/sdk/build/release' 09:53:40 make[2]: Leaving directory '/tmp/sdk/build/release' 09:53:40 [ 77%] Built target template 09:53:40 make[2]: Entering directory '/tmp/sdk/build/release' 09:53:40 make[2]: Leaving directory '/tmp/sdk/build/release' 09:53:40 [ 80%] Built target device-counter 09:53:40 make[2]: Entering directory '/tmp/sdk/build/release' 09:53:40 make[2]: Leaving directory '/tmp/sdk/build/release' 09:53:40 [ 84%] Built target device-random 09:53:40 make[2]: Entering directory '/tmp/sdk/build/release' 09:53:40 make[2]: Leaving directory '/tmp/sdk/build/release' 09:53:41 [ 87%] Built target device-gyro 09:53:41 make[2]: Entering directory '/tmp/sdk/build/release' 09:53:41 make[2]: Leaving directory '/tmp/sdk/build/release' 09:53:41 [ 90%] Built target device-bitfields 09:53:41 make[2]: Entering directory '/tmp/sdk/build/release' 09:53:41 make[2]: Leaving directory '/tmp/sdk/build/release' 09:53:41 [ 93%] Built target template-discovery 09:53:41 make[2]: Entering directory '/tmp/sdk/build/release' 09:53:41 make[2]: Leaving directory '/tmp/sdk/build/release' 09:53:41 [ 96%] Built target device-file 09:53:41 make[2]: Entering directory '/tmp/sdk/build/release' 09:53:41 make[2]: Leaving directory '/tmp/sdk/build/release' 09:53:41 [100%] Built target device-terminal 09:53:41 make[1]: Leaving directory '/tmp/sdk/build/release' 09:53:41 Install the project... 09:53:41 -- Install configuration: "Release" 09:53:41 -- Installing: /usr/local/lib/libcsdk.so 09:53:41 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 09:53:41 -- Up-to-date: /usr/local/include 09:53:41 -- Installing: /usr/local/include/edgex 09:53:41 -- Installing: /usr/local/include/edgex/rest-server.h 09:53:41 -- Installing: /usr/local/include/edgex/edgex-base.h 09:53:41 -- Installing: /usr/local/include/edgex/edgex.h 09:53:41 -- Installing: /usr/local/include/edgex/devices.h 09:53:41 -- Installing: /usr/local/include/edgex/profiles.h 09:53:41 -- Installing: /usr/local/include/edgex/csdk-defs.h 09:53:41 -- Installing: /usr/local/include/devsdk 09:53:41 -- Installing: /usr/local/include/devsdk/devsdk-base.h 09:53:41 -- Installing: /usr/local/include/devsdk/devsdk.h 09:53:41 -- Installing: /usr/local/include/iot 09:53:41 -- Installing: /usr/local/include/iot/json.h 09:53:41 -- Installing: /usr/local/include/iot/container.h 09:53:41 -- Installing: /usr/local/include/iot/component.h 09:53:41 -- Installing: /usr/local/include/iot/typecode.h 09:53:41 -- Installing: /usr/local/include/iot/iot.h 09:53:41 -- Installing: /usr/local/include/iot/time.h 09:53:41 -- Installing: /usr/local/include/iot/hash.h 09:53:41 -- Installing: /usr/local/include/iot/logger.h 09:53:41 -- Installing: /usr/local/include/iot/os 09:53:41 -- Installing: /usr/local/include/iot/os/zephyr.h 09:53:41 -- Installing: /usr/local/include/iot/os/linux.h 09:53:41 -- Installing: /usr/local/include/iot/os/macos.h 09:53:41 -- Installing: /usr/local/include/iot/scheduler.h 09:53:41 -- Installing: /usr/local/include/iot/data.h 09:53:41 -- Installing: /usr/local/include/iot/thread.h 09:53:41 -- Installing: /usr/local/include/iot/os.h 09:53:41 -- Installing: /usr/local/include/iot/base64.h 09:53:41 -- Installing: /usr/local/include/iot/defs.h 09:53:41 -- Installing: /usr/local/include/iot/threadpool.h 09:53:41 -- Installing: /usr/local/include/iot/config.h 09:53:41 -- Installing: /usr/local/share/device-sdk-c/LICENSE 09:53:41 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 09:53:41 make: Leaving directory '/tmp/sdk/build/release' 09:53:43 Removing intermediate container c22b15c4338b 09:53:43 ---> bf48f7c5481b 09:53:43 Step 16/25 : FROM ${BASE} 09:53:43 ---> b23d30803547 09:53:43 Step 17/25 : LABEL maintainer="IOTech " 09:53:43 ---> Running in fa5a18c8e503 09:53:43 Removing intermediate container fa5a18c8e503 09:53:43 ---> 5d4a43c6f2c0 09:53:43 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 09:53:44 ---> Running in 29bc6ac0ba1a 09:53:45 Connecting to iotech.jfrog.io (34.243.182.113:443) 09:53:45 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 09:53:45 09:53:46 Removing intermediate container 29bc6ac0ba1a 09:53:46 ---> 451de3cbac03 09:53:46 Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 09:53:46 ---> Running in 36afa8e7eb87 09:53:49 Removing intermediate container 36afa8e7eb87 09:53:49 ---> 70adb8720017 09:53:49 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 09:53:49 ---> Running in 7c9727f56bf4 09:53:50 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 09:53:51 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 09:53:52 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 09:53:52 (1/6) Installing curl (7.64.0-r5) 09:53:52 (2/6) Installing hiredis (0.14.0-r0) 09:53:52 (3/6) Installing hiredis-dev (0.14.0-r0) 09:53:52 (4/6) Installing libuuid (2.33-r0) 09:53:53 (5/6) Installing paho-mqtt-c-dev (1.3.5-r0) 09:53:54 (6/6) Installing wget (1.20.3-r0) 09:53:54 Executing busybox-1.29.3-r10.trigger 09:53:54 OK: 283 MiB in 81 packages 09:53:56 Removing intermediate container 7c9727f56bf4 09:53:56 ---> bace3636311f 09:53:56 Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 09:53:56 ---> a168dc84d413 09:53:56 Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 09:53:57 ---> e484b200ba55 09:53:57 Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib 09:53:58 ---> cdca53cb7452 09:53:58 Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 09:53:59 ---> d1d374b171a4 09:53:59 Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 09:54:00 ---> f1d13724a19f 09:54:00 Successfully built f1d13724a19f 09:54:00 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:54:01 + docker inspect -f . ci-base-image-arm64 09:54:01 . [Pipeline] withDockerContainer 09:54:01 prd-ubuntu18.04-docker-arm64-4c-16g-890 does not seem to be running inside a container 09:54:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:54:03 $ docker top 6ee2b766bd84fe38eeb832378b60a523127c39fab6e55abd8c57b0756e45759d -eo pid,comm [Pipeline] { [Pipeline] sh 09:54:04 + make test 09:54:04 echo "make test" 09:54:04 make test [Pipeline] } 09:54:04 $ docker stop --time=1 6ee2b766bd84fe38eeb832378b60a523127c39fab6e55abd8c57b0756e45759d 09:54:06 $ docker rm -f 6ee2b766bd84fe38eeb832378b60a523127c39fab6e55abd8c57b0756e45759d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:54:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:54:07 + ls -al . 09:54:07 total 192 09:54:07 drwxrwxr-x 8 jenkins jenkins 4096 Jun 8 09:50 . 09:54:07 drwxrwxr-x 4 jenkins jenkins 4096 Jun 8 09:50 .. 09:54:07 drwxrwxr-x 8 jenkins jenkins 4096 Jun 8 09:51 .git 09:54:07 drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 09:50 .github 09:54:07 -rw-rw-r-- 1 jenkins jenkins 176 Jun 8 09:50 .gitignore 09:54:07 -rw-rw-r-- 1 jenkins jenkins 3104 Jun 8 09:50 Attribution.txt 09:54:07 -rw-rw-r-- 1 jenkins jenkins 7451 Jun 8 09:50 CHANGES 09:54:07 -rw-rw-r-- 1 jenkins jenkins 108574 Jun 8 09:50 Doxyfile 09:54:07 -rw-rw-r-- 1 jenkins jenkins 784 Jun 8 09:50 Jenkinsfile 09:54:07 -rw-rw-r-- 1 jenkins jenkins 10174 Jun 8 09:50 LICENSE 09:54:07 -rw-rw-r-- 1 jenkins jenkins 444 Jun 8 09:50 Makefile 09:54:07 -rw-rw-r-- 1 jenkins jenkins 4090 Jun 8 09:50 README.md 09:54:07 -rw-rw-r-- 1 jenkins jenkins 7090 Jun 8 09:50 README.v2.md 09:54:07 -rw-rw-r-- 1 jenkins jenkins 5 Jun 8 09:48 VERSION 09:54:07 drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 09:50 docs 09:54:07 drwxrwxr-x 4 jenkins jenkins 4096 Jun 8 09:50 include 09:54:07 drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 09:50 scripts 09:54:07 drwxrwxr-x 4 jenkins jenkins 4096 Jun 8 09:50 src [Pipeline] isUnix [Pipeline] sh 09:54:08 + docker build -t device-sdk-arm64 -f scripts/Dockerfile.alpine --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=06b752e626a66475f3ba444a1929f976db96c5b5 --label arch=arm64 --label version=0.0.0 . 09:54:08 Sending build context to Docker daemon 2.718MB 09:54:08 Step 1/17 : ARG BASE=alpine:3.12 09:54:08 Step 2/17 : FROM ${BASE} 09:54:08 ---> f1d13724a19f 09:54:08 Step 3/17 : LABEL maintainer="IOTech " 09:54:09 ---> Running in af62aee958d1 09:54:09 Removing intermediate container af62aee958d1 09:54:09 ---> 1d0a944cff29 09:54:09 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 09:54:09 ---> Running in 69ce936dc7b7 09:54:11 --2021-06-08 09:54:10-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub 09:54:11 Resolving iotech.jfrog.io... 54.74.239.58, 34.243.182.113, 54.72.115.12 09:54:11 Connecting to iotech.jfrog.io|54.74.239.58|:443... connected. 09:54:11 HTTP request sent, awaiting response... 200 OK 09:54:11 Length: 451 [application/octet-stream] 09:54:11 Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 09:54:11  09:54:11 0K   100% 18.7M=0s 09:54:11 09:54:11 2021-06-08 09:54:11 (18.7 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] 09:54:11 09:54:12 Removing intermediate container 69ce936dc7b7 09:54:12 ---> 0f9aaac7dc44 09:54:12 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 09:54:12 ---> Running in e1e4a7327d09 09:54:15 Removing intermediate container e1e4a7327d09 09:54:15 ---> 4351866bd955 09:54:15 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 09:54:15 ---> Running in 62b8bd6f7eb3 09:54:15 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 09:54:16 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 09:54:16 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 09:54:17 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 09:54:17 (2/6) Installing libblkid (2.33-r0) 09:54:17 (3/6) Installing libfdisk (2.33-r0) 09:54:17 (4/6) Installing libmount (2.33-r0) 09:54:17 (5/6) Installing libsmartcols (2.33-r0) 09:54:17 (6/6) Installing util-linux-dev (2.33-r0) 09:54:18 Executing busybox-1.29.3-r10.trigger 09:54:18 OK: 287 MiB in 87 packages 09:54:20 Removing intermediate container 62b8bd6f7eb3 09:54:20 ---> 08c0c4e94c99 09:54:20 Step 7/17 : COPY VERSION /edgex-c-sdk/ 09:54:20 ---> d9d9e379619f 09:54:20 Step 8/17 : COPY src /edgex-c-sdk/src/ 09:54:21 ---> 2015c3b1b3ae 09:54:21 Step 9/17 : COPY include /edgex-c-sdk/include/ 09:54:22 ---> 7e047a573289 09:54:22 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 09:54:23 ---> b1a3f2125971 09:54:23 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 09:54:24 ---> 099d09185764 09:54:24 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 09:54:25 ---> cf3d71189c3e 09:54:25 Step 13/17 : WORKDIR /edgex-c-sdk 09:54:25 ---> Running in 7665ad369aae 09:54:25 Removing intermediate container 7665ad369aae 09:54:25 ---> ceb7f47d80b0 09:54:25 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 09:54:25 ---> Running in ca6a6c95e0c0 09:54:26 Removing intermediate container ca6a6c95e0c0 09:54:26 ---> fa9739aacd6e 09:54:26 Step 15/17 : LABEL arch=arm64 09:54:26 ---> Running in 6d96be3460ab 09:54:26 Removing intermediate container 6d96be3460ab 09:54:26 ---> e13bf92a3e89 09:54:26 Step 16/17 : LABEL git_sha=06b752e626a66475f3ba444a1929f976db96c5b5 09:54:26 ---> Running in 917c997f26e8 09:54:27 Removing intermediate container 917c997f26e8 09:54:27 ---> bf68e287bb01 09:54:27 Step 17/17 : LABEL version=0.0.0 09:54:27 ---> Running in 089e89502e88 09:54:28 Removing intermediate container 089e89502e88 09:54:28 ---> 9834118da54d 09:54:28 [Warning] One or more build-args [MAKE ARCH] were not consumed 09:54:28 Successfully built 9834118da54d 09:54:28 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 09:54:32 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:54:33 ---> package-listing.sh 09:54:33 ++ facter osfamily 09:54:33 ++ tr '[:upper:]' '[:lower:]' 09:54:33 + OS_FAMILY=redhat 09:54:33 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-348 09:54:33 + START_PACKAGES=/tmp/packages_start.txt 09:54:33 + END_PACKAGES=/tmp/packages_end.txt 09:54:33 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:54:33 + PACKAGES=/tmp/packages_start.txt 09:54:33 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-348 ']' 09:54:33 + PACKAGES=/tmp/packages_end.txt 09:54:33 + case "${OS_FAMILY}" in 09:54:33 + rpm -qa 09:54:33 + sort 09:54:34 + '[' -f /tmp/packages_start.txt ']' 09:54:34 + '[' -f /tmp/packages_end.txt ']' 09:54:34 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:54:34 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-348 ']' 09:54:34 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-348/archives/ 09:54:34 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-348/archives/ [Pipeline] echo 09:54:34 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-348/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:54:34 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 09:54:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:54:35 09:54:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 09:54:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:54:35 alpine: Pulling from edgex-lftools-log-publisher 09:54:35 df20fa9351a1: Pulling fs layer 09:54:35 36b3adc4ff6f: Pulling fs layer 09:54:35 8ad3a11d3b57: Pulling fs layer 09:54:35 46f8f816bc3b: Pulling fs layer 09:54:35 93b61091891f: Pulling fs layer 09:54:35 93b9cdb0e59b: Pulling fs layer 09:54:35 5e14af77c1be: Pulling fs layer 09:54:35 01666e4c0597: Pulling fs layer 09:54:35 aa168da1d23b: Pulling fs layer 09:54:35 93b61091891f: Waiting 09:54:35 93b9cdb0e59b: Waiting 09:54:35 5e14af77c1be: Waiting 09:54:35 01666e4c0597: Waiting 09:54:35 aa168da1d23b: Waiting 09:54:35 46f8f816bc3b: Waiting 09:54:35 36b3adc4ff6f: Verifying Checksum 09:54:35 36b3adc4ff6f: Download complete 09:54:35 46f8f816bc3b: Verifying Checksum 09:54:35 46f8f816bc3b: Download complete 09:54:35 df20fa9351a1: Verifying Checksum 09:54:35 df20fa9351a1: Download complete 09:54:35 93b9cdb0e59b: Verifying Checksum 09:54:35 93b9cdb0e59b: Download complete 09:54:35 93b61091891f: Verifying Checksum 09:54:35 93b61091891f: Download complete 09:54:35 5e14af77c1be: Verifying Checksum 09:54:35 5e14af77c1be: Download complete 09:54:35 01666e4c0597: Verifying Checksum 09:54:35 01666e4c0597: Download complete 09:54:35 8ad3a11d3b57: Verifying Checksum 09:54:35 8ad3a11d3b57: Download complete 09:54:36 df20fa9351a1: Pull complete 09:54:36 36b3adc4ff6f: Pull complete 09:54:36 8ad3a11d3b57: Pull complete 09:54:36 46f8f816bc3b: Pull complete 09:54:37 93b61091891f: Pull complete 09:54:37 93b9cdb0e59b: Pull complete 09:54:37 5e14af77c1be: Pull complete 09:54:37 01666e4c0597: Pull complete 09:54:38 aa168da1d23b: Verifying Checksum 09:54:38 aa168da1d23b: Download complete 09:54:42 aa168da1d23b: Pull complete 09:54:42 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 09:54:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:54:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 09:54:42 prd-centos7-docker-4c-2g-889 does not seem to be running inside a container 09:54:42 $ 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-348/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-348 -v /w/workspace/edgexfoundry_device-sdk-c_PR-348:/w/workspace/edgexfoundry_device-sdk-c_PR-348:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-348@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-348@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 09:54:45 $ docker top a17e15f9d382389ff439046737fcb7a5364eed9e820f910c0cd211e38a30e414 -eo pid,comm [Pipeline] { [Pipeline] sh 09:54:45 + touch /tmp/pre-build-complete [Pipeline] sh 09:54:46 + mkdir -p /var/log/sa [Pipeline] sh 09:54:46 + ls /var/log/sa-host 09:54:46 + sadf -c /var/log/sa-host/sa05 09:54:46 file_magic: OK 09:54:46 HZ: Using current value: 100 09:54:46 file_header: OK 09:54:46 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 09:54:46 Statistics: 09:54:46 Hnuu...uuuununununu...Hnuu...uuuununununu... 09:54:46 File successfully converted to sysstat format version 12.2.1 09:54:46 + sadf -c /var/log/sa-host/sa08 09:54:46 file_magic: OK 09:54:46 HZ: Using current value: 100 09:54:46 file_header: OK 09:54:46 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 09:54:46 Statistics: 09:54:46 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 09:54:46 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:54:47 provisioning config files... 09:54:47 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-348@tmp/config3486753796788087112tmp [Pipeline] { [Pipeline] echo 09:54:47 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:54:47 ---> create-netrc.sh [Pipeline] } 09:54:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:54:48 ---> python-tools-install.sh [Pipeline] echo 09:54:48 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:54:48 ---> sudo-logs.sh 09:54:48 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:54:48 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:54:49 ---> job-cost.sh 09:54:49 lf-activate-venv: SKIPPING 09:54:49 INFO: No Stack... 09:54:50 INFO: Retrieving Pricing Info for: v3-standard-2 09:54:50 INFO: Archiving Costs [Pipeline] echo 09:54:50 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:54:51 ---> logs-deploy.sh 09:54:51 lf-activate-venv: SKIPPING 09:54:51 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-348/1 09:54:51 INFO: archiving workspace using pattern(s): 09:54:52 Archives upload complete. 09:54:52 INFO: archiving logs to Nexus 09:54:54 ---> uname -a: 09:54:54 Linux prd-centos7-docker-4c-2g-889.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux 09:54:54 09:54:54 09:54:54 ---> lscpu: 09:54:54 Architecture: x86_64 09:54:54 CPU op-mode(s): 32-bit, 64-bit 09:54:54 Byte Order: Little Endian 09:54:54 Address sizes: 40 bits physical, 48 bits virtual 09:54:54 CPU(s): 2 09:54:54 On-line CPU(s) list: 0,1 09:54:54 Thread(s) per core: 1 09:54:54 Core(s) per socket: 1 09:54:54 Socket(s): 2 09:54:54 NUMA node(s): 1 09:54:54 Vendor ID: AuthenticAMD 09:54:54 CPU family: 23 09:54:54 Model: 49 09:54:54 Model name: AMD EPYC-Rome Processor 09:54:54 Stepping: 0 09:54:54 CPU MHz: 2800.000 09:54:54 BogoMIPS: 5600.00 09:54:54 Virtualization: AMD-V 09:54:54 Hypervisor vendor: KVM 09:54:54 Virtualization type: full 09:54:54 L1d cache: 64 KiB 09:54:54 L1i cache: 64 KiB 09:54:54 L2 cache: 1 MiB 09:54:54 L3 cache: 32 MiB 09:54:54 NUMA node0 CPU(s): 0,1 09:54:54 Vulnerability Itlb multihit: Not affected 09:54:54 Vulnerability L1tf: Not affected 09:54:54 Vulnerability Mds: Not affected 09:54:54 Vulnerability Meltdown: Not affected 09:54:54 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 09:54:54 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 09:54:54 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 09:54:54 Vulnerability Srbds: Not affected 09:54:54 Vulnerability Tsx async abort: Not affected 09:54:54 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext 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 09:54:54 09:54:54 09:54:54 ---> nproc: 09:54:54 2 09:54:54 09:54:54 09:54:54 ---> df -h: 09:54:54 Filesystem Size Used Available Use% Mounted on 09:54:54 overlay 40.0G 7.6G 32.4G 19% / 09:54:54 tmpfs 64.0M 0 64.0M 0% /dev 09:54:54 tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup 09:54:54 shm 64.0M 0 64.0M 0% /dev/shm 09:54:54 /dev/vda1 40.0G 7.6G 32.4G 19% /facter-os 09:54:54 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/resolv.conf 09:54:54 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hostname 09:54:54 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hosts 09:54:54 /dev/vda1 40.0G 7.6G 32.4G 19% /run/cloud-init/result.json 09:54:54 /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/edgexfoundry_device-sdk-c_PR-348 09:54:54 /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/edgexfoundry_device-sdk-c_PR-348@tmp 09:54:54 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/sa-host 09:54:54 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/secure 09:54:54 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/auth.log 09:54:54 09:54:54 09:54:54 ---> free -m: 09:54:54 total used free shared buff/cache available 09:54:54 Mem: 7821 965 4758 0 2097 6677 09:54:54 Swap: 1023 0 1023 09:54:54 09:54:54 09:54:54 ---> ip addr: 09:54:54 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 09:54:54 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 09:54:54 inet 127.0.0.1/8 scope host lo 09:54:54 valid_lft forever preferred_lft forever 09:54:54 inet6 ::1/128 scope host 09:54:54 valid_lft forever preferred_lft forever 09:54:54 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 09:54:54 link/ether fa:16:3e:78:ff:99 brd ff:ff:ff:ff:ff:ff 09:54:54 inet 10.30.122.49/23 brd 10.30.123.255 scope global dynamic eth0 09:54:54 valid_lft 85953sec preferred_lft 85953sec 09:54:54 inet6 fe80::f816:3eff:fe78:ff99/64 scope link 09:54:54 valid_lft forever preferred_lft forever 09:54:54 3: docker0: mtu 1500 qdisc noqueue state DOWN 09:54:54 link/ether 02:42:af:48:04:91 brd ff:ff:ff:ff:ff:ff 09:54:54 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 09:54:54 valid_lft forever preferred_lft forever 09:54:54 inet6 fe80::42:afff:fe48:491/64 scope link 09:54:54 valid_lft forever preferred_lft forever 09:54:54 09:54:54 09:54:54 ---> sar -b -r -n DEV: 09:54:54 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/08/21 _x86_64_ (2 CPU) 09:54:54 09:54:54 09:47:14 LINUX RESTART (2 CPU) 09:54:54 09:54:54 09:48:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 09:54:54 09:49:01 57.29 3.55 53.75 0.00 2599.67 3371.43 0.00 09:54:54 09:50:01 1.65 0.00 1.65 0.00 0.00 30.11 0.00 09:54:54 09:51:02 0.20 0.00 0.20 0.00 0.00 2.42 0.00 09:54:54 09:52:01 0.24 0.00 0.24 0.00 0.00 3.25 0.00 09:54:54 09:53:01 0.23 0.00 0.23 0.00 0.00 3.16 0.00 09:54:54 09:54:01 0.35 0.00 0.35 0.00 0.00 4.55 0.00 09:54:54 Average: 10.02 0.59 9.43 0.00 434.62 570.90 0.00 09:54:54 09:54:54 09:48:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 09:54:54 09:49:01 5457624 0 808496 10.09 2620 1740192 1286756 14.21 568628 1582364 128 09:54:54 09:50:01 5468304 0 797808 9.96 2620 1740200 1203056 13.28 563864 1578392 8 09:54:54 09:51:02 5467064 0 799048 9.98 2620 1740200 1203492 13.29 563248 1579984 8 09:54:54 09:52:01 5465700 0 800408 9.99 2620 1740204 1203612 13.29 565268 1579984 8 09:54:54 09:53:01 5463624 0 802476 10.02 2620 1740212 1203444 13.29 563300 1583776 8 09:54:54 09:54:01 5462844 0 803196 10.03 2620 1740272 1203396 13.29 564256 1583792 24 09:54:54 Average: 5464193 0 801905 10.01 2620 1740213 1217293 13.44 564761 1581382 31 09:54:54 09:54:54 09:48:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 09:54:54 09:49:01 eth0 151.30 116.10 450.61 26.55 0.00 0.00 0.00 0.00 09:54:54 09:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:54:54 09:49:01 docker0 12.92 9.59 1.38 24.83 0.00 0.00 0.00 0.00 09:54:54 09:50:01 eth0 0.77 0.07 0.07 0.01 0.00 0.00 0.00 0.00 09:54:54 09:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:54:54 09:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:54:54 09:51:02 eth0 4.28 2.10 3.32 0.28 0.00 0.00 0.00 0.00 09:54:54 09:51:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:54:54 09:51:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:54:54 09:52:01 eth0 0.53 0.27 0.28 0.20 0.00 0.00 0.00 0.00 09:54:54 09:52:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:54:54 09:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:54:54 09:53:01 eth0 0.22 0.18 0.08 0.10 0.00 0.00 0.00 0.00 09:54:54 09:53:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:54:54 09:53:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:54:54 09:54:01 eth0 0.17 0.12 0.07 0.01 0.00 0.00 0.00 0.00 09:54:54 09:54:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:54:54 09:54:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:54:54 Average: eth0 26.29 19.87 75.97 4.54 0.00 0.00 0.00 0.00 09:54:54 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:54:54 Average: docker0 2.16 1.60 0.23 4.15 0.00 0.00 0.00 0.00 09:54:54 09:54:54 09:54:54 ---> sar -P ALL: 09:54:54 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/08/21 _x86_64_ (2 CPU) 09:54:54 09:54:54 09:47:14 LINUX RESTART (2 CPU) 09:54:54 09:54:54 09:48:01 CPU %user %nice %system %iowait %steal %idle 09:54:54 09:49:01 all 4.71 0.00 2.35 1.64 0.05 91.25 09:54:54 09:49:01 0 5.04 0.00 2.37 0.53 0.05 92.01 09:54:54 09:49:01 1 4.37 0.00 2.32 2.76 0.05 90.49 09:54:54 09:50:01 all 0.16 0.00 0.05 0.00 0.03 99.76 09:54:54 09:50:01 0 0.15 0.00 0.07 0.00 0.02 99.77 09:54:54 09:50:01 1 0.17 0.00 0.03 0.00 0.05 99.75 09:54:54 09:51:02 all 0.12 0.00 0.03 0.00 0.03 99.82 09:54:54 09:51:02 0 0.08 0.00 0.03 0.00 0.03 99.85 09:54:54 09:51:02 1 0.15 0.00 0.03 0.00 0.03 99.78 09:54:54 09:52:01 all 0.09 0.00 0.04 0.00 0.03 99.83 09:54:54 09:52:01 0 0.03 0.00 0.05 0.00 0.03 99.88 09:54:54 09:52:01 1 0.15 0.00 0.03 0.00 0.03 99.78 09:54:54 09:53:01 all 0.15 0.00 0.03 0.00 0.03 99.79 09:54:54 09:53:01 0 0.05 0.00 0.03 0.00 0.03 99.88 09:54:54 09:53:01 1 0.25 0.00 0.02 0.00 0.03 99.70 09:54:54 09:54:01 all 0.10 0.00 0.03 0.00 0.03 99.84 09:54:54 09:54:01 0 0.02 0.00 0.03 0.00 0.02 99.93 09:54:54 09:54:01 1 0.18 0.00 0.03 0.00 0.03 99.75 09:54:54 Average: all 0.88 0.00 0.42 0.27 0.03 98.39 09:54:54 Average: 0 0.89 0.00 0.43 0.09 0.03 98.57 09:54:54 Average: 1 0.87 0.00 0.41 0.46 0.04 98.22 09:54:54 09:54:54 09:54:54