Branch indexing 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 6dd61b441719fab4f2192aeabeb577189d74fc2d+fe80442fa2f0db74f1d47f63cbba0c7b5c42b53a (cfabad5caf7d958953f7cf38fbc950e36ca2a8f2) 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-ssh2234497722453397663.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 155abbc8877922835dbd6f2f82c828d26e35ec40 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-ssh6223723616722023396.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 155abbc8877922835dbd6f2f82c828d26e35ec40 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-357/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-357/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1467217516246689128.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 155abbc8877922835dbd6f2f82c828d26e35ec40 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 155abbc8877922835dbd6f2f82c828d26e35ec40 # timeout=10 Commit message: "Merge pull request #342 from ernestojeda/fix-c-docker-image-names" > 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-ssh7129078875341814666.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-357/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-357/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7458271601472505557.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-1263 in /w/workspace/edgexfoundry_device-sdk-c_PR-357 [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-357 # 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-357@tmp/jenkins-gitclient-ssh5740798904602541535.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 fe80442fa2f0db74f1d47f63cbba0c7b5c42b53a into PR head commit 6dd61b441719fab4f2192aeabeb577189d74fc2d Merge succeeded, producing fd9f77e03bbb9d13f9e7c0f214251cff23ce8010 Checking out Revision fd9f77e03bbb9d13f9e7c0f214251cff23ce8010 (PR-357) > 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-357@tmp/jenkins-gitclient-ssh6043892574936918939.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/357/head:refs/remotes/origin/PR-357 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6dd61b441719fab4f2192aeabeb577189d74fc2d # 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-357@tmp/jenkins-gitclient-ssh2302923274263654018.key > git merge fe80442fa2f0db74f1d47f63cbba0c7b5c42b53a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fd9f77e03bbb9d13f9e7c0f214251cff23ce8010 # timeout=10 Commit message: "Merge commit 'fe80442fa2f0db74f1d47f63cbba0c7b5c42b53a' into HEAD" > git rev-list --no-walk 6dd61b441719fab4f2192aeabeb577189d74fc2d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-07-31T14:55:45.222Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-07-31T14:55:45.361Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-07-31T14:55:45.431Z] ========================================================= [2021-07-31T14:55:45.431Z] EdgeX Global Pipelines Version Info [2021-07-31T14:55:45.431Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-07-31T14:55:46.790Z] ------------------- [2021-07-31T14:55:46.790Z] stable info: [2021-07-31T14:55:46.790Z] ------------------- [2021-07-31T14:55:46.790Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-07-31T14:55:46.790Z] Commit SHA: 155abbc8877922835dbd6f2f82c828d26e35ec40 [2021-07-31T14:55:46.790Z] Message: update stable to v1.0.199 [2021-07-31T14:55:47.374Z] ------------------- [2021-07-31T14:55:47.374Z] experimental info: [2021-07-31T14:55:47.374Z] ------------------- [2021-07-31T14:55:47.374Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-07-31T14:55:47.374Z] Commit SHA: 155abbc8877922835dbd6f2f82c828d26e35ec40 [2021-07-31T14:55:47.374Z] Message: update experimental to v1.0.199 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-07-31T14:55:47.503Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2021-07-31T14:55:47.521Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2021-07-31T14:55:47.542Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-07-31T14:55:47.561Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-07-31T14:55:47.579Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-07-31T14:55:47.598Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo [2021-07-31T14:55:47.616Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2021-07-31T14:55:47.636Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2021-07-31T14:55:47.659Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-07-31T14:55:47.678Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-07-31T14:55:47.697Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2021-07-31T14:55:47.716Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-07-31T14:55:47.735Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-07-31T14:55:47.754Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-07-31T14:55:47.772Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-07-31T14:55:47.791Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-07-31T14:55:47.811Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-07-31T14:55:47.829Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-07-31T14:55:47.849Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-357 [Pipeline] echo [2021-07-31T14:55:47.868Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-357 [Pipeline] echo [2021-07-31T14:55:47.886Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-357 [Pipeline] echo [2021-07-31T14:55:47.904Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fd9f77e03bbb9d13f9e7c0f214251cff23ce8010 [Pipeline] echo [2021-07-31T14:55:47.924Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fd9f77e [Pipeline] echo [2021-07-31T14:55:47.943Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-31T14:55:48.014Z] provisioning config files... [2021-07-31T14:55:48.035Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/config6891976044127681112tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-31T14:55:48.368Z] ---> docker-login.sh [2021-07-31T14:55:48.369Z] nexus3.edgexfoundry.org:10001 [2021-07-31T14:55:48.369Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-31T14:55:48.637Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-31T14:55:48.637Z] Configure a credential helper to remove this warning. See [2021-07-31T14:55:48.637Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-31T14:55:48.637Z] [2021-07-31T14:55:48.637Z] Login Succeeded [2021-07-31T14:55:48.637Z] nexus3.edgexfoundry.org:10002 [2021-07-31T14:55:48.637Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-31T14:55:48.906Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-31T14:55:48.906Z] Configure a credential helper to remove this warning. See [2021-07-31T14:55:48.906Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-31T14:55:48.906Z] [2021-07-31T14:55:48.906Z] Login Succeeded [2021-07-31T14:55:48.906Z] nexus3.edgexfoundry.org:10003 [2021-07-31T14:55:48.906Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-31T14:55:48.906Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-31T14:55:48.906Z] Configure a credential helper to remove this warning. See [2021-07-31T14:55:48.906Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-31T14:55:48.906Z] [2021-07-31T14:55:48.906Z] Login Succeeded [2021-07-31T14:55:48.906Z] nexus3.edgexfoundry.org:10004 [2021-07-31T14:55:49.176Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-31T14:55:49.176Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-31T14:55:49.176Z] Configure a credential helper to remove this warning. See [2021-07-31T14:55:49.176Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-31T14:55:49.176Z] [2021-07-31T14:55:49.176Z] Login Succeeded [2021-07-31T14:55:49.176Z] docker.io [2021-07-31T14:55:49.176Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-31T14:55:49.763Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-31T14:55:49.763Z] Configure a credential helper to remove this warning. See [2021-07-31T14:55:49.763Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-31T14:55:49.763Z] [2021-07-31T14:55:49.763Z] Login Succeeded [2021-07-31T14:55:49.763Z] ---> docker-login.sh ends [Pipeline] } [2021-07-31T14:55:49.776Z] 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-07-31T14:55:51.289Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-31T14:55:51.289Z] [2021-07-31T14:55:51.289Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-07-31T14:55:51.626Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-31T14:55:51.626Z] latest: Pulling from edgex-devops/git-semver [2021-07-31T14:55:51.626Z] 31603596830f: Pulling fs layer [2021-07-31T14:55:51.626Z] b6dc333f4379: Pulling fs layer [2021-07-31T14:55:51.626Z] 3d9ef1400e77: Pulling fs layer [2021-07-31T14:55:51.626Z] fd332fbdc1db: Pulling fs layer [2021-07-31T14:55:51.626Z] fd332fbdc1db: Waiting [2021-07-31T14:55:51.626Z] b6dc333f4379: Verifying Checksum [2021-07-31T14:55:51.626Z] b6dc333f4379: Download complete [2021-07-31T14:55:51.895Z] 31603596830f: Verifying Checksum [2021-07-31T14:55:51.895Z] 31603596830f: Download complete [2021-07-31T14:55:52.164Z] 31603596830f: Pull complete [2021-07-31T14:55:52.164Z] fd332fbdc1db: Verifying Checksum [2021-07-31T14:55:52.164Z] fd332fbdc1db: Download complete [2021-07-31T14:55:52.164Z] b6dc333f4379: Pull complete [2021-07-31T14:55:52.164Z] 3d9ef1400e77: Verifying Checksum [2021-07-31T14:55:52.164Z] 3d9ef1400e77: Download complete [2021-07-31T14:55:52.766Z] 3d9ef1400e77: Pull complete [2021-07-31T14:55:53.033Z] fd332fbdc1db: Pull complete [2021-07-31T14:55:53.033Z] Digest: sha256:db6b30291b918ea2df8875cce3ed97fb48fa491dcbf862453db6614bc0bd4782 [2021-07-31T14:55:53.033Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-31T14:55:53.033Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-07-31T14:55:53.150Z] prd-centos7-docker-4c-2g-1263 does not seem to be running inside a container [2021-07-31T14:55:53.204Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-357 -v /w/workspace/edgexfoundry_device-sdk-c_PR-357:/w/workspace/edgexfoundry_device-sdk-c_PR-357:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-357@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-07-31T14:55:54.048Z] $ docker top 83290c58841e9b1ba86014dc52ee0f4a9100d4e0d7a443c307b01f24b6948989 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-07-31T14:55:54.166Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-31T14:55:54.166Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-31T14:55:54.283Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-31T14:55:54.283Z] $ docker exec 83290c58841e9b1ba86014dc52ee0f4a9100d4e0d7a443c307b01f24b6948989 ssh-agent [2021-07-31T14:55:54.396Z] SSH_AUTH_SOCK=/tmp/ssh-r8yakVopABtB/agent.15 [2021-07-31T14:55:54.396Z] SSH_AGENT_PID=21 [2021-07-31T14:55:54.411Z] Running ssh-add (command line suppressed) [2021-07-31T14:55:54.505Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/private_key_2578170359863269749.key (/w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/private_key_2578170359863269749.key) [2021-07-31T14:55:54.529Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-31T14:55:54.848Z] + git tag --points-at HEAD [Pipeline] } [2021-07-31T14:55:54.892Z] $ docker exec --env ******** --env ******** 83290c58841e9b1ba86014dc52ee0f4a9100d4e0d7a443c307b01f24b6948989 ssh-agent -k [2021-07-31T14:55:54.991Z] unset SSH_AUTH_SOCK; [2021-07-31T14:55:54.991Z] unset SSH_AGENT_PID; [2021-07-31T14:55:54.991Z] echo Agent pid 21 killed; [2021-07-31T14:55:55.008Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-07-31T14:55:55.045Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-31T14:55:55.045Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-31T14:55:55.162Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-31T14:55:55.162Z] $ docker exec 83290c58841e9b1ba86014dc52ee0f4a9100d4e0d7a443c307b01f24b6948989 ssh-agent [2021-07-31T14:55:55.279Z] SSH_AUTH_SOCK=/tmp/ssh-8innMgHjrp9O/agent.53 [2021-07-31T14:55:55.279Z] SSH_AGENT_PID=59 [2021-07-31T14:55:55.289Z] Running ssh-add (command line suppressed) [2021-07-31T14:55:55.390Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/private_key_8445915239589432950.key (/w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/private_key_8445915239589432950.key) [2021-07-31T14:55:55.414Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-31T14:55:55.727Z] + git semver init [2021-07-31T14:55:55.727Z] # -> Open(): unable to determine branch for HEAD [2021-07-31T14:55:55.727Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-357/.git [2021-07-31T14:55:55.727Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-357 [2021-07-31T14:55:55.727Z] # $SEMVER_REMOTE_NAME = origin [2021-07-31T14:55:55.727Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-07-31T14:55:55.727Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-07-31T14:55:55.727Z] # $SEMVER_BRANCH = PR-357 [2021-07-31T14:55:55.727Z] # $SEMVER_TEMP = /tmp/semver-104233673 [2021-07-31T14:55:55.727Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2021-07-31T14:55:56.312Z] # '/tmp/semver-104233673' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-357/.semver' [2021-07-31T14:55:56.312Z] # -> Force: false [2021-07-31T14:55:56.312Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-357/.semver [Pipeline] } [2021-07-31T14:55:56.325Z] $ docker exec --env ******** --env ******** 83290c58841e9b1ba86014dc52ee0f4a9100d4e0d7a443c307b01f24b6948989 ssh-agent -k [2021-07-31T14:55:56.420Z] unset SSH_AUTH_SOCK; [2021-07-31T14:55:56.421Z] unset SSH_AGENT_PID; [2021-07-31T14:55:56.421Z] echo Agent pid 59 killed; [2021-07-31T14:55:56.435Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-31T14:55:56.804Z] + git semver [Pipeline] } [2021-07-31T14:55:56.828Z] $ docker stop --time=1 83290c58841e9b1ba86014dc52ee0f4a9100d4e0d7a443c307b01f24b6948989 [2021-07-31T14:55:58.085Z] $ docker rm -f 83290c58841e9b1ba86014dc52ee0f4a9100d4e0d7a443c307b01f24b6948989 [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-31T14:55:58.516Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-07-31T14:55:58.978Z] Stashed 1 file(s) [Pipeline] echo [2021-07-31T14:55:59.012Z] [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-07-31T14:56:14.201Z] Still waiting to schedule task [2021-07-31T14:56:14.202Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1263’ [2021-07-31T14:56:14.203Z] Still waiting to schedule task [2021-07-31T14:56:14.203Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-07-31T14:58:17.528Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1264 in /w/workspace/edgexfoundry_device-sdk-c_PR-357 [Pipeline] { [Pipeline] ws [2021-07-31T14:58:17.545Z] Running in /w/workspace/device-sdk-c/8 [Pipeline] { [Pipeline] checkout [2021-07-31T14:58:17.739Z] Selected Git installation does not exist. Using Default [2021-07-31T14:58:17.740Z] The recommended git tool is: NONE [2021-07-31T14:58:23.420Z] using credential edgex-jenkins-ssh [2021-07-31T14:58:23.439Z] Cloning the remote Git repository [2021-07-31T14:58:23.495Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-07-31T14:58:23.610Z] > git init /w/workspace/device-sdk-c/8 # timeout=10 [2021-07-31T14:58:23.699Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-07-31T14:58:23.700Z] > git --version # timeout=10 [2021-07-31T14:58:23.715Z] > git --version # 'git version 2.17.1' [2021-07-31T14:58:23.717Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-31T14:58:23.798Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-31T14:58:24.850Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-07-31T14:58:24.873Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-31T14:58:24.901Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-07-31T14:58:24.931Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-07-31T14:58:24.931Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-31T14:58:24.942Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/357/head:refs/remotes/origin/PR-357 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-07-31T14:58:25.521Z] Merging remotes/origin/main commit fe80442fa2f0db74f1d47f63cbba0c7b5c42b53a into PR head commit 6dd61b441719fab4f2192aeabeb577189d74fc2d [2021-07-31T14:58:25.806Z] Merge succeeded, producing a4dda2745948f94e5763d593b356a7cfecee69ca [2021-07-31T14:58:25.807Z] Checking out Revision a4dda2745948f94e5763d593b356a7cfecee69ca (PR-357) [2021-07-31T14:58:25.530Z] > git config core.sparsecheckout # timeout=10 [2021-07-31T14:58:25.545Z] > git checkout -f 6dd61b441719fab4f2192aeabeb577189d74fc2d # timeout=10 [2021-07-31T14:58:25.654Z] > git remote # timeout=10 [2021-07-31T14:58:25.669Z] > git config --get remote.origin.url # timeout=10 [2021-07-31T14:58:25.681Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-31T14:58:25.692Z] > git merge fe80442fa2f0db74f1d47f63cbba0c7b5c42b53a # timeout=10 [2021-07-31T14:58:25.787Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-07-31T14:58:25.807Z] > git config core.sparsecheckout # timeout=10 [2021-07-31T14:58:25.817Z] > git checkout -f a4dda2745948f94e5763d593b356a7cfecee69ca # timeout=10 [2021-07-31T14:58:30.034Z] Commit message: "Merge commit 'fe80442fa2f0db74f1d47f63cbba0c7b5c42b53a' into HEAD" [2021-07-31T14:58:30.036Z] > git rev-list --no-walk 6dd61b441719fab4f2192aeabeb577189d74fc2d # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-31T14:58:30.614Z] provisioning config files... [2021-07-31T14:58:30.643Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/8@tmp/config7128037582871570045tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-31T14:58:31.203Z] ---> docker-login.sh [2021-07-31T14:58:31.203Z] nexus3.edgexfoundry.org:10001 [2021-07-31T14:58:32.197Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-31T14:58:32.475Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-31T14:58:32.475Z] Configure a credential helper to remove this warning. See [2021-07-31T14:58:32.475Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-31T14:58:32.475Z] [2021-07-31T14:58:32.475Z] Login Succeeded [2021-07-31T14:58:32.475Z] nexus3.edgexfoundry.org:10002 [2021-07-31T14:58:33.074Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-31T14:58:33.074Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-31T14:58:33.074Z] Configure a credential helper to remove this warning. See [2021-07-31T14:58:33.074Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-31T14:58:33.074Z] [2021-07-31T14:58:33.074Z] Login Succeeded [2021-07-31T14:58:33.074Z] nexus3.edgexfoundry.org:10003 [2021-07-31T14:58:33.674Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-31T14:58:33.674Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-31T14:58:33.674Z] Configure a credential helper to remove this warning. See [2021-07-31T14:58:33.674Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-31T14:58:33.674Z] [2021-07-31T14:58:33.674Z] Login Succeeded [2021-07-31T14:58:33.674Z] nexus3.edgexfoundry.org:10004 [2021-07-31T14:58:33.960Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-31T14:58:34.239Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-31T14:58:34.239Z] Configure a credential helper to remove this warning. See [2021-07-31T14:58:34.239Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-31T14:58:34.239Z] [2021-07-31T14:58:34.239Z] Login Succeeded [2021-07-31T14:58:34.239Z] docker.io [2021-07-31T14:58:34.514Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-31T14:58:34.787Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-31T14:58:34.787Z] Configure a credential helper to remove this warning. See [2021-07-31T14:58:34.787Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-31T14:58:34.787Z] [2021-07-31T14:58:34.787Z] Login Succeeded [2021-07-31T14:58:34.787Z] ---> docker-login.sh ends [Pipeline] } [2021-07-31T14:58:34.941Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-07-31T14:58:35.466Z] ========================================================= [2021-07-31T14:58:35.466Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2021-07-31T14:58:35.466Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-07-31T14:58:35.818Z] + 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-07-31T14:58:36.434Z] Sending build context to Docker daemon 2.692MB [2021-07-31T14:58:36.434Z] Step 1/25 : ARG BASE=alpine:3.12 [2021-07-31T14:58:36.434Z] Step 2/25 : FROM ${BASE} as builder [2021-07-31T14:58:36.712Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2021-07-31T14:58:36.712Z] d2f70382dc9a: Pulling fs layer [2021-07-31T14:58:36.712Z] b08cc2eccb4b: Pulling fs layer [2021-07-31T14:58:36.712Z] 7b69db201801: Pulling fs layer [2021-07-31T14:58:36.712Z] b08cc2eccb4b: Verifying Checksum [2021-07-31T14:58:36.712Z] b08cc2eccb4b: Download complete [2021-07-31T14:58:36.994Z] d2f70382dc9a: Verifying Checksum [2021-07-31T14:58:36.994Z] d2f70382dc9a: Download complete [2021-07-31T14:58:37.994Z] d2f70382dc9a: Pull complete [2021-07-31T14:58:38.275Z] b08cc2eccb4b: Pull complete [2021-07-31T14:58:39.717Z] 7b69db201801: Verifying Checksum [2021-07-31T14:58:39.718Z] 7b69db201801: Download complete [2021-07-31T14:58:43.468Z] Running on prd-centos7-docker-4c-2g-1265 in /w/workspace/edgexfoundry_device-sdk-c_PR-357 [Pipeline] { [Pipeline] ws [2021-07-31T14:58:43.484Z] Running in /w/workspace/device-sdk-c/8 [Pipeline] { [Pipeline] checkout [2021-07-31T14:58:43.611Z] Selected Git installation does not exist. Using Default [2021-07-31T14:58:43.611Z] The recommended git tool is: NONE [2021-07-31T14:58:46.342Z] using credential edgex-jenkins-ssh [2021-07-31T14:58:46.361Z] Cloning the remote Git repository [2021-07-31T14:58:46.356Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-07-31T14:58:46.432Z] > git init /w/workspace/device-sdk-c/8 # timeout=10 [2021-07-31T14:58:46.484Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-07-31T14:58:46.484Z] > git --version # timeout=10 [2021-07-31T14:58:46.496Z] > git --version # 'git version 2.24.4' [2021-07-31T14:58:46.496Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-31T14:58:46.526Z] [INFO] Currently running in a labeled security context [2021-07-31T14:58:46.527Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-31T14:58:46.527Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/8@tmp/jenkins-gitclient-ssh7108679607135884406.key [2021-07-31T14:58:46.563Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-31T14:58:47.801Z] Merging remotes/origin/main commit fe80442fa2f0db74f1d47f63cbba0c7b5c42b53a into PR head commit 6dd61b441719fab4f2192aeabeb577189d74fc2d [2021-07-31T14:58:47.944Z] Merge succeeded, producing 225915a1cbd3aafd6d4023b4944ee28c01151ceb [2021-07-31T14:58:47.944Z] Checking out Revision 225915a1cbd3aafd6d4023b4944ee28c01151ceb (PR-357) [2021-07-31T14:58:48.027Z] 7b69db201801: Pull complete [2021-07-31T14:58:48.027Z] Digest: sha256:6402f0ff92f22f5db569dc2a94aef5717e50795d64082fb226716824a8b8ffba [2021-07-31T14:58:48.027Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2021-07-31T14:58:48.027Z] ---> 759262b18b23 [2021-07-31T14:58:48.027Z] 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-07-31T14:58:47.249Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-07-31T14:58:47.257Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-31T14:58:47.275Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-07-31T14:58:47.297Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-07-31T14:58:47.298Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-31T14:58:47.301Z] [INFO] Currently running in a labeled security context [2021-07-31T14:58:47.301Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-31T14:58:47.301Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/8@tmp/jenkins-gitclient-ssh7919269175791926956.key [2021-07-31T14:58:47.319Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/357/head:refs/remotes/origin/PR-357 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-07-31T14:58:47.812Z] > git config core.sparsecheckout # timeout=10 [2021-07-31T14:58:47.827Z] > git checkout -f 6dd61b441719fab4f2192aeabeb577189d74fc2d # timeout=10 [2021-07-31T14:58:47.878Z] > git remote # timeout=10 [2021-07-31T14:58:47.884Z] > git config --get remote.origin.url # timeout=10 [2021-07-31T14:58:47.894Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-31T14:58:47.895Z] [INFO] Currently running in a labeled security context [2021-07-31T14:58:47.895Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-31T14:58:47.895Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/8@tmp/jenkins-gitclient-ssh7305116696734553493.key [2021-07-31T14:58:47.901Z] > git merge fe80442fa2f0db74f1d47f63cbba0c7b5c42b53a # timeout=10 [2021-07-31T14:58:47.930Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-07-31T14:58:47.947Z] > git config core.sparsecheckout # timeout=10 [2021-07-31T14:58:47.953Z] > git checkout -f 225915a1cbd3aafd6d4023b4944ee28c01151ceb # timeout=10 [2021-07-31T14:58:49.017Z] ---> Running in ba1efb2809d6 [2021-07-31T14:58:51.002Z] Connecting to iotech.jfrog.io (54.229.110.245:443) [2021-07-31T14:58:51.002Z] saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-07-31T14:58:51.002Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-07-31T14:58:51.002Z] '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [2021-07-31T14:58:51.770Z] Commit message: "Merge commit 'fe80442fa2f0db74f1d47f63cbba0c7b5c42b53a' into HEAD" [2021-07-31T14:58:51.773Z] > git rev-list --no-walk 6dd61b441719fab4f2192aeabeb577189d74fc2d # timeout=10 [2021-07-31T14:58:51.987Z] Removing intermediate container ba1efb2809d6 [2021-07-31T14:58:51.987Z] ---> c1cb4bb1d258 [2021-07-31T14:58:51.987Z] Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-31T14:58:52.138Z] provisioning config files... [2021-07-31T14:58:52.159Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/8@tmp/config6462180148270046481tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-31T14:58:52.258Z] ---> Running in 2ab86d5747dc [2021-07-31T14:58:52.598Z] ---> docker-login.sh [2021-07-31T14:58:52.598Z] nexus3.edgexfoundry.org:10001 [2021-07-31T14:58:52.598Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-31T14:58:52.867Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-31T14:58:52.867Z] Configure a credential helper to remove this warning. See [2021-07-31T14:58:52.867Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-31T14:58:52.867Z] [2021-07-31T14:58:52.867Z] Login Succeeded [2021-07-31T14:58:52.867Z] nexus3.edgexfoundry.org:10002 [2021-07-31T14:58:52.867Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-31T14:58:52.867Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-31T14:58:52.867Z] Configure a credential helper to remove this warning. See [2021-07-31T14:58:52.867Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-31T14:58:52.867Z] [2021-07-31T14:58:52.867Z] Login Succeeded [2021-07-31T14:58:52.867Z] nexus3.edgexfoundry.org:10003 [2021-07-31T14:58:53.132Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-31T14:58:53.132Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-31T14:58:53.132Z] Configure a credential helper to remove this warning. See [2021-07-31T14:58:53.132Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-31T14:58:53.132Z] [2021-07-31T14:58:53.132Z] Login Succeeded [2021-07-31T14:58:53.132Z] nexus3.edgexfoundry.org:10004 [2021-07-31T14:58:53.132Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-31T14:58:53.400Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-31T14:58:53.400Z] Configure a credential helper to remove this warning. See [2021-07-31T14:58:53.400Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-31T14:58:53.400Z] [2021-07-31T14:58:53.400Z] Login Succeeded [2021-07-31T14:58:53.400Z] docker.io [2021-07-31T14:58:53.400Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-31T14:58:53.666Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-31T14:58:53.666Z] Configure a credential helper to remove this warning. See [2021-07-31T14:58:53.666Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-31T14:58:53.666Z] [2021-07-31T14:58:53.666Z] Login Succeeded [2021-07-31T14:58:53.666Z] ---> docker-login.sh ends [Pipeline] } [2021-07-31T14:58:53.713Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-07-31T14:58:53.900Z] ========================================================= [2021-07-31T14:58:53.900Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2021-07-31T14:58:53.900Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-07-31T14:58:54.225Z] + 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-07-31T14:58:54.225Z] Sending build context to Docker daemon 2.694MB [2021-07-31T14:58:54.225Z] Step 1/25 : ARG BASE=alpine:3.12 [2021-07-31T14:58:54.225Z] Step 2/25 : FROM ${BASE} as builder [2021-07-31T14:58:54.494Z] latest: Pulling from edgex-devops/edgex-gcc-base [2021-07-31T14:58:54.494Z] 339de151aab4: Pulling fs layer [2021-07-31T14:58:54.494Z] 3691962f683c: Pulling fs layer [2021-07-31T14:58:54.494Z] e1147bf81a45: Pulling fs layer [2021-07-31T14:58:54.494Z] 3691962f683c: Verifying Checksum [2021-07-31T14:58:54.494Z] 3691962f683c: Download complete [2021-07-31T14:58:54.765Z] 339de151aab4: Verifying Checksum [2021-07-31T14:58:54.766Z] 339de151aab4: Download complete [2021-07-31T14:58:54.766Z] 339de151aab4: Pull complete [2021-07-31T14:58:54.885Z] Removing intermediate container 2ab86d5747dc [2021-07-31T14:58:54.885Z] ---> 760fc14ad10d [2021-07-31T14:58:54.885Z] 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-07-31T14:58:54.885Z] ---> Running in 0d3b9eed2ea2 [2021-07-31T14:58:55.032Z] 3691962f683c: Pull complete [2021-07-31T14:58:55.865Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-07-31T14:58:56.842Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-07-31T14:58:57.115Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz [2021-07-31T14:58:57.712Z] (1/22) Installing hiredis (0.14.1-r0) [2021-07-31T14:58:57.982Z] (2/22) Installing hiredis-dev (0.14.1-r0) [2021-07-31T14:58:57.982Z] (3/22) Installing ncurses-dev (6.2_p20200523-r0) [2021-07-31T14:58:58.254Z] (4/22) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-07-31T14:58:58.383Z] e1147bf81a45: Verifying Checksum [2021-07-31T14:58:58.383Z] e1147bf81a45: Download complete [2021-07-31T14:59:00.225Z] (5/22) Installing libblkid (2.35.2-r0) [2021-07-31T14:59:00.225Z] (6/22) Installing blkid (2.35.2-r0) [2021-07-31T14:59:00.225Z] (7/22) Installing libcap-ng (0.7.10-r1) [2021-07-31T14:59:00.225Z] (8/22) Installing setpriv (2.35.2-r0) [2021-07-31T14:59:00.497Z] (9/22) Installing libmount (2.35.2-r0) [2021-07-31T14:59:00.497Z] (10/22) Installing libsmartcols (2.35.2-r0) [2021-07-31T14:59:00.767Z] (11/22) Installing findmnt (2.35.2-r0) [2021-07-31T14:59:00.767Z] (12/22) Installing mcookie (2.35.2-r0) [2021-07-31T14:59:00.767Z] (13/22) Installing hexdump (2.35.2-r0) [2021-07-31T14:59:01.032Z] e1147bf81a45: Pull complete [2021-07-31T14:59:01.032Z] Digest: sha256:32c567f17180c4abff101a0d389449dec7f3f623a221c8a8ae98dcac9b0d9fee [2021-07-31T14:59:01.032Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2021-07-31T14:59:01.032Z] ---> ac6a0feb3254 [2021-07-31T14:59:01.032Z] 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-07-31T14:59:01.037Z] (14/22) Installing lsblk (2.35.2-r0) [2021-07-31T14:59:01.037Z] (15/22) Installing libuuid (2.35.2-r0) [2021-07-31T14:59:01.037Z] (16/22) Installing libfdisk (2.35.2-r0) [2021-07-31T14:59:01.310Z] (17/22) Installing sfdisk (2.35.2-r0) [2021-07-31T14:59:01.310Z] (18/22) Installing cfdisk (2.35.2-r0) [2021-07-31T14:59:01.310Z] (19/22) Installing util-linux (2.35.2-r0) [2021-07-31T14:59:01.621Z] ---> Running in 9e00b60305d1 [2021-07-31T14:59:01.909Z] (20/22) Installing util-linux-dev (2.35.2-r0) [2021-07-31T14:59:02.185Z] (21/22) Installing libidn2 (2.3.0-r0) [2021-07-31T14:59:02.185Z] (22/22) Installing wget (1.20.3-r1) [2021-07-31T14:59:02.185Z] Executing busybox-1.31.1-r20.trigger [2021-07-31T14:59:02.213Z] Connecting to iotech.jfrog.io (54.170.66.44:443) [2021-07-31T14:59:02.462Z] OK: 276 MiB in 97 packages [2021-07-31T14:59:02.484Z] saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-07-31T14:59:02.484Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-07-31T14:59:02.484Z] '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [2021-07-31T14:59:02.754Z] Removing intermediate container 9e00b60305d1 [2021-07-31T14:59:02.754Z] ---> 088088e9bdcf [2021-07-31T14:59:02.754Z] Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-07-31T14:59:02.754Z] ---> Running in d539cedf439f [2021-07-31T14:59:03.361Z] Removing intermediate container d539cedf439f [2021-07-31T14:59:03.361Z] ---> 172ae014a1f8 [2021-07-31T14:59:03.361Z] 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-07-31T14:59:03.361Z] ---> Running in 1efd236625d8 [2021-07-31T14:59:03.630Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-07-31T14:59:04.213Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-07-31T14:59:04.434Z] Removing intermediate container 0d3b9eed2ea2 [2021-07-31T14:59:04.434Z] ---> a3240e4a8afb [2021-07-31T14:59:04.434Z] Step 6/25 : ENV CBOR_VERSION=0.5.0 [2021-07-31T14:59:04.434Z] ---> Running in 2476155aeef0 [2021-07-31T14:59:04.480Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz [2021-07-31T14:59:04.707Z] Removing intermediate container 2476155aeef0 [2021-07-31T14:59:04.707Z] ---> 5ef1a0a2591d [2021-07-31T14:59:04.707Z] 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-07-31T14:59:04.980Z] ---> Running in 0afc3014b49f [2021-07-31T14:59:05.069Z] (1/22) Installing hiredis (0.14.1-r0) [2021-07-31T14:59:05.069Z] (2/22) Installing hiredis-dev (0.14.1-r0) [2021-07-31T14:59:05.069Z] (3/22) Installing ncurses-dev (6.2_p20200523-r0) [2021-07-31T14:59:05.335Z] (4/22) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-07-31T14:59:05.962Z] --2021-07-31 14:59:05-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-07-31T14:59:05.962Z] Resolving github.com (github.com)... 140.82.112.4 [2021-07-31T14:59:05.962Z] Connecting to github.com (github.com)|140.82.112.4|:443... connected. [2021-07-31T14:59:06.233Z] HTTP request sent, awaiting response... 302 Found [2021-07-31T14:59:06.233Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-07-31T14:59:06.233Z] --2021-07-31 14:59:06-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-07-31T14:59:06.233Z] Resolving codeload.github.com (codeload.github.com)... 140.82.112.9 [2021-07-31T14:59:06.233Z] Connecting to codeload.github.com (codeload.github.com)|140.82.112.9|:443... connected. [2021-07-31T14:59:06.507Z] HTTP request sent, awaiting response... 200 OK [2021-07-31T14:59:06.507Z] Length: unspecified [application/x-gzip] [2021-07-31T14:59:06.507Z] Saving to: 'STDOUT' [2021-07-31T14:59:06.507Z]  [2021-07-31T14:59:06.507Z] 0K .......... .......... .......... .......... .......... 1.50M [2021-07-31T14:59:06.507Z] 50K .......... .......... .......... .......... .......... 2.83M [2021-07-31T14:59:06.507Z] 100K .......... .......... .......... .......... .......... 3.23M [2021-07-31T14:59:06.507Z] 150K .......... .......... .......... .......... .......... 11.3M [2021-07-31T14:59:06.507Z] 200K .......... .......... .......... .......... .......... 11.0M [2021-07-31T14:59:06.507Z] 250K .......... .......... .......... .......... .......... 3.62M [2021-07-31T14:59:06.507Z] 300K .......... .......... .......... .......... .......... 5.48M [2021-07-31T14:59:06.507Z] 350K .......... .......... .......... .......... .......... 4.70M [2021-07-31T14:59:06.507Z] 400K .......... .......... .......... .......... .......... 3.38M [2021-07-31T14:59:06.507Z] 450K .......... .......... .......... .......... .......... 4.21M [2021-07-31T14:59:06.507Z] 500K .......... .......... .......... .......... .......... 9.35M [2021-07-31T14:59:06.507Z] 550K .......... .......... .......... .......... .......... 2.57M [2021-07-31T14:59:06.507Z] 600K .......... .......... .......... .......... .......... 888K [2021-07-31T14:59:06.507Z] 650K .......... .......... .......... .......... .......... 1.85M [2021-07-31T14:59:06.507Z] 700K ..                                       5.34M=0.2s [2021-07-31T14:59:06.507Z] [2021-07-31T14:59:06.507Z] 2021-07-31 14:59:06 (2.86 MB/s) - written to stdout [719348] [2021-07-31T14:59:06.507Z] [2021-07-31T14:59:06.751Z] (5/22) Installing libblkid (2.35.2-r0) [2021-07-31T14:59:06.751Z] (6/22) Installing blkid (2.35.2-r0) [2021-07-31T14:59:06.782Z] -- The C compiler identification is GNU 9.3.0 [2021-07-31T14:59:07.021Z] (7/22) Installing libcap-ng (0.7.10-r1) [2021-07-31T14:59:07.021Z] (8/22) Installing setpriv (2.35.2-r0) [2021-07-31T14:59:07.021Z] (9/22) Installing libmount (2.35.2-r0) [2021-07-31T14:59:07.055Z] -- The CXX compiler identification is GNU 9.3.0 [2021-07-31T14:59:07.055Z] -- Check for working C compiler: /usr/bin/cc [2021-07-31T14:59:07.289Z] (10/22) Installing libsmartcols (2.35.2-r0) [2021-07-31T14:59:07.290Z] (11/22) Installing findmnt (2.35.2-r0) [2021-07-31T14:59:07.328Z] -- Check for working C compiler: /usr/bin/cc - works [2021-07-31T14:59:07.328Z] -- Detecting C compiler ABI info [2021-07-31T14:59:07.557Z] (12/22) Installing mcookie (2.35.2-r0) [2021-07-31T14:59:07.557Z] (13/22) Installing hexdump (2.35.2-r0) [2021-07-31T14:59:07.557Z] (14/22) Installing lsblk (2.35.2-r0) [2021-07-31T14:59:07.602Z] -- Detecting C compiler ABI info - done [2021-07-31T14:59:07.832Z] (15/22) Installing libuuid (2.35.2-r0) [2021-07-31T14:59:07.832Z] (16/22) Installing libfdisk (2.35.2-r0) [2021-07-31T14:59:07.875Z] -- Detecting C compile features [2021-07-31T14:59:07.875Z] -- Detecting C compile features - done [2021-07-31T14:59:07.875Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-07-31T14:59:08.101Z] (17/22) Installing sfdisk (2.35.2-r0) [2021-07-31T14:59:08.150Z] -- Check for working CXX compiler: /usr/bin/c++ - works [2021-07-31T14:59:08.150Z] -- Detecting CXX compiler ABI info [2021-07-31T14:59:08.368Z] (18/22) Installing cfdisk (2.35.2-r0) [2021-07-31T14:59:08.368Z] (19/22) Installing util-linux (2.35.2-r0) [2021-07-31T14:59:08.423Z] -- Detecting CXX compiler ABI info - done [2021-07-31T14:59:08.423Z] -- Detecting CXX compile features [2021-07-31T14:59:08.423Z] -- Detecting CXX compile features - done [2021-07-31T14:59:08.423Z] -- Looking for include file endian.h [2021-07-31T14:59:08.697Z] -- Looking for include file endian.h - found [2021-07-31T14:59:08.697Z] -- Check if the system is big endian [2021-07-31T14:59:08.697Z] -- Searching 16 bit integer [2021-07-31T14:59:08.697Z] -- Looking for sys/types.h [2021-07-31T14:59:08.953Z] (20/22) Installing util-linux-dev (2.35.2-r0) [2021-07-31T14:59:08.971Z] -- Looking for sys/types.h - found [2021-07-31T14:59:08.971Z] -- Looking for stdint.h [2021-07-31T14:59:09.220Z] (21/22) Installing libidn2 (2.3.0-r0) [2021-07-31T14:59:09.220Z] (22/22) Installing wget (1.20.3-r1) [2021-07-31T14:59:09.244Z] -- Looking for stdint.h - found [2021-07-31T14:59:09.244Z] -- Looking for stddef.h [2021-07-31T14:59:09.487Z] Executing busybox-1.31.1-r20.trigger [2021-07-31T14:59:09.487Z] OK: 295 MiB in 97 packages [2021-07-31T14:59:09.517Z] -- Looking for stddef.h - found [2021-07-31T14:59:09.517Z] -- Check size of unsigned short [2021-07-31T14:59:09.792Z] -- Check size of unsigned short - done [2021-07-31T14:59:09.792Z] -- Searching 16 bit integer - Using unsigned short [2021-07-31T14:59:10.069Z] -- Check if the system is big endian - little endian [2021-07-31T14:59:10.069Z] -- Check size of size_t [2021-07-31T14:59:10.077Z] Removing intermediate container 1efd236625d8 [2021-07-31T14:59:10.077Z] ---> b108a98b445d [2021-07-31T14:59:10.077Z] Step 6/25 : ENV CBOR_VERSION=0.5.0 [2021-07-31T14:59:10.077Z] ---> Running in 03897a896e91 [2021-07-31T14:59:10.077Z] Removing intermediate container 03897a896e91 [2021-07-31T14:59:10.077Z] ---> ea5ca473a2c1 [2021-07-31T14:59:10.077Z] 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-07-31T14:59:10.077Z] ---> Running in a08c155415ce [2021-07-31T14:59:10.344Z] -- Check size of size_t - done [2021-07-31T14:59:10.344Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-07-31T14:59:10.344Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-07-31T14:59:10.344Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-07-31T14:59:10.344Z] CMake did not find one. [2021-07-31T14:59:10.344Z] [2021-07-31T14:59:10.344Z] Could not find a package configuration file provided by "cJSON" with any of [2021-07-31T14:59:10.344Z] the following names: [2021-07-31T14:59:10.344Z] [2021-07-31T14:59:10.344Z] cJSONConfig.cmake [2021-07-31T14:59:10.344Z] cjson-config.cmake [2021-07-31T14:59:10.344Z] [2021-07-31T14:59:10.344Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-07-31T14:59:10.344Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-07-31T14:59:10.344Z] provides a separate development package or SDK, be sure it has been [2021-07-31T14:59:10.344Z] installed. [2021-07-31T14:59:10.344Z] [2021-07-31T14:59:10.344Z] [2021-07-31T14:59:10.344Z] -- Configuring done [2021-07-31T14:59:10.345Z] --2021-07-31 14:59:10-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-07-31T14:59:10.345Z] Resolving github.com (github.com)... 140.82.112.4 [2021-07-31T14:59:10.345Z] Connecting to github.com (github.com)|140.82.112.4|:443... connected. [2021-07-31T14:59:10.613Z] HTTP request sent, awaiting response... 302 Found [2021-07-31T14:59:10.613Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-07-31T14:59:10.613Z] --2021-07-31 14:59:10-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-07-31T14:59:10.613Z] Resolving codeload.github.com (codeload.github.com)... 140.82.112.9 [2021-07-31T14:59:10.613Z] Connecting to codeload.github.com (codeload.github.com)|140.82.112.9|:443... connected. [2021-07-31T14:59:10.613Z] HTTP request sent, awaiting response... 200 OK [2021-07-31T14:59:10.613Z] Length: unspecified [application/x-gzip] [2021-07-31T14:59:10.613Z] Saving to: 'STDOUT' [2021-07-31T14:59:10.613Z] [2021-07-31T14:59:10.613Z] 0K .......... .......... .......... .......... .......... 1.29M [2021-07-31T14:59:10.613Z] 50K .......... .......... .......... .......... .......... 2.56M [2021-07-31T14:59:10.613Z] 100K .......... .......... .......... .......... .......... 10.4M [2021-07-31T14:59:10.613Z] 150K .......... .......... .......... .......... .......... 3.50M [2021-07-31T14:59:10.613Z] 200K .......... .......... .......... .......... .......... 5.51M [2021-07-31T14:59:10.613Z] 250K .......... .......... .......... .......... .......... 20.1M [2021-07-31T14:59:10.613Z] 300K .......... .......... .......... .......... .......... 15.0M [2021-07-31T14:59:10.613Z] 350K .......... .......... .......... .......... .......... 15.1M [2021-07-31T14:59:10.613Z] 400K .......... .......... .......... .......... .......... 7.50M [2021-07-31T14:59:10.613Z] 450K .......... .......... .......... .......... .......... 13.1M [2021-07-31T14:59:10.613Z] 500K .......... .......... .......... .......... .......... 18.0M [2021-07-31T14:59:10.613Z] 550K .......... .......... .......... .......... .......... 8.92M [2021-07-31T14:59:10.613Z] 600K .......... .......... .......... .......... .......... 4.41M [2021-07-31T14:59:10.613Z] 650K .......... .......... .......... .......... .......... 6.44M [2021-07-31T14:59:10.613Z] 700K .. 69.5M=0.1s [2021-07-31T14:59:10.613Z] [2021-07-31T14:59:10.613Z] 2021-07-31 14:59:10 (5.26 MB/s) - written to stdout [719348] [2021-07-31T14:59:10.613Z] [2021-07-31T14:59:10.618Z] -- Generating done [2021-07-31T14:59:10.618Z] -- Build files have been written to: /tmp/cbor [2021-07-31T14:59:10.618Z] Scanning dependencies of target cbor_shared [2021-07-31T14:59:10.618Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-07-31T14:59:10.881Z] -- The C compiler identification is GNU 9.3.0 [2021-07-31T14:59:10.881Z] -- The CXX compiler identification is GNU 9.3.0 [2021-07-31T14:59:10.881Z] -- Check for working C compiler: /usr/bin/cc [2021-07-31T14:59:10.881Z] -- Check for working C compiler: /usr/bin/cc - works [2021-07-31T14:59:10.881Z] -- Detecting C compiler ABI info [2021-07-31T14:59:11.162Z] -- Detecting C compiler ABI info - done [2021-07-31T14:59:11.162Z] -- Detecting C compile features [2021-07-31T14:59:11.162Z] -- Detecting C compile features - done [2021-07-31T14:59:11.162Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-07-31T14:59:11.162Z] -- Check for working CXX compiler: /usr/bin/c++ - works [2021-07-31T14:59:11.162Z] -- Detecting CXX compiler ABI info [2021-07-31T14:59:11.162Z] -- Detecting CXX compiler ABI info - done [2021-07-31T14:59:11.162Z] -- Detecting CXX compile features [2021-07-31T14:59:11.162Z] -- Detecting CXX compile features - done [2021-07-31T14:59:11.162Z] -- Looking for include file endian.h [2021-07-31T14:59:11.431Z] -- Looking for include file endian.h - found [2021-07-31T14:59:11.431Z] -- Check if the system is big endian [2021-07-31T14:59:11.431Z] -- Searching 16 bit integer [2021-07-31T14:59:11.431Z] -- Looking for sys/types.h [2021-07-31T14:59:11.431Z] -- Looking for sys/types.h - found [2021-07-31T14:59:11.431Z] -- Looking for stdint.h [2021-07-31T14:59:11.431Z] -- Looking for stdint.h - found [2021-07-31T14:59:11.431Z] -- Looking for stddef.h [2021-07-31T14:59:11.431Z] -- Looking for stddef.h - found [2021-07-31T14:59:11.431Z] -- Check size of unsigned short [2021-07-31T14:59:11.595Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-07-31T14:59:11.701Z] -- Check size of unsigned short - done [2021-07-31T14:59:11.701Z] -- Searching 16 bit integer - Using unsigned short [2021-07-31T14:59:11.701Z] -- Check if the system is big endian - little endian [2021-07-31T14:59:11.701Z] -- Check size of size_t [2021-07-31T14:59:11.701Z] -- Check size of size_t - done [2021-07-31T14:59:11.701Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-07-31T14:59:11.701Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-07-31T14:59:11.701Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-07-31T14:59:11.701Z] CMake did not find one. [2021-07-31T14:59:11.701Z] [2021-07-31T14:59:11.701Z] Could not find a package configuration file provided by "cJSON" with any of [2021-07-31T14:59:11.701Z] the following names: [2021-07-31T14:59:11.701Z] [2021-07-31T14:59:11.701Z] cJSONConfig.cmake [2021-07-31T14:59:11.701Z] cjson-config.cmake [2021-07-31T14:59:11.701Z] [2021-07-31T14:59:11.701Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-07-31T14:59:11.701Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-07-31T14:59:11.701Z] provides a separate development package or SDK, be sure it has been [2021-07-31T14:59:11.701Z] installed. [2021-07-31T14:59:11.701Z] [2021-07-31T14:59:11.701Z] [2021-07-31T14:59:11.701Z] -- Configuring done [2021-07-31T14:59:11.975Z] -- Generating done [2021-07-31T14:59:11.975Z] -- Build files have been written to: /tmp/cbor [2021-07-31T14:59:11.975Z] Scanning dependencies of target cbor_shared [2021-07-31T14:59:11.975Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-07-31T14:59:11.975Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-07-31T14:59:12.197Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-07-31T14:59:12.242Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-07-31T14:59:12.242Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-07-31T14:59:12.242Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-07-31T14:59:12.469Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-07-31T14:59:12.509Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-07-31T14:59:12.509Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-07-31T14:59:12.509Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-07-31T14:59:12.509Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-07-31T14:59:12.509Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-07-31T14:59:12.775Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-07-31T14:59:12.775Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-07-31T14:59:12.775Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-07-31T14:59:13.043Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-07-31T14:59:13.043Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-07-31T14:59:13.043Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-07-31T14:59:13.043Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-07-31T14:59:13.066Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-07-31T14:59:13.309Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-07-31T14:59:13.309Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-07-31T14:59:13.309Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-07-31T14:59:13.309Z] [ 40%] Linking C shared library libcbor.so [2021-07-31T14:59:13.309Z] [ 40%] Built target cbor_shared [2021-07-31T14:59:13.309Z] Scanning dependencies of target cbor [2021-07-31T14:59:13.309Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-07-31T14:59:13.340Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-07-31T14:59:13.340Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-07-31T14:59:13.577Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-07-31T14:59:13.577Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-07-31T14:59:13.615Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-07-31T14:59:13.844Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-07-31T14:59:13.889Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-07-31T14:59:14.110Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-07-31T14:59:14.110Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-07-31T14:59:14.110Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-07-31T14:59:14.110Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-07-31T14:59:14.110Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-07-31T14:59:14.163Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-07-31T14:59:14.377Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-07-31T14:59:14.377Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-07-31T14:59:14.377Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-07-31T14:59:14.646Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-07-31T14:59:14.646Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-07-31T14:59:14.646Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-07-31T14:59:14.757Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-07-31T14:59:14.913Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-07-31T14:59:14.914Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-07-31T14:59:14.914Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-07-31T14:59:14.914Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-07-31T14:59:15.029Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-07-31T14:59:15.182Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-07-31T14:59:15.182Z] [ 80%] Linking C static library libcbor.a [2021-07-31T14:59:15.182Z] [ 80%] Built target cbor [2021-07-31T14:59:15.182Z] Scanning dependencies of target sort [2021-07-31T14:59:15.182Z] [ 82%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-07-31T14:59:15.182Z] [ 84%] Linking C executable sort [2021-07-31T14:59:15.182Z] [ 84%] Built target sort [2021-07-31T14:59:15.182Z] Scanning dependencies of target readfile [2021-07-31T14:59:15.182Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-07-31T14:59:15.182Z] [ 88%] Linking C executable readfile [2021-07-31T14:59:15.303Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-07-31T14:59:15.449Z] [ 88%] Built target readfile [2021-07-31T14:59:15.449Z] Scanning dependencies of target streaming_parser [2021-07-31T14:59:15.449Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-07-31T14:59:15.449Z] [ 92%] Linking C executable streaming_parser [2021-07-31T14:59:15.449Z] [ 92%] Built target streaming_parser [2021-07-31T14:59:15.449Z] Scanning dependencies of target hello [2021-07-31T14:59:15.449Z] [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-07-31T14:59:15.449Z] [ 96%] Linking C executable hello [2021-07-31T14:59:15.449Z] [ 96%] Built target hello [2021-07-31T14:59:15.449Z] Scanning dependencies of target create_items [2021-07-31T14:59:15.449Z] [ 98%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-07-31T14:59:15.449Z] [100%] Linking C executable create_items [2021-07-31T14:59:15.720Z] [100%] Built target create_items [2021-07-31T14:59:15.720Z] Install the project... [2021-07-31T14:59:15.720Z] -- Install configuration: "Release" [2021-07-31T14:59:15.720Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-07-31T14:59:15.721Z] -- Installing: /usr/local/lib64/libcbor.a [2021-07-31T14:59:15.721Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-07-31T14:59:15.721Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-07-31T14:59:15.721Z] -- Installing: /usr/local/lib64/libcbor.so [2021-07-31T14:59:15.721Z] -- Up-to-date: /usr/local/include/cbor [2021-07-31T14:59:15.721Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-07-31T14:59:15.721Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-07-31T14:59:15.721Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-07-31T14:59:15.721Z] -- Installing: /usr/local/include/cbor/common.h [2021-07-31T14:59:15.721Z] -- Installing: /usr/local/include/cbor/data.h [2021-07-31T14:59:15.721Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-07-31T14:59:15.721Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-07-31T14:59:15.721Z] -- Installing: /usr/local/include/cbor/internal [2021-07-31T14:59:15.721Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-07-31T14:59:15.721Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-07-31T14:59:15.721Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-07-31T14:59:15.721Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-07-31T14:59:15.721Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-07-31T14:59:15.721Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-07-31T14:59:15.721Z] -- Installing: /usr/local/include/cbor/ints.h [2021-07-31T14:59:15.721Z] -- Installing: /usr/local/include/cbor/maps.h [2021-07-31T14:59:15.721Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-07-31T14:59:15.721Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-07-31T14:59:15.721Z] -- Installing: /usr/local/include/cbor/strings.h [2021-07-31T14:59:15.721Z] -- Installing: /usr/local/include/cbor/tags.h [2021-07-31T14:59:15.721Z] -- Installing: /usr/local/include/cbor.h [2021-07-31T14:59:15.721Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-07-31T14:59:15.898Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-07-31T14:59:15.898Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-07-31T14:59:16.173Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-07-31T14:59:16.306Z] Removing intermediate container a08c155415ce [2021-07-31T14:59:16.306Z] ---> cbba0bdacdc7 [2021-07-31T14:59:16.306Z] Step 8/25 : RUN mkdir /tmp/sdk [2021-07-31T14:59:16.306Z] ---> Running in 590985c231ed [2021-07-31T14:59:16.447Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-07-31T14:59:16.720Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-07-31T14:59:16.898Z] Removing intermediate container 590985c231ed [2021-07-31T14:59:16.898Z] ---> 661fc14f69e9 [2021-07-31T14:59:16.898Z] Step 9/25 : COPY VERSION /tmp/sdk [2021-07-31T14:59:16.898Z] ---> fdfd7c02e908 [2021-07-31T14:59:16.898Z] Step 10/25 : COPY src /tmp/sdk/src [2021-07-31T14:59:16.994Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-07-31T14:59:17.168Z] ---> bc59d41a0fd8 [2021-07-31T14:59:17.168Z] Step 11/25 : COPY include /tmp/sdk/include [2021-07-31T14:59:17.267Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-07-31T14:59:17.438Z] ---> f1129187cfbb [2021-07-31T14:59:17.438Z] Step 12/25 : COPY scripts /tmp/sdk/scripts [2021-07-31T14:59:17.438Z] ---> 28bf1afbf290 [2021-07-31T14:59:17.438Z] Step 13/25 : COPY LICENSE /tmp/sdk [2021-07-31T14:59:17.542Z] [ 40%] Linking C shared library libcbor.so [2021-07-31T14:59:17.542Z] [ 40%] Built target cbor_shared [2021-07-31T14:59:17.542Z] Scanning dependencies of target cbor [2021-07-31T14:59:17.704Z] ---> 624eb420b487 [2021-07-31T14:59:17.704Z] Step 14/25 : COPY Attribution.txt /tmp/sdk [2021-07-31T14:59:17.814Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-07-31T14:59:17.971Z] ---> e5754a37f9f8 [2021-07-31T14:59:17.971Z] Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-07-31T14:59:17.971Z] ---> Running in 28a4f893b451 [2021-07-31T14:59:18.239Z] + CPPCHECK=false [2021-07-31T14:59:18.239Z] + DOCGEN=false [2021-07-31T14:59:18.239Z] + TOMLVER=SDK-0.2 [2021-07-31T14:59:18.239Z] + CUTILVER=1.1.4 [2021-07-31T14:59:18.239Z] + '[' 0 -gt 0 ] [2021-07-31T14:59:18.239Z] + readlink -f ./scripts/build.sh [2021-07-31T14:59:18.239Z] + dirname /tmp/sdk/scripts/build.sh [2021-07-31T14:59:18.239Z] + dirname /tmp/sdk/scripts [2021-07-31T14:59:18.239Z] + ROOT=/tmp/sdk [2021-07-31T14:59:18.239Z] + cd /tmp/sdk [2021-07-31T14:59:18.239Z] + '[' '!' -d deps ] [2021-07-31T14:59:18.239Z] + mkdir deps [2021-07-31T14:59:18.239Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-07-31T14:59:18.239Z] --2021-07-31 14:59:18-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-07-31T14:59:18.239Z] + tar -C deps -z -x -f - [2021-07-31T14:59:18.239Z] Resolving github.com (github.com)... 140.82.112.4 [2021-07-31T14:59:18.239Z] Connecting to github.com (github.com)|140.82.112.4|:443... connected. [2021-07-31T14:59:18.239Z] HTTP request sent, awaiting response... 302 Found [2021-07-31T14:59:18.239Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-07-31T14:59:18.239Z] --2021-07-31 14:59:18-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-07-31T14:59:18.239Z] Resolving codeload.github.com (codeload.github.com)... 140.82.112.9 [2021-07-31T14:59:18.239Z] Connecting to codeload.github.com (codeload.github.com)|140.82.112.9|:443... connected. [2021-07-31T14:59:18.408Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-07-31T14:59:18.505Z] HTTP request sent, awaiting response... 200 OK [2021-07-31T14:59:18.505Z] Length: unspecified [application/x-gzip] [2021-07-31T14:59:18.505Z] Saving to: 'STDOUT' [2021-07-31T14:59:18.505Z]  [2021-07-31T14:59:18.505Z] 0K .......... ......  969K=0.02s [2021-07-31T14:59:18.505Z] [2021-07-31T14:59:18.505Z] 2021-07-31 14:59:18 (969 KB/s) - written to stdout [16451] [2021-07-31T14:59:18.505Z] [2021-07-31T14:59:18.505Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-07-31T14:59:18.505Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-07-31T14:59:18.505Z] + tar -C deps -z -x -f - [2021-07-31T14:59:18.505Z] --2021-07-31 14:59:18-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-07-31T14:59:18.505Z] Resolving github.com (github.com)... 140.82.112.4 [2021-07-31T14:59:18.505Z] Connecting to github.com (github.com)|140.82.112.4|:443... connected. [2021-07-31T14:59:18.777Z] HTTP request sent, awaiting response... 302 Found [2021-07-31T14:59:18.777Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] [2021-07-31T14:59:18.777Z] --2021-07-31 14:59:18-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [2021-07-31T14:59:18.777Z] Resolving codeload.github.com (codeload.github.com)... 140.82.112.9 [2021-07-31T14:59:18.777Z] Connecting to codeload.github.com (codeload.github.com)|140.82.112.9|:443... connected. [2021-07-31T14:59:18.777Z] HTTP request sent, awaiting response... 200 OK [2021-07-31T14:59:18.777Z] Length: unspecified [application/x-gzip] [2021-07-31T14:59:18.777Z] Saving to: 'STDOUT' [2021-07-31T14:59:18.777Z]  [2021-07-31T14:59:18.777Z] 0K .......... .......... .......... .......... .......... 1.37M [2021-07-31T14:59:18.777Z] 50K .......... .......... .......... .......... .......... 2.66M [2021-07-31T14:59:18.777Z] 100K .......... .......... .......... .......... .......... 20.1M [2021-07-31T14:59:18.777Z] 150K .......... .......... ....... 6.36M=0.06s [2021-07-31T14:59:18.777Z] [2021-07-31T14:59:18.777Z] 2021-07-31 14:59:18 (2.86 MB/s) - written to stdout [181796] [2021-07-31T14:59:18.777Z] [2021-07-31T14:59:19.022Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-07-31T14:59:19.044Z] + mkdir -p src/c/iot [2021-07-31T14:59:19.044Z] + 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-07-31T14:59:19.044Z] + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot [2021-07-31T14:59:19.044Z] + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot [2021-07-31T14:59:19.044Z] + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot [2021-07-31T14:59:19.044Z] + mkdir -p include/iot [2021-07-31T14:59:19.044Z] + 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-07-31T14:59:19.044Z] + mkdir -p include/iot/os [2021-07-31T14:59:19.044Z] + 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-07-31T14:59:19.044Z] + mkdir -p /tmp/sdk/build/release [2021-07-31T14:59:19.044Z] + cd /tmp/sdk/build/release [2021-07-31T14:59:19.044Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-07-31T14:59:19.044Z] -- The C compiler identification is GNU 9.3.0 [2021-07-31T14:59:19.044Z] -- Check for working C compiler: /usr/bin/cc [2021-07-31T14:59:19.044Z] -- Check for working C compiler: /usr/bin/cc - works [2021-07-31T14:59:19.044Z] -- Detecting C compiler ABI info [2021-07-31T14:59:19.044Z] -- Detecting C compiler ABI info - done [2021-07-31T14:59:19.294Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-07-31T14:59:19.310Z] -- Detecting C compile features [2021-07-31T14:59:19.310Z] -- Detecting C compile features - done [2021-07-31T14:59:19.310Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-07-31T14:59:19.310Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") [2021-07-31T14:59:19.310Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-07-31T14:59:19.310Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-07-31T14:59:19.310Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-07-31T14:59:19.310Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-07-31T14:59:19.310Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-07-31T14:59:19.310Z] -- C SDK 0.0.0 for Linux [2021-07-31T14:59:19.310Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-07-31T14:59:19.310Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-07-31T14:59:19.310Z] -- Found Curses: /usr/lib/libcurses.so [2021-07-31T14:59:19.310Z] -- Configuring done [2021-07-31T14:59:19.310Z] -- Generating done [2021-07-31T14:59:19.310Z] -- Build files have been written to: /tmp/sdk/build/release [2021-07-31T14:59:19.310Z] + make all package [2021-07-31T14:59:19.310Z] + tee release.log [2021-07-31T14:59:19.310Z] Scanning dependencies of target csdk [2021-07-31T14:59:19.575Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-07-31T14:59:19.575Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-07-31T14:59:19.575Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-07-31T14:59:20.160Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-07-31T14:59:20.160Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-07-31T14:59:20.160Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-07-31T14:59:20.429Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-07-31T14:59:20.429Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-07-31T14:59:20.429Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-07-31T14:59:20.698Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-07-31T14:59:20.967Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-07-31T14:59:20.967Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-07-31T14:59:21.235Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-07-31T14:59:21.235Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-07-31T14:59:21.267Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-07-31T14:59:21.267Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-07-31T14:59:21.502Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-07-31T14:59:21.503Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-07-31T14:59:21.503Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-07-31T14:59:21.540Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-07-31T14:59:21.540Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-07-31T14:59:21.812Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-07-31T14:59:22.084Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-07-31T14:59:22.092Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-07-31T14:59:22.092Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-07-31T14:59:22.092Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-07-31T14:59:22.360Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-07-31T14:59:22.360Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-07-31T14:59:22.360Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-07-31T14:59:22.945Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-07-31T14:59:22.945Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-07-31T14:59:22.945Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-07-31T14:59:23.059Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-07-31T14:59:23.060Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-07-31T14:59:23.214Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-07-31T14:59:23.214Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-07-31T14:59:23.214Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-07-31T14:59:23.483Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-07-31T14:59:23.483Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-07-31T14:59:23.653Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-07-31T14:59:23.751Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-07-31T14:59:23.751Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-07-31T14:59:23.926Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-07-31T14:59:24.023Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-07-31T14:59:24.198Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-07-31T14:59:24.297Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-07-31T14:59:24.297Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-07-31T14:59:24.297Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-07-31T14:59:24.470Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-07-31T14:59:24.742Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-07-31T14:59:25.016Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-07-31T14:59:25.259Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-07-31T14:59:25.260Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-07-31T14:59:25.260Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-07-31T14:59:25.288Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-07-31T14:59:25.527Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-07-31T14:59:25.527Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-07-31T14:59:25.560Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-07-31T14:59:25.794Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-07-31T14:59:25.832Z] [ 80%] Linking C static library libcbor.a [2021-07-31T14:59:25.833Z] [ 80%] Built target cbor [2021-07-31T14:59:25.833Z] Scanning dependencies of target sort [2021-07-31T14:59:25.833Z] [ 82%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-07-31T14:59:26.065Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-07-31T14:59:26.066Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-07-31T14:59:26.066Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-07-31T14:59:26.104Z] [ 84%] Linking C executable sort [2021-07-31T14:59:26.104Z] [ 84%] Built target sort [2021-07-31T14:59:26.377Z] Scanning dependencies of target readfile [2021-07-31T14:59:26.377Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-07-31T14:59:26.377Z] [ 88%] Linking C executable readfile [2021-07-31T14:59:26.649Z] [ 88%] Built target readfile [2021-07-31T14:59:26.649Z] Scanning dependencies of target streaming_parser [2021-07-31T14:59:26.649Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-07-31T14:59:26.654Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-07-31T14:59:26.923Z] [ 92%] Linking C executable streaming_parser [2021-07-31T14:59:26.923Z] [ 92%] Built target streaming_parser [2021-07-31T14:59:26.923Z] Scanning dependencies of target hello [2021-07-31T14:59:26.923Z] [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-07-31T14:59:27.196Z] [ 96%] Linking C executable hello [2021-07-31T14:59:27.196Z] [ 96%] Built target hello [2021-07-31T14:59:27.196Z] Scanning dependencies of target create_items [2021-07-31T14:59:27.196Z] [ 98%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-07-31T14:59:27.245Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-07-31T14:59:27.245Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-07-31T14:59:27.245Z] [ 75%] Linking C shared library libcsdk.so [2021-07-31T14:59:27.469Z] [100%] Linking C executable create_items [2021-07-31T14:59:27.469Z] [100%] Built target create_items [2021-07-31T14:59:27.512Z] [ 75%] Built target csdk [2021-07-31T14:59:27.512Z] Scanning dependencies of target template [2021-07-31T14:59:27.512Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-07-31T14:59:27.512Z] [ 78%] Linking C executable template [2021-07-31T14:59:27.512Z] [ 78%] Built target template [2021-07-31T14:59:27.512Z] Scanning dependencies of target device-counter [2021-07-31T14:59:27.512Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-07-31T14:59:27.748Z] Install the project... [2021-07-31T14:59:27.748Z] -- Install configuration: "Release" [2021-07-31T14:59:27.748Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-07-31T14:59:27.748Z] -- Installing: /usr/local/lib64/libcbor.a [2021-07-31T14:59:27.748Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-07-31T14:59:27.748Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-07-31T14:59:27.748Z] -- Installing: /usr/local/lib64/libcbor.so [2021-07-31T14:59:27.748Z] -- Up-to-date: /usr/local/include/cbor [2021-07-31T14:59:27.748Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-07-31T14:59:27.748Z] -- Installing: /usr/local/include/cbor/ints.h [2021-07-31T14:59:27.748Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-07-31T14:59:27.748Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-07-31T14:59:27.748Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-07-31T14:59:27.748Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-07-31T14:59:27.748Z] -- Installing: /usr/local/include/cbor/data.h [2021-07-31T14:59:27.748Z] -- Installing: /usr/local/include/cbor/common.h [2021-07-31T14:59:27.748Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-07-31T14:59:27.748Z] -- Installing: /usr/local/include/cbor/strings.h [2021-07-31T14:59:27.748Z] -- Installing: /usr/local/include/cbor/tags.h [2021-07-31T14:59:27.748Z] -- Installing: /usr/local/include/cbor/internal [2021-07-31T14:59:27.748Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-07-31T14:59:27.748Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-07-31T14:59:27.748Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-07-31T14:59:27.748Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-07-31T14:59:27.748Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-07-31T14:59:27.748Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-07-31T14:59:27.748Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-07-31T14:59:27.748Z] -- Installing: /usr/local/include/cbor/maps.h [2021-07-31T14:59:27.748Z] -- Installing: /usr/local/include/cbor.h [2021-07-31T14:59:27.748Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-07-31T14:59:27.781Z] [ 81%] Linking C executable device-counter [2021-07-31T14:59:27.781Z] [ 81%] Built target device-counter [2021-07-31T14:59:27.781Z] Scanning dependencies of target device-random [2021-07-31T14:59:27.781Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-07-31T14:59:27.781Z] [ 84%] Linking C executable device-random [2021-07-31T14:59:27.781Z] [ 84%] Built target device-random [2021-07-31T14:59:28.048Z] Scanning dependencies of target device-gyro [2021-07-31T14:59:28.048Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-07-31T14:59:28.048Z] [ 87%] Linking C executable device-gyro [2021-07-31T14:59:28.048Z] [ 87%] Built target device-gyro [2021-07-31T14:59:28.048Z] Scanning dependencies of target device-bitfields [2021-07-31T14:59:28.048Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-07-31T14:59:28.048Z] [ 90%] Linking C executable device-bitfields [2021-07-31T14:59:28.316Z] [ 90%] Built target device-bitfields [2021-07-31T14:59:28.316Z] Scanning dependencies of target template-discovery [2021-07-31T14:59:28.316Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-07-31T14:59:28.316Z] [ 93%] Linking C executable template-discovery [2021-07-31T14:59:28.316Z] [ 93%] Built target template-discovery [2021-07-31T14:59:28.316Z] Scanning dependencies of target device-file [2021-07-31T14:59:28.316Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-07-31T14:59:28.586Z] [ 96%] Linking C executable device-file [2021-07-31T14:59:28.586Z] [ 96%] Built target device-file [2021-07-31T14:59:28.586Z] Scanning dependencies of target device-terminal [2021-07-31T14:59:28.586Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-07-31T14:59:28.586Z] [100%] Linking C executable device-terminal [2021-07-31T14:59:28.853Z] [100%] Built target device-terminal [2021-07-31T14:59:28.853Z] Run CPack packaging tool... [2021-07-31T14:59:28.853Z] CPack: Create package using TGZ [2021-07-31T14:59:28.853Z] CPack: Install projects [2021-07-31T14:59:28.853Z] CPack: - Run preinstall target for: Csdk [2021-07-31T14:59:28.853Z] CPack: - Install project: Csdk [] [2021-07-31T14:59:28.853Z] CPack: Create package [2021-07-31T14:59:29.120Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-07-31T14:59:29.120Z] + '[' false '=' true ] [2021-07-31T14:59:29.120Z] + '[' false '=' true ] [2021-07-31T14:59:29.120Z] + mkdir -p /tmp/sdk/build/debug [2021-07-31T14:59:29.120Z] + cd /tmp/sdk/build/debug [2021-07-31T14:59:29.120Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-07-31T14:59:29.120Z] -- The C compiler identification is GNU 9.3.0 [2021-07-31T14:59:29.120Z] -- Check for working C compiler: /usr/bin/cc [2021-07-31T14:59:29.120Z] -- Check for working C compiler: /usr/bin/cc - works [2021-07-31T14:59:29.120Z] -- Detecting C compiler ABI info [2021-07-31T14:59:29.120Z] -- Detecting C compiler ABI info - done [2021-07-31T14:59:29.388Z] -- Detecting C compile features [2021-07-31T14:59:29.388Z] -- Detecting C compile features - done [2021-07-31T14:59:29.389Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-07-31T14:59:29.389Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") [2021-07-31T14:59:29.389Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-07-31T14:59:29.389Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-07-31T14:59:29.389Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-07-31T14:59:29.389Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-07-31T14:59:29.389Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-07-31T14:59:29.389Z] -- C SDK 0.0.0 for Linux [2021-07-31T14:59:29.389Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-07-31T14:59:29.389Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-07-31T14:59:29.389Z] -- Found Curses: /usr/lib/libcurses.so [2021-07-31T14:59:29.389Z] -- Configuring done [2021-07-31T14:59:29.389Z] -- Generating done [2021-07-31T14:59:29.389Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-07-31T14:59:29.389Z] + make [2021-07-31T14:59:29.389Z] + tee debug.log [2021-07-31T14:59:29.389Z] Scanning dependencies of target csdk [2021-07-31T14:59:29.389Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-07-31T14:59:29.658Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-07-31T14:59:29.658Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-07-31T14:59:29.658Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-07-31T14:59:29.742Z] Removing intermediate container 0afc3014b49f [2021-07-31T14:59:29.742Z] ---> 7d27175bf42f [2021-07-31T14:59:29.742Z] Step 8/25 : RUN mkdir /tmp/sdk [2021-07-31T14:59:29.742Z] ---> Running in a8a064a41354 [2021-07-31T14:59:29.925Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-07-31T14:59:29.925Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-07-31T14:59:29.925Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-07-31T14:59:29.925Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-07-31T14:59:30.194Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-07-31T14:59:30.194Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-07-31T14:59:30.194Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-07-31T14:59:30.464Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-07-31T14:59:30.464Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-07-31T14:59:30.464Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-07-31T14:59:30.464Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-07-31T14:59:30.731Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-07-31T14:59:30.731Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-07-31T14:59:30.731Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-07-31T14:59:30.731Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-07-31T14:59:31.000Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-07-31T14:59:31.000Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-07-31T14:59:31.000Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-07-31T14:59:31.000Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-07-31T14:59:31.278Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-07-31T14:59:31.278Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-07-31T14:59:31.278Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-07-31T14:59:31.278Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-07-31T14:59:31.544Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-07-31T14:59:31.544Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-07-31T14:59:31.544Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-07-31T14:59:31.544Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-07-31T14:59:31.817Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-07-31T14:59:31.817Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-07-31T14:59:31.817Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-07-31T14:59:31.817Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-07-31T14:59:31.817Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-07-31T14:59:32.089Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-07-31T14:59:32.089Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-07-31T14:59:32.358Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-07-31T14:59:32.358Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-07-31T14:59:32.358Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-07-31T14:59:32.358Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-07-31T14:59:32.364Z] Removing intermediate container a8a064a41354 [2021-07-31T14:59:32.365Z] ---> ed7a98ab4a52 [2021-07-31T14:59:32.365Z] Step 9/25 : COPY VERSION /tmp/sdk [2021-07-31T14:59:32.631Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-07-31T14:59:32.632Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-07-31T14:59:32.632Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-07-31T14:59:32.903Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-07-31T14:59:32.903Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-07-31T14:59:32.964Z] ---> 102f64112b28 [2021-07-31T14:59:32.964Z] Step 10/25 : COPY src /tmp/sdk/src [2021-07-31T14:59:33.173Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-07-31T14:59:33.173Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-07-31T14:59:33.173Z] [ 75%] Linking C shared library libcsdk.so [2021-07-31T14:59:33.173Z] [ 75%] Built target csdk [2021-07-31T14:59:33.173Z] Scanning dependencies of target template [2021-07-31T14:59:33.173Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-07-31T14:59:33.441Z] [ 78%] Linking C executable template [2021-07-31T14:59:33.441Z] [ 78%] Built target template [2021-07-31T14:59:33.441Z] Scanning dependencies of target device-counter [2021-07-31T14:59:33.441Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-07-31T14:59:33.441Z] [ 81%] Linking C executable device-counter [2021-07-31T14:59:33.441Z] [ 81%] Built target device-counter [2021-07-31T14:59:33.441Z] Scanning dependencies of target device-random [2021-07-31T14:59:33.441Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-07-31T14:59:33.710Z] [ 84%] Linking C executable device-random [2021-07-31T14:59:33.710Z] [ 84%] Built target device-random [2021-07-31T14:59:33.710Z] Scanning dependencies of target device-gyro [2021-07-31T14:59:33.710Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-07-31T14:59:33.710Z] [ 87%] Linking C executable device-gyro [2021-07-31T14:59:33.710Z] [ 87%] Built target device-gyro [2021-07-31T14:59:33.710Z] Scanning dependencies of target device-bitfields [2021-07-31T14:59:33.710Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-07-31T14:59:33.946Z] ---> b1d59e04f12e [2021-07-31T14:59:33.946Z] Step 11/25 : COPY include /tmp/sdk/include [2021-07-31T14:59:33.985Z] [ 90%] Linking C executable device-bitfields [2021-07-31T14:59:33.985Z] [ 90%] Built target device-bitfields [2021-07-31T14:59:33.985Z] Scanning dependencies of target template-discovery [2021-07-31T14:59:33.985Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-07-31T14:59:33.985Z] [ 93%] Linking C executable template-discovery [2021-07-31T14:59:33.985Z] [ 93%] Built target template-discovery [2021-07-31T14:59:33.985Z] Scanning dependencies of target device-file [2021-07-31T14:59:33.985Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-07-31T14:59:34.254Z] [ 96%] Linking C executable device-file [2021-07-31T14:59:34.254Z] [ 96%] Built target device-file [2021-07-31T14:59:34.254Z] Scanning dependencies of target device-terminal [2021-07-31T14:59:34.254Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-07-31T14:59:34.254Z] [100%] Linking C executable device-terminal [2021-07-31T14:59:34.254Z] [100%] Built target device-terminal [2021-07-31T14:59:34.254Z] make: Entering directory '/tmp/sdk/build/release' [2021-07-31T14:59:34.254Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-07-31T14:59:34.254Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-31T14:59:34.254Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-31T14:59:34.254Z] [ 75%] Built target csdk [2021-07-31T14:59:34.254Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-31T14:59:34.254Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-31T14:59:34.254Z] [ 78%] Built target template [2021-07-31T14:59:34.254Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-31T14:59:34.254Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-31T14:59:34.523Z] [ 81%] Built target device-counter [2021-07-31T14:59:34.523Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-31T14:59:34.523Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-31T14:59:34.523Z] [ 84%] Built target device-random [2021-07-31T14:59:34.523Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-31T14:59:34.523Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-31T14:59:34.523Z] [ 87%] Built target device-gyro [2021-07-31T14:59:34.523Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-31T14:59:34.523Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-31T14:59:34.523Z] [ 90%] Built target device-bitfields [2021-07-31T14:59:34.523Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-31T14:59:34.523Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-31T14:59:34.523Z] [ 93%] Built target template-discovery [2021-07-31T14:59:34.523Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-31T14:59:34.523Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-31T14:59:34.523Z] [ 96%] Built target device-file [2021-07-31T14:59:34.523Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-31T14:59:34.523Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-31T14:59:34.523Z] [100%] Built target device-terminal [2021-07-31T14:59:34.523Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-07-31T14:59:34.523Z] Install the project... [2021-07-31T14:59:34.523Z] -- Install configuration: "Release" [2021-07-31T14:59:34.523Z] -- Installing: /usr/local/lib/libcsdk.so [2021-07-31T14:59:34.523Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-07-31T14:59:34.523Z] -- Up-to-date: /usr/local/include [2021-07-31T14:59:34.523Z] -- Installing: /usr/local/include/devsdk [2021-07-31T14:59:34.523Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-07-31T14:59:34.523Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-07-31T14:59:34.523Z] -- Installing: /usr/local/include/edgex [2021-07-31T14:59:34.523Z] -- Installing: /usr/local/include/edgex/devices.h [2021-07-31T14:59:34.523Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-07-31T14:59:34.523Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-07-31T14:59:34.523Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-07-31T14:59:34.523Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-07-31T14:59:34.523Z] -- Installing: /usr/local/include/edgex/secrets.h [2021-07-31T14:59:34.523Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-07-31T14:59:34.523Z] -- Installing: /usr/local/include/iot [2021-07-31T14:59:34.523Z] -- Installing: /usr/local/include/iot/base64.h [2021-07-31T14:59:34.523Z] -- Installing: /usr/local/include/iot/component.h [2021-07-31T14:59:34.523Z] -- Installing: /usr/local/include/iot/config.h [2021-07-31T14:59:34.523Z] -- Installing: /usr/local/include/iot/container.h [2021-07-31T14:59:34.523Z] -- Installing: /usr/local/include/iot/data.h [2021-07-31T14:59:34.523Z] -- Installing: /usr/local/include/iot/hash.h [2021-07-31T14:59:34.523Z] -- Installing: /usr/local/include/iot/iot.h [2021-07-31T14:59:34.523Z] -- Installing: /usr/local/include/iot/json.h [2021-07-31T14:59:34.523Z] -- Installing: /usr/local/include/iot/logger.h [2021-07-31T14:59:34.523Z] -- Installing: /usr/local/include/iot/os.h [2021-07-31T14:59:34.523Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-07-31T14:59:34.523Z] -- Installing: /usr/local/include/iot/thread.h [2021-07-31T14:59:34.523Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-07-31T14:59:34.523Z] -- Installing: /usr/local/include/iot/time.h [2021-07-31T14:59:34.523Z] -- Installing: /usr/local/include/iot/typecode.h [2021-07-31T14:59:34.523Z] -- Installing: /usr/local/include/iot/os [2021-07-31T14:59:34.523Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-07-31T14:59:34.523Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-07-31T14:59:34.523Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-07-31T14:59:34.523Z] -- Installing: /usr/local/include/iot/defs.h [2021-07-31T14:59:34.523Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-07-31T14:59:34.523Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-07-31T14:59:34.523Z] make: Leaving directory '/tmp/sdk/build/release' [2021-07-31T14:59:34.924Z] ---> c3004a2c45ba [2021-07-31T14:59:34.924Z] Step 12/25 : COPY scripts /tmp/sdk/scripts [2021-07-31T14:59:35.118Z] Removing intermediate container 28a4f893b451 [2021-07-31T14:59:35.118Z] ---> 23c4abbef03e [2021-07-31T14:59:35.118Z] Step 16/25 : FROM ${BASE} [2021-07-31T14:59:35.118Z] ---> ac6a0feb3254 [2021-07-31T14:59:35.118Z] Step 17/25 : LABEL maintainer="IOTech " [2021-07-31T14:59:35.118Z] ---> Running in a5e8a8518c1d [2021-07-31T14:59:35.118Z] Removing intermediate container a5e8a8518c1d [2021-07-31T14:59:35.118Z] ---> a13606cacf0c [2021-07-31T14:59:35.118Z] 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-07-31T14:59:35.118Z] ---> Running in 012230ce0fae [2021-07-31T14:59:35.708Z] Connecting to iotech.jfrog.io (54.170.66.44:443) [2021-07-31T14:59:35.901Z] ---> 07da21699e7d [2021-07-31T14:59:35.902Z] Step 13/25 : COPY LICENSE /tmp/sdk [2021-07-31T14:59:35.976Z] saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-07-31T14:59:35.976Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-07-31T14:59:35.976Z] '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [2021-07-31T14:59:36.249Z] Removing intermediate container 012230ce0fae [2021-07-31T14:59:36.249Z] ---> 4fe380085122 [2021-07-31T14:59:36.249Z] Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-07-31T14:59:36.249Z] ---> Running in 712c46432089 [2021-07-31T14:59:36.498Z] ---> aa1b930827a8 [2021-07-31T14:59:36.498Z] Step 14/25 : COPY Attribution.txt /tmp/sdk [2021-07-31T14:59:36.523Z] Removing intermediate container 712c46432089 [2021-07-31T14:59:36.523Z] ---> 03372abc6154 [2021-07-31T14:59:36.523Z] 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-07-31T14:59:36.523Z] ---> Running in a17c4993d828 [2021-07-31T14:59:36.792Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-07-31T14:59:37.377Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-07-31T14:59:37.477Z] ---> ed28946754de [2021-07-31T14:59:37.477Z] Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-07-31T14:59:37.477Z] ---> Running in cc8efebfab63 [2021-07-31T14:59:37.958Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz [2021-07-31T14:59:38.224Z] (1/7) Installing curl (7.78.0-r0) [2021-07-31T14:59:38.490Z] (2/7) Installing hiredis (0.14.1-r0) [2021-07-31T14:59:38.490Z] (3/7) Installing hiredis-dev (0.14.1-r0) [2021-07-31T14:59:38.490Z] (4/7) Installing libuuid (2.35.2-r0) [2021-07-31T14:59:38.757Z] (5/7) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-07-31T14:59:38.915Z] + CPPCHECK=false [2021-07-31T14:59:38.915Z] + DOCGEN=false [2021-07-31T14:59:38.915Z] + TOMLVER=SDK-0.2 [2021-07-31T14:59:38.915Z] + CUTILVER=1.1.4 [2021-07-31T14:59:38.915Z] + '[' 0 -gt 0 ] [2021-07-31T14:59:38.915Z] + readlink -f ./scripts/build.sh [2021-07-31T14:59:38.915Z] + dirname /tmp/sdk/scripts/build.sh [2021-07-31T14:59:38.915Z] + dirname /tmp/sdk/scripts [2021-07-31T14:59:38.915Z] + ROOT=/tmp/sdk [2021-07-31T14:59:38.915Z] + cd /tmp/sdk [2021-07-31T14:59:38.915Z] + '[' '!' -d deps ] [2021-07-31T14:59:38.915Z] + mkdir deps [2021-07-31T14:59:38.915Z] + + tarwget -C -O deps - -z https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz -x -f [2021-07-31T14:59:38.915Z] - [2021-07-31T14:59:38.915Z] --2021-07-31 14:59:38-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-07-31T14:59:38.915Z] Resolving github.com (github.com)... 140.82.112.4 [2021-07-31T14:59:38.915Z] Connecting to github.com (github.com)|140.82.112.4|:443... connected. [2021-07-31T14:59:38.915Z] HTTP request sent, awaiting response... 302 Found [2021-07-31T14:59:38.915Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-07-31T14:59:38.915Z] --2021-07-31 14:59:38-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-07-31T14:59:38.915Z] Resolving codeload.github.com (codeload.github.com)... 140.82.112.9 [2021-07-31T14:59:38.915Z] Connecting to codeload.github.com (codeload.github.com)|140.82.112.9|:443... connected. [2021-07-31T14:59:38.915Z] HTTP request sent, awaiting response... 200 OK [2021-07-31T14:59:38.915Z] Length: unspecified [application/x-gzip] [2021-07-31T14:59:38.915Z] Saving to: 'STDOUT' [2021-07-31T14:59:38.915Z] [2021-07-31T14:59:38.915Z] 0K .......... ...... 1.02M=0.02s [2021-07-31T14:59:38.915Z] [2021-07-31T14:59:38.915Z] 2021-07-31 14:59:38 (1.02 MB/s) - written to stdout [16451] [2021-07-31T14:59:38.915Z] [2021-07-31T14:59:38.915Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-07-31T14:59:38.915Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-07-31T14:59:38.915Z] + tar -C deps -z -x -f - [2021-07-31T14:59:38.915Z] --2021-07-31 14:59:38-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-07-31T14:59:39.190Z] Resolving github.com (github.com)... 140.82.112.4 [2021-07-31T14:59:39.190Z] Connecting to github.com (github.com)|140.82.112.4|:443... connected. [2021-07-31T14:59:39.190Z] HTTP request sent, awaiting response... 302 Found [2021-07-31T14:59:39.190Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] [2021-07-31T14:59:39.190Z] --2021-07-31 14:59:39-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [2021-07-31T14:59:39.190Z] Resolving codeload.github.com (codeload.github.com)... 140.82.112.9 [2021-07-31T14:59:39.190Z] Connecting to codeload.github.com (codeload.github.com)|140.82.112.9|:443... connected. [2021-07-31T14:59:39.190Z] HTTP request sent, awaiting response... 200 OK [2021-07-31T14:59:39.190Z] Length: unspecified [application/x-gzip] [2021-07-31T14:59:39.190Z] Saving to: 'STDOUT' [2021-07-31T14:59:39.190Z] [2021-07-31T14:59:39.190Z] 0K .......... .......... .......... .......... .......... 1.35M [2021-07-31T14:59:39.190Z] 50K .......... .......... .......... .......... .......... 2.61M [2021-07-31T14:59:39.463Z] 100K .......... .......... .......... .......... .......... 8.14M [2021-07-31T14:59:39.463Z] 150K .......... .......... ....... 1.56M=0.08s [2021-07-31T14:59:39.463Z] [2021-07-31T14:59:39.463Z] 2021-07-31 14:59:39 (2.22 MB/s) - written to stdout [181796] [2021-07-31T14:59:39.463Z] [2021-07-31T14:59:39.463Z] + mkdir -p src/c/iot [2021-07-31T14:59:39.463Z] + 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-07-31T14:59:39.463Z] + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot [2021-07-31T14:59:39.463Z] + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot [2021-07-31T14:59:39.463Z] + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot [2021-07-31T14:59:39.463Z] + mkdir -p include/iot [2021-07-31T14:59:39.463Z] + 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-07-31T14:59:39.463Z] + mkdir -p include/iot/os [2021-07-31T14:59:39.463Z] + 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-07-31T14:59:39.463Z] + mkdir -p /tmp/sdk/build/release [2021-07-31T14:59:39.463Z] + cd /tmp/sdk/build/release [2021-07-31T14:59:39.463Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-07-31T14:59:39.716Z] (6/7) Installing libidn2 (2.3.0-r0) [2021-07-31T14:59:39.735Z] -- The C compiler identification is GNU 9.3.0 [2021-07-31T14:59:39.735Z] -- Check for working C compiler: /usr/bin/cc [2021-07-31T14:59:39.982Z] (7/7) Installing wget (1.20.3-r1) [2021-07-31T14:59:40.007Z] -- Check for working C compiler: /usr/bin/cc - works [2021-07-31T14:59:40.007Z] -- Detecting C compiler ABI info [2021-07-31T14:59:40.250Z] Executing busybox-1.31.1-r20.trigger [2021-07-31T14:59:40.250Z] OK: 286 MiB in 82 packages [2021-07-31T14:59:40.279Z] -- Detecting C compiler ABI info - done [2021-07-31T14:59:40.279Z] -- Detecting C compile features [2021-07-31T14:59:40.279Z] -- Detecting C compile features - done [2021-07-31T14:59:40.279Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-07-31T14:59:40.516Z] Removing intermediate container a17c4993d828 [2021-07-31T14:59:40.517Z] ---> dc49eaa9fe8c [2021-07-31T14:59:40.517Z] Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-07-31T14:59:40.553Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") [2021-07-31T14:59:40.553Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-07-31T14:59:40.553Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-07-31T14:59:40.553Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-07-31T14:59:40.553Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-07-31T14:59:40.553Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-07-31T14:59:40.553Z] -- C SDK 0.0.0 for Linux [2021-07-31T14:59:40.553Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-07-31T14:59:40.785Z] ---> fa36fd40d115 [2021-07-31T14:59:40.785Z] Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-07-31T14:59:40.785Z] ---> 88e77713dd44 [2021-07-31T14:59:40.785Z] Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-07-31T14:59:40.827Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-07-31T14:59:41.057Z] ---> 0be610b2063f [2021-07-31T14:59:41.058Z] Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-07-31T14:59:41.100Z] -- Found Curses: /usr/lib/libcurses.so [2021-07-31T14:59:41.100Z] -- Configuring done [2021-07-31T14:59:41.328Z] ---> f0e55f27cbff [2021-07-31T14:59:41.328Z] Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-07-31T14:59:41.328Z] ---> f31276744617 [2021-07-31T14:59:41.328Z] Successfully built f31276744617 [2021-07-31T14:59:41.328Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [2021-07-31T14:59:41.373Z] -- Generating done [2021-07-31T14:59:41.373Z] -- Build files have been written to: /tmp/sdk/build/release [2021-07-31T14:59:41.373Z] + make all package [2021-07-31T14:59:41.373Z] + tee release.log [2021-07-31T14:59:41.373Z] Scanning dependencies of target csdk [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-31T14:59:41.646Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-07-31T14:59:41.860Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-31T14:59:41.860Z] . [Pipeline] withDockerContainer [2021-07-31T14:59:41.970Z] prd-centos7-docker-4c-2g-1265 does not seem to be running inside a container [2021-07-31T14:59:42.038Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/8 -v /w/workspace/device-sdk-c/8:/w/workspace/device-sdk-c/8:rw,z -v /w/workspace/device-sdk-c/8@tmp:/w/workspace/device-sdk-c/8@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 ******** ci-base-image-x86_64 cat [2021-07-31T14:59:42.242Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-07-31T14:59:42.474Z] $ docker top dbe075bf4d4ad66a6e707ed3b5f9bf80c0ff32a2319284ee3f01699dc0e23746 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-31T14:59:42.835Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-07-31T14:59:42.929Z] + make test [2021-07-31T14:59:42.929Z] echo "make test" [2021-07-31T14:59:42.929Z] make test [Pipeline] } [2021-07-31T14:59:42.947Z] $ docker stop --time=1 dbe075bf4d4ad66a6e707ed3b5f9bf80c0ff32a2319284ee3f01699dc0e23746 [2021-07-31T14:59:44.177Z] $ docker rm -f dbe075bf4d4ad66a6e707ed3b5f9bf80c0ff32a2319284ee3f01699dc0e23746 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2021-07-31T14:59:44.817Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-07-31T14:59:45.413Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-07-31T14:59:45.413Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-07-31T14:59:46.391Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-07-31T14:59:46.665Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-07-31T14:59:46.937Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [Pipeline] sh [2021-07-31T14:59:47.276Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-07-31T14:59:47.593Z] + ls -al . [2021-07-31T14:59:47.593Z] total 160 [2021-07-31T14:59:47.593Z] drwxrwxr-x. 8 jenkins jenkins 260 Jul 31 14:58 . [2021-07-31T14:59:47.593Z] drwxrwxr-x. 4 jenkins jenkins 28 Jul 31 14:58 .. [2021-07-31T14:59:47.593Z] -rw-rw-r--. 1 jenkins jenkins 3104 Jul 31 14:58 Attribution.txt [2021-07-31T14:59:47.594Z] -rw-rw-r--. 1 jenkins jenkins 7556 Jul 31 14:58 CHANGES [2021-07-31T14:59:47.594Z] drwxrwxr-x. 2 jenkins jenkins 121 Jul 31 14:58 docs [2021-07-31T14:59:47.594Z] -rw-rw-r--. 1 jenkins jenkins 108574 Jul 31 14:58 Doxyfile [2021-07-31T14:59:47.594Z] drwxrwxr-x. 8 jenkins jenkins 179 Jul 31 14:58 .git [2021-07-31T14:59:47.594Z] drwxrwxr-x. 2 jenkins jenkins 81 Jul 31 14:58 .github [2021-07-31T14:59:47.594Z] -rw-rw-r--. 1 jenkins jenkins 176 Jul 31 14:58 .gitignore [2021-07-31T14:59:47.594Z] drwxrwxr-x. 4 jenkins jenkins 33 Jul 31 14:58 include [2021-07-31T14:59:47.594Z] -rw-rw-r--. 1 jenkins jenkins 784 Jul 31 14:58 Jenkinsfile [2021-07-31T14:59:47.594Z] -rw-rw-r--. 1 jenkins jenkins 10174 Jul 31 14:58 LICENSE [2021-07-31T14:59:47.594Z] -rw-rw-r--. 1 jenkins jenkins 444 Jul 31 14:58 Makefile [2021-07-31T14:59:47.594Z] -rw-rw-r--. 1 jenkins jenkins 4086 Jul 31 14:58 README.md [2021-07-31T14:59:47.594Z] -rw-rw-r--. 1 jenkins jenkins 7090 Jul 31 14:58 README.v2.md [2021-07-31T14:59:47.594Z] drwxrwxr-x. 2 jenkins jenkins 98 Jul 31 14:58 scripts [2021-07-31T14:59:47.594Z] drwxrwxr-x. 4 jenkins jenkins 50 Jul 31 14:58 src [2021-07-31T14:59:47.594Z] -rw-rw-r--. 1 jenkins jenkins 5 Jul 31 14:55 VERSION [Pipeline] isUnix [Pipeline] sh [2021-07-31T14:59:47.915Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-07-31T14:59:47.922Z] + 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=225915a1cbd3aafd6d4023b4944ee28c01151ceb --label arch=amd64 --label version=0.0.0 . [2021-07-31T14:59:47.923Z] Sending build context to Docker daemon 2.694MB [2021-07-31T14:59:47.923Z] Step 1/17 : ARG BASE=alpine:3.12 [2021-07-31T14:59:47.923Z] Step 2/17 : FROM ${BASE} [2021-07-31T14:59:47.923Z] ---> f31276744617 [2021-07-31T14:59:47.923Z] Step 3/17 : LABEL maintainer="IOTech " [2021-07-31T14:59:47.923Z] ---> Running in 5c829653b6f5 [2021-07-31T14:59:48.189Z] Removing intermediate container 5c829653b6f5 [2021-07-31T14:59:48.189Z] ---> cad5d960faf2 [2021-07-31T14:59:48.189Z] 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-07-31T14:59:48.189Z] ---> Running in 588b6ecbff14 [2021-07-31T14:59:48.460Z] --2021-07-31 14:59:48-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub [2021-07-31T14:59:48.460Z] Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.170.66.44, 54.229.110.245, 54.195.244.87 [2021-07-31T14:59:48.460Z] Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.170.66.44|:443... connected. [2021-07-31T14:59:48.726Z] HTTP request sent, awaiting response... 200 OK [2021-07-31T14:59:48.726Z] Length: 451 [application/octet-stream] [2021-07-31T14:59:48.726Z] Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-07-31T14:59:48.726Z]  [2021-07-31T14:59:48.726Z] 0K 100% 44.0M=0s [2021-07-31T14:59:48.726Z] [2021-07-31T14:59:48.726Z] 2021-07-31 14:59:48 (44.0 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] [2021-07-31T14:59:48.726Z] [2021-07-31T14:59:48.992Z] Removing intermediate container 588b6ecbff14 [2021-07-31T14:59:48.992Z] ---> 502118883999 [2021-07-31T14:59:48.992Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-07-31T14:59:48.992Z] ---> Running in 3d7807d8190a [2021-07-31T14:59:49.598Z] Removing intermediate container 3d7807d8190a [2021-07-31T14:59:49.598Z] ---> 2b441f579738 [2021-07-31T14:59:49.598Z] 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-07-31T14:59:49.598Z] ---> Running in d5cd9cac5dab [2021-07-31T14:59:49.865Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-07-31T14:59:49.884Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-07-31T14:59:50.155Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-07-31T14:59:50.449Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-07-31T14:59:50.716Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz [2021-07-31T14:59:50.749Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-07-31T14:59:51.301Z] (1/16) Installing ncurses-dev (6.2_p20200523-r0) [2021-07-31T14:59:51.301Z] (2/16) Installing libblkid (2.35.2-r0) [2021-07-31T14:59:51.301Z] (3/16) Installing blkid (2.35.2-r0) [2021-07-31T14:59:51.341Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-07-31T14:59:51.570Z] (4/16) Installing libcap-ng (0.7.10-r1) [2021-07-31T14:59:51.570Z] (5/16) Installing setpriv (2.35.2-r0) [2021-07-31T14:59:51.570Z] (6/16) Installing libmount (2.35.2-r0) [2021-07-31T14:59:51.614Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-07-31T14:59:51.837Z] (7/16) Installing libsmartcols (2.35.2-r0) [2021-07-31T14:59:51.837Z] (8/16) Installing findmnt (2.35.2-r0) [2021-07-31T14:59:51.889Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-07-31T14:59:52.105Z] (9/16) Installing mcookie (2.35.2-r0) [2021-07-31T14:59:52.105Z] (10/16) Installing hexdump (2.35.2-r0) [2021-07-31T14:59:52.105Z] (11/16) Installing lsblk (2.35.2-r0) [2021-07-31T14:59:52.168Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-07-31T14:59:52.371Z] (12/16) Installing libfdisk (2.35.2-r0) [2021-07-31T14:59:52.371Z] (13/16) Installing sfdisk (2.35.2-r0) [2021-07-31T14:59:52.371Z] (14/16) Installing cfdisk (2.35.2-r0) [2021-07-31T14:59:52.638Z] (15/16) Installing util-linux (2.35.2-r0) [2021-07-31T14:59:52.906Z] (16/16) Installing util-linux-dev (2.35.2-r0) [2021-07-31T14:59:53.176Z] Executing busybox-1.31.1-r20.trigger [2021-07-31T14:59:53.177Z] OK: 295 MiB in 98 packages [2021-07-31T14:59:53.448Z] Removing intermediate container d5cd9cac5dab [2021-07-31T14:59:53.448Z] ---> f53e7a1c5ad0 [2021-07-31T14:59:53.448Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2021-07-31T14:59:53.713Z] ---> c22245eaab22 [2021-07-31T14:59:53.713Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2021-07-31T14:59:53.981Z] ---> a3d3dd7d99d6 [2021-07-31T14:59:53.981Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2021-07-31T14:59:53.981Z] ---> e738d599b312 [2021-07-31T14:59:53.981Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2021-07-31T14:59:54.248Z] ---> 494b1a50e2fc [2021-07-31T14:59:54.248Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2021-07-31T14:59:54.248Z] ---> b456e3fc5895 [2021-07-31T14:59:54.248Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2021-07-31T14:59:54.515Z] ---> 45df6dd831ca [2021-07-31T14:59:54.515Z] Step 13/17 : WORKDIR /edgex-c-sdk [2021-07-31T14:59:54.515Z] ---> Running in bdf46bdfb638 [2021-07-31T14:59:54.515Z] Removing intermediate container bdf46bdfb638 [2021-07-31T14:59:54.515Z] ---> c1c78427ec7b [2021-07-31T14:59:54.515Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-07-31T14:59:54.780Z] ---> Running in 8d876ea6f18f [2021-07-31T14:59:54.780Z] Removing intermediate container 8d876ea6f18f [2021-07-31T14:59:54.780Z] ---> 625a138b7d9f [2021-07-31T14:59:54.780Z] Step 15/17 : LABEL arch=amd64 [2021-07-31T14:59:54.780Z] ---> Running in 9bfd006b2230 [2021-07-31T14:59:55.047Z] Removing intermediate container 9bfd006b2230 [2021-07-31T14:59:55.047Z] ---> 18fd0d7b0b44 [2021-07-31T14:59:55.047Z] Step 16/17 : LABEL git_sha=225915a1cbd3aafd6d4023b4944ee28c01151ceb [2021-07-31T14:59:55.047Z] ---> Running in 7be10fd1f193 [2021-07-31T14:59:55.047Z] Removing intermediate container 7be10fd1f193 [2021-07-31T14:59:55.047Z] ---> 23a2cdf931a1 [2021-07-31T14:59:55.047Z] Step 17/17 : LABEL version=0.0.0 [2021-07-31T14:59:55.047Z] ---> Running in d8b8892fcbae [2021-07-31T14:59:55.314Z] Removing intermediate container d8b8892fcbae [2021-07-31T14:59:55.314Z] ---> 98428abfd307 [2021-07-31T14:59:55.314Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-07-31T14:59:55.314Z] Successfully built 98428abfd307 [2021-07-31T14:59:55.314Z] Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [2021-07-31T14:59:55.544Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-07-31T14:59:55.544Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-07-31T14:59:55.544Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-31T14:59:55.816Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-07-31T14:59:56.075Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-31T14:59:56.075Z] [2021-07-31T14:59:56.075Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-07-31T14:59:56.404Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-31T14:59:56.404Z] latest: Pulling from edgex-lftools-log-publisher [2021-07-31T14:59:56.404Z] b4d181a07f80: Pulling fs layer [2021-07-31T14:59:56.404Z] a1111a8f2ec3: Pulling fs layer [2021-07-31T14:59:56.404Z] ed53099fbce6: Pulling fs layer [2021-07-31T14:59:56.404Z] dc539afda2c1: Pulling fs layer [2021-07-31T14:59:56.404Z] 77bc0d833cb6: Pulling fs layer [2021-07-31T14:59:56.404Z] 9065ff56babe: Pulling fs layer [2021-07-31T14:59:56.404Z] d287ab97295c: Pulling fs layer [2021-07-31T14:59:56.404Z] 77bc0d833cb6: Waiting [2021-07-31T14:59:56.404Z] 9065ff56babe: Waiting [2021-07-31T14:59:56.404Z] d287ab97295c: Waiting [2021-07-31T14:59:56.404Z] dc539afda2c1: Waiting [2021-07-31T14:59:56.410Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-07-31T14:59:56.670Z] a1111a8f2ec3: Verifying Checksum [2021-07-31T14:59:56.671Z] a1111a8f2ec3: Download complete [2021-07-31T14:59:56.671Z] dc539afda2c1: Verifying Checksum [2021-07-31T14:59:56.671Z] dc539afda2c1: Download complete [2021-07-31T14:59:56.937Z] 77bc0d833cb6: Verifying Checksum [2021-07-31T14:59:56.937Z] 77bc0d833cb6: Download complete [2021-07-31T14:59:56.937Z] 9065ff56babe: Verifying Checksum [2021-07-31T14:59:56.937Z] 9065ff56babe: Download complete [2021-07-31T14:59:57.005Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-07-31T14:59:57.204Z] ed53099fbce6: Verifying Checksum [2021-07-31T14:59:57.204Z] ed53099fbce6: Download complete [2021-07-31T14:59:57.793Z] b4d181a07f80: Verifying Checksum [2021-07-31T14:59:57.793Z] b4d181a07f80: Download complete [2021-07-31T14:59:59.218Z] b4d181a07f80: Pull complete [2021-07-31T14:59:59.218Z] a1111a8f2ec3: Pull complete [2021-07-31T14:59:59.618Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-07-31T14:59:59.619Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-07-31T14:59:59.805Z] ed53099fbce6: Pull complete [2021-07-31T14:59:59.805Z] dc539afda2c1: Pull complete [2021-07-31T14:59:59.890Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-07-31T15:00:00.070Z] 77bc0d833cb6: Pull complete [2021-07-31T15:00:00.070Z] 9065ff56babe: Pull complete [2021-07-31T15:00:00.484Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-07-31T15:00:01.079Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-07-31T15:00:01.080Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-07-31T15:00:01.480Z] d287ab97295c: Verifying Checksum [2021-07-31T15:00:01.480Z] d287ab97295c: Download complete [2021-07-31T15:00:02.105Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-07-31T15:00:02.709Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-07-31T15:00:03.315Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-07-31T15:00:03.315Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-07-31T15:00:05.299Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-07-31T15:00:05.807Z] d287ab97295c: Pull complete [2021-07-31T15:00:05.807Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-07-31T15:00:05.807Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-31T15:00:05.807Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-07-31T15:00:05.893Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-07-31T15:00:05.904Z] prd-centos7-docker-4c-2g-1265 does not seem to be running inside a container [2021-07-31T15:00:05.972Z] $ 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/8 -v /w/workspace/device-sdk-c/8:/w/workspace/device-sdk-c/8:rw,z -v /w/workspace/device-sdk-c/8@tmp:/w/workspace/device-sdk-c/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-07-31T15:00:06.868Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-07-31T15:00:06.868Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-07-31T15:00:08.116Z] $ docker top 63a5107f7ae56d38b82b243b41c5902698c03ef926f083a4913f3a51f363f027 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-31T15:00:08.726Z] ---> job-cost.sh [2021-07-31T15:00:08.726Z] lf-activate-venv: SKIPPING [2021-07-31T15:00:08.726Z] INFO: No Stack... [2021-07-31T15:00:09.685Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-31T15:00:10.267Z] INFO: Archiving Costs [Pipeline] sh [2021-07-31T15:00:10.593Z] + cat /w/workspace/device-sdk-c/8/archives/cost.csv [2021-07-31T15:00:10.593Z] + cut -d, -f6 [Pipeline] lock [2021-07-31T15:00:10.635Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-357-8-stack-cost] [2021-07-31T15:00:10.647Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-357-8-stack-cost] did not exist. Created. [2021-07-31T15:00:10.647Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-357-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-31T15:00:10.992Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-07-31T15:00:11.169Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-07-31T15:00:11.244Z] Stashed 1 file(s) [Pipeline] } [2021-07-31T15:00:11.256Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-357-8-stack-cost] [Pipeline] // lock [Pipeline] } [2021-07-31T15:00:11.284Z] $ docker stop --time=1 63a5107f7ae56d38b82b243b41c5902698c03ef926f083a4913f3a51f363f027 [2021-07-31T15:00:11.445Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-07-31T15:00:12.045Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-07-31T15:00:12.433Z] $ docker rm -f 63a5107f7ae56d38b82b243b41c5902698c03ef926f083a4913f3a51f363f027 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [2021-07-31T15:00:12.644Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-07-31T15:00:13.237Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-07-31T15:00:15.209Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-07-31T15:00:15.209Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-07-31T15:00:15.482Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-07-31T15:00:16.080Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-07-31T15:00:18.069Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-07-31T15:00:21.444Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-07-31T15:00:22.039Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-07-31T15:00:22.310Z] [ 75%] Linking C shared library libcsdk.so [2021-07-31T15:00:22.582Z] [ 75%] Built target csdk [2021-07-31T15:00:22.582Z] Scanning dependencies of target template [2021-07-31T15:00:22.582Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-07-31T15:00:23.175Z] [ 78%] Linking C executable template [2021-07-31T15:00:23.447Z] [ 78%] Built target template [2021-07-31T15:00:23.447Z] Scanning dependencies of target device-counter [2021-07-31T15:00:23.447Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-07-31T15:00:24.040Z] [ 81%] Linking C executable device-counter [2021-07-31T15:00:24.313Z] [ 81%] Built target device-counter [2021-07-31T15:00:24.313Z] Scanning dependencies of target device-random [2021-07-31T15:00:24.313Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-07-31T15:00:24.586Z] [ 84%] Linking C executable device-random [2021-07-31T15:00:24.858Z] [ 84%] Built target device-random [2021-07-31T15:00:24.858Z] Scanning dependencies of target device-gyro [2021-07-31T15:00:24.858Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-07-31T15:00:25.456Z] [ 87%] Linking C executable device-gyro [2021-07-31T15:00:25.456Z] [ 87%] Built target device-gyro [2021-07-31T15:00:25.456Z] Scanning dependencies of target device-bitfields [2021-07-31T15:00:25.456Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-07-31T15:00:26.054Z] [ 90%] Linking C executable device-bitfields [2021-07-31T15:00:26.327Z] [ 90%] Built target device-bitfields [2021-07-31T15:00:26.327Z] Scanning dependencies of target template-discovery [2021-07-31T15:00:26.327Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-07-31T15:00:26.922Z] [ 93%] Linking C executable template-discovery [2021-07-31T15:00:27.196Z] [ 93%] Built target template-discovery [2021-07-31T15:00:27.196Z] Scanning dependencies of target device-file [2021-07-31T15:00:27.196Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-07-31T15:00:27.795Z] [ 96%] Linking C executable device-file [2021-07-31T15:00:28.068Z] [ 96%] Built target device-file [2021-07-31T15:00:28.068Z] Scanning dependencies of target device-terminal [2021-07-31T15:00:28.068Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-07-31T15:00:28.665Z] [100%] Linking C executable device-terminal [2021-07-31T15:00:28.938Z] [100%] Built target device-terminal [2021-07-31T15:00:28.938Z] Run CPack packaging tool... [2021-07-31T15:00:28.938Z] CPack: Create package using TGZ [2021-07-31T15:00:28.938Z] CPack: Install projects [2021-07-31T15:00:28.938Z] CPack: - Run preinstall target for: Csdk [2021-07-31T15:00:29.534Z] CPack: - Install project: Csdk [] [2021-07-31T15:00:29.534Z] CPack: Create package [2021-07-31T15:00:29.534Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-07-31T15:00:29.534Z] + '[' false '=' true ] [2021-07-31T15:00:29.534Z] + '[' false '=' true ] [2021-07-31T15:00:29.534Z] + mkdir -p /tmp/sdk/build/debug [2021-07-31T15:00:29.534Z] + cd /tmp/sdk/build/debug [2021-07-31T15:00:29.534Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-07-31T15:00:29.806Z] -- The C compiler identification is GNU 9.3.0 [2021-07-31T15:00:29.806Z] -- Check for working C compiler: /usr/bin/cc [2021-07-31T15:00:30.081Z] -- Check for working C compiler: /usr/bin/cc - works [2021-07-31T15:00:30.081Z] -- Detecting C compiler ABI info [2021-07-31T15:00:30.356Z] -- Detecting C compiler ABI info - done [2021-07-31T15:00:30.356Z] -- Detecting C compile features [2021-07-31T15:00:30.356Z] -- Detecting C compile features - done [2021-07-31T15:00:30.631Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-07-31T15:00:30.631Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") [2021-07-31T15:00:30.631Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-07-31T15:00:30.631Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-07-31T15:00:30.631Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-07-31T15:00:30.631Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-07-31T15:00:30.631Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-07-31T15:00:30.631Z] -- C SDK 0.0.0 for Linux [2021-07-31T15:00:30.631Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-07-31T15:00:30.918Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-07-31T15:00:31.201Z] -- Found Curses: /usr/lib/libcurses.so [2021-07-31T15:00:31.201Z] -- Configuring done [2021-07-31T15:00:31.476Z] -- Generating done [2021-07-31T15:00:31.476Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-07-31T15:00:31.476Z] + + maketee debug.log [2021-07-31T15:00:31.476Z] [2021-07-31T15:00:31.476Z] Scanning dependencies of target csdk [2021-07-31T15:00:31.752Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-07-31T15:00:32.025Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-07-31T15:00:32.299Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-07-31T15:00:32.905Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-07-31T15:00:33.179Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-07-31T15:00:33.454Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-07-31T15:00:33.728Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-07-31T15:00:34.000Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-07-31T15:00:34.274Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-07-31T15:00:34.547Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-07-31T15:00:35.144Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-07-31T15:00:35.418Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-07-31T15:00:35.696Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-07-31T15:00:35.970Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-07-31T15:00:36.243Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-07-31T15:00:36.516Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-07-31T15:00:36.789Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-07-31T15:00:37.383Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-07-31T15:00:37.658Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-07-31T15:00:37.658Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-07-31T15:00:37.932Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-07-31T15:00:38.205Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-07-31T15:00:38.478Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-07-31T15:00:39.457Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-07-31T15:00:39.457Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-07-31T15:00:39.729Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-07-31T15:00:40.002Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-07-31T15:00:40.275Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-07-31T15:00:40.275Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-07-31T15:00:40.546Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-07-31T15:00:40.819Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-07-31T15:00:41.092Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-07-31T15:00:41.366Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-07-31T15:00:41.643Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-07-31T15:00:41.916Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-07-31T15:00:42.191Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-07-31T15:00:42.464Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-07-31T15:00:43.445Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-07-31T15:00:43.719Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-07-31T15:00:43.993Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-07-31T15:00:44.265Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-07-31T15:00:44.538Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-07-31T15:00:45.534Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-07-31T15:00:45.807Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-07-31T15:00:46.080Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-07-31T15:00:46.353Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-07-31T15:00:46.949Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-07-31T15:00:47.547Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-07-31T15:00:47.820Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-07-31T15:00:48.095Z] [ 75%] Linking C shared library libcsdk.so [2021-07-31T15:00:48.367Z] [ 75%] Built target csdk [2021-07-31T15:00:48.367Z] Scanning dependencies of target template [2021-07-31T15:00:48.367Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-07-31T15:00:48.642Z] [ 78%] Linking C executable template [2021-07-31T15:00:48.915Z] [ 78%] Built target template [2021-07-31T15:00:48.915Z] Scanning dependencies of target device-counter [2021-07-31T15:00:48.915Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-07-31T15:00:49.190Z] [ 81%] Linking C executable device-counter [2021-07-31T15:00:49.465Z] [ 81%] Built target device-counter [2021-07-31T15:00:49.465Z] Scanning dependencies of target device-random [2021-07-31T15:00:49.465Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-07-31T15:00:49.739Z] [ 84%] Linking C executable device-random [2021-07-31T15:00:50.022Z] [ 84%] Built target device-random [2021-07-31T15:00:50.022Z] Scanning dependencies of target device-gyro [2021-07-31T15:00:50.022Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-07-31T15:00:50.299Z] [ 87%] Linking C executable device-gyro [2021-07-31T15:00:50.572Z] [ 87%] Built target device-gyro [2021-07-31T15:00:50.572Z] Scanning dependencies of target device-bitfields [2021-07-31T15:00:50.572Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-07-31T15:00:50.846Z] [ 90%] Linking C executable device-bitfields [2021-07-31T15:00:51.121Z] [ 90%] Built target device-bitfields [2021-07-31T15:00:51.121Z] Scanning dependencies of target template-discovery [2021-07-31T15:00:51.121Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-07-31T15:00:51.393Z] [ 93%] Linking C executable template-discovery [2021-07-31T15:00:51.666Z] [ 93%] Built target template-discovery [2021-07-31T15:00:51.666Z] Scanning dependencies of target device-file [2021-07-31T15:00:51.666Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-07-31T15:00:51.940Z] [ 96%] Linking C executable device-file [2021-07-31T15:00:52.218Z] [ 96%] Built target device-file [2021-07-31T15:00:52.218Z] Scanning dependencies of target device-terminal [2021-07-31T15:00:52.218Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-07-31T15:00:52.493Z] [100%] Linking C executable device-terminal [2021-07-31T15:00:52.766Z] [100%] Built target device-terminal [2021-07-31T15:00:52.766Z] make: Entering directory '/tmp/sdk/build/release' [2021-07-31T15:00:52.766Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-07-31T15:00:52.766Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-31T15:00:52.766Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-31T15:00:53.039Z] [ 75%] Built target csdk [2021-07-31T15:00:53.039Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-31T15:00:53.039Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-31T15:00:53.039Z] [ 78%] Built target template [2021-07-31T15:00:53.039Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-31T15:00:53.039Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-31T15:00:53.039Z] [ 81%] Built target device-counter [2021-07-31T15:00:53.039Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-31T15:00:53.039Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-31T15:00:53.039Z] [ 84%] Built target device-random [2021-07-31T15:00:53.039Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-31T15:00:53.039Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-31T15:00:53.039Z] [ 87%] Built target device-gyro [2021-07-31T15:00:53.039Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-31T15:00:53.039Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-31T15:00:53.039Z] [ 90%] Built target device-bitfields [2021-07-31T15:00:53.039Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-31T15:00:53.039Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-31T15:00:53.039Z] [ 93%] Built target template-discovery [2021-07-31T15:00:53.039Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-31T15:00:53.312Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-31T15:00:53.312Z] [ 96%] Built target device-file [2021-07-31T15:00:53.312Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-31T15:00:53.312Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-31T15:00:53.312Z] [100%] Built target device-terminal [2021-07-31T15:00:53.312Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-07-31T15:00:53.312Z] Install the project... [2021-07-31T15:00:53.312Z] -- Install configuration: "Release" [2021-07-31T15:00:53.312Z] -- Installing: /usr/local/lib/libcsdk.so [2021-07-31T15:00:53.312Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-07-31T15:00:53.312Z] -- Up-to-date: /usr/local/include [2021-07-31T15:00:53.312Z] -- Installing: /usr/local/include/edgex [2021-07-31T15:00:53.312Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-07-31T15:00:53.312Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-07-31T15:00:53.312Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-07-31T15:00:53.312Z] -- Installing: /usr/local/include/edgex/devices.h [2021-07-31T15:00:53.312Z] -- Installing: /usr/local/include/edgex/secrets.h [2021-07-31T15:00:53.312Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-07-31T15:00:53.312Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-07-31T15:00:53.312Z] -- Installing: /usr/local/include/devsdk [2021-07-31T15:00:53.312Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-07-31T15:00:53.312Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-07-31T15:00:53.312Z] -- Installing: /usr/local/include/iot [2021-07-31T15:00:53.312Z] -- Installing: /usr/local/include/iot/json.h [2021-07-31T15:00:53.312Z] -- Installing: /usr/local/include/iot/container.h [2021-07-31T15:00:53.312Z] -- Installing: /usr/local/include/iot/component.h [2021-07-31T15:00:53.312Z] -- Installing: /usr/local/include/iot/typecode.h [2021-07-31T15:00:53.312Z] -- Installing: /usr/local/include/iot/iot.h [2021-07-31T15:00:53.312Z] -- Installing: /usr/local/include/iot/time.h [2021-07-31T15:00:53.312Z] -- Installing: /usr/local/include/iot/hash.h [2021-07-31T15:00:53.312Z] -- Installing: /usr/local/include/iot/logger.h [2021-07-31T15:00:53.312Z] -- Installing: /usr/local/include/iot/os [2021-07-31T15:00:53.312Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-07-31T15:00:53.312Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-07-31T15:00:53.312Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-07-31T15:00:53.312Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-07-31T15:00:53.312Z] -- Installing: /usr/local/include/iot/data.h [2021-07-31T15:00:53.312Z] -- Installing: /usr/local/include/iot/thread.h [2021-07-31T15:00:53.312Z] -- Installing: /usr/local/include/iot/os.h [2021-07-31T15:00:53.312Z] -- Installing: /usr/local/include/iot/base64.h [2021-07-31T15:00:53.312Z] -- Installing: /usr/local/include/iot/defs.h [2021-07-31T15:00:53.312Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-07-31T15:00:53.312Z] -- Installing: /usr/local/include/iot/config.h [2021-07-31T15:00:53.312Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-07-31T15:00:53.312Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-07-31T15:00:53.312Z] make: Leaving directory '/tmp/sdk/build/release' [2021-07-31T15:00:55.295Z] Removing intermediate container cc8efebfab63 [2021-07-31T15:00:55.295Z] ---> 87fa66be55c3 [2021-07-31T15:00:55.295Z] Step 16/25 : FROM ${BASE} [2021-07-31T15:00:55.295Z] ---> 759262b18b23 [2021-07-31T15:00:55.295Z] Step 17/25 : LABEL maintainer="IOTech " [2021-07-31T15:00:55.569Z] ---> Running in 2abaf824814c [2021-07-31T15:00:56.170Z] Removing intermediate container 2abaf824814c [2021-07-31T15:00:56.170Z] ---> 28183bfe2736 [2021-07-31T15:00:56.170Z] 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-07-31T15:00:56.170Z] ---> Running in 0c4326b9d993 [2021-07-31T15:00:57.608Z] Connecting to iotech.jfrog.io (54.170.66.44:443) [2021-07-31T15:00:57.884Z] saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-07-31T15:00:57.884Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-07-31T15:00:57.884Z] '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [2021-07-31T15:00:58.873Z] Removing intermediate container 0c4326b9d993 [2021-07-31T15:00:58.873Z] ---> 45dbb23b07cf [2021-07-31T15:00:58.873Z] Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-07-31T15:00:58.873Z] ---> Running in c75f21d64fea [2021-07-31T15:01:01.509Z] Removing intermediate container c75f21d64fea [2021-07-31T15:01:01.509Z] ---> faaf417a8fdd [2021-07-31T15:01:01.509Z] 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-07-31T15:01:01.509Z] ---> Running in 3d0c02032b79 [2021-07-31T15:01:02.491Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-07-31T15:01:03.470Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-07-31T15:01:03.743Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz [2021-07-31T15:01:04.725Z] (1/7) Installing curl (7.78.0-r0) [2021-07-31T15:01:04.725Z] (2/7) Installing hiredis (0.14.1-r0) [2021-07-31T15:01:04.725Z] (3/7) Installing hiredis-dev (0.14.1-r0) [2021-07-31T15:01:04.725Z] (4/7) Installing libuuid (2.35.2-r0) [2021-07-31T15:01:04.999Z] (5/7) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-07-31T15:01:06.429Z] (6/7) Installing libidn2 (2.3.0-r0) [2021-07-31T15:01:06.429Z] (7/7) Installing wget (1.20.3-r1) [2021-07-31T15:01:06.703Z] Executing busybox-1.31.1-r20.trigger [2021-07-31T15:01:06.703Z] OK: 267 MiB in 82 packages [2021-07-31T15:01:08.138Z] Removing intermediate container 3d0c02032b79 [2021-07-31T15:01:08.138Z] ---> a617b0e60e10 [2021-07-31T15:01:08.138Z] Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-07-31T15:01:08.736Z] ---> d44a4734eb42 [2021-07-31T15:01:08.736Z] Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-07-31T15:01:09.719Z] ---> e0da6fbd399a [2021-07-31T15:01:09.720Z] Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-07-31T15:01:10.702Z] ---> f44047647cda [2021-07-31T15:01:10.702Z] Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-07-31T15:01:11.684Z] ---> dd9a027d4d0e [2021-07-31T15:01:11.684Z] Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-07-31T15:01:12.283Z] ---> 8f89c8fcc24e [2021-07-31T15:01:12.283Z] Successfully built 8f89c8fcc24e [2021-07-31T15:01:12.283Z] 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-07-31T15:01:12.835Z] + docker inspect -f . ci-base-image-arm64 [2021-07-31T15:01:12.835Z] . [Pipeline] withDockerContainer [2021-07-31T15:01:13.113Z] prd-ubuntu18.04-docker-arm64-4c-16g-1264 does not seem to be running inside a container [2021-07-31T15:01:13.202Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/8 -v /w/workspace/device-sdk-c/8:/w/workspace/device-sdk-c/8:rw,z -v /w/workspace/device-sdk-c/8@tmp:/w/workspace/device-sdk-c/8@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-07-31T15:01:14.893Z] $ docker top 2d9d5a8a9b1b049f35a761d4ba97b75f7a6a6bcc5a58e2f98986d88bcb19b98d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-31T15:01:15.902Z] + make test [2021-07-31T15:01:15.902Z] echo "make test" [2021-07-31T15:01:15.902Z] make test [Pipeline] } [2021-07-31T15:01:15.926Z] $ docker stop --time=1 2d9d5a8a9b1b049f35a761d4ba97b75f7a6a6bcc5a58e2f98986d88bcb19b98d [2021-07-31T15:01:17.844Z] $ docker rm -f 2d9d5a8a9b1b049f35a761d4ba97b75f7a6a6bcc5a58e2f98986d88bcb19b98d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-31T15:01:18.680Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-07-31T15:01:19.024Z] + ls -al . [2021-07-31T15:01:19.024Z] total 192 [2021-07-31T15:01:19.024Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 31 14:58 . [2021-07-31T15:01:19.024Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 31 14:58 .. [2021-07-31T15:01:19.024Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 31 14:58 .git [2021-07-31T15:01:19.024Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 31 14:58 .github [2021-07-31T15:01:19.024Z] -rw-rw-r-- 1 jenkins jenkins 176 Jul 31 14:58 .gitignore [2021-07-31T15:01:19.024Z] -rw-rw-r-- 1 jenkins jenkins 3104 Jul 31 14:58 Attribution.txt [2021-07-31T15:01:19.024Z] -rw-rw-r-- 1 jenkins jenkins 7556 Jul 31 14:58 CHANGES [2021-07-31T15:01:19.024Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jul 31 14:58 Doxyfile [2021-07-31T15:01:19.024Z] -rw-rw-r-- 1 jenkins jenkins 784 Jul 31 14:58 Jenkinsfile [2021-07-31T15:01:19.024Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jul 31 14:58 LICENSE [2021-07-31T15:01:19.024Z] -rw-rw-r-- 1 jenkins jenkins 444 Jul 31 14:58 Makefile [2021-07-31T15:01:19.024Z] -rw-rw-r-- 1 jenkins jenkins 4086 Jul 31 14:58 README.md [2021-07-31T15:01:19.024Z] -rw-rw-r-- 1 jenkins jenkins 7090 Jul 31 14:58 README.v2.md [2021-07-31T15:01:19.024Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 31 14:55 VERSION [2021-07-31T15:01:19.024Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 31 14:58 docs [2021-07-31T15:01:19.024Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 31 14:58 include [2021-07-31T15:01:19.024Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 31 14:58 scripts [2021-07-31T15:01:19.024Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 31 14:58 src [Pipeline] isUnix [Pipeline] sh [2021-07-31T15:01:19.384Z] + 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=a4dda2745948f94e5763d593b356a7cfecee69ca --label arch=arm64 --label version=0.0.0 . [2021-07-31T15:01:19.988Z] Sending build context to Docker daemon 2.692MB [2021-07-31T15:01:19.988Z] Step 1/17 : ARG BASE=alpine:3.12 [2021-07-31T15:01:19.988Z] Step 2/17 : FROM ${BASE} [2021-07-31T15:01:19.988Z] ---> 8f89c8fcc24e [2021-07-31T15:01:19.988Z] Step 3/17 : LABEL maintainer="IOTech " [2021-07-31T15:01:20.262Z] ---> Running in 6993fdd95892 [2021-07-31T15:01:20.862Z] Removing intermediate container 6993fdd95892 [2021-07-31T15:01:20.862Z] ---> 02bf59a0e4c9 [2021-07-31T15:01:20.862Z] 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-07-31T15:01:20.862Z] ---> Running in dd72de77941f [2021-07-31T15:01:22.297Z] --2021-07-31 15:01:22-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub [2021-07-31T15:01:22.297Z] Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.229.110.245, 54.170.66.44, 54.195.244.87 [2021-07-31T15:01:22.297Z] Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.229.110.245|:443... connected. [2021-07-31T15:01:22.571Z] HTTP request sent, awaiting response... 200 OK [2021-07-31T15:01:22.572Z] Length: 451 [application/octet-stream] [2021-07-31T15:01:22.572Z] Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-07-31T15:01:22.572Z]  [2021-07-31T15:01:22.572Z] 0K 100% 19.2M=0s [2021-07-31T15:01:22.572Z] [2021-07-31T15:01:22.572Z] 2021-07-31 15:01:22 (19.2 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] [2021-07-31T15:01:22.572Z] [2021-07-31T15:01:23.552Z] Removing intermediate container dd72de77941f [2021-07-31T15:01:23.552Z] ---> d31f35ccea33 [2021-07-31T15:01:23.552Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-07-31T15:01:23.825Z] ---> Running in a7bf5d1f135f [2021-07-31T15:01:25.804Z] Removing intermediate container a7bf5d1f135f [2021-07-31T15:01:25.804Z] ---> 63ad1086e69d [2021-07-31T15:01:25.804Z] 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-07-31T15:01:26.078Z] ---> Running in e20fc534091f [2021-07-31T15:01:27.062Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-07-31T15:01:28.037Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-07-31T15:01:28.309Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz [2021-07-31T15:01:28.901Z] (1/16) Installing ncurses-dev (6.2_p20200523-r0) [2021-07-31T15:01:29.172Z] (2/16) Installing libblkid (2.35.2-r0) [2021-07-31T15:01:29.172Z] (3/16) Installing blkid (2.35.2-r0) [2021-07-31T15:01:29.172Z] (4/16) Installing libcap-ng (0.7.10-r1) [2021-07-31T15:01:29.444Z] (5/16) Installing setpriv (2.35.2-r0) [2021-07-31T15:01:29.444Z] (6/16) Installing libmount (2.35.2-r0) [2021-07-31T15:01:29.444Z] (7/16) Installing libsmartcols (2.35.2-r0) [2021-07-31T15:01:29.726Z] (8/16) Installing findmnt (2.35.2-r0) [2021-07-31T15:01:29.726Z] (9/16) Installing mcookie (2.35.2-r0) [2021-07-31T15:01:29.726Z] (10/16) Installing hexdump (2.35.2-r0) [2021-07-31T15:01:29.726Z] (11/16) Installing lsblk (2.35.2-r0) [2021-07-31T15:01:29.998Z] (12/16) Installing libfdisk (2.35.2-r0) [2021-07-31T15:01:29.998Z] (13/16) Installing sfdisk (2.35.2-r0) [2021-07-31T15:01:29.998Z] (14/16) Installing cfdisk (2.35.2-r0) [2021-07-31T15:01:30.270Z] (15/16) Installing util-linux (2.35.2-r0) [2021-07-31T15:01:30.542Z] (16/16) Installing util-linux-dev (2.35.2-r0) [2021-07-31T15:01:30.815Z] Executing busybox-1.31.1-r20.trigger [2021-07-31T15:01:30.815Z] OK: 276 MiB in 98 packages [2021-07-31T15:01:32.859Z] Removing intermediate container e20fc534091f [2021-07-31T15:01:32.859Z] ---> 1a4e126fca5a [2021-07-31T15:01:32.859Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2021-07-31T15:01:33.471Z] ---> e8d1d78a7b5f [2021-07-31T15:01:33.471Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2021-07-31T15:01:34.496Z] ---> f6b489da41fa [2021-07-31T15:01:34.496Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2021-07-31T15:01:35.510Z] ---> f00da6d61ddc [2021-07-31T15:01:35.510Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2021-07-31T15:01:36.146Z] ---> ed560630a0e7 [2021-07-31T15:01:36.146Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2021-07-31T15:01:37.141Z] ---> 7609a0277fa3 [2021-07-31T15:01:37.141Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2021-07-31T15:01:38.169Z] ---> 6cbab45b6114 [2021-07-31T15:01:38.169Z] Step 13/17 : WORKDIR /edgex-c-sdk [2021-07-31T15:01:38.169Z] ---> Running in 2a5afc363a0c [2021-07-31T15:01:38.800Z] Removing intermediate container 2a5afc363a0c [2021-07-31T15:01:38.801Z] ---> 98bac31ba8ed [2021-07-31T15:01:38.801Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-07-31T15:01:38.801Z] ---> Running in cc37ea73b706 [2021-07-31T15:01:39.399Z] Removing intermediate container cc37ea73b706 [2021-07-31T15:01:39.399Z] ---> 53ee2a413f03 [2021-07-31T15:01:39.399Z] Step 15/17 : LABEL arch=arm64 [2021-07-31T15:01:39.399Z] ---> Running in 5aa9d2b65081 [2021-07-31T15:01:40.001Z] Removing intermediate container 5aa9d2b65081 [2021-07-31T15:01:40.001Z] ---> ba52f9a01553 [2021-07-31T15:01:40.001Z] Step 16/17 : LABEL git_sha=a4dda2745948f94e5763d593b356a7cfecee69ca [2021-07-31T15:01:40.275Z] ---> Running in 8529485030b0 [2021-07-31T15:01:40.870Z] Removing intermediate container 8529485030b0 [2021-07-31T15:01:40.870Z] ---> 8fe02db0d64b [2021-07-31T15:01:40.870Z] Step 17/17 : LABEL version=0.0.0 [2021-07-31T15:01:40.870Z] ---> Running in 6ae516119af6 [2021-07-31T15:01:41.466Z] Removing intermediate container 6ae516119af6 [2021-07-31T15:01:41.466Z] ---> 698cf1938b48 [2021-07-31T15:01:41.466Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-07-31T15:01:41.466Z] Successfully built 698cf1938b48 [2021-07-31T15:01:41.466Z] 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-07-31T15:01:42.157Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-07-31T15:01:42.157Z] [2021-07-31T15:01:42.157Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-07-31T15:01:42.516Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-07-31T15:01:42.789Z] arm64: Pulling from edgex-lftools-log-publisher [2021-07-31T15:01:42.789Z] 448f6bf000e3: Pulling fs layer [2021-07-31T15:01:42.789Z] f757da607395: Pulling fs layer [2021-07-31T15:01:42.789Z] 05883995daec: Pulling fs layer [2021-07-31T15:01:42.789Z] 8603b9c90790: Pulling fs layer [2021-07-31T15:01:42.789Z] 1560dd03e051: Pulling fs layer [2021-07-31T15:01:42.789Z] 27f5ce0e4adf: Pulling fs layer [2021-07-31T15:01:42.789Z] c2d8d7efcc4b: Pulling fs layer [2021-07-31T15:01:42.789Z] 8603b9c90790: Waiting [2021-07-31T15:01:42.789Z] 1560dd03e051: Waiting [2021-07-31T15:01:42.789Z] 27f5ce0e4adf: Waiting [2021-07-31T15:01:42.789Z] c2d8d7efcc4b: Waiting [2021-07-31T15:01:43.062Z] f757da607395: Verifying Checksum [2021-07-31T15:01:43.062Z] f757da607395: Download complete [2021-07-31T15:01:43.062Z] 8603b9c90790: Download complete [2021-07-31T15:01:43.333Z] 1560dd03e051: Verifying Checksum [2021-07-31T15:01:43.333Z] 1560dd03e051: Download complete [2021-07-31T15:01:43.333Z] 05883995daec: Verifying Checksum [2021-07-31T15:01:43.333Z] 05883995daec: Download complete [2021-07-31T15:01:43.604Z] 27f5ce0e4adf: Verifying Checksum [2021-07-31T15:01:43.604Z] 27f5ce0e4adf: Download complete [2021-07-31T15:01:43.875Z] 448f6bf000e3: Verifying Checksum [2021-07-31T15:01:43.875Z] 448f6bf000e3: Download complete [2021-07-31T15:01:47.276Z] c2d8d7efcc4b: Verifying Checksum [2021-07-31T15:01:47.276Z] c2d8d7efcc4b: Download complete [2021-07-31T15:01:47.550Z] 448f6bf000e3: Pull complete [2021-07-31T15:01:48.148Z] f757da607395: Pull complete [2021-07-31T15:01:49.584Z] 05883995daec: Pull complete [2021-07-31T15:01:50.183Z] 8603b9c90790: Pull complete [2021-07-31T15:01:51.161Z] 1560dd03e051: Pull complete [2021-07-31T15:01:51.434Z] 27f5ce0e4adf: Pull complete [2021-07-31T15:02:06.515Z] c2d8d7efcc4b: Pull complete [2021-07-31T15:02:06.515Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-07-31T15:02:06.515Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-07-31T15:02:06.515Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-07-31T15:02:06.748Z] prd-ubuntu18.04-docker-arm64-4c-16g-1264 does not seem to be running inside a container [2021-07-31T15:02:06.837Z] $ 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/8 -v /w/workspace/device-sdk-c/8:/w/workspace/device-sdk-c/8:rw,z -v /w/workspace/device-sdk-c/8@tmp:/w/workspace/device-sdk-c/8@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-07-31T15:02:10.569Z] $ docker top 2a84b732821b63863b1487af660b33fa9e153e639134e8cc6a890ec96dfc75f2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-31T15:02:11.534Z] ---> job-cost.sh [2021-07-31T15:02:11.534Z] lf-activate-venv: SKIPPING [2021-07-31T15:02:11.534Z] INFO: No Stack... [2021-07-31T15:02:12.508Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-07-31T15:02:12.780Z] INFO: Archiving Costs [Pipeline] sh [2021-07-31T15:02:13.445Z] + cat /w/workspace/device-sdk-c/8/archives/cost.csv [2021-07-31T15:02:13.445Z] + cut -d, -f6 [Pipeline] lock [2021-07-31T15:02:13.506Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-357-8-stack-cost] [2021-07-31T15:02:13.514Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-357-8-stack-cost] did not exist. Created. [2021-07-31T15:02:13.515Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-357-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-31T15:02:14.207Z] /w/workspace/device-sdk-c/8@tmp/durable-b8cf416f/script.sh: 1: /w/workspace/device-sdk-c/8@tmp/durable-b8cf416f/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-07-31T15:02:14.882Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-07-31T15:02:14.912Z] Warning: overwriting stash ‘stack-cost’ [2021-07-31T15:02:15.440Z] Stashed 1 file(s) [Pipeline] } [2021-07-31T15:02:15.448Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-357-8-stack-cost] [Pipeline] // lock [Pipeline] } [2021-07-31T15:02:15.475Z] $ docker stop --time=1 2a84b732821b63863b1487af660b33fa9e153e639134e8cc6a890ec96dfc75f2 [2021-07-31T15:02:17.211Z] $ docker rm -f 2a84b732821b63863b1487af660b33fa9e153e639134e8cc6a890ec96dfc75f2 [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] libraryResource [Pipeline] sh [2021-07-31T15:02:18.939Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-31T15:02:19.528Z] ---> package-listing.sh [2021-07-31T15:02:19.528Z] ++ tr '[:upper:]' '[:lower:]' [2021-07-31T15:02:19.528Z] ++ facter osfamily [2021-07-31T15:02:19.800Z] + OS_FAMILY=redhat [2021-07-31T15:02:19.800Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-357 [2021-07-31T15:02:19.800Z] + START_PACKAGES=/tmp/packages_start.txt [2021-07-31T15:02:19.800Z] + END_PACKAGES=/tmp/packages_end.txt [2021-07-31T15:02:19.800Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-07-31T15:02:19.800Z] + PACKAGES=/tmp/packages_start.txt [2021-07-31T15:02:19.800Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-357 ']' [2021-07-31T15:02:19.800Z] + PACKAGES=/tmp/packages_end.txt [2021-07-31T15:02:19.800Z] + case "${OS_FAMILY}" in [2021-07-31T15:02:19.800Z] + rpm -qa [2021-07-31T15:02:19.800Z] + sort [2021-07-31T15:02:20.385Z] + '[' -f /tmp/packages_start.txt ']' [2021-07-31T15:02:20.385Z] + '[' -f /tmp/packages_end.txt ']' [2021-07-31T15:02:20.385Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-07-31T15:02:20.385Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-357 ']' [2021-07-31T15:02:20.385Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-357/archives/ [2021-07-31T15:02:20.385Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-357/archives/ [Pipeline] echo [2021-07-31T15:02:20.403Z] 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-357/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-07-31T15:02:20.703Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-07-31T15:02:21.297Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-31T15:02:21.297Z] [2021-07-31T15:02:21.297Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-07-31T15:02:21.627Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-31T15:02:21.627Z] latest: Pulling from edgex-lftools-log-publisher [2021-07-31T15:02:21.627Z] b4d181a07f80: Pulling fs layer [2021-07-31T15:02:21.627Z] a1111a8f2ec3: Pulling fs layer [2021-07-31T15:02:21.627Z] ed53099fbce6: Pulling fs layer [2021-07-31T15:02:21.627Z] dc539afda2c1: Pulling fs layer [2021-07-31T15:02:21.627Z] 77bc0d833cb6: Pulling fs layer [2021-07-31T15:02:21.627Z] 9065ff56babe: Pulling fs layer [2021-07-31T15:02:21.627Z] d287ab97295c: Pulling fs layer [2021-07-31T15:02:21.627Z] dc539afda2c1: Waiting [2021-07-31T15:02:21.627Z] 77bc0d833cb6: Waiting [2021-07-31T15:02:21.627Z] 9065ff56babe: Waiting [2021-07-31T15:02:21.627Z] d287ab97295c: Waiting [2021-07-31T15:02:21.893Z] a1111a8f2ec3: Verifying Checksum [2021-07-31T15:02:21.893Z] a1111a8f2ec3: Download complete [2021-07-31T15:02:21.893Z] dc539afda2c1: Verifying Checksum [2021-07-31T15:02:21.893Z] dc539afda2c1: Download complete [2021-07-31T15:02:22.160Z] 77bc0d833cb6: Verifying Checksum [2021-07-31T15:02:22.160Z] 77bc0d833cb6: Download complete [2021-07-31T15:02:22.161Z] 9065ff56babe: Verifying Checksum [2021-07-31T15:02:22.161Z] 9065ff56babe: Download complete [2021-07-31T15:02:22.427Z] ed53099fbce6: Verifying Checksum [2021-07-31T15:02:22.427Z] ed53099fbce6: Download complete [2021-07-31T15:02:23.395Z] b4d181a07f80: Verifying Checksum [2021-07-31T15:02:23.396Z] b4d181a07f80: Download complete [2021-07-31T15:02:24.372Z] b4d181a07f80: Pull complete [2021-07-31T15:02:24.644Z] a1111a8f2ec3: Pull complete [2021-07-31T15:02:25.237Z] ed53099fbce6: Pull complete [2021-07-31T15:02:25.237Z] dc539afda2c1: Pull complete [2021-07-31T15:02:25.503Z] 77bc0d833cb6: Pull complete [2021-07-31T15:02:25.503Z] 9065ff56babe: Pull complete [2021-07-31T15:02:27.445Z] d287ab97295c: Verifying Checksum [2021-07-31T15:02:27.445Z] d287ab97295c: Download complete [2021-07-31T15:02:31.760Z] d287ab97295c: Pull complete [2021-07-31T15:02:31.760Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-07-31T15:02:31.760Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-31T15:02:31.760Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-07-31T15:02:31.855Z] prd-centos7-docker-4c-2g-1263 does not seem to be running inside a container [2021-07-31T15:02:31.909Z] $ 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-357/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-357 -v /w/workspace/edgexfoundry_device-sdk-c_PR-357:/w/workspace/edgexfoundry_device-sdk-c_PR-357:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-357@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-07-31T15:02:34.261Z] $ docker top 575f44d86479de2347e04a544aad35e7b3f1c0227047c5f2ba252122f11fbbbd -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-31T15:02:34.670Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-07-31T15:02:34.986Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-07-31T15:02:35.314Z] + ls /var/log/sa-host [2021-07-31T15:02:35.315Z] + sadf -c /var/log/sa-host/sa05 [2021-07-31T15:02:35.315Z] file_magic: OK [2021-07-31T15:02:35.315Z] HZ: Using current value: 100 [2021-07-31T15:02:35.315Z] file_header: OK [2021-07-31T15:02:35.315Z] 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-07-31T15:02:35.315Z] Statistics: [2021-07-31T15:02:35.315Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-31T15:02:35.315Z] File successfully converted to sysstat format version 12.0.3 [2021-07-31T15:02:35.315Z] + sadf -c /var/log/sa-host/sa31 [2021-07-31T15:02:35.315Z] file_magic: OK [2021-07-31T15:02:35.315Z] HZ: Using current value: 100 [2021-07-31T15:02:35.315Z] file_header: OK [2021-07-31T15:02:35.315Z] 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-07-31T15:02:35.315Z] Statistics: [2021-07-31T15:02:35.315Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-31T15:02:35.315Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-31T15:02:35.911Z] provisioning config files... [2021-07-31T15:02:35.929Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/config878450863086353924tmp [Pipeline] { [Pipeline] echo [2021-07-31T15:02:35.953Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-31T15:02:36.301Z] ---> create-netrc.sh [Pipeline] } [2021-07-31T15:02:36.314Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-07-31T15:02:36.714Z] ---> python-tools-install.sh [Pipeline] echo [2021-07-31T15:02:36.731Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-31T15:02:37.043Z] ---> sudo-logs.sh [2021-07-31T15:02:37.043Z] Archiving 'sudo' log.. [2021-07-31T15:02:37.043Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1263.vexxhost.local: Name or service not known [2021-07-31T15:02:37.043Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1263.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-07-31T15:02:37.100Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-31T15:02:37.426Z] ---> job-cost.sh [2021-07-31T15:02:37.426Z] lf-activate-venv: SKIPPING [2021-07-31T15:02:37.426Z] DEBUG: total: 0.18000000715255737 [2021-07-31T15:02:37.426Z] INFO: Retrieving Stack Cost... [2021-07-31T15:02:38.834Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-31T15:02:39.102Z] INFO: Archiving Costs [Pipeline] echo [2021-07-31T15:02:39.120Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-31T15:02:39.432Z] ---> logs-deploy.sh [2021-07-31T15:02:39.432Z] lf-activate-venv: SKIPPING [2021-07-31T15:02:39.432Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-357/8 [2021-07-31T15:02:39.432Z] INFO: archiving workspace using pattern(s): [2021-07-31T15:02:40.017Z] Archives upload complete. [2021-07-31T15:02:40.286Z] INFO: archiving logs to Nexus [2021-07-31T15:02:40.873Z] ---> uname -a: [2021-07-31T15:02:40.873Z] Linux prd-centos7-docker-4c-2g-1263.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 GNU/Linux [2021-07-31T15:02:40.873Z] [2021-07-31T15:02:40.873Z] [2021-07-31T15:02:40.873Z] ---> lscpu: [2021-07-31T15:02:40.873Z] Architecture: x86_64 [2021-07-31T15:02:40.873Z] CPU op-mode(s): 32-bit, 64-bit [2021-07-31T15:02:40.873Z] Byte Order: Little Endian [2021-07-31T15:02:40.873Z] Address sizes: 40 bits physical, 48 bits virtual [2021-07-31T15:02:40.873Z] CPU(s): 2 [2021-07-31T15:02:40.873Z] On-line CPU(s) list: 0,1 [2021-07-31T15:02:40.873Z] Thread(s) per core: 1 [2021-07-31T15:02:40.873Z] Core(s) per socket: 1 [2021-07-31T15:02:40.873Z] Socket(s): 2 [2021-07-31T15:02:40.873Z] NUMA node(s): 1 [2021-07-31T15:02:40.873Z] Vendor ID: AuthenticAMD [2021-07-31T15:02:40.873Z] CPU family: 23 [2021-07-31T15:02:40.873Z] Model: 49 [2021-07-31T15:02:40.873Z] Model name: AMD EPYC-Rome Processor [2021-07-31T15:02:40.873Z] Stepping: 0 [2021-07-31T15:02:40.873Z] CPU MHz: 2799.998 [2021-07-31T15:02:40.873Z] BogoMIPS: 5599.99 [2021-07-31T15:02:40.873Z] Virtualization: AMD-V [2021-07-31T15:02:40.873Z] Hypervisor vendor: KVM [2021-07-31T15:02:40.873Z] Virtualization type: full [2021-07-31T15:02:40.873Z] L1d cache: 32K [2021-07-31T15:02:40.873Z] L1i cache: 32K [2021-07-31T15:02:40.873Z] L2 cache: 512K [2021-07-31T15:02:40.873Z] L3 cache: 16384K [2021-07-31T15:02:40.873Z] NUMA node0 CPU(s): 0,1 [2021-07-31T15:02:40.873Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities [2021-07-31T15:02:40.873Z] [2021-07-31T15:02:40.873Z] [2021-07-31T15:02:40.873Z] ---> nproc: [2021-07-31T15:02:40.873Z] 2 [2021-07-31T15:02:40.873Z] [2021-07-31T15:02:40.873Z] [2021-07-31T15:02:40.873Z] ---> df -h: [2021-07-31T15:02:40.873Z] Filesystem Size Used Avail Use% Mounted on [2021-07-31T15:02:40.873Z] overlay 40G 7.7G 33G 20% / [2021-07-31T15:02:40.873Z] tmpfs 64M 0 64M 0% /dev [2021-07-31T15:02:40.873Z] tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup [2021-07-31T15:02:40.873Z] shm 64M 0 64M 0% /dev/shm [2021-07-31T15:02:40.873Z] /dev/vda1 40G 7.7G 33G 20% /facter-os [2021-07-31T15:02:40.873Z] [2021-07-31T15:02:40.873Z] [2021-07-31T15:02:40.873Z] ---> sar -b -r -n DEV: [2021-07-31T15:02:40.873Z] Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 07/31/21 _x86_64_ (2 CPU) [2021-07-31T15:02:40.873Z] [2021-07-31T15:02:40.873Z] 14:55:02 LINUX RESTART (2 CPU) [2021-07-31T15:02:40.873Z] [2021-07-31T15:02:40.873Z] 14:56:03 tps rtps wtps bread/s bwrtn/s [2021-07-31T15:02:40.873Z] 14:57:01 0.64 0.00 0.64 0.00 15.78 [2021-07-31T15:02:40.873Z] 14:58:01 0.45 0.00 0.45 0.00 8.51 [2021-07-31T15:02:40.873Z] 14:59:01 0.30 0.00 0.30 0.00 5.16 [2021-07-31T15:02:40.873Z] 15:00:01 0.27 0.00 0.27 0.00 4.28 [2021-07-31T15:02:40.873Z] 15:01:01 0.35 0.02 0.33 0.13 5.08 [2021-07-31T15:02:40.873Z] 15:02:01 0.60 0.10 0.50 1.73 8.74 [2021-07-31T15:02:40.873Z] Average: 0.43 0.02 0.41 0.31 7.88 [2021-07-31T15:02:40.873Z] [2021-07-31T15:02:40.873Z] 14:56:03 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty [2021-07-31T15:02:40.873Z] 14:57:01 5467768 0 801960 10.01 2620 1736592 1209360 13.35 575688 1567844 20 [2021-07-31T15:02:40.873Z] 14:58:01 5467884 0 801832 10.01 2620 1736604 1205032 13.30 578068 1565176 8 [2021-07-31T15:02:40.873Z] 14:59:01 5467508 0 802208 10.02 2620 1736604 1205236 13.31 580716 1563528 8 [2021-07-31T15:02:40.873Z] 15:00:01 5466988 0 802720 10.02 2620 1736612 1205032 13.30 580008 1564176 8 [2021-07-31T15:02:40.873Z] 15:01:01 5465636 0 804068 10.04 2620 1736616 1207884 13.34 576152 1569112 8 [2021-07-31T15:02:40.873Z] 15:02:01 5466544 0 803004 10.03 2620 1736772 1205612 13.31 575764 1569180 16 [2021-07-31T15:02:40.873Z] Average: 5467055 0 802632 10.02 2620 1736633 1206359 13.32 577733 1566503 11 [2021-07-31T15:02:40.873Z] [2021-07-31T15:02:40.873Z] 14:56:03 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil [2021-07-31T15:02:40.873Z] 14:57:01 eth0 0.60 0.10 0.04 0.02 0.00 0.00 0.00 0.00 [2021-07-31T15:02:40.873Z] 14:57:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-07-31T15:02:40.873Z] 14:57:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-07-31T15:02:40.873Z] 14:58:01 eth0 0.35 0.08 0.04 0.01 0.00 0.00 0.00 0.00 [2021-07-31T15:02:40.873Z] 14:58:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-07-31T15:02:40.873Z] 14:58:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-07-31T15:02:40.873Z] 14:59:01 eth0 1.53 0.60 0.59 0.40 0.00 0.00 0.00 0.00 [2021-07-31T15:02:40.873Z] 14:59:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-07-31T15:02:40.873Z] 14:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-07-31T15:02:40.873Z] 15:00:01 eth0 0.07 0.07 0.01 0.01 0.00 0.00 0.00 0.00 [2021-07-31T15:02:40.873Z] 15:00:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-07-31T15:02:40.873Z] 15:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-07-31T15:02:40.873Z] 15:01:01 eth0 0.22 0.13 0.08 0.07 0.00 0.00 0.00 0.00 [2021-07-31T15:02:40.873Z] 15:01:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-07-31T15:02:40.873Z] 15:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-07-31T15:02:40.873Z] 15:02:01 eth0 0.22 0.20 0.10 0.02 0.00 0.00 0.00 0.00 [2021-07-31T15:02:40.873Z] 15:02:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-07-31T15:02:40.873Z] 15:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-07-31T15:02:40.873Z] Average: eth0 0.50 0.20 0.14 0.08 0.00 0.00 0.00 0.00 [2021-07-31T15:02:40.873Z] Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-07-31T15:02:40.873Z] Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-07-31T15:02:40.873Z] [2021-07-31T15:02:40.873Z] [2021-07-31T15:02:40.873Z] ---> sar -P ALL: [2021-07-31T15:02:40.873Z] Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 07/31/21 _x86_64_ (2 CPU) [2021-07-31T15:02:40.873Z] [2021-07-31T15:02:40.873Z] 14:55:02 LINUX RESTART (2 CPU) [2021-07-31T15:02:40.873Z] [2021-07-31T15:02:40.873Z] 14:56:03 CPU %user %nice %system %iowait %steal %idle [2021-07-31T15:02:40.873Z] 14:57:01 all 0.18 0.00 0.06 0.00 0.02 99.74 [2021-07-31T15:02:40.873Z] 14:57:01 0 0.10 0.00 0.05 0.00 0.02 99.83 [2021-07-31T15:02:40.873Z] 14:57:01 1 0.26 0.00 0.07 0.00 0.02 99.65 [2021-07-31T15:02:40.873Z] 14:58:01 all 0.13 0.00 0.03 0.00 0.02 99.82 [2021-07-31T15:02:40.873Z] 14:58:01 0 0.20 0.00 0.02 0.00 0.02 99.77 [2021-07-31T15:02:40.873Z] 14:58:01 1 0.07 0.00 0.05 0.00 0.02 99.87 [2021-07-31T15:02:40.873Z] 14:59:01 all 0.14 0.00 0.04 0.00 0.02 99.80 [2021-07-31T15:02:40.873Z] 14:59:01 0 0.23 0.00 0.03 0.00 0.00 99.73 [2021-07-31T15:02:40.873Z] 14:59:01 1 0.05 0.00 0.05 0.00 0.03 99.87 [2021-07-31T15:02:40.873Z] 15:00:01 all 0.05 0.00 0.04 0.00 0.01 99.90 [2021-07-31T15:02:40.873Z] 15:00:01 0 0.05 0.00 0.03 0.00 0.00 99.92 [2021-07-31T15:02:40.873Z] 15:00:01 1 0.05 0.00 0.05 0.00 0.02 99.88 [2021-07-31T15:02:40.873Z] 15:01:01 all 0.08 0.00 0.05 0.00 0.03 99.84 [2021-07-31T15:02:40.873Z] 15:01:01 0 0.03 0.00 0.05 0.00 0.02 99.90 [2021-07-31T15:02:40.873Z] 15:01:01 1 0.13 0.00 0.05 0.00 0.03 99.78 [2021-07-31T15:02:40.873Z] 15:02:01 all 0.13 0.00 0.05 0.00 0.02 99.80 [2021-07-31T15:02:40.873Z] 15:02:01 0 0.05 0.00 0.05 0.00 0.03 99.87 [2021-07-31T15:02:40.873Z] 15:02:01 1 0.22 0.00 0.05 0.00 0.00 99.73 [2021-07-31T15:02:40.873Z] Average: all 0.12 0.00 0.05 0.00 0.02 99.82 [2021-07-31T15:02:40.873Z] Average: 0 0.11 0.00 0.04 0.00 0.01 99.83 [2021-07-31T15:02:40.873Z] Average: 1 0.13 0.00 0.05 0.00 0.02 99.80 [2021-07-31T15:02:40.873Z] [2021-07-31T15:02:40.873Z] [2021-07-31T15:02:40.873Z]