Pull request #351 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 97a945b5107cd91ca2ad7697b14131a8414a70a4+27660dbc3bdf9d601f84e42b72d95f2f88dbda49 (15cbe085344b69978423d732259e64c4fdd8f52f) 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-ssh5765843174627356017.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6a41506d72e8e131afc862d141935157bee59f41 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6288190363491814386.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6a41506d72e8e131afc862d141935157bee59f41 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-351/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-351/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2321587205223167628.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-351/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7838056594459603460.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6a41506d72e8e131afc862d141935157bee59f41 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a41506d72e8e131afc862d141935157bee59f41 # timeout=10 Commit message: "Merge pull request #340 from ernestojeda/enable-snap-stage" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3405412988462074153.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-351/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-351/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6375909723529969076.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd (master) > git config core.sparsecheckout # timeout=10 > git checkout -f d1a99147b03c6cd90561f8e70b7af78166bcd4cd # timeout=10 Commit message: "Feat: Add initial Java pipeline functionality" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-513 in /w/workspace/edgexfoundry_device-sdk-c_PR-351 [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-351 # 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-351@tmp/jenkins-gitclient-ssh2931048607586037921.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 27660dbc3bdf9d601f84e42b72d95f2f88dbda49 into PR head commit 97a945b5107cd91ca2ad7697b14131a8414a70a4 Merge succeeded, producing 97a945b5107cd91ca2ad7697b14131a8414a70a4 Checking out Revision 97a945b5107cd91ca2ad7697b14131a8414a70a4 (PR-351) > 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-351@tmp/jenkins-gitclient-ssh1666066250792257226.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/351/head:refs/remotes/origin/PR-351 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 97a945b5107cd91ca2ad7697b14131a8414a70a4 # 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-351@tmp/jenkins-gitclient-ssh712900787243060576.key > git merge 27660dbc3bdf9d601f84e42b72d95f2f88dbda49 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 97a945b5107cd91ca2ad7697b14131a8414a70a4 # timeout=10 Commit message: "fix: MaxCmdOps of zero implies unlimited fix: Resync MsgBus Topic configuration with go-mod-messaging" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:05:06 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:05:06 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:05:06 ========================================================= 14:05:06 EdgeX Global Pipelines Version Info 14:05:06 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:05:07 ------------------- 14:05:07 stable info: 14:05:07 ------------------- 14:05:07 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:05:07 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 14:05:07 Message: update stable to v1.0.195 14:05:08 ------------------- 14:05:08 experimental info: 14:05:08 ------------------- 14:05:08 Commited By: **** collab-it+edgex@linuxfoundation.org 14:05:08 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 14:05:08 Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:05:08 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 14:05:08 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 14:05:08 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:05:09 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:05:09 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:05:09 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo 14:05:09 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 14:05:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 14:05:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:05:09 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 14:05:09 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:05:09 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:05:09 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:05:09 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 14:05:09 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:05:09 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 14:05:09 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:05:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-351 [Pipeline] echo 14:05:09 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-351 [Pipeline] echo 14:05:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-351 [Pipeline] echo 14:05:10 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 97a945b5107cd91ca2ad7697b14131a8414a70a4 [Pipeline] echo 14:05:10 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 97a945b [Pipeline] echo 14:05:10 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:05:10 provisioning config files... 14:05:10 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-351@tmp/config2099637132522260419tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:05:10 ---> docker-login.sh 14:05:10 nexus3.edgexfoundry.org:10001 14:05:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:05:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:05:11 Configure a credential helper to remove this warning. See 14:05:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:05:11 14:05:11 Login Succeeded 14:05:11 nexus3.edgexfoundry.org:10002 14:05:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:05:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:05:11 Configure a credential helper to remove this warning. See 14:05:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:05:11 14:05:11 Login Succeeded 14:05:11 nexus3.edgexfoundry.org:10003 14:05:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:05:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:05:11 Configure a credential helper to remove this warning. See 14:05:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:05:11 14:05:11 Login Succeeded 14:05:11 nexus3.edgexfoundry.org:10004 14:05:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:05:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:05:11 Configure a credential helper to remove this warning. See 14:05:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:05:11 14:05:11 Login Succeeded 14:05:11 docker.io 14:05:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:05:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:05:12 Configure a credential helper to remove this warning. See 14:05:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:05:12 14:05:12 Login Succeeded 14:05:12 ---> docker-login.sh ends [Pipeline] } 14:05:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 14:05:14 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:05:14 14:05:14 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 14:05:14 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:05:14 latest: Pulling from edgex-devops/git-semver 14:05:14 31603596830f: Pulling fs layer 14:05:14 54011a49482f: Pulling fs layer 14:05:14 a6820b24f6d8: Pulling fs layer 14:05:14 f581987b2513: Pulling fs layer 14:05:14 f581987b2513: Waiting 14:05:14 54011a49482f: Verifying Checksum 14:05:14 54011a49482f: Download complete 14:05:14 31603596830f: Verifying Checksum 14:05:14 31603596830f: Download complete 14:05:14 a6820b24f6d8: Verifying Checksum 14:05:14 a6820b24f6d8: Download complete 14:05:14 f581987b2513: Verifying Checksum 14:05:14 f581987b2513: Download complete 14:05:15 31603596830f: Pull complete 14:05:15 54011a49482f: Pull complete 14:05:15 a6820b24f6d8: Pull complete 14:05:15 f581987b2513: Pull complete 14:05:15 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 14:05:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:05:15 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 14:05:16 prd-centos7-docker-4c-2g-513 does not seem to be running inside a container 14:05:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-351 -v /w/workspace/edgexfoundry_device-sdk-c_PR-351:/w/workspace/edgexfoundry_device-sdk-c_PR-351:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-351@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-351@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 14:05:17 $ docker top 105b56c44d2b42060495ebb6ac21575b100fc0cd12d484c5e53b4bf3b2f2c0a7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:05:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:05:17 [ssh-agent] Looking for ssh-agent implementation... 14:05:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:05:17 $ docker exec 105b56c44d2b42060495ebb6ac21575b100fc0cd12d484c5e53b4bf3b2f2c0a7 ssh-agent 14:05:17 SSH_AUTH_SOCK=/tmp/ssh-lvNCHyM5ZZZq/agent.12 14:05:17 SSH_AGENT_PID=18 14:05:17 Running ssh-add (command line suppressed) 14:05:17 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-351@tmp/private_key_3882654541992807904.key (/w/workspace/edgexfoundry_device-sdk-c_PR-351@tmp/private_key_3882654541992807904.key) 14:05:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:05:18 + git tag --points-at HEAD [Pipeline] } 14:05:18 $ docker exec --env ******** --env ******** 105b56c44d2b42060495ebb6ac21575b100fc0cd12d484c5e53b4bf3b2f2c0a7 ssh-agent -k 14:05:18 unset SSH_AUTH_SOCK; 14:05:18 unset SSH_AGENT_PID; 14:05:18 echo Agent pid 18 killed; 14:05:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:05:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:05:18 [ssh-agent] Looking for ssh-agent implementation... 14:05:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:05:18 $ docker exec 105b56c44d2b42060495ebb6ac21575b100fc0cd12d484c5e53b4bf3b2f2c0a7 ssh-agent 14:05:18 SSH_AUTH_SOCK=/tmp/ssh-UdksvLys0mcZ/agent.51 14:05:18 SSH_AGENT_PID=57 14:05:18 Running ssh-add (command line suppressed) 14:05:18 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-351@tmp/private_key_2088348501015286599.key (/w/workspace/edgexfoundry_device-sdk-c_PR-351@tmp/private_key_2088348501015286599.key) 14:05:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:05:19 + git semver init 14:05:19 # -> Open(): unable to determine branch for HEAD 14:05:19 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-351/.git 14:05:19 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-351 14:05:19 # $SEMVER_REMOTE_NAME = origin 14:05:19 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:05:19 # $SEMVER_USER_NAME = edgex-jenkins 14:05:19 # $SEMVER_BRANCH = PR-351 14:05:19 # $SEMVER_TEMP = /tmp/semver-579737652 14:05:19 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 14:05:19 # '/tmp/semver-579737652' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-351/.semver' 14:05:19 # -> Force: false 14:05:19 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-351/.semver [Pipeline] } 14:05:19 $ docker exec --env ******** --env ******** 105b56c44d2b42060495ebb6ac21575b100fc0cd12d484c5e53b4bf3b2f2c0a7 ssh-agent -k 14:05:20 unset SSH_AUTH_SOCK; 14:05:20 unset SSH_AGENT_PID; 14:05:20 echo Agent pid 57 killed; 14:05:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:05:20 + git semver [Pipeline] } 14:05:20 $ docker stop --time=1 105b56c44d2b42060495ebb6ac21575b100fc0cd12d484c5e53b4bf3b2f2c0a7 14:05:22 $ docker rm -f 105b56c44d2b42060495ebb6ac21575b100fc0cd12d484c5e53b4bf3b2f2c0a7 [Pipeline] // withDockerContainer [Pipeline] sh 14:05:22 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:05:22 Stashed 1 file(s) [Pipeline] echo 14:05:22 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 14:05:38 Still waiting to schedule task 14:05:38 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-513’ 14:05:38 Still waiting to schedule task 14:05:38 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 14:07:36 Running on prd-ubuntu18.04-docker-arm64-4c-16g-514 in /w/workspace/edgexfoundry_device-sdk-c_PR-351 [Pipeline] { [Pipeline] ws 14:07:36 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 14:07:36 Selected Git installation does not exist. Using Default 14:07:36 The recommended git tool is: NONE 14:07:42 using credential edgex-jenkins-ssh 14:07:42 Cloning the remote Git repository 14:07:43 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 14:07:43 > git init /w/workspace/device-sdk-c/1 # timeout=10 14:07:43 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 14:07:43 > git --version # timeout=10 14:07:43 > git --version # 'git version 2.17.1' 14:07:43 using GIT_SSH to set credentials SSH Credentials for GitHub 14:07:43 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:07:45 Merging remotes/origin/master commit 27660dbc3bdf9d601f84e42b72d95f2f88dbda49 into PR head commit 97a945b5107cd91ca2ad7697b14131a8414a70a4 14:07:45 Merge succeeded, producing 97a945b5107cd91ca2ad7697b14131a8414a70a4 14:07:45 Checking out Revision 97a945b5107cd91ca2ad7697b14131a8414a70a4 (PR-351) 14:07:44 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 14:07:44 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:07:44 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 14:07:44 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 14:07:44 using GIT_SSH to set credentials SSH Credentials for GitHub 14:07:44 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/351/head:refs/remotes/origin/PR-351 +refs/heads/master:refs/remotes/origin/master # timeout=10 14:07:45 > git config core.sparsecheckout # timeout=10 14:07:45 > git checkout -f 97a945b5107cd91ca2ad7697b14131a8414a70a4 # timeout=10 14:07:45 > git remote # timeout=10 14:07:45 > git config --get remote.origin.url # timeout=10 14:07:45 using GIT_SSH to set credentials SSH Credentials for GitHub 14:07:45 > git merge 27660dbc3bdf9d601f84e42b72d95f2f88dbda49 # timeout=10 14:07:45 > git rev-parse HEAD^{commit} # timeout=10 14:07:45 > git config core.sparsecheckout # timeout=10 14:07:45 > git checkout -f 97a945b5107cd91ca2ad7697b14131a8414a70a4 # timeout=10 14:07:49 Commit message: "fix: MaxCmdOps of zero implies unlimited fix: Resync MsgBus Topic configuration with go-mod-messaging" 14:07:49 > git --version # timeout=10 14:07:49 > git --version # 'git version 2.17.1' 14:07:49 fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:07:51 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 14:07:51 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 14:07:52 + sudo service docker restart+ 14:07:52 true 14:07:56 Running on prd-centos7-docker-4c-2g-517 in /w/workspace/edgexfoundry_device-sdk-c_PR-351 [Pipeline] { [Pipeline] ws 14:07:56 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 14:07:56 Selected Git installation does not exist. Using Default 14:07:56 The recommended git tool is: NONE 14:07:58 using credential edgex-jenkins-ssh 14:07:58 Cloning the remote Git repository 14:07:58 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 14:07:58 > git init /w/workspace/device-sdk-c/1 # timeout=10 14:07:58 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 14:07:58 > git --version # timeout=10 14:07:58 > git --version # 'git version 2.24.4' 14:07:58 using GIT_SSH to set credentials SSH Credentials for GitHub 14:07:58 [INFO] Currently running in a labeled security context 14:07:58 [INFO] Currently SELinux is 'enforcing' on the host 14:07:58 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh7879751233668641925.key 14:07:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:07:59 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 14:08:00 Merging remotes/origin/master commit 27660dbc3bdf9d601f84e42b72d95f2f88dbda49 into PR head commit 97a945b5107cd91ca2ad7697b14131a8414a70a4 14:08:00 Merge succeeded, producing 97a945b5107cd91ca2ad7697b14131a8414a70a4 14:08:00 Checking out Revision 97a945b5107cd91ca2ad7697b14131a8414a70a4 (PR-351) 14:07:59 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:07:59 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 14:07:59 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 14:07:59 using GIT_SSH to set credentials SSH Credentials for GitHub 14:07:59 [INFO] Currently running in a labeled security context 14:07:59 [INFO] Currently SELinux is 'enforcing' on the host 14:07:59 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh3397146684560898169.key 14:07:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/351/head:refs/remotes/origin/PR-351 +refs/heads/master:refs/remotes/origin/master # timeout=10 14:08:00 > git config core.sparsecheckout # timeout=10 14:08:00 > git checkout -f 97a945b5107cd91ca2ad7697b14131a8414a70a4 # timeout=10 14:08:00 > git remote # timeout=10 14:08:00 > git config --get remote.origin.url # timeout=10 14:08:00 using GIT_SSH to set credentials SSH Credentials for GitHub 14:08:00 [INFO] Currently running in a labeled security context 14:08:00 [INFO] Currently SELinux is 'enforcing' on the host 14:08:00 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh1412662481609924064.key 14:08:00 > git merge 27660dbc3bdf9d601f84e42b72d95f2f88dbda49 # timeout=10 14:08:00 > git rev-parse HEAD^{commit} # timeout=10 14:08:00 > git config core.sparsecheckout # timeout=10 14:08:00 > git checkout -f 97a945b5107cd91ca2ad7697b14131a8414a70a4 # timeout=10 14:08:03 Commit message: "fix: MaxCmdOps of zero implies unlimited fix: Resync MsgBus Topic configuration with go-mod-messaging" 14:08:04 > git --version # timeout=10 14:08:04 > git --version # 'git version 2.24.4' 14:08:04 fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:08:05 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 14:08:05 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 14:08:05 + true 14:08:05 + sudo service docker restart 14:08:05 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:08:10 provisioning config files... 14:08:10 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config52151396462583314tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:08:11 ---> docker-login.sh 14:08:11 nexus3.edgexfoundry.org:10001 14:08:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:08:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:08:12 Configure a credential helper to remove this warning. See 14:08:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:08:12 14:08:12 Login Succeeded 14:08:12 nexus3.edgexfoundry.org:10002 14:08:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:08:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:08:13 Configure a credential helper to remove this warning. See 14:08:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:08:13 14:08:13 Login Succeeded 14:08:13 nexus3.edgexfoundry.org:10003 14:08:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:08:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:08:13 Configure a credential helper to remove this warning. See 14:08:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:08:13 14:08:13 Login Succeeded 14:08:13 nexus3.edgexfoundry.org:10004 14:08:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:08:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:08:14 Configure a credential helper to remove this warning. See 14:08:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:08:14 14:08:14 Login Succeeded 14:08:14 docker.io 14:08:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:08:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:08:14 Configure a credential helper to remove this warning. See 14:08:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:08:14 14:08:14 Login Succeeded 14:08:14 ---> docker-login.sh ends [Pipeline] } 14:08:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:08:15 ========================================================= 14:08:15 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 14:08:15 ========================================================= [Pipeline] isUnix [Pipeline] sh 14:08:15 + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . 14:08:16 Sending build context to Docker daemon 2.622MB 14:08:16 Step 1/25 : ARG BASE=alpine:3.12 14:08:16 Step 2/25 : FROM ${BASE} as builder 14:08:16 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 14:08:16 0362ad1dd800: Pulling fs layer 14:08:16 f2cdb1532d8b: Pulling fs layer 14:08:16 37ed683be191: Pulling fs layer 14:08:16 f2cdb1532d8b: Verifying Checksum 14:08:16 f2cdb1532d8b: Download complete 14:08:16 0362ad1dd800: Verifying Checksum 14:08:16 0362ad1dd800: Download complete 14:08:17 0362ad1dd800: Pull complete 14:08:17 f2cdb1532d8b: Pull complete 14:08:19 37ed683be191: Verifying Checksum 14:08:19 37ed683be191: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:08:24 provisioning config files... 14:08:24 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config7553472209820256867tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:08:24 ---> docker-login.sh 14:08:24 nexus3.edgexfoundry.org:10001 14:08:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:08:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:08:24 Configure a credential helper to remove this warning. See 14:08:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:08:24 14:08:24 Login Succeeded 14:08:24 nexus3.edgexfoundry.org:10002 14:08:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:08:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:08:24 Configure a credential helper to remove this warning. See 14:08:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:08:24 14:08:24 Login Succeeded 14:08:24 nexus3.edgexfoundry.org:10003 14:08:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:08:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:08:25 Configure a credential helper to remove this warning. See 14:08:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:08:25 14:08:25 Login Succeeded 14:08:25 nexus3.edgexfoundry.org:10004 14:08:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:08:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:08:25 Configure a credential helper to remove this warning. See 14:08:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:08:25 14:08:25 Login Succeeded 14:08:25 docker.io 14:08:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:08:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:08:25 Configure a credential helper to remove this warning. See 14:08:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:08:25 14:08:25 Login Succeeded 14:08:25 ---> docker-login.sh ends [Pipeline] } 14:08:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:08:26 ========================================================= 14:08:26 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 14:08:26 ========================================================= [Pipeline] isUnix [Pipeline] sh 14:08:26 + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . 14:08:26 Sending build context to Docker daemon 2.623MB 14:08:26 Step 1/25 : ARG BASE=alpine:3.12 14:08:26 Step 2/25 : FROM ${BASE} as builder 14:08:26 latest: Pulling from edgex-devops/edgex-gcc-base 14:08:26 e7c96db7181b: Pulling fs layer 14:08:26 4c13bbce0fe7: Pulling fs layer 14:08:26 6059c847ac2f: Pulling fs layer 14:08:26 4c13bbce0fe7: Verifying Checksum 14:08:26 4c13bbce0fe7: Download complete 14:08:26 e7c96db7181b: Verifying Checksum 14:08:26 e7c96db7181b: Download complete 14:08:26 e7c96db7181b: Pull complete 14:08:26 4c13bbce0fe7: Pull complete 14:08:28 37ed683be191: Pull complete 14:08:28 Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f 14:08:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 14:08:28 ---> b23d30803547 14:08:28 Step 3/25 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub 14:08:29 6059c847ac2f: Verifying Checksum 14:08:29 6059c847ac2f: Download complete 14:08:29 ---> Running in c3d14a107206 14:08:30 Connecting to iotech.jfrog.io (34.243.182.113:443) 14:08:31 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 14:08:31 14:08:32 Removing intermediate container c3d14a107206 14:08:32 ---> b274144d8e3a 14:08:32 Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 14:08:32 ---> Running in faa7eab1b79a 14:08:32 6059c847ac2f: Pull complete 14:08:32 Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e 14:08:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 14:08:32 ---> 5eabd8fd8ba2 14:08:32 Step 3/25 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub 14:08:34 Removing intermediate container faa7eab1b79a 14:08:34 ---> b7a0a66355a6 14:08:34 Step 5/25 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev hiredis-dev 14:08:34 ---> Running in 5018f3ad1d64 14:08:35 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 14:08:36 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 14:08:36 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 14:08:37 (1/11) Installing hiredis (0.14.0-r0) 14:08:37 (2/11) Installing hiredis-dev (0.14.0-r0) 14:08:37 (3/11) Installing ncurses-dev (6.1_p20190105-r0) 14:08:37 (4/11) Installing paho-mqtt-c-dev (1.3.5-r0) 14:08:39 (5/11) Installing libuuid (2.33-r0) 14:08:39 (6/11) Installing libblkid (2.33-r0) 14:08:39 (7/11) Installing libfdisk (2.33-r0) 14:08:39 (8/11) Installing libmount (2.33-r0) 14:08:39 (9/11) Installing libsmartcols (2.33-r0) 14:08:39 (10/11) Installing util-linux-dev (2.33-r0) 14:08:39 (11/11) Installing wget (1.20.3-r0) 14:08:39 Executing busybox-1.29.3-r10.trigger 14:08:39 OK: 287 MiB in 86 packages 14:08:40 ---> Running in 0cce7625cebd 14:08:40 Connecting to iotech.jfrog.io (54.74.239.58:443) 14:08:40 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 14:08:40 14:08:40 Removing intermediate container 0cce7625cebd 14:08:40 ---> dc7efa0336e4 14:08:40 Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 14:08:41 ---> Running in 6a87a52e958e 14:08:41 Removing intermediate container 5018f3ad1d64 14:08:41 ---> 4ad83f654edd 14:08:41 Step 6/25 : ENV CBOR_VERSION=0.5.0 14:08:41 ---> Running in 40b888971244 14:08:41 Removing intermediate container 40b888971244 14:08:41 ---> 23f478ea6e9c 14:08:41 Step 7/25 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install 14:08:42 ---> Running in f1252667057b 14:08:42 Removing intermediate container 6a87a52e958e 14:08:42 ---> d5167d8a452a 14:08:42 Step 5/25 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev hiredis-dev 14:08:42 ---> Running in 5e0fe7a8723b 14:08:42 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 14:08:43 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 14:08:43 --2021-06-11 14:08:43-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 14:08:43 Resolving github.com... 140.82.113.3 14:08:43 Connecting to github.com|140.82.113.3|:443... connected. 14:08:43 HTTP request sent, awaiting response... 302 Found 14:08:43 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 14:08:43 --2021-06-11 14:08:43-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 14:08:43 Resolving codeload.github.com... 140.82.113.10 14:08:43 Connecting to codeload.github.com|140.82.113.10|:443... connected. 14:08:43 HTTP request sent, awaiting response... 200 OK 14:08:43 Length: 719348 (702K) [application/x-gzip] 14:08:43 Saving to: 'STDOUT' 14:08:43  14:08:43 0K .......... .......... .......... .......... .......... 7% 1.40M 0s 14:08:43 50K .......... .......... .......... .......... .......... 14% 2.98M 0s 14:08:43 100K .......... .......... .......... .......... .......... 21% 2.92M 0s 14:08:43 150K .......... .......... .......... .......... .......... 28% 15.0M 0s 14:08:43 200K .......... .......... .......... .......... .......... 35% 16.7M 0s 14:08:43 250K .......... .......... .......... .......... .......... 42% 5.28M 0s 14:08:43 300K .......... .......... .......... .......... .......... 49% 4.38M 0s 14:08:43 350K .......... .......... .......... .......... .......... 56% 5.65M 0s 14:08:43 400K .......... .......... .......... .......... .......... 64% 3.91M 0s 14:08:43 450K .......... .......... .......... .......... .......... 71% 8.21M 0s 14:08:43 500K .......... .......... .......... .......... .......... 78% 4.91M 0s 14:08:43 550K .......... .......... .......... .......... .......... 85% 9.27M 0s 14:08:43 600K .......... .......... .......... .......... .......... 92% 926K 0s 14:08:43 650K .......... .......... .......... .......... .......... 99% 1.92M 0s 14:08:43 700K ..   100% 4746G=0.2s 14:08:43 14:08:43 2021-06-11 14:08:43 (3.17 MB/s) - written to stdout [719348/719348] 14:08:43 14:08:43 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 14:08:44 -- The C compiler identification is GNU 8.3.0 14:08:44 (1/11) Installing hiredis (0.14.0-r0) 14:08:44 -- The CXX compiler identification is GNU 8.3.0 14:08:44 -- Check for working C compiler: /usr/bin/cc 14:08:44 (2/11) Installing hiredis-dev (0.14.0-r0) 14:08:44 (3/11) Installing ncurses-dev (6.1_p20190105-r0) 14:08:44 (4/11) Installing paho-mqtt-c-dev (1.3.5-r0) 14:08:44 -- Check for working C compiler: /usr/bin/cc -- works 14:08:44 -- Detecting C compiler ABI info 14:08:45 -- Detecting C compiler ABI info - done 14:08:45 -- Detecting C compile features 14:08:45 -- Detecting C compile features - done 14:08:45 -- Check for working CXX compiler: /usr/bin/c++ 14:08:45 (5/11) Installing libuuid (2.33-r0) 14:08:45 (6/11) Installing libblkid (2.33-r0) 14:08:46 -- Check for working CXX compiler: /usr/bin/c++ -- works 14:08:46 -- Detecting CXX compiler ABI info 14:08:46 -- Detecting CXX compiler ABI info - done 14:08:46 (7/11) Installing libfdisk (2.33-r0) 14:08:46 -- Detecting CXX compile features 14:08:46 (8/11) Installing libmount (2.33-r0) 14:08:46 (9/11) Installing libsmartcols (2.33-r0) 14:08:46 (10/11) Installing util-linux-dev (2.33-r0) 14:08:47 (11/11) Installing wget (1.20.3-r0) 14:08:47 Executing busybox-1.29.3-r10.trigger 14:08:47 OK: 273 MiB in 86 packages 14:08:47 -- Detecting CXX compile features - done 14:08:47 -- Looking for include file endian.h 14:08:48 -- Looking for include file endian.h - found 14:08:48 -- Check if the system is big endian 14:08:48 -- Searching 16 bit integer 14:08:48 -- Looking for sys/types.h 14:08:48 -- Looking for sys/types.h - found 14:08:48 -- Looking for stdint.h 14:08:48 Removing intermediate container 5e0fe7a8723b 14:08:48 ---> 217197298015 14:08:48 Step 6/25 : ENV CBOR_VERSION=0.5.0 14:08:48 ---> Running in a841cffcc53c 14:08:48 Removing intermediate container a841cffcc53c 14:08:48 ---> afcff5015a56 14:08:48 Step 7/25 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install 14:08:48 ---> Running in 30b5235368b3 14:08:48 -- Looking for stdint.h - found 14:08:48 -- Looking for stddef.h 14:08:48 --2021-06-11 14:08:48-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 14:08:48 Resolving github.com... 140.82.113.3 14:08:48 Connecting to github.com|140.82.113.3|:443... connected. 14:08:48 -- Looking for stddef.h - found 14:08:48 -- Check size of unsigned short 14:08:48 HTTP request sent, awaiting response... 302 Found 14:08:48 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 14:08:48 --2021-06-11 14:08:48-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 14:08:48 Resolving codeload.github.com... 140.82.113.10 14:08:48 Connecting to codeload.github.com|140.82.113.10|:443... connected. 14:08:48 HTTP request sent, awaiting response... 200 OK 14:08:48 Length: 719348 (702K) [application/x-gzip] 14:08:48 Saving to: 'STDOUT' 14:08:48  14:08:48 0K .......... .......... .......... .......... .......... 7% 1.66M 0s 14:08:48 50K .......... .......... .......... .......... .......... 14% 3.30M 0s 14:08:48 100K .......... .......... .......... .......... .......... 21% 63.9M 0s 14:08:48 150K .......... .......... .......... .......... .......... 28% 3.47M 0s 14:08:48 200K .......... .......... .......... .......... .......... 35% 31.0M 0s 14:08:48 250K .......... .......... .......... .......... .......... 42% 5.19M 0s 14:08:48 300K .......... .......... .......... .......... .......... 49% 15.9M 0s 14:08:48 350K .......... .......... .......... .......... .......... 56% 11.9M 0s 14:08:48 400K .......... .......... .......... .......... .......... 64% 12.9M 0s 14:08:48 450K .......... .......... .......... .......... .......... 71% 24.3M 0s 14:08:48 500K .......... .......... .......... .......... .......... 78% 18.8M 0s 14:08:48 550K .......... .......... .......... .......... .......... 85% 18.2M 0s 14:08:48 600K .......... .......... .......... .......... .......... 92% 4.04M 0s 14:08:48 650K .......... .......... .......... .......... .......... 99% 5.40M 0s 14:08:48 700K .. 100% 4746G=0.1s 14:08:48 14:08:48 2021-06-11 14:08:48 (6.27 MB/s) - written to stdout [719348/719348] 14:08:48 14:08:48 -- Check size of unsigned short - done 14:08:48 -- Using unsigned short 14:08:49 -- The C compiler identification is GNU 8.3.0 14:08:49 -- The CXX compiler identification is GNU 8.3.0 14:08:49 -- Check for working C compiler: /usr/bin/cc 14:08:49 -- Check for working C compiler: /usr/bin/cc -- works 14:08:49 -- Detecting C compiler ABI info 14:08:49 -- Detecting C compiler ABI info - done 14:08:49 -- Detecting C compile features 14:08:49 -- Check if the system is big endian - little endian 14:08:49 -- Check size of size_t 14:08:49 -- Detecting C compile features - done 14:08:49 -- Check for working CXX compiler: /usr/bin/c++ 14:08:49 -- Check for working CXX compiler: /usr/bin/c++ -- works 14:08:49 -- Detecting CXX compiler ABI info 14:08:49 -- Detecting CXX compiler ABI info - done 14:08:49 -- Check size of size_t - done 14:08:49 CMake Warning at examples/CMakeLists.txt:16 (find_package): 14:08:49 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 14:08:49 asked CMake to find a package configuration file provided by "cJSON", but 14:08:49 CMake did not find one. 14:08:49 14:08:49 Could not find a package configuration file provided by "cJSON" with any of 14:08:49 the following names: 14:08:49 14:08:49 cJSONConfig.cmake 14:08:49 cjson-config.cmake 14:08:49 14:08:49 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 14:08:49 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 14:08:49 provides a separate development package or SDK, be sure it has been 14:08:49 installed. 14:08:49 14:08:49 14:08:49 -- Configuring done 14:08:49 -- Detecting CXX compile features 14:08:49 -- Detecting CXX compile features - done 14:08:49 -- Looking for include file endian.h 14:08:49 -- Looking for include file endian.h - found 14:08:49 -- Check if the system is big endian 14:08:49 -- Searching 16 bit integer 14:08:49 -- Looking for sys/types.h 14:08:49 -- Looking for sys/types.h - found 14:08:49 -- Looking for stdint.h 14:08:49 -- Generating done 14:08:49 -- Build files have been written to: /tmp/cbor 14:08:49 Scanning dependencies of target cbor_shared 14:08:49 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 14:08:50 -- Looking for stdint.h - found 14:08:50 -- Looking for stddef.h 14:08:50 -- Looking for stddef.h - found 14:08:50 -- Check size of unsigned short 14:08:50 -- Check size of unsigned short - done 14:08:50 -- Using unsigned short 14:08:50 -- Check if the system is big endian - little endian 14:08:50 -- Check size of size_t 14:08:50 -- Check size of size_t - done 14:08:50 CMake Warning at examples/CMakeLists.txt:16 (find_package): 14:08:50 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 14:08:50 asked CMake to find a package configuration file provided by "cJSON", but 14:08:50 CMake did not find one. 14:08:50 14:08:50 Could not find a package configuration file provided by "cJSON" with any of 14:08:50 the following names: 14:08:50 14:08:50 cJSONConfig.cmake 14:08:50 cjson-config.cmake 14:08:50 14:08:50 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 14:08:50 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 14:08:50 provides a separate development package or SDK, be sure it has been 14:08:50 installed. 14:08:50 14:08:50 14:08:50 -- Configuring done 14:08:50 -- Generating done 14:08:50 -- Build files have been written to: /tmp/cbor 14:08:50 Scanning dependencies of target cbor_shared 14:08:50 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 14:08:50 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 14:08:50 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 14:08:50 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 14:08:50 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 14:08:50 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 14:08:50 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 14:08:50 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 14:08:50 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 14:08:50 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 14:08:50 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 14:08:51 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 14:08:51 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 14:08:51 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 14:08:51 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 14:08:51 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 14:08:51 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 14:08:51 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 14:08:51 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 14:08:51 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 14:08:51 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 14:08:51 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 14:08:51 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 14:08:51 [ 40%] Linking C shared library libcbor.so 14:08:51 [ 40%] Built target cbor_shared 14:08:51 Scanning dependencies of target cbor 14:08:51 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 14:08:51 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 14:08:51 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 14:08:51 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 14:08:51 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 14:08:52 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 14:08:52 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 14:08:52 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 14:08:52 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 14:08:52 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 14:08:52 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 14:08:52 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 14:08:52 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 14:08:52 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 14:08:52 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 14:08:52 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 14:08:52 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 14:08:52 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 14:08:52 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 14:08:52 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 14:08:52 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 14:08:52 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 14:08:53 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 14:08:53 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 14:08:53 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 14:08:53 [ 80%] Linking C static library libcbor.a 14:08:53 [ 80%] Built target cbor 14:08:53 Scanning dependencies of target create_items 14:08:53 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 14:08:53 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 14:08:53 [ 84%] Linking C executable create_items 14:08:53 [ 84%] Built target create_items 14:08:53 Scanning dependencies of target readfile 14:08:53 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 14:08:53 [ 88%] Linking C executable readfile 14:08:53 [ 88%] Built target readfile 14:08:53 Scanning dependencies of target streaming_parser 14:08:53 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 14:08:53 [ 92%] Linking C executable streaming_parser 14:08:53 [ 92%] Built target streaming_parser 14:08:53 Scanning dependencies of target sort 14:08:53 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 14:08:53 [ 96%] Linking C executable sort 14:08:53 [ 96%] Built target sort 14:08:53 Scanning dependencies of target hello 14:08:53 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 14:08:53 [100%] Linking C executable hello 14:08:53 [100%] Built target hello 14:08:53 Install the project... 14:08:53 -- Install configuration: "Release" 14:08:53 -- Installing: /usr/local/include/cbor/configuration.h 14:08:53 -- Installing: /usr/local/lib64/libcbor.a 14:08:53 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 14:08:53 -- Installing: /usr/local/lib64/libcbor.so.0 14:08:53 -- Installing: /usr/local/lib64/libcbor.so 14:08:53 -- Up-to-date: /usr/local/include/cbor 14:08:53 -- Installing: /usr/local/include/cbor/arrays.h 14:08:53 -- Installing: /usr/local/include/cbor/bytestrings.h 14:08:53 -- Installing: /usr/local/include/cbor/callbacks.h 14:08:53 -- Installing: /usr/local/include/cbor/common.h 14:08:53 -- Installing: /usr/local/include/cbor/data.h 14:08:53 -- Installing: /usr/local/include/cbor/encoding.h 14:08:53 -- Installing: /usr/local/include/cbor/floats_ctrls.h 14:08:53 -- Installing: /usr/local/include/cbor/internal 14:08:53 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 14:08:53 -- Installing: /usr/local/include/cbor/internal/encoders.h 14:08:53 -- Installing: /usr/local/include/cbor/internal/loaders.h 14:08:53 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 14:08:53 -- Installing: /usr/local/include/cbor/internal/stack.h 14:08:53 -- Installing: /usr/local/include/cbor/internal/unicode.h 14:08:53 -- Installing: /usr/local/include/cbor/ints.h 14:08:53 -- Installing: /usr/local/include/cbor/maps.h 14:08:53 -- Installing: /usr/local/include/cbor/serialization.h 14:08:53 -- Installing: /usr/local/include/cbor/streaming.h 14:08:53 -- Installing: /usr/local/include/cbor/strings.h 14:08:53 -- Installing: /usr/local/include/cbor/tags.h 14:08:53 -- Installing: /usr/local/include/cbor.h 14:08:53 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 14:08:53 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 14:08:53 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 14:08:54 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 14:08:54 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 14:08:54 Removing intermediate container 30b5235368b3 14:08:54 ---> 666062c4b6e1 14:08:54 Step 8/25 : RUN mkdir /tmp/sdk 14:08:54 ---> Running in 51d0b01dd576 14:08:54 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 14:08:54 Removing intermediate container 51d0b01dd576 14:08:54 ---> 9fda4ed8e9ca 14:08:54 Step 9/25 : COPY VERSION /tmp/sdk 14:08:55 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 14:08:55 ---> 59f994e5af36 14:08:55 Step 10/25 : COPY src /tmp/sdk/src 14:08:55 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 14:08:55 ---> 034e15f3bb02 14:08:55 Step 11/25 : COPY include /tmp/sdk/include 14:08:55 ---> dd946c68be87 14:08:55 Step 12/25 : COPY scripts /tmp/sdk/scripts 14:08:55 ---> a3f168d1a9b5 14:08:55 Step 13/25 : COPY LICENSE /tmp/sdk 14:08:55 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 14:08:55 ---> 70101897bc0b 14:08:55 Step 14/25 : COPY Attribution.txt /tmp/sdk 14:08:55 ---> 9c2cb7f95f2d 14:08:55 Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 14:08:55 ---> Running in e30d9fa6002d 14:08:55 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 14:08:56 + CPPCHECK=false 14:08:56 + DOCGEN=false 14:08:56 + TOMLVER=SDK-0.2 14:08:56 + CUTILVER=1.1.4 14:08:56 + '[' 0 -gt 0 ] 14:08:56 + readlink -f ./scripts/build.sh 14:08:56 + dirname /tmp/sdk/scripts/build.sh 14:08:56 + dirname /tmp/sdk/scripts 14:08:56 + ROOT=/tmp/sdk 14:08:56 + cd /tmp/sdk 14:08:56 + '[' '!' -d deps ] 14:08:56 + mkdir deps 14:08:56 + tar -C deps -z -x -f - 14:08:56 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 14:08:56 --2021-06-11 14:08:56-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 14:08:56 Resolving github.com... 140.82.113.3 14:08:56 Connecting to github.com|140.82.113.3|:443... connected. 14:08:56 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 14:08:56 [ 40%] Linking C shared library libcbor.so 14:08:56 HTTP request sent, awaiting response... 302 Found 14:08:56 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 14:08:56 --2021-06-11 14:08:56-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 14:08:56 Resolving codeload.github.com... 140.82.113.10 14:08:56 Connecting to codeload.github.com|140.82.113.10|:443... connected. 14:08:56 HTTP request sent, awaiting response... 200 OK 14:08:56 Length: unspecified [application/x-gzip] 14:08:56 Saving to: 'STDOUT' 14:08:56 14:08:56 [ 40%] Built target cbor_shared 14:08:56 Scanning dependencies of target cbor 14:08:56 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 14:08:56 0K .......... ......  963K=0.02s 14:08:56 14:08:56 2021-06-11 14:08:56 (963 KB/s) - written to stdout [16451] 14:08:56 14:08:56 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 14:08:56 + wget -O+ - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gztar 14:08:56 -C deps -z -x -f - 14:08:56 --2021-06-11 14:08:56-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 14:08:56 Resolving github.com... 140.82.113.3 14:08:56 Connecting to github.com|140.82.113.3|:443... connected. 14:08:56 HTTP request sent, awaiting response... 302 Found 14:08:56 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] 14:08:56 --2021-06-11 14:08:56-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 14:08:56 Resolving codeload.github.com... 140.82.113.10 14:08:56 Connecting to codeload.github.com|140.82.113.10|:443... connected. 14:08:56 HTTP request sent, awaiting response... 200 OK 14:08:56 Length: unspecified [application/x-gzip] 14:08:56 Saving to: 'STDOUT' 14:08:56 14:08:56 0K .......... .......... .......... .......... .......... 1.55M 14:08:56 50K .......... .......... .......... .......... .......... 3.05M 14:08:56 100K .......... .......... .......... .......... .......... 44.0M 14:08:56 150K .......... .......... ....... 3.32M=0.06s 14:08:56 14:08:56 2021-06-11 14:08:56 (3.06 MB/s) - written to stdout [181796] 14:08:56 14:08:56 + mkdir -p src/c/iot 14:08:56 + cp deps/iotech-c-utils-1.1.4/src/c/base64.c deps/iotech-c-utils-1.1.4/src/c/component.c deps/iotech-c-utils-1.1.4/src/c/config.c deps/iotech-c-utils-1.1.4/src/c/container.c deps/iotech-c-utils-1.1.4/src/c/data.c deps/iotech-c-utils-1.1.4/src/c/hash.c deps/iotech-c-utils-1.1.4/src/c/iot.c deps/iotech-c-utils-1.1.4/src/c/json.c deps/iotech-c-utils-1.1.4/src/c/logger.c deps/iotech-c-utils-1.1.4/src/c/os.c deps/iotech-c-utils-1.1.4/src/c/scheduler.c deps/iotech-c-utils-1.1.4/src/c/thread.c deps/iotech-c-utils-1.1.4/src/c/threadpool.c deps/iotech-c-utils-1.1.4/src/c/time.c deps/iotech-c-utils-1.1.4/src/c/yxml.c src/c/iot 14:08:56 + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot 14:08:56 + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot 14:08:56 + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot 14:08:56 + mkdir -p include/iot 14:08:56 + cp deps/iotech-c-utils-1.1.4/include/iot/base64.h deps/iotech-c-utils-1.1.4/include/iot/component.h deps/iotech-c-utils-1.1.4/include/iot/config.h deps/iotech-c-utils-1.1.4/include/iot/container.h deps/iotech-c-utils-1.1.4/include/iot/data.h deps/iotech-c-utils-1.1.4/include/iot/hash.h deps/iotech-c-utils-1.1.4/include/iot/iot.h deps/iotech-c-utils-1.1.4/include/iot/json.h deps/iotech-c-utils-1.1.4/include/iot/logger.h deps/iotech-c-utils-1.1.4/include/iot/os.h deps/iotech-c-utils-1.1.4/include/iot/scheduler.h deps/iotech-c-utils-1.1.4/include/iot/thread.h deps/iotech-c-utils-1.1.4/include/iot/threadpool.h deps/iotech-c-utils-1.1.4/include/iot/time.h deps/iotech-c-utils-1.1.4/include/iot/typecode.h include/iot 14:08:56 + mkdir -p include/iot/os 14:08:56 + cp deps/iotech-c-utils-1.1.4/include/iot/os/linux.h deps/iotech-c-utils-1.1.4/include/iot/os/macos.h deps/iotech-c-utils-1.1.4/include/iot/os/zephyr.h include/iot/os 14:08:56 + mkdir -p /tmp/sdk/build/release 14:08:56 + cd /tmp/sdk/build/release 14:08:56 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 14:08:56 -- The C compiler identification is GNU 8.3.0 14:08:56 -- Check for working C compiler: /usr/bin/cc 14:08:57 -- Check for working C compiler: /usr/bin/cc -- works 14:08:57 -- Detecting C compiler ABI info 14:08:57 -- Detecting C compiler ABI info - done 14:08:57 -- Detecting C compile features 14:08:57 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 14:08:57 -- Detecting C compile features - done 14:08:57 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:08:57 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 14:08:57 -- Found LIBYAML: /usr/lib/libyaml.so 14:08:57 -- Found LIBUUID: /usr/lib/libuuid.so 14:08:57 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 14:08:57 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 14:08:57 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 14:08:57 -- C SDK 0.0.0 for Linux 14:08:57 -- Performing Test CSDK_HAVE_ATOMIC 14:08:57 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:08:57 -- Found Curses: /usr/lib/libcurses.so 14:08:57 -- Configuring done 14:08:57 -- Generating done 14:08:57 -- Build files have been written to: /tmp/sdk/build/release 14:08:57 + + tee release.logmake 14:08:57 all package 14:08:57 Scanning dependencies of target csdk 14:08:57 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:08:57 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 14:08:57 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 14:08:57 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:08:57 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 14:08:57 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:08:58 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:08:58 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 14:08:58 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 14:08:58 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 14:08:58 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:08:58 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:08:58 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 14:08:59 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:08:59 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:08:59 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:08:59 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 14:08:59 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:08:59 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 14:08:59 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:08:59 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:08:59 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 14:08:59 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 14:08:59 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 14:08:59 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 14:08:59 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 14:08:59 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 14:08:59 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 14:09:00 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 14:09:00 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 14:09:00 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 14:09:00 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 14:09:00 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 14:09:00 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 14:09:00 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 14:09:00 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 14:09:01 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 14:09:01 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 14:09:01 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 14:09:01 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 14:09:01 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 14:09:01 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 14:09:01 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 14:09:01 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 14:09:01 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:09:01 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:09:01 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 14:09:01 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:09:02 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 14:09:02 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 14:09:02 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 14:09:02 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 14:09:02 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:09:02 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:09:02 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 14:09:02 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 14:09:03 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:09:03 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:09:03 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 14:09:03 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:09:03 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 14:09:03 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 14:09:03 [ 80%] Linking C static library libcbor.a 14:09:03 [ 80%] Built target cbor 14:09:03 Scanning dependencies of target create_items 14:09:03 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 14:09:04 [ 84%] Linking C executable create_items 14:09:04 [ 84%] Built target create_items 14:09:04 Scanning dependencies of target readfile 14:09:04 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 14:09:04 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:09:04 [ 88%] Linking C executable readfile 14:09:04 [ 88%] Built target readfile 14:09:04 Scanning dependencies of target streaming_parser 14:09:04 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 14:09:04 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:09:04 [ 74%] Linking C shared library libcsdk.so 14:09:04 [ 74%] Built target csdk 14:09:04 Scanning dependencies of target template 14:09:04 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:09:04 [ 92%] Linking C executable streaming_parser 14:09:04 [ 92%] Built target streaming_parser 14:09:04 [ 77%] Linking C executable template 14:09:04 [ 77%] Built target template 14:09:04 Scanning dependencies of target device-counter 14:09:04 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:09:04 [ 80%] Linking C executable device-counter 14:09:04 [ 80%] Built target device-counter 14:09:04 Scanning dependencies of target device-random 14:09:04 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:09:04 Scanning dependencies of target sort 14:09:04 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 14:09:04 [ 96%] Linking C executable sort 14:09:05 [ 84%] Linking C executable device-random 14:09:05 [ 84%] Built target device-random 14:09:05 Scanning dependencies of target device-gyro 14:09:05 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:09:05 [ 87%] Linking C executable device-gyro 14:09:05 [ 87%] Built target device-gyro 14:09:05 [ 96%] Built target sort 14:09:05 Scanning dependencies of target hello 14:09:05 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 14:09:05 [100%] Linking C executable hello 14:09:05 Scanning dependencies of target device-bitfields 14:09:05 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 14:09:05 [ 90%] Linking C executable device-bitfields 14:09:05 [ 90%] Built target device-bitfields 14:09:05 Scanning dependencies of target template-discovery 14:09:05 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:09:05 [ 93%] Linking C executable template-discovery 14:09:05 [100%] Built target hello 14:09:05 Install the project... 14:09:05 -- Install configuration: "Release" 14:09:05 -- Installing: /usr/local/include/cbor/configuration.h 14:09:05 -- Installing: /usr/local/lib64/libcbor.a 14:09:05 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 14:09:05 -- Installing: /usr/local/lib64/libcbor.so.0 14:09:05 -- Installing: /usr/local/lib64/libcbor.so 14:09:05 -- Up-to-date: /usr/local/include/cbor 14:09:05 -- Installing: /usr/local/include/cbor/streaming.h 14:09:05 -- Installing: /usr/local/include/cbor/ints.h 14:09:05 -- Installing: /usr/local/include/cbor/floats_ctrls.h 14:09:05 -- Installing: /usr/local/include/cbor/bytestrings.h 14:09:05 -- Installing: /usr/local/include/cbor/encoding.h 14:09:05 -- Installing: /usr/local/include/cbor/serialization.h 14:09:05 -- Installing: /usr/local/include/cbor/data.h 14:09:05 -- Installing: /usr/local/include/cbor/common.h 14:09:05 -- Installing: /usr/local/include/cbor/callbacks.h 14:09:05 -- Installing: /usr/local/include/cbor/strings.h 14:09:05 -- Installing: /usr/local/include/cbor/tags.h 14:09:05 -- Installing: /usr/local/include/cbor/internal 14:09:05 -- Installing: /usr/local/include/cbor/internal/encoders.h 14:09:05 -- Installing: /usr/local/include/cbor/internal/loaders.h 14:09:05 -- Installing: /usr/local/include/cbor/internal/stack.h 14:09:05 -- Installing: /usr/local/include/cbor/internal/unicode.h 14:09:05 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 14:09:05 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 14:09:05 -- Installing: /usr/local/include/cbor/arrays.h 14:09:05 -- Installing: /usr/local/include/cbor/maps.h 14:09:05 -- Installing: /usr/local/include/cbor.h 14:09:05 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 14:09:05 [ 93%] Built target template-discovery 14:09:05 Scanning dependencies of target device-file 14:09:05 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 14:09:05 [ 96%] Linking C executable device-file 14:09:05 [ 96%] Built target device-file 14:09:05 Scanning dependencies of target device-terminal 14:09:05 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:09:05 [100%] Linking C executable device-terminal 14:09:06 [100%] Built target device-terminal 14:09:06 Run CPack packaging tool... 14:09:06 CPack: Create package using TGZ 14:09:06 CPack: Install projects 14:09:06 CPack: - Run preinstall target for: Csdk 14:09:06 CPack: - Install project: Csdk 14:09:06 CPack: Create package 14:09:06 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 14:09:06 + '[' false '=' true ] 14:09:06 + '[' false '=' true ] 14:09:06 + mkdir -p /tmp/sdk/build/debug 14:09:06 + cd /tmp/sdk/build/debug 14:09:06 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 14:09:06 -- The C compiler identification is GNU 8.3.0 14:09:06 -- Check for working C compiler: /usr/bin/cc 14:09:06 -- Check for working C compiler: /usr/bin/cc -- works 14:09:06 -- Detecting C compiler ABI info 14:09:06 -- Detecting C compiler ABI info - done 14:09:06 -- Detecting C compile features 14:09:06 -- Detecting C compile features - done 14:09:06 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:09:06 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 14:09:06 -- Found LIBYAML: /usr/lib/libyaml.so 14:09:06 -- Found LIBUUID: /usr/lib/libuuid.so 14:09:06 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 14:09:06 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 14:09:06 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 14:09:06 -- C SDK 0.0.0 for Linux 14:09:06 -- Performing Test CSDK_HAVE_ATOMIC 14:09:06 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:09:06 -- Found Curses: /usr/lib/libcurses.so 14:09:06 -- Configuring done 14:09:06 -- Generating done 14:09:06 -- Build files have been written to: /tmp/sdk/build/debug 14:09:06 + make 14:09:06 + tee debug.log 14:09:06 Scanning dependencies of target csdk 14:09:06 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:09:06 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 14:09:06 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:09:07 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:09:07 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:09:07 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 14:09:07 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 14:09:07 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 14:09:07 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:09:07 Removing intermediate container f1252667057b 14:09:07 ---> 0edf0fd8d345 14:09:07 Step 8/25 : RUN mkdir /tmp/sdk 14:09:07 ---> Running in 283d4868970d 14:09:07 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:09:07 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:09:07 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:09:07 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:09:07 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:09:07 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 14:09:07 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:09:07 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:09:07 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 14:09:07 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 14:09:07 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 14:09:07 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 14:09:08 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 14:09:08 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 14:09:08 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 14:09:08 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 14:09:08 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 14:09:08 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 14:09:08 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 14:09:08 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 14:09:08 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 14:09:08 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 14:09:08 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 14:09:08 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 14:09:08 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:09:08 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:09:09 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 14:09:09 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:09:09 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:09:09 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:09:09 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 14:09:09 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:09:09 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:09:09 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:09:09 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 14:09:09 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:09:10 Removing intermediate container 283d4868970d 14:09:10 ---> a81ab4165037 14:09:10 Step 9/25 : COPY VERSION /tmp/sdk 14:09:10 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:09:10 [ 74%] Linking C shared library libcsdk.so 14:09:10 [ 74%] Built target csdk 14:09:10 Scanning dependencies of target template 14:09:10 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:09:10 [ 77%] Linking C executable template 14:09:10 [ 77%] Built target template 14:09:10 ---> 7c4daf82e613 14:09:10 Step 10/25 : COPY src /tmp/sdk/src 14:09:10 Scanning dependencies of target device-counter 14:09:10 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:09:10 [ 80%] Linking C executable device-counter 14:09:10 [ 80%] Built target device-counter 14:09:10 Scanning dependencies of target device-random 14:09:10 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:09:10 [ 84%] Linking C executable device-random 14:09:10 [ 84%] Built target device-random 14:09:10 Scanning dependencies of target device-gyro 14:09:10 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:09:10 [ 87%] Linking C executable device-gyro 14:09:10 [ 87%] Built target device-gyro 14:09:10 Scanning dependencies of target device-bitfields 14:09:10 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 14:09:10 [ 90%] Linking C executable device-bitfields 14:09:10 [ 90%] Built target device-bitfields 14:09:10 Scanning dependencies of target template-discovery 14:09:10 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:09:10 [ 93%] Linking C executable template-discovery 14:09:10 [ 93%] Built target template-discovery 14:09:10 Scanning dependencies of target device-file 14:09:10 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 14:09:10 [ 96%] Linking C executable device-file 14:09:10 [ 96%] Built target device-file 14:09:10 Scanning dependencies of target device-terminal 14:09:10 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:09:11 [100%] Linking C executable device-terminal 14:09:11 [100%] Built target device-terminal 14:09:11 make: Entering directory '/tmp/sdk/build/release' 14:09:11 make[1]: Entering directory '/tmp/sdk/build/release' 14:09:11 make[2]: Entering directory '/tmp/sdk/build/release' 14:09:11 make[2]: Leaving directory '/tmp/sdk/build/release' 14:09:11 [ 74%] Built target csdk 14:09:11 make[2]: Entering directory '/tmp/sdk/build/release' 14:09:11 make[2]: Leaving directory '/tmp/sdk/build/release' 14:09:11 [ 77%] Built target template 14:09:11 make[2]: Entering directory '/tmp/sdk/build/release' 14:09:11 make[2]: Leaving directory '/tmp/sdk/build/release' 14:09:11 [ 80%] Built target device-counter 14:09:11 make[2]: Entering directory '/tmp/sdk/build/release' 14:09:11 make[2]: Leaving directory '/tmp/sdk/build/release' 14:09:11 [ 84%] Built target device-random 14:09:11 make[2]: Entering directory '/tmp/sdk/build/release' 14:09:11 make[2]: Leaving directory '/tmp/sdk/build/release' 14:09:11 [ 87%] Built target device-gyro 14:09:11 make[2]: Entering directory '/tmp/sdk/build/release' 14:09:11 make[2]: Leaving directory '/tmp/sdk/build/release' 14:09:11 [ 90%] Built target device-bitfields 14:09:11 make[2]: Entering directory '/tmp/sdk/build/release' 14:09:11 make[2]: Leaving directory '/tmp/sdk/build/release' 14:09:11 [ 93%] Built target template-discovery 14:09:11 make[2]: Entering directory '/tmp/sdk/build/release' 14:09:11 make[2]: Leaving directory '/tmp/sdk/build/release' 14:09:11 [ 96%] Built target device-file 14:09:11 make[2]: Entering directory '/tmp/sdk/build/release' 14:09:11 make[2]: Leaving directory '/tmp/sdk/build/release' 14:09:11 [100%] Built target device-terminal 14:09:11 make[1]: Leaving directory '/tmp/sdk/build/release' 14:09:11 Install the project... 14:09:11 -- Install configuration: "Release" 14:09:11 -- Installing: /usr/local/lib/libcsdk.so 14:09:11 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 14:09:11 -- Up-to-date: /usr/local/include 14:09:11 -- Installing: /usr/local/include/devsdk 14:09:11 -- Installing: /usr/local/include/devsdk/devsdk-base.h 14:09:11 -- Installing: /usr/local/include/devsdk/devsdk.h 14:09:11 -- Installing: /usr/local/include/edgex 14:09:11 -- Installing: /usr/local/include/edgex/devices.h 14:09:11 -- Installing: /usr/local/include/edgex/edgex-base.h 14:09:11 -- Installing: /usr/local/include/edgex/edgex.h 14:09:11 -- Installing: /usr/local/include/edgex/profiles.h 14:09:11 -- Installing: /usr/local/include/edgex/rest-server.h 14:09:11 -- Installing: /usr/local/include/edgex/csdk-defs.h 14:09:11 -- Installing: /usr/local/include/iot 14:09:11 -- Installing: /usr/local/include/iot/base64.h 14:09:11 -- Installing: /usr/local/include/iot/component.h 14:09:11 -- Installing: /usr/local/include/iot/config.h 14:09:11 -- Installing: /usr/local/include/iot/container.h 14:09:11 -- Installing: /usr/local/include/iot/data.h 14:09:11 -- Installing: /usr/local/include/iot/hash.h 14:09:11 -- Installing: /usr/local/include/iot/iot.h 14:09:11 -- Installing: /usr/local/include/iot/json.h 14:09:11 -- Installing: /usr/local/include/iot/logger.h 14:09:11 -- Installing: /usr/local/include/iot/os.h 14:09:11 -- Installing: /usr/local/include/iot/scheduler.h 14:09:11 -- Installing: /usr/local/include/iot/thread.h 14:09:11 -- Installing: /usr/local/include/iot/threadpool.h 14:09:11 -- Installing: /usr/local/include/iot/time.h 14:09:11 -- Installing: /usr/local/include/iot/typecode.h 14:09:11 -- Installing: /usr/local/include/iot/os 14:09:11 -- Installing: /usr/local/include/iot/os/linux.h 14:09:11 -- Installing: /usr/local/include/iot/os/macos.h 14:09:11 -- Installing: /usr/local/include/iot/os/zephyr.h 14:09:11 -- Installing: /usr/local/include/iot/defs.h 14:09:11 -- Installing: /usr/local/share/device-sdk-c/LICENSE 14:09:11 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 14:09:11 make: Leaving directory '/tmp/sdk/build/release' 14:09:11 ---> 524b7220af16 14:09:11 Step 11/25 : COPY include /tmp/sdk/include 14:09:12 ---> 27d8c080c1e4 14:09:12 Step 12/25 : COPY scripts /tmp/sdk/scripts 14:09:12 ---> 6911030bbc36 14:09:12 Step 13/25 : COPY LICENSE /tmp/sdk 14:09:13 ---> 05518ed53bb0 14:09:13 Step 14/25 : COPY Attribution.txt /tmp/sdk 14:09:13 Removing intermediate container e30d9fa6002d 14:09:13 ---> be51fee98270 14:09:13 Step 16/25 : FROM ${BASE} 14:09:13 ---> 5eabd8fd8ba2 14:09:13 Step 17/25 : LABEL maintainer="IOTech " 14:09:13 ---> Running in 7fcc0bdcb12a 14:09:13 Removing intermediate container 7fcc0bdcb12a 14:09:13 ---> 468da13a5bb8 14:09:13 Step 18/25 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub 14:09:13 ---> Running in f376c4839f17 14:09:14 Connecting to iotech.jfrog.io (54.74.239.58:443) 14:09:14 ---> 1bab4ffd42ca 14:09:14 Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 14:09:14 ---> Running in 4227a4480536 14:09:14 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 14:09:14 14:09:15 Removing intermediate container f376c4839f17 14:09:15 ---> 8f08e9722a50 14:09:15 Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 14:09:15 ---> Running in f2b44f9a91b6 14:09:15 + CPPCHECK=false 14:09:15 + DOCGEN=false 14:09:15 + TOMLVER=SDK-0.2 14:09:15 + CUTILVER=1.1.4 14:09:15 + '[' 0 -gt 0 ] 14:09:15 + readlink -f ./scripts/build.sh 14:09:15 + dirname /tmp/sdk/scripts/build.sh 14:09:15 + dirname /tmp/sdk/scripts 14:09:15 + ROOT=/tmp/sdk 14:09:15 + cd /tmp/sdk 14:09:15 + '[' '!' -d deps ] 14:09:15 + mkdir deps 14:09:15 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 14:09:15 + tar -C deps -z -x -f - 14:09:15 --2021-06-11 14:09:15-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 14:09:15 Resolving github.com... 140.82.113.3 14:09:15 Connecting to github.com|140.82.113.3|:443... connected. 14:09:15 HTTP request sent, awaiting response... 302 Found 14:09:15 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 14:09:15 --2021-06-11 14:09:15-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 14:09:15 Resolving codeload.github.com... 140.82.113.10 14:09:15 Connecting to codeload.github.com|140.82.113.10|:443... connected. 14:09:15 HTTP request sent, awaiting response... 200 OK 14:09:15 Length: unspecified [application/x-gzip] 14:09:15 Saving to: 'STDOUT' 14:09:15  14:09:15 0K .......... ......  797K=0.02s 14:09:15 14:09:15 2021-06-11 14:09:15 (797 KB/s) - written to stdout [16451] 14:09:15 14:09:15 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 14:09:15 + + tarwget -C -O deps - -z https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz -x 14:09:15 -f - 14:09:15 --2021-06-11 14:09:15-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 14:09:16 Resolving github.com... 140.82.113.3 14:09:16 Connecting to github.com|140.82.113.3|:443... connected. 14:09:16 HTTP request sent, awaiting response... 302 Found 14:09:16 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] 14:09:16 --2021-06-11 14:09:16-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 14:09:16 Resolving codeload.github.com... 140.82.113.10 14:09:16 Connecting to codeload.github.com|140.82.113.10|:443... connected. 14:09:16 HTTP request sent, awaiting response... 200 OK 14:09:16 Length: 181796 (178K) [application/x-gzip] 14:09:16 Saving to: 'STDOUT' 14:09:16  14:09:16 0K .......... .......... .......... .......... .......... 28% 1.18M 0s 14:09:16 50K .......... .......... .......... .......... .......... 56% 2.56M 0s 14:09:16 Removing intermediate container f2b44f9a91b6 14:09:16 ---> 1f12c2b90a2f 14:09:16 Step 20/25 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid paho-mqtt-c-dev hiredis-dev 14:09:16 ---> Running in ab552b0e71d1 14:09:16 100K .......... .......... .......... .......... .......... 84% 4.45M 0s 14:09:16 150K .......... .......... .......       100% 2.37M=0.08s 14:09:16 14:09:16 2021-06-11 14:09:16 (2.10 MB/s) - written to stdout [181796/181796] 14:09:16 14:09:16 + mkdir -p src/c/iot 14:09:16 + cp deps/iotech-c-utils-1.1.4/src/c/base64.c deps/iotech-c-utils-1.1.4/src/c/component.c deps/iotech-c-utils-1.1.4/src/c/config.c deps/iotech-c-utils-1.1.4/src/c/container.c deps/iotech-c-utils-1.1.4/src/c/data.c deps/iotech-c-utils-1.1.4/src/c/hash.c deps/iotech-c-utils-1.1.4/src/c/iot.c deps/iotech-c-utils-1.1.4/src/c/json.c deps/iotech-c-utils-1.1.4/src/c/logger.c deps/iotech-c-utils-1.1.4/src/c/os.c deps/iotech-c-utils-1.1.4/src/c/scheduler.c deps/iotech-c-utils-1.1.4/src/c/thread.c deps/iotech-c-utils-1.1.4/src/c/threadpool.c deps/iotech-c-utils-1.1.4/src/c/time.c deps/iotech-c-utils-1.1.4/src/c/yxml.c src/c/iot 14:09:16 + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot 14:09:16 + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot 14:09:16 + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot 14:09:16 + mkdir -p include/iot 14:09:16 + cp deps/iotech-c-utils-1.1.4/include/iot/base64.h deps/iotech-c-utils-1.1.4/include/iot/component.h deps/iotech-c-utils-1.1.4/include/iot/config.h deps/iotech-c-utils-1.1.4/include/iot/container.h deps/iotech-c-utils-1.1.4/include/iot/data.h deps/iotech-c-utils-1.1.4/include/iot/hash.h deps/iotech-c-utils-1.1.4/include/iot/iot.h deps/iotech-c-utils-1.1.4/include/iot/json.h deps/iotech-c-utils-1.1.4/include/iot/logger.h deps/iotech-c-utils-1.1.4/include/iot/os.h deps/iotech-c-utils-1.1.4/include/iot/scheduler.h deps/iotech-c-utils-1.1.4/include/iot/thread.h deps/iotech-c-utils-1.1.4/include/iot/threadpool.h deps/iotech-c-utils-1.1.4/include/iot/time.h deps/iotech-c-utils-1.1.4/include/iot/typecode.h include/iot 14:09:16 + mkdir -p include/iot/os 14:09:16 + cp deps/iotech-c-utils-1.1.4/include/iot/os/linux.h deps/iotech-c-utils-1.1.4/include/iot/os/macos.h deps/iotech-c-utils-1.1.4/include/iot/os/zephyr.h include/iot/os 14:09:16 + mkdir -p /tmp/sdk/build/release 14:09:16 + cd /tmp/sdk/build/release 14:09:16 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 14:09:16 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 14:09:16 -- The C compiler identification is GNU 8.3.0 14:09:16 -- Check for working C compiler: /usr/bin/cc 14:09:17 -- Check for working C compiler: /usr/bin/cc -- works 14:09:17 -- Detecting C compiler ABI info 14:09:17 -- Detecting C compiler ABI info - done 14:09:17 -- Detecting C compile features 14:09:17 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 14:09:17 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 14:09:17 -- Detecting C compile features - done 14:09:17 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:09:17 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 14:09:17 -- Found LIBYAML: /usr/lib/libyaml.so 14:09:17 -- Found LIBUUID: /usr/lib/libuuid.so 14:09:17 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 14:09:17 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 14:09:17 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 14:09:17 -- C SDK 0.0.0 for Linux 14:09:18 (1/6) Installing curl (7.64.0-r5) 14:09:18 -- Performing Test CSDK_HAVE_ATOMIC 14:09:18 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:09:18 -- Found Curses: /usr/lib/libcurses.so 14:09:18 -- Configuring done 14:09:18 (2/6) Installing hiredis (0.14.0-r0) 14:09:18 (3/6) Installing hiredis-dev (0.14.0-r0) 14:09:18 (4/6) Installing libuuid (2.33-r0) 14:09:18 -- Generating done 14:09:18 -- Build files have been written to: /tmp/sdk/build/release 14:09:18 + make all+ package 14:09:18 tee release.log 14:09:18 Scanning dependencies of target csdk 14:09:18 (5/6) Installing paho-mqtt-c-dev (1.3.5-r0) 14:09:19 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:09:19 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 14:09:19 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:09:20 (6/6) Installing wget (1.20.3-r0) 14:09:20 Executing busybox-1.29.3-r10.trigger 14:09:20 OK: 269 MiB in 81 packages 14:09:21 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:09:22 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:09:22 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 14:09:23 Removing intermediate container ab552b0e71d1 14:09:23 ---> 096156aa1d52 14:09:23 Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 14:09:23 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 14:09:23 ---> ab5e86e59afc 14:09:23 Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 14:09:23 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 14:09:23 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:09:23 ---> 294c39af1148 14:09:23 Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib 14:09:24 ---> 3f6f1dddbbe8 14:09:24 Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 14:09:24 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:09:24 ---> 4e20a37dec40 14:09:24 Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 14:09:25 ---> 7a322164a7c4 14:09:25 Successfully built 7a322164a7c4 14:09:25 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:09:25 + docker inspect -f . ci-base-image-x86_64 14:09:25 . [Pipeline] withDockerContainer 14:09:25 prd-centos7-docker-4c-2g-517 does not seem to be running inside a container 14:09:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 14:09:26 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:09:26 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:09:26 $ docker top c75aa0da45c7bcf6b71005a7acb532be27662dc8a10cc52190809400b274df0a -eo pid,comm [Pipeline] { [Pipeline] sh 14:09:27 + make test 14:09:27 echo "make test" 14:09:27 make test [Pipeline] } 14:09:27 $ docker stop --time=1 c75aa0da45c7bcf6b71005a7acb532be27662dc8a10cc52190809400b274df0a 14:09:27 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:09:27 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:09:28 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 14:09:28 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:09:28 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:09:28 $ docker rm -f c75aa0da45c7bcf6b71005a7acb532be27662dc8a10cc52190809400b274df0a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 14:09:31 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 14:09:31 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [Pipeline] sh 14:09:31 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 14:09:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:09:32 + ls -al . 14:09:32 total 160 14:09:32 drwxrwxr-x. 8 jenkins jenkins 260 Jun 11 14:08 . 14:09:32 drwxrwxr-x. 4 jenkins jenkins 28 Jun 11 14:07 .. 14:09:32 -rw-rw-r--. 1 jenkins jenkins 3104 Jun 11 14:08 Attribution.txt 14:09:32 -rw-rw-r--. 1 jenkins jenkins 7509 Jun 11 14:08 CHANGES 14:09:32 drwxrwxr-x. 2 jenkins jenkins 121 Jun 11 14:08 docs 14:09:32 -rw-rw-r--. 1 jenkins jenkins 108574 Jun 11 14:08 Doxyfile 14:09:32 drwxrwxr-x. 8 jenkins jenkins 179 Jun 11 14:08 .git 14:09:32 drwxrwxr-x. 2 jenkins jenkins 81 Jun 11 14:08 .github 14:09:32 -rw-rw-r--. 1 jenkins jenkins 176 Jun 11 14:08 .gitignore 14:09:32 drwxrwxr-x. 4 jenkins jenkins 33 Jun 11 14:08 include 14:09:32 -rw-rw-r--. 1 jenkins jenkins 784 Jun 11 14:08 Jenkinsfile 14:09:32 -rw-rw-r--. 1 jenkins jenkins 10174 Jun 11 14:08 LICENSE 14:09:32 -rw-rw-r--. 1 jenkins jenkins 444 Jun 11 14:08 Makefile 14:09:32 -rw-rw-r--. 1 jenkins jenkins 4090 Jun 11 14:08 README.md 14:09:32 -rw-rw-r--. 1 jenkins jenkins 7090 Jun 11 14:08 README.v2.md 14:09:32 drwxrwxr-x. 2 jenkins jenkins 98 Jun 11 14:08 scripts 14:09:32 drwxrwxr-x. 4 jenkins jenkins 50 Jun 11 14:08 src 14:09:32 -rw-rw-r--. 1 jenkins jenkins 5 Jun 11 14:05 VERSION [Pipeline] isUnix [Pipeline] sh 14:09:32 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 14:09:32 + 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=97a945b5107cd91ca2ad7697b14131a8414a70a4 --label arch=amd64 --label version=0.0.0 . 14:09:32 Sending build context to Docker daemon 2.623MB 14:09:32 Step 1/17 : ARG BASE=alpine:3.12 14:09:32 Step 2/17 : FROM ${BASE} 14:09:32 ---> 7a322164a7c4 14:09:32 Step 3/17 : LABEL maintainer="IOTech " 14:09:32 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 14:09:33 ---> Running in 68311a3fc70e 14:09:33 Removing intermediate container 68311a3fc70e 14:09:33 ---> 046322bca766 14:09:33 Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub 14:09:33 ---> Running in 97b86161dd6e 14:09:33 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 14:09:33 --2021-06-11 14:09:33-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub 14:09:33 Resolving iotech.jfrog.io... 34.243.182.113, 54.74.239.58, 54.72.115.12 14:09:33 Connecting to iotech.jfrog.io|34.243.182.113|:443... connected. 14:09:34 HTTP request sent, awaiting response... 200 OK 14:09:34 Length: 451 [application/octet-stream] 14:09:34 Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 14:09:34  14:09:34 0K 100% 52.2M=0s 14:09:34 14:09:34 2021-06-11 14:09:33 (52.2 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] 14:09:34 14:09:34 Removing intermediate container 97b86161dd6e 14:09:34 ---> c58ac21582cc 14:09:34 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 14:09:34 ---> Running in 4ccdbfbe0f29 14:09:35 Removing intermediate container 4ccdbfbe0f29 14:09:35 ---> 03442525d794 14:09:35 Step 6/17 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev hiredis-dev && mkdir -p /edgex-c-sdk/build 14:09:35 ---> Running in 66bbc30c7c31 14:09:35 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 14:09:35 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 14:09:35 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 14:09:35 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 14:09:36 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 14:09:36 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 14:09:36 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 14:09:36 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 14:09:36 (2/6) Installing libblkid (2.33-r0) 14:09:37 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 14:09:37 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 14:09:37 (3/6) Installing libfdisk (2.33-r0) 14:09:37 (4/6) Installing libmount (2.33-r0) 14:09:38 (5/6) Installing libsmartcols (2.33-r0) 14:09:38 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 14:09:38 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 14:09:38 (6/6) Installing util-linux-dev (2.33-r0) 14:09:39 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 14:09:39 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 14:09:39 Executing busybox-1.29.3-r10.trigger 14:09:39 OK: 273 MiB in 87 packages 14:09:40 Removing intermediate container 66bbc30c7c31 14:09:40 ---> 12e502c9d50a 14:09:40 Step 7/17 : COPY VERSION /edgex-c-sdk/ 14:09:40 ---> ddc4a7bfee24 14:09:40 Step 8/17 : COPY src /edgex-c-sdk/src/ 14:09:41 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:09:41 ---> 4d68f2b919dd 14:09:41 Step 9/17 : COPY include /edgex-c-sdk/include/ 14:09:41 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:09:41 ---> 8c54cc287448 14:09:41 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 14:09:41 ---> be396753ce48 14:09:41 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 14:09:41 ---> 4635ddda3bc5 14:09:41 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 14:09:42 ---> 0fcf379a28c2 14:09:42 Step 13/17 : WORKDIR /edgex-c-sdk 14:09:42 ---> Running in 1139ec530228 14:09:42 Removing intermediate container 1139ec530228 14:09:42 ---> 22109c0696d9 14:09:42 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 14:09:42 ---> Running in 5cfb85125320 14:09:42 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 14:09:42 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:09:42 Removing intermediate container 5cfb85125320 14:09:42 ---> dab5432b79ba 14:09:42 Step 15/17 : LABEL arch=amd64 14:09:42 ---> Running in 4d03df93355c 14:09:43 Removing intermediate container 4d03df93355c 14:09:43 ---> 5b1b414d696a 14:09:43 Step 16/17 : LABEL git_sha=97a945b5107cd91ca2ad7697b14131a8414a70a4 14:09:43 ---> Running in 51e0ff944953 14:09:43 Removing intermediate container 51e0ff944953 14:09:43 ---> c39824f7edca 14:09:43 Step 17/17 : LABEL version=0.0.0 14:09:43 ---> Running in b895386590c9 14:09:43 Removing intermediate container b895386590c9 14:09:43 ---> 25f4c2749e85 14:09:43 [Warning] One or more build-args [ARCH MAKE] were not consumed 14:09:43 Successfully built 25f4c2749e85 14:09:43 Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 14:09:46 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:09:47 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:09:47 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 14:09:48 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:09:48 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:09:50 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:09:52 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 14:09:55 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:09:55 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:09:56 [ 74%] Linking C shared library libcsdk.so 14:09:56 [ 74%] Built target csdk 14:09:56 Scanning dependencies of target template 14:09:56 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:09:56 [ 77%] Linking C executable template 14:09:57 [ 77%] Built target template 14:09:57 Scanning dependencies of target device-counter 14:09:57 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:09:57 [ 80%] Linking C executable device-counter 14:09:58 [ 80%] Built target device-counter 14:09:58 Scanning dependencies of target device-random 14:09:58 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:09:58 [ 84%] Linking C executable device-random 14:09:58 [ 84%] Built target device-random 14:09:58 Scanning dependencies of target device-gyro 14:09:58 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:09:58 [ 87%] Linking C executable device-gyro 14:09:59 [ 87%] Built target device-gyro 14:09:59 Scanning dependencies of target device-bitfields 14:09:59 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 14:09:59 [ 90%] Linking C executable device-bitfields 14:10:00 [ 90%] Built target device-bitfields 14:10:00 Scanning dependencies of target template-discovery 14:10:00 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:10:00 [ 93%] Linking C executable template-discovery 14:10:00 [ 93%] Built target template-discovery 14:10:00 Scanning dependencies of target device-file 14:10:00 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 14:10:01 [ 96%] Linking C executable device-file 14:10:01 [ 96%] Built target device-file 14:10:01 Scanning dependencies of target device-terminal 14:10:01 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:10:02 [100%] Linking C executable device-terminal 14:10:02 [100%] Built target device-terminal 14:10:02 Run CPack packaging tool... 14:10:02 CPack: Create package using TGZ 14:10:02 CPack: Install projects 14:10:02 CPack: - Run preinstall target for: Csdk 14:10:03 CPack: - Install project: Csdk 14:10:03 CPack: Create package 14:10:03 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 14:10:03 + '[' false '=' true ] 14:10:03 + '[' false '=' true ] 14:10:03 + mkdir -p /tmp/sdk/build/debug 14:10:03 + cd /tmp/sdk/build/debug 14:10:03 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 14:10:03 -- The C compiler identification is GNU 8.3.0 14:10:03 -- Check for working C compiler: /usr/bin/cc 14:10:03 -- Check for working C compiler: /usr/bin/cc -- works 14:10:03 -- Detecting C compiler ABI info 14:10:04 -- Detecting C compiler ABI info - done 14:10:04 -- Detecting C compile features 14:10:05 -- Detecting C compile features - done 14:10:05 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:10:05 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 14:10:05 -- Found LIBYAML: /usr/lib/libyaml.so 14:10:05 -- Found LIBUUID: /usr/lib/libuuid.so 14:10:05 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 14:10:05 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 14:10:05 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 14:10:05 -- C SDK 0.0.0 for Linux 14:10:05 -- Performing Test CSDK_HAVE_ATOMIC 14:10:05 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:10:05 -- Found Curses: /usr/lib/libcurses.so 14:10:05 -- Configuring done 14:10:05 -- Generating done 14:10:05 -- Build files have been written to: /tmp/sdk/build/debug 14:10:05 + + teemake debug.log 14:10:05 14:10:05 Scanning dependencies of target csdk 14:10:05 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:10:06 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 14:10:06 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:10:07 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:10:07 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:10:07 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 14:10:07 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 14:10:08 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 14:10:08 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:10:08 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:10:09 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:10:09 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:10:09 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:10:10 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:10:10 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 14:10:10 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:10:10 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:10:11 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 14:10:11 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 14:10:11 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 14:10:12 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 14:10:12 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 14:10:12 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 14:10:13 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 14:10:13 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 14:10:13 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 14:10:13 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 14:10:14 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 14:10:14 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 14:10:14 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 14:10:14 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 14:10:15 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 14:10:15 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 14:10:15 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:10:15 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:10:16 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 14:10:16 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:10:17 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:10:17 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:10:18 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 14:10:18 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:10:18 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:10:19 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:10:20 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 14:10:20 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:10:21 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:10:21 [ 74%] Linking C shared library libcsdk.so 14:10:21 [ 74%] Built target csdk 14:10:21 Scanning dependencies of target template 14:10:21 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:10:21 [ 77%] Linking C executable template 14:10:22 [ 77%] Built target template 14:10:22 Scanning dependencies of target device-counter 14:10:22 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:10:22 [ 80%] Linking C executable device-counter 14:10:22 [ 80%] Built target device-counter 14:10:22 Scanning dependencies of target device-random 14:10:22 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:10:22 [ 84%] Linking C executable device-random 14:10:23 [ 84%] Built target device-random 14:10:23 Scanning dependencies of target device-gyro 14:10:23 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:10:23 [ 87%] Linking C executable device-gyro 14:10:23 [ 87%] Built target device-gyro 14:10:23 Scanning dependencies of target device-bitfields 14:10:23 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 14:10:24 [ 90%] Linking C executable device-bitfields 14:10:24 [ 90%] Built target device-bitfields 14:10:24 Scanning dependencies of target template-discovery 14:10:24 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:10:24 [ 93%] Linking C executable template-discovery 14:10:24 [ 93%] Built target template-discovery 14:10:24 Scanning dependencies of target device-file 14:10:24 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 14:10:25 [ 96%] Linking C executable device-file 14:10:25 [ 96%] Built target device-file 14:10:25 Scanning dependencies of target device-terminal 14:10:25 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:10:25 [100%] Linking C executable device-terminal 14:10:25 [100%] Built target device-terminal 14:10:25 make: Entering directory '/tmp/sdk/build/release' 14:10:25 make[1]: Entering directory '/tmp/sdk/build/release' 14:10:25 make[2]: Entering directory '/tmp/sdk/build/release' 14:10:25 make[2]: Leaving directory '/tmp/sdk/build/release' 14:10:25 [ 74%] Built target csdk 14:10:25 make[2]: Entering directory '/tmp/sdk/build/release' 14:10:25 make[2]: Leaving directory '/tmp/sdk/build/release' 14:10:25 [ 77%] Built target template 14:10:25 make[2]: Entering directory '/tmp/sdk/build/release' 14:10:25 make[2]: Leaving directory '/tmp/sdk/build/release' 14:10:25 [ 80%] Built target device-counter 14:10:26 make[2]: Entering directory '/tmp/sdk/build/release' 14:10:26 make[2]: Leaving directory '/tmp/sdk/build/release' 14:10:26 [ 84%] Built target device-random 14:10:26 make[2]: Entering directory '/tmp/sdk/build/release' 14:10:26 make[2]: Leaving directory '/tmp/sdk/build/release' 14:10:26 [ 87%] Built target device-gyro 14:10:26 make[2]: Entering directory '/tmp/sdk/build/release' 14:10:26 make[2]: Leaving directory '/tmp/sdk/build/release' 14:10:26 [ 90%] Built target device-bitfields 14:10:26 make[2]: Entering directory '/tmp/sdk/build/release' 14:10:26 make[2]: Leaving directory '/tmp/sdk/build/release' 14:10:26 [ 93%] Built target template-discovery 14:10:26 make[2]: Entering directory '/tmp/sdk/build/release' 14:10:26 make[2]: Leaving directory '/tmp/sdk/build/release' 14:10:26 [ 96%] Built target device-file 14:10:26 make[2]: Entering directory '/tmp/sdk/build/release' 14:10:26 make[2]: Leaving directory '/tmp/sdk/build/release' 14:10:26 [100%] Built target device-terminal 14:10:26 make[1]: Leaving directory '/tmp/sdk/build/release' 14:10:26 Install the project... 14:10:26 -- Install configuration: "Release" 14:10:26 -- Installing: /usr/local/lib/libcsdk.so 14:10:26 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 14:10:26 -- Up-to-date: /usr/local/include 14:10:26 -- Installing: /usr/local/include/edgex 14:10:26 -- Installing: /usr/local/include/edgex/rest-server.h 14:10:26 -- Installing: /usr/local/include/edgex/edgex-base.h 14:10:26 -- Installing: /usr/local/include/edgex/edgex.h 14:10:26 -- Installing: /usr/local/include/edgex/devices.h 14:10:26 -- Installing: /usr/local/include/edgex/profiles.h 14:10:26 -- Installing: /usr/local/include/edgex/csdk-defs.h 14:10:26 -- Installing: /usr/local/include/devsdk 14:10:26 -- Installing: /usr/local/include/devsdk/devsdk-base.h 14:10:26 -- Installing: /usr/local/include/devsdk/devsdk.h 14:10:26 -- Installing: /usr/local/include/iot 14:10:26 -- Installing: /usr/local/include/iot/json.h 14:10:26 -- Installing: /usr/local/include/iot/container.h 14:10:26 -- Installing: /usr/local/include/iot/component.h 14:10:26 -- Installing: /usr/local/include/iot/typecode.h 14:10:26 -- Installing: /usr/local/include/iot/iot.h 14:10:26 -- Installing: /usr/local/include/iot/time.h 14:10:26 -- Installing: /usr/local/include/iot/hash.h 14:10:26 -- Installing: /usr/local/include/iot/logger.h 14:10:26 -- Installing: /usr/local/include/iot/os 14:10:26 -- Installing: /usr/local/include/iot/os/zephyr.h 14:10:26 -- Installing: /usr/local/include/iot/os/linux.h 14:10:26 -- Installing: /usr/local/include/iot/os/macos.h 14:10:26 -- Installing: /usr/local/include/iot/scheduler.h 14:10:26 -- Installing: /usr/local/include/iot/data.h 14:10:26 -- Installing: /usr/local/include/iot/thread.h 14:10:26 -- Installing: /usr/local/include/iot/os.h 14:10:26 -- Installing: /usr/local/include/iot/base64.h 14:10:26 -- Installing: /usr/local/include/iot/defs.h 14:10:26 -- Installing: /usr/local/include/iot/threadpool.h 14:10:26 -- Installing: /usr/local/include/iot/config.h 14:10:26 -- Installing: /usr/local/share/device-sdk-c/LICENSE 14:10:26 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 14:10:26 make: Leaving directory '/tmp/sdk/build/release' 14:10:28 Removing intermediate container 4227a4480536 14:10:28 ---> 321ea5c441f5 14:10:28 Step 16/25 : FROM ${BASE} 14:10:28 ---> b23d30803547 14:10:28 Step 17/25 : LABEL maintainer="IOTech " 14:10:28 ---> Running in 6b001085835e 14:10:29 Removing intermediate container 6b001085835e 14:10:29 ---> 1be5f8702371 14:10:29 Step 18/25 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub 14:10:29 ---> Running in 127f33cfd811 14:10:30 Connecting to iotech.jfrog.io (34.243.182.113:443) 14:10:30 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 14:10:30 14:10:31 Removing intermediate container 127f33cfd811 14:10:31 ---> 6ba9d892baf5 14:10:31 Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 14:10:31 ---> Running in 3cff69c63a4c 14:10:34 Removing intermediate container 3cff69c63a4c 14:10:34 ---> fb4f90cb1e62 14:10:34 Step 20/25 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid paho-mqtt-c-dev hiredis-dev 14:10:34 ---> Running in 2e9d456597f7 14:10:35 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 14:10:36 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 14:10:36 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 14:10:36 (1/6) Installing curl (7.64.0-r5) 14:10:37 (2/6) Installing hiredis (0.14.0-r0) 14:10:37 (3/6) Installing hiredis-dev (0.14.0-r0) 14:10:37 (4/6) Installing libuuid (2.33-r0) 14:10:37 (5/6) Installing paho-mqtt-c-dev (1.3.5-r0) 14:10:38 (6/6) Installing wget (1.20.3-r0) 14:10:39 Executing busybox-1.29.3-r10.trigger 14:10:39 OK: 283 MiB in 81 packages 14:10:40 Removing intermediate container 2e9d456597f7 14:10:40 ---> 26ca8ff51ef0 14:10:40 Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 14:10:41 ---> 526084dda8f2 14:10:41 Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 14:10:42 ---> 1d07ee6e79dc 14:10:42 Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib 14:10:42 ---> e34222cedaa1 14:10:42 Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 14:10:43 ---> d4de5d073207 14:10:43 Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 14:10:44 ---> 5db27d6c2c7a 14:10:44 Successfully built 5db27d6c2c7a 14:10:44 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:10:45 + docker inspect -f . ci-base-image-arm64 14:10:45 . [Pipeline] withDockerContainer 14:10:45 prd-ubuntu18.04-docker-arm64-4c-16g-514 does not seem to be running inside a container 14:10:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 14:10:47 $ docker top e3ee56cf9146e59ee7bb16fb027455962c091cd20bd56594ec3e630b5e9afdae -eo pid,comm [Pipeline] { [Pipeline] sh 14:10:48 + make test 14:10:48 echo "make test" 14:10:48 make test [Pipeline] } 14:10:48 $ docker stop --time=1 e3ee56cf9146e59ee7bb16fb027455962c091cd20bd56594ec3e630b5e9afdae 14:10:50 $ docker rm -f e3ee56cf9146e59ee7bb16fb027455962c091cd20bd56594ec3e630b5e9afdae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:10:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:10:51 + ls -al . 14:10:51 total 192 14:10:51 drwxrwxr-x 8 jenkins jenkins 4096 Jun 11 14:07 . 14:10:51 drwxrwxr-x 4 jenkins jenkins 4096 Jun 11 14:07 .. 14:10:51 drwxrwxr-x 8 jenkins jenkins 4096 Jun 11 14:07 .git 14:10:51 drwxrwxr-x 2 jenkins jenkins 4096 Jun 11 14:07 .github 14:10:51 -rw-rw-r-- 1 jenkins jenkins 176 Jun 11 14:07 .gitignore 14:10:51 -rw-rw-r-- 1 jenkins jenkins 3104 Jun 11 14:07 Attribution.txt 14:10:51 -rw-rw-r-- 1 jenkins jenkins 7509 Jun 11 14:07 CHANGES 14:10:51 -rw-rw-r-- 1 jenkins jenkins 108574 Jun 11 14:07 Doxyfile 14:10:51 -rw-rw-r-- 1 jenkins jenkins 784 Jun 11 14:07 Jenkinsfile 14:10:51 -rw-rw-r-- 1 jenkins jenkins 10174 Jun 11 14:07 LICENSE 14:10:51 -rw-rw-r-- 1 jenkins jenkins 444 Jun 11 14:07 Makefile 14:10:51 -rw-rw-r-- 1 jenkins jenkins 4090 Jun 11 14:07 README.md 14:10:51 -rw-rw-r-- 1 jenkins jenkins 7090 Jun 11 14:07 README.v2.md 14:10:51 -rw-rw-r-- 1 jenkins jenkins 5 Jun 11 14:05 VERSION 14:10:51 drwxrwxr-x 2 jenkins jenkins 4096 Jun 11 14:07 docs 14:10:51 drwxrwxr-x 4 jenkins jenkins 4096 Jun 11 14:07 include 14:10:51 drwxrwxr-x 2 jenkins jenkins 4096 Jun 11 14:07 scripts 14:10:51 drwxrwxr-x 4 jenkins jenkins 4096 Jun 11 14:07 src [Pipeline] isUnix [Pipeline] sh 14:10:52 + 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=97a945b5107cd91ca2ad7697b14131a8414a70a4 --label arch=arm64 --label version=0.0.0 . 14:10:52 Sending build context to Docker daemon 2.622MB 14:10:52 Step 1/17 : ARG BASE=alpine:3.12 14:10:52 Step 2/17 : FROM ${BASE} 14:10:52 ---> 5db27d6c2c7a 14:10:52 Step 3/17 : LABEL maintainer="IOTech " 14:10:53 ---> Running in 56b67a8a329b 14:10:53 Removing intermediate container 56b67a8a329b 14:10:53 ---> 63862365315e 14:10:53 Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub 14:10:53 ---> Running in 8a4361b6fb89 14:10:54 --2021-06-11 14:10:54-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub 14:10:54 Resolving iotech.jfrog.io... 34.243.182.113, 54.72.115.12, 54.74.239.58 14:10:54 Connecting to iotech.jfrog.io|34.243.182.113|:443... connected. 14:10:55 HTTP request sent, awaiting response... 200 OK 14:10:55 Length: 451 [application/octet-stream] 14:10:55 Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 14:10:55 14:10:55 0K     100% 17.6M=0s 14:10:55 14:10:55 2021-06-11 14:10:55 (17.6 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] 14:10:55 14:10:56 Removing intermediate container 8a4361b6fb89 14:10:56 ---> 3705116f7649 14:10:56 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 14:10:56 ---> Running in b2adae8a29a3 14:10:58 Removing intermediate container b2adae8a29a3 14:10:58 ---> e7ff93ab7c43 14:10:58 Step 6/17 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev hiredis-dev && mkdir -p /edgex-c-sdk/build 14:10:58 ---> Running in 0f5472a15933 14:10:59 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 14:11:00 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 14:11:01 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 14:11:02 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 14:11:02 (2/6) Installing libblkid (2.33-r0) 14:11:02 (3/6) Installing libfdisk (2.33-r0) 14:11:02 (4/6) Installing libmount (2.33-r0) 14:11:02 (5/6) Installing libsmartcols (2.33-r0) 14:11:02 (6/6) Installing util-linux-dev (2.33-r0) 14:11:03 Executing busybox-1.29.3-r10.trigger 14:11:03 OK: 287 MiB in 87 packages 14:11:04 Removing intermediate container 0f5472a15933 14:11:04 ---> 6e67c85c8ab1 14:11:04 Step 7/17 : COPY VERSION /edgex-c-sdk/ 14:11:05 ---> 9e588d9bc479 14:11:05 Step 8/17 : COPY src /edgex-c-sdk/src/ 14:11:06 ---> 22fcddb7df40 14:11:06 Step 9/17 : COPY include /edgex-c-sdk/include/ 14:11:07 ---> ad303bc06016 14:11:07 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 14:11:08 ---> 35d8dd6344f5 14:11:08 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 14:11:08 ---> 9c7b48651f37 14:11:08 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 14:11:09 ---> 4e066a860d85 14:11:09 Step 13/17 : WORKDIR /edgex-c-sdk 14:11:09 ---> Running in a6fed4f48d00 14:11:10 Removing intermediate container a6fed4f48d00 14:11:10 ---> b74ef6779a94 14:11:10 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 14:11:10 ---> Running in 4a135656bddf 14:11:11 Removing intermediate container 4a135656bddf 14:11:11 ---> c89738f26f39 14:11:11 Step 15/17 : LABEL arch=arm64 14:11:11 ---> Running in 7d4bc435a573 14:11:11 Removing intermediate container 7d4bc435a573 14:11:11 ---> 382366eb6f4b 14:11:11 Step 16/17 : LABEL git_sha=97a945b5107cd91ca2ad7697b14131a8414a70a4 14:11:11 ---> Running in f3ee09258c8d 14:11:12 Removing intermediate container f3ee09258c8d 14:11:12 ---> 6140634e3c17 14:11:12 Step 17/17 : LABEL version=0.0.0 14:11:12 ---> Running in 34f11d37cfcf 14:11:13 Removing intermediate container 34f11d37cfcf 14:11:13 ---> 22df1b69d484 14:11:13 [Warning] One or more build-args [ARCH MAKE] were not consumed 14:11:13 Successfully built 22df1b69d484 14:11:13 Successfully tagged device-sdk-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 14:11:15 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:11:16 ---> package-listing.sh 14:11:16 ++ tr '[:upper:]' '[:lower:]' 14:11:16 ++ facter osfamily 14:11:16 + OS_FAMILY=redhat 14:11:16 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-351 14:11:16 + START_PACKAGES=/tmp/packages_start.txt 14:11:16 + END_PACKAGES=/tmp/packages_end.txt 14:11:16 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:11:16 + PACKAGES=/tmp/packages_start.txt 14:11:16 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-351 ']' 14:11:16 + PACKAGES=/tmp/packages_end.txt 14:11:16 + case "${OS_FAMILY}" in 14:11:16 + rpm -qa 14:11:16 + sort 14:11:17 + '[' -f /tmp/packages_start.txt ']' 14:11:17 + '[' -f /tmp/packages_end.txt ']' 14:11:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:11:17 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-351 ']' 14:11:17 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-351/archives/ 14:11:17 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-351/archives/ [Pipeline] echo 14:11:17 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-351/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 14:11:17 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 14:11:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:11:18 14:11:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 14:11:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:11:18 alpine: Pulling from edgex-lftools-log-publisher 14:11:18 df20fa9351a1: Pulling fs layer 14:11:18 36b3adc4ff6f: Pulling fs layer 14:11:18 8ad3a11d3b57: Pulling fs layer 14:11:18 46f8f816bc3b: Pulling fs layer 14:11:18 93b61091891f: Pulling fs layer 14:11:18 93b9cdb0e59b: Pulling fs layer 14:11:18 5e14af77c1be: Pulling fs layer 14:11:18 01666e4c0597: Pulling fs layer 14:11:18 aa168da1d23b: Pulling fs layer 14:11:18 46f8f816bc3b: Waiting 14:11:18 93b61091891f: Waiting 14:11:18 93b9cdb0e59b: Waiting 14:11:18 5e14af77c1be: Waiting 14:11:18 01666e4c0597: Waiting 14:11:18 aa168da1d23b: Waiting 14:11:18 36b3adc4ff6f: Verifying Checksum 14:11:18 36b3adc4ff6f: Download complete 14:11:18 46f8f816bc3b: Verifying Checksum 14:11:18 46f8f816bc3b: Download complete 14:11:18 df20fa9351a1: Verifying Checksum 14:11:18 df20fa9351a1: Download complete 14:11:18 93b9cdb0e59b: Verifying Checksum 14:11:18 93b9cdb0e59b: Download complete 14:11:18 93b61091891f: Verifying Checksum 14:11:18 93b61091891f: Download complete 14:11:18 5e14af77c1be: Verifying Checksum 14:11:18 5e14af77c1be: Download complete 14:11:18 01666e4c0597: Verifying Checksum 14:11:18 01666e4c0597: Download complete 14:11:18 df20fa9351a1: Pull complete 14:11:18 8ad3a11d3b57: Verifying Checksum 14:11:18 8ad3a11d3b57: Download complete 14:11:18 36b3adc4ff6f: Pull complete 14:11:19 8ad3a11d3b57: Pull complete 14:11:19 46f8f816bc3b: Pull complete 14:11:20 93b61091891f: Pull complete 14:11:20 93b9cdb0e59b: Pull complete 14:11:20 aa168da1d23b: Verifying Checksum 14:11:20 aa168da1d23b: Download complete 14:11:20 5e14af77c1be: Pull complete 14:11:20 01666e4c0597: Pull complete 14:11:25 aa168da1d23b: Pull complete 14:11:25 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 14:11:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:11:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 14:11:25 prd-centos7-docker-4c-2g-513 does not seem to be running inside a container 14:11:25 $ 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-351/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-351 -v /w/workspace/edgexfoundry_device-sdk-c_PR-351:/w/workspace/edgexfoundry_device-sdk-c_PR-351:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-351@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-351@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 14:11:37 $ docker top ea8763171cdf0ae32f9a7b6a42e4f117ef81d5909d5e737dc68ff98116974b55 -eo pid,comm [Pipeline] { [Pipeline] sh 14:11:37 + touch /tmp/pre-build-complete [Pipeline] sh 14:11:38 + mkdir -p /var/log/sa [Pipeline] sh 14:11:38 + ls /var/log/sa-host 14:11:38 + sadf -c /var/log/sa-host/sa05 14:11:38 file_magic: OK 14:11:38 HZ: Using current value: 100 14:11:38 file_header: OK 14:11:38 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 14:11:38 Statistics: 14:11:38 Hnuu...uuuununununu...Hnuu...uuuununununu... 14:11:38 File successfully converted to sysstat format version 12.2.1 14:11:38 + sadf -c /var/log/sa-host/sa11 14:11:38 file_magic: OK 14:11:38 HZ: Using current value: 100 14:11:38 file_header: OK 14:11:38 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 14:11:38 Statistics: 14:11:38 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 14:11:38 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:11:39 provisioning config files... 14:11:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-351@tmp/config3678413994949863700tmp [Pipeline] { [Pipeline] echo 14:11:39 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:11:39 ---> create-netrc.sh [Pipeline] } 14:11:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:11:40 ---> python-tools-install.sh [Pipeline] echo 14:11:40 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:11:40 ---> sudo-logs.sh 14:11:40 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 14:11:40 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:11:40 ---> job-cost.sh 14:11:40 lf-activate-venv: SKIPPING 14:11:40 INFO: No Stack... 14:11:41 INFO: Retrieving Pricing Info for: v3-standard-2 14:11:43 INFO: Archiving Costs [Pipeline] echo 14:11:43 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:11:43 ---> logs-deploy.sh 14:11:43 lf-activate-venv: SKIPPING 14:11:43 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-351/1 14:11:43 INFO: archiving workspace using pattern(s): 14:11:44 Archives upload complete. 14:11:44 INFO: archiving logs to Nexus 14:11:45 ---> uname -a: 14:11:45 Linux prd-centos7-docker-4c-2g-513.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux 14:11:45 14:11:45 14:11:45 ---> lscpu: 14:11:45 Architecture: x86_64 14:11:45 CPU op-mode(s): 32-bit, 64-bit 14:11:45 Byte Order: Little Endian 14:11:45 Address sizes: 40 bits physical, 48 bits virtual 14:11:45 CPU(s): 2 14:11:45 On-line CPU(s) list: 0,1 14:11:45 Thread(s) per core: 1 14:11:45 Core(s) per socket: 1 14:11:45 Socket(s): 2 14:11:45 NUMA node(s): 1 14:11:45 Vendor ID: AuthenticAMD 14:11:45 CPU family: 23 14:11:45 Model: 49 14:11:45 Model name: AMD EPYC-Rome Processor 14:11:45 Stepping: 0 14:11:45 CPU MHz: 2800.000 14:11:45 BogoMIPS: 5600.00 14:11:45 Virtualization: AMD-V 14:11:45 Hypervisor vendor: KVM 14:11:45 Virtualization type: full 14:11:45 L1d cache: 64 KiB 14:11:45 L1i cache: 64 KiB 14:11:45 L2 cache: 1 MiB 14:11:45 L3 cache: 32 MiB 14:11:45 NUMA node0 CPU(s): 0,1 14:11:45 Vulnerability Itlb multihit: Not affected 14:11:45 Vulnerability L1tf: Not affected 14:11:45 Vulnerability Mds: Not affected 14:11:45 Vulnerability Meltdown: Not affected 14:11:45 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 14:11:45 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 14:11:45 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 14:11:45 Vulnerability Srbds: Not affected 14:11:45 Vulnerability Tsx async abort: Not affected 14:11:45 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 arat npt nrip_save umip spec_ctrl intel_stibp 14:11:45 14:11:45 14:11:45 ---> nproc: 14:11:45 2 14:11:45 14:11:45 14:11:45 ---> df -h: 14:11:45 Filesystem Size Used Available Use% Mounted on 14:11:45 overlay 40.0G 7.6G 32.4G 19% / 14:11:45 tmpfs 64.0M 0 64.0M 0% /dev 14:11:45 tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup 14:11:45 shm 64.0M 0 64.0M 0% /dev/shm 14:11:45 /dev/vda1 40.0G 7.6G 32.4G 19% /facter-os 14:11:45 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/resolv.conf 14:11:45 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hostname 14:11:45 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hosts 14:11:45 /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/edgexfoundry_device-sdk-c_PR-351@tmp 14:11:45 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/sa-host 14:11:45 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/secure 14:11:45 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/auth.log 14:11:45 /dev/vda1 40.0G 7.6G 32.4G 19% /run/cloud-init/result.json 14:11:45 /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/edgexfoundry_device-sdk-c_PR-351 14:11:45 14:11:45 14:11:45 ---> free -m: 14:11:45 total used free shared buff/cache available 14:11:45 Mem: 7821 977 4746 0 2097 6666 14:11:45 Swap: 1023 0 1023 14:11:45 14:11:45 14:11:45 ---> ip addr: 14:11:45 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 14:11:45 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 14:11:45 inet 127.0.0.1/8 scope host lo 14:11:45 valid_lft forever preferred_lft forever 14:11:45 inet6 ::1/128 scope host 14:11:45 valid_lft forever preferred_lft forever 14:11:45 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 14:11:45 link/ether fa:16:3e:06:fc:2e brd ff:ff:ff:ff:ff:ff 14:11:45 inet 10.30.123.253/23 brd 10.30.123.255 scope global dynamic eth0 14:11:45 valid_lft 85960sec preferred_lft 85960sec 14:11:45 inet6 fe80::f816:3eff:fe06:fc2e/64 scope link 14:11:45 valid_lft forever preferred_lft forever 14:11:45 3: docker0: mtu 1500 qdisc noqueue state DOWN 14:11:45 link/ether 02:42:89:69:ba:1f brd ff:ff:ff:ff:ff:ff 14:11:45 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 14:11:45 valid_lft forever preferred_lft forever 14:11:45 inet6 fe80::42:89ff:fe69:ba1f/64 scope link 14:11:45 valid_lft forever preferred_lft forever 14:11:45 14:11:45 14:11:45 ---> sar -b -r -n DEV: 14:11:45 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/11/21 _x86_64_ (2 CPU) 14:11:45 14:11:45 14:04:12 LINUX RESTART (2 CPU) 14:11:45 14:11:45 14:05:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 14:11:45 14:06:01 85.61 3.56 82.05 0.00 2601.20 3753.55 0.00 14:11:45 14:07:01 0.63 0.00 0.63 0.00 0.00 11.43 0.00 14:11:45 14:08:01 0.35 0.00 0.35 0.00 0.00 5.55 0.00 14:11:45 14:09:01 0.17 0.00 0.17 0.00 0.00 1.62 0.00 14:11:45 14:10:01 0.17 0.00 0.17 0.00 0.00 2.48 0.00 14:11:45 14:11:01 0.35 0.00 0.35 0.00 0.00 4.95 0.00 14:11:45 Average: 14.55 0.59 13.95 0.00 433.57 629.98 0.00 14:11:45 14:11:45 14:05:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 14:11:45 14:06:01 5448492 0 817696 10.21 2620 1740132 1293336 14.28 587892 1572448 16 14:11:45 14:07:01 5459160 0 807020 10.08 2620 1740140 1208392 13.34 579148 1572412 8 14:11:45 14:08:01 5456636 0 809544 10.11 2620 1740140 1208788 13.35 585268 1568388 12 14:11:45 14:09:01 5455804 0 810368 10.12 2620 1740148 1208800 13.35 586504 1568388 20 14:11:45 14:10:01 5452868 0 813300 10.15 2620 1740152 1208812 13.35 585116 1572652 16 14:11:45 14:11:01 5453672 0 812492 10.14 2620 1740156 1208680 13.34 584264 1572656 8 14:11:45 Average: 5454439 0 811737 10.14 2620 1740145 1222801 13.50 584699 1571157 13 14:11:45 14:11:45 14:05:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 14:11:45 14:06:01 eth0 173.95 134.04 470.09 28.51 0.00 0.00 0.00 0.00 14:11:45 14:06:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:11:45 14:06:01 docker0 12.31 9.69 1.32 25.64 0.00 0.00 0.00 0.00 14:11:45 14:07:01 eth0 1.22 0.08 0.12 0.01 0.00 0.00 0.00 0.00 14:11:45 14:07:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:11:45 14:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:11:45 14:08:01 eth0 3.50 1.50 2.10 0.81 0.00 0.00 0.00 0.00 14:11:45 14:08:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:11:45 14:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:11:45 14:09:01 eth0 1.45 0.45 0.41 0.21 0.00 0.00 0.00 0.00 14:11:45 14:09:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:11:45 14:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:11:45 14:10:01 eth0 1.28 0.35 0.40 0.26 0.00 0.00 0.00 0.00 14:11:45 14:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:11:45 14:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:11:45 14:11:01 eth0 1.17 0.28 0.38 0.19 0.00 0.00 0.00 0.00 14:11:45 14:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:11:45 14:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:11:45 Average: eth0 30.43 22.79 78.92 5.00 0.00 0.00 0.00 0.00 14:11:45 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:11:45 Average: docker0 2.05 1.62 0.22 4.27 0.00 0.00 0.00 0.00 14:11:45 14:11:45 14:11:45 ---> sar -P ALL: 14:11:45 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/11/21 _x86_64_ (2 CPU) 14:11:45 14:11:45 14:04:12 LINUX RESTART (2 CPU) 14:11:45 14:11:45 14:05:01 CPU %user %nice %system %iowait %steal %idle 14:11:45 14:06:01 all 4.79 0.00 2.20 2.87 0.07 90.07 14:11:45 14:06:01 0 4.94 0.00 2.14 1.65 0.07 91.21 14:11:45 14:06:01 1 4.64 0.00 2.27 4.10 0.07 88.93 14:11:45 14:07:01 all 0.05 0.00 0.03 0.00 0.03 99.89 14:11:45 14:07:01 0 0.05 0.00 0.03 0.00 0.03 99.88 14:11:45 14:07:01 1 0.05 0.00 0.03 0.00 0.02 99.90 14:11:45 14:08:01 all 0.13 0.00 0.04 0.00 0.03 99.80 14:11:45 14:08:01 0 0.08 0.00 0.07 0.00 0.03 99.82 14:11:45 14:08:01 1 0.18 0.00 0.02 0.00 0.02 99.78 14:11:45 14:09:01 all 0.10 0.00 0.03 0.00 0.03 99.83 14:11:45 14:09:01 0 0.03 0.00 0.03 0.00 0.05 99.88 14:11:45 14:09:01 1 0.17 0.00 0.03 0.00 0.02 99.78 14:11:45 14:10:01 all 0.10 0.00 0.06 0.00 0.03 99.82 14:11:45 14:10:01 0 0.07 0.00 0.07 0.00 0.03 99.83 14:11:45 14:10:01 1 0.13 0.00 0.05 0.00 0.02 99.80 14:11:45 14:11:01 all 0.08 0.00 0.03 0.00 0.03 99.87 14:11:45 14:11:01 0 0.12 0.00 0.03 0.00 0.05 99.80 14:11:45 14:11:01 1 0.03 0.00 0.02 0.00 0.02 99.93 14:11:45 Average: all 0.87 0.00 0.40 0.47 0.03 98.23 14:11:45 Average: 0 0.87 0.00 0.39 0.27 0.04 98.42 14:11:45 Average: 1 0.86 0.00 0.40 0.68 0.03 98.04 14:11:45 14:11:45 14:11:45