Pull request #378 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jpwhitemn for edgexfoundry/device-sdk-c Loading trusted files from base branch main at 7a06a35f5e1970d7e6c57a4398d31db003ba8da7 rather than c0b6e8bd24dcdb5f0e4ec5bfa39f751883ce9e32 Obtained Jenkinsfile from 7a06a35f5e1970d7e6c57a4398d31db003ba8da7 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh950470894726753123.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4885058472965937337.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 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-378/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-378/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh133937489227672711.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 # timeout=10 Commit message: "Merge pull request #353 from ernestojeda/go-mod-tidy-change" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9176884624884675940.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-378/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-378/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7008407832410214374.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-121 in /w/workspace/edgexfoundry_device-sdk-c_PR-378 [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-378 # 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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-378@tmp/jenkins-gitclient-ssh8177308939626807478.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 7a06a35f5e1970d7e6c57a4398d31db003ba8da7 into PR head commit c0b6e8bd24dcdb5f0e4ec5bfa39f751883ce9e32 Merge succeeded, producing c0b6e8bd24dcdb5f0e4ec5bfa39f751883ce9e32 Checking out Revision c0b6e8bd24dcdb5f0e4ec5bfa39f751883ce9e32 (PR-378) > 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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-378@tmp/jenkins-gitclient-ssh8916501600623642854.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/378/head:refs/remotes/origin/PR-378 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c0b6e8bd24dcdb5f0e4ec5bfa39f751883ce9e32 # 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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-378@tmp/jenkins-gitclient-ssh6010347680269579339.key > git merge 7a06a35f5e1970d7e6c57a4398d31db003ba8da7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c0b6e8bd24dcdb5f0e4ec5bfa39f751883ce9e32 # timeout=10 Commit message: "build: update repository information for alpine 3.1" > git rev-list --no-walk ec03e308a5322abdebf67ad2513e798fc042b063 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-09-29T13:53:15.876Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-09-29T13:53:15.970Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-09-29T13:53:15.997Z] ========================================================= [2021-09-29T13:53:15.997Z] EdgeX Global Pipelines Version Info [2021-09-29T13:53:15.997Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-09-29T13:53:17.255Z] ------------------- [2021-09-29T13:53:17.255Z] stable info: [2021-09-29T13:53:17.255Z] ------------------- [2021-09-29T13:53:17.255Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-09-29T13:53:17.255Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-09-29T13:53:17.255Z] Message: update stable to v1.0.205 [2021-09-29T13:53:17.842Z] ------------------- [2021-09-29T13:53:17.842Z] experimental info: [2021-09-29T13:53:17.842Z] ------------------- [2021-09-29T13:53:17.842Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-09-29T13:53:17.842Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-09-29T13:53:17.842Z] Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-09-29T13:53:17.985Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2021-09-29T13:53:18.021Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2021-09-29T13:53:18.043Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-09-29T13:53:18.066Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-09-29T13:53:18.089Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-09-29T13:53:18.126Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo [2021-09-29T13:53:18.149Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2021-09-29T13:53:18.171Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2021-09-29T13:53:18.194Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-09-29T13:53:18.229Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-09-29T13:53:18.253Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2021-09-29T13:53:18.277Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-09-29T13:53:18.299Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-09-29T13:53:18.343Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-09-29T13:53:18.366Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-09-29T13:53:18.388Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-09-29T13:53:18.411Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-09-29T13:53:18.449Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-09-29T13:53:18.472Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-378 [Pipeline] echo [2021-09-29T13:53:18.494Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-378 [Pipeline] echo [2021-09-29T13:53:18.517Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-378 [Pipeline] echo [2021-09-29T13:53:18.553Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c0b6e8bd24dcdb5f0e4ec5bfa39f751883ce9e32 [Pipeline] echo [2021-09-29T13:53:18.574Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c0b6e8b [Pipeline] echo [2021-09-29T13:53:18.596Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-09-29T13:53:18.690Z] provisioning config files... [2021-09-29T13:53:18.712Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-378@tmp/config2726689734384044207tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-09-29T13:53:19.049Z] ---> docker-login.sh [2021-09-29T13:53:19.049Z] nexus3.edgexfoundry.org:10001 [2021-09-29T13:53:19.049Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-29T13:53:19.321Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-29T13:53:19.321Z] Configure a credential helper to remove this warning. See [2021-09-29T13:53:19.321Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-29T13:53:19.321Z] [2021-09-29T13:53:19.321Z] Login Succeeded [2021-09-29T13:53:19.321Z] nexus3.edgexfoundry.org:10002 [2021-09-29T13:53:19.321Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-29T13:53:19.587Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-29T13:53:19.587Z] Configure a credential helper to remove this warning. See [2021-09-29T13:53:19.587Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-29T13:53:19.587Z] [2021-09-29T13:53:19.587Z] Login Succeeded [2021-09-29T13:53:19.587Z] nexus3.edgexfoundry.org:10003 [2021-09-29T13:53:19.587Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-29T13:53:19.587Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-29T13:53:19.587Z] Configure a credential helper to remove this warning. See [2021-09-29T13:53:19.587Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-29T13:53:19.587Z] [2021-09-29T13:53:19.587Z] Login Succeeded [2021-09-29T13:53:19.587Z] nexus3.edgexfoundry.org:10004 [2021-09-29T13:53:19.587Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-29T13:53:19.852Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-29T13:53:19.852Z] Configure a credential helper to remove this warning. See [2021-09-29T13:53:19.852Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-29T13:53:19.852Z] [2021-09-29T13:53:19.852Z] Login Succeeded [2021-09-29T13:53:19.852Z] docker.io [2021-09-29T13:53:19.852Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-29T13:53:20.122Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-29T13:53:20.122Z] Configure a credential helper to remove this warning. See [2021-09-29T13:53:20.122Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-29T13:53:20.122Z] [2021-09-29T13:53:20.122Z] Login Succeeded [2021-09-29T13:53:20.122Z] ---> docker-login.sh ends [Pipeline] } [2021-09-29T13:53:20.135Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2021-09-29T13:53:21.879Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-09-29T13:53:21.879Z] [2021-09-29T13:53:21.879Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-09-29T13:53:22.220Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-09-29T13:53:22.220Z] latest: Pulling from edgex-devops/git-semver [2021-09-29T13:53:22.220Z] 31603596830f: Pulling fs layer [2021-09-29T13:53:22.220Z] 04fac38145f0: Pulling fs layer [2021-09-29T13:53:22.220Z] 701f6daf10bf: Pulling fs layer [2021-09-29T13:53:22.220Z] 24f72da36158: Pulling fs layer [2021-09-29T13:53:22.220Z] 24f72da36158: Waiting [2021-09-29T13:53:22.220Z] 04fac38145f0: Verifying Checksum [2021-09-29T13:53:22.220Z] 04fac38145f0: Download complete [2021-09-29T13:53:22.498Z] 31603596830f: Verifying Checksum [2021-09-29T13:53:22.498Z] 31603596830f: Download complete [2021-09-29T13:53:22.767Z] 31603596830f: Pull complete [2021-09-29T13:53:22.767Z] 04fac38145f0: Pull complete [2021-09-29T13:53:22.767Z] 24f72da36158: Verifying Checksum [2021-09-29T13:53:22.767Z] 24f72da36158: Download complete [2021-09-29T13:53:22.767Z] 701f6daf10bf: Verifying Checksum [2021-09-29T13:53:22.767Z] 701f6daf10bf: Download complete [2021-09-29T13:53:23.360Z] 701f6daf10bf: Pull complete [2021-09-29T13:53:23.635Z] 24f72da36158: Pull complete [2021-09-29T13:53:23.635Z] Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 [2021-09-29T13:53:23.635Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-09-29T13:53:23.635Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-09-29T13:53:23.736Z] prd-centos7-docker-4c-2g-121 does not seem to be running inside a container [2021-09-29T13:53:23.793Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-378 -v /w/workspace/edgexfoundry_device-sdk-c_PR-378:/w/workspace/edgexfoundry_device-sdk-c_PR-378:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-378@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-378@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-09-29T13:53:24.533Z] $ docker top a84341aefa0f56a1b5aef67843939a81c1c5630e34b55d0b69f766ec65d0476e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-09-29T13:53:24.660Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-09-29T13:53:24.660Z] [ssh-agent] Looking for ssh-agent implementation... [2021-09-29T13:53:24.778Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-09-29T13:53:24.780Z] $ docker exec a84341aefa0f56a1b5aef67843939a81c1c5630e34b55d0b69f766ec65d0476e ssh-agent [2021-09-29T13:53:24.892Z] SSH_AUTH_SOCK=/tmp/ssh-cIDt8ELtDMfF/agent.13 [2021-09-29T13:53:24.892Z] SSH_AGENT_PID=20 [2021-09-29T13:53:24.905Z] Running ssh-add (command line suppressed) [2021-09-29T13:53:25.018Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-378@tmp/private_key_4921862113312126016.key (/w/workspace/edgexfoundry_device-sdk-c_PR-378@tmp/private_key_4921862113312126016.key) [2021-09-29T13:53:25.039Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-09-29T13:53:25.355Z] + git tag --points-at HEAD [Pipeline] } [2021-09-29T13:53:25.395Z] $ docker exec --env ******** --env ******** a84341aefa0f56a1b5aef67843939a81c1c5630e34b55d0b69f766ec65d0476e ssh-agent -k [2021-09-29T13:53:25.489Z] unset SSH_AUTH_SOCK; [2021-09-29T13:53:25.489Z] unset SSH_AGENT_PID; [2021-09-29T13:53:25.489Z] echo Agent pid 20 killed; [2021-09-29T13:53:25.509Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-09-29T13:53:25.551Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-09-29T13:53:25.552Z] [ssh-agent] Looking for ssh-agent implementation... [2021-09-29T13:53:25.672Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-09-29T13:53:25.674Z] $ docker exec a84341aefa0f56a1b5aef67843939a81c1c5630e34b55d0b69f766ec65d0476e ssh-agent [2021-09-29T13:53:25.808Z] SSH_AUTH_SOCK=/tmp/ssh-VXsedz6zel6J/agent.53 [2021-09-29T13:53:25.808Z] SSH_AGENT_PID=59 [2021-09-29T13:53:25.817Z] Running ssh-add (command line suppressed) [2021-09-29T13:53:25.928Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-378@tmp/private_key_1771178182216126630.key (/w/workspace/edgexfoundry_device-sdk-c_PR-378@tmp/private_key_1771178182216126630.key) [2021-09-29T13:53:25.952Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-09-29T13:53:26.268Z] + git semver init [2021-09-29T13:53:26.268Z] # -> Open(): unable to determine branch for HEAD [2021-09-29T13:53:26.268Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-378/.git [2021-09-29T13:53:26.268Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-378 [2021-09-29T13:53:26.268Z] # $SEMVER_REMOTE_NAME = origin [2021-09-29T13:53:26.268Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-09-29T13:53:26.268Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-09-29T13:53:26.268Z] # $SEMVER_BRANCH = PR-378 [2021-09-29T13:53:26.268Z] # $SEMVER_TEMP = /tmp/semver-962815746 [2021-09-29T13:53:26.268Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2021-09-29T13:53:36.345Z] # '/tmp/semver-962815746' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-378/.semver' [2021-09-29T13:53:36.345Z] # -> Force: false [2021-09-29T13:53:36.345Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-378/.semver [Pipeline] } [2021-09-29T13:53:36.369Z] $ docker exec --env ******** --env ******** a84341aefa0f56a1b5aef67843939a81c1c5630e34b55d0b69f766ec65d0476e ssh-agent -k [2021-09-29T13:53:36.460Z] unset SSH_AUTH_SOCK; [2021-09-29T13:53:36.461Z] unset SSH_AGENT_PID; [2021-09-29T13:53:36.461Z] echo Agent pid 59 killed; [2021-09-29T13:53:36.484Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-09-29T13:53:36.833Z] + git semver [Pipeline] } [2021-09-29T13:53:36.853Z] $ docker stop --time=1 a84341aefa0f56a1b5aef67843939a81c1c5630e34b55d0b69f766ec65d0476e [2021-09-29T13:53:38.079Z] $ docker rm -f a84341aefa0f56a1b5aef67843939a81c1c5630e34b55d0b69f766ec65d0476e [Pipeline] // withDockerContainer [Pipeline] sh [2021-09-29T13:53:38.468Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-09-29T13:53:38.824Z] Stashed 1 file(s) [Pipeline] echo [2021-09-29T13:53:38.828Z] [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 [2021-09-29T13:53:54.041Z] Still waiting to schedule task [2021-09-29T13:53:54.042Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-121’ [2021-09-29T13:53:54.044Z] Still waiting to schedule task [2021-09-29T13:53:54.044Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-09-29T13:56:58.134Z] Running on prd-centos7-docker-4c-2g-125 in /w/workspace/edgexfoundry_device-sdk-c_PR-378 [Pipeline] { [Pipeline] ws [2021-09-29T13:56:58.156Z] Running in /w/workspace/device-sdk-c/5 [Pipeline] { [Pipeline] checkout [2021-09-29T13:56:58.567Z] Selected Git installation does not exist. Using Default [2021-09-29T13:56:58.568Z] The recommended git tool is: NONE [2021-09-29T13:57:01.769Z] using credential edgex-jenkins-ssh [2021-09-29T13:57:01.785Z] Cloning the remote Git repository [2021-09-29T13:57:01.813Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-09-29T13:57:01.886Z] > git init /w/workspace/device-sdk-c/5 # timeout=10 [2021-09-29T13:57:01.936Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-09-29T13:57:01.936Z] > git --version # timeout=10 [2021-09-29T13:57:01.945Z] > git --version # 'git version 2.24.4' [2021-09-29T13:57:01.946Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-09-29T13:57:01.980Z] [INFO] Currently running in a labeled security context [2021-09-29T13:57:01.980Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-09-29T13:57:01.980Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/5@tmp/jenkins-gitclient-ssh8737070498487704333.key [2021-09-29T13:57:01.989Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-09-29T13:57:03.154Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-09-29T13:57:03.169Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-09-29T13:57:03.192Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-09-29T13:57:03.210Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-09-29T13:57:03.210Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-09-29T13:57:03.211Z] [INFO] Currently running in a labeled security context [2021-09-29T13:57:03.211Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-09-29T13:57:03.211Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/5@tmp/jenkins-gitclient-ssh3499002628636341733.key [2021-09-29T13:57:03.863Z] Merging remotes/origin/main commit 7a06a35f5e1970d7e6c57a4398d31db003ba8da7 into PR head commit c0b6e8bd24dcdb5f0e4ec5bfa39f751883ce9e32 [2021-09-29T13:57:04.003Z] Merge succeeded, producing c0b6e8bd24dcdb5f0e4ec5bfa39f751883ce9e32 [2021-09-29T13:57:04.004Z] Checking out Revision c0b6e8bd24dcdb5f0e4ec5bfa39f751883ce9e32 (PR-378) [2021-09-29T13:57:03.223Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/378/head:refs/remotes/origin/PR-378 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-09-29T13:57:03.881Z] > git config core.sparsecheckout # timeout=10 [2021-09-29T13:57:03.892Z] > git checkout -f c0b6e8bd24dcdb5f0e4ec5bfa39f751883ce9e32 # timeout=10 [2021-09-29T13:57:03.952Z] > git remote # timeout=10 [2021-09-29T13:57:03.963Z] > git config --get remote.origin.url # timeout=10 [2021-09-29T13:57:03.970Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-09-29T13:57:03.970Z] [INFO] Currently running in a labeled security context [2021-09-29T13:57:03.971Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-09-29T13:57:03.971Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/5@tmp/jenkins-gitclient-ssh2817269892749067895.key [2021-09-29T13:57:03.977Z] > git merge 7a06a35f5e1970d7e6c57a4398d31db003ba8da7 # timeout=10 [2021-09-29T13:57:03.991Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-09-29T13:57:04.005Z] > git config core.sparsecheckout # timeout=10 [2021-09-29T13:57:04.014Z] > git checkout -f c0b6e8bd24dcdb5f0e4ec5bfa39f751883ce9e32 # timeout=10 [2021-09-29T13:57:07.857Z] Commit message: "build: update repository information for alpine 3.1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-09-29T13:57:08.561Z] provisioning config files... [2021-09-29T13:57:08.586Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/5@tmp/config7712600731439478277tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-09-29T13:57:09.063Z] ---> docker-login.sh [2021-09-29T13:57:09.063Z] nexus3.edgexfoundry.org:10001 [2021-09-29T13:57:09.063Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-29T13:57:09.332Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-29T13:57:09.332Z] Configure a credential helper to remove this warning. See [2021-09-29T13:57:09.332Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-29T13:57:09.332Z] [2021-09-29T13:57:09.332Z] Login Succeeded [2021-09-29T13:57:09.332Z] nexus3.edgexfoundry.org:10002 [2021-09-29T13:57:09.332Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-29T13:57:09.601Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-29T13:57:09.601Z] Configure a credential helper to remove this warning. See [2021-09-29T13:57:09.601Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-29T13:57:09.601Z] [2021-09-29T13:57:09.601Z] Login Succeeded [2021-09-29T13:57:09.601Z] nexus3.edgexfoundry.org:10003 [2021-09-29T13:57:09.601Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-29T13:57:09.601Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-29T13:57:09.601Z] Configure a credential helper to remove this warning. See [2021-09-29T13:57:09.601Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-29T13:57:09.601Z] [2021-09-29T13:57:09.601Z] Login Succeeded [2021-09-29T13:57:09.601Z] nexus3.edgexfoundry.org:10004 [2021-09-29T13:57:09.873Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-29T13:57:09.873Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-29T13:57:09.873Z] Configure a credential helper to remove this warning. See [2021-09-29T13:57:09.873Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-29T13:57:09.873Z] [2021-09-29T13:57:09.873Z] Login Succeeded [2021-09-29T13:57:09.873Z] docker.io [2021-09-29T13:57:09.873Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-29T13:57:10.457Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-29T13:57:10.457Z] Configure a credential helper to remove this warning. See [2021-09-29T13:57:10.457Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-29T13:57:10.457Z] [2021-09-29T13:57:10.457Z] Login Succeeded [2021-09-29T13:57:10.457Z] ---> docker-login.sh ends [Pipeline] } [2021-09-29T13:57:10.515Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-09-29T13:57:10.742Z] ========================================================= [2021-09-29T13:57:10.742Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2021-09-29T13:57:10.742Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-09-29T13:57:11.094Z] + 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 . [2021-09-29T13:57:11.094Z] Sending build context to Docker daemon 2.69MB [2021-09-29T13:57:11.094Z] Step 1/25 : ARG BASE=alpine:3.14 [2021-09-29T13:57:11.094Z] Step 2/25 : FROM ${BASE} as builder [2021-09-29T13:57:11.364Z] latest: Pulling from edgex-devops/edgex-gcc-base [2021-09-29T13:57:11.364Z] 339de151aab4: Pulling fs layer [2021-09-29T13:57:11.364Z] 3691962f683c: Pulling fs layer [2021-09-29T13:57:11.364Z] e1147bf81a45: Pulling fs layer [2021-09-29T13:57:11.364Z] 3691962f683c: Download complete [2021-09-29T13:57:11.645Z] 339de151aab4: Verifying Checksum [2021-09-29T13:57:11.645Z] 339de151aab4: Download complete [2021-09-29T13:57:11.916Z] 339de151aab4: Pull complete [2021-09-29T13:57:11.916Z] 3691962f683c: Pull complete [2021-09-29T13:57:16.188Z] e1147bf81a45: Verifying Checksum [2021-09-29T13:57:16.188Z] e1147bf81a45: Download complete [2021-09-29T13:57:18.797Z] e1147bf81a45: Pull complete [2021-09-29T13:57:18.797Z] Digest: sha256:32c567f17180c4abff101a0d389449dec7f3f623a221c8a8ae98dcac9b0d9fee [2021-09-29T13:57:18.797Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2021-09-29T13:57:18.797Z] ---> ac6a0feb3254 [2021-09-29T13:57:18.797Z] Step 3/25 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2021-09-29T13:57:21.388Z] ---> Running in a7ee1556d6a7 [2021-09-29T13:57:21.388Z] Connecting to iotech.jfrog.io (54.72.115.12:443) [2021-09-29T13:57:21.676Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2021-09-29T13:57:21.676Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2021-09-29T13:57:21.676Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2021-09-29T13:57:21.950Z] Removing intermediate container a7ee1556d6a7 [2021-09-29T13:57:21.950Z] ---> a285d2d82a78 [2021-09-29T13:57:21.950Z] Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2021-09-29T13:57:21.950Z] ---> Running in 21a681fd00d2 [2021-09-29T13:57:22.545Z] Removing intermediate container 21a681fd00d2 [2021-09-29T13:57:22.545Z] ---> 012dfaa5b192 [2021-09-29T13:57:22.545Z] 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-1.3 hiredis-dev [2021-09-29T13:57:22.545Z] ---> Running in f773ace4f866 [2021-09-29T13:57:22.813Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-09-29T13:57:23.776Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-09-29T13:57:24.043Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz [2021-09-29T13:57:24.627Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2021-09-29T13:57:24.893Z] (1/22) Installing hiredis (0.14.1-r0) [2021-09-29T13:57:24.893Z] (2/22) Installing hiredis-dev (0.14.1-r0) [2021-09-29T13:57:25.160Z] (3/22) Installing ncurses-dev (6.2_p20200523-r0) [2021-09-29T13:57:25.160Z] (4/22) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2021-09-29T13:57:26.122Z] (5/22) Installing libblkid (2.35.2-r0) [2021-09-29T13:57:26.122Z] (6/22) Installing blkid (2.35.2-r0) [2021-09-29T13:57:26.393Z] (7/22) Installing libcap-ng (0.7.10-r1) [2021-09-29T13:57:26.393Z] (8/22) Installing setpriv (2.35.2-r0) [2021-09-29T13:57:26.393Z] (9/22) Installing libmount (2.35.2-r0) [2021-09-29T13:57:26.991Z] (10/22) Installing libsmartcols (2.35.2-r0) [2021-09-29T13:57:27.259Z] (11/22) Installing findmnt (2.35.2-r0) [2021-09-29T13:57:27.259Z] (12/22) Installing mcookie (2.35.2-r0) [2021-09-29T13:57:27.259Z] (13/22) Installing hexdump (2.35.2-r0) [2021-09-29T13:57:27.528Z] (14/22) Installing lsblk (2.35.2-r0) [2021-09-29T13:57:27.528Z] (15/22) Installing libuuid (2.35.2-r0) [2021-09-29T13:57:27.528Z] (16/22) Installing libfdisk (2.35.2-r0) [2021-09-29T13:57:27.796Z] (17/22) Installing sfdisk (2.35.2-r0) [2021-09-29T13:57:27.796Z] (18/22) Installing cfdisk (2.35.2-r0) [2021-09-29T13:57:28.062Z] (19/22) Installing util-linux (2.35.2-r0) [2021-09-29T13:57:28.645Z] (20/22) Installing util-linux-dev (2.35.2-r0) [2021-09-29T13:57:29.233Z] (21/22) Installing libidn2 (2.3.0-r0) [2021-09-29T13:57:29.233Z] (22/22) Installing wget (1.20.3-r1) [2021-09-29T13:57:29.499Z] Executing busybox-1.31.1-r20.trigger [2021-09-29T13:57:29.499Z] OK: 295 MiB in 97 packages [2021-09-29T13:57:30.086Z] Removing intermediate container f773ace4f866 [2021-09-29T13:57:30.086Z] ---> 121043585ab6 [2021-09-29T13:57:30.086Z] Step 6/25 : ENV CBOR_VERSION=0.5.0 [2021-09-29T13:57:30.086Z] ---> Running in cce8f01c46c8 [2021-09-29T13:57:30.357Z] Removing intermediate container cce8f01c46c8 [2021-09-29T13:57:30.357Z] ---> a730f33c5012 [2021-09-29T13:57:30.357Z] 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 [2021-09-29T13:57:30.357Z] ---> Running in 09a2a2f5f0aa [2021-09-29T13:57:30.622Z] --2021-09-29 13:57:30-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-09-29T13:57:30.622Z] Resolving github.com (github.com)... 140.82.114.4 [2021-09-29T13:57:30.622Z] Connecting to github.com (github.com)|140.82.114.4|:443... connected. [2021-09-29T13:57:30.622Z] HTTP request sent, awaiting response... 302 Found [2021-09-29T13:57:30.622Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-09-29T13:57:30.622Z] --2021-09-29 13:57:30-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-09-29T13:57:30.622Z] Resolving codeload.github.com (codeload.github.com)... 140.82.112.10 [2021-09-29T13:57:30.891Z] Connecting to codeload.github.com (codeload.github.com)|140.82.112.10|:443... connected. [2021-09-29T13:57:30.891Z] HTTP request sent, awaiting response... 200 OK [2021-09-29T13:57:30.891Z] Length: unspecified [application/x-gzip] [2021-09-29T13:57:30.891Z] Saving to: 'STDOUT' [2021-09-29T13:57:30.891Z] [2021-09-29T13:57:31.164Z] 0K .......... .......... .......... .......... .......... 1.09M [2021-09-29T13:57:31.164Z] 50K .......... .......... .......... .......... .......... 2.07M [2021-09-29T13:57:31.164Z] 100K .......... .......... .......... .......... .......... 14.7M [2021-09-29T13:57:31.164Z] 150K .......... .......... .......... .......... .......... 51.0M [2021-09-29T13:57:31.164Z] 200K .......... .......... .......... .......... .......... 2.44M [2021-09-29T13:57:31.164Z] 250K .......... .......... .......... .......... .......... 15.0M [2021-09-29T13:57:31.164Z] 300K .......... .......... .......... .......... .......... 9.10M [2021-09-29T13:57:31.164Z] 350K .......... .......... .......... .......... .......... 1.56M [2021-09-29T13:57:31.164Z] 400K .......... .......... .......... .......... .......... 25.2M [2021-09-29T13:57:31.164Z] 450K .......... .......... .......... .......... .......... 17.3M [2021-09-29T13:57:31.164Z] 500K .......... .......... .......... .......... .......... 13.9M [2021-09-29T13:57:31.164Z] 550K .......... .......... .......... .......... .......... 7.56M [2021-09-29T13:57:31.164Z] 600K .......... .......... .......... .......... .......... 4.52M [2021-09-29T13:57:31.164Z] 650K .......... .......... .......... .......... .......... 6.14M [2021-09-29T13:57:31.164Z] 700K .. 4746G=0.2s [2021-09-29T13:57:31.164Z] [2021-09-29T13:57:31.164Z] 2021-09-29 13:57:31 (4.13 MB/s) - written to stdout [719348] [2021-09-29T13:57:31.164Z] [2021-09-29T13:57:31.164Z] -- The C compiler identification is GNU 9.3.0 [2021-09-29T13:57:31.431Z] -- The CXX compiler identification is GNU 9.3.0 [2021-09-29T13:57:31.431Z] -- Check for working C compiler: /usr/bin/cc [2021-09-29T13:57:31.431Z] -- Check for working C compiler: /usr/bin/cc - works [2021-09-29T13:57:31.431Z] -- Detecting C compiler ABI info [2021-09-29T13:57:31.431Z] -- Detecting C compiler ABI info - done [2021-09-29T13:57:31.431Z] -- Detecting C compile features [2021-09-29T13:57:31.431Z] -- Detecting C compile features - done [2021-09-29T13:57:31.431Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-09-29T13:57:31.700Z] -- Check for working CXX compiler: /usr/bin/c++ - works [2021-09-29T13:57:31.700Z] -- Detecting CXX compiler ABI info [2021-09-29T13:57:31.700Z] -- Detecting CXX compiler ABI info - done [2021-09-29T13:57:31.700Z] -- Detecting CXX compile features [2021-09-29T13:57:31.700Z] -- Detecting CXX compile features - done [2021-09-29T13:57:31.700Z] -- Looking for include file endian.h [2021-09-29T13:57:31.700Z] -- Looking for include file endian.h - found [2021-09-29T13:57:31.700Z] -- Check if the system is big endian [2021-09-29T13:57:31.700Z] -- Searching 16 bit integer [2021-09-29T13:57:31.700Z] -- Looking for sys/types.h [2021-09-29T13:57:31.974Z] -- Looking for sys/types.h - found [2021-09-29T13:57:31.974Z] -- Looking for stdint.h [2021-09-29T13:57:31.974Z] -- Looking for stdint.h - found [2021-09-29T13:57:31.974Z] -- Looking for stddef.h [2021-09-29T13:57:31.974Z] -- Looking for stddef.h - found [2021-09-29T13:57:31.974Z] -- Check size of unsigned short [2021-09-29T13:57:31.974Z] -- Check size of unsigned short - done [2021-09-29T13:57:31.974Z] -- Searching 16 bit integer - Using unsigned short [2021-09-29T13:57:32.245Z] -- Check if the system is big endian - little endian [2021-09-29T13:57:32.245Z] -- Check size of size_t [2021-09-29T13:57:32.245Z] -- Check size of size_t - done [2021-09-29T13:57:32.245Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-09-29T13:57:32.245Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-09-29T13:57:32.245Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-09-29T13:57:32.245Z] CMake did not find one. [2021-09-29T13:57:32.245Z] [2021-09-29T13:57:32.245Z] Could not find a package configuration file provided by "cJSON" with any of [2021-09-29T13:57:32.245Z] the following names: [2021-09-29T13:57:32.245Z] [2021-09-29T13:57:32.245Z] cJSONConfig.cmake [2021-09-29T13:57:32.245Z] cjson-config.cmake [2021-09-29T13:57:32.245Z] [2021-09-29T13:57:32.245Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-09-29T13:57:32.245Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-09-29T13:57:32.245Z] provides a separate development package or SDK, be sure it has been [2021-09-29T13:57:32.245Z] installed. [2021-09-29T13:57:32.245Z] [2021-09-29T13:57:32.245Z] [2021-09-29T13:57:32.245Z] -- Configuring done [2021-09-29T13:57:32.245Z] -- Generating done [2021-09-29T13:57:32.245Z] -- Build files have been written to: /tmp/cbor [2021-09-29T13:57:32.245Z] Scanning dependencies of target cbor_shared [2021-09-29T13:57:32.245Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-09-29T13:57:32.514Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-09-29T13:57:32.514Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-09-29T13:57:32.783Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-09-29T13:57:32.783Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-09-29T13:57:32.783Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-09-29T13:57:32.783Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-09-29T13:57:33.055Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-09-29T13:57:33.055Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-09-29T13:57:33.055Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-09-29T13:57:33.055Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-09-29T13:57:33.330Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-09-29T13:57:33.330Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-09-29T13:57:33.330Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-09-29T13:57:33.596Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-09-29T13:57:33.596Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-09-29T13:57:33.596Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-09-29T13:57:33.596Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-09-29T13:57:33.596Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-09-29T13:57:33.863Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-09-29T13:57:33.863Z] [ 40%] Linking C shared library libcbor.so [2021-09-29T13:57:33.863Z] [ 40%] Built target cbor_shared [2021-09-29T13:57:33.863Z] Scanning dependencies of target cbor [2021-09-29T13:57:33.863Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-09-29T13:57:34.132Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-09-29T13:57:34.132Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-09-29T13:57:34.132Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-09-29T13:57:34.404Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-09-29T13:57:34.678Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-09-29T13:57:34.678Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-09-29T13:57:34.678Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-09-29T13:57:34.678Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-09-29T13:57:34.947Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-09-29T13:57:34.947Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-09-29T13:57:34.947Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-09-29T13:57:35.218Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-09-29T13:57:35.218Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-09-29T13:57:35.218Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-09-29T13:57:35.218Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-09-29T13:57:35.490Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-09-29T13:57:35.490Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-09-29T13:57:35.490Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-09-29T13:57:35.490Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-09-29T13:57:35.758Z] [ 80%] Linking C static library libcbor.a [2021-09-29T13:57:35.758Z] [ 80%] Built target cbor [2021-09-29T13:57:35.758Z] Scanning dependencies of target sort [2021-09-29T13:57:35.758Z] [ 82%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-09-29T13:57:35.758Z] [ 84%] Linking C executable sort [2021-09-29T13:57:35.758Z] [ 84%] Built target sort [2021-09-29T13:57:35.758Z] Scanning dependencies of target readfile [2021-09-29T13:57:35.758Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-09-29T13:57:35.758Z] [ 88%] Linking C executable readfile [2021-09-29T13:57:35.758Z] [ 88%] Built target readfile [2021-09-29T13:57:35.758Z] Scanning dependencies of target streaming_parser [2021-09-29T13:57:35.758Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-09-29T13:57:36.031Z] [ 92%] Linking C executable streaming_parser [2021-09-29T13:57:36.031Z] [ 92%] Built target streaming_parser [2021-09-29T13:57:36.031Z] Scanning dependencies of target hello [2021-09-29T13:57:36.031Z] [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-09-29T13:57:36.031Z] [ 96%] Linking C executable hello [2021-09-29T13:57:36.031Z] [ 96%] Built target hello [2021-09-29T13:57:36.031Z] Scanning dependencies of target create_items [2021-09-29T13:57:36.031Z] [ 98%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-09-29T13:57:36.031Z] [100%] Linking C executable create_items [2021-09-29T13:57:36.031Z] [100%] Built target create_items [2021-09-29T13:57:36.031Z] Install the project... [2021-09-29T13:57:36.031Z] -- Install configuration: "Release" [2021-09-29T13:57:36.031Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-09-29T13:57:36.031Z] -- Installing: /usr/local/lib64/libcbor.a [2021-09-29T13:57:36.031Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-09-29T13:57:36.031Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-09-29T13:57:36.031Z] -- Installing: /usr/local/lib64/libcbor.so [2021-09-29T13:57:36.031Z] -- Up-to-date: /usr/local/include/cbor [2021-09-29T13:57:36.031Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-09-29T13:57:36.031Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-09-29T13:57:36.031Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-09-29T13:57:36.031Z] -- Installing: /usr/local/include/cbor/common.h [2021-09-29T13:57:36.031Z] -- Installing: /usr/local/include/cbor/data.h [2021-09-29T13:57:36.031Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-09-29T13:57:36.031Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-09-29T13:57:36.031Z] -- Installing: /usr/local/include/cbor/internal [2021-09-29T13:57:36.031Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-09-29T13:57:36.031Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-09-29T13:57:36.031Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-09-29T13:57:36.031Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-09-29T13:57:36.031Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-09-29T13:57:36.031Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-09-29T13:57:36.031Z] -- Installing: /usr/local/include/cbor/ints.h [2021-09-29T13:57:36.031Z] -- Installing: /usr/local/include/cbor/maps.h [2021-09-29T13:57:36.031Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-09-29T13:57:36.031Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-09-29T13:57:36.031Z] -- Installing: /usr/local/include/cbor/strings.h [2021-09-29T13:57:36.031Z] -- Installing: /usr/local/include/cbor/tags.h [2021-09-29T13:57:36.031Z] -- Installing: /usr/local/include/cbor.h [2021-09-29T13:57:36.031Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-09-29T13:57:36.993Z] Removing intermediate container 09a2a2f5f0aa [2021-09-29T13:57:36.993Z] ---> 5ad2e9fb67db [2021-09-29T13:57:36.993Z] Step 8/25 : RUN mkdir /tmp/sdk [2021-09-29T13:57:36.993Z] ---> Running in 9d87f99f0903 [2021-09-29T13:57:37.582Z] Removing intermediate container 9d87f99f0903 [2021-09-29T13:57:37.582Z] ---> 459c2f8d5d09 [2021-09-29T13:57:37.582Z] Step 9/25 : COPY VERSION /tmp/sdk [2021-09-29T13:57:37.582Z] ---> ab801f8c58b3 [2021-09-29T13:57:37.582Z] Step 10/25 : COPY src /tmp/sdk/src [2021-09-29T13:57:37.861Z] ---> 733911bd92a1 [2021-09-29T13:57:37.861Z] Step 11/25 : COPY include /tmp/sdk/include [2021-09-29T13:57:38.102Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-124 in /w/workspace/edgexfoundry_device-sdk-c_PR-378 [Pipeline] { [Pipeline] ws [2021-09-29T13:57:38.125Z] Running in /w/workspace/device-sdk-c/5 [Pipeline] { [2021-09-29T13:57:38.134Z] ---> 5114654e5884 [2021-09-29T13:57:38.134Z] Step 12/25 : COPY scripts /tmp/sdk/scripts [Pipeline] checkout [2021-09-29T13:57:38.402Z] ---> 7d91438af690 [2021-09-29T13:57:38.402Z] Step 13/25 : COPY LICENSE /tmp/sdk [2021-09-29T13:57:38.402Z] ---> 4bee69ad5bcf [2021-09-29T13:57:38.402Z] Step 14/25 : COPY Attribution.txt /tmp/sdk [2021-09-29T13:57:38.537Z] Selected Git installation does not exist. Using Default [2021-09-29T13:57:38.538Z] The recommended git tool is: NONE [2021-09-29T13:57:38.672Z] ---> 9c3a0557bcd1 [2021-09-29T13:57:38.672Z] Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-09-29T13:57:38.672Z] ---> Running in 7998972a1e44 [2021-09-29T13:57:38.944Z] + CPPCHECK=false [2021-09-29T13:57:38.944Z] + DOCGEN=false [2021-09-29T13:57:38.944Z] + TOMLVER=SDK-0.2 [2021-09-29T13:57:38.944Z] + CUTILVER=1.2.2 [2021-09-29T13:57:38.944Z] + '[' 0 -gt 0 ] [2021-09-29T13:57:38.944Z] + readlink -f ./scripts/build.sh [2021-09-29T13:57:38.944Z] + dirname /tmp/sdk/scripts/build.sh [2021-09-29T13:57:38.944Z] + dirname /tmp/sdk/scripts [2021-09-29T13:57:38.944Z] + ROOT=/tmp/sdk [2021-09-29T13:57:38.944Z] + cd /tmp/sdk [2021-09-29T13:57:38.944Z] + '[' '!' -d deps ] [2021-09-29T13:57:38.944Z] + mkdir deps [2021-09-29T13:57:38.944Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-09-29T13:57:38.944Z] + tar -C deps -z -x -f - [2021-09-29T13:57:38.944Z] --2021-09-29 13:57:38-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-09-29T13:57:38.944Z] Resolving github.com (github.com)... 140.82.112.3 [2021-09-29T13:57:38.944Z] Connecting to github.com (github.com)|140.82.112.3|:443... connected. [2021-09-29T13:57:39.212Z] HTTP request sent, awaiting response... 302 Found [2021-09-29T13:57:39.212Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-09-29T13:57:39.212Z] --2021-09-29 13:57:39-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-09-29T13:57:39.212Z] Resolving codeload.github.com (codeload.github.com)... 140.82.112.10 [2021-09-29T13:57:39.212Z] Connecting to codeload.github.com (codeload.github.com)|140.82.112.10|:443... connected. [2021-09-29T13:57:39.482Z] HTTP request sent, awaiting response... 200 OK [2021-09-29T13:57:39.482Z] Length: unspecified [application/x-gzip] [2021-09-29T13:57:39.482Z] Saving to: 'STDOUT' [2021-09-29T13:57:39.482Z] [2021-09-29T13:57:39.482Z] 0K .......... ...... 738K=0.02s [2021-09-29T13:57:39.482Z] [2021-09-29T13:57:39.482Z] 2021-09-29 13:57:39 (738 KB/s) - written to stdout [16451] [2021-09-29T13:57:39.482Z] [2021-09-29T13:57:39.482Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-09-29T13:57:39.482Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2021-09-29T13:57:39.482Z] + tar -C deps -z -x -f - [2021-09-29T13:57:39.482Z] --2021-09-29 13:57:39-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2021-09-29T13:57:39.482Z] Resolving github.com (github.com)... 140.82.112.3 [2021-09-29T13:57:39.482Z] Connecting to github.com (github.com)|140.82.112.3|:443... connected. [2021-09-29T13:57:39.482Z] HTTP request sent, awaiting response... 302 Found [2021-09-29T13:57:39.482Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [following] [2021-09-29T13:57:39.482Z] --2021-09-29 13:57:39-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [2021-09-29T13:57:39.482Z] Resolving codeload.github.com (codeload.github.com)... 140.82.112.10 [2021-09-29T13:57:39.750Z] Connecting to codeload.github.com (codeload.github.com)|140.82.112.10|:443... connected. [2021-09-29T13:57:39.750Z] HTTP request sent, awaiting response... 200 OK [2021-09-29T13:57:39.750Z] Length: unspecified [application/x-gzip] [2021-09-29T13:57:39.750Z] Saving to: 'STDOUT' [2021-09-29T13:57:39.750Z]  [2021-09-29T13:57:40.016Z] 0K .......... .......... .......... .......... .......... 1.12M [2021-09-29T13:57:40.016Z] 50K .......... .......... .......... .......... .......... 2.35M [2021-09-29T13:57:40.016Z] 100K .......... .......... .......... .......... .......... 8.70M [2021-09-29T13:57:40.016Z] 150K .......... .......... .......... ......... 12.1M=0.07s [2021-09-29T13:57:40.016Z] [2021-09-29T13:57:40.016Z] 2021-09-29 13:57:39 (2.53 MB/s) - written to stdout [193971] [2021-09-29T13:57:40.016Z] [2021-09-29T13:57:40.016Z] + mkdir -p src/c/iot [2021-09-29T13:57:40.016Z] + cp deps/iotech-c-utils-1.2.2/src/c/base64.c deps/iotech-c-utils-1.2.2/src/c/component.c deps/iotech-c-utils-1.2.2/src/c/config.c deps/iotech-c-utils-1.2.2/src/c/container.c deps/iotech-c-utils-1.2.2/src/c/data.c deps/iotech-c-utils-1.2.2/src/c/hash.c deps/iotech-c-utils-1.2.2/src/c/iot.c deps/iotech-c-utils-1.2.2/src/c/json.c deps/iotech-c-utils-1.2.2/src/c/logger.c deps/iotech-c-utils-1.2.2/src/c/os.c deps/iotech-c-utils-1.2.2/src/c/scheduler.c deps/iotech-c-utils-1.2.2/src/c/thread.c deps/iotech-c-utils-1.2.2/src/c/threadpool.c deps/iotech-c-utils-1.2.2/src/c/time.c deps/iotech-c-utils-1.2.2/src/c/uuid.c deps/iotech-c-utils-1.2.2/src/c/yxml.c src/c/iot [2021-09-29T13:57:40.016Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2021-09-29T13:57:40.016Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2021-09-29T13:57:40.016Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2021-09-29T13:57:40.016Z] + mkdir -p include/iot [2021-09-29T13:57:40.016Z] + cp deps/iotech-c-utils-1.2.2/include/iot/base64.h deps/iotech-c-utils-1.2.2/include/iot/component.h deps/iotech-c-utils-1.2.2/include/iot/config.h deps/iotech-c-utils-1.2.2/include/iot/container.h deps/iotech-c-utils-1.2.2/include/iot/data.h deps/iotech-c-utils-1.2.2/include/iot/hash.h deps/iotech-c-utils-1.2.2/include/iot/iot.h deps/iotech-c-utils-1.2.2/include/iot/json.h deps/iotech-c-utils-1.2.2/include/iot/logger.h deps/iotech-c-utils-1.2.2/include/iot/os.h deps/iotech-c-utils-1.2.2/include/iot/scheduler.h deps/iotech-c-utils-1.2.2/include/iot/thread.h deps/iotech-c-utils-1.2.2/include/iot/threadpool.h deps/iotech-c-utils-1.2.2/include/iot/time.h deps/iotech-c-utils-1.2.2/include/iot/typecode.h deps/iotech-c-utils-1.2.2/include/iot/uuid.h include/iot [2021-09-29T13:57:40.016Z] + mkdir -p include/iot/os [2021-09-29T13:57:40.016Z] + cp deps/iotech-c-utils-1.2.2/include/iot/os/linux.h deps/iotech-c-utils-1.2.2/include/iot/os/macos.h deps/iotech-c-utils-1.2.2/include/iot/os/zephyr.h include/iot/os [2021-09-29T13:57:40.016Z] + mkdir -p /tmp/sdk/build/release [2021-09-29T13:57:40.016Z] + cd /tmp/sdk/build/release [2021-09-29T13:57:40.016Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-09-29T13:57:40.016Z] -- The C compiler identification is GNU 9.3.0 [2021-09-29T13:57:40.016Z] -- Check for working C compiler: /usr/bin/cc [2021-09-29T13:57:40.016Z] -- Check for working C compiler: /usr/bin/cc - works [2021-09-29T13:57:40.016Z] -- Detecting C compiler ABI info [2021-09-29T13:57:40.283Z] -- Detecting C compiler ABI info - done [2021-09-29T13:57:40.283Z] -- Detecting C compile features [2021-09-29T13:57:40.283Z] -- Detecting C compile features - done [2021-09-29T13:57:40.283Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-09-29T13:57:40.283Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") [2021-09-29T13:57:40.283Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-09-29T13:57:40.283Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-09-29T13:57:40.283Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-09-29T13:57:40.283Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-09-29T13:57:40.283Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-09-29T13:57:40.283Z] -- C SDK 0.0.0 for Linux [2021-09-29T13:57:40.283Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-09-29T13:57:40.283Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-09-29T13:57:40.283Z] -- Found Curses: /usr/lib/libcurses.so [2021-09-29T13:57:40.283Z] -- Configuring done [2021-09-29T13:57:40.283Z] -- Generating done [2021-09-29T13:57:40.283Z] -- Build files have been written to: /tmp/sdk/build/release [2021-09-29T13:57:40.551Z] + make all package [2021-09-29T13:57:40.551Z] + tee release.log [2021-09-29T13:57:40.551Z] Scanning dependencies of target csdk [2021-09-29T13:57:40.551Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-09-29T13:57:40.551Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-09-29T13:57:40.827Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-09-29T13:57:41.098Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-09-29T13:57:41.098Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-09-29T13:57:41.365Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-09-29T13:57:41.365Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-09-29T13:57:41.365Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-09-29T13:57:41.634Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-09-29T13:57:41.634Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-09-29T13:57:42.220Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-09-29T13:57:42.220Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-09-29T13:57:42.220Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-09-29T13:57:42.486Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-09-29T13:57:42.486Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-09-29T13:57:42.486Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-09-29T13:57:42.753Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-09-29T13:57:43.342Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-09-29T13:57:43.342Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-09-29T13:57:43.342Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-09-29T13:57:43.342Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-09-29T13:57:43.607Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-09-29T13:57:43.607Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2021-09-29T13:57:43.607Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2021-09-29T13:57:43.607Z] 275 | const iot_component_factory_t * factory; [2021-09-29T13:57:43.607Z] | ^~~~~~~ [2021-09-29T13:57:43.607Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-09-29T13:57:44.572Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-09-29T13:57:44.572Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-09-29T13:57:44.639Z] using credential edgex-jenkins-ssh [2021-09-29T13:57:44.667Z] Cloning the remote Git repository [2021-09-29T13:57:44.838Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-09-29T13:57:44.838Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-09-29T13:57:44.838Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-09-29T13:57:44.838Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-09-29T13:57:44.750Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-09-29T13:57:44.883Z] > git init /w/workspace/device-sdk-c/5 # timeout=10 [2021-09-29T13:57:45.109Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-09-29T13:57:45.109Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-09-29T13:57:45.377Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-09-29T13:57:45.377Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2021-09-29T13:57:45.378Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-09-29T13:57:45.958Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-09-29T13:57:45.958Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-09-29T13:57:46.224Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-09-29T13:57:46.224Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-09-29T13:57:45.036Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-09-29T13:57:45.042Z] > git --version # timeout=10 [2021-09-29T13:57:45.088Z] > git --version # 'git version 2.17.1' [2021-09-29T13:57:45.091Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-09-29T13:57:45.231Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-09-29T13:57:47.188Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-09-29T13:57:47.188Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-09-29T13:57:47.188Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-09-29T13:57:47.188Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-09-29T13:57:47.457Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-09-29T13:57:47.724Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-09-29T13:57:47.991Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-09-29T13:57:47.991Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-09-29T13:57:47.991Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-09-29T13:57:48.577Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-09-29T13:57:49.160Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-09-29T13:57:49.160Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-09-29T13:57:49.427Z] [ 76%] Linking C shared library libcsdk.so [2021-09-29T13:57:49.427Z] [ 76%] Built target csdk [2021-09-29T13:57:49.427Z] Scanning dependencies of target template [2021-09-29T13:57:49.427Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-09-29T13:57:49.427Z] [ 79%] Linking C executable template [2021-09-29T13:57:49.698Z] [ 79%] Built target template [2021-09-29T13:57:49.698Z] Scanning dependencies of target device-counter [2021-09-29T13:57:49.698Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-09-29T13:57:49.698Z] [ 82%] Linking C executable device-counter [2021-09-29T13:57:49.698Z] [ 82%] Built target device-counter [2021-09-29T13:57:49.698Z] Scanning dependencies of target device-random [2021-09-29T13:57:49.698Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-09-29T13:57:49.965Z] [ 85%] Linking C executable device-random [2021-09-29T13:57:49.965Z] [ 85%] Built target device-random [2021-09-29T13:57:49.965Z] Scanning dependencies of target device-gyro [2021-09-29T13:57:49.965Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-09-29T13:57:49.965Z] [ 88%] Linking C executable device-gyro [2021-09-29T13:57:49.965Z] [ 88%] Built target device-gyro [2021-09-29T13:57:49.965Z] Scanning dependencies of target device-bitfields [2021-09-29T13:57:50.169Z] Merging remotes/origin/main commit 7a06a35f5e1970d7e6c57a4398d31db003ba8da7 into PR head commit c0b6e8bd24dcdb5f0e4ec5bfa39f751883ce9e32 [2021-09-29T13:57:50.232Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-09-29T13:57:50.232Z] [ 91%] Linking C executable device-bitfields [2021-09-29T13:57:50.232Z] [ 91%] Built target device-bitfields [2021-09-29T13:57:50.232Z] Scanning dependencies of target template-discovery [2021-09-29T13:57:50.232Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-09-29T13:57:50.423Z] Merge succeeded, producing c0b6e8bd24dcdb5f0e4ec5bfa39f751883ce9e32 [2021-09-29T13:57:50.424Z] Checking out Revision c0b6e8bd24dcdb5f0e4ec5bfa39f751883ce9e32 (PR-378) [2021-09-29T13:57:50.506Z] [ 94%] Linking C executable template-discovery [2021-09-29T13:57:50.506Z] [ 94%] Built target template-discovery [2021-09-29T13:57:50.507Z] Scanning dependencies of target device-file [2021-09-29T13:57:50.507Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-09-29T13:57:50.507Z] [ 97%] Linking C executable device-file [2021-09-29T13:57:49.357Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-09-29T13:57:49.386Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-09-29T13:57:49.414Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-09-29T13:57:49.453Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-09-29T13:57:49.454Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-09-29T13:57:49.468Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/378/head:refs/remotes/origin/PR-378 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-09-29T13:57:50.200Z] > git config core.sparsecheckout # timeout=10 [2021-09-29T13:57:50.227Z] > git checkout -f c0b6e8bd24dcdb5f0e4ec5bfa39f751883ce9e32 # timeout=10 [2021-09-29T13:57:50.342Z] > git remote # timeout=10 [2021-09-29T13:57:50.368Z] > git config --get remote.origin.url # timeout=10 [2021-09-29T13:57:50.382Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-09-29T13:57:50.394Z] > git merge 7a06a35f5e1970d7e6c57a4398d31db003ba8da7 # timeout=10 [2021-09-29T13:57:50.418Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-09-29T13:57:50.443Z] > git config core.sparsecheckout # timeout=10 [2021-09-29T13:57:50.459Z] > git checkout -f c0b6e8bd24dcdb5f0e4ec5bfa39f751883ce9e32 # timeout=10 [2021-09-29T13:57:50.772Z] [ 97%] Built target device-file [2021-09-29T13:57:50.772Z] Scanning dependencies of target device-terminal [2021-09-29T13:57:50.772Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-09-29T13:57:50.772Z] [100%] Linking C executable device-terminal [2021-09-29T13:57:51.038Z] [100%] Built target device-terminal [2021-09-29T13:57:51.038Z] Run CPack packaging tool... [2021-09-29T13:57:51.038Z] CPack: Create package using TGZ [2021-09-29T13:57:51.038Z] CPack: Install projects [2021-09-29T13:57:51.038Z] CPack: - Run preinstall target for: Csdk [2021-09-29T13:57:51.038Z] CPack: - Install project: Csdk [] [2021-09-29T13:57:51.306Z] CPack: Create package [2021-09-29T13:57:51.306Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-09-29T13:57:51.306Z] + '[' false '=' true ] [2021-09-29T13:57:51.306Z] + '[' false '=' true ] [2021-09-29T13:57:51.306Z] + mkdir -p /tmp/sdk/build/debug [2021-09-29T13:57:51.306Z] + cd /tmp/sdk/build/debug [2021-09-29T13:57:51.306Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-09-29T13:57:51.306Z] -- The C compiler identification is GNU 9.3.0 [2021-09-29T13:57:51.306Z] -- Check for working C compiler: /usr/bin/cc [2021-09-29T13:57:51.306Z] -- Check for working C compiler: /usr/bin/cc - works [2021-09-29T13:57:51.306Z] -- Detecting C compiler ABI info [2021-09-29T13:57:51.306Z] -- Detecting C compiler ABI info - done [2021-09-29T13:57:51.574Z] -- Detecting C compile features [2021-09-29T13:57:51.574Z] -- Detecting C compile features - done [2021-09-29T13:57:51.574Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-09-29T13:57:51.574Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") [2021-09-29T13:57:51.574Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-09-29T13:57:51.574Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-09-29T13:57:51.574Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-09-29T13:57:51.574Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-09-29T13:57:51.574Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-09-29T13:57:51.574Z] -- C SDK 0.0.0 for Linux [2021-09-29T13:57:51.574Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-09-29T13:57:51.574Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-09-29T13:57:51.574Z] -- Found Curses: /usr/lib/libcurses.so [2021-09-29T13:57:51.574Z] -- Configuring done [2021-09-29T13:57:51.574Z] -- Generating done [2021-09-29T13:57:51.574Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-09-29T13:57:51.574Z] + tee debug.log [2021-09-29T13:57:51.574Z] + make [2021-09-29T13:57:51.843Z] Scanning dependencies of target csdk [2021-09-29T13:57:51.843Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-09-29T13:57:51.843Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-09-29T13:57:51.843Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-09-29T13:57:52.110Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-09-29T13:57:52.110Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-09-29T13:57:52.110Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-09-29T13:57:52.110Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-09-29T13:57:52.110Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-09-29T13:57:52.377Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-09-29T13:57:52.377Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-09-29T13:57:52.377Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-09-29T13:57:52.655Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-09-29T13:57:52.655Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-09-29T13:57:52.655Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-09-29T13:57:52.655Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-09-29T13:57:52.923Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-09-29T13:57:52.923Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-09-29T13:57:52.923Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-09-29T13:57:53.193Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-09-29T13:57:53.193Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-09-29T13:57:53.193Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-09-29T13:57:53.193Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-09-29T13:57:53.193Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2021-09-29T13:57:53.193Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2021-09-29T13:57:53.193Z] 275 | const iot_component_factory_t * factory; [2021-09-29T13:57:53.193Z] | ^~~~~~~ [2021-09-29T13:57:53.193Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-09-29T13:57:53.461Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-09-29T13:57:53.461Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-09-29T13:57:53.730Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-09-29T13:57:53.730Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-09-29T13:57:53.730Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-09-29T13:57:53.730Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-09-29T13:57:53.730Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-09-29T13:57:53.996Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-09-29T13:57:53.996Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-09-29T13:57:53.996Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2021-09-29T13:57:53.996Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-09-29T13:57:54.266Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-09-29T13:57:54.266Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-09-29T13:57:54.266Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-09-29T13:57:54.266Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-09-29T13:57:54.536Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-09-29T13:57:54.536Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-09-29T13:57:54.804Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-09-29T13:57:54.804Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-09-29T13:57:54.804Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-09-29T13:57:54.846Z] Commit message: "build: update repository information for alpine 3.1" [2021-09-29T13:57:55.077Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-09-29T13:57:55.077Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-09-29T13:57:55.077Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-09-29T13:57:55.277Z] provisioning config files... [2021-09-29T13:57:55.308Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/5@tmp/config2535599663590845166tmp [Pipeline] { [2021-09-29T13:57:55.347Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-09-29T13:57:55.347Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [Pipeline] libraryResource [Pipeline] sh [2021-09-29T13:57:55.615Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-09-29T13:57:55.615Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-09-29T13:57:55.615Z] [ 76%] Linking C shared library libcsdk.so [2021-09-29T13:57:55.615Z] [ 76%] Built target csdk [2021-09-29T13:57:55.893Z] Scanning dependencies of target template [2021-09-29T13:57:55.893Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-09-29T13:57:55.893Z] [ 79%] Linking C executable template [2021-09-29T13:57:55.893Z] [ 79%] Built target template [2021-09-29T13:57:55.893Z] Scanning dependencies of target device-counter [2021-09-29T13:57:55.893Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-09-29T13:57:55.893Z] [ 82%] Linking C executable device-counter [2021-09-29T13:57:55.893Z] [ 82%] Built target device-counter [2021-09-29T13:57:55.903Z] ---> docker-login.sh [2021-09-29T13:57:55.903Z] nexus3.edgexfoundry.org:10001 [2021-09-29T13:57:56.166Z] Scanning dependencies of target device-random [2021-09-29T13:57:56.166Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-09-29T13:57:56.166Z] [ 85%] Linking C executable device-random [2021-09-29T13:57:56.166Z] [ 85%] Built target device-random [2021-09-29T13:57:56.166Z] Scanning dependencies of target device-gyro [2021-09-29T13:57:56.166Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-09-29T13:57:56.166Z] [ 88%] Linking C executable device-gyro [2021-09-29T13:57:56.166Z] [ 88%] Built target device-gyro [2021-09-29T13:57:56.166Z] Scanning dependencies of target device-bitfields [2021-09-29T13:57:56.166Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-09-29T13:57:56.453Z] [ 91%] Linking C executable device-bitfields [2021-09-29T13:57:56.453Z] [ 91%] Built target device-bitfields [2021-09-29T13:57:56.453Z] Scanning dependencies of target template-discovery [2021-09-29T13:57:56.453Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-09-29T13:57:56.453Z] [ 94%] Linking C executable template-discovery [2021-09-29T13:57:56.453Z] [ 94%] Built target template-discovery [2021-09-29T13:57:56.453Z] Scanning dependencies of target device-file [2021-09-29T13:57:56.453Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-09-29T13:57:56.737Z] [ 97%] Linking C executable device-file [2021-09-29T13:57:56.737Z] [ 97%] Built target device-file [2021-09-29T13:57:56.737Z] Scanning dependencies of target device-terminal [2021-09-29T13:57:56.737Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-09-29T13:57:56.737Z] [100%] Linking C executable device-terminal [2021-09-29T13:57:56.737Z] [100%] Built target device-terminal [2021-09-29T13:57:56.737Z] make: Entering directory '/tmp/sdk/build/release' [2021-09-29T13:57:57.006Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-09-29T13:57:57.006Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-09-29T13:57:57.006Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-09-29T13:57:57.006Z] [ 76%] Built target csdk [2021-09-29T13:57:57.006Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-09-29T13:57:57.006Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-09-29T13:57:57.006Z] [ 79%] Built target template [2021-09-29T13:57:57.006Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-09-29T13:57:57.006Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-09-29T13:57:57.006Z] [ 82%] Built target device-counter [2021-09-29T13:57:57.006Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-09-29T13:57:57.006Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-09-29T13:57:57.006Z] [ 85%] Built target device-random [2021-09-29T13:57:57.006Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-09-29T13:57:57.006Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-09-29T13:57:57.006Z] [ 88%] Built target device-gyro [2021-09-29T13:57:57.006Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-09-29T13:57:57.006Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-09-29T13:57:57.006Z] [ 91%] Built target device-bitfields [2021-09-29T13:57:57.006Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-09-29T13:57:57.006Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-09-29T13:57:57.006Z] [ 94%] Built target template-discovery [2021-09-29T13:57:57.006Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-09-29T13:57:57.006Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-09-29T13:57:57.006Z] [ 97%] Built target device-file [2021-09-29T13:57:57.006Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-09-29T13:57:57.006Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-09-29T13:57:57.006Z] [100%] Built target device-terminal [2021-09-29T13:57:57.006Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-09-29T13:57:57.006Z] Install the project... [2021-09-29T13:57:57.006Z] -- Install configuration: "Release" [2021-09-29T13:57:57.006Z] -- Installing: /usr/local/lib/libcsdk.so [2021-09-29T13:57:57.006Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-09-29T13:57:57.006Z] -- Up-to-date: /usr/local/include [2021-09-29T13:57:57.006Z] -- Installing: /usr/local/include/devsdk [2021-09-29T13:57:57.006Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-09-29T13:57:57.006Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-09-29T13:57:57.006Z] -- Installing: /usr/local/include/edgex [2021-09-29T13:57:57.006Z] -- Installing: /usr/local/include/edgex/devices.h [2021-09-29T13:57:57.006Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-09-29T13:57:57.006Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-09-29T13:57:57.006Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-09-29T13:57:57.006Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-09-29T13:57:57.006Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-09-29T13:57:57.006Z] -- Installing: /usr/local/include/iot [2021-09-29T13:57:57.006Z] -- Installing: /usr/local/include/iot/base64.h [2021-09-29T13:57:57.006Z] -- Installing: /usr/local/include/iot/component.h [2021-09-29T13:57:57.006Z] -- Installing: /usr/local/include/iot/config.h [2021-09-29T13:57:57.006Z] -- Installing: /usr/local/include/iot/container.h [2021-09-29T13:57:57.006Z] -- Installing: /usr/local/include/iot/data.h [2021-09-29T13:57:57.006Z] -- Installing: /usr/local/include/iot/hash.h [2021-09-29T13:57:57.006Z] -- Installing: /usr/local/include/iot/iot.h [2021-09-29T13:57:57.006Z] -- Installing: /usr/local/include/iot/json.h [2021-09-29T13:57:57.006Z] -- Installing: /usr/local/include/iot/logger.h [2021-09-29T13:57:57.006Z] -- Installing: /usr/local/include/iot/os.h [2021-09-29T13:57:57.006Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-09-29T13:57:57.006Z] -- Installing: /usr/local/include/iot/thread.h [2021-09-29T13:57:57.006Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-09-29T13:57:57.006Z] -- Installing: /usr/local/include/iot/time.h [2021-09-29T13:57:57.006Z] -- Installing: /usr/local/include/iot/typecode.h [2021-09-29T13:57:57.006Z] -- Installing: /usr/local/include/iot/uuid.h [2021-09-29T13:57:57.006Z] -- Installing: /usr/local/include/iot/os [2021-09-29T13:57:57.006Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-09-29T13:57:57.006Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-09-29T13:57:57.006Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-09-29T13:57:57.006Z] -- Installing: /usr/local/include/iot/defs.h [2021-09-29T13:57:57.006Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-09-29T13:57:57.006Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-09-29T13:57:57.006Z] make: Leaving directory '/tmp/sdk/build/release' [2021-09-29T13:57:57.349Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-29T13:57:57.597Z] Removing intermediate container 7998972a1e44 [2021-09-29T13:57:57.597Z] ---> 20eb4679cf2e [2021-09-29T13:57:57.597Z] Step 16/25 : FROM ${BASE} [2021-09-29T13:57:57.597Z] ---> ac6a0feb3254 [2021-09-29T13:57:57.597Z] Step 17/25 : LABEL maintainer="IOTech " [2021-09-29T13:57:57.626Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-29T13:57:57.626Z] Configure a credential helper to remove this warning. See [2021-09-29T13:57:57.626Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-29T13:57:57.626Z] [2021-09-29T13:57:57.626Z] Login Succeeded [2021-09-29T13:57:57.626Z] nexus3.edgexfoundry.org:10002 [2021-09-29T13:57:57.866Z] ---> Running in 61c60e8c377a [2021-09-29T13:57:57.866Z] Removing intermediate container 61c60e8c377a [2021-09-29T13:57:57.866Z] ---> ad6d6122712c [2021-09-29T13:57:57.866Z] Step 18/25 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2021-09-29T13:57:57.866Z] ---> Running in 438a99bcc298 [2021-09-29T13:57:58.134Z] Connecting to iotech.jfrog.io (54.229.110.245:443) [2021-09-29T13:57:58.225Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-29T13:57:58.225Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-29T13:57:58.225Z] Configure a credential helper to remove this warning. See [2021-09-29T13:57:58.225Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-29T13:57:58.225Z] [2021-09-29T13:57:58.225Z] Login Succeeded [2021-09-29T13:57:58.225Z] nexus3.edgexfoundry.org:10003 [2021-09-29T13:57:58.716Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2021-09-29T13:57:58.716Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2021-09-29T13:57:58.716Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2021-09-29T13:57:58.825Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-29T13:57:58.826Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-29T13:57:58.826Z] Configure a credential helper to remove this warning. See [2021-09-29T13:57:58.826Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-29T13:57:58.826Z] [2021-09-29T13:57:58.826Z] Login Succeeded [2021-09-29T13:57:58.826Z] nexus3.edgexfoundry.org:10004 [2021-09-29T13:57:58.985Z] Removing intermediate container 438a99bcc298 [2021-09-29T13:57:58.985Z] ---> 8658f53a9d3a [2021-09-29T13:57:58.985Z] Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2021-09-29T13:57:58.985Z] ---> Running in 242a35deb1ff [2021-09-29T13:57:59.427Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-29T13:57:59.427Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-29T13:57:59.427Z] Configure a credential helper to remove this warning. See [2021-09-29T13:57:59.427Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-29T13:57:59.427Z] [2021-09-29T13:57:59.427Z] Login Succeeded [2021-09-29T13:57:59.427Z] docker.io [2021-09-29T13:57:59.573Z] Removing intermediate container 242a35deb1ff [2021-09-29T13:57:59.573Z] ---> f456d130048f [2021-09-29T13:57:59.573Z] Step 20/25 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid paho-mqtt-c-dev-1.3 hiredis-dev [2021-09-29T13:57:59.573Z] ---> Running in d478a3ae2027 [2021-09-29T13:58:00.032Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-29T13:58:00.160Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-09-29T13:58:00.306Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-29T13:58:00.306Z] Configure a credential helper to remove this warning. See [2021-09-29T13:58:00.306Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-29T13:58:00.306Z] [2021-09-29T13:58:00.306Z] Login Succeeded [2021-09-29T13:58:00.306Z] ---> docker-login.sh ends [Pipeline] } [2021-09-29T13:58:00.388Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-09-29T13:58:00.750Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [Pipeline] echo [2021-09-29T13:58:00.993Z] ========================================================= [2021-09-29T13:58:00.993Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2021-09-29T13:58:00.993Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-09-29T13:58:01.342Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz [2021-09-29T13:58:01.527Z] + 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 . [2021-09-29T13:58:01.635Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2021-09-29T13:58:01.635Z] (1/7) Installing curl (7.79.1-r0) [2021-09-29T13:58:01.902Z] (2/7) Installing hiredis (0.14.1-r0) [2021-09-29T13:58:01.902Z] (3/7) Installing hiredis-dev (0.14.1-r0) [2021-09-29T13:58:02.135Z] Sending build context to Docker daemon 2.689MB [2021-09-29T13:58:02.135Z] Step 1/25 : ARG BASE=alpine:3.14 [2021-09-29T13:58:02.135Z] Step 2/25 : FROM ${BASE} as builder [2021-09-29T13:58:02.169Z] (4/7) Installing libuuid (2.35.2-r0) [2021-09-29T13:58:02.169Z] (5/7) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2021-09-29T13:58:02.414Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2021-09-29T13:58:02.414Z] d2f70382dc9a: Pulling fs layer [2021-09-29T13:58:02.414Z] b08cc2eccb4b: Pulling fs layer [2021-09-29T13:58:02.414Z] 7b69db201801: Pulling fs layer [2021-09-29T13:58:02.414Z] b08cc2eccb4b: Verifying Checksum [2021-09-29T13:58:02.414Z] b08cc2eccb4b: Download complete [2021-09-29T13:58:02.692Z] d2f70382dc9a: Verifying Checksum [2021-09-29T13:58:02.692Z] d2f70382dc9a: Download complete [2021-09-29T13:58:03.132Z] (6/7) Installing libidn2 (2.3.0-r0) [2021-09-29T13:58:03.132Z] (7/7) Installing wget (1.20.3-r1) [2021-09-29T13:58:03.302Z] d2f70382dc9a: Pull complete [2021-09-29T13:58:03.405Z] Executing busybox-1.31.1-r20.trigger [2021-09-29T13:58:03.405Z] OK: 286 MiB in 82 packages [2021-09-29T13:58:03.679Z] Removing intermediate container d478a3ae2027 [2021-09-29T13:58:03.679Z] ---> 6b2334a3791c [2021-09-29T13:58:03.679Z] Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-09-29T13:58:03.916Z] b08cc2eccb4b: Pull complete [2021-09-29T13:58:03.949Z] ---> 0afa88cb361d [2021-09-29T13:58:03.949Z] Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-09-29T13:58:04.216Z] ---> 1c0c9e6ff249 [2021-09-29T13:58:04.216Z] Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-09-29T13:58:04.216Z] ---> ad71b91aceda [2021-09-29T13:58:04.216Z] Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-09-29T13:58:04.483Z] ---> d9c6cd742f5c [2021-09-29T13:58:04.483Z] Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-09-29T13:58:04.751Z] ---> c048ed5abc53 [2021-09-29T13:58:04.751Z] Successfully built c048ed5abc53 [2021-09-29T13:58:04.751Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-09-29T13:58:05.308Z] + docker inspect -f . ci-base-image-x86_64 [2021-09-29T13:58:05.308Z] . [Pipeline] withDockerContainer [2021-09-29T13:58:05.372Z] 7b69db201801: Verifying Checksum [2021-09-29T13:58:05.372Z] 7b69db201801: Download complete [2021-09-29T13:58:05.407Z] prd-centos7-docker-4c-2g-125 does not seem to be running inside a container [2021-09-29T13:58:05.476Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/5 -v /w/workspace/device-sdk-c/5:/w/workspace/device-sdk-c/5:rw,z -v /w/workspace/device-sdk-c/5@tmp:/w/workspace/device-sdk-c/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-09-29T13:58:05.915Z] $ docker top a9cb7f5bfb772023bfb37cae38ac605b49962b3168b9127bcf2192295d93b388 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-09-29T13:58:06.315Z] + make test [2021-09-29T13:58:06.315Z] echo "make test" [2021-09-29T13:58:06.315Z] make test [Pipeline] } [2021-09-29T13:58:06.332Z] $ docker stop --time=1 a9cb7f5bfb772023bfb37cae38ac605b49962b3168b9127bcf2192295d93b388 [2021-09-29T13:58:07.551Z] $ docker rm -f a9cb7f5bfb772023bfb37cae38ac605b49962b3168b9127bcf2192295d93b388 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-09-29T13:58:10.630Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-09-29T13:58:10.952Z] + ls -al . [2021-09-29T13:58:10.952Z] total 172 [2021-09-29T13:58:10.952Z] drwxrwxr-x. 8 jenkins jenkins 4096 Sep 29 13:57 . [2021-09-29T13:58:10.952Z] drwxrwxr-x. 4 jenkins jenkins 28 Sep 29 13:57 .. [2021-09-29T13:58:10.952Z] -rw-rw-r--. 1 jenkins jenkins 3104 Sep 29 13:57 Attribution.txt [2021-09-29T13:58:10.952Z] -rw-rw-r--. 1 jenkins jenkins 7701 Sep 29 13:57 CHANGES [2021-09-29T13:58:10.952Z] drwxrwxr-x. 2 jenkins jenkins 121 Sep 29 13:57 docs [2021-09-29T13:58:10.952Z] -rw-rw-r--. 1 jenkins jenkins 108574 Sep 29 13:57 Doxyfile [2021-09-29T13:58:10.952Z] drwxrwxr-x. 8 jenkins jenkins 179 Sep 29 13:57 .git [2021-09-29T13:58:10.952Z] drwxrwxr-x. 2 jenkins jenkins 81 Sep 29 13:57 .github [2021-09-29T13:58:10.952Z] -rw-rw-r--. 1 jenkins jenkins 176 Sep 29 13:57 .gitignore [2021-09-29T13:58:10.952Z] -rw-rw-r--. 1 jenkins jenkins 677 Sep 29 13:57 GOVERNANCE.md [2021-09-29T13:58:10.952Z] drwxrwxr-x. 4 jenkins jenkins 33 Sep 29 13:57 include [2021-09-29T13:58:10.952Z] -rw-rw-r--. 1 jenkins jenkins 784 Sep 29 13:57 Jenkinsfile [2021-09-29T13:58:10.952Z] -rw-rw-r--. 1 jenkins jenkins 10174 Sep 29 13:57 LICENSE [2021-09-29T13:58:10.952Z] -rw-rw-r--. 1 jenkins jenkins 444 Sep 29 13:57 Makefile [2021-09-29T13:58:10.952Z] -rw-rw-r--. 1 jenkins jenkins 618 Sep 29 13:57 OWNERS.md [2021-09-29T13:58:10.952Z] -rw-rw-r--. 1 jenkins jenkins 4086 Sep 29 13:57 README.md [2021-09-29T13:58:10.952Z] -rw-rw-r--. 1 jenkins jenkins 7090 Sep 29 13:57 README.v2.md [2021-09-29T13:58:10.952Z] drwxrwxr-x. 2 jenkins jenkins 98 Sep 29 13:57 scripts [2021-09-29T13:58:10.952Z] drwxrwxr-x. 4 jenkins jenkins 50 Sep 29 13:57 src [2021-09-29T13:58:10.952Z] -rw-rw-r--. 1 jenkins jenkins 5 Sep 29 13:53 VERSION [Pipeline] isUnix [Pipeline] sh [2021-09-29T13:58:11.280Z] + 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=c0b6e8bd24dcdb5f0e4ec5bfa39f751883ce9e32 --label arch=amd64 --label version=0.0.0 . [2021-09-29T13:58:11.280Z] Sending build context to Docker daemon 2.69MB [2021-09-29T13:58:11.280Z] Step 1/17 : ARG BASE=alpine:3.14 [2021-09-29T13:58:11.280Z] Step 2/17 : FROM ${BASE} [2021-09-29T13:58:11.280Z] ---> c048ed5abc53 [2021-09-29T13:58:11.280Z] Step 3/17 : LABEL maintainer="IOTech " [2021-09-29T13:58:11.546Z] ---> Running in f2cf5a1315db [2021-09-29T13:58:11.546Z] Removing intermediate container f2cf5a1315db [2021-09-29T13:58:11.546Z] ---> 191f7875ae82 [2021-09-29T13:58:11.546Z] Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2021-09-29T13:58:11.546Z] ---> Running in 10828e53d51f [2021-09-29T13:58:12.131Z] --2021-09-29 13:58:11-- https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release [2021-09-29T13:58:12.131Z] Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.229.110.245, 54.72.115.12, 54.195.244.87 [2021-09-29T13:58:12.131Z] Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.229.110.245|:443... connected. [2021-09-29T13:58:12.401Z] HTTP request sent, awaiting response... 200 OK [2021-09-29T13:58:12.401Z] Length: unspecified [application/json] [2021-09-29T13:58:12.401Z] Saving to: '/etc/apk/keys/alpine.dev.rsa.pub' [2021-09-29T13:58:12.401Z]  [2021-09-29T13:58:12.401Z] 0K  7.90M=0s [2021-09-29T13:58:12.401Z] [2021-09-29T13:58:12.401Z] 2021-09-29 13:58:12 (7.90 MB/s) - '/etc/apk/keys/alpine.dev.rsa.pub' saved [451] [2021-09-29T13:58:12.401Z] [2021-09-29T13:58:12.666Z] Removing intermediate container 10828e53d51f [2021-09-29T13:58:12.666Z] ---> 19216520b043 [2021-09-29T13:58:12.666Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2021-09-29T13:58:12.666Z] ---> Running in 7156c5c12d01 [2021-09-29T13:58:13.251Z] Removing intermediate container 7156c5c12d01 [2021-09-29T13:58:13.251Z] ---> 607cb0d171d1 [2021-09-29T13:58:13.251Z] 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-1.3 hiredis-dev && mkdir -p /edgex-c-sdk/build [2021-09-29T13:58:13.251Z] ---> Running in 01a5d596b50c [2021-09-29T13:58:13.517Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-09-29T13:58:13.692Z] 7b69db201801: Pull complete [2021-09-29T13:58:13.692Z] Digest: sha256:6402f0ff92f22f5db569dc2a94aef5717e50795d64082fb226716824a8b8ffba [2021-09-29T13:58:13.692Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2021-09-29T13:58:13.692Z] ---> 759262b18b23 [2021-09-29T13:58:13.692Z] Step 3/25 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2021-09-29T13:58:14.102Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-09-29T13:58:14.686Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz [2021-09-29T13:58:15.163Z] ---> Running in 7908a6801c8e [2021-09-29T13:58:15.268Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2021-09-29T13:58:15.268Z] (1/16) Installing ncurses-dev (6.2_p20200523-r0) [2021-09-29T13:58:15.268Z] (2/16) Installing libblkid (2.35.2-r0) [2021-09-29T13:58:15.532Z] (3/16) Installing blkid (2.35.2-r0) [2021-09-29T13:58:15.532Z] (4/16) Installing libcap-ng (0.7.10-r1) [2021-09-29T13:58:15.802Z] (5/16) Installing setpriv (2.35.2-r0) [2021-09-29T13:58:15.802Z] (6/16) Installing libmount (2.35.2-r0) [2021-09-29T13:58:16.068Z] (7/16) Installing libsmartcols (2.35.2-r0) [2021-09-29T13:58:16.068Z] (8/16) Installing findmnt (2.35.2-r0) [2021-09-29T13:58:16.333Z] (9/16) Installing mcookie (2.35.2-r0) [2021-09-29T13:58:16.333Z] (10/16) Installing hexdump (2.35.2-r0) [2021-09-29T13:58:16.333Z] (11/16) Installing lsblk (2.35.2-r0) [2021-09-29T13:58:16.636Z] (12/16) Installing libfdisk (2.35.2-r0) [2021-09-29T13:58:16.636Z] (13/16) Installing sfdisk (2.35.2-r0) [2021-09-29T13:58:16.653Z] Connecting to iotech.jfrog.io (54.72.115.12:443) [2021-09-29T13:58:17.114Z] (14/16) Installing cfdisk (2.35.2-r0) [2021-09-29T13:58:17.114Z] (15/16) Installing util-linux (2.35.2-r0) [2021-09-29T13:58:17.249Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2021-09-29T13:58:17.249Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2021-09-29T13:58:17.249Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2021-09-29T13:58:17.696Z] (16/16) Installing util-linux-dev (2.35.2-r0) [2021-09-29T13:58:18.238Z] Removing intermediate container 7908a6801c8e [2021-09-29T13:58:18.238Z] ---> fd9a07fc6337 [2021-09-29T13:58:18.238Z] Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2021-09-29T13:58:18.283Z] Executing busybox-1.31.1-r20.trigger [2021-09-29T13:58:18.283Z] OK: 295 MiB in 98 packages [2021-09-29T13:58:18.511Z] ---> Running in b12b04e1070a [2021-09-29T13:58:18.866Z] Removing intermediate container 01a5d596b50c [2021-09-29T13:58:18.866Z] ---> 18ac5860f168 [2021-09-29T13:58:18.866Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2021-09-29T13:58:18.866Z] ---> a776dd9b092a [2021-09-29T13:58:18.866Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2021-09-29T13:58:19.134Z] ---> dff084b98ad6 [2021-09-29T13:58:19.134Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2021-09-29T13:58:19.399Z] ---> 3417ce1b1c45 [2021-09-29T13:58:19.399Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2021-09-29T13:58:19.667Z] ---> dba14a0aceed [2021-09-29T13:58:19.667Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2021-09-29T13:58:19.667Z] ---> 31c6b274704d [2021-09-29T13:58:19.667Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2021-09-29T13:58:19.941Z] ---> 5aaa51b722fa [2021-09-29T13:58:19.942Z] Step 13/17 : WORKDIR /edgex-c-sdk [2021-09-29T13:58:19.942Z] ---> Running in cf17331dc7c5 [2021-09-29T13:58:19.942Z] Removing intermediate container cf17331dc7c5 [2021-09-29T13:58:19.942Z] ---> 6ac01ceb133f [2021-09-29T13:58:19.942Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-09-29T13:58:19.942Z] ---> Running in e626b5848a6b [2021-09-29T13:58:20.206Z] Removing intermediate container e626b5848a6b [2021-09-29T13:58:20.206Z] ---> 904572931a0f [2021-09-29T13:58:20.206Z] Step 15/17 : LABEL arch=amd64 [2021-09-29T13:58:20.206Z] ---> Running in 0ab3c55de194 [2021-09-29T13:58:20.473Z] Removing intermediate container 0ab3c55de194 [2021-09-29T13:58:20.473Z] ---> 5adf58ca7b4c [2021-09-29T13:58:20.473Z] Step 16/17 : LABEL git_sha=c0b6e8bd24dcdb5f0e4ec5bfa39f751883ce9e32 [2021-09-29T13:58:20.473Z] ---> Running in 9cc25deee2ba [2021-09-29T13:58:20.473Z] Removing intermediate container 9cc25deee2ba [2021-09-29T13:58:20.473Z] ---> a8e8a1f2f4c0 [2021-09-29T13:58:20.473Z] Step 17/17 : LABEL version=0.0.0 [2021-09-29T13:58:20.473Z] ---> Running in 1fb7fcb7e9ef [2021-09-29T13:58:20.473Z] Removing intermediate container 1fb7fcb7e9ef [2021-09-29T13:58:20.473Z] ---> cdf444ba033f [2021-09-29T13:58:20.473Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-09-29T13:58:20.473Z] Successfully built cdf444ba033f [2021-09-29T13:58:20.484Z] Removing intermediate container b12b04e1070a [2021-09-29T13:58:20.484Z] ---> 44a001d23ade [2021-09-29T13:58:20.484Z] 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-1.3 hiredis-dev [2021-09-29T13:58:20.739Z] Successfully tagged device-sdk:latest [Pipeline] } [2021-09-29T13:58:20.759Z] ---> Running in b22c5a45b724 [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 Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-09-29T13:58:21.584Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-29T13:58:21.584Z] [2021-09-29T13:58:21.584Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-09-29T13:58:21.945Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-29T13:58:21.945Z] latest: Pulling from edgex-lftools-log-publisher [2021-09-29T13:58:21.945Z] b4d181a07f80: Pulling fs layer [2021-09-29T13:58:21.945Z] a1111a8f2ec3: Pulling fs layer [2021-09-29T13:58:21.945Z] ed53099fbce6: Pulling fs layer [2021-09-29T13:58:21.945Z] dc539afda2c1: Pulling fs layer [2021-09-29T13:58:21.945Z] 77bc0d833cb6: Pulling fs layer [2021-09-29T13:58:21.945Z] 9065ff56babe: Pulling fs layer [2021-09-29T13:58:21.945Z] d287ab97295c: Pulling fs layer [2021-09-29T13:58:21.945Z] dc539afda2c1: Waiting [2021-09-29T13:58:21.945Z] 77bc0d833cb6: Waiting [2021-09-29T13:58:21.945Z] 9065ff56babe: Waiting [2021-09-29T13:58:21.945Z] d287ab97295c: Waiting [2021-09-29T13:58:22.191Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-09-29T13:58:22.213Z] a1111a8f2ec3: Verifying Checksum [2021-09-29T13:58:22.213Z] a1111a8f2ec3: Download complete [2021-09-29T13:58:22.213Z] dc539afda2c1: Verifying Checksum [2021-09-29T13:58:22.213Z] dc539afda2c1: Download complete [2021-09-29T13:58:22.786Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-09-29T13:58:22.797Z] 77bc0d833cb6: Verifying Checksum [2021-09-29T13:58:22.797Z] 77bc0d833cb6: Download complete [2021-09-29T13:58:22.797Z] 9065ff56babe: Verifying Checksum [2021-09-29T13:58:22.797Z] 9065ff56babe: Download complete [2021-09-29T13:58:22.797Z] ed53099fbce6: Verifying Checksum [2021-09-29T13:58:22.797Z] ed53099fbce6: Download complete [2021-09-29T13:58:23.380Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz [2021-09-29T13:58:24.202Z] b4d181a07f80: Verifying Checksum [2021-09-29T13:58:24.202Z] b4d181a07f80: Download complete [2021-09-29T13:58:24.355Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2021-09-29T13:58:24.355Z] (1/22) Installing hiredis (0.14.1-r0) [2021-09-29T13:58:24.627Z] (2/22) Installing hiredis-dev (0.14.1-r0) [2021-09-29T13:58:25.222Z] (3/22) Installing ncurses-dev (6.2_p20200523-r0) [2021-09-29T13:58:25.222Z] (4/22) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2021-09-29T13:58:25.617Z] b4d181a07f80: Pull complete [2021-09-29T13:58:25.617Z] a1111a8f2ec3: Pull complete [2021-09-29T13:58:26.198Z] (5/22) Installing libblkid (2.35.2-r0) [2021-09-29T13:58:26.207Z] ed53099fbce6: Pull complete [2021-09-29T13:58:26.207Z] dc539afda2c1: Pull complete [2021-09-29T13:58:26.470Z] (6/22) Installing blkid (2.35.2-r0) [2021-09-29T13:58:26.470Z] (7/22) Installing libcap-ng (0.7.10-r1) [2021-09-29T13:58:26.480Z] 77bc0d833cb6: Pull complete [2021-09-29T13:58:26.480Z] 9065ff56babe: Pull complete [2021-09-29T13:58:26.746Z] (8/22) Installing setpriv (2.35.2-r0) [2021-09-29T13:58:26.746Z] (9/22) Installing libmount (2.35.2-r0) [2021-09-29T13:58:27.019Z] (10/22) Installing libsmartcols (2.35.2-r0) [2021-09-29T13:58:27.293Z] (11/22) Installing findmnt (2.35.2-r0) [2021-09-29T13:58:27.293Z] (12/22) Installing mcookie (2.35.2-r0) [2021-09-29T13:58:27.293Z] (13/22) Installing hexdump (2.35.2-r0) [2021-09-29T13:58:27.566Z] (14/22) Installing lsblk (2.35.2-r0) [2021-09-29T13:58:27.566Z] (15/22) Installing libuuid (2.35.2-r0) [2021-09-29T13:58:27.566Z] (16/22) Installing libfdisk (2.35.2-r0) [2021-09-29T13:58:27.839Z] (17/22) Installing sfdisk (2.35.2-r0) [2021-09-29T13:58:27.884Z] d287ab97295c: Verifying Checksum [2021-09-29T13:58:27.884Z] d287ab97295c: Download complete [2021-09-29T13:58:28.113Z] (18/22) Installing cfdisk (2.35.2-r0) [2021-09-29T13:58:28.113Z] (19/22) Installing util-linux (2.35.2-r0) [2021-09-29T13:58:29.544Z] (20/22) Installing util-linux-dev (2.35.2-r0) [2021-09-29T13:58:30.522Z] (21/22) Installing libidn2 (2.3.0-r0) [2021-09-29T13:58:30.523Z] (22/22) Installing wget (1.20.3-r1) [2021-09-29T13:58:30.795Z] Executing busybox-1.31.1-r20.trigger [2021-09-29T13:58:30.795Z] OK: 276 MiB in 97 packages [2021-09-29T13:58:32.188Z] d287ab97295c: Pull complete [2021-09-29T13:58:32.188Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-09-29T13:58:32.188Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-29T13:58:32.188Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-09-29T13:58:32.301Z] prd-centos7-docker-4c-2g-125 does not seem to be running inside a container [2021-09-29T13:58:32.359Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/5 -v /w/workspace/device-sdk-c/5:/w/workspace/device-sdk-c/5:rw,z -v /w/workspace/device-sdk-c/5@tmp:/w/workspace/device-sdk-c/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-09-29T13:58:32.768Z] Removing intermediate container b22c5a45b724 [2021-09-29T13:58:32.768Z] ---> f0a7505b3ad0 [2021-09-29T13:58:32.768Z] Step 6/25 : ENV CBOR_VERSION=0.5.0 [2021-09-29T13:58:32.768Z] ---> Running in 1b5325c127db [2021-09-29T13:58:33.363Z] Removing intermediate container 1b5325c127db [2021-09-29T13:58:33.363Z] ---> c201a43d87ca [2021-09-29T13:58:33.363Z] 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 [2021-09-29T13:58:33.636Z] ---> Running in 452dac78777b [2021-09-29T13:58:35.068Z] --2021-09-29 13:58:34-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-09-29T13:58:35.068Z] Resolving github.com (github.com)... 140.82.112.4 [2021-09-29T13:58:35.068Z] Connecting to github.com (github.com)|140.82.112.4|:443... connected. [2021-09-29T13:58:35.068Z] HTTP request sent, awaiting response... 302 Found [2021-09-29T13:58:35.068Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-09-29T13:58:35.068Z] --2021-09-29 13:58:34-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-09-29T13:58:35.068Z] Resolving codeload.github.com (codeload.github.com)... 140.82.114.10 [2021-09-29T13:58:35.068Z] Connecting to codeload.github.com (codeload.github.com)|140.82.114.10|:443... connected. [2021-09-29T13:58:35.278Z] $ docker top ddc6cf27d73d6a1ac1fd2b685ef897b253b211183fd4ae56c65cc55dd06f3c60 -eo pid,comm [2021-09-29T13:58:35.342Z] HTTP request sent, awaiting response... 200 OK [2021-09-29T13:58:35.342Z] Length: unspecified [application/x-gzip] [2021-09-29T13:58:35.342Z] Saving to: 'STDOUT' [2021-09-29T13:58:35.342Z]  [2021-09-29T13:58:35.342Z] 0K .......... .......... .......... .......... .......... 1.14M [2021-09-29T13:58:35.342Z] 50K .......... .......... .......... .......... .......... 2.23M [2021-09-29T13:58:35.343Z] 100K .......... .......... .......... .......... .......... 12.0M [2021-09-29T13:58:35.343Z] 150K .......... .......... .......... .......... .......... 2.62M [2021-09-29T13:58:35.343Z] 200K .......... .......... .......... .......... .......... 14.4M [2021-09-29T13:58:35.343Z] 250K .......... .......... .......... .......... .......... 2.88M [2021-09-29T13:58:35.343Z] 300K .......... .......... .......... .......... .......... 2.45M [2021-09-29T13:58:35.343Z] 350K .......... .......... .......... .......... .......... 10.9M [2021-09-29T13:58:35.343Z] 400K .......... .......... .......... .......... .......... 4.37M [2021-09-29T13:58:35.343Z] 450K .......... .......... .......... .......... .......... 7.17M [2021-09-29T13:58:35.343Z] 500K .......... .......... .......... .......... .......... 3.65M [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-09-29T13:58:35.615Z] 550K .......... .......... .......... .......... .......... 3.16M [2021-09-29T13:58:35.615Z] 600K .......... .......... .......... .......... .......... 790K [2021-09-29T13:58:35.615Z] 650K .......... .......... .......... .......... .......... 2.20M [2021-09-29T13:58:35.615Z] 700K ..      4.02M=0.3s [2021-09-29T13:58:35.615Z] [2021-09-29T13:58:35.615Z] 2021-09-29 13:58:35 (2.59 MB/s) - written to stdout [719348] [2021-09-29T13:58:35.615Z] [2021-09-29T13:58:35.873Z] ---> job-cost.sh [2021-09-29T13:58:35.873Z] lf-activate-venv: SKIPPING [2021-09-29T13:58:35.873Z] INFO: No Stack... [2021-09-29T13:58:35.888Z] -- The C compiler identification is GNU 9.3.0 [2021-09-29T13:58:36.159Z] -- The CXX compiler identification is GNU 9.3.0 [2021-09-29T13:58:36.159Z] -- Check for working C compiler: /usr/bin/cc [2021-09-29T13:58:36.433Z] -- Check for working C compiler: /usr/bin/cc - works [2021-09-29T13:58:36.433Z] -- Detecting C compiler ABI info [2021-09-29T13:58:36.706Z] -- Detecting C compiler ABI info - done [2021-09-29T13:58:36.982Z] -- Detecting C compile features [2021-09-29T13:58:36.982Z] -- Detecting C compile features - done [2021-09-29T13:58:36.982Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-09-29T13:58:37.255Z] -- Check for working CXX compiler: /usr/bin/c++ - works [2021-09-29T13:58:37.255Z] -- Detecting CXX compiler ABI info [2021-09-29T13:58:37.528Z] -- Detecting CXX compiler ABI info - done [2021-09-29T13:58:37.528Z] -- Detecting CXX compile features [2021-09-29T13:58:37.528Z] -- Detecting CXX compile features - done [2021-09-29T13:58:37.528Z] -- Looking for include file endian.h [2021-09-29T13:58:37.802Z] -- Looking for include file endian.h - found [2021-09-29T13:58:37.802Z] -- Check if the system is big endian [2021-09-29T13:58:37.802Z] -- Searching 16 bit integer [2021-09-29T13:58:37.802Z] -- Looking for sys/types.h [2021-09-29T13:58:38.080Z] -- Looking for sys/types.h - found [2021-09-29T13:58:38.080Z] -- Looking for stdint.h [2021-09-29T13:58:38.356Z] -- Looking for stdint.h - found [2021-09-29T13:58:38.356Z] -- Looking for stddef.h [2021-09-29T13:58:38.447Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-09-29T13:58:38.630Z] -- Looking for stddef.h - found [2021-09-29T13:58:38.630Z] -- Check size of unsigned short [2021-09-29T13:58:38.903Z] -- Check size of unsigned short - done [2021-09-29T13:58:38.903Z] -- Searching 16 bit integer - Using unsigned short [2021-09-29T13:58:39.029Z] INFO: Archiving Costs [Pipeline] sh [2021-09-29T13:58:39.176Z] -- Check if the system is big endian - little endian [2021-09-29T13:58:39.344Z] + cat /w/workspace/device-sdk-c/5/archives/cost.csv [2021-09-29T13:58:39.344Z] + cut -d, -f6 [Pipeline] lock [2021-09-29T13:58:39.388Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-378-5-stack-cost] [2021-09-29T13:58:39.398Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-378-5-stack-cost] did not exist. Created. [2021-09-29T13:58:39.398Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-378-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-09-29T13:58:39.453Z] -- Check size of size_t [2021-09-29T13:58:39.724Z] -- Check size of size_t - done [2021-09-29T13:58:39.724Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-09-29T13:58:39.724Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-09-29T13:58:39.724Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-09-29T13:58:39.724Z] CMake did not find one. [2021-09-29T13:58:39.724Z] [2021-09-29T13:58:39.724Z] Could not find a package configuration file provided by "cJSON" with any of [2021-09-29T13:58:39.724Z] the following names: [2021-09-29T13:58:39.724Z] [2021-09-29T13:58:39.724Z] cJSONConfig.cmake [2021-09-29T13:58:39.724Z] cjson-config.cmake [2021-09-29T13:58:39.724Z] [2021-09-29T13:58:39.724Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-09-29T13:58:39.724Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-09-29T13:58:39.724Z] provides a separate development package or SDK, be sure it has been [2021-09-29T13:58:39.724Z] installed. [2021-09-29T13:58:39.724Z] [2021-09-29T13:58:39.724Z] [2021-09-29T13:58:39.724Z] -- Configuring done [2021-09-29T13:58:39.729Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-09-29T13:58:39.960Z] Stashed 1 file(s) [Pipeline] } [2021-09-29T13:58:39.989Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-378-5-stack-cost] [Pipeline] // lock [Pipeline] } [2021-09-29T13:58:40.011Z] -- Generating done [2021-09-29T13:58:40.011Z] -- Build files have been written to: /tmp/cbor [2021-09-29T13:58:40.011Z] Scanning dependencies of target cbor_shared [2021-09-29T13:58:40.011Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-09-29T13:58:40.014Z] $ docker stop --time=1 ddc6cf27d73d6a1ac1fd2b685ef897b253b211183fd4ae56c65cc55dd06f3c60 [2021-09-29T13:58:40.996Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-09-29T13:58:41.162Z] $ docker rm -f ddc6cf27d73d6a1ac1fd2b685ef897b253b211183fd4ae56c65cc55dd06f3c60 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-09-29T13:58:41.980Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-09-29T13:58:41.980Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-09-29T13:58:42.957Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-09-29T13:58:42.957Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-09-29T13:58:43.230Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-09-29T13:58:43.503Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-09-29T13:58:43.777Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-09-29T13:58:44.050Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-09-29T13:58:44.646Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-09-29T13:58:44.920Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-09-29T13:58:45.519Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-09-29T13:58:45.809Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-09-29T13:58:46.082Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-09-29T13:58:46.355Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-09-29T13:58:46.628Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-09-29T13:58:47.223Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-09-29T13:58:47.223Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-09-29T13:58:47.496Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-09-29T13:58:47.769Z] [ 40%] Linking C shared library libcbor.so [2021-09-29T13:58:48.043Z] [ 40%] Built target cbor_shared [2021-09-29T13:58:48.043Z] Scanning dependencies of target cbor [2021-09-29T13:58:48.043Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-09-29T13:58:49.022Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-09-29T13:58:49.619Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-09-29T13:58:49.892Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-09-29T13:58:51.867Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-09-29T13:58:52.146Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-09-29T13:58:52.425Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-09-29T13:58:52.425Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-09-29T13:58:52.704Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-09-29T13:58:53.306Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-09-29T13:58:53.921Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-09-29T13:58:54.197Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-09-29T13:58:54.790Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-09-29T13:58:55.383Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-09-29T13:58:55.655Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-09-29T13:58:55.927Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-09-29T13:58:56.199Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-09-29T13:58:56.471Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-09-29T13:58:56.742Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-09-29T13:58:57.016Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-09-29T13:58:57.288Z] [ 80%] Linking C static library libcbor.a [2021-09-29T13:58:57.289Z] [ 80%] Built target cbor [2021-09-29T13:58:57.289Z] Scanning dependencies of target sort [2021-09-29T13:58:57.596Z] [ 82%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-09-29T13:58:57.596Z] [ 84%] Linking C executable sort [2021-09-29T13:58:57.871Z] [ 84%] Built target sort [2021-09-29T13:58:57.871Z] Scanning dependencies of target readfile [2021-09-29T13:58:57.871Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-09-29T13:58:58.142Z] [ 88%] Linking C executable readfile [2021-09-29T13:58:58.142Z] [ 88%] Built target readfile [2021-09-29T13:58:58.142Z] Scanning dependencies of target streaming_parser [2021-09-29T13:58:58.142Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-09-29T13:58:58.417Z] [ 92%] Linking C executable streaming_parser [2021-09-29T13:58:58.689Z] [ 92%] Built target streaming_parser [2021-09-29T13:58:58.689Z] Scanning dependencies of target hello [2021-09-29T13:58:58.689Z] [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-09-29T13:58:58.689Z] [ 96%] Linking C executable hello [2021-09-29T13:58:58.961Z] [ 96%] Built target hello [2021-09-29T13:58:58.961Z] Scanning dependencies of target create_items [2021-09-29T13:58:58.961Z] [ 98%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-09-29T13:58:59.234Z] [100%] Linking C executable create_items [2021-09-29T13:58:59.234Z] [100%] Built target create_items [2021-09-29T13:58:59.234Z] Install the project... [2021-09-29T13:58:59.234Z] -- Install configuration: "Release" [2021-09-29T13:58:59.234Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-09-29T13:58:59.234Z] -- Installing: /usr/local/lib64/libcbor.a [2021-09-29T13:58:59.234Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-09-29T13:58:59.234Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-09-29T13:58:59.234Z] -- Installing: /usr/local/lib64/libcbor.so [2021-09-29T13:58:59.234Z] -- Up-to-date: /usr/local/include/cbor [2021-09-29T13:58:59.234Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-09-29T13:58:59.234Z] -- Installing: /usr/local/include/cbor/ints.h [2021-09-29T13:58:59.234Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-09-29T13:58:59.234Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-09-29T13:58:59.234Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-09-29T13:58:59.234Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-09-29T13:58:59.234Z] -- Installing: /usr/local/include/cbor/data.h [2021-09-29T13:58:59.234Z] -- Installing: /usr/local/include/cbor/common.h [2021-09-29T13:58:59.234Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-09-29T13:58:59.234Z] -- Installing: /usr/local/include/cbor/strings.h [2021-09-29T13:58:59.234Z] -- Installing: /usr/local/include/cbor/tags.h [2021-09-29T13:58:59.234Z] -- Installing: /usr/local/include/cbor/internal [2021-09-29T13:58:59.234Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-09-29T13:58:59.234Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-09-29T13:58:59.234Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-09-29T13:58:59.234Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-09-29T13:58:59.234Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-09-29T13:58:59.513Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-09-29T13:58:59.514Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-09-29T13:58:59.514Z] -- Installing: /usr/local/include/cbor/maps.h [2021-09-29T13:58:59.514Z] -- Installing: /usr/local/include/cbor.h [2021-09-29T13:58:59.514Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-09-29T13:59:01.489Z] Removing intermediate container 452dac78777b [2021-09-29T13:59:01.489Z] ---> 6426045edbce [2021-09-29T13:59:01.489Z] Step 8/25 : RUN mkdir /tmp/sdk [2021-09-29T13:59:01.762Z] ---> Running in d5ae889de9b4 [2021-09-29T13:59:04.390Z] Removing intermediate container d5ae889de9b4 [2021-09-29T13:59:04.390Z] ---> 0c21ec2b6701 [2021-09-29T13:59:04.390Z] Step 9/25 : COPY VERSION /tmp/sdk [2021-09-29T13:59:04.984Z] ---> 3f88e8335512 [2021-09-29T13:59:04.984Z] Step 10/25 : COPY src /tmp/sdk/src [2021-09-29T13:59:05.961Z] ---> e0db478a9eb3 [2021-09-29T13:59:05.961Z] Step 11/25 : COPY include /tmp/sdk/include [2021-09-29T13:59:06.565Z] ---> 8197d6b04baf [2021-09-29T13:59:06.565Z] Step 12/25 : COPY scripts /tmp/sdk/scripts [2021-09-29T13:59:07.544Z] ---> 468e327887af [2021-09-29T13:59:07.544Z] Step 13/25 : COPY LICENSE /tmp/sdk [2021-09-29T13:59:08.523Z] ---> debce5d341f7 [2021-09-29T13:59:08.523Z] Step 14/25 : COPY Attribution.txt /tmp/sdk [2021-09-29T13:59:09.122Z] ---> 6f95810183df [2021-09-29T13:59:09.122Z] Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-09-29T13:59:09.396Z] ---> Running in f215bbb822a0 [2021-09-29T13:59:10.830Z] + CPPCHECK=false [2021-09-29T13:59:10.830Z] + DOCGEN=false [2021-09-29T13:59:10.830Z] + TOMLVER=SDK-0.2 [2021-09-29T13:59:10.830Z] + CUTILVER=1.2.2 [2021-09-29T13:59:10.830Z] + '[' 0 -gt 0 ] [2021-09-29T13:59:10.830Z] + readlink -f ./scripts/build.sh [2021-09-29T13:59:10.830Z] + dirname /tmp/sdk/scripts/build.sh [2021-09-29T13:59:10.830Z] + dirname /tmp/sdk/scripts [2021-09-29T13:59:10.830Z] + ROOT=/tmp/sdk [2021-09-29T13:59:10.830Z] + cd /tmp/sdk [2021-09-29T13:59:10.830Z] + '[' '!' -d deps ] [2021-09-29T13:59:10.830Z] + mkdir deps [2021-09-29T13:59:10.830Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-09-29T13:59:10.830Z] + tar -C deps -z -x -f - [2021-09-29T13:59:10.830Z] --2021-09-29 13:59:10-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-09-29T13:59:10.830Z] Resolving github.com (github.com)... 140.82.112.4 [2021-09-29T13:59:10.830Z] Connecting to github.com (github.com)|140.82.112.4|:443... connected. [2021-09-29T13:59:10.830Z] HTTP request sent, awaiting response... 302 Found [2021-09-29T13:59:10.831Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-09-29T13:59:10.831Z] --2021-09-29 13:59:10-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-09-29T13:59:10.831Z] Resolving codeload.github.com (codeload.github.com)... 140.82.114.10 [2021-09-29T13:59:10.831Z] Connecting to codeload.github.com (codeload.github.com)|140.82.114.10|:443... connected. [2021-09-29T13:59:11.104Z] HTTP request sent, awaiting response... 200 OK [2021-09-29T13:59:11.104Z] Length: unspecified [application/x-gzip] [2021-09-29T13:59:11.104Z] Saving to: 'STDOUT' [2021-09-29T13:59:11.104Z]  [2021-09-29T13:59:11.104Z] 0K .......... ......  792K=0.02s [2021-09-29T13:59:11.104Z] [2021-09-29T13:59:11.104Z] 2021-09-29 13:59:10 (792 KB/s) - written to stdout [16451] [2021-09-29T13:59:11.104Z] [2021-09-29T13:59:11.104Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-09-29T13:59:11.104Z] + + wgettar -C -O deps - -z https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz -x -f [2021-09-29T13:59:11.104Z] - [2021-09-29T13:59:11.104Z] --2021-09-29 13:59:10-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2021-09-29T13:59:11.104Z] Resolving github.com (github.com)... 140.82.112.4 [2021-09-29T13:59:11.104Z] Connecting to github.com (github.com)|140.82.112.4|:443... connected. [2021-09-29T13:59:11.385Z] HTTP request sent, awaiting response... 302 Found [2021-09-29T13:59:11.386Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [following] [2021-09-29T13:59:11.386Z] --2021-09-29 13:59:11-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [2021-09-29T13:59:11.386Z] Resolving codeload.github.com (codeload.github.com)... 140.82.114.10 [2021-09-29T13:59:11.386Z] Connecting to codeload.github.com (codeload.github.com)|140.82.114.10|:443... connected. [2021-09-29T13:59:11.386Z] HTTP request sent, awaiting response... 200 OK [2021-09-29T13:59:11.386Z] Length: unspecified [application/x-gzip] [2021-09-29T13:59:11.386Z] Saving to: 'STDOUT' [2021-09-29T13:59:11.386Z] [2021-09-29T13:59:11.659Z] 0K .......... .......... .......... .......... .......... 1.17M [2021-09-29T13:59:11.659Z] 50K .......... .......... .......... .......... .......... 2.32M [2021-09-29T13:59:11.659Z] 100K .......... .......... .......... .......... .......... 2.21M [2021-09-29T13:59:11.659Z] 150K .......... .......... .......... ......... 4.10M=0.09s [2021-09-29T13:59:11.659Z] [2021-09-29T13:59:11.659Z] 2021-09-29 13:59:11 (1.96 MB/s) - written to stdout [193971] [2021-09-29T13:59:11.659Z] [2021-09-29T13:59:11.659Z] + mkdir -p src/c/iot [2021-09-29T13:59:11.659Z] + cp deps/iotech-c-utils-1.2.2/src/c/base64.c deps/iotech-c-utils-1.2.2/src/c/component.c deps/iotech-c-utils-1.2.2/src/c/config.c deps/iotech-c-utils-1.2.2/src/c/container.c deps/iotech-c-utils-1.2.2/src/c/data.c deps/iotech-c-utils-1.2.2/src/c/hash.c deps/iotech-c-utils-1.2.2/src/c/iot.c deps/iotech-c-utils-1.2.2/src/c/json.c deps/iotech-c-utils-1.2.2/src/c/logger.c deps/iotech-c-utils-1.2.2/src/c/os.c deps/iotech-c-utils-1.2.2/src/c/scheduler.c deps/iotech-c-utils-1.2.2/src/c/thread.c deps/iotech-c-utils-1.2.2/src/c/threadpool.c deps/iotech-c-utils-1.2.2/src/c/time.c deps/iotech-c-utils-1.2.2/src/c/uuid.c deps/iotech-c-utils-1.2.2/src/c/yxml.c src/c/iot [2021-09-29T13:59:11.659Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2021-09-29T13:59:11.659Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2021-09-29T13:59:11.659Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2021-09-29T13:59:11.659Z] + mkdir -p include/iot [2021-09-29T13:59:11.659Z] + cp deps/iotech-c-utils-1.2.2/include/iot/base64.h deps/iotech-c-utils-1.2.2/include/iot/component.h deps/iotech-c-utils-1.2.2/include/iot/config.h deps/iotech-c-utils-1.2.2/include/iot/container.h deps/iotech-c-utils-1.2.2/include/iot/data.h deps/iotech-c-utils-1.2.2/include/iot/hash.h deps/iotech-c-utils-1.2.2/include/iot/iot.h deps/iotech-c-utils-1.2.2/include/iot/json.h deps/iotech-c-utils-1.2.2/include/iot/logger.h deps/iotech-c-utils-1.2.2/include/iot/os.h deps/iotech-c-utils-1.2.2/include/iot/scheduler.h deps/iotech-c-utils-1.2.2/include/iot/thread.h deps/iotech-c-utils-1.2.2/include/iot/threadpool.h deps/iotech-c-utils-1.2.2/include/iot/time.h deps/iotech-c-utils-1.2.2/include/iot/typecode.h deps/iotech-c-utils-1.2.2/include/iot/uuid.h include/iot [2021-09-29T13:59:11.659Z] + mkdir -p include/iot/os [2021-09-29T13:59:11.659Z] + cp deps/iotech-c-utils-1.2.2/include/iot/os/linux.h deps/iotech-c-utils-1.2.2/include/iot/os/macos.h deps/iotech-c-utils-1.2.2/include/iot/os/zephyr.h include/iot/os [2021-09-29T13:59:11.659Z] + mkdir -p /tmp/sdk/build/release [2021-09-29T13:59:11.659Z] + cd /tmp/sdk/build/release [2021-09-29T13:59:11.659Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-09-29T13:59:11.934Z] -- The C compiler identification is GNU 9.3.0 [2021-09-29T13:59:11.934Z] -- Check for working C compiler: /usr/bin/cc [2021-09-29T13:59:12.209Z] -- Check for working C compiler: /usr/bin/cc - works [2021-09-29T13:59:12.209Z] -- Detecting C compiler ABI info [2021-09-29T13:59:12.482Z] -- Detecting C compiler ABI info - done [2021-09-29T13:59:12.758Z] -- Detecting C compile features [2021-09-29T13:59:12.758Z] -- Detecting C compile features - done [2021-09-29T13:59:12.758Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-09-29T13:59:12.758Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") [2021-09-29T13:59:12.758Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-09-29T13:59:12.758Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-09-29T13:59:12.758Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-09-29T13:59:13.031Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-09-29T13:59:13.031Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-09-29T13:59:13.031Z] -- C SDK 0.0.0 for Linux [2021-09-29T13:59:13.031Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-09-29T13:59:13.302Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-09-29T13:59:13.302Z] -- Found Curses: /usr/lib/libcurses.so [2021-09-29T13:59:13.575Z] -- Configuring done [2021-09-29T13:59:13.846Z] -- Generating done [2021-09-29T13:59:13.846Z] -- Build files have been written to: /tmp/sdk/build/release [2021-09-29T13:59:13.846Z] + make all package [2021-09-29T13:59:13.846Z] + tee release.log [2021-09-29T13:59:13.846Z] Scanning dependencies of target csdk [2021-09-29T13:59:14.121Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-09-29T13:59:14.718Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-09-29T13:59:15.316Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-09-29T13:59:17.290Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-09-29T13:59:18.270Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-09-29T13:59:18.549Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-09-29T13:59:19.143Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-09-29T13:59:19.739Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-09-29T13:59:20.014Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-09-29T13:59:21.446Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-09-29T13:59:23.409Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-09-29T13:59:23.679Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-09-29T13:59:24.651Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-09-29T13:59:25.241Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-09-29T13:59:25.516Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-09-29T13:59:25.786Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-09-29T13:59:26.058Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-09-29T13:59:29.466Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-09-29T13:59:29.755Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-09-29T13:59:30.362Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-09-29T13:59:30.636Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-09-29T13:59:31.274Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-09-29T13:59:31.553Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2021-09-29T13:59:31.553Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2021-09-29T13:59:31.553Z] 275 | const iot_component_factory_t * factory; [2021-09-29T13:59:31.553Z] | ^~~~~~~ [2021-09-29T13:59:32.149Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-09-29T13:59:38.853Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-09-29T13:59:38.853Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-09-29T13:59:39.127Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-09-29T13:59:39.720Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-09-29T13:59:40.314Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-09-29T13:59:40.587Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-09-29T13:59:42.023Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-09-29T13:59:42.023Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-09-29T13:59:43.008Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-09-29T13:59:43.285Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2021-09-29T13:59:43.886Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-09-29T13:59:46.501Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-09-29T13:59:46.501Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-09-29T13:59:47.931Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-09-29T13:59:47.931Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-09-29T13:59:53.323Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-09-29T13:59:53.323Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-09-29T13:59:53.915Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-09-29T13:59:54.507Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-09-29T13:59:55.481Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-09-29T13:59:57.447Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-09-29T13:59:57.720Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-09-29T13:59:58.312Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-09-29T13:59:58.584Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-09-29T14:00:01.195Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-09-29T14:00:05.500Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-09-29T14:00:06.095Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-09-29T14:00:06.370Z] [ 76%] Linking C shared library libcsdk.so [2021-09-29T14:00:06.644Z] [ 76%] Built target csdk [2021-09-29T14:00:06.644Z] Scanning dependencies of target template [2021-09-29T14:00:06.644Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-09-29T14:00:07.621Z] [ 79%] Linking C executable template [2021-09-29T14:00:07.893Z] [ 79%] Built target template [2021-09-29T14:00:07.893Z] Scanning dependencies of target device-counter [2021-09-29T14:00:07.893Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-09-29T14:00:08.487Z] [ 82%] Linking C executable device-counter [2021-09-29T14:00:08.760Z] [ 82%] Built target device-counter [2021-09-29T14:00:08.760Z] Scanning dependencies of target device-random [2021-09-29T14:00:08.760Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-09-29T14:00:09.354Z] [ 85%] Linking C executable device-random [2021-09-29T14:00:09.354Z] [ 85%] Built target device-random [2021-09-29T14:00:09.627Z] Scanning dependencies of target device-gyro [2021-09-29T14:00:09.627Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-09-29T14:00:09.899Z] [ 88%] Linking C executable device-gyro [2021-09-29T14:00:10.172Z] [ 88%] Built target device-gyro [2021-09-29T14:00:10.172Z] Scanning dependencies of target device-bitfields [2021-09-29T14:00:10.445Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-09-29T14:00:10.719Z] [ 91%] Linking C executable device-bitfields [2021-09-29T14:00:11.318Z] [ 91%] Built target device-bitfields [2021-09-29T14:00:11.318Z] Scanning dependencies of target template-discovery [2021-09-29T14:00:11.318Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-09-29T14:00:11.914Z] [ 94%] Linking C executable template-discovery [2021-09-29T14:00:12.189Z] [ 94%] Built target template-discovery [2021-09-29T14:00:12.189Z] Scanning dependencies of target device-file [2021-09-29T14:00:12.463Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-09-29T14:00:13.060Z] [ 97%] Linking C executable device-file [2021-09-29T14:00:13.333Z] [ 97%] Built target device-file [2021-09-29T14:00:13.333Z] Scanning dependencies of target device-terminal [2021-09-29T14:00:13.333Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-09-29T14:00:13.930Z] [100%] Linking C executable device-terminal [2021-09-29T14:00:14.204Z] [100%] Built target device-terminal [2021-09-29T14:00:14.478Z] Run CPack packaging tool... [2021-09-29T14:00:14.478Z] CPack: Create package using TGZ [2021-09-29T14:00:14.478Z] CPack: Install projects [2021-09-29T14:00:14.478Z] CPack: - Run preinstall target for: Csdk [2021-09-29T14:00:15.073Z] CPack: - Install project: Csdk [] [2021-09-29T14:00:15.073Z] CPack: Create package [2021-09-29T14:00:15.073Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-09-29T14:00:15.073Z] + '[' false '=' true ] [2021-09-29T14:00:15.073Z] + '[' false '=' true ] [2021-09-29T14:00:15.073Z] + mkdir -p /tmp/sdk/build/debug [2021-09-29T14:00:15.073Z] + cd /tmp/sdk/build/debug [2021-09-29T14:00:15.073Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-09-29T14:00:15.345Z] -- The C compiler identification is GNU 9.3.0 [2021-09-29T14:00:15.617Z] -- Check for working C compiler: /usr/bin/cc [2021-09-29T14:00:15.896Z] -- Check for working C compiler: /usr/bin/cc - works [2021-09-29T14:00:15.896Z] -- Detecting C compiler ABI info [2021-09-29T14:00:16.169Z] -- Detecting C compiler ABI info - done [2021-09-29T14:00:16.169Z] -- Detecting C compile features [2021-09-29T14:00:16.169Z] -- Detecting C compile features - done [2021-09-29T14:00:16.169Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-09-29T14:00:16.440Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") [2021-09-29T14:00:16.440Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-09-29T14:00:16.440Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-09-29T14:00:16.441Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-09-29T14:00:16.441Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-09-29T14:00:16.441Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-09-29T14:00:16.441Z] -- C SDK 0.0.0 for Linux [2021-09-29T14:00:16.441Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-09-29T14:00:16.712Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-09-29T14:00:16.712Z] -- Found Curses: /usr/lib/libcurses.so [2021-09-29T14:00:16.984Z] -- Configuring done [2021-09-29T14:00:17.255Z] -- Generating done [2021-09-29T14:00:17.255Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-09-29T14:00:17.255Z] + + maketee [2021-09-29T14:00:17.255Z] debug.log [2021-09-29T14:00:17.255Z] Scanning dependencies of target csdk [2021-09-29T14:00:17.527Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-09-29T14:00:18.123Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-09-29T14:00:18.397Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-09-29T14:00:18.990Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-09-29T14:00:19.262Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-09-29T14:00:19.537Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-09-29T14:00:19.812Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-09-29T14:00:20.084Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-09-29T14:00:20.358Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-09-29T14:00:20.951Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-09-29T14:00:21.547Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-09-29T14:00:21.821Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-09-29T14:00:22.097Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-09-29T14:00:22.369Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-09-29T14:00:22.966Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-09-29T14:00:22.966Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-09-29T14:00:23.238Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-09-29T14:00:24.211Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-09-29T14:00:24.211Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-09-29T14:00:24.482Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-09-29T14:00:24.755Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-09-29T14:00:25.026Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-09-29T14:00:25.026Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2021-09-29T14:00:25.026Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2021-09-29T14:00:25.026Z] 275 | const iot_component_factory_t * factory; [2021-09-29T14:00:25.026Z] | ^~~~~~~ [2021-09-29T14:00:25.298Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-09-29T14:00:26.730Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-09-29T14:00:26.730Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-09-29T14:00:26.730Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-09-29T14:00:27.007Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-09-29T14:00:27.282Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-09-29T14:00:27.555Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-09-29T14:00:27.826Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-09-29T14:00:28.097Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-09-29T14:00:28.369Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-09-29T14:00:28.641Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2021-09-29T14:00:28.913Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-09-29T14:00:29.508Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-09-29T14:00:29.508Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-09-29T14:00:30.100Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-09-29T14:00:30.372Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-09-29T14:00:31.800Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-09-29T14:00:31.800Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-09-29T14:00:32.071Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-09-29T14:00:32.343Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-09-29T14:00:32.934Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-09-29T14:00:33.910Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-09-29T14:00:34.183Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-09-29T14:00:34.455Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-09-29T14:00:34.728Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-09-29T14:00:35.327Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-09-29T14:00:36.302Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-09-29T14:00:36.574Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-09-29T14:00:36.847Z] [ 76%] Linking C shared library libcsdk.so [2021-09-29T14:00:37.118Z] [ 76%] Built target csdk [2021-09-29T14:00:37.118Z] Scanning dependencies of target template [2021-09-29T14:00:37.118Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-09-29T14:00:37.390Z] [ 79%] Linking C executable template [2021-09-29T14:00:37.662Z] [ 79%] Built target template [2021-09-29T14:00:37.662Z] Scanning dependencies of target device-counter [2021-09-29T14:00:37.935Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-09-29T14:00:38.208Z] [ 82%] Linking C executable device-counter [2021-09-29T14:00:38.481Z] [ 82%] Built target device-counter [2021-09-29T14:00:38.481Z] Scanning dependencies of target device-random [2021-09-29T14:00:38.481Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-09-29T14:00:38.755Z] [ 85%] Linking C executable device-random [2021-09-29T14:00:39.028Z] [ 85%] Built target device-random [2021-09-29T14:00:39.028Z] Scanning dependencies of target device-gyro [2021-09-29T14:00:39.028Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-09-29T14:00:39.302Z] [ 88%] Linking C executable device-gyro [2021-09-29T14:00:39.575Z] [ 88%] Built target device-gyro [2021-09-29T14:00:39.575Z] Scanning dependencies of target device-bitfields [2021-09-29T14:00:39.575Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-09-29T14:00:39.847Z] [ 91%] Linking C executable device-bitfields [2021-09-29T14:00:40.122Z] [ 91%] Built target device-bitfields [2021-09-29T14:00:40.122Z] Scanning dependencies of target template-discovery [2021-09-29T14:00:40.122Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-09-29T14:00:40.718Z] [ 94%] Linking C executable template-discovery [2021-09-29T14:00:40.718Z] [ 94%] Built target template-discovery [2021-09-29T14:00:40.718Z] Scanning dependencies of target device-file [2021-09-29T14:00:40.990Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-09-29T14:00:41.262Z] [ 97%] Linking C executable device-file [2021-09-29T14:00:41.534Z] [ 97%] Built target device-file [2021-09-29T14:00:41.534Z] Scanning dependencies of target device-terminal [2021-09-29T14:00:41.534Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-09-29T14:00:41.807Z] [100%] Linking C executable device-terminal [2021-09-29T14:00:42.078Z] [100%] Built target device-terminal [2021-09-29T14:00:42.349Z] make: Entering directory '/tmp/sdk/build/release' [2021-09-29T14:00:42.349Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-09-29T14:00:42.349Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-09-29T14:00:42.349Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-09-29T14:00:42.349Z] [ 76%] Built target csdk [2021-09-29T14:00:42.349Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-09-29T14:00:42.349Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-09-29T14:00:42.349Z] [ 79%] Built target template [2021-09-29T14:00:42.349Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-09-29T14:00:42.349Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-09-29T14:00:42.349Z] [ 82%] Built target device-counter [2021-09-29T14:00:42.349Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-09-29T14:00:42.349Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-09-29T14:00:42.621Z] [ 85%] Built target device-random [2021-09-29T14:00:42.621Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-09-29T14:00:42.621Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-09-29T14:00:42.621Z] [ 88%] Built target device-gyro [2021-09-29T14:00:42.621Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-09-29T14:00:42.621Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-09-29T14:00:42.621Z] [ 91%] Built target device-bitfields [2021-09-29T14:00:42.621Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-09-29T14:00:42.621Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-09-29T14:00:42.621Z] [ 94%] Built target template-discovery [2021-09-29T14:00:42.621Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-09-29T14:00:42.621Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-09-29T14:00:42.621Z] [ 97%] Built target device-file [2021-09-29T14:00:42.621Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-09-29T14:00:42.621Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-09-29T14:00:42.621Z] [100%] Built target device-terminal [2021-09-29T14:00:42.621Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-09-29T14:00:42.895Z] Install the project... [2021-09-29T14:00:42.895Z] -- Install configuration: "Release" [2021-09-29T14:00:42.895Z] -- Installing: /usr/local/lib/libcsdk.so [2021-09-29T14:00:42.895Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-09-29T14:00:42.895Z] -- Up-to-date: /usr/local/include [2021-09-29T14:00:42.895Z] -- Installing: /usr/local/include/edgex [2021-09-29T14:00:42.895Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-09-29T14:00:42.895Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-09-29T14:00:42.895Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-09-29T14:00:42.895Z] -- Installing: /usr/local/include/edgex/devices.h [2021-09-29T14:00:42.895Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-09-29T14:00:42.895Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-09-29T14:00:42.895Z] -- Installing: /usr/local/include/devsdk [2021-09-29T14:00:42.895Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-09-29T14:00:42.895Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-09-29T14:00:42.895Z] -- Installing: /usr/local/include/iot [2021-09-29T14:00:42.895Z] -- Installing: /usr/local/include/iot/json.h [2021-09-29T14:00:42.895Z] -- Installing: /usr/local/include/iot/container.h [2021-09-29T14:00:42.895Z] -- Installing: /usr/local/include/iot/component.h [2021-09-29T14:00:42.895Z] -- Installing: /usr/local/include/iot/typecode.h [2021-09-29T14:00:42.895Z] -- Installing: /usr/local/include/iot/iot.h [2021-09-29T14:00:42.895Z] -- Installing: /usr/local/include/iot/uuid.h [2021-09-29T14:00:42.895Z] -- Installing: /usr/local/include/iot/time.h [2021-09-29T14:00:42.895Z] -- Installing: /usr/local/include/iot/hash.h [2021-09-29T14:00:42.895Z] -- Installing: /usr/local/include/iot/logger.h [2021-09-29T14:00:42.895Z] -- Installing: /usr/local/include/iot/os [2021-09-29T14:00:42.895Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-09-29T14:00:42.895Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-09-29T14:00:42.895Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-09-29T14:00:42.895Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-09-29T14:00:42.895Z] -- Installing: /usr/local/include/iot/data.h [2021-09-29T14:00:42.895Z] -- Installing: /usr/local/include/iot/thread.h [2021-09-29T14:00:42.895Z] -- Installing: /usr/local/include/iot/os.h [2021-09-29T14:00:42.895Z] -- Installing: /usr/local/include/iot/base64.h [2021-09-29T14:00:42.895Z] -- Installing: /usr/local/include/iot/defs.h [2021-09-29T14:00:42.895Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-09-29T14:00:42.895Z] -- Installing: /usr/local/include/iot/config.h [2021-09-29T14:00:42.895Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-09-29T14:00:42.895Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-09-29T14:00:42.895Z] make: Leaving directory '/tmp/sdk/build/release' [2021-09-29T14:00:44.874Z] Removing intermediate container f215bbb822a0 [2021-09-29T14:00:44.874Z] ---> ec97f55c1ef2 [2021-09-29T14:00:44.874Z] Step 16/25 : FROM ${BASE} [2021-09-29T14:00:44.874Z] ---> 759262b18b23 [2021-09-29T14:00:44.874Z] Step 17/25 : LABEL maintainer="IOTech " [2021-09-29T14:00:45.155Z] ---> Running in 195778f1f979 [2021-09-29T14:00:45.750Z] Removing intermediate container 195778f1f979 [2021-09-29T14:00:45.750Z] ---> 46af0dcbcb30 [2021-09-29T14:00:45.750Z] Step 18/25 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2021-09-29T14:00:45.750Z] ---> Running in 319cf14bdf1d [2021-09-29T14:00:47.183Z] Connecting to iotech.jfrog.io (54.72.115.12:443) [2021-09-29T14:00:47.455Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2021-09-29T14:00:47.455Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2021-09-29T14:00:47.455Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2021-09-29T14:00:48.446Z] Removing intermediate container 319cf14bdf1d [2021-09-29T14:00:48.446Z] ---> 63911812b785 [2021-09-29T14:00:48.446Z] Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2021-09-29T14:00:48.718Z] ---> Running in 39deb2893dc0 [2021-09-29T14:00:51.337Z] Removing intermediate container 39deb2893dc0 [2021-09-29T14:00:51.337Z] ---> 1214ac01a04c [2021-09-29T14:00:51.337Z] Step 20/25 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid paho-mqtt-c-dev-1.3 hiredis-dev [2021-09-29T14:00:51.337Z] ---> Running in 90838e9c3b26 [2021-09-29T14:00:52.315Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-09-29T14:00:53.290Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-09-29T14:00:54.722Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz [2021-09-29T14:00:54.995Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2021-09-29T14:00:54.995Z] (1/7) Installing curl (7.79.1-r0) [2021-09-29T14:00:55.588Z] (2/7) Installing hiredis (0.14.1-r0) [2021-09-29T14:00:55.588Z] (3/7) Installing hiredis-dev (0.14.1-r0) [2021-09-29T14:00:55.860Z] (4/7) Installing libuuid (2.35.2-r0) [2021-09-29T14:00:56.132Z] (5/7) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2021-09-29T14:00:57.108Z] (6/7) Installing libidn2 (2.3.0-r0) [2021-09-29T14:00:57.382Z] (7/7) Installing wget (1.20.3-r1) [2021-09-29T14:00:57.656Z] Executing busybox-1.31.1-r20.trigger [2021-09-29T14:00:57.930Z] OK: 267 MiB in 82 packages [2021-09-29T14:00:59.362Z] Removing intermediate container 90838e9c3b26 [2021-09-29T14:00:59.362Z] ---> 247cc6573ed9 [2021-09-29T14:00:59.362Z] Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-09-29T14:00:59.960Z] ---> bf3ddd3e1f05 [2021-09-29T14:00:59.960Z] Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-09-29T14:01:00.939Z] ---> 575118f84458 [2021-09-29T14:01:00.939Z] Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-09-29T14:01:01.918Z] ---> 4a09bfbc289a [2021-09-29T14:01:01.918Z] Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-09-29T14:01:02.894Z] ---> f7fe9936187e [2021-09-29T14:01:02.894Z] Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-09-29T14:01:03.870Z] ---> 55a2842329f9 [2021-09-29T14:01:03.870Z] Successfully built 55a2842329f9 [2021-09-29T14:01:03.870Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-09-29T14:01:04.503Z] + docker inspect -f . ci-base-image-arm64 [2021-09-29T14:01:04.503Z] . [Pipeline] withDockerContainer [2021-09-29T14:01:04.782Z] prd-ubuntu18.04-docker-arm64-4c-16g-124 does not seem to be running inside a container [2021-09-29T14:01:04.937Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/5 -v /w/workspace/device-sdk-c/5:/w/workspace/device-sdk-c/5:rw,z -v /w/workspace/device-sdk-c/5@tmp:/w/workspace/device-sdk-c/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-09-29T14:01:06.621Z] $ docker top 5737c1d4c0c521917f2e7b5edc75f39f07e5e548f8af20161d6deda868ffbb81 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-09-29T14:01:07.559Z] + make test [2021-09-29T14:01:07.559Z] echo "make test" [2021-09-29T14:01:07.559Z] make test [Pipeline] } [2021-09-29T14:01:07.638Z] $ docker stop --time=1 5737c1d4c0c521917f2e7b5edc75f39f07e5e548f8af20161d6deda868ffbb81 [2021-09-29T14:01:09.590Z] $ docker rm -f 5737c1d4c0c521917f2e7b5edc75f39f07e5e548f8af20161d6deda868ffbb81 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-09-29T14:01:10.337Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-09-29T14:01:10.691Z] + ls -al . [2021-09-29T14:01:10.691Z] total 200 [2021-09-29T14:01:10.691Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 29 13:57 . [2021-09-29T14:01:10.691Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 29 13:57 .. [2021-09-29T14:01:10.691Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 29 13:57 .git [2021-09-29T14:01:10.691Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 29 13:57 .github [2021-09-29T14:01:10.691Z] -rw-rw-r-- 1 jenkins jenkins 176 Sep 29 13:57 .gitignore [2021-09-29T14:01:10.691Z] -rw-rw-r-- 1 jenkins jenkins 3104 Sep 29 13:57 Attribution.txt [2021-09-29T14:01:10.691Z] -rw-rw-r-- 1 jenkins jenkins 7701 Sep 29 13:57 CHANGES [2021-09-29T14:01:10.691Z] -rw-rw-r-- 1 jenkins jenkins 108574 Sep 29 13:57 Doxyfile [2021-09-29T14:01:10.691Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 29 13:57 GOVERNANCE.md [2021-09-29T14:01:10.691Z] -rw-rw-r-- 1 jenkins jenkins 784 Sep 29 13:57 Jenkinsfile [2021-09-29T14:01:10.691Z] -rw-rw-r-- 1 jenkins jenkins 10174 Sep 29 13:57 LICENSE [2021-09-29T14:01:10.691Z] -rw-rw-r-- 1 jenkins jenkins 444 Sep 29 13:57 Makefile [2021-09-29T14:01:10.691Z] -rw-rw-r-- 1 jenkins jenkins 618 Sep 29 13:57 OWNERS.md [2021-09-29T14:01:10.691Z] -rw-rw-r-- 1 jenkins jenkins 4086 Sep 29 13:57 README.md [2021-09-29T14:01:10.691Z] -rw-rw-r-- 1 jenkins jenkins 7090 Sep 29 13:57 README.v2.md [2021-09-29T14:01:10.691Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 29 13:53 VERSION [2021-09-29T14:01:10.691Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 29 13:57 docs [2021-09-29T14:01:10.691Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 29 13:57 include [2021-09-29T14:01:10.691Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 29 13:57 scripts [2021-09-29T14:01:10.691Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 29 13:57 src [Pipeline] isUnix [Pipeline] sh [2021-09-29T14:01:11.041Z] + 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=c0b6e8bd24dcdb5f0e4ec5bfa39f751883ce9e32 --label arch=arm64 --label version=0.0.0 . [2021-09-29T14:01:11.638Z] Sending build context to Docker daemon 2.689MB [2021-09-29T14:01:11.639Z] Step 1/17 : ARG BASE=alpine:3.14 [2021-09-29T14:01:11.639Z] Step 2/17 : FROM ${BASE} [2021-09-29T14:01:11.639Z] ---> 55a2842329f9 [2021-09-29T14:01:11.639Z] Step 3/17 : LABEL maintainer="IOTech " [2021-09-29T14:01:11.911Z] ---> Running in c48257bed7e9 [2021-09-29T14:01:12.505Z] Removing intermediate container c48257bed7e9 [2021-09-29T14:01:12.505Z] ---> 007eede0a099 [2021-09-29T14:01:12.505Z] Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2021-09-29T14:01:12.780Z] ---> Running in e70973c4b607 [2021-09-29T14:01:14.216Z] --2021-09-29 14:01:13-- https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release [2021-09-29T14:01:14.216Z] Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.195.244.87, 54.72.115.12, 54.229.110.245 [2021-09-29T14:01:14.216Z] Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.195.244.87|:443... connected. [2021-09-29T14:01:14.490Z] HTTP request sent, awaiting response... 200 OK [2021-09-29T14:01:14.490Z] Length: unspecified [application/json] [2021-09-29T14:01:14.490Z] Saving to: '/etc/apk/keys/alpine.dev.rsa.pub' [2021-09-29T14:01:14.490Z]  [2021-09-29T14:01:14.490Z] 0K 8.64M=0s [2021-09-29T14:01:14.490Z] [2021-09-29T14:01:14.490Z] 2021-09-29 14:01:14 (8.64 MB/s) - '/etc/apk/keys/alpine.dev.rsa.pub' saved [451] [2021-09-29T14:01:14.490Z] [2021-09-29T14:01:15.470Z] Removing intermediate container e70973c4b607 [2021-09-29T14:01:15.470Z] ---> 466efd27b33e [2021-09-29T14:01:15.470Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2021-09-29T14:01:15.743Z] ---> Running in 236bfb96fad2 [2021-09-29T14:01:18.375Z] Removing intermediate container 236bfb96fad2 [2021-09-29T14:01:18.375Z] ---> 0bc204889c74 [2021-09-29T14:01:18.375Z] 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-1.3 hiredis-dev && mkdir -p /edgex-c-sdk/build [2021-09-29T14:01:18.375Z] ---> Running in 5812e87e71b9 [2021-09-29T14:01:19.355Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-09-29T14:01:20.333Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-09-29T14:01:20.606Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz [2021-09-29T14:01:21.218Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2021-09-29T14:01:21.508Z] (1/16) Installing ncurses-dev (6.2_p20200523-r0) [2021-09-29T14:01:21.508Z] (2/16) Installing libblkid (2.35.2-r0) [2021-09-29T14:01:21.790Z] (3/16) Installing blkid (2.35.2-r0) [2021-09-29T14:01:21.790Z] (4/16) Installing libcap-ng (0.7.10-r1) [2021-09-29T14:01:21.790Z] (5/16) Installing setpriv (2.35.2-r0) [2021-09-29T14:01:22.065Z] (6/16) Installing libmount (2.35.2-r0) [2021-09-29T14:01:22.065Z] (7/16) Installing libsmartcols (2.35.2-r0) [2021-09-29T14:01:22.339Z] (8/16) Installing findmnt (2.35.2-r0) [2021-09-29T14:01:22.339Z] (9/16) Installing mcookie (2.35.2-r0) [2021-09-29T14:01:22.339Z] (10/16) Installing hexdump (2.35.2-r0) [2021-09-29T14:01:22.614Z] (11/16) Installing lsblk (2.35.2-r0) [2021-09-29T14:01:22.614Z] (12/16) Installing libfdisk (2.35.2-r0) [2021-09-29T14:01:22.614Z] (13/16) Installing sfdisk (2.35.2-r0) [2021-09-29T14:01:22.888Z] (14/16) Installing cfdisk (2.35.2-r0) [2021-09-29T14:01:22.888Z] (15/16) Installing util-linux (2.35.2-r0) [2021-09-29T14:01:23.876Z] (16/16) Installing util-linux-dev (2.35.2-r0) [2021-09-29T14:01:24.910Z] Executing busybox-1.31.1-r20.trigger [2021-09-29T14:01:24.910Z] OK: 276 MiB in 98 packages [2021-09-29T14:01:26.376Z] Removing intermediate container 5812e87e71b9 [2021-09-29T14:01:26.376Z] ---> fa9bd97b4122 [2021-09-29T14:01:26.376Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2021-09-29T14:01:27.352Z] ---> d0f5b1daebec [2021-09-29T14:01:27.352Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2021-09-29T14:01:28.327Z] ---> b8b47993c306 [2021-09-29T14:01:28.327Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2021-09-29T14:01:29.302Z] ---> 9aa907d26778 [2021-09-29T14:01:29.302Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2021-09-29T14:01:29.896Z] ---> 1f385366665b [2021-09-29T14:01:29.896Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2021-09-29T14:01:30.869Z] ---> decf425d2859 [2021-09-29T14:01:30.869Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2021-09-29T14:01:31.843Z] ---> 4144aff5482b [2021-09-29T14:01:31.843Z] Step 13/17 : WORKDIR /edgex-c-sdk [2021-09-29T14:01:31.843Z] ---> Running in 5788ba3a549b [2021-09-29T14:01:32.436Z] Removing intermediate container 5788ba3a549b [2021-09-29T14:01:32.436Z] ---> daf6b921390f [2021-09-29T14:01:32.436Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-09-29T14:01:32.436Z] ---> Running in 5a1b7f60a1f0 [2021-09-29T14:01:33.026Z] Removing intermediate container 5a1b7f60a1f0 [2021-09-29T14:01:33.026Z] ---> ddad26f22a64 [2021-09-29T14:01:33.026Z] Step 15/17 : LABEL arch=arm64 [2021-09-29T14:01:33.299Z] ---> Running in e114e10cce10 [2021-09-29T14:01:33.570Z] Removing intermediate container e114e10cce10 [2021-09-29T14:01:33.570Z] ---> 0e4394ec192a [2021-09-29T14:01:33.570Z] Step 16/17 : LABEL git_sha=c0b6e8bd24dcdb5f0e4ec5bfa39f751883ce9e32 [2021-09-29T14:01:33.842Z] ---> Running in 1af5a7b2be04 [2021-09-29T14:01:34.444Z] Removing intermediate container 1af5a7b2be04 [2021-09-29T14:01:34.444Z] ---> de5329229dc2 [2021-09-29T14:01:34.444Z] Step 17/17 : LABEL version=0.0.0 [2021-09-29T14:01:34.444Z] ---> Running in 73cd8bfac4fb [2021-09-29T14:01:35.036Z] Removing intermediate container 73cd8bfac4fb [2021-09-29T14:01:35.036Z] ---> 6d0e05f3787e [2021-09-29T14:01:35.036Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-09-29T14:01:35.036Z] Successfully built 6d0e05f3787e [2021-09-29T14:01:35.036Z] 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 Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-09-29T14:01:35.735Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-09-29T14:01:36.008Z] [2021-09-29T14:01:36.008Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-09-29T14:01:36.364Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-09-29T14:01:36.638Z] arm64: Pulling from edgex-lftools-log-publisher [2021-09-29T14:01:36.638Z] 448f6bf000e3: Pulling fs layer [2021-09-29T14:01:36.638Z] f757da607395: Pulling fs layer [2021-09-29T14:01:36.638Z] 05883995daec: Pulling fs layer [2021-09-29T14:01:36.638Z] 8603b9c90790: Pulling fs layer [2021-09-29T14:01:36.638Z] 1560dd03e051: Pulling fs layer [2021-09-29T14:01:36.638Z] 27f5ce0e4adf: Pulling fs layer [2021-09-29T14:01:36.638Z] c2d8d7efcc4b: Pulling fs layer [2021-09-29T14:01:36.638Z] 8603b9c90790: Waiting [2021-09-29T14:01:36.638Z] 27f5ce0e4adf: Waiting [2021-09-29T14:01:36.638Z] c2d8d7efcc4b: Waiting [2021-09-29T14:01:36.638Z] 1560dd03e051: Waiting [2021-09-29T14:01:37.235Z] f757da607395: Verifying Checksum [2021-09-29T14:01:37.235Z] f757da607395: Download complete [2021-09-29T14:01:37.235Z] 8603b9c90790: Download complete [2021-09-29T14:01:37.235Z] 05883995daec: Verifying Checksum [2021-09-29T14:01:37.235Z] 05883995daec: Download complete [2021-09-29T14:01:37.235Z] 27f5ce0e4adf: Verifying Checksum [2021-09-29T14:01:37.235Z] 27f5ce0e4adf: Download complete [2021-09-29T14:01:37.511Z] 1560dd03e051: Verifying Checksum [2021-09-29T14:01:37.511Z] 1560dd03e051: Download complete [2021-09-29T14:01:38.110Z] 448f6bf000e3: Verifying Checksum [2021-09-29T14:01:38.110Z] 448f6bf000e3: Download complete [2021-09-29T14:01:40.737Z] c2d8d7efcc4b: Verifying Checksum [2021-09-29T14:01:41.332Z] 448f6bf000e3: Pull complete [2021-09-29T14:01:42.311Z] f757da607395: Pull complete [2021-09-29T14:01:43.742Z] 05883995daec: Pull complete [2021-09-29T14:01:44.015Z] 8603b9c90790: Pull complete [2021-09-29T14:01:44.994Z] 1560dd03e051: Pull complete [2021-09-29T14:01:45.266Z] 27f5ce0e4adf: Pull complete [2021-09-29T14:02:00.342Z] c2d8d7efcc4b: Pull complete [2021-09-29T14:02:00.342Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-09-29T14:02:00.342Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-09-29T14:02:00.342Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-09-29T14:02:00.625Z] prd-ubuntu18.04-docker-arm64-4c-16g-124 does not seem to be running inside a container [2021-09-29T14:02:00.769Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/5 -v /w/workspace/device-sdk-c/5:/w/workspace/device-sdk-c/5:rw,z -v /w/workspace/device-sdk-c/5@tmp:/w/workspace/device-sdk-c/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-09-29T14:02:05.861Z] $ docker top d1366b929ccf54990348e08d7bd4ebfcf919a4efee3c984075794b0370eb2171 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-09-29T14:02:06.810Z] ---> job-cost.sh [2021-09-29T14:02:06.811Z] lf-activate-venv: SKIPPING [2021-09-29T14:02:06.811Z] INFO: No Stack... [2021-09-29T14:02:07.784Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-09-29T14:02:08.762Z] INFO: Archiving Costs [Pipeline] sh [2021-09-29T14:02:09.434Z] + cat /w/workspace/device-sdk-c/5/archives/cost.csv [2021-09-29T14:02:09.434Z] + cut -d, -f6 [Pipeline] lock [2021-09-29T14:02:09.500Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-378-5-stack-cost] [2021-09-29T14:02:09.510Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-378-5-stack-cost] did not exist. Created. [2021-09-29T14:02:09.510Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-378-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-09-29T14:02:10.195Z] /w/workspace/device-sdk-c/5@tmp/durable-ac62dfa6/script.sh: 1: /w/workspace/device-sdk-c/5@tmp/durable-ac62dfa6/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-09-29T14:02:10.896Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-09-29T14:02:10.927Z] Warning: overwriting stash ‘stack-cost’ [2021-09-29T14:02:11.556Z] Stashed 1 file(s) [Pipeline] } [2021-09-29T14:02:11.566Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-378-5-stack-cost] [Pipeline] // lock [Pipeline] } [2021-09-29T14:02:11.673Z] $ docker stop --time=1 d1366b929ccf54990348e08d7bd4ebfcf919a4efee3c984075794b0370eb2171 [2021-09-29T14:02:13.426Z] $ docker rm -f d1366b929ccf54990348e08d7bd4ebfcf919a4efee3c984075794b0370eb2171 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [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] sh [2021-09-29T14:02:15.030Z] + '[' -d /w/workspace/edgexfoundry_device-sdk-c_PR-378/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-09-29T14:02:15.366Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-29T14:02:15.957Z] ---> package-listing.sh [2021-09-29T14:02:15.957Z] ++ tr '[:upper:]' '[:lower:]' [2021-09-29T14:02:15.957Z] ++ facter osfamily [2021-09-29T14:02:16.228Z] + OS_FAMILY=redhat [2021-09-29T14:02:16.228Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-378 [2021-09-29T14:02:16.228Z] + START_PACKAGES=/tmp/packages_start.txt [2021-09-29T14:02:16.228Z] + END_PACKAGES=/tmp/packages_end.txt [2021-09-29T14:02:16.228Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-09-29T14:02:16.228Z] + PACKAGES=/tmp/packages_start.txt [2021-09-29T14:02:16.228Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-378 ']' [2021-09-29T14:02:16.228Z] + PACKAGES=/tmp/packages_end.txt [2021-09-29T14:02:16.228Z] + case "${OS_FAMILY}" in [2021-09-29T14:02:16.228Z] + sort [2021-09-29T14:02:16.228Z] + rpm -qa [2021-09-29T14:02:17.187Z] + '[' -f /tmp/packages_start.txt ']' [2021-09-29T14:02:17.187Z] + '[' -f /tmp/packages_end.txt ']' [2021-09-29T14:02:17.187Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-09-29T14:02:17.187Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-378 ']' [2021-09-29T14:02:17.187Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-378/archives/ [2021-09-29T14:02:17.187Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-378/archives/ [Pipeline] echo [2021-09-29T14:02:17.207Z] 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-378/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-09-29T14:02:17.518Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-09-29T14:02:18.321Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-29T14:02:18.321Z] [2021-09-29T14:02:18.321Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-09-29T14:02:18.869Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-29T14:02:18.869Z] latest: Pulling from edgex-lftools-log-publisher [2021-09-29T14:02:18.869Z] b4d181a07f80: Pulling fs layer [2021-09-29T14:02:18.869Z] a1111a8f2ec3: Pulling fs layer [2021-09-29T14:02:18.869Z] ed53099fbce6: Pulling fs layer [2021-09-29T14:02:18.869Z] dc539afda2c1: Pulling fs layer [2021-09-29T14:02:18.869Z] 77bc0d833cb6: Pulling fs layer [2021-09-29T14:02:18.869Z] 9065ff56babe: Pulling fs layer [2021-09-29T14:02:18.869Z] d287ab97295c: Pulling fs layer [2021-09-29T14:02:18.869Z] dc539afda2c1: Waiting [2021-09-29T14:02:18.869Z] 77bc0d833cb6: Waiting [2021-09-29T14:02:18.869Z] 9065ff56babe: Waiting [2021-09-29T14:02:18.869Z] d287ab97295c: Waiting [2021-09-29T14:02:19.457Z] a1111a8f2ec3: Verifying Checksum [2021-09-29T14:02:19.457Z] a1111a8f2ec3: Download complete [2021-09-29T14:02:19.457Z] dc539afda2c1: Verifying Checksum [2021-09-29T14:02:19.457Z] dc539afda2c1: Download complete [2021-09-29T14:02:19.457Z] 77bc0d833cb6: Verifying Checksum [2021-09-29T14:02:19.457Z] 77bc0d833cb6: Download complete [2021-09-29T14:02:19.457Z] 9065ff56babe: Verifying Checksum [2021-09-29T14:02:19.457Z] 9065ff56babe: Download complete [2021-09-29T14:02:19.725Z] ed53099fbce6: Verifying Checksum [2021-09-29T14:02:19.725Z] ed53099fbce6: Download complete [2021-09-29T14:02:20.687Z] b4d181a07f80: Verifying Checksum [2021-09-29T14:02:20.687Z] b4d181a07f80: Download complete [2021-09-29T14:02:21.648Z] b4d181a07f80: Pull complete [2021-09-29T14:02:21.648Z] a1111a8f2ec3: Pull complete [2021-09-29T14:02:22.237Z] ed53099fbce6: Pull complete [2021-09-29T14:02:22.237Z] dc539afda2c1: Pull complete [2021-09-29T14:02:22.506Z] 77bc0d833cb6: Pull complete [2021-09-29T14:02:22.506Z] 9065ff56babe: Pull complete [2021-09-29T14:02:25.088Z] d287ab97295c: Verifying Checksum [2021-09-29T14:02:25.088Z] d287ab97295c: Download complete [2021-09-29T14:02:29.376Z] d287ab97295c: Pull complete [2021-09-29T14:02:29.376Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-09-29T14:02:29.376Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-29T14:02:29.376Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-09-29T14:02:29.475Z] prd-centos7-docker-4c-2g-121 does not seem to be running inside a container [2021-09-29T14:02:29.547Z] $ 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-378/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-378 -v /w/workspace/edgexfoundry_device-sdk-c_PR-378:/w/workspace/edgexfoundry_device-sdk-c_PR-378:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-378@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-378@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-09-29T14:02:32.163Z] $ docker top 81c04f3455f94351a99c8e238eea7e46af533ee22afa90b639150783c7720078 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-09-29T14:02:32.557Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-09-29T14:02:32.875Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-09-29T14:02:33.402Z] + ls /var/log/sa-host [2021-09-29T14:02:33.402Z] + sadf -c /var/log/sa-host/sa05 [2021-09-29T14:02:33.402Z] file_magic: OK [2021-09-29T14:02:33.402Z] HZ: Using current value: 100 [2021-09-29T14:02:33.402Z] file_header: OK [2021-09-29T14:02:33.402Z] 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 [2021-09-29T14:02:33.402Z] Statistics: [2021-09-29T14:02:33.402Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-09-29T14:02:33.402Z] File successfully converted to sysstat format version 12.0.3 [2021-09-29T14:02:33.402Z] + sadf -c /var/log/sa-host/sa29 [2021-09-29T14:02:33.403Z] file_magic: OK [2021-09-29T14:02:33.403Z] HZ: Using current value: 100 [2021-09-29T14:02:33.403Z] file_header: OK [2021-09-29T14:02:33.403Z] 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 [2021-09-29T14:02:33.403Z] Statistics: [2021-09-29T14:02:33.403Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-09-29T14:02:33.403Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-09-29T14:02:34.018Z] provisioning config files... [2021-09-29T14:02:34.037Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-378@tmp/config3236179486996479086tmp [Pipeline] { [Pipeline] echo [2021-09-29T14:02:34.063Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-29T14:02:34.381Z] ---> create-netrc.sh [Pipeline] } [2021-09-29T14:02:34.393Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-09-29T14:02:34.797Z] ---> python-tools-install.sh [Pipeline] echo [2021-09-29T14:02:34.812Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-29T14:02:35.347Z] ---> sudo-logs.sh [2021-09-29T14:02:35.347Z] Archiving 'sudo' log.. [2021-09-29T14:02:35.347Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-121.vexxhost.local: Name or service not known [2021-09-29T14:02:35.347Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-121.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-09-29T14:02:35.410Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-29T14:02:35.725Z] ---> job-cost.sh [2021-09-29T14:02:35.725Z] lf-activate-venv: SKIPPING [2021-09-29T14:02:35.725Z] DEBUG: total: 0.10999999940395355 [2021-09-29T14:02:35.726Z] INFO: Retrieving Stack Cost... [2021-09-29T14:02:36.685Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-09-29T14:02:37.269Z] INFO: Archiving Costs [Pipeline] echo [2021-09-29T14:02:37.292Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-29T14:02:37.618Z] ---> logs-deploy.sh [2021-09-29T14:02:37.618Z] lf-activate-venv: SKIPPING [2021-09-29T14:02:37.618Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-378/5 [2021-09-29T14:02:37.618Z] INFO: archiving workspace using pattern(s): [2021-09-29T14:02:38.205Z] Archives upload complete. [2021-09-29T14:02:38.474Z] INFO: archiving logs to Nexus