Pull request #355 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 nil4git for edgexfoundry/device-sdk-c Loading trusted files from base branch master at c75449e85aa6c6239708e25f4301185f1aa5291c rather than 7fde05b815b6ee0a11d6dd3381f1b4551a697d5e Obtained Jenkinsfile from c75449e85aa6c6239708e25f4301185f1aa5291c 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-ssh5135470884663794103.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-ssh6837955020179548770.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-355/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-355/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh9210666714709413177.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-355/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3237256802311985622.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-ssh1100726664119131728.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 958cd7e315bbc9ba310183e4d590ee91b14940ee 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-355/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-355/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh899722189081136081.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 958cd7e315bbc9ba310183e4d590ee91b14940ee (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 958cd7e315bbc9ba310183e4d590ee91b14940ee # timeout=10 Commit message: "Fix: job-cost.sh no longer causes build failures" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1196 in /w/workspace/edgexfoundry_device-sdk-c_PR-355 [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-355 # 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-355@tmp/jenkins-gitclient-ssh1563188242074334936.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 c75449e85aa6c6239708e25f4301185f1aa5291c into PR head commit 7fde05b815b6ee0a11d6dd3381f1b4551a697d5e Merge succeeded, producing 7fde05b815b6ee0a11d6dd3381f1b4551a697d5e Checking out Revision 7fde05b815b6ee0a11d6dd3381f1b4551a697d5e (PR-355) > 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-355@tmp/jenkins-gitclient-ssh957349832661733785.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/355/head:refs/remotes/origin/PR-355 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7fde05b815b6ee0a11d6dd3381f1b4551a697d5e # 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-355@tmp/jenkins-gitclient-ssh1703462259550837075.key > git merge c75449e85aa6c6239708e25f4301185f1aa5291c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7fde05b815b6ee0a11d6dd3381f1b4551a697d5e # timeout=10 Commit message: "fix: Update discovery sample app configuration.toml" 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 10:57:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:57:27 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:57:27 ========================================================= 10:57:27 EdgeX Global Pipelines Version Info 10:57:27 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:57:29 ------------------- 10:57:29 stable info: 10:57:29 ------------------- 10:57:29 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:57:29 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 10:57:29 Message: update stable to v1.0.195 10:57:29 ------------------- 10:57:29 experimental info: 10:57:29 ------------------- 10:57:29 Commited By: **** collab-it+edgex@linuxfoundation.org 10:57:29 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 10:57:29 Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:57:30 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 10:57:30 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 10:57:30 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:57:30 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:57:30 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:57:30 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo 10:57:30 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 10:57:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 10:57:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:57:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 10:57:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:57:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:57:33 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:57:33 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 10:57:33 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:57:33 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:57:33 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:57:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-355 [Pipeline] echo 10:57:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-355 [Pipeline] echo 10:57:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-355 [Pipeline] echo 10:57:33 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7fde05b815b6ee0a11d6dd3381f1b4551a697d5e [Pipeline] echo 10:57:33 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7fde05b [Pipeline] echo 10:57:33 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:57:33 provisioning config files... 10:57:33 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-355@tmp/config1666167978752600204tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:57:34 ---> docker-login.sh 10:57:34 nexus3.edgexfoundry.org:10001 10:57:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:57:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:57:34 Configure a credential helper to remove this warning. See 10:57:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:57:34 10:57:34 Login Succeeded 10:57:34 nexus3.edgexfoundry.org:10002 10:57:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:57:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:57:34 Configure a credential helper to remove this warning. See 10:57:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:57:34 10:57:34 Login Succeeded 10:57:34 nexus3.edgexfoundry.org:10003 10:57:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:57:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:57:34 Configure a credential helper to remove this warning. See 10:57:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:57:34 10:57:34 Login Succeeded 10:57:34 nexus3.edgexfoundry.org:10004 10:57:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:57:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:57:34 Configure a credential helper to remove this warning. See 10:57:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:57:34 10:57:34 Login Succeeded 10:57:34 docker.io 10:57:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:57:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:57:35 Configure a credential helper to remove this warning. See 10:57:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:57:35 10:57:35 Login Succeeded 10:57:35 ---> docker-login.sh ends [Pipeline] } 10:57:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 10:57:36 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:57:36 10:57:36 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 10:57:36 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:57:36 latest: Pulling from edgex-devops/git-semver 10:57:36 31603596830f: Pulling fs layer 10:57:36 54011a49482f: Pulling fs layer 10:57:36 a6820b24f6d8: Pulling fs layer 10:57:36 f581987b2513: Pulling fs layer 10:57:36 f581987b2513: Waiting 10:57:36 54011a49482f: Verifying Checksum 10:57:36 54011a49482f: Download complete 10:57:36 31603596830f: Verifying Checksum 10:57:36 31603596830f: Download complete 10:57:36 a6820b24f6d8: Verifying Checksum 10:57:36 a6820b24f6d8: Download complete 10:57:36 f581987b2513: Verifying Checksum 10:57:36 f581987b2513: Download complete 10:57:37 31603596830f: Pull complete 10:57:37 54011a49482f: Pull complete 10:57:38 a6820b24f6d8: Pull complete 10:57:38 f581987b2513: Pull complete 10:57:38 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 10:57:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:57:38 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 10:57:38 prd-centos7-docker-4c-2g-1196 does not seem to be running inside a container 10:57:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-355 -v /w/workspace/edgexfoundry_device-sdk-c_PR-355:/w/workspace/edgexfoundry_device-sdk-c_PR-355:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-355@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-355@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 10:57:39 $ docker top fb520876d56722b23f12386e06f7912f4db3666e9724b56a540f824d6e8c8451 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:57:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:57:39 [ssh-agent] Looking for ssh-agent implementation... 10:57:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:57:40 $ docker exec fb520876d56722b23f12386e06f7912f4db3666e9724b56a540f824d6e8c8451 ssh-agent 10:57:40 SSH_AUTH_SOCK=/tmp/ssh-IHKwHZnF28c7/agent.14 10:57:40 SSH_AGENT_PID=20 10:57:40 Running ssh-add (command line suppressed) 10:57:40 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-355@tmp/private_key_545598233755077821.key (/w/workspace/edgexfoundry_device-sdk-c_PR-355@tmp/private_key_545598233755077821.key) 10:57:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:57:40 + git tag --points-at HEAD [Pipeline] } 10:57:40 $ docker exec --env ******** --env ******** fb520876d56722b23f12386e06f7912f4db3666e9724b56a540f824d6e8c8451 ssh-agent -k 10:57:40 unset SSH_AUTH_SOCK; 10:57:40 unset SSH_AGENT_PID; 10:57:40 echo Agent pid 20 killed; 10:57:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:57:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:57:40 [ssh-agent] Looking for ssh-agent implementation... 10:57:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:57:41 $ docker exec fb520876d56722b23f12386e06f7912f4db3666e9724b56a540f824d6e8c8451 ssh-agent 10:57:41 SSH_AUTH_SOCK=/tmp/ssh-DTdeWEflIIiM/agent.52 10:57:41 SSH_AGENT_PID=58 10:57:41 Running ssh-add (command line suppressed) 10:57:41 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-355@tmp/private_key_8422688885339044734.key (/w/workspace/edgexfoundry_device-sdk-c_PR-355@tmp/private_key_8422688885339044734.key) 10:57:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:57:41 + git semver init 10:57:41 # -> Open(): unable to determine branch for HEAD 10:57:41 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-355/.git 10:57:41 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-355 10:57:41 # $SEMVER_REMOTE_NAME = origin 10:57:41 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 10:57:41 # $SEMVER_USER_NAME = edgex-jenkins 10:57:41 # $SEMVER_BRANCH = PR-355 10:57:41 # $SEMVER_TEMP = /tmp/semver-512650708 10:57:41 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 10:57:42 # '/tmp/semver-512650708' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-355/.semver' 10:57:42 # -> Force: false 10:57:42 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-355/.semver [Pipeline] } 10:57:42 $ docker exec --env ******** --env ******** fb520876d56722b23f12386e06f7912f4db3666e9724b56a540f824d6e8c8451 ssh-agent -k 10:57:42 unset SSH_AUTH_SOCK; 10:57:42 unset SSH_AGENT_PID; 10:57:42 echo Agent pid 58 killed; 10:57:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:57:43 + git semver [Pipeline] } 10:57:43 $ docker stop --time=1 fb520876d56722b23f12386e06f7912f4db3666e9724b56a540f824d6e8c8451 10:57:44 $ docker rm -f fb520876d56722b23f12386e06f7912f4db3666e9724b56a540f824d6e8c8451 [Pipeline] // withDockerContainer [Pipeline] sh 10:57:45 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:57:45 Stashed 1 file(s) [Pipeline] echo 10:57:45 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 10:58:03 Still waiting to schedule task 10:58:03 Waiting for next available executor on ‘centos7-docker-4c-2g’ 10:58:03 Still waiting to schedule task 10:58:03 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-1195’ 11:00:59 Running on prd-centos7-docker-4c-2g-1198 in /w/workspace/edgexfoundry_device-sdk-c_PR-355 [Pipeline] { [Pipeline] ws 11:00:59 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 11:00:59 Selected Git installation does not exist. Using Default 11:00:59 The recommended git tool is: NONE 11:01:01 using credential edgex-jenkins-ssh 11:01:01 Cloning the remote Git repository 11:01:01 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 11:01:01 > git init /w/workspace/device-sdk-c/1 # timeout=10 11:01:01 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 11:01:01 > git --version # timeout=10 11:01:01 > git --version # 'git version 2.24.4' 11:01:01 using GIT_SSH to set credentials SSH Credentials for GitHub 11:01:01 [INFO] Currently running in a labeled security context 11:01:01 [INFO] Currently SELinux is 'enforcing' on the host 11:01:01 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh922347041082854142.key 11:01:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:01:03 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 11:01:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:01:05 Merging remotes/origin/master commit c75449e85aa6c6239708e25f4301185f1aa5291c into PR head commit 7fde05b815b6ee0a11d6dd3381f1b4551a697d5e 11:01:06 Merge succeeded, producing 7fde05b815b6ee0a11d6dd3381f1b4551a697d5e 11:01:06 Checking out Revision 7fde05b815b6ee0a11d6dd3381f1b4551a697d5e (PR-355) 11:01:05 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 11:01:05 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 11:01:05 using GIT_SSH to set credentials SSH Credentials for GitHub 11:01:05 [INFO] Currently running in a labeled security context 11:01:05 [INFO] Currently SELinux is 'enforcing' on the host 11:01:05 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh7015254727038546829.key 11:01:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/355/head:refs/remotes/origin/PR-355 +refs/heads/master:refs/remotes/origin/master # timeout=10 11:01:05 > git config core.sparsecheckout # timeout=10 11:01:05 > git checkout -f 7fde05b815b6ee0a11d6dd3381f1b4551a697d5e # timeout=10 11:01:06 > git remote # timeout=10 11:01:06 > git config --get remote.origin.url # timeout=10 11:01:06 using GIT_SSH to set credentials SSH Credentials for GitHub 11:01:06 [INFO] Currently running in a labeled security context 11:01:06 [INFO] Currently SELinux is 'enforcing' on the host 11:01:06 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh8310245682237261433.key 11:01:06 > git merge c75449e85aa6c6239708e25f4301185f1aa5291c # timeout=10 11:01:06 > git rev-parse HEAD^{commit} # timeout=10 11:01:06 > git config core.sparsecheckout # timeout=10 11:01:06 > git checkout -f 7fde05b815b6ee0a11d6dd3381f1b4551a697d5e # timeout=10 11:01:09 Commit message: "fix: Update discovery sample app configuration.toml" 11:01:09 > git --version # timeout=10 11:01:09 > git --version # 'git version 2.24.4' 11:01:09 fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:01:11 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 11:01:11 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 11:01:12 + true 11:01:12 + sudo service docker restart 11:01:12 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:01:30 provisioning config files... 11:01:30 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config3487785631101106364tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:01:30 ---> docker-login.sh 11:01:30 nexus3.edgexfoundry.org:10001 11:01:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:01:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:01:31 Configure a credential helper to remove this warning. See 11:01:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:01:31 11:01:31 Login Succeeded 11:01:31 nexus3.edgexfoundry.org:10002 11:01:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:01:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:01:31 Configure a credential helper to remove this warning. See 11:01:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:01:31 11:01:31 Login Succeeded 11:01:31 nexus3.edgexfoundry.org:10003 11:01:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:01:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:01:31 Configure a credential helper to remove this warning. See 11:01:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:01:31 11:01:31 Login Succeeded 11:01:31 nexus3.edgexfoundry.org:10004 11:01:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:01:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:01:31 Configure a credential helper to remove this warning. See 11:01:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:01:31 11:01:31 Login Succeeded 11:01:31 docker.io 11:01:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:01:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:01:32 Configure a credential helper to remove this warning. See 11:01:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:01:32 11:01:32 Login Succeeded 11:01:32 ---> docker-login.sh ends [Pipeline] } 11:01:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:01:32 ========================================================= 11:01:32 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 11:01:32 ========================================================= [Pipeline] isUnix [Pipeline] sh 11:01:32 + 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 . 11:01:32 Sending build context to Docker daemon 2.628MB 11:01:32 Step 1/25 : ARG BASE=alpine:3.12 11:01:32 Step 2/25 : FROM ${BASE} as builder 11:01:33 latest: Pulling from edgex-devops/edgex-gcc-base 11:01:33 e7c96db7181b: Pulling fs layer 11:01:33 4c13bbce0fe7: Pulling fs layer 11:01:33 6059c847ac2f: Pulling fs layer 11:01:33 4c13bbce0fe7: Verifying Checksum 11:01:33 4c13bbce0fe7: Download complete 11:01:33 e7c96db7181b: Verifying Checksum 11:01:33 e7c96db7181b: Download complete 11:01:33 e7c96db7181b: Pull complete 11:01:33 4c13bbce0fe7: Pull complete 11:01:34 6059c847ac2f: Verifying Checksum 11:01:34 6059c847ac2f: Download complete 11:01:37 6059c847ac2f: Pull complete 11:01:37 Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e 11:01:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 11:01:37 ---> 5eabd8fd8ba2 11:01:37 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 11:01:39 ---> Running in 5604740ef8ee 11:01:39 Connecting to iotech.jfrog.io (54.195.244.87:443) 11:01:39 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 11:01:39 11:01:39 Removing intermediate container 5604740ef8ee 11:01:39 ---> 68ebc475e7d7 11:01:39 Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 11:01:40 ---> Running in 80f436c0ca99 11:01:42 Removing intermediate container 80f436c0ca99 11:01:42 ---> b7b74055a214 11:01: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 11:01:42 ---> Running in b4022114ef91 11:01:42 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 11:01:42 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 11:01:42 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 11:01:42 (1/11) Installing hiredis (0.14.0-r0) 11:01:42 (2/11) Installing hiredis-dev (0.14.0-r0) 11:01:42 (3/11) Installing ncurses-dev (6.1_p20190105-r0) 11:01:42 (4/11) Installing paho-mqtt-c-dev (1.3.5-r0) 11:01:44 (5/11) Installing libuuid (2.33-r0) 11:01:44 (6/11) Installing libblkid (2.33-r0) 11:01:44 (7/11) Installing libfdisk (2.33-r0) 11:01:44 (8/11) Installing libmount (2.33-r0) 11:01:44 (9/11) Installing libsmartcols (2.33-r0) 11:01:44 (10/11) Installing util-linux-dev (2.33-r0) 11:01:44 (11/11) Installing wget (1.20.3-r0) 11:01:44 Executing busybox-1.29.3-r10.trigger 11:01:44 OK: 273 MiB in 86 packages 11:01:45 Removing intermediate container b4022114ef91 11:01:45 ---> 3378712e5c71 11:01:45 Step 6/25 : ENV CBOR_VERSION=0.5.0 11:01:45 ---> Running in 58da25f2f417 11:01:45 Removing intermediate container 58da25f2f417 11:01:45 ---> 7c0a2b123624 11:01:45 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 11:01:45 ---> Running in fd2f8657c98b 11:01:45 --2021-07-01 11:01:45-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 11:01:45 Resolving github.com... 140.82.112.4 11:01:45 Connecting to github.com|140.82.112.4|:443... connected. 11:01:46 HTTP request sent, awaiting response... 302 Found 11:01:46 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 11:01:46 --2021-07-01 11:01:45-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 11:01:46 Resolving codeload.github.com... 140.82.114.9 11:01:46 Connecting to codeload.github.com|140.82.114.9|:443... connected. 11:01:46 HTTP request sent, awaiting response... 200 OK 11:01:46 Length: unspecified [application/x-gzip] 11:01:46 Saving to: 'STDOUT' 11:01:46 11:01:46 0K .......... .......... .......... .......... .......... 1.50M 11:01:46 50K .......... .......... .......... .......... .......... 3.17M 11:01:46 100K .......... .......... .......... .......... .......... 43.1M 11:01:46 150K .......... .......... .......... .......... .......... 3.36M 11:01:46 200K .......... .......... .......... .......... .......... 50.0M 11:01:46 250K .......... .......... .......... .......... .......... 5.51M 11:01:46 300K .......... .......... .......... .......... .......... 13.2M 11:01:46 350K .......... .......... .......... .......... .......... 13.0M 11:01:46 400K .......... .......... .......... .......... .......... 8.69M 11:01:46 450K .......... .......... .......... .......... .......... 11.5M 11:01:46 500K .......... .......... .......... .......... .......... 23.3M 11:01:46 550K .......... .......... .......... .......... .......... 7.22M 11:01:46 600K .......... .......... .......... .......... .......... 4.98M 11:01:46 650K .......... .......... .......... .......... .......... 7.11M 11:01:46 700K .. 70.4M=0.1s 11:01:46 11:01:46 2021-07-01 11:01:46 (5.90 MB/s) - written to stdout [719348] 11:01:46 11:01:46 -- The C compiler identification is GNU 8.3.0 11:01:46 -- The CXX compiler identification is GNU 8.3.0 11:01:46 -- Check for working C compiler: /usr/bin/cc 11:01:46 -- Check for working C compiler: /usr/bin/cc -- works 11:01:46 -- Detecting C compiler ABI info 11:01:46 -- Detecting C compiler ABI info - done 11:01:46 -- Detecting C compile features 11:01:46 -- Detecting C compile features - done 11:01:46 -- Check for working CXX compiler: /usr/bin/c++ 11:01:46 -- Check for working CXX compiler: /usr/bin/c++ -- works 11:01:46 -- Detecting CXX compiler ABI info 11:01:46 -- Detecting CXX compiler ABI info - done 11:01:46 -- Detecting CXX compile features 11:01:47 -- Detecting CXX compile features - done 11:01:47 -- Looking for include file endian.h 11:01:47 -- Looking for include file endian.h - found 11:01:47 -- Check if the system is big endian 11:01:47 -- Searching 16 bit integer 11:01:47 -- Looking for sys/types.h 11:01:47 -- Looking for sys/types.h - found 11:01:47 -- Looking for stdint.h 11:01:47 -- Looking for stdint.h - found 11:01:47 -- Looking for stddef.h 11:01:47 -- Looking for stddef.h - found 11:01:47 -- Check size of unsigned short 11:01:47 -- Check size of unsigned short - done 11:01:47 -- Using unsigned short 11:01:47 -- Check if the system is big endian - little endian 11:01:47 -- Check size of size_t 11:01:47 -- Check size of size_t - done 11:01:47 CMake Warning at examples/CMakeLists.txt:16 (find_package): 11:01:47 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 11:01:47 asked CMake to find a package configuration file provided by "cJSON", but 11:01:47 CMake did not find one. 11:01:47 11:01:47 Could not find a package configuration file provided by "cJSON" with any of 11:01:47 the following names: 11:01:47 11:01:47 cJSONConfig.cmake 11:01:47 cjson-config.cmake 11:01:47 11:01:47 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 11:01:47 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 11:01:47 provides a separate development package or SDK, be sure it has been 11:01:47 installed. 11:01:47 11:01:47 11:01:47 -- Configuring done 11:01:47 -- Generating done 11:01:47 -- Build files have been written to: /tmp/cbor 11:01:47 Scanning dependencies of target cbor_shared 11:01:47 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 11:01:47 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1197 in /w/workspace/edgexfoundry_device-sdk-c_PR-355 [Pipeline] { [Pipeline] ws 11:01:47 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 11:01:47 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 11:01:47 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 11:01:48 Selected Git installation does not exist. Using Default 11:01:48 The recommended git tool is: NONE 11:01:48 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 11:01:48 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 11:01:48 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 11:01:48 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 11:01:48 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 11:01:48 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 11:01:48 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 11:01:48 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 11:01:48 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 11:01:48 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 11:01:48 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 11:01:48 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 11:01:49 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 11:01:49 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 11:01:49 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 11:01:49 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 11:01:49 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 11:01:49 [ 40%] Linking C shared library libcbor.so 11:01:49 [ 40%] Built target cbor_shared 11:01:49 Scanning dependencies of target cbor 11:01:49 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 11:01:49 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 11:01:49 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 11:01:49 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 11:01:49 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 11:01:49 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 11:01:49 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 11:01:49 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 11:01:49 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 11:01:50 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 11:01:50 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 11:01:50 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 11:01:50 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 11:01:50 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 11:01:50 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 11:01:50 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 11:01:50 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 11:01:50 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 11:01:50 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 11:01:50 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 11:01:50 [ 80%] Linking C static library libcbor.a 11:01:50 [ 80%] Built target cbor 11:01:50 Scanning dependencies of target create_items 11:01:50 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 11:01:50 [ 84%] Linking C executable create_items 11:01:50 [ 84%] Built target create_items 11:01:50 Scanning dependencies of target readfile 11:01:50 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 11:01:50 [ 88%] Linking C executable readfile 11:01:50 [ 88%] Built target readfile 11:01:50 Scanning dependencies of target streaming_parser 11:01:50 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 11:01:50 [ 92%] Linking C executable streaming_parser 11:01:50 [ 92%] Built target streaming_parser 11:01:50 Scanning dependencies of target sort 11:01:50 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 11:01:51 [ 96%] Linking C executable sort 11:01:51 [ 96%] Built target sort 11:01:51 Scanning dependencies of target hello 11:01:51 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 11:01:51 [100%] Linking C executable hello 11:01:51 [100%] Built target hello 11:01:51 Install the project... 11:01:51 -- Install configuration: "Release" 11:01:51 -- Installing: /usr/local/include/cbor/configuration.h 11:01:51 -- Installing: /usr/local/lib64/libcbor.a 11:01:51 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 11:01:51 -- Installing: /usr/local/lib64/libcbor.so.0 11:01:51 -- Installing: /usr/local/lib64/libcbor.so 11:01:51 -- Up-to-date: /usr/local/include/cbor 11:01:51 -- Installing: /usr/local/include/cbor/arrays.h 11:01:51 -- Installing: /usr/local/include/cbor/bytestrings.h 11:01:51 -- Installing: /usr/local/include/cbor/callbacks.h 11:01:51 -- Installing: /usr/local/include/cbor/common.h 11:01:51 -- Installing: /usr/local/include/cbor/data.h 11:01:51 -- Installing: /usr/local/include/cbor/encoding.h 11:01:51 -- Installing: /usr/local/include/cbor/floats_ctrls.h 11:01:51 -- Installing: /usr/local/include/cbor/internal 11:01:51 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 11:01:51 -- Installing: /usr/local/include/cbor/internal/encoders.h 11:01:51 -- Installing: /usr/local/include/cbor/internal/loaders.h 11:01:51 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 11:01:51 -- Installing: /usr/local/include/cbor/internal/stack.h 11:01:51 -- Installing: /usr/local/include/cbor/internal/unicode.h 11:01:51 -- Installing: /usr/local/include/cbor/ints.h 11:01:51 -- Installing: /usr/local/include/cbor/maps.h 11:01:51 -- Installing: /usr/local/include/cbor/serialization.h 11:01:51 -- Installing: /usr/local/include/cbor/streaming.h 11:01:51 -- Installing: /usr/local/include/cbor/strings.h 11:01:51 -- Installing: /usr/local/include/cbor/tags.h 11:01:51 -- Installing: /usr/local/include/cbor.h 11:01:51 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 11:01:51 Removing intermediate container fd2f8657c98b 11:01:51 ---> 4ef9178bbb03 11:01:51 Step 8/25 : RUN mkdir /tmp/sdk 11:01:51 ---> Running in d5efdb54125f 11:01:54 Removing intermediate container d5efdb54125f 11:01:54 ---> 8f5679d301bf 11:01:54 Step 9/25 : COPY VERSION /tmp/sdk 11:01:54 ---> 1a6340fe04ca 11:01:54 Step 10/25 : COPY src /tmp/sdk/src 11:01:54 ---> 164c55a75843 11:01:54 Step 11/25 : COPY include /tmp/sdk/include 11:01:54 ---> 4e0ba2dc2a2d 11:01:54 Step 12/25 : COPY scripts /tmp/sdk/scripts 11:01:54 ---> 5d342a0a60e5 11:01:54 Step 13/25 : COPY LICENSE /tmp/sdk 11:01:54 ---> 02967712303e 11:01:54 Step 14/25 : COPY Attribution.txt /tmp/sdk 11:01:54 ---> 54d3f3373608 11:01:54 Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 11:01:54 ---> Running in 74c60e6a071a 11:01:54 + CPPCHECK=false 11:01:54 + DOCGEN=false 11:01:54 + TOMLVER=SDK-0.2 11:01:54 + CUTILVER=1.1.4 11:01:54 + '[' 0 -gt 0 ] 11:01:54 + readlink -f ./scripts/build.sh 11:01:54 + dirname /tmp/sdk/scripts/build.sh 11:01:54 + dirname /tmp/sdk/scripts 11:01:54 + ROOT=/tmp/sdk 11:01:54 + cd /tmp/sdk 11:01:54 + '[' '!' -d deps ] 11:01:54 + mkdir deps 11:01:54 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 11:01:54 + tar -C deps -z -x -f - 11:01:54 --2021-07-01 11:01:53-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 11:01:54 Resolving github.com... 140.82.112.4 11:01:54 Connecting to github.com|140.82.112.4|:443... connected. 11:01:54 HTTP request sent, awaiting response... 302 Found 11:01:54 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 11:01:54 --2021-07-01 11:01:53-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 11:01:54 Resolving codeload.github.com... 140.82.114.9 11:01:54 Connecting to codeload.github.com|140.82.114.9|:443... connected. 11:01:54 HTTP request sent, awaiting response... 200 OK 11:01:54 Length: 16451 (16K) [application/x-gzip] 11:01:54 Saving to: 'STDOUT' 11:01:54  11:01:54 0K .......... ...... 100% 1.01M=0.02s 11:01:54 11:01:54 2021-07-01 11:01:53 (1.01 MB/s) - written to stdout [16451/16451] 11:01:54 11:01:54 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 11:01:54 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 11:01:54 + tar -C deps -z -x -f - 11:01:54 --2021-07-01 11:01:53-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 11:01:54 Resolving github.com... 140.82.112.4 11:01:54 Connecting to github.com|140.82.112.4|:443... connected. 11:01:54 HTTP request sent, awaiting response... 302 Found 11:01:54 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] 11:01:54 --2021-07-01 11:01:54-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 11:01:54 Resolving codeload.github.com... 140.82.114.9 11:01:54 Connecting to codeload.github.com|140.82.114.9|:443... connected. 11:01:54 HTTP request sent, awaiting response... 200 OK 11:01:54 Length: unspecified [application/x-gzip] 11:01:54 Saving to: 'STDOUT' 11:01:54 11:01:54 0K .......... .......... .......... .......... .......... 1.54M 11:01:54 50K .......... .......... .......... .......... .......... 3.11M 11:01:54 100K .......... .......... .......... .......... .......... 24.0M 11:01:54 150K .......... .......... ....... 5.38M=0.05s 11:01:54 11:01:54 2021-07-01 11:01:54 (3.18 MB/s) - written to stdout [181796] 11:01:54 11:01:54 + mkdir -p src/c/iot 11:01:54 + 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 11:01:54 + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot 11:01:54 + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot 11:01:54 + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot 11:01:54 + mkdir -p include/iot 11:01:54 + 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 11:01:54 + mkdir -p include/iot/os 11:01:54 + 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 11:01:54 + mkdir -p /tmp/sdk/build/release 11:01:54 + cd /tmp/sdk/build/release 11:01:54 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 11:01:54 -- The C compiler identification is GNU 8.3.0 11:01:54 -- Check for working C compiler: /usr/bin/cc 11:01:54 -- Check for working C compiler: /usr/bin/cc -- works 11:01:54 -- Detecting C compiler ABI info 11:01:54 -- Detecting C compiler ABI info - done 11:01:54 -- Detecting C compile features 11:01:54 -- Detecting C compile features - done 11:01:54 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 11:01:54 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 11:01:54 -- Found LIBYAML: /usr/lib/libyaml.so 11:01:54 -- Found LIBUUID: /usr/lib/libuuid.so 11:01:54 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 11:01:54 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 11:01:54 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 11:01:54 -- C SDK 0.0.0 for Linux 11:01:54 -- Performing Test CSDK_HAVE_ATOMIC 11:01:54 -- Performing Test CSDK_HAVE_ATOMIC - Success 11:01:54 -- Found Curses: /usr/lib/libcurses.so 11:01:55 -- Configuring done 11:01:55 -- Generating done 11:01:55 -- Build files have been written to: /tmp/sdk/build/release 11:01:55 + tee release.log 11:01:55 + make all package 11:01:55 Scanning dependencies of target csdk 11:01:55 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 11:01:55 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 11:01:55 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 11:01:55 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 11:01:55 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 11:01:55 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 11:01:55 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 11:01:55 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 11:01:55 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 11:01:56 using credential edgex-jenkins-ssh 11:01:56 Cloning the remote Git repository 11:01:56 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 11:01:56 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 11:01:56 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 11:01:56 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 11:01:56 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 11:01:56 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 11:01:56 > git init /w/workspace/device-sdk-c/1 # timeout=10 11:01:56 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 11:01:56 > git --version # timeout=10 11:01:56 > git --version # 'git version 2.17.1' 11:01:56 using GIT_SSH to set credentials SSH Credentials for GitHub 11:01:56 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:01:56 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 11:01:56 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 11:01:56 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 11:01:57 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 11:01:57 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 11:01:57 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 11:01:57 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 11:01:57 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 11:01:57 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 11:01:57 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 11:01:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:01:57 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 11:01:57 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 11:01:57 using GIT_SSH to set credentials SSH Credentials for GitHub 11:01:57 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/355/head:refs/remotes/origin/PR-355 +refs/heads/master:refs/remotes/origin/master # timeout=10 11:01:58 Merging remotes/origin/master commit c75449e85aa6c6239708e25f4301185f1aa5291c into PR head commit 7fde05b815b6ee0a11d6dd3381f1b4551a697d5e 11:01:58 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 11:01:58 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 11:01:58 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 11:01:58 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 11:01:58 Merge succeeded, producing 7fde05b815b6ee0a11d6dd3381f1b4551a697d5e 11:01:58 Checking out Revision 7fde05b815b6ee0a11d6dd3381f1b4551a697d5e (PR-355) 11:01:58 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 11:01:58 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 11:01:58 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 11:01:58 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 11:01:58 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 11:01:58 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 11:01:59 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 11:01:59 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 11:01:59 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 11:01:59 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 11:01:58 > git config core.sparsecheckout # timeout=10 11:01:58 > git checkout -f 7fde05b815b6ee0a11d6dd3381f1b4551a697d5e # timeout=10 11:01:58 > git remote # timeout=10 11:01:58 > git config --get remote.origin.url # timeout=10 11:01:58 using GIT_SSH to set credentials SSH Credentials for GitHub 11:01:58 > git merge c75449e85aa6c6239708e25f4301185f1aa5291c # timeout=10 11:01:58 > git rev-parse HEAD^{commit} # timeout=10 11:01:58 > git config core.sparsecheckout # timeout=10 11:01:58 > git checkout -f 7fde05b815b6ee0a11d6dd3381f1b4551a697d5e # timeout=10 11:02:00 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 11:02:00 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 11:02:00 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 11:02:00 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 11:02:00 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 11:02:01 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 11:02:01 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 11:02:01 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 11:02:02 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 11:02:02 [ 74%] Linking C shared library libcsdk.so 11:02:02 [ 74%] Built target csdk 11:02:02 Scanning dependencies of target template 11:02:02 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 11:02:02 [ 77%] Linking C executable template 11:02:02 [ 77%] Built target template 11:02:02 Scanning dependencies of target device-counter 11:02:02 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 11:02:02 [ 80%] Linking C executable device-counter 11:02:02 [ 80%] Built target device-counter 11:02:02 Scanning dependencies of target device-random 11:02:02 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 11:02:02 [ 84%] Linking C executable device-random 11:02:02 [ 84%] Built target device-random 11:02:02 Scanning dependencies of target device-gyro 11:02:02 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 11:02:02 [ 87%] Linking C executable device-gyro 11:02:02 Commit message: "fix: Update discovery sample app configuration.toml" 11:02:02 > git --version # timeout=10 11:02:02 > git --version # 'git version 2.17.1' 11:02:02 fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 11:02:02 [ 87%] Built target device-gyro 11:02:02 Scanning dependencies of target device-bitfields 11:02:02 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 11:02:02 [ 90%] Linking C executable device-bitfields 11:02:02 [ 90%] Built target device-bitfields 11:02:02 Scanning dependencies of target template-discovery 11:02:02 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [Pipeline] withEnv 11:02:03 [ 93%] Linking C executable template-discovery 11:02:03 [ 93%] Built target template-discovery 11:02:03 Scanning dependencies of target device-file 11:02:03 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 11:02:03 [ 96%] Linking C executable device-file 11:02:03 [ 96%] Built target device-file 11:02:03 Scanning dependencies of target device-terminal [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:02:03 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 11:02:03 [100%] Linking C executable device-terminal 11:02:03 [100%] Built target device-terminal 11:02:03 Run CPack packaging tool... 11:02:03 CPack: Create package using TGZ 11:02:03 CPack: Install projects 11:02:03 CPack: - Run preinstall target for: Csdk 11:02:03 CPack: - Install project: Csdk 11:02:03 CPack: Create package 11:02:03 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 11:02:03 + '[' false '=' true ] 11:02:03 + '[' false '=' true ] 11:02:03 + mkdir -p /tmp/sdk/build/debug 11:02:03 + cd /tmp/sdk/build/debug 11:02:03 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 11:02:04 -- The C compiler identification is GNU 8.3.0 11:02:04 -- Check for working C compiler: /usr/bin/cc 11:02:04 -- Check for working C compiler: /usr/bin/cc -- works 11:02:04 -- Detecting C compiler ABI info 11:02:04 -- Detecting C compiler ABI info - done 11:02:04 -- Detecting C compile features 11:02:04 -- Detecting C compile features - done 11:02:04 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 11:02:04 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 11:02:04 -- Found LIBYAML: /usr/lib/libyaml.so 11:02:04 -- Found LIBUUID: /usr/lib/libuuid.so 11:02:04 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 11:02:04 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 11:02:04 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 11:02:04 -- C SDK 0.0.0 for Linux 11:02:04 -- Performing Test CSDK_HAVE_ATOMIC 11:02:04 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 11:02:04 -- Performing Test CSDK_HAVE_ATOMIC - Success 11:02:04 -- Found Curses: /usr/lib/libcurses.so 11:02:04 -- Configuring done 11:02:04 -- Generating done 11:02:04 -- Build files have been written to: /tmp/sdk/build/debug 11:02:04 + make 11:02:04 + tee debug.log 11:02:04 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 11:02:05 + sudo service docker restart 11:02:05 + true 11:02:05 Scanning dependencies of target csdk 11:02:05 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 11:02:05 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 11:02:05 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 11:02:05 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 11:02:05 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 11:02:05 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 11:02:06 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 11:02:06 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 11:02:06 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 11:02:06 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 11:02:06 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 11:02:06 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 11:02:06 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 11:02:06 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 11:02:06 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 11:02:06 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 11:02:06 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 11:02:07 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 11:02:07 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 11:02:07 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 11:02:07 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 11:02:07 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 11:02:07 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 11:02:07 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 11:02:07 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 11:02:07 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 11:02:07 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 11:02:07 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 11:02:07 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 11:02:07 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 11:02:07 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 11:02:07 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 11:02:07 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 11:02:08 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 11:02:08 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 11:02:08 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 11:02:08 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 11:02:08 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 11:02:08 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 11:02:08 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 11:02:08 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 11:02:08 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 11:02:08 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 11:02:08 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 11:02:09 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 11:02:09 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 11:02:09 [ 74%] Linking C shared library libcsdk.so 11:02:09 [ 74%] Built target csdk 11:02:09 Scanning dependencies of target template 11:02:09 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 11:02:09 [ 77%] Linking C executable template 11:02:09 [ 77%] Built target template 11:02:09 Scanning dependencies of target device-counter 11:02:09 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 11:02:09 [ 80%] Linking C executable device-counter 11:02:09 [ 80%] Built target device-counter 11:02:09 Scanning dependencies of target device-random 11:02:09 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 11:02:09 [ 84%] Linking C executable device-random 11:02:09 [ 84%] Built target device-random 11:02:09 Scanning dependencies of target device-gyro 11:02:09 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 11:02:09 [ 87%] Linking C executable device-gyro 11:02:09 [ 87%] Built target device-gyro 11:02:09 Scanning dependencies of target device-bitfields 11:02:09 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 11:02:09 [ 90%] Linking C executable device-bitfields 11:02:09 [ 90%] Built target device-bitfields 11:02:09 Scanning dependencies of target template-discovery 11:02:09 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 11:02:10 [ 93%] Linking C executable template-discovery 11:02:10 [ 93%] Built target template-discovery 11:02:10 Scanning dependencies of target device-file 11:02:10 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 11:02:10 [ 96%] Linking C executable device-file 11:02:10 [ 96%] Built target device-file 11:02:10 Scanning dependencies of target device-terminal 11:02:10 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 11:02:10 [100%] Linking C executable device-terminal 11:02:10 [100%] Built target device-terminal 11:02:10 make: Entering directory '/tmp/sdk/build/release' 11:02:10 make[1]: Entering directory '/tmp/sdk/build/release' 11:02:10 make[2]: Entering directory '/tmp/sdk/build/release' 11:02:10 make[2]: Leaving directory '/tmp/sdk/build/release' 11:02:10 [ 74%] Built target csdk 11:02:10 make[2]: Entering directory '/tmp/sdk/build/release' 11:02:10 make[2]: Leaving directory '/tmp/sdk/build/release' 11:02:10 [ 77%] Built target template 11:02:10 make[2]: Entering directory '/tmp/sdk/build/release' 11:02:10 make[2]: Leaving directory '/tmp/sdk/build/release' 11:02:10 [ 80%] Built target device-counter 11:02:10 make[2]: Entering directory '/tmp/sdk/build/release' 11:02:10 make[2]: Leaving directory '/tmp/sdk/build/release' 11:02:10 [ 84%] Built target device-random 11:02:10 make[2]: Entering directory '/tmp/sdk/build/release' 11:02:10 make[2]: Leaving directory '/tmp/sdk/build/release' 11:02:10 [ 87%] Built target device-gyro 11:02:10 make[2]: Entering directory '/tmp/sdk/build/release' 11:02:10 make[2]: Leaving directory '/tmp/sdk/build/release' 11:02:10 [ 90%] Built target device-bitfields 11:02:10 make[2]: Entering directory '/tmp/sdk/build/release' 11:02:10 make[2]: Leaving directory '/tmp/sdk/build/release' 11:02:10 [ 93%] Built target template-discovery 11:02:10 make[2]: Entering directory '/tmp/sdk/build/release' 11:02:10 make[2]: Leaving directory '/tmp/sdk/build/release' 11:02:10 [ 96%] Built target device-file 11:02:10 make[2]: Entering directory '/tmp/sdk/build/release' 11:02:10 make[2]: Leaving directory '/tmp/sdk/build/release' 11:02:10 [100%] Built target device-terminal 11:02:10 make[1]: Leaving directory '/tmp/sdk/build/release' 11:02:10 Install the project... 11:02:10 -- Install configuration: "Release" 11:02:10 -- Installing: /usr/local/lib/libcsdk.so 11:02:10 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 11:02:10 -- Up-to-date: /usr/local/include 11:02:10 -- Installing: /usr/local/include/devsdk 11:02:10 -- Installing: /usr/local/include/devsdk/devsdk-base.h 11:02:10 -- Installing: /usr/local/include/devsdk/devsdk.h 11:02:10 -- Installing: /usr/local/include/edgex 11:02:10 -- Installing: /usr/local/include/edgex/devices.h 11:02:10 -- Installing: /usr/local/include/edgex/edgex-base.h 11:02:10 -- Installing: /usr/local/include/edgex/edgex.h 11:02:10 -- Installing: /usr/local/include/edgex/profiles.h 11:02:10 -- Installing: /usr/local/include/edgex/rest-server.h 11:02:10 -- Installing: /usr/local/include/edgex/csdk-defs.h 11:02:10 -- Installing: /usr/local/include/iot 11:02:10 -- Installing: /usr/local/include/iot/base64.h 11:02:10 -- Installing: /usr/local/include/iot/component.h 11:02:10 -- Installing: /usr/local/include/iot/config.h 11:02:10 -- Installing: /usr/local/include/iot/container.h 11:02:10 -- Installing: /usr/local/include/iot/data.h 11:02:10 -- Installing: /usr/local/include/iot/hash.h 11:02:10 -- Installing: /usr/local/include/iot/iot.h 11:02:10 -- Installing: /usr/local/include/iot/json.h 11:02:10 -- Installing: /usr/local/include/iot/logger.h 11:02:10 -- Installing: /usr/local/include/iot/os.h 11:02:10 -- Installing: /usr/local/include/iot/scheduler.h 11:02:10 -- Installing: /usr/local/include/iot/thread.h 11:02:10 -- Installing: /usr/local/include/iot/threadpool.h 11:02:10 -- Installing: /usr/local/include/iot/time.h 11:02:10 -- Installing: /usr/local/include/iot/typecode.h 11:02:10 -- Installing: /usr/local/include/iot/os 11:02:10 -- Installing: /usr/local/include/iot/os/linux.h 11:02:10 -- Installing: /usr/local/include/iot/os/macos.h 11:02:10 -- Installing: /usr/local/include/iot/os/zephyr.h 11:02:10 -- Installing: /usr/local/include/iot/defs.h 11:02:10 -- Installing: /usr/local/share/device-sdk-c/LICENSE 11:02:10 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 11:02:10 make: Leaving directory '/tmp/sdk/build/release' 11:02:16 Removing intermediate container 74c60e6a071a 11:02:16 ---> 39e0a260d533 11:02:16 Step 16/25 : FROM ${BASE} 11:02:16 ---> 5eabd8fd8ba2 11:02:16 Step 17/25 : LABEL maintainer="IOTech " 11:02:16 ---> Running in c86df63cb1c7 11:02:16 Removing intermediate container c86df63cb1c7 11:02:16 ---> a626dd9a2c31 11:02:16 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 11:02:16 ---> Running in 071503963aac 11:02:16 Connecting to iotech.jfrog.io (54.170.66.44:443) 11:02:16 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 11:02:16 11:02:16 Removing intermediate container 071503963aac 11:02:16 ---> 2141977e8328 11:02:16 Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 11:02:16 ---> Running in 57d825e52150 11:02:17 Removing intermediate container 57d825e52150 11:02:17 ---> c7cccd77569c 11:02:17 Step 20/25 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid paho-mqtt-c-dev hiredis-dev 11:02:17 ---> Running in 2712c1a9265c 11:02:17 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 11:02:18 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 11:02:18 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 11:02:18 (1/6) Installing curl (7.64.0-r5) 11:02:18 (2/6) Installing hiredis (0.14.0-r0) 11:02:18 (3/6) Installing hiredis-dev (0.14.0-r0) 11:02:19 (4/6) Installing libuuid (2.33-r0) 11:02:19 (5/6) Installing paho-mqtt-c-dev (1.3.5-r0) 11:02:20 (6/6) Installing wget (1.20.3-r0) 11:02:20 Executing busybox-1.29.3-r10.trigger 11:02:20 OK: 269 MiB in 81 packages 11:02:21 Removing intermediate container 2712c1a9265c 11:02:21 ---> 3147bba3b103 11:02:21 Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 11:02:21 ---> 1a162a9d9aaa 11:02:21 Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 11:02:21 ---> 3c95d77ca000 11:02:21 Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib 11:02:21 ---> 4d353ae5ed9e 11:02:21 Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 11:02:21 ---> 1e79f7b39b64 11:02:21 Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 11:02:21 ---> b82616fd5f99 11:02:21 Successfully built b82616fd5f99 11:02:21 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:02:24 provisioning config files... 11:02:24 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config1386375565727305189tmp [Pipeline] script [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 11:02:25 ---> docker-login.sh 11:02:25 nexus3.edgexfoundry.org:10001 11:02:25 + docker inspect -f . ci-base-image-x86_64 11:02:25 . [Pipeline] withDockerContainer 11:02:25 prd-centos7-docker-4c-2g-1198 does not seem to be running inside a container 11:02: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 11:02:25 $ docker top 309dbe3a29708e9297f614cd26b86cc0e9877b88bc379cb23c52c6609f31df0f -eo pid,comm 11:02:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] { [Pipeline] sh 11:02:26 + make test 11:02:26 echo "make test" 11:02:26 make test [Pipeline] } 11:02:26 $ docker stop --time=1 309dbe3a29708e9297f614cd26b86cc0e9877b88bc379cb23c52c6609f31df0f 11:02:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:02:26 Configure a credential helper to remove this warning. See 11:02:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:02:26 11:02:26 Login Succeeded 11:02:26 nexus3.edgexfoundry.org:10002 11:02:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:02:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:02:26 Configure a credential helper to remove this warning. See 11:02:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:02:26 11:02:26 Login Succeeded 11:02:26 nexus3.edgexfoundry.org:10003 11:02:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:02:27 $ docker rm -f 309dbe3a29708e9297f614cd26b86cc0e9877b88bc379cb23c52c6609f31df0f 11:02:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:02:27 Configure a credential helper to remove this warning. See 11:02:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:02:27 11:02:27 Login Succeeded 11:02:27 nexus3.edgexfoundry.org:10004 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 11:02:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:02:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:02:27 Configure a credential helper to remove this warning. See 11:02:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:02:27 11:02:27 Login Succeeded 11:02:27 docker.io 11:02:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] sh 11:02:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:02:28 Configure a credential helper to remove this warning. See 11:02:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:02:28 11:02:28 Login Succeeded 11:02:28 ---> docker-login.sh ends [Pipeline] } 11:02:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } 11:02:28 + sudo chown -R jenkins:jenkins . [Pipeline] // withEnv [Pipeline] unstash [Pipeline] sh 11:02:29 + ls -al . 11:02:29 total 160 11:02:29 drwxrwxr-x. 8 jenkins jenkins 260 Jul 1 11:01 . 11:02:29 drwxrwxr-x. 4 jenkins jenkins 28 Jul 1 11:01 .. 11:02:29 -rw-rw-r--. 1 jenkins jenkins 3104 Jul 1 11:01 Attribution.txt 11:02:29 -rw-rw-r--. 1 jenkins jenkins 7509 Jul 1 11:01 CHANGES 11:02:29 drwxrwxr-x. 2 jenkins jenkins 121 Jul 1 11:01 docs 11:02:29 -rw-rw-r--. 1 jenkins jenkins 108574 Jul 1 11:01 Doxyfile 11:02:29 drwxrwxr-x. 8 jenkins jenkins 179 Jul 1 11:01 .git 11:02:29 drwxrwxr-x. 2 jenkins jenkins 81 Jul 1 11:01 .github 11:02:29 -rw-rw-r--. 1 jenkins jenkins 176 Jul 1 11:01 .gitignore 11:02:29 drwxrwxr-x. 4 jenkins jenkins 33 Jul 1 11:01 include 11:02:29 -rw-rw-r--. 1 jenkins jenkins 784 Jul 1 11:01 Jenkinsfile 11:02:29 -rw-rw-r--. 1 jenkins jenkins 10174 Jul 1 11:01 LICENSE 11:02:29 -rw-rw-r--. 1 jenkins jenkins 444 Jul 1 11:01 Makefile 11:02:29 -rw-rw-r--. 1 jenkins jenkins 4090 Jul 1 11:01 README.md 11:02:29 -rw-rw-r--. 1 jenkins jenkins 7090 Jul 1 11:01 README.v2.md 11:02:29 drwxrwxr-x. 2 jenkins jenkins 98 Jul 1 11:01 scripts 11:02:29 drwxrwxr-x. 4 jenkins jenkins 50 Jul 1 11:01 src 11:02:29 -rw-rw-r--. 1 jenkins jenkins 5 Jul 1 10:57 VERSION [Pipeline] isUnix [Pipeline] sh [Pipeline] echo 11:02:29 ========================================================= 11:02:29 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 11:02:29 ========================================================= [Pipeline] isUnix [Pipeline] sh 11:02:29 + 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=7fde05b815b6ee0a11d6dd3381f1b4551a697d5e --label arch=amd64 --label version=0.0.0 . 11:02:29 Sending build context to Docker daemon 2.628MB 11:02:29 Step 1/17 : ARG BASE=alpine:3.12 11:02:29 Step 2/17 : FROM ${BASE} 11:02:29 ---> b82616fd5f99 11:02:29 Step 3/17 : LABEL maintainer="IOTech " 11:02:29 + 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 . 11:02:30 ---> Running in 179c970d6e8a 11:02:30 Removing intermediate container 179c970d6e8a 11:02:30 ---> d46816e44854 11:02:30 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 11:02:30 ---> Running in d1ef98a79fe5 11:02:30 Sending build context to Docker daemon 2.627MB 11:02:30 Step 1/25 : ARG BASE=alpine:3.12 11:02:30 Step 2/25 : FROM ${BASE} as builder 11:02:30 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 11:02:30 0362ad1dd800: Pulling fs layer 11:02:30 f2cdb1532d8b: Pulling fs layer 11:02:30 37ed683be191: Pulling fs layer 11:02:30 f2cdb1532d8b: Verifying Checksum 11:02:30 f2cdb1532d8b: Download complete 11:02:30 0362ad1dd800: Verifying Checksum 11:02:30 0362ad1dd800: Download complete 11:02:30 --2021-07-01 11:02:30-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub 11:02:30 Resolving iotech.jfrog.io... 54.170.66.44, 54.195.244.87, 54.229.110.245 11:02:30 Connecting to iotech.jfrog.io|54.170.66.44|:443... connected. 11:02:31 HTTP request sent, awaiting response... 200 OK 11:02:31 Length: 451 [application/octet-stream] 11:02:31 Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 11:02:31 11:02:31 0K 100% 50.1M=0s 11:02:31 11:02:31 2021-07-01 11:02:31 (50.1 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] 11:02:31 11:02:31 Removing intermediate container d1ef98a79fe5 11:02:31 ---> 2774713add70 11:02:31 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 11:02:31 ---> Running in 59d2fe37daa6 11:02:31 0362ad1dd800: Pull complete 11:02:31 Removing intermediate container 59d2fe37daa6 11:02:31 ---> 71eb4609799e 11:02:31 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 11:02:31 ---> Running in 2ea4ba775104 11:02:32 f2cdb1532d8b: Pull complete 11:02:32 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 11:02:32 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 11:02:33 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 11:02:33 37ed683be191: Verifying Checksum 11:02:33 37ed683be191: Download complete 11:02:33 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 11:02:33 (2/6) Installing libblkid (2.33-r0) 11:02:33 (3/6) Installing libfdisk (2.33-r0) 11:02:33 (4/6) Installing libmount (2.33-r0) 11:02:33 (5/6) Installing libsmartcols (2.33-r0) 11:02:34 (6/6) Installing util-linux-dev (2.33-r0) 11:02:34 Executing busybox-1.29.3-r10.trigger 11:02:34 OK: 273 MiB in 87 packages 11:02:34 Removing intermediate container 2ea4ba775104 11:02:34 ---> 850a24e3c1d0 11:02:34 Step 7/17 : COPY VERSION /edgex-c-sdk/ 11:02:34 ---> 48dbd4f020b5 11:02:34 Step 8/17 : COPY src /edgex-c-sdk/src/ 11:02:35 ---> f72ef1301e0b 11:02:35 Step 9/17 : COPY include /edgex-c-sdk/include/ 11:02:35 ---> 84fa6ec11c01 11:02:35 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 11:02:35 ---> bf46fc91e64d 11:02:35 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 11:02:35 ---> b2594089cfae 11:02:35 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 11:02:36 ---> c7f822914424 11:02:36 Step 13/17 : WORKDIR /edgex-c-sdk 11:02:36 ---> Running in 1d268cb12b68 11:02:36 Removing intermediate container 1d268cb12b68 11:02:36 ---> 6c83a97113fb 11:02:36 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 11:02:36 ---> Running in a6df94416ece 11:02:36 Removing intermediate container a6df94416ece 11:02:36 ---> 66044dfcb310 11:02:36 Step 15/17 : LABEL arch=amd64 11:02:36 ---> Running in 852d010b2370 11:02:36 Removing intermediate container 852d010b2370 11:02:36 ---> 20d992cfa86d 11:02:36 Step 16/17 : LABEL git_sha=7fde05b815b6ee0a11d6dd3381f1b4551a697d5e 11:02:36 ---> Running in 690f0b8d2870 11:02:36 Removing intermediate container 690f0b8d2870 11:02:36 ---> a70e0b054922 11:02:36 Step 17/17 : LABEL version=0.0.0 11:02:36 ---> Running in fe84671b278b 11:02:37 Removing intermediate container fe84671b278b 11:02:37 ---> 54feffc14859 11:02:37 [Warning] One or more build-args [ARCH MAKE] were not consumed 11:02:37 Successfully built 54feffc14859 11:02:37 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] } 11:02:43 37ed683be191: Pull complete 11:02:43 Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f 11:02:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 11:02:43 ---> b23d30803547 11:02:43 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 11:02:43 ---> Running in 95447b1f5c1e 11:02:44 Connecting to iotech.jfrog.io (54.229.110.245:443) 11:02:45 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 11:02:45 11:02:46 Removing intermediate container 95447b1f5c1e 11:02:46 ---> 22cc7555df2e 11:02:46 Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 11:02:46 ---> Running in b1934d36cdab 11:02:48 Removing intermediate container b1934d36cdab 11:02:48 ---> 6a00543f8d8f 11:02:48 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 11:02:48 ---> Running in 22cbf88e1d80 11:02:49 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 11:02:50 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 11:02:51 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 11:02:51 (1/11) Installing hiredis (0.14.0-r0) 11:02:51 (2/11) Installing hiredis-dev (0.14.0-r0) 11:02:51 (3/11) Installing ncurses-dev (6.1_p20190105-r0) 11:02:51 (4/11) Installing paho-mqtt-c-dev (1.3.5-r0) 11:02:53 (5/11) Installing libuuid (2.33-r0) 11:02:53 (6/11) Installing libblkid (2.33-r0) 11:02:53 (7/11) Installing libfdisk (2.33-r0) 11:02:53 (8/11) Installing libmount (2.33-r0) 11:02:53 (9/11) Installing libsmartcols (2.33-r0) 11:02:53 (10/11) Installing util-linux-dev (2.33-r0) 11:02:54 (11/11) Installing wget (1.20.3-r0) 11:02:54 Executing busybox-1.29.3-r10.trigger 11:02:54 OK: 287 MiB in 86 packages 11:02:55 Removing intermediate container 22cbf88e1d80 11:02:55 ---> 572650ab418f 11:02:55 Step 6/25 : ENV CBOR_VERSION=0.5.0 11:02:55 ---> Running in 9fa9e2924c19 11:02:56 Removing intermediate container 9fa9e2924c19 11:02:56 ---> f250c224e57a 11:02:56 Step 7/25 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install 11:02:56 ---> Running in 1b6841bbf7da 11:02:57 --2021-07-01 11:02:57-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 11:02:57 Resolving github.com... 140.82.114.3 11:02:57 Connecting to github.com|140.82.114.3|:443... connected. 11:02:57 HTTP request sent, awaiting response... 302 Found 11:02:57 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 11:02:57 --2021-07-01 11:02:57-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 11:02:57 Resolving codeload.github.com... 140.82.114.10 11:02:57 Connecting to codeload.github.com|140.82.114.10|:443... connected. 11:02:57 HTTP request sent, awaiting response... 200 OK 11:02:57 Length: unspecified [application/x-gzip] 11:02:57 Saving to: 'STDOUT' 11:02:57  11:02:57 0K .......... .......... .......... .......... .......... 1.55M 11:02:57 50K .......... .......... .......... .......... .......... 2.76M 11:02:57 100K .......... .......... .......... .......... .......... 12.9M 11:02:57 150K .......... .......... .......... .......... .......... 3.77M 11:02:57 200K .......... .......... .......... .......... .......... 9.06M 11:02:57 250K .......... .......... .......... .......... .......... 3.71M 11:02:57 300K .......... .......... .......... .......... .......... 4.48M 11:02:57 350K .......... .......... .......... .......... .......... 4.56M 11:02:57 400K .......... .......... .......... .......... .......... 4.05M 11:02:57 450K .......... .......... .......... .......... .......... 2.35M 11:02:57 500K .......... .......... .......... .......... .......... 16.4M 11:02:57 550K .......... .......... .......... .......... .......... 1.74M 11:02:57 600K .......... .......... .......... .......... .......... 1.04M 11:02:57 650K .......... .......... .......... .......... .......... 2.34M 11:02:57 700K .. 510K=0.2s 11:02:57 11:02:57 2021-07-01 11:02:57 (2.83 MB/s) - written to stdout [719348] 11:02:57 11:02:58 -- The C compiler identification is GNU 8.3.0 11:02:58 -- The CXX compiler identification is GNU 8.3.0 11:02:58 -- Check for working C compiler: /usr/bin/cc 11:02:58 -- Check for working C compiler: /usr/bin/cc -- works 11:02:58 -- Detecting C compiler ABI info 11:02:58 -- Detecting C compiler ABI info - done 11:02:58 -- Detecting C compile features 11:02:59 -- Detecting C compile features - done 11:02:59 -- Check for working CXX compiler: /usr/bin/c++ 11:02:59 -- Check for working CXX compiler: /usr/bin/c++ -- works 11:02:59 -- Detecting CXX compiler ABI info 11:03:00 -- Detecting CXX compiler ABI info - done 11:03:00 -- Detecting CXX compile features 11:03:01 -- Detecting CXX compile features - done 11:03:01 -- Looking for include file endian.h 11:03:01 -- Looking for include file endian.h - found 11:03:01 -- Check if the system is big endian 11:03:01 -- Searching 16 bit integer 11:03:01 -- Looking for sys/types.h 11:03:02 -- Looking for sys/types.h - found 11:03:02 -- Looking for stdint.h 11:03:02 -- Looking for stdint.h - found 11:03:02 -- Looking for stddef.h 11:03:02 -- Looking for stddef.h - found 11:03:02 -- Check size of unsigned short 11:03:03 -- Check size of unsigned short - done 11:03:03 -- Using unsigned short 11:03:03 -- Check if the system is big endian - little endian 11:03:03 -- Check size of size_t 11:03:03 -- Check size of size_t - done 11:03:03 CMake Warning at examples/CMakeLists.txt:16 (find_package): 11:03:03 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 11:03:03 asked CMake to find a package configuration file provided by "cJSON", but 11:03:03 CMake did not find one. 11:03:03 11:03:03 Could not find a package configuration file provided by "cJSON" with any of 11:03:03 the following names: 11:03:03 11:03:03 cJSONConfig.cmake 11:03:03 cjson-config.cmake 11:03:03 11:03:03 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 11:03:03 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 11:03:03 provides a separate development package or SDK, be sure it has been 11:03:03 installed. 11:03:03 11:03:03 11:03:03 -- Configuring done 11:03:03 -- Generating done 11:03:03 -- Build files have been written to: /tmp/cbor 11:03:03 Scanning dependencies of target cbor_shared 11:03:03 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 11:03:04 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 11:03:05 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 11:03:05 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 11:03:06 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 11:03:06 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 11:03:06 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 11:03:06 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 11:03:06 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 11:03:07 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 11:03:07 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 11:03:07 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 11:03:08 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 11:03:08 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 11:03:08 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 11:03:09 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 11:03:09 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 11:03:09 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 11:03:09 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 11:03:10 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 11:03:10 [ 40%] Linking C shared library libcbor.so 11:03:10 [ 40%] Built target cbor_shared 11:03:10 Scanning dependencies of target cbor 11:03:10 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 11:03:11 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 11:03:12 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 11:03:12 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 11:03:13 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 11:03:13 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 11:03:13 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 11:03:13 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 11:03:14 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 11:03:14 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 11:03:15 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 11:03:15 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 11:03:15 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 11:03:16 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 11:03:16 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 11:03:16 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 11:03:16 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 11:03:17 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 11:03:17 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 11:03:17 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 11:03:17 [ 80%] Linking C static library libcbor.a 11:03:17 [ 80%] Built target cbor 11:03:17 Scanning dependencies of target create_items 11:03:17 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 11:03:20 [ 84%] Linking C executable create_items 11:03:20 [ 84%] Built target create_items 11:03:20 Scanning dependencies of target readfile 11:03:20 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 11:03:20 [ 88%] Linking C executable readfile 11:03:20 [ 88%] Built target readfile 11:03:20 Scanning dependencies of target streaming_parser 11:03:20 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 11:03:20 [ 92%] Linking C executable streaming_parser 11:03:20 [ 92%] Built target streaming_parser 11:03:20 Scanning dependencies of target sort 11:03:20 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 11:03:20 [ 96%] Linking C executable sort 11:03:20 [ 96%] Built target sort 11:03:20 Scanning dependencies of target hello 11:03:20 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 11:03:20 [100%] Linking C executable hello 11:03:20 [100%] Built target hello 11:03:20 Install the project... 11:03:20 -- Install configuration: "Release" 11:03:20 -- Installing: /usr/local/include/cbor/configuration.h 11:03:20 -- Installing: /usr/local/lib64/libcbor.a 11:03:20 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 11:03:20 -- Installing: /usr/local/lib64/libcbor.so.0 11:03:20 -- Installing: /usr/local/lib64/libcbor.so 11:03:20 -- Up-to-date: /usr/local/include/cbor 11:03:20 -- Installing: /usr/local/include/cbor/streaming.h 11:03:20 -- Installing: /usr/local/include/cbor/ints.h 11:03:20 -- Installing: /usr/local/include/cbor/floats_ctrls.h 11:03:20 -- Installing: /usr/local/include/cbor/bytestrings.h 11:03:20 -- Installing: /usr/local/include/cbor/encoding.h 11:03:20 -- Installing: /usr/local/include/cbor/serialization.h 11:03:20 -- Installing: /usr/local/include/cbor/data.h 11:03:20 -- Installing: /usr/local/include/cbor/common.h 11:03:20 -- Installing: /usr/local/include/cbor/callbacks.h 11:03:20 -- Installing: /usr/local/include/cbor/strings.h 11:03:20 -- Installing: /usr/local/include/cbor/tags.h 11:03:20 -- Installing: /usr/local/include/cbor/internal 11:03:20 -- Installing: /usr/local/include/cbor/internal/encoders.h 11:03:20 -- Installing: /usr/local/include/cbor/internal/loaders.h 11:03:20 -- Installing: /usr/local/include/cbor/internal/stack.h 11:03:20 -- Installing: /usr/local/include/cbor/internal/unicode.h 11:03:20 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 11:03:20 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 11:03:20 -- Installing: /usr/local/include/cbor/arrays.h 11:03:20 -- Installing: /usr/local/include/cbor/maps.h 11:03:20 -- Installing: /usr/local/include/cbor.h 11:03:20 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 11:03:21 Removing intermediate container 1b6841bbf7da 11:03:21 ---> 2d6f643cbc91 11:03:21 Step 8/25 : RUN mkdir /tmp/sdk 11:03:21 ---> Running in 44f06b1fdd2a 11:03:23 Removing intermediate container 44f06b1fdd2a 11:03:23 ---> bbe37bac5fe4 11:03:23 Step 9/25 : COPY VERSION /tmp/sdk 11:03:24 ---> 55d7197c4e3b 11:03:24 Step 10/25 : COPY src /tmp/sdk/src 11:03:25 ---> e7de3b4ba02c 11:03:25 Step 11/25 : COPY include /tmp/sdk/include 11:03:26 ---> d0c037f682bf 11:03:26 Step 12/25 : COPY scripts /tmp/sdk/scripts 11:03:27 ---> beb76efcd2b5 11:03:27 Step 13/25 : COPY LICENSE /tmp/sdk 11:03:28 ---> c0f35aec4b93 11:03:28 Step 14/25 : COPY Attribution.txt /tmp/sdk 11:03:28 ---> f03751007de1 11:03:28 Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 11:03:29 ---> Running in d4ef4876426c 11:03:30 + CPPCHECK=false 11:03:30 + DOCGEN=false 11:03:30 + TOMLVER=SDK-0.2 11:03:30 + CUTILVER=1.1.4 11:03:30 + '[' 0 -gt 0 ] 11:03:30 + readlink -f ./scripts/build.sh 11:03:30 + dirname /tmp/sdk/scripts/build.sh 11:03:30 + dirname /tmp/sdk/scripts 11:03:30 + ROOT=/tmp/sdk 11:03:30 + cd /tmp/sdk 11:03:30 + '[' '!' -d deps ] 11:03:30 + mkdir deps 11:03:30 + wget -O+ -tar https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz -C 11:03:30 deps -z -x -f - 11:03:30 --2021-07-01 11:03:30-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 11:03:30 Resolving github.com... 140.82.114.4 11:03:30 Connecting to github.com|140.82.114.4|:443... connected. 11:03:30 HTTP request sent, awaiting response... 302 Found 11:03:30 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 11:03:30 --2021-07-01 11:03:30-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 11:03:30 Resolving codeload.github.com... 140.82.114.10 11:03:30 Connecting to codeload.github.com|140.82.114.10|:443... connected. 11:03:30 HTTP request sent, awaiting response... 200 OK 11:03:30 Length: 16451 (16K) [application/x-gzip] 11:03:30 Saving to: 'STDOUT' 11:03:30  11:03:30 0K .......... ......  100% 1.00M=0.02s 11:03:30 11:03:30 2021-07-01 11:03:30 (1.00 MB/s) - written to stdout [16451/16451] 11:03:30 11:03:30 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 11:03:30 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 11:03:30 + tar -C deps -z -x -f - 11:03:30 --2021-07-01 11:03:30-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 11:03:30 Resolving github.com... 140.82.114.4 11:03:30 Connecting to github.com|140.82.114.4|:443... connected. 11:03:30 HTTP request sent, awaiting response... 302 Found 11:03:30 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] 11:03:30 --2021-07-01 11:03:30-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 11:03:30 Resolving codeload.github.com... 140.82.114.10 11:03:30 Connecting to codeload.github.com|140.82.114.10|:443... connected. 11:03:31 HTTP request sent, awaiting response... 200 OK 11:03:31 Length: unspecified [application/x-gzip] 11:03:31 Saving to: 'STDOUT' 11:03:31  11:03:31 0K .......... .......... .......... .......... .......... 1.47M 11:03:31 50K .......... .......... .......... .......... .......... 2.99M 11:03:31 100K .......... .......... .......... .......... .......... 7.24M 11:03:31 150K .......... .......... ....... 1.50M=0.07s 11:03:31 11:03:31 2021-07-01 11:03:31 (2.33 MB/s) - written to stdout [181796] 11:03:31 11:03:31 + mkdir -p src/c/iot 11:03:31 + 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 11:03:31 + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot 11:03:31 + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot 11:03:31 + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot 11:03:31 + mkdir -p include/iot 11:03:31 + 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 11:03:31 + mkdir -p include/iot/os 11:03:31 + 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 11:03:31 + mkdir -p /tmp/sdk/build/release 11:03:31 + cd /tmp/sdk/build/release 11:03:31 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 11:03:31 -- The C compiler identification is GNU 8.3.0 11:03:31 -- Check for working C compiler: /usr/bin/cc 11:03:32 -- Check for working C compiler: /usr/bin/cc -- works 11:03:32 -- Detecting C compiler ABI info 11:03:32 -- Detecting C compiler ABI info - done 11:03:32 -- Detecting C compile features 11:03:32 -- Detecting C compile features - done 11:03:32 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 11:03:32 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 11:03:32 -- Found LIBYAML: /usr/lib/libyaml.so 11:03:32 -- Found LIBUUID: /usr/lib/libuuid.so 11:03:32 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 11:03:32 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 11:03:32 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 11:03:32 -- C SDK 0.0.0 for Linux 11:03:32 -- Performing Test CSDK_HAVE_ATOMIC 11:03:33 -- Performing Test CSDK_HAVE_ATOMIC - Success 11:03:33 -- Found Curses: /usr/lib/libcurses.so 11:03:33 -- Configuring done 11:03:33 -- Generating done 11:03:33 -- Build files have been written to: /tmp/sdk/build/release 11:03:33 + + teemake release.log all 11:03:33 package 11:03:33 Scanning dependencies of target csdk 11:03:34 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 11:03:34 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 11:03:34 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 11:03:36 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 11:03:37 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 11:03:37 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 11:03:38 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 11:03:38 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 11:03:38 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 11:03:39 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 11:03:41 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 11:03:41 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 11:03:42 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 11:03:42 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 11:03:43 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 11:03:43 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 11:03:43 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 11:03:46 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 11:03:46 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 11:03:46 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 11:03:47 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 11:03:47 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 11:03:48 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 11:03:52 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 11:03:52 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 11:03:52 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 11:03:52 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 11:03:52 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 11:03:52 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 11:03:53 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 11:03:53 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 11:03:53 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 11:03:54 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 11:03:56 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 11:03:56 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 11:03:57 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 11:03:57 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 11:04:01 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 11:04:02 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 11:04:02 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 11:04:02 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 11:04:03 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 11:04:05 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 11:04:08 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 11:04:10 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 11:04:11 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 11:04:11 [ 74%] Linking C shared library libcsdk.so 11:04:11 [ 74%] Built target csdk 11:04:11 Scanning dependencies of target template 11:04:11 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 11:04:12 [ 77%] Linking C executable template 11:04:12 [ 77%] Built target template 11:04:12 Scanning dependencies of target device-counter 11:04:12 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 11:04:13 [ 80%] Linking C executable device-counter 11:04:13 [ 80%] Built target device-counter 11:04:13 Scanning dependencies of target device-random 11:04:13 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 11:04:13 [ 84%] Linking C executable device-random 11:04:14 [ 84%] Built target device-random 11:04:14 Scanning dependencies of target device-gyro 11:04:14 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 11:04:14 [ 87%] Linking C executable device-gyro 11:04:14 [ 87%] Built target device-gyro 11:04:14 Scanning dependencies of target device-bitfields 11:04:14 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 11:04:15 [ 90%] Linking C executable device-bitfields 11:04:15 [ 90%] Built target device-bitfields 11:04:15 Scanning dependencies of target template-discovery 11:04:15 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 11:04:16 [ 93%] Linking C executable template-discovery 11:04:16 [ 93%] Built target template-discovery 11:04:16 Scanning dependencies of target device-file 11:04:16 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 11:04:16 [ 96%] Linking C executable device-file 11:04:17 [ 96%] Built target device-file 11:04:17 Scanning dependencies of target device-terminal 11:04:17 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 11:04:19 [100%] Linking C executable device-terminal 11:04:19 [100%] Built target device-terminal 11:04:19 Run CPack packaging tool... 11:04:19 CPack: Create package using TGZ 11:04:19 CPack: Install projects 11:04:19 CPack: - Run preinstall target for: Csdk 11:04:19 CPack: - Install project: Csdk 11:04:19 CPack: Create package 11:04:19 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 11:04:19 + '[' false '=' true ] 11:04:19 + '[' false '=' true ] 11:04:19 + mkdir -p /tmp/sdk/build/debug 11:04:19 + cd /tmp/sdk/build/debug 11:04:19 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 11:04:19 -- The C compiler identification is GNU 8.3.0 11:04:19 -- Check for working C compiler: /usr/bin/cc 11:04:19 -- Check for working C compiler: /usr/bin/cc -- works 11:04:19 -- Detecting C compiler ABI info 11:04:19 -- Detecting C compiler ABI info - done 11:04:19 -- Detecting C compile features 11:04:20 -- Detecting C compile features - done 11:04:20 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 11:04:20 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 11:04:20 -- Found LIBYAML: /usr/lib/libyaml.so 11:04:20 -- Found LIBUUID: /usr/lib/libuuid.so 11:04:20 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 11:04:20 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 11:04:20 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 11:04:20 -- C SDK 0.0.0 for Linux 11:04:20 -- Performing Test CSDK_HAVE_ATOMIC 11:04:20 -- Performing Test CSDK_HAVE_ATOMIC - Success 11:04:20 -- Found Curses: /usr/lib/libcurses.so 11:04:20 -- Configuring done 11:04:20 -- Generating done 11:04:20 -- Build files have been written to: /tmp/sdk/build/debug 11:04:20 + make 11:04:20 + tee debug.log 11:04:20 Scanning dependencies of target csdk 11:04:20 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 11:04:21 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 11:04:21 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 11:04:22 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 11:04:22 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 11:04:22 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 11:04:23 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 11:04:23 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 11:04:23 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 11:04:23 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 11:04:24 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 11:04:24 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 11:04:24 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 11:04:25 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 11:04:25 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 11:04:25 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 11:04:25 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 11:04:26 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 11:04:28 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 11:04:28 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 11:04:28 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 11:04:28 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 11:04:28 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 11:04:28 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 11:04:28 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 11:04:28 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 11:04:28 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 11:04:29 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 11:04:29 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 11:04:29 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 11:04:29 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 11:04:30 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 11:04:30 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 11:04:30 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 11:04:30 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 11:04:31 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 11:04:31 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 11:04:32 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 11:04:32 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 11:04:32 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 11:04:33 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 11:04:33 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 11:04:34 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 11:04:35 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 11:04:35 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 11:04:35 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 11:04:36 [ 74%] Linking C shared library libcsdk.so 11:04:36 [ 74%] Built target csdk 11:04:36 Scanning dependencies of target template 11:04:36 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 11:04:36 [ 77%] Linking C executable template 11:04:37 [ 77%] Built target template 11:04:37 Scanning dependencies of target device-counter 11:04:37 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 11:04:37 [ 80%] Linking C executable device-counter 11:04:37 [ 80%] Built target device-counter 11:04:37 Scanning dependencies of target device-random 11:04:37 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 11:04:37 [ 84%] Linking C executable device-random 11:04:38 [ 84%] Built target device-random 11:04:38 Scanning dependencies of target device-gyro 11:04:38 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 11:04:38 [ 87%] Linking C executable device-gyro 11:04:38 [ 87%] Built target device-gyro 11:04:38 Scanning dependencies of target device-bitfields 11:04:38 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 11:04:38 [ 90%] Linking C executable device-bitfields 11:04:39 [ 90%] Built target device-bitfields 11:04:39 Scanning dependencies of target template-discovery 11:04:39 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 11:04:39 [ 93%] Linking C executable template-discovery 11:04:39 [ 93%] Built target template-discovery 11:04:39 Scanning dependencies of target device-file 11:04:39 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 11:04:40 [ 96%] Linking C executable device-file 11:04:40 [ 96%] Built target device-file 11:04:40 Scanning dependencies of target device-terminal 11:04:40 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 11:04:40 [100%] Linking C executable device-terminal 11:04:40 [100%] Built target device-terminal 11:04:40 make: Entering directory '/tmp/sdk/build/release' 11:04:40 make[1]: Entering directory '/tmp/sdk/build/release' 11:04:40 make[2]: Entering directory '/tmp/sdk/build/release' 11:04:40 make[2]: Leaving directory '/tmp/sdk/build/release' 11:04:40 [ 74%] Built target csdk 11:04:40 make[2]: Entering directory '/tmp/sdk/build/release' 11:04:41 make[2]: Leaving directory '/tmp/sdk/build/release' 11:04:41 [ 77%] Built target template 11:04:41 make[2]: Entering directory '/tmp/sdk/build/release' 11:04:41 make[2]: Leaving directory '/tmp/sdk/build/release' 11:04:41 [ 80%] Built target device-counter 11:04:41 make[2]: Entering directory '/tmp/sdk/build/release' 11:04:41 make[2]: Leaving directory '/tmp/sdk/build/release' 11:04:41 [ 84%] Built target device-random 11:04:41 make[2]: Entering directory '/tmp/sdk/build/release' 11:04:41 make[2]: Leaving directory '/tmp/sdk/build/release' 11:04:41 [ 87%] Built target device-gyro 11:04:41 make[2]: Entering directory '/tmp/sdk/build/release' 11:04:41 make[2]: Leaving directory '/tmp/sdk/build/release' 11:04:41 [ 90%] Built target device-bitfields 11:04:41 make[2]: Entering directory '/tmp/sdk/build/release' 11:04:41 make[2]: Leaving directory '/tmp/sdk/build/release' 11:04:41 [ 93%] Built target template-discovery 11:04:41 make[2]: Entering directory '/tmp/sdk/build/release' 11:04:41 make[2]: Leaving directory '/tmp/sdk/build/release' 11:04:41 [ 96%] Built target device-file 11:04:41 make[2]: Entering directory '/tmp/sdk/build/release' 11:04:41 make[2]: Leaving directory '/tmp/sdk/build/release' 11:04:41 [100%] Built target device-terminal 11:04:41 make[1]: Leaving directory '/tmp/sdk/build/release' 11:04:41 Install the project... 11:04:41 -- Install configuration: "Release" 11:04:41 -- Installing: /usr/local/lib/libcsdk.so 11:04:41 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 11:04:41 -- Up-to-date: /usr/local/include 11:04:41 -- Installing: /usr/local/include/edgex 11:04:41 -- Installing: /usr/local/include/edgex/rest-server.h 11:04:41 -- Installing: /usr/local/include/edgex/edgex-base.h 11:04:41 -- Installing: /usr/local/include/edgex/edgex.h 11:04:41 -- Installing: /usr/local/include/edgex/devices.h 11:04:41 -- Installing: /usr/local/include/edgex/profiles.h 11:04:41 -- Installing: /usr/local/include/edgex/csdk-defs.h 11:04:41 -- Installing: /usr/local/include/devsdk 11:04:41 -- Installing: /usr/local/include/devsdk/devsdk-base.h 11:04:41 -- Installing: /usr/local/include/devsdk/devsdk.h 11:04:41 -- Installing: /usr/local/include/iot 11:04:41 -- Installing: /usr/local/include/iot/json.h 11:04:41 -- Installing: /usr/local/include/iot/container.h 11:04:41 -- Installing: /usr/local/include/iot/component.h 11:04:41 -- Installing: /usr/local/include/iot/typecode.h 11:04:41 -- Installing: /usr/local/include/iot/iot.h 11:04:41 -- Installing: /usr/local/include/iot/time.h 11:04:41 -- Installing: /usr/local/include/iot/hash.h 11:04:41 -- Installing: /usr/local/include/iot/logger.h 11:04:41 -- Installing: /usr/local/include/iot/os 11:04:41 -- Installing: /usr/local/include/iot/os/zephyr.h 11:04:41 -- Installing: /usr/local/include/iot/os/linux.h 11:04:41 -- Installing: /usr/local/include/iot/os/macos.h 11:04:41 -- Installing: /usr/local/include/iot/scheduler.h 11:04:41 -- Installing: /usr/local/include/iot/data.h 11:04:41 -- Installing: /usr/local/include/iot/thread.h 11:04:41 -- Installing: /usr/local/include/iot/os.h 11:04:41 -- Installing: /usr/local/include/iot/base64.h 11:04:41 -- Installing: /usr/local/include/iot/defs.h 11:04:41 -- Installing: /usr/local/include/iot/threadpool.h 11:04:41 -- Installing: /usr/local/include/iot/config.h 11:04:41 -- Installing: /usr/local/share/device-sdk-c/LICENSE 11:04:41 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 11:04:41 make: Leaving directory '/tmp/sdk/build/release' 11:04:43 Removing intermediate container d4ef4876426c 11:04:43 ---> c426ded01d70 11:04:43 Step 16/25 : FROM ${BASE} 11:04:43 ---> b23d30803547 11:04:43 Step 17/25 : LABEL maintainer="IOTech " 11:04:43 ---> Running in ca78ed59f5b1 11:04:43 Removing intermediate container ca78ed59f5b1 11:04:43 ---> c25117c996a2 11:04:43 Step 18/25 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub 11:04:44 ---> Running in 491d11c60f49 11:04:45 Connecting to iotech.jfrog.io (54.195.244.87:443) 11:04:45 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 11:04:45 11:04:46 Removing intermediate container 491d11c60f49 11:04:46 ---> f4a3b681c299 11:04:46 Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 11:04:46 ---> Running in 3d068d23d276 11:04:49 Removing intermediate container 3d068d23d276 11:04:49 ---> a19921fdf9e4 11:04:49 Step 20/25 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid paho-mqtt-c-dev hiredis-dev 11:04:49 ---> Running in f7dacd0ee712 11:04:50 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 11:04:51 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 11:04:52 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 11:04:52 (1/6) Installing curl (7.64.0-r5) 11:04:52 (2/6) Installing hiredis (0.14.0-r0) 11:04:52 (3/6) Installing hiredis-dev (0.14.0-r0) 11:04:52 (4/6) Installing libuuid (2.33-r0) 11:04:52 (5/6) Installing paho-mqtt-c-dev (1.3.5-r0) 11:04:54 (6/6) Installing wget (1.20.3-r0) 11:04:54 Executing busybox-1.29.3-r10.trigger 11:04:54 OK: 283 MiB in 81 packages 11:04:55 Removing intermediate container f7dacd0ee712 11:04:55 ---> 96ba7876f2f8 11:04:55 Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 11:04:56 ---> 46aee5c30900 11:04:56 Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 11:04:57 ---> 4e14ff09b8c3 11:04:57 Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib 11:04:58 ---> 704a974517c6 11:04:58 Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 11:04:59 ---> 9a34e7462d05 11:04:59 Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 11:04:59 ---> 5bf51280fd68 11:04:59 Successfully built 5bf51280fd68 11:04:59 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:05:00 + docker inspect -f . ci-base-image-arm64 11:05:00 . [Pipeline] withDockerContainer 11:05:00 prd-ubuntu18.04-docker-arm64-4c-16g-1197 does not seem to be running inside a container 11:05:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 11:05:02 $ docker top 8d6cc066378e8c5a55725f7ea1d59821e1b6e5ccbe76d9bf81aa7261aae68762 -eo pid,comm [Pipeline] { [Pipeline] sh 11:05:03 + make test 11:05:03 echo "make test" 11:05:03 make test [Pipeline] } 11:05:03 $ docker stop --time=1 8d6cc066378e8c5a55725f7ea1d59821e1b6e5ccbe76d9bf81aa7261aae68762 11:05:05 $ docker rm -f 8d6cc066378e8c5a55725f7ea1d59821e1b6e5ccbe76d9bf81aa7261aae68762 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:05:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:05:09 + ls -al . 11:05:09 total 192 11:05:09 drwxrwxr-x 8 jenkins jenkins 4096 Jul 1 11:01 . 11:05:09 drwxrwxr-x 4 jenkins jenkins 4096 Jul 1 11:01 .. 11:05:09 drwxrwxr-x 8 jenkins jenkins 4096 Jul 1 11:02 .git 11:05:09 drwxrwxr-x 2 jenkins jenkins 4096 Jul 1 11:01 .github 11:05:09 -rw-rw-r-- 1 jenkins jenkins 176 Jul 1 11:01 .gitignore 11:05:09 -rw-rw-r-- 1 jenkins jenkins 3104 Jul 1 11:01 Attribution.txt 11:05:09 -rw-rw-r-- 1 jenkins jenkins 7509 Jul 1 11:01 CHANGES 11:05:09 -rw-rw-r-- 1 jenkins jenkins 108574 Jul 1 11:01 Doxyfile 11:05:09 -rw-rw-r-- 1 jenkins jenkins 784 Jul 1 11:01 Jenkinsfile 11:05:09 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 1 11:01 LICENSE 11:05:09 -rw-rw-r-- 1 jenkins jenkins 444 Jul 1 11:01 Makefile 11:05:09 -rw-rw-r-- 1 jenkins jenkins 4090 Jul 1 11:01 README.md 11:05:09 -rw-rw-r-- 1 jenkins jenkins 7090 Jul 1 11:01 README.v2.md 11:05:09 -rw-rw-r-- 1 jenkins jenkins 5 Jul 1 10:57 VERSION 11:05:09 drwxrwxr-x 2 jenkins jenkins 4096 Jul 1 11:01 docs 11:05:09 drwxrwxr-x 4 jenkins jenkins 4096 Jul 1 11:01 include 11:05:09 drwxrwxr-x 2 jenkins jenkins 4096 Jul 1 11:01 scripts 11:05:09 drwxrwxr-x 4 jenkins jenkins 4096 Jul 1 11:01 src [Pipeline] isUnix [Pipeline] sh 11:05:09 + 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=7fde05b815b6ee0a11d6dd3381f1b4551a697d5e --label arch=arm64 --label version=0.0.0 . 11:05:10 Sending build context to Docker daemon 2.627MB 11:05:10 Step 1/17 : ARG BASE=alpine:3.12 11:05:10 Step 2/17 : FROM ${BASE} 11:05:10 ---> 5bf51280fd68 11:05:10 Step 3/17 : LABEL maintainer="IOTech " 11:05:10 ---> Running in 820c5819ca48 11:05:11 Removing intermediate container 820c5819ca48 11:05:11 ---> 79887f70011d 11:05:11 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 11:05:11 ---> Running in 161301617f01 11:05:12 --2021-07-01 11:05:12-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub 11:05:12 Resolving iotech.jfrog.io... 54.170.66.44, 54.195.244.87, 54.229.110.245 11:05:12 Connecting to iotech.jfrog.io|54.170.66.44|:443... connected. 11:05:12 HTTP request sent, awaiting response... 200 OK 11:05:12 Length: 451 [application/octet-stream] 11:05:12 Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 11:05:12  11:05:12 0K    100% 17.8M=0s 11:05:12 11:05:12 2021-07-01 11:05:12 (17.8 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] 11:05:12 11:05:13 Removing intermediate container 161301617f01 11:05:13 ---> dc2a31c9a7c3 11:05:13 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 11:05:13 ---> Running in 517c9d4d9e02 11:05:15 Removing intermediate container 517c9d4d9e02 11:05:15 ---> 060cd0e1b70e 11:05:15 Step 6/17 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev hiredis-dev && mkdir -p /edgex-c-sdk/build 11:05:16 ---> Running in 64ff5c7def47 11:05:17 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 11:05:17 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 11:05:18 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 11:05:18 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 11:05:18 (2/6) Installing libblkid (2.33-r0) 11:05:18 (3/6) Installing libfdisk (2.33-r0) 11:05:18 (4/6) Installing libmount (2.33-r0) 11:05:19 (5/6) Installing libsmartcols (2.33-r0) 11:05:19 (6/6) Installing util-linux-dev (2.33-r0) 11:05:19 Executing busybox-1.29.3-r10.trigger 11:05:19 OK: 287 MiB in 87 packages 11:05:20 Removing intermediate container 64ff5c7def47 11:05:20 ---> f57afb0d7aa4 11:05:20 Step 7/17 : COPY VERSION /edgex-c-sdk/ 11:05:21 ---> cdb2d7adc2b4 11:05:21 Step 8/17 : COPY src /edgex-c-sdk/src/ 11:05:22 ---> f8eae9465c4c 11:05:22 Step 9/17 : COPY include /edgex-c-sdk/include/ 11:05:23 ---> c2c0a363f8fe 11:05:23 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 11:05:24 ---> 625b889e0ac8 11:05:24 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 11:05:24 ---> bde68e697270 11:05:24 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 11:05:25 ---> 796f766cbf6c 11:05:25 Step 13/17 : WORKDIR /edgex-c-sdk 11:05:25 ---> Running in f5c0633e0b45 11:05:26 Removing intermediate container f5c0633e0b45 11:05:26 ---> 2a1e7056926b 11:05:26 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 11:05:26 ---> Running in d4ccbcd76cf6 11:05:26 Removing intermediate container d4ccbcd76cf6 11:05:26 ---> 796481584eb8 11:05:26 Step 15/17 : LABEL arch=arm64 11:05:26 ---> Running in d96b3828b595 11:05:27 Removing intermediate container d96b3828b595 11:05:27 ---> 80cd4fcdf73b 11:05:27 Step 16/17 : LABEL git_sha=7fde05b815b6ee0a11d6dd3381f1b4551a697d5e 11:05:27 ---> Running in 9ef37c6255af 11:05:28 Removing intermediate container 9ef37c6255af 11:05:28 ---> f0a7785d729c 11:05:28 Step 17/17 : LABEL version=0.0.0 11:05:28 ---> Running in 8506aa4cfab5 11:05:28 Removing intermediate container 8506aa4cfab5 11:05:28 ---> 67c016a08a3b 11:05:28 [Warning] One or more build-args [ARCH MAKE] were not consumed 11:05:28 Successfully built 67c016a08a3b 11:05:28 Successfully tagged device-sdk-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 11:05:33 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:05:34 ---> package-listing.sh 11:05:34 ++ facter osfamily 11:05:34 ++ tr '[:upper:]' '[:lower:]' 11:05:34 + OS_FAMILY=redhat 11:05:34 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-355 11:05:34 + START_PACKAGES=/tmp/packages_start.txt 11:05:34 + END_PACKAGES=/tmp/packages_end.txt 11:05:34 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:05:34 + PACKAGES=/tmp/packages_start.txt 11:05:34 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-355 ']' 11:05:34 + PACKAGES=/tmp/packages_end.txt 11:05:34 + case "${OS_FAMILY}" in 11:05:34 + rpm -qa 11:05:34 + sort 11:05:35 + '[' -f /tmp/packages_start.txt ']' 11:05:35 + '[' -f /tmp/packages_end.txt ']' 11:05:35 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:05:35 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-355 ']' 11:05:35 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-355/archives/ 11:05:35 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-355/archives/ [Pipeline] echo 11:05:35 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-355/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 11:05:35 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 11:05:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 11:05:36 11:05:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 11:05:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 11:05:36 alpine: Pulling from edgex-lftools-log-publisher 11:05:36 df20fa9351a1: Pulling fs layer 11:05:36 36b3adc4ff6f: Pulling fs layer 11:05:36 8ad3a11d3b57: Pulling fs layer 11:05:36 46f8f816bc3b: Pulling fs layer 11:05:36 93b61091891f: Pulling fs layer 11:05:36 93b9cdb0e59b: Pulling fs layer 11:05:36 5e14af77c1be: Pulling fs layer 11:05:36 01666e4c0597: Pulling fs layer 11:05:36 aa168da1d23b: Pulling fs layer 11:05:36 46f8f816bc3b: Waiting 11:05:36 93b61091891f: Waiting 11:05:36 93b9cdb0e59b: Waiting 11:05:36 5e14af77c1be: Waiting 11:05:36 01666e4c0597: Waiting 11:05:36 aa168da1d23b: Waiting 11:05:36 36b3adc4ff6f: Verifying Checksum 11:05:36 36b3adc4ff6f: Download complete 11:05:36 46f8f816bc3b: Verifying Checksum 11:05:36 46f8f816bc3b: Download complete 11:05:36 df20fa9351a1: Verifying Checksum 11:05:36 df20fa9351a1: Download complete 11:05:36 93b9cdb0e59b: Verifying Checksum 11:05:36 93b9cdb0e59b: Download complete 11:05:36 5e14af77c1be: Verifying Checksum 11:05:36 5e14af77c1be: Download complete 11:05:36 93b61091891f: Verifying Checksum 11:05:36 93b61091891f: Download complete 11:05:36 01666e4c0597: Verifying Checksum 11:05:36 01666e4c0597: Download complete 11:05:37 df20fa9351a1: Pull complete 11:05:37 8ad3a11d3b57: Verifying Checksum 11:05:37 8ad3a11d3b57: Download complete 11:05:37 36b3adc4ff6f: Pull complete 11:05:38 8ad3a11d3b57: Pull complete 11:05:38 46f8f816bc3b: Pull complete 11:05:38 93b61091891f: Pull complete 11:05:38 93b9cdb0e59b: Pull complete 11:05:38 5e14af77c1be: Pull complete 11:05:39 01666e4c0597: Pull complete 11:05:39 aa168da1d23b: Verifying Checksum 11:05:39 aa168da1d23b: Download complete 11:05:44 aa168da1d23b: Pull complete 11:05:44 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 11:05:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 11:05:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 11:05:44 prd-centos7-docker-4c-2g-1196 does not seem to be running inside a container 11:05:44 $ 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-355/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-355 -v /w/workspace/edgexfoundry_device-sdk-c_PR-355:/w/workspace/edgexfoundry_device-sdk-c_PR-355:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-355@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-355@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 11:06:00 $ docker top c81ff266c3581ebc4f175e1478a68ae32cf68fd77828030eef20c1d0477bcf47 -eo pid,comm [Pipeline] { [Pipeline] sh 11:06:00 + touch /tmp/pre-build-complete [Pipeline] sh 11:06:00 + mkdir -p /var/log/sa [Pipeline] sh 11:06:01 + ls /var/log/sa-host 11:06:01 + sadf -c /var/log/sa-host/sa01 11:06:01 file_magic: OK 11:06:01 HZ: Using current value: 100 11:06:01 file_header: OK 11:06:01 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 11:06:01 Statistics: 11:06:01 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 11:06:01 File successfully converted to sysstat format version 12.2.1 11:06:01 + sadf -c /var/log/sa-host/sa05 11:06:01 file_magic: OK 11:06:01 HZ: Using current value: 100 11:06:01 file_header: OK 11:06:01 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 11:06:01 Statistics: 11:06:01 Hnuu...uuuununununu...Hnuu...uuuununununu... 11:06:01 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:06:02 provisioning config files... 11:06:02 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-355@tmp/config3190165661657525101tmp [Pipeline] { [Pipeline] echo 11:06:02 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:06:02 ---> create-netrc.sh [Pipeline] } 11:06:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:06:02 ---> python-tools-install.sh [Pipeline] echo 11:06:03 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:06:03 ---> sudo-logs.sh 11:06:03 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:06:03 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:06:03 ---> job-cost.sh 11:06:03 lf-activate-venv: SKIPPING 11:06:03 INFO: No Stack... 11:06:04 INFO: Retrieving Pricing Info for: v3-standard-2 11:06:05 INFO: Archiving Costs [Pipeline] echo 11:06:05 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:06:05 ---> logs-deploy.sh 11:06:05 lf-activate-venv: SKIPPING 11:06:05 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-355/1 11:06:05 INFO: archiving workspace using pattern(s): 11:06:06 Archives upload complete. 11:06:06 INFO: archiving logs to Nexus 11:06:09 ---> uname -a: 11:06:09 Linux prd-centos7-docker-4c-2g-1196.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux 11:06:09 11:06:09 11:06:09 ---> lscpu: 11:06:09 Architecture: x86_64 11:06:09 CPU op-mode(s): 32-bit, 64-bit 11:06:09 Byte Order: Little Endian 11:06:09 Address sizes: 40 bits physical, 48 bits virtual 11:06:09 CPU(s): 2 11:06:09 On-line CPU(s) list: 0,1 11:06:09 Thread(s) per core: 1 11:06:09 Core(s) per socket: 1 11:06:09 Socket(s): 2 11:06:09 NUMA node(s): 1 11:06:09 Vendor ID: AuthenticAMD 11:06:09 CPU family: 23 11:06:09 Model: 49 11:06:09 Model name: AMD EPYC-Rome Processor 11:06:09 Stepping: 0 11:06:09 CPU MHz: 2800.000 11:06:09 BogoMIPS: 5600.00 11:06:09 Virtualization: AMD-V 11:06:09 Hypervisor vendor: KVM 11:06:09 Virtualization type: full 11:06:09 L1d cache: 64 KiB 11:06:09 L1i cache: 64 KiB 11:06:09 L2 cache: 1 MiB 11:06:09 L3 cache: 32 MiB 11:06:09 NUMA node0 CPU(s): 0,1 11:06:09 Vulnerability Itlb multihit: Not affected 11:06:09 Vulnerability L1tf: Not affected 11:06:09 Vulnerability Mds: Not affected 11:06:09 Vulnerability Meltdown: Not affected 11:06:09 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 11:06:09 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 11:06:09 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 11:06:09 Vulnerability Srbds: Not affected 11:06:09 Vulnerability Tsx async abort: Not affected 11:06:09 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 11:06:09 11:06:09 11:06:09 ---> nproc: 11:06:09 2 11:06:09 11:06:09 11:06:09 ---> df -h: 11:06:09 Filesystem Size Used Available Use% Mounted on 11:06:09 overlay 40.0G 7.6G 32.4G 19% / 11:06:09 tmpfs 64.0M 0 64.0M 0% /dev 11:06:09 tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup 11:06:09 shm 64.0M 0 64.0M 0% /dev/shm 11:06:09 /dev/vda1 40.0G 7.6G 32.4G 19% /facter-os 11:06:09 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/resolv.conf 11:06:09 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hostname 11:06:09 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hosts 11:06:09 /dev/vda1 40.0G 7.6G 32.4G 19% /run/cloud-init/result.json 11:06:09 /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/edgexfoundry_device-sdk-c_PR-355 11:06:09 /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/edgexfoundry_device-sdk-c_PR-355@tmp 11:06:09 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/sa-host 11:06:09 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/secure 11:06:09 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/auth.log 11:06:09 11:06:09 11:06:09 ---> free -m: 11:06:09 total used free shared buff/cache available 11:06:09 Mem: 7821 905 4818 0 2097 6737 11:06:09 Swap: 1023 0 1023 11:06:09 11:06:09 11:06:09 ---> ip addr: 11:06:09 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 11:06:09 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 11:06:09 inet 127.0.0.1/8 scope host lo 11:06:09 valid_lft forever preferred_lft forever 11:06:09 inet6 ::1/128 scope host 11:06:09 valid_lft forever preferred_lft forever 11:06:09 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 11:06:09 link/ether fa:16:3e:5a:e9:7f brd ff:ff:ff:ff:ff:ff 11:06:09 inet 10.30.122.245/23 brd 10.30.123.255 scope global dynamic eth0 11:06:09 valid_lft 85841sec preferred_lft 85841sec 11:06:09 inet6 fe80::f816:3eff:fe5a:e97f/64 scope link 11:06:09 valid_lft forever preferred_lft forever 11:06:09 3: docker0: mtu 1500 qdisc noqueue state DOWN 11:06:09 link/ether 02:42:f5:e9:61:da brd ff:ff:ff:ff:ff:ff 11:06:09 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 11:06:09 valid_lft forever preferred_lft forever 11:06:09 inet6 fe80::42:f5ff:fee9:61da/64 scope link 11:06:09 valid_lft forever preferred_lft forever 11:06:09 11:06:09 11:06:09 ---> sar -b -r -n DEV: 11:06:09 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 07/01/21 _x86_64_ (2 CPU) 11:06:09 11:06:09 10:56:36 LINUX RESTART (2 CPU) 11:06:09 11:06:09 10:57:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 11:06:09 10:58:01 134.51 21.55 112.95 0.00 6028.58 19913.66 0.00 11:06:09 10:59:01 2.78 0.00 2.78 0.00 0.00 92.39 0.00 11:06:09 11:00:01 0.40 0.00 0.40 0.00 0.00 5.15 0.00 11:06:09 11:01:01 0.25 0.00 0.25 0.00 0.00 2.80 0.00 11:06:09 11:02:01 0.45 0.12 0.33 0.00 1.86 5.43 0.00 11:06:09 11:03:01 0.28 0.00 0.28 0.00 0.00 4.58 0.00 11:06:09 11:04:01 0.22 0.00 0.22 0.00 0.00 2.47 0.00 11:06:09 11:05:01 0.28 0.00 0.28 0.00 0.00 4.03 0.00 11:06:09 11:06:01 55.30 0.10 55.20 0.00 9.99 14389.56 0.00 11:06:09 Average: 21.44 2.39 19.05 0.00 662.65 3802.27 0.00 11:06:09 11:06:09 10:57:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:06:09 10:58:01 5471852 0 794308 9.92 2620 1740152 1150488 12.70 564328 1572276 124 11:06:09 10:59:01 5483096 0 783056 9.78 2620 1740160 1065304 11.76 555280 1572244 12 11:06:09 11:00:01 5483232 0 782916 9.78 2620 1740164 1065304 11.76 556696 1570680 8 11:06:09 11:01:01 5480052 0 786092 9.82 2620 1740168 1067648 11.79 558860 1570680 8 11:06:09 11:02:01 5476780 0 789236 9.85 2620 1740296 1115684 12.32 554772 1577708 20 11:06:09 11:03:01 5473952 0 792060 9.89 2620 1740300 1137348 12.56 556860 1577708 8 11:06:09 11:04:01 5475720 0 790288 9.87 2620 1740304 1061992 11.72 556912 1577772 16 11:06:09 11:05:01 5475476 0 790524 9.87 2620 1740312 1062028 11.73 559040 1575832 8 11:06:09 11:06:01 4958392 0 903108 11.28 2620 2144812 1356068 14.97 740100 1841696 24 11:06:09 Average: 5419839 0 801288 10.00 2620 1785185 1120207 12.37 578094 1604066 25 11:06:09 11:06:09 10:57:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:06:09 10:58:01 eth0 597.76 401.39 1128.35 87.40 0.00 0.00 0.00 0.00 11:06:09 10:58:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:06:09 10:58:01 docker0 10.19 6.65 1.21 26.05 0.00 0.00 0.00 0.00 11:06:09 10:59:01 eth0 0.12 0.08 0.01 0.01 0.00 0.00 0.00 0.00 11:06:09 10:59:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:06:09 10:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:06:09 11:00:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 11:06:09 11:00:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:06:09 11:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:06:09 11:01:01 eth0 1.22 0.08 0.11 0.01 0.00 0.00 0.00 0.00 11:06:09 11:01:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:06:09 11:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:06:09 11:02:01 eth0 2.60 2.60 0.64 14.72 0.00 0.00 0.00 0.00 11:06:09 11:02:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:06:09 11:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:06:09 11:03:01 eth0 1.67 1.68 0.23 5.89 0.00 0.00 0.00 0.00 11:06:09 11:03:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:06:09 11:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:06:09 11:04:01 eth0 1.39 0.30 0.37 0.20 0.00 0.00 0.00 0.00 11:06:09 11:04:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:06:09 11:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:06:09 11:05:01 eth0 0.67 0.40 0.29 0.21 0.00 0.00 0.00 0.00 11:06:09 11:05:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:06:09 11:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:06:09 11:06:01 eth0 197.49 168.44 2174.66 18.16 0.00 0.00 0.00 0.00 11:06:09 11:06:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:06:09 11:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:06:09 Average: eth0 88.46 63.40 366.48 13.96 0.00 0.00 0.00 0.00 11:06:09 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:06:09 Average: docker0 1.12 0.73 0.13 2.86 0.00 0.00 0.00 0.00 11:06:09 11:06:09 11:06:09 ---> sar -P ALL: 11:06:09 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 07/01/21 _x86_64_ (2 CPU) 11:06:09 11:06:09 10:56:36 LINUX RESTART (2 CPU) 11:06:09 11:06:09 10:57:02 CPU %user %nice %system %iowait %steal %idle 11:06:09 10:58:01 all 18.25 0.00 6.19 7.72 0.07 67.78 11:06:09 10:58:01 0 18.52 0.00 6.16 6.73 0.07 68.52 11:06:09 10:58:01 1 17.97 0.00 6.21 8.71 0.07 67.03 11:06:09 10:59:01 all 0.20 0.00 0.06 0.00 0.03 99.72 11:06:09 10:59:01 0 0.33 0.00 0.07 0.00 0.03 99.57 11:06:09 10:59:01 1 0.07 0.00 0.05 0.00 0.02 99.87 11:06:09 11:00:01 all 0.16 0.00 0.04 0.00 0.02 99.78 11:06:09 11:00:01 0 0.27 0.00 0.05 0.00 0.02 99.67 11:06:09 11:00:01 1 0.05 0.00 0.03 0.00 0.02 99.90 11:06:09 11:01:01 all 0.15 0.00 0.04 0.00 0.03 99.78 11:06:09 11:01:01 0 0.25 0.00 0.03 0.00 0.02 99.70 11:06:09 11:01:01 1 0.05 0.00 0.05 0.00 0.03 99.87 11:06:09 11:02:01 all 0.18 0.00 0.10 0.02 0.03 99.68 11:06:09 11:02:01 0 0.17 0.00 0.08 0.02 0.02 99.72 11:06:09 11:02:01 1 0.18 0.00 0.12 0.02 0.03 99.65 11:06:09 11:03:01 all 0.19 0.00 0.07 0.00 0.02 99.72 11:06:09 11:03:01 0 0.17 0.00 0.08 0.00 0.03 99.72 11:06:09 11:03:01 1 0.22 0.00 0.05 0.00 0.00 99.73 11:06:09 11:04:01 all 0.16 0.00 0.05 0.00 0.02 99.77 11:06:09 11:04:01 0 0.12 0.00 0.08 0.00 0.02 99.78 11:06:09 11:04:01 1 0.20 0.00 0.02 0.00 0.02 99.76 11:06:09 11:05:01 all 0.11 0.00 0.03 0.00 0.02 99.84 11:06:09 11:05:01 0 0.02 0.00 0.03 0.00 0.02 99.93 11:06:09 11:05:01 1 0.20 0.00 0.03 0.00 0.02 99.75 11:06:09 11:06:01 all 6.97 0.00 3.15 6.70 0.04 83.14 11:06:09 11:06:01 0 6.66 0.00 3.34 4.63 0.05 85.31 11:06:09 11:06:01 1 7.27 0.00 2.96 8.77 0.03 80.97 11:06:09 Average: all 2.84 0.00 1.05 1.56 0.03 94.52 11:06:09 Average: 0 2.85 0.00 1.07 1.23 0.03 94.82 11:06:09 Average: 1 2.82 0.00 1.03 1.90 0.03 94.23 11:06:09 11:06:09 11:06:09