Pull request #366 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 iain-anderson for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 5f766145a1eb3ccdcf44db31a4c6b0cd29058885+103eb2d1a1e0c2c0103fb2343729ae53009a4524 (6403e0d51ed8055a59747a6075a62e2cdfca8588) 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-ssh5315436157375162273.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-ssh6755451699505483710.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-366/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-366/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8866649243301053493.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-ssh5442815403995065931.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 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-366/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-366/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1976852411178530034.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98bb157299c17168c94e81a7dba3d05dc38b0f72 # timeout=10 Commit message: "Docs: Add example Jenkinsfile to documentation" > 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-767 in /w/workspace/edgexfoundry_device-sdk-c_PR-366 [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-366 # 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-366@tmp/jenkins-gitclient-ssh7478730949332814904.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 103eb2d1a1e0c2c0103fb2343729ae53009a4524 into PR head commit 5f766145a1eb3ccdcf44db31a4c6b0cd29058885 Merge succeeded, producing 5f766145a1eb3ccdcf44db31a4c6b0cd29058885 Checking out Revision 5f766145a1eb3ccdcf44db31a4c6b0cd29058885 (PR-366) > 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-366@tmp/jenkins-gitclient-ssh5470437887389385087.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/366/head:refs/remotes/origin/PR-366 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5f766145a1eb3ccdcf44db31a4c6b0cd29058885 # 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-366@tmp/jenkins-gitclient-ssh5070199955760699290.key > git merge 103eb2d1a1e0c2c0103fb2343729ae53009a4524 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5f766145a1eb3ccdcf44db31a4c6b0cd29058885 # timeout=10 Commit message: "docs: Add templates for new GitHub issues" First time build. Skipping changelog. > git rev-list --no-walk c8594b023b7b26154ab08a5e478c3913b824877c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-08-25T08:18:28.095Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-08-25T08:18:28.181Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-08-25T08:18:28.205Z] ========================================================= [2021-08-25T08:18:28.205Z] EdgeX Global Pipelines Version Info [2021-08-25T08:18:28.205Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-08-25T08:18:29.461Z] ------------------- [2021-08-25T08:18:29.461Z] stable info: [2021-08-25T08:18:29.461Z] ------------------- [2021-08-25T08:18:29.461Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-08-25T08:18:29.461Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-08-25T08:18:29.461Z] Message: update stable to v1.0.205 [2021-08-25T08:18:30.053Z] ------------------- [2021-08-25T08:18:30.053Z] experimental info: [2021-08-25T08:18:30.053Z] ------------------- [2021-08-25T08:18:30.053Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-08-25T08:18:30.053Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-08-25T08:18:30.053Z] Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-08-25T08:18:30.185Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2021-08-25T08:18:30.210Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2021-08-25T08:18:30.233Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-08-25T08:18:30.256Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-08-25T08:18:30.278Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-08-25T08:18:30.301Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo [2021-08-25T08:18:30.332Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2021-08-25T08:18:30.355Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2021-08-25T08:18:30.377Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-08-25T08:18:30.399Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-08-25T08:18:30.420Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2021-08-25T08:18:30.442Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-08-25T08:18:30.463Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-08-25T08:18:30.482Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-08-25T08:18:30.504Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-08-25T08:18:30.525Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-08-25T08:18:30.546Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-08-25T08:18:30.567Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-08-25T08:18:30.588Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-366 [Pipeline] echo [2021-08-25T08:18:30.608Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-366 [Pipeline] echo [2021-08-25T08:18:30.629Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-366 [Pipeline] echo [2021-08-25T08:18:30.650Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5f766145a1eb3ccdcf44db31a4c6b0cd29058885 [Pipeline] echo [2021-08-25T08:18:30.670Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5f76614 [Pipeline] echo [2021-08-25T08:18:30.691Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-25T08:18:30.765Z] provisioning config files... [2021-08-25T08:18:30.786Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-366@tmp/config5916996338506822491tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-25T08:18:31.124Z] ---> docker-login.sh [2021-08-25T08:18:31.125Z] nexus3.edgexfoundry.org:10001 [2021-08-25T08:18:31.125Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-25T08:18:31.392Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-25T08:18:31.392Z] Configure a credential helper to remove this warning. See [2021-08-25T08:18:31.392Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-25T08:18:31.392Z] [2021-08-25T08:18:31.392Z] Login Succeeded [2021-08-25T08:18:31.392Z] nexus3.edgexfoundry.org:10002 [2021-08-25T08:18:31.392Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-25T08:18:31.658Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-25T08:18:31.658Z] Configure a credential helper to remove this warning. See [2021-08-25T08:18:31.658Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-25T08:18:31.658Z] [2021-08-25T08:18:31.658Z] Login Succeeded [2021-08-25T08:18:31.658Z] nexus3.edgexfoundry.org:10003 [2021-08-25T08:18:31.658Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-25T08:18:31.658Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-25T08:18:31.658Z] Configure a credential helper to remove this warning. See [2021-08-25T08:18:31.658Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-25T08:18:31.658Z] [2021-08-25T08:18:31.658Z] Login Succeeded [2021-08-25T08:18:31.658Z] nexus3.edgexfoundry.org:10004 [2021-08-25T08:18:31.928Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-25T08:18:31.928Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-25T08:18:31.928Z] Configure a credential helper to remove this warning. See [2021-08-25T08:18:31.928Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-25T08:18:31.928Z] [2021-08-25T08:18:31.928Z] Login Succeeded [2021-08-25T08:18:31.928Z] docker.io [2021-08-25T08:18:31.928Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-25T08:18:32.195Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-25T08:18:32.195Z] Configure a credential helper to remove this warning. See [2021-08-25T08:18:32.195Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-25T08:18:32.195Z] [2021-08-25T08:18:32.195Z] Login Succeeded [2021-08-25T08:18:32.195Z] ---> docker-login.sh ends [Pipeline] } [2021-08-25T08:18:32.207Z] 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-08-25T08:18:33.571Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-25T08:18:33.571Z] [2021-08-25T08:18:33.571Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-08-25T08:18:33.899Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-25T08:18:33.899Z] latest: Pulling from edgex-devops/git-semver [2021-08-25T08:18:33.899Z] 31603596830f: Pulling fs layer [2021-08-25T08:18:33.899Z] 04fac38145f0: Pulling fs layer [2021-08-25T08:18:33.899Z] 701f6daf10bf: Pulling fs layer [2021-08-25T08:18:33.899Z] 24f72da36158: Pulling fs layer [2021-08-25T08:18:33.899Z] 24f72da36158: Waiting [2021-08-25T08:18:33.899Z] 04fac38145f0: Verifying Checksum [2021-08-25T08:18:33.899Z] 04fac38145f0: Download complete [2021-08-25T08:18:34.169Z] 31603596830f: Verifying Checksum [2021-08-25T08:18:34.169Z] 31603596830f: Download complete [2021-08-25T08:18:34.434Z] 31603596830f: Pull complete [2021-08-25T08:18:34.434Z] 24f72da36158: Verifying Checksum [2021-08-25T08:18:34.434Z] 24f72da36158: Download complete [2021-08-25T08:18:34.434Z] 04fac38145f0: Pull complete [2021-08-25T08:18:34.434Z] 701f6daf10bf: Verifying Checksum [2021-08-25T08:18:34.434Z] 701f6daf10bf: Download complete [2021-08-25T08:18:35.028Z] 701f6daf10bf: Pull complete [2021-08-25T08:18:35.295Z] 24f72da36158: Pull complete [2021-08-25T08:18:35.295Z] Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 [2021-08-25T08:18:35.295Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-25T08:18:35.295Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-08-25T08:18:35.414Z] prd-centos7-docker-4c-2g-767 does not seem to be running inside a container [2021-08-25T08:18:35.470Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-366 -v /w/workspace/edgexfoundry_device-sdk-c_PR-366:/w/workspace/edgexfoundry_device-sdk-c_PR-366:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-366@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-366@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-08-25T08:18:36.252Z] $ docker top 9a57add7809342ef1a977cad3f9e424510c47ebacda072b507c83ae09cc5e2c9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-08-25T08:18:36.378Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-25T08:18:36.378Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-25T08:18:36.511Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-25T08:18:36.511Z] $ docker exec 9a57add7809342ef1a977cad3f9e424510c47ebacda072b507c83ae09cc5e2c9 ssh-agent [2021-08-25T08:18:36.634Z] SSH_AUTH_SOCK=/tmp/ssh-vUWKjC54Eb1n/agent.14 [2021-08-25T08:18:36.634Z] SSH_AGENT_PID=20 [2021-08-25T08:18:36.648Z] Running ssh-add (command line suppressed) [2021-08-25T08:18:36.765Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-366@tmp/private_key_2087717268087389050.key (/w/workspace/edgexfoundry_device-sdk-c_PR-366@tmp/private_key_2087717268087389050.key) [2021-08-25T08:18:36.788Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-25T08:18:37.107Z] + git tag --points-at HEAD [Pipeline] } [2021-08-25T08:18:37.140Z] $ docker exec --env ******** --env ******** 9a57add7809342ef1a977cad3f9e424510c47ebacda072b507c83ae09cc5e2c9 ssh-agent -k [2021-08-25T08:18:37.248Z] unset SSH_AUTH_SOCK; [2021-08-25T08:18:37.248Z] unset SSH_AGENT_PID; [2021-08-25T08:18:37.248Z] echo Agent pid 20 killed; [2021-08-25T08:18:37.263Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-08-25T08:18:37.307Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-25T08:18:37.307Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-25T08:18:37.426Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-25T08:18:37.426Z] $ docker exec 9a57add7809342ef1a977cad3f9e424510c47ebacda072b507c83ae09cc5e2c9 ssh-agent [2021-08-25T08:18:37.553Z] SSH_AUTH_SOCK=/tmp/ssh-2pKgFGpAkGTE/agent.55 [2021-08-25T08:18:37.553Z] SSH_AGENT_PID=62 [2021-08-25T08:18:37.562Z] Running ssh-add (command line suppressed) [2021-08-25T08:18:37.672Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-366@tmp/private_key_8340985990726556962.key (/w/workspace/edgexfoundry_device-sdk-c_PR-366@tmp/private_key_8340985990726556962.key) [2021-08-25T08:18:37.696Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-25T08:18:38.009Z] + git semver init [2021-08-25T08:18:38.010Z] # -> Open(): unable to determine branch for HEAD [2021-08-25T08:18:38.010Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-366/.git [2021-08-25T08:18:38.010Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-366 [2021-08-25T08:18:38.010Z] # $SEMVER_REMOTE_NAME = origin [2021-08-25T08:18:38.010Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-08-25T08:18:38.010Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-08-25T08:18:38.010Z] # $SEMVER_BRANCH = PR-366 [2021-08-25T08:18:38.010Z] # $SEMVER_TEMP = /tmp/semver-694524858 [2021-08-25T08:18:38.010Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2021-08-25T08:18:38.968Z] # '/tmp/semver-694524858' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-366/.semver' [2021-08-25T08:18:38.968Z] # -> Force: false [2021-08-25T08:18:38.968Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-366/.semver [Pipeline] } [2021-08-25T08:18:38.982Z] $ docker exec --env ******** --env ******** 9a57add7809342ef1a977cad3f9e424510c47ebacda072b507c83ae09cc5e2c9 ssh-agent -k [2021-08-25T08:18:39.100Z] unset SSH_AUTH_SOCK; [2021-08-25T08:18:39.104Z] unset SSH_AGENT_PID; [2021-08-25T08:18:39.104Z] echo Agent pid 62 killed; [2021-08-25T08:18:39.123Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-08-25T08:18:39.477Z] + git semver [Pipeline] } [2021-08-25T08:18:39.496Z] $ docker stop --time=1 9a57add7809342ef1a977cad3f9e424510c47ebacda072b507c83ae09cc5e2c9 [2021-08-25T08:18:40.790Z] $ docker rm -f 9a57add7809342ef1a977cad3f9e424510c47ebacda072b507c83ae09cc5e2c9 [Pipeline] // withDockerContainer [Pipeline] sh [2021-08-25T08:18:41.187Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-08-25T08:18:41.515Z] Stashed 1 file(s) [Pipeline] echo [2021-08-25T08:18:41.519Z] [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-08-25T08:18:56.778Z] Still waiting to schedule task [2021-08-25T08:18:56.779Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-767’ [2021-08-25T08:18:56.781Z] Still waiting to schedule task [2021-08-25T08:18:56.781Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-714’ [2021-08-25T08:22:26.649Z] Running on prd-centos7-docker-4c-2g-770 in /w/workspace/edgexfoundry_device-sdk-c_PR-366 [Pipeline] { [Pipeline] ws [2021-08-25T08:22:26.669Z] Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout [2021-08-25T08:22:26.782Z] Selected Git installation does not exist. Using Default [2021-08-25T08:22:26.782Z] The recommended git tool is: NONE [2021-08-25T08:22:29.690Z] using credential edgex-jenkins-ssh [2021-08-25T08:22:29.705Z] Cloning the remote Git repository [2021-08-25T08:22:29.002Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-08-25T08:22:29.079Z] > git init /w/workspace/device-sdk-c/2 # timeout=10 [2021-08-25T08:22:29.113Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-08-25T08:22:29.114Z] > git --version # timeout=10 [2021-08-25T08:22:29.121Z] > git --version # 'git version 2.24.4' [2021-08-25T08:22:29.122Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-25T08:22:29.154Z] [INFO] Currently running in a labeled security context [2021-08-25T08:22:29.154Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-08-25T08:22:29.154Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/2@tmp/jenkins-gitclient-ssh2512174623940258236.key [2021-08-25T08:22:29.170Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-25T08:22:31.329Z] Merging remotes/origin/main commit 103eb2d1a1e0c2c0103fb2343729ae53009a4524 into PR head commit 5f766145a1eb3ccdcf44db31a4c6b0cd29058885 [2021-08-25T08:22:30.077Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-08-25T08:22:30.090Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-25T08:22:30.106Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-08-25T08:22:30.125Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-08-25T08:22:30.126Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-25T08:22:30.127Z] [INFO] Currently running in a labeled security context [2021-08-25T08:22:30.127Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-08-25T08:22:30.127Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/2@tmp/jenkins-gitclient-ssh1560486612385542027.key [2021-08-25T08:22:30.138Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/366/head:refs/remotes/origin/PR-366 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-08-25T08:22:30.674Z] > git config core.sparsecheckout # timeout=10 [2021-08-25T08:22:30.683Z] > git checkout -f 5f766145a1eb3ccdcf44db31a4c6b0cd29058885 # timeout=10 [2021-08-25T08:22:31.437Z] Merge succeeded, producing 5f766145a1eb3ccdcf44db31a4c6b0cd29058885 [2021-08-25T08:22:31.437Z] Checking out Revision 5f766145a1eb3ccdcf44db31a4c6b0cd29058885 (PR-366) [2021-08-25T08:22:30.736Z] > git remote # timeout=10 [2021-08-25T08:22:30.745Z] > git config --get remote.origin.url # timeout=10 [2021-08-25T08:22:30.753Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-25T08:22:30.754Z] [INFO] Currently running in a labeled security context [2021-08-25T08:22:30.754Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-08-25T08:22:30.754Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/2@tmp/jenkins-gitclient-ssh5279263831676648199.key [2021-08-25T08:22:30.760Z] > git merge 103eb2d1a1e0c2c0103fb2343729ae53009a4524 # timeout=10 [2021-08-25T08:22:30.770Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-08-25T08:22:30.784Z] > git config core.sparsecheckout # timeout=10 [2021-08-25T08:22:30.788Z] > git checkout -f 5f766145a1eb3ccdcf44db31a4c6b0cd29058885 # timeout=10 [2021-08-25T08:22:34.987Z] Commit message: "docs: Add templates for new GitHub issues" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-25T08:22:35.416Z] provisioning config files... [2021-08-25T08:22:35.437Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/2@tmp/config6993515000217252577tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-25T08:22:35.879Z] ---> docker-login.sh [2021-08-25T08:22:35.879Z] nexus3.edgexfoundry.org:10001 [2021-08-25T08:22:35.879Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-25T08:22:36.149Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-25T08:22:36.149Z] Configure a credential helper to remove this warning. See [2021-08-25T08:22:36.149Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-25T08:22:36.149Z] [2021-08-25T08:22:36.149Z] Login Succeeded [2021-08-25T08:22:36.149Z] nexus3.edgexfoundry.org:10002 [2021-08-25T08:22:36.149Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-25T08:22:36.149Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-25T08:22:36.149Z] Configure a credential helper to remove this warning. See [2021-08-25T08:22:36.149Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-25T08:22:36.149Z] [2021-08-25T08:22:36.149Z] Login Succeeded [2021-08-25T08:22:36.149Z] nexus3.edgexfoundry.org:10003 [2021-08-25T08:22:36.417Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-25T08:22:36.417Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-25T08:22:36.417Z] Configure a credential helper to remove this warning. See [2021-08-25T08:22:36.417Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-25T08:22:36.417Z] [2021-08-25T08:22:36.417Z] Login Succeeded [2021-08-25T08:22:36.417Z] nexus3.edgexfoundry.org:10004 [2021-08-25T08:22:36.417Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-25T08:22:36.687Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-25T08:22:36.687Z] Configure a credential helper to remove this warning. See [2021-08-25T08:22:36.687Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-25T08:22:36.687Z] [2021-08-25T08:22:36.687Z] Login Succeeded [2021-08-25T08:22:36.687Z] docker.io [2021-08-25T08:22:36.687Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-25T08:22:36.957Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-25T08:22:36.957Z] Configure a credential helper to remove this warning. See [2021-08-25T08:22:36.957Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-25T08:22:36.957Z] [2021-08-25T08:22:36.957Z] Login Succeeded [2021-08-25T08:22:36.957Z] ---> docker-login.sh ends [Pipeline] } [2021-08-25T08:22:37.013Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-08-25T08:22:37.202Z] ========================================================= [2021-08-25T08:22:37.202Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2021-08-25T08:22:37.202Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-08-25T08:22:37.550Z] + 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-08-25T08:22:37.550Z] Sending build context to Docker daemon 2.678MB [2021-08-25T08:22:37.550Z] Step 1/25 : ARG BASE=alpine:3.12 [2021-08-25T08:22:37.550Z] Step 2/25 : FROM ${BASE} as builder [2021-08-25T08:22:37.818Z] latest: Pulling from edgex-devops/edgex-gcc-base [2021-08-25T08:22:37.818Z] 339de151aab4: Pulling fs layer [2021-08-25T08:22:37.818Z] 3691962f683c: Pulling fs layer [2021-08-25T08:22:37.818Z] e1147bf81a45: Pulling fs layer [2021-08-25T08:22:37.818Z] 3691962f683c: Verifying Checksum [2021-08-25T08:22:37.818Z] 3691962f683c: Download complete [2021-08-25T08:22:38.088Z] 339de151aab4: Verifying Checksum [2021-08-25T08:22:38.088Z] 339de151aab4: Download complete [2021-08-25T08:22:38.088Z] 339de151aab4: Pull complete [2021-08-25T08:22:38.356Z] 3691962f683c: Pull complete [2021-08-25T08:22:41.714Z] e1147bf81a45: Verifying Checksum [2021-08-25T08:22:41.714Z] e1147bf81a45: Download complete [2021-08-25T08:22:44.324Z] e1147bf81a45: Pull complete [2021-08-25T08:22:44.324Z] Digest: sha256:32c567f17180c4abff101a0d389449dec7f3f623a221c8a8ae98dcac9b0d9fee [2021-08-25T08:22:44.324Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2021-08-25T08:22:44.324Z] ---> ac6a0feb3254 [2021-08-25T08:22:44.324Z] Step 3/25 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub [2021-08-25T08:22:45.746Z] ---> Running in a01434d68f99 [2021-08-25T08:22:46.012Z] Connecting to iotech.jfrog.io (54.170.66.44:443) [2021-08-25T08:22:46.280Z] saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-08-25T08:22:46.280Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-08-25T08:22:46.280Z] '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [2021-08-25T08:22:46.551Z] Removing intermediate container a01434d68f99 [2021-08-25T08:22:46.551Z] ---> 451cb13ab21b [2021-08-25T08:22:46.551Z] Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-08-25T08:22:46.551Z] ---> Running in 9b48366eb260 [2021-08-25T08:22:47.162Z] Removing intermediate container 9b48366eb260 [2021-08-25T08:22:47.162Z] ---> 303a69e0c341 [2021-08-25T08:22:47.162Z] Step 5/25 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev hiredis-dev [2021-08-25T08:22:47.162Z] ---> Running in 78c4d1ad8c03 [2021-08-25T08:22:47.177Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-769 in /w/workspace/edgexfoundry_device-sdk-c_PR-366 [Pipeline] { [Pipeline] ws [2021-08-25T08:22:47.192Z] Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout [2021-08-25T08:22:47.417Z] Selected Git installation does not exist. Using Default [2021-08-25T08:22:47.417Z] The recommended git tool is: NONE [2021-08-25T08:22:47.431Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-08-25T08:22:48.018Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-08-25T08:22:48.603Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz [2021-08-25T08:22:49.187Z] (1/22) Installing hiredis (0.14.1-r0) [2021-08-25T08:22:49.187Z] (2/22) Installing hiredis-dev (0.14.1-r0) [2021-08-25T08:22:49.454Z] (3/22) Installing ncurses-dev (6.2_p20200523-r0) [2021-08-25T08:22:49.454Z] (4/22) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-08-25T08:22:51.399Z] (5/22) Installing libblkid (2.35.2-r0) [2021-08-25T08:22:51.668Z] (6/22) Installing blkid (2.35.2-r0) [2021-08-25T08:22:51.668Z] (7/22) Installing libcap-ng (0.7.10-r1) [2021-08-25T08:22:51.668Z] (8/22) Installing setpriv (2.35.2-r0) [2021-08-25T08:22:51.936Z] (9/22) Installing libmount (2.35.2-r0) [2021-08-25T08:22:51.936Z] (10/22) Installing libsmartcols (2.35.2-r0) [2021-08-25T08:22:52.202Z] (11/22) Installing findmnt (2.35.2-r0) [2021-08-25T08:22:52.203Z] (12/22) Installing mcookie (2.35.2-r0) [2021-08-25T08:22:52.203Z] (13/22) Installing hexdump (2.35.2-r0) [2021-08-25T08:22:52.469Z] (14/22) Installing lsblk (2.35.2-r0) [2021-08-25T08:22:52.469Z] (15/22) Installing libuuid (2.35.2-r0) [2021-08-25T08:22:52.469Z] (16/22) Installing libfdisk (2.35.2-r0) [2021-08-25T08:22:52.736Z] (17/22) Installing sfdisk (2.35.2-r0) [2021-08-25T08:22:52.736Z] (18/22) Installing cfdisk (2.35.2-r0) [2021-08-25T08:22:52.736Z] (19/22) Installing util-linux (2.35.2-r0) [2021-08-25T08:22:53.003Z] (20/22) Installing util-linux-dev (2.35.2-r0) [2021-08-25T08:22:53.061Z] using credential edgex-jenkins-ssh [2021-08-25T08:22:53.091Z] Cloning the remote Git repository [2021-08-25T08:22:53.154Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-08-25T08:22:53.263Z] > git init /w/workspace/device-sdk-c/2 # timeout=10 [2021-08-25T08:22:53.335Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-08-25T08:22:53.336Z] > git --version # timeout=10 [2021-08-25T08:22:53.361Z] > git --version # 'git version 2.17.1' [2021-08-25T08:22:53.363Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-25T08:22:53.439Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-25T08:22:53.962Z] (21/22) Installing libidn2 (2.3.0-r0) [2021-08-25T08:22:53.962Z] (22/22) Installing wget (1.20.3-r1) [2021-08-25T08:22:53.962Z] Executing busybox-1.31.1-r20.trigger [2021-08-25T08:22:53.962Z] OK: 295 MiB in 97 packages [2021-08-25T08:22:54.556Z] Removing intermediate container 78c4d1ad8c03 [2021-08-25T08:22:54.556Z] ---> 4246d6c563d2 [2021-08-25T08:22:54.556Z] Step 6/25 : ENV CBOR_VERSION=0.5.0 [2021-08-25T08:22:54.824Z] ---> Running in 4fc302cd9d75 [2021-08-25T08:22:54.824Z] Removing intermediate container 4fc302cd9d75 [2021-08-25T08:22:54.824Z] ---> 182b0adc0ced [2021-08-25T08:22:54.824Z] 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-08-25T08:22:54.824Z] ---> Running in 13370c2e8615 [2021-08-25T08:22:54.847Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-08-25T08:22:54.870Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-25T08:22:54.896Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-08-25T08:22:55.090Z] --2021-08-25 08:22:54-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-08-25T08:22:55.090Z] Resolving github.com (github.com)... 140.82.114.4 [2021-08-25T08:22:55.090Z] Connecting to github.com (github.com)|140.82.114.4|:443... connected. [2021-08-25T08:22:55.356Z] HTTP request sent, awaiting response... 302 Found [2021-08-25T08:22:55.356Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-08-25T08:22:55.356Z] --2021-08-25 08:22:55-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-08-25T08:22:55.356Z] Resolving codeload.github.com (codeload.github.com)... 140.82.113.9 [2021-08-25T08:22:55.356Z] Connecting to codeload.github.com (codeload.github.com)|140.82.113.9|:443... connected. [2021-08-25T08:22:55.561Z] Merging remotes/origin/main commit 103eb2d1a1e0c2c0103fb2343729ae53009a4524 into PR head commit 5f766145a1eb3ccdcf44db31a4c6b0cd29058885 [2021-08-25T08:22:55.623Z] HTTP request sent, awaiting response... 200 OK [2021-08-25T08:22:55.623Z] Length: unspecified [application/x-gzip] [2021-08-25T08:22:55.623Z] Saving to: 'STDOUT' [2021-08-25T08:22:55.623Z] [2021-08-25T08:22:55.623Z] 0K .......... .......... .......... .......... .......... 1.22M [2021-08-25T08:22:55.623Z] 50K .......... .......... .......... .......... .......... 2.41M [2021-08-25T08:22:55.623Z] 100K .......... .......... .......... .......... .......... 21.3M [2021-08-25T08:22:55.623Z] 150K .......... .......... .......... .......... .......... 53.9M [2021-08-25T08:22:55.623Z] 200K .......... .......... .......... .......... .......... 2.73M [2021-08-25T08:22:55.623Z] 250K .......... .......... .......... .......... .......... 8.13M [2021-08-25T08:22:55.623Z] 300K .......... .......... .......... .......... .......... 8.86M [2021-08-25T08:22:55.623Z] 350K .......... .......... .......... .......... .......... 21.1M [2021-08-25T08:22:55.623Z] 400K .......... .......... .......... .......... .......... 8.07M [2021-08-25T08:22:55.623Z] 450K .......... .......... .......... .......... .......... 10.8M [2021-08-25T08:22:55.623Z] 500K .......... .......... .......... .......... .......... 18.7M [2021-08-25T08:22:55.623Z] 550K .......... .......... .......... .......... .......... 4.96M [2021-08-25T08:22:55.623Z] 600K .......... .......... .......... .......... .......... 6.83M [2021-08-25T08:22:55.623Z] 650K .......... .......... .......... .......... .......... 7.31M [2021-08-25T08:22:55.623Z] 700K .. 99.3M=0.1s [2021-08-25T08:22:55.623Z] [2021-08-25T08:22:55.623Z] 2021-08-25 08:22:55 (5.19 MB/s) - written to stdout [719348] [2021-08-25T08:22:55.623Z] [2021-08-25T08:22:55.623Z] -- The C compiler identification is GNU 9.3.0 [2021-08-25T08:22:55.805Z] Merge succeeded, producing 5f766145a1eb3ccdcf44db31a4c6b0cd29058885 [2021-08-25T08:22:55.805Z] Checking out Revision 5f766145a1eb3ccdcf44db31a4c6b0cd29058885 (PR-366) [2021-08-25T08:22:55.890Z] -- The CXX compiler identification is GNU 9.3.0 [2021-08-25T08:22:55.890Z] -- Check for working C compiler: /usr/bin/cc [2021-08-25T08:22:55.890Z] -- Check for working C compiler: /usr/bin/cc - works [2021-08-25T08:22:55.890Z] -- Detecting C compiler ABI info [2021-08-25T08:22:55.890Z] -- Detecting C compiler ABI info - done [2021-08-25T08:22:55.890Z] -- Detecting C compile features [2021-08-25T08:22:55.890Z] -- Detecting C compile features - done [2021-08-25T08:22:55.890Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-08-25T08:22:56.158Z] -- Check for working CXX compiler: /usr/bin/c++ - works [2021-08-25T08:22:56.158Z] -- Detecting CXX compiler ABI info [2021-08-25T08:22:56.158Z] -- Detecting CXX compiler ABI info - done [2021-08-25T08:22:56.158Z] -- Detecting CXX compile features [2021-08-25T08:22:56.158Z] -- Detecting CXX compile features - done [2021-08-25T08:22:56.158Z] -- Looking for include file endian.h [2021-08-25T08:22:56.158Z] -- Looking for include file endian.h - found [2021-08-25T08:22:56.158Z] -- Check if the system is big endian [2021-08-25T08:22:56.158Z] -- Searching 16 bit integer [2021-08-25T08:22:56.158Z] -- Looking for sys/types.h [2021-08-25T08:22:56.158Z] -- Looking for sys/types.h - found [2021-08-25T08:22:56.158Z] -- Looking for stdint.h [2021-08-25T08:22:54.934Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-08-25T08:22:54.934Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-25T08:22:54.950Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/366/head:refs/remotes/origin/PR-366 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-08-25T08:22:55.575Z] > git config core.sparsecheckout # timeout=10 [2021-08-25T08:22:55.592Z] > git checkout -f 5f766145a1eb3ccdcf44db31a4c6b0cd29058885 # timeout=10 [2021-08-25T08:22:55.709Z] > git remote # timeout=10 [2021-08-25T08:22:55.736Z] > git config --get remote.origin.url # timeout=10 [2021-08-25T08:22:55.747Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-25T08:22:55.758Z] > git merge 103eb2d1a1e0c2c0103fb2343729ae53009a4524 # timeout=10 [2021-08-25T08:22:55.782Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-08-25T08:22:55.805Z] > git config core.sparsecheckout # timeout=10 [2021-08-25T08:22:55.825Z] > git checkout -f 5f766145a1eb3ccdcf44db31a4c6b0cd29058885 # timeout=10 [2021-08-25T08:22:56.425Z] -- Looking for stdint.h - found [2021-08-25T08:22:56.425Z] -- Looking for stddef.h [2021-08-25T08:22:56.425Z] -- Looking for stddef.h - found [2021-08-25T08:22:56.425Z] -- Check size of unsigned short [2021-08-25T08:22:56.425Z] -- Check size of unsigned short - done [2021-08-25T08:22:56.425Z] -- Searching 16 bit integer - Using unsigned short [2021-08-25T08:22:56.425Z] -- Check if the system is big endian - little endian [2021-08-25T08:22:56.425Z] -- Check size of size_t [2021-08-25T08:22:56.691Z] -- Check size of size_t - done [2021-08-25T08:22:56.691Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-08-25T08:22:56.691Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-08-25T08:22:56.691Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-08-25T08:22:56.691Z] CMake did not find one. [2021-08-25T08:22:56.691Z] [2021-08-25T08:22:56.691Z] Could not find a package configuration file provided by "cJSON" with any of [2021-08-25T08:22:56.691Z] the following names: [2021-08-25T08:22:56.691Z] [2021-08-25T08:22:56.691Z] cJSONConfig.cmake [2021-08-25T08:22:56.691Z] cjson-config.cmake [2021-08-25T08:22:56.691Z] [2021-08-25T08:22:56.691Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-08-25T08:22:56.691Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-08-25T08:22:56.691Z] provides a separate development package or SDK, be sure it has been [2021-08-25T08:22:56.691Z] installed. [2021-08-25T08:22:56.691Z] [2021-08-25T08:22:56.691Z] [2021-08-25T08:22:56.691Z] -- Configuring done [2021-08-25T08:22:56.691Z] -- Generating done [2021-08-25T08:22:56.691Z] -- Build files have been written to: /tmp/cbor [2021-08-25T08:22:56.691Z] Scanning dependencies of target cbor_shared [2021-08-25T08:22:56.691Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-08-25T08:22:56.691Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-08-25T08:22:56.962Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-08-25T08:22:56.962Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-08-25T08:22:57.232Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-08-25T08:22:57.232Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-08-25T08:22:57.232Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-08-25T08:22:57.232Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-08-25T08:22:57.232Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-08-25T08:22:57.498Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-08-25T08:22:57.498Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-08-25T08:22:57.498Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-08-25T08:22:57.771Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-08-25T08:22:57.771Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-08-25T08:22:57.771Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-08-25T08:22:57.771Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-08-25T08:22:57.771Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-08-25T08:22:58.038Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-08-25T08:22:58.038Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-08-25T08:22:58.038Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-08-25T08:22:58.038Z] [ 40%] Linking C shared library libcbor.so [2021-08-25T08:22:58.038Z] [ 40%] Built target cbor_shared [2021-08-25T08:22:58.038Z] Scanning dependencies of target cbor [2021-08-25T08:22:58.305Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-08-25T08:22:58.305Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-08-25T08:22:58.305Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-08-25T08:22:58.572Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-08-25T08:22:58.841Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-08-25T08:22:58.841Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-08-25T08:22:58.841Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-08-25T08:22:58.841Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-08-25T08:22:58.841Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-08-25T08:22:59.107Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-08-25T08:22:59.107Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-08-25T08:22:59.379Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-08-25T08:22:59.379Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-08-25T08:22:59.379Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-08-25T08:22:59.379Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-08-25T08:22:59.647Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-08-25T08:22:59.647Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-08-25T08:22:59.647Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-08-25T08:22:59.647Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-08-25T08:22:59.920Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-08-25T08:22:59.920Z] [ 80%] Linking C static library libcbor.a [2021-08-25T08:22:59.920Z] [ 80%] Built target cbor [2021-08-25T08:22:59.920Z] Scanning dependencies of target sort [2021-08-25T08:22:59.920Z] [ 82%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-08-25T08:22:59.920Z] [ 84%] Linking C executable sort [2021-08-25T08:22:59.920Z] [ 84%] Built target sort [2021-08-25T08:22:59.920Z] Scanning dependencies of target readfile [2021-08-25T08:22:59.920Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-08-25T08:22:59.920Z] [ 88%] Linking C executable readfile [2021-08-25T08:22:59.920Z] [ 88%] Built target readfile [2021-08-25T08:23:00.074Z] Commit message: "docs: Add templates for new GitHub issues" [2021-08-25T08:23:00.191Z] Scanning dependencies of target streaming_parser [2021-08-25T08:23:00.191Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-08-25T08:23:00.191Z] [ 92%] Linking C executable streaming_parser [2021-08-25T08:23:00.191Z] [ 92%] Built target streaming_parser [2021-08-25T08:23:00.191Z] Scanning dependencies of target hello [2021-08-25T08:23:00.191Z] [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-08-25T08:23:00.191Z] [ 96%] Linking C executable hello [2021-08-25T08:23:00.191Z] [ 96%] Built target hello [2021-08-25T08:23:00.191Z] Scanning dependencies of target create_items [2021-08-25T08:23:00.191Z] [ 98%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-08-25T08:23:00.191Z] [100%] Linking C executable create_items [2021-08-25T08:23:00.191Z] [100%] Built target create_items [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-25T08:23:00.413Z] provisioning config files... [2021-08-25T08:23:00.442Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/2@tmp/config1534835291631862312tmp [2021-08-25T08:23:00.458Z] Install the project... [2021-08-25T08:23:00.458Z] -- Install configuration: "Release" [2021-08-25T08:23:00.458Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-08-25T08:23:00.458Z] -- Installing: /usr/local/lib64/libcbor.a [2021-08-25T08:23:00.458Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-08-25T08:23:00.458Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-08-25T08:23:00.458Z] -- Installing: /usr/local/lib64/libcbor.so [2021-08-25T08:23:00.458Z] -- Up-to-date: /usr/local/include/cbor [2021-08-25T08:23:00.458Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-08-25T08:23:00.458Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-08-25T08:23:00.458Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-08-25T08:23:00.458Z] -- Installing: /usr/local/include/cbor/common.h [2021-08-25T08:23:00.458Z] -- Installing: /usr/local/include/cbor/data.h [2021-08-25T08:23:00.458Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-08-25T08:23:00.458Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-08-25T08:23:00.458Z] -- Installing: /usr/local/include/cbor/internal [2021-08-25T08:23:00.458Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-08-25T08:23:00.458Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-08-25T08:23:00.458Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-08-25T08:23:00.458Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-08-25T08:23:00.458Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-08-25T08:23:00.458Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-08-25T08:23:00.458Z] -- Installing: /usr/local/include/cbor/ints.h [2021-08-25T08:23:00.458Z] -- Installing: /usr/local/include/cbor/maps.h [2021-08-25T08:23:00.458Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-08-25T08:23:00.458Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-08-25T08:23:00.458Z] -- Installing: /usr/local/include/cbor/strings.h [2021-08-25T08:23:00.458Z] -- Installing: /usr/local/include/cbor/tags.h [2021-08-25T08:23:00.458Z] -- Installing: /usr/local/include/cbor.h [2021-08-25T08:23:00.458Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-25T08:23:00.993Z] ---> docker-login.sh [2021-08-25T08:23:00.993Z] nexus3.edgexfoundry.org:10001 [2021-08-25T08:23:01.051Z] Removing intermediate container 13370c2e8615 [2021-08-25T08:23:01.051Z] ---> 01828513b81d [2021-08-25T08:23:01.051Z] Step 8/25 : RUN mkdir /tmp/sdk [2021-08-25T08:23:01.051Z] ---> Running in 43c67b299a8e [2021-08-25T08:23:01.342Z] Removing intermediate container 43c67b299a8e [2021-08-25T08:23:01.342Z] ---> 7ac2369b50b6 [2021-08-25T08:23:01.342Z] Step 9/25 : COPY VERSION /tmp/sdk [2021-08-25T08:23:01.611Z] ---> 961bced278aa [2021-08-25T08:23:01.611Z] Step 10/25 : COPY src /tmp/sdk/src [2021-08-25T08:23:01.879Z] ---> e158fe5d2886 [2021-08-25T08:23:01.879Z] Step 11/25 : COPY include /tmp/sdk/include [2021-08-25T08:23:01.879Z] ---> 31ec08b20964 [2021-08-25T08:23:01.879Z] Step 12/25 : COPY scripts /tmp/sdk/scripts [2021-08-25T08:23:01.983Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-25T08:23:02.147Z] ---> a1fec1219b3e [2021-08-25T08:23:02.147Z] Step 13/25 : COPY LICENSE /tmp/sdk [2021-08-25T08:23:02.147Z] ---> 0ad08d547cd6 [2021-08-25T08:23:02.147Z] Step 14/25 : COPY Attribution.txt /tmp/sdk [2021-08-25T08:23:02.259Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-25T08:23:02.260Z] Configure a credential helper to remove this warning. See [2021-08-25T08:23:02.260Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-25T08:23:02.260Z] [2021-08-25T08:23:02.260Z] Login Succeeded [2021-08-25T08:23:02.260Z] nexus3.edgexfoundry.org:10002 [2021-08-25T08:23:02.415Z] ---> 88ac80ca3fde [2021-08-25T08:23:02.415Z] Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-08-25T08:23:02.415Z] ---> Running in 00f9c38854eb [2021-08-25T08:23:02.683Z] + CPPCHECK=false [2021-08-25T08:23:02.683Z] + DOCGEN=false [2021-08-25T08:23:02.683Z] + TOMLVER=SDK-0.2 [2021-08-25T08:23:02.683Z] + CUTILVER=1.1.4 [2021-08-25T08:23:02.683Z] + '[' 0 -gt 0 ] [2021-08-25T08:23:02.683Z] + readlink -f ./scripts/build.sh [2021-08-25T08:23:02.683Z] + dirname /tmp/sdk/scripts/build.sh [2021-08-25T08:23:02.683Z] + dirname /tmp/sdk/scripts [2021-08-25T08:23:02.683Z] + ROOT=/tmp/sdk [2021-08-25T08:23:02.683Z] + cd /tmp/sdk [2021-08-25T08:23:02.683Z] + '[' '!' -d deps ] [2021-08-25T08:23:02.683Z] + mkdir deps [2021-08-25T08:23:02.683Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-08-25T08:23:02.683Z] + tar -C deps -z -x -f - [2021-08-25T08:23:02.683Z] --2021-08-25 08:23:02-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-08-25T08:23:02.683Z] Resolving github.com (github.com)... 140.82.114.4 [2021-08-25T08:23:02.683Z] Connecting to github.com (github.com)|140.82.114.4|:443... connected. [2021-08-25T08:23:02.863Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-25T08:23:02.863Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-25T08:23:02.863Z] Configure a credential helper to remove this warning. See [2021-08-25T08:23:02.863Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-25T08:23:02.863Z] [2021-08-25T08:23:02.863Z] Login Succeeded [2021-08-25T08:23:02.863Z] nexus3.edgexfoundry.org:10003 [2021-08-25T08:23:02.951Z] HTTP request sent, awaiting response... 302 Found [2021-08-25T08:23:02.951Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-08-25T08:23:02.951Z] --2021-08-25 08:23:02-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-08-25T08:23:02.951Z] Resolving codeload.github.com (codeload.github.com)... 140.82.113.9 [2021-08-25T08:23:02.951Z] Connecting to codeload.github.com (codeload.github.com)|140.82.113.9|:443... connected. [2021-08-25T08:23:03.139Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-25T08:23:03.217Z] HTTP request sent, awaiting response... 200 OK [2021-08-25T08:23:03.217Z] Length: unspecified [application/x-gzip] [2021-08-25T08:23:03.217Z] Saving to: 'STDOUT' [2021-08-25T08:23:03.217Z]  [2021-08-25T08:23:03.217Z] 0K .......... ...... 588K=0.03s [2021-08-25T08:23:03.217Z] [2021-08-25T08:23:03.217Z] 2021-08-25 08:23:03 (588 KB/s) - written to stdout [16451] [2021-08-25T08:23:03.217Z] [2021-08-25T08:23:03.217Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-08-25T08:23:03.217Z] + + tar -Cwget deps -z -x -O -f - - [2021-08-25T08:23:03.217Z] https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-08-25T08:23:03.217Z] --2021-08-25 08:23:03-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-08-25T08:23:03.217Z] Resolving github.com (github.com)... 140.82.114.4 [2021-08-25T08:23:03.217Z] Connecting to github.com (github.com)|140.82.114.4|:443... connected. [2021-08-25T08:23:03.217Z] HTTP request sent, awaiting response... 302 Found [2021-08-25T08:23:03.217Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] [2021-08-25T08:23:03.217Z] --2021-08-25 08:23:03-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [2021-08-25T08:23:03.217Z] Resolving codeload.github.com (codeload.github.com)... 140.82.113.9 [2021-08-25T08:23:03.414Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-25T08:23:03.415Z] Configure a credential helper to remove this warning. See [2021-08-25T08:23:03.415Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-25T08:23:03.415Z] [2021-08-25T08:23:03.415Z] Login Succeeded [2021-08-25T08:23:03.415Z] nexus3.edgexfoundry.org:10004 [2021-08-25T08:23:03.482Z] Connecting to codeload.github.com (codeload.github.com)|140.82.113.9|:443... connected. [2021-08-25T08:23:03.482Z] HTTP request sent, awaiting response... 200 OK [2021-08-25T08:23:03.482Z] Length: unspecified [application/x-gzip] [2021-08-25T08:23:03.482Z] Saving to: 'STDOUT' [2021-08-25T08:23:03.482Z] [2021-08-25T08:23:03.482Z] 0K .......... .......... .......... .......... .......... 1.21M [2021-08-25T08:23:03.482Z] 50K .......... .......... .......... .......... .......... 2.69M [2021-08-25T08:23:03.482Z] 100K .......... .......... .......... .......... .......... 23.1M [2021-08-25T08:23:03.482Z] 150K .......... .......... ....... 5.48M=0.07s [2021-08-25T08:23:03.482Z] [2021-08-25T08:23:03.482Z] 2021-08-25 08:23:03 (2.65 MB/s) - written to stdout [181796] [2021-08-25T08:23:03.482Z] [2021-08-25T08:23:03.482Z] + mkdir -p src/c/iot [2021-08-25T08:23:03.482Z] + cp deps/iotech-c-utils-1.1.4/src/c/base64.c deps/iotech-c-utils-1.1.4/src/c/component.c deps/iotech-c-utils-1.1.4/src/c/config.c deps/iotech-c-utils-1.1.4/src/c/container.c deps/iotech-c-utils-1.1.4/src/c/data.c deps/iotech-c-utils-1.1.4/src/c/hash.c deps/iotech-c-utils-1.1.4/src/c/iot.c deps/iotech-c-utils-1.1.4/src/c/json.c deps/iotech-c-utils-1.1.4/src/c/logger.c deps/iotech-c-utils-1.1.4/src/c/os.c deps/iotech-c-utils-1.1.4/src/c/scheduler.c deps/iotech-c-utils-1.1.4/src/c/thread.c deps/iotech-c-utils-1.1.4/src/c/threadpool.c deps/iotech-c-utils-1.1.4/src/c/time.c deps/iotech-c-utils-1.1.4/src/c/yxml.c src/c/iot [2021-08-25T08:23:03.482Z] + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot [2021-08-25T08:23:03.482Z] + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot [2021-08-25T08:23:03.482Z] + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot [2021-08-25T08:23:03.482Z] + mkdir -p include/iot [2021-08-25T08:23:03.482Z] + cp deps/iotech-c-utils-1.1.4/include/iot/base64.h deps/iotech-c-utils-1.1.4/include/iot/component.h deps/iotech-c-utils-1.1.4/include/iot/config.h deps/iotech-c-utils-1.1.4/include/iot/container.h deps/iotech-c-utils-1.1.4/include/iot/data.h deps/iotech-c-utils-1.1.4/include/iot/hash.h deps/iotech-c-utils-1.1.4/include/iot/iot.h deps/iotech-c-utils-1.1.4/include/iot/json.h deps/iotech-c-utils-1.1.4/include/iot/logger.h deps/iotech-c-utils-1.1.4/include/iot/os.h deps/iotech-c-utils-1.1.4/include/iot/scheduler.h deps/iotech-c-utils-1.1.4/include/iot/thread.h deps/iotech-c-utils-1.1.4/include/iot/threadpool.h deps/iotech-c-utils-1.1.4/include/iot/time.h deps/iotech-c-utils-1.1.4/include/iot/typecode.h include/iot [2021-08-25T08:23:03.482Z] + mkdir -p include/iot/os [2021-08-25T08:23:03.482Z] + cp deps/iotech-c-utils-1.1.4/include/iot/os/linux.h deps/iotech-c-utils-1.1.4/include/iot/os/macos.h deps/iotech-c-utils-1.1.4/include/iot/os/zephyr.h include/iot/os [2021-08-25T08:23:03.482Z] + mkdir -p /tmp/sdk/build/release [2021-08-25T08:23:03.482Z] + cd /tmp/sdk/build/release [2021-08-25T08:23:03.482Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-08-25T08:23:03.749Z] -- The C compiler identification is GNU 9.3.0 [2021-08-25T08:23:03.749Z] -- Check for working C compiler: /usr/bin/cc [2021-08-25T08:23:03.749Z] -- Check for working C compiler: /usr/bin/cc - works [2021-08-25T08:23:03.749Z] -- Detecting C compiler ABI info [2021-08-25T08:23:03.749Z] -- Detecting C compiler ABI info - done [2021-08-25T08:23:03.749Z] -- Detecting C compile features [2021-08-25T08:23:03.749Z] -- Detecting C compile features - done [2021-08-25T08:23:03.749Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-08-25T08:23:04.018Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") [2021-08-25T08:23:04.018Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-08-25T08:23:04.018Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-08-25T08:23:04.018Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-08-25T08:23:04.018Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-08-25T08:23:04.018Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-08-25T08:23:04.018Z] -- C SDK 0.0.0 for Linux [2021-08-25T08:23:04.018Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-08-25T08:23:04.018Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-08-25T08:23:04.018Z] -- Found Curses: /usr/lib/libcurses.so [2021-08-25T08:23:04.018Z] -- Configuring done [2021-08-25T08:23:04.018Z] -- Generating done [2021-08-25T08:23:04.018Z] -- Build files have been written to: /tmp/sdk/build/release [2021-08-25T08:23:04.018Z] + make all package [2021-08-25T08:23:04.018Z] + tee release.log [2021-08-25T08:23:04.018Z] Scanning dependencies of target csdk [2021-08-25T08:23:04.020Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-25T08:23:04.020Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-25T08:23:04.020Z] Configure a credential helper to remove this warning. See [2021-08-25T08:23:04.020Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-25T08:23:04.020Z] [2021-08-25T08:23:04.020Z] Login Succeeded [2021-08-25T08:23:04.020Z] docker.io [2021-08-25T08:23:04.286Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-08-25T08:23:04.286Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-08-25T08:23:04.286Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-08-25T08:23:04.301Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-25T08:23:04.565Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-08-25T08:23:04.832Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-08-25T08:23:04.832Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-08-25T08:23:04.911Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-25T08:23:04.911Z] Configure a credential helper to remove this warning. See [2021-08-25T08:23:04.911Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-25T08:23:04.911Z] [2021-08-25T08:23:04.911Z] Login Succeeded [2021-08-25T08:23:04.911Z] ---> docker-login.sh ends [Pipeline] } [2021-08-25T08:23:04.993Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-08-25T08:23:05.098Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-08-25T08:23:05.098Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-08-25T08:23:05.098Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-08-25T08:23:05.373Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-08-25T08:23:05.640Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-08-25T08:23:05.640Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [Pipeline] echo [2021-08-25T08:23:05.647Z] ========================================================= [2021-08-25T08:23:05.647Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2021-08-25T08:23:05.647Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-08-25T08:23:05.908Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-08-25T08:23:05.908Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-08-25T08:23:06.024Z] + 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-08-25T08:23:06.176Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-08-25T08:23:06.176Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-08-25T08:23:06.176Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-08-25T08:23:06.626Z] Sending build context to Docker daemon 2.677MB [2021-08-25T08:23:06.626Z] Step 1/25 : ARG BASE=alpine:3.12 [2021-08-25T08:23:06.626Z] Step 2/25 : FROM ${BASE} as builder [2021-08-25T08:23:06.760Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-08-25T08:23:06.760Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-08-25T08:23:06.760Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-08-25T08:23:06.760Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-08-25T08:23:06.904Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2021-08-25T08:23:06.904Z] d2f70382dc9a: Pulling fs layer [2021-08-25T08:23:06.904Z] b08cc2eccb4b: Pulling fs layer [2021-08-25T08:23:06.904Z] 7b69db201801: Pulling fs layer [2021-08-25T08:23:06.904Z] b08cc2eccb4b: Download complete [2021-08-25T08:23:06.904Z] d2f70382dc9a: Verifying Checksum [2021-08-25T08:23:06.904Z] d2f70382dc9a: Download complete [2021-08-25T08:23:07.027Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-08-25T08:23:07.059Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-08-25T08:23:07.647Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-08-25T08:23:07.647Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-08-25T08:23:07.647Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-08-25T08:23:07.647Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-08-25T08:23:07.915Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-08-25T08:23:07.915Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-08-25T08:23:07.951Z] d2f70382dc9a: Pull complete [2021-08-25T08:23:08.183Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-08-25T08:23:08.183Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-08-25T08:23:08.183Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-08-25T08:23:08.183Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-08-25T08:23:08.224Z] b08cc2eccb4b: Pull complete [2021-08-25T08:23:08.770Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-08-25T08:23:08.770Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-08-25T08:23:08.770Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-08-25T08:23:09.040Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-08-25T08:23:09.205Z] 7b69db201801: Verifying Checksum [2021-08-25T08:23:09.206Z] 7b69db201801: Download complete [2021-08-25T08:23:09.627Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-08-25T08:23:09.898Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-08-25T08:23:09.898Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-08-25T08:23:09.898Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-08-25T08:23:10.169Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-08-25T08:23:10.436Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-08-25T08:23:10.436Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-08-25T08:23:10.711Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-08-25T08:23:10.711Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-08-25T08:23:10.991Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-08-25T08:23:11.576Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-08-25T08:23:11.851Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-08-25T08:23:11.851Z] [ 75%] Linking C shared library libcsdk.so [2021-08-25T08:23:11.851Z] [ 75%] Built target csdk [2021-08-25T08:23:11.851Z] Scanning dependencies of target template [2021-08-25T08:23:11.851Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-08-25T08:23:12.123Z] [ 78%] Linking C executable template [2021-08-25T08:23:12.123Z] [ 78%] Built target template [2021-08-25T08:23:12.123Z] Scanning dependencies of target device-counter [2021-08-25T08:23:12.123Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-08-25T08:23:12.123Z] [ 81%] Linking C executable device-counter [2021-08-25T08:23:12.393Z] [ 81%] Built target device-counter [2021-08-25T08:23:12.393Z] Scanning dependencies of target device-random [2021-08-25T08:23:12.393Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-08-25T08:23:12.393Z] [ 84%] Linking C executable device-random [2021-08-25T08:23:12.393Z] [ 84%] Built target device-random [2021-08-25T08:23:12.393Z] Scanning dependencies of target device-gyro [2021-08-25T08:23:12.393Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-08-25T08:23:12.393Z] [ 87%] Linking C executable device-gyro [2021-08-25T08:23:12.664Z] [ 87%] Built target device-gyro [2021-08-25T08:23:12.664Z] Scanning dependencies of target device-bitfields [2021-08-25T08:23:12.664Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-08-25T08:23:12.664Z] [ 90%] Linking C executable device-bitfields [2021-08-25T08:23:12.664Z] [ 90%] Built target device-bitfields [2021-08-25T08:23:12.664Z] Scanning dependencies of target template-discovery [2021-08-25T08:23:12.664Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-08-25T08:23:12.935Z] [ 93%] Linking C executable template-discovery [2021-08-25T08:23:12.935Z] [ 93%] Built target template-discovery [2021-08-25T08:23:12.935Z] Scanning dependencies of target device-file [2021-08-25T08:23:12.935Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-08-25T08:23:12.935Z] [ 96%] Linking C executable device-file [2021-08-25T08:23:13.214Z] [ 96%] Built target device-file [2021-08-25T08:23:13.214Z] Scanning dependencies of target device-terminal [2021-08-25T08:23:13.214Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-08-25T08:23:13.214Z] [100%] Linking C executable device-terminal [2021-08-25T08:23:13.214Z] [100%] Built target device-terminal [2021-08-25T08:23:13.214Z] Run CPack packaging tool... [2021-08-25T08:23:13.214Z] CPack: Create package using TGZ [2021-08-25T08:23:13.214Z] CPack: Install projects [2021-08-25T08:23:13.214Z] CPack: - Run preinstall target for: Csdk [2021-08-25T08:23:13.486Z] CPack: - Install project: Csdk [] [2021-08-25T08:23:13.486Z] CPack: Create package [2021-08-25T08:23:13.486Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-08-25T08:23:13.486Z] + '[' false '=' true ] [2021-08-25T08:23:13.486Z] + '[' false '=' true ] [2021-08-25T08:23:13.486Z] + mkdir -p /tmp/sdk/build/debug [2021-08-25T08:23:13.486Z] + cd /tmp/sdk/build/debug [2021-08-25T08:23:13.486Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-08-25T08:23:13.486Z] -- The C compiler identification is GNU 9.3.0 [2021-08-25T08:23:13.486Z] -- Check for working C compiler: /usr/bin/cc [2021-08-25T08:23:13.754Z] -- Check for working C compiler: /usr/bin/cc - works [2021-08-25T08:23:13.754Z] -- Detecting C compiler ABI info [2021-08-25T08:23:13.754Z] -- Detecting C compiler ABI info - done [2021-08-25T08:23:13.754Z] -- Detecting C compile features [2021-08-25T08:23:13.754Z] -- Detecting C compile features - done [2021-08-25T08:23:13.754Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-08-25T08:23:13.754Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") [2021-08-25T08:23:13.754Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-08-25T08:23:13.754Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-08-25T08:23:13.754Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-08-25T08:23:13.754Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-08-25T08:23:13.754Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-08-25T08:23:13.754Z] -- C SDK 0.0.0 for Linux [2021-08-25T08:23:13.754Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-08-25T08:23:13.754Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-08-25T08:23:13.754Z] -- Found Curses: /usr/lib/libcurses.so [2021-08-25T08:23:14.021Z] -- Configuring done [2021-08-25T08:23:14.021Z] -- Generating done [2021-08-25T08:23:14.021Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-08-25T08:23:14.021Z] + tee debug.log [2021-08-25T08:23:14.021Z] + make [2021-08-25T08:23:14.021Z] Scanning dependencies of target csdk [2021-08-25T08:23:14.021Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-08-25T08:23:14.021Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-08-25T08:23:14.288Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-08-25T08:23:14.288Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-08-25T08:23:14.288Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-08-25T08:23:14.288Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-08-25T08:23:14.557Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-08-25T08:23:14.557Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-08-25T08:23:14.557Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-08-25T08:23:14.557Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-08-25T08:23:14.829Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-08-25T08:23:14.829Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-08-25T08:23:14.829Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-08-25T08:23:14.829Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-08-25T08:23:15.105Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-08-25T08:23:15.105Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-08-25T08:23:15.105Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-08-25T08:23:15.372Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-08-25T08:23:15.372Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-08-25T08:23:15.372Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-08-25T08:23:15.372Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-08-25T08:23:15.372Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-08-25T08:23:15.638Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-08-25T08:23:15.638Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-08-25T08:23:15.638Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-08-25T08:23:15.638Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-08-25T08:23:15.916Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-08-25T08:23:15.916Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-08-25T08:23:15.916Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-08-25T08:23:15.916Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-08-25T08:23:15.916Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-08-25T08:23:16.187Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-08-25T08:23:16.187Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-08-25T08:23:16.187Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-08-25T08:23:16.187Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-08-25T08:23:16.457Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-08-25T08:23:16.457Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-08-25T08:23:16.725Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-08-25T08:23:16.725Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-08-25T08:23:16.725Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-08-25T08:23:16.725Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-08-25T08:23:16.993Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-08-25T08:23:16.993Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-08-25T08:23:16.993Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-08-25T08:23:17.260Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-08-25T08:23:17.260Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-08-25T08:23:17.260Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-08-25T08:23:17.526Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-08-25T08:23:17.527Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-08-25T08:23:17.527Z] [ 75%] Linking C shared library libcsdk.so [2021-08-25T08:23:17.527Z] [ 75%] Built target csdk [2021-08-25T08:23:17.527Z] Scanning dependencies of target template [2021-08-25T08:23:17.527Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-08-25T08:23:17.528Z] 7b69db201801: Pull complete [2021-08-25T08:23:17.528Z] Digest: sha256:6402f0ff92f22f5db569dc2a94aef5717e50795d64082fb226716824a8b8ffba [2021-08-25T08:23:17.529Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2021-08-25T08:23:17.529Z] ---> 759262b18b23 [2021-08-25T08:23:17.529Z] Step 3/25 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub [2021-08-25T08:23:17.793Z] [ 78%] Linking C executable template [2021-08-25T08:23:17.793Z] [ 78%] Built target template [2021-08-25T08:23:17.793Z] Scanning dependencies of target device-counter [2021-08-25T08:23:17.793Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-08-25T08:23:17.793Z] [ 81%] Linking C executable device-counter [2021-08-25T08:23:17.793Z] [ 81%] Built target device-counter [2021-08-25T08:23:17.793Z] Scanning dependencies of target device-random [2021-08-25T08:23:17.793Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-08-25T08:23:18.063Z] [ 84%] Linking C executable device-random [2021-08-25T08:23:18.063Z] [ 84%] Built target device-random [2021-08-25T08:23:18.063Z] Scanning dependencies of target device-gyro [2021-08-25T08:23:18.063Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-08-25T08:23:18.063Z] [ 87%] Linking C executable device-gyro [2021-08-25T08:23:18.063Z] [ 87%] Built target device-gyro [2021-08-25T08:23:18.063Z] Scanning dependencies of target device-bitfields [2021-08-25T08:23:18.063Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-08-25T08:23:18.063Z] [ 90%] Linking C executable device-bitfields [2021-08-25T08:23:18.340Z] [ 90%] Built target device-bitfields [2021-08-25T08:23:18.340Z] Scanning dependencies of target template-discovery [2021-08-25T08:23:18.340Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-08-25T08:23:18.340Z] [ 93%] Linking C executable template-discovery [2021-08-25T08:23:18.340Z] [ 93%] Built target template-discovery [2021-08-25T08:23:18.340Z] Scanning dependencies of target device-file [2021-08-25T08:23:18.340Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-08-25T08:23:18.340Z] [ 96%] Linking C executable device-file [2021-08-25T08:23:18.608Z] [ 96%] Built target device-file [2021-08-25T08:23:18.608Z] Scanning dependencies of target device-terminal [2021-08-25T08:23:18.608Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-08-25T08:23:18.608Z] [100%] Linking C executable device-terminal [2021-08-25T08:23:18.608Z] [100%] Built target device-terminal [2021-08-25T08:23:18.608Z] make: Entering directory '/tmp/sdk/build/release' [2021-08-25T08:23:18.608Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-08-25T08:23:18.608Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-25T08:23:18.608Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-25T08:23:18.608Z] [ 75%] Built target csdk [2021-08-25T08:23:18.608Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-25T08:23:18.608Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-25T08:23:18.608Z] [ 78%] Built target template [2021-08-25T08:23:18.608Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-25T08:23:18.608Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-25T08:23:18.608Z] [ 81%] Built target device-counter [2021-08-25T08:23:18.608Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-25T08:23:18.608Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-25T08:23:18.608Z] [ 84%] Built target device-random [2021-08-25T08:23:18.608Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-25T08:23:18.608Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-25T08:23:18.608Z] [ 87%] Built target device-gyro [2021-08-25T08:23:18.874Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-25T08:23:18.874Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-25T08:23:18.874Z] [ 90%] Built target device-bitfields [2021-08-25T08:23:18.874Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-25T08:23:18.874Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-25T08:23:18.874Z] [ 93%] Built target template-discovery [2021-08-25T08:23:18.874Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-25T08:23:18.874Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-25T08:23:18.874Z] [ 96%] Built target device-file [2021-08-25T08:23:18.874Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-25T08:23:18.874Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-25T08:23:18.874Z] [100%] Built target device-terminal [2021-08-25T08:23:18.874Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-08-25T08:23:18.874Z] Install the project... [2021-08-25T08:23:18.874Z] -- Install configuration: "Release" [2021-08-25T08:23:18.874Z] -- Installing: /usr/local/lib/libcsdk.so [2021-08-25T08:23:18.874Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-08-25T08:23:18.874Z] -- Up-to-date: /usr/local/include [2021-08-25T08:23:18.874Z] -- Installing: /usr/local/include/devsdk [2021-08-25T08:23:18.874Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-08-25T08:23:18.874Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-08-25T08:23:18.874Z] -- Installing: /usr/local/include/edgex [2021-08-25T08:23:18.874Z] -- Installing: /usr/local/include/edgex/devices.h [2021-08-25T08:23:18.874Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-08-25T08:23:18.874Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-08-25T08:23:18.874Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-08-25T08:23:18.874Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-08-25T08:23:18.874Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-08-25T08:23:18.874Z] -- Installing: /usr/local/include/iot [2021-08-25T08:23:18.874Z] -- Installing: /usr/local/include/iot/base64.h [2021-08-25T08:23:18.874Z] -- Installing: /usr/local/include/iot/component.h [2021-08-25T08:23:18.874Z] -- Installing: /usr/local/include/iot/config.h [2021-08-25T08:23:18.874Z] -- Installing: /usr/local/include/iot/container.h [2021-08-25T08:23:18.874Z] -- Installing: /usr/local/include/iot/data.h [2021-08-25T08:23:18.874Z] -- Installing: /usr/local/include/iot/hash.h [2021-08-25T08:23:18.874Z] -- Installing: /usr/local/include/iot/iot.h [2021-08-25T08:23:18.874Z] -- Installing: /usr/local/include/iot/json.h [2021-08-25T08:23:18.874Z] -- Installing: /usr/local/include/iot/logger.h [2021-08-25T08:23:18.874Z] -- Installing: /usr/local/include/iot/os.h [2021-08-25T08:23:18.874Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-08-25T08:23:18.874Z] -- Installing: /usr/local/include/iot/thread.h [2021-08-25T08:23:18.874Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-08-25T08:23:18.874Z] -- Installing: /usr/local/include/iot/time.h [2021-08-25T08:23:18.874Z] -- Installing: /usr/local/include/iot/typecode.h [2021-08-25T08:23:18.874Z] -- Installing: /usr/local/include/iot/os [2021-08-25T08:23:18.874Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-08-25T08:23:18.874Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-08-25T08:23:18.874Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-08-25T08:23:18.874Z] -- Installing: /usr/local/include/iot/defs.h [2021-08-25T08:23:18.874Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-08-25T08:23:18.874Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-08-25T08:23:18.874Z] make: Leaving directory '/tmp/sdk/build/release' [2021-08-25T08:23:18.983Z] ---> Running in 87e38638092a [2021-08-25T08:23:19.458Z] Removing intermediate container 00f9c38854eb [2021-08-25T08:23:19.458Z] ---> b2bb402ca0b7 [2021-08-25T08:23:19.458Z] Step 16/25 : FROM ${BASE} [2021-08-25T08:23:19.458Z] ---> ac6a0feb3254 [2021-08-25T08:23:19.458Z] Step 17/25 : LABEL maintainer="IOTech " [2021-08-25T08:23:19.458Z] ---> Running in cf9699489f82 [2021-08-25T08:23:19.458Z] Removing intermediate container cf9699489f82 [2021-08-25T08:23:19.458Z] ---> 85ebd558d131 [2021-08-25T08:23:19.458Z] Step 18/25 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub [2021-08-25T08:23:19.458Z] ---> Running in c4b41fdf24f7 [2021-08-25T08:23:19.726Z] Connecting to iotech.jfrog.io (54.195.244.87:443) [2021-08-25T08:23:20.308Z] saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-08-25T08:23:20.308Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-08-25T08:23:20.308Z] '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [2021-08-25T08:23:20.578Z] Removing intermediate container c4b41fdf24f7 [2021-08-25T08:23:20.578Z] ---> da76f9afcd55 [2021-08-25T08:23:20.578Z] Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-08-25T08:23:20.578Z] ---> Running in a4908ab790e8 [2021-08-25T08:23:20.971Z] Connecting to iotech.jfrog.io (54.229.110.245:443) [2021-08-25T08:23:20.971Z] saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-08-25T08:23:20.971Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-08-25T08:23:20.971Z] '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [2021-08-25T08:23:21.171Z] Removing intermediate container a4908ab790e8 [2021-08-25T08:23:21.171Z] ---> a8f9924a0e2f [2021-08-25T08:23:21.171Z] Step 20/25 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid paho-mqtt-c-dev hiredis-dev [2021-08-25T08:23:21.171Z] ---> Running in b52265f6a410 [2021-08-25T08:23:21.437Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-08-25T08:23:22.017Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-08-25T08:23:22.283Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz [2021-08-25T08:23:22.434Z] Removing intermediate container 87e38638092a [2021-08-25T08:23:22.434Z] ---> 57db4062f9f7 [2021-08-25T08:23:22.434Z] Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-08-25T08:23:22.434Z] ---> Running in 0281bdf0c0ff [2021-08-25T08:23:22.864Z] (1/7) Installing curl (7.78.0-r0) [2021-08-25T08:23:22.864Z] (2/7) Installing hiredis (0.14.1-r0) [2021-08-25T08:23:23.136Z] (3/7) Installing hiredis-dev (0.14.1-r0) [2021-08-25T08:23:23.136Z] (4/7) Installing libuuid (2.35.2-r0) [2021-08-25T08:23:23.136Z] (5/7) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-08-25T08:23:24.545Z] (6/7) Installing libidn2 (2.3.0-r0) [2021-08-25T08:23:24.812Z] (7/7) Installing wget (1.20.3-r1) [2021-08-25T08:23:24.812Z] Executing busybox-1.31.1-r20.trigger [2021-08-25T08:23:24.812Z] OK: 286 MiB in 82 packages [2021-08-25T08:23:25.064Z] Removing intermediate container 0281bdf0c0ff [2021-08-25T08:23:25.064Z] ---> ef557aae75b9 [2021-08-25T08:23:25.064Z] Step 5/25 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev hiredis-dev [2021-08-25T08:23:25.064Z] ---> Running in 8b0bb3bd1730 [2021-08-25T08:23:25.084Z] Removing intermediate container b52265f6a410 [2021-08-25T08:23:25.084Z] ---> 4da96d3531c3 [2021-08-25T08:23:25.084Z] Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-08-25T08:23:25.350Z] ---> c70b0e21ec27 [2021-08-25T08:23:25.351Z] Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-08-25T08:23:25.618Z] ---> 1b1fadf0ac55 [2021-08-25T08:23:25.618Z] Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-08-25T08:23:25.618Z] ---> dd70b82c77e5 [2021-08-25T08:23:25.618Z] Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-08-25T08:23:25.885Z] ---> 09b2844d8f3c [2021-08-25T08:23:25.885Z] Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-08-25T08:23:25.885Z] ---> 7ae57b1ebe29 [2021-08-25T08:23:25.885Z] Successfully built 7ae57b1ebe29 [2021-08-25T08:23:25.885Z] 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-08-25T08:23:26.050Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-08-25T08:23:26.372Z] + docker inspect -f . ci-base-image-x86_64 [2021-08-25T08:23:26.372Z] . [Pipeline] withDockerContainer [2021-08-25T08:23:26.484Z] prd-centos7-docker-4c-2g-770 does not seem to be running inside a container [2021-08-25T08:23:26.538Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-08-25T08:23:26.890Z] $ docker top 4a89b6d0f9a7da83ffc9a6934583a128f0299a15aef1ee2db1cb967407c21ae0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-25T08:23:27.035Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-08-25T08:23:27.287Z] + make test [2021-08-25T08:23:27.287Z] echo "make test" [2021-08-25T08:23:27.287Z] make test [Pipeline] } [2021-08-25T08:23:27.300Z] $ docker stop --time=1 4a89b6d0f9a7da83ffc9a6934583a128f0299a15aef1ee2db1cb967407c21ae0 [2021-08-25T08:23:27.336Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz [2021-08-25T08:23:27.929Z] (1/22) Installing hiredis (0.14.1-r0) [2021-08-25T08:23:27.929Z] (2/22) Installing hiredis-dev (0.14.1-r0) [2021-08-25T08:23:28.200Z] (3/22) Installing ncurses-dev (6.2_p20200523-r0) [2021-08-25T08:23:28.200Z] (4/22) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-08-25T08:23:28.502Z] $ docker rm -f 4a89b6d0f9a7da83ffc9a6934583a128f0299a15aef1ee2db1cb967407c21ae0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2021-08-25T08:23:29.637Z] (5/22) Installing libblkid (2.35.2-r0) [2021-08-25T08:23:29.908Z] (6/22) Installing blkid (2.35.2-r0) [2021-08-25T08:23:30.180Z] (7/22) Installing libcap-ng (0.7.10-r1) [2021-08-25T08:23:30.180Z] (8/22) Installing setpriv (2.35.2-r0) [2021-08-25T08:23:30.180Z] (9/22) Installing libmount (2.35.2-r0) [2021-08-25T08:23:30.469Z] (10/22) Installing libsmartcols (2.35.2-r0) [2021-08-25T08:23:30.469Z] (11/22) Installing findmnt (2.35.2-r0) [Pipeline] sh [2021-08-25T08:23:30.741Z] (12/22) Installing mcookie (2.35.2-r0) [2021-08-25T08:23:30.741Z] (13/22) Installing hexdump (2.35.2-r0) [2021-08-25T08:23:30.741Z] (14/22) Installing lsblk (2.35.2-r0) [2021-08-25T08:23:30.948Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-08-25T08:23:31.016Z] (15/22) Installing libuuid (2.35.2-r0) [2021-08-25T08:23:31.016Z] (16/22) Installing libfdisk (2.35.2-r0) [2021-08-25T08:23:31.016Z] (17/22) Installing sfdisk (2.35.2-r0) [2021-08-25T08:23:31.269Z] + ls -al . [2021-08-25T08:23:31.269Z] total 172 [2021-08-25T08:23:31.269Z] drwxrwxr-x. 8 jenkins jenkins 4096 Aug 25 08:22 . [2021-08-25T08:23:31.269Z] drwxrwxr-x. 4 jenkins jenkins 28 Aug 25 08:22 .. [2021-08-25T08:23:31.269Z] -rw-rw-r--. 1 jenkins jenkins 3104 Aug 25 08:22 Attribution.txt [2021-08-25T08:23:31.269Z] -rw-rw-r--. 1 jenkins jenkins 7701 Aug 25 08:22 CHANGES [2021-08-25T08:23:31.269Z] drwxrwxr-x. 2 jenkins jenkins 121 Aug 25 08:22 docs [2021-08-25T08:23:31.269Z] -rw-rw-r--. 1 jenkins jenkins 108574 Aug 25 08:22 Doxyfile [2021-08-25T08:23:31.269Z] drwxrwxr-x. 8 jenkins jenkins 179 Aug 25 08:22 .git [2021-08-25T08:23:31.269Z] drwxrwxr-x. 3 jenkins jenkins 103 Aug 25 08:22 .github [2021-08-25T08:23:31.269Z] -rw-rw-r--. 1 jenkins jenkins 176 Aug 25 08:22 .gitignore [2021-08-25T08:23:31.269Z] -rw-rw-r--. 1 jenkins jenkins 677 Aug 25 08:22 GOVERNANCE.md [2021-08-25T08:23:31.269Z] drwxrwxr-x. 4 jenkins jenkins 33 Aug 25 08:22 include [2021-08-25T08:23:31.269Z] -rw-rw-r--. 1 jenkins jenkins 784 Aug 25 08:22 Jenkinsfile [2021-08-25T08:23:31.269Z] -rw-rw-r--. 1 jenkins jenkins 10174 Aug 25 08:22 LICENSE [2021-08-25T08:23:31.269Z] -rw-rw-r--. 1 jenkins jenkins 444 Aug 25 08:22 Makefile [2021-08-25T08:23:31.269Z] -rw-rw-r--. 1 jenkins jenkins 618 Aug 25 08:22 OWNERS.md [2021-08-25T08:23:31.269Z] -rw-rw-r--. 1 jenkins jenkins 4086 Aug 25 08:22 README.md [2021-08-25T08:23:31.269Z] -rw-rw-r--. 1 jenkins jenkins 7090 Aug 25 08:22 README.v2.md [2021-08-25T08:23:31.269Z] drwxrwxr-x. 2 jenkins jenkins 98 Aug 25 08:22 scripts [2021-08-25T08:23:31.269Z] drwxrwxr-x. 4 jenkins jenkins 50 Aug 25 08:22 src [2021-08-25T08:23:31.269Z] -rw-rw-r--. 1 jenkins jenkins 5 Aug 25 08:18 VERSION [Pipeline] isUnix [2021-08-25T08:23:31.290Z] (18/22) Installing cfdisk (2.35.2-r0) [2021-08-25T08:23:31.290Z] (19/22) Installing util-linux (2.35.2-r0) [Pipeline] sh [2021-08-25T08:23:31.563Z] (20/22) Installing util-linux-dev (2.35.2-r0) [2021-08-25T08:23:31.590Z] + 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=5f766145a1eb3ccdcf44db31a4c6b0cd29058885 --label arch=amd64 --label version=0.0.0 . [2021-08-25T08:23:31.590Z] Sending build context to Docker daemon 2.678MB [2021-08-25T08:23:31.590Z] Step 1/17 : ARG BASE=alpine:3.12 [2021-08-25T08:23:31.590Z] Step 2/17 : FROM ${BASE} [2021-08-25T08:23:31.590Z] ---> 7ae57b1ebe29 [2021-08-25T08:23:31.590Z] Step 3/17 : LABEL maintainer="IOTech " [2021-08-25T08:23:31.590Z] ---> Running in 80bbf614facd [2021-08-25T08:23:31.839Z] (21/22) Installing libidn2 (2.3.0-r0) [2021-08-25T08:23:31.858Z] Removing intermediate container 80bbf614facd [2021-08-25T08:23:31.858Z] ---> 82406ece8026 [2021-08-25T08:23:31.858Z] Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub [2021-08-25T08:23:31.858Z] ---> Running in 7fa3394e2ade [2021-08-25T08:23:32.117Z] (22/22) Installing wget (1.20.3-r1) [2021-08-25T08:23:32.117Z] Executing busybox-1.31.1-r20.trigger [2021-08-25T08:23:32.117Z] OK: 276 MiB in 97 packages [2021-08-25T08:23:32.125Z] --2021-08-25 08:23:31-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub [2021-08-25T08:23:32.125Z] Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.195.244.87, 54.170.66.44, 54.229.110.245 [2021-08-25T08:23:32.125Z] Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.195.244.87|:443... connected. [2021-08-25T08:23:32.391Z] HTTP request sent, awaiting response... 200 OK [2021-08-25T08:23:32.391Z] Length: 451 [application/octet-stream] [2021-08-25T08:23:32.391Z] Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-08-25T08:23:32.391Z] [2021-08-25T08:23:32.391Z] 0K 100% 51.9M=0s [2021-08-25T08:23:32.391Z] [2021-08-25T08:23:32.391Z] 2021-08-25 08:23:32 (51.9 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] [2021-08-25T08:23:32.391Z] [2021-08-25T08:23:32.661Z] Removing intermediate container 7fa3394e2ade [2021-08-25T08:23:32.661Z] ---> ecbb56aaaeca [2021-08-25T08:23:32.661Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-08-25T08:23:32.661Z] ---> Running in a30d72ca8261 [2021-08-25T08:23:33.253Z] Removing intermediate container a30d72ca8261 [2021-08-25T08:23:33.253Z] ---> e51a54ed2724 [2021-08-25T08:23:33.253Z] Step 6/17 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev hiredis-dev && mkdir -p /edgex-c-sdk/build [2021-08-25T08:23:33.253Z] ---> Running in d8fb2b3c2ff1 [2021-08-25T08:23:33.520Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-08-25T08:23:34.097Z] Removing intermediate container 8b0bb3bd1730 [2021-08-25T08:23:34.097Z] ---> a5aa088a1f7a [2021-08-25T08:23:34.097Z] Step 6/25 : ENV CBOR_VERSION=0.5.0 [2021-08-25T08:23:34.103Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-08-25T08:23:34.372Z] ---> Running in a45fab6b1733 [2021-08-25T08:23:34.653Z] Removing intermediate container a45fab6b1733 [2021-08-25T08:23:34.653Z] ---> f875271267e1 [2021-08-25T08:23:34.653Z] 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-08-25T08:23:34.692Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz [2021-08-25T08:23:34.939Z] ---> Running in 12794208ee75 [2021-08-25T08:23:34.958Z] (1/16) Installing ncurses-dev (6.2_p20200523-r0) [2021-08-25T08:23:34.958Z] (2/16) Installing libblkid (2.35.2-r0) [2021-08-25T08:23:35.225Z] (3/16) Installing blkid (2.35.2-r0) [2021-08-25T08:23:35.492Z] (4/16) Installing libcap-ng (0.7.10-r1) [2021-08-25T08:23:35.492Z] (5/16) Installing setpriv (2.35.2-r0) [2021-08-25T08:23:35.492Z] (6/16) Installing libmount (2.35.2-r0) [2021-08-25T08:23:35.759Z] (7/16) Installing libsmartcols (2.35.2-r0) [2021-08-25T08:23:35.759Z] (8/16) Installing findmnt (2.35.2-r0) [2021-08-25T08:23:35.759Z] (9/16) Installing mcookie (2.35.2-r0) [2021-08-25T08:23:36.023Z] (10/16) Installing hexdump (2.35.2-r0) [2021-08-25T08:23:36.023Z] (11/16) Installing lsblk (2.35.2-r0) [2021-08-25T08:23:36.023Z] (12/16) Installing libfdisk (2.35.2-r0) [2021-08-25T08:23:36.291Z] (13/16) Installing sfdisk (2.35.2-r0) [2021-08-25T08:23:36.376Z] --2021-08-25 08:23:35-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-08-25T08:23:36.377Z] Resolving github.com (github.com)... 140.82.114.4 [2021-08-25T08:23:36.377Z] Connecting to github.com (github.com)|140.82.114.4|:443... connected. [2021-08-25T08:23:36.377Z] HTTP request sent, awaiting response... 302 Found [2021-08-25T08:23:36.377Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-08-25T08:23:36.377Z] --2021-08-25 08:23:36-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-08-25T08:23:36.377Z] Resolving codeload.github.com (codeload.github.com)... 140.82.113.9 [2021-08-25T08:23:36.377Z] Connecting to codeload.github.com (codeload.github.com)|140.82.113.9|:443... connected. [2021-08-25T08:23:36.377Z] HTTP request sent, awaiting response... 200 OK [2021-08-25T08:23:36.377Z] Length: unspecified [application/x-gzip] [2021-08-25T08:23:36.377Z] Saving to: 'STDOUT' [2021-08-25T08:23:36.377Z] [2021-08-25T08:23:36.377Z] 0K .......... .......... .......... .......... .......... 1.25M [2021-08-25T08:23:36.377Z] 50K .......... .......... .......... .......... .......... 2.38M [2021-08-25T08:23:36.377Z] 100K .......... .......... .......... .......... .......... 11.4M [2021-08-25T08:23:36.377Z] 150K .......... .......... .......... .......... .......... 2.79M [2021-08-25T08:23:36.377Z] 200K .......... .......... .......... .......... .......... 7.42M [2021-08-25T08:23:36.377Z] 250K .......... .......... .......... .......... .......... 3.67M [2021-08-25T08:23:36.377Z] 300K .......... .......... .......... .......... .......... 5.87M [2021-08-25T08:23:36.377Z] 350K .......... .......... .......... .......... .......... 3.96M [2021-08-25T08:23:36.377Z] 400K .......... .......... .......... .......... .......... 3.97M [2021-08-25T08:23:36.377Z] 450K .......... .......... .......... .......... .......... 3.27M [2021-08-25T08:23:36.556Z] (14/16) Installing cfdisk (2.35.2-r0) [2021-08-25T08:23:36.556Z] (15/16) Installing util-linux (2.35.2-r0) [2021-08-25T08:23:36.646Z] 500K .......... .......... .......... .......... .......... 14.5M [2021-08-25T08:23:36.647Z] 550K .......... .......... .......... .......... .......... 2.41M [2021-08-25T08:23:36.647Z] 600K .......... .......... .......... .......... .......... 909K [2021-08-25T08:23:36.647Z] 650K .......... .......... .......... .......... .......... 1.82M [2021-08-25T08:23:36.647Z] 700K .. 4.41M=0.3s [2021-08-25T08:23:36.647Z] [2021-08-25T08:23:36.647Z] 2021-08-25 08:23:36 (2.69 MB/s) - written to stdout [719348] [2021-08-25T08:23:36.647Z] [2021-08-25T08:23:36.919Z] -- The C compiler identification is GNU 9.3.0 [2021-08-25T08:23:37.195Z] -- The CXX compiler identification is GNU 9.3.0 [2021-08-25T08:23:37.195Z] -- Check for working C compiler: /usr/bin/cc [2021-08-25T08:23:37.471Z] -- Check for working C compiler: /usr/bin/cc - works [2021-08-25T08:23:37.471Z] -- Detecting C compiler ABI info [2021-08-25T08:23:37.519Z] (16/16) Installing util-linux-dev (2.35.2-r0) [2021-08-25T08:23:37.745Z] -- Detecting C compiler ABI info - done [2021-08-25T08:23:37.745Z] -- Detecting C compile features [2021-08-25T08:23:37.745Z] -- Detecting C compile features - done [2021-08-25T08:23:37.745Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-08-25T08:23:38.021Z] -- Check for working CXX compiler: /usr/bin/c++ - works [2021-08-25T08:23:38.021Z] -- Detecting CXX compiler ABI info [2021-08-25T08:23:38.106Z] Executing busybox-1.31.1-r20.trigger [2021-08-25T08:23:38.106Z] OK: 295 MiB in 98 packages [2021-08-25T08:23:38.294Z] -- Detecting CXX compiler ABI info - done [2021-08-25T08:23:38.295Z] -- Detecting CXX compile features [2021-08-25T08:23:38.295Z] -- Detecting CXX compile features - done [2021-08-25T08:23:38.295Z] -- Looking for include file endian.h [2021-08-25T08:23:38.568Z] -- Looking for include file endian.h - found [2021-08-25T08:23:38.568Z] -- Check if the system is big endian [2021-08-25T08:23:38.568Z] -- Searching 16 bit integer [2021-08-25T08:23:38.568Z] -- Looking for sys/types.h [2021-08-25T08:23:38.698Z] Removing intermediate container d8fb2b3c2ff1 [2021-08-25T08:23:38.698Z] ---> 3fbbcdad13de [2021-08-25T08:23:38.698Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2021-08-25T08:23:38.698Z] ---> 302e5fa6e512 [2021-08-25T08:23:38.698Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2021-08-25T08:23:38.841Z] -- Looking for sys/types.h - found [2021-08-25T08:23:38.841Z] -- Looking for stdint.h [2021-08-25T08:23:38.967Z] ---> b112b3f671dd [2021-08-25T08:23:38.967Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2021-08-25T08:23:38.967Z] ---> bf95203072de [2021-08-25T08:23:38.967Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2021-08-25T08:23:39.114Z] -- Looking for stdint.h - found [2021-08-25T08:23:39.114Z] -- Looking for stddef.h [2021-08-25T08:23:39.235Z] ---> 3441658fa03a [2021-08-25T08:23:39.235Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2021-08-25T08:23:39.235Z] ---> decb521a9735 [2021-08-25T08:23:39.235Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2021-08-25T08:23:39.389Z] -- Looking for stddef.h - found [2021-08-25T08:23:39.389Z] -- Check size of unsigned short [2021-08-25T08:23:39.506Z] ---> 5fe4c61ed1a9 [2021-08-25T08:23:39.506Z] Step 13/17 : WORKDIR /edgex-c-sdk [2021-08-25T08:23:39.506Z] ---> Running in 630b5c44bf53 [2021-08-25T08:23:39.506Z] Removing intermediate container 630b5c44bf53 [2021-08-25T08:23:39.506Z] ---> c6af02a45ba3 [2021-08-25T08:23:39.507Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-08-25T08:23:39.507Z] ---> Running in 316b83b93eaf [2021-08-25T08:23:39.663Z] -- Check size of unsigned short - done [2021-08-25T08:23:39.663Z] -- Searching 16 bit integer - Using unsigned short [2021-08-25T08:23:39.777Z] Removing intermediate container 316b83b93eaf [2021-08-25T08:23:39.777Z] ---> b0e0b8ffde14 [2021-08-25T08:23:39.777Z] Step 15/17 : LABEL arch=amd64 [2021-08-25T08:23:39.777Z] ---> Running in 194c7ee06516 [2021-08-25T08:23:39.777Z] Removing intermediate container 194c7ee06516 [2021-08-25T08:23:39.777Z] ---> 9ed89353596a [2021-08-25T08:23:39.777Z] Step 16/17 : LABEL git_sha=5f766145a1eb3ccdcf44db31a4c6b0cd29058885 [2021-08-25T08:23:39.777Z] ---> Running in 250f4bd503c9 [2021-08-25T08:23:39.935Z] -- Check if the system is big endian - little endian [2021-08-25T08:23:39.935Z] -- Check size of size_t [2021-08-25T08:23:40.044Z] Removing intermediate container 250f4bd503c9 [2021-08-25T08:23:40.044Z] ---> 7cdd25c277d3 [2021-08-25T08:23:40.044Z] Step 17/17 : LABEL version=0.0.0 [2021-08-25T08:23:40.044Z] ---> Running in d99b312f2c55 [2021-08-25T08:23:40.044Z] Removing intermediate container d99b312f2c55 [2021-08-25T08:23:40.044Z] ---> 4788c5c411fa [2021-08-25T08:23:40.044Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-08-25T08:23:40.044Z] Successfully built 4788c5c411fa [2021-08-25T08:23:40.044Z] Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [2021-08-25T08:23:40.209Z] -- Check size of size_t - done [2021-08-25T08:23:40.209Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-08-25T08:23:40.210Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-08-25T08:23:40.210Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-08-25T08:23:40.210Z] CMake did not find one. [2021-08-25T08:23:40.210Z] [2021-08-25T08:23:40.210Z] Could not find a package configuration file provided by "cJSON" with any of [2021-08-25T08:23:40.210Z] the following names: [2021-08-25T08:23:40.210Z] [2021-08-25T08:23:40.210Z] cJSONConfig.cmake [2021-08-25T08:23:40.210Z] cjson-config.cmake [2021-08-25T08:23:40.210Z] [2021-08-25T08:23:40.210Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-08-25T08:23:40.210Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-08-25T08:23:40.210Z] provides a separate development package or SDK, be sure it has been [2021-08-25T08:23:40.210Z] installed. [2021-08-25T08:23:40.210Z] [2021-08-25T08:23:40.210Z] [2021-08-25T08:23:40.210Z] -- Configuring done Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [2021-08-25T08:23:40.484Z] -- Generating done [2021-08-25T08:23:40.484Z] -- Build files have been written to: /tmp/cbor [2021-08-25T08:23:40.484Z] Scanning dependencies of target cbor_shared [2021-08-25T08:23:40.484Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-25T08:23:40.915Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-25T08:23:40.915Z] [2021-08-25T08:23:40.915Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-08-25T08:23:41.247Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-25T08:23:41.247Z] latest: Pulling from edgex-lftools-log-publisher [2021-08-25T08:23:41.247Z] b4d181a07f80: Pulling fs layer [2021-08-25T08:23:41.247Z] a1111a8f2ec3: Pulling fs layer [2021-08-25T08:23:41.247Z] ed53099fbce6: Pulling fs layer [2021-08-25T08:23:41.247Z] dc539afda2c1: Pulling fs layer [2021-08-25T08:23:41.247Z] 77bc0d833cb6: Pulling fs layer [2021-08-25T08:23:41.247Z] 9065ff56babe: Pulling fs layer [2021-08-25T08:23:41.247Z] d287ab97295c: Pulling fs layer [2021-08-25T08:23:41.247Z] dc539afda2c1: Waiting [2021-08-25T08:23:41.247Z] 77bc0d833cb6: Waiting [2021-08-25T08:23:41.247Z] 9065ff56babe: Waiting [2021-08-25T08:23:41.247Z] d287ab97295c: Waiting [2021-08-25T08:23:41.468Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-08-25T08:23:41.513Z] a1111a8f2ec3: Verifying Checksum [2021-08-25T08:23:41.513Z] a1111a8f2ec3: Download complete [2021-08-25T08:23:41.513Z] dc539afda2c1: Verifying Checksum [2021-08-25T08:23:41.513Z] dc539afda2c1: Download complete [2021-08-25T08:23:42.066Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-08-25T08:23:42.066Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-08-25T08:23:42.096Z] 77bc0d833cb6: Verifying Checksum [2021-08-25T08:23:42.096Z] 77bc0d833cb6: Download complete [2021-08-25T08:23:42.096Z] 9065ff56babe: Verifying Checksum [2021-08-25T08:23:42.096Z] 9065ff56babe: Download complete [2021-08-25T08:23:42.096Z] ed53099fbce6: Verifying Checksum [2021-08-25T08:23:42.096Z] ed53099fbce6: Download complete [2021-08-25T08:23:43.045Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-08-25T08:23:43.045Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-08-25T08:23:43.057Z] b4d181a07f80: Verifying Checksum [2021-08-25T08:23:43.057Z] b4d181a07f80: Download complete [2021-08-25T08:23:43.318Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-08-25T08:23:43.318Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-08-25T08:23:43.593Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-08-25T08:23:43.889Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-08-25T08:23:44.042Z] b4d181a07f80: Pull complete [2021-08-25T08:23:44.316Z] a1111a8f2ec3: Pull complete [2021-08-25T08:23:44.482Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-08-25T08:23:44.754Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-08-25T08:23:44.916Z] ed53099fbce6: Pull complete [2021-08-25T08:23:44.916Z] dc539afda2c1: Pull complete [2021-08-25T08:23:45.028Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-08-25T08:23:45.182Z] 77bc0d833cb6: Pull complete [2021-08-25T08:23:45.182Z] 9065ff56babe: Pull complete [2021-08-25T08:23:45.627Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-08-25T08:23:45.900Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-08-25T08:23:45.900Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-08-25T08:23:46.174Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-08-25T08:23:46.449Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-08-25T08:23:46.722Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-08-25T08:23:46.995Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-08-25T08:23:47.266Z] [ 40%] Linking C shared library libcbor.so [2021-08-25T08:23:47.266Z] [ 40%] Built target cbor_shared [2021-08-25T08:23:47.266Z] Scanning dependencies of target cbor [2021-08-25T08:23:47.541Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-08-25T08:23:48.135Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-08-25T08:23:48.520Z] d287ab97295c: Verifying Checksum [2021-08-25T08:23:48.520Z] d287ab97295c: Download complete [2021-08-25T08:23:48.729Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-08-25T08:23:49.001Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-08-25T08:23:50.964Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-08-25T08:23:50.964Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-08-25T08:23:50.964Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-08-25T08:23:51.235Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-08-25T08:23:51.509Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-08-25T08:23:51.781Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-08-25T08:23:52.371Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-08-25T08:23:52.642Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-08-25T08:23:52.796Z] d287ab97295c: Pull complete [2021-08-25T08:23:52.796Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-08-25T08:23:52.796Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-25T08:23:52.796Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-08-25T08:23:52.882Z] prd-centos7-docker-4c-2g-770 does not seem to be running inside a container [2021-08-25T08:23:52.938Z] $ 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/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-08-25T08:23:53.240Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-08-25T08:23:53.511Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-08-25T08:23:53.781Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-08-25T08:23:54.052Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-08-25T08:23:54.324Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-08-25T08:23:54.600Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-08-25T08:23:54.871Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-08-25T08:23:55.144Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-08-25T08:23:55.144Z] [ 80%] Linking C static library libcbor.a [2021-08-25T08:23:55.234Z] $ docker top aac131c9eaa399492da64721c905edaf3985f36cf04f42590fb4e21ece966e5a -eo pid,comm [Pipeline] { [2021-08-25T08:23:55.417Z] [ 80%] Built target cbor [2021-08-25T08:23:55.417Z] Scanning dependencies of target sort [2021-08-25T08:23:55.417Z] [ 82%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [Pipeline] libraryResource [Pipeline] sh [2021-08-25T08:23:55.687Z] [ 84%] Linking C executable sort [2021-08-25T08:23:55.687Z] [ 84%] Built target sort [2021-08-25T08:23:55.687Z] Scanning dependencies of target readfile [2021-08-25T08:23:55.687Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-08-25T08:23:55.796Z] ---> job-cost.sh [2021-08-25T08:23:55.796Z] lf-activate-venv: SKIPPING [2021-08-25T08:23:55.796Z] INFO: No Stack... [2021-08-25T08:23:55.959Z] [ 88%] Linking C executable readfile [2021-08-25T08:23:55.959Z] [ 88%] Built target readfile [2021-08-25T08:23:55.959Z] Scanning dependencies of target streaming_parser [2021-08-25T08:23:55.959Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-08-25T08:23:56.230Z] [ 92%] Linking C executable streaming_parser [2021-08-25T08:23:56.230Z] [ 92%] Built target streaming_parser [2021-08-25T08:23:56.230Z] Scanning dependencies of target hello [2021-08-25T08:23:56.503Z] [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-08-25T08:23:56.503Z] [ 96%] Linking C executable hello [2021-08-25T08:23:56.503Z] [ 96%] Built target hello [2021-08-25T08:23:56.503Z] Scanning dependencies of target create_items [2021-08-25T08:23:56.775Z] [ 98%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-08-25T08:23:56.775Z] [100%] Linking C executable create_items [2021-08-25T08:23:56.775Z] [100%] Built target create_items [2021-08-25T08:23:57.053Z] Install the project... [2021-08-25T08:23:57.053Z] -- Install configuration: "Release" [2021-08-25T08:23:57.053Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-08-25T08:23:57.053Z] -- Installing: /usr/local/lib64/libcbor.a [2021-08-25T08:23:57.053Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-08-25T08:23:57.053Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-08-25T08:23:57.053Z] -- Installing: /usr/local/lib64/libcbor.so [2021-08-25T08:23:57.053Z] -- Up-to-date: /usr/local/include/cbor [2021-08-25T08:23:57.053Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-08-25T08:23:57.053Z] -- Installing: /usr/local/include/cbor/ints.h [2021-08-25T08:23:57.053Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-08-25T08:23:57.053Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-08-25T08:23:57.053Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-08-25T08:23:57.053Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-08-25T08:23:57.053Z] -- Installing: /usr/local/include/cbor/data.h [2021-08-25T08:23:57.053Z] -- Installing: /usr/local/include/cbor/common.h [2021-08-25T08:23:57.053Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-08-25T08:23:57.053Z] -- Installing: /usr/local/include/cbor/strings.h [2021-08-25T08:23:57.053Z] -- Installing: /usr/local/include/cbor/tags.h [2021-08-25T08:23:57.053Z] -- Installing: /usr/local/include/cbor/internal [2021-08-25T08:23:57.053Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-08-25T08:23:57.053Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-08-25T08:23:57.053Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-08-25T08:23:57.053Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-08-25T08:23:57.053Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-08-25T08:23:57.053Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-08-25T08:23:57.053Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-08-25T08:23:57.053Z] -- Installing: /usr/local/include/cbor/maps.h [2021-08-25T08:23:57.053Z] -- Installing: /usr/local/include/cbor.h [2021-08-25T08:23:57.053Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-08-25T08:23:57.206Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-08-25T08:23:57.473Z] INFO: Archiving Costs [Pipeline] sh [2021-08-25T08:23:57.801Z] + cat /w/workspace/device-sdk-c/2/archives/cost.csv [2021-08-25T08:23:57.801Z] + cut -d, -f6 [Pipeline] lock [2021-08-25T08:23:57.852Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-366-2-stack-cost] [2021-08-25T08:23:57.864Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-366-2-stack-cost] did not exist. Created. [2021-08-25T08:23:57.864Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-366-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-08-25T08:23:58.214Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-08-25T08:23:58.466Z] Stashed 1 file(s) [Pipeline] } [2021-08-25T08:23:58.476Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-366-2-stack-cost] [Pipeline] // lock [Pipeline] } [2021-08-25T08:23:58.500Z] $ docker stop --time=1 aac131c9eaa399492da64721c905edaf3985f36cf04f42590fb4e21ece966e5a [2021-08-25T08:23:59.023Z] Removing intermediate container 12794208ee75 [2021-08-25T08:23:59.023Z] ---> 29e213874929 [2021-08-25T08:23:59.023Z] Step 8/25 : RUN mkdir /tmp/sdk [2021-08-25T08:23:59.023Z] ---> Running in 7ae8ae87bcce [2021-08-25T08:23:59.654Z] $ docker rm -f aac131c9eaa399492da64721c905edaf3985f36cf04f42590fb4e21ece966e5a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-08-25T08:24:00.994Z] Removing intermediate container 7ae8ae87bcce [2021-08-25T08:24:00.994Z] ---> 0091ea4ec3cc [2021-08-25T08:24:00.994Z] Step 9/25 : COPY VERSION /tmp/sdk [2021-08-25T08:24:01.978Z] ---> d8589d9760d7 [2021-08-25T08:24:01.978Z] Step 10/25 : COPY src /tmp/sdk/src [2021-08-25T08:24:02.958Z] ---> bbe22193496b [2021-08-25T08:24:02.958Z] Step 11/25 : COPY include /tmp/sdk/include [2021-08-25T08:24:03.555Z] ---> d6bd2fb34325 [2021-08-25T08:24:03.555Z] Step 12/25 : COPY scripts /tmp/sdk/scripts [2021-08-25T08:24:04.542Z] ---> 3ff6f880f2e7 [2021-08-25T08:24:04.542Z] Step 13/25 : COPY LICENSE /tmp/sdk [2021-08-25T08:24:05.528Z] ---> 13d18b466e0d [2021-08-25T08:24:05.528Z] Step 14/25 : COPY Attribution.txt /tmp/sdk [2021-08-25T08:24:06.121Z] ---> 3d67a81d309c [2021-08-25T08:24:06.121Z] Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-08-25T08:24:06.397Z] ---> Running in 1e20d82554d9 [2021-08-25T08:24:07.842Z] + CPPCHECK=false [2021-08-25T08:24:07.842Z] + DOCGEN=false [2021-08-25T08:24:07.842Z] + TOMLVER=SDK-0.2 [2021-08-25T08:24:07.842Z] + CUTILVER=1.1.4 [2021-08-25T08:24:07.842Z] + '[' 0 -gt 0 ] [2021-08-25T08:24:07.842Z] + readlink -f ./scripts/build.sh [2021-08-25T08:24:07.842Z] + dirname /tmp/sdk/scripts/build.sh [2021-08-25T08:24:07.842Z] + dirname /tmp/sdk/scripts [2021-08-25T08:24:07.842Z] + ROOT=/tmp/sdk [2021-08-25T08:24:07.842Z] + cd /tmp/sdk [2021-08-25T08:24:07.842Z] + '[' '!' -d deps ] [2021-08-25T08:24:07.842Z] + mkdir deps [2021-08-25T08:24:07.842Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-08-25T08:24:07.842Z] + tar -C deps -z -x -f - [2021-08-25T08:24:07.842Z] --2021-08-25 08:24:07-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-08-25T08:24:07.842Z] Resolving github.com (github.com)... 140.82.114.4 [2021-08-25T08:24:07.842Z] Connecting to github.com (github.com)|140.82.114.4|:443... connected. [2021-08-25T08:24:07.842Z] HTTP request sent, awaiting response... 302 Found [2021-08-25T08:24:07.842Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-08-25T08:24:07.842Z] --2021-08-25 08:24:07-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-08-25T08:24:07.842Z] Resolving codeload.github.com (codeload.github.com)... 140.82.113.9 [2021-08-25T08:24:07.842Z] Connecting to codeload.github.com (codeload.github.com)|140.82.113.9|:443... connected. [2021-08-25T08:24:07.842Z] HTTP request sent, awaiting response... 200 OK [2021-08-25T08:24:07.842Z] Length: unspecified [application/x-gzip] [2021-08-25T08:24:07.842Z] Saving to: 'STDOUT' [2021-08-25T08:24:07.842Z]  [2021-08-25T08:24:07.842Z] 0K .......... ......  839K=0.02s [2021-08-25T08:24:07.842Z] [2021-08-25T08:24:07.842Z] 2021-08-25 08:24:07 (839 KB/s) - written to stdout [16451] [2021-08-25T08:24:07.842Z] [2021-08-25T08:24:07.842Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-08-25T08:24:07.842Z] + + wgettar -O -C - deps https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-08-25T08:24:07.842Z] -z -x -f - [2021-08-25T08:24:07.842Z] --2021-08-25 08:24:07-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-08-25T08:24:08.114Z] Resolving github.com (github.com)... 140.82.114.4 [2021-08-25T08:24:08.114Z] Connecting to github.com (github.com)|140.82.114.4|:443... connected. [2021-08-25T08:24:08.114Z] HTTP request sent, awaiting response... 302 Found [2021-08-25T08:24:08.114Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] [2021-08-25T08:24:08.114Z] --2021-08-25 08:24:07-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [2021-08-25T08:24:08.114Z] Resolving codeload.github.com (codeload.github.com)... 140.82.113.9 [2021-08-25T08:24:08.114Z] Connecting to codeload.github.com (codeload.github.com)|140.82.113.9|:443... connected. [2021-08-25T08:24:08.387Z] HTTP request sent, awaiting response... 200 OK [2021-08-25T08:24:08.387Z] Length: unspecified [application/x-gzip] [2021-08-25T08:24:08.387Z] Saving to: 'STDOUT' [2021-08-25T08:24:08.387Z]  [2021-08-25T08:24:08.387Z] 0K .......... .......... .......... .......... .......... 1.18M [2021-08-25T08:24:08.387Z] 50K .......... .......... .......... .......... .......... 2.16M [2021-08-25T08:24:08.387Z] 100K .......... .......... .......... .......... .......... 2.40M [2021-08-25T08:24:08.387Z] 150K .......... .......... ....... 14.2M=0.09s [2021-08-25T08:24:08.387Z] [2021-08-25T08:24:08.387Z] 2021-08-25 08:24:08 (2.01 MB/s) - written to stdout [181796] [2021-08-25T08:24:08.387Z] [2021-08-25T08:24:08.387Z] + mkdir -p src/c/iot [2021-08-25T08:24:08.387Z] + cp deps/iotech-c-utils-1.1.4/src/c/base64.c deps/iotech-c-utils-1.1.4/src/c/component.c deps/iotech-c-utils-1.1.4/src/c/config.c deps/iotech-c-utils-1.1.4/src/c/container.c deps/iotech-c-utils-1.1.4/src/c/data.c deps/iotech-c-utils-1.1.4/src/c/hash.c deps/iotech-c-utils-1.1.4/src/c/iot.c deps/iotech-c-utils-1.1.4/src/c/json.c deps/iotech-c-utils-1.1.4/src/c/logger.c deps/iotech-c-utils-1.1.4/src/c/os.c deps/iotech-c-utils-1.1.4/src/c/scheduler.c deps/iotech-c-utils-1.1.4/src/c/thread.c deps/iotech-c-utils-1.1.4/src/c/threadpool.c deps/iotech-c-utils-1.1.4/src/c/time.c deps/iotech-c-utils-1.1.4/src/c/yxml.c src/c/iot [2021-08-25T08:24:08.387Z] + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot [2021-08-25T08:24:08.387Z] + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot [2021-08-25T08:24:08.387Z] + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot [2021-08-25T08:24:08.387Z] + mkdir -p include/iot [2021-08-25T08:24:08.387Z] + cp deps/iotech-c-utils-1.1.4/include/iot/base64.h deps/iotech-c-utils-1.1.4/include/iot/component.h deps/iotech-c-utils-1.1.4/include/iot/config.h deps/iotech-c-utils-1.1.4/include/iot/container.h deps/iotech-c-utils-1.1.4/include/iot/data.h deps/iotech-c-utils-1.1.4/include/iot/hash.h deps/iotech-c-utils-1.1.4/include/iot/iot.h deps/iotech-c-utils-1.1.4/include/iot/json.h deps/iotech-c-utils-1.1.4/include/iot/logger.h deps/iotech-c-utils-1.1.4/include/iot/os.h deps/iotech-c-utils-1.1.4/include/iot/scheduler.h deps/iotech-c-utils-1.1.4/include/iot/thread.h deps/iotech-c-utils-1.1.4/include/iot/threadpool.h deps/iotech-c-utils-1.1.4/include/iot/time.h deps/iotech-c-utils-1.1.4/include/iot/typecode.h include/iot [2021-08-25T08:24:08.387Z] + mkdir -p include/iot/os [2021-08-25T08:24:08.387Z] + cp deps/iotech-c-utils-1.1.4/include/iot/os/linux.h deps/iotech-c-utils-1.1.4/include/iot/os/macos.h deps/iotech-c-utils-1.1.4/include/iot/os/zephyr.h include/iot/os [2021-08-25T08:24:08.387Z] + mkdir -p /tmp/sdk/build/release [2021-08-25T08:24:08.387Z] + cd /tmp/sdk/build/release [2021-08-25T08:24:08.387Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-08-25T08:24:08.982Z] -- The C compiler identification is GNU 9.3.0 [2021-08-25T08:24:08.982Z] -- Check for working C compiler: /usr/bin/cc [2021-08-25T08:24:08.982Z] -- Check for working C compiler: /usr/bin/cc - works [2021-08-25T08:24:08.982Z] -- Detecting C compiler ABI info [2021-08-25T08:24:09.254Z] -- Detecting C compiler ABI info - done [2021-08-25T08:24:09.527Z] -- Detecting C compile features [2021-08-25T08:24:09.527Z] -- Detecting C compile features - done [2021-08-25T08:24:09.527Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-08-25T08:24:09.527Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") [2021-08-25T08:24:09.527Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-08-25T08:24:09.527Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-08-25T08:24:09.527Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-08-25T08:24:09.527Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-08-25T08:24:09.800Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-08-25T08:24:09.800Z] -- C SDK 0.0.0 for Linux [2021-08-25T08:24:09.800Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-08-25T08:24:09.800Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-08-25T08:24:10.073Z] -- Found Curses: /usr/lib/libcurses.so [2021-08-25T08:24:10.073Z] -- Configuring done [2021-08-25T08:24:10.348Z] -- Generating done [2021-08-25T08:24:10.348Z] -- Build files have been written to: /tmp/sdk/build/release [2021-08-25T08:24:10.348Z] + make all package [2021-08-25T08:24:10.348Z] + tee release.log [2021-08-25T08:24:10.621Z] Scanning dependencies of target csdk [2021-08-25T08:24:10.895Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-08-25T08:24:11.493Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-08-25T08:24:11.767Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-08-25T08:24:13.743Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-08-25T08:24:14.341Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-08-25T08:24:14.615Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-08-25T08:24:15.591Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-08-25T08:24:15.863Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-08-25T08:24:16.138Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-08-25T08:24:17.115Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-08-25T08:24:19.085Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-08-25T08:24:19.357Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-08-25T08:24:19.952Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-08-25T08:24:20.550Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-08-25T08:24:20.824Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-08-25T08:24:21.100Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-08-25T08:24:21.374Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-08-25T08:24:24.755Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-08-25T08:24:24.755Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-08-25T08:24:24.755Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-08-25T08:24:25.352Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-08-25T08:24:25.624Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-08-25T08:24:26.219Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-08-25T08:24:28.836Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-08-25T08:24:29.115Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-08-25T08:24:29.115Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-08-25T08:24:29.732Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-08-25T08:24:30.325Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-08-25T08:24:30.596Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-08-25T08:24:31.570Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-08-25T08:24:31.842Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-08-25T08:24:32.434Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-08-25T08:24:32.706Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-08-25T08:24:34.676Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-08-25T08:24:34.948Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-08-25T08:24:35.923Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-08-25T08:24:36.196Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-08-25T08:24:40.506Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-08-25T08:24:40.779Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-08-25T08:24:41.374Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-08-25T08:24:41.647Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-08-25T08:24:42.624Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-08-25T08:24:44.598Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-08-25T08:24:44.598Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-08-25T08:24:44.873Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-08-25T08:24:45.467Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-08-25T08:24:47.443Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-08-25T08:24:50.821Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-08-25T08:24:51.414Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-08-25T08:24:51.692Z] [ 75%] Linking C shared library libcsdk.so [2021-08-25T08:24:51.965Z] [ 75%] Built target csdk [2021-08-25T08:24:51.965Z] Scanning dependencies of target template [2021-08-25T08:24:51.965Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-08-25T08:24:52.558Z] [ 78%] Linking C executable template [2021-08-25T08:24:52.833Z] [ 78%] Built target template [2021-08-25T08:24:52.833Z] Scanning dependencies of target device-counter [2021-08-25T08:24:52.833Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-08-25T08:24:53.427Z] [ 81%] Linking C executable device-counter [2021-08-25T08:24:53.700Z] [ 81%] Built target device-counter [2021-08-25T08:24:53.700Z] Scanning dependencies of target device-random [2021-08-25T08:24:53.700Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-08-25T08:24:53.971Z] [ 84%] Linking C executable device-random [2021-08-25T08:24:54.244Z] [ 84%] Built target device-random [2021-08-25T08:24:54.244Z] Scanning dependencies of target device-gyro [2021-08-25T08:24:54.517Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-08-25T08:24:54.790Z] [ 87%] Linking C executable device-gyro [2021-08-25T08:24:55.063Z] [ 87%] Built target device-gyro [2021-08-25T08:24:55.063Z] Scanning dependencies of target device-bitfields [2021-08-25T08:24:55.063Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-08-25T08:24:55.659Z] [ 90%] Linking C executable device-bitfields [2021-08-25T08:24:55.659Z] [ 90%] Built target device-bitfields [2021-08-25T08:24:55.933Z] Scanning dependencies of target template-discovery [2021-08-25T08:24:55.933Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-08-25T08:24:56.527Z] [ 93%] Linking C executable template-discovery [2021-08-25T08:24:56.799Z] [ 93%] Built target template-discovery [2021-08-25T08:24:56.799Z] Scanning dependencies of target device-file [2021-08-25T08:24:56.799Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-08-25T08:24:57.393Z] [ 96%] Linking C executable device-file [2021-08-25T08:24:57.664Z] [ 96%] Built target device-file [2021-08-25T08:24:57.664Z] Scanning dependencies of target device-terminal [2021-08-25T08:24:57.664Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-08-25T08:24:58.258Z] [100%] Linking C executable device-terminal [2021-08-25T08:24:58.530Z] [100%] Built target device-terminal [2021-08-25T08:24:58.530Z] Run CPack packaging tool... [2021-08-25T08:24:58.530Z] CPack: Create package using TGZ [2021-08-25T08:24:58.530Z] CPack: Install projects [2021-08-25T08:24:58.530Z] CPack: - Run preinstall target for: Csdk [2021-08-25T08:24:59.123Z] CPack: - Install project: Csdk [] [2021-08-25T08:24:59.124Z] CPack: Create package [2021-08-25T08:24:59.124Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-08-25T08:24:59.124Z] + '[' false '=' true ] [2021-08-25T08:24:59.124Z] + '[' false '=' true ] [2021-08-25T08:24:59.124Z] + mkdir -p /tmp/sdk/build/debug [2021-08-25T08:24:59.124Z] + cd /tmp/sdk/build/debug [2021-08-25T08:24:59.124Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-08-25T08:24:59.397Z] -- The C compiler identification is GNU 9.3.0 [2021-08-25T08:24:59.670Z] -- Check for working C compiler: /usr/bin/cc [2021-08-25T08:24:59.943Z] -- Check for working C compiler: /usr/bin/cc - works [2021-08-25T08:24:59.943Z] -- Detecting C compiler ABI info [2021-08-25T08:24:59.943Z] -- Detecting C compiler ABI info - done [2021-08-25T08:25:00.215Z] -- Detecting C compile features [2021-08-25T08:25:00.215Z] -- Detecting C compile features - done [2021-08-25T08:25:00.215Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-08-25T08:25:00.215Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") [2021-08-25T08:25:00.488Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-08-25T08:25:00.488Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-08-25T08:25:00.488Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-08-25T08:25:00.489Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-08-25T08:25:00.489Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-08-25T08:25:00.489Z] -- C SDK 0.0.0 for Linux [2021-08-25T08:25:00.489Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-08-25T08:25:00.759Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-08-25T08:25:00.759Z] -- Found Curses: /usr/lib/libcurses.so [2021-08-25T08:25:01.032Z] -- Configuring done [2021-08-25T08:25:01.032Z] -- Generating done [2021-08-25T08:25:01.307Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-08-25T08:25:01.307Z] + + tee debug.logmake [2021-08-25T08:25:01.307Z] [2021-08-25T08:25:01.307Z] Scanning dependencies of target csdk [2021-08-25T08:25:01.579Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-08-25T08:25:01.854Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-08-25T08:25:02.127Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-08-25T08:25:02.722Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-08-25T08:25:02.997Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-08-25T08:25:02.997Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-08-25T08:25:03.597Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-08-25T08:25:03.597Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-08-25T08:25:03.874Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-08-25T08:25:04.469Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-08-25T08:25:04.743Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-08-25T08:25:05.019Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-08-25T08:25:05.617Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-08-25T08:25:05.617Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-08-25T08:25:05.899Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-08-25T08:25:06.174Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-08-25T08:25:06.447Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-08-25T08:25:07.042Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-08-25T08:25:07.318Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-08-25T08:25:07.593Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-08-25T08:25:07.593Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-08-25T08:25:07.866Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-08-25T08:25:08.139Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-08-25T08:25:09.113Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-08-25T08:25:09.113Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-08-25T08:25:09.384Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-08-25T08:25:09.658Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-08-25T08:25:09.931Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-08-25T08:25:09.931Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-08-25T08:25:10.206Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-08-25T08:25:10.480Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-08-25T08:25:10.756Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-08-25T08:25:11.030Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-08-25T08:25:11.305Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-08-25T08:25:11.580Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-08-25T08:25:11.856Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-08-25T08:25:12.131Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-08-25T08:25:13.112Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-08-25T08:25:13.387Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-08-25T08:25:13.661Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-08-25T08:25:13.935Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-08-25T08:25:14.208Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-08-25T08:25:15.184Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-08-25T08:25:15.184Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-08-25T08:25:15.459Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-08-25T08:25:15.732Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-08-25T08:25:16.327Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-08-25T08:25:16.923Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-08-25T08:25:17.197Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-08-25T08:25:17.469Z] [ 75%] Linking C shared library libcsdk.so [2021-08-25T08:25:17.741Z] [ 75%] Built target csdk [2021-08-25T08:25:17.741Z] Scanning dependencies of target template [2021-08-25T08:25:17.741Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-08-25T08:25:18.012Z] [ 78%] Linking C executable template [2021-08-25T08:25:18.286Z] [ 78%] Built target template [2021-08-25T08:25:18.286Z] Scanning dependencies of target device-counter [2021-08-25T08:25:18.286Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-08-25T08:25:18.559Z] [ 81%] Linking C executable device-counter [2021-08-25T08:25:18.833Z] [ 81%] Built target device-counter [2021-08-25T08:25:18.833Z] Scanning dependencies of target device-random [2021-08-25T08:25:18.833Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-08-25T08:25:19.105Z] [ 84%] Linking C executable device-random [2021-08-25T08:25:19.380Z] [ 84%] Built target device-random [2021-08-25T08:25:19.380Z] Scanning dependencies of target device-gyro [2021-08-25T08:25:19.380Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-08-25T08:25:19.656Z] [ 87%] Linking C executable device-gyro [2021-08-25T08:25:19.928Z] [ 87%] Built target device-gyro [2021-08-25T08:25:19.928Z] Scanning dependencies of target device-bitfields [2021-08-25T08:25:19.928Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-08-25T08:25:20.201Z] [ 90%] Linking C executable device-bitfields [2021-08-25T08:25:20.473Z] [ 90%] Built target device-bitfields [2021-08-25T08:25:20.473Z] Scanning dependencies of target template-discovery [2021-08-25T08:25:20.473Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-08-25T08:25:20.746Z] [ 93%] Linking C executable template-discovery [2021-08-25T08:25:21.020Z] [ 93%] Built target template-discovery [2021-08-25T08:25:21.020Z] Scanning dependencies of target device-file [2021-08-25T08:25:21.020Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-08-25T08:25:21.293Z] [ 96%] Linking C executable device-file [2021-08-25T08:25:21.567Z] [ 96%] Built target device-file [2021-08-25T08:25:21.567Z] Scanning dependencies of target device-terminal [2021-08-25T08:25:21.567Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-08-25T08:25:21.839Z] [100%] Linking C executable device-terminal [2021-08-25T08:25:22.113Z] [100%] Built target device-terminal [2021-08-25T08:25:22.114Z] make: Entering directory '/tmp/sdk/build/release' [2021-08-25T08:25:22.114Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-08-25T08:25:22.114Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-25T08:25:22.114Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-25T08:25:22.114Z] [ 75%] Built target csdk [2021-08-25T08:25:22.114Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-25T08:25:22.114Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-25T08:25:22.114Z] [ 78%] Built target template [2021-08-25T08:25:22.114Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-25T08:25:22.114Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-25T08:25:22.386Z] [ 81%] Built target device-counter [2021-08-25T08:25:22.386Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-25T08:25:22.386Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-25T08:25:22.386Z] [ 84%] Built target device-random [2021-08-25T08:25:22.386Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-25T08:25:22.386Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-25T08:25:22.386Z] [ 87%] Built target device-gyro [2021-08-25T08:25:22.386Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-25T08:25:22.386Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-25T08:25:22.386Z] [ 90%] Built target device-bitfields [2021-08-25T08:25:22.386Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-25T08:25:22.386Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-25T08:25:22.386Z] [ 93%] Built target template-discovery [2021-08-25T08:25:22.386Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-25T08:25:22.386Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-25T08:25:22.386Z] [ 96%] Built target device-file [2021-08-25T08:25:22.386Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-25T08:25:22.386Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-25T08:25:22.386Z] [100%] Built target device-terminal [2021-08-25T08:25:22.386Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-08-25T08:25:22.386Z] Install the project... [2021-08-25T08:25:22.660Z] -- Install configuration: "Release" [2021-08-25T08:25:22.660Z] -- Installing: /usr/local/lib/libcsdk.so [2021-08-25T08:25:22.660Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-08-25T08:25:22.660Z] -- Up-to-date: /usr/local/include [2021-08-25T08:25:22.660Z] -- Installing: /usr/local/include/edgex [2021-08-25T08:25:22.660Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-08-25T08:25:22.660Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-08-25T08:25:22.660Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-08-25T08:25:22.660Z] -- Installing: /usr/local/include/edgex/devices.h [2021-08-25T08:25:22.660Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-08-25T08:25:22.660Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-08-25T08:25:22.660Z] -- Installing: /usr/local/include/devsdk [2021-08-25T08:25:22.660Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-08-25T08:25:22.660Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-08-25T08:25:22.660Z] -- Installing: /usr/local/include/iot [2021-08-25T08:25:22.660Z] -- Installing: /usr/local/include/iot/json.h [2021-08-25T08:25:22.660Z] -- Installing: /usr/local/include/iot/container.h [2021-08-25T08:25:22.660Z] -- Installing: /usr/local/include/iot/component.h [2021-08-25T08:25:22.660Z] -- Installing: /usr/local/include/iot/typecode.h [2021-08-25T08:25:22.660Z] -- Installing: /usr/local/include/iot/iot.h [2021-08-25T08:25:22.660Z] -- Installing: /usr/local/include/iot/time.h [2021-08-25T08:25:22.660Z] -- Installing: /usr/local/include/iot/hash.h [2021-08-25T08:25:22.660Z] -- Installing: /usr/local/include/iot/logger.h [2021-08-25T08:25:22.660Z] -- Installing: /usr/local/include/iot/os [2021-08-25T08:25:22.660Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-08-25T08:25:22.660Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-08-25T08:25:22.660Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-08-25T08:25:22.660Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-08-25T08:25:22.660Z] -- Installing: /usr/local/include/iot/data.h [2021-08-25T08:25:22.660Z] -- Installing: /usr/local/include/iot/thread.h [2021-08-25T08:25:22.660Z] -- Installing: /usr/local/include/iot/os.h [2021-08-25T08:25:22.660Z] -- Installing: /usr/local/include/iot/base64.h [2021-08-25T08:25:22.660Z] -- Installing: /usr/local/include/iot/defs.h [2021-08-25T08:25:22.660Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-08-25T08:25:22.660Z] -- Installing: /usr/local/include/iot/config.h [2021-08-25T08:25:22.660Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-08-25T08:25:22.660Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-08-25T08:25:22.660Z] make: Leaving directory '/tmp/sdk/build/release' [2021-08-25T08:25:24.638Z] Removing intermediate container 1e20d82554d9 [2021-08-25T08:25:24.638Z] ---> d946a7c43be7 [2021-08-25T08:25:24.638Z] Step 16/25 : FROM ${BASE} [2021-08-25T08:25:24.638Z] ---> 759262b18b23 [2021-08-25T08:25:24.638Z] Step 17/25 : LABEL maintainer="IOTech " [2021-08-25T08:25:24.638Z] ---> Running in d99634bdd6d3 [2021-08-25T08:25:25.234Z] Removing intermediate container d99634bdd6d3 [2021-08-25T08:25:25.234Z] ---> a25de7e81ca6 [2021-08-25T08:25:25.234Z] Step 18/25 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub [2021-08-25T08:25:25.522Z] ---> Running in b3f22b48cc4e [2021-08-25T08:25:26.504Z] Connecting to iotech.jfrog.io (54.195.244.87:443) [2021-08-25T08:25:27.102Z] saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-08-25T08:25:27.102Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-08-25T08:25:27.102Z] '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [2021-08-25T08:25:28.090Z] Removing intermediate container b3f22b48cc4e [2021-08-25T08:25:28.090Z] ---> 81ba1af8dc5e [2021-08-25T08:25:28.090Z] Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-08-25T08:25:28.090Z] ---> Running in 72910be39088 [2021-08-25T08:25:30.076Z] Removing intermediate container 72910be39088 [2021-08-25T08:25:30.076Z] ---> 009763f42a59 [2021-08-25T08:25:30.076Z] Step 20/25 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid paho-mqtt-c-dev hiredis-dev [2021-08-25T08:25:30.350Z] ---> Running in 63c047f85f64 [2021-08-25T08:25:31.326Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-08-25T08:25:32.299Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-08-25T08:25:32.569Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz [2021-08-25T08:25:33.160Z] (1/7) Installing curl (7.78.0-r0) [2021-08-25T08:25:33.431Z] (2/7) Installing hiredis (0.14.1-r0) [2021-08-25T08:25:33.431Z] (3/7) Installing hiredis-dev (0.14.1-r0) [2021-08-25T08:25:33.431Z] (4/7) Installing libuuid (2.35.2-r0) [2021-08-25T08:25:33.703Z] (5/7) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-08-25T08:25:37.991Z] (6/7) Installing libidn2 (2.3.0-r0) [2021-08-25T08:25:37.991Z] (7/7) Installing wget (1.20.3-r1) [2021-08-25T08:25:37.991Z] Executing busybox-1.31.1-r20.trigger [2021-08-25T08:25:37.991Z] OK: 267 MiB in 82 packages [2021-08-25T08:25:38.980Z] Removing intermediate container 63c047f85f64 [2021-08-25T08:25:38.980Z] ---> 94e863dd889d [2021-08-25T08:25:38.980Z] Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-08-25T08:25:39.964Z] ---> eaf21e840baa [2021-08-25T08:25:39.964Z] Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-08-25T08:25:40.562Z] ---> 05069fa8f509 [2021-08-25T08:25:40.562Z] Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-08-25T08:25:41.547Z] ---> abafb05ccd04 [2021-08-25T08:25:41.547Z] Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-08-25T08:25:42.146Z] ---> 89954eb8e5ff [2021-08-25T08:25:42.146Z] Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-08-25T08:25:43.128Z] ---> e3f912d0fc0f [2021-08-25T08:25:43.128Z] Successfully built e3f912d0fc0f [2021-08-25T08:25:43.129Z] 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-08-25T08:25:43.707Z] + docker inspect -f . ci-base-image-arm64 [2021-08-25T08:25:43.708Z] . [Pipeline] withDockerContainer [2021-08-25T08:25:43.979Z] prd-ubuntu18.04-docker-arm64-4c-16g-769 does not seem to be running inside a container [2021-08-25T08:25:44.077Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-08-25T08:25:45.640Z] $ docker top b02f1c5d21720957babd0d839a44d88d7786fac9fcf9f2d33221327cd5c40f5f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-25T08:25:46.601Z] + make test [2021-08-25T08:25:46.602Z] echo "make test" [2021-08-25T08:25:46.602Z] make test [Pipeline] } [2021-08-25T08:25:46.630Z] $ docker stop --time=1 b02f1c5d21720957babd0d839a44d88d7786fac9fcf9f2d33221327cd5c40f5f [2021-08-25T08:25:48.519Z] $ docker rm -f b02f1c5d21720957babd0d839a44d88d7786fac9fcf9f2d33221327cd5c40f5f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-08-25T08:25:49.262Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-08-25T08:25:49.597Z] + ls -al . [2021-08-25T08:25:49.597Z] total 200 [2021-08-25T08:25:49.597Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 08:22 . [2021-08-25T08:25:49.597Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 08:22 .. [2021-08-25T08:25:49.597Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 08:22 .git [2021-08-25T08:25:49.597Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 08:22 .github [2021-08-25T08:25:49.597Z] -rw-rw-r-- 1 jenkins jenkins 176 Aug 25 08:22 .gitignore [2021-08-25T08:25:49.597Z] -rw-rw-r-- 1 jenkins jenkins 3104 Aug 25 08:22 Attribution.txt [2021-08-25T08:25:49.597Z] -rw-rw-r-- 1 jenkins jenkins 7701 Aug 25 08:22 CHANGES [2021-08-25T08:25:49.597Z] -rw-rw-r-- 1 jenkins jenkins 108574 Aug 25 08:22 Doxyfile [2021-08-25T08:25:49.597Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 25 08:22 GOVERNANCE.md [2021-08-25T08:25:49.597Z] -rw-rw-r-- 1 jenkins jenkins 784 Aug 25 08:22 Jenkinsfile [2021-08-25T08:25:49.597Z] -rw-rw-r-- 1 jenkins jenkins 10174 Aug 25 08:22 LICENSE [2021-08-25T08:25:49.597Z] -rw-rw-r-- 1 jenkins jenkins 444 Aug 25 08:22 Makefile [2021-08-25T08:25:49.597Z] -rw-rw-r-- 1 jenkins jenkins 618 Aug 25 08:22 OWNERS.md [2021-08-25T08:25:49.597Z] -rw-rw-r-- 1 jenkins jenkins 4086 Aug 25 08:22 README.md [2021-08-25T08:25:49.597Z] -rw-rw-r-- 1 jenkins jenkins 7090 Aug 25 08:22 README.v2.md [2021-08-25T08:25:49.597Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 25 08:18 VERSION [2021-08-25T08:25:49.597Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 08:22 docs [2021-08-25T08:25:49.597Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 08:22 include [2021-08-25T08:25:49.597Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 08:22 scripts [2021-08-25T08:25:49.597Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 08:22 src [Pipeline] isUnix [Pipeline] sh [2021-08-25T08:25:49.938Z] + 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=5f766145a1eb3ccdcf44db31a4c6b0cd29058885 --label arch=arm64 --label version=0.0.0 . [2021-08-25T08:25:50.536Z] Sending build context to Docker daemon 2.677MB [2021-08-25T08:25:50.536Z] Step 1/17 : ARG BASE=alpine:3.12 [2021-08-25T08:25:50.536Z] Step 2/17 : FROM ${BASE} [2021-08-25T08:25:50.536Z] ---> e3f912d0fc0f [2021-08-25T08:25:50.536Z] Step 3/17 : LABEL maintainer="IOTech " [2021-08-25T08:25:50.807Z] ---> Running in fa2e7589ef20 [2021-08-25T08:25:51.080Z] Removing intermediate container fa2e7589ef20 [2021-08-25T08:25:51.080Z] ---> be78b9624886 [2021-08-25T08:25:51.080Z] Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub [2021-08-25T08:25:51.355Z] ---> Running in 58c8fe10e76f [2021-08-25T08:25:52.346Z] --2021-08-25 08:25:52-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub [2021-08-25T08:25:52.346Z] Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.229.110.245, 54.195.244.87, 54.170.66.44 [2021-08-25T08:25:52.617Z] Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.229.110.245|:443... connected. [2021-08-25T08:25:52.889Z] HTTP request sent, awaiting response... 200 OK [2021-08-25T08:25:52.889Z] Length: 451 [application/octet-stream] [2021-08-25T08:25:52.889Z] Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-08-25T08:25:52.889Z] [2021-08-25T08:25:52.889Z] 0K     100% 20.1M=0s [2021-08-25T08:25:52.889Z] [2021-08-25T08:25:52.889Z] 2021-08-25 08:25:52 (20.1 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] [2021-08-25T08:25:52.889Z] [2021-08-25T08:25:53.881Z] Removing intermediate container 58c8fe10e76f [2021-08-25T08:25:53.881Z] ---> 5aefcd46a8ed [2021-08-25T08:25:53.881Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-08-25T08:25:53.881Z] ---> Running in 29b8100c5933 [2021-08-25T08:25:56.501Z] Removing intermediate container 29b8100c5933 [2021-08-25T08:25:56.501Z] ---> c30d3a536fad [2021-08-25T08:25:56.501Z] Step 6/17 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev hiredis-dev && mkdir -p /edgex-c-sdk/build [2021-08-25T08:25:56.501Z] ---> Running in 1c96326eae0c [2021-08-25T08:25:57.483Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-08-25T08:25:58.461Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-08-25T08:25:58.733Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz [2021-08-25T08:25:59.327Z] (1/16) Installing ncurses-dev (6.2_p20200523-r0) [2021-08-25T08:25:59.598Z] (2/16) Installing libblkid (2.35.2-r0) [2021-08-25T08:25:59.598Z] (3/16) Installing blkid (2.35.2-r0) [2021-08-25T08:25:59.598Z] (4/16) Installing libcap-ng (0.7.10-r1) [2021-08-25T08:25:59.870Z] (5/16) Installing setpriv (2.35.2-r0) [2021-08-25T08:25:59.870Z] (6/16) Installing libmount (2.35.2-r0) [2021-08-25T08:25:59.870Z] (7/16) Installing libsmartcols (2.35.2-r0) [2021-08-25T08:26:00.143Z] (8/16) Installing findmnt (2.35.2-r0) [2021-08-25T08:26:00.143Z] (9/16) Installing mcookie (2.35.2-r0) [2021-08-25T08:26:00.416Z] (10/16) Installing hexdump (2.35.2-r0) [2021-08-25T08:26:00.416Z] (11/16) Installing lsblk (2.35.2-r0) [2021-08-25T08:26:00.416Z] (12/16) Installing libfdisk (2.35.2-r0) [2021-08-25T08:26:00.689Z] (13/16) Installing sfdisk (2.35.2-r0) [2021-08-25T08:26:00.689Z] (14/16) Installing cfdisk (2.35.2-r0) [2021-08-25T08:26:00.689Z] (15/16) Installing util-linux (2.35.2-r0) [2021-08-25T08:26:01.284Z] (16/16) Installing util-linux-dev (2.35.2-r0) [2021-08-25T08:26:01.560Z] Executing busybox-1.31.1-r20.trigger [2021-08-25T08:26:01.560Z] OK: 276 MiB in 98 packages [2021-08-25T08:26:02.996Z] Removing intermediate container 1c96326eae0c [2021-08-25T08:26:02.996Z] ---> 28919521b9e8 [2021-08-25T08:26:02.996Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2021-08-25T08:26:03.977Z] ---> ac35a7026210 [2021-08-25T08:26:03.977Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2021-08-25T08:26:04.955Z] ---> 07b64168abf4 [2021-08-25T08:26:04.955Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2021-08-25T08:26:05.931Z] ---> 5273f7d297a9 [2021-08-25T08:26:05.931Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2021-08-25T08:26:06.578Z] ---> 370c66c7ad38 [2021-08-25T08:26:06.578Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2021-08-25T08:26:07.268Z] ---> 30a335b453e5 [2021-08-25T08:26:07.268Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2021-08-25T08:26:08.283Z] ---> 5dcd2952b87f [2021-08-25T08:26:08.283Z] Step 13/17 : WORKDIR /edgex-c-sdk [2021-08-25T08:26:08.283Z] ---> Running in 88dab323c279 [2021-08-25T08:26:08.888Z] Removing intermediate container 88dab323c279 [2021-08-25T08:26:08.888Z] ---> 2bd06b07e8aa [2021-08-25T08:26:08.888Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-08-25T08:26:09.173Z] ---> Running in 6f3eaa8b89a4 [2021-08-25T08:26:09.448Z] Removing intermediate container 6f3eaa8b89a4 [2021-08-25T08:26:09.448Z] ---> c804767fe15c [2021-08-25T08:26:09.448Z] Step 15/17 : LABEL arch=arm64 [2021-08-25T08:26:09.730Z] ---> Running in 44f8b429b191 [2021-08-25T08:26:10.353Z] Removing intermediate container 44f8b429b191 [2021-08-25T08:26:10.353Z] ---> 7a78892ea256 [2021-08-25T08:26:10.353Z] Step 16/17 : LABEL git_sha=5f766145a1eb3ccdcf44db31a4c6b0cd29058885 [2021-08-25T08:26:10.353Z] ---> Running in 6326316f995d [2021-08-25T08:26:10.980Z] Removing intermediate container 6326316f995d [2021-08-25T08:26:10.980Z] ---> 60db996f6a0a [2021-08-25T08:26:10.980Z] Step 17/17 : LABEL version=0.0.0 [2021-08-25T08:26:10.980Z] ---> Running in 1925f3a484e5 [2021-08-25T08:26:11.594Z] Removing intermediate container 1925f3a484e5 [2021-08-25T08:26:11.594Z] ---> 4105cffba9bc [2021-08-25T08:26:11.594Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-08-25T08:26:11.594Z] Successfully built 4105cffba9bc [2021-08-25T08:26:11.594Z] 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-08-25T08:26:12.288Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-25T08:26:12.564Z] [2021-08-25T08:26:12.564Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-08-25T08:26:12.948Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-25T08:26:13.223Z] arm64: Pulling from edgex-lftools-log-publisher [2021-08-25T08:26:13.223Z] 448f6bf000e3: Pulling fs layer [2021-08-25T08:26:13.223Z] f757da607395: Pulling fs layer [2021-08-25T08:26:13.223Z] 05883995daec: Pulling fs layer [2021-08-25T08:26:13.223Z] 8603b9c90790: Pulling fs layer [2021-08-25T08:26:13.223Z] 1560dd03e051: Pulling fs layer [2021-08-25T08:26:13.223Z] 27f5ce0e4adf: Pulling fs layer [2021-08-25T08:26:13.223Z] c2d8d7efcc4b: Pulling fs layer [2021-08-25T08:26:13.223Z] 27f5ce0e4adf: Waiting [2021-08-25T08:26:13.223Z] 8603b9c90790: Waiting [2021-08-25T08:26:13.223Z] 1560dd03e051: Waiting [2021-08-25T08:26:13.223Z] c2d8d7efcc4b: Waiting [2021-08-25T08:26:13.495Z] f757da607395: Verifying Checksum [2021-08-25T08:26:13.495Z] f757da607395: Download complete [2021-08-25T08:26:13.495Z] 8603b9c90790: Download complete [2021-08-25T08:26:13.768Z] 1560dd03e051: Verifying Checksum [2021-08-25T08:26:13.768Z] 27f5ce0e4adf: Download complete [2021-08-25T08:26:13.768Z] 05883995daec: Verifying Checksum [2021-08-25T08:26:13.768Z] 05883995daec: Download complete [2021-08-25T08:26:15.198Z] 448f6bf000e3: Download complete [2021-08-25T08:26:17.813Z] c2d8d7efcc4b: Verifying Checksum [2021-08-25T08:26:17.813Z] c2d8d7efcc4b: Download complete [2021-08-25T08:26:18.086Z] 448f6bf000e3: Pull complete [2021-08-25T08:26:18.680Z] f757da607395: Pull complete [2021-08-25T08:26:20.655Z] 05883995daec: Pull complete [2021-08-25T08:26:20.655Z] 8603b9c90790: Pull complete [2021-08-25T08:26:21.642Z] 1560dd03e051: Pull complete [2021-08-25T08:26:21.916Z] 27f5ce0e4adf: Pull complete [2021-08-25T08:26:37.008Z] c2d8d7efcc4b: Pull complete [2021-08-25T08:26:37.008Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-08-25T08:26:37.008Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-25T08:26:37.008Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-08-25T08:26:37.235Z] prd-ubuntu18.04-docker-arm64-4c-16g-769 does not seem to be running inside a container [2021-08-25T08:26:37.324Z] $ 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/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-08-25T08:26:41.630Z] $ docker top d749a170dc5f6235cffdce87025f2a8476bbdc7040f6c2cfece7c039aa7e63de -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-25T08:26:42.596Z] ---> job-cost.sh [2021-08-25T08:26:42.596Z] lf-activate-venv: SKIPPING [2021-08-25T08:26:42.596Z] INFO: No Stack... [2021-08-25T08:26:43.572Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-08-25T08:26:44.169Z] INFO: Archiving Costs [Pipeline] sh [2021-08-25T08:26:44.834Z] + cut -d, -f6 [2021-08-25T08:26:44.834Z] + cat /w/workspace/device-sdk-c/2/archives/cost.csv [Pipeline] lock [2021-08-25T08:26:44.899Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-366-2-stack-cost] [2021-08-25T08:26:44.917Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-366-2-stack-cost] did not exist. Created. [2021-08-25T08:26:44.918Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-366-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-08-25T08:26:45.611Z] /w/workspace/device-sdk-c/2@tmp/durable-4d821bb0/script.sh: 1: /w/workspace/device-sdk-c/2@tmp/durable-4d821bb0/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-08-25T08:26:46.289Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-08-25T08:26:46.329Z] Warning: overwriting stash ‘stack-cost’ [2021-08-25T08:26:46.820Z] Stashed 1 file(s) [Pipeline] } [2021-08-25T08:26:46.831Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-366-2-stack-cost] [Pipeline] // lock [Pipeline] } [2021-08-25T08:26:46.865Z] $ docker stop --time=1 d749a170dc5f6235cffdce87025f2a8476bbdc7040f6c2cfece7c039aa7e63de [2021-08-25T08:26:48.529Z] $ docker rm -f d749a170dc5f6235cffdce87025f2a8476bbdc7040f6c2cfece7c039aa7e63de [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-08-25T08:26:50.037Z] + '[' -d /w/workspace/edgexfoundry_device-sdk-c_PR-366/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-08-25T08:26:50.358Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-25T08:26:50.948Z] ---> package-listing.sh [2021-08-25T08:26:50.948Z] ++ facter osfamily [2021-08-25T08:26:50.948Z] ++ tr '[:upper:]' '[:lower:]' [2021-08-25T08:26:51.216Z] + OS_FAMILY=redhat [2021-08-25T08:26:51.216Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-366 [2021-08-25T08:26:51.216Z] + START_PACKAGES=/tmp/packages_start.txt [2021-08-25T08:26:51.216Z] + END_PACKAGES=/tmp/packages_end.txt [2021-08-25T08:26:51.216Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-08-25T08:26:51.216Z] + PACKAGES=/tmp/packages_start.txt [2021-08-25T08:26:51.216Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-366 ']' [2021-08-25T08:26:51.216Z] + PACKAGES=/tmp/packages_end.txt [2021-08-25T08:26:51.216Z] + case "${OS_FAMILY}" in [2021-08-25T08:26:51.216Z] + sort [2021-08-25T08:26:51.216Z] + rpm -qa [2021-08-25T08:26:51.813Z] + '[' -f /tmp/packages_start.txt ']' [2021-08-25T08:26:51.813Z] + '[' -f /tmp/packages_end.txt ']' [2021-08-25T08:26:51.813Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-08-25T08:26:51.813Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-366 ']' [2021-08-25T08:26:51.813Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-366/archives/ [2021-08-25T08:26:51.813Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-366/archives/ [Pipeline] echo [2021-08-25T08:26:51.832Z] 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-366/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-08-25T08:26:52.141Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-08-25T08:26:52.730Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-25T08:26:52.730Z] [2021-08-25T08:26:52.730Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-08-25T08:26:53.058Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-25T08:26:53.058Z] latest: Pulling from edgex-lftools-log-publisher [2021-08-25T08:26:53.058Z] b4d181a07f80: Pulling fs layer [2021-08-25T08:26:53.058Z] a1111a8f2ec3: Pulling fs layer [2021-08-25T08:26:53.058Z] ed53099fbce6: Pulling fs layer [2021-08-25T08:26:53.058Z] dc539afda2c1: Pulling fs layer [2021-08-25T08:26:53.058Z] 77bc0d833cb6: Pulling fs layer [2021-08-25T08:26:53.058Z] 9065ff56babe: Pulling fs layer [2021-08-25T08:26:53.058Z] d287ab97295c: Pulling fs layer [2021-08-25T08:26:53.058Z] dc539afda2c1: Waiting [2021-08-25T08:26:53.058Z] 77bc0d833cb6: Waiting [2021-08-25T08:26:53.058Z] 9065ff56babe: Waiting [2021-08-25T08:26:53.058Z] d287ab97295c: Waiting [2021-08-25T08:26:53.324Z] a1111a8f2ec3: Download complete [2021-08-25T08:26:53.597Z] dc539afda2c1: Verifying Checksum [2021-08-25T08:26:53.597Z] dc539afda2c1: Download complete [2021-08-25T08:26:53.597Z] 77bc0d833cb6: Verifying Checksum [2021-08-25T08:26:53.597Z] 77bc0d833cb6: Download complete [2021-08-25T08:26:53.597Z] 9065ff56babe: Verifying Checksum [2021-08-25T08:26:53.597Z] 9065ff56babe: Download complete [2021-08-25T08:26:54.179Z] ed53099fbce6: Verifying Checksum [2021-08-25T08:26:54.179Z] ed53099fbce6: Download complete [2021-08-25T08:26:54.762Z] b4d181a07f80: Verifying Checksum [2021-08-25T08:26:54.762Z] b4d181a07f80: Download complete [2021-08-25T08:26:56.187Z] b4d181a07f80: Pull complete [2021-08-25T08:26:56.187Z] a1111a8f2ec3: Pull complete [2021-08-25T08:26:56.782Z] ed53099fbce6: Pull complete [2021-08-25T08:26:56.782Z] dc539afda2c1: Pull complete [2021-08-25T08:26:57.051Z] 77bc0d833cb6: Pull complete [2021-08-25T08:26:57.051Z] 9065ff56babe: Pull complete [2021-08-25T08:26:58.993Z] d287ab97295c: Verifying Checksum [2021-08-25T08:26:58.993Z] d287ab97295c: Download complete [2021-08-25T08:27:03.280Z] d287ab97295c: Pull complete [2021-08-25T08:27:03.280Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-08-25T08:27:03.280Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-25T08:27:03.280Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-08-25T08:27:03.376Z] prd-centos7-docker-4c-2g-767 does not seem to be running inside a container [2021-08-25T08:27:03.432Z] $ 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-366/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-366 -v /w/workspace/edgexfoundry_device-sdk-c_PR-366:/w/workspace/edgexfoundry_device-sdk-c_PR-366:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-366@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-366@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-08-25T08:27:05.908Z] $ docker top a0d1b7637942693f3585653848ac1e1425d73a32cf5964c6619257a1d6bbdb52 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-25T08:27:06.304Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-08-25T08:27:06.619Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-08-25T08:27:06.930Z] + ls /var/log/sa-host [2021-08-25T08:27:06.930Z] + sadf -c /var/log/sa-host/sa05 [2021-08-25T08:27:06.930Z] file_magic: OK [2021-08-25T08:27:06.930Z] HZ: Using current value: 100 [2021-08-25T08:27:06.930Z] file_header: OK [2021-08-25T08:27:06.930Z] 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-08-25T08:27:06.930Z] Statistics: [2021-08-25T08:27:06.930Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-08-25T08:27:06.930Z] File successfully converted to sysstat format version 12.0.3 [2021-08-25T08:27:06.930Z] + sadf -c /var/log/sa-host/sa25 [2021-08-25T08:27:06.930Z] file_magic: OK [2021-08-25T08:27:06.930Z] HZ: Using current value: 100 [2021-08-25T08:27:06.930Z] file_header: OK [2021-08-25T08:27:06.930Z] 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-08-25T08:27:06.930Z] Statistics: [2021-08-25T08:27:06.930Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-08-25T08:27:06.930Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-25T08:27:07.112Z] provisioning config files... [2021-08-25T08:27:07.128Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-366@tmp/config4337233008055732011tmp [Pipeline] { [Pipeline] echo [2021-08-25T08:27:07.150Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-25T08:27:07.467Z] ---> create-netrc.sh [Pipeline] } [2021-08-25T08:27:07.481Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-08-25T08:27:07.882Z] ---> python-tools-install.sh [Pipeline] echo [2021-08-25T08:27:07.896Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-25T08:27:08.224Z] ---> sudo-logs.sh [2021-08-25T08:27:08.224Z] Archiving 'sudo' log.. [2021-08-25T08:27:08.224Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-767.vexxhost.local: Name or service not known [2021-08-25T08:27:08.224Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-767.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-08-25T08:27:08.275Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-25T08:27:08.604Z] ---> job-cost.sh [2021-08-25T08:27:08.604Z] lf-activate-venv: SKIPPING [2021-08-25T08:27:08.604Z] DEBUG: total: 0.10999999940395355 [2021-08-25T08:27:08.604Z] INFO: Retrieving Stack Cost... [2021-08-25T08:27:10.011Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-08-25T08:27:10.278Z] INFO: Archiving Costs [Pipeline] echo [2021-08-25T08:27:10.296Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-25T08:27:10.607Z] ---> logs-deploy.sh [2021-08-25T08:27:10.607Z] lf-activate-venv: SKIPPING [2021-08-25T08:27:10.607Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-366/2 [2021-08-25T08:27:10.607Z] INFO: archiving workspace using pattern(s): [2021-08-25T08:27:11.570Z] Archives upload complete. [2021-08-25T08:27:11.570Z] INFO: archiving logs to Nexus