Pull request #363 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 nil4git for edgexfoundry/device-sdk-c Loading trusted files from base branch main at e1f35502f034be90e9314597bd4064834fecb981 rather than 2bf2d807499ee9959cce0906e713c0e99fbf5fcd Obtained Jenkinsfile from e1f35502f034be90e9314597bd4064834fecb981 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-ssh2410220650198056941.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 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-ssh2573748086079743199.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 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 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-363/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-363/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4700464527272414102.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 # timeout=10 Commit message: "Merge pull request #353 from ernestojeda/go-mod-tidy-change" > 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-ssh2374932380327706643.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-363/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-363/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5982004631887097129.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 on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-353 in /w/workspace/edgexfoundry_device-sdk-c_PR-363 [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-363 # 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-363@tmp/jenkins-gitclient-ssh2848770935074662213.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit e1f35502f034be90e9314597bd4064834fecb981 into PR head commit 2bf2d807499ee9959cce0906e713c0e99fbf5fcd Merge succeeded, producing 2bf2d807499ee9959cce0906e713c0e99fbf5fcd Checking out Revision 2bf2d807499ee9959cce0906e713c0e99fbf5fcd (PR-363) > 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-363@tmp/jenkins-gitclient-ssh1914590040963997978.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/363/head:refs/remotes/origin/PR-363 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2bf2d807499ee9959cce0906e713c0e99fbf5fcd # 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-363@tmp/jenkins-gitclient-ssh7376315499446764189.key > git merge e1f35502f034be90e9314597bd4064834fecb981 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2bf2d807499ee9959cce0906e713c0e99fbf5fcd # timeout=10 Commit message: "fix: Bug #361 fix for segfault on mqtt configuring" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { > git rev-list --no-walk b2b95c0601effb71d3340061699055a9bfb71e86 # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-08-11T16:17:33.161Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-08-11T16:17:33.242Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-08-11T16:17:33.267Z] ========================================================= [2021-08-11T16:17:33.267Z] EdgeX Global Pipelines Version Info [2021-08-11T16:17:33.267Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-08-11T16:17:34.552Z] ------------------- [2021-08-11T16:17:34.552Z] stable info: [2021-08-11T16:17:34.552Z] ------------------- [2021-08-11T16:17:34.552Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-08-11T16:17:34.552Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-08-11T16:17:34.552Z] Message: update stable to v1.0.205 [2021-08-11T16:17:35.137Z] ------------------- [2021-08-11T16:17:35.137Z] experimental info: [2021-08-11T16:17:35.137Z] ------------------- [2021-08-11T16:17:35.137Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-08-11T16:17:35.137Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-08-11T16:17:35.137Z] Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-08-11T16:17:35.262Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2021-08-11T16:17:35.283Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2021-08-11T16:17:35.304Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-08-11T16:17:35.325Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-08-11T16:17:35.347Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-08-11T16:17:35.368Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo [2021-08-11T16:17:35.390Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2021-08-11T16:17:35.411Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2021-08-11T16:17:35.433Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-08-11T16:17:35.454Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-08-11T16:17:35.475Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2021-08-11T16:17:35.496Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-08-11T16:17:35.517Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-08-11T16:17:35.539Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-08-11T16:17:35.560Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-08-11T16:17:35.582Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-08-11T16:17:35.604Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-08-11T16:17:35.627Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-08-11T16:17:35.648Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-363 [Pipeline] echo [2021-08-11T16:17:35.668Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-363 [Pipeline] echo [2021-08-11T16:17:35.689Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-363 [Pipeline] echo [2021-08-11T16:17:35.711Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2bf2d807499ee9959cce0906e713c0e99fbf5fcd [Pipeline] echo [2021-08-11T16:17:35.749Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2bf2d80 [Pipeline] echo [2021-08-11T16:17:35.770Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-11T16:17:35.836Z] provisioning config files... [2021-08-11T16:17:35.857Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-363@tmp/config2503476969540774872tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-11T16:17:36.198Z] ---> docker-login.sh [2021-08-11T16:17:36.198Z] nexus3.edgexfoundry.org:10001 [2021-08-11T16:17:36.199Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T16:17:36.470Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T16:17:36.470Z] Configure a credential helper to remove this warning. See [2021-08-11T16:17:36.470Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T16:17:36.470Z] [2021-08-11T16:17:36.470Z] Login Succeeded [2021-08-11T16:17:36.470Z] nexus3.edgexfoundry.org:10002 [2021-08-11T16:17:36.470Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T16:17:36.470Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T16:17:36.470Z] Configure a credential helper to remove this warning. See [2021-08-11T16:17:36.470Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T16:17:36.470Z] [2021-08-11T16:17:36.470Z] Login Succeeded [2021-08-11T16:17:36.470Z] nexus3.edgexfoundry.org:10003 [2021-08-11T16:17:36.738Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T16:17:36.739Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T16:17:36.739Z] Configure a credential helper to remove this warning. See [2021-08-11T16:17:36.739Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T16:17:36.739Z] [2021-08-11T16:17:36.739Z] Login Succeeded [2021-08-11T16:17:36.739Z] nexus3.edgexfoundry.org:10004 [2021-08-11T16:17:36.739Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T16:17:36.739Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T16:17:36.739Z] Configure a credential helper to remove this warning. See [2021-08-11T16:17:36.739Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T16:17:36.739Z] [2021-08-11T16:17:36.739Z] Login Succeeded [2021-08-11T16:17:36.739Z] docker.io [2021-08-11T16:17:37.005Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T16:17:37.274Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T16:17:37.274Z] Configure a credential helper to remove this warning. See [2021-08-11T16:17:37.274Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T16:17:37.274Z] [2021-08-11T16:17:37.274Z] Login Succeeded [2021-08-11T16:17:37.274Z] ---> docker-login.sh ends [Pipeline] } [2021-08-11T16:17:37.285Z] 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-11T16:17:37.924Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-11T16:17:37.924Z] [2021-08-11T16:17:37.924Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-08-11T16:17:38.251Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-11T16:17:38.251Z] latest: Pulling from edgex-devops/git-semver [2021-08-11T16:17:38.251Z] 31603596830f: Pulling fs layer [2021-08-11T16:17:38.251Z] d4622e32a9a9: Pulling fs layer [2021-08-11T16:17:38.251Z] 1030fce36090: Pulling fs layer [2021-08-11T16:17:38.251Z] 6c6cb7e1b49b: Pulling fs layer [2021-08-11T16:17:38.251Z] d4622e32a9a9: Verifying Checksum [2021-08-11T16:17:38.251Z] d4622e32a9a9: Download complete [2021-08-11T16:17:38.517Z] 31603596830f: Verifying Checksum [2021-08-11T16:17:38.517Z] 31603596830f: Download complete [2021-08-11T16:17:38.793Z] 31603596830f: Pull complete [2021-08-11T16:17:38.793Z] d4622e32a9a9: Pull complete [2021-08-11T16:17:38.793Z] 6c6cb7e1b49b: Verifying Checksum [2021-08-11T16:17:38.793Z] 6c6cb7e1b49b: Download complete [2021-08-11T16:17:38.793Z] 1030fce36090: Verifying Checksum [2021-08-11T16:17:38.793Z] 1030fce36090: Download complete [2021-08-11T16:17:39.390Z] 1030fce36090: Pull complete [2021-08-11T16:17:39.657Z] 6c6cb7e1b49b: Pull complete [2021-08-11T16:17:39.657Z] Digest: sha256:98b6084a185347f7b64647794a0a4774a411b925a780a33b3032b91fe10e00ab [2021-08-11T16:17:39.657Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-11T16:17:39.657Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-08-11T16:17:39.773Z] prd-centos7-docker-4c-2g-353 does not seem to be running inside a container [2021-08-11T16:17:39.833Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-363 -v /w/workspace/edgexfoundry_device-sdk-c_PR-363:/w/workspace/edgexfoundry_device-sdk-c_PR-363:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-363@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-363@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-08-11T16:17:40.667Z] $ docker top 537bc4629ec21f560839f3176cf8b7eb9a04e4b9e6fed8675aa75799664a8657 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-08-11T16:17:40.803Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-11T16:17:40.803Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-11T16:17:40.934Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-11T16:17:40.935Z] $ docker exec 537bc4629ec21f560839f3176cf8b7eb9a04e4b9e6fed8675aa75799664a8657 ssh-agent [2021-08-11T16:17:41.067Z] SSH_AUTH_SOCK=/tmp/ssh-MiGl9NnBRTjl/agent.14 [2021-08-11T16:17:41.067Z] SSH_AGENT_PID=20 [2021-08-11T16:17:41.081Z] Running ssh-add (command line suppressed) [2021-08-11T16:17:41.192Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-363@tmp/private_key_1628519589487843382.key (/w/workspace/edgexfoundry_device-sdk-c_PR-363@tmp/private_key_1628519589487843382.key) [2021-08-11T16:17:41.216Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-11T16:17:41.538Z] + git tag --points-at HEAD [Pipeline] } [2021-08-11T16:17:41.577Z] $ docker exec --env ******** --env ******** 537bc4629ec21f560839f3176cf8b7eb9a04e4b9e6fed8675aa75799664a8657 ssh-agent -k [2021-08-11T16:17:41.677Z] unset SSH_AUTH_SOCK; [2021-08-11T16:17:41.677Z] unset SSH_AGENT_PID; [2021-08-11T16:17:41.677Z] echo Agent pid 20 killed; [2021-08-11T16:17:41.704Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-08-11T16:17:41.744Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-11T16:17:41.744Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-11T16:17:41.877Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-11T16:17:41.878Z] $ docker exec 537bc4629ec21f560839f3176cf8b7eb9a04e4b9e6fed8675aa75799664a8657 ssh-agent [2021-08-11T16:17:42.007Z] SSH_AUTH_SOCK=/tmp/ssh-0aWf9krgcKCu/agent.53 [2021-08-11T16:17:42.007Z] SSH_AGENT_PID=59 [2021-08-11T16:17:42.020Z] Running ssh-add (command line suppressed) [2021-08-11T16:17:42.136Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-363@tmp/private_key_3826392886808137154.key (/w/workspace/edgexfoundry_device-sdk-c_PR-363@tmp/private_key_3826392886808137154.key) [2021-08-11T16:17:42.160Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-11T16:17:42.476Z] + git semver init [2021-08-11T16:17:42.476Z] # -> Open(): unable to determine branch for HEAD [2021-08-11T16:17:42.476Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-363/.git [2021-08-11T16:17:42.476Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-363 [2021-08-11T16:17:42.476Z] # $SEMVER_REMOTE_NAME = origin [2021-08-11T16:17:42.476Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-08-11T16:17:42.476Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-08-11T16:17:42.476Z] # $SEMVER_BRANCH = PR-363 [2021-08-11T16:17:42.476Z] # $SEMVER_TEMP = /tmp/semver-889222230 [2021-08-11T16:17:42.476Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2021-08-11T16:17:43.068Z] # '/tmp/semver-889222230' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-363/.semver' [2021-08-11T16:17:43.068Z] # -> Force: false [2021-08-11T16:17:43.068Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-363/.semver [Pipeline] } [2021-08-11T16:17:43.081Z] $ docker exec --env ******** --env ******** 537bc4629ec21f560839f3176cf8b7eb9a04e4b9e6fed8675aa75799664a8657 ssh-agent -k [2021-08-11T16:17:43.196Z] unset SSH_AUTH_SOCK; [2021-08-11T16:17:43.196Z] unset SSH_AGENT_PID; [2021-08-11T16:17:43.196Z] echo Agent pid 59 killed; [2021-08-11T16:17:43.215Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-08-11T16:17:43.559Z] + git semver [Pipeline] } [2021-08-11T16:17:43.579Z] $ docker stop --time=1 537bc4629ec21f560839f3176cf8b7eb9a04e4b9e6fed8675aa75799664a8657 [2021-08-11T16:17:44.837Z] $ docker rm -f 537bc4629ec21f560839f3176cf8b7eb9a04e4b9e6fed8675aa75799664a8657 [Pipeline] // withDockerContainer [Pipeline] sh [2021-08-11T16:17:45.228Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-08-11T16:17:45.804Z] Stashed 1 file(s) [Pipeline] echo [2021-08-11T16:17:45.808Z] [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-11T16:18:00.940Z] Still waiting to schedule task [2021-08-11T16:18:00.940Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-08-11T16:18:00.942Z] Still waiting to schedule task [2021-08-11T16:18:00.943Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-08-11T16:21:05.204Z] Running on prd-centos7-docker-4c-2g-356 in /w/workspace/edgexfoundry_device-sdk-c_PR-363 [Pipeline] { [Pipeline] ws [2021-08-11T16:21:05.221Z] Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout [2021-08-11T16:21:05.344Z] Selected Git installation does not exist. Using Default [2021-08-11T16:21:05.344Z] The recommended git tool is: NONE [2021-08-11T16:21:08.167Z] using credential edgex-jenkins-ssh [2021-08-11T16:21:08.187Z] Cloning the remote Git repository [2021-08-11T16:21:08.278Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-08-11T16:21:08.357Z] > git init /w/workspace/device-sdk-c/2 # timeout=10 [2021-08-11T16:21:08.392Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-08-11T16:21:08.392Z] > git --version # timeout=10 [2021-08-11T16:21:08.399Z] > git --version # 'git version 2.24.4' [2021-08-11T16:21:08.399Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-11T16:21:08.431Z] [INFO] Currently running in a labeled security context [2021-08-11T16:21:08.432Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-08-11T16:21:08.432Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/2@tmp/jenkins-gitclient-ssh92709696288262898.key [2021-08-11T16:21:08.461Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-11T16:21:09.917Z] Merging remotes/origin/main commit e1f35502f034be90e9314597bd4064834fecb981 into PR head commit 2bf2d807499ee9959cce0906e713c0e99fbf5fcd [2021-08-11T16:21:10.026Z] Merge succeeded, producing 2bf2d807499ee9959cce0906e713c0e99fbf5fcd [2021-08-11T16:21:10.027Z] Checking out Revision 2bf2d807499ee9959cce0906e713c0e99fbf5fcd (PR-363) [2021-08-11T16:21:09.312Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-08-11T16:21:09.328Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-11T16:21:09.350Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-08-11T16:21:09.380Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-08-11T16:21:09.380Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-11T16:21:09.381Z] [INFO] Currently running in a labeled security context [2021-08-11T16:21:09.381Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-08-11T16:21:09.381Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/2@tmp/jenkins-gitclient-ssh8632048592012050064.key [2021-08-11T16:21:09.398Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/363/head:refs/remotes/origin/PR-363 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-08-11T16:21:09.923Z] > git config core.sparsecheckout # timeout=10 [2021-08-11T16:21:09.931Z] > git checkout -f 2bf2d807499ee9959cce0906e713c0e99fbf5fcd # timeout=10 [2021-08-11T16:21:09.986Z] > git remote # timeout=10 [2021-08-11T16:21:09.991Z] > git config --get remote.origin.url # timeout=10 [2021-08-11T16:21:09.994Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-11T16:21:09.995Z] [INFO] Currently running in a labeled security context [2021-08-11T16:21:09.995Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-08-11T16:21:09.995Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/2@tmp/jenkins-gitclient-ssh6290143138029130104.key [2021-08-11T16:21:10.002Z] > git merge e1f35502f034be90e9314597bd4064834fecb981 # timeout=10 [2021-08-11T16:21:10.012Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-08-11T16:21:10.027Z] > git config core.sparsecheckout # timeout=10 [2021-08-11T16:21:10.037Z] > git checkout -f 2bf2d807499ee9959cce0906e713c0e99fbf5fcd # timeout=10 [2021-08-11T16:21:13.839Z] Commit message: "fix: Bug #361 fix for segfault on mqtt configuring" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-11T16:21:14.268Z] provisioning config files... [2021-08-11T16:21:14.288Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/2@tmp/config6813571343667911771tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-11T16:21:14.745Z] ---> docker-login.sh [2021-08-11T16:21:14.746Z] nexus3.edgexfoundry.org:10001 [2021-08-11T16:21:14.746Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T16:21:15.014Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T16:21:15.014Z] Configure a credential helper to remove this warning. See [2021-08-11T16:21:15.014Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T16:21:15.014Z] [2021-08-11T16:21:15.014Z] Login Succeeded [2021-08-11T16:21:15.014Z] nexus3.edgexfoundry.org:10002 [2021-08-11T16:21:15.014Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T16:21:15.014Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T16:21:15.014Z] Configure a credential helper to remove this warning. See [2021-08-11T16:21:15.014Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T16:21:15.014Z] [2021-08-11T16:21:15.014Z] Login Succeeded [2021-08-11T16:21:15.014Z] nexus3.edgexfoundry.org:10003 [2021-08-11T16:21:15.284Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T16:21:15.284Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T16:21:15.284Z] Configure a credential helper to remove this warning. See [2021-08-11T16:21:15.284Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T16:21:15.284Z] [2021-08-11T16:21:15.284Z] Login Succeeded [2021-08-11T16:21:15.284Z] nexus3.edgexfoundry.org:10004 [2021-08-11T16:21:15.284Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T16:21:15.556Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T16:21:15.556Z] Configure a credential helper to remove this warning. See [2021-08-11T16:21:15.556Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T16:21:15.556Z] [2021-08-11T16:21:15.556Z] Login Succeeded [2021-08-11T16:21:15.556Z] docker.io [2021-08-11T16:21:15.556Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T16:21:15.829Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T16:21:15.829Z] Configure a credential helper to remove this warning. See [2021-08-11T16:21:15.829Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T16:21:15.829Z] [2021-08-11T16:21:15.829Z] Login Succeeded [2021-08-11T16:21:15.829Z] ---> docker-login.sh ends [Pipeline] } [2021-08-11T16:21:15.884Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-08-11T16:21:16.114Z] ========================================================= [2021-08-11T16:21:16.114Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2021-08-11T16:21:16.114Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-08-11T16:21:16.449Z] + 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-11T16:21:16.449Z] Sending build context to Docker daemon 2.636MB [2021-08-11T16:21:16.449Z] Step 1/25 : ARG BASE=alpine:3.12 [2021-08-11T16:21:16.449Z] Step 2/25 : FROM ${BASE} as builder [2021-08-11T16:21:16.718Z] latest: Pulling from edgex-devops/edgex-gcc-base [2021-08-11T16:21:16.718Z] 339de151aab4: Pulling fs layer [2021-08-11T16:21:16.718Z] 3691962f683c: Pulling fs layer [2021-08-11T16:21:16.718Z] e1147bf81a45: Pulling fs layer [2021-08-11T16:21:16.718Z] 3691962f683c: Verifying Checksum [2021-08-11T16:21:16.718Z] 3691962f683c: Download complete [2021-08-11T16:21:18.127Z] 339de151aab4: Verifying Checksum [2021-08-11T16:21:18.127Z] 339de151aab4: Download complete [2021-08-11T16:21:18.127Z] 339de151aab4: Pull complete [2021-08-11T16:21:18.402Z] 3691962f683c: Pull complete [2021-08-11T16:21:25.864Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-355 in /w/workspace/edgexfoundry_device-sdk-c_PR-363 [Pipeline] { [Pipeline] ws [2021-08-11T16:21:25.887Z] Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout [2021-08-11T16:21:26.117Z] Selected Git installation does not exist. Using Default [2021-08-11T16:21:26.117Z] The recommended git tool is: NONE [2021-08-11T16:21:26.631Z] e1147bf81a45: Verifying Checksum [2021-08-11T16:21:26.631Z] e1147bf81a45: Download complete [2021-08-11T16:21:28.633Z] e1147bf81a45: Pull complete [2021-08-11T16:21:28.633Z] Digest: sha256:32c567f17180c4abff101a0d389449dec7f3f623a221c8a8ae98dcac9b0d9fee [2021-08-11T16:21:28.633Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2021-08-11T16:21:28.633Z] ---> ac6a0feb3254 [2021-08-11T16:21:28.633Z] 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-11T16:21:29.601Z] ---> Running in 2718e645a45e [2021-08-11T16:21:29.867Z] Connecting to iotech.jfrog.io (54.170.66.44:443) [2021-08-11T16:21:30.133Z] saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-08-11T16:21:30.133Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-08-11T16:21:30.133Z] '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [2021-08-11T16:21:30.400Z] Removing intermediate container 2718e645a45e [2021-08-11T16:21:30.400Z] ---> 6951fc634dc7 [2021-08-11T16:21:30.400Z] Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-08-11T16:21:30.400Z] ---> Running in 76ba8244e1f3 [2021-08-11T16:21:30.990Z] Removing intermediate container 76ba8244e1f3 [2021-08-11T16:21:30.990Z] ---> 6606bc296edc [2021-08-11T16:21:30.990Z] 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-11T16:21:30.990Z] ---> Running in 9fd0d45febcc [2021-08-11T16:21:31.260Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-08-11T16:21:31.854Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-08-11T16:21:32.121Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz [2021-08-11T16:21:32.572Z] using credential edgex-jenkins-ssh [2021-08-11T16:21:32.594Z] Cloning the remote Git repository [2021-08-11T16:21:32.708Z] (1/22) Installing hiredis (0.14.1-r0) [2021-08-11T16:21:32.708Z] (2/22) Installing hiredis-dev (0.14.1-r0) [2021-08-11T16:21:32.708Z] (3/22) Installing ncurses-dev (6.2_p20200523-r0) [2021-08-11T16:21:32.976Z] (4/22) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-08-11T16:21:32.651Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-08-11T16:21:32.769Z] > git init /w/workspace/device-sdk-c/2 # timeout=10 [2021-08-11T16:21:32.869Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-08-11T16:21:32.869Z] > git --version # timeout=10 [2021-08-11T16:21:32.893Z] > git --version # 'git version 2.17.1' [2021-08-11T16:21:32.895Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-11T16:21:32.969Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-11T16:21:34.401Z] (5/22) Installing libblkid (2.35.2-r0) [2021-08-11T16:21:34.401Z] (6/22) Installing blkid (2.35.2-r0) [2021-08-11T16:21:34.675Z] (7/22) Installing libcap-ng (0.7.10-r1) [2021-08-11T16:21:34.675Z] (8/22) Installing setpriv (2.35.2-r0) [2021-08-11T16:21:34.675Z] (9/22) Installing libmount (2.35.2-r0) [2021-08-11T16:21:34.146Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-08-11T16:21:34.164Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-11T16:21:34.200Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-08-11T16:21:34.245Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-08-11T16:21:34.245Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-11T16:21:34.262Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/363/head:refs/remotes/origin/PR-363 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-08-11T16:21:35.085Z] Merging remotes/origin/main commit e1f35502f034be90e9314597bd4064834fecb981 into PR head commit 2bf2d807499ee9959cce0906e713c0e99fbf5fcd [2021-08-11T16:21:35.257Z] (10/22) Installing libsmartcols (2.35.2-r0) [2021-08-11T16:21:35.257Z] (11/22) Installing findmnt (2.35.2-r0) [2021-08-11T16:21:35.257Z] (12/22) Installing mcookie (2.35.2-r0) [2021-08-11T16:21:35.332Z] Merge succeeded, producing 2bf2d807499ee9959cce0906e713c0e99fbf5fcd [2021-08-11T16:21:35.333Z] Checking out Revision 2bf2d807499ee9959cce0906e713c0e99fbf5fcd (PR-363) [2021-08-11T16:21:35.525Z] (13/22) Installing hexdump (2.35.2-r0) [2021-08-11T16:21:35.525Z] (14/22) Installing lsblk (2.35.2-r0) [2021-08-11T16:21:35.792Z] (15/22) Installing libuuid (2.35.2-r0) [2021-08-11T16:21:35.792Z] (16/22) Installing libfdisk (2.35.2-r0) [2021-08-11T16:21:36.059Z] (17/22) Installing sfdisk (2.35.2-r0) [2021-08-11T16:21:36.327Z] (18/22) Installing cfdisk (2.35.2-r0) [2021-08-11T16:21:36.327Z] (19/22) Installing util-linux (2.35.2-r0) [2021-08-11T16:21:35.098Z] > git config core.sparsecheckout # timeout=10 [2021-08-11T16:21:35.114Z] > git checkout -f 2bf2d807499ee9959cce0906e713c0e99fbf5fcd # timeout=10 [2021-08-11T16:21:35.238Z] > git remote # timeout=10 [2021-08-11T16:21:35.262Z] > git config --get remote.origin.url # timeout=10 [2021-08-11T16:21:35.280Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-11T16:21:35.291Z] > git merge e1f35502f034be90e9314597bd4064834fecb981 # timeout=10 [2021-08-11T16:21:35.312Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-08-11T16:21:35.335Z] > git config core.sparsecheckout # timeout=10 [2021-08-11T16:21:35.355Z] > git checkout -f 2bf2d807499ee9959cce0906e713c0e99fbf5fcd # timeout=10 [2021-08-11T16:21:38.912Z] (20/22) Installing util-linux-dev (2.35.2-r0) [2021-08-11T16:21:39.500Z] (21/22) Installing libidn2 (2.3.0-r0) [2021-08-11T16:21:39.737Z] Commit message: "fix: Bug #361 fix for segfault on mqtt configuring" [2021-08-11T16:21:39.769Z] (22/22) Installing wget (1.20.3-r1) [2021-08-11T16:21:40.038Z] Executing busybox-1.31.1-r20.trigger [2021-08-11T16:21:40.038Z] OK: 295 MiB in 97 packages [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-11T16:21:40.140Z] provisioning config files... [2021-08-11T16:21:40.172Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/2@tmp/config3024907134021800122tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-11T16:21:40.627Z] Removing intermediate container 9fd0d45febcc [2021-08-11T16:21:40.627Z] ---> 6283a216bb01 [2021-08-11T16:21:40.627Z] Step 6/25 : ENV CBOR_VERSION=0.5.0 [2021-08-11T16:21:40.627Z] ---> Running in 5dc2426dbe45 [2021-08-11T16:21:40.627Z] Removing intermediate container 5dc2426dbe45 [2021-08-11T16:21:40.627Z] ---> 85bb670c3645 [2021-08-11T16:21:40.627Z] 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-11T16:21:40.627Z] ---> Running in 04380d718885 [2021-08-11T16:21:40.733Z] ---> docker-login.sh [2021-08-11T16:21:40.733Z] nexus3.edgexfoundry.org:10001 [2021-08-11T16:21:40.904Z] --2021-08-11 16:21:40-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-08-11T16:21:40.904Z] Resolving github.com (github.com)... 140.82.113.3 [2021-08-11T16:21:40.904Z] Connecting to github.com (github.com)|140.82.113.3|:443... connected. [2021-08-11T16:21:41.172Z] HTTP request sent, awaiting response... 302 Found [2021-08-11T16:21:41.172Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-08-11T16:21:41.172Z] --2021-08-11 16:21:41-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-08-11T16:21:41.172Z] Resolving codeload.github.com (codeload.github.com)... 140.82.113.10 [2021-08-11T16:21:41.172Z] Connecting to codeload.github.com (codeload.github.com)|140.82.113.10|:443... connected. [2021-08-11T16:21:41.336Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T16:21:41.442Z] HTTP request sent, awaiting response... 200 OK [2021-08-11T16:21:41.442Z] Length: unspecified [application/x-gzip] [2021-08-11T16:21:41.442Z] Saving to: 'STDOUT' [2021-08-11T16:21:41.442Z] [2021-08-11T16:21:41.442Z] 0K .......... .......... .......... .......... .......... 1.27M [2021-08-11T16:21:41.442Z] 50K .......... .......... .......... .......... .......... 2.56M [2021-08-11T16:21:41.442Z] 100K .......... .......... .......... .......... .......... 26.2M [2021-08-11T16:21:41.442Z] 150K .......... .......... .......... .......... .......... 2.86M [2021-08-11T16:21:41.442Z] 200K .......... .......... .......... .......... .......... 29.1M [2021-08-11T16:21:41.442Z] 250K .......... .......... .......... .......... .......... 8.89M [2021-08-11T16:21:41.442Z] 300K .......... .......... .......... .......... .......... 9.55M [2021-08-11T16:21:41.442Z] 350K .......... .......... .......... .......... .......... 15.7M [2021-08-11T16:21:41.442Z] 400K .......... .......... .......... .......... .......... 9.18M [2021-08-11T16:21:41.442Z] 450K .......... .......... .......... .......... .......... 8.86M [2021-08-11T16:21:41.442Z] 500K .......... .......... .......... .......... .......... 36.2M [2021-08-11T16:21:41.442Z] 550K .......... .......... .......... .......... .......... 8.00M [2021-08-11T16:21:41.442Z] 600K .......... .......... .......... .......... .......... 4.56M [2021-08-11T16:21:41.442Z] 650K .......... .......... .......... .......... .......... 8.25M [2021-08-11T16:21:41.442Z] 700K .. 1.57M=0.1s [2021-08-11T16:21:41.442Z] [2021-08-11T16:21:41.442Z] 2021-08-11 16:21:41 (5.35 MB/s) - written to stdout [719348] [2021-08-11T16:21:41.442Z] [2021-08-11T16:21:41.442Z] -- The C compiler identification is GNU 9.3.0 [2021-08-11T16:21:41.710Z] -- The CXX compiler identification is GNU 9.3.0 [2021-08-11T16:21:41.710Z] -- Check for working C compiler: /usr/bin/cc [2021-08-11T16:21:41.710Z] -- Check for working C compiler: /usr/bin/cc - works [2021-08-11T16:21:41.710Z] -- Detecting C compiler ABI info [2021-08-11T16:21:41.710Z] -- Detecting C compiler ABI info - done [2021-08-11T16:21:41.710Z] -- Detecting C compile features [2021-08-11T16:21:41.710Z] -- Detecting C compile features - done [2021-08-11T16:21:41.710Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-08-11T16:21:41.939Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T16:21:41.939Z] Configure a credential helper to remove this warning. See [2021-08-11T16:21:41.939Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T16:21:41.939Z] [2021-08-11T16:21:41.939Z] Login Succeeded [2021-08-11T16:21:41.939Z] nexus3.edgexfoundry.org:10002 [2021-08-11T16:21:41.978Z] -- Check for working CXX compiler: /usr/bin/c++ - works [2021-08-11T16:21:41.978Z] -- Detecting CXX compiler ABI info [2021-08-11T16:21:41.978Z] -- Detecting CXX compiler ABI info - done [2021-08-11T16:21:41.978Z] -- Detecting CXX compile features [2021-08-11T16:21:41.978Z] -- Detecting CXX compile features - done [2021-08-11T16:21:41.978Z] -- Looking for include file endian.h [2021-08-11T16:21:41.978Z] -- Looking for include file endian.h - found [2021-08-11T16:21:41.978Z] -- Check if the system is big endian [2021-08-11T16:21:41.978Z] -- Searching 16 bit integer [2021-08-11T16:21:41.978Z] -- Looking for sys/types.h [2021-08-11T16:21:41.978Z] -- Looking for sys/types.h - found [2021-08-11T16:21:41.978Z] -- Looking for stdint.h [2021-08-11T16:21:42.212Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T16:21:42.212Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T16:21:42.212Z] Configure a credential helper to remove this warning. See [2021-08-11T16:21:42.212Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T16:21:42.212Z] [2021-08-11T16:21:42.212Z] Login Succeeded [2021-08-11T16:21:42.212Z] nexus3.edgexfoundry.org:10003 [2021-08-11T16:21:42.248Z] -- Looking for stdint.h - found [2021-08-11T16:21:42.248Z] -- Looking for stddef.h [2021-08-11T16:21:42.248Z] -- Looking for stddef.h - found [2021-08-11T16:21:42.248Z] -- Check size of unsigned short [2021-08-11T16:21:42.248Z] -- Check size of unsigned short - done [2021-08-11T16:21:42.248Z] -- Searching 16 bit integer - Using unsigned short [2021-08-11T16:21:42.248Z] -- Check if the system is big endian - little endian [2021-08-11T16:21:42.248Z] -- Check size of size_t [2021-08-11T16:21:42.518Z] -- Check size of size_t - done [2021-08-11T16:21:42.518Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-08-11T16:21:42.518Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-08-11T16:21:42.518Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-08-11T16:21:42.518Z] CMake did not find one. [2021-08-11T16:21:42.518Z] [2021-08-11T16:21:42.518Z] Could not find a package configuration file provided by "cJSON" with any of [2021-08-11T16:21:42.518Z] the following names: [2021-08-11T16:21:42.518Z] [2021-08-11T16:21:42.518Z] cJSONConfig.cmake [2021-08-11T16:21:42.518Z] cjson-config.cmake [2021-08-11T16:21:42.518Z] [2021-08-11T16:21:42.518Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-08-11T16:21:42.518Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-08-11T16:21:42.518Z] provides a separate development package or SDK, be sure it has been [2021-08-11T16:21:42.518Z] installed. [2021-08-11T16:21:42.518Z] [2021-08-11T16:21:42.518Z] [2021-08-11T16:21:42.518Z] -- Configuring done [2021-08-11T16:21:42.518Z] -- Generating done [2021-08-11T16:21:42.518Z] -- Build files have been written to: /tmp/cbor [2021-08-11T16:21:42.518Z] Scanning dependencies of target cbor_shared [2021-08-11T16:21:42.518Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-08-11T16:21:42.784Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-08-11T16:21:42.784Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-08-11T16:21:42.784Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-08-11T16:21:42.811Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T16:21:42.812Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T16:21:42.812Z] Configure a credential helper to remove this warning. See [2021-08-11T16:21:42.812Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T16:21:42.812Z] [2021-08-11T16:21:42.812Z] Login Succeeded [2021-08-11T16:21:42.812Z] nexus3.edgexfoundry.org:10004 [2021-08-11T16:21:43.053Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-08-11T16:21:43.053Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-08-11T16:21:43.053Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-08-11T16:21:43.053Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-08-11T16:21:43.086Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T16:21:43.325Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-08-11T16:21:43.325Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-08-11T16:21:43.325Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-08-11T16:21:43.362Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T16:21:43.362Z] Configure a credential helper to remove this warning. See [2021-08-11T16:21:43.362Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T16:21:43.362Z] [2021-08-11T16:21:43.362Z] Login Succeeded [2021-08-11T16:21:43.362Z] docker.io [2021-08-11T16:21:43.598Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-08-11T16:21:43.598Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-08-11T16:21:43.598Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-08-11T16:21:43.598Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-08-11T16:21:43.634Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T16:21:43.868Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-08-11T16:21:43.868Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-08-11T16:21:43.868Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-08-11T16:21:43.868Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-08-11T16:21:43.868Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-08-11T16:21:43.925Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T16:21:43.925Z] Configure a credential helper to remove this warning. See [2021-08-11T16:21:43.925Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T16:21:43.925Z] [2021-08-11T16:21:43.925Z] Login Succeeded [2021-08-11T16:21:43.925Z] ---> docker-login.sh ends [Pipeline] } [2021-08-11T16:21:44.026Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-08-11T16:21:44.139Z] [ 40%] Linking C shared library libcbor.so [2021-08-11T16:21:44.139Z] [ 40%] Built target cbor_shared [2021-08-11T16:21:44.139Z] Scanning dependencies of target cbor [2021-08-11T16:21:44.139Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-08-11T16:21:44.139Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-08-11T16:21:44.408Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-08-11T16:21:44.408Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-08-11T16:21:44.676Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-08-11T16:21:44.676Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-08-11T16:21:44.676Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [Pipeline] echo [2021-08-11T16:21:44.750Z] ========================================================= [2021-08-11T16:21:44.750Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2021-08-11T16:21:44.750Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-08-11T16:21:44.943Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-08-11T16:21:44.943Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-08-11T16:21:44.943Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-08-11T16:21:45.110Z] + 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-11T16:21:45.210Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-08-11T16:21:45.210Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-08-11T16:21:45.210Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-08-11T16:21:45.479Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-08-11T16:21:45.479Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-08-11T16:21:45.479Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-08-11T16:21:45.479Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-08-11T16:21:45.726Z] Sending build context to Docker daemon 2.635MB [2021-08-11T16:21:45.726Z] Step 1/25 : ARG BASE=alpine:3.12 [2021-08-11T16:21:45.726Z] Step 2/25 : FROM ${BASE} as builder [2021-08-11T16:21:45.750Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-08-11T16:21:45.750Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-08-11T16:21:45.750Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-08-11T16:21:45.750Z] [ 80%] Linking C static library libcbor.a [2021-08-11T16:21:45.750Z] [ 80%] Built target cbor [2021-08-11T16:21:45.750Z] Scanning dependencies of target sort [2021-08-11T16:21:45.750Z] [ 82%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-08-11T16:21:45.750Z] [ 84%] Linking C executable sort [2021-08-11T16:21:45.998Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2021-08-11T16:21:45.998Z] d2f70382dc9a: Pulling fs layer [2021-08-11T16:21:45.998Z] b08cc2eccb4b: Pulling fs layer [2021-08-11T16:21:45.998Z] 7b69db201801: Pulling fs layer [2021-08-11T16:21:45.998Z] b08cc2eccb4b: Download complete [2021-08-11T16:21:46.021Z] [ 84%] Built target sort [2021-08-11T16:21:46.021Z] Scanning dependencies of target readfile [2021-08-11T16:21:46.021Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-08-11T16:21:46.021Z] [ 88%] Linking C executable readfile [2021-08-11T16:21:46.021Z] [ 88%] Built target readfile [2021-08-11T16:21:46.021Z] Scanning dependencies of target streaming_parser [2021-08-11T16:21:46.021Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-08-11T16:21:46.021Z] [ 92%] Linking C executable streaming_parser [2021-08-11T16:21:46.021Z] [ 92%] Built target streaming_parser [2021-08-11T16:21:46.021Z] Scanning dependencies of target hello [2021-08-11T16:21:46.021Z] [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-08-11T16:21:46.272Z] d2f70382dc9a: Verifying Checksum [2021-08-11T16:21:46.272Z] d2f70382dc9a: Download complete [2021-08-11T16:21:46.291Z] [ 96%] Linking C executable hello [2021-08-11T16:21:46.291Z] [ 96%] Built target hello [2021-08-11T16:21:46.291Z] Scanning dependencies of target create_items [2021-08-11T16:21:46.291Z] [ 98%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-08-11T16:21:46.291Z] [100%] Linking C executable create_items [2021-08-11T16:21:46.291Z] [100%] Built target create_items [2021-08-11T16:21:46.291Z] Install the project... [2021-08-11T16:21:46.291Z] -- Install configuration: "Release" [2021-08-11T16:21:46.291Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-08-11T16:21:46.291Z] -- Installing: /usr/local/lib64/libcbor.a [2021-08-11T16:21:46.291Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-08-11T16:21:46.291Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-08-11T16:21:46.291Z] -- Installing: /usr/local/lib64/libcbor.so [2021-08-11T16:21:46.291Z] -- Up-to-date: /usr/local/include/cbor [2021-08-11T16:21:46.291Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-08-11T16:21:46.291Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-08-11T16:21:46.291Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-08-11T16:21:46.291Z] -- Installing: /usr/local/include/cbor/common.h [2021-08-11T16:21:46.291Z] -- Installing: /usr/local/include/cbor/data.h [2021-08-11T16:21:46.291Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-08-11T16:21:46.291Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-08-11T16:21:46.291Z] -- Installing: /usr/local/include/cbor/internal [2021-08-11T16:21:46.291Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-08-11T16:21:46.291Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-08-11T16:21:46.291Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-08-11T16:21:46.291Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-08-11T16:21:46.291Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-08-11T16:21:46.291Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-08-11T16:21:46.291Z] -- Installing: /usr/local/include/cbor/ints.h [2021-08-11T16:21:46.291Z] -- Installing: /usr/local/include/cbor/maps.h [2021-08-11T16:21:46.291Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-08-11T16:21:46.291Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-08-11T16:21:46.291Z] -- Installing: /usr/local/include/cbor/strings.h [2021-08-11T16:21:46.291Z] -- Installing: /usr/local/include/cbor/tags.h [2021-08-11T16:21:46.291Z] -- Installing: /usr/local/include/cbor.h [2021-08-11T16:21:46.291Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-08-11T16:21:47.249Z] Removing intermediate container 04380d718885 [2021-08-11T16:21:47.249Z] ---> afe51ed0fd34 [2021-08-11T16:21:47.249Z] Step 8/25 : RUN mkdir /tmp/sdk [2021-08-11T16:21:47.249Z] ---> Running in c5292cfeff84 [2021-08-11T16:21:47.262Z] d2f70382dc9a: Pull complete [2021-08-11T16:21:47.518Z] Removing intermediate container c5292cfeff84 [2021-08-11T16:21:47.518Z] ---> 1a1b81a8df5b [2021-08-11T16:21:47.518Z] Step 9/25 : COPY VERSION /tmp/sdk [2021-08-11T16:21:47.536Z] b08cc2eccb4b: Pull complete [2021-08-11T16:21:47.785Z] ---> ca590a0e377c [2021-08-11T16:21:47.785Z] Step 10/25 : COPY src /tmp/sdk/src [2021-08-11T16:21:48.051Z] ---> d4f2324385e3 [2021-08-11T16:21:48.051Z] Step 11/25 : COPY include /tmp/sdk/include [2021-08-11T16:21:48.051Z] ---> 9cae695ef0c7 [2021-08-11T16:21:48.051Z] Step 12/25 : COPY scripts /tmp/sdk/scripts [2021-08-11T16:21:48.318Z] ---> 117182302c49 [2021-08-11T16:21:48.318Z] Step 13/25 : COPY LICENSE /tmp/sdk [2021-08-11T16:21:48.318Z] ---> b7756cb37954 [2021-08-11T16:21:48.318Z] Step 14/25 : COPY Attribution.txt /tmp/sdk [2021-08-11T16:21:48.586Z] ---> 3847968bd4a2 [2021-08-11T16:21:48.586Z] Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-08-11T16:21:48.586Z] ---> Running in 27dfaeb1c33b [2021-08-11T16:21:48.852Z] + CPPCHECK=false [2021-08-11T16:21:48.852Z] + DOCGEN=false [2021-08-11T16:21:48.852Z] + TOMLVER=SDK-0.2 [2021-08-11T16:21:48.852Z] + CUTILVER=1.1.4 [2021-08-11T16:21:48.852Z] + '[' 0 -gt 0 ] [2021-08-11T16:21:48.852Z] + readlink -f ./scripts/build.sh [2021-08-11T16:21:48.852Z] + dirname /tmp/sdk/scripts/build.sh [2021-08-11T16:21:48.852Z] + dirname /tmp/sdk/scripts [2021-08-11T16:21:48.852Z] + ROOT=/tmp/sdk [2021-08-11T16:21:48.852Z] + cd /tmp/sdk [2021-08-11T16:21:48.852Z] + '[' '!' -d deps ] [2021-08-11T16:21:48.852Z] + mkdir deps [2021-08-11T16:21:48.852Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-08-11T16:21:48.852Z] + tar -C deps -z -x -f - [2021-08-11T16:21:48.852Z] --2021-08-11 16:21:48-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-08-11T16:21:48.852Z] Resolving github.com (github.com)... 140.82.113.3 [2021-08-11T16:21:48.852Z] Connecting to github.com (github.com)|140.82.113.3|:443... connected. [2021-08-11T16:21:48.974Z] 7b69db201801: Verifying Checksum [2021-08-11T16:21:48.974Z] 7b69db201801: Download complete [2021-08-11T16:21:49.121Z] HTTP request sent, awaiting response... 302 Found [2021-08-11T16:21:49.121Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-08-11T16:21:49.121Z] --2021-08-11 16:21:48-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-08-11T16:21:49.121Z] Resolving codeload.github.com (codeload.github.com)... 140.82.113.10 [2021-08-11T16:21:49.121Z] Connecting to codeload.github.com (codeload.github.com)|140.82.113.10|:443... connected. [2021-08-11T16:21:49.121Z] HTTP request sent, awaiting response... 200 OK [2021-08-11T16:21:49.121Z] Length: unspecified [application/x-gzip] [2021-08-11T16:21:49.121Z] Saving to: 'STDOUT' [2021-08-11T16:21:49.121Z] [2021-08-11T16:21:49.393Z] 0K .......... ...... 883K=0.02s [2021-08-11T16:21:49.393Z] [2021-08-11T16:21:49.393Z] 2021-08-11 16:21:49 (883 KB/s) - written to stdout [16451] [2021-08-11T16:21:49.393Z] [2021-08-11T16:21:49.393Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-08-11T16:21:49.393Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-08-11T16:21:49.393Z] + tar -C deps -z -x -f - [2021-08-11T16:21:49.393Z] --2021-08-11 16:21:49-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-08-11T16:21:49.393Z] Resolving github.com (github.com)... 140.82.113.3 [2021-08-11T16:21:49.393Z] Connecting to github.com (github.com)|140.82.113.3|:443... connected. [2021-08-11T16:21:49.393Z] HTTP request sent, awaiting response... 302 Found [2021-08-11T16:21:49.393Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] [2021-08-11T16:21:49.393Z] --2021-08-11 16:21:49-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [2021-08-11T16:21:49.393Z] Resolving codeload.github.com (codeload.github.com)... 140.82.113.10 [2021-08-11T16:21:49.393Z] Connecting to codeload.github.com (codeload.github.com)|140.82.113.10|:443... connected. [2021-08-11T16:21:49.665Z] HTTP request sent, awaiting response... 200 OK [2021-08-11T16:21:49.665Z] Length: unspecified [application/x-gzip] [2021-08-11T16:21:49.665Z] Saving to: 'STDOUT' [2021-08-11T16:21:49.665Z] [2021-08-11T16:21:49.665Z] 0K .......... .......... .......... .......... .......... 1.25M [2021-08-11T16:21:49.665Z] 50K .......... .......... .......... .......... .......... 2.58M [2021-08-11T16:21:49.665Z] 100K .......... .......... .......... .......... .......... 16.2M [2021-08-11T16:21:49.665Z] 150K .......... .......... ....... 10.2M=0.06s [2021-08-11T16:21:49.665Z] [2021-08-11T16:21:49.665Z] 2021-08-11 16:21:49 (2.73 MB/s) - written to stdout [181796] [2021-08-11T16:21:49.665Z] [2021-08-11T16:21:49.665Z] + mkdir -p src/c/iot [2021-08-11T16:21:49.665Z] + 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-11T16:21:49.665Z] + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot [2021-08-11T16:21:49.665Z] + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot [2021-08-11T16:21:49.665Z] + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot [2021-08-11T16:21:49.665Z] + mkdir -p include/iot [2021-08-11T16:21:49.665Z] + 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-11T16:21:49.665Z] + mkdir -p include/iot/os [2021-08-11T16:21:49.665Z] + 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-11T16:21:49.665Z] + mkdir -p /tmp/sdk/build/release [2021-08-11T16:21:49.665Z] + cd /tmp/sdk/build/release [2021-08-11T16:21:49.665Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-08-11T16:21:49.943Z] -- The C compiler identification is GNU 9.3.0 [2021-08-11T16:21:49.943Z] -- Check for working C compiler: /usr/bin/cc [2021-08-11T16:21:49.943Z] -- Check for working C compiler: /usr/bin/cc - works [2021-08-11T16:21:49.943Z] -- Detecting C compiler ABI info [2021-08-11T16:21:49.943Z] -- Detecting C compiler ABI info - done [2021-08-11T16:21:49.943Z] -- Detecting C compile features [2021-08-11T16:21:49.943Z] -- Detecting C compile features - done [2021-08-11T16:21:49.943Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-08-11T16:21:49.943Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") [2021-08-11T16:21:49.943Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-08-11T16:21:49.943Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-08-11T16:21:49.943Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-08-11T16:21:49.943Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-08-11T16:21:49.943Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-08-11T16:21:49.943Z] -- C SDK 0.0.0 for Linux [2021-08-11T16:21:49.943Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-08-11T16:21:50.216Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-08-11T16:21:50.216Z] -- Found Curses: /usr/lib/libcurses.so [2021-08-11T16:21:50.216Z] -- Configuring done [2021-08-11T16:21:50.216Z] -- Generating done [2021-08-11T16:21:50.216Z] -- Build files have been written to: /tmp/sdk/build/release [2021-08-11T16:21:50.216Z] + make+ alltee package release.log [2021-08-11T16:21:50.216Z] [2021-08-11T16:21:50.216Z] Scanning dependencies of target csdk [2021-08-11T16:21:50.216Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-08-11T16:21:50.488Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-08-11T16:21:50.488Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-08-11T16:21:50.776Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-08-11T16:21:51.043Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-08-11T16:21:51.043Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-08-11T16:21:51.043Z] /tmp/sdk/src/c/data-mqtt.c: In function 'edgex_data_client_new_mqtt': [2021-08-11T16:21:51.043Z] /tmp/sdk/src/c/data-mqtt.c:182:12: warning: unused variable 'tm' [-Wunused-variable] [2021-08-11T16:21:51.043Z] 182 | uint64_t tm; [2021-08-11T16:21:51.043Z] | ^~ [2021-08-11T16:21:51.314Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-08-11T16:21:51.314Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-08-11T16:21:51.314Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-08-11T16:21:51.584Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-08-11T16:21:51.853Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-08-11T16:21:51.853Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-08-11T16:21:52.121Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-08-11T16:21:52.121Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-08-11T16:21:52.121Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-08-11T16:21:52.390Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-08-11T16:21:52.391Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-08-11T16:21:52.992Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-08-11T16:21:52.992Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-08-11T16:21:52.992Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-08-11T16:21:52.992Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-08-11T16:21:52.992Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-08-11T16:21:53.264Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-08-11T16:21:53.852Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-08-11T16:21:53.852Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-08-11T16:21:53.852Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-08-11T16:21:53.852Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-08-11T16:21:54.122Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-08-11T16:21:54.122Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-08-11T16:21:54.393Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-08-11T16:21:54.394Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-08-11T16:21:54.394Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-08-11T16:21:54.670Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-08-11T16:21:54.938Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-08-11T16:21:54.939Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-08-11T16:21:55.429Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-08-11T16:21:55.429Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-08-11T16:21:56.025Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-08-11T16:21:56.025Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-08-11T16:21:56.304Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-08-11T16:21:56.304Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-08-11T16:21:56.578Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-08-11T16:21:56.851Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-08-11T16:21:56.851Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-08-11T16:21:56.851Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-08-11T16:21:57.124Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-08-11T16:21:57.260Z] 7b69db201801: Pull complete [2021-08-11T16:21:57.260Z] Digest: sha256:6402f0ff92f22f5db569dc2a94aef5717e50795d64082fb226716824a8b8ffba [2021-08-11T16:21:57.260Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2021-08-11T16:21:57.260Z] ---> 759262b18b23 [2021-08-11T16:21:57.260Z] 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-11T16:21:57.394Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-08-11T16:21:57.982Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-08-11T16:21:58.244Z] ---> Running in 42fc061d7419 [2021-08-11T16:21:58.251Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-08-11T16:21:58.251Z] [ 75%] Linking C shared library libcsdk.so [2021-08-11T16:21:58.251Z] [ 75%] Built target csdk [2021-08-11T16:21:58.251Z] Scanning dependencies of target template [2021-08-11T16:21:58.251Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-08-11T16:21:58.522Z] [ 78%] Linking C executable template [2021-08-11T16:21:58.522Z] [ 78%] Built target template [2021-08-11T16:21:58.522Z] Scanning dependencies of target device-counter [2021-08-11T16:21:58.522Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-08-11T16:21:58.522Z] [ 81%] Linking C executable device-counter [2021-08-11T16:21:58.804Z] [ 81%] Built target device-counter [2021-08-11T16:21:58.804Z] Scanning dependencies of target device-random [2021-08-11T16:21:58.804Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-08-11T16:21:58.804Z] [ 84%] Linking C executable device-random [2021-08-11T16:21:58.804Z] [ 84%] Built target device-random [2021-08-11T16:21:58.804Z] Scanning dependencies of target device-gyro [2021-08-11T16:21:58.804Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-08-11T16:21:58.804Z] [ 87%] Linking C executable device-gyro [2021-08-11T16:21:59.072Z] [ 87%] Built target device-gyro [2021-08-11T16:21:59.072Z] Scanning dependencies of target device-bitfields [2021-08-11T16:21:59.072Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-08-11T16:21:59.072Z] [ 90%] Linking C executable device-bitfields [2021-08-11T16:21:59.072Z] [ 90%] Built target device-bitfields [2021-08-11T16:21:59.072Z] Scanning dependencies of target template-discovery [2021-08-11T16:21:59.072Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-08-11T16:21:59.341Z] [ 93%] Linking C executable template-discovery [2021-08-11T16:21:59.341Z] [ 93%] Built target template-discovery [2021-08-11T16:21:59.341Z] Scanning dependencies of target device-file [2021-08-11T16:21:59.341Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-08-11T16:21:59.613Z] [ 96%] Linking C executable device-file [2021-08-11T16:21:59.613Z] [ 96%] Built target device-file [2021-08-11T16:21:59.613Z] Scanning dependencies of target device-terminal [2021-08-11T16:21:59.613Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-08-11T16:21:59.613Z] [100%] Linking C executable device-terminal [2021-08-11T16:21:59.702Z] Connecting to iotech.jfrog.io (54.229.110.245:443) [2021-08-11T16:21:59.882Z] [100%] Built target device-terminal [2021-08-11T16:21:59.882Z] Run CPack packaging tool... [2021-08-11T16:21:59.882Z] CPack: Create package using TGZ [2021-08-11T16:21:59.882Z] CPack: Install projects [2021-08-11T16:21:59.882Z] CPack: - Run preinstall target for: Csdk [2021-08-11T16:21:59.882Z] CPack: - Install project: Csdk [] [2021-08-11T16:21:59.882Z] CPack: Create package [2021-08-11T16:21:59.882Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-08-11T16:21:59.882Z] + '[' false '=' true ] [2021-08-11T16:21:59.882Z] + '[' false '=' true ] [2021-08-11T16:21:59.882Z] + mkdir -p /tmp/sdk/build/debug [2021-08-11T16:21:59.882Z] + cd /tmp/sdk/build/debug [2021-08-11T16:21:59.882Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-08-11T16:21:59.981Z] saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-08-11T16:21:59.981Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-08-11T16:21:59.981Z] '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [2021-08-11T16:22:00.155Z] -- The C compiler identification is GNU 9.3.0 [2021-08-11T16:22:00.155Z] -- Check for working C compiler: /usr/bin/cc [2021-08-11T16:22:00.155Z] -- Check for working C compiler: /usr/bin/cc - works [2021-08-11T16:22:00.155Z] -- Detecting C compiler ABI info [2021-08-11T16:22:00.155Z] -- Detecting C compiler ABI info - done [2021-08-11T16:22:00.155Z] -- Detecting C compile features [2021-08-11T16:22:00.155Z] -- Detecting C compile features - done [2021-08-11T16:22:00.155Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-08-11T16:22:00.428Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") [2021-08-11T16:22:00.428Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-08-11T16:22:00.428Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-08-11T16:22:00.428Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-08-11T16:22:00.428Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-08-11T16:22:00.428Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-08-11T16:22:00.428Z] -- C SDK 0.0.0 for Linux [2021-08-11T16:22:00.428Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-08-11T16:22:00.428Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-08-11T16:22:00.428Z] -- Found Curses: /usr/lib/libcurses.so [2021-08-11T16:22:00.428Z] -- Configuring done [2021-08-11T16:22:00.428Z] -- Generating done [2021-08-11T16:22:00.428Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-08-11T16:22:00.428Z] + make [2021-08-11T16:22:00.428Z] + tee debug.log [2021-08-11T16:22:00.428Z] Scanning dependencies of target csdk [2021-08-11T16:22:00.428Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-08-11T16:22:00.695Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-08-11T16:22:00.695Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-08-11T16:22:00.695Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-08-11T16:22:00.963Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-08-11T16:22:00.963Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-08-11T16:22:00.963Z] /tmp/sdk/src/c/data-mqtt.c: In function 'edgex_data_client_new_mqtt': [2021-08-11T16:22:00.963Z] /tmp/sdk/src/c/data-mqtt.c:182:12: warning: unused variable 'tm' [-Wunused-variable] [2021-08-11T16:22:00.963Z] 182 | uint64_t tm; [2021-08-11T16:22:00.963Z] | ^~ [2021-08-11T16:22:00.963Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-08-11T16:22:00.963Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-08-11T16:22:00.965Z] Removing intermediate container 42fc061d7419 [2021-08-11T16:22:00.965Z] ---> 42168cc3ee18 [2021-08-11T16:22:00.965Z] Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-08-11T16:22:01.235Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-08-11T16:22:01.235Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-08-11T16:22:01.235Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-08-11T16:22:01.513Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-08-11T16:22:01.513Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-08-11T16:22:01.513Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-08-11T16:22:01.513Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-08-11T16:22:01.570Z] ---> Running in 63d1ad496deb [2021-08-11T16:22:01.784Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-08-11T16:22:01.784Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-08-11T16:22:01.784Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-08-11T16:22:01.784Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-08-11T16:22:02.057Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-08-11T16:22:02.057Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-08-11T16:22:02.057Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-08-11T16:22:02.057Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-08-11T16:22:02.328Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-08-11T16:22:02.328Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-08-11T16:22:02.328Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-08-11T16:22:02.594Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-08-11T16:22:02.594Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-08-11T16:22:02.594Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-08-11T16:22:02.594Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-08-11T16:22:02.594Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-08-11T16:22:02.864Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-08-11T16:22:02.864Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-08-11T16:22:02.864Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-08-11T16:22:02.864Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-08-11T16:22:03.133Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-08-11T16:22:03.133Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-08-11T16:22:03.402Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-08-11T16:22:03.402Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-08-11T16:22:03.402Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-08-11T16:22:03.402Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-08-11T16:22:03.670Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-08-11T16:22:03.670Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-08-11T16:22:03.936Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-08-11T16:22:03.936Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-08-11T16:22:03.936Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-08-11T16:22:04.200Z] Removing intermediate container 63d1ad496deb [2021-08-11T16:22:04.201Z] ---> aea264f45dab [2021-08-11T16:22:04.201Z] 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-11T16:22:04.201Z] ---> Running in a328ddaa5972 [2021-08-11T16:22:04.203Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-08-11T16:22:04.203Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-08-11T16:22:04.203Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-08-11T16:22:04.472Z] [ 75%] Linking C shared library libcsdk.so [2021-08-11T16:22:04.472Z] [ 75%] Built target csdk [2021-08-11T16:22:04.472Z] Scanning dependencies of target template [2021-08-11T16:22:04.472Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-08-11T16:22:04.472Z] [ 78%] Linking C executable template [2021-08-11T16:22:04.472Z] [ 78%] Built target template [2021-08-11T16:22:04.472Z] Scanning dependencies of target device-counter [2021-08-11T16:22:04.740Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-08-11T16:22:04.740Z] [ 81%] Linking C executable device-counter [2021-08-11T16:22:04.740Z] [ 81%] Built target device-counter [2021-08-11T16:22:04.740Z] Scanning dependencies of target device-random [2021-08-11T16:22:04.740Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-08-11T16:22:04.740Z] [ 84%] Linking C executable device-random [2021-08-11T16:22:04.740Z] [ 84%] Built target device-random [2021-08-11T16:22:04.740Z] Scanning dependencies of target device-gyro [2021-08-11T16:22:04.740Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-08-11T16:22:05.011Z] [ 87%] Linking C executable device-gyro [2021-08-11T16:22:05.011Z] [ 87%] Built target device-gyro [2021-08-11T16:22:05.011Z] Scanning dependencies of target device-bitfields [2021-08-11T16:22:05.011Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-08-11T16:22:05.011Z] [ 90%] Linking C executable device-bitfields [2021-08-11T16:22:05.011Z] [ 90%] Built target device-bitfields [2021-08-11T16:22:05.011Z] Scanning dependencies of target template-discovery [2021-08-11T16:22:05.279Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-08-11T16:22:05.279Z] [ 93%] Linking C executable template-discovery [2021-08-11T16:22:05.279Z] [ 93%] Built target template-discovery [2021-08-11T16:22:05.279Z] Scanning dependencies of target device-file [2021-08-11T16:22:05.279Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-08-11T16:22:05.279Z] [ 96%] Linking C executable device-file [2021-08-11T16:22:05.553Z] [ 96%] Built target device-file [2021-08-11T16:22:05.553Z] Scanning dependencies of target device-terminal [2021-08-11T16:22:05.553Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-08-11T16:22:05.553Z] [100%] Linking C executable device-terminal [2021-08-11T16:22:05.553Z] [100%] Built target device-terminal [2021-08-11T16:22:05.553Z] make: Entering directory '/tmp/sdk/build/release' [2021-08-11T16:22:05.553Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-08-11T16:22:05.553Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-11T16:22:05.553Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-11T16:22:05.553Z] [ 75%] Built target csdk [2021-08-11T16:22:05.553Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-11T16:22:05.553Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-11T16:22:05.553Z] [ 78%] Built target template [2021-08-11T16:22:05.553Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-11T16:22:05.553Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-11T16:22:05.553Z] [ 81%] Built target device-counter [2021-08-11T16:22:05.553Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-11T16:22:05.553Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-11T16:22:05.553Z] [ 84%] Built target device-random [2021-08-11T16:22:05.553Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-11T16:22:05.553Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-11T16:22:05.636Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-08-11T16:22:05.830Z] [ 87%] Built target device-gyro [2021-08-11T16:22:05.830Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-11T16:22:05.830Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-11T16:22:05.830Z] [ 90%] Built target device-bitfields [2021-08-11T16:22:05.830Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-11T16:22:05.830Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-11T16:22:05.830Z] [ 93%] Built target template-discovery [2021-08-11T16:22:05.830Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-11T16:22:05.830Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-11T16:22:05.830Z] [ 96%] Built target device-file [2021-08-11T16:22:05.830Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-11T16:22:05.830Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-11T16:22:05.830Z] [100%] Built target device-terminal [2021-08-11T16:22:05.830Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-08-11T16:22:05.830Z] Install the project... [2021-08-11T16:22:05.830Z] -- Install configuration: "Release" [2021-08-11T16:22:05.830Z] -- Installing: /usr/local/lib/libcsdk.so [2021-08-11T16:22:05.830Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-08-11T16:22:05.830Z] -- Up-to-date: /usr/local/include [2021-08-11T16:22:05.830Z] -- Installing: /usr/local/include/devsdk [2021-08-11T16:22:05.830Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-08-11T16:22:05.830Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-08-11T16:22:05.830Z] -- Installing: /usr/local/include/edgex [2021-08-11T16:22:05.830Z] -- Installing: /usr/local/include/edgex/devices.h [2021-08-11T16:22:05.830Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-08-11T16:22:05.830Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-08-11T16:22:05.830Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-08-11T16:22:05.830Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-08-11T16:22:05.830Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-08-11T16:22:05.830Z] -- Installing: /usr/local/include/iot [2021-08-11T16:22:05.830Z] -- Installing: /usr/local/include/iot/base64.h [2021-08-11T16:22:05.830Z] -- Installing: /usr/local/include/iot/component.h [2021-08-11T16:22:05.830Z] -- Installing: /usr/local/include/iot/config.h [2021-08-11T16:22:05.830Z] -- Installing: /usr/local/include/iot/container.h [2021-08-11T16:22:05.830Z] -- Installing: /usr/local/include/iot/data.h [2021-08-11T16:22:05.830Z] -- Installing: /usr/local/include/iot/hash.h [2021-08-11T16:22:05.830Z] -- Installing: /usr/local/include/iot/iot.h [2021-08-11T16:22:05.830Z] -- Installing: /usr/local/include/iot/json.h [2021-08-11T16:22:05.830Z] -- Installing: /usr/local/include/iot/logger.h [2021-08-11T16:22:05.830Z] -- Installing: /usr/local/include/iot/os.h [2021-08-11T16:22:05.830Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-08-11T16:22:05.830Z] -- Installing: /usr/local/include/iot/thread.h [2021-08-11T16:22:05.830Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-08-11T16:22:05.830Z] -- Installing: /usr/local/include/iot/time.h [2021-08-11T16:22:05.830Z] -- Installing: /usr/local/include/iot/typecode.h [2021-08-11T16:22:05.830Z] -- Installing: /usr/local/include/iot/os [2021-08-11T16:22:05.830Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-08-11T16:22:05.830Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-08-11T16:22:05.830Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-08-11T16:22:05.830Z] -- Installing: /usr/local/include/iot/defs.h [2021-08-11T16:22:05.830Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-08-11T16:22:05.830Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-08-11T16:22:05.830Z] make: Leaving directory '/tmp/sdk/build/release' [2021-08-11T16:22:06.423Z] Removing intermediate container 27dfaeb1c33b [2021-08-11T16:22:06.423Z] ---> b49a83446c79 [2021-08-11T16:22:06.423Z] Step 16/25 : FROM ${BASE} [2021-08-11T16:22:06.423Z] ---> ac6a0feb3254 [2021-08-11T16:22:06.423Z] Step 17/25 : LABEL maintainer="IOTech " [2021-08-11T16:22:06.423Z] ---> Running in 1c91a8203fe8 [2021-08-11T16:22:06.423Z] Removing intermediate container 1c91a8203fe8 [2021-08-11T16:22:06.423Z] ---> c56da8773020 [2021-08-11T16:22:06.423Z] 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-11T16:22:06.423Z] ---> Running in 9594d8b26ed9 [2021-08-11T16:22:06.617Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-08-11T16:22:07.020Z] Connecting to iotech.jfrog.io (54.195.244.87:443) [2021-08-11T16:22:07.210Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz [2021-08-11T16:22:07.288Z] saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-08-11T16:22:07.288Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-08-11T16:22:07.288Z] '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [2021-08-11T16:22:07.564Z] Removing intermediate container 9594d8b26ed9 [2021-08-11T16:22:07.564Z] ---> f7e38ce2a28f [2021-08-11T16:22:07.564Z] Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-08-11T16:22:07.564Z] ---> Running in 6b2cb41dd290 [2021-08-11T16:22:07.804Z] (1/22) Installing hiredis (0.14.1-r0) [2021-08-11T16:22:08.077Z] (2/22) Installing hiredis-dev (0.14.1-r0) [2021-08-11T16:22:08.077Z] (3/22) Installing ncurses-dev (6.2_p20200523-r0) [2021-08-11T16:22:08.159Z] Removing intermediate container 6b2cb41dd290 [2021-08-11T16:22:08.159Z] ---> 7e02d6d1d3fd [2021-08-11T16:22:08.159Z] 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-11T16:22:08.159Z] ---> Running in c84d101349d7 [2021-08-11T16:22:08.349Z] (4/22) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-08-11T16:22:08.433Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-08-11T16:22:09.782Z] (5/22) Installing libblkid (2.35.2-r0) [2021-08-11T16:22:10.054Z] (6/22) Installing blkid (2.35.2-r0) [2021-08-11T16:22:10.054Z] (7/22) Installing libcap-ng (0.7.10-r1) [2021-08-11T16:22:10.054Z] (8/22) Installing setpriv (2.35.2-r0) [2021-08-11T16:22:10.325Z] (9/22) Installing libmount (2.35.2-r0) [2021-08-11T16:22:10.325Z] (10/22) Installing libsmartcols (2.35.2-r0) [2021-08-11T16:22:10.598Z] (11/22) Installing findmnt (2.35.2-r0) [2021-08-11T16:22:10.598Z] (12/22) Installing mcookie (2.35.2-r0) [2021-08-11T16:22:10.598Z] (13/22) Installing hexdump (2.35.2-r0) [2021-08-11T16:22:10.871Z] (14/22) Installing lsblk (2.35.2-r0) [2021-08-11T16:22:11.145Z] (15/22) Installing libuuid (2.35.2-r0) [2021-08-11T16:22:11.145Z] (16/22) Installing libfdisk (2.35.2-r0) [2021-08-11T16:22:11.417Z] (17/22) Installing sfdisk (2.35.2-r0) [2021-08-11T16:22:11.417Z] (18/22) Installing cfdisk (2.35.2-r0) [2021-08-11T16:22:11.690Z] (19/22) Installing util-linux (2.35.2-r0) [2021-08-11T16:22:11.797Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-08-11T16:22:12.673Z] (20/22) Installing util-linux-dev (2.35.2-r0) [2021-08-11T16:22:12.950Z] (21/22) Installing libidn2 (2.3.0-r0) [2021-08-11T16:22:12.950Z] (22/22) Installing wget (1.20.3-r1) [2021-08-11T16:22:13.234Z] Executing busybox-1.31.1-r20.trigger [2021-08-11T16:22:13.234Z] OK: 276 MiB in 97 packages [2021-08-11T16:22:15.205Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz [2021-08-11T16:22:15.810Z] (1/7) Installing curl (7.78.0-r0) [2021-08-11T16:22:15.855Z] Removing intermediate container a328ddaa5972 [2021-08-11T16:22:15.855Z] ---> 7ba87dd3f584 [2021-08-11T16:22:15.855Z] Step 6/25 : ENV CBOR_VERSION=0.5.0 [2021-08-11T16:22:15.855Z] ---> Running in 217bea6f69a9 [2021-08-11T16:22:16.088Z] (2/7) Installing hiredis (0.14.1-r0) [2021-08-11T16:22:16.088Z] (3/7) Installing hiredis-dev (0.14.1-r0) [2021-08-11T16:22:16.453Z] Removing intermediate container 217bea6f69a9 [2021-08-11T16:22:16.454Z] ---> 65f4d426fe9d [2021-08-11T16:22:16.454Z] 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-11T16:22:16.454Z] ---> Running in 77623bd61aff [2021-08-11T16:22:16.689Z] (4/7) Installing libuuid (2.35.2-r0) [2021-08-11T16:22:16.689Z] (5/7) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-08-11T16:22:17.683Z] (6/7) Installing libidn2 (2.3.0-r0) [2021-08-11T16:22:17.892Z] --2021-08-11 16:22:17-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-08-11T16:22:18.164Z] Resolving github.com (github.com)... 140.82.114.3 [2021-08-11T16:22:18.164Z] Connecting to github.com (github.com)|140.82.114.3|:443... connected. [2021-08-11T16:22:18.164Z] HTTP request sent, awaiting response... 302 Found [2021-08-11T16:22:18.164Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-08-11T16:22:18.164Z] --2021-08-11 16:22:18-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-08-11T16:22:18.164Z] Resolving codeload.github.com (codeload.github.com)... 140.82.113.10 [2021-08-11T16:22:18.164Z] Connecting to codeload.github.com (codeload.github.com)|140.82.113.10|:443... connected. [2021-08-11T16:22:18.164Z] HTTP request sent, awaiting response... 200 OK [2021-08-11T16:22:18.164Z] Length: unspecified [application/x-gzip] [2021-08-11T16:22:18.164Z] Saving to: 'STDOUT' [2021-08-11T16:22:18.164Z]  [2021-08-11T16:22:18.288Z] (7/7) Installing wget (1.20.3-r1) [2021-08-11T16:22:18.440Z] 0K .......... .......... .......... .......... .......... 1.39M [2021-08-11T16:22:18.440Z] 50K .......... .......... .......... .......... .......... 3.20M [2021-08-11T16:22:18.440Z] 100K .......... .......... .......... .......... .......... 10.5M [2021-08-11T16:22:18.440Z] 150K .......... .......... .......... .......... .......... 3.69M [2021-08-11T16:22:18.440Z] 200K .......... .......... .......... .......... .......... 15.4M [2021-08-11T16:22:18.440Z] 250K .......... .......... .......... .......... .......... 4.11M [2021-08-11T16:22:18.440Z] 300K .......... .......... .......... .......... .......... 3.85M [2021-08-11T16:22:18.440Z] 350K .......... .......... .......... .......... .......... 6.20M [2021-08-11T16:22:18.440Z] 400K .......... .......... .......... .......... .......... 3.27M [2021-08-11T16:22:18.440Z] 450K .......... .......... .......... .......... .......... 4.02M [2021-08-11T16:22:18.440Z] 500K .......... .......... .......... .......... .......... 12.0M [2021-08-11T16:22:18.440Z] 550K .......... .......... .......... .......... .......... 3.88M [2021-08-11T16:22:18.440Z] 600K .......... .......... .......... .......... .......... 778K [2021-08-11T16:22:18.440Z] 650K .......... .......... .......... .......... .......... 2.09M [2021-08-11T16:22:18.440Z] 700K .. 2.16M=0.2s [2021-08-11T16:22:18.440Z] [2021-08-11T16:22:18.440Z] 2021-08-11 16:22:18 (2.90 MB/s) - written to stdout [719348] [2021-08-11T16:22:18.440Z] [2021-08-11T16:22:18.568Z] Executing busybox-1.31.1-r20.trigger [2021-08-11T16:22:18.568Z] OK: 286 MiB in 82 packages [2021-08-11T16:22:18.711Z] -- The C compiler identification is GNU 9.3.0 [2021-08-11T16:22:18.857Z] Removing intermediate container c84d101349d7 [2021-08-11T16:22:18.857Z] ---> 5297eba9046c [2021-08-11T16:22:18.857Z] Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-08-11T16:22:18.983Z] -- The CXX compiler identification is GNU 9.3.0 [2021-08-11T16:22:18.983Z] -- Check for working C compiler: /usr/bin/cc [2021-08-11T16:22:19.138Z] ---> 816e54049d02 [2021-08-11T16:22:19.138Z] Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-08-11T16:22:19.255Z] -- Check for working C compiler: /usr/bin/cc - works [2021-08-11T16:22:19.255Z] -- Detecting C compiler ABI info [2021-08-11T16:22:19.416Z] ---> 896cefac4c0a [2021-08-11T16:22:19.416Z] Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-08-11T16:22:19.416Z] ---> 52f1b2d2b73d [2021-08-11T16:22:19.416Z] Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-08-11T16:22:19.527Z] -- Detecting C compiler ABI info - done [2021-08-11T16:22:19.694Z] ---> 21c1ef8f3983 [2021-08-11T16:22:19.694Z] Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-08-11T16:22:19.799Z] -- Detecting C compile features [2021-08-11T16:22:19.799Z] -- Detecting C compile features - done [2021-08-11T16:22:19.799Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-08-11T16:22:19.968Z] ---> 5f2e81b89ac4 [2021-08-11T16:22:19.968Z] Successfully built 5f2e81b89ac4 [2021-08-11T16:22:19.968Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [2021-08-11T16:22:20.074Z] -- Check for working CXX compiler: /usr/bin/c++ - works [2021-08-11T16:22:20.074Z] -- Detecting CXX compiler ABI info [Pipeline] isUnix [Pipeline] sh [2021-08-11T16:22:20.366Z] -- Detecting CXX compiler ABI info - done [2021-08-11T16:22:20.366Z] -- Detecting CXX compile features [2021-08-11T16:22:20.366Z] -- Detecting CXX compile features - done [2021-08-11T16:22:20.366Z] -- Looking for include file endian.h [2021-08-11T16:22:20.428Z] + docker inspect -f . ci-base-image-x86_64 [2021-08-11T16:22:20.428Z] . [Pipeline] withDockerContainer [2021-08-11T16:22:20.560Z] prd-centos7-docker-4c-2g-356 does not seem to be running inside a container [2021-08-11T16:22:20.638Z] -- Looking for include file endian.h - found [2021-08-11T16:22:20.638Z] -- Check if the system is big endian [2021-08-11T16:22:20.638Z] -- Searching 16 bit integer [2021-08-11T16:22:20.638Z] -- Looking for sys/types.h [2021-08-11T16:22:20.636Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-08-11T16:22:20.910Z] -- Looking for sys/types.h - found [2021-08-11T16:22:20.910Z] -- Looking for stdint.h [2021-08-11T16:22:21.008Z] $ docker top 846c4d45be777b9d0f653ef4449a6ebeaac4696042e397d6504421e8efcbdfce -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-11T16:22:21.183Z] -- Looking for stdint.h - found [2021-08-11T16:22:21.183Z] -- Looking for stddef.h [2021-08-11T16:22:21.414Z] + make test [2021-08-11T16:22:21.414Z] echo "make test" [2021-08-11T16:22:21.414Z] make test [Pipeline] } [2021-08-11T16:22:21.431Z] $ docker stop --time=1 846c4d45be777b9d0f653ef4449a6ebeaac4696042e397d6504421e8efcbdfce [2021-08-11T16:22:21.456Z] -- Looking for stddef.h - found [2021-08-11T16:22:21.456Z] -- Check size of unsigned short [2021-08-11T16:22:21.729Z] -- Check size of unsigned short - done [2021-08-11T16:22:21.729Z] -- Searching 16 bit integer - Using unsigned short [2021-08-11T16:22:22.003Z] -- Check if the system is big endian - little endian [2021-08-11T16:22:22.003Z] -- Check size of size_t [2021-08-11T16:22:22.275Z] -- Check size of size_t - done [2021-08-11T16:22:22.275Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-08-11T16:22:22.275Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-08-11T16:22:22.275Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-08-11T16:22:22.275Z] CMake did not find one. [2021-08-11T16:22:22.275Z] [2021-08-11T16:22:22.275Z] Could not find a package configuration file provided by "cJSON" with any of [2021-08-11T16:22:22.275Z] the following names: [2021-08-11T16:22:22.275Z] [2021-08-11T16:22:22.275Z] cJSONConfig.cmake [2021-08-11T16:22:22.275Z] cjson-config.cmake [2021-08-11T16:22:22.275Z] [2021-08-11T16:22:22.275Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-08-11T16:22:22.275Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-08-11T16:22:22.275Z] provides a separate development package or SDK, be sure it has been [2021-08-11T16:22:22.275Z] installed. [2021-08-11T16:22:22.275Z] [2021-08-11T16:22:22.275Z] [2021-08-11T16:22:22.275Z] -- Configuring done [2021-08-11T16:22:22.551Z] -- Generating done [2021-08-11T16:22:22.551Z] -- Build files have been written to: /tmp/cbor [2021-08-11T16:22:22.551Z] Scanning dependencies of target cbor_shared [2021-08-11T16:22:22.551Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-08-11T16:22:22.644Z] $ docker rm -f 846c4d45be777b9d0f653ef4449a6ebeaac4696042e397d6504421e8efcbdfce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-08-11T16:22:23.544Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-08-11T16:22:23.715Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-08-11T16:22:24.034Z] + ls -al . [2021-08-11T16:22:24.034Z] total 160 [2021-08-11T16:22:24.035Z] drwxrwxr-x. 8 jenkins jenkins 260 Aug 11 16:21 . [2021-08-11T16:22:24.035Z] drwxrwxr-x. 4 jenkins jenkins 28 Aug 11 16:21 .. [2021-08-11T16:22:24.035Z] -rw-rw-r--. 1 jenkins jenkins 3104 Aug 11 16:21 Attribution.txt [2021-08-11T16:22:24.035Z] -rw-rw-r--. 1 jenkins jenkins 7556 Aug 11 16:21 CHANGES [2021-08-11T16:22:24.035Z] drwxrwxr-x. 2 jenkins jenkins 121 Aug 11 16:21 docs [2021-08-11T16:22:24.035Z] -rw-rw-r--. 1 jenkins jenkins 108574 Aug 11 16:21 Doxyfile [2021-08-11T16:22:24.035Z] drwxrwxr-x. 8 jenkins jenkins 179 Aug 11 16:21 .git [2021-08-11T16:22:24.035Z] drwxrwxr-x. 2 jenkins jenkins 81 Aug 11 16:21 .github [2021-08-11T16:22:24.035Z] -rw-rw-r--. 1 jenkins jenkins 176 Aug 11 16:21 .gitignore [2021-08-11T16:22:24.035Z] drwxrwxr-x. 4 jenkins jenkins 33 Aug 11 16:21 include [2021-08-11T16:22:24.035Z] -rw-rw-r--. 1 jenkins jenkins 784 Aug 11 16:21 Jenkinsfile [2021-08-11T16:22:24.035Z] -rw-rw-r--. 1 jenkins jenkins 10174 Aug 11 16:21 LICENSE [2021-08-11T16:22:24.035Z] -rw-rw-r--. 1 jenkins jenkins 444 Aug 11 16:21 Makefile [2021-08-11T16:22:24.035Z] -rw-rw-r--. 1 jenkins jenkins 4086 Aug 11 16:21 README.md [2021-08-11T16:22:24.035Z] -rw-rw-r--. 1 jenkins jenkins 7090 Aug 11 16:21 README.v2.md [2021-08-11T16:22:24.035Z] drwxrwxr-x. 2 jenkins jenkins 98 Aug 11 16:21 scripts [2021-08-11T16:22:24.035Z] drwxrwxr-x. 4 jenkins jenkins 50 Aug 11 16:21 src [2021-08-11T16:22:24.035Z] -rw-rw-r--. 1 jenkins jenkins 5 Aug 11 16:17 VERSION [Pipeline] isUnix [Pipeline] sh [2021-08-11T16:22:24.136Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-08-11T16:22:24.136Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-08-11T16:22:24.373Z] + 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=2bf2d807499ee9959cce0906e713c0e99fbf5fcd --label arch=amd64 --label version=0.0.0 . [2021-08-11T16:22:24.373Z] Sending build context to Docker daemon 2.636MB [2021-08-11T16:22:24.373Z] Step 1/17 : ARG BASE=alpine:3.12 [2021-08-11T16:22:24.373Z] Step 2/17 : FROM ${BASE} [2021-08-11T16:22:24.373Z] ---> 5f2e81b89ac4 [2021-08-11T16:22:24.373Z] Step 3/17 : LABEL maintainer="IOTech " [2021-08-11T16:22:24.373Z] ---> Running in bb274302a929 [2021-08-11T16:22:24.373Z] Removing intermediate container bb274302a929 [2021-08-11T16:22:24.373Z] ---> 7c9af15231ff [2021-08-11T16:22:24.373Z] 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-11T16:22:24.641Z] ---> Running in 0a9ab7ec1e6b [2021-08-11T16:22:24.729Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-08-11T16:22:24.912Z] --2021-08-11 16:22:24-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub [2021-08-11T16:22:24.912Z] Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.229.110.245, 54.170.66.44, 54.195.244.87 [2021-08-11T16:22:24.912Z] Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.229.110.245|:443... connected. [2021-08-11T16:22:25.002Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-08-11T16:22:25.178Z] HTTP request sent, awaiting response... 200 OK [2021-08-11T16:22:25.178Z] Length: 451 [application/octet-stream] [2021-08-11T16:22:25.178Z] Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-08-11T16:22:25.178Z]  [2021-08-11T16:22:25.178Z] 0K 100% 46.8M=0s [2021-08-11T16:22:25.178Z] [2021-08-11T16:22:25.178Z] 2021-08-11 16:22:25 (46.8 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] [2021-08-11T16:22:25.178Z] [2021-08-11T16:22:25.277Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-08-11T16:22:25.451Z] Removing intermediate container 0a9ab7ec1e6b [2021-08-11T16:22:25.451Z] ---> f5c689dbfac8 [2021-08-11T16:22:25.451Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-08-11T16:22:25.451Z] ---> Running in ee8e8f60c288 [2021-08-11T16:22:25.550Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-08-11T16:22:25.550Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-08-11T16:22:26.035Z] Removing intermediate container ee8e8f60c288 [2021-08-11T16:22:26.035Z] ---> 755b51d2e573 [2021-08-11T16:22:26.035Z] 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-11T16:22:26.035Z] ---> Running in 515491136c11 [2021-08-11T16:22:26.145Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-08-11T16:22:26.306Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-08-11T16:22:26.418Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-08-11T16:22:26.692Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-08-11T16:22:26.891Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-08-11T16:22:27.159Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz [2021-08-11T16:22:27.282Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-08-11T16:22:27.557Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-08-11T16:22:27.745Z] (1/16) Installing ncurses-dev (6.2_p20200523-r0) [2021-08-11T16:22:27.745Z] (2/16) Installing libblkid (2.35.2-r0) [2021-08-11T16:22:27.827Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-08-11T16:22:28.011Z] (3/16) Installing blkid (2.35.2-r0) [2021-08-11T16:22:28.012Z] (4/16) Installing libcap-ng (0.7.10-r1) [2021-08-11T16:22:28.012Z] (5/16) Installing setpriv (2.35.2-r0) [2021-08-11T16:22:28.100Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-08-11T16:22:28.279Z] (6/16) Installing libmount (2.35.2-r0) [2021-08-11T16:22:28.279Z] (7/16) Installing libsmartcols (2.35.2-r0) [2021-08-11T16:22:28.279Z] (8/16) Installing findmnt (2.35.2-r0) [2021-08-11T16:22:28.372Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-08-11T16:22:28.547Z] (9/16) Installing mcookie (2.35.2-r0) [2021-08-11T16:22:28.547Z] (10/16) Installing hexdump (2.35.2-r0) [2021-08-11T16:22:28.547Z] (11/16) Installing lsblk (2.35.2-r0) [2021-08-11T16:22:28.645Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-08-11T16:22:28.815Z] (12/16) Installing libfdisk (2.35.2-r0) [2021-08-11T16:22:28.815Z] (13/16) Installing sfdisk (2.35.2-r0) [2021-08-11T16:22:28.815Z] (14/16) Installing cfdisk (2.35.2-r0) [2021-08-11T16:22:28.917Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-08-11T16:22:29.080Z] (15/16) Installing util-linux (2.35.2-r0) [2021-08-11T16:22:29.189Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-08-11T16:22:29.189Z] [ 40%] Linking C shared library libcbor.so [2021-08-11T16:22:29.347Z] (16/16) Installing util-linux-dev (2.35.2-r0) [2021-08-11T16:22:29.466Z] [ 40%] Built target cbor_shared [2021-08-11T16:22:29.466Z] Scanning dependencies of target cbor [2021-08-11T16:22:29.466Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-08-11T16:22:29.614Z] Executing busybox-1.31.1-r20.trigger [2021-08-11T16:22:29.615Z] OK: 295 MiB in 98 packages [2021-08-11T16:22:29.883Z] Removing intermediate container 515491136c11 [2021-08-11T16:22:29.883Z] ---> 4b5a58d165c2 [2021-08-11T16:22:29.883Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2021-08-11T16:22:30.153Z] ---> 90bc59e8ba6c [2021-08-11T16:22:30.153Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2021-08-11T16:22:30.423Z] ---> 8249d6005a14 [2021-08-11T16:22:30.423Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2021-08-11T16:22:30.446Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-08-11T16:22:30.692Z] ---> 6755152dea32 [2021-08-11T16:22:30.692Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2021-08-11T16:22:30.692Z] ---> 99e9a8d4951d [2021-08-11T16:22:30.692Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2021-08-11T16:22:30.963Z] ---> 08e193fc5c2d [2021-08-11T16:22:30.963Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2021-08-11T16:22:30.963Z] ---> b8f96f68fb98 [2021-08-11T16:22:30.963Z] Step 13/17 : WORKDIR /edgex-c-sdk [2021-08-11T16:22:30.963Z] ---> Running in fd0f3f21ab6d [2021-08-11T16:22:31.040Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-08-11T16:22:31.040Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-08-11T16:22:31.235Z] Removing intermediate container fd0f3f21ab6d [2021-08-11T16:22:31.235Z] ---> a67c09794611 [2021-08-11T16:22:31.235Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-08-11T16:22:31.235Z] ---> Running in f4d2893ef147 [2021-08-11T16:22:31.235Z] Removing intermediate container f4d2893ef147 [2021-08-11T16:22:31.235Z] ---> d649fc6debcc [2021-08-11T16:22:31.235Z] Step 15/17 : LABEL arch=amd64 [2021-08-11T16:22:31.235Z] ---> Running in eeb9423852b7 [2021-08-11T16:22:31.505Z] Removing intermediate container eeb9423852b7 [2021-08-11T16:22:31.505Z] ---> 77f2ba6e76ae [2021-08-11T16:22:31.505Z] Step 16/17 : LABEL git_sha=2bf2d807499ee9959cce0906e713c0e99fbf5fcd [2021-08-11T16:22:31.505Z] ---> Running in b682441a37d2 [2021-08-11T16:22:31.505Z] Removing intermediate container b682441a37d2 [2021-08-11T16:22:31.505Z] ---> d77e562be2d1 [2021-08-11T16:22:31.505Z] Step 17/17 : LABEL version=0.0.0 [2021-08-11T16:22:31.505Z] ---> Running in 54aab4c5a693 [2021-08-11T16:22:31.779Z] Removing intermediate container 54aab4c5a693 [2021-08-11T16:22:31.779Z] ---> 9356395a1c19 [2021-08-11T16:22:31.779Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-08-11T16:22:31.779Z] Successfully built 9356395a1c19 [2021-08-11T16:22:31.779Z] Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-11T16:22:32.286Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-11T16:22:32.286Z] [2021-08-11T16:22:32.286Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-08-11T16:22:32.624Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-11T16:22:32.625Z] latest: Pulling from edgex-lftools-log-publisher [2021-08-11T16:22:32.625Z] b4d181a07f80: Pulling fs layer [2021-08-11T16:22:32.625Z] a1111a8f2ec3: Pulling fs layer [2021-08-11T16:22:32.625Z] ed53099fbce6: Pulling fs layer [2021-08-11T16:22:32.625Z] dc539afda2c1: Pulling fs layer [2021-08-11T16:22:32.625Z] 77bc0d833cb6: Pulling fs layer [2021-08-11T16:22:32.625Z] 9065ff56babe: Pulling fs layer [2021-08-11T16:22:32.625Z] d287ab97295c: Pulling fs layer [2021-08-11T16:22:32.625Z] 77bc0d833cb6: Waiting [2021-08-11T16:22:32.625Z] 9065ff56babe: Waiting [2021-08-11T16:22:32.625Z] d287ab97295c: Waiting [2021-08-11T16:22:32.625Z] dc539afda2c1: Waiting [2021-08-11T16:22:33.009Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-08-11T16:22:33.009Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-08-11T16:22:33.209Z] a1111a8f2ec3: Verifying Checksum [2021-08-11T16:22:33.209Z] a1111a8f2ec3: Download complete [2021-08-11T16:22:33.209Z] dc539afda2c1: Verifying Checksum [2021-08-11T16:22:33.209Z] dc539afda2c1: Download complete [2021-08-11T16:22:33.281Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-08-11T16:22:33.479Z] 77bc0d833cb6: Verifying Checksum [2021-08-11T16:22:33.479Z] 77bc0d833cb6: Download complete [2021-08-11T16:22:33.479Z] 9065ff56babe: Verifying Checksum [2021-08-11T16:22:33.479Z] 9065ff56babe: Download complete [2021-08-11T16:22:33.555Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-08-11T16:22:33.746Z] ed53099fbce6: Verifying Checksum [2021-08-11T16:22:33.746Z] ed53099fbce6: Download complete [2021-08-11T16:22:33.827Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-08-11T16:22:34.100Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-08-11T16:22:34.693Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-08-11T16:22:34.713Z] b4d181a07f80: Verifying Checksum [2021-08-11T16:22:34.713Z] b4d181a07f80: Download complete [2021-08-11T16:22:34.966Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-08-11T16:22:35.567Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-08-11T16:22:35.841Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-08-11T16:22:35.899Z] b4d181a07f80: Pull complete [2021-08-11T16:22:36.116Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-08-11T16:22:36.169Z] a1111a8f2ec3: Pull complete [2021-08-11T16:22:36.390Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-08-11T16:22:36.664Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-08-11T16:22:36.751Z] ed53099fbce6: Pull complete [2021-08-11T16:22:36.752Z] dc539afda2c1: Pull complete [2021-08-11T16:22:37.018Z] 77bc0d833cb6: Pull complete [2021-08-11T16:22:37.018Z] 9065ff56babe: Pull complete [2021-08-11T16:22:37.261Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-08-11T16:22:37.262Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-08-11T16:22:37.536Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-08-11T16:22:37.809Z] [ 80%] Linking C static library libcbor.a [2021-08-11T16:22:37.809Z] [ 80%] Built target cbor [2021-08-11T16:22:37.809Z] Scanning dependencies of target sort [2021-08-11T16:22:38.084Z] [ 82%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-08-11T16:22:38.084Z] [ 84%] Linking C executable sort [2021-08-11T16:22:38.357Z] [ 84%] Built target sort [2021-08-11T16:22:38.357Z] Scanning dependencies of target readfile [2021-08-11T16:22:38.357Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-08-11T16:22:38.629Z] [ 88%] Linking C executable readfile [2021-08-11T16:22:38.629Z] [ 88%] Built target readfile [2021-08-11T16:22:38.629Z] Scanning dependencies of target streaming_parser [2021-08-11T16:22:38.629Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-08-11T16:22:38.902Z] [ 92%] Linking C executable streaming_parser [2021-08-11T16:22:38.902Z] [ 92%] Built target streaming_parser [2021-08-11T16:22:38.902Z] Scanning dependencies of target hello [2021-08-11T16:22:39.177Z] [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-08-11T16:22:39.177Z] [ 96%] Linking C executable hello [2021-08-11T16:22:39.177Z] [ 96%] Built target hello [2021-08-11T16:22:39.451Z] Scanning dependencies of target create_items [2021-08-11T16:22:39.451Z] [ 98%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-08-11T16:22:39.451Z] [100%] Linking C executable create_items [2021-08-11T16:22:39.624Z] d287ab97295c: Verifying Checksum [2021-08-11T16:22:39.624Z] d287ab97295c: Download complete [2021-08-11T16:22:39.726Z] [100%] Built target create_items [2021-08-11T16:22:39.726Z] Install the project... [2021-08-11T16:22:39.726Z] -- Install configuration: "Release" [2021-08-11T16:22:39.726Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-08-11T16:22:39.726Z] -- Installing: /usr/local/lib64/libcbor.a [2021-08-11T16:22:39.726Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-08-11T16:22:39.726Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-08-11T16:22:39.726Z] -- Installing: /usr/local/lib64/libcbor.so [2021-08-11T16:22:39.726Z] -- Up-to-date: /usr/local/include/cbor [2021-08-11T16:22:39.726Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-08-11T16:22:39.726Z] -- Installing: /usr/local/include/cbor/ints.h [2021-08-11T16:22:39.726Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-08-11T16:22:39.726Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-08-11T16:22:39.726Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-08-11T16:22:39.726Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-08-11T16:22:39.726Z] -- Installing: /usr/local/include/cbor/data.h [2021-08-11T16:22:39.726Z] -- Installing: /usr/local/include/cbor/common.h [2021-08-11T16:22:39.726Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-08-11T16:22:39.726Z] -- Installing: /usr/local/include/cbor/strings.h [2021-08-11T16:22:39.726Z] -- Installing: /usr/local/include/cbor/tags.h [2021-08-11T16:22:39.726Z] -- Installing: /usr/local/include/cbor/internal [2021-08-11T16:22:39.726Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-08-11T16:22:39.726Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-08-11T16:22:39.726Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-08-11T16:22:39.726Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-08-11T16:22:39.726Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-08-11T16:22:39.726Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-08-11T16:22:39.726Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-08-11T16:22:39.726Z] -- Installing: /usr/local/include/cbor/maps.h [2021-08-11T16:22:39.726Z] -- Installing: /usr/local/include/cbor.h [2021-08-11T16:22:39.726Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-08-11T16:22:42.376Z] Removing intermediate container 77623bd61aff [2021-08-11T16:22:42.376Z] ---> 60c44306741b [2021-08-11T16:22:42.376Z] Step 8/25 : RUN mkdir /tmp/sdk [2021-08-11T16:22:42.376Z] ---> Running in 93900286ee3e [2021-08-11T16:22:43.938Z] d287ab97295c: Pull complete [2021-08-11T16:22:43.938Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-08-11T16:22:43.938Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-11T16:22:43.938Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-08-11T16:22:44.041Z] prd-centos7-docker-4c-2g-356 does not seem to be running inside a container [2021-08-11T16:22:44.112Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-08-11T16:22:44.354Z] Removing intermediate container 93900286ee3e [2021-08-11T16:22:44.354Z] ---> ab6c6b8623f5 [2021-08-11T16:22:44.354Z] Step 9/25 : COPY VERSION /tmp/sdk [2021-08-11T16:22:45.344Z] ---> b759cb27bcdb [2021-08-11T16:22:45.344Z] Step 10/25 : COPY src /tmp/sdk/src [2021-08-11T16:22:46.132Z] $ docker top 3bab27ba88bc7f387c15f4944d9c0d68f371c5bb6c1ad1f54e64a356caf30b77 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-11T16:22:46.328Z] ---> 33ac7e54972a [2021-08-11T16:22:46.328Z] Step 11/25 : COPY include /tmp/sdk/include [2021-08-11T16:22:46.616Z] ---> job-cost.sh [2021-08-11T16:22:46.616Z] lf-activate-venv: SKIPPING [2021-08-11T16:22:46.616Z] INFO: No Stack... [2021-08-11T16:22:46.924Z] ---> 7bc573756255 [2021-08-11T16:22:46.925Z] Step 12/25 : COPY scripts /tmp/sdk/scripts [2021-08-11T16:22:47.579Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-08-11T16:22:47.849Z] INFO: Archiving Costs [Pipeline] sh [2021-08-11T16:22:47.902Z] ---> 760ec8e2c206 [2021-08-11T16:22:47.902Z] Step 13/25 : COPY LICENSE /tmp/sdk [2021-08-11T16:22:48.178Z] + cat /w/workspace/device-sdk-c/2/archives/cost.csv [2021-08-11T16:22:48.178Z] + cut -d, -f6 [Pipeline] lock [2021-08-11T16:22:48.217Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-363-2-stack-cost] [2021-08-11T16:22:48.231Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-363-2-stack-cost] did not exist. Created. [2021-08-11T16:22:48.231Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-363-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-08-11T16:22:48.503Z] ---> 6f1c8a481bb8 [2021-08-11T16:22:48.504Z] Step 14/25 : COPY Attribution.txt /tmp/sdk [2021-08-11T16:22:48.571Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-08-11T16:22:48.823Z] Stashed 1 file(s) [Pipeline] } [2021-08-11T16:22:48.833Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-363-2-stack-cost] [Pipeline] // lock [Pipeline] } [2021-08-11T16:22:48.858Z] $ docker stop --time=1 3bab27ba88bc7f387c15f4944d9c0d68f371c5bb6c1ad1f54e64a356caf30b77 [2021-08-11T16:22:49.489Z] ---> bfdb5e52081a [2021-08-11T16:22:49.489Z] Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-08-11T16:22:49.489Z] ---> Running in 305dcb1c474e [2021-08-11T16:22:50.012Z] $ docker rm -f 3bab27ba88bc7f387c15f4944d9c0d68f371c5bb6c1ad1f54e64a356caf30b77 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-08-11T16:22:50.465Z] + CPPCHECK=false [2021-08-11T16:22:50.466Z] + DOCGEN=false [2021-08-11T16:22:50.466Z] + TOMLVER=SDK-0.2 [2021-08-11T16:22:50.466Z] + CUTILVER=1.1.4 [2021-08-11T16:22:50.466Z] + '[' 0 -gt 0 ] [2021-08-11T16:22:50.466Z] + readlink -f ./scripts/build.sh [2021-08-11T16:22:50.466Z] + dirname /tmp/sdk/scripts/build.sh [2021-08-11T16:22:50.466Z] + dirname /tmp/sdk/scripts [2021-08-11T16:22:50.466Z] + ROOT=/tmp/sdk [2021-08-11T16:22:50.466Z] + cd /tmp/sdk [2021-08-11T16:22:50.466Z] + '[' '!' -d deps ] [2021-08-11T16:22:50.466Z] + mkdir deps [2021-08-11T16:22:50.466Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-08-11T16:22:50.466Z] + tar -C deps -z -x -f - [2021-08-11T16:22:50.466Z] --2021-08-11 16:22:50-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-08-11T16:22:50.466Z] Resolving github.com (github.com)... 140.82.114.3 [2021-08-11T16:22:50.466Z] Connecting to github.com (github.com)|140.82.114.3|:443... connected. [2021-08-11T16:22:50.737Z] HTTP request sent, awaiting response... 302 Found [2021-08-11T16:22:50.737Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-08-11T16:22:50.737Z] --2021-08-11 16:22:50-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-08-11T16:22:50.737Z] Resolving codeload.github.com (codeload.github.com)... 140.82.113.10 [2021-08-11T16:22:50.737Z] Connecting to codeload.github.com (codeload.github.com)|140.82.113.10|:443... connected. [2021-08-11T16:22:51.010Z] HTTP request sent, awaiting response... 200 OK [2021-08-11T16:22:51.010Z] Length: unspecified [application/x-gzip] [2021-08-11T16:22:51.010Z] Saving to: 'STDOUT' [2021-08-11T16:22:51.010Z]  [2021-08-11T16:22:51.010Z] 0K .......... ......   965K=0.02s [2021-08-11T16:22:51.010Z] [2021-08-11T16:22:51.010Z] 2021-08-11 16:22:50 (965 KB/s) - written to stdout [16451] [2021-08-11T16:22:51.010Z] [2021-08-11T16:22:51.010Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-08-11T16:22:51.010Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-08-11T16:22:51.010Z] + tar -C deps -z -x -f - [2021-08-11T16:22:51.010Z] --2021-08-11 16:22:50-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-08-11T16:22:51.010Z] Resolving github.com (github.com)... 140.82.114.3 [2021-08-11T16:22:51.010Z] Connecting to github.com (github.com)|140.82.114.3|:443... connected. [2021-08-11T16:22:51.010Z] HTTP request sent, awaiting response... 302 Found [2021-08-11T16:22:51.010Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] [2021-08-11T16:22:51.010Z] --2021-08-11 16:22:50-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [2021-08-11T16:22:51.010Z] Resolving codeload.github.com (codeload.github.com)... 140.82.113.10 [2021-08-11T16:22:51.010Z] Connecting to codeload.github.com (codeload.github.com)|140.82.113.10|:443... connected. [2021-08-11T16:22:51.287Z] HTTP request sent, awaiting response... 200 OK [2021-08-11T16:22:51.287Z] Length: unspecified [application/x-gzip] [2021-08-11T16:22:51.287Z] Saving to: 'STDOUT' [2021-08-11T16:22:51.287Z]  [2021-08-11T16:22:51.287Z] 0K .......... .......... .......... .......... .......... 1.50M [2021-08-11T16:22:51.287Z] 50K .......... .......... .......... .......... .......... 2.62M [2021-08-11T16:22:51.287Z] 100K .......... .......... .......... .......... .......... 5.06M [2021-08-11T16:22:51.287Z] 150K .......... .......... ....... 1.55M=0.08s [2021-08-11T16:22:51.287Z] [2021-08-11T16:22:51.287Z] 2021-08-11 16:22:51 (2.22 MB/s) - written to stdout [181796] [2021-08-11T16:22:51.287Z] [2021-08-11T16:22:51.287Z] + mkdir -p src/c/iot [2021-08-11T16:22:51.287Z] + 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-11T16:22:51.287Z] + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot [2021-08-11T16:22:51.287Z] + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot [2021-08-11T16:22:51.287Z] + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot [2021-08-11T16:22:51.287Z] + mkdir -p include/iot [2021-08-11T16:22:51.563Z] + 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-11T16:22:51.563Z] + mkdir -p include/iot/os [2021-08-11T16:22:51.563Z] + 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-11T16:22:51.563Z] + mkdir -p /tmp/sdk/build/release [2021-08-11T16:22:51.563Z] + cd /tmp/sdk/build/release [2021-08-11T16:22:51.563Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-08-11T16:22:51.835Z] -- The C compiler identification is GNU 9.3.0 [2021-08-11T16:22:51.835Z] -- Check for working C compiler: /usr/bin/cc [2021-08-11T16:22:52.108Z] -- Check for working C compiler: /usr/bin/cc - works [2021-08-11T16:22:52.108Z] -- Detecting C compiler ABI info [2021-08-11T16:22:52.381Z] -- Detecting C compiler ABI info - done [2021-08-11T16:22:52.381Z] -- Detecting C compile features [2021-08-11T16:22:52.381Z] -- Detecting C compile features - done [2021-08-11T16:22:52.381Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-08-11T16:22:52.654Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") [2021-08-11T16:22:52.654Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-08-11T16:22:52.654Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-08-11T16:22:52.654Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-08-11T16:22:52.654Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-08-11T16:22:52.654Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-08-11T16:22:52.654Z] -- C SDK 0.0.0 for Linux [2021-08-11T16:22:52.654Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-08-11T16:22:52.926Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-08-11T16:22:52.926Z] -- Found Curses: /usr/lib/libcurses.so [2021-08-11T16:22:53.199Z] -- Configuring done [2021-08-11T16:22:53.472Z] -- Generating done [2021-08-11T16:22:53.472Z] -- Build files have been written to: /tmp/sdk/build/release [2021-08-11T16:22:53.472Z] + + teemake release.log all [2021-08-11T16:22:53.472Z] package [2021-08-11T16:22:53.472Z] Scanning dependencies of target csdk [2021-08-11T16:22:53.745Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-08-11T16:22:54.336Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-08-11T16:22:54.615Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-08-11T16:22:56.584Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-08-11T16:22:57.558Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-08-11T16:22:57.558Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-08-11T16:22:57.558Z] /tmp/sdk/src/c/data-mqtt.c: In function 'edgex_data_client_new_mqtt': [2021-08-11T16:22:57.558Z] /tmp/sdk/src/c/data-mqtt.c:182:12: warning: unused variable 'tm' [-Wunused-variable] [2021-08-11T16:22:57.558Z] 182 | uint64_t tm; [2021-08-11T16:22:57.558Z] | ^~ [2021-08-11T16:22:58.149Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-08-11T16:22:58.743Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-08-11T16:22:58.743Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-08-11T16:23:00.195Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-08-11T16:23:01.625Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-08-11T16:23:02.222Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-08-11T16:23:02.815Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-08-11T16:23:03.408Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-08-11T16:23:03.680Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-08-11T16:23:03.953Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-08-11T16:23:03.953Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-08-11T16:23:07.332Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-08-11T16:23:07.332Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-08-11T16:23:07.605Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-08-11T16:23:07.886Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-08-11T16:23:08.159Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-08-11T16:23:09.136Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-08-11T16:23:11.751Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-08-11T16:23:11.751Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-08-11T16:23:12.022Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-08-11T16:23:12.614Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-08-11T16:23:13.212Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-08-11T16:23:13.212Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-08-11T16:23:14.187Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-08-11T16:23:14.459Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-08-11T16:23:15.054Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-08-11T16:23:15.327Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-08-11T16:23:17.296Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-08-11T16:23:17.890Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-08-11T16:23:18.867Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-08-11T16:23:18.867Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-08-11T16:23:23.158Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-08-11T16:23:23.430Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-08-11T16:23:24.024Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-08-11T16:23:24.616Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-08-11T16:23:25.210Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-08-11T16:23:27.184Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-08-11T16:23:27.184Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-08-11T16:23:27.782Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-08-11T16:23:28.059Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-08-11T16:23:30.024Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-08-11T16:23:33.397Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-08-11T16:23:33.988Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-08-11T16:23:34.260Z] [ 75%] Linking C shared library libcsdk.so [2021-08-11T16:23:34.532Z] [ 75%] Built target csdk [2021-08-11T16:23:34.532Z] Scanning dependencies of target template [2021-08-11T16:23:34.532Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-08-11T16:23:35.125Z] [ 78%] Linking C executable template [2021-08-11T16:23:35.398Z] [ 78%] Built target template [2021-08-11T16:23:35.398Z] Scanning dependencies of target device-counter [2021-08-11T16:23:35.671Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-08-11T16:23:35.944Z] [ 81%] Linking C executable device-counter [2021-08-11T16:23:36.215Z] [ 81%] Built target device-counter [2021-08-11T16:23:36.215Z] Scanning dependencies of target device-random [2021-08-11T16:23:36.215Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-08-11T16:23:36.808Z] [ 84%] Linking C executable device-random [2021-08-11T16:23:37.080Z] [ 84%] Built target device-random [2021-08-11T16:23:37.081Z] Scanning dependencies of target device-gyro [2021-08-11T16:23:37.081Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-08-11T16:23:37.353Z] [ 87%] Linking C executable device-gyro [2021-08-11T16:23:37.625Z] [ 87%] Built target device-gyro [2021-08-11T16:23:37.625Z] Scanning dependencies of target device-bitfields [2021-08-11T16:23:37.625Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-08-11T16:23:38.220Z] [ 90%] Linking C executable device-bitfields [2021-08-11T16:23:38.220Z] [ 90%] Built target device-bitfields [2021-08-11T16:23:38.493Z] Scanning dependencies of target template-discovery [2021-08-11T16:23:38.493Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-08-11T16:23:39.086Z] [ 93%] Linking C executable template-discovery [2021-08-11T16:23:39.359Z] [ 93%] Built target template-discovery [2021-08-11T16:23:39.359Z] Scanning dependencies of target device-file [2021-08-11T16:23:39.359Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-08-11T16:23:39.951Z] [ 96%] Linking C executable device-file [2021-08-11T16:23:40.223Z] [ 96%] Built target device-file [2021-08-11T16:23:40.223Z] Scanning dependencies of target device-terminal [2021-08-11T16:23:40.223Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-08-11T16:23:40.818Z] [100%] Linking C executable device-terminal [2021-08-11T16:23:41.091Z] [100%] Built target device-terminal [2021-08-11T16:23:41.091Z] Run CPack packaging tool... [2021-08-11T16:23:41.091Z] CPack: Create package using TGZ [2021-08-11T16:23:41.091Z] CPack: Install projects [2021-08-11T16:23:41.091Z] CPack: - Run preinstall target for: Csdk [2021-08-11T16:23:41.684Z] CPack: - Install project: Csdk [] [2021-08-11T16:23:41.684Z] CPack: Create package [2021-08-11T16:23:41.958Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-08-11T16:23:41.959Z] + '[' false '=' true ] [2021-08-11T16:23:41.959Z] + '[' false '=' true ] [2021-08-11T16:23:41.959Z] + mkdir -p /tmp/sdk/build/debug [2021-08-11T16:23:41.959Z] + cd /tmp/sdk/build/debug [2021-08-11T16:23:41.959Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-08-11T16:23:42.231Z] -- The C compiler identification is GNU 9.3.0 [2021-08-11T16:23:42.231Z] -- Check for working C compiler: /usr/bin/cc [2021-08-11T16:23:42.503Z] -- Check for working C compiler: /usr/bin/cc - works [2021-08-11T16:23:42.503Z] -- Detecting C compiler ABI info [2021-08-11T16:23:42.777Z] -- Detecting C compiler ABI info - done [2021-08-11T16:23:42.777Z] -- Detecting C compile features [2021-08-11T16:23:42.777Z] -- Detecting C compile features - done [2021-08-11T16:23:42.777Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-08-11T16:23:43.067Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") [2021-08-11T16:23:43.067Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-08-11T16:23:43.067Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-08-11T16:23:43.067Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-08-11T16:23:43.067Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-08-11T16:23:43.067Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-08-11T16:23:43.067Z] -- C SDK 0.0.0 for Linux [2021-08-11T16:23:43.067Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-08-11T16:23:43.341Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-08-11T16:23:43.341Z] -- Found Curses: /usr/lib/libcurses.so [2021-08-11T16:23:43.614Z] -- Configuring done [2021-08-11T16:23:43.890Z] -- Generating done [2021-08-11T16:23:43.890Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-08-11T16:23:43.890Z] + make [2021-08-11T16:23:43.890Z] + tee debug.log [2021-08-11T16:23:43.890Z] Scanning dependencies of target csdk [2021-08-11T16:23:44.163Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-08-11T16:23:44.437Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-08-11T16:23:44.709Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-08-11T16:23:45.305Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-08-11T16:23:45.578Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-08-11T16:23:45.851Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-08-11T16:23:45.851Z] /tmp/sdk/src/c/data-mqtt.c: In function 'edgex_data_client_new_mqtt': [2021-08-11T16:23:45.851Z] /tmp/sdk/src/c/data-mqtt.c:182:12: warning: unused variable 'tm' [-Wunused-variable] [2021-08-11T16:23:45.851Z] 182 | uint64_t tm; [2021-08-11T16:23:45.851Z] | ^~ [2021-08-11T16:23:46.124Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-08-11T16:23:46.397Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-08-11T16:23:46.397Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-08-11T16:23:46.993Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-08-11T16:23:47.590Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-08-11T16:23:47.590Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-08-11T16:23:48.191Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-08-11T16:23:48.467Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-08-11T16:23:48.745Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-08-11T16:23:48.745Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-08-11T16:23:49.018Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-08-11T16:23:49.615Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-08-11T16:23:49.888Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-08-11T16:23:50.162Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-08-11T16:23:50.436Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-08-11T16:23:50.436Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-08-11T16:23:50.713Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-08-11T16:23:51.695Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-08-11T16:23:51.695Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-08-11T16:23:51.968Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-08-11T16:23:52.243Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-08-11T16:23:52.515Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-08-11T16:23:52.515Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-08-11T16:23:52.789Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-08-11T16:23:53.064Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-08-11T16:23:53.338Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-08-11T16:23:53.610Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-08-11T16:23:53.883Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-08-11T16:23:54.158Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-08-11T16:23:54.754Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-08-11T16:23:54.754Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-08-11T16:23:55.733Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-08-11T16:23:56.006Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-08-11T16:23:56.279Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-08-11T16:23:56.552Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-08-11T16:23:56.826Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-08-11T16:23:57.806Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-08-11T16:23:58.077Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-08-11T16:23:58.351Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-08-11T16:23:58.623Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-08-11T16:23:59.219Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-08-11T16:23:59.812Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-08-11T16:24:00.085Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-08-11T16:24:00.357Z] [ 75%] Linking C shared library libcsdk.so [2021-08-11T16:24:00.630Z] [ 75%] Built target csdk [2021-08-11T16:24:00.630Z] Scanning dependencies of target template [2021-08-11T16:24:00.630Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-08-11T16:24:00.902Z] [ 78%] Linking C executable template [2021-08-11T16:24:01.177Z] [ 78%] Built target template [2021-08-11T16:24:01.177Z] Scanning dependencies of target device-counter [2021-08-11T16:24:01.177Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-08-11T16:24:01.450Z] [ 81%] Linking C executable device-counter [2021-08-11T16:24:01.723Z] [ 81%] Built target device-counter [2021-08-11T16:24:01.723Z] Scanning dependencies of target device-random [2021-08-11T16:24:01.723Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-08-11T16:24:01.996Z] [ 84%] Linking C executable device-random [2021-08-11T16:24:02.268Z] [ 84%] Built target device-random [2021-08-11T16:24:02.268Z] Scanning dependencies of target device-gyro [2021-08-11T16:24:02.268Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-08-11T16:24:02.542Z] [ 87%] Linking C executable device-gyro [2021-08-11T16:24:02.815Z] [ 87%] Built target device-gyro [2021-08-11T16:24:02.815Z] Scanning dependencies of target device-bitfields [2021-08-11T16:24:02.815Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-08-11T16:24:03.088Z] [ 90%] Linking C executable device-bitfields [2021-08-11T16:24:03.361Z] [ 90%] Built target device-bitfields [2021-08-11T16:24:03.361Z] Scanning dependencies of target template-discovery [2021-08-11T16:24:03.361Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-08-11T16:24:03.634Z] [ 93%] Linking C executable template-discovery [2021-08-11T16:24:03.907Z] [ 93%] Built target template-discovery [2021-08-11T16:24:03.907Z] Scanning dependencies of target device-file [2021-08-11T16:24:03.907Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-08-11T16:24:04.185Z] [ 96%] Linking C executable device-file [2021-08-11T16:24:04.463Z] [ 96%] Built target device-file [2021-08-11T16:24:04.463Z] Scanning dependencies of target device-terminal [2021-08-11T16:24:04.463Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-08-11T16:24:04.736Z] [100%] Linking C executable device-terminal [2021-08-11T16:24:05.011Z] [100%] Built target device-terminal [2021-08-11T16:24:05.011Z] make: Entering directory '/tmp/sdk/build/release' [2021-08-11T16:24:05.284Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-08-11T16:24:05.284Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-11T16:24:05.284Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-11T16:24:05.284Z] [ 75%] Built target csdk [2021-08-11T16:24:05.284Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-11T16:24:05.284Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-11T16:24:05.284Z] [ 78%] Built target template [2021-08-11T16:24:05.284Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-11T16:24:05.284Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-11T16:24:05.284Z] [ 81%] Built target device-counter [2021-08-11T16:24:05.284Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-11T16:24:05.284Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-11T16:24:05.284Z] [ 84%] Built target device-random [2021-08-11T16:24:05.284Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-11T16:24:05.284Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-11T16:24:05.284Z] [ 87%] Built target device-gyro [2021-08-11T16:24:05.284Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-11T16:24:05.556Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-11T16:24:05.556Z] [ 90%] Built target device-bitfields [2021-08-11T16:24:05.556Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-11T16:24:05.556Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-11T16:24:05.556Z] [ 93%] Built target template-discovery [2021-08-11T16:24:05.556Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-11T16:24:05.556Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-11T16:24:05.556Z] [ 96%] Built target device-file [2021-08-11T16:24:05.556Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-11T16:24:05.556Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-11T16:24:05.556Z] [100%] Built target device-terminal [2021-08-11T16:24:05.556Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-08-11T16:24:05.556Z] Install the project... [2021-08-11T16:24:05.556Z] -- Install configuration: "Release" [2021-08-11T16:24:05.556Z] -- Installing: /usr/local/lib/libcsdk.so [2021-08-11T16:24:05.556Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-08-11T16:24:05.556Z] -- Up-to-date: /usr/local/include [2021-08-11T16:24:05.556Z] -- Installing: /usr/local/include/edgex [2021-08-11T16:24:05.556Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-08-11T16:24:05.556Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-08-11T16:24:05.556Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-08-11T16:24:05.556Z] -- Installing: /usr/local/include/edgex/devices.h [2021-08-11T16:24:05.556Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-08-11T16:24:05.556Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-08-11T16:24:05.556Z] -- Installing: /usr/local/include/devsdk [2021-08-11T16:24:05.556Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-08-11T16:24:05.556Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-08-11T16:24:05.556Z] -- Installing: /usr/local/include/iot [2021-08-11T16:24:05.556Z] -- Installing: /usr/local/include/iot/json.h [2021-08-11T16:24:05.556Z] -- Installing: /usr/local/include/iot/container.h [2021-08-11T16:24:05.556Z] -- Installing: /usr/local/include/iot/component.h [2021-08-11T16:24:05.556Z] -- Installing: /usr/local/include/iot/typecode.h [2021-08-11T16:24:05.556Z] -- Installing: /usr/local/include/iot/iot.h [2021-08-11T16:24:05.556Z] -- Installing: /usr/local/include/iot/time.h [2021-08-11T16:24:05.556Z] -- Installing: /usr/local/include/iot/hash.h [2021-08-11T16:24:05.556Z] -- Installing: /usr/local/include/iot/logger.h [2021-08-11T16:24:05.556Z] -- Installing: /usr/local/include/iot/os [2021-08-11T16:24:05.556Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-08-11T16:24:05.556Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-08-11T16:24:05.556Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-08-11T16:24:05.556Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-08-11T16:24:05.556Z] -- Installing: /usr/local/include/iot/data.h [2021-08-11T16:24:05.556Z] -- Installing: /usr/local/include/iot/thread.h [2021-08-11T16:24:05.556Z] -- Installing: /usr/local/include/iot/os.h [2021-08-11T16:24:05.556Z] -- Installing: /usr/local/include/iot/base64.h [2021-08-11T16:24:05.556Z] -- Installing: /usr/local/include/iot/defs.h [2021-08-11T16:24:05.556Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-08-11T16:24:05.556Z] -- Installing: /usr/local/include/iot/config.h [2021-08-11T16:24:05.556Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-08-11T16:24:05.556Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-08-11T16:24:05.556Z] make: Leaving directory '/tmp/sdk/build/release' [2021-08-11T16:24:08.181Z] Removing intermediate container 305dcb1c474e [2021-08-11T16:24:08.181Z] ---> 0d3d527911b6 [2021-08-11T16:24:08.181Z] Step 16/25 : FROM ${BASE} [2021-08-11T16:24:08.181Z] ---> 759262b18b23 [2021-08-11T16:24:08.181Z] Step 17/25 : LABEL maintainer="IOTech " [2021-08-11T16:24:08.181Z] ---> Running in 7580bb9f6420 [2021-08-11T16:24:08.459Z] Removing intermediate container 7580bb9f6420 [2021-08-11T16:24:08.459Z] ---> 67fe2d996550 [2021-08-11T16:24:08.459Z] 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-11T16:24:08.459Z] ---> Running in 2835f6b95887 [2021-08-11T16:24:09.902Z] Connecting to iotech.jfrog.io (54.195.244.87:443) [2021-08-11T16:24:10.176Z] saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-08-11T16:24:10.176Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-08-11T16:24:10.176Z] '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [2021-08-11T16:24:11.156Z] Removing intermediate container 2835f6b95887 [2021-08-11T16:24:11.156Z] ---> 5f251243d5ed [2021-08-11T16:24:11.156Z] Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-08-11T16:24:11.429Z] ---> Running in 9ef32dd85f6d [2021-08-11T16:24:14.055Z] Removing intermediate container 9ef32dd85f6d [2021-08-11T16:24:14.055Z] ---> 8ab2ff92f776 [2021-08-11T16:24:14.055Z] 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-11T16:24:14.055Z] ---> Running in 49ad04fb38a2 [2021-08-11T16:24:15.038Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-08-11T16:24:16.015Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-08-11T16:24:16.291Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz [2021-08-11T16:24:16.885Z] (1/7) Installing curl (7.78.0-r0) [2021-08-11T16:24:16.885Z] (2/7) Installing hiredis (0.14.1-r0) [2021-08-11T16:24:17.156Z] (3/7) Installing hiredis-dev (0.14.1-r0) [2021-08-11T16:24:17.156Z] (4/7) Installing libuuid (2.35.2-r0) [2021-08-11T16:24:17.156Z] (5/7) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-08-11T16:24:18.584Z] (6/7) Installing libidn2 (2.3.0-r0) [2021-08-11T16:24:18.856Z] (7/7) Installing wget (1.20.3-r1) [2021-08-11T16:24:19.129Z] Executing busybox-1.31.1-r20.trigger [2021-08-11T16:24:19.129Z] OK: 267 MiB in 82 packages [2021-08-11T16:24:20.601Z] Removing intermediate container 49ad04fb38a2 [2021-08-11T16:24:20.601Z] ---> eecf733774d6 [2021-08-11T16:24:20.601Z] Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-08-11T16:24:21.202Z] ---> a154a3e358fd [2021-08-11T16:24:21.202Z] Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-08-11T16:24:22.183Z] ---> 9ddc7e52e134 [2021-08-11T16:24:22.183Z] Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-08-11T16:24:23.165Z] ---> 21da88dd406a [2021-08-11T16:24:23.165Z] Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-08-11T16:24:23.762Z] ---> a4990aeca3f3 [2021-08-11T16:24:23.762Z] Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-08-11T16:24:24.741Z] ---> 0567a449c089 [2021-08-11T16:24:24.741Z] Successfully built 0567a449c089 [2021-08-11T16:24:24.741Z] 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-11T16:24:25.181Z] + docker inspect -f . ci-base-image-arm64 [2021-08-11T16:24:25.182Z] . [Pipeline] withDockerContainer [2021-08-11T16:24:25.453Z] prd-ubuntu18.04-docker-arm64-4c-16g-355 does not seem to be running inside a container [2021-08-11T16:24:25.540Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-08-11T16:24:27.229Z] $ docker top 8ba10f06e649f7c2e41aa6ff3e36a5504dddb806b92c61a07b3029ac7227b0ea -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-11T16:24:28.214Z] + make test [2021-08-11T16:24:28.214Z] echo "make test" [2021-08-11T16:24:28.214Z] make test [Pipeline] } [2021-08-11T16:24:28.237Z] $ docker stop --time=1 8ba10f06e649f7c2e41aa6ff3e36a5504dddb806b92c61a07b3029ac7227b0ea [2021-08-11T16:24:30.202Z] $ docker rm -f 8ba10f06e649f7c2e41aa6ff3e36a5504dddb806b92c61a07b3029ac7227b0ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-08-11T16:24:30.888Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-08-11T16:24:31.241Z] + ls -al . [2021-08-11T16:24:31.241Z] total 192 [2021-08-11T16:24:31.241Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 11 16:21 . [2021-08-11T16:24:31.241Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 11 16:21 .. [2021-08-11T16:24:31.241Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 11 16:21 .git [2021-08-11T16:24:31.241Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 11 16:21 .github [2021-08-11T16:24:31.241Z] -rw-rw-r-- 1 jenkins jenkins 176 Aug 11 16:21 .gitignore [2021-08-11T16:24:31.241Z] -rw-rw-r-- 1 jenkins jenkins 3104 Aug 11 16:21 Attribution.txt [2021-08-11T16:24:31.241Z] -rw-rw-r-- 1 jenkins jenkins 7556 Aug 11 16:21 CHANGES [2021-08-11T16:24:31.241Z] -rw-rw-r-- 1 jenkins jenkins 108574 Aug 11 16:21 Doxyfile [2021-08-11T16:24:31.241Z] -rw-rw-r-- 1 jenkins jenkins 784 Aug 11 16:21 Jenkinsfile [2021-08-11T16:24:31.241Z] -rw-rw-r-- 1 jenkins jenkins 10174 Aug 11 16:21 LICENSE [2021-08-11T16:24:31.241Z] -rw-rw-r-- 1 jenkins jenkins 444 Aug 11 16:21 Makefile [2021-08-11T16:24:31.241Z] -rw-rw-r-- 1 jenkins jenkins 4086 Aug 11 16:21 README.md [2021-08-11T16:24:31.241Z] -rw-rw-r-- 1 jenkins jenkins 7090 Aug 11 16:21 README.v2.md [2021-08-11T16:24:31.241Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 11 16:17 VERSION [2021-08-11T16:24:31.241Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 11 16:21 docs [2021-08-11T16:24:31.241Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 11 16:21 include [2021-08-11T16:24:31.241Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 11 16:21 scripts [2021-08-11T16:24:31.241Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 11 16:21 src [Pipeline] isUnix [Pipeline] sh [2021-08-11T16:24:31.584Z] + 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=2bf2d807499ee9959cce0906e713c0e99fbf5fcd --label arch=arm64 --label version=0.0.0 . [2021-08-11T16:24:32.183Z] Sending build context to Docker daemon 2.635MB [2021-08-11T16:24:32.183Z] Step 1/17 : ARG BASE=alpine:3.12 [2021-08-11T16:24:32.183Z] Step 2/17 : FROM ${BASE} [2021-08-11T16:24:32.183Z] ---> 0567a449c089 [2021-08-11T16:24:32.183Z] Step 3/17 : LABEL maintainer="IOTech " [2021-08-11T16:24:32.455Z] ---> Running in d2aead5a697b [2021-08-11T16:24:33.050Z] Removing intermediate container d2aead5a697b [2021-08-11T16:24:33.050Z] ---> 60ca5bd221d5 [2021-08-11T16:24:33.050Z] 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-11T16:24:33.050Z] ---> Running in 5d8e454bc748 [2021-08-11T16:24:34.486Z] --2021-08-11 16:24:34-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub [2021-08-11T16:24:34.486Z] Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.170.66.44, 54.195.244.87, 54.229.110.245 [2021-08-11T16:24:34.758Z] Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.170.66.44|:443... connected. [2021-08-11T16:24:35.033Z] HTTP request sent, awaiting response... 200 OK [2021-08-11T16:24:35.033Z] Length: 451 [application/octet-stream] [2021-08-11T16:24:35.033Z] Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-08-11T16:24:35.033Z]  [2021-08-11T16:24:35.033Z] 0K  100% 18.2M=0s [2021-08-11T16:24:35.033Z] [2021-08-11T16:24:35.033Z] 2021-08-11 16:24:34 (18.2 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] [2021-08-11T16:24:35.033Z] [2021-08-11T16:24:36.018Z] Removing intermediate container 5d8e454bc748 [2021-08-11T16:24:36.018Z] ---> fe5ac28dbaaa [2021-08-11T16:24:36.018Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-08-11T16:24:36.018Z] ---> Running in 8cfbbee5fea1 [2021-08-11T16:24:38.648Z] Removing intermediate container 8cfbbee5fea1 [2021-08-11T16:24:38.648Z] ---> 491bac0f4235 [2021-08-11T16:24:38.648Z] Step 6/17 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev hiredis-dev && mkdir -p /edgex-c-sdk/build [2021-08-11T16:24:38.648Z] ---> Running in f313cbd4555e [2021-08-11T16:24:39.629Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-08-11T16:24:40.613Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-08-11T16:24:40.885Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz [2021-08-11T16:24:41.862Z] (1/16) Installing ncurses-dev (6.2_p20200523-r0) [2021-08-11T16:24:41.862Z] (2/16) Installing libblkid (2.35.2-r0) [2021-08-11T16:24:41.862Z] (3/16) Installing blkid (2.35.2-r0) [2021-08-11T16:24:42.134Z] (4/16) Installing libcap-ng (0.7.10-r1) [2021-08-11T16:24:42.134Z] (5/16) Installing setpriv (2.35.2-r0) [2021-08-11T16:24:42.134Z] (6/16) Installing libmount (2.35.2-r0) [2021-08-11T16:24:42.404Z] (7/16) Installing libsmartcols (2.35.2-r0) [2021-08-11T16:24:42.404Z] (8/16) Installing findmnt (2.35.2-r0) [2021-08-11T16:24:42.404Z] (9/16) Installing mcookie (2.35.2-r0) [2021-08-11T16:24:42.675Z] (10/16) Installing hexdump (2.35.2-r0) [2021-08-11T16:24:42.675Z] (11/16) Installing lsblk (2.35.2-r0) [2021-08-11T16:24:42.675Z] (12/16) Installing libfdisk (2.35.2-r0) [2021-08-11T16:24:42.947Z] (13/16) Installing sfdisk (2.35.2-r0) [2021-08-11T16:24:42.947Z] (14/16) Installing cfdisk (2.35.2-r0) [2021-08-11T16:24:42.947Z] (15/16) Installing util-linux (2.35.2-r0) [2021-08-11T16:24:43.539Z] (16/16) Installing util-linux-dev (2.35.2-r0) [2021-08-11T16:24:43.539Z] Executing busybox-1.31.1-r20.trigger [2021-08-11T16:24:43.818Z] OK: 276 MiB in 98 packages [2021-08-11T16:24:45.802Z] Removing intermediate container f313cbd4555e [2021-08-11T16:24:45.802Z] ---> 030b43bbc029 [2021-08-11T16:24:45.802Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2021-08-11T16:24:46.396Z] ---> 5a527d49f4ac [2021-08-11T16:24:46.396Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2021-08-11T16:24:47.375Z] ---> 6bd0c94e77fd [2021-08-11T16:24:47.375Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2021-08-11T16:24:47.972Z] ---> 297360d5e735 [2021-08-11T16:24:47.972Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2021-08-11T16:24:48.948Z] ---> 7006585895fa [2021-08-11T16:24:48.948Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2021-08-11T16:24:49.929Z] ---> f8b5bf3793b2 [2021-08-11T16:24:49.929Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2021-08-11T16:24:50.536Z] ---> b6baa93bf275 [2021-08-11T16:24:50.536Z] Step 13/17 : WORKDIR /edgex-c-sdk [2021-08-11T16:24:50.536Z] ---> Running in eb7b2792df64 [2021-08-11T16:24:51.526Z] Removing intermediate container eb7b2792df64 [2021-08-11T16:24:51.526Z] ---> 51f129fc1453 [2021-08-11T16:24:51.526Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-08-11T16:24:51.800Z] ---> Running in 4ddcac9ebe90 [2021-08-11T16:24:52.397Z] Removing intermediate container 4ddcac9ebe90 [2021-08-11T16:24:52.397Z] ---> 722dbf6575be [2021-08-11T16:24:52.397Z] Step 15/17 : LABEL arch=arm64 [2021-08-11T16:24:52.397Z] ---> Running in 028edf2a275c [2021-08-11T16:24:52.994Z] Removing intermediate container 028edf2a275c [2021-08-11T16:24:52.994Z] ---> 71486727f5d7 [2021-08-11T16:24:52.994Z] Step 16/17 : LABEL git_sha=2bf2d807499ee9959cce0906e713c0e99fbf5fcd [2021-08-11T16:24:53.267Z] ---> Running in 4c04239be378 [2021-08-11T16:24:53.573Z] Removing intermediate container 4c04239be378 [2021-08-11T16:24:53.573Z] ---> e056f7d08d64 [2021-08-11T16:24:53.573Z] Step 17/17 : LABEL version=0.0.0 [2021-08-11T16:24:53.945Z] ---> Running in 421b78d0e2ca [2021-08-11T16:24:54.571Z] Removing intermediate container 421b78d0e2ca [2021-08-11T16:24:54.571Z] ---> ad3023e91e30 [2021-08-11T16:24:54.571Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-08-11T16:24:54.571Z] Successfully built ad3023e91e30 [2021-08-11T16:24:54.571Z] 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-11T16:24:55.066Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-11T16:24:55.342Z] [2021-08-11T16:24:55.342Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-08-11T16:24:55.732Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-11T16:24:56.021Z] arm64: Pulling from edgex-lftools-log-publisher [2021-08-11T16:24:56.022Z] 448f6bf000e3: Pulling fs layer [2021-08-11T16:24:56.022Z] f757da607395: Pulling fs layer [2021-08-11T16:24:56.022Z] 05883995daec: Pulling fs layer [2021-08-11T16:24:56.022Z] 8603b9c90790: Pulling fs layer [2021-08-11T16:24:56.022Z] 1560dd03e051: Pulling fs layer [2021-08-11T16:24:56.022Z] 27f5ce0e4adf: Pulling fs layer [2021-08-11T16:24:56.022Z] c2d8d7efcc4b: Pulling fs layer [2021-08-11T16:24:56.022Z] 1560dd03e051: Waiting [2021-08-11T16:24:56.022Z] 27f5ce0e4adf: Waiting [2021-08-11T16:24:56.022Z] 8603b9c90790: Waiting [2021-08-11T16:24:56.022Z] c2d8d7efcc4b: Waiting [2021-08-11T16:24:56.303Z] f757da607395: Verifying Checksum [2021-08-11T16:24:56.303Z] f757da607395: Download complete [2021-08-11T16:24:56.303Z] 8603b9c90790: Verifying Checksum [2021-08-11T16:24:56.303Z] 8603b9c90790: Download complete [2021-08-11T16:24:56.303Z] 1560dd03e051: Verifying Checksum [2021-08-11T16:24:56.303Z] 1560dd03e051: Download complete [2021-08-11T16:24:56.592Z] 27f5ce0e4adf: Download complete [2021-08-11T16:24:56.592Z] 05883995daec: Verifying Checksum [2021-08-11T16:24:56.592Z] 05883995daec: Download complete [2021-08-11T16:24:57.582Z] 448f6bf000e3: Verifying Checksum [2021-08-11T16:24:57.582Z] 448f6bf000e3: Download complete [2021-08-11T16:25:01.061Z] c2d8d7efcc4b: Verifying Checksum [2021-08-11T16:25:01.061Z] c2d8d7efcc4b: Download complete [2021-08-11T16:25:02.067Z] 448f6bf000e3: Pull complete [2021-08-11T16:25:02.658Z] f757da607395: Pull complete [2021-08-11T16:25:04.091Z] 05883995daec: Pull complete [2021-08-11T16:25:04.686Z] 8603b9c90790: Pull complete [2021-08-11T16:25:05.663Z] 1560dd03e051: Pull complete [2021-08-11T16:25:05.936Z] 27f5ce0e4adf: Pull complete [2021-08-11T16:25:21.028Z] c2d8d7efcc4b: Pull complete [2021-08-11T16:25:21.028Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-08-11T16:25:21.028Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-11T16:25:21.028Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-08-11T16:25:21.251Z] prd-ubuntu18.04-docker-arm64-4c-16g-355 does not seem to be running inside a container [2021-08-11T16:25:21.329Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-08-11T16:25:25.737Z] $ docker top da9c193ae2bc3a2a02c0ab91b04141ba3ae117403d122bb64bc40b021f15268b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-11T16:25:26.658Z] ---> job-cost.sh [2021-08-11T16:25:26.658Z] lf-activate-venv: SKIPPING [2021-08-11T16:25:26.658Z] INFO: No Stack... [2021-08-11T16:25:27.629Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-08-11T16:25:27.899Z] INFO: Archiving Costs [Pipeline] sh [2021-08-11T16:25:28.564Z] + cut -d, -f6 [2021-08-11T16:25:28.564Z] + cat /w/workspace/device-sdk-c/2/archives/cost.csv [Pipeline] lock [2021-08-11T16:25:28.622Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-363-2-stack-cost] [2021-08-11T16:25:28.632Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-363-2-stack-cost] did not exist. Created. [2021-08-11T16:25:28.632Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-363-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-08-11T16:25:29.334Z] /w/workspace/device-sdk-c/2@tmp/durable-e9a51897/script.sh: 1: /w/workspace/device-sdk-c/2@tmp/durable-e9a51897/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-08-11T16:25:29.990Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-08-11T16:25:30.020Z] Warning: overwriting stash ‘stack-cost’ [2021-08-11T16:25:30.504Z] Stashed 1 file(s) [Pipeline] } [2021-08-11T16:25:30.514Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-363-2-stack-cost] [Pipeline] // lock [Pipeline] } [2021-08-11T16:25:30.541Z] $ docker stop --time=1 da9c193ae2bc3a2a02c0ab91b04141ba3ae117403d122bb64bc40b021f15268b [2021-08-11T16:25:32.375Z] $ docker rm -f da9c193ae2bc3a2a02c0ab91b04141ba3ae117403d122bb64bc40b021f15268b [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-11T16:25:33.606Z] + '[' -d /w/workspace/edgexfoundry_device-sdk-c_PR-363/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-08-11T16:25:33.943Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-11T16:25:34.541Z] ---> package-listing.sh [2021-08-11T16:25:34.541Z] ++ facter osfamily [2021-08-11T16:25:34.541Z] ++ tr '[:upper:]' '[:lower:]' [2021-08-11T16:25:34.815Z] + OS_FAMILY=redhat [2021-08-11T16:25:34.815Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-363 [2021-08-11T16:25:34.815Z] + START_PACKAGES=/tmp/packages_start.txt [2021-08-11T16:25:34.815Z] + END_PACKAGES=/tmp/packages_end.txt [2021-08-11T16:25:34.815Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-08-11T16:25:34.815Z] + PACKAGES=/tmp/packages_start.txt [2021-08-11T16:25:34.815Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-363 ']' [2021-08-11T16:25:34.815Z] + PACKAGES=/tmp/packages_end.txt [2021-08-11T16:25:34.815Z] + case "${OS_FAMILY}" in [2021-08-11T16:25:34.815Z] + sort [2021-08-11T16:25:34.815Z] + rpm -qa [2021-08-11T16:25:35.404Z] + '[' -f /tmp/packages_start.txt ']' [2021-08-11T16:25:35.404Z] + '[' -f /tmp/packages_end.txt ']' [2021-08-11T16:25:35.404Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-08-11T16:25:35.404Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-363 ']' [2021-08-11T16:25:35.404Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-363/archives/ [2021-08-11T16:25:35.404Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-363/archives/ [Pipeline] echo [2021-08-11T16:25:35.420Z] 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-363/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-08-11T16:25:35.742Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-08-11T16:25:36.344Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-11T16:25:36.345Z] [2021-08-11T16:25:36.345Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-08-11T16:25:36.707Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-11T16:25:36.708Z] latest: Pulling from edgex-lftools-log-publisher [2021-08-11T16:25:36.708Z] b4d181a07f80: Pulling fs layer [2021-08-11T16:25:36.708Z] a1111a8f2ec3: Pulling fs layer [2021-08-11T16:25:36.708Z] ed53099fbce6: Pulling fs layer [2021-08-11T16:25:36.708Z] dc539afda2c1: Pulling fs layer [2021-08-11T16:25:36.708Z] 77bc0d833cb6: Pulling fs layer [2021-08-11T16:25:36.708Z] 9065ff56babe: Pulling fs layer [2021-08-11T16:25:36.708Z] d287ab97295c: Pulling fs layer [2021-08-11T16:25:36.708Z] dc539afda2c1: Waiting [2021-08-11T16:25:36.708Z] 77bc0d833cb6: Waiting [2021-08-11T16:25:36.708Z] 9065ff56babe: Waiting [2021-08-11T16:25:36.708Z] d287ab97295c: Waiting [2021-08-11T16:25:36.979Z] a1111a8f2ec3: Verifying Checksum [2021-08-11T16:25:36.979Z] a1111a8f2ec3: Download complete [2021-08-11T16:25:36.979Z] dc539afda2c1: Verifying Checksum [2021-08-11T16:25:36.979Z] dc539afda2c1: Download complete [2021-08-11T16:25:37.563Z] 77bc0d833cb6: Verifying Checksum [2021-08-11T16:25:37.563Z] 77bc0d833cb6: Download complete [2021-08-11T16:25:37.563Z] 9065ff56babe: Verifying Checksum [2021-08-11T16:25:37.563Z] 9065ff56babe: Download complete [2021-08-11T16:25:37.832Z] ed53099fbce6: Verifying Checksum [2021-08-11T16:25:37.832Z] ed53099fbce6: Download complete [2021-08-11T16:25:38.415Z] b4d181a07f80: Verifying Checksum [2021-08-11T16:25:38.415Z] b4d181a07f80: Download complete [2021-08-11T16:25:39.831Z] b4d181a07f80: Pull complete [2021-08-11T16:25:39.831Z] a1111a8f2ec3: Pull complete [2021-08-11T16:25:40.421Z] ed53099fbce6: Pull complete [2021-08-11T16:25:40.421Z] dc539afda2c1: Pull complete [2021-08-11T16:25:40.689Z] 77bc0d833cb6: Pull complete [2021-08-11T16:25:40.689Z] 9065ff56babe: Pull complete [2021-08-11T16:25:41.651Z] d287ab97295c: Verifying Checksum [2021-08-11T16:25:41.651Z] d287ab97295c: Download complete [2021-08-11T16:25:45.939Z] d287ab97295c: Pull complete [2021-08-11T16:25:45.939Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-08-11T16:25:45.939Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-11T16:25:45.939Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-08-11T16:25:46.044Z] prd-centos7-docker-4c-2g-353 does not seem to be running inside a container [2021-08-11T16:25:46.112Z] $ 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-363/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-363 -v /w/workspace/edgexfoundry_device-sdk-c_PR-363:/w/workspace/edgexfoundry_device-sdk-c_PR-363:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-363@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-363@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-08-11T16:25:48.348Z] $ docker top bcdfa6a5aedf7de51abe8bac3d77e8678e92e13e4a473977a250cf9b7137de8d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-11T16:25:48.753Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-08-11T16:25:49.068Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-08-11T16:25:49.382Z] + ls /var/log/sa-host [2021-08-11T16:25:49.382Z] + sadf -c /var/log/sa-host/sa05 [2021-08-11T16:25:49.382Z] file_magic: OK [2021-08-11T16:25:49.382Z] HZ: Using current value: 100 [2021-08-11T16:25:49.382Z] file_header: OK [2021-08-11T16:25:49.382Z] 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-11T16:25:49.382Z] Statistics: [2021-08-11T16:25:49.382Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-08-11T16:25:49.382Z] File successfully converted to sysstat format version 12.0.3 [2021-08-11T16:25:49.382Z] + sadf -c /var/log/sa-host/sa11 [2021-08-11T16:25:49.382Z] file_magic: OK [2021-08-11T16:25:49.382Z] HZ: Using current value: 100 [2021-08-11T16:25:49.382Z] file_header: OK [2021-08-11T16:25:49.382Z] 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-11T16:25:49.382Z] Statistics: [2021-08-11T16:25:49.382Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-08-11T16:25:49.382Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-11T16:25:49.563Z] provisioning config files... [2021-08-11T16:25:49.582Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-363@tmp/config120133496166534872tmp [Pipeline] { [Pipeline] echo [2021-08-11T16:25:49.606Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-11T16:25:49.919Z] ---> create-netrc.sh [Pipeline] } [2021-08-11T16:25:49.932Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-08-11T16:25:50.331Z] ---> python-tools-install.sh [Pipeline] echo [2021-08-11T16:25:50.345Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-11T16:25:50.660Z] ---> sudo-logs.sh [2021-08-11T16:25:50.660Z] Archiving 'sudo' log.. [2021-08-11T16:25:50.660Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-353.vexxhost.local: Name or service not known [2021-08-11T16:25:50.660Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-353.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-08-11T16:25:50.718Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-11T16:25:51.047Z] ---> job-cost.sh [2021-08-11T16:25:51.047Z] lf-activate-venv: SKIPPING [2021-08-11T16:25:51.047Z] DEBUG: total: 0.18000000715255737 [2021-08-11T16:25:51.047Z] INFO: Retrieving Stack Cost... [2021-08-11T16:25:52.002Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-08-11T16:25:52.268Z] INFO: Archiving Costs [Pipeline] echo [2021-08-11T16:25:52.285Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-11T16:25:52.605Z] ---> logs-deploy.sh [2021-08-11T16:25:52.605Z] lf-activate-venv: SKIPPING [2021-08-11T16:25:52.605Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-363/2 [2021-08-11T16:25:52.605Z] INFO: archiving workspace using pattern(s): [2021-08-11T16:25:53.565Z] Archives upload complete. [2021-08-11T16:25:53.565Z] INFO: archiving logs to Nexus