Pull request #357 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 18c66e74693b0dcf944d8eb774d259968cd08ab7+fe80442fa2f0db74f1d47f63cbba0c7b5c42b53a (47fe11e0e1070411319868e6fe34661e82dcebb1) 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-ssh8427143986012770919.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fbf90f19193a45d2dbdd9e9e5fbe6e31255a08c 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-ssh7061159027776472692.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 4fbf90f19193a45d2dbdd9e9e5fbe6e31255a08c The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-357/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-357/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh30178327615060152.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fbf90f19193a45d2dbdd9e9e5fbe6e31255a08c (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fbf90f19193a45d2dbdd9e9e5fbe6e31255a08c # timeout=10 Commit message: "Merge pull request #352 from ernestojeda/parallel-go-mod-download" > 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-ssh1334190594557875788.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-357/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-357/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5876561789865505319.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98bb157299c17168c94e81a7dba3d05dc38b0f72 # timeout=10 Commit message: "Docs: Add example Jenkinsfile to documentation" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-2242 in /w/workspace/edgexfoundry_device-sdk-c_PR-357 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-357 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/jenkins-gitclient-ssh7268496908773539014.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/jenkins-gitclient-ssh5021891420047142700.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/357/head:refs/remotes/origin/PR-357 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit fe80442fa2f0db74f1d47f63cbba0c7b5c42b53a into PR head commit 18c66e74693b0dcf944d8eb774d259968cd08ab7 Merge succeeded, producing 18c66e74693b0dcf944d8eb774d259968cd08ab7 Checking out Revision 18c66e74693b0dcf944d8eb774d259968cd08ab7 (PR-357) > git config core.sparsecheckout # timeout=10 > git checkout -f 18c66e74693b0dcf944d8eb774d259968cd08ab7 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/jenkins-gitclient-ssh744730191876433297.key > git merge fe80442fa2f0db74f1d47f63cbba0c7b5c42b53a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 18c66e74693b0dcf944d8eb774d259968cd08ab7 # timeout=10 Commit message: "update to use maps for receiving secrets" > git rev-list --no-walk 1c70c4e8afdf954a47da8ca4dc04415ff0e9bb22 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-08-06T13:13:34.807Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-08-06T13:13:34.924Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-08-06T13:13:34.947Z] ========================================================= [2021-08-06T13:13:34.947Z] EdgeX Global Pipelines Version Info [2021-08-06T13:13:34.947Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-08-06T13:13:36.261Z] ------------------- [2021-08-06T13:13:36.261Z] stable info: [2021-08-06T13:13:36.261Z] ------------------- [2021-08-06T13:13:36.261Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-08-06T13:13:36.261Z] Commit SHA: 4fbf90f19193a45d2dbdd9e9e5fbe6e31255a08c [2021-08-06T13:13:36.261Z] Message: update stable to v1.0.204 [2021-08-06T13:13:36.846Z] ------------------- [2021-08-06T13:13:36.846Z] experimental info: [2021-08-06T13:13:36.846Z] ------------------- [2021-08-06T13:13:36.846Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-08-06T13:13:36.846Z] Commit SHA: 4fbf90f19193a45d2dbdd9e9e5fbe6e31255a08c [2021-08-06T13:13:36.846Z] Message: update experimental to v1.0.204 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-08-06T13:13:36.986Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2021-08-06T13:13:37.004Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2021-08-06T13:13:37.022Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-08-06T13:13:37.040Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-08-06T13:13:37.059Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-08-06T13:13:37.077Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo [2021-08-06T13:13:37.095Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2021-08-06T13:13:37.113Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2021-08-06T13:13:37.131Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-08-06T13:13:37.149Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-08-06T13:13:37.168Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2021-08-06T13:13:39.027Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-08-06T13:13:39.046Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-08-06T13:13:39.065Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-08-06T13:13:39.084Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-08-06T13:13:39.103Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-08-06T13:13:39.122Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-08-06T13:13:39.140Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-08-06T13:13:39.158Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-357 [Pipeline] echo [2021-08-06T13:13:39.177Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-357 [Pipeline] echo [2021-08-06T13:13:39.196Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-357 [Pipeline] echo [2021-08-06T13:13:39.214Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 18c66e74693b0dcf944d8eb774d259968cd08ab7 [Pipeline] echo [2021-08-06T13:13:39.233Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 18c66e7 [Pipeline] echo [2021-08-06T13:13:39.251Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-06T13:13:39.325Z] provisioning config files... [2021-08-06T13:13:39.348Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/config9027025422714732795tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-06T13:13:39.690Z] ---> docker-login.sh [2021-08-06T13:13:39.690Z] nexus3.edgexfoundry.org:10001 [2021-08-06T13:13:39.690Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-06T13:13:39.965Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-06T13:13:39.965Z] Configure a credential helper to remove this warning. See [2021-08-06T13:13:39.965Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-06T13:13:39.965Z] [2021-08-06T13:13:39.965Z] Login Succeeded [2021-08-06T13:13:39.965Z] nexus3.edgexfoundry.org:10002 [2021-08-06T13:13:39.965Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-06T13:13:40.235Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-06T13:13:40.235Z] Configure a credential helper to remove this warning. See [2021-08-06T13:13:40.235Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-06T13:13:40.235Z] [2021-08-06T13:13:40.235Z] Login Succeeded [2021-08-06T13:13:40.235Z] nexus3.edgexfoundry.org:10003 [2021-08-06T13:13:40.235Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-06T13:13:40.235Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-06T13:13:40.235Z] Configure a credential helper to remove this warning. See [2021-08-06T13:13:40.235Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-06T13:13:40.235Z] [2021-08-06T13:13:40.235Z] Login Succeeded [2021-08-06T13:13:40.235Z] nexus3.edgexfoundry.org:10004 [2021-08-06T13:13:40.501Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-06T13:13:40.501Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-06T13:13:40.501Z] Configure a credential helper to remove this warning. See [2021-08-06T13:13:40.501Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-06T13:13:40.501Z] [2021-08-06T13:13:40.501Z] Login Succeeded [2021-08-06T13:13:40.501Z] docker.io [2021-08-06T13:13:40.501Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-06T13:13:40.767Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-06T13:13:40.767Z] Configure a credential helper to remove this warning. See [2021-08-06T13:13:40.767Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-06T13:13:40.767Z] [2021-08-06T13:13:40.767Z] Login Succeeded [2021-08-06T13:13:40.767Z] ---> docker-login.sh ends [Pipeline] } [2021-08-06T13:13:40.780Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2021-08-06T13:13:45.845Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-06T13:13:45.845Z] [2021-08-06T13:13:45.845Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-08-06T13:13:46.181Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-06T13:13:46.182Z] latest: Pulling from edgex-devops/git-semver [2021-08-06T13:13:46.182Z] 31603596830f: Pulling fs layer [2021-08-06T13:13:46.182Z] d4622e32a9a9: Pulling fs layer [2021-08-06T13:13:46.182Z] 1030fce36090: Pulling fs layer [2021-08-06T13:13:46.182Z] 6c6cb7e1b49b: Pulling fs layer [2021-08-06T13:13:46.182Z] 6c6cb7e1b49b: Waiting [2021-08-06T13:13:46.182Z] d4622e32a9a9: Verifying Checksum [2021-08-06T13:13:46.182Z] d4622e32a9a9: Download complete [2021-08-06T13:13:46.452Z] 31603596830f: Verifying Checksum [2021-08-06T13:13:46.452Z] 31603596830f: Download complete [2021-08-06T13:13:46.719Z] 31603596830f: Pull complete [2021-08-06T13:13:46.719Z] 6c6cb7e1b49b: Verifying Checksum [2021-08-06T13:13:46.719Z] 6c6cb7e1b49b: Download complete [2021-08-06T13:13:46.719Z] d4622e32a9a9: Pull complete [2021-08-06T13:13:47.000Z] 1030fce36090: Verifying Checksum [2021-08-06T13:13:47.000Z] 1030fce36090: Download complete [2021-08-06T13:13:47.591Z] 1030fce36090: Pull complete [2021-08-06T13:13:47.591Z] 6c6cb7e1b49b: Pull complete [2021-08-06T13:13:47.591Z] Digest: sha256:98b6084a185347f7b64647794a0a4774a411b925a780a33b3032b91fe10e00ab [2021-08-06T13:13:47.591Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-06T13:13:47.591Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-08-06T13:13:47.700Z] prd-centos7-docker-4c-2g-2242 does not seem to be running inside a container [2021-08-06T13:13:47.774Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-357 -v /w/workspace/edgexfoundry_device-sdk-c_PR-357:/w/workspace/edgexfoundry_device-sdk-c_PR-357:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-08-06T13:13:48.411Z] $ docker top 5974e2c8712f789aa443450ab1658d8f914868c688dbf5c0b8872a994ffcd9ef -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-08-06T13:13:48.547Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-06T13:13:48.547Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-06T13:13:48.668Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-06T13:13:48.671Z] $ docker exec 5974e2c8712f789aa443450ab1658d8f914868c688dbf5c0b8872a994ffcd9ef ssh-agent [2021-08-06T13:13:48.783Z] SSH_AUTH_SOCK=/tmp/ssh-mJOp26o30mFD/agent.13 [2021-08-06T13:13:48.783Z] SSH_AGENT_PID=19 [2021-08-06T13:13:48.799Z] Running ssh-add (command line suppressed) [2021-08-06T13:13:48.903Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/private_key_7732506028904297721.key (/w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/private_key_7732506028904297721.key) [2021-08-06T13:13:48.931Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-06T13:13:49.258Z] + git tag --points-at HEAD [Pipeline] } [2021-08-06T13:13:49.295Z] $ docker exec --env ******** --env ******** 5974e2c8712f789aa443450ab1658d8f914868c688dbf5c0b8872a994ffcd9ef ssh-agent -k [2021-08-06T13:13:49.385Z] unset SSH_AUTH_SOCK; [2021-08-06T13:13:49.386Z] unset SSH_AGENT_PID; [2021-08-06T13:13:49.386Z] echo Agent pid 19 killed; [2021-08-06T13:13:49.406Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-08-06T13:13:49.439Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-06T13:13:49.439Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-06T13:13:49.571Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-06T13:13:49.574Z] $ docker exec 5974e2c8712f789aa443450ab1658d8f914868c688dbf5c0b8872a994ffcd9ef ssh-agent [2021-08-06T13:13:49.706Z] SSH_AUTH_SOCK=/tmp/ssh-nXD9zoPPh5Bw/agent.52 [2021-08-06T13:13:49.706Z] SSH_AGENT_PID=59 [2021-08-06T13:13:49.722Z] Running ssh-add (command line suppressed) [2021-08-06T13:13:49.840Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/private_key_1018981662593027636.key (/w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/private_key_1018981662593027636.key) [2021-08-06T13:13:49.872Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-06T13:13:50.428Z] + git semver init [2021-08-06T13:13:50.429Z] # -> Open(): unable to determine branch for HEAD [2021-08-06T13:13:50.429Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-357/.git [2021-08-06T13:13:50.429Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-357 [2021-08-06T13:13:50.429Z] # $SEMVER_REMOTE_NAME = origin [2021-08-06T13:13:50.429Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-08-06T13:13:50.429Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-08-06T13:13:50.429Z] # $SEMVER_BRANCH = PR-357 [2021-08-06T13:13:50.429Z] # $SEMVER_TEMP = /tmp/semver-867534533 [2021-08-06T13:13:50.429Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2021-08-06T13:13:51.038Z] # '/tmp/semver-867534533' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-357/.semver' [2021-08-06T13:13:51.039Z] # -> Force: false [2021-08-06T13:13:51.039Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-357/.semver [Pipeline] } [2021-08-06T13:13:51.075Z] $ docker exec --env ******** --env ******** 5974e2c8712f789aa443450ab1658d8f914868c688dbf5c0b8872a994ffcd9ef ssh-agent -k [2021-08-06T13:13:51.182Z] unset SSH_AUTH_SOCK; [2021-08-06T13:13:51.182Z] unset SSH_AGENT_PID; [2021-08-06T13:13:51.182Z] echo Agent pid 59 killed; [2021-08-06T13:13:51.211Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-08-06T13:13:53.322Z] + git semver [Pipeline] } [2021-08-06T13:13:53.346Z] $ docker stop --time=1 5974e2c8712f789aa443450ab1658d8f914868c688dbf5c0b8872a994ffcd9ef [2021-08-06T13:13:54.581Z] $ docker rm -f 5974e2c8712f789aa443450ab1658d8f914868c688dbf5c0b8872a994ffcd9ef [Pipeline] // withDockerContainer [Pipeline] sh [2021-08-06T13:13:54.968Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-08-06T13:13:55.289Z] Stashed 1 file(s) [Pipeline] echo [2021-08-06T13:13:55.292Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-08-06T13:14:10.497Z] Still waiting to schedule task [2021-08-06T13:14:10.498Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-2242’ [2021-08-06T13:14:10.504Z] Still waiting to schedule task [2021-08-06T13:14:10.504Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-08-06T13:16:23.714Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2243 in /w/workspace/edgexfoundry_device-sdk-c_PR-357 [Pipeline] { [Pipeline] ws [2021-08-06T13:16:23.730Z] Running in /w/workspace/device-sdk-c/10 [Pipeline] { [Pipeline] checkout [2021-08-06T13:16:23.937Z] Selected Git installation does not exist. Using Default [2021-08-06T13:16:23.937Z] The recommended git tool is: NONE [2021-08-06T13:16:30.949Z] using credential edgex-jenkins-ssh [2021-08-06T13:16:30.969Z] Cloning the remote Git repository [2021-08-06T13:16:31.039Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-08-06T13:16:31.182Z] > git init /w/workspace/device-sdk-c/10 # timeout=10 [2021-08-06T13:16:31.262Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-08-06T13:16:31.263Z] > git --version # timeout=10 [2021-08-06T13:16:31.284Z] > git --version # 'git version 2.17.1' [2021-08-06T13:16:31.286Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-06T13:16:31.354Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-06T13:16:32.535Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-08-06T13:16:32.551Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-06T13:16:32.574Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-08-06T13:16:32.608Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-08-06T13:16:32.608Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-06T13:16:32.620Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/357/head:refs/remotes/origin/PR-357 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-08-06T13:16:33.166Z] Merging remotes/origin/main commit fe80442fa2f0db74f1d47f63cbba0c7b5c42b53a into PR head commit 18c66e74693b0dcf944d8eb774d259968cd08ab7 [2021-08-06T13:16:33.377Z] Merge succeeded, producing 18c66e74693b0dcf944d8eb774d259968cd08ab7 [2021-08-06T13:16:33.378Z] Checking out Revision 18c66e74693b0dcf944d8eb774d259968cd08ab7 (PR-357) [2021-08-06T13:16:33.197Z] > git config core.sparsecheckout # timeout=10 [2021-08-06T13:16:33.215Z] > git checkout -f 18c66e74693b0dcf944d8eb774d259968cd08ab7 # timeout=10 [2021-08-06T13:16:33.322Z] > git remote # timeout=10 [2021-08-06T13:16:33.338Z] > git config --get remote.origin.url # timeout=10 [2021-08-06T13:16:33.349Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-06T13:16:33.358Z] > git merge fe80442fa2f0db74f1d47f63cbba0c7b5c42b53a # timeout=10 [2021-08-06T13:16:33.378Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-08-06T13:16:33.396Z] > git config core.sparsecheckout # timeout=10 [2021-08-06T13:16:33.407Z] > git checkout -f 18c66e74693b0dcf944d8eb774d259968cd08ab7 # timeout=10 [2021-08-06T13:16:39.239Z] Commit message: "update to use maps for receiving secrets" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-06T13:16:39.831Z] provisioning config files... [2021-08-06T13:16:39.857Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/10@tmp/config8903083066298213754tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-06T13:16:40.380Z] ---> docker-login.sh [2021-08-06T13:16:40.380Z] nexus3.edgexfoundry.org:10001 [2021-08-06T13:16:41.367Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-06T13:16:43.204Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-06T13:16:43.204Z] Configure a credential helper to remove this warning. See [2021-08-06T13:16:43.204Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-06T13:16:43.204Z] [2021-08-06T13:16:43.204Z] Login Succeeded [2021-08-06T13:16:43.204Z] nexus3.edgexfoundry.org:10002 [2021-08-06T13:16:43.204Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-06T13:16:43.204Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-06T13:16:43.204Z] Configure a credential helper to remove this warning. See [2021-08-06T13:16:43.204Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-06T13:16:43.204Z] [2021-08-06T13:16:43.204Z] Login Succeeded [2021-08-06T13:16:43.204Z] nexus3.edgexfoundry.org:10003 [2021-08-06T13:16:43.204Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-06T13:16:43.204Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-06T13:16:43.204Z] Configure a credential helper to remove this warning. See [2021-08-06T13:16:43.204Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-06T13:16:43.204Z] [2021-08-06T13:16:43.204Z] Login Succeeded [2021-08-06T13:16:43.204Z] nexus3.edgexfoundry.org:10004 [2021-08-06T13:16:43.204Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-06T13:16:43.481Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-06T13:16:43.481Z] Configure a credential helper to remove this warning. See [2021-08-06T13:16:43.481Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-06T13:16:43.481Z] [2021-08-06T13:16:43.481Z] Login Succeeded [2021-08-06T13:16:43.481Z] docker.io [2021-08-06T13:16:43.756Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-06T13:16:44.353Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-06T13:16:44.353Z] Configure a credential helper to remove this warning. See [2021-08-06T13:16:44.353Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-06T13:16:44.353Z] [2021-08-06T13:16:44.353Z] Login Succeeded [2021-08-06T13:16:44.353Z] ---> docker-login.sh ends [Pipeline] } [2021-08-06T13:16:44.434Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-08-06T13:16:44.955Z] ========================================================= [2021-08-06T13:16:44.955Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2021-08-06T13:16:44.955Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-08-06T13:16:45.399Z] + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . [2021-08-06T13:16:47.204Z] Running on prd-centos7-docker-4c-2g-2244 in /w/workspace/edgexfoundry_device-sdk-c_PR-357 [Pipeline] { [Pipeline] ws [2021-08-06T13:16:47.223Z] Sending build context to Docker daemon 2.722MB [2021-08-06T13:16:47.223Z] Step 1/25 : ARG BASE=alpine:3.12 [2021-08-06T13:16:47.223Z] Step 2/25 : FROM ${BASE} as builder [2021-08-06T13:16:47.223Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2021-08-06T13:16:47.223Z] d2f70382dc9a: Pulling fs layer [2021-08-06T13:16:47.223Z] b08cc2eccb4b: Pulling fs layer [2021-08-06T13:16:47.223Z] 7b69db201801: Pulling fs layer [2021-08-06T13:16:47.223Z] b08cc2eccb4b: Verifying Checksum [2021-08-06T13:16:47.223Z] b08cc2eccb4b: Download complete [2021-08-06T13:16:47.223Z] d2f70382dc9a: Verifying Checksum [2021-08-06T13:16:47.223Z] d2f70382dc9a: Download complete [2021-08-06T13:16:47.223Z] d2f70382dc9a: Pull complete [2021-08-06T13:16:47.225Z] Running in /w/workspace/device-sdk-c/10 [Pipeline] { [Pipeline] checkout [2021-08-06T13:16:47.341Z] Selected Git installation does not exist. Using Default [2021-08-06T13:16:47.341Z] The recommended git tool is: NONE [2021-08-06T13:16:47.828Z] b08cc2eccb4b: Pull complete [2021-08-06T13:16:48.824Z] 7b69db201801: Download complete [2021-08-06T13:16:51.782Z] using credential edgex-jenkins-ssh [2021-08-06T13:16:51.798Z] Cloning the remote Git repository [2021-08-06T13:16:51.821Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-08-06T13:16:51.909Z] > git init /w/workspace/device-sdk-c/10 # timeout=10 [2021-08-06T13:16:51.944Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-08-06T13:16:51.944Z] > git --version # timeout=10 [2021-08-06T13:16:51.953Z] > git --version # 'git version 2.24.4' [2021-08-06T13:16:51.954Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-06T13:16:51.980Z] [INFO] Currently running in a labeled security context [2021-08-06T13:16:51.980Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-08-06T13:16:51.980Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/10@tmp/jenkins-gitclient-ssh4242459399308437406.key [2021-08-06T13:16:51.993Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-06T13:16:52.652Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-08-06T13:16:52.665Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-06T13:16:52.679Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-08-06T13:16:52.690Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-08-06T13:16:52.690Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-06T13:16:52.691Z] [INFO] Currently running in a labeled security context [2021-08-06T13:16:52.691Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-08-06T13:16:52.691Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/10@tmp/jenkins-gitclient-ssh2524729086046889350.key [2021-08-06T13:16:52.697Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/357/head:refs/remotes/origin/PR-357 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-08-06T13:16:53.195Z] Merging remotes/origin/main commit fe80442fa2f0db74f1d47f63cbba0c7b5c42b53a into PR head commit 18c66e74693b0dcf944d8eb774d259968cd08ab7 [2021-08-06T13:16:53.310Z] Merge succeeded, producing 18c66e74693b0dcf944d8eb774d259968cd08ab7 [2021-08-06T13:16:53.310Z] Checking out Revision 18c66e74693b0dcf944d8eb774d259968cd08ab7 (PR-357) [2021-08-06T13:16:53.205Z] > git config core.sparsecheckout # timeout=10 [2021-08-06T13:16:53.219Z] > git checkout -f 18c66e74693b0dcf944d8eb774d259968cd08ab7 # timeout=10 [2021-08-06T13:16:53.267Z] > git remote # timeout=10 [2021-08-06T13:16:53.271Z] > git config --get remote.origin.url # timeout=10 [2021-08-06T13:16:53.279Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-06T13:16:53.280Z] [INFO] Currently running in a labeled security context [2021-08-06T13:16:53.280Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-08-06T13:16:53.280Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/10@tmp/jenkins-gitclient-ssh3583078420425644626.key [2021-08-06T13:16:53.288Z] > git merge fe80442fa2f0db74f1d47f63cbba0c7b5c42b53a # timeout=10 [2021-08-06T13:16:53.300Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-08-06T13:16:53.312Z] > git config core.sparsecheckout # timeout=10 [2021-08-06T13:16:53.320Z] > git checkout -f 18c66e74693b0dcf944d8eb774d259968cd08ab7 # timeout=10 [2021-08-06T13:16:58.448Z] 7b69db201801: Pull complete [2021-08-06T13:16:58.448Z] Digest: sha256:6402f0ff92f22f5db569dc2a94aef5717e50795d64082fb226716824a8b8ffba [2021-08-06T13:16:58.448Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2021-08-06T13:16:58.448Z] ---> 759262b18b23 [2021-08-06T13:16:58.448Z] Step 3/25 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub [2021-08-06T13:16:58.448Z] ---> Running in 99b783de3984 [2021-08-06T13:16:58.616Z] Commit message: "update to use maps for receiving secrets" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-06T13:16:58.959Z] provisioning config files... [2021-08-06T13:16:58.976Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/10@tmp/config3946763658878304040tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-06T13:16:59.408Z] ---> docker-login.sh [2021-08-06T13:16:59.408Z] nexus3.edgexfoundry.org:10001 [2021-08-06T13:16:59.408Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-06T13:16:59.433Z] Connecting to iotech.jfrog.io (54.195.244.87:443) [2021-08-06T13:16:59.678Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-06T13:16:59.678Z] Configure a credential helper to remove this warning. See [2021-08-06T13:16:59.678Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-06T13:16:59.678Z] [2021-08-06T13:16:59.678Z] Login Succeeded [2021-08-06T13:16:59.678Z] nexus3.edgexfoundry.org:10002 [2021-08-06T13:16:59.678Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-06T13:16:59.678Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-06T13:16:59.678Z] Configure a credential helper to remove this warning. See [2021-08-06T13:16:59.678Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-06T13:16:59.678Z] [2021-08-06T13:16:59.678Z] Login Succeeded [2021-08-06T13:16:59.678Z] nexus3.edgexfoundry.org:10003 [2021-08-06T13:16:59.678Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-06T13:16:59.950Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-06T13:16:59.950Z] Configure a credential helper to remove this warning. See [2021-08-06T13:16:59.950Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-06T13:16:59.950Z] [2021-08-06T13:16:59.950Z] Login Succeeded [2021-08-06T13:16:59.950Z] nexus3.edgexfoundry.org:10004 [2021-08-06T13:16:59.950Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-06T13:16:59.950Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-06T13:16:59.950Z] Configure a credential helper to remove this warning. See [2021-08-06T13:16:59.950Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-06T13:16:59.950Z] [2021-08-06T13:16:59.950Z] Login Succeeded [2021-08-06T13:16:59.950Z] docker.io [2021-08-06T13:17:00.028Z] saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-08-06T13:17:00.028Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-08-06T13:17:00.028Z] '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [2021-08-06T13:17:00.218Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-06T13:17:00.485Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-06T13:17:00.485Z] Configure a credential helper to remove this warning. See [2021-08-06T13:17:00.485Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-06T13:17:00.485Z] [2021-08-06T13:17:00.485Z] Login Succeeded [2021-08-06T13:17:00.485Z] ---> docker-login.sh ends [Pipeline] } [2021-08-06T13:17:00.535Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-08-06T13:17:00.713Z] ========================================================= [2021-08-06T13:17:00.713Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2021-08-06T13:17:00.713Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-08-06T13:17:01.012Z] Removing intermediate container 99b783de3984 [2021-08-06T13:17:01.012Z] ---> 5f5449154d01 [2021-08-06T13:17:01.012Z] Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-08-06T13:17:01.037Z] + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . [2021-08-06T13:17:01.037Z] Sending build context to Docker daemon 2.723MB [2021-08-06T13:17:01.037Z] Step 1/25 : ARG BASE=alpine:3.12 [2021-08-06T13:17:01.037Z] Step 2/25 : FROM ${BASE} as builder [2021-08-06T13:17:01.288Z] ---> Running in 43b7acb963d0 [2021-08-06T13:17:01.307Z] latest: Pulling from edgex-devops/edgex-gcc-base [2021-08-06T13:17:01.307Z] 339de151aab4: Pulling fs layer [2021-08-06T13:17:01.307Z] 3691962f683c: Pulling fs layer [2021-08-06T13:17:01.307Z] e1147bf81a45: Pulling fs layer [2021-08-06T13:17:01.307Z] 3691962f683c: Verifying Checksum [2021-08-06T13:17:01.307Z] 3691962f683c: Download complete [2021-08-06T13:17:01.307Z] 339de151aab4: Verifying Checksum [2021-08-06T13:17:01.307Z] 339de151aab4: Download complete [2021-08-06T13:17:01.578Z] 339de151aab4: Pull complete [2021-08-06T13:17:01.578Z] 3691962f683c: Pull complete [2021-08-06T13:17:03.926Z] Removing intermediate container 43b7acb963d0 [2021-08-06T13:17:03.926Z] ---> 479d3a76f3e6 [2021-08-06T13:17:03.926Z] Step 5/25 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev hiredis-dev [2021-08-06T13:17:03.926Z] ---> Running in 942e88821538 [2021-08-06T13:17:04.904Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-08-06T13:17:05.837Z] e1147bf81a45: Verifying Checksum [2021-08-06T13:17:05.837Z] e1147bf81a45: Download complete [2021-08-06T13:17:05.880Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-08-06T13:17:06.852Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz [2021-08-06T13:17:07.445Z] (1/22) Installing hiredis (0.14.1-r0) [2021-08-06T13:17:07.445Z] (2/22) Installing hiredis-dev (0.14.1-r0) [2021-08-06T13:17:07.716Z] (3/22) Installing ncurses-dev (6.2_p20200523-r0) [2021-08-06T13:17:07.716Z] (4/22) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-08-06T13:17:07.800Z] e1147bf81a45: Pull complete [2021-08-06T13:17:07.800Z] Digest: sha256:32c567f17180c4abff101a0d389449dec7f3f623a221c8a8ae98dcac9b0d9fee [2021-08-06T13:17:07.800Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2021-08-06T13:17:07.800Z] ---> ac6a0feb3254 [2021-08-06T13:17:07.800Z] Step 3/25 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub [2021-08-06T13:17:08.776Z] ---> Running in 3f516e339831 [2021-08-06T13:17:09.048Z] Connecting to iotech.jfrog.io (54.170.66.44:443) [2021-08-06T13:17:09.149Z] (5/22) Installing libblkid (2.35.2-r0) [2021-08-06T13:17:09.422Z] (6/22) Installing blkid (2.35.2-r0) [2021-08-06T13:17:09.632Z] saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-08-06T13:17:09.633Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-08-06T13:17:09.633Z] '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [2021-08-06T13:17:09.633Z] Removing intermediate container 3f516e339831 [2021-08-06T13:17:09.633Z] ---> 6fb3ac6386e1 [2021-08-06T13:17:09.633Z] Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-08-06T13:17:09.633Z] ---> Running in 8362505bf147 [2021-08-06T13:17:09.701Z] (7/22) Installing libcap-ng (0.7.10-r1) [2021-08-06T13:17:09.701Z] (8/22) Installing setpriv (2.35.2-r0) [2021-08-06T13:17:09.701Z] (9/22) Installing libmount (2.35.2-r0) [2021-08-06T13:17:09.974Z] (10/22) Installing libsmartcols (2.35.2-r0) [2021-08-06T13:17:09.974Z] (11/22) Installing findmnt (2.35.2-r0) [2021-08-06T13:17:10.217Z] Removing intermediate container 8362505bf147 [2021-08-06T13:17:10.217Z] ---> 4ee6b86b4ef9 [2021-08-06T13:17:10.217Z] Step 5/25 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev hiredis-dev [2021-08-06T13:17:10.217Z] ---> Running in 9dc75be6d875 [2021-08-06T13:17:10.247Z] (12/22) Installing mcookie (2.35.2-r0) [2021-08-06T13:17:10.247Z] (13/22) Installing hexdump (2.35.2-r0) [2021-08-06T13:17:10.247Z] (14/22) Installing lsblk (2.35.2-r0) [2021-08-06T13:17:10.485Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-08-06T13:17:10.521Z] (15/22) Installing libuuid (2.35.2-r0) [2021-08-06T13:17:10.521Z] (16/22) Installing libfdisk (2.35.2-r0) [2021-08-06T13:17:10.521Z] (17/22) Installing sfdisk (2.35.2-r0) [2021-08-06T13:17:10.798Z] (18/22) Installing cfdisk (2.35.2-r0) [2021-08-06T13:17:10.798Z] (19/22) Installing util-linux (2.35.2-r0) [2021-08-06T13:17:11.073Z] (20/22) Installing util-linux-dev (2.35.2-r0) [2021-08-06T13:17:11.346Z] (21/22) Installing libidn2 (2.3.0-r0) [2021-08-06T13:17:11.346Z] (22/22) Installing wget (1.20.3-r1) [2021-08-06T13:17:11.454Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-08-06T13:17:11.619Z] Executing busybox-1.31.1-r20.trigger [2021-08-06T13:17:11.619Z] OK: 276 MiB in 97 packages [2021-08-06T13:17:12.419Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz [2021-08-06T13:17:13.006Z] (1/22) Installing hiredis (0.14.1-r0) [2021-08-06T13:17:13.006Z] (2/22) Installing hiredis-dev (0.14.1-r0) [2021-08-06T13:17:13.273Z] (3/22) Installing ncurses-dev (6.2_p20200523-r0) [2021-08-06T13:17:13.273Z] (4/22) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-08-06T13:17:13.603Z] Removing intermediate container 942e88821538 [2021-08-06T13:17:13.603Z] ---> e8f0bef0558d [2021-08-06T13:17:13.603Z] Step 6/25 : ENV CBOR_VERSION=0.5.0 [2021-08-06T13:17:13.877Z] ---> Running in 6e6cb31c90ef [2021-08-06T13:17:14.477Z] Removing intermediate container 6e6cb31c90ef [2021-08-06T13:17:14.477Z] ---> 8edd7f192045 [2021-08-06T13:17:14.478Z] Step 7/25 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install [2021-08-06T13:17:14.478Z] ---> Running in d09d8e1dd2dd [2021-08-06T13:17:14.680Z] (5/22) Installing libblkid (2.35.2-r0) [2021-08-06T13:17:14.952Z] (6/22) Installing blkid (2.35.2-r0) [2021-08-06T13:17:14.952Z] (7/22) Installing libcap-ng (0.7.10-r1) [2021-08-06T13:17:14.952Z] (8/22) Installing setpriv (2.35.2-r0) [2021-08-06T13:17:15.220Z] (9/22) Installing libmount (2.35.2-r0) [2021-08-06T13:17:15.811Z] (10/22) Installing libsmartcols (2.35.2-r0) [2021-08-06T13:17:15.918Z] --2021-08-06 13:17:15-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-08-06T13:17:15.918Z] Resolving github.com (github.com)... 140.82.114.3 [2021-08-06T13:17:15.918Z] Connecting to github.com (github.com)|140.82.114.3|:443... connected. [2021-08-06T13:17:16.077Z] (11/22) Installing findmnt (2.35.2-r0) [2021-08-06T13:17:16.077Z] (12/22) Installing mcookie (2.35.2-r0) [2021-08-06T13:17:16.077Z] (13/22) Installing hexdump (2.35.2-r0) [2021-08-06T13:17:16.077Z] (14/22) Installing lsblk (2.35.2-r0) [2021-08-06T13:17:16.193Z] HTTP request sent, awaiting response... 302 Found [2021-08-06T13:17:16.193Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-08-06T13:17:16.193Z] --2021-08-06 13:17:15-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-08-06T13:17:16.193Z] Resolving codeload.github.com (codeload.github.com)... 140.82.114.9 [2021-08-06T13:17:16.193Z] Connecting to codeload.github.com (codeload.github.com)|140.82.114.9|:443... connected. [2021-08-06T13:17:16.193Z] HTTP request sent, awaiting response... 200 OK [2021-08-06T13:17:16.193Z] Length: unspecified [application/x-gzip] [2021-08-06T13:17:16.193Z] Saving to: 'STDOUT' [2021-08-06T13:17:16.193Z]  [2021-08-06T13:17:16.193Z] 0K .......... .......... .......... .......... .......... 1.22M [2021-08-06T13:17:16.345Z] (15/22) Installing libuuid (2.35.2-r0) [2021-08-06T13:17:16.345Z] (16/22) Installing libfdisk (2.35.2-r0) [2021-08-06T13:17:16.467Z] 50K .......... .......... .......... .......... .......... 2.46M [2021-08-06T13:17:16.467Z] 100K .......... .......... .......... .......... .......... 11.3M [2021-08-06T13:17:16.467Z] 150K .......... .......... .......... .......... .......... 3.16M [2021-08-06T13:17:16.467Z] 200K .......... .......... .......... .......... .......... 7.72M [2021-08-06T13:17:16.467Z] 250K .......... .......... .......... .......... .......... 4.28M [2021-08-06T13:17:16.467Z] 300K .......... .......... .......... .......... .......... 5.22M [2021-08-06T13:17:16.467Z] 350K .......... .......... .......... .......... .......... 4.32M [2021-08-06T13:17:16.467Z] 400K .......... .......... .......... .......... .......... 3.82M [2021-08-06T13:17:16.467Z] 450K .......... .......... .......... .......... .......... 3.53M [2021-08-06T13:17:16.467Z] 500K .......... .......... .......... .......... .......... 11.9M [2021-08-06T13:17:16.467Z] 550K .......... .......... .......... .......... .......... 1.37M [2021-08-06T13:17:16.467Z] 600K .......... .......... .......... .......... .......... 1.19M [2021-08-06T13:17:16.467Z] 650K .......... .......... .......... .......... .......... 2.08M [2021-08-06T13:17:16.467Z] 700K ..       3.35M=0.2s [2021-08-06T13:17:16.467Z] [2021-08-06T13:17:16.467Z] 2021-08-06 13:17:16 (2.75 MB/s) - written to stdout [719348] [2021-08-06T13:17:16.467Z] [2021-08-06T13:17:16.616Z] (17/22) Installing sfdisk (2.35.2-r0) [2021-08-06T13:17:16.616Z] (18/22) Installing cfdisk (2.35.2-r0) [2021-08-06T13:17:16.742Z] -- The C compiler identification is GNU 9.3.0 [2021-08-06T13:17:16.883Z] (19/22) Installing util-linux (2.35.2-r0) [2021-08-06T13:17:17.015Z] -- The CXX compiler identification is GNU 9.3.0 [2021-08-06T13:17:17.015Z] -- Check for working C compiler: /usr/bin/cc [2021-08-06T13:17:17.288Z] -- Check for working C compiler: /usr/bin/cc - works [2021-08-06T13:17:17.288Z] -- Detecting C compiler ABI info [2021-08-06T13:17:17.564Z] -- Detecting C compiler ABI info - done [2021-08-06T13:17:17.837Z] -- Detecting C compile features [2021-08-06T13:17:17.837Z] -- Detecting C compile features - done [2021-08-06T13:17:17.837Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-08-06T13:17:18.111Z] -- Check for working CXX compiler: /usr/bin/c++ - works [2021-08-06T13:17:18.111Z] -- Detecting CXX compiler ABI info [2021-08-06T13:17:18.385Z] -- Detecting CXX compiler ABI info - done [2021-08-06T13:17:18.385Z] -- Detecting CXX compile features [2021-08-06T13:17:18.385Z] -- Detecting CXX compile features - done [2021-08-06T13:17:18.385Z] -- Looking for include file endian.h [2021-08-06T13:17:18.659Z] -- Looking for include file endian.h - found [2021-08-06T13:17:18.659Z] -- Check if the system is big endian [2021-08-06T13:17:18.659Z] -- Searching 16 bit integer [2021-08-06T13:17:18.659Z] -- Looking for sys/types.h [2021-08-06T13:17:18.932Z] -- Looking for sys/types.h - found [2021-08-06T13:17:18.932Z] -- Looking for stdint.h [2021-08-06T13:17:19.205Z] -- Looking for stdint.h - found [2021-08-06T13:17:19.205Z] -- Looking for stddef.h [2021-08-06T13:17:19.476Z] (20/22) Installing util-linux-dev (2.35.2-r0) [2021-08-06T13:17:19.479Z] -- Looking for stddef.h - found [2021-08-06T13:17:19.479Z] -- Check size of unsigned short [2021-08-06T13:17:19.753Z] -- Check size of unsigned short - done [2021-08-06T13:17:19.753Z] -- Searching 16 bit integer - Using unsigned short [2021-08-06T13:17:20.026Z] -- Check if the system is big endian - little endian [2021-08-06T13:17:20.026Z] -- Check size of size_t [2021-08-06T13:17:20.298Z] -- Check size of size_t - done [2021-08-06T13:17:20.298Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-08-06T13:17:20.298Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-08-06T13:17:20.298Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-08-06T13:17:20.298Z] CMake did not find one. [2021-08-06T13:17:20.298Z] [2021-08-06T13:17:20.298Z] Could not find a package configuration file provided by "cJSON" with any of [2021-08-06T13:17:20.298Z] the following names: [2021-08-06T13:17:20.298Z] [2021-08-06T13:17:20.298Z] cJSONConfig.cmake [2021-08-06T13:17:20.298Z] cjson-config.cmake [2021-08-06T13:17:20.298Z] [2021-08-06T13:17:20.298Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-08-06T13:17:20.298Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-08-06T13:17:20.298Z] provides a separate development package or SDK, be sure it has been [2021-08-06T13:17:20.298Z] installed. [2021-08-06T13:17:20.298Z] [2021-08-06T13:17:20.298Z] [2021-08-06T13:17:20.298Z] -- Configuring done [2021-08-06T13:17:20.437Z] (21/22) Installing libidn2 (2.3.0-r0) [2021-08-06T13:17:20.572Z] -- Generating done [2021-08-06T13:17:20.572Z] -- Build files have been written to: /tmp/cbor [2021-08-06T13:17:20.572Z] Scanning dependencies of target cbor_shared [2021-08-06T13:17:20.703Z] (22/22) Installing wget (1.20.3-r1) [2021-08-06T13:17:20.843Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-08-06T13:17:21.289Z] Executing busybox-1.31.1-r20.trigger [2021-08-06T13:17:21.289Z] OK: 295 MiB in 97 packages [2021-08-06T13:17:21.437Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-08-06T13:17:21.873Z] Removing intermediate container 9dc75be6d875 [2021-08-06T13:17:21.873Z] ---> a223cf942247 [2021-08-06T13:17:21.874Z] Step 6/25 : ENV CBOR_VERSION=0.5.0 [2021-08-06T13:17:21.874Z] ---> Running in c74cb88e7000 [2021-08-06T13:17:21.874Z] Removing intermediate container c74cb88e7000 [2021-08-06T13:17:21.874Z] ---> 990e41e4ccc4 [2021-08-06T13:17:21.874Z] Step 7/25 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install [2021-08-06T13:17:21.874Z] ---> Running in 367bcb3da975 [2021-08-06T13:17:22.032Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-08-06T13:17:22.141Z] --2021-08-06 13:17:22-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-08-06T13:17:22.141Z] Resolving github.com (github.com)... 140.82.114.3 [2021-08-06T13:17:22.141Z] Connecting to github.com (github.com)|140.82.114.3|:443... connected. [2021-08-06T13:17:22.141Z] HTTP request sent, awaiting response... 302 Found [2021-08-06T13:17:22.141Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-08-06T13:17:22.141Z] --2021-08-06 13:17:22-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-08-06T13:17:22.305Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-08-06T13:17:22.409Z] Resolving codeload.github.com (codeload.github.com)... 140.82.114.9 [2021-08-06T13:17:22.409Z] Connecting to codeload.github.com (codeload.github.com)|140.82.114.9|:443... connected. [2021-08-06T13:17:22.409Z] HTTP request sent, awaiting response... 200 OK [2021-08-06T13:17:22.409Z] Length: unspecified [application/x-gzip] [2021-08-06T13:17:22.409Z] Saving to: 'STDOUT' [2021-08-06T13:17:22.409Z] [2021-08-06T13:17:22.409Z] 0K .......... .......... .......... .......... .......... 1.40M [2021-08-06T13:17:22.409Z] 50K .......... .......... .......... .......... .......... 2.74M [2021-08-06T13:17:22.409Z] 100K .......... .......... .......... .......... .......... 44.3M [2021-08-06T13:17:22.409Z] 150K .......... .......... .......... .......... .......... 3.04M [2021-08-06T13:17:22.409Z] 200K .......... .......... .......... .......... .......... 12.1M [2021-08-06T13:17:22.409Z] 250K .......... .......... .......... .......... .......... 7.43M [2021-08-06T13:17:22.409Z] 300K .......... .......... .......... .......... .......... 11.4M [2021-08-06T13:17:22.409Z] 350K .......... .......... .......... .......... .......... 9.68M [2021-08-06T13:17:22.409Z] 400K .......... .......... .......... .......... .......... 8.19M [2021-08-06T13:17:22.409Z] 450K .......... .......... .......... .......... .......... 14.6M [2021-08-06T13:17:22.681Z] 500K .......... .......... .......... .......... .......... 655K [2021-08-06T13:17:22.681Z] 550K .......... .......... .......... .......... .......... 53.0M [2021-08-06T13:17:22.681Z] 600K .......... .......... .......... .......... .......... 2.96M [2021-08-06T13:17:22.681Z] 650K .......... .......... .......... .......... .......... 7.65M [2021-08-06T13:17:22.681Z] 700K .. 1.53M=0.2s [2021-08-06T13:17:22.681Z] [2021-08-06T13:17:22.681Z] 2021-08-06 13:17:22 (3.42 MB/s) - written to stdout [719348] [2021-08-06T13:17:22.681Z] [2021-08-06T13:17:22.681Z] -- The C compiler identification is GNU 9.3.0 [2021-08-06T13:17:22.681Z] -- The CXX compiler identification is GNU 9.3.0 [2021-08-06T13:17:22.681Z] -- Check for working C compiler: /usr/bin/cc [2021-08-06T13:17:22.681Z] -- Check for working C compiler: /usr/bin/cc - works [2021-08-06T13:17:22.681Z] -- Detecting C compiler ABI info [2021-08-06T13:17:22.901Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-08-06T13:17:22.949Z] -- Detecting C compiler ABI info - done [2021-08-06T13:17:22.949Z] -- Detecting C compile features [2021-08-06T13:17:22.949Z] -- Detecting C compile features - done [2021-08-06T13:17:22.949Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-08-06T13:17:22.949Z] -- Check for working CXX compiler: /usr/bin/c++ - works [2021-08-06T13:17:22.949Z] -- Detecting CXX compiler ABI info [2021-08-06T13:17:22.949Z] -- Detecting CXX compiler ABI info - done [2021-08-06T13:17:22.949Z] -- Detecting CXX compile features [2021-08-06T13:17:22.949Z] -- Detecting CXX compile features - done [2021-08-06T13:17:22.949Z] -- Looking for include file endian.h [2021-08-06T13:17:22.949Z] -- Looking for include file endian.h - found [2021-08-06T13:17:22.949Z] -- Check if the system is big endian [2021-08-06T13:17:22.949Z] -- Searching 16 bit integer [2021-08-06T13:17:22.949Z] -- Looking for sys/types.h [2021-08-06T13:17:23.173Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-08-06T13:17:23.173Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-08-06T13:17:23.216Z] -- Looking for sys/types.h - found [2021-08-06T13:17:23.216Z] -- Looking for stdint.h [2021-08-06T13:17:23.216Z] -- Looking for stdint.h - found [2021-08-06T13:17:23.216Z] -- Looking for stddef.h [2021-08-06T13:17:23.216Z] -- Looking for stddef.h - found [2021-08-06T13:17:23.216Z] -- Check size of unsigned short [2021-08-06T13:17:23.447Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-08-06T13:17:23.484Z] -- Check size of unsigned short - done [2021-08-06T13:17:23.484Z] -- Searching 16 bit integer - Using unsigned short [2021-08-06T13:17:23.484Z] -- Check if the system is big endian - little endian [2021-08-06T13:17:23.484Z] -- Check size of size_t [2021-08-06T13:17:23.484Z] -- Check size of size_t - done [2021-08-06T13:17:23.484Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-08-06T13:17:23.484Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-08-06T13:17:23.484Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-08-06T13:17:23.484Z] CMake did not find one. [2021-08-06T13:17:23.484Z] [2021-08-06T13:17:23.485Z] Could not find a package configuration file provided by "cJSON" with any of [2021-08-06T13:17:23.485Z] the following names: [2021-08-06T13:17:23.485Z] [2021-08-06T13:17:23.485Z] cJSONConfig.cmake [2021-08-06T13:17:23.485Z] cjson-config.cmake [2021-08-06T13:17:23.485Z] [2021-08-06T13:17:23.485Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-08-06T13:17:23.485Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-08-06T13:17:23.485Z] provides a separate development package or SDK, be sure it has been [2021-08-06T13:17:23.485Z] installed. [2021-08-06T13:17:23.485Z] [2021-08-06T13:17:23.485Z] [2021-08-06T13:17:23.485Z] -- Configuring done [2021-08-06T13:17:23.485Z] -- Generating done [2021-08-06T13:17:23.485Z] -- Build files have been written to: /tmp/cbor [2021-08-06T13:17:23.485Z] Scanning dependencies of target cbor_shared [2021-08-06T13:17:23.720Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-08-06T13:17:23.752Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-08-06T13:17:23.752Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-08-06T13:17:23.752Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-08-06T13:17:23.992Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-08-06T13:17:24.019Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-08-06T13:17:24.019Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-08-06T13:17:24.019Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-08-06T13:17:24.019Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-08-06T13:17:24.285Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-08-06T13:17:24.285Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-08-06T13:17:24.285Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-08-06T13:17:24.285Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-08-06T13:17:24.551Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-08-06T13:17:24.551Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-08-06T13:17:24.551Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-08-06T13:17:24.551Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-08-06T13:17:26.274Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-08-06T13:17:26.274Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-08-06T13:17:26.274Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-08-06T13:17:26.274Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-08-06T13:17:26.274Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-08-06T13:17:26.274Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-08-06T13:17:26.274Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-08-06T13:17:26.285Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-08-06T13:17:26.285Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-08-06T13:17:26.285Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-08-06T13:17:26.285Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-08-06T13:17:26.285Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-08-06T13:17:26.285Z] [ 40%] Linking C shared library libcbor.so [2021-08-06T13:17:26.285Z] [ 40%] Built target cbor_shared [2021-08-06T13:17:26.285Z] Scanning dependencies of target cbor [2021-08-06T13:17:26.285Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-08-06T13:17:26.285Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-08-06T13:17:26.285Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-08-06T13:17:26.285Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-08-06T13:17:26.285Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-08-06T13:17:26.285Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-08-06T13:17:26.285Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-08-06T13:17:26.285Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-08-06T13:17:26.285Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-08-06T13:17:26.285Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-08-06T13:17:26.285Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-08-06T13:17:26.285Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-08-06T13:17:26.285Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-08-06T13:17:26.285Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-08-06T13:17:26.285Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-08-06T13:17:26.285Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-08-06T13:17:26.549Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-08-06T13:17:26.559Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-08-06T13:17:26.559Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-08-06T13:17:26.559Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-08-06T13:17:26.559Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-08-06T13:17:26.559Z] [ 80%] Linking C static library libcbor.a [2021-08-06T13:17:26.559Z] [ 80%] Built target cbor [2021-08-06T13:17:26.559Z] Scanning dependencies of target sort [2021-08-06T13:17:26.559Z] [ 82%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-08-06T13:17:26.821Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-08-06T13:17:26.828Z] [ 84%] Linking C executable sort [2021-08-06T13:17:26.828Z] [ 84%] Built target sort [2021-08-06T13:17:26.828Z] Scanning dependencies of target readfile [2021-08-06T13:17:26.828Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-08-06T13:17:26.828Z] [ 88%] Linking C executable readfile [2021-08-06T13:17:26.828Z] [ 88%] Built target readfile [2021-08-06T13:17:26.828Z] Scanning dependencies of target streaming_parser [2021-08-06T13:17:26.829Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-08-06T13:17:26.829Z] [ 92%] Linking C executable streaming_parser [2021-08-06T13:17:26.829Z] [ 92%] Built target streaming_parser [2021-08-06T13:17:26.829Z] Scanning dependencies of target hello [2021-08-06T13:17:26.829Z] [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-08-06T13:17:27.097Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-08-06T13:17:27.097Z] [ 40%] Linking C shared library libcbor.so [2021-08-06T13:17:27.097Z] [ 96%] Linking C executable hello [2021-08-06T13:17:27.097Z] [ 96%] Built target hello [2021-08-06T13:17:27.097Z] Scanning dependencies of target create_items [2021-08-06T13:17:27.097Z] [ 98%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-08-06T13:17:27.097Z] [100%] Linking C executable create_items [2021-08-06T13:17:27.097Z] [100%] Built target create_items [2021-08-06T13:17:27.097Z] Install the project... [2021-08-06T13:17:27.097Z] -- Install configuration: "Release" [2021-08-06T13:17:27.097Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-08-06T13:17:27.097Z] -- Installing: /usr/local/lib64/libcbor.a [2021-08-06T13:17:27.097Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-08-06T13:17:27.097Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-08-06T13:17:27.097Z] -- Installing: /usr/local/lib64/libcbor.so [2021-08-06T13:17:27.097Z] -- Up-to-date: /usr/local/include/cbor [2021-08-06T13:17:27.097Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-08-06T13:17:27.097Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-08-06T13:17:27.097Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-08-06T13:17:27.097Z] -- Installing: /usr/local/include/cbor/common.h [2021-08-06T13:17:27.097Z] -- Installing: /usr/local/include/cbor/data.h [2021-08-06T13:17:27.097Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-08-06T13:17:27.097Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-08-06T13:17:27.097Z] -- Installing: /usr/local/include/cbor/internal [2021-08-06T13:17:27.097Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-08-06T13:17:27.097Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-08-06T13:17:27.097Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-08-06T13:17:27.097Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-08-06T13:17:27.097Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-08-06T13:17:27.097Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-08-06T13:17:27.097Z] -- Installing: /usr/local/include/cbor/ints.h [2021-08-06T13:17:27.097Z] -- Installing: /usr/local/include/cbor/maps.h [2021-08-06T13:17:27.097Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-08-06T13:17:27.097Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-08-06T13:17:27.097Z] -- Installing: /usr/local/include/cbor/strings.h [2021-08-06T13:17:27.097Z] -- Installing: /usr/local/include/cbor/tags.h [2021-08-06T13:17:27.097Z] -- Installing: /usr/local/include/cbor.h [2021-08-06T13:17:27.097Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-08-06T13:17:27.373Z] [ 40%] Built target cbor_shared [2021-08-06T13:17:27.373Z] Scanning dependencies of target cbor [2021-08-06T13:17:27.373Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-08-06T13:17:27.697Z] Removing intermediate container 367bcb3da975 [2021-08-06T13:17:27.697Z] ---> e7726b0e9207 [2021-08-06T13:17:27.697Z] Step 8/25 : RUN mkdir /tmp/sdk [2021-08-06T13:17:27.697Z] ---> Running in 596753a5bc45 [2021-08-06T13:17:28.283Z] Removing intermediate container 596753a5bc45 [2021-08-06T13:17:28.283Z] ---> 9f3fa6b8c84b [2021-08-06T13:17:28.283Z] Step 9/25 : COPY VERSION /tmp/sdk [2021-08-06T13:17:28.283Z] ---> 0fbed8b73c71 [2021-08-06T13:17:28.283Z] Step 10/25 : COPY src /tmp/sdk/src [2021-08-06T13:17:28.354Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-08-06T13:17:28.550Z] ---> a2022af9b1e5 [2021-08-06T13:17:28.551Z] Step 11/25 : COPY include /tmp/sdk/include [2021-08-06T13:17:28.627Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-08-06T13:17:28.823Z] ---> 8083d78089ba [2021-08-06T13:17:28.823Z] Step 12/25 : COPY scripts /tmp/sdk/scripts [2021-08-06T13:17:28.823Z] ---> 65908d20a6d1 [2021-08-06T13:17:28.823Z] Step 13/25 : COPY LICENSE /tmp/sdk [2021-08-06T13:17:28.903Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-08-06T13:17:29.190Z] ---> edc70071a48f [2021-08-06T13:17:29.191Z] Step 14/25 : COPY Attribution.txt /tmp/sdk [2021-08-06T13:17:29.834Z] ---> 65ab2e24200a [2021-08-06T13:17:29.834Z] Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-08-06T13:17:29.834Z] ---> Running in 65667b601ed1 [2021-08-06T13:17:30.796Z] + CPPCHECK=false [2021-08-06T13:17:30.796Z] + DOCGEN=false [2021-08-06T13:17:30.796Z] + TOMLVER=SDK-0.2 [2021-08-06T13:17:30.796Z] + CUTILVER=1.1.4 [2021-08-06T13:17:30.796Z] + '[' 0 -gt 0 ] [2021-08-06T13:17:30.796Z] + readlink -f ./scripts/build.sh [2021-08-06T13:17:30.796Z] + dirname /tmp/sdk/scripts/build.sh [2021-08-06T13:17:30.796Z] + dirname /tmp/sdk/scripts [2021-08-06T13:17:30.796Z] + ROOT=/tmp/sdk [2021-08-06T13:17:30.796Z] + cd /tmp/sdk [2021-08-06T13:17:30.796Z] + '[' '!' -d deps ] [2021-08-06T13:17:30.796Z] + mkdir deps [2021-08-06T13:17:30.796Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-08-06T13:17:30.796Z] + tar -C deps -z -x -f - [2021-08-06T13:17:30.796Z] --2021-08-06 13:17:30-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-08-06T13:17:30.796Z] Resolving github.com (github.com)... 140.82.114.3 [2021-08-06T13:17:30.796Z] Connecting to github.com (github.com)|140.82.114.3|:443... connected. [2021-08-06T13:17:30.796Z] HTTP request sent, awaiting response... 302 Found [2021-08-06T13:17:30.796Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-08-06T13:17:30.796Z] --2021-08-06 13:17:30-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-08-06T13:17:30.796Z] Resolving codeload.github.com (codeload.github.com)... 140.82.114.9 [2021-08-06T13:17:30.796Z] Connecting to codeload.github.com (codeload.github.com)|140.82.114.9|:443... connected. [2021-08-06T13:17:30.796Z] HTTP request sent, awaiting response... 200 OK [2021-08-06T13:17:30.796Z] Length: unspecified [application/x-gzip] [2021-08-06T13:17:30.796Z] Saving to: 'STDOUT' [2021-08-06T13:17:30.796Z]  [2021-08-06T13:17:30.870Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-08-06T13:17:30.870Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-08-06T13:17:31.065Z] 0K .......... ...... 842K=0.02s [2021-08-06T13:17:31.065Z] [2021-08-06T13:17:31.065Z] 2021-08-06 13:17:30 (842 KB/s) - written to stdout [16451] [2021-08-06T13:17:31.065Z] [2021-08-06T13:17:31.065Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-08-06T13:17:31.065Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-08-06T13:17:31.065Z] + tar -C deps -z -x -f - [2021-08-06T13:17:31.065Z] --2021-08-06 13:17:30-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-08-06T13:17:31.065Z] Resolving github.com (github.com)... 140.82.114.3 [2021-08-06T13:17:31.065Z] Connecting to github.com (github.com)|140.82.114.3|:443... connected. [2021-08-06T13:17:31.065Z] HTTP request sent, awaiting response... 302 Found [2021-08-06T13:17:31.065Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] [2021-08-06T13:17:31.065Z] --2021-08-06 13:17:30-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [2021-08-06T13:17:31.065Z] Resolving codeload.github.com (codeload.github.com)... 140.82.114.9 [2021-08-06T13:17:31.065Z] Connecting to codeload.github.com (codeload.github.com)|140.82.114.9|:443... connected. [2021-08-06T13:17:31.144Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-08-06T13:17:31.144Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-08-06T13:17:31.332Z] HTTP request sent, awaiting response... 200 OK [2021-08-06T13:17:31.332Z] Length: unspecified [application/x-gzip] [2021-08-06T13:17:31.332Z] Saving to: 'STDOUT' [2021-08-06T13:17:31.332Z]  [2021-08-06T13:17:31.332Z] 0K .......... .......... .......... .......... .......... 1.37M [2021-08-06T13:17:31.332Z] 50K .......... .......... .......... .......... .......... 2.61M [2021-08-06T13:17:31.332Z] 100K .......... .......... .......... .......... .......... 31.9M [2021-08-06T13:17:31.332Z] 150K .......... .......... ....... 5.54M=0.06s [2021-08-06T13:17:31.332Z] [2021-08-06T13:17:31.332Z] 2021-08-06 13:17:31 (2.85 MB/s) - written to stdout [181796] [2021-08-06T13:17:31.332Z] [2021-08-06T13:17:31.332Z] + mkdir -p src/c/iot [2021-08-06T13:17:31.332Z] + cp deps/iotech-c-utils-1.1.4/src/c/base64.c deps/iotech-c-utils-1.1.4/src/c/component.c deps/iotech-c-utils-1.1.4/src/c/config.c deps/iotech-c-utils-1.1.4/src/c/container.c deps/iotech-c-utils-1.1.4/src/c/data.c deps/iotech-c-utils-1.1.4/src/c/hash.c deps/iotech-c-utils-1.1.4/src/c/iot.c deps/iotech-c-utils-1.1.4/src/c/json.c deps/iotech-c-utils-1.1.4/src/c/logger.c deps/iotech-c-utils-1.1.4/src/c/os.c deps/iotech-c-utils-1.1.4/src/c/scheduler.c deps/iotech-c-utils-1.1.4/src/c/thread.c deps/iotech-c-utils-1.1.4/src/c/threadpool.c deps/iotech-c-utils-1.1.4/src/c/time.c deps/iotech-c-utils-1.1.4/src/c/yxml.c src/c/iot [2021-08-06T13:17:31.332Z] + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot [2021-08-06T13:17:31.332Z] + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot [2021-08-06T13:17:31.332Z] + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot [2021-08-06T13:17:31.332Z] + mkdir -p include/iot [2021-08-06T13:17:31.332Z] + cp deps/iotech-c-utils-1.1.4/include/iot/base64.h deps/iotech-c-utils-1.1.4/include/iot/component.h deps/iotech-c-utils-1.1.4/include/iot/config.h deps/iotech-c-utils-1.1.4/include/iot/container.h deps/iotech-c-utils-1.1.4/include/iot/data.h deps/iotech-c-utils-1.1.4/include/iot/hash.h deps/iotech-c-utils-1.1.4/include/iot/iot.h deps/iotech-c-utils-1.1.4/include/iot/json.h deps/iotech-c-utils-1.1.4/include/iot/logger.h deps/iotech-c-utils-1.1.4/include/iot/os.h deps/iotech-c-utils-1.1.4/include/iot/scheduler.h deps/iotech-c-utils-1.1.4/include/iot/thread.h deps/iotech-c-utils-1.1.4/include/iot/threadpool.h deps/iotech-c-utils-1.1.4/include/iot/time.h deps/iotech-c-utils-1.1.4/include/iot/typecode.h include/iot [2021-08-06T13:17:31.332Z] + mkdir -p include/iot/os [2021-08-06T13:17:31.332Z] + cp deps/iotech-c-utils-1.1.4/include/iot/os/linux.h deps/iotech-c-utils-1.1.4/include/iot/os/macos.h deps/iotech-c-utils-1.1.4/include/iot/os/zephyr.h include/iot/os [2021-08-06T13:17:31.332Z] + mkdir -p /tmp/sdk/build/release [2021-08-06T13:17:31.332Z] + cd /tmp/sdk/build/release [2021-08-06T13:17:31.333Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-08-06T13:17:31.333Z] -- The C compiler identification is GNU 9.3.0 [2021-08-06T13:17:31.333Z] -- Check for working C compiler: /usr/bin/cc [2021-08-06T13:17:31.418Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-08-06T13:17:31.609Z] -- Check for working C compiler: /usr/bin/cc - works [2021-08-06T13:17:31.609Z] -- Detecting C compiler ABI info [2021-08-06T13:17:31.609Z] -- Detecting C compiler ABI info - done [2021-08-06T13:17:31.609Z] -- Detecting C compile features [2021-08-06T13:17:31.609Z] -- Detecting C compile features - done [2021-08-06T13:17:31.609Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-08-06T13:17:31.609Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") [2021-08-06T13:17:31.609Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-08-06T13:17:31.609Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-08-06T13:17:31.609Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-08-06T13:17:31.609Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-08-06T13:17:31.609Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-08-06T13:17:31.609Z] -- C SDK 0.0.0 for Linux [2021-08-06T13:17:31.609Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-08-06T13:17:31.609Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-08-06T13:17:31.609Z] -- Found Curses: /usr/lib/libcurses.so [2021-08-06T13:17:31.692Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-08-06T13:17:31.882Z] -- Configuring done [2021-08-06T13:17:31.882Z] -- Generating done [2021-08-06T13:17:31.882Z] -- Build files have been written to: /tmp/sdk/build/release [2021-08-06T13:17:31.882Z] + make all package [2021-08-06T13:17:31.882Z] + tee release.log [2021-08-06T13:17:31.882Z] Scanning dependencies of target csdk [2021-08-06T13:17:31.882Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-08-06T13:17:31.882Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-08-06T13:17:32.154Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-08-06T13:17:32.286Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-08-06T13:17:32.425Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-08-06T13:17:32.425Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-08-06T13:17:32.425Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-08-06T13:17:32.696Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-08-06T13:17:32.696Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-08-06T13:17:32.696Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-08-06T13:17:32.882Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-08-06T13:17:32.968Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-08-06T13:17:33.156Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-08-06T13:17:33.238Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-08-06T13:17:33.427Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-08-06T13:17:33.505Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-08-06T13:17:33.505Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-08-06T13:17:33.505Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-08-06T13:17:33.703Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-08-06T13:17:33.773Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-08-06T13:17:33.773Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-08-06T13:17:33.773Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-08-06T13:17:33.974Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-08-06T13:17:34.248Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-08-06T13:17:34.364Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-08-06T13:17:34.364Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-08-06T13:17:34.364Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-08-06T13:17:34.364Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-08-06T13:17:34.521Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-08-06T13:17:34.641Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-08-06T13:17:34.641Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-08-06T13:17:34.795Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-08-06T13:17:35.068Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-08-06T13:17:35.228Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-08-06T13:17:35.228Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-08-06T13:17:35.228Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-08-06T13:17:35.338Z] [ 80%] Linking C static library libcbor.a [2021-08-06T13:17:35.338Z] [ 80%] Built target cbor [2021-08-06T13:17:35.338Z] Scanning dependencies of target sort [2021-08-06T13:17:35.338Z] [ 82%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-08-06T13:17:35.497Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-08-06T13:17:35.497Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-08-06T13:17:35.497Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-08-06T13:17:35.615Z] [ 84%] Linking C executable sort [2021-08-06T13:17:35.615Z] [ 84%] Built target sort [2021-08-06T13:17:35.615Z] Scanning dependencies of target readfile [2021-08-06T13:17:35.767Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-08-06T13:17:35.767Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-08-06T13:17:35.767Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-08-06T13:17:35.889Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-08-06T13:17:35.889Z] [ 88%] Linking C executable readfile [2021-08-06T13:17:36.036Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-08-06T13:17:36.163Z] [ 88%] Built target readfile [2021-08-06T13:17:36.163Z] Scanning dependencies of target streaming_parser [2021-08-06T13:17:36.163Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-08-06T13:17:36.305Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-08-06T13:17:36.305Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-08-06T13:17:36.438Z] [ 92%] Linking C executable streaming_parser [2021-08-06T13:17:36.438Z] [ 92%] Built target streaming_parser [2021-08-06T13:17:36.438Z] Scanning dependencies of target hello [2021-08-06T13:17:36.438Z] [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-08-06T13:17:36.712Z] [ 96%] Linking C executable hello [2021-08-06T13:17:36.712Z] [ 96%] Built target hello [2021-08-06T13:17:36.712Z] Scanning dependencies of target create_items [2021-08-06T13:17:36.712Z] [ 98%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-08-06T13:17:36.782Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-08-06T13:17:36.782Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-08-06T13:17:36.986Z] [100%] Linking C executable create_items [2021-08-06T13:17:36.987Z] [100%] Built target create_items [2021-08-06T13:17:36.987Z] Install the project... [2021-08-06T13:17:36.987Z] -- Install configuration: "Release" [2021-08-06T13:17:36.987Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-08-06T13:17:36.987Z] -- Installing: /usr/local/lib64/libcbor.a [2021-08-06T13:17:36.987Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-08-06T13:17:36.987Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-08-06T13:17:36.987Z] -- Installing: /usr/local/lib64/libcbor.so [2021-08-06T13:17:36.987Z] -- Up-to-date: /usr/local/include/cbor [2021-08-06T13:17:36.987Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-08-06T13:17:36.987Z] -- Installing: /usr/local/include/cbor/ints.h [2021-08-06T13:17:36.987Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-08-06T13:17:36.987Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-08-06T13:17:36.987Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-08-06T13:17:36.987Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-08-06T13:17:36.987Z] -- Installing: /usr/local/include/cbor/data.h [2021-08-06T13:17:36.987Z] -- Installing: /usr/local/include/cbor/common.h [2021-08-06T13:17:36.987Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-08-06T13:17:36.987Z] -- Installing: /usr/local/include/cbor/strings.h [2021-08-06T13:17:36.987Z] -- Installing: /usr/local/include/cbor/tags.h [2021-08-06T13:17:36.987Z] -- Installing: /usr/local/include/cbor/internal [2021-08-06T13:17:36.987Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-08-06T13:17:36.987Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-08-06T13:17:36.987Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-08-06T13:17:36.987Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-08-06T13:17:36.987Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-08-06T13:17:36.987Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-08-06T13:17:36.987Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-08-06T13:17:36.987Z] -- Installing: /usr/local/include/cbor/maps.h [2021-08-06T13:17:36.987Z] -- Installing: /usr/local/include/cbor.h [2021-08-06T13:17:36.987Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-08-06T13:17:37.373Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-08-06T13:17:37.373Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-08-06T13:17:37.641Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-08-06T13:17:37.641Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-08-06T13:17:37.641Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-08-06T13:17:37.909Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-08-06T13:17:38.178Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-08-06T13:17:38.178Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-08-06T13:17:38.178Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-08-06T13:17:38.763Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-08-06T13:17:39.352Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-08-06T13:17:39.352Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-08-06T13:17:39.352Z] [ 75%] Linking C shared library libcsdk.so [2021-08-06T13:17:39.352Z] [ 75%] Built target csdk [2021-08-06T13:17:39.352Z] Scanning dependencies of target template [2021-08-06T13:17:39.352Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-08-06T13:17:39.617Z] Removing intermediate container d09d8e1dd2dd [2021-08-06T13:17:39.617Z] ---> d494e7e20864 [2021-08-06T13:17:39.617Z] Step 8/25 : RUN mkdir /tmp/sdk [2021-08-06T13:17:39.617Z] ---> Running in b40cd36b64c1 [2021-08-06T13:17:39.623Z] [ 78%] Linking C executable template [2021-08-06T13:17:39.623Z] [ 78%] Built target template [2021-08-06T13:17:39.623Z] Scanning dependencies of target device-counter [2021-08-06T13:17:39.623Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-08-06T13:17:39.623Z] [ 81%] Linking C executable device-counter [2021-08-06T13:17:39.899Z] [ 81%] Built target device-counter [2021-08-06T13:17:39.899Z] Scanning dependencies of target device-random [2021-08-06T13:17:39.899Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-08-06T13:17:39.899Z] [ 84%] Linking C executable device-random [2021-08-06T13:17:39.899Z] [ 84%] Built target device-random [2021-08-06T13:17:39.899Z] Scanning dependencies of target device-gyro [2021-08-06T13:17:39.899Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-08-06T13:17:40.170Z] [ 87%] Linking C executable device-gyro [2021-08-06T13:17:40.170Z] [ 87%] Built target device-gyro [2021-08-06T13:17:40.170Z] Scanning dependencies of target device-bitfields [2021-08-06T13:17:40.170Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-08-06T13:17:40.170Z] [ 90%] Linking C executable device-bitfields [2021-08-06T13:17:40.170Z] [ 90%] Built target device-bitfields [2021-08-06T13:17:40.170Z] Scanning dependencies of target template-discovery [2021-08-06T13:17:40.170Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-08-06T13:17:40.440Z] [ 93%] Linking C executable template-discovery [2021-08-06T13:17:40.440Z] [ 93%] Built target template-discovery [2021-08-06T13:17:40.440Z] Scanning dependencies of target device-file [2021-08-06T13:17:40.440Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-08-06T13:17:40.440Z] [ 96%] Linking C executable device-file [2021-08-06T13:17:40.718Z] [ 96%] Built target device-file [2021-08-06T13:17:40.718Z] Scanning dependencies of target device-terminal [2021-08-06T13:17:40.718Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-08-06T13:17:40.718Z] [100%] Linking C executable device-terminal [2021-08-06T13:17:40.718Z] [100%] Built target device-terminal [2021-08-06T13:17:40.718Z] Run CPack packaging tool... [2021-08-06T13:17:40.718Z] CPack: Create package using TGZ [2021-08-06T13:17:40.718Z] CPack: Install projects [2021-08-06T13:17:40.718Z] CPack: - Run preinstall target for: Csdk [2021-08-06T13:17:40.991Z] CPack: - Install project: Csdk [] [2021-08-06T13:17:40.991Z] CPack: Create package [2021-08-06T13:17:40.991Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-08-06T13:17:40.991Z] + '[' false '=' true ] [2021-08-06T13:17:40.991Z] + '[' false '=' true ] [2021-08-06T13:17:40.991Z] + mkdir -p /tmp/sdk/build/debug [2021-08-06T13:17:40.991Z] + cd /tmp/sdk/build/debug [2021-08-06T13:17:40.991Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-08-06T13:17:40.991Z] -- The C compiler identification is GNU 9.3.0 [2021-08-06T13:17:40.991Z] -- Check for working C compiler: /usr/bin/cc [2021-08-06T13:17:41.259Z] -- Check for working C compiler: /usr/bin/cc - works [2021-08-06T13:17:41.259Z] -- Detecting C compiler ABI info [2021-08-06T13:17:41.259Z] -- Detecting C compiler ABI info - done [2021-08-06T13:17:41.259Z] -- Detecting C compile features [2021-08-06T13:17:41.259Z] -- Detecting C compile features - done [2021-08-06T13:17:41.259Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-08-06T13:17:41.259Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") [2021-08-06T13:17:41.259Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-08-06T13:17:41.259Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-08-06T13:17:41.259Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-08-06T13:17:41.259Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-08-06T13:17:41.259Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-08-06T13:17:41.259Z] -- C SDK 0.0.0 for Linux [2021-08-06T13:17:41.259Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-08-06T13:17:41.259Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-08-06T13:17:41.528Z] -- Found Curses: /usr/lib/libcurses.so [2021-08-06T13:17:41.528Z] -- Configuring done [2021-08-06T13:17:41.528Z] -- Generating done [2021-08-06T13:17:41.528Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-08-06T13:17:41.528Z] + make [2021-08-06T13:17:41.528Z] + tee debug.log [2021-08-06T13:17:41.528Z] Scanning dependencies of target csdk [2021-08-06T13:17:41.528Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-08-06T13:17:41.528Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-08-06T13:17:41.528Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-08-06T13:17:41.795Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-08-06T13:17:41.795Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-08-06T13:17:41.795Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-08-06T13:17:42.063Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-08-06T13:17:42.063Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-08-06T13:17:42.063Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-08-06T13:17:42.063Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-08-06T13:17:42.253Z] Removing intermediate container b40cd36b64c1 [2021-08-06T13:17:42.253Z] ---> 95c8daa07357 [2021-08-06T13:17:42.253Z] Step 9/25 : COPY VERSION /tmp/sdk [2021-08-06T13:17:42.337Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-08-06T13:17:42.337Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-08-06T13:17:42.337Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-08-06T13:17:42.337Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-08-06T13:17:42.610Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-08-06T13:17:42.610Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-08-06T13:17:42.610Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-08-06T13:17:42.610Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-08-06T13:17:42.880Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-08-06T13:17:42.880Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-08-06T13:17:42.880Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-08-06T13:17:42.880Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-08-06T13:17:42.880Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-08-06T13:17:43.153Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-08-06T13:17:43.153Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-08-06T13:17:43.153Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-08-06T13:17:43.153Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-08-06T13:17:43.245Z] ---> 4d0e048e0908 [2021-08-06T13:17:43.245Z] Step 10/25 : COPY src /tmp/sdk/src [2021-08-06T13:17:43.424Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-08-06T13:17:43.424Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-08-06T13:17:43.424Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-08-06T13:17:43.424Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-08-06T13:17:43.424Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-08-06T13:17:43.697Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-08-06T13:17:43.697Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-08-06T13:17:43.697Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-08-06T13:17:43.697Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-08-06T13:17:43.966Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-08-06T13:17:43.966Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-08-06T13:17:44.229Z] ---> 985288aaaefd [2021-08-06T13:17:44.229Z] Step 11/25 : COPY include /tmp/sdk/include [2021-08-06T13:17:44.237Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-08-06T13:17:44.237Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-08-06T13:17:44.237Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-08-06T13:17:44.237Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-08-06T13:17:44.510Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-08-06T13:17:44.510Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-08-06T13:17:44.510Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-08-06T13:17:44.510Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-08-06T13:17:44.781Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-08-06T13:17:44.781Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-08-06T13:17:45.051Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-08-06T13:17:45.051Z] [ 75%] Linking C shared library libcsdk.so [2021-08-06T13:17:45.051Z] [ 75%] Built target csdk [2021-08-06T13:17:45.051Z] Scanning dependencies of target template [2021-08-06T13:17:45.051Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-08-06T13:17:45.051Z] [ 78%] Linking C executable template [2021-08-06T13:17:45.210Z] ---> 3e9c4a7ad83e [2021-08-06T13:17:45.210Z] Step 12/25 : COPY scripts /tmp/sdk/scripts [2021-08-06T13:17:45.325Z] [ 78%] Built target template [2021-08-06T13:17:45.325Z] Scanning dependencies of target device-counter [2021-08-06T13:17:45.325Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-08-06T13:17:45.325Z] [ 81%] Linking C executable device-counter [2021-08-06T13:17:45.325Z] [ 81%] Built target device-counter [2021-08-06T13:17:45.325Z] Scanning dependencies of target device-random [2021-08-06T13:17:45.325Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-08-06T13:17:45.325Z] [ 84%] Linking C executable device-random [2021-08-06T13:17:45.325Z] [ 84%] Built target device-random [2021-08-06T13:17:45.325Z] Scanning dependencies of target device-gyro [2021-08-06T13:17:45.595Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-08-06T13:17:45.595Z] [ 87%] Linking C executable device-gyro [2021-08-06T13:17:45.595Z] [ 87%] Built target device-gyro [2021-08-06T13:17:45.595Z] Scanning dependencies of target device-bitfields [2021-08-06T13:17:45.595Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-08-06T13:17:45.595Z] [ 90%] Linking C executable device-bitfields [2021-08-06T13:17:45.595Z] [ 90%] Built target device-bitfields [2021-08-06T13:17:45.595Z] Scanning dependencies of target template-discovery [2021-08-06T13:17:45.596Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-08-06T13:17:45.810Z] ---> 97d4871c04bf [2021-08-06T13:17:45.810Z] Step 13/25 : COPY LICENSE /tmp/sdk [2021-08-06T13:17:45.863Z] [ 93%] Linking C executable template-discovery [2021-08-06T13:17:45.863Z] [ 93%] Built target template-discovery [2021-08-06T13:17:45.863Z] Scanning dependencies of target device-file [2021-08-06T13:17:45.863Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-08-06T13:17:45.863Z] [ 96%] Linking C executable device-file [2021-08-06T13:17:45.863Z] [ 96%] Built target device-file [2021-08-06T13:17:45.863Z] Scanning dependencies of target device-terminal [2021-08-06T13:17:45.863Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-08-06T13:17:46.129Z] [100%] Linking C executable device-terminal [2021-08-06T13:17:46.129Z] [100%] Built target device-terminal [2021-08-06T13:17:46.129Z] make: Entering directory '/tmp/sdk/build/release' [2021-08-06T13:17:46.129Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-08-06T13:17:46.129Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-06T13:17:46.129Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-06T13:17:46.129Z] [ 75%] Built target csdk [2021-08-06T13:17:46.129Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-06T13:17:46.129Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-06T13:17:46.129Z] [ 78%] Built target template [2021-08-06T13:17:46.129Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-06T13:17:46.129Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-06T13:17:46.129Z] [ 81%] Built target device-counter [2021-08-06T13:17:46.129Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-06T13:17:46.129Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-06T13:17:46.129Z] [ 84%] Built target device-random [2021-08-06T13:17:46.129Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-06T13:17:46.129Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-06T13:17:46.129Z] [ 87%] Built target device-gyro [2021-08-06T13:17:46.129Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-06T13:17:46.129Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-06T13:17:46.129Z] [ 90%] Built target device-bitfields [2021-08-06T13:17:46.129Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-06T13:17:46.129Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-06T13:17:46.129Z] [ 93%] Built target template-discovery [2021-08-06T13:17:46.129Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-06T13:17:46.129Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-06T13:17:46.129Z] [ 96%] Built target device-file [2021-08-06T13:17:46.129Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-06T13:17:46.129Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-06T13:17:46.129Z] [100%] Built target device-terminal [2021-08-06T13:17:46.129Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-08-06T13:17:46.396Z] Install the project... [2021-08-06T13:17:46.396Z] -- Install configuration: "Release" [2021-08-06T13:17:46.396Z] -- Installing: /usr/local/lib/libcsdk.so [2021-08-06T13:17:46.396Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-08-06T13:17:46.396Z] -- Up-to-date: /usr/local/include [2021-08-06T13:17:46.396Z] -- Installing: /usr/local/include/devsdk [2021-08-06T13:17:46.396Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-08-06T13:17:46.396Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-08-06T13:17:46.396Z] -- Installing: /usr/local/include/edgex [2021-08-06T13:17:46.396Z] -- Installing: /usr/local/include/edgex/devices.h [2021-08-06T13:17:46.396Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-08-06T13:17:46.396Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-08-06T13:17:46.396Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-08-06T13:17:46.396Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-08-06T13:17:46.396Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-08-06T13:17:46.397Z] -- Installing: /usr/local/include/iot [2021-08-06T13:17:46.397Z] -- Installing: /usr/local/include/iot/base64.h [2021-08-06T13:17:46.397Z] -- Installing: /usr/local/include/iot/component.h [2021-08-06T13:17:46.397Z] -- Installing: /usr/local/include/iot/config.h [2021-08-06T13:17:46.397Z] -- Installing: /usr/local/include/iot/container.h [2021-08-06T13:17:46.397Z] -- Installing: /usr/local/include/iot/data.h [2021-08-06T13:17:46.397Z] -- Installing: /usr/local/include/iot/hash.h [2021-08-06T13:17:46.397Z] -- Installing: /usr/local/include/iot/iot.h [2021-08-06T13:17:46.397Z] -- Installing: /usr/local/include/iot/json.h [2021-08-06T13:17:46.397Z] -- Installing: /usr/local/include/iot/logger.h [2021-08-06T13:17:46.397Z] -- Installing: /usr/local/include/iot/os.h [2021-08-06T13:17:46.397Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-08-06T13:17:46.397Z] -- Installing: /usr/local/include/iot/thread.h [2021-08-06T13:17:46.397Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-08-06T13:17:46.397Z] -- Installing: /usr/local/include/iot/time.h [2021-08-06T13:17:46.397Z] -- Installing: /usr/local/include/iot/typecode.h [2021-08-06T13:17:46.397Z] -- Installing: /usr/local/include/iot/os [2021-08-06T13:17:46.397Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-08-06T13:17:46.397Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-08-06T13:17:46.397Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-08-06T13:17:46.397Z] -- Installing: /usr/local/include/iot/defs.h [2021-08-06T13:17:46.397Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-08-06T13:17:46.397Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-08-06T13:17:46.397Z] make: Leaving directory '/tmp/sdk/build/release' [2021-08-06T13:17:46.790Z] ---> b660a45f4275 [2021-08-06T13:17:46.790Z] Step 14/25 : COPY Attribution.txt /tmp/sdk [2021-08-06T13:17:46.983Z] Removing intermediate container 65667b601ed1 [2021-08-06T13:17:46.983Z] ---> ca61ab54a0e6 [2021-08-06T13:17:46.983Z] Step 16/25 : FROM ${BASE} [2021-08-06T13:17:46.983Z] ---> ac6a0feb3254 [2021-08-06T13:17:46.983Z] Step 17/25 : LABEL maintainer="IOTech " [2021-08-06T13:17:46.983Z] ---> Running in ced7510e8f12 [2021-08-06T13:17:46.983Z] Removing intermediate container ced7510e8f12 [2021-08-06T13:17:46.983Z] ---> 36989d1fca73 [2021-08-06T13:17:46.983Z] Step 18/25 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub [2021-08-06T13:17:46.983Z] ---> Running in c868a3d964f3 [2021-08-06T13:17:47.251Z] Connecting to iotech.jfrog.io (54.170.66.44:443) [2021-08-06T13:17:47.380Z] ---> 68dd704dde41 [2021-08-06T13:17:47.380Z] Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-08-06T13:17:47.525Z] saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-08-06T13:17:47.525Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-08-06T13:17:47.525Z] '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [2021-08-06T13:17:47.655Z] ---> Running in 4fc78e54603e [2021-08-06T13:17:47.796Z] Removing intermediate container c868a3d964f3 [2021-08-06T13:17:47.796Z] ---> 4ce5da790496 [2021-08-06T13:17:47.796Z] Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-08-06T13:17:47.796Z] ---> Running in db41cc8fa183 [2021-08-06T13:17:48.384Z] Removing intermediate container db41cc8fa183 [2021-08-06T13:17:48.384Z] ---> 71916d827767 [2021-08-06T13:17:48.384Z] Step 20/25 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid paho-mqtt-c-dev hiredis-dev [2021-08-06T13:17:48.384Z] ---> Running in e893638e2bb4 [2021-08-06T13:17:48.655Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-08-06T13:17:49.102Z] + CPPCHECK=false [2021-08-06T13:17:49.102Z] + DOCGEN=false [2021-08-06T13:17:49.102Z] + TOMLVER=SDK-0.2 [2021-08-06T13:17:49.102Z] + CUTILVER=1.1.4 [2021-08-06T13:17:49.102Z] + '[' 0 -gt 0 ] [2021-08-06T13:17:49.102Z] + readlink -f ./scripts/build.sh [2021-08-06T13:17:49.102Z] + dirname /tmp/sdk/scripts/build.sh [2021-08-06T13:17:49.102Z] + dirname /tmp/sdk/scripts [2021-08-06T13:17:49.102Z] + ROOT=/tmp/sdk [2021-08-06T13:17:49.102Z] + cd /tmp/sdk [2021-08-06T13:17:49.102Z] + '[' '!' -d deps ] [2021-08-06T13:17:49.102Z] + mkdir deps [2021-08-06T13:17:49.102Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-08-06T13:17:49.102Z] + tar -C deps -z -x -f - [2021-08-06T13:17:49.102Z] --2021-08-06 13:17:48-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-08-06T13:17:49.102Z] Resolving github.com (github.com)... 140.82.112.3 [2021-08-06T13:17:49.102Z] Connecting to github.com (github.com)|140.82.112.3|:443... connected. [2021-08-06T13:17:49.102Z] HTTP request sent, awaiting response... 302 Found [2021-08-06T13:17:49.102Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-08-06T13:17:49.102Z] --2021-08-06 13:17:48-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-08-06T13:17:49.102Z] Resolving codeload.github.com (codeload.github.com)... 140.82.114.9 [2021-08-06T13:17:49.102Z] Connecting to codeload.github.com (codeload.github.com)|140.82.114.9|:443... connected. [2021-08-06T13:17:49.102Z] HTTP request sent, awaiting response... 200 OK [2021-08-06T13:17:49.102Z] Length: unspecified [application/x-gzip] [2021-08-06T13:17:49.102Z] Saving to: 'STDOUT' [2021-08-06T13:17:49.102Z]  [2021-08-06T13:17:49.102Z] 0K .......... ......   898K=0.02s [2021-08-06T13:17:49.102Z] [2021-08-06T13:17:49.102Z] 2021-08-06 13:17:49 (898 KB/s) - written to stdout [16451] [2021-08-06T13:17:49.102Z] [2021-08-06T13:17:49.240Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-08-06T13:17:49.375Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-08-06T13:17:49.375Z] + + tarwget -C -O deps - -z https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz -x [2021-08-06T13:17:49.375Z] -f - [2021-08-06T13:17:49.375Z] --2021-08-06 13:17:49-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-08-06T13:17:49.375Z] Resolving github.com (github.com)... 140.82.112.3 [2021-08-06T13:17:49.375Z] Connecting to github.com (github.com)|140.82.112.3|:443... connected. [2021-08-06T13:17:49.513Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz [2021-08-06T13:17:49.648Z] HTTP request sent, awaiting response... 302 Found [2021-08-06T13:17:49.648Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] [2021-08-06T13:17:49.648Z] --2021-08-06 13:17:49-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [2021-08-06T13:17:49.648Z] Resolving codeload.github.com (codeload.github.com)... 140.82.114.9 [2021-08-06T13:17:49.648Z] Connecting to codeload.github.com (codeload.github.com)|140.82.114.9|:443... connected. [2021-08-06T13:17:49.648Z] HTTP request sent, awaiting response... 200 OK [2021-08-06T13:17:49.648Z] Length: unspecified [application/x-gzip] [2021-08-06T13:17:49.648Z] Saving to: 'STDOUT' [2021-08-06T13:17:49.648Z] [2021-08-06T13:17:49.648Z] 0K .......... .......... .......... .......... .......... 1.30M [2021-08-06T13:17:49.648Z] 50K .......... .......... .......... .......... .......... 2.63M [2021-08-06T13:17:49.648Z] 100K .......... .......... .......... .......... .......... 6.78M [2021-08-06T13:17:49.648Z] 150K .......... .......... ....... 1.53M=0.08s [2021-08-06T13:17:49.648Z] [2021-08-06T13:17:49.648Z] 2021-08-06 13:17:49 (2.14 MB/s) - written to stdout [181796] [2021-08-06T13:17:49.648Z] [2021-08-06T13:17:49.648Z] + mkdir -p src/c/iot [2021-08-06T13:17:49.648Z] + cp deps/iotech-c-utils-1.1.4/src/c/base64.c deps/iotech-c-utils-1.1.4/src/c/component.c deps/iotech-c-utils-1.1.4/src/c/config.c deps/iotech-c-utils-1.1.4/src/c/container.c deps/iotech-c-utils-1.1.4/src/c/data.c deps/iotech-c-utils-1.1.4/src/c/hash.c deps/iotech-c-utils-1.1.4/src/c/iot.c deps/iotech-c-utils-1.1.4/src/c/json.c deps/iotech-c-utils-1.1.4/src/c/logger.c deps/iotech-c-utils-1.1.4/src/c/os.c deps/iotech-c-utils-1.1.4/src/c/scheduler.c deps/iotech-c-utils-1.1.4/src/c/thread.c deps/iotech-c-utils-1.1.4/src/c/threadpool.c deps/iotech-c-utils-1.1.4/src/c/time.c deps/iotech-c-utils-1.1.4/src/c/yxml.c src/c/iot [2021-08-06T13:17:49.648Z] + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot [2021-08-06T13:17:49.648Z] + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot [2021-08-06T13:17:49.648Z] + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot [2021-08-06T13:17:49.648Z] + mkdir -p include/iot [2021-08-06T13:17:49.648Z] + cp deps/iotech-c-utils-1.1.4/include/iot/base64.h deps/iotech-c-utils-1.1.4/include/iot/component.h deps/iotech-c-utils-1.1.4/include/iot/config.h deps/iotech-c-utils-1.1.4/include/iot/container.h deps/iotech-c-utils-1.1.4/include/iot/data.h deps/iotech-c-utils-1.1.4/include/iot/hash.h deps/iotech-c-utils-1.1.4/include/iot/iot.h deps/iotech-c-utils-1.1.4/include/iot/json.h deps/iotech-c-utils-1.1.4/include/iot/logger.h deps/iotech-c-utils-1.1.4/include/iot/os.h deps/iotech-c-utils-1.1.4/include/iot/scheduler.h deps/iotech-c-utils-1.1.4/include/iot/thread.h deps/iotech-c-utils-1.1.4/include/iot/threadpool.h deps/iotech-c-utils-1.1.4/include/iot/time.h deps/iotech-c-utils-1.1.4/include/iot/typecode.h include/iot [2021-08-06T13:17:49.648Z] + mkdir -p include/iot/os [2021-08-06T13:17:49.648Z] + cp deps/iotech-c-utils-1.1.4/include/iot/os/linux.h deps/iotech-c-utils-1.1.4/include/iot/os/macos.h deps/iotech-c-utils-1.1.4/include/iot/os/zephyr.h include/iot/os [2021-08-06T13:17:49.648Z] + mkdir -p /tmp/sdk/build/release [2021-08-06T13:17:49.924Z] + cd /tmp/sdk/build/release [2021-08-06T13:17:49.924Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-08-06T13:17:50.098Z] (1/7) Installing curl (7.78.0-r0) [2021-08-06T13:17:50.098Z] (2/7) Installing hiredis (0.14.1-r0) [2021-08-06T13:17:50.098Z] (3/7) Installing hiredis-dev (0.14.1-r0) [2021-08-06T13:17:50.196Z] -- The C compiler identification is GNU 9.3.0 [2021-08-06T13:17:50.196Z] -- Check for working C compiler: /usr/bin/cc [2021-08-06T13:17:50.367Z] (4/7) Installing libuuid (2.35.2-r0) [2021-08-06T13:17:50.368Z] (5/7) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-08-06T13:17:50.470Z] -- Check for working C compiler: /usr/bin/cc - works [2021-08-06T13:17:50.470Z] -- Detecting C compiler ABI info [2021-08-06T13:17:50.744Z] -- Detecting C compiler ABI info - done [2021-08-06T13:17:50.744Z] -- Detecting C compile features [2021-08-06T13:17:50.744Z] -- Detecting C compile features - done [2021-08-06T13:17:50.744Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-08-06T13:17:51.017Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") [2021-08-06T13:17:51.017Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-08-06T13:17:51.017Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-08-06T13:17:51.017Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-08-06T13:17:51.017Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-08-06T13:17:51.017Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-08-06T13:17:51.017Z] -- C SDK 0.0.0 for Linux [2021-08-06T13:17:51.017Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-08-06T13:17:51.290Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-08-06T13:17:51.290Z] -- Found Curses: /usr/lib/libcurses.so [2021-08-06T13:17:51.565Z] -- Configuring done [2021-08-06T13:17:51.778Z] (6/7) Installing libidn2 (2.3.0-r0) [2021-08-06T13:17:51.778Z] (7/7) Installing wget (1.20.3-r1) [2021-08-06T13:17:51.838Z] -- Generating done [2021-08-06T13:17:51.838Z] -- Build files have been written to: /tmp/sdk/build/release [2021-08-06T13:17:51.838Z] + make all package [2021-08-06T13:17:51.838Z] + tee release.log [2021-08-06T13:17:51.838Z] Scanning dependencies of target csdk [2021-08-06T13:17:52.058Z] Executing busybox-1.31.1-r20.trigger [2021-08-06T13:17:52.058Z] OK: 286 MiB in 82 packages [2021-08-06T13:17:52.110Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-08-06T13:17:52.330Z] Removing intermediate container e893638e2bb4 [2021-08-06T13:17:52.330Z] ---> b19ed8b97bca [2021-08-06T13:17:52.330Z] Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-08-06T13:17:52.608Z] ---> f49c13b3733c [2021-08-06T13:17:52.608Z] Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-08-06T13:17:52.701Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-08-06T13:17:52.883Z] ---> 48d2d6e922ba [2021-08-06T13:17:52.883Z] Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-08-06T13:17:52.883Z] ---> dee34f563867 [2021-08-06T13:17:52.883Z] Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-08-06T13:17:52.973Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-08-06T13:17:53.158Z] ---> 555b8de8e741 [2021-08-06T13:17:53.158Z] Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-08-06T13:17:53.158Z] ---> 1c67432542d9 [2021-08-06T13:17:53.437Z] Successfully built 1c67432542d9 [2021-08-06T13:17:53.437Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [2021-08-06T13:17:55.336Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-06T13:17:55.613Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-08-06T13:17:55.613Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-08-06T13:17:55.811Z] + docker inspect -f . ci-base-image-x86_64 [2021-08-06T13:17:55.812Z] . [Pipeline] withDockerContainer [2021-08-06T13:17:55.934Z] prd-centos7-docker-4c-2g-2244 does not seem to be running inside a container [2021-08-06T13:17:56.010Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/10 -v /w/workspace/device-sdk-c/10:/w/workspace/device-sdk-c/10:rw,z -v /w/workspace/device-sdk-c/10@tmp:/w/workspace/device-sdk-c/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-08-06T13:17:56.411Z] $ docker top d5d930be7ee6dc8e29fba12fe399b3a7e0e1d06a970c339d5c95f0f09a088262 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-06T13:17:56.584Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-08-06T13:17:56.830Z] + make test [2021-08-06T13:17:56.830Z] echo "make test" [2021-08-06T13:17:56.830Z] make test [Pipeline] } [2021-08-06T13:17:56.846Z] $ docker stop --time=1 d5d930be7ee6dc8e29fba12fe399b3a7e0e1d06a970c339d5c95f0f09a088262 [2021-08-06T13:17:56.855Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-08-06T13:17:57.128Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-08-06T13:17:58.068Z] $ docker rm -f d5d930be7ee6dc8e29fba12fe399b3a7e0e1d06a970c339d5c95f0f09a088262 [2021-08-06T13:17:58.101Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2021-08-06T13:18:00.200Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-08-06T13:18:00.200Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-08-06T13:18:02.346Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-08-06T13:18:02.346Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-08-06T13:18:02.346Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-08-06T13:18:02.346Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-08-06T13:18:02.346Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-08-06T13:18:06.341Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-08-06T13:18:06.341Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-08-06T13:18:06.341Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-08-06T13:18:06.341Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-08-06T13:18:06.341Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-08-06T13:18:08.332Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [Pipeline] sh [2021-08-06T13:18:08.920Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-08-06T13:18:09.235Z] + ls -al . [2021-08-06T13:18:09.235Z] total 160 [2021-08-06T13:18:09.235Z] drwxrwxr-x. 8 jenkins jenkins 260 Aug 6 13:16 . [2021-08-06T13:18:09.235Z] drwxrwxr-x. 4 jenkins jenkins 30 Aug 6 13:16 .. [2021-08-06T13:18:09.235Z] -rw-rw-r--. 1 jenkins jenkins 3104 Aug 6 13:16 Attribution.txt [2021-08-06T13:18:09.235Z] -rw-rw-r--. 1 jenkins jenkins 7556 Aug 6 13:16 CHANGES [2021-08-06T13:18:09.235Z] drwxrwxr-x. 2 jenkins jenkins 121 Aug 6 13:16 docs [2021-08-06T13:18:09.235Z] -rw-rw-r--. 1 jenkins jenkins 108574 Aug 6 13:16 Doxyfile [2021-08-06T13:18:09.235Z] drwxrwxr-x. 8 jenkins jenkins 179 Aug 6 13:16 .git [2021-08-06T13:18:09.235Z] drwxrwxr-x. 2 jenkins jenkins 81 Aug 6 13:16 .github [2021-08-06T13:18:09.235Z] -rw-rw-r--. 1 jenkins jenkins 176 Aug 6 13:16 .gitignore [2021-08-06T13:18:09.235Z] drwxrwxr-x. 4 jenkins jenkins 33 Aug 6 13:16 include [2021-08-06T13:18:09.235Z] -rw-rw-r--. 1 jenkins jenkins 784 Aug 6 13:16 Jenkinsfile [2021-08-06T13:18:09.235Z] -rw-rw-r--. 1 jenkins jenkins 10174 Aug 6 13:16 LICENSE [2021-08-06T13:18:09.235Z] -rw-rw-r--. 1 jenkins jenkins 444 Aug 6 13:16 Makefile [2021-08-06T13:18:09.235Z] -rw-rw-r--. 1 jenkins jenkins 4086 Aug 6 13:16 README.md [2021-08-06T13:18:09.235Z] -rw-rw-r--. 1 jenkins jenkins 7090 Aug 6 13:16 README.v2.md [2021-08-06T13:18:09.235Z] drwxrwxr-x. 2 jenkins jenkins 98 Aug 6 13:16 scripts [2021-08-06T13:18:09.235Z] drwxrwxr-x. 4 jenkins jenkins 50 Aug 6 13:16 src [2021-08-06T13:18:09.235Z] -rw-rw-r--. 1 jenkins jenkins 5 Aug 6 13:13 VERSION [Pipeline] isUnix [Pipeline] sh [2021-08-06T13:18:09.565Z] + 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=18c66e74693b0dcf944d8eb774d259968cd08ab7 --label arch=amd64 --label version=0.0.0 . [2021-08-06T13:18:09.565Z] Sending build context to Docker daemon 2.723MB [2021-08-06T13:18:09.565Z] Step 1/17 : ARG BASE=alpine:3.12 [2021-08-06T13:18:09.565Z] Step 2/17 : FROM ${BASE} [2021-08-06T13:18:09.565Z] ---> 1c67432542d9 [2021-08-06T13:18:09.565Z] Step 3/17 : LABEL maintainer="IOTech " [2021-08-06T13:18:09.565Z] ---> Running in f520049918e5 [2021-08-06T13:18:09.565Z] Removing intermediate container f520049918e5 [2021-08-06T13:18:09.565Z] ---> d8b54aa67b6f [2021-08-06T13:18:09.565Z] Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub [2021-08-06T13:18:09.565Z] ---> Running in 3f7606b8f64b [2021-08-06T13:18:09.761Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-08-06T13:18:09.761Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-08-06T13:18:09.832Z] --2021-08-06 13:18:09-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub [2021-08-06T13:18:10.035Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-08-06T13:18:10.100Z] Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.170.66.44, 54.229.110.245, 54.195.244.87 [2021-08-06T13:18:10.100Z] Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.170.66.44|:443... connected. [2021-08-06T13:18:10.366Z] HTTP request sent, awaiting response... 200 OK [2021-08-06T13:18:10.366Z] Length: 451 [application/octet-stream] [2021-08-06T13:18:10.366Z] Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-08-06T13:18:10.366Z]  [2021-08-06T13:18:10.366Z] 0K 100% 67.5M=0s [2021-08-06T13:18:10.366Z] [2021-08-06T13:18:10.366Z] 2021-08-06 13:18:10 (67.5 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] [2021-08-06T13:18:10.366Z] [2021-08-06T13:18:10.628Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-08-06T13:18:10.637Z] Removing intermediate container 3f7606b8f64b [2021-08-06T13:18:10.637Z] ---> 2bff028e1c1a [2021-08-06T13:18:10.637Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-08-06T13:18:10.637Z] ---> Running in 6e1f2e8fe2a8 [2021-08-06T13:18:10.903Z] Removing intermediate container 6e1f2e8fe2a8 [2021-08-06T13:18:10.903Z] ---> 2e330e6ed408 [2021-08-06T13:18:10.903Z] Step 6/17 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev hiredis-dev && mkdir -p /edgex-c-sdk/build [2021-08-06T13:18:10.903Z] ---> Running in 504fd39c8f2b [2021-08-06T13:18:11.169Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-08-06T13:18:11.222Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-08-06T13:18:11.222Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-08-06T13:18:12.130Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-08-06T13:18:12.130Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz [2021-08-06T13:18:12.197Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-08-06T13:18:12.469Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-08-06T13:18:12.716Z] (1/16) Installing ncurses-dev (6.2_p20200523-r0) [2021-08-06T13:18:12.716Z] (2/16) Installing libblkid (2.35.2-r0) [2021-08-06T13:18:14.526Z] (3/16) Installing blkid (2.35.2-r0) [2021-08-06T13:18:14.526Z] (4/16) Installing libcap-ng (0.7.10-r1) [2021-08-06T13:18:14.526Z] (5/16) Installing setpriv (2.35.2-r0) [2021-08-06T13:18:14.526Z] (6/16) Installing libmount (2.35.2-r0) [2021-08-06T13:18:14.526Z] (7/16) Installing libsmartcols (2.35.2-r0) [2021-08-06T13:18:14.526Z] (8/16) Installing findmnt (2.35.2-r0) [2021-08-06T13:18:14.526Z] (9/16) Installing mcookie (2.35.2-r0) [2021-08-06T13:18:14.526Z] (10/16) Installing hexdump (2.35.2-r0) [2021-08-06T13:18:14.526Z] (11/16) Installing lsblk (2.35.2-r0) [2021-08-06T13:18:14.526Z] (12/16) Installing libfdisk (2.35.2-r0) [2021-08-06T13:18:14.526Z] (13/16) Installing sfdisk (2.35.2-r0) [2021-08-06T13:18:14.526Z] (14/16) Installing cfdisk (2.35.2-r0) [2021-08-06T13:18:14.526Z] (15/16) Installing util-linux (2.35.2-r0) [2021-08-06T13:18:14.526Z] (16/16) Installing util-linux-dev (2.35.2-r0) [2021-08-06T13:18:14.532Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-08-06T13:18:14.532Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-08-06T13:18:14.792Z] Executing busybox-1.31.1-r20.trigger [2021-08-06T13:18:14.792Z] OK: 295 MiB in 98 packages [2021-08-06T13:18:15.060Z] Removing intermediate container 504fd39c8f2b [2021-08-06T13:18:15.060Z] ---> 7b6e14635db3 [2021-08-06T13:18:15.060Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2021-08-06T13:18:15.327Z] ---> 177d513e8910 [2021-08-06T13:18:15.327Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2021-08-06T13:18:15.509Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-08-06T13:18:15.592Z] ---> d4bbe9c7889e [2021-08-06T13:18:15.592Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2021-08-06T13:18:15.592Z] ---> 8c3fa2cbca8d [2021-08-06T13:18:15.592Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2021-08-06T13:18:15.783Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-08-06T13:18:15.860Z] ---> 6a43e4ae0def [2021-08-06T13:18:15.860Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2021-08-06T13:18:15.860Z] ---> 2d33bbbb818a [2021-08-06T13:18:15.860Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2021-08-06T13:18:16.125Z] ---> 4710c8fa2def [2021-08-06T13:18:16.125Z] Step 13/17 : WORKDIR /edgex-c-sdk [2021-08-06T13:18:16.125Z] ---> Running in 43f02437ea8d [2021-08-06T13:18:16.125Z] Removing intermediate container 43f02437ea8d [2021-08-06T13:18:16.125Z] ---> 9a2a451abae2 [2021-08-06T13:18:16.125Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-08-06T13:18:16.125Z] ---> Running in decbae9f4de7 [2021-08-06T13:18:16.393Z] Removing intermediate container decbae9f4de7 [2021-08-06T13:18:16.393Z] ---> 28b34461dff8 [2021-08-06T13:18:16.393Z] Step 15/17 : LABEL arch=amd64 [2021-08-06T13:18:16.393Z] ---> Running in 1ce91c49a22c [2021-08-06T13:18:16.393Z] Removing intermediate container 1ce91c49a22c [2021-08-06T13:18:16.393Z] ---> 88a38aa1988f [2021-08-06T13:18:16.393Z] Step 16/17 : LABEL git_sha=18c66e74693b0dcf944d8eb774d259968cd08ab7 [2021-08-06T13:18:16.393Z] ---> Running in 3690db6680b9 [2021-08-06T13:18:16.393Z] Removing intermediate container 3690db6680b9 [2021-08-06T13:18:16.393Z] ---> e6a5cab19f29 [2021-08-06T13:18:16.393Z] Step 17/17 : LABEL version=0.0.0 [2021-08-06T13:18:16.393Z] ---> Running in 190a6ead208e [2021-08-06T13:18:16.660Z] Removing intermediate container 190a6ead208e [2021-08-06T13:18:16.660Z] ---> d71d6a2a9f6c [2021-08-06T13:18:16.660Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-08-06T13:18:16.660Z] Successfully built d71d6a2a9f6c [2021-08-06T13:18:16.660Z] Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // script [Pipeline] } [2021-08-06T13:18:16.774Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-08-06T13:18:16.774Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [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-08-06T13:18:17.420Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-06T13:18:17.420Z] [2021-08-06T13:18:17.420Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-08-06T13:18:17.824Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-06T13:18:17.824Z] latest: Pulling from edgex-lftools-log-publisher [2021-08-06T13:18:17.824Z] b4d181a07f80: Pulling fs layer [2021-08-06T13:18:17.824Z] a1111a8f2ec3: Pulling fs layer [2021-08-06T13:18:17.824Z] ed53099fbce6: Pulling fs layer [2021-08-06T13:18:17.824Z] dc539afda2c1: Pulling fs layer [2021-08-06T13:18:17.824Z] 77bc0d833cb6: Pulling fs layer [2021-08-06T13:18:17.824Z] 9065ff56babe: Pulling fs layer [2021-08-06T13:18:17.824Z] d287ab97295c: Pulling fs layer [2021-08-06T13:18:17.824Z] dc539afda2c1: Waiting [2021-08-06T13:18:17.824Z] 77bc0d833cb6: Waiting [2021-08-06T13:18:17.824Z] 9065ff56babe: Waiting [2021-08-06T13:18:17.824Z] d287ab97295c: Waiting [2021-08-06T13:18:18.127Z] a1111a8f2ec3: Verifying Checksum [2021-08-06T13:18:18.127Z] a1111a8f2ec3: Download complete [2021-08-06T13:18:18.127Z] dc539afda2c1: Verifying Checksum [2021-08-06T13:18:18.127Z] dc539afda2c1: Download complete [2021-08-06T13:18:18.393Z] 77bc0d833cb6: Verifying Checksum [2021-08-06T13:18:18.393Z] 77bc0d833cb6: Download complete [2021-08-06T13:18:18.393Z] 9065ff56babe: Verifying Checksum [2021-08-06T13:18:18.393Z] 9065ff56babe: Download complete [2021-08-06T13:18:18.393Z] ed53099fbce6: Verifying Checksum [2021-08-06T13:18:18.393Z] ed53099fbce6: Download complete [2021-08-06T13:18:19.364Z] b4d181a07f80: Verifying Checksum [2021-08-06T13:18:19.364Z] b4d181a07f80: Download complete [2021-08-06T13:18:20.782Z] b4d181a07f80: Pull complete [2021-08-06T13:18:20.782Z] a1111a8f2ec3: Pull complete [2021-08-06T13:18:21.048Z] ed53099fbce6: Pull complete [2021-08-06T13:18:21.079Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-08-06T13:18:21.317Z] dc539afda2c1: Pull complete [2021-08-06T13:18:21.317Z] 77bc0d833cb6: Pull complete [2021-08-06T13:18:21.584Z] 9065ff56babe: Pull complete [2021-08-06T13:18:21.673Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-08-06T13:18:21.945Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-08-06T13:18:22.540Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-08-06T13:18:23.132Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-08-06T13:18:24.168Z] d287ab97295c: Verifying Checksum [2021-08-06T13:18:24.168Z] d287ab97295c: Download complete [2021-08-06T13:18:25.101Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-08-06T13:18:25.101Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-08-06T13:18:25.377Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-08-06T13:18:25.972Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-08-06T13:18:27.938Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-08-06T13:18:28.453Z] d287ab97295c: Pull complete [2021-08-06T13:18:28.454Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-08-06T13:18:28.454Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-06T13:18:28.454Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-08-06T13:18:28.538Z] prd-centos7-docker-4c-2g-2244 does not seem to be running inside a container [2021-08-06T13:18:28.604Z] $ 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/10 -v /w/workspace/device-sdk-c/10:/w/workspace/device-sdk-c/10:rw,z -v /w/workspace/device-sdk-c/10@tmp:/w/workspace/device-sdk-c/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-08-06T13:18:31.276Z] $ docker top 002aa9da5b4d0f35ef5afae9ea1ccdc9a03aca4c1f44bfb38400695f3befb101 -eo pid,comm [2021-08-06T13:18:31.312Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [Pipeline] { [2021-08-06T13:18:33.307Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-08-06T13:18:33.307Z] [ 75%] Linking C shared library libcsdk.so [2021-08-06T13:18:33.307Z] [ 75%] Built target csdk [2021-08-06T13:18:33.307Z] Scanning dependencies of target template [2021-08-06T13:18:33.307Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-08-06T13:18:33.307Z] [ 78%] Linking C executable template [2021-08-06T13:18:33.307Z] [ 78%] Built target template [2021-08-06T13:18:33.307Z] Scanning dependencies of target device-counter [2021-08-06T13:18:33.307Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [Pipeline] libraryResource [Pipeline] sh [2021-08-06T13:18:33.655Z] ---> job-cost.sh [2021-08-06T13:18:33.655Z] lf-activate-venv: SKIPPING [2021-08-06T13:18:33.655Z] INFO: No Stack... [2021-08-06T13:18:33.904Z] [ 81%] Linking C executable device-counter [2021-08-06T13:18:34.178Z] [ 81%] Built target device-counter [2021-08-06T13:18:34.178Z] Scanning dependencies of target device-random [2021-08-06T13:18:34.178Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-08-06T13:18:34.449Z] [ 84%] Linking C executable device-random [2021-08-06T13:18:34.720Z] [ 84%] Built target device-random [2021-08-06T13:18:34.720Z] Scanning dependencies of target device-gyro [2021-08-06T13:18:34.720Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-08-06T13:18:35.061Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-08-06T13:18:35.313Z] [ 87%] Linking C executable device-gyro [2021-08-06T13:18:35.313Z] [ 87%] Built target device-gyro [2021-08-06T13:18:35.328Z] INFO: Archiving Costs [Pipeline] sh [2021-08-06T13:18:35.585Z] Scanning dependencies of target device-bitfields [2021-08-06T13:18:35.585Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-08-06T13:18:35.648Z] + cut -d, -f6 [2021-08-06T13:18:35.648Z] + cat /w/workspace/device-sdk-c/10/archives/cost.csv [Pipeline] lock [2021-08-06T13:18:35.692Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-357-10-stack-cost] [2021-08-06T13:18:35.704Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-357-10-stack-cost] did not exist. Created. [2021-08-06T13:18:35.704Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-357-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-08-06T13:18:35.857Z] [ 90%] Linking C executable device-bitfields [2021-08-06T13:18:36.042Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-08-06T13:18:36.129Z] [ 90%] Built target device-bitfields [2021-08-06T13:18:36.129Z] Scanning dependencies of target template-discovery [2021-08-06T13:18:36.129Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-08-06T13:18:36.279Z] Stashed 1 file(s) [Pipeline] } [2021-08-06T13:18:36.291Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-357-10-stack-cost] [Pipeline] // lock [Pipeline] } [2021-08-06T13:18:36.316Z] $ docker stop --time=1 002aa9da5b4d0f35ef5afae9ea1ccdc9a03aca4c1f44bfb38400695f3befb101 [2021-08-06T13:18:37.102Z] [ 93%] Linking C executable template-discovery [2021-08-06T13:18:37.102Z] [ 93%] Built target template-discovery [2021-08-06T13:18:37.102Z] Scanning dependencies of target device-file [2021-08-06T13:18:37.102Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-08-06T13:18:37.459Z] $ docker rm -f 002aa9da5b4d0f35ef5afae9ea1ccdc9a03aca4c1f44bfb38400695f3befb101 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [2021-08-06T13:18:37.738Z] [ 96%] Linking C executable device-file [Pipeline] // stage [Pipeline] } [2021-08-06T13:18:39.475Z] [ 96%] Built target device-file [2021-08-06T13:18:39.475Z] Scanning dependencies of target device-terminal [2021-08-06T13:18:39.475Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-08-06T13:18:39.475Z] [100%] Linking C executable device-terminal [2021-08-06T13:18:39.475Z] [100%] Built target device-terminal [2021-08-06T13:18:39.475Z] Run CPack packaging tool... [2021-08-06T13:18:39.475Z] CPack: Create package using TGZ [2021-08-06T13:18:39.475Z] CPack: Install projects [2021-08-06T13:18:39.475Z] CPack: - Run preinstall target for: Csdk [2021-08-06T13:18:39.475Z] CPack: - Install project: Csdk [] [2021-08-06T13:18:39.475Z] CPack: Create package [2021-08-06T13:18:39.754Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-08-06T13:18:39.754Z] + '[' false '=' true ] [2021-08-06T13:18:39.754Z] + '[' false '=' true ] [2021-08-06T13:18:39.754Z] + mkdir -p /tmp/sdk/build/debug [2021-08-06T13:18:39.754Z] + cd /tmp/sdk/build/debug [2021-08-06T13:18:39.754Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-08-06T13:18:40.033Z] -- The C compiler identification is GNU 9.3.0 [2021-08-06T13:18:40.033Z] -- Check for working C compiler: /usr/bin/cc [2021-08-06T13:18:40.321Z] -- Check for working C compiler: /usr/bin/cc - works [2021-08-06T13:18:40.321Z] -- Detecting C compiler ABI info [2021-08-06T13:18:40.601Z] -- Detecting C compiler ABI info - done [2021-08-06T13:18:40.601Z] -- Detecting C compile features [2021-08-06T13:18:40.601Z] -- Detecting C compile features - done [2021-08-06T13:18:40.878Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-08-06T13:18:40.878Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") [2021-08-06T13:18:40.878Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-08-06T13:18:40.878Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-08-06T13:18:40.878Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-08-06T13:18:40.878Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-08-06T13:18:40.878Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-08-06T13:18:40.878Z] -- C SDK 0.0.0 for Linux [2021-08-06T13:18:40.878Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-08-06T13:18:41.158Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-08-06T13:18:41.438Z] -- Found Curses: /usr/lib/libcurses.so [2021-08-06T13:18:41.438Z] -- Configuring done [2021-08-06T13:18:41.723Z] -- Generating done [2021-08-06T13:18:41.723Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-08-06T13:18:41.723Z] + + tee debug.log [2021-08-06T13:18:41.723Z] make [2021-08-06T13:18:41.997Z] Scanning dependencies of target csdk [2021-08-06T13:18:41.997Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-08-06T13:18:42.598Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-08-06T13:18:42.873Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-08-06T13:18:43.467Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-08-06T13:18:43.739Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-08-06T13:18:43.739Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-08-06T13:18:44.014Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-08-06T13:18:44.293Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-08-06T13:18:44.576Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-08-06T13:18:45.178Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-08-06T13:18:45.449Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-08-06T13:18:46.055Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-08-06T13:18:46.327Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-08-06T13:18:46.599Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-08-06T13:18:46.870Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-08-06T13:18:46.870Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-08-06T13:18:47.143Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-08-06T13:18:47.747Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-08-06T13:18:48.021Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-08-06T13:18:48.293Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-08-06T13:18:48.565Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-08-06T13:18:48.841Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-08-06T13:18:49.114Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-08-06T13:18:49.709Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-08-06T13:18:49.981Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-08-06T13:18:50.253Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-08-06T13:18:50.526Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-08-06T13:18:50.526Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-08-06T13:18:50.798Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-08-06T13:18:51.071Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-08-06T13:18:51.343Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-08-06T13:18:51.616Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-08-06T13:18:51.887Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-08-06T13:18:52.160Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-08-06T13:18:52.430Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-08-06T13:18:52.703Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-08-06T13:18:52.974Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-08-06T13:18:53.949Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-08-06T13:18:54.220Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-08-06T13:18:54.493Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-08-06T13:18:54.766Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-08-06T13:18:55.040Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-08-06T13:18:56.015Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-08-06T13:18:56.287Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-08-06T13:18:56.560Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-08-06T13:18:56.844Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-08-06T13:18:57.437Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-08-06T13:18:58.031Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-08-06T13:18:58.301Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-08-06T13:18:58.573Z] [ 75%] Linking C shared library libcsdk.so [2021-08-06T13:18:58.848Z] [ 75%] Built target csdk [2021-08-06T13:18:58.848Z] Scanning dependencies of target template [2021-08-06T13:18:58.848Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-08-06T13:18:59.121Z] [ 78%] Linking C executable template [2021-08-06T13:18:59.393Z] [ 78%] Built target template [2021-08-06T13:18:59.393Z] Scanning dependencies of target device-counter [2021-08-06T13:18:59.393Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-08-06T13:18:59.665Z] [ 81%] Linking C executable device-counter [2021-08-06T13:19:01.403Z] [ 81%] Built target device-counter [2021-08-06T13:19:01.403Z] Scanning dependencies of target device-random [2021-08-06T13:19:01.403Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-08-06T13:19:01.403Z] [ 84%] Linking C executable device-random [2021-08-06T13:19:01.403Z] [ 84%] Built target device-random [2021-08-06T13:19:01.403Z] Scanning dependencies of target device-gyro [2021-08-06T13:19:01.403Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-08-06T13:19:01.403Z] [ 87%] Linking C executable device-gyro [2021-08-06T13:19:01.403Z] [ 87%] Built target device-gyro [2021-08-06T13:19:01.403Z] Scanning dependencies of target device-bitfields [2021-08-06T13:19:01.403Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-08-06T13:19:01.403Z] [ 90%] Linking C executable device-bitfields [2021-08-06T13:19:01.403Z] [ 90%] Built target device-bitfields [2021-08-06T13:19:01.403Z] Scanning dependencies of target template-discovery [2021-08-06T13:19:01.403Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-08-06T13:19:01.683Z] [ 93%] Linking C executable template-discovery [2021-08-06T13:19:01.954Z] [ 93%] Built target template-discovery [2021-08-06T13:19:01.954Z] Scanning dependencies of target device-file [2021-08-06T13:19:02.227Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-08-06T13:19:02.500Z] [ 96%] Linking C executable device-file [2021-08-06T13:19:02.500Z] [ 96%] Built target device-file [2021-08-06T13:19:02.773Z] Scanning dependencies of target device-terminal [2021-08-06T13:19:02.773Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-08-06T13:19:03.045Z] [100%] Linking C executable device-terminal [2021-08-06T13:19:03.321Z] [100%] Built target device-terminal [2021-08-06T13:19:03.321Z] make: Entering directory '/tmp/sdk/build/release' [2021-08-06T13:19:03.321Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-08-06T13:19:03.321Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-06T13:19:03.321Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-06T13:19:03.321Z] [ 75%] Built target csdk [2021-08-06T13:19:03.321Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-06T13:19:03.321Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-06T13:19:03.321Z] [ 78%] Built target template [2021-08-06T13:19:03.321Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-06T13:19:03.321Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-06T13:19:03.599Z] [ 81%] Built target device-counter [2021-08-06T13:19:03.599Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-06T13:19:03.599Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-06T13:19:03.599Z] [ 84%] Built target device-random [2021-08-06T13:19:03.599Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-06T13:19:03.599Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-06T13:19:03.599Z] [ 87%] Built target device-gyro [2021-08-06T13:19:03.599Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-06T13:19:03.599Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-06T13:19:03.599Z] [ 90%] Built target device-bitfields [2021-08-06T13:19:03.599Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-06T13:19:03.599Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-06T13:19:03.599Z] [ 93%] Built target template-discovery [2021-08-06T13:19:03.599Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-06T13:19:03.599Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-06T13:19:03.599Z] [ 96%] Built target device-file [2021-08-06T13:19:03.599Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-06T13:19:03.599Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-06T13:19:03.599Z] [100%] Built target device-terminal [2021-08-06T13:19:03.599Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-08-06T13:19:03.872Z] Install the project... [2021-08-06T13:19:03.872Z] -- Install configuration: "Release" [2021-08-06T13:19:03.872Z] -- Installing: /usr/local/lib/libcsdk.so [2021-08-06T13:19:03.872Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-08-06T13:19:03.872Z] -- Up-to-date: /usr/local/include [2021-08-06T13:19:03.872Z] -- Installing: /usr/local/include/edgex [2021-08-06T13:19:03.872Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-08-06T13:19:03.872Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-08-06T13:19:03.872Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-08-06T13:19:03.872Z] -- Installing: /usr/local/include/edgex/devices.h [2021-08-06T13:19:03.872Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-08-06T13:19:03.872Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-08-06T13:19:03.872Z] -- Installing: /usr/local/include/devsdk [2021-08-06T13:19:03.872Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-08-06T13:19:03.872Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-08-06T13:19:03.872Z] -- Installing: /usr/local/include/iot [2021-08-06T13:19:03.872Z] -- Installing: /usr/local/include/iot/json.h [2021-08-06T13:19:03.872Z] -- Installing: /usr/local/include/iot/container.h [2021-08-06T13:19:03.872Z] -- Installing: /usr/local/include/iot/component.h [2021-08-06T13:19:03.872Z] -- Installing: /usr/local/include/iot/typecode.h [2021-08-06T13:19:03.872Z] -- Installing: /usr/local/include/iot/iot.h [2021-08-06T13:19:03.872Z] -- Installing: /usr/local/include/iot/time.h [2021-08-06T13:19:03.872Z] -- Installing: /usr/local/include/iot/hash.h [2021-08-06T13:19:03.872Z] -- Installing: /usr/local/include/iot/logger.h [2021-08-06T13:19:03.872Z] -- Installing: /usr/local/include/iot/os [2021-08-06T13:19:03.872Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-08-06T13:19:03.872Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-08-06T13:19:03.872Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-08-06T13:19:03.872Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-08-06T13:19:03.872Z] -- Installing: /usr/local/include/iot/data.h [2021-08-06T13:19:03.872Z] -- Installing: /usr/local/include/iot/thread.h [2021-08-06T13:19:03.872Z] -- Installing: /usr/local/include/iot/os.h [2021-08-06T13:19:03.872Z] -- Installing: /usr/local/include/iot/base64.h [2021-08-06T13:19:03.872Z] -- Installing: /usr/local/include/iot/defs.h [2021-08-06T13:19:03.872Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-08-06T13:19:03.872Z] -- Installing: /usr/local/include/iot/config.h [2021-08-06T13:19:03.872Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-08-06T13:19:03.873Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-08-06T13:19:03.873Z] make: Leaving directory '/tmp/sdk/build/release' [2021-08-06T13:19:06.492Z] Removing intermediate container 4fc78e54603e [2021-08-06T13:19:06.492Z] ---> 10cc95295df7 [2021-08-06T13:19:06.492Z] Step 16/25 : FROM ${BASE} [2021-08-06T13:19:06.492Z] ---> 759262b18b23 [2021-08-06T13:19:06.492Z] Step 17/25 : LABEL maintainer="IOTech " [2021-08-06T13:19:06.492Z] ---> Running in a8a78fccabd5 [2021-08-06T13:19:06.767Z] Removing intermediate container a8a78fccabd5 [2021-08-06T13:19:06.767Z] ---> 44e0ee340c04 [2021-08-06T13:19:06.767Z] Step 18/25 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub [2021-08-06T13:19:06.767Z] ---> Running in 752bdfbdcd91 [2021-08-06T13:19:09.541Z] Connecting to iotech.jfrog.io (54.170.66.44:443) [2021-08-06T13:19:09.542Z] saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-08-06T13:19:09.542Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-08-06T13:19:09.542Z] '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [2021-08-06T13:19:09.542Z] Removing intermediate container 752bdfbdcd91 [2021-08-06T13:19:09.542Z] ---> f3546b719cdc [2021-08-06T13:19:09.542Z] Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-08-06T13:19:09.816Z] ---> Running in 59d3eeab6463 [2021-08-06T13:19:11.901Z] Removing intermediate container 59d3eeab6463 [2021-08-06T13:19:11.901Z] ---> 1880bdd58011 [2021-08-06T13:19:11.901Z] Step 20/25 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid paho-mqtt-c-dev hiredis-dev [2021-08-06T13:19:11.901Z] ---> Running in a0caf88c5cb5 [2021-08-06T13:19:13.340Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-08-06T13:19:13.936Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-08-06T13:19:14.532Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz [2021-08-06T13:19:15.125Z] (1/7) Installing curl (7.78.0-r0) [2021-08-06T13:19:15.125Z] (2/7) Installing hiredis (0.14.1-r0) [2021-08-06T13:19:15.125Z] (3/7) Installing hiredis-dev (0.14.1-r0) [2021-08-06T13:19:15.396Z] (4/7) Installing libuuid (2.35.2-r0) [2021-08-06T13:19:15.396Z] (5/7) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-08-06T13:19:16.819Z] (6/7) Installing libidn2 (2.3.0-r0) [2021-08-06T13:19:17.092Z] (7/7) Installing wget (1.20.3-r1) [2021-08-06T13:19:17.093Z] Executing busybox-1.31.1-r20.trigger [2021-08-06T13:19:17.366Z] OK: 267 MiB in 82 packages [2021-08-06T13:19:19.589Z] Removing intermediate container a0caf88c5cb5 [2021-08-06T13:19:19.589Z] ---> a0099afb3e60 [2021-08-06T13:19:19.589Z] Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-08-06T13:19:19.589Z] ---> c77ed2046c80 [2021-08-06T13:19:19.589Z] Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-08-06T13:19:20.563Z] ---> 659e59bf99b9 [2021-08-06T13:19:20.563Z] Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-08-06T13:19:21.162Z] ---> 6f5d924e6b7a [2021-08-06T13:19:21.162Z] Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-08-06T13:19:23.719Z] ---> 4861c1f32d82 [2021-08-06T13:19:23.719Z] Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-08-06T13:19:23.719Z] ---> 89c9683ab7d0 [2021-08-06T13:19:23.719Z] Successfully built 89c9683ab7d0 [2021-08-06T13:19:23.719Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-06T13:19:24.253Z] + docker inspect -f . ci-base-image-arm64 [2021-08-06T13:19:24.253Z] . [Pipeline] withDockerContainer [2021-08-06T13:19:24.514Z] prd-ubuntu18.04-docker-arm64-4c-16g-2243 does not seem to be running inside a container [2021-08-06T13:19:24.602Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/10 -v /w/workspace/device-sdk-c/10:/w/workspace/device-sdk-c/10:rw,z -v /w/workspace/device-sdk-c/10@tmp:/w/workspace/device-sdk-c/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-08-06T13:19:27.513Z] $ docker top e5b78cd4225303774f76bbb1b81c8ee205e141a9c3e505ccc154f5bf7a16230d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-06T13:19:28.485Z] + make test [2021-08-06T13:19:28.485Z] echo "make test" [2021-08-06T13:19:28.485Z] make test [Pipeline] } [2021-08-06T13:19:28.510Z] $ docker stop --time=1 e5b78cd4225303774f76bbb1b81c8ee205e141a9c3e505ccc154f5bf7a16230d [2021-08-06T13:19:31.482Z] $ docker rm -f e5b78cd4225303774f76bbb1b81c8ee205e141a9c3e505ccc154f5bf7a16230d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-08-06T13:19:32.287Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-08-06T13:19:34.229Z] + ls -al . [2021-08-06T13:19:34.229Z] total 192 [2021-08-06T13:19:34.229Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 6 13:16 . [2021-08-06T13:19:34.229Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 6 13:16 .. [2021-08-06T13:19:34.229Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 6 13:16 .git [2021-08-06T13:19:34.229Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 6 13:16 .github [2021-08-06T13:19:34.229Z] -rw-rw-r-- 1 jenkins jenkins 176 Aug 6 13:16 .gitignore [2021-08-06T13:19:34.229Z] -rw-rw-r-- 1 jenkins jenkins 3104 Aug 6 13:16 Attribution.txt [2021-08-06T13:19:34.229Z] -rw-rw-r-- 1 jenkins jenkins 7556 Aug 6 13:16 CHANGES [2021-08-06T13:19:34.229Z] -rw-rw-r-- 1 jenkins jenkins 108574 Aug 6 13:16 Doxyfile [2021-08-06T13:19:34.229Z] -rw-rw-r-- 1 jenkins jenkins 784 Aug 6 13:16 Jenkinsfile [2021-08-06T13:19:34.229Z] -rw-rw-r-- 1 jenkins jenkins 10174 Aug 6 13:16 LICENSE [2021-08-06T13:19:34.229Z] -rw-rw-r-- 1 jenkins jenkins 444 Aug 6 13:16 Makefile [2021-08-06T13:19:34.229Z] -rw-rw-r-- 1 jenkins jenkins 4086 Aug 6 13:16 README.md [2021-08-06T13:19:34.229Z] -rw-rw-r-- 1 jenkins jenkins 7090 Aug 6 13:16 README.v2.md [2021-08-06T13:19:34.229Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 6 13:13 VERSION [2021-08-06T13:19:34.229Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 6 13:16 docs [2021-08-06T13:19:34.229Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 6 13:16 include [2021-08-06T13:19:34.229Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 6 13:16 scripts [2021-08-06T13:19:34.229Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 6 13:16 src [Pipeline] isUnix [Pipeline] sh [2021-08-06T13:19:34.567Z] + 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=18c66e74693b0dcf944d8eb774d259968cd08ab7 --label arch=arm64 --label version=0.0.0 . [2021-08-06T13:19:35.173Z] Sending build context to Docker daemon 2.722MB [2021-08-06T13:19:35.173Z] Step 1/17 : ARG BASE=alpine:3.12 [2021-08-06T13:19:35.173Z] Step 2/17 : FROM ${BASE} [2021-08-06T13:19:35.173Z] ---> 89c9683ab7d0 [2021-08-06T13:19:35.173Z] Step 3/17 : LABEL maintainer="IOTech " [2021-08-06T13:19:35.449Z] ---> Running in 5a72d572fc31 [2021-08-06T13:19:37.345Z] Removing intermediate container 5a72d572fc31 [2021-08-06T13:19:37.345Z] ---> aaaba4d6f1d0 [2021-08-06T13:19:37.345Z] Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub [2021-08-06T13:19:37.345Z] ---> Running in 647bf1830112 [2021-08-06T13:19:37.345Z] --2021-08-06 13:19:37-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub [2021-08-06T13:19:37.345Z] Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.170.66.44, 54.195.244.87, 54.229.110.245 [2021-08-06T13:19:37.617Z] Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.170.66.44|:443... connected. [2021-08-06T13:19:37.889Z] HTTP request sent, awaiting response... 200 OK [2021-08-06T13:19:37.889Z] Length: 451 [application/octet-stream] [2021-08-06T13:19:37.889Z] Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-08-06T13:19:37.889Z] [2021-08-06T13:19:37.889Z] 0K     100% 18.3M=0s [2021-08-06T13:19:37.889Z] [2021-08-06T13:19:37.889Z] 2021-08-06 13:19:37 (18.3 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] [2021-08-06T13:19:37.889Z] [2021-08-06T13:19:38.882Z] Removing intermediate container 647bf1830112 [2021-08-06T13:19:38.882Z] ---> fefbcedbcff8 [2021-08-06T13:19:38.882Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-08-06T13:19:38.882Z] ---> Running in 303b3a56f50f [2021-08-06T13:19:41.647Z] Removing intermediate container 303b3a56f50f [2021-08-06T13:19:41.648Z] ---> 17132275c9c5 [2021-08-06T13:19:41.648Z] Step 6/17 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev hiredis-dev && mkdir -p /edgex-c-sdk/build [2021-08-06T13:19:41.648Z] ---> Running in 2ee5fd72fde8 [2021-08-06T13:19:44.864Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-08-06T13:19:44.864Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-08-06T13:19:44.864Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz [2021-08-06T13:19:44.864Z] (1/16) Installing ncurses-dev (6.2_p20200523-r0) [2021-08-06T13:19:44.864Z] (2/16) Installing libblkid (2.35.2-r0) [2021-08-06T13:19:44.864Z] (3/16) Installing blkid (2.35.2-r0) [2021-08-06T13:19:44.864Z] (4/16) Installing libcap-ng (0.7.10-r1) [2021-08-06T13:19:44.864Z] (5/16) Installing setpriv (2.35.2-r0) [2021-08-06T13:19:45.135Z] (6/16) Installing libmount (2.35.2-r0) [2021-08-06T13:19:45.135Z] (7/16) Installing libsmartcols (2.35.2-r0) [2021-08-06T13:19:45.135Z] (8/16) Installing findmnt (2.35.2-r0) [2021-08-06T13:19:46.999Z] (9/16) Installing mcookie (2.35.2-r0) [2021-08-06T13:19:46.999Z] (10/16) Installing hexdump (2.35.2-r0) [2021-08-06T13:19:46.999Z] (11/16) Installing lsblk (2.35.2-r0) [2021-08-06T13:19:46.999Z] (12/16) Installing libfdisk (2.35.2-r0) [2021-08-06T13:19:46.999Z] (13/16) Installing sfdisk (2.35.2-r0) [2021-08-06T13:19:46.999Z] (14/16) Installing cfdisk (2.35.2-r0) [2021-08-06T13:19:46.999Z] (15/16) Installing util-linux (2.35.2-r0) [2021-08-06T13:19:46.999Z] (16/16) Installing util-linux-dev (2.35.2-r0) [2021-08-06T13:19:46.999Z] Executing busybox-1.31.1-r20.trigger [2021-08-06T13:19:46.999Z] OK: 276 MiB in 98 packages [2021-08-06T13:19:50.116Z] Removing intermediate container 2ee5fd72fde8 [2021-08-06T13:19:50.116Z] ---> 3cc2aa9b5dff [2021-08-06T13:19:50.116Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2021-08-06T13:19:50.116Z] ---> 01f3e13e8bd3 [2021-08-06T13:19:50.116Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2021-08-06T13:19:50.116Z] ---> d50bb2feec0e [2021-08-06T13:19:50.116Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2021-08-06T13:19:52.376Z] ---> 6d69c44a2345 [2021-08-06T13:19:52.376Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2021-08-06T13:19:52.376Z] ---> 09445e03730a [2021-08-06T13:19:52.376Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2021-08-06T13:19:52.651Z] ---> 4ee7201dc1fa [2021-08-06T13:19:52.651Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2021-08-06T13:19:54.570Z] ---> 21f8ed2da6ef [2021-08-06T13:19:54.570Z] Step 13/17 : WORKDIR /edgex-c-sdk [2021-08-06T13:19:54.570Z] ---> Running in 8fc5fc07b484 [2021-08-06T13:19:54.570Z] Removing intermediate container 8fc5fc07b484 [2021-08-06T13:19:54.570Z] ---> 1d04d3b4d91b [2021-08-06T13:19:54.570Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-08-06T13:19:54.570Z] ---> Running in 01b7e7da512b [2021-08-06T13:19:54.847Z] Removing intermediate container 01b7e7da512b [2021-08-06T13:19:54.847Z] ---> 847e336ffc2b [2021-08-06T13:19:54.847Z] Step 15/17 : LABEL arch=arm64 [2021-08-06T13:19:56.697Z] ---> Running in 72d25493eb02 [2021-08-06T13:19:56.697Z] Removing intermediate container 72d25493eb02 [2021-08-06T13:19:56.697Z] ---> 97de70743a42 [2021-08-06T13:19:56.697Z] Step 16/17 : LABEL git_sha=18c66e74693b0dcf944d8eb774d259968cd08ab7 [2021-08-06T13:19:56.697Z] ---> Running in 34888027159f [2021-08-06T13:19:56.697Z] Removing intermediate container 34888027159f [2021-08-06T13:19:56.697Z] ---> 7525e51e44a4 [2021-08-06T13:19:56.697Z] Step 17/17 : LABEL version=0.0.0 [2021-08-06T13:19:56.697Z] ---> Running in a066c0e5ca3e [2021-08-06T13:19:56.968Z] Removing intermediate container a066c0e5ca3e [2021-08-06T13:19:56.968Z] ---> 538ad184c1a6 [2021-08-06T13:19:56.968Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-08-06T13:19:56.968Z] Successfully built 538ad184c1a6 [2021-08-06T13:19:56.968Z] Successfully tagged device-sdk-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-06T13:19:59.134Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-06T13:19:59.134Z] [2021-08-06T13:19:59.134Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-08-06T13:20:01.127Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-06T13:20:03.140Z] arm64: Pulling from edgex-lftools-log-publisher [2021-08-06T13:20:03.140Z] 448f6bf000e3: Pulling fs layer [2021-08-06T13:20:03.140Z] f757da607395: Pulling fs layer [2021-08-06T13:20:03.140Z] 05883995daec: Pulling fs layer [2021-08-06T13:20:03.140Z] 8603b9c90790: Pulling fs layer [2021-08-06T13:20:03.140Z] 1560dd03e051: Pulling fs layer [2021-08-06T13:20:03.140Z] 27f5ce0e4adf: Pulling fs layer [2021-08-06T13:20:03.140Z] c2d8d7efcc4b: Pulling fs layer [2021-08-06T13:20:03.140Z] 8603b9c90790: Waiting [2021-08-06T13:20:03.140Z] 27f5ce0e4adf: Waiting [2021-08-06T13:20:03.140Z] c2d8d7efcc4b: Waiting [2021-08-06T13:20:03.140Z] f757da607395: Verifying Checksum [2021-08-06T13:20:03.140Z] f757da607395: Download complete [2021-08-06T13:20:03.140Z] 8603b9c90790: Verifying Checksum [2021-08-06T13:20:03.140Z] 8603b9c90790: Download complete [2021-08-06T13:20:03.140Z] 05883995daec: Verifying Checksum [2021-08-06T13:20:03.140Z] 05883995daec: Download complete [2021-08-06T13:20:03.140Z] 27f5ce0e4adf: Verifying Checksum [2021-08-06T13:20:03.140Z] 27f5ce0e4adf: Download complete [2021-08-06T13:20:03.140Z] 1560dd03e051: Verifying Checksum [2021-08-06T13:20:03.140Z] 1560dd03e051: Download complete [2021-08-06T13:20:03.140Z] 448f6bf000e3: Verifying Checksum [2021-08-06T13:20:03.140Z] 448f6bf000e3: Download complete [2021-08-06T13:20:06.078Z] c2d8d7efcc4b: Download complete [2021-08-06T13:20:06.677Z] 448f6bf000e3: Pull complete [2021-08-06T13:20:08.654Z] f757da607395: Pull complete [2021-08-06T13:20:08.654Z] 05883995daec: Pull complete [2021-08-06T13:20:09.254Z] 8603b9c90790: Pull complete [2021-08-06T13:20:11.241Z] 1560dd03e051: Pull complete [2021-08-06T13:20:11.241Z] 27f5ce0e4adf: Pull complete [2021-08-06T13:20:24.716Z] c2d8d7efcc4b: Pull complete [2021-08-06T13:20:24.716Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-08-06T13:20:24.716Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-06T13:20:24.716Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-08-06T13:20:24.979Z] prd-ubuntu18.04-docker-arm64-4c-16g-2243 does not seem to be running inside a container [2021-08-06T13:20:25.070Z] $ 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/10 -v /w/workspace/device-sdk-c/10:/w/workspace/device-sdk-c/10:rw,z -v /w/workspace/device-sdk-c/10@tmp:/w/workspace/device-sdk-c/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-08-06T13:20:29.547Z] $ docker top 1b3745a70402d00635b8d23c8022c2f77b843805c9e4a3524f9c61803088d31a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-06T13:20:32.234Z] ---> job-cost.sh [2021-08-06T13:20:32.234Z] lf-activate-venv: SKIPPING [2021-08-06T13:20:32.234Z] INFO: No Stack... [2021-08-06T13:20:33.664Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-08-06T13:20:33.936Z] INFO: Archiving Costs [Pipeline] sh [2021-08-06T13:20:34.606Z] + cut -d, -f6 [2021-08-06T13:20:34.607Z] + cat /w/workspace/device-sdk-c/10/archives/cost.csv [Pipeline] lock [2021-08-06T13:20:34.673Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-357-10-stack-cost] [2021-08-06T13:20:34.682Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-357-10-stack-cost] did not exist. Created. [2021-08-06T13:20:34.683Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-357-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-08-06T13:20:35.387Z] /w/workspace/device-sdk-c/10@tmp/durable-2155a3b2/script.sh: 1: /w/workspace/device-sdk-c/10@tmp/durable-2155a3b2/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-08-06T13:20:36.060Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-08-06T13:20:36.094Z] Warning: overwriting stash ‘stack-cost’ [2021-08-06T13:20:36.657Z] Stashed 1 file(s) [Pipeline] } [2021-08-06T13:20:36.673Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-357-10-stack-cost] [Pipeline] // lock [Pipeline] } [2021-08-06T13:20:36.708Z] $ docker stop --time=1 1b3745a70402d00635b8d23c8022c2f77b843805c9e4a3524f9c61803088d31a [2021-08-06T13:20:38.417Z] $ docker rm -f 1b3745a70402d00635b8d23c8022c2f77b843805c9e4a3524f9c61803088d31a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-08-06T13:20:45.304Z] + '[' -d /w/workspace/edgexfoundry_device-sdk-c_PR-357/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-08-06T13:20:45.644Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-06T13:20:46.272Z] ---> package-listing.sh [2021-08-06T13:20:46.272Z] ++ facter osfamily [2021-08-06T13:20:46.272Z] ++ tr '[:upper:]' '[:lower:]' [2021-08-06T13:20:46.542Z] + OS_FAMILY=redhat [2021-08-06T13:20:46.542Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-357 [2021-08-06T13:20:46.542Z] + START_PACKAGES=/tmp/packages_start.txt [2021-08-06T13:20:46.542Z] + END_PACKAGES=/tmp/packages_end.txt [2021-08-06T13:20:46.542Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-08-06T13:20:46.542Z] + PACKAGES=/tmp/packages_start.txt [2021-08-06T13:20:46.542Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-357 ']' [2021-08-06T13:20:46.542Z] + PACKAGES=/tmp/packages_end.txt [2021-08-06T13:20:46.542Z] + case "${OS_FAMILY}" in [2021-08-06T13:20:46.542Z] + sort [2021-08-06T13:20:46.542Z] + rpm -qa [2021-08-06T13:20:47.127Z] + '[' -f /tmp/packages_start.txt ']' [2021-08-06T13:20:47.127Z] + '[' -f /tmp/packages_end.txt ']' [2021-08-06T13:20:47.127Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-08-06T13:20:47.127Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-357 ']' [2021-08-06T13:20:47.127Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-357/archives/ [2021-08-06T13:20:47.127Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-357/archives/ [Pipeline] echo [2021-08-06T13:20:47.144Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-357/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-08-06T13:20:47.456Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-08-06T13:20:48.062Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-06T13:20:48.062Z] [2021-08-06T13:20:48.062Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-08-06T13:20:48.405Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-06T13:20:48.405Z] latest: Pulling from edgex-lftools-log-publisher [2021-08-06T13:20:48.405Z] b4d181a07f80: Pulling fs layer [2021-08-06T13:20:48.405Z] a1111a8f2ec3: Pulling fs layer [2021-08-06T13:20:48.405Z] ed53099fbce6: Pulling fs layer [2021-08-06T13:20:48.405Z] dc539afda2c1: Pulling fs layer [2021-08-06T13:20:48.405Z] 77bc0d833cb6: Pulling fs layer [2021-08-06T13:20:48.405Z] 9065ff56babe: Pulling fs layer [2021-08-06T13:20:48.405Z] d287ab97295c: Pulling fs layer [2021-08-06T13:20:48.405Z] dc539afda2c1: Waiting [2021-08-06T13:20:48.405Z] 77bc0d833cb6: Waiting [2021-08-06T13:20:48.405Z] 9065ff56babe: Waiting [2021-08-06T13:20:48.405Z] d287ab97295c: Waiting [2021-08-06T13:20:48.671Z] a1111a8f2ec3: Verifying Checksum [2021-08-06T13:20:48.671Z] a1111a8f2ec3: Download complete [2021-08-06T13:20:48.671Z] dc539afda2c1: Download complete [2021-08-06T13:20:48.937Z] 77bc0d833cb6: Verifying Checksum [2021-08-06T13:20:48.937Z] 77bc0d833cb6: Download complete [2021-08-06T13:20:48.937Z] 9065ff56babe: Verifying Checksum [2021-08-06T13:20:48.937Z] 9065ff56babe: Download complete [2021-08-06T13:20:48.937Z] ed53099fbce6: Verifying Checksum [2021-08-06T13:20:48.937Z] ed53099fbce6: Download complete [2021-08-06T13:20:49.901Z] b4d181a07f80: Verifying Checksum [2021-08-06T13:20:49.901Z] b4d181a07f80: Download complete [2021-08-06T13:20:50.880Z] b4d181a07f80: Pull complete [2021-08-06T13:20:50.880Z] a1111a8f2ec3: Pull complete [2021-08-06T13:20:51.469Z] ed53099fbce6: Pull complete [2021-08-06T13:20:51.469Z] dc539afda2c1: Pull complete [2021-08-06T13:20:51.734Z] 77bc0d833cb6: Pull complete [2021-08-06T13:20:52.019Z] 9065ff56babe: Pull complete [2021-08-06T13:20:55.670Z] d287ab97295c: Verifying Checksum [2021-08-06T13:20:55.670Z] d287ab97295c: Download complete [2021-08-06T13:20:59.247Z] d287ab97295c: Pull complete [2021-08-06T13:20:59.247Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-08-06T13:20:59.247Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-06T13:20:59.247Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-08-06T13:20:59.347Z] prd-centos7-docker-4c-2g-2242 does not seem to be running inside a container [2021-08-06T13:20:59.423Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-357/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-357 -v /w/workspace/edgexfoundry_device-sdk-c_PR-357:/w/workspace/edgexfoundry_device-sdk-c_PR-357:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-08-06T13:21:01.816Z] $ docker top c54470bd845ed808d2312794d37670017e636b499eef727f9e72a3b5d9ca8f92 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-06T13:21:04.039Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-08-06T13:21:04.355Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-08-06T13:21:04.674Z] + ls /var/log/sa-host [2021-08-06T13:21:04.674Z] + sadf -c /var/log/sa-host/sa05 [2021-08-06T13:21:04.674Z] file_magic: OK [2021-08-06T13:21:04.674Z] HZ: Using current value: 100 [2021-08-06T13:21:04.674Z] file_header: OK [2021-08-06T13:21:04.674Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-08-06T13:21:04.674Z] Statistics: [2021-08-06T13:21:04.674Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-08-06T13:21:04.674Z] File successfully converted to sysstat format version 12.0.3 [2021-08-06T13:21:04.674Z] + sadf -c /var/log/sa-host/sa06 [2021-08-06T13:21:04.674Z] file_magic: OK [2021-08-06T13:21:04.674Z] HZ: Using current value: 100 [2021-08-06T13:21:04.674Z] file_header: OK [2021-08-06T13:21:04.674Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-08-06T13:21:04.674Z] Statistics: [2021-08-06T13:21:04.674Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-08-06T13:21:04.674Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-06T13:21:08.480Z] provisioning config files... [2021-08-06T13:21:08.499Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/config634637384821292305tmp [Pipeline] { [Pipeline] echo [2021-08-06T13:21:08.523Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-06T13:21:08.839Z] ---> create-netrc.sh [Pipeline] } [2021-08-06T13:21:08.853Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-08-06T13:21:10.908Z] ---> python-tools-install.sh [Pipeline] echo [2021-08-06T13:21:10.921Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-06T13:21:11.252Z] ---> sudo-logs.sh [2021-08-06T13:21:11.253Z] Archiving 'sudo' log.. [2021-08-06T13:21:11.253Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-2242.vexxhost.local: Name or service not known [2021-08-06T13:21:11.253Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-2242.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-08-06T13:21:11.303Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-06T13:21:11.636Z] ---> job-cost.sh [2021-08-06T13:21:11.637Z] lf-activate-venv: SKIPPING [2021-08-06T13:21:11.637Z] DEBUG: total: 0.18000000715255737 [2021-08-06T13:21:11.637Z] INFO: Retrieving Stack Cost... [2021-08-06T13:21:12.597Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-08-06T13:21:12.866Z] INFO: Archiving Costs [Pipeline] echo [2021-08-06T13:21:12.886Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-06T13:21:13.441Z] ---> logs-deploy.sh [2021-08-06T13:21:13.441Z] lf-activate-venv: SKIPPING [2021-08-06T13:21:13.441Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-357/10 [2021-08-06T13:21:13.441Z] INFO: archiving workspace using pattern(s): [2021-08-06T13:21:14.027Z] Archives upload complete. [2021-08-06T13:21:14.293Z] INFO: archiving logs to Nexus