Pull request #366 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of iain-anderson for edgexfoundry/device-sdk-c Obtained Jenkinsfile from d4028d067d9ed03c35e4d6b6c28f8e2560370e36+dd89ff4844bc3f2584e3c2e3ef6b18d4bd9e7c82 (5a2a1cbd2c84a85bb3356045ad63dc2ac7e08d87) 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-ssh8939148151864322419.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-ssh5179506855136163658.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-366/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-366/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7148298042042993696.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-ssh3464342802711276029.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-366/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-366/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3438906160518170415.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-258 in /w/workspace/edgexfoundry_device-sdk-c_PR-366 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-366 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-366@tmp/jenkins-gitclient-ssh9031104576863172687.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 dd89ff4844bc3f2584e3c2e3ef6b18d4bd9e7c82 into PR head commit d4028d067d9ed03c35e4d6b6c28f8e2560370e36 Merge succeeded, producing d4028d067d9ed03c35e4d6b6c28f8e2560370e36 Checking out Revision d4028d067d9ed03c35e4d6b6c28f8e2560370e36 (PR-366) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-366@tmp/jenkins-gitclient-ssh7931933621458515958.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/366/head:refs/remotes/origin/PR-366 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d4028d067d9ed03c35e4d6b6c28f8e2560370e36 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-366@tmp/jenkins-gitclient-ssh3408392502652022093.key > git merge dd89ff4844bc3f2584e3c2e3ef6b18d4bd9e7c82 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d4028d067d9ed03c35e4d6b6c28f8e2560370e36 # timeout=10 Commit message: "docs: Add templates for new GitHub issues" First time build. Skipping changelog. > git rev-list --no-walk 7571422f61e39bbeda07ed0d921d34429a1d5460 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-09-30T09:55:56.599Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-09-30T09:55:56.684Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-09-30T09:55:56.709Z] ========================================================= [2021-09-30T09:55:56.709Z] EdgeX Global Pipelines Version Info [2021-09-30T09:55:56.709Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-09-30T09:55:57.899Z] ------------------- [2021-09-30T09:55:57.899Z] stable info: [2021-09-30T09:55:57.899Z] ------------------- [2021-09-30T09:55:57.899Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-09-30T09:55:57.899Z] Commit SHA: c141c1271097dc03ad291c2451e310eaf98cdd06 [2021-09-30T09:55:57.899Z] Message: update stable to v1.0.206 [2021-09-30T09:55:58.482Z] ------------------- [2021-09-30T09:55:58.482Z] experimental info: [2021-09-30T09:55:58.482Z] ------------------- [2021-09-30T09:55:58.482Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-09-30T09:55:58.482Z] Commit SHA: c141c1271097dc03ad291c2451e310eaf98cdd06 [2021-09-30T09:55:58.482Z] Message: update experimental to v1.0.206 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-09-30T09:55:58.605Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2021-09-30T09:55:58.625Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2021-09-30T09:55:58.645Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-09-30T09:55:58.664Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-09-30T09:55:58.686Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-09-30T09:55:58.706Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo [2021-09-30T09:55:58.727Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2021-09-30T09:55:58.750Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2021-09-30T09:55:58.774Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-09-30T09:55:58.795Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-09-30T09:55:58.815Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2021-09-30T09:55:58.836Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-09-30T09:55:58.860Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-09-30T09:55:58.882Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-09-30T09:55:58.902Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-09-30T09:55:58.925Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-09-30T09:55:58.970Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-09-30T09:55:58.990Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-09-30T09:55:59.009Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-366 [Pipeline] echo [2021-09-30T09:55:59.029Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-366 [Pipeline] echo [2021-09-30T09:55:59.050Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-366 [Pipeline] echo [2021-09-30T09:55:59.077Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d4028d067d9ed03c35e4d6b6c28f8e2560370e36 [Pipeline] echo [2021-09-30T09:55:59.104Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d4028d0 [Pipeline] echo [2021-09-30T09:55:59.124Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-09-30T09:55:59.194Z] provisioning config files... [2021-09-30T09:55:59.213Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-366@tmp/config2468164700117958379tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-09-30T09:55:59.535Z] ---> docker-login.sh [2021-09-30T09:55:59.535Z] nexus3.edgexfoundry.org:10001 [2021-09-30T09:55:59.535Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-30T09:55:59.804Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-30T09:55:59.804Z] Configure a credential helper to remove this warning. See [2021-09-30T09:55:59.804Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-30T09:55:59.804Z] [2021-09-30T09:55:59.804Z] Login Succeeded [2021-09-30T09:55:59.804Z] nexus3.edgexfoundry.org:10002 [2021-09-30T09:55:59.804Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-30T09:56:00.070Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-30T09:56:00.070Z] Configure a credential helper to remove this warning. See [2021-09-30T09:56:00.070Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-30T09:56:00.070Z] [2021-09-30T09:56:00.070Z] Login Succeeded [2021-09-30T09:56:00.070Z] nexus3.edgexfoundry.org:10003 [2021-09-30T09:56:00.070Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-30T09:56:00.070Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-30T09:56:00.070Z] Configure a credential helper to remove this warning. See [2021-09-30T09:56:00.070Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-30T09:56:00.070Z] [2021-09-30T09:56:00.070Z] Login Succeeded [2021-09-30T09:56:00.070Z] nexus3.edgexfoundry.org:10004 [2021-09-30T09:56:00.070Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-30T09:56:00.334Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-30T09:56:00.334Z] Configure a credential helper to remove this warning. See [2021-09-30T09:56:00.334Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-30T09:56:00.334Z] [2021-09-30T09:56:00.334Z] Login Succeeded [2021-09-30T09:56:00.334Z] docker.io [2021-09-30T09:56:00.334Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-30T09:56:00.599Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-30T09:56:00.599Z] Configure a credential helper to remove this warning. See [2021-09-30T09:56:00.599Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-30T09:56:00.599Z] [2021-09-30T09:56:00.599Z] Login Succeeded [2021-09-30T09:56:00.599Z] ---> docker-login.sh ends [Pipeline] } [2021-09-30T09:56:00.611Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2021-09-30T09:56:02.062Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-09-30T09:56:02.062Z] [2021-09-30T09:56:02.062Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-09-30T09:56:02.414Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-09-30T09:56:02.414Z] latest: Pulling from edgex-devops/git-semver [2021-09-30T09:56:02.414Z] 31603596830f: Pulling fs layer [2021-09-30T09:56:02.414Z] 04fac38145f0: Pulling fs layer [2021-09-30T09:56:02.414Z] 701f6daf10bf: Pulling fs layer [2021-09-30T09:56:02.414Z] 24f72da36158: Pulling fs layer [2021-09-30T09:56:02.414Z] 24f72da36158: Waiting [2021-09-30T09:56:02.414Z] 04fac38145f0: Download complete [2021-09-30T09:56:02.699Z] 31603596830f: Verifying Checksum [2021-09-30T09:56:02.699Z] 31603596830f: Download complete [2021-09-30T09:56:02.968Z] 24f72da36158: Verifying Checksum [2021-09-30T09:56:02.968Z] 24f72da36158: Download complete [2021-09-30T09:56:02.968Z] 31603596830f: Pull complete [2021-09-30T09:56:02.968Z] 701f6daf10bf: Verifying Checksum [2021-09-30T09:56:02.968Z] 701f6daf10bf: Download complete [2021-09-30T09:56:02.968Z] 04fac38145f0: Pull complete [2021-09-30T09:56:03.558Z] 701f6daf10bf: Pull complete [2021-09-30T09:56:03.558Z] 24f72da36158: Pull complete [2021-09-30T09:56:03.831Z] Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 [2021-09-30T09:56:03.831Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-09-30T09:56:03.831Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-09-30T09:56:03.962Z] prd-centos7-docker-4c-2g-258 does not seem to be running inside a container [2021-09-30T09:56:04.032Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-366 -v /w/workspace/edgexfoundry_device-sdk-c_PR-366:/w/workspace/edgexfoundry_device-sdk-c_PR-366:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-366@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-366@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-09-30T09:56:04.789Z] $ docker top d9f07216d70a71cd72e877b882eae72a16981e5e6ea2b5aa61ac258cef470e9e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-09-30T09:56:04.947Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-09-30T09:56:04.947Z] [ssh-agent] Looking for ssh-agent implementation... [2021-09-30T09:56:05.058Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-09-30T09:56:05.066Z] $ docker exec d9f07216d70a71cd72e877b882eae72a16981e5e6ea2b5aa61ac258cef470e9e ssh-agent [2021-09-30T09:56:05.162Z] SSH_AUTH_SOCK=/tmp/ssh-ez1hR1DkoKXJ/agent.13 [2021-09-30T09:56:05.162Z] SSH_AGENT_PID=19 [2021-09-30T09:56:05.171Z] Running ssh-add (command line suppressed) [2021-09-30T09:56:05.266Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-366@tmp/private_key_4499316972317580464.key (/w/workspace/edgexfoundry_device-sdk-c_PR-366@tmp/private_key_4499316972317580464.key) [2021-09-30T09:56:05.280Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-09-30T09:56:05.619Z] + git tag --points-at HEAD [Pipeline] } [2021-09-30T09:56:05.656Z] $ docker exec --env ******** --env ******** d9f07216d70a71cd72e877b882eae72a16981e5e6ea2b5aa61ac258cef470e9e ssh-agent -k [2021-09-30T09:56:05.744Z] unset SSH_AUTH_SOCK; [2021-09-30T09:56:05.744Z] unset SSH_AGENT_PID; [2021-09-30T09:56:05.744Z] echo Agent pid 19 killed; [2021-09-30T09:56:05.753Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-09-30T09:56:05.787Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-09-30T09:56:05.787Z] [ssh-agent] Looking for ssh-agent implementation... [2021-09-30T09:56:05.900Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-09-30T09:56:05.908Z] $ docker exec d9f07216d70a71cd72e877b882eae72a16981e5e6ea2b5aa61ac258cef470e9e ssh-agent [2021-09-30T09:56:06.002Z] SSH_AUTH_SOCK=/tmp/ssh-mAfKw9InFdC5/agent.53 [2021-09-30T09:56:06.002Z] SSH_AGENT_PID=58 [2021-09-30T09:56:06.009Z] Running ssh-add (command line suppressed) [2021-09-30T09:56:06.099Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-366@tmp/private_key_6508345425179040827.key (/w/workspace/edgexfoundry_device-sdk-c_PR-366@tmp/private_key_6508345425179040827.key) [2021-09-30T09:56:06.112Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-09-30T09:56:06.416Z] + git semver init [2021-09-30T09:56:06.416Z] # -> Open(): unable to determine branch for HEAD [2021-09-30T09:56:06.416Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-366/.git [2021-09-30T09:56:06.416Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-366 [2021-09-30T09:56:06.416Z] # $SEMVER_REMOTE_NAME = origin [2021-09-30T09:56:06.416Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-09-30T09:56:06.416Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-09-30T09:56:06.416Z] # $SEMVER_BRANCH = PR-366 [2021-09-30T09:56:06.416Z] # $SEMVER_TEMP = /tmp/semver-697932561 [2021-09-30T09:56:06.416Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2021-09-30T09:56:07.372Z] # '/tmp/semver-697932561' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-366/.semver' [2021-09-30T09:56:07.372Z] # -> Force: false [2021-09-30T09:56:07.372Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-366/.semver [Pipeline] } [2021-09-30T09:56:07.394Z] $ docker exec --env ******** --env ******** d9f07216d70a71cd72e877b882eae72a16981e5e6ea2b5aa61ac258cef470e9e ssh-agent -k [2021-09-30T09:56:07.487Z] unset SSH_AUTH_SOCK; [2021-09-30T09:56:07.488Z] unset SSH_AGENT_PID; [2021-09-30T09:56:07.488Z] echo Agent pid 58 killed; [2021-09-30T09:56:07.497Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-09-30T09:56:07.829Z] + git semver [Pipeline] } [2021-09-30T09:56:07.853Z] $ docker stop --time=1 d9f07216d70a71cd72e877b882eae72a16981e5e6ea2b5aa61ac258cef470e9e [2021-09-30T09:56:09.092Z] $ docker rm -f d9f07216d70a71cd72e877b882eae72a16981e5e6ea2b5aa61ac258cef470e9e [Pipeline] // withDockerContainer [Pipeline] sh [2021-09-30T09:56:09.460Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-09-30T09:56:09.735Z] Stashed 1 file(s) [Pipeline] echo [2021-09-30T09:56:09.738Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-09-30T09:56:24.965Z] Still waiting to schedule task [2021-09-30T09:56:24.965Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-258’ [2021-09-30T09:56:24.967Z] Still waiting to schedule task [2021-09-30T09:56:24.968Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-09-30T09:58:43.110Z] Running on prd-centos7-docker-4c-2g-260 in /w/workspace/edgexfoundry_device-sdk-c_PR-366 [Pipeline] { [Pipeline] ws [2021-09-30T09:58:43.136Z] Running in /w/workspace/device-sdk-c/4 [Pipeline] { [Pipeline] checkout [2021-09-30T09:58:43.261Z] Selected Git installation does not exist. Using Default [2021-09-30T09:58:43.261Z] The recommended git tool is: NONE [2021-09-30T09:58:44.321Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-259 in /w/workspace/edgexfoundry_device-sdk-c_PR-366 [Pipeline] { [Pipeline] ws [2021-09-30T09:58:44.335Z] Running in /w/workspace/device-sdk-c/4 [Pipeline] { [Pipeline] checkout [2021-09-30T09:58:44.580Z] Selected Git installation does not exist. Using Default [2021-09-30T09:58:44.580Z] The recommended git tool is: NONE [2021-09-30T09:58:45.994Z] using credential edgex-jenkins-ssh [2021-09-30T09:58:46.010Z] Cloning the remote Git repository [2021-09-30T09:58:46.137Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-09-30T09:58:46.199Z] > git init /w/workspace/device-sdk-c/4 # timeout=10 [2021-09-30T09:58:46.229Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-09-30T09:58:46.230Z] > git --version # timeout=10 [2021-09-30T09:58:46.239Z] > git --version # 'git version 2.24.4' [2021-09-30T09:58:46.240Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-09-30T09:58:46.263Z] [INFO] Currently running in a labeled security context [2021-09-30T09:58:46.263Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-09-30T09:58:46.264Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/4@tmp/jenkins-gitclient-ssh4438618036935444014.key [2021-09-30T09:58:46.281Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-09-30T09:58:47.042Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-09-30T09:58:47.047Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-09-30T09:58:47.058Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-09-30T09:58:47.072Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-09-30T09:58:47.072Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-09-30T09:58:47.073Z] [INFO] Currently running in a labeled security context [2021-09-30T09:58:47.073Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-09-30T09:58:47.073Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/4@tmp/jenkins-gitclient-ssh3912322678848484519.key [2021-09-30T09:58:47.639Z] Merging remotes/origin/main commit dd89ff4844bc3f2584e3c2e3ef6b18d4bd9e7c82 into PR head commit d4028d067d9ed03c35e4d6b6c28f8e2560370e36 [2021-09-30T09:58:47.745Z] Merge succeeded, producing d4028d067d9ed03c35e4d6b6c28f8e2560370e36 [2021-09-30T09:58:47.746Z] Checking out Revision d4028d067d9ed03c35e4d6b6c28f8e2560370e36 (PR-366) [2021-09-30T09:58:47.079Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/366/head:refs/remotes/origin/PR-366 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-09-30T09:58:47.643Z] > git config core.sparsecheckout # timeout=10 [2021-09-30T09:58:47.654Z] > git checkout -f d4028d067d9ed03c35e4d6b6c28f8e2560370e36 # timeout=10 [2021-09-30T09:58:47.697Z] > git remote # timeout=10 [2021-09-30T09:58:47.702Z] > git config --get remote.origin.url # timeout=10 [2021-09-30T09:58:47.710Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-09-30T09:58:47.711Z] [INFO] Currently running in a labeled security context [2021-09-30T09:58:47.711Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-09-30T09:58:47.712Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/4@tmp/jenkins-gitclient-ssh7471824393080593552.key [2021-09-30T09:58:47.716Z] > git merge dd89ff4844bc3f2584e3c2e3ef6b18d4bd9e7c82 # timeout=10 [2021-09-30T09:58:47.730Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-09-30T09:58:47.744Z] > git config core.sparsecheckout # timeout=10 [2021-09-30T09:58:47.751Z] > git checkout -f d4028d067d9ed03c35e4d6b6c28f8e2560370e36 # timeout=10 [2021-09-30T09:58:50.159Z] using credential edgex-jenkins-ssh [2021-09-30T09:58:50.176Z] Cloning the remote Git repository [2021-09-30T09:58:50.214Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-09-30T09:58:50.379Z] > git init /w/workspace/device-sdk-c/4 # timeout=10 [2021-09-30T09:58:50.523Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-09-30T09:58:50.524Z] > git --version # timeout=10 [2021-09-30T09:58:50.549Z] > git --version # 'git version 2.17.1' [2021-09-30T09:58:50.551Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-09-30T09:58:50.646Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-09-30T09:58:51.487Z] Commit message: "docs: Add templates for new GitHub issues" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-09-30T09:58:51.909Z] provisioning config files... [2021-09-30T09:58:51.937Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/4@tmp/config2946682158637547322tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-09-30T09:58:52.378Z] ---> docker-login.sh [2021-09-30T09:58:52.378Z] nexus3.edgexfoundry.org:10001 [2021-09-30T09:58:52.378Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-30T09:58:52.378Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-30T09:58:52.378Z] Configure a credential helper to remove this warning. See [2021-09-30T09:58:52.378Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-30T09:58:52.378Z] [2021-09-30T09:58:52.378Z] Login Succeeded [2021-09-30T09:58:52.378Z] nexus3.edgexfoundry.org:10002 [2021-09-30T09:58:52.648Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-30T09:58:52.648Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-30T09:58:52.648Z] Configure a credential helper to remove this warning. See [2021-09-30T09:58:52.648Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-30T09:58:52.648Z] [2021-09-30T09:58:52.648Z] Login Succeeded [2021-09-30T09:58:52.648Z] nexus3.edgexfoundry.org:10003 [2021-09-30T09:58:52.648Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-30T09:58:52.772Z] Merging remotes/origin/main commit dd89ff4844bc3f2584e3c2e3ef6b18d4bd9e7c82 into PR head commit d4028d067d9ed03c35e4d6b6c28f8e2560370e36 [2021-09-30T09:58:52.921Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-30T09:58:52.921Z] Configure a credential helper to remove this warning. See [2021-09-30T09:58:52.921Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-30T09:58:52.921Z] [2021-09-30T09:58:52.921Z] Login Succeeded [2021-09-30T09:58:52.921Z] nexus3.edgexfoundry.org:10004 [2021-09-30T09:58:52.921Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-30T09:58:52.921Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-30T09:58:52.921Z] Configure a credential helper to remove this warning. See [2021-09-30T09:58:52.921Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-30T09:58:52.921Z] [2021-09-30T09:58:52.921Z] Login Succeeded [2021-09-30T09:58:52.921Z] docker.io [2021-09-30T09:58:52.921Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-30T09:58:53.005Z] Merge succeeded, producing d4028d067d9ed03c35e4d6b6c28f8e2560370e36 [2021-09-30T09:58:53.005Z] Checking out Revision d4028d067d9ed03c35e4d6b6c28f8e2560370e36 (PR-366) [2021-09-30T09:58:51.989Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-09-30T09:58:52.003Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-09-30T09:58:52.027Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-09-30T09:58:52.067Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-09-30T09:58:52.068Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-09-30T09:58:52.081Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/366/head:refs/remotes/origin/PR-366 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-09-30T09:58:52.783Z] > git config core.sparsecheckout # timeout=10 [2021-09-30T09:58:52.796Z] > git checkout -f d4028d067d9ed03c35e4d6b6c28f8e2560370e36 # timeout=10 [2021-09-30T09:58:52.907Z] > git remote # timeout=10 [2021-09-30T09:58:52.929Z] > git config --get remote.origin.url # timeout=10 [2021-09-30T09:58:52.941Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-09-30T09:58:52.959Z] > git merge dd89ff4844bc3f2584e3c2e3ef6b18d4bd9e7c82 # timeout=10 [2021-09-30T09:58:52.980Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-09-30T09:58:53.002Z] > git config core.sparsecheckout # timeout=10 [2021-09-30T09:58:53.032Z] > git checkout -f d4028d067d9ed03c35e4d6b6c28f8e2560370e36 # timeout=10 [2021-09-30T09:58:53.504Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-30T09:58:53.504Z] Configure a credential helper to remove this warning. See [2021-09-30T09:58:53.504Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-30T09:58:53.504Z] [2021-09-30T09:58:53.504Z] Login Succeeded [2021-09-30T09:58:53.504Z] ---> docker-login.sh ends [Pipeline] } [2021-09-30T09:58:53.552Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-09-30T09:58:53.753Z] ========================================================= [2021-09-30T09:58:53.753Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2021-09-30T09:58:53.753Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-09-30T09:58:54.094Z] + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . [2021-09-30T09:58:54.094Z] Sending build context to Docker daemon 2.698MB [2021-09-30T09:58:54.094Z] Step 1/25 : ARG BASE=alpine:3.14 [2021-09-30T09:58:54.094Z] Step 2/25 : FROM ${BASE} as builder [2021-09-30T09:58:54.362Z] latest: Pulling from edgex-devops/edgex-gcc-base [2021-09-30T09:58:54.362Z] 339de151aab4: Pulling fs layer [2021-09-30T09:58:54.362Z] 3691962f683c: Pulling fs layer [2021-09-30T09:58:54.362Z] e1147bf81a45: Pulling fs layer [2021-09-30T09:58:54.362Z] 3691962f683c: Verifying Checksum [2021-09-30T09:58:54.362Z] 3691962f683c: Download complete [2021-09-30T09:58:54.631Z] 339de151aab4: Verifying Checksum [2021-09-30T09:58:54.631Z] 339de151aab4: Download complete [2021-09-30T09:58:54.903Z] 339de151aab4: Pull complete [2021-09-30T09:58:54.903Z] 3691962f683c: Pull complete [2021-09-30T09:58:57.347Z] Commit message: "docs: Add templates for new GitHub issues" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-09-30T09:58:57.715Z] provisioning config files... [2021-09-30T09:58:57.743Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/4@tmp/config3958800918557496596tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-09-30T09:58:58.275Z] e1147bf81a45: Verifying Checksum [2021-09-30T09:58:58.275Z] e1147bf81a45: Download complete [2021-09-30T09:58:58.291Z] ---> docker-login.sh [2021-09-30T09:58:58.292Z] nexus3.edgexfoundry.org:10001 [2021-09-30T09:58:59.731Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-30T09:59:00.004Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-30T09:59:00.004Z] Configure a credential helper to remove this warning. See [2021-09-30T09:59:00.004Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-30T09:59:00.004Z] [2021-09-30T09:59:00.004Z] Login Succeeded [2021-09-30T09:59:00.004Z] nexus3.edgexfoundry.org:10002 [2021-09-30T09:59:00.603Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-30T09:59:00.603Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-30T09:59:00.603Z] Configure a credential helper to remove this warning. See [2021-09-30T09:59:00.603Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-30T09:59:00.603Z] [2021-09-30T09:59:00.603Z] Login Succeeded [2021-09-30T09:59:00.603Z] nexus3.edgexfoundry.org:10003 [2021-09-30T09:59:00.979Z] e1147bf81a45: Pull complete [2021-09-30T09:59:00.979Z] Digest: sha256:32c567f17180c4abff101a0d389449dec7f3f623a221c8a8ae98dcac9b0d9fee [2021-09-30T09:59:00.979Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2021-09-30T09:59:00.979Z] ---> ac6a0feb3254 [2021-09-30T09:59:00.979Z] Step 3/25 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2021-09-30T09:59:01.203Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-30T09:59:01.203Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-30T09:59:01.203Z] Configure a credential helper to remove this warning. See [2021-09-30T09:59:01.203Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-30T09:59:01.203Z] [2021-09-30T09:59:01.203Z] Login Succeeded [2021-09-30T09:59:01.203Z] nexus3.edgexfoundry.org:10004 [2021-09-30T09:59:01.487Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-30T09:59:01.764Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-30T09:59:01.764Z] Configure a credential helper to remove this warning. See [2021-09-30T09:59:01.764Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-30T09:59:01.764Z] [2021-09-30T09:59:01.764Z] Login Succeeded [2021-09-30T09:59:01.764Z] docker.io [2021-09-30T09:59:02.047Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-30T09:59:02.463Z] ---> Running in cba2e75b76cf [2021-09-30T09:59:02.649Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-30T09:59:02.649Z] Configure a credential helper to remove this warning. See [2021-09-30T09:59:02.649Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-30T09:59:02.649Z] [2021-09-30T09:59:02.649Z] Login Succeeded [2021-09-30T09:59:02.649Z] ---> docker-login.sh ends [Pipeline] } [2021-09-30T09:59:02.725Z] Deleting 1 temporary files [2021-09-30T09:59:02.733Z] Connecting to iotech.jfrog.io (54.229.110.245:443) [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-09-30T09:59:03.003Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2021-09-30T09:59:03.003Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2021-09-30T09:59:03.003Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2021-09-30T09:59:03.276Z] Removing intermediate container cba2e75b76cf [2021-09-30T09:59:03.276Z] ---> 476b6a9cffc6 [2021-09-30T09:59:03.276Z] Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2021-09-30T09:59:03.276Z] ---> Running in 72bb4693b038 [Pipeline] echo [2021-09-30T09:59:03.320Z] ========================================================= [2021-09-30T09:59:03.320Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2021-09-30T09:59:03.320Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-09-30T09:59:03.686Z] + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . [2021-09-30T09:59:03.878Z] Removing intermediate container 72bb4693b038 [2021-09-30T09:59:03.878Z] ---> c7f651e89eff [2021-09-30T09:59:03.878Z] Step 5/25 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev-1.3 hiredis-dev [2021-09-30T09:59:03.878Z] ---> Running in 326d95bc1891 [2021-09-30T09:59:04.149Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-09-30T09:59:04.288Z] Sending build context to Docker daemon 2.697MB [2021-09-30T09:59:04.288Z] Step 1/25 : ARG BASE=alpine:3.14 [2021-09-30T09:59:04.288Z] Step 2/25 : FROM ${BASE} as builder [2021-09-30T09:59:04.561Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2021-09-30T09:59:04.562Z] d2f70382dc9a: Pulling fs layer [2021-09-30T09:59:04.562Z] b08cc2eccb4b: Pulling fs layer [2021-09-30T09:59:04.562Z] 7b69db201801: Pulling fs layer [2021-09-30T09:59:04.562Z] b08cc2eccb4b: Verifying Checksum [2021-09-30T09:59:04.562Z] b08cc2eccb4b: Download complete [2021-09-30T09:59:04.562Z] d2f70382dc9a: Download complete [2021-09-30T09:59:05.159Z] d2f70382dc9a: Pull complete [2021-09-30T09:59:05.440Z] b08cc2eccb4b: Pull complete [2021-09-30T09:59:05.572Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-09-30T09:59:06.870Z] 7b69db201801: Verifying Checksum [2021-09-30T09:59:06.870Z] 7b69db201801: Download complete [2021-09-30T09:59:06.986Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz [2021-09-30T09:59:07.572Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2021-09-30T09:59:07.572Z] (1/22) Installing hiredis (0.14.1-r0) [2021-09-30T09:59:07.839Z] (2/22) Installing hiredis-dev (0.14.1-r0) [2021-09-30T09:59:08.106Z] (3/22) Installing ncurses-dev (6.2_p20200523-r0) [2021-09-30T09:59:08.371Z] (4/22) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2021-09-30T09:59:09.340Z] (5/22) Installing libblkid (2.35.2-r0) [2021-09-30T09:59:09.606Z] (6/22) Installing blkid (2.35.2-r0) [2021-09-30T09:59:09.606Z] (7/22) Installing libcap-ng (0.7.10-r1) [2021-09-30T09:59:09.873Z] (8/22) Installing setpriv (2.35.2-r0) [2021-09-30T09:59:09.873Z] (9/22) Installing libmount (2.35.2-r0) [2021-09-30T09:59:10.139Z] (10/22) Installing libsmartcols (2.35.2-r0) [2021-09-30T09:59:10.406Z] (11/22) Installing findmnt (2.35.2-r0) [2021-09-30T09:59:10.406Z] (12/22) Installing mcookie (2.35.2-r0) [2021-09-30T09:59:10.406Z] (13/22) Installing hexdump (2.35.2-r0) [2021-09-30T09:59:10.674Z] (14/22) Installing lsblk (2.35.2-r0) [2021-09-30T09:59:10.674Z] (15/22) Installing libuuid (2.35.2-r0) [2021-09-30T09:59:10.940Z] (16/22) Installing libfdisk (2.35.2-r0) [2021-09-30T09:59:11.206Z] (17/22) Installing sfdisk (2.35.2-r0) [2021-09-30T09:59:11.206Z] (18/22) Installing cfdisk (2.35.2-r0) [2021-09-30T09:59:11.473Z] (19/22) Installing util-linux (2.35.2-r0) [2021-09-30T09:59:13.417Z] (20/22) Installing util-linux-dev (2.35.2-r0) [2021-09-30T09:59:14.000Z] (21/22) Installing libidn2 (2.3.0-r0) [2021-09-30T09:59:14.268Z] (22/22) Installing wget (1.20.3-r1) [2021-09-30T09:59:14.536Z] Executing busybox-1.31.1-r20.trigger [2021-09-30T09:59:14.536Z] OK: 295 MiB in 97 packages [2021-09-30T09:59:15.124Z] Removing intermediate container 326d95bc1891 [2021-09-30T09:59:15.124Z] ---> 537ef5ca574f [2021-09-30T09:59:15.124Z] Step 6/25 : ENV CBOR_VERSION=0.5.0 [2021-09-30T09:59:15.124Z] ---> Running in 4dcfa1281e6c [2021-09-30T09:59:15.187Z] 7b69db201801: Pull complete [2021-09-30T09:59:15.187Z] Digest: sha256:6402f0ff92f22f5db569dc2a94aef5717e50795d64082fb226716824a8b8ffba [2021-09-30T09:59:15.187Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2021-09-30T09:59:15.187Z] ---> 759262b18b23 [2021-09-30T09:59:15.187Z] Step 3/25 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2021-09-30T09:59:15.391Z] Removing intermediate container 4dcfa1281e6c [2021-09-30T09:59:15.391Z] ---> 0f2699ba4fb2 [2021-09-30T09:59:15.391Z] Step 7/25 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install [2021-09-30T09:59:15.391Z] ---> Running in 1bd3a06f1294 [2021-09-30T09:59:15.658Z] --2021-09-30 09:59:15-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-09-30T09:59:15.658Z] Resolving github.com (github.com)... 140.82.113.3 [2021-09-30T09:59:15.926Z] Connecting to github.com (github.com)|140.82.113.3|:443... connected. [2021-09-30T09:59:15.926Z] HTTP request sent, awaiting response... 302 Found [2021-09-30T09:59:15.926Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-09-30T09:59:15.926Z] --2021-09-30 09:59:15-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-09-30T09:59:15.926Z] Resolving codeload.github.com (codeload.github.com)... 140.82.114.10 [2021-09-30T09:59:15.926Z] Connecting to codeload.github.com (codeload.github.com)|140.82.114.10|:443... connected. [2021-09-30T09:59:16.191Z] HTTP request sent, awaiting response... 200 OK [2021-09-30T09:59:16.191Z] Length: unspecified [application/x-gzip] [2021-09-30T09:59:16.191Z] Saving to: 'STDOUT' [2021-09-30T09:59:16.191Z]  [2021-09-30T09:59:16.191Z] 0K .......... .......... .......... .......... .......... 1.04M [2021-09-30T09:59:16.191Z] 50K .......... .......... .......... .......... .......... 2.30M [2021-09-30T09:59:16.191Z] 100K .......... .......... .......... .......... .......... 22.5M [2021-09-30T09:59:16.192Z] 150K .......... .......... .......... .......... .......... 1.14M [2021-09-30T09:59:16.192Z] 200K .......... .......... .......... .......... .......... 19.1M [2021-09-30T09:59:16.192Z] 250K .......... .......... .......... .......... .......... 5.45M [2021-09-30T09:59:16.192Z] 300K .......... .......... .......... .......... .......... 7.90M [2021-09-30T09:59:16.192Z] 350K .......... .......... .......... .......... .......... 143M [2021-09-30T09:59:16.192Z] 400K .......... .......... .......... .......... .......... 9.72M [2021-09-30T09:59:16.192Z] 450K .......... .......... .......... .......... .......... 2.76M [2021-09-30T09:59:16.192Z] 500K .......... .......... .......... .......... .......... 278M [2021-09-30T09:59:16.192Z] 550K .......... .......... .......... .......... .......... 1.99M [2021-09-30T09:59:16.456Z] 600K .......... .......... .......... .......... .......... 3.62M [2021-09-30T09:59:16.456Z] 650K .......... .......... .......... .......... .......... 8.34M [2021-09-30T09:59:16.624Z] ---> Running in bab36ecf73a9 [2021-09-30T09:59:18.061Z] Connecting to iotech.jfrog.io (54.72.115.12:443) [2021-09-30T09:59:18.408Z] 700K .. 66.2M=0.2s [2021-09-30T09:59:18.408Z] [2021-09-30T09:59:18.408Z] 2021-09-30 09:59:18 (3.46 MB/s) - written to stdout [719348] [2021-09-30T09:59:18.408Z] [2021-09-30T09:59:18.408Z] -- The C compiler identification is GNU 9.3.0 [2021-09-30T09:59:18.408Z] -- The CXX compiler identification is GNU 9.3.0 [2021-09-30T09:59:18.408Z] -- Check for working C compiler: /usr/bin/cc [2021-09-30T09:59:18.408Z] -- Check for working C compiler: /usr/bin/cc - works [2021-09-30T09:59:18.408Z] -- Detecting C compiler ABI info [2021-09-30T09:59:18.664Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2021-09-30T09:59:18.664Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2021-09-30T09:59:18.664Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2021-09-30T09:59:18.676Z] -- Detecting C compiler ABI info - done [2021-09-30T09:59:18.676Z] -- Detecting C compile features [2021-09-30T09:59:18.676Z] -- Detecting C compile features - done [2021-09-30T09:59:18.676Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-09-30T09:59:18.676Z] -- Check for working CXX compiler: /usr/bin/c++ - works [2021-09-30T09:59:18.676Z] -- Detecting CXX compiler ABI info [2021-09-30T09:59:18.676Z] -- Detecting CXX compiler ABI info - done [2021-09-30T09:59:18.676Z] -- Detecting CXX compile features [2021-09-30T09:59:18.676Z] -- Detecting CXX compile features - done [2021-09-30T09:59:18.676Z] -- Looking for include file endian.h [2021-09-30T09:59:18.943Z] -- Looking for include file endian.h - found [2021-09-30T09:59:18.943Z] -- Check if the system is big endian [2021-09-30T09:59:18.943Z] -- Searching 16 bit integer [2021-09-30T09:59:18.943Z] -- Looking for sys/types.h [2021-09-30T09:59:18.943Z] -- Looking for sys/types.h - found [2021-09-30T09:59:18.943Z] -- Looking for stdint.h [2021-09-30T09:59:18.943Z] -- Looking for stdint.h - found [2021-09-30T09:59:18.943Z] -- Looking for stddef.h [2021-09-30T09:59:18.943Z] -- Looking for stddef.h - found [2021-09-30T09:59:18.943Z] -- Check size of unsigned short [2021-09-30T09:59:19.214Z] -- Check size of unsigned short - done [2021-09-30T09:59:19.214Z] -- Searching 16 bit integer - Using unsigned short [2021-09-30T09:59:19.214Z] -- Check if the system is big endian - little endian [2021-09-30T09:59:19.214Z] -- Check size of size_t [2021-09-30T09:59:19.214Z] -- Check size of size_t - done [2021-09-30T09:59:19.214Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-09-30T09:59:19.214Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-09-30T09:59:19.214Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-09-30T09:59:19.214Z] CMake did not find one. [2021-09-30T09:59:19.214Z] [2021-09-30T09:59:19.214Z] Could not find a package configuration file provided by "cJSON" with any of [2021-09-30T09:59:19.214Z] the following names: [2021-09-30T09:59:19.214Z] [2021-09-30T09:59:19.214Z] cJSONConfig.cmake [2021-09-30T09:59:19.214Z] cjson-config.cmake [2021-09-30T09:59:19.214Z] [2021-09-30T09:59:19.214Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-09-30T09:59:19.214Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-09-30T09:59:19.214Z] provides a separate development package or SDK, be sure it has been [2021-09-30T09:59:19.214Z] installed. [2021-09-30T09:59:19.214Z] [2021-09-30T09:59:19.214Z] [2021-09-30T09:59:19.214Z] -- Configuring done [2021-09-30T09:59:19.214Z] -- Generating done [2021-09-30T09:59:19.482Z] -- Build files have been written to: /tmp/cbor [2021-09-30T09:59:19.482Z] Scanning dependencies of target cbor_shared [2021-09-30T09:59:19.482Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-09-30T09:59:19.482Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-09-30T09:59:19.653Z] Removing intermediate container bab36ecf73a9 [2021-09-30T09:59:19.653Z] ---> f8155f88b256 [2021-09-30T09:59:19.653Z] Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2021-09-30T09:59:19.752Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-09-30T09:59:19.752Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-09-30T09:59:19.752Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-09-30T09:59:19.927Z] ---> Running in 998ffa2a0d3d [2021-09-30T09:59:20.026Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-09-30T09:59:20.026Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-09-30T09:59:20.026Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-09-30T09:59:20.026Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-09-30T09:59:20.026Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-09-30T09:59:20.292Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-09-30T09:59:20.292Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-09-30T09:59:20.292Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-09-30T09:59:20.558Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-09-30T09:59:20.558Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-09-30T09:59:20.559Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-09-30T09:59:20.559Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-09-30T09:59:20.833Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-09-30T09:59:20.833Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-09-30T09:59:20.833Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-09-30T09:59:20.833Z] [ 40%] Linking C shared library libcbor.so [2021-09-30T09:59:20.833Z] [ 40%] Built target cbor_shared [2021-09-30T09:59:20.833Z] Scanning dependencies of target cbor [2021-09-30T09:59:20.833Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-09-30T09:59:21.104Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-09-30T09:59:21.104Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-09-30T09:59:21.104Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-09-30T09:59:21.690Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-09-30T09:59:21.690Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-09-30T09:59:21.690Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-09-30T09:59:21.690Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-09-30T09:59:21.690Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-09-30T09:59:21.690Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-09-30T09:59:21.956Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-09-30T09:59:21.956Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-09-30T09:59:21.956Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-09-30T09:59:22.222Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-09-30T09:59:22.222Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-09-30T09:59:22.222Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-09-30T09:59:22.222Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-09-30T09:59:22.489Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-09-30T09:59:22.489Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-09-30T09:59:22.489Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-09-30T09:59:22.489Z] [ 80%] Linking C static library libcbor.a [2021-09-30T09:59:22.489Z] [ 80%] Built target cbor [2021-09-30T09:59:22.489Z] Scanning dependencies of target sort [2021-09-30T09:59:22.489Z] [ 82%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-09-30T09:59:22.543Z] Removing intermediate container 998ffa2a0d3d [2021-09-30T09:59:22.543Z] ---> 05f021729e98 [2021-09-30T09:59:22.543Z] Step 5/25 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev-1.3 hiredis-dev [2021-09-30T09:59:22.543Z] ---> Running in cf212df1ac69 [2021-09-30T09:59:22.756Z] [ 84%] Linking C executable sort [2021-09-30T09:59:22.756Z] [ 84%] Built target sort [2021-09-30T09:59:22.756Z] Scanning dependencies of target readfile [2021-09-30T09:59:22.756Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-09-30T09:59:22.756Z] [ 88%] Linking C executable readfile [2021-09-30T09:59:22.756Z] [ 88%] Built target readfile [2021-09-30T09:59:22.756Z] Scanning dependencies of target streaming_parser [2021-09-30T09:59:22.756Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-09-30T09:59:22.756Z] [ 92%] Linking C executable streaming_parser [2021-09-30T09:59:22.756Z] [ 92%] Built target streaming_parser [2021-09-30T09:59:22.756Z] Scanning dependencies of target hello [2021-09-30T09:59:23.028Z] [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-09-30T09:59:23.028Z] [ 96%] Linking C executable hello [2021-09-30T09:59:23.028Z] [ 96%] Built target hello [2021-09-30T09:59:23.028Z] Scanning dependencies of target create_items [2021-09-30T09:59:23.028Z] [ 98%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-09-30T09:59:23.028Z] [100%] Linking C executable create_items [2021-09-30T09:59:23.028Z] [100%] Built target create_items [2021-09-30T09:59:23.028Z] Install the project... [2021-09-30T09:59:23.028Z] -- Install configuration: "Release" [2021-09-30T09:59:23.028Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-09-30T09:59:23.028Z] -- Installing: /usr/local/lib64/libcbor.a [2021-09-30T09:59:23.028Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-09-30T09:59:23.028Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-09-30T09:59:23.028Z] -- Installing: /usr/local/lib64/libcbor.so [2021-09-30T09:59:23.028Z] -- Up-to-date: /usr/local/include/cbor [2021-09-30T09:59:23.028Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-09-30T09:59:23.028Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-09-30T09:59:23.028Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-09-30T09:59:23.028Z] -- Installing: /usr/local/include/cbor/common.h [2021-09-30T09:59:23.028Z] -- Installing: /usr/local/include/cbor/data.h [2021-09-30T09:59:23.028Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-09-30T09:59:23.028Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-09-30T09:59:23.028Z] -- Installing: /usr/local/include/cbor/internal [2021-09-30T09:59:23.028Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-09-30T09:59:23.028Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-09-30T09:59:23.028Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-09-30T09:59:23.028Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-09-30T09:59:23.028Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-09-30T09:59:23.028Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-09-30T09:59:23.028Z] -- Installing: /usr/local/include/cbor/ints.h [2021-09-30T09:59:23.028Z] -- Installing: /usr/local/include/cbor/maps.h [2021-09-30T09:59:23.028Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-09-30T09:59:23.028Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-09-30T09:59:23.028Z] -- Installing: /usr/local/include/cbor/strings.h [2021-09-30T09:59:23.028Z] -- Installing: /usr/local/include/cbor/tags.h [2021-09-30T09:59:23.028Z] -- Installing: /usr/local/include/cbor.h [2021-09-30T09:59:23.028Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-09-30T09:59:23.529Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-09-30T09:59:23.618Z] Removing intermediate container 1bd3a06f1294 [2021-09-30T09:59:23.618Z] ---> f2a83349b6eb [2021-09-30T09:59:23.618Z] Step 8/25 : RUN mkdir /tmp/sdk [2021-09-30T09:59:23.883Z] ---> Running in 4ed447dbe30e [2021-09-30T09:59:24.119Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-09-30T09:59:24.464Z] Removing intermediate container 4ed447dbe30e [2021-09-30T09:59:24.464Z] ---> fc6b0ac71b66 [2021-09-30T09:59:24.464Z] Step 9/25 : COPY VERSION /tmp/sdk [2021-09-30T09:59:24.464Z] ---> d2fd20c86e35 [2021-09-30T09:59:24.464Z] Step 10/25 : COPY src /tmp/sdk/src [2021-09-30T09:59:24.720Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz [2021-09-30T09:59:24.732Z] ---> 069b7ac352db [2021-09-30T09:59:24.732Z] Step 11/25 : COPY include /tmp/sdk/include [2021-09-30T09:59:24.998Z] ---> effe219125fd [2021-09-30T09:59:24.998Z] Step 12/25 : COPY scripts /tmp/sdk/scripts [2021-09-30T09:59:25.264Z] ---> d1bd76449f56 [2021-09-30T09:59:25.264Z] Step 13/25 : COPY LICENSE /tmp/sdk [2021-09-30T09:59:25.538Z] ---> 12a1f96b54a7 [2021-09-30T09:59:25.538Z] Step 14/25 : COPY Attribution.txt /tmp/sdk [2021-09-30T09:59:25.538Z] ---> f474a25b5b2d [2021-09-30T09:59:25.538Z] Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-09-30T09:59:25.538Z] ---> Running in 91e4cc06fc94 [2021-09-30T09:59:25.692Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2021-09-30T09:59:25.692Z] (1/22) Installing hiredis (0.14.1-r0) [2021-09-30T09:59:25.692Z] (2/22) Installing hiredis-dev (0.14.1-r0) [2021-09-30T09:59:25.692Z] (3/22) Installing ncurses-dev (6.2_p20200523-r0) [2021-09-30T09:59:25.962Z] (4/22) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2021-09-30T09:59:26.121Z] + CPPCHECK=false [2021-09-30T09:59:26.121Z] + DOCGEN=false [2021-09-30T09:59:26.121Z] + TOMLVER=SDK-0.2 [2021-09-30T09:59:26.121Z] + CUTILVER=1.2.2 [2021-09-30T09:59:26.121Z] + '[' 0 -gt 0 ] [2021-09-30T09:59:26.121Z] + readlink -f ./scripts/build.sh [2021-09-30T09:59:26.121Z] + dirname /tmp/sdk/scripts/build.sh [2021-09-30T09:59:26.121Z] + dirname /tmp/sdk/scripts [2021-09-30T09:59:26.121Z] + ROOT=/tmp/sdk [2021-09-30T09:59:26.121Z] + cd /tmp/sdk [2021-09-30T09:59:26.121Z] + '[' '!' -d deps ] [2021-09-30T09:59:26.121Z] + mkdir deps [2021-09-30T09:59:26.121Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-09-30T09:59:26.121Z] + tar -C deps -z -x -f - [2021-09-30T09:59:26.121Z] --2021-09-30 09:59:25-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-09-30T09:59:26.121Z] Resolving github.com (github.com)... 140.82.113.3 [2021-09-30T09:59:26.121Z] Connecting to github.com (github.com)|140.82.113.3|:443... connected. [2021-09-30T09:59:26.121Z] HTTP request sent, awaiting response... 302 Found [2021-09-30T09:59:26.121Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-09-30T09:59:26.121Z] --2021-09-30 09:59:26-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-09-30T09:59:26.121Z] Resolving codeload.github.com (codeload.github.com)... 140.82.114.10 [2021-09-30T09:59:26.387Z] Connecting to codeload.github.com (codeload.github.com)|140.82.114.10|:443... connected. [2021-09-30T09:59:26.387Z] HTTP request sent, awaiting response... 200 OK [2021-09-30T09:59:26.387Z] Length: unspecified [application/x-gzip] [2021-09-30T09:59:26.387Z] Saving to: 'STDOUT' [2021-09-30T09:59:26.387Z] [2021-09-30T09:59:26.387Z] 0K .......... ...... 739K=0.02s [2021-09-30T09:59:26.387Z] [2021-09-30T09:59:26.387Z] 2021-09-30 09:59:26 (739 KB/s) - written to stdout [16451] [2021-09-30T09:59:26.387Z] [2021-09-30T09:59:26.387Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-09-30T09:59:26.387Z] + tar -C deps -z -x -f+ - [2021-09-30T09:59:26.387Z] wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2021-09-30T09:59:26.387Z] --2021-09-30 09:59:26-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2021-09-30T09:59:26.387Z] Resolving github.com (github.com)... 140.82.113.3 [2021-09-30T09:59:26.387Z] Connecting to github.com (github.com)|140.82.113.3|:443... connected. [2021-09-30T09:59:26.654Z] HTTP request sent, awaiting response... 302 Found [2021-09-30T09:59:26.654Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [following] [2021-09-30T09:59:26.654Z] --2021-09-30 09:59:26-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [2021-09-30T09:59:26.654Z] Resolving codeload.github.com (codeload.github.com)... 140.82.114.10 [2021-09-30T09:59:26.654Z] Connecting to codeload.github.com (codeload.github.com)|140.82.114.10|:443... connected. [2021-09-30T09:59:26.920Z] HTTP request sent, awaiting response... 200 OK [2021-09-30T09:59:26.920Z] Length: unspecified [application/x-gzip] [2021-09-30T09:59:26.920Z] Saving to: 'STDOUT' [2021-09-30T09:59:26.920Z]  [2021-09-30T09:59:26.920Z] 0K .......... .......... .......... .......... .......... 1.09M [2021-09-30T09:59:26.920Z] 50K .......... .......... .......... .......... .......... 2.33M [2021-09-30T09:59:26.920Z] 100K .......... .......... .......... .......... .......... 20.4M [2021-09-30T09:59:26.920Z] 150K .......... .......... .......... ......... 9.42M=0.07s [2021-09-30T09:59:26.920Z] [2021-09-30T09:59:26.920Z] 2021-09-30 09:59:26 (2.56 MB/s) - written to stdout [193971] [2021-09-30T09:59:26.920Z] [2021-09-30T09:59:26.920Z] + mkdir -p src/c/iot [2021-09-30T09:59:26.920Z] + cp deps/iotech-c-utils-1.2.2/src/c/base64.c deps/iotech-c-utils-1.2.2/src/c/component.c deps/iotech-c-utils-1.2.2/src/c/config.c deps/iotech-c-utils-1.2.2/src/c/container.c deps/iotech-c-utils-1.2.2/src/c/data.c deps/iotech-c-utils-1.2.2/src/c/hash.c deps/iotech-c-utils-1.2.2/src/c/iot.c deps/iotech-c-utils-1.2.2/src/c/json.c deps/iotech-c-utils-1.2.2/src/c/logger.c deps/iotech-c-utils-1.2.2/src/c/os.c deps/iotech-c-utils-1.2.2/src/c/scheduler.c deps/iotech-c-utils-1.2.2/src/c/thread.c deps/iotech-c-utils-1.2.2/src/c/threadpool.c deps/iotech-c-utils-1.2.2/src/c/time.c deps/iotech-c-utils-1.2.2/src/c/uuid.c deps/iotech-c-utils-1.2.2/src/c/yxml.c src/c/iot [2021-09-30T09:59:26.920Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2021-09-30T09:59:26.920Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2021-09-30T09:59:26.920Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2021-09-30T09:59:26.920Z] + mkdir -p include/iot [2021-09-30T09:59:26.920Z] + cp deps/iotech-c-utils-1.2.2/include/iot/base64.h deps/iotech-c-utils-1.2.2/include/iot/component.h deps/iotech-c-utils-1.2.2/include/iot/config.h deps/iotech-c-utils-1.2.2/include/iot/container.h deps/iotech-c-utils-1.2.2/include/iot/data.h deps/iotech-c-utils-1.2.2/include/iot/hash.h deps/iotech-c-utils-1.2.2/include/iot/iot.h deps/iotech-c-utils-1.2.2/include/iot/json.h deps/iotech-c-utils-1.2.2/include/iot/logger.h deps/iotech-c-utils-1.2.2/include/iot/os.h deps/iotech-c-utils-1.2.2/include/iot/scheduler.h deps/iotech-c-utils-1.2.2/include/iot/thread.h deps/iotech-c-utils-1.2.2/include/iot/threadpool.h deps/iotech-c-utils-1.2.2/include/iot/time.h deps/iotech-c-utils-1.2.2/include/iot/typecode.h deps/iotech-c-utils-1.2.2/include/iot/uuid.h include/iot [2021-09-30T09:59:26.920Z] + mkdir -p include/iot/os [2021-09-30T09:59:26.920Z] + cp deps/iotech-c-utils-1.2.2/include/iot/os/linux.h deps/iotech-c-utils-1.2.2/include/iot/os/macos.h deps/iotech-c-utils-1.2.2/include/iot/os/zephyr.h include/iot/os [2021-09-30T09:59:26.920Z] + mkdir -p /tmp/sdk/build/release [2021-09-30T09:59:26.920Z] + cd /tmp/sdk/build/release [2021-09-30T09:59:26.920Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-09-30T09:59:26.930Z] (5/22) Installing libblkid (2.35.2-r0) [2021-09-30T09:59:26.930Z] (6/22) Installing blkid (2.35.2-r0) [2021-09-30T09:59:27.190Z] -- The C compiler identification is GNU 9.3.0 [2021-09-30T09:59:27.190Z] -- Check for working C compiler: /usr/bin/cc [2021-09-30T09:59:27.190Z] -- Check for working C compiler: /usr/bin/cc - works [2021-09-30T09:59:27.190Z] -- Detecting C compiler ABI info [2021-09-30T09:59:27.190Z] -- Detecting C compiler ABI info - done [2021-09-30T09:59:27.190Z] -- Detecting C compile features [2021-09-30T09:59:27.190Z] -- Detecting C compile features - done [2021-09-30T09:59:27.190Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-09-30T09:59:27.190Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") [2021-09-30T09:59:27.190Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-09-30T09:59:27.190Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-09-30T09:59:27.190Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-09-30T09:59:27.190Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-09-30T09:59:27.190Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-09-30T09:59:27.190Z] -- C SDK 0.0.0 for Linux [2021-09-30T09:59:27.190Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-09-30T09:59:27.201Z] (7/22) Installing libcap-ng (0.7.10-r1) [2021-09-30T09:59:27.201Z] (8/22) Installing setpriv (2.35.2-r0) [2021-09-30T09:59:27.201Z] (9/22) Installing libmount (2.35.2-r0) [2021-09-30T09:59:27.457Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-09-30T09:59:27.457Z] -- Found Curses: /usr/lib/libcurses.so [2021-09-30T09:59:27.457Z] -- Configuring done [2021-09-30T09:59:27.457Z] -- Generating done [2021-09-30T09:59:27.457Z] -- Build files have been written to: /tmp/sdk/build/release [2021-09-30T09:59:27.457Z] + make all package [2021-09-30T09:59:27.457Z] + tee release.log [2021-09-30T09:59:27.457Z] Scanning dependencies of target csdk [2021-09-30T09:59:27.457Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-09-30T09:59:27.726Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-09-30T09:59:27.726Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-09-30T09:59:27.792Z] (10/22) Installing libsmartcols (2.35.2-r0) [2021-09-30T09:59:27.792Z] (11/22) Installing findmnt (2.35.2-r0) [2021-09-30T09:59:27.997Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-09-30T09:59:28.063Z] (12/22) Installing mcookie (2.35.2-r0) [2021-09-30T09:59:28.063Z] (13/22) Installing hexdump (2.35.2-r0) [2021-09-30T09:59:28.063Z] (14/22) Installing lsblk (2.35.2-r0) [2021-09-30T09:59:28.267Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-09-30T09:59:28.267Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-09-30T09:59:28.339Z] (15/22) Installing libuuid (2.35.2-r0) [2021-09-30T09:59:28.339Z] (16/22) Installing libfdisk (2.35.2-r0) [2021-09-30T09:59:28.533Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-09-30T09:59:28.533Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-09-30T09:59:28.533Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-09-30T09:59:28.615Z] (17/22) Installing sfdisk (2.35.2-r0) [2021-09-30T09:59:28.615Z] (18/22) Installing cfdisk (2.35.2-r0) [2021-09-30T09:59:28.806Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-09-30T09:59:28.886Z] (19/22) Installing util-linux (2.35.2-r0) [2021-09-30T09:59:29.075Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-09-30T09:59:29.075Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-09-30T09:59:29.343Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-09-30T09:59:29.343Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-09-30T09:59:29.610Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-09-30T09:59:29.610Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-09-30T09:59:29.610Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-09-30T09:59:29.864Z] (20/22) Installing util-linux-dev (2.35.2-r0) [2021-09-30T09:59:30.192Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-09-30T09:59:30.192Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-09-30T09:59:30.192Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-09-30T09:59:30.192Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-09-30T09:59:30.457Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-09-30T09:59:30.457Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2021-09-30T09:59:30.457Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2021-09-30T09:59:30.457Z] 275 | const iot_component_factory_t * factory; [2021-09-30T09:59:30.457Z] | ^~~~~~~ [2021-09-30T09:59:30.457Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-09-30T09:59:30.842Z] (21/22) Installing libidn2 (2.3.0-r0) [2021-09-30T09:59:30.842Z] (22/22) Installing wget (1.20.3-r1) [2021-09-30T09:59:31.113Z] Executing busybox-1.31.1-r20.trigger [2021-09-30T09:59:31.113Z] OK: 276 MiB in 97 packages [2021-09-30T09:59:31.425Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-09-30T09:59:31.425Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-09-30T09:59:31.425Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-09-30T09:59:31.692Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-09-30T09:59:31.692Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-09-30T09:59:31.692Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-09-30T09:59:31.959Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-09-30T09:59:31.959Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-09-30T09:59:32.225Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-09-30T09:59:32.225Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2021-09-30T09:59:32.225Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-09-30T09:59:32.496Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-09-30T09:59:32.769Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-09-30T09:59:32.769Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-09-30T09:59:32.769Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-09-30T09:59:33.084Z] Removing intermediate container cf212df1ac69 [2021-09-30T09:59:33.084Z] ---> 98ad853effe5 [2021-09-30T09:59:33.084Z] Step 6/25 : ENV CBOR_VERSION=0.5.0 [2021-09-30T09:59:33.084Z] ---> Running in dd688e7218a9 [2021-09-30T09:59:33.358Z] Removing intermediate container dd688e7218a9 [2021-09-30T09:59:33.358Z] ---> a2a0c29b69d2 [2021-09-30T09:59:33.358Z] Step 7/25 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install [2021-09-30T09:59:33.631Z] ---> Running in 2a6f85507e40 [2021-09-30T09:59:33.734Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-09-30T09:59:33.734Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-09-30T09:59:33.734Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-09-30T09:59:34.007Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-09-30T09:59:34.007Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-09-30T09:59:34.279Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-09-30T09:59:34.552Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-09-30T09:59:34.552Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-09-30T09:59:34.552Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-09-30T09:59:35.078Z] --2021-09-30 09:59:34-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-09-30T09:59:35.078Z] Resolving github.com (github.com)... 140.82.113.3 [2021-09-30T09:59:35.078Z] Connecting to github.com (github.com)|140.82.113.3|:443... connected. [2021-09-30T09:59:35.078Z] HTTP request sent, awaiting response... 302 Found [2021-09-30T09:59:35.078Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-09-30T09:59:35.078Z] --2021-09-30 09:59:34-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-09-30T09:59:35.078Z] Resolving codeload.github.com (codeload.github.com)... 140.82.114.10 [2021-09-30T09:59:35.078Z] Connecting to codeload.github.com (codeload.github.com)|140.82.114.10|:443... connected. [2021-09-30T09:59:35.078Z] HTTP request sent, awaiting response... 200 OK [2021-09-30T09:59:35.078Z] Length: unspecified [application/x-gzip] [2021-09-30T09:59:35.078Z] Saving to: 'STDOUT' [2021-09-30T09:59:35.078Z]  [2021-09-30T09:59:35.078Z] 0K .......... .......... .......... .......... .......... 1.17M [2021-09-30T09:59:35.078Z] 50K .......... .......... .......... .......... .......... 2.25M [2021-09-30T09:59:35.079Z] 100K .......... .......... .......... .......... .......... 11.9M [2021-09-30T09:59:35.079Z] 150K .......... .......... .......... .......... .......... 3.01M [2021-09-30T09:59:35.079Z] 200K .......... .......... .......... .......... .......... 13.0M [2021-09-30T09:59:35.079Z] 250K .......... .......... .......... .......... .......... 3.53M [2021-09-30T09:59:35.079Z] 300K .......... .......... .......... .......... .......... 4.44M [2021-09-30T09:59:35.079Z] 350K .......... .......... .......... .......... .......... 5.84M [2021-09-30T09:59:35.079Z] 400K .......... .......... .......... .......... .......... 3.07M [2021-09-30T09:59:35.079Z] 450K .......... .......... .......... .......... .......... 6.96M [2021-09-30T09:59:35.142Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-09-30T09:59:35.360Z] 500K .......... .......... .......... .......... .......... 3.20M [2021-09-30T09:59:35.360Z] 550K .......... .......... .......... .......... .......... 7.27M [2021-09-30T09:59:35.360Z] 600K .......... .......... .......... .......... .......... 862K [2021-09-30T09:59:35.360Z] 650K .......... .......... .......... .......... .......... 1.57M [2021-09-30T09:59:35.360Z] 700K ..  3.67M=0.3s [2021-09-30T09:59:35.360Z] [2021-09-30T09:59:35.360Z] 2021-09-30 09:59:35 (2.69 MB/s) - written to stdout [719348] [2021-09-30T09:59:35.360Z] [2021-09-30T09:59:35.634Z] -- The C compiler identification is GNU 9.3.0 [2021-09-30T09:59:35.730Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-09-30T09:59:35.730Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-09-30T09:59:35.730Z] [ 76%] Linking C shared library libcsdk.so [2021-09-30T09:59:35.730Z] [ 76%] Built target csdk [2021-09-30T09:59:35.730Z] Scanning dependencies of target template [2021-09-30T09:59:35.730Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-09-30T09:59:35.910Z] -- The CXX compiler identification is GNU 9.3.0 [2021-09-30T09:59:35.910Z] -- Check for working C compiler: /usr/bin/cc [2021-09-30T09:59:35.997Z] [ 79%] Linking C executable template [2021-09-30T09:59:35.997Z] [ 79%] Built target template [2021-09-30T09:59:35.997Z] Scanning dependencies of target device-counter [2021-09-30T09:59:35.997Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-09-30T09:59:36.187Z] -- Check for working C compiler: /usr/bin/cc - works [2021-09-30T09:59:36.187Z] -- Detecting C compiler ABI info [2021-09-30T09:59:36.268Z] [ 82%] Linking C executable device-counter [2021-09-30T09:59:36.268Z] [ 82%] Built target device-counter [2021-09-30T09:59:36.268Z] Scanning dependencies of target device-random [2021-09-30T09:59:36.268Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-09-30T09:59:36.268Z] [ 85%] Linking C executable device-random [2021-09-30T09:59:36.268Z] [ 85%] Built target device-random [2021-09-30T09:59:36.268Z] Scanning dependencies of target device-gyro [2021-09-30T09:59:36.268Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-09-30T09:59:36.459Z] -- Detecting C compiler ABI info - done [2021-09-30T09:59:36.459Z] -- Detecting C compile features [2021-09-30T09:59:36.459Z] -- Detecting C compile features - done [2021-09-30T09:59:36.459Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-09-30T09:59:36.536Z] [ 88%] Linking C executable device-gyro [2021-09-30T09:59:36.536Z] [ 88%] Built target device-gyro [2021-09-30T09:59:36.536Z] Scanning dependencies of target device-bitfields [2021-09-30T09:59:36.536Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-09-30T09:59:36.536Z] [ 91%] Linking C executable device-bitfields [2021-09-30T09:59:36.536Z] [ 91%] Built target device-bitfields [2021-09-30T09:59:36.536Z] Scanning dependencies of target template-discovery [2021-09-30T09:59:36.536Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-09-30T09:59:36.732Z] -- Check for working CXX compiler: /usr/bin/c++ - works [2021-09-30T09:59:36.732Z] -- Detecting CXX compiler ABI info [2021-09-30T09:59:36.801Z] [ 94%] Linking C executable template-discovery [2021-09-30T09:59:36.801Z] [ 94%] Built target template-discovery [2021-09-30T09:59:36.801Z] Scanning dependencies of target device-file [2021-09-30T09:59:36.801Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-09-30T09:59:37.006Z] -- Detecting CXX compiler ABI info - done [2021-09-30T09:59:37.006Z] -- Detecting CXX compile features [2021-09-30T09:59:37.006Z] -- Detecting CXX compile features - done [2021-09-30T09:59:37.006Z] -- Looking for include file endian.h [2021-09-30T09:59:37.068Z] [ 97%] Linking C executable device-file [2021-09-30T09:59:37.068Z] [ 97%] Built target device-file [2021-09-30T09:59:37.068Z] Scanning dependencies of target device-terminal [2021-09-30T09:59:37.068Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-09-30T09:59:37.068Z] [100%] Linking C executable device-terminal [2021-09-30T09:59:37.068Z] [100%] Built target device-terminal [2021-09-30T09:59:37.068Z] Run CPack packaging tool... [2021-09-30T09:59:37.280Z] -- Looking for include file endian.h - found [2021-09-30T09:59:37.280Z] -- Check if the system is big endian [2021-09-30T09:59:37.280Z] -- Searching 16 bit integer [2021-09-30T09:59:37.280Z] -- Looking for sys/types.h [2021-09-30T09:59:37.335Z] CPack: Create package using TGZ [2021-09-30T09:59:37.335Z] CPack: Install projects [2021-09-30T09:59:37.335Z] CPack: - Run preinstall target for: Csdk [2021-09-30T09:59:37.335Z] CPack: - Install project: Csdk [] [2021-09-30T09:59:37.335Z] CPack: Create package [2021-09-30T09:59:37.335Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-09-30T09:59:37.335Z] + '[' false '=' true ] [2021-09-30T09:59:37.335Z] + '[' false '=' true ] [2021-09-30T09:59:37.336Z] + mkdir -p /tmp/sdk/build/debug [2021-09-30T09:59:37.336Z] + cd /tmp/sdk/build/debug [2021-09-30T09:59:37.336Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-09-30T09:59:37.552Z] -- Looking for sys/types.h - found [2021-09-30T09:59:37.552Z] -- Looking for stdint.h [2021-09-30T09:59:37.605Z] -- The C compiler identification is GNU 9.3.0 [2021-09-30T09:59:37.605Z] -- Check for working C compiler: /usr/bin/cc [2021-09-30T09:59:37.605Z] -- Check for working C compiler: /usr/bin/cc - works [2021-09-30T09:59:37.605Z] -- Detecting C compiler ABI info [2021-09-30T09:59:37.605Z] -- Detecting C compiler ABI info - done [2021-09-30T09:59:37.605Z] -- Detecting C compile features [2021-09-30T09:59:37.605Z] -- Detecting C compile features - done [2021-09-30T09:59:37.605Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-09-30T09:59:37.605Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") [2021-09-30T09:59:37.605Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-09-30T09:59:37.605Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-09-30T09:59:37.605Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-09-30T09:59:37.605Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-09-30T09:59:37.605Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-09-30T09:59:37.605Z] -- C SDK 0.0.0 for Linux [2021-09-30T09:59:37.605Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-09-30T09:59:37.826Z] -- Looking for stdint.h - found [2021-09-30T09:59:37.826Z] -- Looking for stddef.h [2021-09-30T09:59:37.873Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-09-30T09:59:37.873Z] -- Found Curses: /usr/lib/libcurses.so [2021-09-30T09:59:37.873Z] -- Configuring done [2021-09-30T09:59:37.873Z] -- Generating done [2021-09-30T09:59:37.873Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-09-30T09:59:37.873Z] + make [2021-09-30T09:59:37.873Z] + tee debug.log [2021-09-30T09:59:37.873Z] Scanning dependencies of target csdk [2021-09-30T09:59:37.873Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-09-30T09:59:37.873Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-09-30T09:59:38.099Z] -- Looking for stddef.h - found [2021-09-30T09:59:38.099Z] -- Check size of unsigned short [2021-09-30T09:59:38.138Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-09-30T09:59:38.138Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-09-30T09:59:38.138Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-09-30T09:59:38.373Z] -- Check size of unsigned short - done [2021-09-30T09:59:38.373Z] -- Searching 16 bit integer - Using unsigned short [2021-09-30T09:59:38.405Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-09-30T09:59:38.405Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-09-30T09:59:38.405Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-09-30T09:59:38.405Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-09-30T09:59:38.651Z] -- Check if the system is big endian - little endian [2021-09-30T09:59:38.651Z] -- Check size of size_t [2021-09-30T09:59:38.672Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-09-30T09:59:38.672Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-09-30T09:59:38.672Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-09-30T09:59:38.672Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-09-30T09:59:38.924Z] -- Check size of size_t - done [2021-09-30T09:59:38.924Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-09-30T09:59:38.924Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-09-30T09:59:38.924Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-09-30T09:59:38.924Z] CMake did not find one. [2021-09-30T09:59:38.924Z] [2021-09-30T09:59:38.924Z] Could not find a package configuration file provided by "cJSON" with any of [2021-09-30T09:59:38.924Z] the following names: [2021-09-30T09:59:38.924Z] [2021-09-30T09:59:38.924Z] cJSONConfig.cmake [2021-09-30T09:59:38.924Z] cjson-config.cmake [2021-09-30T09:59:38.924Z] [2021-09-30T09:59:38.924Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-09-30T09:59:38.924Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-09-30T09:59:38.924Z] provides a separate development package or SDK, be sure it has been [2021-09-30T09:59:38.924Z] installed. [2021-09-30T09:59:38.924Z] [2021-09-30T09:59:38.924Z] [2021-09-30T09:59:38.924Z] -- Configuring done [2021-09-30T09:59:38.940Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-09-30T09:59:38.940Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-09-30T09:59:38.940Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-09-30T09:59:38.940Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-09-30T09:59:39.198Z] -- Generating done [2021-09-30T09:59:39.198Z] -- Build files have been written to: /tmp/cbor [2021-09-30T09:59:39.198Z] Scanning dependencies of target cbor_shared [2021-09-30T09:59:39.198Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-09-30T09:59:39.211Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-09-30T09:59:39.211Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-09-30T09:59:39.211Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-09-30T09:59:39.211Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-09-30T09:59:39.485Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-09-30T09:59:39.485Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2021-09-30T09:59:39.485Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2021-09-30T09:59:39.485Z] 275 | const iot_component_factory_t * factory; [2021-09-30T09:59:39.486Z] | ^~~~~~~ [2021-09-30T09:59:39.486Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-09-30T09:59:39.753Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-09-30T09:59:39.753Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-09-30T09:59:39.753Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-09-30T09:59:39.753Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-09-30T09:59:40.022Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-09-30T09:59:40.022Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-09-30T09:59:40.022Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-09-30T09:59:40.022Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-09-30T09:59:40.022Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-09-30T09:59:40.171Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-09-30T09:59:40.293Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2021-09-30T09:59:40.293Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-09-30T09:59:40.293Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-09-30T09:59:40.293Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-09-30T09:59:40.561Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-09-30T09:59:40.561Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-09-30T09:59:40.768Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-09-30T09:59:40.769Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-09-30T09:59:40.831Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-09-30T09:59:40.831Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-09-30T09:59:40.831Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-09-30T09:59:41.102Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-09-30T09:59:41.102Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-09-30T09:59:41.364Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-09-30T09:59:41.369Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-09-30T09:59:41.369Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-09-30T09:59:41.369Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-09-30T09:59:41.369Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-09-30T09:59:41.637Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-09-30T09:59:41.640Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-09-30T09:59:41.640Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-09-30T09:59:41.640Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-09-30T09:59:41.911Z] [ 76%] Linking C shared library libcsdk.so [2021-09-30T09:59:41.911Z] [ 76%] Built target csdk [2021-09-30T09:59:41.911Z] Scanning dependencies of target template [2021-09-30T09:59:41.911Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-09-30T09:59:41.911Z] [ 79%] Linking C executable template [2021-09-30T09:59:41.911Z] [ 79%] Built target template [2021-09-30T09:59:41.913Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-09-30T09:59:42.182Z] Scanning dependencies of target device-counter [2021-09-30T09:59:42.182Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-09-30T09:59:42.182Z] [ 82%] Linking C executable device-counter [2021-09-30T09:59:42.182Z] [ 82%] Built target device-counter [2021-09-30T09:59:42.182Z] Scanning dependencies of target device-random [2021-09-30T09:59:42.182Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-09-30T09:59:42.182Z] [ 85%] Linking C executable device-random [2021-09-30T09:59:42.186Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-09-30T09:59:42.186Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-09-30T09:59:42.452Z] [ 85%] Built target device-random [2021-09-30T09:59:42.452Z] Scanning dependencies of target device-gyro [2021-09-30T09:59:42.452Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-09-30T09:59:42.452Z] [ 88%] Linking C executable device-gyro [2021-09-30T09:59:42.452Z] [ 88%] Built target device-gyro [2021-09-30T09:59:42.452Z] Scanning dependencies of target device-bitfields [2021-09-30T09:59:42.452Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-09-30T09:59:42.452Z] [ 91%] Linking C executable device-bitfields [2021-09-30T09:59:42.721Z] [ 91%] Built target device-bitfields [2021-09-30T09:59:42.721Z] Scanning dependencies of target template-discovery [2021-09-30T09:59:42.721Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-09-30T09:59:42.721Z] [ 94%] Linking C executable template-discovery [2021-09-30T09:59:42.721Z] [ 94%] Built target template-discovery [2021-09-30T09:59:42.721Z] Scanning dependencies of target device-file [2021-09-30T09:59:42.721Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-09-30T09:59:42.721Z] [ 97%] Linking C executable device-file [2021-09-30T09:59:42.783Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-09-30T09:59:42.989Z] [ 97%] Built target device-file [2021-09-30T09:59:42.990Z] Scanning dependencies of target device-terminal [2021-09-30T09:59:42.990Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-09-30T09:59:42.990Z] [100%] Linking C executable device-terminal [2021-09-30T09:59:42.990Z] [100%] Built target device-terminal [2021-09-30T09:59:42.990Z] make: Entering directory '/tmp/sdk/build/release' [2021-09-30T09:59:42.990Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-09-30T09:59:43.060Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-09-30T09:59:43.260Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-09-30T09:59:43.260Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-09-30T09:59:43.260Z] [ 76%] Built target csdk [2021-09-30T09:59:43.260Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-09-30T09:59:43.260Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-09-30T09:59:43.260Z] [ 79%] Built target template [2021-09-30T09:59:43.260Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-09-30T09:59:43.260Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-09-30T09:59:43.260Z] [ 82%] Built target device-counter [2021-09-30T09:59:43.260Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-09-30T09:59:43.260Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-09-30T09:59:43.260Z] [ 85%] Built target device-random [2021-09-30T09:59:43.260Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-09-30T09:59:43.260Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-09-30T09:59:43.260Z] [ 88%] Built target device-gyro [2021-09-30T09:59:43.260Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-09-30T09:59:43.260Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-09-30T09:59:43.260Z] [ 91%] Built target device-bitfields [2021-09-30T09:59:43.260Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-09-30T09:59:43.260Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-09-30T09:59:43.260Z] [ 94%] Built target template-discovery [2021-09-30T09:59:43.260Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-09-30T09:59:43.260Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-09-30T09:59:43.260Z] [ 97%] Built target device-file [2021-09-30T09:59:43.260Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-09-30T09:59:43.260Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-09-30T09:59:43.260Z] [100%] Built target device-terminal [2021-09-30T09:59:43.260Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-09-30T09:59:43.260Z] Install the project... [2021-09-30T09:59:43.260Z] -- Install configuration: "Release" [2021-09-30T09:59:43.260Z] -- Installing: /usr/local/lib/libcsdk.so [2021-09-30T09:59:43.260Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-09-30T09:59:43.260Z] -- Up-to-date: /usr/local/include [2021-09-30T09:59:43.260Z] -- Installing: /usr/local/include/devsdk [2021-09-30T09:59:43.260Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-09-30T09:59:43.260Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-09-30T09:59:43.260Z] -- Installing: /usr/local/include/edgex [2021-09-30T09:59:43.260Z] -- Installing: /usr/local/include/edgex/devices.h [2021-09-30T09:59:43.260Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-09-30T09:59:43.260Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-09-30T09:59:43.260Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-09-30T09:59:43.260Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-09-30T09:59:43.260Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-09-30T09:59:43.260Z] -- Installing: /usr/local/include/iot [2021-09-30T09:59:43.260Z] -- Installing: /usr/local/include/iot/base64.h [2021-09-30T09:59:43.260Z] -- Installing: /usr/local/include/iot/component.h [2021-09-30T09:59:43.260Z] -- Installing: /usr/local/include/iot/config.h [2021-09-30T09:59:43.261Z] -- Installing: /usr/local/include/iot/container.h [2021-09-30T09:59:43.261Z] -- Installing: /usr/local/include/iot/data.h [2021-09-30T09:59:43.261Z] -- Installing: /usr/local/include/iot/hash.h [2021-09-30T09:59:43.261Z] -- Installing: /usr/local/include/iot/iot.h [2021-09-30T09:59:43.261Z] -- Installing: /usr/local/include/iot/json.h [2021-09-30T09:59:43.261Z] -- Installing: /usr/local/include/iot/logger.h [2021-09-30T09:59:43.261Z] -- Installing: /usr/local/include/iot/os.h [2021-09-30T09:59:43.261Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-09-30T09:59:43.261Z] -- Installing: /usr/local/include/iot/thread.h [2021-09-30T09:59:43.261Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-09-30T09:59:43.261Z] -- Installing: /usr/local/include/iot/time.h [2021-09-30T09:59:43.261Z] -- Installing: /usr/local/include/iot/typecode.h [2021-09-30T09:59:43.261Z] -- Installing: /usr/local/include/iot/uuid.h [2021-09-30T09:59:43.261Z] -- Installing: /usr/local/include/iot/os [2021-09-30T09:59:43.261Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-09-30T09:59:43.261Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-09-30T09:59:43.261Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-09-30T09:59:43.261Z] -- Installing: /usr/local/include/iot/defs.h [2021-09-30T09:59:43.261Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-09-30T09:59:43.261Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-09-30T09:59:43.261Z] make: Leaving directory '/tmp/sdk/build/release' [2021-09-30T09:59:43.333Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-09-30T09:59:43.928Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-09-30T09:59:44.200Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-09-30T09:59:44.227Z] Removing intermediate container 91e4cc06fc94 [2021-09-30T09:59:44.227Z] ---> a2dc3092e8de [2021-09-30T09:59:44.227Z] Step 16/25 : FROM ${BASE} [2021-09-30T09:59:44.227Z] ---> ac6a0feb3254 [2021-09-30T09:59:44.227Z] Step 17/25 : LABEL maintainer="IOTech " [2021-09-30T09:59:44.227Z] ---> Running in d401f9f0c71d [2021-09-30T09:59:44.227Z] Removing intermediate container d401f9f0c71d [2021-09-30T09:59:44.227Z] ---> 5555a800a0d9 [2021-09-30T09:59:44.227Z] Step 18/25 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2021-09-30T09:59:44.227Z] ---> Running in 0dc429628366 [2021-09-30T09:59:44.473Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-09-30T09:59:44.494Z] Connecting to iotech.jfrog.io (54.72.115.12:443) [2021-09-30T09:59:44.746Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-09-30T09:59:45.020Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-09-30T09:59:45.082Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2021-09-30T09:59:45.082Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2021-09-30T09:59:45.082Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2021-09-30T09:59:45.082Z] Removing intermediate container 0dc429628366 [2021-09-30T09:59:45.082Z] ---> 382054bb151c [2021-09-30T09:59:45.082Z] Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2021-09-30T09:59:45.082Z] ---> Running in c97de90bd98d [2021-09-30T09:59:45.292Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-09-30T09:59:45.566Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-09-30T09:59:45.670Z] Removing intermediate container c97de90bd98d [2021-09-30T09:59:45.670Z] ---> 8f3d25b06459 [2021-09-30T09:59:45.670Z] Step 20/25 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid paho-mqtt-c-dev-1.3 hiredis-dev [2021-09-30T09:59:45.670Z] ---> Running in a4a91b477f49 [2021-09-30T09:59:45.839Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-09-30T09:59:45.839Z] [ 40%] Linking C shared library libcbor.so [2021-09-30T09:59:45.937Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-09-30T09:59:46.114Z] [ 40%] Built target cbor_shared [2021-09-30T09:59:46.114Z] Scanning dependencies of target cbor [2021-09-30T09:59:46.114Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-09-30T09:59:46.897Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-09-30T09:59:47.092Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-09-30T09:59:47.166Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz [2021-09-30T09:59:47.686Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-09-30T09:59:47.686Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-09-30T09:59:47.746Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2021-09-30T09:59:47.746Z] (1/7) Installing curl (7.79.1-r0) [2021-09-30T09:59:48.011Z] (2/7) Installing hiredis (0.14.1-r0) [2021-09-30T09:59:48.011Z] (3/7) Installing hiredis-dev (0.14.1-r0) [2021-09-30T09:59:48.011Z] (4/7) Installing libuuid (2.35.2-r0) [2021-09-30T09:59:48.278Z] (5/7) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2021-09-30T09:59:48.867Z] (6/7) Installing libidn2 (2.3.0-r0) [2021-09-30T09:59:49.133Z] (7/7) Installing wget (1.20.3-r1) [2021-09-30T09:59:49.401Z] Executing busybox-1.31.1-r20.trigger [2021-09-30T09:59:49.401Z] OK: 286 MiB in 82 packages [2021-09-30T09:59:49.653Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-09-30T09:59:49.654Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-09-30T09:59:49.667Z] Removing intermediate container a4a91b477f49 [2021-09-30T09:59:49.667Z] ---> 4f8023a0f4da [2021-09-30T09:59:49.667Z] Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-09-30T09:59:49.925Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-09-30T09:59:49.937Z] ---> 7ba81d7110de [2021-09-30T09:59:49.937Z] Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-09-30T09:59:50.199Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-09-30T09:59:50.199Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-09-30T09:59:50.205Z] ---> c0879e2e3130 [2021-09-30T09:59:50.205Z] Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-09-30T09:59:50.479Z] ---> 2aa0d9e55c16 [2021-09-30T09:59:50.479Z] Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-09-30T09:59:50.748Z] ---> b9aa03393a71 [2021-09-30T09:59:50.748Z] Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-09-30T09:59:50.791Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-09-30T09:59:51.012Z] ---> dd5560232932 [2021-09-30T09:59:51.013Z] Successfully built dd5560232932 [2021-09-30T09:59:51.013Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-09-30T09:59:51.393Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-09-30T09:59:51.543Z] + docker inspect -f . ci-base-image-x86_64 [2021-09-30T09:59:51.543Z] . [Pipeline] withDockerContainer [2021-09-30T09:59:51.632Z] prd-centos7-docker-4c-2g-260 does not seem to be running inside a container [2021-09-30T09:59:51.664Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-09-30T09:59:51.680Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/4 -v /w/workspace/device-sdk-c/4:/w/workspace/device-sdk-c/4:rw,z -v /w/workspace/device-sdk-c/4@tmp:/w/workspace/device-sdk-c/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-09-30T09:59:52.112Z] $ docker top 46ed2216eee4a2500462cbd0be5ca35687d1dee3815e786bae3797a431a82b6e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-09-30T09:59:52.256Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-09-30T09:59:52.516Z] + make test [2021-09-30T09:59:52.516Z] echo "make test" [2021-09-30T09:59:52.516Z] make test [2021-09-30T09:59:52.526Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [Pipeline] } [2021-09-30T09:59:52.529Z] $ docker stop --time=1 46ed2216eee4a2500462cbd0be5ca35687d1dee3815e786bae3797a431a82b6e [2021-09-30T09:59:52.798Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-09-30T09:59:53.071Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-09-30T09:59:53.347Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-09-30T09:59:53.618Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-09-30T09:59:53.756Z] $ docker rm -f 46ed2216eee4a2500462cbd0be5ca35687d1dee3815e786bae3797a431a82b6e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [2021-09-30T09:59:53.890Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2021-09-30T09:59:54.164Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-09-30T09:59:54.438Z] [ 80%] Linking C static library libcbor.a [2021-09-30T09:59:54.439Z] [ 80%] Built target cbor [2021-09-30T09:59:54.439Z] Scanning dependencies of target sort [2021-09-30T09:59:54.439Z] [ 82%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-09-30T09:59:54.710Z] [ 84%] Linking C executable sort [2021-09-30T09:59:54.710Z] [ 84%] Built target sort [2021-09-30T09:59:54.710Z] Scanning dependencies of target readfile [2021-09-30T09:59:54.710Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-09-30T09:59:54.982Z] [ 88%] Linking C executable readfile [2021-09-30T09:59:55.254Z] [ 88%] Built target readfile [2021-09-30T09:59:55.254Z] Scanning dependencies of target streaming_parser [2021-09-30T09:59:55.254Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-09-30T09:59:55.527Z] [ 92%] Linking C executable streaming_parser [2021-09-30T09:59:55.527Z] [ 92%] Built target streaming_parser [2021-09-30T09:59:55.527Z] Scanning dependencies of target hello [2021-09-30T09:59:55.527Z] [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-09-30T09:59:55.799Z] [ 96%] Linking C executable hello [2021-09-30T09:59:55.799Z] [ 96%] Built target hello [2021-09-30T09:59:55.799Z] Scanning dependencies of target create_items [2021-09-30T09:59:55.799Z] [ 98%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-09-30T09:59:56.075Z] [100%] Linking C executable create_items [2021-09-30T09:59:56.076Z] [100%] Built target create_items [2021-09-30T09:59:56.076Z] Install the project... [2021-09-30T09:59:56.076Z] -- Install configuration: "Release" [2021-09-30T09:59:56.076Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-09-30T09:59:56.076Z] -- Installing: /usr/local/lib64/libcbor.a [2021-09-30T09:59:56.076Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-09-30T09:59:56.076Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-09-30T09:59:56.076Z] -- Installing: /usr/local/lib64/libcbor.so [2021-09-30T09:59:56.076Z] -- Up-to-date: /usr/local/include/cbor [2021-09-30T09:59:56.076Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-09-30T09:59:56.076Z] -- Installing: /usr/local/include/cbor/ints.h [2021-09-30T09:59:56.076Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-09-30T09:59:56.076Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-09-30T09:59:56.076Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-09-30T09:59:56.076Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-09-30T09:59:56.076Z] -- Installing: /usr/local/include/cbor/data.h [2021-09-30T09:59:56.076Z] -- Installing: /usr/local/include/cbor/common.h [2021-09-30T09:59:56.076Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-09-30T09:59:56.076Z] -- Installing: /usr/local/include/cbor/strings.h [2021-09-30T09:59:56.076Z] -- Installing: /usr/local/include/cbor/tags.h [2021-09-30T09:59:56.076Z] -- Installing: /usr/local/include/cbor/internal [2021-09-30T09:59:56.076Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-09-30T09:59:56.076Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-09-30T09:59:56.076Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-09-30T09:59:56.076Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-09-30T09:59:56.076Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-09-30T09:59:56.076Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-09-30T09:59:56.076Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-09-30T09:59:56.076Z] -- Installing: /usr/local/include/cbor/maps.h [2021-09-30T09:59:56.076Z] -- Installing: /usr/local/include/cbor.h [2021-09-30T09:59:56.076Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [Pipeline] sh [2021-09-30T09:59:56.504Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-09-30T09:59:56.817Z] + ls -al . [2021-09-30T09:59:56.817Z] total 172 [2021-09-30T09:59:56.817Z] drwxrwxr-x. 8 jenkins jenkins 4096 Sep 30 09:58 . [2021-09-30T09:59:56.817Z] drwxrwxr-x. 4 jenkins jenkins 28 Sep 30 09:58 .. [2021-09-30T09:59:56.817Z] -rw-rw-r--. 1 jenkins jenkins 3104 Sep 30 09:58 Attribution.txt [2021-09-30T09:59:56.817Z] -rw-rw-r--. 1 jenkins jenkins 7701 Sep 30 09:58 CHANGES [2021-09-30T09:59:56.817Z] drwxrwxr-x. 2 jenkins jenkins 121 Sep 30 09:58 docs [2021-09-30T09:59:56.817Z] -rw-rw-r--. 1 jenkins jenkins 108574 Sep 30 09:58 Doxyfile [2021-09-30T09:59:56.817Z] drwxrwxr-x. 8 jenkins jenkins 179 Sep 30 09:58 .git [2021-09-30T09:59:56.817Z] drwxrwxr-x. 3 jenkins jenkins 103 Sep 30 09:58 .github [2021-09-30T09:59:56.817Z] -rw-rw-r--. 1 jenkins jenkins 176 Sep 30 09:58 .gitignore [2021-09-30T09:59:56.817Z] -rw-rw-r--. 1 jenkins jenkins 677 Sep 30 09:58 GOVERNANCE.md [2021-09-30T09:59:56.817Z] drwxrwxr-x. 4 jenkins jenkins 33 Sep 30 09:58 include [2021-09-30T09:59:56.817Z] -rw-rw-r--. 1 jenkins jenkins 784 Sep 30 09:58 Jenkinsfile [2021-09-30T09:59:56.817Z] -rw-rw-r--. 1 jenkins jenkins 10174 Sep 30 09:58 LICENSE [2021-09-30T09:59:56.817Z] -rw-rw-r--. 1 jenkins jenkins 444 Sep 30 09:58 Makefile [2021-09-30T09:59:56.817Z] -rw-rw-r--. 1 jenkins jenkins 618 Sep 30 09:58 OWNERS.md [2021-09-30T09:59:56.817Z] -rw-rw-r--. 1 jenkins jenkins 4086 Sep 30 09:58 README.md [2021-09-30T09:59:56.817Z] -rw-rw-r--. 1 jenkins jenkins 7090 Sep 30 09:58 README.v2.md [2021-09-30T09:59:56.818Z] drwxrwxr-x. 2 jenkins jenkins 98 Sep 30 09:58 scripts [2021-09-30T09:59:56.818Z] drwxrwxr-x. 4 jenkins jenkins 50 Sep 30 09:58 src [2021-09-30T09:59:56.818Z] -rw-rw-r--. 1 jenkins jenkins 5 Sep 30 09:56 VERSION [Pipeline] isUnix [Pipeline] sh [2021-09-30T09:59:57.140Z] + 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=d4028d067d9ed03c35e4d6b6c28f8e2560370e36 --label arch=amd64 --label version=0.0.0 . [2021-09-30T09:59:57.140Z] Sending build context to Docker daemon 2.698MB [2021-09-30T09:59:57.140Z] Step 1/17 : ARG BASE=alpine:3.14 [2021-09-30T09:59:57.140Z] Step 2/17 : FROM ${BASE} [2021-09-30T09:59:57.140Z] ---> dd5560232932 [2021-09-30T09:59:57.140Z] Step 3/17 : LABEL maintainer="IOTech " [2021-09-30T09:59:57.140Z] ---> Running in 469aec6763c7 [2021-09-30T09:59:57.416Z] Removing intermediate container 469aec6763c7 [2021-09-30T09:59:57.416Z] ---> a72f974672b0 [2021-09-30T09:59:57.416Z] Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2021-09-30T09:59:57.416Z] ---> Running in 3ed003adf94e [2021-09-30T09:59:57.684Z] --2021-09-30 09:59:57-- https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release [2021-09-30T09:59:57.684Z] Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.72.115.12, 54.229.110.245, 54.195.244.87 [2021-09-30T09:59:57.684Z] Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.72.115.12|:443... connected. [2021-09-30T09:59:57.958Z] HTTP request sent, awaiting response... 200 OK [2021-09-30T09:59:57.958Z] Length: unspecified [application/json] [2021-09-30T09:59:57.958Z] Saving to: '/etc/apk/keys/alpine.dev.rsa.pub' [2021-09-30T09:59:57.958Z]  [2021-09-30T09:59:57.958Z] 0K 23.0M=0s [2021-09-30T09:59:57.958Z] [2021-09-30T09:59:57.958Z] 2021-09-30 09:59:57 (23.0 MB/s) - '/etc/apk/keys/alpine.dev.rsa.pub' saved [451] [2021-09-30T09:59:57.958Z] [2021-09-30T09:59:58.224Z] Removing intermediate container 3ed003adf94e [2021-09-30T09:59:58.224Z] ---> 33e6369916b9 [2021-09-30T09:59:58.224Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2021-09-30T09:59:58.224Z] ---> Running in d0c81bfbb77f [2021-09-30T09:59:58.705Z] Removing intermediate container 2a6f85507e40 [2021-09-30T09:59:58.705Z] ---> 1d891a242cd8 [2021-09-30T09:59:58.705Z] Step 8/25 : RUN mkdir /tmp/sdk [2021-09-30T09:59:58.705Z] ---> Running in ed992ec629c0 [2021-09-30T09:59:58.816Z] Removing intermediate container d0c81bfbb77f [2021-09-30T09:59:58.816Z] ---> a17b725afc38 [2021-09-30T09:59:58.816Z] Step 6/17 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev-1.3 hiredis-dev && mkdir -p /edgex-c-sdk/build [2021-09-30T09:59:58.816Z] ---> Running in a2c30a063e2c [2021-09-30T09:59:59.084Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-09-30T09:59:59.670Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-09-30T10:00:00.252Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz [2021-09-30T10:00:00.700Z] Removing intermediate container ed992ec629c0 [2021-09-30T10:00:00.701Z] ---> bbb10f4c0d37 [2021-09-30T10:00:00.701Z] Step 9/25 : COPY VERSION /tmp/sdk [2021-09-30T10:00:01.719Z] ---> 59793896ce72 [2021-09-30T10:00:01.719Z] Step 10/25 : COPY src /tmp/sdk/src [2021-09-30T10:00:02.201Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2021-09-30T10:00:02.201Z] (1/16) Installing ncurses-dev (6.2_p20200523-r0) [2021-09-30T10:00:02.201Z] (2/16) Installing libblkid (2.35.2-r0) [2021-09-30T10:00:02.471Z] (3/16) Installing blkid (2.35.2-r0) [2021-09-30T10:00:02.471Z] (4/16) Installing libcap-ng (0.7.10-r1) [2021-09-30T10:00:02.471Z] (5/16) Installing setpriv (2.35.2-r0) [2021-09-30T10:00:02.712Z] ---> 38253050d072 [2021-09-30T10:00:02.712Z] Step 11/25 : COPY include /tmp/sdk/include [2021-09-30T10:00:02.737Z] (6/16) Installing libmount (2.35.2-r0) [2021-09-30T10:00:02.737Z] (7/16) Installing libsmartcols (2.35.2-r0) [2021-09-30T10:00:02.737Z] (8/16) Installing findmnt (2.35.2-r0) [2021-09-30T10:00:03.003Z] (9/16) Installing mcookie (2.35.2-r0) [2021-09-30T10:00:03.003Z] (10/16) Installing hexdump (2.35.2-r0) [2021-09-30T10:00:03.003Z] (11/16) Installing lsblk (2.35.2-r0) [2021-09-30T10:00:03.274Z] (12/16) Installing libfdisk (2.35.2-r0) [2021-09-30T10:00:03.274Z] (13/16) Installing sfdisk (2.35.2-r0) [2021-09-30T10:00:03.274Z] (14/16) Installing cfdisk (2.35.2-r0) [2021-09-30T10:00:03.309Z] ---> 12ccc72f09bd [2021-09-30T10:00:03.309Z] Step 12/25 : COPY scripts /tmp/sdk/scripts [2021-09-30T10:00:03.543Z] (15/16) Installing util-linux (2.35.2-r0) [2021-09-30T10:00:04.128Z] (16/16) Installing util-linux-dev (2.35.2-r0) [2021-09-30T10:00:04.287Z] ---> 71ac0a692b18 [2021-09-30T10:00:04.287Z] Step 13/25 : COPY LICENSE /tmp/sdk [2021-09-30T10:00:04.398Z] Executing busybox-1.31.1-r20.trigger [2021-09-30T10:00:04.398Z] OK: 295 MiB in 98 packages [2021-09-30T10:00:04.983Z] Removing intermediate container a2c30a063e2c [2021-09-30T10:00:04.983Z] ---> d62b553b89a4 [2021-09-30T10:00:04.983Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2021-09-30T10:00:04.983Z] ---> 4cea135cb2c9 [2021-09-30T10:00:04.983Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2021-09-30T10:00:05.250Z] ---> 66c2afe5c039 [2021-09-30T10:00:05.250Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2021-09-30T10:00:05.265Z] ---> 913288155d94 [2021-09-30T10:00:05.265Z] Step 14/25 : COPY Attribution.txt /tmp/sdk [2021-09-30T10:00:05.518Z] ---> 6d593f81da3d [2021-09-30T10:00:05.518Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2021-09-30T10:00:05.518Z] ---> aa2da9dce365 [2021-09-30T10:00:05.518Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2021-09-30T10:00:05.785Z] ---> c6a64538e9f8 [2021-09-30T10:00:05.785Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2021-09-30T10:00:05.785Z] ---> 7906a4a7e293 [2021-09-30T10:00:05.785Z] Step 13/17 : WORKDIR /edgex-c-sdk [2021-09-30T10:00:05.785Z] ---> Running in 69e4f437193a [2021-09-30T10:00:05.859Z] ---> 68646348ae76 [2021-09-30T10:00:05.859Z] Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-09-30T10:00:06.053Z] Removing intermediate container 69e4f437193a [2021-09-30T10:00:06.054Z] ---> b50a33480d04 [2021-09-30T10:00:06.054Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-09-30T10:00:06.054Z] ---> Running in db4522934943 [2021-09-30T10:00:06.054Z] Removing intermediate container db4522934943 [2021-09-30T10:00:06.054Z] ---> f102d5e38a1f [2021-09-30T10:00:06.054Z] Step 15/17 : LABEL arch=amd64 [2021-09-30T10:00:06.054Z] ---> Running in b86d9fca6539 [2021-09-30T10:00:06.054Z] Removing intermediate container b86d9fca6539 [2021-09-30T10:00:06.054Z] ---> 1ad47392e60d [2021-09-30T10:00:06.054Z] Step 16/17 : LABEL git_sha=d4028d067d9ed03c35e4d6b6c28f8e2560370e36 [2021-09-30T10:00:06.133Z] ---> Running in 969bc5282c13 [2021-09-30T10:00:06.326Z] ---> Running in a9b3affc7171 [2021-09-30T10:00:06.327Z] Removing intermediate container a9b3affc7171 [2021-09-30T10:00:06.327Z] ---> 937c48d33526 [2021-09-30T10:00:06.327Z] Step 17/17 : LABEL version=0.0.0 [2021-09-30T10:00:06.327Z] ---> Running in 03b770de594c [2021-09-30T10:00:06.327Z] Removing intermediate container 03b770de594c [2021-09-30T10:00:06.327Z] ---> d31609b13964 [2021-09-30T10:00:06.327Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-09-30T10:00:06.327Z] Successfully built d31609b13964 [2021-09-30T10:00:06.327Z] Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-09-30T10:00:07.018Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-30T10:00:07.018Z] [2021-09-30T10:00:07.018Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-09-30T10:00:07.356Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-30T10:00:07.356Z] latest: Pulling from edgex-lftools-log-publisher [2021-09-30T10:00:07.356Z] b4d181a07f80: Pulling fs layer [2021-09-30T10:00:07.356Z] a1111a8f2ec3: Pulling fs layer [2021-09-30T10:00:07.356Z] ed53099fbce6: Pulling fs layer [2021-09-30T10:00:07.356Z] dc539afda2c1: Pulling fs layer [2021-09-30T10:00:07.356Z] 77bc0d833cb6: Pulling fs layer [2021-09-30T10:00:07.356Z] 9065ff56babe: Pulling fs layer [2021-09-30T10:00:07.356Z] d287ab97295c: Pulling fs layer [2021-09-30T10:00:07.356Z] 77bc0d833cb6: Waiting [2021-09-30T10:00:07.356Z] 9065ff56babe: Waiting [2021-09-30T10:00:07.356Z] d287ab97295c: Waiting [2021-09-30T10:00:07.356Z] dc539afda2c1: Waiting [2021-09-30T10:00:07.565Z] + CPPCHECK=false [2021-09-30T10:00:07.565Z] + DOCGEN=false [2021-09-30T10:00:07.565Z] + TOMLVER=SDK-0.2 [2021-09-30T10:00:07.565Z] + CUTILVER=1.2.2 [2021-09-30T10:00:07.565Z] + '[' 0 -gt 0 ] [2021-09-30T10:00:07.565Z] + readlink -f ./scripts/build.sh [2021-09-30T10:00:07.565Z] + dirname /tmp/sdk/scripts/build.sh [2021-09-30T10:00:07.565Z] + dirname /tmp/sdk/scripts [2021-09-30T10:00:07.565Z] + ROOT=/tmp/sdk [2021-09-30T10:00:07.565Z] + cd /tmp/sdk [2021-09-30T10:00:07.565Z] + '[' '!' -d deps ] [2021-09-30T10:00:07.565Z] + mkdir deps [2021-09-30T10:00:07.565Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-09-30T10:00:07.565Z] + tar -C deps -z -x -f - [2021-09-30T10:00:07.565Z] --2021-09-30 10:00:07-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-09-30T10:00:07.565Z] Resolving github.com (github.com)... 140.82.113.3 [2021-09-30T10:00:07.565Z] Connecting to github.com (github.com)|140.82.113.3|:443... connected. [2021-09-30T10:00:07.565Z] HTTP request sent, awaiting response... 302 Found [2021-09-30T10:00:07.565Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-09-30T10:00:07.565Z] --2021-09-30 10:00:07-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-09-30T10:00:07.565Z] Resolving codeload.github.com (codeload.github.com)... 140.82.114.10 [2021-09-30T10:00:07.565Z] Connecting to codeload.github.com (codeload.github.com)|140.82.114.10|:443... connected. [2021-09-30T10:00:07.565Z] HTTP request sent, awaiting response... 200 OK [2021-09-30T10:00:07.565Z] Length: unspecified [application/x-gzip] [2021-09-30T10:00:07.565Z] Saving to: 'STDOUT' [2021-09-30T10:00:07.565Z] [2021-09-30T10:00:07.565Z] 0K .......... ......    792K=0.02s [2021-09-30T10:00:07.565Z] [2021-09-30T10:00:07.565Z] 2021-09-30 10:00:07 (792 KB/s) - written to stdout [16451] [2021-09-30T10:00:07.565Z] [2021-09-30T10:00:07.565Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-09-30T10:00:07.565Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2021-09-30T10:00:07.565Z] + tar -C deps -z -x -f - [2021-09-30T10:00:07.565Z] --2021-09-30 10:00:07-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2021-09-30T10:00:07.623Z] a1111a8f2ec3: Verifying Checksum [2021-09-30T10:00:07.623Z] a1111a8f2ec3: Download complete [2021-09-30T10:00:07.623Z] dc539afda2c1: Verifying Checksum [2021-09-30T10:00:07.623Z] dc539afda2c1: Download complete [2021-09-30T10:00:07.840Z] Resolving github.com (github.com)... 140.82.113.3 [2021-09-30T10:00:07.840Z] Connecting to github.com (github.com)|140.82.113.3|:443... connected. [2021-09-30T10:00:07.840Z] HTTP request sent, awaiting response... 302 Found [2021-09-30T10:00:07.840Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [following] [2021-09-30T10:00:07.840Z] --2021-09-30 10:00:07-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [2021-09-30T10:00:07.840Z] Resolving codeload.github.com (codeload.github.com)... 140.82.114.10 [2021-09-30T10:00:07.840Z] Connecting to codeload.github.com (codeload.github.com)|140.82.114.10|:443... connected. [2021-09-30T10:00:07.840Z] HTTP request sent, awaiting response... 200 OK [2021-09-30T10:00:07.840Z] Length: unspecified [application/x-gzip] [2021-09-30T10:00:07.840Z] Saving to: 'STDOUT' [2021-09-30T10:00:07.840Z]  [2021-09-30T10:00:07.840Z] 0K .......... .......... .......... .......... .......... 1.16M [2021-09-30T10:00:07.888Z] ed53099fbce6: Verifying Checksum [2021-09-30T10:00:07.888Z] ed53099fbce6: Download complete [2021-09-30T10:00:07.888Z] 9065ff56babe: Verifying Checksum [2021-09-30T10:00:07.888Z] 9065ff56babe: Download complete [2021-09-30T10:00:07.888Z] 77bc0d833cb6: Verifying Checksum [2021-09-30T10:00:07.888Z] 77bc0d833cb6: Download complete [2021-09-30T10:00:08.117Z] 50K .......... .......... .......... .......... .......... 2.38M [2021-09-30T10:00:08.117Z] 100K .......... .......... .......... .......... .......... 6.78M [2021-09-30T10:00:08.117Z] 150K .......... .......... .......... ......... 1.03M=0.1s [2021-09-30T10:00:08.117Z] [2021-09-30T10:00:08.117Z] 2021-09-30 10:00:07 (1.73 MB/s) - written to stdout [193971] [2021-09-30T10:00:08.117Z] [2021-09-30T10:00:08.117Z] + mkdir -p src/c/iot [2021-09-30T10:00:08.117Z] + cp deps/iotech-c-utils-1.2.2/src/c/base64.c deps/iotech-c-utils-1.2.2/src/c/component.c deps/iotech-c-utils-1.2.2/src/c/config.c deps/iotech-c-utils-1.2.2/src/c/container.c deps/iotech-c-utils-1.2.2/src/c/data.c deps/iotech-c-utils-1.2.2/src/c/hash.c deps/iotech-c-utils-1.2.2/src/c/iot.c deps/iotech-c-utils-1.2.2/src/c/json.c deps/iotech-c-utils-1.2.2/src/c/logger.c deps/iotech-c-utils-1.2.2/src/c/os.c deps/iotech-c-utils-1.2.2/src/c/scheduler.c deps/iotech-c-utils-1.2.2/src/c/thread.c deps/iotech-c-utils-1.2.2/src/c/threadpool.c deps/iotech-c-utils-1.2.2/src/c/time.c deps/iotech-c-utils-1.2.2/src/c/uuid.c deps/iotech-c-utils-1.2.2/src/c/yxml.c src/c/iot [2021-09-30T10:00:08.117Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2021-09-30T10:00:08.117Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2021-09-30T10:00:08.117Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2021-09-30T10:00:08.117Z] + mkdir -p include/iot [2021-09-30T10:00:08.117Z] + cp deps/iotech-c-utils-1.2.2/include/iot/base64.h deps/iotech-c-utils-1.2.2/include/iot/component.h deps/iotech-c-utils-1.2.2/include/iot/config.h deps/iotech-c-utils-1.2.2/include/iot/container.h deps/iotech-c-utils-1.2.2/include/iot/data.h deps/iotech-c-utils-1.2.2/include/iot/hash.h deps/iotech-c-utils-1.2.2/include/iot/iot.h deps/iotech-c-utils-1.2.2/include/iot/json.h deps/iotech-c-utils-1.2.2/include/iot/logger.h deps/iotech-c-utils-1.2.2/include/iot/os.h deps/iotech-c-utils-1.2.2/include/iot/scheduler.h deps/iotech-c-utils-1.2.2/include/iot/thread.h deps/iotech-c-utils-1.2.2/include/iot/threadpool.h deps/iotech-c-utils-1.2.2/include/iot/time.h deps/iotech-c-utils-1.2.2/include/iot/typecode.h deps/iotech-c-utils-1.2.2/include/iot/uuid.h include/iot [2021-09-30T10:00:08.117Z] + mkdir -p include/iot/os [2021-09-30T10:00:08.117Z] + cp deps/iotech-c-utils-1.2.2/include/iot/os/linux.h deps/iotech-c-utils-1.2.2/include/iot/os/macos.h deps/iotech-c-utils-1.2.2/include/iot/os/zephyr.h include/iot/os [2021-09-30T10:00:08.117Z] + mkdir -p /tmp/sdk/build/release [2021-09-30T10:00:08.117Z] + cd /tmp/sdk/build/release [2021-09-30T10:00:08.117Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-09-30T10:00:08.389Z] -- The C compiler identification is GNU 9.3.0 [2021-09-30T10:00:08.390Z] -- Check for working C compiler: /usr/bin/cc [2021-09-30T10:00:08.663Z] -- Check for working C compiler: /usr/bin/cc - works [2021-09-30T10:00:08.663Z] -- Detecting C compiler ABI info [2021-09-30T10:00:08.855Z] b4d181a07f80: Verifying Checksum [2021-09-30T10:00:08.855Z] b4d181a07f80: Download complete [2021-09-30T10:00:08.937Z] -- Detecting C compiler ABI info - done [2021-09-30T10:00:08.938Z] -- Detecting C compile features [2021-09-30T10:00:08.938Z] -- Detecting C compile features - done [2021-09-30T10:00:08.938Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-09-30T10:00:09.210Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") [2021-09-30T10:00:09.210Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-09-30T10:00:09.210Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-09-30T10:00:09.210Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-09-30T10:00:09.210Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-09-30T10:00:09.210Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-09-30T10:00:09.210Z] -- C SDK 0.0.0 for Linux [2021-09-30T10:00:09.210Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-09-30T10:00:09.483Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-09-30T10:00:09.755Z] -- Found Curses: /usr/lib/libcurses.so [2021-09-30T10:00:09.755Z] -- Configuring done [2021-09-30T10:00:10.029Z] -- Generating done [2021-09-30T10:00:10.029Z] -- Build files have been written to: /tmp/sdk/build/release [2021-09-30T10:00:10.029Z] + + teemake release.log all package [2021-09-30T10:00:10.029Z] [2021-09-30T10:00:10.029Z] Scanning dependencies of target csdk [2021-09-30T10:00:10.278Z] b4d181a07f80: Pull complete [2021-09-30T10:00:10.278Z] a1111a8f2ec3: Pull complete [2021-09-30T10:00:10.311Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-09-30T10:00:10.869Z] ed53099fbce6: Pull complete [2021-09-30T10:00:10.869Z] dc539afda2c1: Pull complete [2021-09-30T10:00:10.905Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-09-30T10:00:11.135Z] 77bc0d833cb6: Pull complete [2021-09-30T10:00:11.135Z] 9065ff56babe: Pull complete [2021-09-30T10:00:11.500Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-09-30T10:00:12.545Z] d287ab97295c: Verifying Checksum [2021-09-30T10:00:12.545Z] d287ab97295c: Download complete [2021-09-30T10:00:13.470Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-09-30T10:00:14.064Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-09-30T10:00:14.064Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-09-30T10:00:15.041Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-09-30T10:00:15.312Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-09-30T10:00:15.585Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-09-30T10:00:16.845Z] d287ab97295c: Pull complete [2021-09-30T10:00:16.845Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-09-30T10:00:16.845Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-30T10:00:16.845Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-09-30T10:00:16.935Z] prd-centos7-docker-4c-2g-260 does not seem to be running inside a container [2021-09-30T10:00:16.995Z] $ 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/4 -v /w/workspace/device-sdk-c/4:/w/workspace/device-sdk-c/4:rw,z -v /w/workspace/device-sdk-c/4@tmp:/w/workspace/device-sdk-c/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-09-30T10:00:17.015Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-09-30T10:00:18.444Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-09-30T10:00:19.039Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-09-30T10:00:19.643Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-09-30T10:00:19.774Z] $ docker top 4fb27fb43fe3653958efa3c90b7e5bd49714194841a6cb95165b621e5133cac9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-09-30T10:00:20.238Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-09-30T10:00:20.340Z] ---> job-cost.sh [2021-09-30T10:00:20.340Z] lf-activate-venv: SKIPPING [2021-09-30T10:00:20.340Z] INFO: No Stack... [2021-09-30T10:00:20.511Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-09-30T10:00:20.783Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-09-30T10:00:20.926Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-09-30T10:00:21.056Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-09-30T10:00:21.508Z] INFO: Archiving Costs [Pipeline] sh [2021-09-30T10:00:21.828Z] + cut -d, -f6 [2021-09-30T10:00:21.828Z] + cat /w/workspace/device-sdk-c/4/archives/cost.csv [Pipeline] lock [2021-09-30T10:00:21.869Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-366-4-stack-cost] [2021-09-30T10:00:21.883Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-366-4-stack-cost] did not exist. Created. [2021-09-30T10:00:21.883Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-366-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-09-30T10:00:22.219Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-09-30T10:00:22.451Z] Stashed 1 file(s) [Pipeline] } [2021-09-30T10:00:22.461Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-366-4-stack-cost] [Pipeline] // lock [Pipeline] } [2021-09-30T10:00:22.483Z] $ docker stop --time=1 4fb27fb43fe3653958efa3c90b7e5bd49714194841a6cb95165b621e5133cac9 [2021-09-30T10:00:23.630Z] $ docker rm -f 4fb27fb43fe3653958efa3c90b7e5bd49714194841a6cb95165b621e5133cac9 [2021-09-30T10:00:23.670Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [2021-09-30T10:00:23.943Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [Pipeline] // stage [Pipeline] } [2021-09-30T10:00:24.543Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-09-30T10:00:24.817Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-09-30T10:00:25.412Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-09-30T10:00:25.412Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2021-09-30T10:00:25.412Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2021-09-30T10:00:25.412Z] 275 | const iot_component_factory_t * factory; [2021-09-30T10:00:25.412Z] | ^~~~~~~ [2021-09-30T10:00:26.021Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-09-30T10:00:31.437Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-09-30T10:00:31.437Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-09-30T10:00:31.437Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-09-30T10:00:32.032Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-09-30T10:00:32.631Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-09-30T10:00:32.631Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-09-30T10:00:33.611Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-09-30T10:00:34.205Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-09-30T10:00:34.799Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-09-30T10:00:35.070Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2021-09-30T10:00:35.663Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-09-30T10:00:37.637Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-09-30T10:00:37.908Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-09-30T10:00:38.882Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-09-30T10:00:38.882Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-09-30T10:00:43.176Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-09-30T10:00:43.770Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-09-30T10:00:44.042Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-09-30T10:00:44.636Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-09-30T10:00:45.610Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-09-30T10:00:47.040Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-09-30T10:00:47.311Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-09-30T10:00:47.904Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-09-30T10:00:48.177Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-09-30T10:00:50.141Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-09-30T10:00:53.513Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-09-30T10:00:54.104Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-09-30T10:00:54.696Z] [ 76%] Linking C shared library libcsdk.so [2021-09-30T10:00:54.696Z] [ 76%] Built target csdk [2021-09-30T10:00:54.696Z] Scanning dependencies of target template [2021-09-30T10:00:54.696Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-09-30T10:00:55.674Z] [ 79%] Linking C executable template [2021-09-30T10:00:55.674Z] [ 79%] Built target template [2021-09-30T10:00:55.674Z] Scanning dependencies of target device-counter [2021-09-30T10:00:55.674Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-09-30T10:00:56.268Z] [ 82%] Linking C executable device-counter [2021-09-30T10:00:56.539Z] [ 82%] Built target device-counter [2021-09-30T10:00:56.539Z] Scanning dependencies of target device-random [2021-09-30T10:00:56.540Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-09-30T10:00:56.810Z] [ 85%] Linking C executable device-random [2021-09-30T10:00:57.082Z] [ 85%] Built target device-random [2021-09-30T10:00:57.082Z] Scanning dependencies of target device-gyro [2021-09-30T10:00:57.082Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-09-30T10:00:57.674Z] [ 88%] Linking C executable device-gyro [2021-09-30T10:00:57.944Z] [ 88%] Built target device-gyro [2021-09-30T10:00:57.944Z] Scanning dependencies of target device-bitfields [2021-09-30T10:00:57.944Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-09-30T10:00:58.214Z] [ 91%] Linking C executable device-bitfields [2021-09-30T10:00:58.486Z] [ 91%] Built target device-bitfields [2021-09-30T10:00:58.486Z] Scanning dependencies of target template-discovery [2021-09-30T10:00:58.486Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-09-30T10:00:59.468Z] [ 94%] Linking C executable template-discovery [2021-09-30T10:00:59.468Z] [ 94%] Built target template-discovery [2021-09-30T10:00:59.468Z] Scanning dependencies of target device-file [2021-09-30T10:00:59.468Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-09-30T10:01:00.061Z] [ 97%] Linking C executable device-file [2021-09-30T10:01:00.333Z] [ 97%] Built target device-file [2021-09-30T10:01:00.333Z] Scanning dependencies of target device-terminal [2021-09-30T10:01:00.333Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-09-30T10:01:00.940Z] [100%] Linking C executable device-terminal [2021-09-30T10:01:01.214Z] [100%] Built target device-terminal [2021-09-30T10:01:01.214Z] Run CPack packaging tool... [2021-09-30T10:01:01.214Z] CPack: Create package using TGZ [2021-09-30T10:01:01.214Z] CPack: Install projects [2021-09-30T10:01:01.214Z] CPack: - Run preinstall target for: Csdk [2021-09-30T10:01:01.812Z] CPack: - Install project: Csdk [] [2021-09-30T10:01:01.812Z] CPack: Create package [2021-09-30T10:01:02.084Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-09-30T10:01:02.085Z] + '[' false '=' true ] [2021-09-30T10:01:02.085Z] + '[' false '=' true ] [2021-09-30T10:01:02.085Z] + mkdir -p /tmp/sdk/build/debug [2021-09-30T10:01:02.085Z] + cd /tmp/sdk/build/debug [2021-09-30T10:01:02.085Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-09-30T10:01:02.358Z] -- The C compiler identification is GNU 9.3.0 [2021-09-30T10:01:02.358Z] -- Check for working C compiler: /usr/bin/cc [2021-09-30T10:01:02.630Z] -- Check for working C compiler: /usr/bin/cc - works [2021-09-30T10:01:02.630Z] -- Detecting C compiler ABI info [2021-09-30T10:01:02.903Z] -- Detecting C compiler ABI info - done [2021-09-30T10:01:02.903Z] -- Detecting C compile features [2021-09-30T10:01:02.903Z] -- Detecting C compile features - done [2021-09-30T10:01:02.903Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-09-30T10:01:03.175Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") [2021-09-30T10:01:03.175Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-09-30T10:01:03.175Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-09-30T10:01:03.175Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-09-30T10:01:03.175Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-09-30T10:01:03.175Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-09-30T10:01:03.175Z] -- C SDK 0.0.0 for Linux [2021-09-30T10:01:03.175Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-09-30T10:01:03.449Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-09-30T10:01:03.449Z] -- Found Curses: /usr/lib/libcurses.so [2021-09-30T10:01:03.720Z] -- Configuring done [2021-09-30T10:01:03.993Z] -- Generating done [2021-09-30T10:01:03.993Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-09-30T10:01:03.993Z] + make+ [2021-09-30T10:01:03.993Z] tee debug.log [2021-09-30T10:01:03.993Z] Scanning dependencies of target csdk [2021-09-30T10:01:04.265Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-09-30T10:01:04.538Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-09-30T10:01:04.810Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-09-30T10:01:05.405Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-09-30T10:01:05.677Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-09-30T10:01:05.950Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-09-30T10:01:06.223Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-09-30T10:01:06.496Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-09-30T10:01:06.771Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-09-30T10:01:07.044Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-09-30T10:01:07.639Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-09-30T10:01:07.910Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-09-30T10:01:08.183Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-09-30T10:01:08.458Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-09-30T10:01:08.730Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-09-30T10:01:09.002Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-09-30T10:01:09.275Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-09-30T10:01:09.872Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-09-30T10:01:10.144Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-09-30T10:01:10.418Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-09-30T10:01:10.691Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-09-30T10:01:10.962Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-09-30T10:01:10.963Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2021-09-30T10:01:10.963Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2021-09-30T10:01:10.963Z] 275 | const iot_component_factory_t * factory; [2021-09-30T10:01:10.963Z] | ^~~~~~~ [2021-09-30T10:01:11.235Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-09-30T10:01:12.209Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-09-30T10:01:12.209Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-09-30T10:01:12.482Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-09-30T10:01:12.754Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-09-30T10:01:13.028Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-09-30T10:01:13.028Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-09-30T10:01:13.302Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-09-30T10:01:13.574Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-09-30T10:01:13.848Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-09-30T10:01:14.122Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2021-09-30T10:01:14.394Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-09-30T10:01:14.667Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-09-30T10:01:14.942Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-09-30T10:01:15.215Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-09-30T10:01:15.487Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-09-30T10:01:16.464Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-09-30T10:01:16.734Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-09-30T10:01:17.007Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-09-30T10:01:17.281Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-09-30T10:01:17.554Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-09-30T10:01:18.532Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-09-30T10:01:18.806Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-09-30T10:01:19.082Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-09-30T10:01:19.082Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-09-30T10:01:19.680Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-09-30T10:01:20.661Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-09-30T10:01:20.661Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-09-30T10:01:20.934Z] [ 76%] Linking C shared library libcsdk.so [2021-09-30T10:01:21.208Z] [ 76%] Built target csdk [2021-09-30T10:01:21.208Z] Scanning dependencies of target template [2021-09-30T10:01:21.208Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-09-30T10:01:21.484Z] [ 79%] Linking C executable template [2021-09-30T10:01:21.760Z] [ 79%] Built target template [2021-09-30T10:01:21.760Z] Scanning dependencies of target device-counter [2021-09-30T10:01:22.033Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-09-30T10:01:22.033Z] [ 82%] Linking C executable device-counter [2021-09-30T10:01:22.310Z] [ 82%] Built target device-counter [2021-09-30T10:01:22.310Z] Scanning dependencies of target device-random [2021-09-30T10:01:22.310Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-09-30T10:01:22.586Z] [ 85%] Linking C executable device-random [2021-09-30T10:01:22.859Z] [ 85%] Built target device-random [2021-09-30T10:01:22.859Z] Scanning dependencies of target device-gyro [2021-09-30T10:01:22.859Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-09-30T10:01:23.132Z] [ 88%] Linking C executable device-gyro [2021-09-30T10:01:23.405Z] [ 88%] Built target device-gyro [2021-09-30T10:01:23.405Z] Scanning dependencies of target device-bitfields [2021-09-30T10:01:23.405Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-09-30T10:01:23.678Z] [ 91%] Linking C executable device-bitfields [2021-09-30T10:01:23.950Z] [ 91%] Built target device-bitfields [2021-09-30T10:01:23.950Z] Scanning dependencies of target template-discovery [2021-09-30T10:01:23.950Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-09-30T10:01:24.223Z] [ 94%] Linking C executable template-discovery [2021-09-30T10:01:24.495Z] [ 94%] Built target template-discovery [2021-09-30T10:01:24.495Z] Scanning dependencies of target device-file [2021-09-30T10:01:24.495Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-09-30T10:01:24.768Z] [ 97%] Linking C executable device-file [2021-09-30T10:01:25.042Z] [ 97%] Built target device-file [2021-09-30T10:01:25.042Z] Scanning dependencies of target device-terminal [2021-09-30T10:01:25.042Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-09-30T10:01:25.315Z] [100%] Linking C executable device-terminal [2021-09-30T10:01:25.589Z] [100%] Built target device-terminal [2021-09-30T10:01:25.589Z] make: Entering directory '/tmp/sdk/build/release' [2021-09-30T10:01:25.589Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-09-30T10:01:25.865Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-09-30T10:01:25.865Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-09-30T10:01:25.865Z] [ 76%] Built target csdk [2021-09-30T10:01:25.865Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-09-30T10:01:25.865Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-09-30T10:01:25.865Z] [ 79%] Built target template [2021-09-30T10:01:25.865Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-09-30T10:01:25.865Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-09-30T10:01:25.865Z] [ 82%] Built target device-counter [2021-09-30T10:01:25.865Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-09-30T10:01:25.865Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-09-30T10:01:25.865Z] [ 85%] Built target device-random [2021-09-30T10:01:25.865Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-09-30T10:01:25.865Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-09-30T10:01:25.865Z] [ 88%] Built target device-gyro [2021-09-30T10:01:25.865Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-09-30T10:01:25.865Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-09-30T10:01:25.865Z] [ 91%] Built target device-bitfields [2021-09-30T10:01:25.865Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-09-30T10:01:26.139Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-09-30T10:01:26.139Z] [ 94%] Built target template-discovery [2021-09-30T10:01:26.139Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-09-30T10:01:26.139Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-09-30T10:01:26.139Z] [ 97%] Built target device-file [2021-09-30T10:01:26.139Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-09-30T10:01:26.139Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-09-30T10:01:26.139Z] [100%] Built target device-terminal [2021-09-30T10:01:26.139Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-09-30T10:01:26.139Z] Install the project... [2021-09-30T10:01:26.139Z] -- Install configuration: "Release" [2021-09-30T10:01:26.139Z] -- Installing: /usr/local/lib/libcsdk.so [2021-09-30T10:01:26.139Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-09-30T10:01:26.139Z] -- Up-to-date: /usr/local/include [2021-09-30T10:01:26.139Z] -- Installing: /usr/local/include/edgex [2021-09-30T10:01:26.139Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-09-30T10:01:26.139Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-09-30T10:01:26.139Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-09-30T10:01:26.139Z] -- Installing: /usr/local/include/edgex/devices.h [2021-09-30T10:01:26.139Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-09-30T10:01:26.139Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-09-30T10:01:26.139Z] -- Installing: /usr/local/include/devsdk [2021-09-30T10:01:26.139Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-09-30T10:01:26.139Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-09-30T10:01:26.139Z] -- Installing: /usr/local/include/iot [2021-09-30T10:01:26.139Z] -- Installing: /usr/local/include/iot/json.h [2021-09-30T10:01:26.139Z] -- Installing: /usr/local/include/iot/container.h [2021-09-30T10:01:26.139Z] -- Installing: /usr/local/include/iot/component.h [2021-09-30T10:01:26.139Z] -- Installing: /usr/local/include/iot/typecode.h [2021-09-30T10:01:26.139Z] -- Installing: /usr/local/include/iot/iot.h [2021-09-30T10:01:26.139Z] -- Installing: /usr/local/include/iot/uuid.h [2021-09-30T10:01:26.139Z] -- Installing: /usr/local/include/iot/time.h [2021-09-30T10:01:26.139Z] -- Installing: /usr/local/include/iot/hash.h [2021-09-30T10:01:26.139Z] -- Installing: /usr/local/include/iot/logger.h [2021-09-30T10:01:26.139Z] -- Installing: /usr/local/include/iot/os [2021-09-30T10:01:26.139Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-09-30T10:01:26.139Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-09-30T10:01:26.139Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-09-30T10:01:26.139Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-09-30T10:01:26.139Z] -- Installing: /usr/local/include/iot/data.h [2021-09-30T10:01:26.139Z] -- Installing: /usr/local/include/iot/thread.h [2021-09-30T10:01:26.139Z] -- Installing: /usr/local/include/iot/os.h [2021-09-30T10:01:26.139Z] -- Installing: /usr/local/include/iot/base64.h [2021-09-30T10:01:26.139Z] -- Installing: /usr/local/include/iot/defs.h [2021-09-30T10:01:26.139Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-09-30T10:01:26.139Z] -- Installing: /usr/local/include/iot/config.h [2021-09-30T10:01:26.139Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-09-30T10:01:26.139Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-09-30T10:01:26.139Z] make: Leaving directory '/tmp/sdk/build/release' [2021-09-30T10:01:28.772Z] Removing intermediate container 969bc5282c13 [2021-09-30T10:01:28.772Z] ---> eafd45e7b74d [2021-09-30T10:01:28.772Z] Step 16/25 : FROM ${BASE} [2021-09-30T10:01:28.772Z] ---> 759262b18b23 [2021-09-30T10:01:28.772Z] Step 17/25 : LABEL maintainer="IOTech " [2021-09-30T10:01:28.772Z] ---> Running in 10b82ca734f8 [2021-09-30T10:01:29.045Z] Removing intermediate container 10b82ca734f8 [2021-09-30T10:01:29.045Z] ---> 5be100fd5e69 [2021-09-30T10:01:29.045Z] Step 18/25 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2021-09-30T10:01:29.045Z] ---> Running in c4ae8d50f297 [2021-09-30T10:01:30.495Z] Connecting to iotech.jfrog.io (54.195.244.87:443) [2021-09-30T10:01:31.096Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2021-09-30T10:01:31.096Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2021-09-30T10:01:31.096Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2021-09-30T10:01:32.076Z] Removing intermediate container c4ae8d50f297 [2021-09-30T10:01:32.076Z] ---> c671bdb602d4 [2021-09-30T10:01:32.076Z] Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2021-09-30T10:01:32.076Z] ---> Running in 6f6b1c26220d [2021-09-30T10:01:34.718Z] Removing intermediate container 6f6b1c26220d [2021-09-30T10:01:34.718Z] ---> e08f3a4ce551 [2021-09-30T10:01:34.719Z] Step 20/25 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid paho-mqtt-c-dev-1.3 hiredis-dev [2021-09-30T10:01:34.719Z] ---> Running in 3cb70232cfe8 [2021-09-30T10:01:36.183Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-09-30T10:01:37.162Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-09-30T10:01:37.435Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz [2021-09-30T10:01:38.028Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2021-09-30T10:01:38.028Z] (1/7) Installing curl (7.79.1-r0) [2021-09-30T10:01:38.302Z] (2/7) Installing hiredis (0.14.1-r0) [2021-09-30T10:01:38.302Z] (3/7) Installing hiredis-dev (0.14.1-r0) [2021-09-30T10:01:38.302Z] (4/7) Installing libuuid (2.35.2-r0) [2021-09-30T10:01:38.574Z] (5/7) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2021-09-30T10:01:39.550Z] (6/7) Installing libidn2 (2.3.0-r0) [2021-09-30T10:01:39.550Z] (7/7) Installing wget (1.20.3-r1) [2021-09-30T10:01:39.824Z] Executing busybox-1.31.1-r20.trigger [2021-09-30T10:01:39.824Z] OK: 267 MiB in 82 packages [2021-09-30T10:01:41.263Z] Removing intermediate container 3cb70232cfe8 [2021-09-30T10:01:41.263Z] ---> afd745828be3 [2021-09-30T10:01:41.263Z] Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-09-30T10:01:42.255Z] ---> 33e659e1705c [2021-09-30T10:01:42.255Z] Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-09-30T10:01:42.850Z] ---> 708a9fb9a82e [2021-09-30T10:01:42.850Z] Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-09-30T10:01:43.829Z] ---> c3e8f055323d [2021-09-30T10:01:43.829Z] Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-09-30T10:01:44.808Z] ---> de922e3a1694 [2021-09-30T10:01:44.808Z] Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-09-30T10:01:45.786Z] ---> 6d228a74759d [2021-09-30T10:01:45.786Z] Successfully built 6d228a74759d [2021-09-30T10:01:45.786Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-09-30T10:01:46.385Z] + docker inspect -f . ci-base-image-arm64 [2021-09-30T10:01:46.385Z] . [Pipeline] withDockerContainer [2021-09-30T10:01:46.661Z] prd-ubuntu18.04-docker-arm64-4c-16g-259 does not seem to be running inside a container [2021-09-30T10:01:46.747Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/4 -v /w/workspace/device-sdk-c/4:/w/workspace/device-sdk-c/4:rw,z -v /w/workspace/device-sdk-c/4@tmp:/w/workspace/device-sdk-c/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-09-30T10:01:48.570Z] $ docker top b65aa2c9c6103a20f0dcbaf6b59ff412a3f4bfbdd6a0b23db8b57fcea09738b4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-09-30T10:01:49.561Z] + make test [2021-09-30T10:01:49.561Z] echo "make test" [2021-09-30T10:01:49.561Z] make test [Pipeline] } [2021-09-30T10:01:49.584Z] $ docker stop --time=1 b65aa2c9c6103a20f0dcbaf6b59ff412a3f4bfbdd6a0b23db8b57fcea09738b4 [2021-09-30T10:01:51.664Z] $ docker rm -f b65aa2c9c6103a20f0dcbaf6b59ff412a3f4bfbdd6a0b23db8b57fcea09738b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-09-30T10:01:52.488Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-09-30T10:01:52.823Z] + ls -al . [2021-09-30T10:01:52.823Z] total 200 [2021-09-30T10:01:52.823Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 30 09:58 . [2021-09-30T10:01:52.823Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 30 09:58 .. [2021-09-30T10:01:52.823Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 30 09:58 .git [2021-09-30T10:01:52.823Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 30 09:58 .github [2021-09-30T10:01:52.823Z] -rw-rw-r-- 1 jenkins jenkins 176 Sep 30 09:58 .gitignore [2021-09-30T10:01:52.823Z] -rw-rw-r-- 1 jenkins jenkins 3104 Sep 30 09:58 Attribution.txt [2021-09-30T10:01:52.823Z] -rw-rw-r-- 1 jenkins jenkins 7701 Sep 30 09:58 CHANGES [2021-09-30T10:01:52.823Z] -rw-rw-r-- 1 jenkins jenkins 108574 Sep 30 09:58 Doxyfile [2021-09-30T10:01:52.823Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 30 09:58 GOVERNANCE.md [2021-09-30T10:01:52.823Z] -rw-rw-r-- 1 jenkins jenkins 784 Sep 30 09:58 Jenkinsfile [2021-09-30T10:01:52.823Z] -rw-rw-r-- 1 jenkins jenkins 10174 Sep 30 09:58 LICENSE [2021-09-30T10:01:52.823Z] -rw-rw-r-- 1 jenkins jenkins 444 Sep 30 09:58 Makefile [2021-09-30T10:01:52.823Z] -rw-rw-r-- 1 jenkins jenkins 618 Sep 30 09:58 OWNERS.md [2021-09-30T10:01:52.823Z] -rw-rw-r-- 1 jenkins jenkins 4086 Sep 30 09:58 README.md [2021-09-30T10:01:52.823Z] -rw-rw-r-- 1 jenkins jenkins 7090 Sep 30 09:58 README.v2.md [2021-09-30T10:01:52.823Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 30 09:56 VERSION [2021-09-30T10:01:52.823Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 30 09:58 docs [2021-09-30T10:01:52.823Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 30 09:58 include [2021-09-30T10:01:52.823Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 30 09:58 scripts [2021-09-30T10:01:52.823Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 30 09:58 src [Pipeline] isUnix [Pipeline] sh [2021-09-30T10:01:53.165Z] + 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=d4028d067d9ed03c35e4d6b6c28f8e2560370e36 --label arch=arm64 --label version=0.0.0 . [2021-09-30T10:01:53.767Z] Sending build context to Docker daemon 2.697MB [2021-09-30T10:01:53.767Z] Step 1/17 : ARG BASE=alpine:3.14 [2021-09-30T10:01:53.767Z] Step 2/17 : FROM ${BASE} [2021-09-30T10:01:53.767Z] ---> 6d228a74759d [2021-09-30T10:01:53.767Z] Step 3/17 : LABEL maintainer="IOTech " [2021-09-30T10:01:54.045Z] ---> Running in 326f75b823ab [2021-09-30T10:01:54.648Z] Removing intermediate container 326f75b823ab [2021-09-30T10:01:54.648Z] ---> 0a110e542527 [2021-09-30T10:01:54.648Z] Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2021-09-30T10:01:54.648Z] ---> Running in 335e940a31a3 [2021-09-30T10:01:56.086Z] --2021-09-30 10:01:55-- https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release [2021-09-30T10:01:56.086Z] Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.229.110.245, 54.195.244.87, 54.72.115.12 [2021-09-30T10:01:56.086Z] Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.229.110.245|:443... connected. [2021-09-30T10:01:56.359Z] HTTP request sent, awaiting response... 200 OK [2021-09-30T10:01:56.359Z] Length: unspecified [application/json] [2021-09-30T10:01:56.359Z] Saving to: '/etc/apk/keys/alpine.dev.rsa.pub' [2021-09-30T10:01:56.359Z]  [2021-09-30T10:01:56.359Z] 0K    8.97M=0s [2021-09-30T10:01:56.359Z] [2021-09-30T10:01:56.359Z] 2021-09-30 10:01:56 (8.97 MB/s) - '/etc/apk/keys/alpine.dev.rsa.pub' saved [451] [2021-09-30T10:01:56.359Z] [2021-09-30T10:01:57.339Z] Removing intermediate container 335e940a31a3 [2021-09-30T10:01:57.339Z] ---> b3641b3f8709 [2021-09-30T10:01:57.339Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2021-09-30T10:01:57.612Z] ---> Running in b4fbc85f6516 [2021-09-30T10:02:00.229Z] Removing intermediate container b4fbc85f6516 [2021-09-30T10:02:00.229Z] ---> 687f104b3296 [2021-09-30T10:02:00.229Z] Step 6/17 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev-1.3 hiredis-dev && mkdir -p /edgex-c-sdk/build [2021-09-30T10:02:00.229Z] ---> Running in d88f96febdc2 [2021-09-30T10:02:01.213Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-09-30T10:02:02.191Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-09-30T10:02:03.168Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz [2021-09-30T10:02:03.764Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2021-09-30T10:02:03.764Z] (1/16) Installing ncurses-dev (6.2_p20200523-r0) [2021-09-30T10:02:03.764Z] (2/16) Installing libblkid (2.35.2-r0) [2021-09-30T10:02:04.037Z] (3/16) Installing blkid (2.35.2-r0) [2021-09-30T10:02:04.310Z] (4/16) Installing libcap-ng (0.7.10-r1) [2021-09-30T10:02:04.310Z] (5/16) Installing setpriv (2.35.2-r0) [2021-09-30T10:02:04.310Z] (6/16) Installing libmount (2.35.2-r0) [2021-09-30T10:02:04.583Z] (7/16) Installing libsmartcols (2.35.2-r0) [2021-09-30T10:02:04.583Z] (8/16) Installing findmnt (2.35.2-r0) [2021-09-30T10:02:04.856Z] (9/16) Installing mcookie (2.35.2-r0) [2021-09-30T10:02:04.856Z] (10/16) Installing hexdump (2.35.2-r0) [2021-09-30T10:02:04.856Z] (11/16) Installing lsblk (2.35.2-r0) [2021-09-30T10:02:05.130Z] (12/16) Installing libfdisk (2.35.2-r0) [2021-09-30T10:02:05.130Z] (13/16) Installing sfdisk (2.35.2-r0) [2021-09-30T10:02:05.130Z] (14/16) Installing cfdisk (2.35.2-r0) [2021-09-30T10:02:05.402Z] (15/16) Installing util-linux (2.35.2-r0) [2021-09-30T10:02:06.381Z] (16/16) Installing util-linux-dev (2.35.2-r0) [2021-09-30T10:02:06.979Z] Executing busybox-1.31.1-r20.trigger [2021-09-30T10:02:06.979Z] OK: 276 MiB in 98 packages [2021-09-30T10:02:08.956Z] Removing intermediate container d88f96febdc2 [2021-09-30T10:02:08.956Z] ---> 2876feab7bcb [2021-09-30T10:02:08.956Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2021-09-30T10:02:09.598Z] ---> 44c8215c6454 [2021-09-30T10:02:09.598Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2021-09-30T10:02:10.601Z] ---> d0deabf4fe1c [2021-09-30T10:02:10.601Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2021-09-30T10:02:11.222Z] ---> d7ccce0b85bc [2021-09-30T10:02:11.222Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2021-09-30T10:02:12.235Z] ---> 144901de6337 [2021-09-30T10:02:12.235Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2021-09-30T10:02:12.880Z] ---> b875ae735bd5 [2021-09-30T10:02:12.880Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2021-09-30T10:02:13.492Z] ---> 2ad54fe248dd [2021-09-30T10:02:13.492Z] Step 13/17 : WORKDIR /edgex-c-sdk [2021-09-30T10:02:13.767Z] ---> Running in fb7cfa09fddb [2021-09-30T10:02:14.369Z] Removing intermediate container fb7cfa09fddb [2021-09-30T10:02:14.369Z] ---> d514c149a4e9 [2021-09-30T10:02:14.369Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-09-30T10:02:14.369Z] ---> Running in 9ccee35a0ecf [2021-09-30T10:02:14.969Z] Removing intermediate container 9ccee35a0ecf [2021-09-30T10:02:14.969Z] ---> 72368409c357 [2021-09-30T10:02:14.969Z] Step 15/17 : LABEL arch=arm64 [2021-09-30T10:02:14.969Z] ---> Running in ea574507d8d8 [2021-09-30T10:02:15.591Z] Removing intermediate container ea574507d8d8 [2021-09-30T10:02:15.591Z] ---> 10efe41693fb [2021-09-30T10:02:15.591Z] Step 16/17 : LABEL git_sha=d4028d067d9ed03c35e4d6b6c28f8e2560370e36 [2021-09-30T10:02:15.591Z] ---> Running in 791b2b2b91d8 [2021-09-30T10:02:16.192Z] Removing intermediate container 791b2b2b91d8 [2021-09-30T10:02:16.192Z] ---> 9c4261a7fa47 [2021-09-30T10:02:16.192Z] Step 17/17 : LABEL version=0.0.0 [2021-09-30T10:02:16.464Z] ---> Running in ace8795251de [2021-09-30T10:02:16.735Z] Removing intermediate container ace8795251de [2021-09-30T10:02:16.735Z] ---> b639d40562af [2021-09-30T10:02:16.735Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-09-30T10:02:16.735Z] Successfully built b639d40562af [2021-09-30T10:02:16.735Z] Successfully tagged device-sdk-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-09-30T10:02:17.315Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-09-30T10:02:17.315Z] [2021-09-30T10:02:17.315Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-09-30T10:02:17.659Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-09-30T10:02:17.932Z] arm64: Pulling from edgex-lftools-log-publisher [2021-09-30T10:02:17.932Z] 448f6bf000e3: Pulling fs layer [2021-09-30T10:02:17.932Z] f757da607395: Pulling fs layer [2021-09-30T10:02:17.932Z] 05883995daec: Pulling fs layer [2021-09-30T10:02:17.932Z] 8603b9c90790: Pulling fs layer [2021-09-30T10:02:17.932Z] 1560dd03e051: Pulling fs layer [2021-09-30T10:02:17.932Z] 27f5ce0e4adf: Pulling fs layer [2021-09-30T10:02:17.932Z] c2d8d7efcc4b: Pulling fs layer [2021-09-30T10:02:17.932Z] 27f5ce0e4adf: Waiting [2021-09-30T10:02:17.932Z] 8603b9c90790: Waiting [2021-09-30T10:02:17.932Z] 1560dd03e051: Waiting [2021-09-30T10:02:17.932Z] c2d8d7efcc4b: Waiting [2021-09-30T10:02:18.206Z] f757da607395: Verifying Checksum [2021-09-30T10:02:18.206Z] f757da607395: Download complete [2021-09-30T10:02:18.206Z] 8603b9c90790: Verifying Checksum [2021-09-30T10:02:18.206Z] 8603b9c90790: Download complete [2021-09-30T10:02:18.479Z] 1560dd03e051: Verifying Checksum [2021-09-30T10:02:18.479Z] 1560dd03e051: Download complete [2021-09-30T10:02:18.479Z] 27f5ce0e4adf: Download complete [2021-09-30T10:02:18.479Z] 05883995daec: Verifying Checksum [2021-09-30T10:02:18.479Z] 05883995daec: Download complete [2021-09-30T10:02:19.457Z] 448f6bf000e3: Verifying Checksum [2021-09-30T10:02:19.457Z] 448f6bf000e3: Download complete [2021-09-30T10:02:22.080Z] c2d8d7efcc4b: Verifying Checksum [2021-09-30T10:02:22.080Z] c2d8d7efcc4b: Download complete [2021-09-30T10:02:22.683Z] 448f6bf000e3: Pull complete [2021-09-30T10:02:23.286Z] f757da607395: Pull complete [2021-09-30T10:02:24.719Z] 05883995daec: Pull complete [2021-09-30T10:02:24.994Z] 8603b9c90790: Pull complete [2021-09-30T10:02:25.971Z] 1560dd03e051: Pull complete [2021-09-30T10:02:26.243Z] 27f5ce0e4adf: Pull complete [2021-09-30T10:02:41.320Z] c2d8d7efcc4b: Pull complete [2021-09-30T10:02:41.320Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-09-30T10:02:41.320Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-09-30T10:02:41.320Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-09-30T10:02:41.583Z] prd-ubuntu18.04-docker-arm64-4c-16g-259 does not seem to be running inside a container [2021-09-30T10:02:41.661Z] $ 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/4 -v /w/workspace/device-sdk-c/4:/w/workspace/device-sdk-c/4:rw,z -v /w/workspace/device-sdk-c/4@tmp:/w/workspace/device-sdk-c/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-09-30T10:02:46.127Z] $ docker top 7df149e708bee9934f338f1d537aa161170d44c8747b130d15c1006a9e47e72b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-09-30T10:02:47.097Z] ---> job-cost.sh [2021-09-30T10:02:47.097Z] lf-activate-venv: SKIPPING [2021-09-30T10:02:47.097Z] INFO: No Stack... [2021-09-30T10:02:47.687Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-09-30T10:02:48.281Z] INFO: Archiving Costs [Pipeline] sh [2021-09-30T10:02:48.938Z] + cat /w/workspace/device-sdk-c/4/archives/cost.csv [2021-09-30T10:02:48.939Z] + cut -d, -f6 [Pipeline] lock [2021-09-30T10:02:49.005Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-366-4-stack-cost] [2021-09-30T10:02:49.024Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-366-4-stack-cost] did not exist. Created. [2021-09-30T10:02:49.024Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-366-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-09-30T10:02:49.749Z] /w/workspace/device-sdk-c/4@tmp/durable-bc6dfe8d/script.sh: 1: /w/workspace/device-sdk-c/4@tmp/durable-bc6dfe8d/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-09-30T10:02:50.409Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-09-30T10:02:50.431Z] Warning: overwriting stash ‘stack-cost’ [2021-09-30T10:02:51.001Z] Stashed 1 file(s) [Pipeline] } [2021-09-30T10:02:51.010Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-366-4-stack-cost] [Pipeline] // lock [Pipeline] } [2021-09-30T10:02:51.034Z] $ docker stop --time=1 7df149e708bee9934f338f1d537aa161170d44c8747b130d15c1006a9e47e72b [2021-09-30T10:02:52.701Z] $ docker rm -f 7df149e708bee9934f338f1d537aa161170d44c8747b130d15c1006a9e47e72b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-09-30T10:02:54.291Z] + '[' -d /w/workspace/edgexfoundry_device-sdk-c_PR-366/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-09-30T10:02:54.617Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-30T10:02:55.212Z] ---> package-listing.sh [2021-09-30T10:02:55.212Z] ++ facter osfamily [2021-09-30T10:02:55.212Z] ++ tr '[:upper:]' '[:lower:]' [2021-09-30T10:02:55.480Z] + OS_FAMILY=redhat [2021-09-30T10:02:55.480Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-366 [2021-09-30T10:02:55.480Z] + START_PACKAGES=/tmp/packages_start.txt [2021-09-30T10:02:55.480Z] + END_PACKAGES=/tmp/packages_end.txt [2021-09-30T10:02:55.480Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-09-30T10:02:55.480Z] + PACKAGES=/tmp/packages_start.txt [2021-09-30T10:02:55.480Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-366 ']' [2021-09-30T10:02:55.480Z] + PACKAGES=/tmp/packages_end.txt [2021-09-30T10:02:55.480Z] + case "${OS_FAMILY}" in [2021-09-30T10:02:55.480Z] + sort [2021-09-30T10:02:55.480Z] + rpm -qa [2021-09-30T10:02:56.063Z] + '[' -f /tmp/packages_start.txt ']' [2021-09-30T10:02:56.063Z] + '[' -f /tmp/packages_end.txt ']' [2021-09-30T10:02:56.063Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-09-30T10:02:56.063Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-366 ']' [2021-09-30T10:02:56.063Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-366/archives/ [2021-09-30T10:02:56.063Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-366/archives/ [Pipeline] echo [2021-09-30T10:02:56.079Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-366/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-09-30T10:02:56.375Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-09-30T10:02:56.976Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-30T10:02:56.976Z] [2021-09-30T10:02:56.976Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-09-30T10:02:57.306Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-30T10:02:57.306Z] latest: Pulling from edgex-lftools-log-publisher [2021-09-30T10:02:57.306Z] b4d181a07f80: Pulling fs layer [2021-09-30T10:02:57.306Z] a1111a8f2ec3: Pulling fs layer [2021-09-30T10:02:57.306Z] ed53099fbce6: Pulling fs layer [2021-09-30T10:02:57.306Z] dc539afda2c1: Pulling fs layer [2021-09-30T10:02:57.306Z] 77bc0d833cb6: Pulling fs layer [2021-09-30T10:02:57.306Z] 9065ff56babe: Pulling fs layer [2021-09-30T10:02:57.306Z] d287ab97295c: Pulling fs layer [2021-09-30T10:02:57.306Z] dc539afda2c1: Waiting [2021-09-30T10:02:57.306Z] 77bc0d833cb6: Waiting [2021-09-30T10:02:57.306Z] 9065ff56babe: Waiting [2021-09-30T10:02:57.306Z] d287ab97295c: Waiting [2021-09-30T10:02:57.573Z] a1111a8f2ec3: Verifying Checksum [2021-09-30T10:02:57.573Z] a1111a8f2ec3: Download complete [2021-09-30T10:02:57.573Z] dc539afda2c1: Verifying Checksum [2021-09-30T10:02:57.573Z] dc539afda2c1: Download complete [2021-09-30T10:02:57.843Z] 77bc0d833cb6: Verifying Checksum [2021-09-30T10:02:57.843Z] 77bc0d833cb6: Download complete [2021-09-30T10:02:57.843Z] 9065ff56babe: Verifying Checksum [2021-09-30T10:02:57.843Z] 9065ff56babe: Download complete [2021-09-30T10:02:57.843Z] ed53099fbce6: Verifying Checksum [2021-09-30T10:02:57.843Z] ed53099fbce6: Download complete [2021-09-30T10:02:58.804Z] b4d181a07f80: Verifying Checksum [2021-09-30T10:02:58.804Z] b4d181a07f80: Download complete [2021-09-30T10:02:59.782Z] b4d181a07f80: Pull complete [2021-09-30T10:03:00.050Z] a1111a8f2ec3: Pull complete [2021-09-30T10:03:00.629Z] ed53099fbce6: Pull complete [2021-09-30T10:03:00.629Z] dc539afda2c1: Pull complete [2021-09-30T10:03:00.893Z] 77bc0d833cb6: Pull complete [2021-09-30T10:03:00.893Z] 9065ff56babe: Pull complete [2021-09-30T10:03:01.850Z] d287ab97295c: Verifying Checksum [2021-09-30T10:03:01.850Z] d287ab97295c: Download complete [2021-09-30T10:03:06.093Z] d287ab97295c: Pull complete [2021-09-30T10:03:06.093Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-09-30T10:03:06.093Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-30T10:03:06.093Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-09-30T10:03:06.199Z] prd-centos7-docker-4c-2g-258 does not seem to be running inside a container [2021-09-30T10:03:06.410Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-366/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-366 -v /w/workspace/edgexfoundry_device-sdk-c_PR-366:/w/workspace/edgexfoundry_device-sdk-c_PR-366:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-366@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-366@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-09-30T10:03:08.889Z] $ docker top 548748e6ab73f5fc990ddfc45e888eec640d0528686b66fd21ff1f896c8d9e56 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-09-30T10:03:09.296Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-09-30T10:03:09.606Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-09-30T10:03:09.912Z] + ls /var/log/sa-host [2021-09-30T10:03:09.912Z] + sadf -c /var/log/sa-host/sa05 [2021-09-30T10:03:09.912Z] file_magic: OK [2021-09-30T10:03:09.912Z] HZ: Using current value: 100 [2021-09-30T10:03:09.912Z] file_header: OK [2021-09-30T10:03:09.912Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-09-30T10:03:09.912Z] Statistics: [2021-09-30T10:03:09.912Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-09-30T10:03:09.913Z] File successfully converted to sysstat format version 12.0.3 [2021-09-30T10:03:09.913Z] + sadf -c /var/log/sa-host/sa30 [2021-09-30T10:03:09.913Z] file_magic: OK [2021-09-30T10:03:09.913Z] HZ: Using current value: 100 [2021-09-30T10:03:09.913Z] file_header: OK [2021-09-30T10:03:09.913Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-09-30T10:03:09.913Z] Statistics: [2021-09-30T10:03:09.913Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-09-30T10:03:09.913Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-09-30T10:03:10.463Z] provisioning config files... [2021-09-30T10:03:10.478Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-366@tmp/config1508692662432229771tmp [Pipeline] { [Pipeline] echo [2021-09-30T10:03:10.498Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-30T10:03:10.802Z] ---> create-netrc.sh [Pipeline] } [2021-09-30T10:03:10.813Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-09-30T10:03:11.211Z] ---> python-tools-install.sh [Pipeline] echo [2021-09-30T10:03:11.225Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-30T10:03:11.528Z] ---> sudo-logs.sh [2021-09-30T10:03:11.528Z] Archiving 'sudo' log.. [2021-09-30T10:03:11.528Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-258.vexxhost.local: Name or service not known [2021-09-30T10:03:11.528Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-258.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-09-30T10:03:11.583Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-30T10:03:11.895Z] ---> job-cost.sh [2021-09-30T10:03:11.895Z] lf-activate-venv: SKIPPING [2021-09-30T10:03:11.895Z] DEBUG: total: 0.10999999940395355 [2021-09-30T10:03:11.895Z] INFO: Retrieving Stack Cost... [2021-09-30T10:03:12.852Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-09-30T10:03:13.116Z] INFO: Archiving Costs [Pipeline] echo [2021-09-30T10:03:13.133Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-30T10:03:13.443Z] ---> logs-deploy.sh [2021-09-30T10:03:13.443Z] lf-activate-venv: SKIPPING [2021-09-30T10:03:13.443Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-366/4 [2021-09-30T10:03:13.443Z] INFO: archiving workspace using pattern(s): [2021-09-30T10:03:14.024Z] Archives upload complete. [2021-09-30T10:03:14.288Z] INFO: archiving logs to Nexus