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 1c70c4e8afdf954a47da8ca4dc04415ff0e9bb22+fe80442fa2f0db74f1d47f63cbba0c7b5c42b53a (0a87191a3d9ca49cdddcf359c117d06b12b9d670) 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-ssh2377685103739187973.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-ssh1276504336484998215.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-ssh6057672156727841342.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-ssh7846854618013946397.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-ssh3511862994001502735.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 Waiting for next available executor Running on prd-centos7-docker-4c-2g-2231 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-ssh5944620356862487179.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-ssh3949391652751545471.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 1c70c4e8afdf954a47da8ca4dc04415ff0e9bb22 Merge succeeded, producing 1c70c4e8afdf954a47da8ca4dc04415ff0e9bb22 Checking out Revision 1c70c4e8afdf954a47da8ca4dc04415ff0e9bb22 (PR-357) > git config core.sparsecheckout # timeout=10 > git checkout -f 1c70c4e8afdf954a47da8ca4dc04415ff0e9bb22 # 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-ssh9110930695979204278.key > git merge fe80442fa2f0db74f1d47f63cbba0c7b5c42b53a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1c70c4e8afdf954a47da8ca4dc04415ff0e9bb22 # timeout=10 Commit message: "feat: Add SecretStore implementation (#304, #305)" First time build. Skipping changelog. > git rev-list --no-walk 225915a1cbd3aafd6d4023b4944ee28c01151ceb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-08-06T09:51:44.755Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-08-06T09:51:44.885Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-08-06T09:51:44.917Z] ========================================================= [2021-08-06T09:51:44.917Z] EdgeX Global Pipelines Version Info [2021-08-06T09:51:44.917Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-08-06T09:51:46.928Z] ------------------- [2021-08-06T09:51:46.928Z] stable info: [2021-08-06T09:51:46.928Z] ------------------- [2021-08-06T09:51:46.928Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-08-06T09:51:46.928Z] Commit SHA: 4fbf90f19193a45d2dbdd9e9e5fbe6e31255a08c [2021-08-06T09:51:46.928Z] Message: update stable to v1.0.204 [2021-08-06T09:51:46.928Z] ------------------- [2021-08-06T09:51:46.928Z] experimental info: [2021-08-06T09:51:46.928Z] ------------------- [2021-08-06T09:51:46.928Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-08-06T09:51:46.928Z] Commit SHA: 4fbf90f19193a45d2dbdd9e9e5fbe6e31255a08c [2021-08-06T09:51:46.928Z] Message: update experimental to v1.0.204 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-08-06T09:51:47.063Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2021-08-06T09:51:47.081Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2021-08-06T09:51:47.099Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-08-06T09:51:47.116Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-08-06T09:51:47.134Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-08-06T09:51:47.152Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo [2021-08-06T09:51:47.169Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2021-08-06T09:51:47.187Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2021-08-06T09:51:47.205Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-08-06T09:51:47.224Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-08-06T09:51:47.243Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2021-08-06T09:51:47.261Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-08-06T09:51:47.279Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-08-06T09:51:47.298Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-08-06T09:51:47.315Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-08-06T09:51:47.334Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-08-06T09:51:47.352Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-08-06T09:51:47.370Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-08-06T09:51:47.388Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-357 [Pipeline] echo [2021-08-06T09:51:47.406Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-357 [Pipeline] echo [2021-08-06T09:51:47.425Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-357 [Pipeline] echo [2021-08-06T09:51:47.443Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1c70c4e8afdf954a47da8ca4dc04415ff0e9bb22 [Pipeline] echo [2021-08-06T09:51:47.461Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1c70c4e [Pipeline] echo [2021-08-06T09:51:47.479Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-06T09:51:47.558Z] provisioning config files... [2021-08-06T09:51:47.582Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/config9128673500492727717tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-06T09:51:47.917Z] ---> docker-login.sh [2021-08-06T09:51:47.917Z] nexus3.edgexfoundry.org:10001 [2021-08-06T09:51:47.917Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-06T09:51:48.185Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-06T09:51:48.185Z] Configure a credential helper to remove this warning. See [2021-08-06T09:51:48.185Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-06T09:51:48.185Z] [2021-08-06T09:51:48.185Z] Login Succeeded [2021-08-06T09:51:48.185Z] nexus3.edgexfoundry.org:10002 [2021-08-06T09:51:48.185Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-06T09:51:48.452Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-06T09:51:48.452Z] Configure a credential helper to remove this warning. See [2021-08-06T09:51:48.452Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-06T09:51:48.452Z] [2021-08-06T09:51:48.452Z] Login Succeeded [2021-08-06T09:51:48.452Z] nexus3.edgexfoundry.org:10003 [2021-08-06T09:51:48.452Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-06T09:51:48.452Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-06T09:51:48.452Z] Configure a credential helper to remove this warning. See [2021-08-06T09:51:48.452Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-06T09:51:48.452Z] [2021-08-06T09:51:48.452Z] Login Succeeded [2021-08-06T09:51:48.452Z] nexus3.edgexfoundry.org:10004 [2021-08-06T09:51:48.452Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-06T09:51:48.718Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-06T09:51:48.718Z] Configure a credential helper to remove this warning. See [2021-08-06T09:51:48.718Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-06T09:51:48.718Z] [2021-08-06T09:51:48.718Z] Login Succeeded [2021-08-06T09:51:48.718Z] docker.io [2021-08-06T09:51:48.718Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-06T09:51:48.985Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-06T09:51:48.985Z] Configure a credential helper to remove this warning. See [2021-08-06T09:51:48.985Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-06T09:51:48.985Z] [2021-08-06T09:51:48.985Z] Login Succeeded [2021-08-06T09:51:48.985Z] ---> docker-login.sh ends [Pipeline] } [2021-08-06T09:51:48.997Z] 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-06T09:51:53.615Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-06T09:51:53.615Z] [2021-08-06T09:51:53.615Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-08-06T09:51:53.952Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-06T09:51:53.952Z] latest: Pulling from edgex-devops/git-semver [2021-08-06T09:51:53.952Z] 31603596830f: Pulling fs layer [2021-08-06T09:51:53.952Z] d4622e32a9a9: Pulling fs layer [2021-08-06T09:51:53.952Z] 1030fce36090: Pulling fs layer [2021-08-06T09:51:53.952Z] 6c6cb7e1b49b: Pulling fs layer [2021-08-06T09:51:53.952Z] 6c6cb7e1b49b: Waiting [2021-08-06T09:51:53.952Z] d4622e32a9a9: Verifying Checksum [2021-08-06T09:51:53.952Z] d4622e32a9a9: Download complete [2021-08-06T09:51:54.218Z] 31603596830f: Verifying Checksum [2021-08-06T09:51:54.218Z] 31603596830f: Download complete [2021-08-06T09:51:54.487Z] 31603596830f: Pull complete [2021-08-06T09:51:54.487Z] 6c6cb7e1b49b: Verifying Checksum [2021-08-06T09:51:54.487Z] 6c6cb7e1b49b: Download complete [2021-08-06T09:51:54.487Z] d4622e32a9a9: Pull complete [2021-08-06T09:51:54.487Z] 1030fce36090: Verifying Checksum [2021-08-06T09:51:54.487Z] 1030fce36090: Download complete [2021-08-06T09:51:55.082Z] 1030fce36090: Pull complete [2021-08-06T09:51:55.082Z] 6c6cb7e1b49b: Pull complete [2021-08-06T09:51:55.082Z] Digest: sha256:98b6084a185347f7b64647794a0a4774a411b925a780a33b3032b91fe10e00ab [2021-08-06T09:51:55.082Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-06T09:51:55.082Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-08-06T09:51:55.199Z] prd-centos7-docker-4c-2g-2231 does not seem to be running inside a container [2021-08-06T09:51:55.264Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-357 -v /w/workspace/edgexfoundry_device-sdk-c_PR-357:/w/workspace/edgexfoundry_device-sdk-c_PR-357:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-08-06T09:51:56.070Z] $ docker top c9b619327480f360fb3821043e2cd02ebc5cefe7d105c39d65b5bd5a1f22a85a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-08-06T09:51:56.215Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-06T09:51:56.215Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-06T09:51:56.329Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-06T09:51:56.329Z] $ docker exec c9b619327480f360fb3821043e2cd02ebc5cefe7d105c39d65b5bd5a1f22a85a ssh-agent [2021-08-06T09:51:56.444Z] SSH_AUTH_SOCK=/tmp/ssh-aIFMHrzgbw32/agent.15 [2021-08-06T09:51:56.444Z] SSH_AGENT_PID=20 [2021-08-06T09:51:56.458Z] Running ssh-add (command line suppressed) [2021-08-06T09:51:56.552Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/private_key_687289522607242579.key (/w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/private_key_687289522607242579.key) [2021-08-06T09:51:56.579Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-06T09:51:56.896Z] + git tag --points-at HEAD [Pipeline] } [2021-08-06T09:51:56.935Z] $ docker exec --env ******** --env ******** c9b619327480f360fb3821043e2cd02ebc5cefe7d105c39d65b5bd5a1f22a85a ssh-agent -k [2021-08-06T09:51:57.033Z] unset SSH_AUTH_SOCK; [2021-08-06T09:51:57.033Z] unset SSH_AGENT_PID; [2021-08-06T09:51:57.034Z] echo Agent pid 20 killed; [2021-08-06T09:51:57.051Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-08-06T09:51:57.092Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-06T09:51:57.092Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-06T09:51:57.207Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-06T09:51:57.207Z] $ docker exec c9b619327480f360fb3821043e2cd02ebc5cefe7d105c39d65b5bd5a1f22a85a ssh-agent [2021-08-06T09:51:57.316Z] SSH_AUTH_SOCK=/tmp/ssh-7heh2LD1AtBm/agent.55 [2021-08-06T09:51:57.316Z] SSH_AGENT_PID=62 [2021-08-06T09:51:57.325Z] Running ssh-add (command line suppressed) [2021-08-06T09:51:57.416Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/private_key_1020440063253963222.key (/w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/private_key_1020440063253963222.key) [2021-08-06T09:51:57.438Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-06T09:51:57.757Z] + git semver init [2021-08-06T09:51:57.757Z] # -> Open(): unable to determine branch for HEAD [2021-08-06T09:51:57.757Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-357/.git [2021-08-06T09:51:57.757Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-357 [2021-08-06T09:51:57.757Z] # $SEMVER_REMOTE_NAME = origin [2021-08-06T09:51:57.757Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-08-06T09:51:57.757Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-08-06T09:51:57.757Z] # $SEMVER_BRANCH = PR-357 [2021-08-06T09:51:57.757Z] # $SEMVER_TEMP = /tmp/semver-253633364 [2021-08-06T09:51:57.757Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2021-08-06T09:51:58.341Z] # '/tmp/semver-253633364' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-357/.semver' [2021-08-06T09:51:58.341Z] # -> Force: false [2021-08-06T09:51:58.341Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-357/.semver [Pipeline] } [2021-08-06T09:51:58.355Z] $ docker exec --env ******** --env ******** c9b619327480f360fb3821043e2cd02ebc5cefe7d105c39d65b5bd5a1f22a85a ssh-agent -k [2021-08-06T09:51:58.448Z] unset SSH_AUTH_SOCK; [2021-08-06T09:51:58.448Z] unset SSH_AGENT_PID; [2021-08-06T09:51:58.448Z] echo Agent pid 62 killed; [2021-08-06T09:51:59.990Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-08-06T09:52:00.322Z] + git semver [Pipeline] } [2021-08-06T09:52:00.339Z] $ docker stop --time=1 c9b619327480f360fb3821043e2cd02ebc5cefe7d105c39d65b5bd5a1f22a85a [2021-08-06T09:52:01.576Z] $ docker rm -f c9b619327480f360fb3821043e2cd02ebc5cefe7d105c39d65b5bd5a1f22a85a [Pipeline] // withDockerContainer [Pipeline] sh [2021-08-06T09:52:01.968Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-08-06T09:52:02.283Z] Stashed 1 file(s) [Pipeline] echo [2021-08-06T09:52:02.286Z] [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-06T09:52:17.471Z] Still waiting to schedule task [2021-08-06T09:52:17.472Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-2231’ [2021-08-06T09:52:17.474Z] Still waiting to schedule task [2021-08-06T09:52:17.475Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-08-06T09:54:26.274Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2232 in /w/workspace/edgexfoundry_device-sdk-c_PR-357 [Pipeline] { [Pipeline] ws [2021-08-06T09:54:26.292Z] Running in /w/workspace/device-sdk-c/9 [Pipeline] { [Pipeline] checkout [2021-08-06T09:54:26.509Z] Selected Git installation does not exist. Using Default [2021-08-06T09:54:26.509Z] The recommended git tool is: NONE [2021-08-06T09:54:35.286Z] using credential edgex-jenkins-ssh [2021-08-06T09:54:35.307Z] Cloning the remote Git repository [2021-08-06T09:54:35.373Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-08-06T09:54:35.481Z] > git init /w/workspace/device-sdk-c/9 # timeout=10 [2021-08-06T09:54:35.554Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-08-06T09:54:35.555Z] > git --version # timeout=10 [2021-08-06T09:54:35.583Z] > git --version # 'git version 2.17.1' [2021-08-06T09:54:35.586Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-06T09:54:35.667Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-06T09:54:36.739Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-08-06T09:54:36.767Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-06T09:54:36.792Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-08-06T09:54:36.824Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-08-06T09:54:36.825Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-06T09:54:36.838Z] > 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-06T09:54:37.458Z] Merging remotes/origin/main commit fe80442fa2f0db74f1d47f63cbba0c7b5c42b53a into PR head commit 1c70c4e8afdf954a47da8ca4dc04415ff0e9bb22 [2021-08-06T09:54:37.689Z] Merge succeeded, producing 1c70c4e8afdf954a47da8ca4dc04415ff0e9bb22 [2021-08-06T09:54:37.689Z] Checking out Revision 1c70c4e8afdf954a47da8ca4dc04415ff0e9bb22 (PR-357) [2021-08-06T09:54:37.482Z] > git config core.sparsecheckout # timeout=10 [2021-08-06T09:54:37.499Z] > git checkout -f 1c70c4e8afdf954a47da8ca4dc04415ff0e9bb22 # timeout=10 [2021-08-06T09:54:37.612Z] > git remote # timeout=10 [2021-08-06T09:54:37.630Z] > git config --get remote.origin.url # timeout=10 [2021-08-06T09:54:37.643Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-06T09:54:37.655Z] > git merge fe80442fa2f0db74f1d47f63cbba0c7b5c42b53a # timeout=10 [2021-08-06T09:54:37.679Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-08-06T09:54:37.701Z] > git config core.sparsecheckout # timeout=10 [2021-08-06T09:54:37.718Z] > git checkout -f 1c70c4e8afdf954a47da8ca4dc04415ff0e9bb22 # timeout=10 [2021-08-06T09:54:41.961Z] Commit message: "feat: Add SecretStore implementation (#304, #305)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-06T09:54:44.112Z] provisioning config files... [2021-08-06T09:54:44.138Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/9@tmp/config376071112449066562tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-06T09:54:44.731Z] ---> docker-login.sh [2021-08-06T09:54:44.731Z] nexus3.edgexfoundry.org:10001 [2021-08-06T09:54:45.722Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-06T09:54:45.995Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-06T09:54:45.995Z] Configure a credential helper to remove this warning. See [2021-08-06T09:54:45.995Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-06T09:54:45.995Z] [2021-08-06T09:54:45.995Z] Login Succeeded [2021-08-06T09:54:46.271Z] nexus3.edgexfoundry.org:10002 [2021-08-06T09:54:46.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-06T09:54:46.820Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-06T09:54:46.820Z] Configure a credential helper to remove this warning. See [2021-08-06T09:54:46.820Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-06T09:54:46.820Z] [2021-08-06T09:54:46.820Z] Login Succeeded [2021-08-06T09:54:46.820Z] nexus3.edgexfoundry.org:10003 [2021-08-06T09:54:47.094Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-06T09:54:47.370Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-06T09:54:47.370Z] Configure a credential helper to remove this warning. See [2021-08-06T09:54:47.370Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-06T09:54:47.370Z] [2021-08-06T09:54:47.370Z] Login Succeeded [2021-08-06T09:54:47.370Z] nexus3.edgexfoundry.org:10004 [2021-08-06T09:54:47.645Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-06T09:54:47.920Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-06T09:54:47.921Z] Configure a credential helper to remove this warning. See [2021-08-06T09:54:47.921Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-06T09:54:47.921Z] [2021-08-06T09:54:47.921Z] Login Succeeded [2021-08-06T09:54:47.921Z] docker.io [2021-08-06T09:54:48.195Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-06T09:54:48.470Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-06T09:54:48.470Z] Configure a credential helper to remove this warning. See [2021-08-06T09:54:48.470Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-06T09:54:48.470Z] [2021-08-06T09:54:48.470Z] Login Succeeded [2021-08-06T09:54:48.470Z] ---> docker-login.sh ends [Pipeline] } [2021-08-06T09:54:48.555Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-08-06T09:54:49.070Z] ========================================================= [2021-08-06T09:54:49.070Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2021-08-06T09:54:49.070Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-08-06T09:54:49.471Z] + 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-06T09:54:50.093Z] Sending build context to Docker daemon 2.686MB [2021-08-06T09:54:50.093Z] Step 1/25 : ARG BASE=alpine:3.12 [2021-08-06T09:54:50.093Z] Step 2/25 : FROM ${BASE} as builder [2021-08-06T09:54:50.370Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2021-08-06T09:54:50.370Z] d2f70382dc9a: Pulling fs layer [2021-08-06T09:54:50.370Z] b08cc2eccb4b: Pulling fs layer [2021-08-06T09:54:50.370Z] 7b69db201801: Pulling fs layer [2021-08-06T09:54:50.370Z] b08cc2eccb4b: Verifying Checksum [2021-08-06T09:54:50.370Z] b08cc2eccb4b: Download complete [2021-08-06T09:54:50.370Z] d2f70382dc9a: Verifying Checksum [2021-08-06T09:54:50.370Z] d2f70382dc9a: Download complete [2021-08-06T09:54:50.970Z] d2f70382dc9a: Pull complete [2021-08-06T09:54:51.568Z] b08cc2eccb4b: Pull complete [2021-08-06T09:54:54.556Z] 7b69db201801: Verifying Checksum [2021-08-06T09:54:54.556Z] 7b69db201801: Download complete [2021-08-06T09:54:56.155Z] Running on prd-centos7-docker-4c-2g-2233 in /w/workspace/edgexfoundry_device-sdk-c_PR-357 [Pipeline] { [Pipeline] ws [2021-08-06T09:54:56.170Z] Running in /w/workspace/device-sdk-c/9 [Pipeline] { [Pipeline] checkout [2021-08-06T09:54:56.273Z] Selected Git installation does not exist. Using Default [2021-08-06T09:54:56.273Z] The recommended git tool is: NONE [2021-08-06T09:55:00.691Z] using credential edgex-jenkins-ssh [2021-08-06T09:55:00.706Z] Cloning the remote Git repository [2021-08-06T09:55:02.391Z] 7b69db201801: Pull complete [2021-08-06T09:55:02.391Z] Digest: sha256:6402f0ff92f22f5db569dc2a94aef5717e50795d64082fb226716824a8b8ffba [2021-08-06T09:55:02.391Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2021-08-06T09:55:02.391Z] ---> 759262b18b23 [2021-08-06T09:55:02.391Z] 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-06T09:55:02.391Z] ---> Running in d7ea77120bf4 [2021-08-06T09:55:02.054Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-08-06T09:55:02.128Z] > git init /w/workspace/device-sdk-c/9 # timeout=10 [2021-08-06T09:55:02.168Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-08-06T09:55:02.168Z] > git --version # timeout=10 [2021-08-06T09:55:02.176Z] > git --version # 'git version 2.24.4' [2021-08-06T09:55:02.178Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-06T09:55:02.208Z] [INFO] Currently running in a labeled security context [2021-08-06T09:55:02.208Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-08-06T09:55:02.209Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/9@tmp/jenkins-gitclient-ssh3255805208267083023.key [2021-08-06T09:55:02.237Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-06T09:55:03.380Z] Connecting to iotech.jfrog.io (54.170.66.44:443) [2021-08-06T09:55:03.983Z] saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-08-06T09:55:03.983Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-08-06T09:55:03.983Z] '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [2021-08-06T09:55:03.696Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-08-06T09:55:03.708Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-06T09:55:03.720Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-08-06T09:55:03.734Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-08-06T09:55:03.734Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-06T09:55:03.737Z] [INFO] Currently running in a labeled security context [2021-08-06T09:55:03.737Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-08-06T09:55:03.737Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/9@tmp/jenkins-gitclient-ssh5520873322821228424.key [2021-08-06T09:55:03.742Z] > 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-06T09:55:04.492Z] Merging remotes/origin/main commit fe80442fa2f0db74f1d47f63cbba0c7b5c42b53a into PR head commit 1c70c4e8afdf954a47da8ca4dc04415ff0e9bb22 [2021-08-06T09:55:04.593Z] Merge succeeded, producing 1c70c4e8afdf954a47da8ca4dc04415ff0e9bb22 [2021-08-06T09:55:04.594Z] Checking out Revision 1c70c4e8afdf954a47da8ca4dc04415ff0e9bb22 (PR-357) [2021-08-06T09:55:04.981Z] Removing intermediate container d7ea77120bf4 [2021-08-06T09:55:04.981Z] ---> a11964f29d5e [2021-08-06T09:55:04.981Z] Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-08-06T09:55:04.981Z] ---> Running in 64a9f2dd6d31 [2021-08-06T09:55:04.337Z] > git config core.sparsecheckout # timeout=10 [2021-08-06T09:55:04.348Z] > git checkout -f 1c70c4e8afdf954a47da8ca4dc04415ff0e9bb22 # timeout=10 [2021-08-06T09:55:04.398Z] > git remote # timeout=10 [2021-08-06T09:55:04.405Z] > git config --get remote.origin.url # timeout=10 [2021-08-06T09:55:04.410Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-06T09:55:04.411Z] [INFO] Currently running in a labeled security context [2021-08-06T09:55:04.411Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-08-06T09:55:04.411Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/9@tmp/jenkins-gitclient-ssh5053798582586251018.key [2021-08-06T09:55:04.416Z] > git merge fe80442fa2f0db74f1d47f63cbba0c7b5c42b53a # timeout=10 [2021-08-06T09:55:04.429Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-08-06T09:55:04.440Z] > git config core.sparsecheckout # timeout=10 [2021-08-06T09:55:04.444Z] > git checkout -f 1c70c4e8afdf954a47da8ca4dc04415ff0e9bb22 # timeout=10 [2021-08-06T09:55:07.628Z] Removing intermediate container 64a9f2dd6d31 [2021-08-06T09:55:07.628Z] ---> 86f4339ce918 [2021-08-06T09:55:07.628Z] 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-06T09:55:07.628Z] ---> Running in 3a3ffc12f955 [2021-08-06T09:55:08.176Z] Commit message: "feat: Add SecretStore implementation (#304, #305)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-06T09:55:08.624Z] provisioning config files... [2021-08-06T09:55:08.628Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-08-06T09:55:08.642Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/9@tmp/config8282229397480700318tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-06T09:55:09.085Z] ---> docker-login.sh [2021-08-06T09:55:09.085Z] nexus3.edgexfoundry.org:10001 [2021-08-06T09:55:09.085Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-06T09:55:09.085Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-06T09:55:09.085Z] Configure a credential helper to remove this warning. See [2021-08-06T09:55:09.085Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-06T09:55:09.085Z] [2021-08-06T09:55:09.085Z] Login Succeeded [2021-08-06T09:55:09.085Z] nexus3.edgexfoundry.org:10002 [2021-08-06T09:55:09.358Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-06T09:55:09.358Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-06T09:55:09.358Z] Configure a credential helper to remove this warning. See [2021-08-06T09:55:09.358Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-06T09:55:09.358Z] [2021-08-06T09:55:09.358Z] Login Succeeded [2021-08-06T09:55:09.358Z] nexus3.edgexfoundry.org:10003 [2021-08-06T09:55:09.358Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-06T09:55:09.605Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-08-06T09:55:09.623Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-06T09:55:09.623Z] Configure a credential helper to remove this warning. See [2021-08-06T09:55:09.623Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-06T09:55:09.623Z] [2021-08-06T09:55:09.623Z] Login Succeeded [2021-08-06T09:55:09.623Z] nexus3.edgexfoundry.org:10004 [2021-08-06T09:55:09.623Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-06T09:55:09.623Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-06T09:55:09.623Z] Configure a credential helper to remove this warning. See [2021-08-06T09:55:09.623Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-06T09:55:09.623Z] [2021-08-06T09:55:09.623Z] Login Succeeded [2021-08-06T09:55:09.623Z] docker.io [2021-08-06T09:55:09.623Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-06T09:55:09.878Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz [2021-08-06T09:55:10.210Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-06T09:55:10.210Z] Configure a credential helper to remove this warning. See [2021-08-06T09:55:10.210Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-06T09:55:10.210Z] [2021-08-06T09:55:10.210Z] Login Succeeded [2021-08-06T09:55:10.210Z] ---> docker-login.sh ends [Pipeline] } [2021-08-06T09:55:10.257Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-08-06T09:55:10.440Z] ========================================================= [2021-08-06T09:55:10.440Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2021-08-06T09:55:10.440Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-08-06T09:55:10.761Z] + 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-06T09:55:10.761Z] Sending build context to Docker daemon 2.688MB [2021-08-06T09:55:10.761Z] Step 1/25 : ARG BASE=alpine:3.12 [2021-08-06T09:55:10.761Z] Step 2/25 : FROM ${BASE} as builder [2021-08-06T09:55:10.857Z] (1/22) Installing hiredis (0.14.1-r0) [2021-08-06T09:55:10.857Z] (2/22) Installing hiredis-dev (0.14.1-r0) [2021-08-06T09:55:10.857Z] (3/22) Installing ncurses-dev (6.2_p20200523-r0) [2021-08-06T09:55:10.857Z] (4/22) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-08-06T09:55:11.036Z] latest: Pulling from edgex-devops/edgex-gcc-base [2021-08-06T09:55:11.036Z] 339de151aab4: Pulling fs layer [2021-08-06T09:55:11.036Z] 3691962f683c: Pulling fs layer [2021-08-06T09:55:11.036Z] e1147bf81a45: Pulling fs layer [2021-08-06T09:55:11.036Z] 3691962f683c: Verifying Checksum [2021-08-06T09:55:11.036Z] 339de151aab4: Verifying Checksum [2021-08-06T09:55:11.036Z] 339de151aab4: Download complete [2021-08-06T09:55:11.305Z] 339de151aab4: Pull complete [2021-08-06T09:55:11.305Z] 3691962f683c: Pull complete [2021-08-06T09:55:12.289Z] (5/22) Installing libblkid (2.35.2-r0) [2021-08-06T09:55:12.560Z] (6/22) Installing blkid (2.35.2-r0) [2021-08-06T09:55:12.833Z] (7/22) Installing libcap-ng (0.7.10-r1) [2021-08-06T09:55:12.833Z] (8/22) Installing setpriv (2.35.2-r0) [2021-08-06T09:55:12.833Z] (9/22) Installing libmount (2.35.2-r0) [2021-08-06T09:55:13.105Z] (10/22) Installing libsmartcols (2.35.2-r0) [2021-08-06T09:55:13.378Z] (11/22) Installing findmnt (2.35.2-r0) [2021-08-06T09:55:13.378Z] (12/22) Installing mcookie (2.35.2-r0) [2021-08-06T09:55:13.650Z] (13/22) Installing hexdump (2.35.2-r0) [2021-08-06T09:55:13.650Z] (14/22) Installing lsblk (2.35.2-r0) [2021-08-06T09:55:13.893Z] e1147bf81a45: Verifying Checksum [2021-08-06T09:55:13.894Z] e1147bf81a45: Download complete [2021-08-06T09:55:13.922Z] (15/22) Installing libuuid (2.35.2-r0) [2021-08-06T09:55:13.922Z] (16/22) Installing libfdisk (2.35.2-r0) [2021-08-06T09:55:14.195Z] (17/22) Installing sfdisk (2.35.2-r0) [2021-08-06T09:55:14.195Z] (18/22) Installing cfdisk (2.35.2-r0) [2021-08-06T09:55:14.470Z] (19/22) Installing util-linux (2.35.2-r0) [2021-08-06T09:55:15.068Z] (20/22) Installing util-linux-dev (2.35.2-r0) [2021-08-06T09:55:15.666Z] (21/22) Installing libidn2 (2.3.0-r0) [2021-08-06T09:55:15.666Z] (22/22) Installing wget (1.20.3-r1) [2021-08-06T09:55:17.553Z] Executing busybox-1.31.1-r20.trigger [2021-08-06T09:55:17.553Z] OK: 276 MiB in 97 packages [2021-08-06T09:55:17.553Z] Removing intermediate container 3a3ffc12f955 [2021-08-06T09:55:17.553Z] ---> 3384b69f39bc [2021-08-06T09:55:17.553Z] Step 6/25 : ENV CBOR_VERSION=0.5.0 [2021-08-06T09:55:17.567Z] e1147bf81a45: Pull complete [2021-08-06T09:55:17.567Z] Digest: sha256:32c567f17180c4abff101a0d389449dec7f3f623a221c8a8ae98dcac9b0d9fee [2021-08-06T09:55:17.567Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2021-08-06T09:55:17.567Z] ---> ac6a0feb3254 [2021-08-06T09:55:17.567Z] 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-06T09:55:17.567Z] ---> Running in 3e79375d9fb1 [2021-08-06T09:55:17.834Z] ---> Running in edfe6ac06f2e [2021-08-06T09:55:17.839Z] Connecting to iotech.jfrog.io (54.195.244.87:443) [2021-08-06T09:55:18.106Z] saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-08-06T09:55:18.106Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-08-06T09:55:18.106Z] '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [2021-08-06T09:55:18.107Z] Removing intermediate container edfe6ac06f2e [2021-08-06T09:55:18.107Z] ---> 6927e214b11f [2021-08-06T09:55:18.107Z] 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-06T09:55:18.372Z] Removing intermediate container 3e79375d9fb1 [2021-08-06T09:55:18.372Z] ---> c3497ec7a5e0 [2021-08-06T09:55:18.372Z] Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-08-06T09:55:18.372Z] ---> Running in 53e5483b7d75 [2021-08-06T09:55:18.378Z] ---> Running in 3a61af6c0958 [2021-08-06T09:55:18.964Z] Removing intermediate container 53e5483b7d75 [2021-08-06T09:55:18.964Z] ---> 11832c1f6118 [2021-08-06T09:55:18.964Z] 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-06T09:55:18.964Z] ---> Running in db91a6792ee2 [2021-08-06T09:55:19.230Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-08-06T09:55:19.816Z] --2021-08-06 09:55:19-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-08-06T09:55:19.816Z] Resolving github.com (github.com)... 140.82.113.3 [2021-08-06T09:55:19.816Z] Connecting to github.com (github.com)|140.82.113.3|:443... connected. [2021-08-06T09:55:19.816Z] HTTP request sent, awaiting response... 302 Found [2021-08-06T09:55:19.816Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-08-06T09:55:19.816Z] --2021-08-06 09:55:19-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-08-06T09:55:19.816Z] Resolving codeload.github.com (codeload.github.com)... 140.82.113.9 [2021-08-06T09:55:19.816Z] Connecting to codeload.github.com (codeload.github.com)|140.82.113.9|:443... connected. [2021-08-06T09:55:19.819Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-08-06T09:55:20.086Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz [2021-08-06T09:55:20.090Z] HTTP request sent, awaiting response... 200 OK [2021-08-06T09:55:20.090Z] Length: unspecified [application/x-gzip] [2021-08-06T09:55:20.090Z] Saving to: 'STDOUT' [2021-08-06T09:55:20.090Z]  [2021-08-06T09:55:20.090Z] 0K .......... .......... .......... .......... .......... 1.39M [2021-08-06T09:55:20.090Z] 50K .......... .......... .......... .......... .......... 2.85M [2021-08-06T09:55:20.090Z] 100K .......... .......... .......... .......... .......... 3.05M [2021-08-06T09:55:20.090Z] 150K .......... .......... .......... .......... .......... 11.6M [2021-08-06T09:55:20.090Z] 200K .......... .......... .......... .......... .......... 13.7M [2021-08-06T09:55:20.090Z] 250K .......... .......... .......... .......... .......... 2.92M [2021-08-06T09:55:20.090Z] 300K .......... .......... .......... .......... .......... 4.22M [2021-08-06T09:55:20.090Z] 350K .......... .......... .......... .......... .......... 6.14M [2021-08-06T09:55:20.090Z] 400K .......... .......... .......... .......... .......... 3.76M [2021-08-06T09:55:20.090Z] 450K .......... .......... .......... .......... .......... 3.46M [2021-08-06T09:55:20.090Z] 500K .......... .......... .......... .......... .......... 8.40M [2021-08-06T09:55:20.090Z] 550K .......... .......... .......... .......... .......... 2.51M [2021-08-06T09:55:20.362Z] 600K .......... .......... .......... .......... .......... 874K [2021-08-06T09:55:20.362Z] 650K .......... .......... .......... .......... .......... 2.36M [2021-08-06T09:55:20.362Z] 700K ..  528K=0.2s [2021-08-06T09:55:20.362Z] [2021-08-06T09:55:20.362Z] 2021-08-06 09:55:20 (2.78 MB/s) - written to stdout [719348] [2021-08-06T09:55:20.362Z] [2021-08-06T09:55:20.637Z] -- The C compiler identification is GNU 9.3.0 [2021-08-06T09:55:20.676Z] (1/22) Installing hiredis (0.14.1-r0) [2021-08-06T09:55:20.676Z] (2/22) Installing hiredis-dev (0.14.1-r0) [2021-08-06T09:55:20.676Z] (3/22) Installing ncurses-dev (6.2_p20200523-r0) [2021-08-06T09:55:20.910Z] -- The CXX compiler identification is GNU 9.3.0 [2021-08-06T09:55:20.910Z] -- Check for working C compiler: /usr/bin/cc [2021-08-06T09:55:20.943Z] (4/22) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-08-06T09:55:21.183Z] -- Check for working C compiler: /usr/bin/cc - works [2021-08-06T09:55:21.183Z] -- Detecting C compiler ABI info [2021-08-06T09:55:21.458Z] -- Detecting C compiler ABI info - done [2021-08-06T09:55:21.458Z] -- Detecting C compile features [2021-08-06T09:55:21.458Z] -- Detecting C compile features - done [2021-08-06T09:55:21.458Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-08-06T09:55:21.734Z] -- Check for working CXX compiler: /usr/bin/c++ - works [2021-08-06T09:55:21.734Z] -- Detecting CXX compiler ABI info [2021-08-06T09:55:21.906Z] (5/22) Installing libblkid (2.35.2-r0) [2021-08-06T09:55:22.006Z] -- Detecting CXX compiler ABI info - done [2021-08-06T09:55:22.006Z] -- Detecting CXX compile features [2021-08-06T09:55:22.006Z] -- Detecting CXX compile features - done [2021-08-06T09:55:22.279Z] -- Looking for include file endian.h [2021-08-06T09:55:22.279Z] -- Looking for include file endian.h - found [2021-08-06T09:55:22.279Z] -- Check if the system is big endian [2021-08-06T09:55:22.279Z] -- Searching 16 bit integer [2021-08-06T09:55:22.279Z] -- Looking for sys/types.h [2021-08-06T09:55:22.490Z] (6/22) Installing blkid (2.35.2-r0) [2021-08-06T09:55:22.490Z] (7/22) Installing libcap-ng (0.7.10-r1) [2021-08-06T09:55:22.490Z] (8/22) Installing setpriv (2.35.2-r0) [2021-08-06T09:55:22.552Z] -- Looking for sys/types.h - found [2021-08-06T09:55:22.553Z] -- Looking for stdint.h [2021-08-06T09:55:22.759Z] (9/22) Installing libmount (2.35.2-r0) [2021-08-06T09:55:22.759Z] (10/22) Installing libsmartcols (2.35.2-r0) [2021-08-06T09:55:22.759Z] (11/22) Installing findmnt (2.35.2-r0) [2021-08-06T09:55:22.826Z] -- Looking for stdint.h - found [2021-08-06T09:55:22.826Z] -- Looking for stddef.h [2021-08-06T09:55:23.027Z] (12/22) Installing mcookie (2.35.2-r0) [2021-08-06T09:55:23.027Z] (13/22) Installing hexdump (2.35.2-r0) [2021-08-06T09:55:23.027Z] (14/22) Installing lsblk (2.35.2-r0) [2021-08-06T09:55:23.099Z] -- Looking for stddef.h - found [2021-08-06T09:55:23.099Z] -- Check size of unsigned short [2021-08-06T09:55:23.293Z] (15/22) Installing libuuid (2.35.2-r0) [2021-08-06T09:55:23.293Z] (16/22) Installing libfdisk (2.35.2-r0) [2021-08-06T09:55:23.293Z] (17/22) Installing sfdisk (2.35.2-r0) [2021-08-06T09:55:23.371Z] -- Check size of unsigned short - done [2021-08-06T09:55:23.371Z] -- Searching 16 bit integer - Using unsigned short [2021-08-06T09:55:23.560Z] (18/22) Installing cfdisk (2.35.2-r0) [2021-08-06T09:55:23.560Z] (19/22) Installing util-linux (2.35.2-r0) [2021-08-06T09:55:23.643Z] -- Check if the system is big endian - little endian [2021-08-06T09:55:23.643Z] -- Check size of size_t [2021-08-06T09:55:23.827Z] (20/22) Installing util-linux-dev (2.35.2-r0) [2021-08-06T09:55:23.915Z] -- Check size of size_t - done [2021-08-06T09:55:23.915Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-08-06T09:55:23.915Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-08-06T09:55:23.915Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-08-06T09:55:23.915Z] CMake did not find one. [2021-08-06T09:55:23.915Z] [2021-08-06T09:55:23.915Z] Could not find a package configuration file provided by "cJSON" with any of [2021-08-06T09:55:23.915Z] the following names: [2021-08-06T09:55:23.915Z] [2021-08-06T09:55:23.915Z] cJSONConfig.cmake [2021-08-06T09:55:23.915Z] cjson-config.cmake [2021-08-06T09:55:23.915Z] [2021-08-06T09:55:23.915Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-08-06T09:55:23.915Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-08-06T09:55:23.915Z] provides a separate development package or SDK, be sure it has been [2021-08-06T09:55:23.915Z] installed. [2021-08-06T09:55:23.915Z] [2021-08-06T09:55:23.915Z] [2021-08-06T09:55:23.915Z] -- Configuring done [2021-08-06T09:55:24.095Z] (21/22) Installing libidn2 (2.3.0-r0) [2021-08-06T09:55:24.186Z] -- Generating done [2021-08-06T09:55:24.187Z] -- Build files have been written to: /tmp/cbor [2021-08-06T09:55:24.365Z] (22/22) Installing wget (1.20.3-r1) [2021-08-06T09:55:24.365Z] Executing busybox-1.31.1-r20.trigger [2021-08-06T09:55:24.365Z] OK: 295 MiB in 97 packages [2021-08-06T09:55:24.464Z] Scanning dependencies of target cbor_shared [2021-08-06T09:55:24.464Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-08-06T09:55:24.959Z] Removing intermediate container db91a6792ee2 [2021-08-06T09:55:24.959Z] ---> 064d408bc9b6 [2021-08-06T09:55:24.959Z] Step 6/25 : ENV CBOR_VERSION=0.5.0 [2021-08-06T09:55:24.959Z] ---> Running in 70979ae61867 [2021-08-06T09:55:24.959Z] Removing intermediate container 70979ae61867 [2021-08-06T09:55:24.959Z] ---> bcc5d4ea60ff [2021-08-06T09:55:24.959Z] 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-06T09:55:24.959Z] ---> Running in 7ecc7b405fcf [2021-08-06T09:55:25.064Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-08-06T09:55:25.230Z] --2021-08-06 09:55:25-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-08-06T09:55:25.231Z] Resolving github.com (github.com)... 140.82.113.3 [2021-08-06T09:55:25.231Z] Connecting to github.com (github.com)|140.82.113.3|:443... connected. [2021-08-06T09:55:25.498Z] HTTP request sent, awaiting response... 302 Found [2021-08-06T09:55:25.499Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-08-06T09:55:25.499Z] --2021-08-06 09:55:25-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-08-06T09:55:25.499Z] Resolving codeload.github.com (codeload.github.com)... 140.82.113.9 [2021-08-06T09:55:25.499Z] Connecting to codeload.github.com (codeload.github.com)|140.82.113.9|:443... connected. [2021-08-06T09:55:25.499Z] HTTP request sent, awaiting response... 200 OK [2021-08-06T09:55:25.499Z] Length: unspecified [application/x-gzip] [2021-08-06T09:55:25.499Z] Saving to: 'STDOUT' [2021-08-06T09:55:25.499Z]  [2021-08-06T09:55:25.499Z] 0K .......... .......... .......... .......... .......... 1.46M [2021-08-06T09:55:25.499Z] 50K .......... .......... .......... .......... .......... 2.96M [2021-08-06T09:55:25.499Z] 100K .......... .......... .......... .......... .......... 31.7M [2021-08-06T09:55:25.499Z] 150K .......... .......... .......... .......... .......... 3.26M [2021-08-06T09:55:25.499Z] 200K .......... .......... .......... .......... .......... 19.8M [2021-08-06T09:55:25.499Z] 250K .......... .......... .......... .......... .......... 6.18M [2021-08-06T09:55:25.499Z] 300K .......... .......... .......... .......... .......... 7.53M [2021-08-06T09:55:25.499Z] 350K .......... .......... .......... .......... .......... 17.6M [2021-08-06T09:55:25.499Z] 400K .......... .......... .......... .......... .......... 6.51M [2021-08-06T09:55:25.499Z] 450K .......... .......... .......... .......... .......... 11.9M [2021-08-06T09:55:25.499Z] 500K .......... .......... .......... .......... .......... 2.60M [2021-08-06T09:55:25.499Z] 550K .......... .......... .......... .......... .......... 16.6M [2021-08-06T09:55:25.499Z] 600K .......... .......... .......... .......... .......... 7.03M [2021-08-06T09:55:25.499Z] 650K .......... .......... .......... .......... .......... 7.00M [2021-08-06T09:55:25.499Z] 700K .. 97.4M=0.1s [2021-08-06T09:55:25.499Z] [2021-08-06T09:55:25.499Z] 2021-08-06 09:55:25 (5.14 MB/s) - written to stdout [719348] [2021-08-06T09:55:25.499Z] [2021-08-06T09:55:25.658Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-08-06T09:55:25.768Z] -- The C compiler identification is GNU 9.3.0 [2021-08-06T09:55:25.769Z] -- The CXX compiler identification is GNU 9.3.0 [2021-08-06T09:55:25.769Z] -- Check for working C compiler: /usr/bin/cc [2021-08-06T09:55:25.769Z] -- Check for working C compiler: /usr/bin/cc - works [2021-08-06T09:55:25.769Z] -- Detecting C compiler ABI info [2021-08-06T09:55:25.769Z] -- Detecting C compiler ABI info - done [2021-08-06T09:55:25.769Z] -- Detecting C compile features [2021-08-06T09:55:25.769Z] -- Detecting C compile features - done [2021-08-06T09:55:25.769Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-08-06T09:55:25.931Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-08-06T09:55:26.038Z] -- Check for working CXX compiler: /usr/bin/c++ - works [2021-08-06T09:55:26.038Z] -- Detecting CXX compiler ABI info [2021-08-06T09:55:26.038Z] -- Detecting CXX compiler ABI info - done [2021-08-06T09:55:26.038Z] -- Detecting CXX compile features [2021-08-06T09:55:26.038Z] -- Detecting CXX compile features - done [2021-08-06T09:55:26.038Z] -- Looking for include file endian.h [2021-08-06T09:55:26.038Z] -- Looking for include file endian.h - found [2021-08-06T09:55:26.038Z] -- Check if the system is big endian [2021-08-06T09:55:26.038Z] -- Searching 16 bit integer [2021-08-06T09:55:26.038Z] -- Looking for sys/types.h [2021-08-06T09:55:26.306Z] -- Looking for sys/types.h - found [2021-08-06T09:55:26.306Z] -- Looking for stdint.h [2021-08-06T09:55:26.306Z] -- Looking for stdint.h - found [2021-08-06T09:55:26.306Z] -- Looking for stddef.h [2021-08-06T09:55:26.306Z] -- Looking for stddef.h - found [2021-08-06T09:55:26.306Z] -- Check size of unsigned short [2021-08-06T09:55:26.306Z] -- Check size of unsigned short - done [2021-08-06T09:55:26.306Z] -- Searching 16 bit integer - Using unsigned short [2021-08-06T09:55:26.524Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-08-06T09:55:26.575Z] -- Check if the system is big endian - little endian [2021-08-06T09:55:26.575Z] -- Check size of size_t [2021-08-06T09:55:26.575Z] -- Check size of size_t - done [2021-08-06T09:55:26.575Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-08-06T09:55:26.575Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-08-06T09:55:26.575Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-08-06T09:55:26.575Z] CMake did not find one. [2021-08-06T09:55:26.575Z] [2021-08-06T09:55:26.575Z] Could not find a package configuration file provided by "cJSON" with any of [2021-08-06T09:55:26.575Z] the following names: [2021-08-06T09:55:26.575Z] [2021-08-06T09:55:26.575Z] cJSONConfig.cmake [2021-08-06T09:55:26.575Z] cjson-config.cmake [2021-08-06T09:55:26.575Z] [2021-08-06T09:55:26.575Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-08-06T09:55:26.575Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-08-06T09:55:26.575Z] provides a separate development package or SDK, be sure it has been [2021-08-06T09:55:26.575Z] installed. [2021-08-06T09:55:26.575Z] [2021-08-06T09:55:26.575Z] [2021-08-06T09:55:26.575Z] -- Configuring done [2021-08-06T09:55:26.575Z] -- Generating done [2021-08-06T09:55:26.575Z] -- Build files have been written to: /tmp/cbor [2021-08-06T09:55:26.575Z] Scanning dependencies of target cbor_shared [2021-08-06T09:55:26.575Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-08-06T09:55:26.797Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-08-06T09:55:26.843Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-08-06T09:55:26.843Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-08-06T09:55:26.843Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-08-06T09:55:27.071Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-08-06T09:55:27.071Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-08-06T09:55:27.109Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-08-06T09:55:27.109Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-08-06T09:55:27.109Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-08-06T09:55:27.109Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-08-06T09:55:27.109Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-08-06T09:55:27.354Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-08-06T09:55:27.378Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-08-06T09:55:27.378Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-08-06T09:55:27.378Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-08-06T09:55:27.378Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-08-06T09:55:27.627Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-08-06T09:55:27.653Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-08-06T09:55:27.653Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-08-06T09:55:27.653Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-08-06T09:55:27.653Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-08-06T09:55:27.923Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-08-06T09:55:27.923Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-08-06T09:55:27.923Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-08-06T09:55:27.923Z] [ 40%] Linking C shared library libcbor.so [2021-08-06T09:55:27.923Z] [ 40%] Built target cbor_shared [2021-08-06T09:55:27.923Z] Scanning dependencies of target cbor [2021-08-06T09:55:27.923Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-08-06T09:55:28.192Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-08-06T09:55:28.192Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-08-06T09:55:28.192Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-08-06T09:55:28.220Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-08-06T09:55:28.464Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-08-06T09:55:28.491Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-08-06T09:55:28.730Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-08-06T09:55:28.730Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-08-06T09:55:28.731Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-08-06T09:55:28.731Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-08-06T09:55:28.731Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-08-06T09:55:29.001Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-08-06T09:55:29.001Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-08-06T09:55:29.001Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-08-06T09:55:29.088Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-08-06T09:55:29.281Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-08-06T09:55:29.281Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-08-06T09:55:29.281Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-08-06T09:55:29.281Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-08-06T09:55:29.361Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-08-06T09:55:29.548Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-08-06T09:55:29.548Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-08-06T09:55:29.548Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-08-06T09:55:29.548Z] [ 80%] Linking C static library libcbor.a [2021-08-06T09:55:29.548Z] [ 80%] Built target cbor [2021-08-06T09:55:29.548Z] Scanning dependencies of target sort [2021-08-06T09:55:29.548Z] [ 82%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-08-06T09:55:29.633Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-08-06T09:55:29.818Z] [ 84%] Linking C executable sort [2021-08-06T09:55:29.818Z] [ 84%] Built target sort [2021-08-06T09:55:29.818Z] Scanning dependencies of target readfile [2021-08-06T09:55:29.818Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-08-06T09:55:29.818Z] [ 88%] Linking C executable readfile [2021-08-06T09:55:29.818Z] [ 88%] Built target readfile [2021-08-06T09:55:29.818Z] Scanning dependencies of target streaming_parser [2021-08-06T09:55:29.818Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-08-06T09:55:29.818Z] [ 92%] Linking C executable streaming_parser [2021-08-06T09:55:29.818Z] [ 92%] Built target streaming_parser [2021-08-06T09:55:29.818Z] Scanning dependencies of target hello [2021-08-06T09:55:29.818Z] [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-08-06T09:55:29.818Z] [ 96%] Linking C executable hello [2021-08-06T09:55:29.905Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-08-06T09:55:30.087Z] [ 96%] Built target hello [2021-08-06T09:55:30.087Z] Scanning dependencies of target create_items [2021-08-06T09:55:30.087Z] [ 98%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-08-06T09:55:30.087Z] [100%] Linking C executable create_items [2021-08-06T09:55:30.087Z] [100%] Built target create_items [2021-08-06T09:55:30.087Z] Install the project... [2021-08-06T09:55:30.087Z] -- Install configuration: "Release" [2021-08-06T09:55:30.087Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-08-06T09:55:30.087Z] -- Installing: /usr/local/lib64/libcbor.a [2021-08-06T09:55:30.087Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-08-06T09:55:30.087Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-08-06T09:55:30.087Z] -- Installing: /usr/local/lib64/libcbor.so [2021-08-06T09:55:30.087Z] -- Up-to-date: /usr/local/include/cbor [2021-08-06T09:55:30.087Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-08-06T09:55:30.087Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-08-06T09:55:30.087Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-08-06T09:55:30.087Z] -- Installing: /usr/local/include/cbor/common.h [2021-08-06T09:55:30.087Z] -- Installing: /usr/local/include/cbor/data.h [2021-08-06T09:55:30.087Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-08-06T09:55:30.087Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-08-06T09:55:30.087Z] -- Installing: /usr/local/include/cbor/internal [2021-08-06T09:55:30.087Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-08-06T09:55:30.087Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-08-06T09:55:30.087Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-08-06T09:55:30.087Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-08-06T09:55:30.087Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-08-06T09:55:30.087Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-08-06T09:55:30.087Z] -- Installing: /usr/local/include/cbor/ints.h [2021-08-06T09:55:30.087Z] -- Installing: /usr/local/include/cbor/maps.h [2021-08-06T09:55:30.087Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-08-06T09:55:30.087Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-08-06T09:55:30.087Z] -- Installing: /usr/local/include/cbor/strings.h [2021-08-06T09:55:30.087Z] -- Installing: /usr/local/include/cbor/tags.h [2021-08-06T09:55:30.087Z] -- Installing: /usr/local/include/cbor.h [2021-08-06T09:55:30.087Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-08-06T09:55:30.177Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-08-06T09:55:30.449Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-08-06T09:55:30.449Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-08-06T09:55:30.673Z] Removing intermediate container 7ecc7b405fcf [2021-08-06T09:55:30.673Z] ---> 9e690134a640 [2021-08-06T09:55:30.673Z] Step 8/25 : RUN mkdir /tmp/sdk [2021-08-06T09:55:30.673Z] ---> Running in 375520a032bb [2021-08-06T09:55:31.045Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-08-06T09:55:31.045Z] [ 40%] Linking C shared library libcbor.so [2021-08-06T09:55:31.045Z] [ 40%] Built target cbor_shared [2021-08-06T09:55:31.045Z] Scanning dependencies of target cbor [2021-08-06T09:55:31.262Z] Removing intermediate container 375520a032bb [2021-08-06T09:55:31.262Z] ---> e5b42f4bfb2e [2021-08-06T09:55:31.262Z] Step 9/25 : COPY VERSION /tmp/sdk [2021-08-06T09:55:31.262Z] ---> 0f0853bcdd34 [2021-08-06T09:55:31.262Z] Step 10/25 : COPY src /tmp/sdk/src [2021-08-06T09:55:31.319Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-08-06T09:55:31.534Z] ---> b8dfccc8da1e [2021-08-06T09:55:31.534Z] Step 11/25 : COPY include /tmp/sdk/include [2021-08-06T09:55:31.534Z] ---> 7a41b995c3f6 [2021-08-06T09:55:31.534Z] Step 12/25 : COPY scripts /tmp/sdk/scripts [2021-08-06T09:55:31.808Z] ---> 8393596574fd [2021-08-06T09:55:31.808Z] Step 13/25 : COPY LICENSE /tmp/sdk [2021-08-06T09:55:31.808Z] ---> 93ed95f8c973 [2021-08-06T09:55:31.808Z] Step 14/25 : COPY Attribution.txt /tmp/sdk [2021-08-06T09:55:31.921Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-08-06T09:55:32.075Z] ---> 85a03dae9eba [2021-08-06T09:55:32.076Z] Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-08-06T09:55:32.076Z] ---> Running in 4eed617e236d [2021-08-06T09:55:32.344Z] + CPPCHECK=false [2021-08-06T09:55:32.344Z] + DOCGEN=false [2021-08-06T09:55:32.344Z] + TOMLVER=SDK-0.2 [2021-08-06T09:55:32.344Z] + CUTILVER=1.1.4 [2021-08-06T09:55:32.344Z] + '[' 0 -gt 0 ] [2021-08-06T09:55:32.344Z] + readlink -f ./scripts/build.sh [2021-08-06T09:55:32.344Z] + dirname /tmp/sdk/scripts/build.sh [2021-08-06T09:55:32.344Z] + dirname /tmp/sdk/scripts [2021-08-06T09:55:32.344Z] + ROOT=/tmp/sdk [2021-08-06T09:55:32.344Z] + cd /tmp/sdk [2021-08-06T09:55:32.344Z] + '[' '!' -d deps ] [2021-08-06T09:55:32.344Z] + mkdir deps [2021-08-06T09:55:32.344Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-08-06T09:55:32.344Z] + tar -C deps -z -x -f - [2021-08-06T09:55:32.344Z] --2021-08-06 09:55:32-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-08-06T09:55:32.344Z] Resolving github.com (github.com)... 140.82.113.3 [2021-08-06T09:55:32.344Z] Connecting to github.com (github.com)|140.82.113.3|:443... connected. [2021-08-06T09:55:32.515Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-08-06T09:55:32.614Z] HTTP request sent, awaiting response... 302 Found [2021-08-06T09:55:32.614Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-08-06T09:55:32.614Z] --2021-08-06 09:55:32-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-08-06T09:55:32.614Z] Resolving codeload.github.com (codeload.github.com)... 140.82.113.9 [2021-08-06T09:55:32.614Z] Connecting to codeload.github.com (codeload.github.com)|140.82.113.9|:443... connected. [2021-08-06T09:55:32.614Z] HTTP request sent, awaiting response... 200 OK [2021-08-06T09:55:32.614Z] Length: unspecified [application/x-gzip] [2021-08-06T09:55:32.614Z] Saving to: 'STDOUT' [2021-08-06T09:55:32.614Z] [2021-08-06T09:55:32.614Z] 0K .......... ...... 846K=0.02s [2021-08-06T09:55:32.614Z] [2021-08-06T09:55:32.614Z] 2021-08-06 09:55:32 (846 KB/s) - written to stdout [16451] [2021-08-06T09:55:32.614Z] [2021-08-06T09:55:32.614Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-08-06T09:55:32.614Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-08-06T09:55:32.614Z] + tar -C deps -z -x -f - [2021-08-06T09:55:32.614Z] --2021-08-06 09:55:32-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-08-06T09:55:32.614Z] Resolving github.com (github.com)... 140.82.113.3 [2021-08-06T09:55:32.614Z] Connecting to github.com (github.com)|140.82.113.3|:443... connected. [2021-08-06T09:55:32.787Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-08-06T09:55:32.881Z] HTTP request sent, awaiting response... 302 Found [2021-08-06T09:55:32.882Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] [2021-08-06T09:55:32.882Z] --2021-08-06 09:55:32-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [2021-08-06T09:55:32.882Z] Resolving codeload.github.com (codeload.github.com)... 140.82.113.9 [2021-08-06T09:55:32.882Z] Connecting to codeload.github.com (codeload.github.com)|140.82.113.9|:443... connected. [2021-08-06T09:55:32.882Z] HTTP request sent, awaiting response... 200 OK [2021-08-06T09:55:32.882Z] Length: unspecified [application/x-gzip] [2021-08-06T09:55:32.882Z] Saving to: 'STDOUT' [2021-08-06T09:55:32.882Z] [2021-08-06T09:55:33.148Z] 0K .......... .......... .......... .......... .......... 1.45M [2021-08-06T09:55:33.148Z] 50K .......... .......... .......... .......... .......... 2.87M [2021-08-06T09:55:33.148Z] 100K .......... .......... .......... .......... .......... 37.7M [2021-08-06T09:55:33.148Z] 150K .......... .......... ....... 5.07M=0.06s [2021-08-06T09:55:33.148Z] [2021-08-06T09:55:33.148Z] 2021-08-06 09:55:32 (3.02 MB/s) - written to stdout [181796] [2021-08-06T09:55:33.148Z] [2021-08-06T09:55:33.148Z] + mkdir -p src/c/iot [2021-08-06T09:55:33.148Z] + 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-06T09:55:33.148Z] + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot [2021-08-06T09:55:33.148Z] + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot [2021-08-06T09:55:33.148Z] + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot [2021-08-06T09:55:33.148Z] + mkdir -p include/iot [2021-08-06T09:55:33.148Z] + 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-06T09:55:33.148Z] + mkdir -p include/iot/os [2021-08-06T09:55:33.148Z] + 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-06T09:55:33.148Z] + mkdir -p /tmp/sdk/build/release [2021-08-06T09:55:33.148Z] + cd /tmp/sdk/build/release [2021-08-06T09:55:33.148Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-08-06T09:55:33.148Z] -- The C compiler identification is GNU 9.3.0 [2021-08-06T09:55:33.148Z] -- Check for working C compiler: /usr/bin/cc [2021-08-06T09:55:33.148Z] -- Check for working C compiler: /usr/bin/cc - works [2021-08-06T09:55:33.148Z] -- Detecting C compiler ABI info [2021-08-06T09:55:33.419Z] -- Detecting C compiler ABI info - done [2021-08-06T09:55:33.419Z] -- Detecting C compile features [2021-08-06T09:55:33.419Z] -- Detecting C compile features - done [2021-08-06T09:55:33.419Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-08-06T09:55:33.419Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") [2021-08-06T09:55:33.419Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-08-06T09:55:33.419Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-08-06T09:55:33.419Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-08-06T09:55:33.419Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-08-06T09:55:33.419Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-08-06T09:55:33.419Z] -- C SDK 0.0.0 for Linux [2021-08-06T09:55:33.419Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-08-06T09:55:33.419Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-08-06T09:55:33.419Z] -- Found Curses: /usr/lib/libcurses.so [2021-08-06T09:55:33.419Z] -- Configuring done [2021-08-06T09:55:33.419Z] -- Generating done [2021-08-06T09:55:33.688Z] -- Build files have been written to: /tmp/sdk/build/release [2021-08-06T09:55:33.688Z] + make all package [2021-08-06T09:55:33.688Z] + tee release.log [2021-08-06T09:55:33.688Z] Scanning dependencies of target csdk [2021-08-06T09:55:33.688Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-08-06T09:55:33.688Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-08-06T09:55:33.964Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-08-06T09:55:34.234Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-08-06T09:55:34.234Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-08-06T09:55:34.234Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-08-06T09:55:34.505Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-08-06T09:55:34.505Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-08-06T09:55:34.766Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-08-06T09:55:34.767Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-08-06T09:55:34.777Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-08-06T09:55:34.777Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-08-06T09:55:35.039Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-08-06T09:55:35.039Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-08-06T09:55:35.050Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-08-06T09:55:35.312Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-08-06T09:55:35.316Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-08-06T09:55:35.316Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-08-06T09:55:35.586Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-08-06T09:55:35.587Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-08-06T09:55:35.587Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-08-06T09:55:35.587Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-08-06T09:55:35.587Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-08-06T09:55:36.170Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-08-06T09:55:36.170Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-08-06T09:55:36.170Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-08-06T09:55:36.439Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-08-06T09:55:36.439Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-08-06T09:55:36.439Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-08-06T09:55:36.563Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-08-06T09:55:36.563Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-08-06T09:55:37.023Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-08-06T09:55:37.023Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-08-06T09:55:37.023Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-08-06T09:55:37.160Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-08-06T09:55:37.293Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-08-06T09:55:37.293Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-08-06T09:55:37.293Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-08-06T09:55:37.433Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-08-06T09:55:37.571Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-08-06T09:55:37.571Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-08-06T09:55:37.706Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-08-06T09:55:37.842Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-08-06T09:55:37.842Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-08-06T09:55:37.981Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-08-06T09:55:38.115Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-08-06T09:55:38.115Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-08-06T09:55:38.258Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-08-06T09:55:38.389Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-08-06T09:55:38.389Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-08-06T09:55:38.854Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-08-06T09:55:38.855Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-08-06T09:55:39.128Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-08-06T09:55:39.358Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-08-06T09:55:39.359Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-08-06T09:55:39.359Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-08-06T09:55:39.359Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-08-06T09:55:39.402Z] [ 80%] Linking C static library libcbor.a [2021-08-06T09:55:39.402Z] [ 80%] Built target cbor [2021-08-06T09:55:39.402Z] Scanning dependencies of target sort [2021-08-06T09:55:39.402Z] [ 82%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-08-06T09:55:39.626Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-08-06T09:55:39.675Z] [ 84%] Linking C executable sort [2021-08-06T09:55:39.675Z] [ 84%] Built target sort [2021-08-06T09:55:39.899Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-08-06T09:55:39.899Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-08-06T09:55:39.950Z] Scanning dependencies of target readfile [2021-08-06T09:55:39.950Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-08-06T09:55:39.950Z] [ 88%] Linking C executable readfile [2021-08-06T09:55:40.166Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-08-06T09:55:40.166Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-08-06T09:55:40.223Z] [ 88%] Built target readfile [2021-08-06T09:55:40.223Z] Scanning dependencies of target streaming_parser [2021-08-06T09:55:40.223Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-08-06T09:55:40.433Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-08-06T09:55:40.496Z] [ 92%] Linking C executable streaming_parser [2021-08-06T09:55:40.496Z] [ 92%] Built target streaming_parser [2021-08-06T09:55:40.496Z] Scanning dependencies of target hello [2021-08-06T09:55:40.496Z] [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-08-06T09:55:40.769Z] [ 96%] Linking C executable hello [2021-08-06T09:55:40.769Z] [ 96%] Built target hello [2021-08-06T09:55:40.769Z] Scanning dependencies of target create_items [2021-08-06T09:55:40.769Z] [ 98%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-08-06T09:55:41.019Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-08-06T09:55:41.042Z] [100%] Linking C executable create_items [2021-08-06T09:55:41.042Z] [100%] Built target create_items [2021-08-06T09:55:41.292Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-08-06T09:55:41.292Z] [ 75%] Linking C shared library libcsdk.so [2021-08-06T09:55:41.292Z] [ 75%] Built target csdk [2021-08-06T09:55:41.292Z] Scanning dependencies of target template [2021-08-06T09:55:41.292Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-08-06T09:55:41.314Z] Install the project... [2021-08-06T09:55:41.314Z] -- Install configuration: "Release" [2021-08-06T09:55:41.314Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-08-06T09:55:41.314Z] -- Installing: /usr/local/lib64/libcbor.a [2021-08-06T09:55:41.314Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-08-06T09:55:41.314Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-08-06T09:55:41.314Z] -- Installing: /usr/local/lib64/libcbor.so [2021-08-06T09:55:41.314Z] -- Up-to-date: /usr/local/include/cbor [2021-08-06T09:55:41.314Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-08-06T09:55:41.314Z] -- Installing: /usr/local/include/cbor/ints.h [2021-08-06T09:55:41.314Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-08-06T09:55:41.314Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-08-06T09:55:41.314Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-08-06T09:55:41.314Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-08-06T09:55:41.314Z] -- Installing: /usr/local/include/cbor/data.h [2021-08-06T09:55:41.314Z] -- Installing: /usr/local/include/cbor/common.h [2021-08-06T09:55:41.314Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-08-06T09:55:41.314Z] -- Installing: /usr/local/include/cbor/strings.h [2021-08-06T09:55:41.314Z] -- Installing: /usr/local/include/cbor/tags.h [2021-08-06T09:55:41.314Z] -- Installing: /usr/local/include/cbor/internal [2021-08-06T09:55:41.314Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-08-06T09:55:41.314Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-08-06T09:55:41.314Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-08-06T09:55:41.314Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-08-06T09:55:41.314Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-08-06T09:55:41.314Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-08-06T09:55:41.314Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-08-06T09:55:41.314Z] -- Installing: /usr/local/include/cbor/maps.h [2021-08-06T09:55:41.314Z] -- Installing: /usr/local/include/cbor.h [2021-08-06T09:55:41.314Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-08-06T09:55:41.567Z] [ 78%] Linking C executable template [2021-08-06T09:55:41.567Z] [ 78%] Built target template [2021-08-06T09:55:41.567Z] Scanning dependencies of target device-counter [2021-08-06T09:55:41.567Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-08-06T09:55:41.567Z] [ 81%] Linking C executable device-counter [2021-08-06T09:55:41.836Z] [ 81%] Built target device-counter [2021-08-06T09:55:41.836Z] Scanning dependencies of target device-random [2021-08-06T09:55:41.837Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-08-06T09:55:41.837Z] [ 84%] Linking C executable device-random [2021-08-06T09:55:41.837Z] [ 84%] Built target device-random [2021-08-06T09:55:41.837Z] Scanning dependencies of target device-gyro [2021-08-06T09:55:41.837Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-08-06T09:55:42.103Z] [ 87%] Linking C executable device-gyro [2021-08-06T09:55:42.103Z] [ 87%] Built target device-gyro [2021-08-06T09:55:42.103Z] Scanning dependencies of target device-bitfields [2021-08-06T09:55:42.103Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-08-06T09:55:42.103Z] [ 90%] Linking C executable device-bitfields [2021-08-06T09:55:42.103Z] [ 90%] Built target device-bitfields [2021-08-06T09:55:42.103Z] Scanning dependencies of target template-discovery [2021-08-06T09:55:42.103Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-08-06T09:55:42.369Z] [ 93%] Linking C executable template-discovery [2021-08-06T09:55:42.369Z] [ 93%] Built target template-discovery [2021-08-06T09:55:42.369Z] Scanning dependencies of target device-file [2021-08-06T09:55:42.369Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-08-06T09:55:42.637Z] [ 96%] Linking C executable device-file [2021-08-06T09:55:42.637Z] [ 96%] Built target device-file [2021-08-06T09:55:42.637Z] Scanning dependencies of target device-terminal [2021-08-06T09:55:42.637Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-08-06T09:55:42.637Z] [100%] Linking C executable device-terminal [2021-08-06T09:55:42.637Z] [100%] Built target device-terminal [2021-08-06T09:55:42.637Z] Run CPack packaging tool... [2021-08-06T09:55:42.637Z] CPack: Create package using TGZ [2021-08-06T09:55:42.637Z] CPack: Install projects [2021-08-06T09:55:42.637Z] CPack: - Run preinstall target for: Csdk [2021-08-06T09:55:42.906Z] CPack: - Install project: Csdk [] [2021-08-06T09:55:42.906Z] CPack: Create package [2021-08-06T09:55:42.906Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-08-06T09:55:42.906Z] + '[' false '=' true ] [2021-08-06T09:55:42.906Z] + '[' false '=' true ] [2021-08-06T09:55:42.906Z] + mkdir -p /tmp/sdk/build/debug [2021-08-06T09:55:42.906Z] + cd /tmp/sdk/build/debug [2021-08-06T09:55:42.906Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-08-06T09:55:43.173Z] -- The C compiler identification is GNU 9.3.0 [2021-08-06T09:55:43.173Z] -- Check for working C compiler: /usr/bin/cc [2021-08-06T09:55:43.173Z] -- Check for working C compiler: /usr/bin/cc - works [2021-08-06T09:55:43.173Z] -- Detecting C compiler ABI info [2021-08-06T09:55:43.173Z] -- Detecting C compiler ABI info - done [2021-08-06T09:55:43.173Z] -- Detecting C compile features [2021-08-06T09:55:43.173Z] -- Detecting C compile features - done [2021-08-06T09:55:43.173Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-08-06T09:55:43.173Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") [2021-08-06T09:55:43.173Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-08-06T09:55:43.173Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-08-06T09:55:43.173Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-08-06T09:55:43.173Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-08-06T09:55:43.173Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-08-06T09:55:43.173Z] -- C SDK 0.0.0 for Linux [2021-08-06T09:55:43.173Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-08-06T09:55:43.294Z] Removing intermediate container 3a61af6c0958 [2021-08-06T09:55:43.294Z] ---> 79ecd534c0b0 [2021-08-06T09:55:43.294Z] Step 8/25 : RUN mkdir /tmp/sdk [2021-08-06T09:55:43.442Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-08-06T09:55:43.442Z] -- Found Curses: /usr/lib/libcurses.so [2021-08-06T09:55:43.442Z] -- Configuring done [2021-08-06T09:55:43.442Z] -- Generating done [2021-08-06T09:55:43.442Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-08-06T09:55:43.442Z] + make [2021-08-06T09:55:43.442Z] + tee debug.log [2021-08-06T09:55:43.442Z] Scanning dependencies of target csdk [2021-08-06T09:55:43.442Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-08-06T09:55:43.442Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-08-06T09:55:43.568Z] ---> Running in 8bd3f46c56e8 [2021-08-06T09:55:43.709Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-08-06T09:55:43.709Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-08-06T09:55:43.709Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-08-06T09:55:43.981Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-08-06T09:55:43.981Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-08-06T09:55:43.981Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-08-06T09:55:43.981Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-08-06T09:55:44.246Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-08-06T09:55:44.246Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-08-06T09:55:44.246Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-08-06T09:55:44.246Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-08-06T09:55:44.513Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-08-06T09:55:44.513Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-08-06T09:55:44.513Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-08-06T09:55:44.513Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-08-06T09:55:44.780Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-08-06T09:55:44.780Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-08-06T09:55:44.780Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-08-06T09:55:44.780Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-08-06T09:55:45.048Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-08-06T09:55:45.048Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-08-06T09:55:45.048Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-08-06T09:55:45.317Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-08-06T09:55:45.317Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-08-06T09:55:45.317Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-08-06T09:55:45.317Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-08-06T09:55:45.317Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-08-06T09:55:45.583Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-08-06T09:55:45.583Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-08-06T09:55:45.583Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-08-06T09:55:45.583Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-08-06T09:55:45.584Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-08-06T09:55:45.853Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-08-06T09:55:45.853Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-08-06T09:55:45.853Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-08-06T09:55:46.121Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-08-06T09:55:46.121Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-08-06T09:55:46.121Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-08-06T09:55:46.121Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-08-06T09:55:46.208Z] Removing intermediate container 8bd3f46c56e8 [2021-08-06T09:55:46.208Z] ---> acfcba0259d1 [2021-08-06T09:55:46.208Z] Step 9/25 : COPY VERSION /tmp/sdk [2021-08-06T09:55:46.387Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-08-06T09:55:46.387Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-08-06T09:55:46.480Z] ---> 6dedac0bdb7f [2021-08-06T09:55:46.480Z] Step 10/25 : COPY src /tmp/sdk/src [2021-08-06T09:55:46.655Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-08-06T09:55:46.655Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-08-06T09:55:46.655Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-08-06T09:55:46.655Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-08-06T09:55:46.921Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-08-06T09:55:46.921Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-08-06T09:55:46.921Z] [ 75%] Linking C shared library libcsdk.so [2021-08-06T09:55:47.187Z] [ 75%] Built target csdk [2021-08-06T09:55:47.187Z] Scanning dependencies of target template [2021-08-06T09:55:47.187Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-08-06T09:55:47.187Z] [ 78%] Linking C executable template [2021-08-06T09:55:47.187Z] [ 78%] Built target template [2021-08-06T09:55:47.187Z] Scanning dependencies of target device-counter [2021-08-06T09:55:47.187Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-08-06T09:55:47.187Z] [ 81%] Linking C executable device-counter [2021-08-06T09:55:47.454Z] [ 81%] Built target device-counter [2021-08-06T09:55:47.454Z] Scanning dependencies of target device-random [2021-08-06T09:55:47.454Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-08-06T09:55:47.454Z] [ 84%] Linking C executable device-random [2021-08-06T09:55:47.454Z] [ 84%] Built target device-random [2021-08-06T09:55:47.454Z] Scanning dependencies of target device-gyro [2021-08-06T09:55:47.454Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-08-06T09:55:47.454Z] [ 87%] Linking C executable device-gyro [2021-08-06T09:55:47.721Z] [ 87%] Built target device-gyro [2021-08-06T09:55:47.721Z] Scanning dependencies of target device-bitfields [2021-08-06T09:55:47.721Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-08-06T09:55:47.722Z] [ 90%] Linking C executable device-bitfields [2021-08-06T09:55:47.722Z] [ 90%] Built target device-bitfields [2021-08-06T09:55:47.722Z] Scanning dependencies of target template-discovery [2021-08-06T09:55:47.722Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-08-06T09:55:47.722Z] [ 93%] Linking C executable template-discovery [2021-08-06T09:55:47.722Z] [ 93%] Built target template-discovery [2021-08-06T09:55:47.923Z] ---> 6aa160087936 [2021-08-06T09:55:47.923Z] Step 11/25 : COPY include /tmp/sdk/include [2021-08-06T09:55:47.986Z] Scanning dependencies of target device-file [2021-08-06T09:55:47.987Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-08-06T09:55:47.987Z] [ 96%] Linking C executable device-file [2021-08-06T09:55:47.987Z] [ 96%] Built target device-file [2021-08-06T09:55:47.987Z] Scanning dependencies of target device-terminal [2021-08-06T09:55:47.987Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-08-06T09:55:47.987Z] [100%] Linking C executable device-terminal [2021-08-06T09:55:47.987Z] [100%] Built target device-terminal [2021-08-06T09:55:48.252Z] make: Entering directory '/tmp/sdk/build/release' [2021-08-06T09:55:48.252Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-08-06T09:55:48.252Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-06T09:55:48.252Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-06T09:55:48.252Z] [ 75%] Built target csdk [2021-08-06T09:55:48.252Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-06T09:55:48.252Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-06T09:55:48.252Z] [ 78%] Built target template [2021-08-06T09:55:48.252Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-06T09:55:48.252Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-06T09:55:48.252Z] [ 81%] Built target device-counter [2021-08-06T09:55:48.252Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-06T09:55:48.252Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-06T09:55:48.252Z] [ 84%] Built target device-random [2021-08-06T09:55:48.252Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-06T09:55:48.252Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-06T09:55:48.252Z] [ 87%] Built target device-gyro [2021-08-06T09:55:48.252Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-06T09:55:48.252Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-06T09:55:48.252Z] [ 90%] Built target device-bitfields [2021-08-06T09:55:48.252Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-06T09:55:48.252Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-06T09:55:48.252Z] [ 93%] Built target template-discovery [2021-08-06T09:55:48.252Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-06T09:55:48.252Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-06T09:55:48.252Z] [ 96%] Built target device-file [2021-08-06T09:55:48.252Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-06T09:55:48.252Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-06T09:55:48.252Z] [100%] Built target device-terminal [2021-08-06T09:55:48.252Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-08-06T09:55:48.252Z] Install the project... [2021-08-06T09:55:48.252Z] -- Install configuration: "Release" [2021-08-06T09:55:48.252Z] -- Installing: /usr/local/lib/libcsdk.so [2021-08-06T09:55:48.252Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-08-06T09:55:48.252Z] -- Up-to-date: /usr/local/include [2021-08-06T09:55:48.252Z] -- Installing: /usr/local/include/devsdk [2021-08-06T09:55:48.252Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-08-06T09:55:48.252Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-08-06T09:55:48.252Z] -- Installing: /usr/local/include/edgex [2021-08-06T09:55:48.252Z] -- Installing: /usr/local/include/edgex/devices.h [2021-08-06T09:55:48.252Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-08-06T09:55:48.252Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-08-06T09:55:48.252Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-08-06T09:55:48.252Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-08-06T09:55:48.252Z] -- Installing: /usr/local/include/edgex/secrets.h [2021-08-06T09:55:48.252Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-08-06T09:55:48.252Z] -- Installing: /usr/local/include/iot [2021-08-06T09:55:48.252Z] -- Installing: /usr/local/include/iot/base64.h [2021-08-06T09:55:48.252Z] -- Installing: /usr/local/include/iot/component.h [2021-08-06T09:55:48.252Z] -- Installing: /usr/local/include/iot/config.h [2021-08-06T09:55:48.252Z] -- Installing: /usr/local/include/iot/container.h [2021-08-06T09:55:48.252Z] -- Installing: /usr/local/include/iot/data.h [2021-08-06T09:55:48.252Z] -- Installing: /usr/local/include/iot/hash.h [2021-08-06T09:55:48.252Z] -- Installing: /usr/local/include/iot/iot.h [2021-08-06T09:55:48.252Z] -- Installing: /usr/local/include/iot/json.h [2021-08-06T09:55:48.252Z] -- Installing: /usr/local/include/iot/logger.h [2021-08-06T09:55:48.252Z] -- Installing: /usr/local/include/iot/os.h [2021-08-06T09:55:48.252Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-08-06T09:55:48.252Z] -- Installing: /usr/local/include/iot/thread.h [2021-08-06T09:55:48.252Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-08-06T09:55:48.252Z] -- Installing: /usr/local/include/iot/time.h [2021-08-06T09:55:48.252Z] -- Installing: /usr/local/include/iot/typecode.h [2021-08-06T09:55:48.252Z] -- Installing: /usr/local/include/iot/os [2021-08-06T09:55:48.252Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-08-06T09:55:48.252Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-08-06T09:55:48.252Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-08-06T09:55:48.252Z] -- Installing: /usr/local/include/iot/defs.h [2021-08-06T09:55:48.252Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-08-06T09:55:48.252Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-08-06T09:55:48.252Z] make: Leaving directory '/tmp/sdk/build/release' [2021-08-06T09:55:48.518Z] ---> 3c6af1cae1c7 [2021-08-06T09:55:48.518Z] Step 12/25 : COPY scripts /tmp/sdk/scripts [2021-08-06T09:55:48.836Z] Removing intermediate container 4eed617e236d [2021-08-06T09:55:48.836Z] ---> 6ff0c7e5d092 [2021-08-06T09:55:48.836Z] Step 16/25 : FROM ${BASE} [2021-08-06T09:55:48.836Z] ---> ac6a0feb3254 [2021-08-06T09:55:48.836Z] Step 17/25 : LABEL maintainer="IOTech " [2021-08-06T09:55:48.836Z] ---> Running in 401678aa393c [2021-08-06T09:55:48.836Z] Removing intermediate container 401678aa393c [2021-08-06T09:55:48.836Z] ---> 0630c330e8b8 [2021-08-06T09:55:48.836Z] 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-06T09:55:48.836Z] ---> Running in bf9327fb22a1 [2021-08-06T09:55:49.104Z] Connecting to iotech.jfrog.io (54.195.244.87:443) [2021-08-06T09:55:49.119Z] ---> 07fcde228209 [2021-08-06T09:55:49.119Z] Step 13/25 : COPY LICENSE /tmp/sdk [2021-08-06T09:55:49.690Z] saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-08-06T09:55:49.690Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-08-06T09:55:49.690Z] '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [2021-08-06T09:55:49.690Z] Removing intermediate container bf9327fb22a1 [2021-08-06T09:55:49.690Z] ---> ccb763ffe621 [2021-08-06T09:55:49.690Z] Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-08-06T09:55:49.957Z] ---> Running in 77c2a15cedb1 [2021-08-06T09:55:50.099Z] ---> 66ab27576bca [2021-08-06T09:55:50.099Z] Step 14/25 : COPY Attribution.txt /tmp/sdk [2021-08-06T09:55:50.222Z] Removing intermediate container 77c2a15cedb1 [2021-08-06T09:55:50.222Z] ---> f31f6e629b56 [2021-08-06T09:55:50.222Z] 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-06T09:55:50.222Z] ---> Running in 51f19f9f55a8 [2021-08-06T09:55:50.488Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-08-06T09:55:50.698Z] ---> 8dc1a9affb7c [2021-08-06T09:55:50.698Z] Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-08-06T09:55:50.973Z] ---> Running in 5ddae54890e0 [2021-08-06T09:55:51.070Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-08-06T09:55:51.652Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz [2021-08-06T09:55:51.919Z] (1/7) Installing curl (7.78.0-r0) [2021-08-06T09:55:51.919Z] (2/7) Installing hiredis (0.14.1-r0) [2021-08-06T09:55:51.954Z] + CPPCHECK=false [2021-08-06T09:55:51.954Z] + DOCGEN=false [2021-08-06T09:55:51.954Z] + TOMLVER=SDK-0.2 [2021-08-06T09:55:51.954Z] + CUTILVER=1.1.4 [2021-08-06T09:55:51.954Z] + '[' 0 -gt 0 ] [2021-08-06T09:55:51.954Z] + readlink -f ./scripts/build.sh [2021-08-06T09:55:51.954Z] + dirname /tmp/sdk/scripts/build.sh [2021-08-06T09:55:51.954Z] + dirname /tmp/sdk/scripts [2021-08-06T09:55:51.954Z] + ROOT=/tmp/sdk [2021-08-06T09:55:51.954Z] + cd /tmp/sdk [2021-08-06T09:55:51.954Z] + '[' '!' -d deps ] [2021-08-06T09:55:51.954Z] + mkdir deps [2021-08-06T09:55:51.954Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-08-06T09:55:51.954Z] + tar -C deps -z -x -f - [2021-08-06T09:55:51.954Z] --2021-08-06 09:55:51-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-08-06T09:55:52.186Z] (3/7) Installing hiredis-dev (0.14.1-r0) [2021-08-06T09:55:52.186Z] (4/7) Installing libuuid (2.35.2-r0) [2021-08-06T09:55:52.186Z] (5/7) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-08-06T09:55:52.229Z] Resolving github.com (github.com)... 140.82.112.3 [2021-08-06T09:55:52.229Z] Connecting to github.com (github.com)|140.82.112.3|:443... connected. [2021-08-06T09:55:52.229Z] HTTP request sent, awaiting response... 302 Found [2021-08-06T09:55:52.229Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-08-06T09:55:52.229Z] --2021-08-06 09:55:52-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-08-06T09:55:52.229Z] Resolving codeload.github.com (codeload.github.com)... 140.82.113.9 [2021-08-06T09:55:52.229Z] Connecting to codeload.github.com (codeload.github.com)|140.82.113.9|:443... connected. [2021-08-06T09:55:52.229Z] HTTP request sent, awaiting response... 200 OK [2021-08-06T09:55:52.229Z] Length: unspecified [application/x-gzip] [2021-08-06T09:55:52.229Z] Saving to: 'STDOUT' [2021-08-06T09:55:52.229Z] [2021-08-06T09:55:52.229Z] 0K .......... ......   1.04M=0.02s [2021-08-06T09:55:52.229Z] [2021-08-06T09:55:52.229Z] 2021-08-06 09:55:52 (1.04 MB/s) - written to stdout [16451] [2021-08-06T09:55:52.229Z] [2021-08-06T09:55:52.502Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-08-06T09:55:52.502Z] + + wgettar -O -C - deps https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz -z -x -f [2021-08-06T09:55:52.502Z]  - [2021-08-06T09:55:52.502Z] --2021-08-06 09:55:52-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-08-06T09:55:52.502Z] Resolving github.com (github.com)... 140.82.112.3 [2021-08-06T09:55:52.502Z] Connecting to github.com (github.com)|140.82.112.3|:443... connected. [2021-08-06T09:55:52.502Z] HTTP request sent, awaiting response... 302 Found [2021-08-06T09:55:52.502Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] [2021-08-06T09:55:52.502Z] --2021-08-06 09:55:52-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [2021-08-06T09:55:52.502Z] Resolving codeload.github.com (codeload.github.com)... 140.82.113.9 [2021-08-06T09:55:52.502Z] Connecting to codeload.github.com (codeload.github.com)|140.82.113.9|:443... connected. [2021-08-06T09:55:52.775Z] HTTP request sent, awaiting response... 200 OK [2021-08-06T09:55:52.775Z] Length: unspecified [application/x-gzip] [2021-08-06T09:55:52.775Z] Saving to: 'STDOUT' [2021-08-06T09:55:52.775Z]  [2021-08-06T09:55:52.775Z] 0K .......... .......... .......... .......... .......... 1.36M [2021-08-06T09:55:52.775Z] 50K .......... .......... .......... .......... .......... 2.48M [2021-08-06T09:55:52.775Z] 100K .......... .......... .......... .......... .......... 7.72M [2021-08-06T09:55:52.775Z] 150K .......... .......... ....... 1.78M=0.08s [2021-08-06T09:55:52.775Z] [2021-08-06T09:55:52.775Z] 2021-08-06 09:55:52 (2.25 MB/s) - written to stdout [181796] [2021-08-06T09:55:52.775Z] [2021-08-06T09:55:52.775Z] + mkdir -p src/c/iot [2021-08-06T09:55:52.775Z] + 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-06T09:55:52.775Z] + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot [2021-08-06T09:55:52.775Z] + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot [2021-08-06T09:55:52.775Z] + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot [2021-08-06T09:55:52.775Z] + mkdir -p include/iot [2021-08-06T09:55:52.775Z] + 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-06T09:55:52.775Z] + mkdir -p include/iot/os [2021-08-06T09:55:52.775Z] + 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-06T09:55:52.775Z] + mkdir -p /tmp/sdk/build/release [2021-08-06T09:55:52.775Z] + cd /tmp/sdk/build/release [2021-08-06T09:55:52.775Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-08-06T09:55:53.047Z] -- The C compiler identification is GNU 9.3.0 [2021-08-06T09:55:53.047Z] -- Check for working C compiler: /usr/bin/cc [2021-08-06T09:55:53.318Z] -- Check for working C compiler: /usr/bin/cc - works [2021-08-06T09:55:53.318Z] -- Detecting C compiler ABI info [2021-08-06T09:55:53.590Z] -- Detecting C compiler ABI info - done [2021-08-06T09:55:53.592Z] (6/7) Installing libidn2 (2.3.0-r0) [2021-08-06T09:55:53.858Z] (7/7) Installing wget (1.20.3-r1) [2021-08-06T09:55:53.858Z] Executing busybox-1.31.1-r20.trigger [2021-08-06T09:55:53.858Z] OK: 286 MiB in 82 packages [2021-08-06T09:55:53.873Z] -- Detecting C compile features [2021-08-06T09:55:53.873Z] -- Detecting C compile features - done [2021-08-06T09:55:53.873Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-08-06T09:55:53.873Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") [2021-08-06T09:55:53.873Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-08-06T09:55:53.873Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-08-06T09:55:53.873Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-08-06T09:55:53.873Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-08-06T09:55:53.873Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-08-06T09:55:53.873Z] -- C SDK 0.0.0 for Linux [2021-08-06T09:55:53.873Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-08-06T09:55:54.124Z] Removing intermediate container 51f19f9f55a8 [2021-08-06T09:55:54.124Z] ---> 6d73713c951f [2021-08-06T09:55:54.124Z] Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-08-06T09:55:54.147Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-08-06T09:55:54.393Z] ---> 3777975f74fe [2021-08-06T09:55:54.393Z] Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-08-06T09:55:54.420Z] -- Found Curses: /usr/lib/libcurses.so [2021-08-06T09:55:54.420Z] -- Configuring done [2021-08-06T09:55:54.659Z] ---> b7b5b657ca03 [2021-08-06T09:55:54.659Z] Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-08-06T09:55:54.691Z] -- Generating done [2021-08-06T09:55:54.691Z] -- Build files have been written to: /tmp/sdk/build/release [2021-08-06T09:55:54.691Z] + make all package [2021-08-06T09:55:54.691Z] + tee release.log [2021-08-06T09:55:54.691Z] Scanning dependencies of target csdk [2021-08-06T09:55:54.929Z] ---> a1df55b43d0c [2021-08-06T09:55:54.929Z] Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-08-06T09:55:54.929Z] ---> cfea73048383 [2021-08-06T09:55:54.929Z] Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-08-06T09:55:54.963Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-08-06T09:55:55.199Z] ---> 770a1c27f9db [2021-08-06T09:55:55.200Z] Successfully built 770a1c27f9db [2021-08-06T09:55:55.200Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-06T09:55:55.554Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-08-06T09:55:55.681Z] + docker inspect -f . ci-base-image-x86_64 [2021-08-06T09:55:55.681Z] . [Pipeline] withDockerContainer [2021-08-06T09:55:55.769Z] prd-centos7-docker-4c-2g-2233 does not seem to be running inside a container [2021-08-06T09:55:55.827Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/9 -v /w/workspace/device-sdk-c/9:/w/workspace/device-sdk-c/9:rw,z -v /w/workspace/device-sdk-c/9@tmp:/w/workspace/device-sdk-c/9@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-06T09:55:56.144Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-08-06T09:55:56.163Z] $ docker top 149db627bd6b196194a9937ab866125ce9b722bfd10d8ccf77a1a312c17c89eb -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-06T09:55:56.554Z] + make test [2021-08-06T09:55:56.554Z] echo "make test" [2021-08-06T09:55:56.554Z] make test [Pipeline] } [2021-08-06T09:55:56.565Z] $ docker stop --time=1 149db627bd6b196194a9937ab866125ce9b722bfd10d8ccf77a1a312c17c89eb [2021-08-06T09:55:57.751Z] $ docker rm -f 149db627bd6b196194a9937ab866125ce9b722bfd10d8ccf77a1a312c17c89eb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-08-06T09:55:59.723Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-08-06T09:55:59.723Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-08-06T09:55:59.723Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-08-06T09:55:59.723Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-08-06T09:55:59.723Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [Pipeline] script [Pipeline] { [2021-08-06T09:55:59.998Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-08-06T09:56:02.127Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-08-06T09:56:04.160Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-08-06T09:56:04.160Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-08-06T09:56:04.160Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-08-06T09:56:04.433Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-08-06T09:56:06.150Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-08-06T09:56:06.150Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-08-06T09:56:06.150Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-08-06T09:56:08.144Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-08-06T09:56:08.144Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-08-06T09:56:08.416Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [Pipeline] sh [2021-08-06T09:56:08.807Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-08-06T09:56:09.014Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-08-06T09:56:09.122Z] + ls -al . [2021-08-06T09:56:09.122Z] total 160 [2021-08-06T09:56:09.122Z] drwxrwxr-x. 8 jenkins jenkins 260 Aug 6 09:55 . [2021-08-06T09:56:09.122Z] drwxrwxr-x. 4 jenkins jenkins 28 Aug 6 09:55 .. [2021-08-06T09:56:09.122Z] -rw-rw-r--. 1 jenkins jenkins 3104 Aug 6 09:55 Attribution.txt [2021-08-06T09:56:09.122Z] -rw-rw-r--. 1 jenkins jenkins 7556 Aug 6 09:55 CHANGES [2021-08-06T09:56:09.122Z] drwxrwxr-x. 2 jenkins jenkins 121 Aug 6 09:55 docs [2021-08-06T09:56:09.122Z] -rw-rw-r--. 1 jenkins jenkins 108574 Aug 6 09:55 Doxyfile [2021-08-06T09:56:09.122Z] drwxrwxr-x. 8 jenkins jenkins 179 Aug 6 09:55 .git [2021-08-06T09:56:09.122Z] drwxrwxr-x. 2 jenkins jenkins 81 Aug 6 09:55 .github [2021-08-06T09:56:09.122Z] -rw-rw-r--. 1 jenkins jenkins 176 Aug 6 09:55 .gitignore [2021-08-06T09:56:09.122Z] drwxrwxr-x. 4 jenkins jenkins 33 Aug 6 09:55 include [2021-08-06T09:56:09.122Z] -rw-rw-r--. 1 jenkins jenkins 784 Aug 6 09:55 Jenkinsfile [2021-08-06T09:56:09.122Z] -rw-rw-r--. 1 jenkins jenkins 10174 Aug 6 09:55 LICENSE [2021-08-06T09:56:09.122Z] -rw-rw-r--. 1 jenkins jenkins 444 Aug 6 09:55 Makefile [2021-08-06T09:56:09.122Z] -rw-rw-r--. 1 jenkins jenkins 4086 Aug 6 09:55 README.md [2021-08-06T09:56:09.122Z] -rw-rw-r--. 1 jenkins jenkins 7090 Aug 6 09:55 README.v2.md [2021-08-06T09:56:09.122Z] drwxrwxr-x. 2 jenkins jenkins 98 Aug 6 09:55 scripts [2021-08-06T09:56:09.122Z] drwxrwxr-x. 4 jenkins jenkins 50 Aug 6 09:55 src [2021-08-06T09:56:09.122Z] -rw-rw-r--. 1 jenkins jenkins 5 Aug 6 09:52 VERSION [Pipeline] isUnix [Pipeline] sh [2021-08-06T09:56:10.715Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-08-06T09:56:10.715Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-08-06T09:56:10.985Z] + 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=1c70c4e8afdf954a47da8ca4dc04415ff0e9bb22 --label arch=amd64 --label version=0.0.0 . [2021-08-06T09:56:10.985Z] Sending build context to Docker daemon 2.688MB [2021-08-06T09:56:10.985Z] Step 1/17 : ARG BASE=alpine:3.12 [2021-08-06T09:56:10.985Z] Step 2/17 : FROM ${BASE} [2021-08-06T09:56:10.985Z] ---> 770a1c27f9db [2021-08-06T09:56:10.985Z] Step 3/17 : LABEL maintainer="IOTech " [2021-08-06T09:56:10.985Z] ---> Running in 8f3ea81d476b [2021-08-06T09:56:11.253Z] Removing intermediate container 8f3ea81d476b [2021-08-06T09:56:11.253Z] ---> c13be6bd218b [2021-08-06T09:56:11.253Z] 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-06T09:56:11.253Z] ---> Running in 28ce20d4fe4f [2021-08-06T09:56:11.519Z] --2021-08-06 09:56:11-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub [2021-08-06T09:56:11.519Z] Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.229.110.245, 54.170.66.44, 54.195.244.87 [2021-08-06T09:56:11.519Z] Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.229.110.245|:443... connected. [2021-08-06T09:56:11.793Z] HTTP request sent, awaiting response... 200 OK [2021-08-06T09:56:11.793Z] Length: 451 [application/octet-stream] [2021-08-06T09:56:11.793Z] Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-08-06T09:56:11.793Z]  [2021-08-06T09:56:11.793Z] 0K 100% 38.4M=0s [2021-08-06T09:56:11.793Z] [2021-08-06T09:56:11.793Z] 2021-08-06 09:56:11 (38.4 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] [2021-08-06T09:56:11.793Z] [2021-08-06T09:56:12.069Z] Removing intermediate container 28ce20d4fe4f [2021-08-06T09:56:12.069Z] ---> 8c2a352e0074 [2021-08-06T09:56:12.069Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-08-06T09:56:12.069Z] ---> Running in f129a5cf033e [2021-08-06T09:56:12.336Z] Removing intermediate container f129a5cf033e [2021-08-06T09:56:12.336Z] ---> ca6133cc66d6 [2021-08-06T09:56:12.336Z] 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-06T09:56:12.604Z] ---> Running in e9c366184bcd [2021-08-06T09:56:12.704Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-08-06T09:56:12.704Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-08-06T09:56:12.704Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-08-06T09:56:12.870Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-08-06T09:56:13.302Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-08-06T09:56:13.452Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-08-06T09:56:13.718Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz [2021-08-06T09:56:13.896Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-08-06T09:56:14.169Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-08-06T09:56:14.302Z] (1/16) Installing ncurses-dev (6.2_p20200523-r0) [2021-08-06T09:56:14.302Z] (2/16) Installing libblkid (2.35.2-r0) [2021-08-06T09:56:14.302Z] (3/16) Installing blkid (2.35.2-r0) [2021-08-06T09:56:14.302Z] (4/16) Installing libcap-ng (0.7.10-r1) [2021-08-06T09:56:14.569Z] (5/16) Installing setpriv (2.35.2-r0) [2021-08-06T09:56:14.569Z] (6/16) Installing libmount (2.35.2-r0) [2021-08-06T09:56:14.569Z] (7/16) Installing libsmartcols (2.35.2-r0) [2021-08-06T09:56:14.835Z] (8/16) Installing findmnt (2.35.2-r0) [2021-08-06T09:56:14.835Z] (9/16) Installing mcookie (2.35.2-r0) [2021-08-06T09:56:14.835Z] (10/16) Installing hexdump (2.35.2-r0) [2021-08-06T09:56:15.100Z] (11/16) Installing lsblk (2.35.2-r0) [2021-08-06T09:56:15.100Z] (12/16) Installing libfdisk (2.35.2-r0) [2021-08-06T09:56:15.100Z] (13/16) Installing sfdisk (2.35.2-r0) [2021-08-06T09:56:15.144Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-08-06T09:56:15.416Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-08-06T09:56:15.576Z] (14/16) Installing cfdisk (2.35.2-r0) [2021-08-06T09:56:15.577Z] (15/16) Installing util-linux (2.35.2-r0) [2021-08-06T09:56:15.577Z] (16/16) Installing util-linux-dev (2.35.2-r0) [2021-08-06T09:56:15.846Z] Executing busybox-1.31.1-r20.trigger [2021-08-06T09:56:15.846Z] OK: 295 MiB in 98 packages [2021-08-06T09:56:16.008Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-08-06T09:56:16.282Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-08-06T09:56:16.430Z] Removing intermediate container e9c366184bcd [2021-08-06T09:56:16.430Z] ---> 5a885d3cbcc7 [2021-08-06T09:56:16.430Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2021-08-06T09:56:16.430Z] ---> d522320e1ac1 [2021-08-06T09:56:16.430Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2021-08-06T09:56:16.699Z] ---> 7ff46f63a73e [2021-08-06T09:56:16.699Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2021-08-06T09:56:17.091Z] ---> 39e082b1a6e5 [2021-08-06T09:56:17.091Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2021-08-06T09:56:17.092Z] ---> 9ce465f15788 [2021-08-06T09:56:17.092Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2021-08-06T09:56:17.403Z] ---> 1fd0e1b826df [2021-08-06T09:56:17.403Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2021-08-06T09:56:17.403Z] ---> e716643d74ec [2021-08-06T09:56:17.403Z] Step 13/17 : WORKDIR /edgex-c-sdk [2021-08-06T09:56:17.403Z] ---> Running in 322f9ad95888 [2021-08-06T09:56:17.403Z] Removing intermediate container 322f9ad95888 [2021-08-06T09:56:17.403Z] ---> 9cc04b9d6c5b [2021-08-06T09:56:17.403Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-08-06T09:56:17.403Z] ---> Running in 8a351c35c6f4 [2021-08-06T09:56:17.779Z] Removing intermediate container 8a351c35c6f4 [2021-08-06T09:56:17.779Z] ---> 0f66c9eb6ba8 [2021-08-06T09:56:17.779Z] Step 15/17 : LABEL arch=amd64 [2021-08-06T09:56:17.779Z] ---> Running in eae36e267ece [2021-08-06T09:56:17.779Z] Removing intermediate container eae36e267ece [2021-08-06T09:56:17.779Z] ---> 18bad662e593 [2021-08-06T09:56:17.779Z] Step 16/17 : LABEL git_sha=1c70c4e8afdf954a47da8ca4dc04415ff0e9bb22 [2021-08-06T09:56:17.779Z] ---> Running in d7c0f3d08f08 [2021-08-06T09:56:17.779Z] Removing intermediate container d7c0f3d08f08 [2021-08-06T09:56:17.779Z] ---> c8ac353a2bcf [2021-08-06T09:56:17.779Z] Step 17/17 : LABEL version=0.0.0 [2021-08-06T09:56:17.779Z] ---> Running in 275852be9acb [2021-08-06T09:56:18.059Z] Removing intermediate container 275852be9acb [2021-08-06T09:56:18.059Z] ---> 3b9cb25c7d77 [2021-08-06T09:56:18.059Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-08-06T09:56:18.059Z] Successfully built 3b9cb25c7d77 [2021-08-06T09:56:18.059Z] Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // script [Pipeline] } [2021-08-06T09:56:18.247Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.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 [2021-08-06T09:56:18.531Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-06T09:56:18.871Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-06T09:56:18.871Z] [2021-08-06T09:56:18.871Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-08-06T09:56:20.540Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-08-06T09:56:20.540Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-08-06T09:56:20.804Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-06T09:56:20.804Z] latest: Pulling from edgex-lftools-log-publisher [2021-08-06T09:56:20.804Z] b4d181a07f80: Pulling fs layer [2021-08-06T09:56:20.804Z] a1111a8f2ec3: Pulling fs layer [2021-08-06T09:56:20.804Z] ed53099fbce6: Pulling fs layer [2021-08-06T09:56:20.804Z] dc539afda2c1: Pulling fs layer [2021-08-06T09:56:20.804Z] 77bc0d833cb6: Pulling fs layer [2021-08-06T09:56:20.804Z] 9065ff56babe: Pulling fs layer [2021-08-06T09:56:20.804Z] d287ab97295c: Pulling fs layer [2021-08-06T09:56:20.804Z] 77bc0d833cb6: Waiting [2021-08-06T09:56:20.804Z] 9065ff56babe: Waiting [2021-08-06T09:56:20.804Z] d287ab97295c: Waiting [2021-08-06T09:56:20.804Z] dc539afda2c1: Waiting [2021-08-06T09:56:21.070Z] a1111a8f2ec3: Verifying Checksum [2021-08-06T09:56:21.070Z] a1111a8f2ec3: Download complete [2021-08-06T09:56:21.070Z] dc539afda2c1: Verifying Checksum [2021-08-06T09:56:21.070Z] dc539afda2c1: Download complete [2021-08-06T09:56:21.335Z] 77bc0d833cb6: Verifying Checksum [2021-08-06T09:56:21.335Z] 77bc0d833cb6: Download complete [2021-08-06T09:56:21.335Z] 9065ff56babe: Verifying Checksum [2021-08-06T09:56:21.335Z] 9065ff56babe: Download complete [2021-08-06T09:56:21.335Z] ed53099fbce6: Verifying Checksum [2021-08-06T09:56:21.335Z] ed53099fbce6: Download complete [2021-08-06T09:56:22.295Z] b4d181a07f80: Verifying Checksum [2021-08-06T09:56:22.295Z] b4d181a07f80: Download complete [2021-08-06T09:56:23.261Z] b4d181a07f80: Pull complete [2021-08-06T09:56:23.530Z] a1111a8f2ec3: Pull complete [2021-08-06T09:56:23.798Z] ed53099fbce6: Pull complete [2021-08-06T09:56:23.915Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-08-06T09:56:24.069Z] dc539afda2c1: Pull complete [2021-08-06T09:56:24.334Z] 77bc0d833cb6: Pull complete [2021-08-06T09:56:24.334Z] 9065ff56babe: Pull complete [2021-08-06T09:56:24.512Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-08-06T09:56:24.786Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-08-06T09:56:25.290Z] d287ab97295c: Verifying Checksum [2021-08-06T09:56:25.291Z] d287ab97295c: Download complete [2021-08-06T09:56:25.386Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-08-06T09:56:25.980Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-08-06T09:56:27.950Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-08-06T09:56:27.950Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-08-06T09:56:28.545Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-08-06T09:56:28.819Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-08-06T09:56:29.558Z] d287ab97295c: Pull complete [2021-08-06T09:56:29.558Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-08-06T09:56:29.558Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-06T09:56:29.558Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-08-06T09:56:29.651Z] prd-centos7-docker-4c-2g-2233 does not seem to be running inside a container [2021-08-06T09:56:29.716Z] $ 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/9 -v /w/workspace/device-sdk-c/9:/w/workspace/device-sdk-c/9:rw,z -v /w/workspace/device-sdk-c/9@tmp:/w/workspace/device-sdk-c/9@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-06T09:56:30.791Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-08-06T09:56:32.097Z] $ docker top 10ad17daea8c1873bf36d73687dedc4d326cc192ee21f45e4dd11a910b65ba03 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-06T09:56:32.716Z] ---> job-cost.sh [2021-08-06T09:56:32.716Z] lf-activate-venv: SKIPPING [2021-08-06T09:56:32.716Z] INFO: No Stack... [2021-08-06T09:56:33.675Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-08-06T09:56:33.941Z] INFO: Archiving Costs [Pipeline] sh [2021-08-06T09:56:34.172Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-08-06T09:56:34.255Z] + cat /w/workspace/device-sdk-c/9/archives/cost.csv [2021-08-06T09:56:34.255Z] + cut -d, -f6 [Pipeline] lock [2021-08-06T09:56:34.295Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-357-9-stack-cost] [2021-08-06T09:56:34.304Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-357-9-stack-cost] did not exist. Created. [2021-08-06T09:56:34.304Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-357-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-08-06T09:56:34.642Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-08-06T09:56:34.764Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-08-06T09:56:34.867Z] Stashed 1 file(s) [Pipeline] } [2021-08-06T09:56:34.882Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-357-9-stack-cost] [Pipeline] // lock [Pipeline] } [2021-08-06T09:56:34.903Z] $ docker stop --time=1 10ad17daea8c1873bf36d73687dedc4d326cc192ee21f45e4dd11a910b65ba03 [2021-08-06T09:56:35.036Z] [ 75%] Linking C shared library libcsdk.so [2021-08-06T09:56:35.308Z] [ 75%] Built target csdk [2021-08-06T09:56:35.308Z] Scanning dependencies of target template [2021-08-06T09:56:35.308Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-08-06T09:56:35.901Z] [ 78%] Linking C executable template [2021-08-06T09:56:36.062Z] $ docker rm -f 10ad17daea8c1873bf36d73687dedc4d326cc192ee21f45e4dd11a910b65ba03 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [2021-08-06T09:56:36.174Z] [ 78%] Built target template [2021-08-06T09:56:36.174Z] Scanning dependencies of target device-counter [2021-08-06T09:56:36.174Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-08-06T09:56:36.768Z] [ 81%] Linking C executable device-counter [2021-08-06T09:56:37.075Z] [ 81%] Built target device-counter [2021-08-06T09:56:37.075Z] Scanning dependencies of target device-random [2021-08-06T09:56:37.075Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-08-06T09:56:39.022Z] [ 84%] Linking C executable device-random [2021-08-06T09:56:39.022Z] [ 84%] Built target device-random [2021-08-06T09:56:39.022Z] Scanning dependencies of target device-gyro [2021-08-06T09:56:39.022Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-08-06T09:56:39.022Z] [ 87%] Linking C executable device-gyro [2021-08-06T09:56:39.022Z] [ 87%] Built target device-gyro [2021-08-06T09:56:39.022Z] Scanning dependencies of target device-bitfields [2021-08-06T09:56:39.022Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-08-06T09:56:39.022Z] [ 90%] Linking C executable device-bitfields [2021-08-06T09:56:39.300Z] [ 90%] Built target device-bitfields [2021-08-06T09:56:39.300Z] Scanning dependencies of target template-discovery [2021-08-06T09:56:39.300Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-08-06T09:56:40.312Z] [ 93%] Linking C executable template-discovery [2021-08-06T09:56:40.312Z] [ 93%] Built target template-discovery [2021-08-06T09:56:40.598Z] Scanning dependencies of target device-file [2021-08-06T09:56:40.598Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-08-06T09:56:41.203Z] [ 96%] Linking C executable device-file [2021-08-06T09:56:41.483Z] [ 96%] Built target device-file [2021-08-06T09:56:41.483Z] Scanning dependencies of target device-terminal [2021-08-06T09:56:41.758Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-08-06T09:56:42.032Z] [100%] Linking C executable device-terminal [2021-08-06T09:56:42.305Z] [100%] Built target device-terminal [2021-08-06T09:56:42.578Z] Run CPack packaging tool... [2021-08-06T09:56:42.578Z] CPack: Create package using TGZ [2021-08-06T09:56:42.578Z] CPack: Install projects [2021-08-06T09:56:42.578Z] CPack: - Run preinstall target for: Csdk [2021-08-06T09:56:42.850Z] CPack: - Install project: Csdk [] [2021-08-06T09:56:43.128Z] CPack: Create package [2021-08-06T09:56:43.128Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-08-06T09:56:43.128Z] + '[' false '=' true ] [2021-08-06T09:56:43.128Z] + '[' false '=' true ] [2021-08-06T09:56:43.128Z] + mkdir -p /tmp/sdk/build/debug [2021-08-06T09:56:43.128Z] + cd /tmp/sdk/build/debug [2021-08-06T09:56:43.128Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-08-06T09:56:43.404Z] -- The C compiler identification is GNU 9.3.0 [2021-08-06T09:56:43.404Z] -- Check for working C compiler: /usr/bin/cc [2021-08-06T09:56:43.680Z] -- Check for working C compiler: /usr/bin/cc - works [2021-08-06T09:56:43.680Z] -- Detecting C compiler ABI info [2021-08-06T09:56:43.954Z] -- Detecting C compiler ABI info - done [2021-08-06T09:56:44.229Z] -- Detecting C compile features [2021-08-06T09:56:44.229Z] -- Detecting C compile features - done [2021-08-06T09:56:44.229Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-08-06T09:56:44.229Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") [2021-08-06T09:56:44.229Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-08-06T09:56:44.229Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-08-06T09:56:44.229Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-08-06T09:56:44.229Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-08-06T09:56:44.229Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-08-06T09:56:44.229Z] -- C SDK 0.0.0 for Linux [2021-08-06T09:56:44.229Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-08-06T09:56:44.501Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-08-06T09:56:44.772Z] -- Found Curses: /usr/lib/libcurses.so [2021-08-06T09:56:44.772Z] -- Configuring done [2021-08-06T09:56:45.044Z] -- Generating done [2021-08-06T09:56:45.044Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-08-06T09:56:45.044Z] + make+ [2021-08-06T09:56:45.044Z] tee debug.log [2021-08-06T09:56:45.319Z] Scanning dependencies of target csdk [2021-08-06T09:56:45.319Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-08-06T09:56:45.914Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-08-06T09:56:45.914Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-08-06T09:56:46.510Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-08-06T09:56:47.105Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-08-06T09:56:47.105Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-08-06T09:56:47.376Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-08-06T09:56:47.648Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-08-06T09:56:47.919Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-08-06T09:56:48.191Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-08-06T09:56:48.783Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-08-06T09:56:49.055Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-08-06T09:56:49.326Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-08-06T09:56:49.597Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-08-06T09:56:49.869Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-08-06T09:56:50.141Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-08-06T09:56:50.141Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-08-06T09:56:51.116Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-08-06T09:56:51.116Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-08-06T09:56:51.389Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-08-06T09:56:51.661Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-08-06T09:56:51.933Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-08-06T09:56:52.205Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-08-06T09:56:53.182Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-08-06T09:56:53.182Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-08-06T09:56:53.182Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-08-06T09:56:53.455Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-08-06T09:56:53.727Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-08-06T09:56:53.999Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-08-06T09:56:54.270Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-08-06T09:56:54.542Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-08-06T09:56:54.812Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-08-06T09:56:54.812Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-08-06T09:56:55.405Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-08-06T09:56:55.405Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-08-06T09:56:55.998Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-08-06T09:56:56.272Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-08-06T09:56:57.246Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-08-06T09:56:57.246Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-08-06T09:56:59.196Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-08-06T09:56:59.196Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-08-06T09:56:59.196Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-08-06T09:56:59.196Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-08-06T09:56:59.471Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-08-06T09:56:59.471Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-08-06T09:56:59.744Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-08-06T09:57:00.338Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-08-06T09:57:01.314Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-08-06T09:57:01.314Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-08-06T09:57:01.590Z] [ 75%] Linking C shared library libcsdk.so [2021-08-06T09:57:01.862Z] [ 75%] Built target csdk [2021-08-06T09:57:01.863Z] Scanning dependencies of target template [2021-08-06T09:57:01.863Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-08-06T09:57:02.135Z] [ 78%] Linking C executable template [2021-08-06T09:57:02.410Z] [ 78%] Built target template [2021-08-06T09:57:02.410Z] Scanning dependencies of target device-counter [2021-08-06T09:57:02.410Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-08-06T09:57:02.682Z] [ 81%] Linking C executable device-counter [2021-08-06T09:57:02.955Z] [ 81%] Built target device-counter [2021-08-06T09:57:02.955Z] Scanning dependencies of target device-random [2021-08-06T09:57:02.955Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-08-06T09:57:03.228Z] [ 84%] Linking C executable device-random [2021-08-06T09:57:03.501Z] [ 84%] Built target device-random [2021-08-06T09:57:03.501Z] Scanning dependencies of target device-gyro [2021-08-06T09:57:03.501Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-08-06T09:57:03.774Z] [ 87%] Linking C executable device-gyro [2021-08-06T09:57:04.045Z] [ 87%] Built target device-gyro [2021-08-06T09:57:04.045Z] Scanning dependencies of target device-bitfields [2021-08-06T09:57:04.045Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-08-06T09:57:04.316Z] [ 90%] Linking C executable device-bitfields [2021-08-06T09:57:04.589Z] [ 90%] Built target device-bitfields [2021-08-06T09:57:04.589Z] Scanning dependencies of target template-discovery [2021-08-06T09:57:04.589Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-08-06T09:57:04.861Z] [ 93%] Linking C executable template-discovery [2021-08-06T09:57:05.136Z] [ 93%] Built target template-discovery [2021-08-06T09:57:05.136Z] Scanning dependencies of target device-file [2021-08-06T09:57:05.136Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-08-06T09:57:05.409Z] [ 96%] Linking C executable device-file [2021-08-06T09:57:05.683Z] [ 96%] Built target device-file [2021-08-06T09:57:05.683Z] Scanning dependencies of target device-terminal [2021-08-06T09:57:05.683Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-08-06T09:57:05.955Z] [100%] Linking C executable device-terminal [2021-08-06T09:57:06.227Z] [100%] Built target device-terminal [2021-08-06T09:57:06.499Z] make: Entering directory '/tmp/sdk/build/release' [2021-08-06T09:57:06.499Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-08-06T09:57:06.499Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-06T09:57:06.499Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-06T09:57:06.499Z] [ 75%] Built target csdk [2021-08-06T09:57:06.499Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-06T09:57:06.499Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-06T09:57:06.499Z] [ 78%] Built target template [2021-08-06T09:57:06.499Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-06T09:57:06.499Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-06T09:57:06.499Z] [ 81%] Built target device-counter [2021-08-06T09:57:06.499Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-06T09:57:06.499Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-06T09:57:06.499Z] [ 84%] Built target device-random [2021-08-06T09:57:06.499Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-06T09:57:06.773Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-06T09:57:06.773Z] [ 87%] Built target device-gyro [2021-08-06T09:57:06.773Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-06T09:57:06.773Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-06T09:57:06.773Z] [ 90%] Built target device-bitfields [2021-08-06T09:57:06.773Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-06T09:57:06.773Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-06T09:57:06.773Z] [ 93%] Built target template-discovery [2021-08-06T09:57:06.773Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-06T09:57:06.773Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-06T09:57:06.773Z] [ 96%] Built target device-file [2021-08-06T09:57:06.773Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-06T09:57:06.773Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-06T09:57:06.773Z] [100%] Built target device-terminal [2021-08-06T09:57:06.773Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-08-06T09:57:06.773Z] Install the project... [2021-08-06T09:57:06.773Z] -- Install configuration: "Release" [2021-08-06T09:57:06.773Z] -- Installing: /usr/local/lib/libcsdk.so [2021-08-06T09:57:06.773Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-08-06T09:57:06.773Z] -- Up-to-date: /usr/local/include [2021-08-06T09:57:06.773Z] -- Installing: /usr/local/include/edgex [2021-08-06T09:57:06.773Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-08-06T09:57:06.773Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-08-06T09:57:06.773Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-08-06T09:57:06.773Z] -- Installing: /usr/local/include/edgex/devices.h [2021-08-06T09:57:06.773Z] -- Installing: /usr/local/include/edgex/secrets.h [2021-08-06T09:57:06.773Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-08-06T09:57:06.773Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-08-06T09:57:06.773Z] -- Installing: /usr/local/include/devsdk [2021-08-06T09:57:06.773Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-08-06T09:57:06.773Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-08-06T09:57:06.773Z] -- Installing: /usr/local/include/iot [2021-08-06T09:57:06.773Z] -- Installing: /usr/local/include/iot/json.h [2021-08-06T09:57:06.773Z] -- Installing: /usr/local/include/iot/container.h [2021-08-06T09:57:06.773Z] -- Installing: /usr/local/include/iot/component.h [2021-08-06T09:57:06.773Z] -- Installing: /usr/local/include/iot/typecode.h [2021-08-06T09:57:06.773Z] -- Installing: /usr/local/include/iot/iot.h [2021-08-06T09:57:06.773Z] -- Installing: /usr/local/include/iot/time.h [2021-08-06T09:57:06.773Z] -- Installing: /usr/local/include/iot/hash.h [2021-08-06T09:57:06.773Z] -- Installing: /usr/local/include/iot/logger.h [2021-08-06T09:57:06.773Z] -- Installing: /usr/local/include/iot/os [2021-08-06T09:57:06.773Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-08-06T09:57:06.773Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-08-06T09:57:06.773Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-08-06T09:57:06.773Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-08-06T09:57:06.773Z] -- Installing: /usr/local/include/iot/data.h [2021-08-06T09:57:06.773Z] -- Installing: /usr/local/include/iot/thread.h [2021-08-06T09:57:06.773Z] -- Installing: /usr/local/include/iot/os.h [2021-08-06T09:57:06.773Z] -- Installing: /usr/local/include/iot/base64.h [2021-08-06T09:57:06.773Z] -- Installing: /usr/local/include/iot/defs.h [2021-08-06T09:57:07.058Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-08-06T09:57:07.058Z] -- Installing: /usr/local/include/iot/config.h [2021-08-06T09:57:07.058Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-08-06T09:57:07.058Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-08-06T09:57:07.058Z] make: Leaving directory '/tmp/sdk/build/release' [2021-08-06T09:57:09.029Z] Removing intermediate container 5ddae54890e0 [2021-08-06T09:57:09.029Z] ---> 07a138877867 [2021-08-06T09:57:09.029Z] Step 16/25 : FROM ${BASE} [2021-08-06T09:57:09.029Z] ---> 759262b18b23 [2021-08-06T09:57:09.029Z] Step 17/25 : LABEL maintainer="IOTech " [2021-08-06T09:57:09.029Z] ---> Running in 50b591bf4e8f [2021-08-06T09:57:09.634Z] Removing intermediate container 50b591bf4e8f [2021-08-06T09:57:09.634Z] ---> fb0e5c6e0e5f [2021-08-06T09:57:09.634Z] 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-06T09:57:09.909Z] ---> Running in cdee557738cc [2021-08-06T09:57:11.347Z] Connecting to iotech.jfrog.io (54.229.110.245:443) [2021-08-06T09:57:11.347Z] saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-08-06T09:57:11.347Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-08-06T09:57:11.347Z] '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [2021-08-06T09:57:12.328Z] Removing intermediate container cdee557738cc [2021-08-06T09:57:12.328Z] ---> 6f666ca584e6 [2021-08-06T09:57:12.328Z] Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-08-06T09:57:12.600Z] ---> Running in 6e5a0fe04cd3 [2021-08-06T09:57:15.214Z] Removing intermediate container 6e5a0fe04cd3 [2021-08-06T09:57:15.214Z] ---> 10830094623d [2021-08-06T09:57:15.214Z] 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-06T09:57:15.214Z] ---> Running in 9f6be00b9089 [2021-08-06T09:57:16.656Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-08-06T09:57:17.249Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-08-06T09:57:18.225Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz [2021-08-06T09:57:19.202Z] (1/7) Installing curl (7.78.0-r0) [2021-08-06T09:57:19.202Z] (2/7) Installing hiredis (0.14.1-r0) [2021-08-06T09:57:19.202Z] (3/7) Installing hiredis-dev (0.14.1-r0) [2021-08-06T09:57:19.473Z] (4/7) Installing libuuid (2.35.2-r0) [2021-08-06T09:57:19.473Z] (5/7) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-08-06T09:57:20.895Z] (6/7) Installing libidn2 (2.3.0-r0) [2021-08-06T09:57:21.169Z] (7/7) Installing wget (1.20.3-r1) [2021-08-06T09:57:21.169Z] Executing busybox-1.31.1-r20.trigger [2021-08-06T09:57:21.169Z] OK: 267 MiB in 82 packages [2021-08-06T09:57:22.615Z] Removing intermediate container 9f6be00b9089 [2021-08-06T09:57:22.615Z] ---> 99d1f7b81b40 [2021-08-06T09:57:22.615Z] Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-08-06T09:57:23.593Z] ---> 64b7f1df2688 [2021-08-06T09:57:23.593Z] Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-08-06T09:57:24.185Z] ---> 4f493238cc6a [2021-08-06T09:57:24.186Z] Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-08-06T09:57:25.165Z] ---> 46c63acbd13e [2021-08-06T09:57:25.165Z] Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-08-06T09:57:25.760Z] ---> 3572934f4167 [2021-08-06T09:57:25.760Z] Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-08-06T09:57:26.737Z] ---> 3a12611dac58 [2021-08-06T09:57:26.737Z] Successfully built 3a12611dac58 [2021-08-06T09:57:26.737Z] 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-06T09:57:27.287Z] + docker inspect -f . ci-base-image-arm64 [2021-08-06T09:57:27.287Z] . [Pipeline] withDockerContainer [2021-08-06T09:57:27.554Z] prd-ubuntu18.04-docker-arm64-4c-16g-2232 does not seem to be running inside a container [2021-08-06T09:57:27.672Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/9 -v /w/workspace/device-sdk-c/9:/w/workspace/device-sdk-c/9:rw,z -v /w/workspace/device-sdk-c/9@tmp:/w/workspace/device-sdk-c/9@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-06T09:57:29.412Z] $ docker top d896846eab12b6573ddbb8560c6e10f4b0e41749eb15aa94d5f1444579a52a9b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-06T09:57:30.442Z] + make test [2021-08-06T09:57:30.442Z] echo "make test" [2021-08-06T09:57:30.442Z] make test [Pipeline] } [2021-08-06T09:57:30.487Z] $ docker stop --time=1 d896846eab12b6573ddbb8560c6e10f4b0e41749eb15aa94d5f1444579a52a9b [2021-08-06T09:57:32.347Z] $ docker rm -f d896846eab12b6573ddbb8560c6e10f4b0e41749eb15aa94d5f1444579a52a9b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-08-06T09:57:34.838Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-08-06T09:57:35.169Z] + ls -al . [2021-08-06T09:57:35.169Z] total 192 [2021-08-06T09:57:35.169Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 6 09:54 . [2021-08-06T09:57:35.169Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 6 09:54 .. [2021-08-06T09:57:35.169Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 6 09:54 .git [2021-08-06T09:57:35.169Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 6 09:54 .github [2021-08-06T09:57:35.169Z] -rw-rw-r-- 1 jenkins jenkins 176 Aug 6 09:54 .gitignore [2021-08-06T09:57:35.169Z] -rw-rw-r-- 1 jenkins jenkins 3104 Aug 6 09:54 Attribution.txt [2021-08-06T09:57:35.169Z] -rw-rw-r-- 1 jenkins jenkins 7556 Aug 6 09:54 CHANGES [2021-08-06T09:57:35.169Z] -rw-rw-r-- 1 jenkins jenkins 108574 Aug 6 09:54 Doxyfile [2021-08-06T09:57:35.169Z] -rw-rw-r-- 1 jenkins jenkins 784 Aug 6 09:54 Jenkinsfile [2021-08-06T09:57:35.169Z] -rw-rw-r-- 1 jenkins jenkins 10174 Aug 6 09:54 LICENSE [2021-08-06T09:57:35.169Z] -rw-rw-r-- 1 jenkins jenkins 444 Aug 6 09:54 Makefile [2021-08-06T09:57:35.169Z] -rw-rw-r-- 1 jenkins jenkins 4086 Aug 6 09:54 README.md [2021-08-06T09:57:35.169Z] -rw-rw-r-- 1 jenkins jenkins 7090 Aug 6 09:54 README.v2.md [2021-08-06T09:57:35.169Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 6 09:52 VERSION [2021-08-06T09:57:35.169Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 6 09:54 docs [2021-08-06T09:57:35.169Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 6 09:54 include [2021-08-06T09:57:35.169Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 6 09:54 scripts [2021-08-06T09:57:35.169Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 6 09:54 src [Pipeline] isUnix [Pipeline] sh [2021-08-06T09:57:35.504Z] + 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=1c70c4e8afdf954a47da8ca4dc04415ff0e9bb22 --label arch=arm64 --label version=0.0.0 . [2021-08-06T09:57:36.101Z] Sending build context to Docker daemon 2.686MB [2021-08-06T09:57:36.101Z] Step 1/17 : ARG BASE=alpine:3.12 [2021-08-06T09:57:36.101Z] Step 2/17 : FROM ${BASE} [2021-08-06T09:57:36.101Z] ---> 3a12611dac58 [2021-08-06T09:57:36.101Z] Step 3/17 : LABEL maintainer="IOTech " [2021-08-06T09:57:36.374Z] ---> Running in 3f17901c6a04 [2021-08-06T09:57:36.966Z] Removing intermediate container 3f17901c6a04 [2021-08-06T09:57:36.966Z] ---> a3e74b5ea22f [2021-08-06T09:57:36.966Z] 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-06T09:57:36.966Z] ---> Running in e8101f9f0361 [2021-08-06T09:57:38.396Z] --2021-08-06 09:57:38-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub [2021-08-06T09:57:38.396Z] Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.170.66.44, 54.229.110.245, 54.195.244.87 [2021-08-06T09:57:38.396Z] Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.170.66.44|:443... connected. [2021-08-06T09:57:38.670Z] HTTP request sent, awaiting response... 200 OK [2021-08-06T09:57:38.670Z] Length: 451 [application/octet-stream] [2021-08-06T09:57:38.670Z] Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-08-06T09:57:38.670Z]  [2021-08-06T09:57:38.670Z] 0K        100% 17.6M=0s [2021-08-06T09:57:38.670Z] [2021-08-06T09:57:38.670Z] 2021-08-06 09:57:38 (17.6 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] [2021-08-06T09:57:38.670Z] [2021-08-06T09:57:39.648Z] Removing intermediate container e8101f9f0361 [2021-08-06T09:57:39.648Z] ---> b57b85dea782 [2021-08-06T09:57:39.648Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-08-06T09:57:39.648Z] ---> Running in 6b8304036175 [2021-08-06T09:57:42.265Z] Removing intermediate container 6b8304036175 [2021-08-06T09:57:42.265Z] ---> 529282b16063 [2021-08-06T09:57:42.265Z] 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-06T09:57:42.265Z] ---> Running in 8bbf970bb883 [2021-08-06T09:57:43.703Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-08-06T09:57:44.297Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-08-06T09:57:44.898Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz [2021-08-06T09:57:45.491Z] (1/16) Installing ncurses-dev (6.2_p20200523-r0) [2021-08-06T09:57:45.763Z] (2/16) Installing libblkid (2.35.2-r0) [2021-08-06T09:57:45.763Z] (3/16) Installing blkid (2.35.2-r0) [2021-08-06T09:57:45.763Z] (4/16) Installing libcap-ng (0.7.10-r1) [2021-08-06T09:57:46.034Z] (5/16) Installing setpriv (2.35.2-r0) [2021-08-06T09:57:46.034Z] (6/16) Installing libmount (2.35.2-r0) [2021-08-06T09:57:46.034Z] (7/16) Installing libsmartcols (2.35.2-r0) [2021-08-06T09:57:46.305Z] (8/16) Installing findmnt (2.35.2-r0) [2021-08-06T09:57:46.305Z] (9/16) Installing mcookie (2.35.2-r0) [2021-08-06T09:57:46.305Z] (10/16) Installing hexdump (2.35.2-r0) [2021-08-06T09:57:46.576Z] (11/16) Installing lsblk (2.35.2-r0) [2021-08-06T09:57:46.576Z] (12/16) Installing libfdisk (2.35.2-r0) [2021-08-06T09:57:46.576Z] (13/16) Installing sfdisk (2.35.2-r0) [2021-08-06T09:57:46.848Z] (14/16) Installing cfdisk (2.35.2-r0) [2021-08-06T09:57:46.848Z] (15/16) Installing util-linux (2.35.2-r0) [2021-08-06T09:57:47.120Z] (16/16) Installing util-linux-dev (2.35.2-r0) [2021-08-06T09:57:47.396Z] Executing busybox-1.31.1-r20.trigger [2021-08-06T09:57:47.396Z] OK: 276 MiB in 98 packages [2021-08-06T09:57:49.372Z] Removing intermediate container 8bbf970bb883 [2021-08-06T09:57:49.372Z] ---> 73b0deed26d8 [2021-08-06T09:57:49.372Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2021-08-06T09:57:49.964Z] ---> f6f1df771476 [2021-08-06T09:57:49.964Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2021-08-06T09:57:50.940Z] ---> 5b6c72d10982 [2021-08-06T09:57:50.940Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2021-08-06T09:57:51.914Z] ---> 6f6572b5c8db [2021-08-06T09:57:51.914Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2021-08-06T09:57:52.509Z] ---> 5cec90bf7b45 [2021-08-06T09:57:52.509Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2021-08-06T09:57:53.485Z] ---> 4092e2448f79 [2021-08-06T09:57:53.485Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2021-08-06T09:57:54.078Z] ---> df564d1a21e4 [2021-08-06T09:57:54.078Z] Step 13/17 : WORKDIR /edgex-c-sdk [2021-08-06T09:57:54.350Z] ---> Running in 8b3615b16f5b [2021-08-06T09:57:54.944Z] Removing intermediate container 8b3615b16f5b [2021-08-06T09:57:54.944Z] ---> 5cd04e902d4a [2021-08-06T09:57:54.944Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-08-06T09:57:54.944Z] ---> Running in c4c156b394fd [2021-08-06T09:57:55.536Z] Removing intermediate container c4c156b394fd [2021-08-06T09:57:55.536Z] ---> 74f7d31192f9 [2021-08-06T09:57:55.536Z] Step 15/17 : LABEL arch=arm64 [2021-08-06T09:57:55.536Z] ---> Running in 1186063045bf [2021-08-06T09:57:56.131Z] Removing intermediate container 1186063045bf [2021-08-06T09:57:56.131Z] ---> 07bdf5dca785 [2021-08-06T09:57:56.131Z] Step 16/17 : LABEL git_sha=1c70c4e8afdf954a47da8ca4dc04415ff0e9bb22 [2021-08-06T09:57:56.402Z] ---> Running in bab2ecc25c52 [2021-08-06T09:57:56.998Z] Removing intermediate container bab2ecc25c52 [2021-08-06T09:57:56.998Z] ---> 2db80b1174aa [2021-08-06T09:57:56.998Z] Step 17/17 : LABEL version=0.0.0 [2021-08-06T09:57:56.998Z] ---> Running in 6fdd68a72ac2 [2021-08-06T09:57:57.594Z] Removing intermediate container 6fdd68a72ac2 [2021-08-06T09:57:57.594Z] ---> 75c0cda81d64 [2021-08-06T09:57:57.594Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-08-06T09:57:57.594Z] Successfully built 75c0cda81d64 [2021-08-06T09:57:57.594Z] Successfully tagged device-sdk-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-06T09:57:58.154Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-06T09:57:58.155Z] [2021-08-06T09:57:58.155Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-08-06T09:57:58.519Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-06T09:57:58.794Z] arm64: Pulling from edgex-lftools-log-publisher [2021-08-06T09:57:58.794Z] 448f6bf000e3: Pulling fs layer [2021-08-06T09:57:58.794Z] f757da607395: Pulling fs layer [2021-08-06T09:57:58.794Z] 05883995daec: Pulling fs layer [2021-08-06T09:57:58.794Z] 8603b9c90790: Pulling fs layer [2021-08-06T09:57:58.794Z] 1560dd03e051: Pulling fs layer [2021-08-06T09:57:58.794Z] 27f5ce0e4adf: Pulling fs layer [2021-08-06T09:57:58.794Z] c2d8d7efcc4b: Pulling fs layer [2021-08-06T09:57:58.794Z] 8603b9c90790: Waiting [2021-08-06T09:57:58.794Z] 1560dd03e051: Waiting [2021-08-06T09:57:58.794Z] c2d8d7efcc4b: Waiting [2021-08-06T09:57:58.794Z] 27f5ce0e4adf: Waiting [2021-08-06T09:57:59.070Z] f757da607395: Verifying Checksum [2021-08-06T09:57:59.070Z] f757da607395: Download complete [2021-08-06T09:57:59.070Z] 8603b9c90790: Verifying Checksum [2021-08-06T09:57:59.070Z] 8603b9c90790: Download complete [2021-08-06T09:57:59.070Z] 1560dd03e051: Verifying Checksum [2021-08-06T09:57:59.070Z] 1560dd03e051: Download complete [2021-08-06T09:57:59.346Z] 27f5ce0e4adf: Verifying Checksum [2021-08-06T09:57:59.346Z] 27f5ce0e4adf: Download complete [2021-08-06T09:57:59.346Z] 05883995daec: Verifying Checksum [2021-08-06T09:57:59.346Z] 05883995daec: Download complete [2021-08-06T09:57:59.943Z] 448f6bf000e3: Verifying Checksum [2021-08-06T09:57:59.943Z] 448f6bf000e3: Download complete [2021-08-06T09:58:03.340Z] c2d8d7efcc4b: Verifying Checksum [2021-08-06T09:58:03.340Z] c2d8d7efcc4b: Download complete [2021-08-06T09:58:03.613Z] 448f6bf000e3: Pull complete [2021-08-06T09:58:04.594Z] f757da607395: Pull complete [2021-08-06T09:58:06.036Z] 05883995daec: Pull complete [2021-08-06T09:58:06.310Z] 8603b9c90790: Pull complete [2021-08-06T09:58:07.291Z] 1560dd03e051: Pull complete [2021-08-06T09:58:07.564Z] 27f5ce0e4adf: Pull complete [2021-08-06T09:58:22.644Z] c2d8d7efcc4b: Pull complete [2021-08-06T09:58:22.644Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-08-06T09:58:22.644Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-06T09:58:22.644Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-08-06T09:58:22.904Z] prd-ubuntu18.04-docker-arm64-4c-16g-2232 does not seem to be running inside a container [2021-08-06T09:58:23.016Z] $ 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/9 -v /w/workspace/device-sdk-c/9:/w/workspace/device-sdk-c/9:rw,z -v /w/workspace/device-sdk-c/9@tmp:/w/workspace/device-sdk-c/9@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-06T09:58:26.633Z] $ docker top 2cd62894ca138fb25f37e0e92fb4d21931327c310f383778b75bcc62a1a141b8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-06T09:58:27.596Z] ---> job-cost.sh [2021-08-06T09:58:27.596Z] lf-activate-venv: SKIPPING [2021-08-06T09:58:27.596Z] INFO: No Stack... [2021-08-06T09:58:28.566Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-08-06T09:58:28.837Z] INFO: Archiving Costs [Pipeline] sh [2021-08-06T09:58:30.988Z] + cat /w/workspace/device-sdk-c/9/archives/cost.csv [2021-08-06T09:58:30.988Z] + cut -d, -f6 [Pipeline] lock [2021-08-06T09:58:31.049Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-357-9-stack-cost] [2021-08-06T09:58:31.059Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-357-9-stack-cost] did not exist. Created. [2021-08-06T09:58:31.060Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-357-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-08-06T09:58:31.740Z] /w/workspace/device-sdk-c/9@tmp/durable-39caa091/script.sh: 1: /w/workspace/device-sdk-c/9@tmp/durable-39caa091/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-08-06T09:58:32.428Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-08-06T09:58:32.462Z] Warning: overwriting stash ‘stack-cost’ [2021-08-06T09:58:33.107Z] Stashed 1 file(s) [Pipeline] } [2021-08-06T09:58:33.116Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-357-9-stack-cost] [Pipeline] // lock [Pipeline] } [2021-08-06T09:58:33.163Z] $ docker stop --time=1 2cd62894ca138fb25f37e0e92fb4d21931327c310f383778b75bcc62a1a141b8 [2021-08-06T09:58:34.857Z] $ docker rm -f 2cd62894ca138fb25f37e0e92fb4d21931327c310f383778b75bcc62a1a141b8 [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-06T09:58:38.007Z] + '[' -d /w/workspace/edgexfoundry_device-sdk-c_PR-357/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-08-06T09:58:38.330Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-06T09:58:38.925Z] ---> package-listing.sh [2021-08-06T09:58:38.925Z] ++ tr '[:upper:]' '[:lower:]' [2021-08-06T09:58:38.925Z] ++ facter osfamily [2021-08-06T09:58:39.191Z] + OS_FAMILY=redhat [2021-08-06T09:58:39.191Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-357 [2021-08-06T09:58:39.191Z] + START_PACKAGES=/tmp/packages_start.txt [2021-08-06T09:58:39.192Z] + END_PACKAGES=/tmp/packages_end.txt [2021-08-06T09:58:39.192Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-08-06T09:58:39.192Z] + PACKAGES=/tmp/packages_start.txt [2021-08-06T09:58:39.192Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-357 ']' [2021-08-06T09:58:39.192Z] + PACKAGES=/tmp/packages_end.txt [2021-08-06T09:58:39.192Z] + case "${OS_FAMILY}" in [2021-08-06T09:58:39.192Z] + rpm -qa [2021-08-06T09:58:39.192Z] + sort [2021-08-06T09:58:39.775Z] + '[' -f /tmp/packages_start.txt ']' [2021-08-06T09:58:39.775Z] + '[' -f /tmp/packages_end.txt ']' [2021-08-06T09:58:39.775Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-08-06T09:58:39.775Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-357 ']' [2021-08-06T09:58:39.775Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-357/archives/ [2021-08-06T09:58:39.775Z] + 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-06T09:58:39.791Z] 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-06T09:58:40.103Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-08-06T09:58:40.691Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-06T09:58:40.691Z] [2021-08-06T09:58:40.691Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-08-06T09:58:41.024Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-06T09:58:41.024Z] latest: Pulling from edgex-lftools-log-publisher [2021-08-06T09:58:41.024Z] b4d181a07f80: Pulling fs layer [2021-08-06T09:58:41.024Z] a1111a8f2ec3: Pulling fs layer [2021-08-06T09:58:41.024Z] ed53099fbce6: Pulling fs layer [2021-08-06T09:58:41.024Z] dc539afda2c1: Pulling fs layer [2021-08-06T09:58:41.024Z] 77bc0d833cb6: Pulling fs layer [2021-08-06T09:58:41.024Z] 9065ff56babe: Pulling fs layer [2021-08-06T09:58:41.024Z] d287ab97295c: Pulling fs layer [2021-08-06T09:58:41.024Z] dc539afda2c1: Waiting [2021-08-06T09:58:41.024Z] 77bc0d833cb6: Waiting [2021-08-06T09:58:41.024Z] 9065ff56babe: Waiting [2021-08-06T09:58:41.024Z] d287ab97295c: Waiting [2021-08-06T09:58:41.289Z] a1111a8f2ec3: Verifying Checksum [2021-08-06T09:58:41.289Z] a1111a8f2ec3: Download complete [2021-08-06T09:58:41.289Z] dc539afda2c1: Verifying Checksum [2021-08-06T09:58:41.289Z] dc539afda2c1: Download complete [2021-08-06T09:58:41.289Z] 77bc0d833cb6: Verifying Checksum [2021-08-06T09:58:41.289Z] 77bc0d833cb6: Download complete [2021-08-06T09:58:41.556Z] 9065ff56babe: Verifying Checksum [2021-08-06T09:58:41.556Z] 9065ff56babe: Download complete [2021-08-06T09:58:42.027Z] ed53099fbce6: Verifying Checksum [2021-08-06T09:58:42.027Z] ed53099fbce6: Download complete [2021-08-06T09:58:42.298Z] b4d181a07f80: Verifying Checksum [2021-08-06T09:58:42.298Z] b4d181a07f80: Download complete [2021-08-06T09:58:43.276Z] b4d181a07f80: Pull complete [2021-08-06T09:58:43.544Z] a1111a8f2ec3: Pull complete [2021-08-06T09:58:44.138Z] ed53099fbce6: Pull complete [2021-08-06T09:58:44.138Z] dc539afda2c1: Pull complete [2021-08-06T09:58:44.409Z] 77bc0d833cb6: Pull complete [2021-08-06T09:58:44.409Z] 9065ff56babe: Pull complete [2021-08-06T09:58:45.828Z] d287ab97295c: Verifying Checksum [2021-08-06T09:58:45.828Z] d287ab97295c: Download complete [2021-08-06T09:58:51.221Z] d287ab97295c: Pull complete [2021-08-06T09:58:51.221Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-08-06T09:58:51.221Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-06T09:58:51.221Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-08-06T09:58:51.524Z] prd-centos7-docker-4c-2g-2231 does not seem to be running inside a container [2021-08-06T09:58:51.583Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-357/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-357 -v /w/workspace/edgexfoundry_device-sdk-c_PR-357:/w/workspace/edgexfoundry_device-sdk-c_PR-357:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-08-06T09:58:54.772Z] $ docker top 42943fc5cf667d22e94e6779dc126162857912451b08d0297d4614a775e4d88e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-06T09:58:55.181Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-08-06T09:58:55.499Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-08-06T09:58:56.034Z] + ls /var/log/sa-host [2021-08-06T09:58:56.034Z] + sadf -c /var/log/sa-host/sa05 [2021-08-06T09:58:56.034Z] file_magic: OK [2021-08-06T09:58:56.034Z] HZ: Using current value: 100 [2021-08-06T09:58:56.034Z] file_header: OK [2021-08-06T09:58:56.034Z] 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-06T09:58:56.034Z] Statistics: [2021-08-06T09:58:56.034Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-08-06T09:58:56.034Z] File successfully converted to sysstat format version 12.0.3 [2021-08-06T09:58:56.034Z] + sadf -c /var/log/sa-host/sa06 [2021-08-06T09:58:56.034Z] file_magic: OK [2021-08-06T09:58:56.034Z] HZ: Using current value: 100 [2021-08-06T09:58:56.034Z] file_header: OK [2021-08-06T09:58:56.034Z] 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-06T09:58:56.034Z] Statistics: [2021-08-06T09:58:56.034Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-08-06T09:58:56.034Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-06T09:58:58.318Z] provisioning config files... [2021-08-06T09:58:58.333Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/config6349033982648694948tmp [Pipeline] { [Pipeline] echo [2021-08-06T09:58:58.356Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-06T09:58:58.669Z] ---> create-netrc.sh [Pipeline] } [2021-08-06T09:58:58.681Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-08-06T09:59:00.689Z] ---> python-tools-install.sh [Pipeline] echo [2021-08-06T09:59:00.704Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-06T09:59:01.019Z] ---> sudo-logs.sh [2021-08-06T09:59:01.019Z] Archiving 'sudo' log.. [2021-08-06T09:59:01.019Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-2231.vexxhost.local: Name or service not known [2021-08-06T09:59:01.020Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-2231.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-08-06T09:59:01.078Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-06T09:59:01.409Z] ---> job-cost.sh [2021-08-06T09:59:01.409Z] lf-activate-venv: SKIPPING [2021-08-06T09:59:01.409Z] DEBUG: total: 0.18000000715255737 [2021-08-06T09:59:01.409Z] INFO: Retrieving Stack Cost... [2021-08-06T09:59:02.371Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-08-06T09:59:02.639Z] INFO: Archiving Costs [Pipeline] echo [2021-08-06T09:59:02.660Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-06T09:59:02.982Z] ---> logs-deploy.sh [2021-08-06T09:59:02.982Z] lf-activate-venv: SKIPPING [2021-08-06T09:59:02.982Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-357/9 [2021-08-06T09:59:02.982Z] INFO: archiving workspace using pattern(s): [2021-08-06T09:59:03.566Z] Archives upload complete. [2021-08-06T09:59:03.838Z] INFO: archiving logs to Nexus