cloudxxx8 commented: recheck 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 lenny-intel for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 53e0d6aa6f62f386083d777447c0003f9a1e544b+ce650ad78b6c877d3227a46e4e9eafbdd6610562 (d51631d72cee0968ec87495e32cf9c3e782612b7) 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-ssh1750615549896065647.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c141c1271097dc03ad291c2451e310eaf98cdd06 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-ssh2623409770694591772.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 c141c1271097dc03ad291c2451e310eaf98cdd06 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-380/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-380/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8479428840517950394.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c141c1271097dc03ad291c2451e310eaf98cdd06 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c141c1271097dc03ad291c2451e310eaf98cdd06 # timeout=10 Commit message: "Merge pull request #355 from ernestojeda/error-check-post-build" > 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-ssh4472746889606451045.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-380/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-380/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4100581801137736672.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-1481 in /w/workspace/edgexfoundry_device-sdk-c_PR-380 [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-380 # 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-380@tmp/jenkins-gitclient-ssh1457110168005376741.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 ce650ad78b6c877d3227a46e4e9eafbdd6610562 into PR head commit 53e0d6aa6f62f386083d777447c0003f9a1e544b Merge succeeded, producing 53e0d6aa6f62f386083d777447c0003f9a1e544b Checking out Revision 53e0d6aa6f62f386083d777447c0003f9a1e544b (PR-380) > 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-380@tmp/jenkins-gitclient-ssh120832406075152494.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/380/head:refs/remotes/origin/PR-380 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 53e0d6aa6f62f386083d777447c0003f9a1e544b # 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-380@tmp/jenkins-gitclient-ssh3328079456839779734.key > git merge ce650ad78b6c877d3227a46e4e9eafbdd6610562 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 53e0d6aa6f62f386083d777447c0003f9a1e544b # timeout=10 Commit message: "ci: Update PR Template" > git rev-list --no-walk 53e0d6aa6f62f386083d777447c0003f9a1e544b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-10-05T04:15:46.696Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-05T04:15:46.781Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-05T04:15:46.805Z] ========================================================= [2021-10-05T04:15:46.805Z] EdgeX Global Pipelines Version Info [2021-10-05T04:15:46.805Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-10-05T04:15:48.029Z] ------------------- [2021-10-05T04:15:48.029Z] stable info: [2021-10-05T04:15:48.029Z] ------------------- [2021-10-05T04:15:48.029Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-05T04:15:48.029Z] Commit SHA: c141c1271097dc03ad291c2451e310eaf98cdd06 [2021-10-05T04:15:48.029Z] Message: update stable to v1.0.206 [2021-10-05T04:15:48.638Z] ------------------- [2021-10-05T04:15:48.638Z] experimental info: [2021-10-05T04:15:48.638Z] ------------------- [2021-10-05T04:15:48.638Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-05T04:15:48.638Z] Commit SHA: c141c1271097dc03ad291c2451e310eaf98cdd06 [2021-10-05T04:15:48.638Z] Message: update experimental to v1.0.206 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-05T04:15:48.803Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2021-10-05T04:15:48.844Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2021-10-05T04:15:48.865Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-05T04:15:48.884Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-05T04:15:48.904Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-05T04:15:48.925Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo [2021-10-05T04:15:48.950Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2021-10-05T04:15:48.969Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2021-10-05T04:15:48.988Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-05T04:15:49.008Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-05T04:15:49.027Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2021-10-05T04:15:49.046Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-05T04:15:49.065Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-05T04:15:49.085Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-10-05T04:15:49.105Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-10-05T04:15:49.124Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-05T04:15:49.144Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-10-05T04:15:49.163Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-05T04:15:49.183Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-380 [Pipeline] echo [2021-10-05T04:15:49.202Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-380 [Pipeline] echo [2021-10-05T04:15:49.221Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-380 [Pipeline] echo [2021-10-05T04:15:49.240Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 53e0d6aa6f62f386083d777447c0003f9a1e544b [Pipeline] echo [2021-10-05T04:15:49.259Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 53e0d6a [Pipeline] echo [2021-10-05T04:15:49.278Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-05T04:15:49.342Z] provisioning config files... [2021-10-05T04:15:49.362Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-380@tmp/config2634064026843198123tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-05T04:15:49.690Z] ---> docker-login.sh [2021-10-05T04:15:49.690Z] nexus3.edgexfoundry.org:10001 [2021-10-05T04:15:49.690Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T04:15:49.956Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T04:15:49.956Z] Configure a credential helper to remove this warning. See [2021-10-05T04:15:49.956Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T04:15:49.956Z] [2021-10-05T04:15:49.956Z] Login Succeeded [2021-10-05T04:15:49.956Z] nexus3.edgexfoundry.org:10002 [2021-10-05T04:15:49.956Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T04:15:49.956Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T04:15:49.956Z] Configure a credential helper to remove this warning. See [2021-10-05T04:15:49.956Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T04:15:49.956Z] [2021-10-05T04:15:49.956Z] Login Succeeded [2021-10-05T04:15:49.956Z] nexus3.edgexfoundry.org:10003 [2021-10-05T04:15:50.221Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T04:15:50.221Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T04:15:50.221Z] Configure a credential helper to remove this warning. See [2021-10-05T04:15:50.221Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T04:15:50.221Z] [2021-10-05T04:15:50.221Z] Login Succeeded [2021-10-05T04:15:50.221Z] nexus3.edgexfoundry.org:10004 [2021-10-05T04:15:50.221Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T04:15:50.221Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T04:15:50.221Z] Configure a credential helper to remove this warning. See [2021-10-05T04:15:50.221Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T04:15:50.221Z] [2021-10-05T04:15:50.221Z] Login Succeeded [2021-10-05T04:15:50.221Z] docker.io [2021-10-05T04:15:50.488Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T04:15:50.753Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T04:15:50.753Z] Configure a credential helper to remove this warning. See [2021-10-05T04:15:50.753Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T04:15:50.753Z] [2021-10-05T04:15:50.753Z] Login Succeeded [2021-10-05T04:15:50.753Z] ---> docker-login.sh ends [Pipeline] } [2021-10-05T04:15:50.766Z] 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-10-05T04:15:51.542Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-05T04:15:51.542Z] [2021-10-05T04:15:51.542Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-05T04:15:51.890Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-05T04:15:51.890Z] latest: Pulling from edgex-devops/git-semver [2021-10-05T04:15:51.890Z] 31603596830f: Pulling fs layer [2021-10-05T04:15:51.890Z] 04fac38145f0: Pulling fs layer [2021-10-05T04:15:51.890Z] 701f6daf10bf: Pulling fs layer [2021-10-05T04:15:51.890Z] 24f72da36158: Pulling fs layer [2021-10-05T04:15:51.890Z] 24f72da36158: Waiting [2021-10-05T04:15:51.890Z] 04fac38145f0: Verifying Checksum [2021-10-05T04:15:51.890Z] 04fac38145f0: Download complete [2021-10-05T04:15:52.158Z] 31603596830f: Verifying Checksum [2021-10-05T04:15:52.158Z] 31603596830f: Download complete [2021-10-05T04:15:52.158Z] 701f6daf10bf: Verifying Checksum [2021-10-05T04:15:52.158Z] 701f6daf10bf: Download complete [2021-10-05T04:15:52.158Z] 24f72da36158: Verifying Checksum [2021-10-05T04:15:52.158Z] 24f72da36158: Download complete [2021-10-05T04:15:52.158Z] 31603596830f: Pull complete [2021-10-05T04:15:52.440Z] 04fac38145f0: Pull complete [2021-10-05T04:15:53.030Z] 701f6daf10bf: Pull complete [2021-10-05T04:15:53.297Z] 24f72da36158: Pull complete [2021-10-05T04:15:53.297Z] Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 [2021-10-05T04:15:53.297Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-05T04:15:53.297Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-05T04:15:53.408Z] prd-centos7-docker-4c-2g-1481 does not seem to be running inside a container [2021-10-05T04:15:53.462Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-380 -v /w/workspace/edgexfoundry_device-sdk-c_PR-380:/w/workspace/edgexfoundry_device-sdk-c_PR-380:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-380@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-380@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:10004/edgex-devops/git-semver:latest cat [2021-10-05T04:15:54.263Z] $ docker top 3bfaef52673141d3a7cfcd9ab27a421702890efcd92c1582639685c740fbd980 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-05T04:15:54.410Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-05T04:15:54.411Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-05T04:15:54.529Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-05T04:15:54.531Z] $ docker exec 3bfaef52673141d3a7cfcd9ab27a421702890efcd92c1582639685c740fbd980 ssh-agent [2021-10-05T04:15:54.640Z] SSH_AUTH_SOCK=/tmp/ssh-RbmXeeJan9Rw/agent.15 [2021-10-05T04:15:54.640Z] SSH_AGENT_PID=21 [2021-10-05T04:15:54.651Z] Running ssh-add (command line suppressed) [2021-10-05T04:15:54.743Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-380@tmp/private_key_6908537980738520257.key (/w/workspace/edgexfoundry_device-sdk-c_PR-380@tmp/private_key_6908537980738520257.key) [2021-10-05T04:15:54.763Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-05T04:15:55.092Z] + git tag --points-at HEAD [Pipeline] } [2021-10-05T04:15:55.133Z] $ docker exec --env ******** --env ******** 3bfaef52673141d3a7cfcd9ab27a421702890efcd92c1582639685c740fbd980 ssh-agent -k [2021-10-05T04:15:55.218Z] unset SSH_AUTH_SOCK; [2021-10-05T04:15:55.218Z] unset SSH_AGENT_PID; [2021-10-05T04:15:55.218Z] echo Agent pid 21 killed; [2021-10-05T04:15:55.246Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-05T04:15:55.287Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-05T04:15:55.287Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-05T04:15:55.409Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-05T04:15:55.411Z] $ docker exec 3bfaef52673141d3a7cfcd9ab27a421702890efcd92c1582639685c740fbd980 ssh-agent [2021-10-05T04:15:55.512Z] SSH_AUTH_SOCK=/tmp/ssh-9AVG2sZq1eYU/agent.56 [2021-10-05T04:15:55.512Z] SSH_AGENT_PID=62 [2021-10-05T04:15:55.522Z] Running ssh-add (command line suppressed) [2021-10-05T04:15:55.610Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-380@tmp/private_key_7267482677944496406.key (/w/workspace/edgexfoundry_device-sdk-c_PR-380@tmp/private_key_7267482677944496406.key) [2021-10-05T04:15:55.628Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-05T04:15:55.948Z] + git semver init [2021-10-05T04:15:55.948Z] # -> Open(): unable to determine branch for HEAD [2021-10-05T04:15:55.948Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-380/.git [2021-10-05T04:15:55.948Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-380 [2021-10-05T04:15:55.949Z] # $SEMVER_REMOTE_NAME = origin [2021-10-05T04:15:55.949Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-05T04:15:55.949Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-05T04:15:55.949Z] # $SEMVER_BRANCH = PR-380 [2021-10-05T04:15:55.949Z] # $SEMVER_TEMP = /tmp/semver-850740102 [2021-10-05T04:15:55.949Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2021-10-05T04:15:56.536Z] # '/tmp/semver-850740102' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-380/.semver' [2021-10-05T04:15:56.536Z] # -> Force: false [2021-10-05T04:15:56.536Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-380/.semver [Pipeline] } [2021-10-05T04:15:56.550Z] $ docker exec --env ******** --env ******** 3bfaef52673141d3a7cfcd9ab27a421702890efcd92c1582639685c740fbd980 ssh-agent -k [2021-10-05T04:15:56.659Z] unset SSH_AUTH_SOCK; [2021-10-05T04:15:56.659Z] unset SSH_AGENT_PID; [2021-10-05T04:15:56.659Z] echo Agent pid 62 killed; [2021-10-05T04:15:56.675Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-05T04:15:57.019Z] + git semver [Pipeline] } [2021-10-05T04:15:57.038Z] $ docker stop --time=1 3bfaef52673141d3a7cfcd9ab27a421702890efcd92c1582639685c740fbd980 [2021-10-05T04:15:58.255Z] $ docker rm -f 3bfaef52673141d3a7cfcd9ab27a421702890efcd92c1582639685c740fbd980 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-05T04:15:58.654Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-05T04:15:58.988Z] Stashed 1 file(s) [Pipeline] echo [2021-10-05T04:15:58.992Z] [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-10-05T04:16:14.203Z] Still waiting to schedule task [2021-10-05T04:16:14.204Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-10-05T04:16:14.210Z] Still waiting to schedule task [2021-10-05T04:16:14.210Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-10-05T04:18:36.188Z] Running on prd-centos7-docker-4c-2g-1488 in /w/workspace/edgexfoundry_device-sdk-c_PR-380 [Pipeline] { [Pipeline] ws [2021-10-05T04:18:36.208Z] Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout [2021-10-05T04:18:36.346Z] Selected Git installation does not exist. Using Default [2021-10-05T04:18:36.346Z] The recommended git tool is: NONE [2021-10-05T04:18:39.340Z] using credential edgex-jenkins-ssh [2021-10-05T04:18:39.361Z] Cloning the remote Git repository [2021-10-05T04:18:39.387Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-10-05T04:18:39.460Z] > git init /w/workspace/device-sdk-c/2 # timeout=10 [2021-10-05T04:18:39.497Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-10-05T04:18:39.497Z] > git --version # timeout=10 [2021-10-05T04:18:39.507Z] > git --version # 'git version 2.24.4' [2021-10-05T04:18:39.508Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-05T04:18:39.532Z] [INFO] Currently running in a labeled security context [2021-10-05T04:18:39.532Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-05T04:18:39.532Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/2@tmp/jenkins-gitclient-ssh4825158028826499979.key [2021-10-05T04:18:39.544Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-05T04:18:40.836Z] Merging remotes/origin/main commit ce650ad78b6c877d3227a46e4e9eafbdd6610562 into PR head commit 53e0d6aa6f62f386083d777447c0003f9a1e544b [2021-10-05T04:18:40.940Z] Merge succeeded, producing 53e0d6aa6f62f386083d777447c0003f9a1e544b [2021-10-05T04:18:40.940Z] Checking out Revision 53e0d6aa6f62f386083d777447c0003f9a1e544b (PR-380) [2021-10-05T04:18:40.263Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-10-05T04:18:40.272Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-05T04:18:40.285Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-10-05T04:18:40.298Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-10-05T04:18:40.299Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-05T04:18:40.301Z] [INFO] Currently running in a labeled security context [2021-10-05T04:18:40.301Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-05T04:18:40.301Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/2@tmp/jenkins-gitclient-ssh2424501419309034349.key [2021-10-05T04:18:40.305Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/380/head:refs/remotes/origin/PR-380 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-10-05T04:18:40.844Z] > git config core.sparsecheckout # timeout=10 [2021-10-05T04:18:40.851Z] > git checkout -f 53e0d6aa6f62f386083d777447c0003f9a1e544b # timeout=10 [2021-10-05T04:18:40.905Z] > git remote # timeout=10 [2021-10-05T04:18:40.912Z] > git config --get remote.origin.url # timeout=10 [2021-10-05T04:18:40.914Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-05T04:18:40.915Z] [INFO] Currently running in a labeled security context [2021-10-05T04:18:40.915Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-05T04:18:40.915Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/2@tmp/jenkins-gitclient-ssh1369813652715439010.key [2021-10-05T04:18:40.919Z] > git merge ce650ad78b6c877d3227a46e4e9eafbdd6610562 # timeout=10 [2021-10-05T04:18:40.928Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-05T04:18:40.944Z] > git config core.sparsecheckout # timeout=10 [2021-10-05T04:18:40.949Z] > git checkout -f 53e0d6aa6f62f386083d777447c0003f9a1e544b # timeout=10 [2021-10-05T04:18:44.693Z] Commit message: "ci: Update PR Template" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-05T04:18:45.069Z] provisioning config files... [2021-10-05T04:18:45.086Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/2@tmp/config7584104479104233261tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-05T04:18:45.539Z] ---> docker-login.sh [2021-10-05T04:18:45.539Z] nexus3.edgexfoundry.org:10001 [2021-10-05T04:18:45.539Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T04:18:46.128Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T04:18:46.128Z] Configure a credential helper to remove this warning. See [2021-10-05T04:18:46.128Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T04:18:46.128Z] [2021-10-05T04:18:46.128Z] Login Succeeded [2021-10-05T04:18:46.128Z] nexus3.edgexfoundry.org:10002 [2021-10-05T04:18:46.128Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T04:18:46.402Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T04:18:46.402Z] Configure a credential helper to remove this warning. See [2021-10-05T04:18:46.402Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T04:18:46.402Z] [2021-10-05T04:18:46.402Z] Login Succeeded [2021-10-05T04:18:46.402Z] nexus3.edgexfoundry.org:10003 [2021-10-05T04:18:46.402Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T04:18:46.402Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T04:18:46.402Z] Configure a credential helper to remove this warning. See [2021-10-05T04:18:46.402Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T04:18:46.402Z] [2021-10-05T04:18:46.402Z] Login Succeeded [2021-10-05T04:18:46.402Z] nexus3.edgexfoundry.org:10004 [2021-10-05T04:18:46.402Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T04:18:46.669Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T04:18:46.669Z] Configure a credential helper to remove this warning. See [2021-10-05T04:18:46.669Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T04:18:46.669Z] [2021-10-05T04:18:46.669Z] Login Succeeded [2021-10-05T04:18:46.669Z] docker.io [2021-10-05T04:18:46.669Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T04:18:46.935Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T04:18:46.935Z] Configure a credential helper to remove this warning. See [2021-10-05T04:18:46.935Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T04:18:46.935Z] [2021-10-05T04:18:46.935Z] Login Succeeded [2021-10-05T04:18:46.935Z] ---> docker-login.sh ends [Pipeline] } [2021-10-05T04:18:46.988Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-05T04:18:47.177Z] ========================================================= [2021-10-05T04:18:47.177Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2021-10-05T04:18:47.177Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-05T04:18:47.505Z] + 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-10-05T04:18:47.505Z] Sending build context to Docker daemon 2.71MB [2021-10-05T04:18:47.505Z] Step 1/25 : ARG BASE=alpine:3.14 [2021-10-05T04:18:47.505Z] Step 2/25 : FROM ${BASE} as builder [2021-10-05T04:18:47.784Z] latest: Pulling from edgex-devops/edgex-gcc-base [2021-10-05T04:18:47.784Z] 339de151aab4: Pulling fs layer [2021-10-05T04:18:47.784Z] 3691962f683c: Pulling fs layer [2021-10-05T04:18:47.784Z] e1147bf81a45: Pulling fs layer [2021-10-05T04:18:47.784Z] 3691962f683c: Verifying Checksum [2021-10-05T04:18:47.784Z] 3691962f683c: Download complete [2021-10-05T04:18:47.784Z] 339de151aab4: Verifying Checksum [2021-10-05T04:18:47.784Z] 339de151aab4: Download complete [2021-10-05T04:18:48.053Z] 339de151aab4: Pull complete [2021-10-05T04:18:48.053Z] 3691962f683c: Pull complete [2021-10-05T04:18:48.322Z] e1147bf81a45: Verifying Checksum [2021-10-05T04:18:48.322Z] e1147bf81a45: Download complete [2021-10-05T04:18:51.725Z] e1147bf81a45: Pull complete [2021-10-05T04:18:51.725Z] Digest: sha256:32c567f17180c4abff101a0d389449dec7f3f623a221c8a8ae98dcac9b0d9fee [2021-10-05T04:18:51.725Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2021-10-05T04:18:51.725Z] ---> ac6a0feb3254 [2021-10-05T04:18:51.725Z] Step 3/25 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2021-10-05T04:18:53.132Z] ---> Running in 23910e8e9cb2 [2021-10-05T04:18:53.713Z] Connecting to iotech.jfrog.io (54.195.244.87:443) [2021-10-05T04:18:53.983Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2021-10-05T04:18:53.983Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2021-10-05T04:18:53.983Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2021-10-05T04:18:54.248Z] Removing intermediate container 23910e8e9cb2 [2021-10-05T04:18:54.248Z] ---> fcde525e2df8 [2021-10-05T04:18:54.248Z] Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2021-10-05T04:18:54.248Z] ---> Running in 92ac9fa8c406 [2021-10-05T04:18:54.516Z] Removing intermediate container 92ac9fa8c406 [2021-10-05T04:18:54.516Z] ---> 28fcd63b02f8 [2021-10-05T04:18:54.516Z] Step 5/25 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev-1.3 hiredis-dev [2021-10-05T04:18:54.516Z] ---> Running in 2e814812ab8c [2021-10-05T04:18:54.783Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-10-05T04:18:55.745Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-10-05T04:18:55.745Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-05T04:18:56.331Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2021-10-05T04:18:56.331Z] (1/22) Installing hiredis (0.14.1-r0) [2021-10-05T04:18:56.331Z] (2/22) Installing hiredis-dev (0.14.1-r0) [2021-10-05T04:18:56.331Z] (3/22) Installing ncurses-dev (6.2_p20200523-r0) [2021-10-05T04:18:56.595Z] (4/22) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2021-10-05T04:18:57.175Z] (5/22) Installing libblkid (2.35.2-r0) [2021-10-05T04:18:57.441Z] (6/22) Installing blkid (2.35.2-r0) [2021-10-05T04:18:57.441Z] (7/22) Installing libcap-ng (0.7.10-r1) [2021-10-05T04:18:57.441Z] (8/22) Installing setpriv (2.35.2-r0) [2021-10-05T04:18:57.707Z] (9/22) Installing libmount (2.35.2-r0) [2021-10-05T04:18:57.707Z] (10/22) Installing libsmartcols (2.35.2-r0) [2021-10-05T04:18:57.707Z] (11/22) Installing findmnt (2.35.2-r0) [2021-10-05T04:18:57.972Z] (12/22) Installing mcookie (2.35.2-r0) [2021-10-05T04:18:57.972Z] (13/22) Installing hexdump (2.35.2-r0) [2021-10-05T04:18:57.972Z] (14/22) Installing lsblk (2.35.2-r0) [2021-10-05T04:18:58.238Z] (15/22) Installing libuuid (2.35.2-r0) [2021-10-05T04:18:58.238Z] (16/22) Installing libfdisk (2.35.2-r0) [2021-10-05T04:18:58.238Z] (17/22) Installing sfdisk (2.35.2-r0) [2021-10-05T04:18:58.505Z] (18/22) Installing cfdisk (2.35.2-r0) [2021-10-05T04:18:58.505Z] (19/22) Installing util-linux (2.35.2-r0) [2021-10-05T04:18:58.772Z] (20/22) Installing util-linux-dev (2.35.2-r0) [2021-10-05T04:18:58.772Z] (21/22) Installing libidn2 (2.3.0-r0) [2021-10-05T04:18:59.042Z] (22/22) Installing wget (1.20.3-r1) [2021-10-05T04:18:59.042Z] Executing busybox-1.31.1-r20.trigger [2021-10-05T04:18:59.042Z] OK: 295 MiB in 97 packages [2021-10-05T04:18:59.629Z] Removing intermediate container 2e814812ab8c [2021-10-05T04:18:59.629Z] ---> 6ff9afffe91c [2021-10-05T04:18:59.629Z] Step 6/25 : ENV CBOR_VERSION=0.5.0 [2021-10-05T04:18:59.629Z] ---> Running in a839d28d7b55 [2021-10-05T04:18:59.629Z] Removing intermediate container a839d28d7b55 [2021-10-05T04:18:59.629Z] ---> 1ed15e42a22f [2021-10-05T04:18:59.629Z] 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-10-05T04:18:59.629Z] ---> Running in 842aa819ced1 [2021-10-05T04:18:59.896Z] --2021-10-05 04:18:59-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-10-05T04:18:59.896Z] Resolving github.com (github.com)... 140.82.112.4 [2021-10-05T04:18:59.896Z] Connecting to github.com (github.com)|140.82.112.4|:443... connected. [2021-10-05T04:19:00.161Z] HTTP request sent, awaiting response... 302 Found [2021-10-05T04:19:00.161Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-10-05T04:19:00.161Z] --2021-10-05 04:18:59-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-10-05T04:19:00.161Z] Resolving codeload.github.com (codeload.github.com)... 140.82.114.9 [2021-10-05T04:19:00.161Z] Connecting to codeload.github.com (codeload.github.com)|140.82.114.9|:443... connected. [2021-10-05T04:19:00.161Z] HTTP request sent, awaiting response... 200 OK [2021-10-05T04:19:00.161Z] Length: unspecified [application/x-gzip] [2021-10-05T04:19:00.161Z] Saving to: 'STDOUT' [2021-10-05T04:19:00.161Z]  [2021-10-05T04:19:00.427Z] 0K .......... .......... .......... .......... .......... 1.21M [2021-10-05T04:19:00.427Z] 50K .......... .......... .......... .......... .......... 2.73M [2021-10-05T04:19:00.427Z] 100K .......... .......... .......... .......... .......... 19.4M [2021-10-05T04:19:00.428Z] 150K .......... .......... .......... .......... .......... 24.5M [2021-10-05T04:19:00.428Z] 200K .......... .......... .......... .......... .......... 2.93M [2021-10-05T04:19:00.428Z] 250K .......... .......... .......... .......... .......... 7.55M [2021-10-05T04:19:00.428Z] 300K .......... .......... .......... .......... .......... 15.0M [2021-10-05T04:19:00.428Z] 350K .......... .......... .......... .......... .......... 17.4M [2021-10-05T04:19:00.428Z] 400K .......... .......... .......... .......... .......... 7.53M [2021-10-05T04:19:00.428Z] 450K .......... .......... .......... .......... .......... 52.7M [2021-10-05T04:19:00.428Z] 500K .......... .......... .......... .......... .......... 16.1M [2021-10-05T04:19:00.428Z] 550K .......... .......... .......... .......... .......... 9.58M [2021-10-05T04:19:00.428Z] 600K .......... .......... .......... .......... .......... 4.04M [2021-10-05T04:19:00.428Z] 650K .......... .......... .......... .......... .......... 7.50M [2021-10-05T04:19:00.428Z] 700K .. 100M=0.1s [2021-10-05T04:19:00.428Z] [2021-10-05T04:19:00.428Z] 2021-10-05 04:19:00 (5.45 MB/s) - written to stdout [719348] [2021-10-05T04:19:00.428Z] [2021-10-05T04:19:00.428Z] -- The C compiler identification is GNU 9.3.0 [2021-10-05T04:19:00.428Z] -- The CXX compiler identification is GNU 9.3.0 [2021-10-05T04:19:00.428Z] -- Check for working C compiler: /usr/bin/cc [2021-10-05T04:19:00.694Z] -- Check for working C compiler: /usr/bin/cc - works [2021-10-05T04:19:00.694Z] -- Detecting C compiler ABI info [2021-10-05T04:19:00.694Z] -- Detecting C compiler ABI info - done [2021-10-05T04:19:00.694Z] -- Detecting C compile features [2021-10-05T04:19:00.694Z] -- Detecting C compile features - done [2021-10-05T04:19:00.694Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-10-05T04:19:00.694Z] -- Check for working CXX compiler: /usr/bin/c++ - works [2021-10-05T04:19:00.694Z] -- Detecting CXX compiler ABI info [2021-10-05T04:19:00.963Z] -- Detecting CXX compiler ABI info - done [2021-10-05T04:19:00.963Z] -- Detecting CXX compile features [2021-10-05T04:19:00.963Z] -- Detecting CXX compile features - done [2021-10-05T04:19:00.963Z] -- Looking for include file endian.h [2021-10-05T04:19:00.963Z] -- Looking for include file endian.h - found [2021-10-05T04:19:00.963Z] -- Check if the system is big endian [2021-10-05T04:19:00.963Z] -- Searching 16 bit integer [2021-10-05T04:19:00.963Z] -- Looking for sys/types.h [2021-10-05T04:19:00.963Z] -- Looking for sys/types.h - found [2021-10-05T04:19:00.963Z] -- Looking for stdint.h [2021-10-05T04:19:00.963Z] -- Looking for stdint.h - found [2021-10-05T04:19:00.963Z] -- Looking for stddef.h [2021-10-05T04:19:01.236Z] -- Looking for stddef.h - found [2021-10-05T04:19:01.236Z] -- Check size of unsigned short [2021-10-05T04:19:01.236Z] -- Check size of unsigned short - done [2021-10-05T04:19:01.236Z] -- Searching 16 bit integer - Using unsigned short [2021-10-05T04:19:01.236Z] -- Check if the system is big endian - little endian [2021-10-05T04:19:01.236Z] -- Check size of size_t [2021-10-05T04:19:01.502Z] -- Check size of size_t - done [2021-10-05T04:19:01.502Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-10-05T04:19:01.502Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-10-05T04:19:01.502Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-10-05T04:19:01.502Z] CMake did not find one. [2021-10-05T04:19:01.502Z] [2021-10-05T04:19:01.502Z] Could not find a package configuration file provided by "cJSON" with any of [2021-10-05T04:19:01.502Z] the following names: [2021-10-05T04:19:01.502Z] [2021-10-05T04:19:01.502Z] cJSONConfig.cmake [2021-10-05T04:19:01.502Z] cjson-config.cmake [2021-10-05T04:19:01.502Z] [2021-10-05T04:19:01.503Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-10-05T04:19:01.503Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-10-05T04:19:01.503Z] provides a separate development package or SDK, be sure it has been [2021-10-05T04:19:01.503Z] installed. [2021-10-05T04:19:01.503Z] [2021-10-05T04:19:01.503Z] [2021-10-05T04:19:01.503Z] -- Configuring done [2021-10-05T04:19:01.503Z] -- Generating done [2021-10-05T04:19:01.503Z] -- Build files have been written to: /tmp/cbor [2021-10-05T04:19:01.503Z] Scanning dependencies of target cbor_shared [2021-10-05T04:19:01.503Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-10-05T04:19:01.503Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-10-05T04:19:01.771Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-10-05T04:19:01.771Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-10-05T04:19:01.771Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-10-05T04:19:02.037Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-10-05T04:19:02.037Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-10-05T04:19:02.037Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-10-05T04:19:02.037Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-10-05T04:19:02.037Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-10-05T04:19:02.302Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-10-05T04:19:02.302Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-10-05T04:19:02.302Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-10-05T04:19:02.568Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-10-05T04:19:02.568Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-10-05T04:19:02.568Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-10-05T04:19:02.568Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-10-05T04:19:02.568Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-10-05T04:19:02.832Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-10-05T04:19:02.832Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-10-05T04:19:02.832Z] [ 40%] Linking C shared library libcbor.so [2021-10-05T04:19:02.832Z] [ 40%] Built target cbor_shared [2021-10-05T04:19:02.832Z] Scanning dependencies of target cbor [2021-10-05T04:19:02.832Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-10-05T04:19:03.098Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-10-05T04:19:03.098Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-10-05T04:19:03.098Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-10-05T04:19:03.677Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-10-05T04:19:03.677Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-10-05T04:19:03.677Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-10-05T04:19:03.677Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-10-05T04:19:03.677Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-10-05T04:19:03.677Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-10-05T04:19:03.943Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-10-05T04:19:03.943Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-10-05T04:19:03.943Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-10-05T04:19:04.208Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-10-05T04:19:04.208Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-10-05T04:19:04.208Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-10-05T04:19:04.208Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-10-05T04:19:04.473Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-10-05T04:19:04.473Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-10-05T04:19:04.473Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-10-05T04:19:04.473Z] [ 80%] Linking C static library libcbor.a [2021-10-05T04:19:04.473Z] [ 80%] Built target cbor [2021-10-05T04:19:04.473Z] Scanning dependencies of target sort [2021-10-05T04:19:04.473Z] [ 82%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-10-05T04:19:04.741Z] [ 84%] Linking C executable sort [2021-10-05T04:19:04.741Z] [ 84%] Built target sort [2021-10-05T04:19:04.741Z] Scanning dependencies of target readfile [2021-10-05T04:19:04.741Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-10-05T04:19:04.741Z] [ 88%] Linking C executable readfile [2021-10-05T04:19:04.741Z] [ 88%] Built target readfile [2021-10-05T04:19:04.741Z] Scanning dependencies of target streaming_parser [2021-10-05T04:19:04.741Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-10-05T04:19:04.741Z] [ 92%] Linking C executable streaming_parser [2021-10-05T04:19:04.741Z] [ 92%] Built target streaming_parser [2021-10-05T04:19:04.741Z] Scanning dependencies of target hello [2021-10-05T04:19:04.741Z] [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-10-05T04:19:05.007Z] [ 96%] Linking C executable hello [2021-10-05T04:19:05.007Z] [ 96%] Built target hello [2021-10-05T04:19:05.007Z] Scanning dependencies of target create_items [2021-10-05T04:19:05.007Z] [ 98%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-10-05T04:19:05.007Z] [100%] Linking C executable create_items [2021-10-05T04:19:05.007Z] [100%] Built target create_items [2021-10-05T04:19:05.007Z] Install the project... [2021-10-05T04:19:05.007Z] -- Install configuration: "Release" [2021-10-05T04:19:05.007Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-10-05T04:19:05.007Z] -- Installing: /usr/local/lib64/libcbor.a [2021-10-05T04:19:05.007Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-10-05T04:19:05.007Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-10-05T04:19:05.007Z] -- Installing: /usr/local/lib64/libcbor.so [2021-10-05T04:19:05.007Z] -- Up-to-date: /usr/local/include/cbor [2021-10-05T04:19:05.007Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-10-05T04:19:05.007Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-10-05T04:19:05.007Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-10-05T04:19:05.007Z] -- Installing: /usr/local/include/cbor/common.h [2021-10-05T04:19:05.007Z] -- Installing: /usr/local/include/cbor/data.h [2021-10-05T04:19:05.007Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-10-05T04:19:05.007Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-10-05T04:19:05.007Z] -- Installing: /usr/local/include/cbor/internal [2021-10-05T04:19:05.007Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-10-05T04:19:05.007Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-10-05T04:19:05.007Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-10-05T04:19:05.007Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-10-05T04:19:05.007Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-10-05T04:19:05.007Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-10-05T04:19:05.007Z] -- Installing: /usr/local/include/cbor/ints.h [2021-10-05T04:19:05.007Z] -- Installing: /usr/local/include/cbor/maps.h [2021-10-05T04:19:05.007Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-10-05T04:19:05.008Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-10-05T04:19:05.008Z] -- Installing: /usr/local/include/cbor/strings.h [2021-10-05T04:19:05.008Z] -- Installing: /usr/local/include/cbor/tags.h [2021-10-05T04:19:05.008Z] -- Installing: /usr/local/include/cbor.h [2021-10-05T04:19:05.008Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-10-05T04:19:05.596Z] Removing intermediate container 842aa819ced1 [2021-10-05T04:19:05.596Z] ---> b2c1ebaa275f [2021-10-05T04:19:05.596Z] Step 8/25 : RUN mkdir /tmp/sdk [2021-10-05T04:19:05.596Z] ---> Running in 4daf38461c00 [2021-10-05T04:19:06.182Z] Removing intermediate container 4daf38461c00 [2021-10-05T04:19:06.182Z] ---> 79e04bfaf00d [2021-10-05T04:19:06.182Z] Step 9/25 : COPY VERSION /tmp/sdk [2021-10-05T04:19:06.182Z] ---> 0ec45539734e [2021-10-05T04:19:06.182Z] Step 10/25 : COPY src /tmp/sdk/src [2021-10-05T04:19:06.455Z] ---> 641b23fb770c [2021-10-05T04:19:06.455Z] Step 11/25 : COPY include /tmp/sdk/include [2021-10-05T04:19:06.455Z] ---> 763d0e0010c4 [2021-10-05T04:19:06.455Z] Step 12/25 : COPY scripts /tmp/sdk/scripts [2021-10-05T04:19:06.721Z] ---> f1cd24da82a0 [2021-10-05T04:19:06.721Z] Step 13/25 : COPY LICENSE /tmp/sdk [2021-10-05T04:19:06.996Z] ---> a0655896b52b [2021-10-05T04:19:06.996Z] Step 14/25 : COPY Attribution.txt /tmp/sdk [2021-10-05T04:19:06.996Z] ---> 4969494a1229 [2021-10-05T04:19:06.996Z] Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-10-05T04:19:06.996Z] ---> Running in d08ce1d71f8c [2021-10-05T04:19:07.264Z] + CPPCHECK=false [2021-10-05T04:19:07.264Z] + DOCGEN=false [2021-10-05T04:19:07.264Z] + TOMLVER=SDK-0.2 [2021-10-05T04:19:07.264Z] + CUTILVER=1.2.2 [2021-10-05T04:19:07.264Z] + '[' 0 -gt 0 ] [2021-10-05T04:19:07.264Z] + readlink -f ./scripts/build.sh [2021-10-05T04:19:07.264Z] + dirname /tmp/sdk/scripts/build.sh [2021-10-05T04:19:07.264Z] + dirname /tmp/sdk/scripts [2021-10-05T04:19:07.264Z] + ROOT=/tmp/sdk [2021-10-05T04:19:07.264Z] + cd /tmp/sdk [2021-10-05T04:19:07.264Z] + '[' '!' -d deps ] [2021-10-05T04:19:07.264Z] + mkdir deps [2021-10-05T04:19:07.264Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-10-05T04:19:07.264Z] + tar -C deps -z -x -f - [2021-10-05T04:19:07.264Z] --2021-10-05 04:19:07-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-10-05T04:19:07.264Z] Resolving github.com (github.com)... 140.82.112.4 [2021-10-05T04:19:07.264Z] Connecting to github.com (github.com)|140.82.112.4|:443... connected. [2021-10-05T04:19:07.529Z] HTTP request sent, awaiting response... 302 Found [2021-10-05T04:19:07.529Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-10-05T04:19:07.529Z] --2021-10-05 04:19:07-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-10-05T04:19:07.529Z] Resolving codeload.github.com (codeload.github.com)... 140.82.114.9 [2021-10-05T04:19:07.529Z] Connecting to codeload.github.com (codeload.github.com)|140.82.114.9|:443... connected. [2021-10-05T04:19:07.529Z] HTTP request sent, awaiting response... 200 OK [2021-10-05T04:19:07.529Z] Length: unspecified [application/x-gzip] [2021-10-05T04:19:07.529Z] Saving to: 'STDOUT' [2021-10-05T04:19:07.529Z]  [2021-10-05T04:19:07.529Z] 0K .......... ......  834K=0.02s [2021-10-05T04:19:07.529Z] [2021-10-05T04:19:07.529Z] 2021-10-05 04:19:07 (834 KB/s) - written to stdout [16451] [2021-10-05T04:19:07.529Z] [2021-10-05T04:19:07.529Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-10-05T04:19:07.529Z] + tar -C deps -z -x+ -f - [2021-10-05T04:19:07.529Z] wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2021-10-05T04:19:07.529Z] --2021-10-05 04:19:07-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2021-10-05T04:19:07.529Z] Resolving github.com (github.com)... 140.82.112.4 [2021-10-05T04:19:07.529Z] Connecting to github.com (github.com)|140.82.112.4|:443... connected. [2021-10-05T04:19:07.797Z] HTTP request sent, awaiting response... 302 Found [2021-10-05T04:19:07.797Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [following] [2021-10-05T04:19:07.797Z] --2021-10-05 04:19:07-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [2021-10-05T04:19:07.797Z] Resolving codeload.github.com (codeload.github.com)... 140.82.114.9 [2021-10-05T04:19:07.797Z] Connecting to codeload.github.com (codeload.github.com)|140.82.114.9|:443... connected. [2021-10-05T04:19:07.797Z] HTTP request sent, awaiting response... 200 OK [2021-10-05T04:19:07.797Z] Length: unspecified [application/x-gzip] [2021-10-05T04:19:07.797Z] Saving to: 'STDOUT' [2021-10-05T04:19:07.797Z] [2021-10-05T04:19:07.797Z] 0K .......... .......... .......... .......... .......... 1.22M [2021-10-05T04:19:08.062Z] 50K .......... .......... .......... .......... .......... 2.64M [2021-10-05T04:19:08.062Z] 100K .......... .......... .......... .......... .......... 22.1M [2021-10-05T04:19:08.062Z] 150K .......... .......... .......... ......... 5.39M=0.07s [2021-10-05T04:19:08.062Z] [2021-10-05T04:19:08.062Z] 2021-10-05 04:19:07 (2.73 MB/s) - written to stdout [193971] [2021-10-05T04:19:08.062Z] [2021-10-05T04:19:08.062Z] + mkdir -p src/c/iot [2021-10-05T04:19:08.062Z] + cp deps/iotech-c-utils-1.2.2/src/c/base64.c deps/iotech-c-utils-1.2.2/src/c/component.c deps/iotech-c-utils-1.2.2/src/c/config.c deps/iotech-c-utils-1.2.2/src/c/container.c deps/iotech-c-utils-1.2.2/src/c/data.c deps/iotech-c-utils-1.2.2/src/c/hash.c deps/iotech-c-utils-1.2.2/src/c/iot.c deps/iotech-c-utils-1.2.2/src/c/json.c deps/iotech-c-utils-1.2.2/src/c/logger.c deps/iotech-c-utils-1.2.2/src/c/os.c deps/iotech-c-utils-1.2.2/src/c/scheduler.c deps/iotech-c-utils-1.2.2/src/c/thread.c deps/iotech-c-utils-1.2.2/src/c/threadpool.c deps/iotech-c-utils-1.2.2/src/c/time.c deps/iotech-c-utils-1.2.2/src/c/uuid.c deps/iotech-c-utils-1.2.2/src/c/yxml.c src/c/iot [2021-10-05T04:19:08.062Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2021-10-05T04:19:08.062Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2021-10-05T04:19:08.062Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2021-10-05T04:19:08.062Z] + mkdir -p include/iot [2021-10-05T04:19:08.062Z] + cp deps/iotech-c-utils-1.2.2/include/iot/base64.h deps/iotech-c-utils-1.2.2/include/iot/component.h deps/iotech-c-utils-1.2.2/include/iot/config.h deps/iotech-c-utils-1.2.2/include/iot/container.h deps/iotech-c-utils-1.2.2/include/iot/data.h deps/iotech-c-utils-1.2.2/include/iot/hash.h deps/iotech-c-utils-1.2.2/include/iot/iot.h deps/iotech-c-utils-1.2.2/include/iot/json.h deps/iotech-c-utils-1.2.2/include/iot/logger.h deps/iotech-c-utils-1.2.2/include/iot/os.h deps/iotech-c-utils-1.2.2/include/iot/scheduler.h deps/iotech-c-utils-1.2.2/include/iot/thread.h deps/iotech-c-utils-1.2.2/include/iot/threadpool.h deps/iotech-c-utils-1.2.2/include/iot/time.h deps/iotech-c-utils-1.2.2/include/iot/typecode.h deps/iotech-c-utils-1.2.2/include/iot/uuid.h include/iot [2021-10-05T04:19:08.062Z] + mkdir -p include/iot/os [2021-10-05T04:19:08.062Z] + cp deps/iotech-c-utils-1.2.2/include/iot/os/linux.h deps/iotech-c-utils-1.2.2/include/iot/os/macos.h deps/iotech-c-utils-1.2.2/include/iot/os/zephyr.h include/iot/os [2021-10-05T04:19:08.062Z] + mkdir -p /tmp/sdk/build/release [2021-10-05T04:19:08.062Z] + cd /tmp/sdk/build/release [2021-10-05T04:19:08.062Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-10-05T04:19:08.062Z] -- The C compiler identification is GNU 9.3.0 [2021-10-05T04:19:08.062Z] -- Check for working C compiler: /usr/bin/cc [2021-10-05T04:19:08.062Z] -- Check for working C compiler: /usr/bin/cc - works [2021-10-05T04:19:08.062Z] -- Detecting C compiler ABI info [2021-10-05T04:19:08.062Z] -- Detecting C compiler ABI info - done [2021-10-05T04:19:08.329Z] -- Detecting C compile features [2021-10-05T04:19:08.329Z] -- Detecting C compile features - done [2021-10-05T04:19:08.329Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-10-05T04:19:08.329Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") [2021-10-05T04:19:08.329Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-10-05T04:19:08.329Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-10-05T04:19:08.329Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-10-05T04:19:08.329Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-10-05T04:19:08.329Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-10-05T04:19:08.329Z] -- C SDK 0.0.0 for Linux [2021-10-05T04:19:08.329Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-10-05T04:19:08.329Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-10-05T04:19:08.329Z] -- Found Curses: /usr/lib/libcurses.so [2021-10-05T04:19:08.329Z] -- Configuring done [2021-10-05T04:19:08.329Z] -- Generating done [2021-10-05T04:19:08.329Z] -- Build files have been written to: /tmp/sdk/build/release [2021-10-05T04:19:08.329Z] + make all package [2021-10-05T04:19:08.329Z] + tee release.log [2021-10-05T04:19:08.595Z] Scanning dependencies of target csdk [2021-10-05T04:19:08.595Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-10-05T04:19:08.595Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-10-05T04:19:08.595Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-10-05T04:19:09.176Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-10-05T04:19:09.176Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-10-05T04:19:09.176Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-10-05T04:19:09.456Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-10-05T04:19:09.456Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-10-05T04:19:09.456Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-10-05T04:19:09.724Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-10-05T04:19:09.993Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-10-05T04:19:09.993Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-10-05T04:19:10.259Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-10-05T04:19:10.259Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-10-05T04:19:10.524Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-10-05T04:19:10.525Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-10-05T04:19:10.525Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-10-05T04:19:11.103Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-10-05T04:19:11.103Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-10-05T04:19:11.103Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-10-05T04:19:11.103Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-10-05T04:19:11.369Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-10-05T04:19:11.369Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2021-10-05T04:19:11.369Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2021-10-05T04:19:11.369Z] 275 | const iot_component_factory_t * factory; [2021-10-05T04:19:11.369Z] | ^~~~~~~ [2021-10-05T04:19:11.369Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-10-05T04:19:12.326Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-10-05T04:19:12.326Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-10-05T04:19:12.326Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-10-05T04:19:12.591Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-10-05T04:19:12.591Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-10-05T04:19:12.591Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-10-05T04:19:12.858Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-10-05T04:19:12.858Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-10-05T04:19:13.124Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-10-05T04:19:13.124Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2021-10-05T04:19:13.124Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-10-05T04:19:13.394Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-10-05T04:19:13.667Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-10-05T04:19:13.667Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-10-05T04:19:13.667Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-10-05T04:19:14.633Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-10-05T04:19:14.633Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-10-05T04:19:14.633Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-10-05T04:19:14.902Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-10-05T04:19:14.902Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-10-05T04:19:15.170Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-10-05T04:19:15.339Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1486 in /w/workspace/edgexfoundry_device-sdk-c_PR-380 [Pipeline] { [Pipeline] ws [2021-10-05T04:19:15.356Z] Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout [2021-10-05T04:19:15.440Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-10-05T04:19:15.440Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-10-05T04:19:15.440Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-10-05T04:19:15.610Z] Selected Git installation does not exist. Using Default [2021-10-05T04:19:15.610Z] The recommended git tool is: NONE [2021-10-05T04:19:16.044Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-10-05T04:19:16.634Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-10-05T04:19:16.634Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-10-05T04:19:16.634Z] [ 76%] Linking C shared library libcsdk.so [2021-10-05T04:19:16.634Z] [ 76%] Built target csdk [2021-10-05T04:19:16.634Z] Scanning dependencies of target template [2021-10-05T04:19:16.634Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-10-05T04:19:16.908Z] [ 79%] Linking C executable template [2021-10-05T04:19:16.908Z] [ 79%] Built target template [2021-10-05T04:19:16.908Z] Scanning dependencies of target device-counter [2021-10-05T04:19:16.908Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-10-05T04:19:17.176Z] [ 82%] Linking C executable device-counter [2021-10-05T04:19:17.176Z] [ 82%] Built target device-counter [2021-10-05T04:19:17.176Z] Scanning dependencies of target device-random [2021-10-05T04:19:17.176Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-10-05T04:19:17.176Z] [ 85%] Linking C executable device-random [2021-10-05T04:19:17.176Z] [ 85%] Built target device-random [2021-10-05T04:19:17.176Z] Scanning dependencies of target device-gyro [2021-10-05T04:19:17.176Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-10-05T04:19:17.442Z] [ 88%] Linking C executable device-gyro [2021-10-05T04:19:17.442Z] [ 88%] Built target device-gyro [2021-10-05T04:19:17.442Z] Scanning dependencies of target device-bitfields [2021-10-05T04:19:17.442Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-10-05T04:19:17.442Z] [ 91%] Linking C executable device-bitfields [2021-10-05T04:19:17.442Z] [ 91%] Built target device-bitfields [2021-10-05T04:19:17.737Z] Scanning dependencies of target template-discovery [2021-10-05T04:19:17.737Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-10-05T04:19:17.737Z] [ 94%] Linking C executable template-discovery [2021-10-05T04:19:17.737Z] [ 94%] Built target template-discovery [2021-10-05T04:19:17.737Z] Scanning dependencies of target device-file [2021-10-05T04:19:17.737Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-10-05T04:19:18.003Z] [ 97%] Linking C executable device-file [2021-10-05T04:19:18.003Z] [ 97%] Built target device-file [2021-10-05T04:19:18.003Z] Scanning dependencies of target device-terminal [2021-10-05T04:19:18.003Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-10-05T04:19:18.003Z] [100%] Linking C executable device-terminal [2021-10-05T04:19:18.003Z] [100%] Built target device-terminal [2021-10-05T04:19:18.003Z] Run CPack packaging tool... [2021-10-05T04:19:18.272Z] CPack: Create package using TGZ [2021-10-05T04:19:18.272Z] CPack: Install projects [2021-10-05T04:19:18.272Z] CPack: - Run preinstall target for: Csdk [2021-10-05T04:19:18.272Z] CPack: - Install project: Csdk [] [2021-10-05T04:19:18.272Z] CPack: Create package [2021-10-05T04:19:18.272Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-10-05T04:19:18.272Z] + '[' false '=' true ] [2021-10-05T04:19:18.272Z] + '[' false '=' true ] [2021-10-05T04:19:18.272Z] + mkdir -p /tmp/sdk/build/debug [2021-10-05T04:19:18.272Z] + cd /tmp/sdk/build/debug [2021-10-05T04:19:18.272Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-10-05T04:19:18.540Z] -- The C compiler identification is GNU 9.3.0 [2021-10-05T04:19:18.540Z] -- Check for working C compiler: /usr/bin/cc [2021-10-05T04:19:18.540Z] -- Check for working C compiler: /usr/bin/cc - works [2021-10-05T04:19:18.540Z] -- Detecting C compiler ABI info [2021-10-05T04:19:18.540Z] -- Detecting C compiler ABI info - done [2021-10-05T04:19:18.540Z] -- Detecting C compile features [2021-10-05T04:19:18.540Z] -- Detecting C compile features - done [2021-10-05T04:19:18.540Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-10-05T04:19:18.540Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") [2021-10-05T04:19:18.540Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-10-05T04:19:18.540Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-10-05T04:19:18.540Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-10-05T04:19:18.540Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-10-05T04:19:18.540Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-10-05T04:19:18.540Z] -- C SDK 0.0.0 for Linux [2021-10-05T04:19:18.540Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-10-05T04:19:18.806Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-10-05T04:19:18.806Z] -- Found Curses: /usr/lib/libcurses.so [2021-10-05T04:19:18.806Z] -- Configuring done [2021-10-05T04:19:18.806Z] -- Generating done [2021-10-05T04:19:18.806Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-10-05T04:19:18.806Z] + make [2021-10-05T04:19:18.806Z] + tee debug.log [2021-10-05T04:19:18.806Z] Scanning dependencies of target csdk [2021-10-05T04:19:18.806Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-10-05T04:19:18.806Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-10-05T04:19:19.078Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-10-05T04:19:19.078Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-10-05T04:19:19.078Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-10-05T04:19:19.344Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-10-05T04:19:19.344Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-10-05T04:19:19.344Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-10-05T04:19:19.344Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-10-05T04:19:19.612Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-10-05T04:19:19.612Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-10-05T04:19:19.612Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-10-05T04:19:19.877Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-10-05T04:19:19.877Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-10-05T04:19:19.877Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-10-05T04:19:19.877Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-10-05T04:19:19.877Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-10-05T04:19:20.145Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-10-05T04:19:20.145Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-10-05T04:19:20.145Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-10-05T04:19:20.411Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-10-05T04:19:20.411Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-10-05T04:19:20.411Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2021-10-05T04:19:20.411Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2021-10-05T04:19:20.411Z] 275 | const iot_component_factory_t * factory; [2021-10-05T04:19:20.411Z] | ^~~~~~~ [2021-10-05T04:19:20.411Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-10-05T04:19:20.681Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-10-05T04:19:20.681Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-10-05T04:19:20.681Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-10-05T04:19:20.681Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-10-05T04:19:20.948Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-10-05T04:19:20.948Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-10-05T04:19:20.948Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-10-05T04:19:20.948Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-10-05T04:19:20.948Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-10-05T04:19:21.220Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2021-10-05T04:19:21.220Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-10-05T04:19:21.220Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-10-05T04:19:21.220Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-10-05T04:19:21.220Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-10-05T04:19:21.462Z] using credential edgex-jenkins-ssh [2021-10-05T04:19:21.484Z] Cloning the remote Git repository [2021-10-05T04:19:21.486Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-10-05T04:19:21.487Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-10-05T04:19:21.551Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-10-05T04:19:21.667Z] > git init /w/workspace/device-sdk-c/2 # timeout=10 [2021-10-05T04:19:21.760Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-10-05T04:19:21.760Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-10-05T04:19:21.760Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-10-05T04:19:21.760Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-10-05T04:19:22.029Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-10-05T04:19:22.029Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-10-05T04:19:22.299Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-10-05T04:19:22.299Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-10-05T04:19:22.299Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-10-05T04:19:22.564Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-10-05T04:19:22.564Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-10-05T04:19:22.564Z] [ 76%] Linking C shared library libcsdk.so [2021-10-05T04:19:22.564Z] [ 76%] Built target csdk [2021-10-05T04:19:22.564Z] Scanning dependencies of target template [2021-10-05T04:19:22.564Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-10-05T04:19:22.834Z] [ 79%] Linking C executable template [2021-10-05T04:19:22.834Z] [ 79%] Built target template [2021-10-05T04:19:22.834Z] Scanning dependencies of target device-counter [2021-10-05T04:19:22.834Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-10-05T04:19:22.834Z] [ 82%] Linking C executable device-counter [2021-10-05T04:19:22.834Z] [ 82%] Built target device-counter [2021-10-05T04:19:22.834Z] Scanning dependencies of target device-random [2021-10-05T04:19:22.834Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-10-05T04:19:21.742Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-10-05T04:19:21.743Z] > git --version # timeout=10 [2021-10-05T04:19:21.765Z] > git --version # 'git version 2.17.1' [2021-10-05T04:19:21.766Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-05T04:19:21.866Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-05T04:19:23.101Z] [ 85%] Linking C executable device-random [2021-10-05T04:19:23.101Z] [ 85%] Built target device-random [2021-10-05T04:19:23.101Z] Scanning dependencies of target device-gyro [2021-10-05T04:19:23.101Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-10-05T04:19:23.101Z] [ 88%] Linking C executable device-gyro [2021-10-05T04:19:23.101Z] [ 88%] Built target device-gyro [2021-10-05T04:19:23.101Z] Scanning dependencies of target device-bitfields [2021-10-05T04:19:23.101Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-10-05T04:19:23.101Z] [ 91%] Linking C executable device-bitfields [2021-10-05T04:19:23.369Z] [ 91%] Built target device-bitfields [2021-10-05T04:19:23.369Z] Scanning dependencies of target template-discovery [2021-10-05T04:19:23.369Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-10-05T04:19:23.369Z] [ 94%] Linking C executable template-discovery [2021-10-05T04:19:23.369Z] [ 94%] Built target template-discovery [2021-10-05T04:19:23.369Z] Scanning dependencies of target device-file [2021-10-05T04:19:23.369Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-10-05T04:19:23.369Z] [ 97%] Linking C executable device-file [2021-10-05T04:19:23.636Z] [ 97%] Built target device-file [2021-10-05T04:19:23.636Z] Scanning dependencies of target device-terminal [2021-10-05T04:19:23.636Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-10-05T04:19:23.636Z] [100%] Linking C executable device-terminal [2021-10-05T04:19:23.636Z] [100%] Built target device-terminal [2021-10-05T04:19:23.636Z] make: Entering directory '/tmp/sdk/build/release' [2021-10-05T04:19:23.636Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-10-05T04:19:23.636Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-05T04:19:23.636Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-05T04:19:23.636Z] [ 76%] Built target csdk [2021-10-05T04:19:23.636Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-05T04:19:23.636Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-05T04:19:23.636Z] [ 79%] Built target template [2021-10-05T04:19:23.636Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-05T04:19:23.636Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-05T04:19:23.636Z] [ 82%] Built target device-counter [2021-10-05T04:19:23.636Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-05T04:19:23.891Z] Merging remotes/origin/main commit ce650ad78b6c877d3227a46e4e9eafbdd6610562 into PR head commit 53e0d6aa6f62f386083d777447c0003f9a1e544b [2021-10-05T04:19:23.903Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-05T04:19:23.903Z] [ 85%] Built target device-random [2021-10-05T04:19:23.903Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-05T04:19:23.903Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-05T04:19:23.903Z] [ 88%] Built target device-gyro [2021-10-05T04:19:23.903Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-05T04:19:23.903Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-05T04:19:23.903Z] [ 91%] Built target device-bitfields [2021-10-05T04:19:23.903Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-05T04:19:23.903Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-05T04:19:23.903Z] [ 94%] Built target template-discovery [2021-10-05T04:19:23.903Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-05T04:19:23.903Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-05T04:19:23.903Z] [ 97%] Built target device-file [2021-10-05T04:19:23.903Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-05T04:19:23.903Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-05T04:19:23.903Z] [100%] Built target device-terminal [2021-10-05T04:19:23.903Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-10-05T04:19:23.903Z] Install the project... [2021-10-05T04:19:23.903Z] -- Install configuration: "Release" [2021-10-05T04:19:23.903Z] -- Installing: /usr/local/lib/libcsdk.so [2021-10-05T04:19:23.903Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-10-05T04:19:23.903Z] -- Up-to-date: /usr/local/include [2021-10-05T04:19:23.903Z] -- Installing: /usr/local/include/devsdk [2021-10-05T04:19:23.903Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-10-05T04:19:23.903Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-10-05T04:19:23.903Z] -- Installing: /usr/local/include/edgex [2021-10-05T04:19:23.903Z] -- Installing: /usr/local/include/edgex/devices.h [2021-10-05T04:19:23.903Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-10-05T04:19:23.903Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-10-05T04:19:23.903Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-10-05T04:19:23.903Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-10-05T04:19:23.903Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-10-05T04:19:23.903Z] -- Installing: /usr/local/include/iot [2021-10-05T04:19:23.903Z] -- Installing: /usr/local/include/iot/base64.h [2021-10-05T04:19:23.903Z] -- Installing: /usr/local/include/iot/component.h [2021-10-05T04:19:23.903Z] -- Installing: /usr/local/include/iot/config.h [2021-10-05T04:19:23.903Z] -- Installing: /usr/local/include/iot/container.h [2021-10-05T04:19:23.903Z] -- Installing: /usr/local/include/iot/data.h [2021-10-05T04:19:23.903Z] -- Installing: /usr/local/include/iot/hash.h [2021-10-05T04:19:23.903Z] -- Installing: /usr/local/include/iot/iot.h [2021-10-05T04:19:23.903Z] -- Installing: /usr/local/include/iot/json.h [2021-10-05T04:19:23.903Z] -- Installing: /usr/local/include/iot/logger.h [2021-10-05T04:19:23.903Z] -- Installing: /usr/local/include/iot/os.h [2021-10-05T04:19:23.903Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-10-05T04:19:23.903Z] -- Installing: /usr/local/include/iot/thread.h [2021-10-05T04:19:23.903Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-10-05T04:19:23.903Z] -- Installing: /usr/local/include/iot/time.h [2021-10-05T04:19:23.903Z] -- Installing: /usr/local/include/iot/typecode.h [2021-10-05T04:19:23.903Z] -- Installing: /usr/local/include/iot/uuid.h [2021-10-05T04:19:23.903Z] -- Installing: /usr/local/include/iot/os [2021-10-05T04:19:23.903Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-10-05T04:19:23.903Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-10-05T04:19:23.903Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-10-05T04:19:23.903Z] -- Installing: /usr/local/include/iot/defs.h [2021-10-05T04:19:23.903Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-10-05T04:19:23.903Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-10-05T04:19:23.903Z] make: Leaving directory '/tmp/sdk/build/release' [2021-10-05T04:19:24.130Z] Merge succeeded, producing 53e0d6aa6f62f386083d777447c0003f9a1e544b [2021-10-05T04:19:24.131Z] Checking out Revision 53e0d6aa6f62f386083d777447c0003f9a1e544b (PR-380) [2021-10-05T04:19:23.099Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-10-05T04:19:23.112Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-05T04:19:23.135Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-10-05T04:19:23.171Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-10-05T04:19:23.171Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-05T04:19:23.185Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/380/head:refs/remotes/origin/PR-380 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-10-05T04:19:23.910Z] > git config core.sparsecheckout # timeout=10 [2021-10-05T04:19:23.927Z] > git checkout -f 53e0d6aa6f62f386083d777447c0003f9a1e544b # timeout=10 [2021-10-05T04:19:24.047Z] > git remote # timeout=10 [2021-10-05T04:19:24.066Z] > git config --get remote.origin.url # timeout=10 [2021-10-05T04:19:24.078Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-05T04:19:24.088Z] > git merge ce650ad78b6c877d3227a46e4e9eafbdd6610562 # timeout=10 [2021-10-05T04:19:24.109Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-05T04:19:24.136Z] > git config core.sparsecheckout # timeout=10 [2021-10-05T04:19:24.148Z] > git checkout -f 53e0d6aa6f62f386083d777447c0003f9a1e544b # timeout=10 [2021-10-05T04:19:24.486Z] Removing intermediate container d08ce1d71f8c [2021-10-05T04:19:24.486Z] ---> 99c0b5b0c7a0 [2021-10-05T04:19:24.486Z] Step 16/25 : FROM ${BASE} [2021-10-05T04:19:24.486Z] ---> ac6a0feb3254 [2021-10-05T04:19:24.486Z] Step 17/25 : LABEL maintainer="IOTech " [2021-10-05T04:19:24.486Z] ---> Running in 21fd22ca7f66 [2021-10-05T04:19:24.486Z] Removing intermediate container 21fd22ca7f66 [2021-10-05T04:19:24.486Z] ---> 481562510374 [2021-10-05T04:19:24.486Z] Step 18/25 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2021-10-05T04:19:24.486Z] ---> Running in 8cd42383c03b [2021-10-05T04:19:24.752Z] Connecting to iotech.jfrog.io (54.229.110.245:443) [2021-10-05T04:19:25.361Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2021-10-05T04:19:25.361Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2021-10-05T04:19:25.361Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2021-10-05T04:19:25.361Z] Removing intermediate container 8cd42383c03b [2021-10-05T04:19:25.361Z] ---> 9fc4ba3fc6a4 [2021-10-05T04:19:25.361Z] Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2021-10-05T04:19:25.361Z] ---> Running in d77286be6e3b [2021-10-05T04:19:25.940Z] Removing intermediate container d77286be6e3b [2021-10-05T04:19:25.940Z] ---> 58174da37617 [2021-10-05T04:19:25.940Z] Step 20/25 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid paho-mqtt-c-dev-1.3 hiredis-dev [2021-10-05T04:19:25.940Z] ---> Running in dcdc0b40705e [2021-10-05T04:19:26.210Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-10-05T04:19:26.795Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-10-05T04:19:27.059Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-05T04:19:28.629Z] Commit message: "ci: Update PR Template" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-05T04:19:29.018Z] provisioning config files... [2021-10-05T04:19:29.051Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/2@tmp/config4482086638782946996tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-05T04:19:29.693Z] ---> docker-login.sh [2021-10-05T04:19:29.693Z] nexus3.edgexfoundry.org:10001 [2021-10-05T04:19:31.167Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T04:19:31.451Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T04:19:31.451Z] Configure a credential helper to remove this warning. See [2021-10-05T04:19:31.451Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T04:19:31.451Z] [2021-10-05T04:19:31.451Z] Login Succeeded [2021-10-05T04:19:31.451Z] nexus3.edgexfoundry.org:10002 [2021-10-05T04:19:31.733Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T04:19:31.733Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T04:19:31.733Z] Configure a credential helper to remove this warning. See [2021-10-05T04:19:31.733Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T04:19:31.733Z] [2021-10-05T04:19:31.733Z] Login Succeeded [2021-10-05T04:19:31.733Z] nexus3.edgexfoundry.org:10003 [2021-10-05T04:19:32.353Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T04:19:32.353Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T04:19:32.353Z] Configure a credential helper to remove this warning. See [2021-10-05T04:19:32.353Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T04:19:32.353Z] [2021-10-05T04:19:32.353Z] Login Succeeded [2021-10-05T04:19:32.353Z] nexus3.edgexfoundry.org:10004 [2021-10-05T04:19:32.972Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T04:19:32.972Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T04:19:32.972Z] Configure a credential helper to remove this warning. See [2021-10-05T04:19:32.972Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T04:19:32.972Z] [2021-10-05T04:19:32.972Z] Login Succeeded [2021-10-05T04:19:32.972Z] docker.io [2021-10-05T04:19:33.605Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T04:19:33.942Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T04:19:33.942Z] Configure a credential helper to remove this warning. See [2021-10-05T04:19:33.942Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T04:19:33.942Z] [2021-10-05T04:19:33.942Z] Login Succeeded [2021-10-05T04:19:33.942Z] ---> docker-login.sh ends [Pipeline] } [2021-10-05T04:19:34.147Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-05T04:19:34.762Z] ========================================================= [2021-10-05T04:19:34.762Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2021-10-05T04:19:34.762Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-05T04:19:35.175Z] + 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-10-05T04:19:35.813Z] Sending build context to Docker daemon 2.709MB [2021-10-05T04:19:35.813Z] Step 1/25 : ARG BASE=alpine:3.14 [2021-10-05T04:19:35.813Z] Step 2/25 : FROM ${BASE} as builder [2021-10-05T04:19:35.813Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2021-10-05T04:19:35.813Z] d2f70382dc9a: Pulling fs layer [2021-10-05T04:19:35.813Z] b08cc2eccb4b: Pulling fs layer [2021-10-05T04:19:35.813Z] 7b69db201801: Pulling fs layer [2021-10-05T04:19:36.098Z] b08cc2eccb4b: Verifying Checksum [2021-10-05T04:19:36.098Z] b08cc2eccb4b: Download complete [2021-10-05T04:19:36.098Z] d2f70382dc9a: Verifying Checksum [2021-10-05T04:19:36.098Z] d2f70382dc9a: Download complete [2021-10-05T04:19:37.111Z] d2f70382dc9a: Pull complete [2021-10-05T04:19:37.738Z] b08cc2eccb4b: Pull complete [2021-10-05T04:19:38.028Z] 7b69db201801: Verifying Checksum [2021-10-05T04:19:38.028Z] 7b69db201801: Download complete [2021-10-05T04:19:45.252Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2021-10-05T04:19:45.252Z] (1/7) Installing curl (7.79.1-r0) [2021-10-05T04:19:45.252Z] (2/7) Installing hiredis (0.14.1-r0) [2021-10-05T04:19:45.252Z] (3/7) Installing hiredis-dev (0.14.1-r0) [2021-10-05T04:19:45.252Z] (4/7) Installing libuuid (2.35.2-r0) [2021-10-05T04:19:45.252Z] (5/7) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2021-10-05T04:19:45.252Z] (6/7) Installing libidn2 (2.3.0-r0) [2021-10-05T04:19:45.252Z] (7/7) Installing wget (1.20.3-r1) [2021-10-05T04:19:45.252Z] Executing busybox-1.31.1-r20.trigger [2021-10-05T04:19:45.252Z] OK: 286 MiB in 82 packages [2021-10-05T04:19:45.252Z] Removing intermediate container dcdc0b40705e [2021-10-05T04:19:45.252Z] ---> 7b06b4bf40ec [2021-10-05T04:19:45.252Z] Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-10-05T04:19:45.252Z] ---> 5f6bef6ed487 [2021-10-05T04:19:45.252Z] Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-10-05T04:19:45.518Z] ---> 6f6d5425dde1 [2021-10-05T04:19:45.518Z] Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-10-05T04:19:45.785Z] ---> d8b12a58eaab [2021-10-05T04:19:45.785Z] Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-10-05T04:19:45.785Z] ---> 28d8865974c0 [2021-10-05T04:19:45.785Z] Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-10-05T04:19:46.051Z] ---> a13543b33121 [2021-10-05T04:19:46.052Z] Successfully built a13543b33121 [2021-10-05T04:19:46.052Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-05T04:19:46.448Z] 7b69db201801: Pull complete [2021-10-05T04:19:46.448Z] Digest: sha256:6402f0ff92f22f5db569dc2a94aef5717e50795d64082fb226716824a8b8ffba [2021-10-05T04:19:46.448Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2021-10-05T04:19:46.448Z] ---> 759262b18b23 [2021-10-05T04:19:46.448Z] Step 3/25 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2021-10-05T04:19:46.526Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-05T04:19:46.526Z] . [Pipeline] withDockerContainer [2021-10-05T04:19:46.617Z] prd-centos7-docker-4c-2g-1488 does not seem to be running inside a container [2021-10-05T04:19:46.706Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-05T04:19:47.051Z] $ docker top 6f2379d74262fb753ceca078cbf432875d148785d361537b6d0ea6180381ec6a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-05T04:19:47.446Z] + make test [2021-10-05T04:19:47.447Z] echo "make test" [2021-10-05T04:19:47.447Z] make test [Pipeline] } [2021-10-05T04:19:47.465Z] $ docker stop --time=1 6f2379d74262fb753ceca078cbf432875d148785d361537b6d0ea6180381ec6a [2021-10-05T04:19:48.565Z] ---> Running in dcd718454496 [2021-10-05T04:19:48.662Z] $ docker rm -f 6f2379d74262fb753ceca078cbf432875d148785d361537b6d0ea6180381ec6a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-05T04:19:49.789Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-05T04:19:50.098Z] + ls -al . [2021-10-05T04:19:50.098Z] total 172 [2021-10-05T04:19:50.098Z] drwxrwxr-x. 8 jenkins jenkins 4096 Oct 5 04:18 . [2021-10-05T04:19:50.098Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 5 04:18 .. [2021-10-05T04:19:50.098Z] -rw-rw-r--. 1 jenkins jenkins 3104 Oct 5 04:18 Attribution.txt [2021-10-05T04:19:50.098Z] -rw-rw-r--. 1 jenkins jenkins 7767 Oct 5 04:18 CHANGES [2021-10-05T04:19:50.098Z] drwxrwxr-x. 2 jenkins jenkins 121 Oct 5 04:18 docs [2021-10-05T04:19:50.098Z] -rw-rw-r--. 1 jenkins jenkins 108574 Oct 5 04:18 Doxyfile [2021-10-05T04:19:50.098Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 5 04:18 .git [2021-10-05T04:19:50.098Z] drwxrwxr-x. 3 jenkins jenkins 103 Oct 5 04:18 .github [2021-10-05T04:19:50.098Z] -rw-rw-r--. 1 jenkins jenkins 176 Oct 5 04:18 .gitignore [2021-10-05T04:19:50.098Z] -rw-rw-r--. 1 jenkins jenkins 677 Oct 5 04:18 GOVERNANCE.md [2021-10-05T04:19:50.098Z] drwxrwxr-x. 4 jenkins jenkins 33 Oct 5 04:18 include [2021-10-05T04:19:50.098Z] -rw-rw-r--. 1 jenkins jenkins 784 Oct 5 04:18 Jenkinsfile [2021-10-05T04:19:50.098Z] -rw-rw-r--. 1 jenkins jenkins 10174 Oct 5 04:18 LICENSE [2021-10-05T04:19:50.098Z] -rw-rw-r--. 1 jenkins jenkins 444 Oct 5 04:18 Makefile [2021-10-05T04:19:50.098Z] -rw-rw-r--. 1 jenkins jenkins 618 Oct 5 04:18 OWNERS.md [2021-10-05T04:19:50.098Z] -rw-rw-r--. 1 jenkins jenkins 4086 Oct 5 04:18 README.md [2021-10-05T04:19:50.098Z] -rw-rw-r--. 1 jenkins jenkins 7422 Oct 5 04:18 README.v2.md [2021-10-05T04:19:50.098Z] drwxrwxr-x. 2 jenkins jenkins 98 Oct 5 04:18 scripts [2021-10-05T04:19:50.098Z] drwxrwxr-x. 4 jenkins jenkins 50 Oct 5 04:18 src [2021-10-05T04:19:50.098Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 5 04:15 VERSION [2021-10-05T04:19:50.098Z] Connecting to iotech.jfrog.io (54.229.110.245:443) [Pipeline] isUnix [Pipeline] sh [2021-10-05T04:19:50.416Z] + 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=53e0d6aa6f62f386083d777447c0003f9a1e544b --label arch=amd64 --label version=0.0.0 . [2021-10-05T04:19:50.416Z] Sending build context to Docker daemon 2.71MB [2021-10-05T04:19:50.416Z] Step 1/17 : ARG BASE=alpine:3.14 [2021-10-05T04:19:50.416Z] Step 2/17 : FROM ${BASE} [2021-10-05T04:19:50.416Z] ---> a13543b33121 [2021-10-05T04:19:50.416Z] Step 3/17 : LABEL maintainer="IOTech " [2021-10-05T04:19:50.416Z] ---> Running in 1beb99d7afbb [2021-10-05T04:19:50.685Z] Removing intermediate container 1beb99d7afbb [2021-10-05T04:19:50.685Z] ---> add1ab5a2688 [2021-10-05T04:19:50.685Z] Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2021-10-05T04:19:50.685Z] ---> Running in ebf300fc71f6 [2021-10-05T04:19:50.732Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2021-10-05T04:19:50.732Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2021-10-05T04:19:50.732Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2021-10-05T04:19:50.951Z] --2021-10-05 04:19:50-- https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release [2021-10-05T04:19:50.951Z] Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.72.115.12, 54.229.110.245, 54.195.244.87 [2021-10-05T04:19:50.951Z] Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.72.115.12|:443... connected. [2021-10-05T04:19:51.216Z] HTTP request sent, awaiting response... 200 OK [2021-10-05T04:19:51.216Z] Length: unspecified [application/json] [2021-10-05T04:19:51.216Z] Saving to: '/etc/apk/keys/alpine.dev.rsa.pub' [2021-10-05T04:19:51.216Z]  [2021-10-05T04:19:51.216Z] 0K  25.6M=0s [2021-10-05T04:19:51.216Z] [2021-10-05T04:19:51.216Z] 2021-10-05 04:19:51 (25.6 MB/s) - '/etc/apk/keys/alpine.dev.rsa.pub' saved [451] [2021-10-05T04:19:51.216Z] [2021-10-05T04:19:51.485Z] Removing intermediate container ebf300fc71f6 [2021-10-05T04:19:51.485Z] ---> 34b769b2c72a [2021-10-05T04:19:51.485Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2021-10-05T04:19:51.485Z] ---> Running in cfc9587d8c5c [2021-10-05T04:19:51.753Z] Removing intermediate container dcd718454496 [2021-10-05T04:19:51.753Z] ---> 3ba41c9443ed [2021-10-05T04:19:51.753Z] Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2021-10-05T04:19:51.753Z] ---> Running in 94340647d6d8 [2021-10-05T04:19:51.754Z] Removing intermediate container cfc9587d8c5c [2021-10-05T04:19:51.754Z] ---> 5d09e35dfdd2 [2021-10-05T04:19:51.754Z] Step 6/17 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev-1.3 hiredis-dev && mkdir -p /edgex-c-sdk/build [2021-10-05T04:19:51.754Z] ---> Running in 4d9e359f75d4 [2021-10-05T04:19:52.024Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-10-05T04:19:52.610Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-10-05T04:19:52.878Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-05T04:19:53.459Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2021-10-05T04:19:53.459Z] (1/16) Installing ncurses-dev (6.2_p20200523-r0) [2021-10-05T04:19:53.459Z] (2/16) Installing libblkid (2.35.2-r0) [2021-10-05T04:19:53.459Z] (3/16) Installing blkid (2.35.2-r0) [2021-10-05T04:19:53.724Z] (4/16) Installing libcap-ng (0.7.10-r1) [2021-10-05T04:19:53.724Z] (5/16) Installing setpriv (2.35.2-r0) [2021-10-05T04:19:53.724Z] (6/16) Installing libmount (2.35.2-r0) [2021-10-05T04:19:53.991Z] (7/16) Installing libsmartcols (2.35.2-r0) [2021-10-05T04:19:53.991Z] (8/16) Installing findmnt (2.35.2-r0) [2021-10-05T04:19:53.991Z] (9/16) Installing mcookie (2.35.2-r0) [2021-10-05T04:19:54.256Z] (10/16) Installing hexdump (2.35.2-r0) [2021-10-05T04:19:54.256Z] (11/16) Installing lsblk (2.35.2-r0) [2021-10-05T04:19:54.256Z] (12/16) Installing libfdisk (2.35.2-r0) [2021-10-05T04:19:54.440Z] Removing intermediate container 94340647d6d8 [2021-10-05T04:19:54.440Z] ---> 4d3d0a3cb81c [2021-10-05T04:19:54.440Z] Step 5/25 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev-1.3 hiredis-dev [2021-10-05T04:19:54.440Z] ---> Running in fbe8d6ec714f [2021-10-05T04:19:54.521Z] (13/16) Installing sfdisk (2.35.2-r0) [2021-10-05T04:19:54.521Z] (14/16) Installing cfdisk (2.35.2-r0) [2021-10-05T04:19:54.521Z] (15/16) Installing util-linux (2.35.2-r0) [2021-10-05T04:19:54.792Z] (16/16) Installing util-linux-dev (2.35.2-r0) [2021-10-05T04:19:55.067Z] Executing busybox-1.31.1-r20.trigger [2021-10-05T04:19:55.067Z] OK: 295 MiB in 98 packages [2021-10-05T04:19:55.333Z] Removing intermediate container 4d9e359f75d4 [2021-10-05T04:19:55.333Z] ---> 56415fac47ab [2021-10-05T04:19:55.333Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2021-10-05T04:19:55.456Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-10-05T04:19:55.599Z] ---> b380edef37de [2021-10-05T04:19:55.599Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2021-10-05T04:19:55.864Z] ---> 1918da58d30a [2021-10-05T04:19:55.865Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2021-10-05T04:19:55.865Z] ---> 943f1503a46a [2021-10-05T04:19:55.865Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2021-10-05T04:19:56.074Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-10-05T04:19:56.130Z] ---> 2b18e8f9ec9e [2021-10-05T04:19:56.130Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2021-10-05T04:19:56.130Z] ---> 80b54e38b421 [2021-10-05T04:19:56.130Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2021-10-05T04:19:56.354Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-05T04:19:56.396Z] ---> 6bf59cd4cf57 [2021-10-05T04:19:56.396Z] Step 13/17 : WORKDIR /edgex-c-sdk [2021-10-05T04:19:56.396Z] ---> Running in 9cb3cac26cff [2021-10-05T04:19:56.396Z] Removing intermediate container 9cb3cac26cff [2021-10-05T04:19:56.396Z] ---> 3f18b2a768df [2021-10-05T04:19:56.396Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-10-05T04:19:56.396Z] ---> Running in e2e625d5e104 [2021-10-05T04:19:56.664Z] Removing intermediate container e2e625d5e104 [2021-10-05T04:19:56.664Z] ---> 6348c8420843 [2021-10-05T04:19:56.664Z] Step 15/17 : LABEL arch=amd64 [2021-10-05T04:19:56.664Z] ---> Running in 2bfd0e942496 [2021-10-05T04:19:56.664Z] Removing intermediate container 2bfd0e942496 [2021-10-05T04:19:56.664Z] ---> ec6eb5eb5608 [2021-10-05T04:19:56.664Z] Step 16/17 : LABEL git_sha=53e0d6aa6f62f386083d777447c0003f9a1e544b [2021-10-05T04:19:56.664Z] ---> Running in 9f0171a08f69 [2021-10-05T04:19:56.929Z] Removing intermediate container 9f0171a08f69 [2021-10-05T04:19:56.929Z] ---> e51c972ffdac [2021-10-05T04:19:56.929Z] Step 17/17 : LABEL version=0.0.0 [2021-10-05T04:19:56.929Z] ---> Running in a4cfa8fc61e2 [2021-10-05T04:19:56.929Z] Removing intermediate container a4cfa8fc61e2 [2021-10-05T04:19:56.929Z] ---> 445ba4aec1ac [2021-10-05T04:19:56.929Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-10-05T04:19:56.929Z] Successfully built 445ba4aec1ac [2021-10-05T04:19:56.929Z] Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // script [Pipeline] } [2021-10-05T04:19:56.966Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2021-10-05T04:19:56.967Z] (1/22) Installing hiredis (0.14.1-r0) [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [2021-10-05T04:19:57.248Z] (2/22) Installing hiredis-dev (0.14.1-r0) [2021-10-05T04:19:57.248Z] (3/22) Installing ncurses-dev (6.2_p20200523-r0) [2021-10-05T04:19:57.248Z] (4/22) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-05T04:19:57.583Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-05T04:19:57.584Z] [2021-10-05T04:19:57.584Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-05T04:19:57.916Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-05T04:19:57.916Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-05T04:19:57.916Z] b4d181a07f80: Pulling fs layer [2021-10-05T04:19:57.916Z] a1111a8f2ec3: Pulling fs layer [2021-10-05T04:19:57.916Z] ed53099fbce6: Pulling fs layer [2021-10-05T04:19:57.916Z] dc539afda2c1: Pulling fs layer [2021-10-05T04:19:57.916Z] 77bc0d833cb6: Pulling fs layer [2021-10-05T04:19:57.916Z] 9065ff56babe: Pulling fs layer [2021-10-05T04:19:57.916Z] d287ab97295c: Pulling fs layer [2021-10-05T04:19:57.916Z] dc539afda2c1: Waiting [2021-10-05T04:19:57.916Z] 77bc0d833cb6: Waiting [2021-10-05T04:19:57.916Z] 9065ff56babe: Waiting [2021-10-05T04:19:57.916Z] d287ab97295c: Waiting [2021-10-05T04:19:58.184Z] a1111a8f2ec3: Verifying Checksum [2021-10-05T04:19:58.184Z] a1111a8f2ec3: Download complete [2021-10-05T04:19:58.184Z] dc539afda2c1: Verifying Checksum [2021-10-05T04:19:58.184Z] dc539afda2c1: Download complete [2021-10-05T04:19:58.184Z] ed53099fbce6: Verifying Checksum [2021-10-05T04:19:58.184Z] ed53099fbce6: Download complete [2021-10-05T04:19:58.184Z] 9065ff56babe: Verifying Checksum [2021-10-05T04:19:58.184Z] 9065ff56babe: Download complete [2021-10-05T04:19:58.250Z] (5/22) Installing libblkid (2.35.2-r0) [2021-10-05T04:19:58.456Z] 77bc0d833cb6: Verifying Checksum [2021-10-05T04:19:58.456Z] 77bc0d833cb6: Download complete [2021-10-05T04:19:58.456Z] b4d181a07f80: Verifying Checksum [2021-10-05T04:19:58.456Z] b4d181a07f80: Download complete [2021-10-05T04:19:58.530Z] (6/22) Installing blkid (2.35.2-r0) [2021-10-05T04:19:58.530Z] (7/22) Installing libcap-ng (0.7.10-r1) [2021-10-05T04:19:58.530Z] (8/22) Installing setpriv (2.35.2-r0) [2021-10-05T04:19:58.812Z] (9/22) Installing libmount (2.35.2-r0) [2021-10-05T04:19:58.812Z] (10/22) Installing libsmartcols (2.35.2-r0) [2021-10-05T04:19:59.103Z] (11/22) Installing findmnt (2.35.2-r0) [2021-10-05T04:19:59.103Z] (12/22) Installing mcookie (2.35.2-r0) [2021-10-05T04:19:59.103Z] (13/22) Installing hexdump (2.35.2-r0) [2021-10-05T04:19:59.383Z] (14/22) Installing lsblk (2.35.2-r0) [2021-10-05T04:19:59.383Z] (15/22) Installing libuuid (2.35.2-r0) [2021-10-05T04:19:59.383Z] (16/22) Installing libfdisk (2.35.2-r0) [2021-10-05T04:19:59.433Z] d287ab97295c: Verifying Checksum [2021-10-05T04:19:59.433Z] d287ab97295c: Download complete [2021-10-05T04:19:59.662Z] (17/22) Installing sfdisk (2.35.2-r0) [2021-10-05T04:19:59.662Z] (18/22) Installing cfdisk (2.35.2-r0) [2021-10-05T04:19:59.662Z] (19/22) Installing util-linux (2.35.2-r0) [2021-10-05T04:19:59.696Z] b4d181a07f80: Pull complete [2021-10-05T04:19:59.942Z] (20/22) Installing util-linux-dev (2.35.2-r0) [2021-10-05T04:19:59.968Z] a1111a8f2ec3: Pull complete [2021-10-05T04:20:00.221Z] (21/22) Installing libidn2 (2.3.0-r0) [2021-10-05T04:20:00.221Z] (22/22) Installing wget (1.20.3-r1) [2021-10-05T04:20:00.504Z] Executing busybox-1.31.1-r20.trigger [2021-10-05T04:20:00.504Z] OK: 276 MiB in 97 packages [2021-10-05T04:20:00.556Z] ed53099fbce6: Pull complete [2021-10-05T04:20:00.556Z] dc539afda2c1: Pull complete [2021-10-05T04:20:00.825Z] 77bc0d833cb6: Pull complete [2021-10-05T04:20:01.115Z] 9065ff56babe: Pull complete [2021-10-05T04:20:02.013Z] Removing intermediate container fbe8d6ec714f [2021-10-05T04:20:02.014Z] ---> ff2b2ef005f1 [2021-10-05T04:20:02.014Z] Step 6/25 : ENV CBOR_VERSION=0.5.0 [2021-10-05T04:20:02.296Z] ---> Running in cb525771f8c7 [2021-10-05T04:20:02.915Z] Removing intermediate container cb525771f8c7 [2021-10-05T04:20:02.915Z] ---> 0bc70ed6dca8 [2021-10-05T04:20:02.915Z] 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-10-05T04:20:02.915Z] ---> Running in f98b7e6c26a5 [2021-10-05T04:20:04.409Z] --2021-10-05 04:20:04-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-10-05T04:20:04.409Z] Resolving github.com (github.com)... 140.82.112.3 [2021-10-05T04:20:04.409Z] Connecting to github.com (github.com)|140.82.112.3|:443... connected. [2021-10-05T04:20:04.409Z] HTTP request sent, awaiting response... 302 Found [2021-10-05T04:20:04.409Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-10-05T04:20:04.409Z] --2021-10-05 04:20:04-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-10-05T04:20:04.409Z] Resolving codeload.github.com (codeload.github.com)... 140.82.112.9 [2021-10-05T04:20:04.409Z] Connecting to codeload.github.com (codeload.github.com)|140.82.112.9|:443... connected. [2021-10-05T04:20:04.409Z] HTTP request sent, awaiting response... 200 OK [2021-10-05T04:20:04.409Z] Length: unspecified [application/x-gzip] [2021-10-05T04:20:04.409Z] Saving to: 'STDOUT' [2021-10-05T04:20:04.409Z] [2021-10-05T04:20:04.694Z] 0K .......... .......... .......... .......... .......... 1.16M [2021-10-05T04:20:04.694Z] 50K .......... .......... .......... .......... .......... 2.19M [2021-10-05T04:20:04.694Z] 100K .......... .......... .......... .......... .......... 2.45M [2021-10-05T04:20:04.694Z] 150K .......... .......... .......... .......... .......... 13.0M [2021-10-05T04:20:04.694Z] 200K .......... .......... .......... .......... .......... 15.1M [2021-10-05T04:20:04.694Z] 250K .......... .......... .......... .......... .......... 3.42M [2021-10-05T04:20:04.694Z] 300K .......... .......... .......... .......... .......... 5.60M [2021-10-05T04:20:04.694Z] 350K .......... .......... .......... .......... .......... 4.89M [2021-10-05T04:20:04.694Z] 400K .......... .......... .......... .......... .......... 5.06M [2021-10-05T04:20:04.694Z] 450K .......... .......... .......... .......... .......... 6.33M [2021-10-05T04:20:04.694Z] 500K .......... .......... .......... .......... .......... 4.89M [2021-10-05T04:20:04.694Z] 550K .......... .......... .......... .......... .......... 6.18M [2021-10-05T04:20:04.694Z] 600K .......... .......... .......... .......... .......... 1.03M [2021-10-05T04:20:04.694Z] 650K .......... .......... .......... .......... .......... 1.52M [2021-10-05T04:20:04.694Z] 700K ..   4746G=0.2s [2021-10-05T04:20:04.694Z] [2021-10-05T04:20:04.694Z] 2021-10-05 04:20:04 (2.87 MB/s) - written to stdout [719348] [2021-10-05T04:20:04.694Z] [2021-10-05T04:20:05.310Z] -- The C compiler identification is GNU 9.3.0 [2021-10-05T04:20:05.591Z] -- The CXX compiler identification is GNU 9.3.0 [2021-10-05T04:20:05.591Z] -- Check for working C compiler: /usr/bin/cc [2021-10-05T04:20:05.874Z] -- Check for working C compiler: /usr/bin/cc - works [2021-10-05T04:20:05.874Z] -- Detecting C compiler ABI info [2021-10-05T04:20:06.157Z] -- Detecting C compiler ABI info - done [2021-10-05T04:20:06.157Z] -- Detecting C compile features [2021-10-05T04:20:06.157Z] -- Detecting C compile features - done [2021-10-05T04:20:06.157Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-10-05T04:20:06.447Z] -- Check for working CXX compiler: /usr/bin/c++ - works [2021-10-05T04:20:06.447Z] -- Detecting CXX compiler ABI info [2021-10-05T04:20:06.519Z] d287ab97295c: Pull complete [2021-10-05T04:20:06.519Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-05T04:20:06.519Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-05T04:20:06.519Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-05T04:20:06.606Z] prd-centos7-docker-4c-2g-1488 does not seem to be running inside a container [2021-10-05T04:20:06.662Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-05T04:20:07.071Z] -- Detecting CXX compiler ABI info - done [2021-10-05T04:20:07.071Z] -- Detecting CXX compile features [2021-10-05T04:20:07.071Z] -- Detecting CXX compile features - done [2021-10-05T04:20:07.071Z] -- Looking for include file endian.h [2021-10-05T04:20:07.362Z] -- Looking for include file endian.h - found [2021-10-05T04:20:07.362Z] -- Check if the system is big endian [2021-10-05T04:20:07.362Z] -- Searching 16 bit integer [2021-10-05T04:20:07.362Z] -- Looking for sys/types.h [2021-10-05T04:20:07.655Z] -- Looking for sys/types.h - found [2021-10-05T04:20:07.655Z] -- Looking for stdint.h [2021-10-05T04:20:07.940Z] -- Looking for stdint.h - found [2021-10-05T04:20:07.940Z] -- Looking for stddef.h [2021-10-05T04:20:08.229Z] -- Looking for stddef.h - found [2021-10-05T04:20:08.229Z] -- Check size of unsigned short [2021-10-05T04:20:08.515Z] -- Check size of unsigned short - done [2021-10-05T04:20:08.515Z] -- Searching 16 bit integer - Using unsigned short [2021-10-05T04:20:08.799Z] -- Check if the system is big endian - little endian [2021-10-05T04:20:08.799Z] -- Check size of size_t [2021-10-05T04:20:09.083Z] -- Check size of size_t - done [2021-10-05T04:20:09.083Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-10-05T04:20:09.083Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-10-05T04:20:09.083Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-10-05T04:20:09.083Z] CMake did not find one. [2021-10-05T04:20:09.083Z] [2021-10-05T04:20:09.083Z] Could not find a package configuration file provided by "cJSON" with any of [2021-10-05T04:20:09.083Z] the following names: [2021-10-05T04:20:09.083Z] [2021-10-05T04:20:09.083Z] cJSONConfig.cmake [2021-10-05T04:20:09.083Z] cjson-config.cmake [2021-10-05T04:20:09.083Z] [2021-10-05T04:20:09.083Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-10-05T04:20:09.083Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-10-05T04:20:09.083Z] provides a separate development package or SDK, be sure it has been [2021-10-05T04:20:09.083Z] installed. [2021-10-05T04:20:09.083Z] [2021-10-05T04:20:09.083Z] [2021-10-05T04:20:09.083Z] -- Configuring done [2021-10-05T04:20:09.185Z] $ docker top c9324295e0535f632e5a1fceb0b53442f5d4f1845aa9178388dbed9453c0de3f -eo pid,comm [Pipeline] { [2021-10-05T04:20:09.367Z] -- Generating done [2021-10-05T04:20:09.367Z] -- Build files have been written to: /tmp/cbor [Pipeline] libraryResource [Pipeline] sh [2021-10-05T04:20:09.649Z] Scanning dependencies of target cbor_shared [2021-10-05T04:20:09.649Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-10-05T04:20:09.808Z] ---> job-cost.sh [2021-10-05T04:20:09.808Z] lf-activate-venv: SKIPPING [2021-10-05T04:20:09.809Z] INFO: No Stack... [2021-10-05T04:20:10.658Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-10-05T04:20:11.214Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-05T04:20:11.294Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-10-05T04:20:11.478Z] INFO: Archiving Costs [Pipeline] sh [2021-10-05T04:20:11.578Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-10-05T04:20:11.802Z] + cat /w/workspace/device-sdk-c/2/archives/cost.csv [2021-10-05T04:20:11.802Z] + cut -d, -f6 [Pipeline] lock [2021-10-05T04:20:11.841Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-380-2-stack-cost] [2021-10-05T04:20:11.854Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-380-2-stack-cost] did not exist. Created. [2021-10-05T04:20:11.854Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-380-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-05T04:20:12.192Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-05T04:20:12.441Z] Stashed 1 file(s) [Pipeline] } [2021-10-05T04:20:12.454Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-380-2-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-05T04:20:12.479Z] $ docker stop --time=1 c9324295e0535f632e5a1fceb0b53442f5d4f1845aa9178388dbed9453c0de3f [2021-10-05T04:20:12.592Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-10-05T04:20:12.592Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-10-05T04:20:12.878Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-10-05T04:20:13.162Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-10-05T04:20:13.445Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-10-05T04:20:13.629Z] $ docker rm -f c9324295e0535f632e5a1fceb0b53442f5d4f1845aa9178388dbed9453c0de3f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [2021-10-05T04:20:13.729Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-05T04:20:14.745Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-10-05T04:20:15.029Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-10-05T04:20:15.652Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-10-05T04:20:15.935Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-10-05T04:20:16.219Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-10-05T04:20:16.834Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-10-05T04:20:17.117Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-10-05T04:20:17.399Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-10-05T04:20:17.683Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-10-05T04:20:18.299Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-10-05T04:20:18.299Z] [ 40%] Linking C shared library libcbor.so [2021-10-05T04:20:18.584Z] [ 40%] Built target cbor_shared [2021-10-05T04:20:18.584Z] Scanning dependencies of target cbor [2021-10-05T04:20:18.584Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-10-05T04:20:19.595Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-10-05T04:20:20.607Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-10-05T04:20:20.894Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-10-05T04:20:22.933Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-10-05T04:20:23.552Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-10-05T04:20:23.837Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-10-05T04:20:23.837Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-10-05T04:20:24.122Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-10-05T04:20:24.753Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-10-05T04:20:25.764Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-10-05T04:20:26.049Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-10-05T04:20:26.666Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-10-05T04:20:26.949Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-10-05T04:20:27.231Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-10-05T04:20:27.515Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-10-05T04:20:28.141Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-10-05T04:20:28.426Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-10-05T04:20:28.426Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-10-05T04:20:29.041Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-10-05T04:20:29.041Z] [ 80%] Linking C static library libcbor.a [2021-10-05T04:20:29.327Z] [ 80%] Built target cbor [2021-10-05T04:20:29.327Z] Scanning dependencies of target sort [2021-10-05T04:20:29.327Z] [ 82%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-10-05T04:20:29.612Z] [ 84%] Linking C executable sort [2021-10-05T04:20:29.612Z] [ 84%] Built target sort [2021-10-05T04:20:29.612Z] Scanning dependencies of target readfile [2021-10-05T04:20:29.612Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-10-05T04:20:29.895Z] [ 88%] Linking C executable readfile [2021-10-05T04:20:30.181Z] [ 88%] Built target readfile [2021-10-05T04:20:30.181Z] Scanning dependencies of target streaming_parser [2021-10-05T04:20:30.181Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-10-05T04:20:30.465Z] [ 92%] Linking C executable streaming_parser [2021-10-05T04:20:30.465Z] [ 92%] Built target streaming_parser [2021-10-05T04:20:30.465Z] Scanning dependencies of target hello [2021-10-05T04:20:30.465Z] [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-10-05T04:20:30.749Z] [ 96%] Linking C executable hello [2021-10-05T04:20:30.749Z] [ 96%] Built target hello [2021-10-05T04:20:30.749Z] Scanning dependencies of target create_items [2021-10-05T04:20:31.030Z] [ 98%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-10-05T04:20:31.030Z] [100%] Linking C executable create_items [2021-10-05T04:20:31.313Z] [100%] Built target create_items [2021-10-05T04:20:31.313Z] Install the project... [2021-10-05T04:20:31.313Z] -- Install configuration: "Release" [2021-10-05T04:20:31.313Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-10-05T04:20:31.313Z] -- Installing: /usr/local/lib64/libcbor.a [2021-10-05T04:20:31.313Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-10-05T04:20:31.313Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-10-05T04:20:31.313Z] -- Installing: /usr/local/lib64/libcbor.so [2021-10-05T04:20:31.313Z] -- Up-to-date: /usr/local/include/cbor [2021-10-05T04:20:31.313Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-10-05T04:20:31.313Z] -- Installing: /usr/local/include/cbor/ints.h [2021-10-05T04:20:31.313Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-10-05T04:20:31.313Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-10-05T04:20:31.313Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-10-05T04:20:31.313Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-10-05T04:20:31.313Z] -- Installing: /usr/local/include/cbor/data.h [2021-10-05T04:20:31.313Z] -- Installing: /usr/local/include/cbor/common.h [2021-10-05T04:20:31.313Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-10-05T04:20:31.313Z] -- Installing: /usr/local/include/cbor/strings.h [2021-10-05T04:20:31.313Z] -- Installing: /usr/local/include/cbor/tags.h [2021-10-05T04:20:31.313Z] -- Installing: /usr/local/include/cbor/internal [2021-10-05T04:20:31.313Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-10-05T04:20:31.313Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-10-05T04:20:31.313Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-10-05T04:20:31.313Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-10-05T04:20:31.313Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-10-05T04:20:31.313Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-10-05T04:20:31.313Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-10-05T04:20:31.313Z] -- Installing: /usr/local/include/cbor/maps.h [2021-10-05T04:20:31.313Z] -- Installing: /usr/local/include/cbor.h [2021-10-05T04:20:31.313Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-10-05T04:20:33.341Z] Removing intermediate container f98b7e6c26a5 [2021-10-05T04:20:33.341Z] ---> eb056e0cebb7 [2021-10-05T04:20:33.341Z] Step 8/25 : RUN mkdir /tmp/sdk [2021-10-05T04:20:33.627Z] ---> Running in 79ff22f3c6bf [2021-10-05T04:20:35.653Z] Removing intermediate container 79ff22f3c6bf [2021-10-05T04:20:35.653Z] ---> 0e1104d3ad02 [2021-10-05T04:20:35.653Z] Step 9/25 : COPY VERSION /tmp/sdk [2021-10-05T04:20:36.666Z] ---> 93b914f6a696 [2021-10-05T04:20:36.666Z] Step 10/25 : COPY src /tmp/sdk/src [2021-10-05T04:20:37.680Z] ---> 19f0e68c37c0 [2021-10-05T04:20:37.680Z] Step 11/25 : COPY include /tmp/sdk/include [2021-10-05T04:20:38.695Z] ---> 0d50107a917f [2021-10-05T04:20:38.695Z] Step 12/25 : COPY scripts /tmp/sdk/scripts [2021-10-05T04:20:39.319Z] ---> 7426c3e4417d [2021-10-05T04:20:39.319Z] Step 13/25 : COPY LICENSE /tmp/sdk [2021-10-05T04:20:40.335Z] ---> 0faa9baa9620 [2021-10-05T04:20:40.335Z] Step 14/25 : COPY Attribution.txt /tmp/sdk [2021-10-05T04:20:40.956Z] ---> 73cf5a220352 [2021-10-05T04:20:40.956Z] Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-10-05T04:20:41.241Z] ---> Running in e1337172952b [2021-10-05T04:20:42.724Z] + CPPCHECK=false [2021-10-05T04:20:42.724Z] + DOCGEN=false [2021-10-05T04:20:42.724Z] + TOMLVER=SDK-0.2 [2021-10-05T04:20:42.724Z] + CUTILVER=1.2.2 [2021-10-05T04:20:42.724Z] + '[' 0 -gt 0 ] [2021-10-05T04:20:42.724Z] + readlink -f ./scripts/build.sh [2021-10-05T04:20:42.724Z] + dirname /tmp/sdk/scripts/build.sh [2021-10-05T04:20:42.724Z] + dirname /tmp/sdk/scripts [2021-10-05T04:20:42.724Z] + ROOT=/tmp/sdk [2021-10-05T04:20:42.724Z] + cd /tmp/sdk [2021-10-05T04:20:42.724Z] + '[' '!' -d deps ] [2021-10-05T04:20:42.724Z] + mkdir deps [2021-10-05T04:20:42.724Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-10-05T04:20:42.724Z] + tar -C deps -z -x -f - [2021-10-05T04:20:42.724Z] --2021-10-05 04:20:42-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-10-05T04:20:42.724Z] Resolving github.com (github.com)... 140.82.113.4 [2021-10-05T04:20:42.724Z] Connecting to github.com (github.com)|140.82.113.4|:443... connected. [2021-10-05T04:20:42.724Z] HTTP request sent, awaiting response... 302 Found [2021-10-05T04:20:42.724Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-10-05T04:20:42.724Z] --2021-10-05 04:20:42-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-10-05T04:20:42.724Z] Resolving codeload.github.com (codeload.github.com)... 140.82.112.9 [2021-10-05T04:20:42.724Z] Connecting to codeload.github.com (codeload.github.com)|140.82.112.9|:443... connected. [2021-10-05T04:20:43.006Z] HTTP request sent, awaiting response... 200 OK [2021-10-05T04:20:43.006Z] Length: unspecified [application/x-gzip] [2021-10-05T04:20:43.006Z] Saving to: 'STDOUT' [2021-10-05T04:20:43.006Z]  [2021-10-05T04:20:43.006Z] 0K .......... ...... 781K=0.02s [2021-10-05T04:20:43.006Z] [2021-10-05T04:20:43.006Z] 2021-10-05 04:20:42 (781 KB/s) - written to stdout [16451] [2021-10-05T04:20:43.006Z] [2021-10-05T04:20:43.006Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-10-05T04:20:43.006Z] + + tarwget -C -O deps - -z https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz -x -f [2021-10-05T04:20:43.006Z] - [2021-10-05T04:20:43.006Z] --2021-10-05 04:20:42-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2021-10-05T04:20:43.006Z] Resolving github.com (github.com)... 140.82.113.4 [2021-10-05T04:20:43.006Z] Connecting to github.com (github.com)|140.82.113.4|:443... connected. [2021-10-05T04:20:43.289Z] HTTP request sent, awaiting response... 302 Found [2021-10-05T04:20:43.289Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [following] [2021-10-05T04:20:43.289Z] --2021-10-05 04:20:43-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [2021-10-05T04:20:43.289Z] Resolving codeload.github.com (codeload.github.com)... 140.82.112.9 [2021-10-05T04:20:43.289Z] Connecting to codeload.github.com (codeload.github.com)|140.82.112.9|:443... connected. [2021-10-05T04:20:43.289Z] HTTP request sent, awaiting response... 200 OK [2021-10-05T04:20:43.289Z] Length: unspecified [application/x-gzip] [2021-10-05T04:20:43.289Z] Saving to: 'STDOUT' [2021-10-05T04:20:43.289Z] [2021-10-05T04:20:43.573Z] 0K .......... .......... .......... .......... .......... 1.15M [2021-10-05T04:20:43.573Z] 50K .......... .......... .......... .......... .......... 2.24M [2021-10-05T04:20:43.573Z] 100K .......... .......... .......... .......... .......... 2.66M [2021-10-05T04:20:43.573Z] 150K .......... .......... .......... .........  7.68M=0.09s [2021-10-05T04:20:43.573Z] [2021-10-05T04:20:43.573Z] 2021-10-05 04:20:43 (2.11 MB/s) - written to stdout [193971] [2021-10-05T04:20:43.573Z] [2021-10-05T04:20:43.573Z] + mkdir -p src/c/iot [2021-10-05T04:20:43.573Z] + cp deps/iotech-c-utils-1.2.2/src/c/base64.c deps/iotech-c-utils-1.2.2/src/c/component.c deps/iotech-c-utils-1.2.2/src/c/config.c deps/iotech-c-utils-1.2.2/src/c/container.c deps/iotech-c-utils-1.2.2/src/c/data.c deps/iotech-c-utils-1.2.2/src/c/hash.c deps/iotech-c-utils-1.2.2/src/c/iot.c deps/iotech-c-utils-1.2.2/src/c/json.c deps/iotech-c-utils-1.2.2/src/c/logger.c deps/iotech-c-utils-1.2.2/src/c/os.c deps/iotech-c-utils-1.2.2/src/c/scheduler.c deps/iotech-c-utils-1.2.2/src/c/thread.c deps/iotech-c-utils-1.2.2/src/c/threadpool.c deps/iotech-c-utils-1.2.2/src/c/time.c deps/iotech-c-utils-1.2.2/src/c/uuid.c deps/iotech-c-utils-1.2.2/src/c/yxml.c src/c/iot [2021-10-05T04:20:43.573Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2021-10-05T04:20:43.573Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2021-10-05T04:20:43.573Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2021-10-05T04:20:43.573Z] + mkdir -p include/iot [2021-10-05T04:20:43.573Z] + cp deps/iotech-c-utils-1.2.2/include/iot/base64.h deps/iotech-c-utils-1.2.2/include/iot/component.h deps/iotech-c-utils-1.2.2/include/iot/config.h deps/iotech-c-utils-1.2.2/include/iot/container.h deps/iotech-c-utils-1.2.2/include/iot/data.h deps/iotech-c-utils-1.2.2/include/iot/hash.h deps/iotech-c-utils-1.2.2/include/iot/iot.h deps/iotech-c-utils-1.2.2/include/iot/json.h deps/iotech-c-utils-1.2.2/include/iot/logger.h deps/iotech-c-utils-1.2.2/include/iot/os.h deps/iotech-c-utils-1.2.2/include/iot/scheduler.h deps/iotech-c-utils-1.2.2/include/iot/thread.h deps/iotech-c-utils-1.2.2/include/iot/threadpool.h deps/iotech-c-utils-1.2.2/include/iot/time.h deps/iotech-c-utils-1.2.2/include/iot/typecode.h deps/iotech-c-utils-1.2.2/include/iot/uuid.h include/iot [2021-10-05T04:20:43.573Z] + mkdir -p include/iot/os [2021-10-05T04:20:43.573Z] + cp deps/iotech-c-utils-1.2.2/include/iot/os/linux.h deps/iotech-c-utils-1.2.2/include/iot/os/macos.h deps/iotech-c-utils-1.2.2/include/iot/os/zephyr.h include/iot/os [2021-10-05T04:20:43.573Z] + mkdir -p /tmp/sdk/build/release [2021-10-05T04:20:43.573Z] + cd /tmp/sdk/build/release [2021-10-05T04:20:43.573Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-10-05T04:20:43.855Z] -- The C compiler identification is GNU 9.3.0 [2021-10-05T04:20:43.855Z] -- Check for working C compiler: /usr/bin/cc [2021-10-05T04:20:44.138Z] -- Check for working C compiler: /usr/bin/cc - works [2021-10-05T04:20:44.138Z] -- Detecting C compiler ABI info [2021-10-05T04:20:44.420Z] -- Detecting C compiler ABI info - done [2021-10-05T04:20:44.705Z] -- Detecting C compile features [2021-10-05T04:20:44.705Z] -- Detecting C compile features - done [2021-10-05T04:20:44.705Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-10-05T04:20:44.705Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") [2021-10-05T04:20:44.988Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-10-05T04:20:44.988Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-10-05T04:20:44.988Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-10-05T04:20:44.988Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-10-05T04:20:44.988Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-10-05T04:20:44.988Z] -- C SDK 0.0.0 for Linux [2021-10-05T04:20:44.988Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-10-05T04:20:45.269Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-10-05T04:20:45.269Z] -- Found Curses: /usr/lib/libcurses.so [2021-10-05T04:20:45.553Z] -- Configuring done [2021-10-05T04:20:45.837Z] -- Generating done [2021-10-05T04:20:45.837Z] -- Build files have been written to: /tmp/sdk/build/release [2021-10-05T04:20:45.837Z] + make all package [2021-10-05T04:20:45.837Z] + tee release.log [2021-10-05T04:20:45.837Z] Scanning dependencies of target csdk [2021-10-05T04:20:46.121Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-10-05T04:20:47.146Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-10-05T04:20:47.431Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-10-05T04:20:50.113Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-10-05T04:20:51.121Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-10-05T04:20:51.121Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-10-05T04:20:52.132Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-10-05T04:20:52.754Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-10-05T04:20:53.038Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-10-05T04:20:54.512Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-10-05T04:20:56.534Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-10-05T04:20:57.150Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-10-05T04:20:58.161Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-10-05T04:20:58.776Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-10-05T04:20:59.392Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-10-05T04:20:59.676Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-10-05T04:20:59.959Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-10-05T04:21:04.347Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-10-05T04:21:04.347Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-10-05T04:21:04.628Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-10-05T04:21:05.252Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-10-05T04:21:05.868Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-10-05T04:21:06.150Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2021-10-05T04:21:06.150Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2021-10-05T04:21:06.150Z] 275 | const iot_component_factory_t * factory; [2021-10-05T04:21:06.150Z] | ^~~~~~~ [2021-10-05T04:21:06.766Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-10-05T04:21:15.155Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-10-05T04:21:15.155Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-10-05T04:21:15.155Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-10-05T04:21:16.162Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-10-05T04:21:16.447Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-10-05T04:21:16.729Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-10-05T04:21:18.207Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-10-05T04:21:18.496Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-10-05T04:21:19.516Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-10-05T04:21:19.799Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2021-10-05T04:21:20.081Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-10-05T04:21:22.754Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-10-05T04:21:23.041Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-10-05T04:21:24.061Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-10-05T04:21:24.344Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-10-05T04:21:29.832Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-10-05T04:21:30.113Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-10-05T04:21:30.729Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-10-05T04:21:31.343Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-10-05T04:21:32.349Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-10-05T04:21:35.022Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-10-05T04:21:35.022Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-10-05T04:21:35.636Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-10-05T04:21:36.250Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-10-05T04:21:38.938Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-10-05T04:21:44.436Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-10-05T04:21:45.053Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-10-05T04:21:45.668Z] [ 76%] Linking C shared library libcsdk.so [2021-10-05T04:21:45.668Z] [ 76%] Built target csdk [2021-10-05T04:21:45.668Z] Scanning dependencies of target template [2021-10-05T04:21:45.951Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-10-05T04:21:46.571Z] [ 79%] Linking C executable template [2021-10-05T04:21:46.857Z] [ 79%] Built target template [2021-10-05T04:21:46.857Z] Scanning dependencies of target device-counter [2021-10-05T04:21:47.141Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-10-05T04:21:47.426Z] [ 82%] Linking C executable device-counter [2021-10-05T04:21:47.716Z] [ 82%] Built target device-counter [2021-10-05T04:21:47.716Z] Scanning dependencies of target device-random [2021-10-05T04:21:47.716Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-10-05T04:21:48.335Z] [ 85%] Linking C executable device-random [2021-10-05T04:21:48.618Z] [ 85%] Built target device-random [2021-10-05T04:21:48.618Z] Scanning dependencies of target device-gyro [2021-10-05T04:21:48.618Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-10-05T04:21:49.234Z] [ 88%] Linking C executable device-gyro [2021-10-05T04:21:49.518Z] [ 88%] Built target device-gyro [2021-10-05T04:21:49.518Z] Scanning dependencies of target device-bitfields [2021-10-05T04:21:49.518Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-10-05T04:21:50.132Z] [ 91%] Linking C executable device-bitfields [2021-10-05T04:21:50.414Z] [ 91%] Built target device-bitfields [2021-10-05T04:21:50.414Z] Scanning dependencies of target template-discovery [2021-10-05T04:21:50.414Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-10-05T04:21:51.426Z] [ 94%] Linking C executable template-discovery [2021-10-05T04:21:51.710Z] [ 94%] Built target template-discovery [2021-10-05T04:21:51.710Z] Scanning dependencies of target device-file [2021-10-05T04:21:51.710Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-10-05T04:21:52.327Z] [ 97%] Linking C executable device-file [2021-10-05T04:21:52.610Z] [ 97%] Built target device-file [2021-10-05T04:21:52.610Z] Scanning dependencies of target device-terminal [2021-10-05T04:21:52.610Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-10-05T04:21:53.227Z] [100%] Linking C executable device-terminal [2021-10-05T04:21:53.514Z] [100%] Built target device-terminal [2021-10-05T04:21:53.514Z] Run CPack packaging tool... [2021-10-05T04:21:53.514Z] CPack: Create package using TGZ [2021-10-05T04:21:53.514Z] CPack: Install projects [2021-10-05T04:21:53.514Z] CPack: - Run preinstall target for: Csdk [2021-10-05T04:21:54.130Z] CPack: - Install project: Csdk [] [2021-10-05T04:21:54.130Z] CPack: Create package [2021-10-05T04:21:54.412Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-10-05T04:21:54.412Z] + '[' false '=' true ] [2021-10-05T04:21:54.412Z] + '[' false '=' true ] [2021-10-05T04:21:54.412Z] + mkdir -p /tmp/sdk/build/debug [2021-10-05T04:21:54.412Z] + cd /tmp/sdk/build/debug [2021-10-05T04:21:54.412Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-10-05T04:21:54.704Z] -- The C compiler identification is GNU 9.3.0 [2021-10-05T04:21:54.704Z] -- Check for working C compiler: /usr/bin/cc [2021-10-05T04:21:54.984Z] -- Check for working C compiler: /usr/bin/cc - works [2021-10-05T04:21:54.985Z] -- Detecting C compiler ABI info [2021-10-05T04:21:55.269Z] -- Detecting C compiler ABI info - done [2021-10-05T04:21:55.269Z] -- Detecting C compile features [2021-10-05T04:21:55.269Z] -- Detecting C compile features - done [2021-10-05T04:21:55.269Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-10-05T04:21:55.553Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") [2021-10-05T04:21:55.553Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-10-05T04:21:55.553Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-10-05T04:21:55.553Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-10-05T04:21:55.553Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-10-05T04:21:55.553Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-10-05T04:21:55.553Z] -- C SDK 0.0.0 for Linux [2021-10-05T04:21:55.553Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-10-05T04:21:55.839Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-10-05T04:21:55.839Z] -- Found Curses: /usr/lib/libcurses.so [2021-10-05T04:21:56.120Z] -- Configuring done [2021-10-05T04:21:56.401Z] -- Generating done [2021-10-05T04:21:56.401Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-10-05T04:21:56.401Z] + make [2021-10-05T04:21:56.401Z] + tee debug.log [2021-10-05T04:21:56.401Z] Scanning dependencies of target csdk [2021-10-05T04:21:56.684Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-10-05T04:21:56.966Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-10-05T04:21:57.583Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-10-05T04:21:58.208Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-10-05T04:21:58.491Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-10-05T04:21:58.491Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-10-05T04:21:58.776Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-10-05T04:21:59.396Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-10-05T04:21:59.396Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-10-05T04:22:00.011Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-10-05T04:22:00.624Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-10-05T04:22:00.905Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-10-05T04:22:01.188Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-10-05T04:22:01.471Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-10-05T04:22:01.752Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-10-05T04:22:02.035Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-10-05T04:22:02.332Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-10-05T04:22:03.335Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-10-05T04:22:03.335Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-10-05T04:22:03.615Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-10-05T04:22:03.896Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-10-05T04:22:04.192Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-10-05T04:22:04.192Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2021-10-05T04:22:04.192Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2021-10-05T04:22:04.192Z] 275 | const iot_component_factory_t * factory; [2021-10-05T04:22:04.192Z] | ^~~~~~~ [2021-10-05T04:22:04.475Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-10-05T04:22:05.487Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-10-05T04:22:05.769Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-10-05T04:22:06.056Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-10-05T04:22:06.338Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-10-05T04:22:06.623Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-10-05T04:22:06.905Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-10-05T04:22:07.188Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-10-05T04:22:07.480Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-10-05T04:22:07.763Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-10-05T04:22:08.049Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2021-10-05T04:22:08.332Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-10-05T04:22:08.618Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-10-05T04:22:08.902Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-10-05T04:22:09.520Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-10-05T04:22:09.804Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-10-05T04:22:11.278Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-10-05T04:22:11.278Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-10-05T04:22:11.563Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-10-05T04:22:11.849Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-10-05T04:22:12.461Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-10-05T04:22:13.466Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-10-05T04:22:13.748Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-10-05T04:22:14.031Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-10-05T04:22:14.314Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-10-05T04:22:14.927Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-10-05T04:22:15.933Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-10-05T04:22:16.212Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-10-05T04:22:16.495Z] [ 76%] Linking C shared library libcsdk.so [2021-10-05T04:22:16.783Z] [ 76%] Built target csdk [2021-10-05T04:22:16.783Z] Scanning dependencies of target template [2021-10-05T04:22:16.783Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-10-05T04:22:17.398Z] [ 79%] Linking C executable template [2021-10-05T04:22:17.399Z] [ 79%] Built target template [2021-10-05T04:22:17.399Z] Scanning dependencies of target device-counter [2021-10-05T04:22:17.681Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-10-05T04:22:17.966Z] [ 82%] Linking C executable device-counter [2021-10-05T04:22:17.966Z] [ 82%] Built target device-counter [2021-10-05T04:22:18.250Z] Scanning dependencies of target device-random [2021-10-05T04:22:18.250Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-10-05T04:22:18.534Z] [ 85%] Linking C executable device-random [2021-10-05T04:22:18.818Z] [ 85%] Built target device-random [2021-10-05T04:22:18.818Z] Scanning dependencies of target device-gyro [2021-10-05T04:22:18.818Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-10-05T04:22:19.097Z] [ 88%] Linking C executable device-gyro [2021-10-05T04:22:19.378Z] [ 88%] Built target device-gyro [2021-10-05T04:22:19.378Z] Scanning dependencies of target device-bitfields [2021-10-05T04:22:19.378Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-10-05T04:22:19.661Z] [ 91%] Linking C executable device-bitfields [2021-10-05T04:22:19.943Z] [ 91%] Built target device-bitfields [2021-10-05T04:22:19.943Z] Scanning dependencies of target template-discovery [2021-10-05T04:22:19.943Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-10-05T04:22:20.236Z] [ 94%] Linking C executable template-discovery [2021-10-05T04:22:20.517Z] [ 94%] Built target template-discovery [2021-10-05T04:22:20.517Z] Scanning dependencies of target device-file [2021-10-05T04:22:20.517Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-10-05T04:22:20.799Z] [ 97%] Linking C executable device-file [2021-10-05T04:22:21.083Z] [ 97%] Built target device-file [2021-10-05T04:22:21.083Z] Scanning dependencies of target device-terminal [2021-10-05T04:22:21.083Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-10-05T04:22:21.701Z] [100%] Linking C executable device-terminal [2021-10-05T04:22:21.701Z] [100%] Built target device-terminal [2021-10-05T04:22:21.986Z] make: Entering directory '/tmp/sdk/build/release' [2021-10-05T04:22:21.986Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-10-05T04:22:21.986Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-05T04:22:21.986Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-05T04:22:21.986Z] [ 76%] Built target csdk [2021-10-05T04:22:21.986Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-05T04:22:21.986Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-05T04:22:21.986Z] [ 79%] Built target template [2021-10-05T04:22:21.986Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-05T04:22:21.986Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-05T04:22:21.986Z] [ 82%] Built target device-counter [2021-10-05T04:22:21.987Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-05T04:22:21.987Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-05T04:22:21.987Z] [ 85%] Built target device-random [2021-10-05T04:22:21.987Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-05T04:22:22.274Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-05T04:22:22.274Z] [ 88%] Built target device-gyro [2021-10-05T04:22:22.274Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-05T04:22:22.274Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-05T04:22:22.274Z] [ 91%] Built target device-bitfields [2021-10-05T04:22:22.274Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-05T04:22:22.274Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-05T04:22:22.274Z] [ 94%] Built target template-discovery [2021-10-05T04:22:22.274Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-05T04:22:22.274Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-05T04:22:22.274Z] [ 97%] Built target device-file [2021-10-05T04:22:22.274Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-05T04:22:22.274Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-05T04:22:22.274Z] [100%] Built target device-terminal [2021-10-05T04:22:22.274Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-10-05T04:22:22.274Z] Install the project... [2021-10-05T04:22:22.274Z] -- Install configuration: "Release" [2021-10-05T04:22:22.274Z] -- Installing: /usr/local/lib/libcsdk.so [2021-10-05T04:22:22.561Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-10-05T04:22:22.561Z] -- Up-to-date: /usr/local/include [2021-10-05T04:22:22.561Z] -- Installing: /usr/local/include/edgex [2021-10-05T04:22:22.561Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-10-05T04:22:22.561Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-10-05T04:22:22.561Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-10-05T04:22:22.561Z] -- Installing: /usr/local/include/edgex/devices.h [2021-10-05T04:22:22.561Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-10-05T04:22:22.561Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-10-05T04:22:22.561Z] -- Installing: /usr/local/include/devsdk [2021-10-05T04:22:22.561Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-10-05T04:22:22.561Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-10-05T04:22:22.561Z] -- Installing: /usr/local/include/iot [2021-10-05T04:22:22.561Z] -- Installing: /usr/local/include/iot/json.h [2021-10-05T04:22:22.561Z] -- Installing: /usr/local/include/iot/container.h [2021-10-05T04:22:22.561Z] -- Installing: /usr/local/include/iot/component.h [2021-10-05T04:22:22.561Z] -- Installing: /usr/local/include/iot/typecode.h [2021-10-05T04:22:22.561Z] -- Installing: /usr/local/include/iot/iot.h [2021-10-05T04:22:22.561Z] -- Installing: /usr/local/include/iot/uuid.h [2021-10-05T04:22:22.561Z] -- Installing: /usr/local/include/iot/time.h [2021-10-05T04:22:22.561Z] -- Installing: /usr/local/include/iot/hash.h [2021-10-05T04:22:22.561Z] -- Installing: /usr/local/include/iot/logger.h [2021-10-05T04:22:22.561Z] -- Installing: /usr/local/include/iot/os [2021-10-05T04:22:22.561Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-10-05T04:22:22.561Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-10-05T04:22:22.561Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-10-05T04:22:22.561Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-10-05T04:22:22.561Z] -- Installing: /usr/local/include/iot/data.h [2021-10-05T04:22:22.561Z] -- Installing: /usr/local/include/iot/thread.h [2021-10-05T04:22:22.561Z] -- Installing: /usr/local/include/iot/os.h [2021-10-05T04:22:22.561Z] -- Installing: /usr/local/include/iot/base64.h [2021-10-05T04:22:22.561Z] -- Installing: /usr/local/include/iot/defs.h [2021-10-05T04:22:22.561Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-10-05T04:22:22.561Z] -- Installing: /usr/local/include/iot/config.h [2021-10-05T04:22:22.561Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-10-05T04:22:22.561Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-10-05T04:22:22.561Z] make: Leaving directory '/tmp/sdk/build/release' [2021-10-05T04:22:24.588Z] Removing intermediate container e1337172952b [2021-10-05T04:22:24.588Z] ---> d9831e0d8422 [2021-10-05T04:22:24.588Z] Step 16/25 : FROM ${BASE} [2021-10-05T04:22:24.588Z] ---> 759262b18b23 [2021-10-05T04:22:24.588Z] Step 17/25 : LABEL maintainer="IOTech " [2021-10-05T04:22:24.871Z] ---> Running in 41c7e994fdb9 [2021-10-05T04:22:25.155Z] Removing intermediate container 41c7e994fdb9 [2021-10-05T04:22:25.155Z] ---> 246adb9c324a [2021-10-05T04:22:25.155Z] Step 18/25 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2021-10-05T04:22:25.440Z] ---> Running in 252b98d58c85 [2021-10-05T04:22:26.918Z] Connecting to iotech.jfrog.io (54.229.110.245:443) [2021-10-05T04:22:27.204Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2021-10-05T04:22:27.204Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2021-10-05T04:22:27.204Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2021-10-05T04:22:28.228Z] Removing intermediate container 252b98d58c85 [2021-10-05T04:22:28.228Z] ---> fd2079a49f50 [2021-10-05T04:22:28.228Z] Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2021-10-05T04:22:28.508Z] ---> Running in c89475a54398 [2021-10-05T04:22:30.536Z] Removing intermediate container c89475a54398 [2021-10-05T04:22:30.536Z] ---> 2da34b1880e1 [2021-10-05T04:22:30.536Z] Step 20/25 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid paho-mqtt-c-dev-1.3 hiredis-dev [2021-10-05T04:22:30.536Z] ---> Running in 09368578bd2e [2021-10-05T04:22:32.006Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-10-05T04:22:32.620Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-10-05T04:22:32.903Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-05T04:22:33.518Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2021-10-05T04:22:33.800Z] (1/7) Installing curl (7.79.1-r0) [2021-10-05T04:22:33.800Z] (2/7) Installing hiredis (0.14.1-r0) [2021-10-05T04:22:33.800Z] (3/7) Installing hiredis-dev (0.14.1-r0) [2021-10-05T04:22:34.082Z] (4/7) Installing libuuid (2.35.2-r0) [2021-10-05T04:22:34.082Z] (5/7) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2021-10-05T04:22:35.088Z] (6/7) Installing libidn2 (2.3.0-r0) [2021-10-05T04:22:35.088Z] (7/7) Installing wget (1.20.3-r1) [2021-10-05T04:22:35.373Z] Executing busybox-1.31.1-r20.trigger [2021-10-05T04:22:35.373Z] OK: 267 MiB in 82 packages [2021-10-05T04:22:36.851Z] Removing intermediate container 09368578bd2e [2021-10-05T04:22:36.851Z] ---> c7be9fcb1d03 [2021-10-05T04:22:36.851Z] Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-10-05T04:22:37.870Z] ---> 363cc607382e [2021-10-05T04:22:37.870Z] Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-10-05T04:22:38.488Z] ---> 1960bdd07d7f [2021-10-05T04:22:38.488Z] Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-10-05T04:22:39.523Z] ---> d949ed83a9d9 [2021-10-05T04:22:39.523Z] Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-10-05T04:22:40.530Z] ---> bce9b72fdc52 [2021-10-05T04:22:40.530Z] Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-10-05T04:22:41.152Z] ---> eb6839895b65 [2021-10-05T04:22:41.438Z] Successfully built eb6839895b65 [2021-10-05T04:22:41.438Z] 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-10-05T04:22:42.074Z] + docker inspect -f . ci-base-image-arm64 [2021-10-05T04:22:42.074Z] . [Pipeline] withDockerContainer [2021-10-05T04:22:42.413Z] prd-ubuntu18.04-docker-arm64-4c-16g-1486 does not seem to be running inside a container [2021-10-05T04:22:42.583Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-10-05T04:22:44.334Z] $ docker top ecaceaf83fdbc784405ab96122fabd919a7d03d1683ceafb21ba1a31b8cd4c0a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-05T04:22:45.399Z] + make test [2021-10-05T04:22:45.399Z] echo "make test" [2021-10-05T04:22:45.399Z] make test [Pipeline] } [2021-10-05T04:22:45.448Z] $ docker stop --time=1 ecaceaf83fdbc784405ab96122fabd919a7d03d1683ceafb21ba1a31b8cd4c0a [2021-10-05T04:22:47.517Z] $ docker rm -f ecaceaf83fdbc784405ab96122fabd919a7d03d1683ceafb21ba1a31b8cd4c0a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-05T04:22:48.347Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-05T04:22:48.724Z] + ls -al . [2021-10-05T04:22:48.724Z] total 200 [2021-10-05T04:22:48.724Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 5 04:19 . [2021-10-05T04:22:48.724Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 5 04:19 .. [2021-10-05T04:22:48.724Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 5 04:19 .git [2021-10-05T04:22:48.724Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 5 04:19 .github [2021-10-05T04:22:48.724Z] -rw-rw-r-- 1 jenkins jenkins 176 Oct 5 04:19 .gitignore [2021-10-05T04:22:48.724Z] -rw-rw-r-- 1 jenkins jenkins 3104 Oct 5 04:19 Attribution.txt [2021-10-05T04:22:48.724Z] -rw-rw-r-- 1 jenkins jenkins 7767 Oct 5 04:19 CHANGES [2021-10-05T04:22:48.724Z] -rw-rw-r-- 1 jenkins jenkins 108574 Oct 5 04:19 Doxyfile [2021-10-05T04:22:48.724Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 5 04:19 GOVERNANCE.md [2021-10-05T04:22:48.724Z] -rw-rw-r-- 1 jenkins jenkins 784 Oct 5 04:19 Jenkinsfile [2021-10-05T04:22:48.724Z] -rw-rw-r-- 1 jenkins jenkins 10174 Oct 5 04:19 LICENSE [2021-10-05T04:22:48.724Z] -rw-rw-r-- 1 jenkins jenkins 444 Oct 5 04:19 Makefile [2021-10-05T04:22:48.724Z] -rw-rw-r-- 1 jenkins jenkins 618 Oct 5 04:19 OWNERS.md [2021-10-05T04:22:48.724Z] -rw-rw-r-- 1 jenkins jenkins 4086 Oct 5 04:19 README.md [2021-10-05T04:22:48.724Z] -rw-rw-r-- 1 jenkins jenkins 7422 Oct 5 04:19 README.v2.md [2021-10-05T04:22:48.724Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 5 04:15 VERSION [2021-10-05T04:22:48.724Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 5 04:19 docs [2021-10-05T04:22:48.724Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 5 04:19 include [2021-10-05T04:22:48.724Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 5 04:19 scripts [2021-10-05T04:22:48.724Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 5 04:19 src [Pipeline] isUnix [Pipeline] sh [2021-10-05T04:22:49.148Z] + 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=53e0d6aa6f62f386083d777447c0003f9a1e544b --label arch=arm64 --label version=0.0.0 . [2021-10-05T04:22:49.852Z] Sending build context to Docker daemon 2.709MB [2021-10-05T04:22:49.852Z] Step 1/17 : ARG BASE=alpine:3.14 [2021-10-05T04:22:49.852Z] Step 2/17 : FROM ${BASE} [2021-10-05T04:22:49.852Z] ---> eb6839895b65 [2021-10-05T04:22:49.852Z] Step 3/17 : LABEL maintainer="IOTech " [2021-10-05T04:22:50.151Z] ---> Running in 1b1a854f6ed9 [2021-10-05T04:22:50.439Z] Removing intermediate container 1b1a854f6ed9 [2021-10-05T04:22:50.439Z] ---> b2e622d84302 [2021-10-05T04:22:50.439Z] Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2021-10-05T04:22:50.725Z] ---> Running in 6e47cfb2f93f [2021-10-05T04:22:51.796Z] --2021-10-05 04:22:51-- https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release [2021-10-05T04:22:52.082Z] Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.72.115.12, 54.229.110.245, 54.195.244.87 [2021-10-05T04:22:52.082Z] Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.72.115.12|:443... connected. [2021-10-05T04:22:52.393Z] HTTP request sent, awaiting response... 200 OK [2021-10-05T04:22:52.393Z] Length: unspecified [application/json] [2021-10-05T04:22:52.393Z] Saving to: '/etc/apk/keys/alpine.dev.rsa.pub' [2021-10-05T04:22:52.393Z]  [2021-10-05T04:22:52.393Z] 0K  8.91M=0s [2021-10-05T04:22:52.393Z] [2021-10-05T04:22:52.393Z] 2021-10-05 04:22:52 (8.91 MB/s) - '/etc/apk/keys/alpine.dev.rsa.pub' saved [451] [2021-10-05T04:22:52.393Z] [2021-10-05T04:22:53.435Z] Removing intermediate container 6e47cfb2f93f [2021-10-05T04:22:53.435Z] ---> 4804eea1e2e2 [2021-10-05T04:22:53.435Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2021-10-05T04:22:53.435Z] ---> Running in 8aaf8067fa7e [2021-10-05T04:22:56.151Z] Removing intermediate container 8aaf8067fa7e [2021-10-05T04:22:56.152Z] ---> 2b2a0019a332 [2021-10-05T04:22:56.152Z] Step 6/17 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev-1.3 hiredis-dev && mkdir -p /edgex-c-sdk/build [2021-10-05T04:22:56.152Z] ---> Running in 6719cdcd8d32 [2021-10-05T04:22:57.158Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-10-05T04:22:57.780Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-10-05T04:22:58.061Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-05T04:22:58.674Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2021-10-05T04:22:58.674Z] (1/16) Installing ncurses-dev (6.2_p20200523-r0) [2021-10-05T04:22:58.957Z] (2/16) Installing libblkid (2.35.2-r0) [2021-10-05T04:22:58.957Z] (3/16) Installing blkid (2.35.2-r0) [2021-10-05T04:22:58.957Z] (4/16) Installing libcap-ng (0.7.10-r1) [2021-10-05T04:22:59.239Z] (5/16) Installing setpriv (2.35.2-r0) [2021-10-05T04:22:59.239Z] (6/16) Installing libmount (2.35.2-r0) [2021-10-05T04:22:59.239Z] (7/16) Installing libsmartcols (2.35.2-r0) [2021-10-05T04:22:59.522Z] (8/16) Installing findmnt (2.35.2-r0) [2021-10-05T04:22:59.522Z] (9/16) Installing mcookie (2.35.2-r0) [2021-10-05T04:22:59.522Z] (10/16) Installing hexdump (2.35.2-r0) [2021-10-05T04:22:59.805Z] (11/16) Installing lsblk (2.35.2-r0) [2021-10-05T04:22:59.805Z] (12/16) Installing libfdisk (2.35.2-r0) [2021-10-05T04:22:59.805Z] (13/16) Installing sfdisk (2.35.2-r0) [2021-10-05T04:23:00.100Z] (14/16) Installing cfdisk (2.35.2-r0) [2021-10-05T04:23:00.100Z] (15/16) Installing util-linux (2.35.2-r0) [2021-10-05T04:23:00.383Z] (16/16) Installing util-linux-dev (2.35.2-r0) [2021-10-05T04:23:00.665Z] Executing busybox-1.31.1-r20.trigger [2021-10-05T04:23:00.665Z] OK: 276 MiB in 98 packages [2021-10-05T04:23:02.135Z] Removing intermediate container 6719cdcd8d32 [2021-10-05T04:23:02.135Z] ---> 41002bf2f094 [2021-10-05T04:23:02.135Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2021-10-05T04:23:03.152Z] ---> c462c04bbfaa [2021-10-05T04:23:03.152Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2021-10-05T04:23:04.157Z] ---> ec078442bc68 [2021-10-05T04:23:04.157Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2021-10-05T04:23:05.163Z] ---> 87c205272bd5 [2021-10-05T04:23:05.163Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2021-10-05T04:23:05.782Z] ---> 6be6a6ff8fde [2021-10-05T04:23:05.782Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2021-10-05T04:23:06.788Z] ---> c853555c4bdf [2021-10-05T04:23:06.788Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2021-10-05T04:23:07.407Z] ---> d7feba80306a [2021-10-05T04:23:07.407Z] Step 13/17 : WORKDIR /edgex-c-sdk [2021-10-05T04:23:07.689Z] ---> Running in 7d03d62f388d [2021-10-05T04:23:07.970Z] Removing intermediate container 7d03d62f388d [2021-10-05T04:23:07.970Z] ---> 545d880dbfb7 [2021-10-05T04:23:07.970Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-10-05T04:23:08.253Z] ---> Running in cd7a40b93acb [2021-10-05T04:23:08.877Z] Removing intermediate container cd7a40b93acb [2021-10-05T04:23:08.877Z] ---> c85f087b8477 [2021-10-05T04:23:08.877Z] Step 15/17 : LABEL arch=arm64 [2021-10-05T04:23:08.877Z] ---> Running in 2c209b0a0cd8 [2021-10-05T04:23:09.490Z] Removing intermediate container 2c209b0a0cd8 [2021-10-05T04:23:09.490Z] ---> 268ba7c3d18e [2021-10-05T04:23:09.490Z] Step 16/17 : LABEL git_sha=53e0d6aa6f62f386083d777447c0003f9a1e544b [2021-10-05T04:23:09.490Z] ---> Running in 0c5292daf85f [2021-10-05T04:23:10.107Z] Removing intermediate container 0c5292daf85f [2021-10-05T04:23:10.107Z] ---> 3300d819eb8a [2021-10-05T04:23:10.107Z] Step 17/17 : LABEL version=0.0.0 [2021-10-05T04:23:10.107Z] ---> Running in fc2c3ff7dc67 [2021-10-05T04:23:10.723Z] Removing intermediate container fc2c3ff7dc67 [2021-10-05T04:23:10.723Z] ---> a6db4d314145 [2021-10-05T04:23:10.723Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-10-05T04:23:10.723Z] Successfully built a6db4d314145 [2021-10-05T04:23:10.723Z] 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-10-05T04:23:11.474Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-05T04:23:11.474Z] [2021-10-05T04:23:11.474Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-05T04:23:11.865Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-05T04:23:12.153Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-05T04:23:12.153Z] 448f6bf000e3: Pulling fs layer [2021-10-05T04:23:12.153Z] f757da607395: Pulling fs layer [2021-10-05T04:23:12.153Z] 05883995daec: Pulling fs layer [2021-10-05T04:23:12.153Z] 8603b9c90790: Pulling fs layer [2021-10-05T04:23:12.153Z] 1560dd03e051: Pulling fs layer [2021-10-05T04:23:12.153Z] 27f5ce0e4adf: Pulling fs layer [2021-10-05T04:23:12.153Z] c2d8d7efcc4b: Pulling fs layer [2021-10-05T04:23:12.153Z] 27f5ce0e4adf: Waiting [2021-10-05T04:23:12.153Z] 8603b9c90790: Waiting [2021-10-05T04:23:12.153Z] 1560dd03e051: Waiting [2021-10-05T04:23:12.153Z] c2d8d7efcc4b: Waiting [2021-10-05T04:23:12.438Z] f757da607395: Verifying Checksum [2021-10-05T04:23:12.438Z] f757da607395: Download complete [2021-10-05T04:23:12.438Z] 8603b9c90790: Verifying Checksum [2021-10-05T04:23:12.438Z] 8603b9c90790: Download complete [2021-10-05T04:23:12.725Z] 1560dd03e051: Download complete [2021-10-05T04:23:12.725Z] 27f5ce0e4adf: Verifying Checksum [2021-10-05T04:23:12.725Z] 27f5ce0e4adf: Download complete [2021-10-05T04:23:12.725Z] 05883995daec: Verifying Checksum [2021-10-05T04:23:12.725Z] 05883995daec: Download complete [2021-10-05T04:23:13.014Z] 448f6bf000e3: Verifying Checksum [2021-10-05T04:23:13.014Z] 448f6bf000e3: Download complete [2021-10-05T04:23:16.499Z] c2d8d7efcc4b: Download complete [2021-10-05T04:23:16.781Z] 448f6bf000e3: Pull complete [2021-10-05T04:23:17.396Z] f757da607395: Pull complete [2021-10-05T04:23:18.875Z] 05883995daec: Pull complete [2021-10-05T04:23:19.158Z] 8603b9c90790: Pull complete [2021-10-05T04:23:20.167Z] 1560dd03e051: Pull complete [2021-10-05T04:23:20.453Z] 27f5ce0e4adf: Pull complete [2021-10-05T04:23:35.677Z] c2d8d7efcc4b: Pull complete [2021-10-05T04:23:35.677Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-05T04:23:35.677Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-05T04:23:35.677Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-05T04:23:35.952Z] prd-ubuntu18.04-docker-arm64-4c-16g-1486 does not seem to be running inside a container [2021-10-05T04:23:36.104Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-10-05T04:23:41.223Z] $ docker top af6d25dc9f467e70be9c990433043c612b04c7227f76fae37bb0d9065c1947cb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-05T04:23:42.273Z] ---> job-cost.sh [2021-10-05T04:23:42.273Z] lf-activate-venv: SKIPPING [2021-10-05T04:23:42.273Z] INFO: No Stack... [2021-10-05T04:23:42.556Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-05T04:23:43.173Z] INFO: Archiving Costs [Pipeline] sh [2021-10-05T04:23:43.881Z] + cat /w/workspace/device-sdk-c/2/archives/cost.csv [2021-10-05T04:23:43.881Z] + cut -d, -f6 [Pipeline] lock [2021-10-05T04:23:43.967Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-380-2-stack-cost] [2021-10-05T04:23:43.975Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-380-2-stack-cost] did not exist. Created. [2021-10-05T04:23:43.975Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-380-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-05T04:23:44.706Z] /w/workspace/device-sdk-c/2@tmp/durable-df122253/script.sh: 1: /w/workspace/device-sdk-c/2@tmp/durable-df122253/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-10-05T04:23:45.425Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-05T04:23:45.464Z] Warning: overwriting stash ‘stack-cost’ [2021-10-05T04:23:46.163Z] Stashed 1 file(s) [Pipeline] } [2021-10-05T04:23:46.176Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-380-2-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-05T04:23:46.222Z] $ docker stop --time=1 af6d25dc9f467e70be9c990433043c612b04c7227f76fae37bb0d9065c1947cb [2021-10-05T04:23:47.942Z] $ docker rm -f af6d25dc9f467e70be9c990433043c612b04c7227f76fae37bb0d9065c1947cb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-10-05T04:23:49.659Z] + '[' -d /w/workspace/edgexfoundry_device-sdk-c_PR-380/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-05T04:23:49.977Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-05T04:23:50.561Z] ---> package-listing.sh [2021-10-05T04:23:50.561Z] ++ facter osfamily [2021-10-05T04:23:50.561Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-05T04:23:50.827Z] + OS_FAMILY=redhat [2021-10-05T04:23:50.827Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-380 [2021-10-05T04:23:50.827Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-05T04:23:50.827Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-05T04:23:50.827Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-05T04:23:50.827Z] + PACKAGES=/tmp/packages_start.txt [2021-10-05T04:23:50.827Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-380 ']' [2021-10-05T04:23:50.827Z] + PACKAGES=/tmp/packages_end.txt [2021-10-05T04:23:50.827Z] + case "${OS_FAMILY}" in [2021-10-05T04:23:50.827Z] + sort [2021-10-05T04:23:50.827Z] + rpm -qa [2021-10-05T04:23:51.408Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-05T04:23:51.408Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-05T04:23:51.408Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-05T04:23:51.408Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-380 ']' [2021-10-05T04:23:51.408Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-380/archives/ [2021-10-05T04:23:51.408Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-380/archives/ [Pipeline] echo [2021-10-05T04:23:51.425Z] 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-380/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-10-05T04:23:51.724Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-05T04:23:52.045Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-05T04:23:52.045Z] [2021-10-05T04:23:52.045Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-05T04:23:52.371Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-05T04:23:52.371Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-05T04:23:52.371Z] b4d181a07f80: Pulling fs layer [2021-10-05T04:23:52.371Z] a1111a8f2ec3: Pulling fs layer [2021-10-05T04:23:52.371Z] ed53099fbce6: Pulling fs layer [2021-10-05T04:23:52.371Z] dc539afda2c1: Pulling fs layer [2021-10-05T04:23:52.371Z] 77bc0d833cb6: Pulling fs layer [2021-10-05T04:23:52.371Z] 9065ff56babe: Pulling fs layer [2021-10-05T04:23:52.371Z] d287ab97295c: Pulling fs layer [2021-10-05T04:23:52.371Z] 77bc0d833cb6: Waiting [2021-10-05T04:23:52.371Z] 9065ff56babe: Waiting [2021-10-05T04:23:52.371Z] d287ab97295c: Waiting [2021-10-05T04:23:52.371Z] dc539afda2c1: Waiting [2021-10-05T04:23:52.643Z] a1111a8f2ec3: Verifying Checksum [2021-10-05T04:23:52.643Z] a1111a8f2ec3: Download complete [2021-10-05T04:23:52.643Z] dc539afda2c1: Verifying Checksum [2021-10-05T04:23:52.643Z] dc539afda2c1: Download complete [2021-10-05T04:23:52.643Z] 77bc0d833cb6: Verifying Checksum [2021-10-05T04:23:52.643Z] 77bc0d833cb6: Download complete [2021-10-05T04:23:52.643Z] 9065ff56babe: Verifying Checksum [2021-10-05T04:23:52.643Z] 9065ff56babe: Download complete [2021-10-05T04:23:52.643Z] ed53099fbce6: Verifying Checksum [2021-10-05T04:23:52.643Z] ed53099fbce6: Download complete [2021-10-05T04:23:52.912Z] b4d181a07f80: Download complete [2021-10-05T04:23:54.340Z] d287ab97295c: Verifying Checksum [2021-10-05T04:23:54.340Z] d287ab97295c: Download complete [2021-10-05T04:23:54.340Z] b4d181a07f80: Pull complete [2021-10-05T04:23:54.613Z] a1111a8f2ec3: Pull complete [2021-10-05T04:23:55.206Z] ed53099fbce6: Pull complete [2021-10-05T04:23:55.477Z] dc539afda2c1: Pull complete [2021-10-05T04:23:55.744Z] 77bc0d833cb6: Pull complete [2021-10-05T04:23:55.744Z] 9065ff56babe: Pull complete [2021-10-05T04:24:01.119Z] d287ab97295c: Pull complete [2021-10-05T04:24:01.119Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-05T04:24:01.119Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-05T04:24:01.119Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-05T04:24:01.202Z] prd-centos7-docker-4c-2g-1481 does not seem to be running inside a container [2021-10-05T04:24:01.253Z] $ 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-380/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-380 -v /w/workspace/edgexfoundry_device-sdk-c_PR-380:/w/workspace/edgexfoundry_device-sdk-c_PR-380:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-380@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-380@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-05T04:24:03.937Z] $ docker top c90c4d334f368c15de1298b91120daaf1e079d2b561117a8faface75ce8f9f4d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-05T04:24:04.457Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-05T04:24:04.858Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-05T04:24:05.169Z] + ls /var/log/sa-host [2021-10-05T04:24:05.169Z] + sadf -c /var/log/sa-host/sa05 [2021-10-05T04:24:05.169Z] file_magic: OK [2021-10-05T04:24:05.169Z] HZ: Using current value: 100 [2021-10-05T04:24:05.169Z] file_header: OK [2021-10-05T04:24:05.169Z] 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-10-05T04:24:05.169Z] Statistics: [2021-10-05T04:24:05.169Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-05T04:24:05.169Z] File successfully converted to sysstat format version 12.0.3 [2021-10-05T04:24:05.169Z] + sadf -c /var/log/sa-host/sa30 [2021-10-05T04:24:05.169Z] file_magic: OK [2021-10-05T04:24:05.169Z] HZ: Using current value: 100 [2021-10-05T04:24:05.169Z] file_header: OK [2021-10-05T04:24:05.169Z] 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-10-05T04:24:05.169Z] Statistics: [2021-10-05T04:24:05.169Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-05T04:24:05.169Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-05T04:24:05.770Z] provisioning config files... [2021-10-05T04:24:05.788Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-380@tmp/config6380411594049732595tmp [Pipeline] { [Pipeline] echo [2021-10-05T04:24:05.808Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-05T04:24:06.114Z] ---> create-netrc.sh [Pipeline] } [2021-10-05T04:24:06.128Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-05T04:24:06.525Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-05T04:24:06.540Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-05T04:24:06.848Z] ---> sudo-logs.sh [2021-10-05T04:24:06.848Z] Archiving 'sudo' log.. [2021-10-05T04:24:06.848Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1481.novalocal: Name or service not known [2021-10-05T04:24:06.848Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1481.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-05T04:24:06.903Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-05T04:24:07.219Z] ---> job-cost.sh [2021-10-05T04:24:07.219Z] lf-activate-venv: SKIPPING [2021-10-05T04:24:07.219Z] DEBUG: total: 0.10999999940395355 [2021-10-05T04:24:07.219Z] INFO: Retrieving Stack Cost... [2021-10-05T04:24:07.834Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-05T04:24:08.110Z] INFO: Archiving Costs [Pipeline] echo [2021-10-05T04:24:08.134Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-05T04:24:08.448Z] ---> logs-deploy.sh [2021-10-05T04:24:08.448Z] lf-activate-venv: SKIPPING [2021-10-05T04:24:08.448Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-380/2 [2021-10-05T04:24:08.448Z] INFO: archiving workspace using pattern(s): [2021-10-05T04:24:09.031Z] Archives upload complete. [2021-10-05T04:24:09.299Z] INFO: archiving logs to Nexus