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 fa3f1bc6009dfda5647181c893d25c3a20ff6238 rather than 516284af67c211e29588d43b22b73a89007a7a2c Obtained Jenkinsfile from fa3f1bc6009dfda5647181c893d25c3a20ff6238 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-ssh7282972657387231773.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-ssh2558397508518992123.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-ssh3557039532878564690.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-ssh2694526140498906601.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-ssh1082477585100214124.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98bb157299c17168c94e81a7dba3d05dc38b0f72 # timeout=10 Commit message: "Docs: Add example Jenkinsfile to documentation" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-675 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-ssh8302185930171494067.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 fa3f1bc6009dfda5647181c893d25c3a20ff6238 into PR head commit 516284af67c211e29588d43b22b73a89007a7a2c Merge succeeded, producing 516284af67c211e29588d43b22b73a89007a7a2c Checking out Revision 516284af67c211e29588d43b22b73a89007a7a2c (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-ssh7553425112341245022.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 516284af67c211e29588d43b22b73a89007a7a2c # 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-ssh7478899008655605892.key > git merge fa3f1bc6009dfda5647181c893d25c3a20ff6238 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 516284af67c211e29588d43b22b73a89007a7a2c # timeout=10 Commit message: "Merge branch 'main' into patch-2" > git rev-list --no-walk 2bf2d807499ee9959cce0906e713c0e99fbf5fcd # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-08-12T03:35:38.496Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-08-12T03:35:38.596Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-08-12T03:35:38.625Z] ========================================================= [2021-08-12T03:35:38.625Z] EdgeX Global Pipelines Version Info [2021-08-12T03:35:38.625Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-08-12T03:35:39.855Z] ------------------- [2021-08-12T03:35:39.856Z] stable info: [2021-08-12T03:35:39.856Z] ------------------- [2021-08-12T03:35:39.856Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-08-12T03:35:39.856Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-08-12T03:35:39.856Z] Message: update stable to v1.0.205 [2021-08-12T03:35:40.440Z] ------------------- [2021-08-12T03:35:40.440Z] experimental info: [2021-08-12T03:35:40.440Z] ------------------- [2021-08-12T03:35:40.440Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-08-12T03:35:40.440Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-08-12T03:35:40.440Z] Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-08-12T03:35:40.619Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2021-08-12T03:35:40.642Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2021-08-12T03:35:40.670Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-08-12T03:35:40.707Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-08-12T03:35:40.744Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-08-12T03:35:40.778Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo [2021-08-12T03:35:40.823Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2021-08-12T03:35:40.843Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2021-08-12T03:35:40.863Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-08-12T03:35:40.883Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-08-12T03:35:40.902Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2021-08-12T03:35:40.922Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-08-12T03:35:40.942Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-08-12T03:35:40.962Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-08-12T03:35:40.986Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-08-12T03:35:41.008Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-08-12T03:35:41.028Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-08-12T03:35:41.049Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-08-12T03:35:41.069Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-363 [Pipeline] echo [2021-08-12T03:35:41.089Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-363 [Pipeline] echo [2021-08-12T03:35:41.110Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-363 [Pipeline] echo [2021-08-12T03:35:41.131Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 516284af67c211e29588d43b22b73a89007a7a2c [Pipeline] echo [2021-08-12T03:35:41.151Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 516284a [Pipeline] echo [2021-08-12T03:35:41.172Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-12T03:35:41.245Z] provisioning config files... [2021-08-12T03:35:41.266Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-363@tmp/config7590511650373743173tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-12T03:35:41.596Z] ---> docker-login.sh [2021-08-12T03:35:41.596Z] nexus3.edgexfoundry.org:10001 [2021-08-12T03:35:41.596Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-12T03:35:41.862Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-12T03:35:41.862Z] Configure a credential helper to remove this warning. See [2021-08-12T03:35:41.862Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-12T03:35:41.862Z] [2021-08-12T03:35:41.862Z] Login Succeeded [2021-08-12T03:35:41.862Z] nexus3.edgexfoundry.org:10002 [2021-08-12T03:35:41.862Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-12T03:35:42.131Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-12T03:35:42.131Z] Configure a credential helper to remove this warning. See [2021-08-12T03:35:42.131Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-12T03:35:42.131Z] [2021-08-12T03:35:42.131Z] Login Succeeded [2021-08-12T03:35:42.131Z] nexus3.edgexfoundry.org:10003 [2021-08-12T03:35:42.131Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-12T03:35:42.131Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-12T03:35:42.131Z] Configure a credential helper to remove this warning. See [2021-08-12T03:35:42.131Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-12T03:35:42.131Z] [2021-08-12T03:35:42.131Z] Login Succeeded [2021-08-12T03:35:42.131Z] nexus3.edgexfoundry.org:10004 [2021-08-12T03:35:42.131Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-12T03:35:42.401Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-12T03:35:42.401Z] Configure a credential helper to remove this warning. See [2021-08-12T03:35:42.401Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-12T03:35:42.401Z] [2021-08-12T03:35:42.401Z] Login Succeeded [2021-08-12T03:35:42.401Z] docker.io [2021-08-12T03:35:42.401Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-12T03:35:42.671Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-12T03:35:42.671Z] Configure a credential helper to remove this warning. See [2021-08-12T03:35:42.671Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-12T03:35:42.671Z] [2021-08-12T03:35:42.671Z] Login Succeeded [2021-08-12T03:35:42.671Z] ---> docker-login.sh ends [Pipeline] } [2021-08-12T03:35:42.683Z] 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-12T03:35:43.951Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-12T03:35:43.952Z] [2021-08-12T03:35:43.952Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-08-12T03:35:44.282Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-12T03:35:44.282Z] latest: Pulling from edgex-devops/git-semver [2021-08-12T03:35:44.282Z] 31603596830f: Pulling fs layer [2021-08-12T03:35:44.282Z] d4622e32a9a9: Pulling fs layer [2021-08-12T03:35:44.282Z] 1030fce36090: Pulling fs layer [2021-08-12T03:35:44.282Z] 6c6cb7e1b49b: Pulling fs layer [2021-08-12T03:35:44.282Z] 6c6cb7e1b49b: Waiting [2021-08-12T03:35:44.282Z] d4622e32a9a9: Download complete [2021-08-12T03:35:44.550Z] 31603596830f: Verifying Checksum [2021-08-12T03:35:44.550Z] 31603596830f: Download complete [2021-08-12T03:35:44.817Z] 6c6cb7e1b49b: Verifying Checksum [2021-08-12T03:35:44.817Z] 6c6cb7e1b49b: Download complete [2021-08-12T03:35:44.817Z] 31603596830f: Pull complete [2021-08-12T03:35:44.817Z] d4622e32a9a9: Pull complete [2021-08-12T03:35:45.084Z] 1030fce36090: Verifying Checksum [2021-08-12T03:35:45.084Z] 1030fce36090: Download complete [2021-08-12T03:35:45.670Z] 1030fce36090: Pull complete [2021-08-12T03:35:45.670Z] 6c6cb7e1b49b: Pull complete [2021-08-12T03:35:45.670Z] Digest: sha256:98b6084a185347f7b64647794a0a4774a411b925a780a33b3032b91fe10e00ab [2021-08-12T03:35:45.670Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-12T03:35:45.670Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-08-12T03:35:45.782Z] prd-centos7-docker-4c-2g-675 does not seem to be running inside a container [2021-08-12T03:35:45.841Z] $ 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-12T03:35:46.611Z] $ docker top 91e523767cb518566fb8de23c364a0a02bff01a649d0e19b6ca761331171552a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-08-12T03:35:46.739Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-12T03:35:46.739Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-12T03:35:46.868Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-12T03:35:46.869Z] $ docker exec 91e523767cb518566fb8de23c364a0a02bff01a649d0e19b6ca761331171552a ssh-agent [2021-08-12T03:35:46.988Z] SSH_AUTH_SOCK=/tmp/ssh-3WeS4wADr5Hx/agent.14 [2021-08-12T03:35:46.988Z] SSH_AGENT_PID=20 [2021-08-12T03:35:46.999Z] Running ssh-add (command line suppressed) [2021-08-12T03:35:47.097Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-363@tmp/private_key_590932008523899784.key (/w/workspace/edgexfoundry_device-sdk-c_PR-363@tmp/private_key_590932008523899784.key) [2021-08-12T03:35:47.123Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-12T03:35:47.435Z] + git tag --points-at HEAD [Pipeline] } [2021-08-12T03:35:47.475Z] $ docker exec --env ******** --env ******** 91e523767cb518566fb8de23c364a0a02bff01a649d0e19b6ca761331171552a ssh-agent -k [2021-08-12T03:35:47.570Z] unset SSH_AUTH_SOCK; [2021-08-12T03:35:47.570Z] unset SSH_AGENT_PID; [2021-08-12T03:35:47.570Z] echo Agent pid 20 killed; [2021-08-12T03:35:47.591Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-08-12T03:35:47.627Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-12T03:35:47.627Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-12T03:35:47.736Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-12T03:35:47.736Z] $ docker exec 91e523767cb518566fb8de23c364a0a02bff01a649d0e19b6ca761331171552a ssh-agent [2021-08-12T03:35:47.853Z] SSH_AUTH_SOCK=/tmp/ssh-wUOQVvQi9VUb/agent.52 [2021-08-12T03:35:47.853Z] SSH_AGENT_PID=58 [2021-08-12T03:35:47.864Z] Running ssh-add (command line suppressed) [2021-08-12T03:35:47.960Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-363@tmp/private_key_3174995302909531661.key (/w/workspace/edgexfoundry_device-sdk-c_PR-363@tmp/private_key_3174995302909531661.key) [2021-08-12T03:35:47.983Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-12T03:35:48.304Z] + git semver init [2021-08-12T03:35:48.304Z] # -> Open(): unable to determine branch for HEAD [2021-08-12T03:35:48.304Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-363/.git [2021-08-12T03:35:48.304Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-363 [2021-08-12T03:35:48.304Z] # $SEMVER_REMOTE_NAME = origin [2021-08-12T03:35:48.304Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-08-12T03:35:48.304Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-08-12T03:35:48.304Z] # $SEMVER_BRANCH = PR-363 [2021-08-12T03:35:48.304Z] # $SEMVER_TEMP = /tmp/semver-261308868 [2021-08-12T03:35:48.304Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2021-08-12T03:35:48.890Z] # '/tmp/semver-261308868' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-363/.semver' [2021-08-12T03:35:48.890Z] # -> Force: false [2021-08-12T03:35:48.890Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-363/.semver [Pipeline] } [2021-08-12T03:35:48.903Z] $ docker exec --env ******** --env ******** 91e523767cb518566fb8de23c364a0a02bff01a649d0e19b6ca761331171552a ssh-agent -k [2021-08-12T03:35:49.001Z] unset SSH_AUTH_SOCK; [2021-08-12T03:35:49.001Z] unset SSH_AGENT_PID; [2021-08-12T03:35:49.001Z] echo Agent pid 58 killed; [2021-08-12T03:35:49.019Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-08-12T03:35:49.416Z] + git semver [Pipeline] } [2021-08-12T03:35:49.436Z] $ docker stop --time=1 91e523767cb518566fb8de23c364a0a02bff01a649d0e19b6ca761331171552a [2021-08-12T03:35:50.660Z] $ docker rm -f 91e523767cb518566fb8de23c364a0a02bff01a649d0e19b6ca761331171552a [Pipeline] // withDockerContainer [Pipeline] sh [2021-08-12T03:35:51.061Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-08-12T03:35:51.388Z] Stashed 1 file(s) [Pipeline] echo [2021-08-12T03:35:51.391Z] [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-12T03:36:06.525Z] Still waiting to schedule task [2021-08-12T03:36:06.526Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-675’ [2021-08-12T03:36:06.527Z] Still waiting to schedule task [2021-08-12T03:36:06.527Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-105’ is offline [2021-08-12T03:38:08.634Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-676 in /w/workspace/edgexfoundry_device-sdk-c_PR-363 [Pipeline] { [Pipeline] ws [2021-08-12T03:38:08.655Z] Running in /w/workspace/device-sdk-c/3 [Pipeline] { [Pipeline] checkout [2021-08-12T03:38:08.912Z] Selected Git installation does not exist. Using Default [2021-08-12T03:38:08.913Z] The recommended git tool is: NONE [2021-08-12T03:38:14.930Z] using credential edgex-jenkins-ssh [2021-08-12T03:38:14.951Z] Cloning the remote Git repository [2021-08-12T03:38:15.004Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-08-12T03:38:15.135Z] > git init /w/workspace/device-sdk-c/3 # timeout=10 [2021-08-12T03:38:15.241Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-08-12T03:38:15.241Z] > git --version # timeout=10 [2021-08-12T03:38:15.256Z] > git --version # 'git version 2.17.1' [2021-08-12T03:38:15.258Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-12T03:38:15.333Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-12T03:38:17.179Z] Merging remotes/origin/main commit fa3f1bc6009dfda5647181c893d25c3a20ff6238 into PR head commit 516284af67c211e29588d43b22b73a89007a7a2c [2021-08-12T03:38:17.393Z] Merge succeeded, producing 516284af67c211e29588d43b22b73a89007a7a2c [2021-08-12T03:38:17.394Z] Checking out Revision 516284af67c211e29588d43b22b73a89007a7a2c (PR-363) [2021-08-12T03:38:16.474Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-08-12T03:38:16.493Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-12T03:38:16.526Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-08-12T03:38:16.556Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-08-12T03:38:16.557Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-12T03:38:16.570Z] > 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-12T03:38:17.196Z] > git config core.sparsecheckout # timeout=10 [2021-08-12T03:38:17.216Z] > git checkout -f 516284af67c211e29588d43b22b73a89007a7a2c # timeout=10 [2021-08-12T03:38:17.317Z] > git remote # timeout=10 [2021-08-12T03:38:17.336Z] > git config --get remote.origin.url # timeout=10 [2021-08-12T03:38:17.347Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-12T03:38:17.360Z] > git merge fa3f1bc6009dfda5647181c893d25c3a20ff6238 # timeout=10 [2021-08-12T03:38:17.381Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-08-12T03:38:17.401Z] > git config core.sparsecheckout # timeout=10 [2021-08-12T03:38:17.412Z] > git checkout -f 516284af67c211e29588d43b22b73a89007a7a2c # timeout=10 [2021-08-12T03:38:21.642Z] Commit message: "Merge branch 'main' into patch-2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-12T03:38:22.138Z] provisioning config files... [2021-08-12T03:38:22.167Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/3@tmp/config7653048801518990443tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-12T03:38:22.725Z] ---> docker-login.sh [2021-08-12T03:38:22.726Z] nexus3.edgexfoundry.org:10001 [2021-08-12T03:38:23.713Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-12T03:38:24.311Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-12T03:38:24.311Z] Configure a credential helper to remove this warning. See [2021-08-12T03:38:24.311Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-12T03:38:24.311Z] [2021-08-12T03:38:24.311Z] Login Succeeded [2021-08-12T03:38:24.311Z] nexus3.edgexfoundry.org:10002 [2021-08-12T03:38:24.590Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-12T03:38:24.590Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-12T03:38:24.590Z] Configure a credential helper to remove this warning. See [2021-08-12T03:38:24.590Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-12T03:38:24.590Z] [2021-08-12T03:38:24.590Z] Login Succeeded [2021-08-12T03:38:24.590Z] nexus3.edgexfoundry.org:10003 [2021-08-12T03:38:24.939Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-12T03:38:25.221Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-12T03:38:25.221Z] Configure a credential helper to remove this warning. See [2021-08-12T03:38:25.221Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-12T03:38:25.221Z] [2021-08-12T03:38:25.221Z] Login Succeeded [2021-08-12T03:38:25.221Z] nexus3.edgexfoundry.org:10004 [2021-08-12T03:38:25.517Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-12T03:38:25.792Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-12T03:38:25.792Z] Configure a credential helper to remove this warning. See [2021-08-12T03:38:25.792Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-12T03:38:25.792Z] [2021-08-12T03:38:25.792Z] Login Succeeded [2021-08-12T03:38:25.792Z] docker.io [2021-08-12T03:38:26.069Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-12T03:38:26.343Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-12T03:38:26.343Z] Configure a credential helper to remove this warning. See [2021-08-12T03:38:26.343Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-12T03:38:26.343Z] [2021-08-12T03:38:26.343Z] Login Succeeded [2021-08-12T03:38:26.343Z] ---> docker-login.sh ends [Pipeline] } [2021-08-12T03:38:26.421Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-08-12T03:38:26.899Z] ========================================================= [2021-08-12T03:38:26.899Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2021-08-12T03:38:26.899Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-08-12T03:38:27.253Z] + 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-12T03:38:27.858Z] Sending build context to Docker daemon 2.654MB [2021-08-12T03:38:27.858Z] Step 1/25 : ARG BASE=alpine:3.12 [2021-08-12T03:38:27.858Z] Step 2/25 : FROM ${BASE} as builder [2021-08-12T03:38:28.134Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2021-08-12T03:38:28.134Z] d2f70382dc9a: Pulling fs layer [2021-08-12T03:38:28.134Z] b08cc2eccb4b: Pulling fs layer [2021-08-12T03:38:28.134Z] 7b69db201801: Pulling fs layer [2021-08-12T03:38:28.134Z] b08cc2eccb4b: Download complete [2021-08-12T03:38:28.134Z] d2f70382dc9a: Verifying Checksum [2021-08-12T03:38:28.134Z] d2f70382dc9a: Download complete [2021-08-12T03:38:28.740Z] d2f70382dc9a: Pull complete [2021-08-12T03:38:29.341Z] b08cc2eccb4b: Pull complete [2021-08-12T03:38:30.810Z] 7b69db201801: Verifying Checksum [2021-08-12T03:38:30.810Z] 7b69db201801: Download complete [2021-08-12T03:38:37.554Z] 7b69db201801: Pull complete [2021-08-12T03:38:37.554Z] Digest: sha256:6402f0ff92f22f5db569dc2a94aef5717e50795d64082fb226716824a8b8ffba [2021-08-12T03:38:37.554Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2021-08-12T03:38:37.554Z] ---> 759262b18b23 [2021-08-12T03:38:37.554Z] 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-12T03:38:37.727Z] Running on prd-centos7-docker-4c-2g-677 in /w/workspace/edgexfoundry_device-sdk-c_PR-363 [Pipeline] { [Pipeline] ws [2021-08-12T03:38:37.742Z] Running in /w/workspace/device-sdk-c/3 [Pipeline] { [Pipeline] checkout [2021-08-12T03:38:37.851Z] Selected Git installation does not exist. Using Default [2021-08-12T03:38:37.851Z] The recommended git tool is: NONE [2021-08-12T03:38:39.553Z] ---> Running in 3212d9f2406d [2021-08-12T03:38:40.535Z] Connecting to iotech.jfrog.io (54.195.244.87:443) [2021-08-12T03:38:40.597Z] using credential edgex-jenkins-ssh [2021-08-12T03:38:40.628Z] Cloning the remote Git repository [2021-08-12T03:38:41.129Z] saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-08-12T03:38:41.130Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-08-12T03:38:41.130Z] '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [2021-08-12T03:38:40.865Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-08-12T03:38:40.937Z] > git init /w/workspace/device-sdk-c/3 # timeout=10 [2021-08-12T03:38:40.970Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-08-12T03:38:40.970Z] > git --version # timeout=10 [2021-08-12T03:38:40.977Z] > git --version # 'git version 2.24.4' [2021-08-12T03:38:40.978Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-12T03:38:41.012Z] [INFO] Currently running in a labeled security context [2021-08-12T03:38:41.012Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-08-12T03:38:41.012Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/3@tmp/jenkins-gitclient-ssh8578726014314249591.key [2021-08-12T03:38:41.038Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-12T03:38:41.725Z] Removing intermediate container 3212d9f2406d [2021-08-12T03:38:41.726Z] ---> 5d59223aaa83 [2021-08-12T03:38:41.726Z] Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-08-12T03:38:41.999Z] Merging remotes/origin/main commit fa3f1bc6009dfda5647181c893d25c3a20ff6238 into PR head commit 516284af67c211e29588d43b22b73a89007a7a2c [2021-08-12T03:38:42.004Z] ---> Running in f832ed4abdac [2021-08-12T03:38:42.102Z] Merge succeeded, producing 516284af67c211e29588d43b22b73a89007a7a2c [2021-08-12T03:38:42.103Z] Checking out Revision 516284af67c211e29588d43b22b73a89007a7a2c (PR-363) [2021-08-12T03:38:41.653Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-08-12T03:38:41.664Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-12T03:38:41.674Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-08-12T03:38:41.688Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-08-12T03:38:41.688Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-12T03:38:41.689Z] [INFO] Currently running in a labeled security context [2021-08-12T03:38:41.689Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-08-12T03:38:41.689Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/3@tmp/jenkins-gitclient-ssh1602282758488902540.key [2021-08-12T03:38:41.701Z] > 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-12T03:38:42.138Z] > git config core.sparsecheckout # timeout=10 [2021-08-12T03:38:42.146Z] > git checkout -f 516284af67c211e29588d43b22b73a89007a7a2c # timeout=10 [2021-08-12T03:38:42.191Z] > git remote # timeout=10 [2021-08-12T03:38:42.196Z] > git config --get remote.origin.url # timeout=10 [2021-08-12T03:38:42.200Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-12T03:38:42.201Z] [INFO] Currently running in a labeled security context [2021-08-12T03:38:42.201Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-08-12T03:38:42.201Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/3@tmp/jenkins-gitclient-ssh852604579146018713.key [2021-08-12T03:38:42.205Z] > git merge fa3f1bc6009dfda5647181c893d25c3a20ff6238 # timeout=10 [2021-08-12T03:38:42.216Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-08-12T03:38:42.227Z] > git config core.sparsecheckout # timeout=10 [2021-08-12T03:38:42.238Z] > git checkout -f 516284af67c211e29588d43b22b73a89007a7a2c # timeout=10 [2021-08-12T03:38:44.654Z] Removing intermediate container f832ed4abdac [2021-08-12T03:38:44.654Z] ---> 6ccfd03788be [2021-08-12T03:38:44.654Z] 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-12T03:38:44.654Z] ---> Running in 4025c1ba03f5 [2021-08-12T03:38:45.631Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-08-12T03:38:45.991Z] Commit message: "Merge branch 'main' into patch-2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-12T03:38:46.323Z] provisioning config files... [2021-08-12T03:38:46.343Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/3@tmp/config3483110589176008929tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-12T03:38:46.610Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-08-12T03:38:46.779Z] ---> docker-login.sh [2021-08-12T03:38:46.779Z] nexus3.edgexfoundry.org:10001 [2021-08-12T03:38:46.779Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-12T03:38:46.779Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-12T03:38:46.779Z] Configure a credential helper to remove this warning. See [2021-08-12T03:38:46.779Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-12T03:38:46.779Z] [2021-08-12T03:38:46.779Z] Login Succeeded [2021-08-12T03:38:46.779Z] nexus3.edgexfoundry.org:10002 [2021-08-12T03:38:46.888Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz [2021-08-12T03:38:47.047Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-12T03:38:47.047Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-12T03:38:47.047Z] Configure a credential helper to remove this warning. See [2021-08-12T03:38:47.047Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-12T03:38:47.047Z] [2021-08-12T03:38:47.047Z] Login Succeeded [2021-08-12T03:38:47.047Z] nexus3.edgexfoundry.org:10003 [2021-08-12T03:38:47.047Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-12T03:38:47.047Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-12T03:38:47.047Z] Configure a credential helper to remove this warning. See [2021-08-12T03:38:47.047Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-12T03:38:47.047Z] [2021-08-12T03:38:47.047Z] Login Succeeded [2021-08-12T03:38:47.047Z] nexus3.edgexfoundry.org:10004 [2021-08-12T03:38:47.314Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-12T03:38:47.314Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-12T03:38:47.314Z] Configure a credential helper to remove this warning. See [2021-08-12T03:38:47.314Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-12T03:38:47.314Z] [2021-08-12T03:38:47.314Z] Login Succeeded [2021-08-12T03:38:47.314Z] docker.io [2021-08-12T03:38:47.314Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-12T03:38:47.478Z] (1/22) Installing hiredis (0.14.1-r0) [2021-08-12T03:38:47.478Z] (2/22) Installing hiredis-dev (0.14.1-r0) [2021-08-12T03:38:47.580Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-12T03:38:47.580Z] Configure a credential helper to remove this warning. See [2021-08-12T03:38:47.580Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-12T03:38:47.580Z] [2021-08-12T03:38:47.580Z] Login Succeeded [2021-08-12T03:38:47.750Z] (3/22) Installing ncurses-dev (6.2_p20200523-r0) [2021-08-12T03:38:47.750Z] (4/22) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-08-12T03:38:47.852Z] ---> docker-login.sh ends [Pipeline] } [2021-08-12T03:38:47.903Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-08-12T03:38:48.086Z] ========================================================= [2021-08-12T03:38:48.086Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2021-08-12T03:38:48.086Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-08-12T03:38:48.411Z] + 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-12T03:38:48.411Z] Sending build context to Docker daemon 2.655MB [2021-08-12T03:38:48.411Z] Step 1/25 : ARG BASE=alpine:3.12 [2021-08-12T03:38:48.411Z] Step 2/25 : FROM ${BASE} as builder [2021-08-12T03:38:48.411Z] latest: Pulling from edgex-devops/edgex-gcc-base [2021-08-12T03:38:48.411Z] 339de151aab4: Pulling fs layer [2021-08-12T03:38:48.411Z] 3691962f683c: Pulling fs layer [2021-08-12T03:38:48.411Z] e1147bf81a45: Pulling fs layer [2021-08-12T03:38:48.683Z] 3691962f683c: Verifying Checksum [2021-08-12T03:38:48.683Z] 3691962f683c: Download complete [2021-08-12T03:38:48.683Z] 339de151aab4: Verifying Checksum [2021-08-12T03:38:48.683Z] 339de151aab4: Download complete [2021-08-12T03:38:48.956Z] 339de151aab4: Pull complete [2021-08-12T03:38:48.956Z] 3691962f683c: Pull complete [2021-08-12T03:38:49.175Z] (5/22) Installing libblkid (2.35.2-r0) [2021-08-12T03:38:49.463Z] (6/22) Installing blkid (2.35.2-r0) [2021-08-12T03:38:49.463Z] (7/22) Installing libcap-ng (0.7.10-r1) [2021-08-12T03:38:49.734Z] (8/22) Installing setpriv (2.35.2-r0) [2021-08-12T03:38:49.734Z] (9/22) Installing libmount (2.35.2-r0) [2021-08-12T03:38:50.005Z] (10/22) Installing libsmartcols (2.35.2-r0) [2021-08-12T03:38:50.005Z] (11/22) Installing findmnt (2.35.2-r0) [2021-08-12T03:38:50.005Z] (12/22) Installing mcookie (2.35.2-r0) [2021-08-12T03:38:50.276Z] (13/22) Installing hexdump (2.35.2-r0) [2021-08-12T03:38:50.276Z] (14/22) Installing lsblk (2.35.2-r0) [2021-08-12T03:38:50.276Z] (15/22) Installing libuuid (2.35.2-r0) [2021-08-12T03:38:50.547Z] (16/22) Installing libfdisk (2.35.2-r0) [2021-08-12T03:38:50.819Z] (17/22) Installing sfdisk (2.35.2-r0) [2021-08-12T03:38:50.819Z] (18/22) Installing cfdisk (2.35.2-r0) [2021-08-12T03:38:50.819Z] (19/22) Installing util-linux (2.35.2-r0) [2021-08-12T03:38:51.418Z] (20/22) Installing util-linux-dev (2.35.2-r0) [2021-08-12T03:38:51.525Z] e1147bf81a45: Verifying Checksum [2021-08-12T03:38:51.525Z] e1147bf81a45: Download complete [2021-08-12T03:38:52.014Z] (21/22) Installing libidn2 (2.3.0-r0) [2021-08-12T03:38:52.014Z] (22/22) Installing wget (1.20.3-r1) [2021-08-12T03:38:52.290Z] Executing busybox-1.31.1-r20.trigger [2021-08-12T03:38:52.290Z] OK: 276 MiB in 97 packages [2021-08-12T03:38:54.264Z] Removing intermediate container 4025c1ba03f5 [2021-08-12T03:38:54.264Z] ---> 40f27ce450fa [2021-08-12T03:38:54.264Z] Step 6/25 : ENV CBOR_VERSION=0.5.0 [2021-08-12T03:38:54.264Z] ---> Running in afd16c0e16db [2021-08-12T03:38:54.345Z] e1147bf81a45: Pull complete [2021-08-12T03:38:54.345Z] Digest: sha256:32c567f17180c4abff101a0d389449dec7f3f623a221c8a8ae98dcac9b0d9fee [2021-08-12T03:38:54.345Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2021-08-12T03:38:54.345Z] ---> ac6a0feb3254 [2021-08-12T03:38:54.345Z] 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-12T03:38:54.543Z] Removing intermediate container afd16c0e16db [2021-08-12T03:38:54.543Z] ---> b4173783675f [2021-08-12T03:38:54.543Z] 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-12T03:38:54.543Z] ---> Running in 4e2506102684 [2021-08-12T03:38:55.309Z] ---> Running in a07395fc4840 [2021-08-12T03:38:55.309Z] Connecting to iotech.jfrog.io (54.229.110.245:443) [2021-08-12T03:38:55.891Z] saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-08-12T03:38:55.891Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-08-12T03:38:55.891Z] '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [2021-08-12T03:38:55.983Z] --2021-08-12 03:38:55-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-08-12T03:38:55.983Z] Resolving github.com (github.com)... 140.82.114.4 [2021-08-12T03:38:55.983Z] Connecting to github.com (github.com)|140.82.114.4|:443... connected. [2021-08-12T03:38:55.983Z] HTTP request sent, awaiting response... 302 Found [2021-08-12T03:38:55.983Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-08-12T03:38:55.983Z] --2021-08-12 03:38:55-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-08-12T03:38:55.983Z] Resolving codeload.github.com (codeload.github.com)... 140.82.114.10 [2021-08-12T03:38:55.983Z] Connecting to codeload.github.com (codeload.github.com)|140.82.114.10|:443... connected. [2021-08-12T03:38:55.983Z] HTTP request sent, awaiting response... 200 OK [2021-08-12T03:38:55.983Z] Length: unspecified [application/x-gzip] [2021-08-12T03:38:55.983Z] Saving to: 'STDOUT' [2021-08-12T03:38:55.983Z] [2021-08-12T03:38:56.159Z] Removing intermediate container a07395fc4840 [2021-08-12T03:38:56.159Z] ---> b8f3c86f3873 [2021-08-12T03:38:56.159Z] Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-08-12T03:38:56.159Z] ---> Running in 95d3bb245c09 [2021-08-12T03:38:56.256Z] 0K .......... .......... .......... .......... .......... 1.39M [2021-08-12T03:38:56.256Z] 50K .......... .......... .......... .......... .......... 2.76M [2021-08-12T03:38:56.256Z] 100K .......... .......... .......... .......... .......... 12.9M [2021-08-12T03:38:56.256Z] 150K .......... .......... .......... .......... .......... 3.32M [2021-08-12T03:38:56.256Z] 200K .......... .......... .......... .......... .......... 15.1M [2021-08-12T03:38:56.256Z] 250K .......... .......... .......... .......... .......... 3.40M [2021-08-12T03:38:56.256Z] 300K .......... .......... .......... .......... .......... 4.90M [2021-08-12T03:38:56.256Z] 350K .......... .......... .......... .......... .......... 5.63M [2021-08-12T03:38:56.256Z] 400K .......... .......... .......... .......... .......... 4.37M [2021-08-12T03:38:56.256Z] 450K .......... .......... .......... .......... .......... 4.35M [2021-08-12T03:38:56.256Z] 500K .......... .......... .......... .......... .......... 6.75M [2021-08-12T03:38:56.256Z] 550K .......... .......... .......... .......... .......... 2.78M [2021-08-12T03:38:56.256Z] 600K .......... .......... .......... .......... .......... 813K [2021-08-12T03:38:56.256Z] 650K .......... .......... .......... .......... .......... 2.28M [2021-08-12T03:38:56.256Z] 700K ..    2.99M=0.2s [2021-08-12T03:38:56.256Z] [2021-08-12T03:38:56.256Z] 2021-08-12 03:38:56 (2.88 MB/s) - written to stdout [719348] [2021-08-12T03:38:56.256Z] [2021-08-12T03:38:56.425Z] Removing intermediate container 95d3bb245c09 [2021-08-12T03:38:56.425Z] ---> 829135595b17 [2021-08-12T03:38:56.425Z] 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-12T03:38:56.529Z] -- The C compiler identification is GNU 9.3.0 [2021-08-12T03:38:56.689Z] ---> Running in 3910e1b91474 [2021-08-12T03:38:56.802Z] -- The CXX compiler identification is GNU 9.3.0 [2021-08-12T03:38:56.802Z] -- Check for working C compiler: /usr/bin/cc [2021-08-12T03:38:56.954Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-08-12T03:38:57.076Z] -- Check for working C compiler: /usr/bin/cc - works [2021-08-12T03:38:57.076Z] -- Detecting C compiler ABI info [2021-08-12T03:38:57.348Z] -- Detecting C compiler ABI info - done [2021-08-12T03:38:57.536Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-08-12T03:38:57.622Z] -- Detecting C compile features [2021-08-12T03:38:57.622Z] -- Detecting C compile features - done [2021-08-12T03:38:57.622Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-08-12T03:38:57.803Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz [2021-08-12T03:38:57.898Z] -- Check for working CXX compiler: /usr/bin/c++ - works [2021-08-12T03:38:57.898Z] -- Detecting CXX compiler ABI info [2021-08-12T03:38:58.172Z] -- Detecting CXX compiler ABI info - done [2021-08-12T03:38:58.172Z] -- Detecting CXX compile features [2021-08-12T03:38:58.172Z] -- Detecting CXX compile features - done [2021-08-12T03:38:58.172Z] -- Looking for include file endian.h [2021-08-12T03:38:58.385Z] (1/22) Installing hiredis (0.14.1-r0) [2021-08-12T03:38:58.385Z] (2/22) Installing hiredis-dev (0.14.1-r0) [2021-08-12T03:38:58.385Z] (3/22) Installing ncurses-dev (6.2_p20200523-r0) [2021-08-12T03:38:58.385Z] (4/22) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-08-12T03:38:58.444Z] -- Looking for include file endian.h - found [2021-08-12T03:38:58.444Z] -- Check if the system is big endian [2021-08-12T03:38:58.444Z] -- Searching 16 bit integer [2021-08-12T03:38:58.444Z] -- Looking for sys/types.h [2021-08-12T03:38:58.718Z] -- Looking for sys/types.h - found [2021-08-12T03:38:58.718Z] -- Looking for stdint.h [2021-08-12T03:38:58.991Z] -- Looking for stdint.h - found [2021-08-12T03:38:58.991Z] -- Looking for stddef.h [2021-08-12T03:38:59.266Z] -- Looking for stddef.h - found [2021-08-12T03:38:59.266Z] -- Check size of unsigned short [2021-08-12T03:38:59.540Z] -- Check size of unsigned short - done [2021-08-12T03:38:59.540Z] -- Searching 16 bit integer - Using unsigned short [2021-08-12T03:38:59.795Z] (5/22) Installing libblkid (2.35.2-r0) [2021-08-12T03:38:59.815Z] -- Check if the system is big endian - little endian [2021-08-12T03:38:59.815Z] -- Check size of size_t [2021-08-12T03:39:00.060Z] (6/22) Installing blkid (2.35.2-r0) [2021-08-12T03:39:00.060Z] (7/22) Installing libcap-ng (0.7.10-r1) [2021-08-12T03:39:00.060Z] (8/22) Installing setpriv (2.35.2-r0) [2021-08-12T03:39:00.088Z] -- Check size of size_t - done [2021-08-12T03:39:00.088Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-08-12T03:39:00.088Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-08-12T03:39:00.088Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-08-12T03:39:00.088Z] CMake did not find one. [2021-08-12T03:39:00.088Z] [2021-08-12T03:39:00.088Z] Could not find a package configuration file provided by "cJSON" with any of [2021-08-12T03:39:00.088Z] the following names: [2021-08-12T03:39:00.088Z] [2021-08-12T03:39:00.088Z] cJSONConfig.cmake [2021-08-12T03:39:00.088Z] cjson-config.cmake [2021-08-12T03:39:00.088Z] [2021-08-12T03:39:00.088Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-08-12T03:39:00.088Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-08-12T03:39:00.088Z] provides a separate development package or SDK, be sure it has been [2021-08-12T03:39:00.088Z] installed. [2021-08-12T03:39:00.088Z] [2021-08-12T03:39:00.088Z] [2021-08-12T03:39:00.088Z] -- Configuring done [2021-08-12T03:39:00.327Z] (9/22) Installing libmount (2.35.2-r0) [2021-08-12T03:39:00.327Z] (10/22) Installing libsmartcols (2.35.2-r0) [2021-08-12T03:39:00.363Z] -- Generating done [2021-08-12T03:39:00.363Z] -- Build files have been written to: /tmp/cbor [2021-08-12T03:39:00.363Z] Scanning dependencies of target cbor_shared [2021-08-12T03:39:00.363Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-08-12T03:39:00.593Z] (11/22) Installing findmnt (2.35.2-r0) [2021-08-12T03:39:00.593Z] (12/22) Installing mcookie (2.35.2-r0) [2021-08-12T03:39:00.593Z] (13/22) Installing hexdump (2.35.2-r0) [2021-08-12T03:39:00.859Z] (14/22) Installing lsblk (2.35.2-r0) [2021-08-12T03:39:00.859Z] (15/22) Installing libuuid (2.35.2-r0) [2021-08-12T03:39:00.859Z] (16/22) Installing libfdisk (2.35.2-r0) [2021-08-12T03:39:01.129Z] (17/22) Installing sfdisk (2.35.2-r0) [2021-08-12T03:39:01.129Z] (18/22) Installing cfdisk (2.35.2-r0) [2021-08-12T03:39:01.129Z] (19/22) Installing util-linux (2.35.2-r0) [2021-08-12T03:39:01.344Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-08-12T03:39:01.400Z] (20/22) Installing util-linux-dev (2.35.2-r0) [2021-08-12T03:39:01.937Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-08-12T03:39:01.937Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-08-12T03:39:01.982Z] (21/22) Installing libidn2 (2.3.0-r0) [2021-08-12T03:39:02.248Z] (22/22) Installing wget (1.20.3-r1) [2021-08-12T03:39:02.248Z] Executing busybox-1.31.1-r20.trigger [2021-08-12T03:39:02.248Z] OK: 295 MiB in 97 packages [2021-08-12T03:39:02.531Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-08-12T03:39:02.803Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-08-12T03:39:02.837Z] Removing intermediate container 3910e1b91474 [2021-08-12T03:39:02.838Z] ---> 5328f4c199ff [2021-08-12T03:39:02.838Z] Step 6/25 : ENV CBOR_VERSION=0.5.0 [2021-08-12T03:39:02.838Z] ---> Running in a09dc67ccd67 [2021-08-12T03:39:02.838Z] Removing intermediate container a09dc67ccd67 [2021-08-12T03:39:02.838Z] ---> b6c3050b8f7b [2021-08-12T03:39:02.838Z] 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-12T03:39:02.838Z] ---> Running in ab86f75ab0d2 [2021-08-12T03:39:03.080Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-08-12T03:39:03.080Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-08-12T03:39:03.103Z] --2021-08-12 03:39:02-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-08-12T03:39:03.103Z] Resolving github.com (github.com)... 140.82.114.4 [2021-08-12T03:39:03.103Z] Connecting to github.com (github.com)|140.82.114.4|:443... connected. [2021-08-12T03:39:03.103Z] HTTP request sent, awaiting response... 302 Found [2021-08-12T03:39:03.103Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-08-12T03:39:03.103Z] --2021-08-12 03:39:03-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-08-12T03:39:03.103Z] Resolving codeload.github.com (codeload.github.com)... 140.82.114.10 [2021-08-12T03:39:03.103Z] Connecting to codeload.github.com (codeload.github.com)|140.82.114.10|:443... connected. [2021-08-12T03:39:03.354Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-08-12T03:39:03.369Z] HTTP request sent, awaiting response... 200 OK [2021-08-12T03:39:03.369Z] Length: unspecified [application/x-gzip] [2021-08-12T03:39:03.369Z] Saving to: 'STDOUT' [2021-08-12T03:39:03.369Z]  [2021-08-12T03:39:03.369Z] 0K .......... .......... .......... .......... .......... 1.15M [2021-08-12T03:39:03.369Z] 50K .......... .......... .......... .......... .......... 2.34M [2021-08-12T03:39:03.369Z] 100K .......... .......... .......... .......... .......... 41.5M [2021-08-12T03:39:03.369Z] 150K .......... .......... .......... .......... .......... 2.46M [2021-08-12T03:39:03.369Z] 200K .......... .......... .......... .......... .......... 20.3M [2021-08-12T03:39:03.369Z] 250K .......... .......... .......... .......... .......... 7.67M [2021-08-12T03:39:03.369Z] 300K .......... .......... .......... .......... .......... 3.71M [2021-08-12T03:39:03.369Z] 350K .......... .......... .......... .......... .......... 47.5M [2021-08-12T03:39:03.369Z] 400K .......... .......... .......... .......... .......... 22.1M [2021-08-12T03:39:03.369Z] 450K .......... .......... .......... .......... .......... 4.89M [2021-08-12T03:39:03.369Z] 500K .......... .......... .......... .......... .......... 34.0M [2021-08-12T03:39:03.369Z] 550K .......... .......... .......... .......... .......... 6.31M [2021-08-12T03:39:03.369Z] 600K .......... .......... .......... .......... .......... 5.96M [2021-08-12T03:39:03.369Z] 650K .......... .......... .......... .......... .......... 11.8M [2021-08-12T03:39:03.369Z] 700K .. 43.7M=0.1s [2021-08-12T03:39:03.369Z] [2021-08-12T03:39:03.369Z] 2021-08-12 03:39:03 (4.87 MB/s) - written to stdout [719348] [2021-08-12T03:39:03.369Z] [2021-08-12T03:39:03.369Z] -- The C compiler identification is GNU 9.3.0 [2021-08-12T03:39:03.626Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-08-12T03:39:03.633Z] -- The CXX compiler identification is GNU 9.3.0 [2021-08-12T03:39:03.633Z] -- Check for working C compiler: /usr/bin/cc [2021-08-12T03:39:03.633Z] -- Check for working C compiler: /usr/bin/cc - works [2021-08-12T03:39:03.633Z] -- Detecting C compiler ABI info [2021-08-12T03:39:03.633Z] -- Detecting C compiler ABI info - done [2021-08-12T03:39:03.633Z] -- Detecting C compile features [2021-08-12T03:39:03.633Z] -- Detecting C compile features - done [2021-08-12T03:39:03.633Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-08-12T03:39:03.633Z] -- Check for working CXX compiler: /usr/bin/c++ - works [2021-08-12T03:39:03.633Z] -- Detecting CXX compiler ABI info [2021-08-12T03:39:03.907Z] -- Detecting CXX compiler ABI info - done [2021-08-12T03:39:03.907Z] -- Detecting CXX compile features [2021-08-12T03:39:03.907Z] -- Detecting CXX compile features - done [2021-08-12T03:39:03.907Z] -- Looking for include file endian.h [2021-08-12T03:39:03.907Z] -- Looking for include file endian.h - found [2021-08-12T03:39:03.907Z] -- Check if the system is big endian [2021-08-12T03:39:03.907Z] -- Searching 16 bit integer [2021-08-12T03:39:03.907Z] -- Looking for sys/types.h [2021-08-12T03:39:03.907Z] -- Looking for sys/types.h - found [2021-08-12T03:39:03.907Z] -- Looking for stdint.h [2021-08-12T03:39:04.180Z] -- Looking for stdint.h - found [2021-08-12T03:39:04.180Z] -- Looking for stddef.h [2021-08-12T03:39:04.180Z] -- Looking for stddef.h - found [2021-08-12T03:39:04.180Z] -- Check size of unsigned short [2021-08-12T03:39:04.180Z] -- Check size of unsigned short - done [2021-08-12T03:39:04.180Z] -- Searching 16 bit integer - Using unsigned short [2021-08-12T03:39:04.180Z] -- Check if the system is big endian - little endian [2021-08-12T03:39:04.180Z] -- Check size of size_t [2021-08-12T03:39:04.221Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-08-12T03:39:04.448Z] -- Check size of size_t - done [2021-08-12T03:39:04.448Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-08-12T03:39:04.448Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-08-12T03:39:04.448Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-08-12T03:39:04.448Z] CMake did not find one. [2021-08-12T03:39:04.448Z] [2021-08-12T03:39:04.448Z] Could not find a package configuration file provided by "cJSON" with any of [2021-08-12T03:39:04.448Z] the following names: [2021-08-12T03:39:04.448Z] [2021-08-12T03:39:04.448Z] cJSONConfig.cmake [2021-08-12T03:39:04.448Z] cjson-config.cmake [2021-08-12T03:39:04.448Z] [2021-08-12T03:39:04.448Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-08-12T03:39:04.448Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-08-12T03:39:04.448Z] provides a separate development package or SDK, be sure it has been [2021-08-12T03:39:04.448Z] installed. [2021-08-12T03:39:04.448Z] [2021-08-12T03:39:04.448Z] [2021-08-12T03:39:04.448Z] -- Configuring done [2021-08-12T03:39:04.448Z] -- Generating done [2021-08-12T03:39:04.448Z] -- Build files have been written to: /tmp/cbor [2021-08-12T03:39:04.448Z] Scanning dependencies of target cbor_shared [2021-08-12T03:39:04.448Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-08-12T03:39:04.448Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-08-12T03:39:04.496Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-08-12T03:39:04.719Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-08-12T03:39:04.719Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-08-12T03:39:04.990Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-08-12T03:39:04.990Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-08-12T03:39:04.990Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-08-12T03:39:04.990Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-08-12T03:39:04.990Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-08-12T03:39:04.990Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-08-12T03:39:05.090Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-08-12T03:39:05.260Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-08-12T03:39:05.260Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-08-12T03:39:05.260Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-08-12T03:39:05.362Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-08-12T03:39:05.525Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-08-12T03:39:05.526Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-08-12T03:39:05.526Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-08-12T03:39:05.526Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-08-12T03:39:05.634Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-08-12T03:39:05.634Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-08-12T03:39:05.798Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-08-12T03:39:05.798Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-08-12T03:39:05.798Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-08-12T03:39:05.798Z] [ 40%] Linking C shared library libcbor.so [2021-08-12T03:39:05.798Z] [ 40%] Built target cbor_shared [2021-08-12T03:39:05.798Z] Scanning dependencies of target cbor [2021-08-12T03:39:05.798Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-08-12T03:39:05.906Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-08-12T03:39:06.065Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-08-12T03:39:06.065Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-08-12T03:39:06.065Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-08-12T03:39:06.179Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-08-12T03:39:06.329Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-08-12T03:39:06.451Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-08-12T03:39:06.598Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-08-12T03:39:06.598Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-08-12T03:39:06.598Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-08-12T03:39:06.598Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-08-12T03:39:06.723Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-08-12T03:39:06.872Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-08-12T03:39:06.872Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-08-12T03:39:06.872Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-08-12T03:39:06.995Z] [ 40%] Linking C shared library libcbor.so [2021-08-12T03:39:06.995Z] [ 40%] Built target cbor_shared [2021-08-12T03:39:06.995Z] Scanning dependencies of target cbor [2021-08-12T03:39:07.143Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-08-12T03:39:07.143Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-08-12T03:39:07.143Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-08-12T03:39:07.143Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-08-12T03:39:07.265Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-08-12T03:39:07.410Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-08-12T03:39:07.410Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-08-12T03:39:07.410Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-08-12T03:39:07.410Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-08-12T03:39:07.410Z] [ 80%] Linking C static library libcbor.a [2021-08-12T03:39:07.410Z] [ 80%] Built target cbor [2021-08-12T03:39:07.410Z] Scanning dependencies of target sort [2021-08-12T03:39:07.410Z] [ 82%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-08-12T03:39:07.678Z] [ 84%] Linking C executable sort [2021-08-12T03:39:07.678Z] [ 84%] Built target sort [2021-08-12T03:39:07.678Z] Scanning dependencies of target readfile [2021-08-12T03:39:07.678Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-08-12T03:39:07.678Z] [ 88%] Linking C executable readfile [2021-08-12T03:39:07.678Z] [ 88%] Built target readfile [2021-08-12T03:39:07.678Z] Scanning dependencies of target streaming_parser [2021-08-12T03:39:07.678Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-08-12T03:39:07.678Z] [ 92%] Linking C executable streaming_parser [2021-08-12T03:39:07.678Z] [ 92%] Built target streaming_parser [2021-08-12T03:39:07.678Z] Scanning dependencies of target hello [2021-08-12T03:39:07.678Z] [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-08-12T03:39:07.857Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-08-12T03:39:07.944Z] [ 96%] Linking C executable hello [2021-08-12T03:39:07.944Z] [ 96%] Built target hello [2021-08-12T03:39:07.944Z] Scanning dependencies of target create_items [2021-08-12T03:39:07.944Z] [ 98%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-08-12T03:39:07.944Z] [100%] Linking C executable create_items [2021-08-12T03:39:07.944Z] [100%] Built target create_items [2021-08-12T03:39:07.944Z] Install the project... [2021-08-12T03:39:07.944Z] -- Install configuration: "Release" [2021-08-12T03:39:07.944Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-08-12T03:39:07.944Z] -- Installing: /usr/local/lib64/libcbor.a [2021-08-12T03:39:07.944Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-08-12T03:39:07.944Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-08-12T03:39:07.944Z] -- Installing: /usr/local/lib64/libcbor.so [2021-08-12T03:39:07.944Z] -- Up-to-date: /usr/local/include/cbor [2021-08-12T03:39:07.944Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-08-12T03:39:07.944Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-08-12T03:39:07.944Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-08-12T03:39:07.944Z] -- Installing: /usr/local/include/cbor/common.h [2021-08-12T03:39:07.944Z] -- Installing: /usr/local/include/cbor/data.h [2021-08-12T03:39:07.944Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-08-12T03:39:07.944Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-08-12T03:39:07.944Z] -- Installing: /usr/local/include/cbor/internal [2021-08-12T03:39:07.944Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-08-12T03:39:07.944Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-08-12T03:39:07.944Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-08-12T03:39:07.944Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-08-12T03:39:07.944Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-08-12T03:39:07.944Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-08-12T03:39:07.944Z] -- Installing: /usr/local/include/cbor/ints.h [2021-08-12T03:39:07.944Z] -- Installing: /usr/local/include/cbor/maps.h [2021-08-12T03:39:07.944Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-08-12T03:39:07.944Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-08-12T03:39:07.944Z] -- Installing: /usr/local/include/cbor/strings.h [2021-08-12T03:39:07.944Z] -- Installing: /usr/local/include/cbor/tags.h [2021-08-12T03:39:07.944Z] -- Installing: /usr/local/include/cbor.h [2021-08-12T03:39:07.944Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-08-12T03:39:08.451Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-08-12T03:39:08.535Z] Removing intermediate container ab86f75ab0d2 [2021-08-12T03:39:08.535Z] ---> a60876b3c3e2 [2021-08-12T03:39:08.535Z] Step 8/25 : RUN mkdir /tmp/sdk [2021-08-12T03:39:08.535Z] ---> Running in 19be7d9ac238 [2021-08-12T03:39:08.723Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-08-12T03:39:08.810Z] Removing intermediate container 19be7d9ac238 [2021-08-12T03:39:08.810Z] ---> e9e3abcd21bb [2021-08-12T03:39:08.810Z] Step 9/25 : COPY VERSION /tmp/sdk [2021-08-12T03:39:09.080Z] ---> 76ee3cbd98d6 [2021-08-12T03:39:09.080Z] Step 10/25 : COPY src /tmp/sdk/src [2021-08-12T03:39:09.345Z] ---> a22a631094ec [2021-08-12T03:39:09.345Z] Step 11/25 : COPY include /tmp/sdk/include [2021-08-12T03:39:09.345Z] ---> 0726d2f06502 [2021-08-12T03:39:09.345Z] Step 12/25 : COPY scripts /tmp/sdk/scripts [2021-08-12T03:39:09.610Z] ---> f7bece64dd36 [2021-08-12T03:39:09.611Z] Step 13/25 : COPY LICENSE /tmp/sdk [2021-08-12T03:39:09.611Z] ---> 3bdae105e87b [2021-08-12T03:39:09.611Z] Step 14/25 : COPY Attribution.txt /tmp/sdk [2021-08-12T03:39:09.880Z] ---> 66b49512f9ee [2021-08-12T03:39:09.880Z] Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-08-12T03:39:09.880Z] ---> Running in e67b0e0151d7 [2021-08-12T03:39:10.146Z] + CPPCHECK=false [2021-08-12T03:39:10.146Z] + DOCGEN=false [2021-08-12T03:39:10.146Z] + TOMLVER=SDK-0.2 [2021-08-12T03:39:10.146Z] + CUTILVER=1.1.4 [2021-08-12T03:39:10.146Z] + '[' 0 -gt 0 ] [2021-08-12T03:39:10.146Z] + readlink -f ./scripts/build.sh [2021-08-12T03:39:10.146Z] + dirname /tmp/sdk/scripts/build.sh [2021-08-12T03:39:10.146Z] + dirname /tmp/sdk/scripts [2021-08-12T03:39:10.146Z] + ROOT=/tmp/sdk [2021-08-12T03:39:10.146Z] + cd /tmp/sdk [2021-08-12T03:39:10.146Z] + '[' '!' -d deps ] [2021-08-12T03:39:10.146Z] + mkdir deps [2021-08-12T03:39:10.146Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-08-12T03:39:10.146Z] + tar -C deps -z -x -f - [2021-08-12T03:39:10.146Z] --2021-08-12 03:39:10-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-08-12T03:39:10.146Z] Resolving github.com (github.com)... 140.82.114.4 [2021-08-12T03:39:10.146Z] Connecting to github.com (github.com)|140.82.114.4|:443... connected. [2021-08-12T03:39:10.409Z] HTTP request sent, awaiting response... 302 Found [2021-08-12T03:39:10.409Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-08-12T03:39:10.409Z] --2021-08-12 03:39:10-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-08-12T03:39:10.409Z] Resolving codeload.github.com (codeload.github.com)... 140.82.114.10 [2021-08-12T03:39:10.409Z] Connecting to codeload.github.com (codeload.github.com)|140.82.114.10|:443... connected. [2021-08-12T03:39:10.409Z] HTTP request sent, awaiting response... 200 OK [2021-08-12T03:39:10.409Z] Length: unspecified [application/x-gzip] [2021-08-12T03:39:10.409Z] Saving to: 'STDOUT' [2021-08-12T03:39:10.409Z] [2021-08-12T03:39:10.409Z] 0K .......... ...... 866K=0.02s [2021-08-12T03:39:10.409Z] [2021-08-12T03:39:10.409Z] 2021-08-12 03:39:10 (866 KB/s) - written to stdout [16451] [2021-08-12T03:39:10.409Z] [2021-08-12T03:39:10.409Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-08-12T03:39:10.409Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-08-12T03:39:10.409Z] + tar -C deps -z -x -f - [2021-08-12T03:39:10.409Z] --2021-08-12 03:39:10-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-08-12T03:39:10.409Z] Resolving github.com (github.com)... 140.82.114.4 [2021-08-12T03:39:10.674Z] Connecting to github.com (github.com)|140.82.114.4|:443... connected. [2021-08-12T03:39:10.674Z] HTTP request sent, awaiting response... 302 Found [2021-08-12T03:39:10.674Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] [2021-08-12T03:39:10.674Z] --2021-08-12 03:39:10-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [2021-08-12T03:39:10.674Z] Resolving codeload.github.com (codeload.github.com)... 140.82.114.10 [2021-08-12T03:39:10.674Z] Connecting to codeload.github.com (codeload.github.com)|140.82.114.10|:443... connected. [2021-08-12T03:39:10.690Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-08-12T03:39:10.690Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-08-12T03:39:10.941Z] HTTP request sent, awaiting response... 200 OK [2021-08-12T03:39:10.941Z] Length: unspecified [application/x-gzip] [2021-08-12T03:39:10.941Z] Saving to: 'STDOUT' [2021-08-12T03:39:10.941Z] [2021-08-12T03:39:10.941Z] 0K .......... .......... .......... .......... .......... 1.13M [2021-08-12T03:39:10.941Z] 50K .......... .......... .......... .......... .......... 2.28M [2021-08-12T03:39:10.941Z] 100K .......... .......... .......... .......... .......... 16.0M [2021-08-12T03:39:10.941Z] 150K .......... .......... ....... 4.46M=0.07s [2021-08-12T03:39:10.941Z] [2021-08-12T03:39:10.941Z] 2021-08-12 03:39:10 (2.36 MB/s) - written to stdout [181796] [2021-08-12T03:39:10.941Z] [2021-08-12T03:39:10.941Z] + mkdir -p src/c/iot [2021-08-12T03:39:10.941Z] + 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-12T03:39:10.941Z] + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot [2021-08-12T03:39:10.941Z] + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot [2021-08-12T03:39:10.941Z] + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot [2021-08-12T03:39:10.941Z] + mkdir -p include/iot [2021-08-12T03:39:10.941Z] + 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-12T03:39:10.941Z] + mkdir -p include/iot/os [2021-08-12T03:39:10.941Z] + 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-12T03:39:10.941Z] + mkdir -p /tmp/sdk/build/release [2021-08-12T03:39:10.941Z] + cd /tmp/sdk/build/release [2021-08-12T03:39:10.941Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-08-12T03:39:10.941Z] -- The C compiler identification is GNU 9.3.0 [2021-08-12T03:39:10.941Z] -- Check for working C compiler: /usr/bin/cc [2021-08-12T03:39:10.962Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-08-12T03:39:10.962Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-08-12T03:39:11.209Z] -- Check for working C compiler: /usr/bin/cc - works [2021-08-12T03:39:11.209Z] -- Detecting C compiler ABI info [2021-08-12T03:39:11.209Z] -- Detecting C compiler ABI info - done [2021-08-12T03:39:11.209Z] -- Detecting C compile features [2021-08-12T03:39:11.209Z] -- Detecting C compile features - done [2021-08-12T03:39:11.209Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-08-12T03:39:11.209Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") [2021-08-12T03:39:11.209Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-08-12T03:39:11.209Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-08-12T03:39:11.209Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-08-12T03:39:11.209Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-08-12T03:39:11.210Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-08-12T03:39:11.210Z] -- C SDK 0.0.0 for Linux [2021-08-12T03:39:11.210Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-08-12T03:39:11.210Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-08-12T03:39:11.210Z] -- Found Curses: /usr/lib/libcurses.so [2021-08-12T03:39:11.210Z] -- Configuring done [2021-08-12T03:39:11.238Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-08-12T03:39:11.477Z] -- Generating done [2021-08-12T03:39:11.477Z] -- Build files have been written to: /tmp/sdk/build/release [2021-08-12T03:39:11.477Z] + make all package [2021-08-12T03:39:11.477Z] + tee release.log [2021-08-12T03:39:11.477Z] Scanning dependencies of target csdk [2021-08-12T03:39:11.477Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-08-12T03:39:11.477Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-08-12T03:39:11.511Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-08-12T03:39:11.743Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-08-12T03:39:12.011Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-08-12T03:39:12.012Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-08-12T03:39:12.012Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-08-12T03:39:12.107Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-08-12T03:39:12.279Z] /tmp/sdk/src/c/data-mqtt.c: In function 'edgex_data_client_new_mqtt': [2021-08-12T03:39:12.279Z] /tmp/sdk/src/c/data-mqtt.c:182:12: warning: unused variable 'tm' [-Wunused-variable] [2021-08-12T03:39:12.279Z] 182 | uint64_t tm; [2021-08-12T03:39:12.279Z] | ^~ [2021-08-12T03:39:12.279Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-08-12T03:39:12.279Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-08-12T03:39:12.279Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-08-12T03:39:12.545Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-08-12T03:39:12.705Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-08-12T03:39:12.810Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-08-12T03:39:12.978Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-08-12T03:39:13.075Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-08-12T03:39:13.075Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-08-12T03:39:13.075Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-08-12T03:39:13.341Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-08-12T03:39:13.341Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-08-12T03:39:13.341Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-08-12T03:39:13.573Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-08-12T03:39:13.573Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-08-12T03:39:13.846Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-08-12T03:39:13.925Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-08-12T03:39:13.925Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-08-12T03:39:13.925Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-08-12T03:39:14.120Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-08-12T03:39:14.196Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-08-12T03:39:14.196Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-08-12T03:39:14.196Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-08-12T03:39:14.393Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-08-12T03:39:14.665Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-08-12T03:39:14.784Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-08-12T03:39:14.784Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-08-12T03:39:14.784Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-08-12T03:39:14.936Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-08-12T03:39:15.050Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-08-12T03:39:15.050Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-08-12T03:39:15.050Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-08-12T03:39:15.209Z] [ 80%] Linking C static library libcbor.a [2021-08-12T03:39:15.209Z] [ 80%] Built target cbor [2021-08-12T03:39:15.209Z] Scanning dependencies of target sort [2021-08-12T03:39:15.209Z] [ 82%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-08-12T03:39:15.316Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-08-12T03:39:15.316Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-08-12T03:39:15.483Z] [ 84%] Linking C executable sort [2021-08-12T03:39:15.483Z] [ 84%] Built target sort [2021-08-12T03:39:15.589Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-08-12T03:39:15.589Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-08-12T03:39:15.755Z] Scanning dependencies of target readfile [2021-08-12T03:39:15.755Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-08-12T03:39:15.755Z] [ 88%] Linking C executable readfile [2021-08-12T03:39:15.855Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-08-12T03:39:15.855Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-08-12T03:39:16.028Z] [ 88%] Built target readfile [2021-08-12T03:39:16.028Z] Scanning dependencies of target streaming_parser [2021-08-12T03:39:16.028Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-08-12T03:39:16.120Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-08-12T03:39:16.120Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-08-12T03:39:16.300Z] [ 92%] Linking C executable streaming_parser [2021-08-12T03:39:16.300Z] [ 92%] Built target streaming_parser [2021-08-12T03:39:16.300Z] Scanning dependencies of target hello [2021-08-12T03:39:16.300Z] [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-08-12T03:39:16.572Z] [ 96%] Linking C executable hello [2021-08-12T03:39:16.572Z] [ 96%] Built target hello [2021-08-12T03:39:16.572Z] Scanning dependencies of target create_items [2021-08-12T03:39:16.572Z] [ 98%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-08-12T03:39:16.846Z] [100%] Linking C executable create_items [2021-08-12T03:39:16.846Z] [100%] Built target create_items [2021-08-12T03:39:16.846Z] Install the project... [2021-08-12T03:39:16.846Z] -- Install configuration: "Release" [2021-08-12T03:39:16.846Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-08-12T03:39:16.846Z] -- Installing: /usr/local/lib64/libcbor.a [2021-08-12T03:39:16.846Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-08-12T03:39:16.846Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-08-12T03:39:16.846Z] -- Installing: /usr/local/lib64/libcbor.so [2021-08-12T03:39:17.076Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-08-12T03:39:17.076Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-08-12T03:39:17.076Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-08-12T03:39:17.076Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-08-12T03:39:17.122Z] -- Up-to-date: /usr/local/include/cbor [2021-08-12T03:39:17.122Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-08-12T03:39:17.122Z] -- Installing: /usr/local/include/cbor/ints.h [2021-08-12T03:39:17.122Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-08-12T03:39:17.122Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-08-12T03:39:17.122Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-08-12T03:39:17.122Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-08-12T03:39:17.122Z] -- Installing: /usr/local/include/cbor/data.h [2021-08-12T03:39:17.122Z] -- Installing: /usr/local/include/cbor/common.h [2021-08-12T03:39:17.122Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-08-12T03:39:17.122Z] -- Installing: /usr/local/include/cbor/strings.h [2021-08-12T03:39:17.122Z] -- Installing: /usr/local/include/cbor/tags.h [2021-08-12T03:39:17.122Z] -- Installing: /usr/local/include/cbor/internal [2021-08-12T03:39:17.122Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-08-12T03:39:17.123Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-08-12T03:39:17.123Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-08-12T03:39:17.123Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-08-12T03:39:17.123Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-08-12T03:39:17.123Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-08-12T03:39:17.123Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-08-12T03:39:17.123Z] -- Installing: /usr/local/include/cbor/maps.h [2021-08-12T03:39:17.123Z] -- Installing: /usr/local/include/cbor.h [2021-08-12T03:39:17.123Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-08-12T03:39:17.341Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-08-12T03:39:17.606Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-08-12T03:39:17.606Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-08-12T03:39:17.873Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-08-12T03:39:17.873Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-08-12T03:39:18.138Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-08-12T03:39:18.723Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-08-12T03:39:18.992Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-08-12T03:39:18.992Z] [ 75%] Linking C shared library libcsdk.so [2021-08-12T03:39:18.992Z] [ 75%] Built target csdk [2021-08-12T03:39:18.992Z] Scanning dependencies of target template [2021-08-12T03:39:18.992Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-08-12T03:39:19.133Z] Removing intermediate container 4e2506102684 [2021-08-12T03:39:19.133Z] ---> 29123cb344d7 [2021-08-12T03:39:19.133Z] Step 8/25 : RUN mkdir /tmp/sdk [2021-08-12T03:39:19.133Z] ---> Running in 1c0c6da25a89 [2021-08-12T03:39:19.263Z] [ 78%] Linking C executable template [2021-08-12T03:39:19.264Z] [ 78%] Built target template [2021-08-12T03:39:19.264Z] Scanning dependencies of target device-counter [2021-08-12T03:39:19.264Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-08-12T03:39:19.530Z] [ 81%] Linking C executable device-counter [2021-08-12T03:39:19.530Z] [ 81%] Built target device-counter [2021-08-12T03:39:19.530Z] Scanning dependencies of target device-random [2021-08-12T03:39:19.530Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-08-12T03:39:19.530Z] [ 84%] Linking C executable device-random [2021-08-12T03:39:19.530Z] [ 84%] Built target device-random [2021-08-12T03:39:19.530Z] Scanning dependencies of target device-gyro [2021-08-12T03:39:19.530Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-08-12T03:39:19.796Z] [ 87%] Linking C executable device-gyro [2021-08-12T03:39:19.796Z] [ 87%] Built target device-gyro [2021-08-12T03:39:19.796Z] Scanning dependencies of target device-bitfields [2021-08-12T03:39:19.796Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-08-12T03:39:19.796Z] [ 90%] Linking C executable device-bitfields [2021-08-12T03:39:19.796Z] [ 90%] Built target device-bitfields [2021-08-12T03:39:20.066Z] Scanning dependencies of target template-discovery [2021-08-12T03:39:20.066Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-08-12T03:39:20.066Z] [ 93%] Linking C executable template-discovery [2021-08-12T03:39:20.066Z] [ 93%] Built target template-discovery [2021-08-12T03:39:20.066Z] Scanning dependencies of target device-file [2021-08-12T03:39:20.066Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-08-12T03:39:20.347Z] [ 96%] Linking C executable device-file [2021-08-12T03:39:20.347Z] [ 96%] Built target device-file [2021-08-12T03:39:20.347Z] Scanning dependencies of target device-terminal [2021-08-12T03:39:20.347Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-08-12T03:39:20.347Z] [100%] Linking C executable device-terminal [2021-08-12T03:39:20.616Z] [100%] Built target device-terminal [2021-08-12T03:39:20.616Z] Run CPack packaging tool... [2021-08-12T03:39:20.616Z] CPack: Create package using TGZ [2021-08-12T03:39:20.616Z] CPack: Install projects [2021-08-12T03:39:20.616Z] CPack: - Run preinstall target for: Csdk [2021-08-12T03:39:20.616Z] CPack: - Install project: Csdk [] [2021-08-12T03:39:20.616Z] CPack: Create package [2021-08-12T03:39:20.616Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-08-12T03:39:20.882Z] + '[' false '=' true ] [2021-08-12T03:39:20.882Z] + '[' false '=' true ] [2021-08-12T03:39:20.882Z] + mkdir -p /tmp/sdk/build/debug [2021-08-12T03:39:20.882Z] + cd /tmp/sdk/build/debug [2021-08-12T03:39:20.882Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-08-12T03:39:20.882Z] -- The C compiler identification is GNU 9.3.0 [2021-08-12T03:39:20.882Z] -- Check for working C compiler: /usr/bin/cc [2021-08-12T03:39:20.882Z] -- Check for working C compiler: /usr/bin/cc - works [2021-08-12T03:39:20.882Z] -- Detecting C compiler ABI info [2021-08-12T03:39:20.882Z] -- Detecting C compiler ABI info - done [2021-08-12T03:39:20.882Z] -- Detecting C compile features [2021-08-12T03:39:20.882Z] -- Detecting C compile features - done [2021-08-12T03:39:20.882Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-08-12T03:39:21.116Z] Removing intermediate container 1c0c6da25a89 [2021-08-12T03:39:21.116Z] ---> fd91a2745ff6 [2021-08-12T03:39:21.116Z] Step 9/25 : COPY VERSION /tmp/sdk [2021-08-12T03:39:21.149Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") [2021-08-12T03:39:21.149Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-08-12T03:39:21.149Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-08-12T03:39:21.149Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-08-12T03:39:21.149Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-08-12T03:39:21.149Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-08-12T03:39:21.149Z] -- C SDK 0.0.0 for Linux [2021-08-12T03:39:21.149Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-08-12T03:39:21.149Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-08-12T03:39:21.149Z] -- Found Curses: /usr/lib/libcurses.so [2021-08-12T03:39:21.149Z] -- Configuring done [2021-08-12T03:39:21.149Z] -- Generating done [2021-08-12T03:39:21.149Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-08-12T03:39:21.149Z] + make [2021-08-12T03:39:21.149Z] + tee debug.log [2021-08-12T03:39:21.149Z] Scanning dependencies of target csdk [2021-08-12T03:39:21.149Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-08-12T03:39:21.416Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-08-12T03:39:21.416Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-08-12T03:39:21.416Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-08-12T03:39:21.685Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-08-12T03:39:21.685Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-08-12T03:39:21.685Z] /tmp/sdk/src/c/data-mqtt.c: In function 'edgex_data_client_new_mqtt': [2021-08-12T03:39:21.685Z] /tmp/sdk/src/c/data-mqtt.c:182:12: warning: unused variable 'tm' [-Wunused-variable] [2021-08-12T03:39:21.685Z] 182 | uint64_t tm; [2021-08-12T03:39:21.685Z] | ^~ [2021-08-12T03:39:21.685Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-08-12T03:39:21.685Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-08-12T03:39:21.685Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-08-12T03:39:21.950Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-08-12T03:39:21.950Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-08-12T03:39:21.950Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-08-12T03:39:22.090Z] ---> 34453f93e8f1 [2021-08-12T03:39:22.090Z] Step 10/25 : COPY src /tmp/sdk/src [2021-08-12T03:39:22.219Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-08-12T03:39:22.219Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-08-12T03:39:22.219Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-08-12T03:39:22.219Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-08-12T03:39:22.219Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-08-12T03:39:22.485Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-08-12T03:39:22.485Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-08-12T03:39:22.485Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-08-12T03:39:22.759Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-08-12T03:39:22.759Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-08-12T03:39:22.759Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-08-12T03:39:23.024Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-08-12T03:39:23.024Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-08-12T03:39:23.024Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-08-12T03:39:23.024Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-08-12T03:39:23.024Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-08-12T03:39:23.024Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-08-12T03:39:23.024Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-08-12T03:39:23.070Z] ---> 88e9b9bca479 [2021-08-12T03:39:23.071Z] Step 11/25 : COPY include /tmp/sdk/include [2021-08-12T03:39:23.293Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-08-12T03:39:23.293Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-08-12T03:39:23.293Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-08-12T03:39:23.293Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-08-12T03:39:23.293Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-08-12T03:39:23.559Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-08-12T03:39:23.559Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-08-12T03:39:23.826Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-08-12T03:39:23.826Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-08-12T03:39:23.826Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-08-12T03:39:23.826Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-08-12T03:39:24.054Z] ---> 0d61c528663f [2021-08-12T03:39:24.054Z] Step 12/25 : COPY scripts /tmp/sdk/scripts [2021-08-12T03:39:24.099Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-08-12T03:39:24.099Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-08-12T03:39:24.369Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-08-12T03:39:24.369Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-08-12T03:39:24.369Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-08-12T03:39:24.369Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-08-12T03:39:24.635Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-08-12T03:39:24.635Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-08-12T03:39:24.635Z] [ 75%] Linking C shared library libcsdk.so [2021-08-12T03:39:24.653Z] ---> e5f8d4b9c310 [2021-08-12T03:39:24.653Z] Step 13/25 : COPY LICENSE /tmp/sdk [2021-08-12T03:39:24.904Z] [ 75%] Built target csdk [2021-08-12T03:39:24.904Z] Scanning dependencies of target template [2021-08-12T03:39:24.904Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-08-12T03:39:24.904Z] [ 78%] Linking C executable template [2021-08-12T03:39:24.904Z] [ 78%] Built target template [2021-08-12T03:39:24.904Z] Scanning dependencies of target device-counter [2021-08-12T03:39:24.905Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-08-12T03:39:24.905Z] [ 81%] Linking C executable device-counter [2021-08-12T03:39:24.905Z] [ 81%] Built target device-counter [2021-08-12T03:39:25.169Z] Scanning dependencies of target device-random [2021-08-12T03:39:25.169Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-08-12T03:39:25.169Z] [ 84%] Linking C executable device-random [2021-08-12T03:39:25.169Z] [ 84%] Built target device-random [2021-08-12T03:39:25.169Z] Scanning dependencies of target device-gyro [2021-08-12T03:39:25.169Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-08-12T03:39:25.169Z] [ 87%] Linking C executable device-gyro [2021-08-12T03:39:25.169Z] [ 87%] Built target device-gyro [2021-08-12T03:39:25.169Z] Scanning dependencies of target device-bitfields [2021-08-12T03:39:25.169Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-08-12T03:39:25.259Z] ---> 4fbbda0b831d [2021-08-12T03:39:25.259Z] Step 14/25 : COPY Attribution.txt /tmp/sdk [2021-08-12T03:39:25.434Z] [ 90%] Linking C executable device-bitfields [2021-08-12T03:39:25.434Z] [ 90%] Built target device-bitfields [2021-08-12T03:39:25.434Z] Scanning dependencies of target template-discovery [2021-08-12T03:39:25.434Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-08-12T03:39:25.434Z] [ 93%] Linking C executable template-discovery [2021-08-12T03:39:25.434Z] [ 93%] Built target template-discovery [2021-08-12T03:39:25.434Z] Scanning dependencies of target device-file [2021-08-12T03:39:25.434Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-08-12T03:39:25.704Z] [ 96%] Linking C executable device-file [2021-08-12T03:39:25.704Z] [ 96%] Built target device-file [2021-08-12T03:39:25.704Z] Scanning dependencies of target device-terminal [2021-08-12T03:39:25.704Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-08-12T03:39:25.704Z] [100%] Linking C executable device-terminal [2021-08-12T03:39:25.704Z] [100%] Built target device-terminal [2021-08-12T03:39:25.704Z] make: Entering directory '/tmp/sdk/build/release' [2021-08-12T03:39:25.704Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-08-12T03:39:25.704Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-12T03:39:25.704Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-12T03:39:25.704Z] [ 75%] Built target csdk [2021-08-12T03:39:25.704Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-12T03:39:25.704Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-12T03:39:25.704Z] [ 78%] Built target template [2021-08-12T03:39:25.704Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-12T03:39:25.704Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-12T03:39:25.970Z] [ 81%] Built target device-counter [2021-08-12T03:39:25.970Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-12T03:39:25.970Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-12T03:39:25.970Z] [ 84%] Built target device-random [2021-08-12T03:39:25.970Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-12T03:39:25.970Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-12T03:39:25.970Z] [ 87%] Built target device-gyro [2021-08-12T03:39:25.970Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-12T03:39:25.970Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-12T03:39:25.970Z] [ 90%] Built target device-bitfields [2021-08-12T03:39:25.970Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-12T03:39:25.970Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-12T03:39:25.970Z] [ 93%] Built target template-discovery [2021-08-12T03:39:25.970Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-12T03:39:25.971Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-12T03:39:25.971Z] [ 96%] Built target device-file [2021-08-12T03:39:25.971Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-12T03:39:25.971Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-12T03:39:25.971Z] [100%] Built target device-terminal [2021-08-12T03:39:25.971Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-08-12T03:39:25.971Z] Install the project... [2021-08-12T03:39:25.971Z] -- Install configuration: "Release" [2021-08-12T03:39:25.971Z] -- Installing: /usr/local/lib/libcsdk.so [2021-08-12T03:39:25.971Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-08-12T03:39:25.971Z] -- Up-to-date: /usr/local/include [2021-08-12T03:39:25.971Z] -- Installing: /usr/local/include/devsdk [2021-08-12T03:39:25.971Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-08-12T03:39:25.971Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-08-12T03:39:25.971Z] -- Installing: /usr/local/include/edgex [2021-08-12T03:39:25.971Z] -- Installing: /usr/local/include/edgex/devices.h [2021-08-12T03:39:25.971Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-08-12T03:39:25.971Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-08-12T03:39:25.971Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-08-12T03:39:25.971Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-08-12T03:39:25.971Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-08-12T03:39:25.971Z] -- Installing: /usr/local/include/iot [2021-08-12T03:39:25.971Z] -- Installing: /usr/local/include/iot/base64.h [2021-08-12T03:39:25.971Z] -- Installing: /usr/local/include/iot/component.h [2021-08-12T03:39:25.971Z] -- Installing: /usr/local/include/iot/config.h [2021-08-12T03:39:25.971Z] -- Installing: /usr/local/include/iot/container.h [2021-08-12T03:39:25.971Z] -- Installing: /usr/local/include/iot/data.h [2021-08-12T03:39:25.971Z] -- Installing: /usr/local/include/iot/hash.h [2021-08-12T03:39:25.971Z] -- Installing: /usr/local/include/iot/iot.h [2021-08-12T03:39:25.971Z] -- Installing: /usr/local/include/iot/json.h [2021-08-12T03:39:25.971Z] -- Installing: /usr/local/include/iot/logger.h [2021-08-12T03:39:25.971Z] -- Installing: /usr/local/include/iot/os.h [2021-08-12T03:39:25.971Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-08-12T03:39:25.971Z] -- Installing: /usr/local/include/iot/thread.h [2021-08-12T03:39:25.971Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-08-12T03:39:25.971Z] -- Installing: /usr/local/include/iot/time.h [2021-08-12T03:39:25.971Z] -- Installing: /usr/local/include/iot/typecode.h [2021-08-12T03:39:25.971Z] -- Installing: /usr/local/include/iot/os [2021-08-12T03:39:25.971Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-08-12T03:39:25.971Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-08-12T03:39:25.971Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-08-12T03:39:25.971Z] -- Installing: /usr/local/include/iot/defs.h [2021-08-12T03:39:25.971Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-08-12T03:39:25.971Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-08-12T03:39:25.971Z] make: Leaving directory '/tmp/sdk/build/release' [2021-08-12T03:39:26.237Z] ---> 0bd6e498a233 [2021-08-12T03:39:26.237Z] Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-08-12T03:39:26.237Z] ---> Running in c1c8c2000730 [2021-08-12T03:39:26.553Z] Removing intermediate container e67b0e0151d7 [2021-08-12T03:39:26.554Z] ---> 39f82dc61dd1 [2021-08-12T03:39:26.554Z] Step 16/25 : FROM ${BASE} [2021-08-12T03:39:26.554Z] ---> ac6a0feb3254 [2021-08-12T03:39:26.554Z] Step 17/25 : LABEL maintainer="IOTech " [2021-08-12T03:39:26.554Z] ---> Running in ab5431759490 [2021-08-12T03:39:26.554Z] Removing intermediate container ab5431759490 [2021-08-12T03:39:26.554Z] ---> b06c509f037d [2021-08-12T03:39:26.554Z] 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-12T03:39:26.554Z] ---> Running in 51d6ca796a73 [2021-08-12T03:39:26.819Z] Connecting to iotech.jfrog.io (54.229.110.245:443) [2021-08-12T03:39:27.085Z] saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-08-12T03:39:27.085Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-08-12T03:39:27.085Z] '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [2021-08-12T03:39:27.357Z] Removing intermediate container 51d6ca796a73 [2021-08-12T03:39:27.357Z] ---> e90c710cdac2 [2021-08-12T03:39:27.357Z] Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-08-12T03:39:27.357Z] ---> Running in bf3c8d2d55aa [2021-08-12T03:39:27.668Z] + CPPCHECK=false [2021-08-12T03:39:27.668Z] + DOCGEN=false [2021-08-12T03:39:27.668Z] + TOMLVER=SDK-0.2 [2021-08-12T03:39:27.668Z] + CUTILVER=1.1.4 [2021-08-12T03:39:27.668Z] + '[' 0 -gt 0 ] [2021-08-12T03:39:27.668Z] + readlink -f ./scripts/build.sh [2021-08-12T03:39:27.668Z] + dirname /tmp/sdk/scripts/build.sh [2021-08-12T03:39:27.668Z] + dirname /tmp/sdk/scripts [2021-08-12T03:39:27.668Z] + ROOT=/tmp/sdk [2021-08-12T03:39:27.668Z] + cd /tmp/sdk [2021-08-12T03:39:27.668Z] + '[' '!' -d deps ] [2021-08-12T03:39:27.668Z] + mkdir deps [2021-08-12T03:39:27.668Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-08-12T03:39:27.668Z] + tar -C deps -z -x -f - [2021-08-12T03:39:27.668Z] --2021-08-12 03:39:27-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-08-12T03:39:27.668Z] Resolving github.com (github.com)... 140.82.114.4 [2021-08-12T03:39:27.668Z] Connecting to github.com (github.com)|140.82.114.4|:443... connected. [2021-08-12T03:39:27.668Z] HTTP request sent, awaiting response... 302 Found [2021-08-12T03:39:27.668Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-08-12T03:39:27.668Z] --2021-08-12 03:39:27-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-08-12T03:39:27.668Z] Resolving codeload.github.com (codeload.github.com)... 140.82.114.10 [2021-08-12T03:39:27.668Z] Connecting to codeload.github.com (codeload.github.com)|140.82.114.10|:443... connected. [2021-08-12T03:39:27.668Z] HTTP request sent, awaiting response... 200 OK [2021-08-12T03:39:27.668Z] Length: unspecified [application/x-gzip] [2021-08-12T03:39:27.668Z] Saving to: 'STDOUT' [2021-08-12T03:39:27.668Z] [2021-08-12T03:39:27.668Z] 0K .......... ...... 928K=0.02s [2021-08-12T03:39:27.668Z] [2021-08-12T03:39:27.668Z] 2021-08-12 03:39:27 (928 KB/s) - written to stdout [16451] [2021-08-12T03:39:27.669Z] [2021-08-12T03:39:27.669Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-08-12T03:39:27.669Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-08-12T03:39:27.669Z] + tar -C deps -z -x -f - [2021-08-12T03:39:27.669Z] --2021-08-12 03:39:27-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-08-12T03:39:27.669Z] Resolving github.com (github.com)... 140.82.114.4 [2021-08-12T03:39:27.669Z] Connecting to github.com (github.com)|140.82.114.4|:443... connected. [2021-08-12T03:39:27.936Z] Removing intermediate container bf3c8d2d55aa [2021-08-12T03:39:27.936Z] ---> fed4c7448770 [2021-08-12T03:39:27.936Z] 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-12T03:39:27.936Z] ---> Running in def986a5be5b [2021-08-12T03:39:27.943Z] HTTP request sent, awaiting response... 302 Found [2021-08-12T03:39:27.943Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] [2021-08-12T03:39:27.943Z] --2021-08-12 03:39:27-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [2021-08-12T03:39:27.943Z] Resolving codeload.github.com (codeload.github.com)... 140.82.114.10 [2021-08-12T03:39:27.943Z] Connecting to codeload.github.com (codeload.github.com)|140.82.114.10|:443... connected. [2021-08-12T03:39:27.943Z] HTTP request sent, awaiting response... 200 OK [2021-08-12T03:39:27.943Z] Length: unspecified [application/x-gzip] [2021-08-12T03:39:27.943Z] Saving to: 'STDOUT' [2021-08-12T03:39:27.943Z]  [2021-08-12T03:39:27.943Z] 0K .......... .......... .......... .......... .......... 1.36M [2021-08-12T03:39:27.943Z] 50K .......... .......... .......... .......... .......... 2.70M [2021-08-12T03:39:27.943Z] 100K .......... .......... .......... .......... .......... 7.01M [2021-08-12T03:39:27.943Z] 150K .......... .......... ....... 1.69M=0.08s [2021-08-12T03:39:27.943Z] [2021-08-12T03:39:27.943Z] 2021-08-12 03:39:27 (2.25 MB/s) - written to stdout [181796] [2021-08-12T03:39:27.943Z] [2021-08-12T03:39:27.943Z] + mkdir -p src/c/iot [2021-08-12T03:39:27.943Z] + 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-12T03:39:27.943Z] + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot [2021-08-12T03:39:27.943Z] + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot [2021-08-12T03:39:27.943Z] + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot [2021-08-12T03:39:27.943Z] + mkdir -p include/iot [2021-08-12T03:39:27.943Z] + 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-12T03:39:27.943Z] + mkdir -p include/iot/os [2021-08-12T03:39:27.943Z] + 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-12T03:39:27.943Z] + mkdir -p /tmp/sdk/build/release [2021-08-12T03:39:28.205Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-08-12T03:39:28.217Z] + cd /tmp/sdk/build/release [2021-08-12T03:39:28.217Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-08-12T03:39:28.490Z] -- The C compiler identification is GNU 9.3.0 [2021-08-12T03:39:28.490Z] -- Check for working C compiler: /usr/bin/cc [2021-08-12T03:39:28.766Z] -- Check for working C compiler: /usr/bin/cc - works [2021-08-12T03:39:28.766Z] -- Detecting C compiler ABI info [2021-08-12T03:39:28.766Z] -- Detecting C compiler ABI info - done [2021-08-12T03:39:28.785Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-08-12T03:39:29.045Z] -- Detecting C compile features [2021-08-12T03:39:29.045Z] -- Detecting C compile features - done [2021-08-12T03:39:29.045Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-08-12T03:39:29.045Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") [2021-08-12T03:39:29.045Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-08-12T03:39:29.054Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz [2021-08-12T03:39:29.316Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-08-12T03:39:29.316Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-08-12T03:39:29.316Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-08-12T03:39:29.316Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-08-12T03:39:29.316Z] -- C SDK 0.0.0 for Linux [2021-08-12T03:39:29.316Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-08-12T03:39:29.316Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-08-12T03:39:29.605Z] -- Found Curses: /usr/lib/libcurses.so [2021-08-12T03:39:29.605Z] -- Configuring done [2021-08-12T03:39:29.633Z] (1/7) Installing curl (7.78.0-r0) [2021-08-12T03:39:29.633Z] (2/7) Installing hiredis (0.14.1-r0) [2021-08-12T03:39:29.633Z] (3/7) Installing hiredis-dev (0.14.1-r0) [2021-08-12T03:39:29.877Z] -- Generating done [2021-08-12T03:39:29.877Z] -- Build files have been written to: /tmp/sdk/build/release [2021-08-12T03:39:29.877Z] + make all package [2021-08-12T03:39:29.877Z] + tee release.log [2021-08-12T03:39:29.897Z] (4/7) Installing libuuid (2.35.2-r0) [2021-08-12T03:39:29.897Z] (5/7) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-08-12T03:39:30.159Z] Scanning dependencies of target csdk [2021-08-12T03:39:30.159Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-08-12T03:39:30.762Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-08-12T03:39:31.298Z] (6/7) Installing libidn2 (2.3.0-r0) [2021-08-12T03:39:31.298Z] (7/7) Installing wget (1.20.3-r1) [2021-08-12T03:39:31.356Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-08-12T03:39:31.565Z] Executing busybox-1.31.1-r20.trigger [2021-08-12T03:39:31.565Z] OK: 286 MiB in 82 packages [2021-08-12T03:39:31.832Z] Removing intermediate container def986a5be5b [2021-08-12T03:39:31.832Z] ---> f09917ffff09 [2021-08-12T03:39:31.832Z] Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-08-12T03:39:31.832Z] ---> 0083446aed91 [2021-08-12T03:39:31.832Z] Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-08-12T03:39:32.102Z] ---> 4c7e20525007 [2021-08-12T03:39:32.102Z] Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-08-12T03:39:32.102Z] ---> 2076ac91279a [2021-08-12T03:39:32.102Z] Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-08-12T03:39:32.371Z] ---> 7494f7996ac9 [2021-08-12T03:39:32.371Z] Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-08-12T03:39:32.371Z] ---> 2d7ed1160527 [2021-08-12T03:39:32.371Z] Successfully built 2d7ed1160527 [2021-08-12T03:39:32.371Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-12T03:39:33.041Z] + docker inspect -f . ci-base-image-x86_64 [2021-08-12T03:39:33.041Z] . [Pipeline] withDockerContainer [2021-08-12T03:39:33.132Z] prd-centos7-docker-4c-2g-677 does not seem to be running inside a container [2021-08-12T03:39:33.191Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/3 -v /w/workspace/device-sdk-c/3:/w/workspace/device-sdk-c/3:rw,z -v /w/workspace/device-sdk-c/3@tmp:/w/workspace/device-sdk-c/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-08-12T03:39:33.339Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-08-12T03:39:33.520Z] $ docker top acec39787b04676f490d6d34145aed3b198368a7b659d14a1b317b8bb7706226 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-12T03:39:33.923Z] + make test [2021-08-12T03:39:33.923Z] echo "make test" [2021-08-12T03:39:33.923Z] make test [2021-08-12T03:39:33.934Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-08-12T03:39:33.934Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [Pipeline] } [2021-08-12T03:39:33.940Z] $ docker stop --time=1 acec39787b04676f490d6d34145aed3b198368a7b659d14a1b317b8bb7706226 [2021-08-12T03:39:34.206Z] /tmp/sdk/src/c/data-mqtt.c: In function 'edgex_data_client_new_mqtt': [2021-08-12T03:39:34.206Z] /tmp/sdk/src/c/data-mqtt.c:182:12: warning: unused variable 'tm' [-Wunused-variable] [2021-08-12T03:39:34.206Z] 182 | uint64_t tm; [2021-08-12T03:39:34.206Z] | ^~ [2021-08-12T03:39:34.801Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-08-12T03:39:35.074Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-08-12T03:39:35.138Z] $ docker rm -f acec39787b04676f490d6d34145aed3b198368a7b659d14a1b317b8bb7706226 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2021-08-12T03:39:35.347Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-08-12T03:39:36.355Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [Pipeline] sh [2021-08-12T03:39:37.809Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-08-12T03:39:38.127Z] + ls -al . [2021-08-12T03:39:38.127Z] total 172 [2021-08-12T03:39:38.127Z] drwxrwxr-x. 8 jenkins jenkins 4096 Aug 12 03:38 . [2021-08-12T03:39:38.127Z] drwxrwxr-x. 4 jenkins jenkins 28 Aug 12 03:38 .. [2021-08-12T03:39:38.127Z] -rw-rw-r--. 1 jenkins jenkins 3104 Aug 12 03:38 Attribution.txt [2021-08-12T03:39:38.127Z] -rw-rw-r--. 1 jenkins jenkins 7556 Aug 12 03:38 CHANGES [2021-08-12T03:39:38.127Z] drwxrwxr-x. 2 jenkins jenkins 121 Aug 12 03:38 docs [2021-08-12T03:39:38.127Z] -rw-rw-r--. 1 jenkins jenkins 108574 Aug 12 03:38 Doxyfile [2021-08-12T03:39:38.127Z] drwxrwxr-x. 8 jenkins jenkins 179 Aug 12 03:38 .git [2021-08-12T03:39:38.127Z] drwxrwxr-x. 2 jenkins jenkins 81 Aug 12 03:38 .github [2021-08-12T03:39:38.127Z] -rw-rw-r--. 1 jenkins jenkins 176 Aug 12 03:38 .gitignore [2021-08-12T03:39:38.127Z] -rw-rw-r--. 1 jenkins jenkins 677 Aug 12 03:38 GOVERNANCE.md [2021-08-12T03:39:38.127Z] drwxrwxr-x. 4 jenkins jenkins 33 Aug 12 03:38 include [2021-08-12T03:39:38.127Z] -rw-rw-r--. 1 jenkins jenkins 784 Aug 12 03:38 Jenkinsfile [2021-08-12T03:39:38.127Z] -rw-rw-r--. 1 jenkins jenkins 10174 Aug 12 03:38 LICENSE [2021-08-12T03:39:38.127Z] -rw-rw-r--. 1 jenkins jenkins 444 Aug 12 03:38 Makefile [2021-08-12T03:39:38.127Z] -rw-rw-r--. 1 jenkins jenkins 618 Aug 12 03:38 OWNERS.md [2021-08-12T03:39:38.127Z] -rw-rw-r--. 1 jenkins jenkins 4086 Aug 12 03:38 README.md [2021-08-12T03:39:38.127Z] -rw-rw-r--. 1 jenkins jenkins 7090 Aug 12 03:38 README.v2.md [2021-08-12T03:39:38.127Z] drwxrwxr-x. 2 jenkins jenkins 98 Aug 12 03:38 scripts [2021-08-12T03:39:38.127Z] drwxrwxr-x. 4 jenkins jenkins 50 Aug 12 03:38 src [2021-08-12T03:39:38.127Z] -rw-rw-r--. 1 jenkins jenkins 5 Aug 12 03:35 VERSION [Pipeline] isUnix [Pipeline] sh [2021-08-12T03:39:38.324Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-08-12T03:39:38.446Z] + 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=516284af67c211e29588d43b22b73a89007a7a2c --label arch=amd64 --label version=0.0.0 . [2021-08-12T03:39:38.446Z] Sending build context to Docker daemon 2.655MB [2021-08-12T03:39:38.446Z] Step 1/17 : ARG BASE=alpine:3.12 [2021-08-12T03:39:38.446Z] Step 2/17 : FROM ${BASE} [2021-08-12T03:39:38.446Z] ---> 2d7ed1160527 [2021-08-12T03:39:38.446Z] Step 3/17 : LABEL maintainer="IOTech " [2021-08-12T03:39:38.446Z] ---> Running in c44a9bbe9e4b [2021-08-12T03:39:38.446Z] Removing intermediate container c44a9bbe9e4b [2021-08-12T03:39:38.446Z] ---> eac633e3863d [2021-08-12T03:39:38.446Z] 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-12T03:39:38.446Z] ---> Running in 518a883accd2 [2021-08-12T03:39:38.596Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-08-12T03:39:38.712Z] --2021-08-12 03:39:38-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub [2021-08-12T03:39:38.977Z] Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.229.110.245, 54.195.244.87, 54.170.66.44 [2021-08-12T03:39:38.977Z] Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.229.110.245|:443... connected. [2021-08-12T03:39:39.191Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-08-12T03:39:39.248Z] HTTP request sent, awaiting response... 200 OK [2021-08-12T03:39:39.248Z] Length: 451 [application/octet-stream] [2021-08-12T03:39:39.248Z] Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-08-12T03:39:39.248Z]  [2021-08-12T03:39:39.248Z] 0K 100% 48.4M=0s [2021-08-12T03:39:39.248Z] [2021-08-12T03:39:39.248Z] 2021-08-12 03:39:39 (48.4 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] [2021-08-12T03:39:39.248Z] [2021-08-12T03:39:39.515Z] Removing intermediate container 518a883accd2 [2021-08-12T03:39:39.515Z] ---> 9a7fc8db7500 [2021-08-12T03:39:39.515Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-08-12T03:39:39.515Z] ---> Running in 176a6ede75b7 [2021-08-12T03:39:39.788Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-08-12T03:39:40.067Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-08-12T03:39:40.108Z] Removing intermediate container 176a6ede75b7 [2021-08-12T03:39:40.108Z] ---> 3a98fabeffb7 [2021-08-12T03:39:40.108Z] 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-12T03:39:40.108Z] ---> Running in a5306304106e [2021-08-12T03:39:40.339Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-08-12T03:39:40.372Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-08-12T03:39:40.613Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-08-12T03:39:40.961Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-08-12T03:39:41.538Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz [2021-08-12T03:39:41.804Z] (1/16) Installing ncurses-dev (6.2_p20200523-r0) [2021-08-12T03:39:42.072Z] (2/16) Installing libblkid (2.35.2-r0) [2021-08-12T03:39:42.072Z] (3/16) Installing blkid (2.35.2-r0) [2021-08-12T03:39:42.072Z] (4/16) Installing libcap-ng (0.7.10-r1) [2021-08-12T03:39:42.338Z] (5/16) Installing setpriv (2.35.2-r0) [2021-08-12T03:39:42.338Z] (6/16) Installing libmount (2.35.2-r0) [2021-08-12T03:39:42.338Z] (7/16) Installing libsmartcols (2.35.2-r0) [2021-08-12T03:39:42.603Z] (8/16) Installing findmnt (2.35.2-r0) [2021-08-12T03:39:42.603Z] (9/16) Installing mcookie (2.35.2-r0) [2021-08-12T03:39:42.603Z] (10/16) Installing hexdump (2.35.2-r0) [2021-08-12T03:39:42.867Z] (11/16) Installing lsblk (2.35.2-r0) [2021-08-12T03:39:42.867Z] (12/16) Installing libfdisk (2.35.2-r0) [2021-08-12T03:39:42.867Z] (13/16) Installing sfdisk (2.35.2-r0) [2021-08-12T03:39:43.131Z] (14/16) Installing cfdisk (2.35.2-r0) [2021-08-12T03:39:43.131Z] (15/16) Installing util-linux (2.35.2-r0) [2021-08-12T03:39:43.231Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-08-12T03:39:43.506Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-08-12T03:39:43.712Z] (16/16) Installing util-linux-dev (2.35.2-r0) [2021-08-12T03:39:43.712Z] Executing busybox-1.31.1-r20.trigger [2021-08-12T03:39:43.712Z] OK: 295 MiB in 98 packages [2021-08-12T03:39:44.105Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-08-12T03:39:44.294Z] Removing intermediate container a5306304106e [2021-08-12T03:39:44.294Z] ---> b2913309e2da [2021-08-12T03:39:44.294Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2021-08-12T03:39:44.294Z] ---> ec6d3108fedc [2021-08-12T03:39:44.294Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2021-08-12T03:39:44.379Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-08-12T03:39:44.565Z] ---> 468d2e7b4199 [2021-08-12T03:39:44.565Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2021-08-12T03:39:44.652Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-08-12T03:39:44.833Z] ---> 25cadbe288a6 [2021-08-12T03:39:44.833Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2021-08-12T03:39:44.833Z] ---> 6d0d8bddb90d [2021-08-12T03:39:44.833Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2021-08-12T03:39:45.102Z] ---> b19e07a0ea92 [2021-08-12T03:39:45.102Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2021-08-12T03:39:45.102Z] ---> a7c32a1562a2 [2021-08-12T03:39:45.102Z] Step 13/17 : WORKDIR /edgex-c-sdk [2021-08-12T03:39:45.102Z] ---> Running in f53d88ca528d [2021-08-12T03:39:45.254Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-08-12T03:39:45.369Z] Removing intermediate container f53d88ca528d [2021-08-12T03:39:45.369Z] ---> e76181258ded [2021-08-12T03:39:45.369Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-08-12T03:39:45.369Z] ---> Running in 5d8afe65be35 [2021-08-12T03:39:45.369Z] Removing intermediate container 5d8afe65be35 [2021-08-12T03:39:45.369Z] ---> 882f69b7fbec [2021-08-12T03:39:45.369Z] Step 15/17 : LABEL arch=amd64 [2021-08-12T03:39:45.369Z] ---> Running in cdeb0d858802 [2021-08-12T03:39:45.369Z] Removing intermediate container cdeb0d858802 [2021-08-12T03:39:45.369Z] ---> d8d1da420cbd [2021-08-12T03:39:45.369Z] Step 16/17 : LABEL git_sha=516284af67c211e29588d43b22b73a89007a7a2c [2021-08-12T03:39:45.636Z] ---> Running in e27ce3896b37 [2021-08-12T03:39:45.636Z] Removing intermediate container e27ce3896b37 [2021-08-12T03:39:45.636Z] ---> 1f644366142a [2021-08-12T03:39:45.636Z] Step 17/17 : LABEL version=0.0.0 [2021-08-12T03:39:45.636Z] ---> Running in 424149626a1d [2021-08-12T03:39:45.636Z] Removing intermediate container 424149626a1d [2021-08-12T03:39:45.636Z] ---> 305a0ffab2fd [2021-08-12T03:39:45.636Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-08-12T03:39:45.636Z] Successfully built 305a0ffab2fd [2021-08-12T03:39:45.636Z] 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-12T03:39:46.117Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-12T03:39:46.117Z] [2021-08-12T03:39:46.117Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-08-12T03:39:46.449Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-12T03:39:46.449Z] latest: Pulling from edgex-lftools-log-publisher [2021-08-12T03:39:46.449Z] b4d181a07f80: Pulling fs layer [2021-08-12T03:39:46.449Z] a1111a8f2ec3: Pulling fs layer [2021-08-12T03:39:46.449Z] ed53099fbce6: Pulling fs layer [2021-08-12T03:39:46.449Z] dc539afda2c1: Pulling fs layer [2021-08-12T03:39:46.449Z] 77bc0d833cb6: Pulling fs layer [2021-08-12T03:39:46.449Z] 9065ff56babe: Pulling fs layer [2021-08-12T03:39:46.449Z] d287ab97295c: Pulling fs layer [2021-08-12T03:39:46.449Z] dc539afda2c1: Waiting [2021-08-12T03:39:46.449Z] 77bc0d833cb6: Waiting [2021-08-12T03:39:46.449Z] 9065ff56babe: Waiting [2021-08-12T03:39:46.449Z] d287ab97295c: Waiting [2021-08-12T03:39:46.713Z] a1111a8f2ec3: Verifying Checksum [2021-08-12T03:39:46.713Z] a1111a8f2ec3: Download complete [2021-08-12T03:39:46.713Z] dc539afda2c1: Verifying Checksum [2021-08-12T03:39:46.713Z] dc539afda2c1: Download complete [2021-08-12T03:39:46.981Z] 77bc0d833cb6: Verifying Checksum [2021-08-12T03:39:46.981Z] 77bc0d833cb6: Download complete [2021-08-12T03:39:46.981Z] 9065ff56babe: Verifying Checksum [2021-08-12T03:39:46.981Z] 9065ff56babe: Download complete [2021-08-12T03:39:47.560Z] ed53099fbce6: Verifying Checksum [2021-08-12T03:39:47.560Z] ed53099fbce6: Download complete [2021-08-12T03:39:47.866Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-08-12T03:39:48.142Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-08-12T03:39:48.142Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-08-12T03:39:48.512Z] b4d181a07f80: Verifying Checksum [2021-08-12T03:39:48.512Z] b4d181a07f80: Download complete [2021-08-12T03:39:48.738Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-08-12T03:39:49.335Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-08-12T03:39:49.335Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-08-12T03:39:49.491Z] b4d181a07f80: Pull complete [2021-08-12T03:39:49.781Z] a1111a8f2ec3: Pull complete [2021-08-12T03:39:50.054Z] ed53099fbce6: Pull complete [2021-08-12T03:39:50.306Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-08-12T03:39:50.328Z] dc539afda2c1: Pull complete [2021-08-12T03:39:50.580Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-08-12T03:39:50.594Z] 77bc0d833cb6: Pull complete [2021-08-12T03:39:50.594Z] 9065ff56babe: Pull complete [2021-08-12T03:39:51.547Z] d287ab97295c: Verifying Checksum [2021-08-12T03:39:51.547Z] d287ab97295c: Download complete [2021-08-12T03:39:51.561Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-08-12T03:39:51.561Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-08-12T03:39:53.536Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-08-12T03:39:54.137Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-08-12T03:39:55.118Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-08-12T03:39:55.118Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-08-12T03:39:55.825Z] d287ab97295c: Pull complete [2021-08-12T03:39:55.826Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-08-12T03:39:55.826Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-12T03:39:55.826Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-08-12T03:39:55.927Z] prd-centos7-docker-4c-2g-677 does not seem to be running inside a container [2021-08-12T03:39:56.014Z] $ 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/3 -v /w/workspace/device-sdk-c/3:/w/workspace/device-sdk-c/3:rw,z -v /w/workspace/device-sdk-c/3@tmp:/w/workspace/device-sdk-c/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-08-12T03:39:58.585Z] $ docker top 42704a8bdf1d0681f5c1a9ea55d0b409c143d87717e6dd946ef17853f34355d7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-12T03:39:59.151Z] ---> job-cost.sh [2021-08-12T03:39:59.151Z] lf-activate-venv: SKIPPING [2021-08-12T03:39:59.151Z] INFO: No Stack... [2021-08-12T03:39:59.423Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-08-12T03:39:59.696Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-08-12T03:40:00.291Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-08-12T03:40:00.558Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-08-12T03:40:00.564Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-08-12T03:40:01.147Z] INFO: Archiving Costs [Pipeline] sh [2021-08-12T03:40:01.470Z] + cat /w/workspace/device-sdk-c/3/archives/cost.csv [2021-08-12T03:40:01.470Z] + cut -d, -f6 [Pipeline] lock [2021-08-12T03:40:01.509Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-363-3-stack-cost] [2021-08-12T03:40:01.516Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-363-3-stack-cost] did not exist. Created. [2021-08-12T03:40:01.516Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-363-3-stack-cost] [Pipeline] { [Pipeline] unstash [2021-08-12T03:40:01.546Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [Pipeline] sh [2021-08-12T03:40:01.873Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-08-12T03:40:02.117Z] Stashed 1 file(s) [Pipeline] } [2021-08-12T03:40:02.131Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-363-3-stack-cost] [Pipeline] // lock [Pipeline] } [2021-08-12T03:40:02.157Z] $ docker stop --time=1 42704a8bdf1d0681f5c1a9ea55d0b409c143d87717e6dd946ef17853f34355d7 [2021-08-12T03:40:02.973Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-08-12T03:40:03.245Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-08-12T03:40:03.317Z] $ docker rm -f 42704a8bdf1d0681f5c1a9ea55d0b409c143d87717e6dd946ef17853f34355d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-08-12T03:40:03.838Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-08-12T03:40:04.110Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-08-12T03:40:06.077Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-08-12T03:40:09.471Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-08-12T03:40:10.065Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-08-12T03:40:10.337Z] [ 75%] Linking C shared library libcsdk.so [2021-08-12T03:40:10.609Z] [ 75%] Built target csdk [2021-08-12T03:40:10.609Z] Scanning dependencies of target template [2021-08-12T03:40:10.609Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-08-12T03:40:11.205Z] [ 78%] Linking C executable template [2021-08-12T03:40:11.480Z] [ 78%] Built target template [2021-08-12T03:40:11.480Z] Scanning dependencies of target device-counter [2021-08-12T03:40:11.480Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-08-12T03:40:12.080Z] [ 81%] Linking C executable device-counter [2021-08-12T03:40:12.354Z] [ 81%] Built target device-counter [2021-08-12T03:40:12.354Z] Scanning dependencies of target device-random [2021-08-12T03:40:12.354Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-08-12T03:40:12.628Z] [ 84%] Linking C executable device-random [2021-08-12T03:40:12.901Z] [ 84%] Built target device-random [2021-08-12T03:40:12.901Z] Scanning dependencies of target device-gyro [2021-08-12T03:40:12.901Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-08-12T03:40:13.495Z] [ 87%] Linking C executable device-gyro [2021-08-12T03:40:13.767Z] [ 87%] Built target device-gyro [2021-08-12T03:40:13.767Z] Scanning dependencies of target device-bitfields [2021-08-12T03:40:13.767Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-08-12T03:40:14.037Z] [ 90%] Linking C executable device-bitfields [2021-08-12T03:40:14.307Z] [ 90%] Built target device-bitfields [2021-08-12T03:40:14.307Z] Scanning dependencies of target template-discovery [2021-08-12T03:40:14.307Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-08-12T03:40:14.901Z] [ 93%] Linking C executable template-discovery [2021-08-12T03:40:15.173Z] [ 93%] Built target template-discovery [2021-08-12T03:40:15.173Z] Scanning dependencies of target device-file [2021-08-12T03:40:15.444Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-08-12T03:40:16.033Z] [ 96%] Linking C executable device-file [2021-08-12T03:40:16.033Z] [ 96%] Built target device-file [2021-08-12T03:40:16.033Z] Scanning dependencies of target device-terminal [2021-08-12T03:40:16.305Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-08-12T03:40:16.576Z] [100%] Linking C executable device-terminal [2021-08-12T03:40:16.848Z] [100%] Built target device-terminal [2021-08-12T03:40:17.124Z] Run CPack packaging tool... [2021-08-12T03:40:17.124Z] CPack: Create package using TGZ [2021-08-12T03:40:17.124Z] CPack: Install projects [2021-08-12T03:40:17.124Z] CPack: - Run preinstall target for: Csdk [2021-08-12T03:40:17.398Z] CPack: - Install project: Csdk [] [2021-08-12T03:40:17.670Z] CPack: Create package [2021-08-12T03:40:17.670Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-08-12T03:40:17.670Z] + '[' false '=' true ] [2021-08-12T03:40:17.670Z] + '[' false '=' true ] [2021-08-12T03:40:17.670Z] + mkdir -p /tmp/sdk/build/debug [2021-08-12T03:40:17.670Z] + cd /tmp/sdk/build/debug [2021-08-12T03:40:17.670Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-08-12T03:40:17.944Z] -- The C compiler identification is GNU 9.3.0 [2021-08-12T03:40:17.944Z] -- Check for working C compiler: /usr/bin/cc [2021-08-12T03:40:18.219Z] -- Check for working C compiler: /usr/bin/cc - works [2021-08-12T03:40:18.219Z] -- Detecting C compiler ABI info [2021-08-12T03:40:18.494Z] -- Detecting C compiler ABI info - done [2021-08-12T03:40:18.767Z] -- Detecting C compile features [2021-08-12T03:40:18.767Z] -- Detecting C compile features - done [2021-08-12T03:40:18.767Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-08-12T03:40:18.767Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") [2021-08-12T03:40:18.767Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-08-12T03:40:18.767Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-08-12T03:40:18.767Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-08-12T03:40:18.767Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-08-12T03:40:18.767Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-08-12T03:40:18.767Z] -- C SDK 0.0.0 for Linux [2021-08-12T03:40:18.767Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-08-12T03:40:19.042Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-08-12T03:40:19.314Z] -- Found Curses: /usr/lib/libcurses.so [2021-08-12T03:40:19.314Z] -- Configuring done [2021-08-12T03:40:19.587Z] -- Generating done [2021-08-12T03:40:19.587Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-08-12T03:40:19.587Z] + make [2021-08-12T03:40:19.587Z] + tee debug.log [2021-08-12T03:40:19.587Z] Scanning dependencies of target csdk [2021-08-12T03:40:19.859Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-08-12T03:40:20.132Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-08-12T03:40:20.407Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-08-12T03:40:21.007Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-08-12T03:40:21.283Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-08-12T03:40:21.562Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-08-12T03:40:21.562Z] /tmp/sdk/src/c/data-mqtt.c: In function 'edgex_data_client_new_mqtt': [2021-08-12T03:40:21.562Z] /tmp/sdk/src/c/data-mqtt.c:182:12: warning: unused variable 'tm' [-Wunused-variable] [2021-08-12T03:40:21.562Z] 182 | uint64_t tm; [2021-08-12T03:40:21.562Z] | ^~ [2021-08-12T03:40:21.838Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-08-12T03:40:22.113Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-08-12T03:40:22.391Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-08-12T03:40:22.666Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-08-12T03:40:23.263Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-08-12T03:40:23.536Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-08-12T03:40:23.810Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-08-12T03:40:24.085Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-08-12T03:40:24.360Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-08-12T03:40:24.634Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-08-12T03:40:24.913Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-08-12T03:40:25.518Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-08-12T03:40:25.796Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-08-12T03:40:26.070Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-08-12T03:40:26.346Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-08-12T03:40:26.346Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-08-12T03:40:26.622Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-08-12T03:40:27.602Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-08-12T03:40:27.602Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-08-12T03:40:27.874Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-08-12T03:40:28.147Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-08-12T03:40:28.420Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-08-12T03:40:28.420Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-08-12T03:40:28.695Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-08-12T03:40:28.968Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-08-12T03:40:29.240Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-08-12T03:40:29.513Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-08-12T03:40:29.785Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-08-12T03:40:30.057Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-08-12T03:40:30.334Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-08-12T03:40:30.608Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-08-12T03:40:31.589Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-08-12T03:40:31.865Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-08-12T03:40:32.139Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-08-12T03:40:32.412Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-08-12T03:40:32.686Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-08-12T03:40:33.665Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-08-12T03:40:33.939Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-08-12T03:40:34.212Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-08-12T03:40:34.487Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-08-12T03:40:35.089Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-08-12T03:40:35.684Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-08-12T03:40:35.958Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-08-12T03:40:36.233Z] [ 75%] Linking C shared library libcsdk.so [2021-08-12T03:40:36.515Z] [ 75%] Built target csdk [2021-08-12T03:40:36.515Z] Scanning dependencies of target template [2021-08-12T03:40:36.515Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-08-12T03:40:36.788Z] [ 78%] Linking C executable template [2021-08-12T03:40:37.060Z] [ 78%] Built target template [2021-08-12T03:40:37.060Z] Scanning dependencies of target device-counter [2021-08-12T03:40:37.061Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-08-12T03:40:37.334Z] [ 81%] Linking C executable device-counter [2021-08-12T03:40:37.612Z] [ 81%] Built target device-counter [2021-08-12T03:40:37.612Z] Scanning dependencies of target device-random [2021-08-12T03:40:37.612Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-08-12T03:40:37.886Z] [ 84%] Linking C executable device-random [2021-08-12T03:40:38.161Z] [ 84%] Built target device-random [2021-08-12T03:40:38.161Z] Scanning dependencies of target device-gyro [2021-08-12T03:40:38.161Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-08-12T03:40:38.435Z] [ 87%] Linking C executable device-gyro [2021-08-12T03:40:38.708Z] [ 87%] Built target device-gyro [2021-08-12T03:40:38.708Z] Scanning dependencies of target device-bitfields [2021-08-12T03:40:38.708Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-08-12T03:40:38.983Z] [ 90%] Linking C executable device-bitfields [2021-08-12T03:40:39.257Z] [ 90%] Built target device-bitfields [2021-08-12T03:40:39.257Z] Scanning dependencies of target template-discovery [2021-08-12T03:40:39.257Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-08-12T03:40:39.531Z] [ 93%] Linking C executable template-discovery [2021-08-12T03:40:39.805Z] [ 93%] Built target template-discovery [2021-08-12T03:40:39.805Z] Scanning dependencies of target device-file [2021-08-12T03:40:39.805Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-08-12T03:40:40.080Z] [ 96%] Linking C executable device-file [2021-08-12T03:40:40.353Z] [ 96%] Built target device-file [2021-08-12T03:40:40.353Z] Scanning dependencies of target device-terminal [2021-08-12T03:40:40.353Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-08-12T03:40:40.628Z] [100%] Linking C executable device-terminal [2021-08-12T03:40:40.906Z] [100%] Built target device-terminal [2021-08-12T03:40:40.906Z] make: Entering directory '/tmp/sdk/build/release' [2021-08-12T03:40:41.181Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-08-12T03:40:41.181Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-12T03:40:41.181Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-12T03:40:41.181Z] [ 75%] Built target csdk [2021-08-12T03:40:41.181Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-12T03:40:41.181Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-12T03:40:41.181Z] [ 78%] Built target template [2021-08-12T03:40:41.181Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-12T03:40:41.181Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-12T03:40:41.181Z] [ 81%] Built target device-counter [2021-08-12T03:40:41.181Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-12T03:40:41.181Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-12T03:40:41.181Z] [ 84%] Built target device-random [2021-08-12T03:40:41.181Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-12T03:40:41.181Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-12T03:40:41.181Z] [ 87%] Built target device-gyro [2021-08-12T03:40:41.181Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-12T03:40:41.456Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-12T03:40:41.456Z] [ 90%] Built target device-bitfields [2021-08-12T03:40:41.456Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-12T03:40:41.456Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-12T03:40:41.456Z] [ 93%] Built target template-discovery [2021-08-12T03:40:41.456Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-12T03:40:41.456Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-12T03:40:41.456Z] [ 96%] Built target device-file [2021-08-12T03:40:41.456Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-12T03:40:41.456Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-12T03:40:41.456Z] [100%] Built target device-terminal [2021-08-12T03:40:41.456Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-08-12T03:40:41.456Z] Install the project... [2021-08-12T03:40:41.456Z] -- Install configuration: "Release" [2021-08-12T03:40:41.456Z] -- Installing: /usr/local/lib/libcsdk.so [2021-08-12T03:40:41.456Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-08-12T03:40:41.456Z] -- Up-to-date: /usr/local/include [2021-08-12T03:40:41.456Z] -- Installing: /usr/local/include/edgex [2021-08-12T03:40:41.456Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-08-12T03:40:41.456Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-08-12T03:40:41.456Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-08-12T03:40:41.456Z] -- Installing: /usr/local/include/edgex/devices.h [2021-08-12T03:40:41.456Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-08-12T03:40:41.456Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-08-12T03:40:41.456Z] -- Installing: /usr/local/include/devsdk [2021-08-12T03:40:41.456Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-08-12T03:40:41.456Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-08-12T03:40:41.456Z] -- Installing: /usr/local/include/iot [2021-08-12T03:40:41.456Z] -- Installing: /usr/local/include/iot/json.h [2021-08-12T03:40:41.456Z] -- Installing: /usr/local/include/iot/container.h [2021-08-12T03:40:41.456Z] -- Installing: /usr/local/include/iot/component.h [2021-08-12T03:40:41.456Z] -- Installing: /usr/local/include/iot/typecode.h [2021-08-12T03:40:41.456Z] -- Installing: /usr/local/include/iot/iot.h [2021-08-12T03:40:41.456Z] -- Installing: /usr/local/include/iot/time.h [2021-08-12T03:40:41.456Z] -- Installing: /usr/local/include/iot/hash.h [2021-08-12T03:40:41.456Z] -- Installing: /usr/local/include/iot/logger.h [2021-08-12T03:40:41.456Z] -- Installing: /usr/local/include/iot/os [2021-08-12T03:40:41.456Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-08-12T03:40:41.456Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-08-12T03:40:41.456Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-08-12T03:40:41.457Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-08-12T03:40:41.457Z] -- Installing: /usr/local/include/iot/data.h [2021-08-12T03:40:41.457Z] -- Installing: /usr/local/include/iot/thread.h [2021-08-12T03:40:41.457Z] -- Installing: /usr/local/include/iot/os.h [2021-08-12T03:40:41.457Z] -- Installing: /usr/local/include/iot/base64.h [2021-08-12T03:40:41.457Z] -- Installing: /usr/local/include/iot/defs.h [2021-08-12T03:40:41.457Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-08-12T03:40:41.457Z] -- Installing: /usr/local/include/iot/config.h [2021-08-12T03:40:41.457Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-08-12T03:40:41.457Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-08-12T03:40:41.457Z] make: Leaving directory '/tmp/sdk/build/release' [2021-08-12T03:40:44.082Z] Removing intermediate container c1c8c2000730 [2021-08-12T03:40:44.082Z] ---> 3b136ce4ff27 [2021-08-12T03:40:44.082Z] Step 16/25 : FROM ${BASE} [2021-08-12T03:40:44.082Z] ---> 759262b18b23 [2021-08-12T03:40:44.082Z] Step 17/25 : LABEL maintainer="IOTech " [2021-08-12T03:40:44.082Z] ---> Running in b065d88cf8d2 [2021-08-12T03:40:44.359Z] Removing intermediate container b065d88cf8d2 [2021-08-12T03:40:44.359Z] ---> 155fc9d8fbef [2021-08-12T03:40:44.359Z] 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-12T03:40:44.359Z] ---> Running in fe333224189b [2021-08-12T03:40:45.815Z] Connecting to iotech.jfrog.io (54.170.66.44:443) [2021-08-12T03:40:46.090Z] saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-08-12T03:40:46.090Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-08-12T03:40:46.090Z] '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [2021-08-12T03:40:47.073Z] Removing intermediate container fe333224189b [2021-08-12T03:40:47.073Z] ---> e462a1dddff1 [2021-08-12T03:40:47.073Z] Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-08-12T03:40:47.348Z] ---> Running in 9b5a171c6136 [2021-08-12T03:40:49.334Z] Removing intermediate container 9b5a171c6136 [2021-08-12T03:40:49.334Z] ---> d3325b0cba29 [2021-08-12T03:40:49.334Z] 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-12T03:40:49.610Z] ---> Running in 10738db9b632 [2021-08-12T03:40:51.049Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-08-12T03:40:51.644Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-08-12T03:40:52.239Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz [2021-08-12T03:40:52.833Z] (1/7) Installing curl (7.78.0-r0) [2021-08-12T03:40:52.833Z] (2/7) Installing hiredis (0.14.1-r0) [2021-08-12T03:40:53.106Z] (3/7) Installing hiredis-dev (0.14.1-r0) [2021-08-12T03:40:53.106Z] (4/7) Installing libuuid (2.35.2-r0) [2021-08-12T03:40:53.106Z] (5/7) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-08-12T03:40:54.534Z] (6/7) Installing libidn2 (2.3.0-r0) [2021-08-12T03:40:54.804Z] (7/7) Installing wget (1.20.3-r1) [2021-08-12T03:40:55.076Z] Executing busybox-1.31.1-r20.trigger [2021-08-12T03:40:55.076Z] OK: 267 MiB in 82 packages [2021-08-12T03:40:56.507Z] Removing intermediate container 10738db9b632 [2021-08-12T03:40:56.507Z] ---> a2cbc7a6df0e [2021-08-12T03:40:56.507Z] Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-08-12T03:40:57.102Z] ---> cd33b7f6b78c [2021-08-12T03:40:57.102Z] Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-08-12T03:40:57.701Z] ---> fd6d0e99cc2b [2021-08-12T03:40:57.701Z] Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-08-12T03:40:58.728Z] ---> 06188062c830 [2021-08-12T03:40:58.728Z] Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-08-12T03:40:59.707Z] ---> 90071842952d [2021-08-12T03:40:59.707Z] Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-08-12T03:41:00.301Z] ---> 58e34e16e10a [2021-08-12T03:41:00.301Z] Successfully built 58e34e16e10a [2021-08-12T03:41:00.301Z] 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-12T03:41:00.736Z] + docker inspect -f . ci-base-image-arm64 [2021-08-12T03:41:00.736Z] . [Pipeline] withDockerContainer [2021-08-12T03:41:01.007Z] prd-ubuntu18.04-docker-arm64-4c-16g-676 does not seem to be running inside a container [2021-08-12T03:41:01.092Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/3 -v /w/workspace/device-sdk-c/3:/w/workspace/device-sdk-c/3:rw,z -v /w/workspace/device-sdk-c/3@tmp:/w/workspace/device-sdk-c/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-08-12T03:41:02.791Z] $ docker top f62aa601757b86419fdc01cb62c72422a32b0eae58f5f139ded43ce2dbe75646 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-12T03:41:03.810Z] + make test [2021-08-12T03:41:03.810Z] echo "make test" [2021-08-12T03:41:03.810Z] make test [Pipeline] } [2021-08-12T03:41:03.828Z] $ docker stop --time=1 f62aa601757b86419fdc01cb62c72422a32b0eae58f5f139ded43ce2dbe75646 [2021-08-12T03:41:05.713Z] $ docker rm -f f62aa601757b86419fdc01cb62c72422a32b0eae58f5f139ded43ce2dbe75646 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-08-12T03:41:06.434Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-08-12T03:41:06.774Z] + ls -al . [2021-08-12T03:41:06.775Z] total 200 [2021-08-12T03:41:06.775Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 12 03:38 . [2021-08-12T03:41:06.775Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 03:38 .. [2021-08-12T03:41:06.775Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 12 03:38 .git [2021-08-12T03:41:06.775Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 12 03:38 .github [2021-08-12T03:41:06.775Z] -rw-rw-r-- 1 jenkins jenkins 176 Aug 12 03:38 .gitignore [2021-08-12T03:41:06.775Z] -rw-rw-r-- 1 jenkins jenkins 3104 Aug 12 03:38 Attribution.txt [2021-08-12T03:41:06.775Z] -rw-rw-r-- 1 jenkins jenkins 7556 Aug 12 03:38 CHANGES [2021-08-12T03:41:06.775Z] -rw-rw-r-- 1 jenkins jenkins 108574 Aug 12 03:38 Doxyfile [2021-08-12T03:41:06.775Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 12 03:38 GOVERNANCE.md [2021-08-12T03:41:06.775Z] -rw-rw-r-- 1 jenkins jenkins 784 Aug 12 03:38 Jenkinsfile [2021-08-12T03:41:06.775Z] -rw-rw-r-- 1 jenkins jenkins 10174 Aug 12 03:38 LICENSE [2021-08-12T03:41:06.775Z] -rw-rw-r-- 1 jenkins jenkins 444 Aug 12 03:38 Makefile [2021-08-12T03:41:06.775Z] -rw-rw-r-- 1 jenkins jenkins 618 Aug 12 03:38 OWNERS.md [2021-08-12T03:41:06.775Z] -rw-rw-r-- 1 jenkins jenkins 4086 Aug 12 03:38 README.md [2021-08-12T03:41:06.775Z] -rw-rw-r-- 1 jenkins jenkins 7090 Aug 12 03:38 README.v2.md [2021-08-12T03:41:06.775Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 12 03:35 VERSION [2021-08-12T03:41:06.775Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 12 03:38 docs [2021-08-12T03:41:06.775Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 03:38 include [2021-08-12T03:41:06.775Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 12 03:38 scripts [2021-08-12T03:41:06.775Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 03:38 src [Pipeline] isUnix [Pipeline] sh [2021-08-12T03:41:07.118Z] + 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=516284af67c211e29588d43b22b73a89007a7a2c --label arch=arm64 --label version=0.0.0 . [2021-08-12T03:41:07.725Z] Sending build context to Docker daemon 2.654MB [2021-08-12T03:41:07.725Z] Step 1/17 : ARG BASE=alpine:3.12 [2021-08-12T03:41:07.725Z] Step 2/17 : FROM ${BASE} [2021-08-12T03:41:07.725Z] ---> 58e34e16e10a [2021-08-12T03:41:07.725Z] Step 3/17 : LABEL maintainer="IOTech " [2021-08-12T03:41:08.025Z] ---> Running in eea987a2703f [2021-08-12T03:41:08.641Z] Removing intermediate container eea987a2703f [2021-08-12T03:41:08.641Z] ---> 2fce6e8f798a [2021-08-12T03:41:08.641Z] 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-12T03:41:08.641Z] ---> Running in 4247734df6de [2021-08-12T03:41:10.083Z] --2021-08-12 03:41:09-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub [2021-08-12T03:41:10.083Z] Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.195.244.87, 54.170.66.44, 54.229.110.245 [2021-08-12T03:41:10.083Z] Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.195.244.87|:443... connected. [2021-08-12T03:41:10.359Z] HTTP request sent, awaiting response... 200 OK [2021-08-12T03:41:10.359Z] Length: 451 [application/octet-stream] [2021-08-12T03:41:10.359Z] Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-08-12T03:41:10.359Z]  [2021-08-12T03:41:10.359Z] 0K   100% 19.0M=0s [2021-08-12T03:41:10.359Z] [2021-08-12T03:41:10.359Z] 2021-08-12 03:41:10 (19.0 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] [2021-08-12T03:41:10.359Z] [2021-08-12T03:41:11.338Z] Removing intermediate container 4247734df6de [2021-08-12T03:41:11.338Z] ---> 39c04cf7c262 [2021-08-12T03:41:11.338Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-08-12T03:41:11.338Z] ---> Running in 6753faf50661 [2021-08-12T03:41:13.983Z] Removing intermediate container 6753faf50661 [2021-08-12T03:41:13.983Z] ---> 49bf24bea272 [2021-08-12T03:41:13.983Z] 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-12T03:41:13.984Z] ---> Running in 107a7b96eff7 [2021-08-12T03:41:14.969Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-08-12T03:41:15.947Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-08-12T03:41:16.221Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz [2021-08-12T03:41:16.814Z] (1/16) Installing ncurses-dev (6.2_p20200523-r0) [2021-08-12T03:41:16.814Z] (2/16) Installing libblkid (2.35.2-r0) [2021-08-12T03:41:17.089Z] (3/16) Installing blkid (2.35.2-r0) [2021-08-12T03:41:17.089Z] (4/16) Installing libcap-ng (0.7.10-r1) [2021-08-12T03:41:17.089Z] (5/16) Installing setpriv (2.35.2-r0) [2021-08-12T03:41:17.089Z] (6/16) Installing libmount (2.35.2-r0) [2021-08-12T03:41:17.362Z] (7/16) Installing libsmartcols (2.35.2-r0) [2021-08-12T03:41:17.362Z] (8/16) Installing findmnt (2.35.2-r0) [2021-08-12T03:41:17.362Z] (9/16) Installing mcookie (2.35.2-r0) [2021-08-12T03:41:17.633Z] (10/16) Installing hexdump (2.35.2-r0) [2021-08-12T03:41:17.633Z] (11/16) Installing lsblk (2.35.2-r0) [2021-08-12T03:41:17.633Z] (12/16) Installing libfdisk (2.35.2-r0) [2021-08-12T03:41:17.906Z] (13/16) Installing sfdisk (2.35.2-r0) [2021-08-12T03:41:17.906Z] (14/16) Installing cfdisk (2.35.2-r0) [2021-08-12T03:41:17.906Z] (15/16) Installing util-linux (2.35.2-r0) [2021-08-12T03:41:18.502Z] (16/16) Installing util-linux-dev (2.35.2-r0) [2021-08-12T03:41:18.773Z] Executing busybox-1.31.1-r20.trigger [2021-08-12T03:41:18.773Z] OK: 276 MiB in 98 packages [2021-08-12T03:41:20.203Z] Removing intermediate container 107a7b96eff7 [2021-08-12T03:41:20.203Z] ---> 4350fe4ba9ef [2021-08-12T03:41:20.203Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2021-08-12T03:41:20.799Z] ---> 58ab9512019b [2021-08-12T03:41:20.799Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2021-08-12T03:41:21.784Z] ---> e96f95a090e4 [2021-08-12T03:41:21.784Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2021-08-12T03:41:22.766Z] ---> b5add48c9bda [2021-08-12T03:41:22.766Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2021-08-12T03:41:23.361Z] ---> 517225d96b3d [2021-08-12T03:41:23.361Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2021-08-12T03:41:23.957Z] ---> 331774192d5d [2021-08-12T03:41:23.957Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2021-08-12T03:41:24.934Z] ---> 5be9ae195e5a [2021-08-12T03:41:24.934Z] Step 13/17 : WORKDIR /edgex-c-sdk [2021-08-12T03:41:24.934Z] ---> Running in 8c15be00c772 [2021-08-12T03:41:25.529Z] Removing intermediate container 8c15be00c772 [2021-08-12T03:41:25.529Z] ---> 3b0b0bad82b6 [2021-08-12T03:41:25.529Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-08-12T03:41:25.529Z] ---> Running in 51b191081edc [2021-08-12T03:41:26.123Z] Removing intermediate container 51b191081edc [2021-08-12T03:41:26.123Z] ---> 846d23213704 [2021-08-12T03:41:26.123Z] Step 15/17 : LABEL arch=arm64 [2021-08-12T03:41:26.123Z] ---> Running in e61ebd15dd25 [2021-08-12T03:41:26.720Z] Removing intermediate container e61ebd15dd25 [2021-08-12T03:41:26.720Z] ---> fe2056716bc8 [2021-08-12T03:41:26.720Z] Step 16/17 : LABEL git_sha=516284af67c211e29588d43b22b73a89007a7a2c [2021-08-12T03:41:26.720Z] ---> Running in 68e4d537f63e [2021-08-12T03:41:27.323Z] Removing intermediate container 68e4d537f63e [2021-08-12T03:41:27.323Z] ---> 1aaf1da78845 [2021-08-12T03:41:27.323Z] Step 17/17 : LABEL version=0.0.0 [2021-08-12T03:41:27.323Z] ---> Running in 26267569c386 [2021-08-12T03:41:27.917Z] Removing intermediate container 26267569c386 [2021-08-12T03:41:27.917Z] ---> 728708fe8ec5 [2021-08-12T03:41:27.917Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-08-12T03:41:27.917Z] Successfully built 728708fe8ec5 [2021-08-12T03:41:27.917Z] 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-12T03:41:28.444Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-12T03:41:28.444Z] [2021-08-12T03:41:28.444Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-08-12T03:41:28.889Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-12T03:41:29.174Z] arm64: Pulling from edgex-lftools-log-publisher [2021-08-12T03:41:29.174Z] 448f6bf000e3: Pulling fs layer [2021-08-12T03:41:29.174Z] f757da607395: Pulling fs layer [2021-08-12T03:41:29.174Z] 05883995daec: Pulling fs layer [2021-08-12T03:41:29.174Z] 8603b9c90790: Pulling fs layer [2021-08-12T03:41:29.174Z] 1560dd03e051: Pulling fs layer [2021-08-12T03:41:29.174Z] 27f5ce0e4adf: Pulling fs layer [2021-08-12T03:41:29.174Z] c2d8d7efcc4b: Pulling fs layer [2021-08-12T03:41:29.174Z] 1560dd03e051: Waiting [2021-08-12T03:41:29.174Z] 27f5ce0e4adf: Waiting [2021-08-12T03:41:29.174Z] c2d8d7efcc4b: Waiting [2021-08-12T03:41:29.174Z] 8603b9c90790: Waiting [2021-08-12T03:41:29.454Z] f757da607395: Verifying Checksum [2021-08-12T03:41:29.454Z] f757da607395: Download complete [2021-08-12T03:41:29.454Z] 8603b9c90790: Verifying Checksum [2021-08-12T03:41:29.454Z] 8603b9c90790: Download complete [2021-08-12T03:41:29.737Z] 1560dd03e051: Verifying Checksum [2021-08-12T03:41:29.737Z] 1560dd03e051: Download complete [2021-08-12T03:41:29.737Z] 27f5ce0e4adf: Verifying Checksum [2021-08-12T03:41:29.737Z] 27f5ce0e4adf: Download complete [2021-08-12T03:41:29.737Z] 05883995daec: Verifying Checksum [2021-08-12T03:41:29.737Z] 05883995daec: Download complete [2021-08-12T03:41:30.773Z] 448f6bf000e3: Verifying Checksum [2021-08-12T03:41:30.773Z] 448f6bf000e3: Download complete [2021-08-12T03:41:34.323Z] c2d8d7efcc4b: Verifying Checksum [2021-08-12T03:41:34.323Z] c2d8d7efcc4b: Download complete [2021-08-12T03:41:35.320Z] 448f6bf000e3: Pull complete [2021-08-12T03:41:35.919Z] f757da607395: Pull complete [2021-08-12T03:41:37.360Z] 05883995daec: Pull complete [2021-08-12T03:41:37.953Z] 8603b9c90790: Pull complete [2021-08-12T03:41:38.930Z] 1560dd03e051: Pull complete [2021-08-12T03:41:39.205Z] 27f5ce0e4adf: Pull complete [2021-08-12T03:41:54.281Z] c2d8d7efcc4b: Pull complete [2021-08-12T03:41:54.281Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-08-12T03:41:54.281Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-12T03:41:54.281Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-08-12T03:41:54.493Z] prd-ubuntu18.04-docker-arm64-4c-16g-676 does not seem to be running inside a container [2021-08-12T03:41:54.566Z] $ 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/3 -v /w/workspace/device-sdk-c/3:/w/workspace/device-sdk-c/3:rw,z -v /w/workspace/device-sdk-c/3@tmp:/w/workspace/device-sdk-c/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-08-12T03:41:57.705Z] $ docker top af1ff4beb2396317278fca01b46b9148008dd9e922e71f38a84b02084d42af1d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-12T03:41:58.623Z] ---> job-cost.sh [2021-08-12T03:41:58.623Z] lf-activate-venv: SKIPPING [2021-08-12T03:41:58.623Z] INFO: No Stack... [2021-08-12T03:41:59.215Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-08-12T03:41:59.804Z] INFO: Archiving Costs [Pipeline] sh [2021-08-12T03:42:00.472Z] + cut -d, -f6 [2021-08-12T03:42:00.472Z] + cat /w/workspace/device-sdk-c/3/archives/cost.csv [Pipeline] lock [2021-08-12T03:42:00.539Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-363-3-stack-cost] [2021-08-12T03:42:00.548Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-363-3-stack-cost] did not exist. Created. [2021-08-12T03:42:00.548Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-363-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-08-12T03:42:01.241Z] /w/workspace/device-sdk-c/3@tmp/durable-76acc94d/script.sh: 1: /w/workspace/device-sdk-c/3@tmp/durable-76acc94d/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-08-12T03:42:01.915Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-08-12T03:42:01.947Z] Warning: overwriting stash ‘stack-cost’ [2021-08-12T03:42:02.469Z] Stashed 1 file(s) [Pipeline] } [2021-08-12T03:42:02.486Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-363-3-stack-cost] [Pipeline] // lock [Pipeline] } [2021-08-12T03:42:02.509Z] $ docker stop --time=1 af1ff4beb2396317278fca01b46b9148008dd9e922e71f38a84b02084d42af1d [2021-08-12T03:42:04.170Z] $ docker rm -f af1ff4beb2396317278fca01b46b9148008dd9e922e71f38a84b02084d42af1d [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-12T03:42:05.413Z] + '[' -d /w/workspace/edgexfoundry_device-sdk-c_PR-363/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-08-12T03:42:05.740Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-12T03:42:06.348Z] ---> package-listing.sh [2021-08-12T03:42:06.348Z] ++ tr '[:upper:]' '[:lower:]' [2021-08-12T03:42:06.348Z] ++ facter osfamily [2021-08-12T03:42:06.615Z] + OS_FAMILY=redhat [2021-08-12T03:42:06.615Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-363 [2021-08-12T03:42:06.615Z] + START_PACKAGES=/tmp/packages_start.txt [2021-08-12T03:42:06.615Z] + END_PACKAGES=/tmp/packages_end.txt [2021-08-12T03:42:06.615Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-08-12T03:42:06.615Z] + PACKAGES=/tmp/packages_start.txt [2021-08-12T03:42:06.615Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-363 ']' [2021-08-12T03:42:06.615Z] + PACKAGES=/tmp/packages_end.txt [2021-08-12T03:42:06.615Z] + case "${OS_FAMILY}" in [2021-08-12T03:42:06.615Z] + sort [2021-08-12T03:42:06.615Z] + rpm -qa [2021-08-12T03:42:07.199Z] + '[' -f /tmp/packages_start.txt ']' [2021-08-12T03:42:07.199Z] + '[' -f /tmp/packages_end.txt ']' [2021-08-12T03:42:07.199Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-08-12T03:42:07.199Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-363 ']' [2021-08-12T03:42:07.199Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-363/archives/ [2021-08-12T03:42:07.199Z] + 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-12T03:42:07.216Z] 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-12T03:42:07.538Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-08-12T03:42:08.130Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-12T03:42:08.130Z] [2021-08-12T03:42:08.130Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-08-12T03:42:08.460Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-12T03:42:08.460Z] latest: Pulling from edgex-lftools-log-publisher [2021-08-12T03:42:08.461Z] b4d181a07f80: Pulling fs layer [2021-08-12T03:42:08.461Z] a1111a8f2ec3: Pulling fs layer [2021-08-12T03:42:08.461Z] ed53099fbce6: Pulling fs layer [2021-08-12T03:42:08.461Z] dc539afda2c1: Pulling fs layer [2021-08-12T03:42:08.461Z] 77bc0d833cb6: Pulling fs layer [2021-08-12T03:42:08.461Z] 9065ff56babe: Pulling fs layer [2021-08-12T03:42:08.461Z] d287ab97295c: Pulling fs layer [2021-08-12T03:42:08.461Z] dc539afda2c1: Waiting [2021-08-12T03:42:08.461Z] 77bc0d833cb6: Waiting [2021-08-12T03:42:08.461Z] 9065ff56babe: Waiting [2021-08-12T03:42:08.731Z] a1111a8f2ec3: Verifying Checksum [2021-08-12T03:42:08.731Z] a1111a8f2ec3: Download complete [2021-08-12T03:42:08.731Z] dc539afda2c1: Verifying Checksum [2021-08-12T03:42:08.731Z] dc539afda2c1: Download complete [2021-08-12T03:42:09.001Z] 77bc0d833cb6: Verifying Checksum [2021-08-12T03:42:09.001Z] 77bc0d833cb6: Download complete [2021-08-12T03:42:09.001Z] 9065ff56babe: Verifying Checksum [2021-08-12T03:42:09.001Z] 9065ff56babe: Download complete [2021-08-12T03:42:09.484Z] ed53099fbce6: Verifying Checksum [2021-08-12T03:42:09.484Z] ed53099fbce6: Download complete [2021-08-12T03:42:10.078Z] b4d181a07f80: Verifying Checksum [2021-08-12T03:42:10.078Z] b4d181a07f80: Download complete [2021-08-12T03:42:11.507Z] b4d181a07f80: Pull complete [2021-08-12T03:42:11.507Z] a1111a8f2ec3: Pull complete [2021-08-12T03:42:11.774Z] ed53099fbce6: Pull complete [2021-08-12T03:42:11.774Z] dc539afda2c1: Pull complete [2021-08-12T03:42:12.047Z] 77bc0d833cb6: Pull complete [2021-08-12T03:42:12.323Z] 9065ff56babe: Pull complete [2021-08-12T03:42:13.735Z] d287ab97295c: Verifying Checksum [2021-08-12T03:42:13.735Z] d287ab97295c: Download complete [2021-08-12T03:42:18.008Z] d287ab97295c: Pull complete [2021-08-12T03:42:18.008Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-08-12T03:42:18.008Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-12T03:42:18.008Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-08-12T03:42:18.091Z] prd-centos7-docker-4c-2g-675 does not seem to be running inside a container [2021-08-12T03:42:18.157Z] $ 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-12T03:42:20.294Z] $ docker top 652afa11c0b28b65fb3afd55c16d46174a8b948afbb751376677703bf276f88e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-12T03:42:20.694Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-08-12T03:42:21.013Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-08-12T03:42:21.335Z] + ls /var/log/sa-host [2021-08-12T03:42:21.335Z] + sadf -c /var/log/sa-host/sa05 [2021-08-12T03:42:21.335Z] file_magic: OK [2021-08-12T03:42:21.335Z] HZ: Using current value: 100 [2021-08-12T03:42:21.335Z] file_header: OK [2021-08-12T03:42:21.335Z] 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-12T03:42:21.335Z] Statistics: [2021-08-12T03:42:21.335Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-08-12T03:42:21.335Z] File successfully converted to sysstat format version 12.0.3 [2021-08-12T03:42:21.335Z] + sadf -c /var/log/sa-host/sa12 [2021-08-12T03:42:21.335Z] file_magic: OK [2021-08-12T03:42:21.335Z] HZ: Using current value: 100 [2021-08-12T03:42:21.335Z] file_header: OK [2021-08-12T03:42:21.335Z] 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-12T03:42:21.335Z] Statistics: [2021-08-12T03:42:21.335Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-08-12T03:42:21.335Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-12T03:42:21.958Z] provisioning config files... [2021-08-12T03:42:21.975Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-363@tmp/config1376546056809548291tmp [Pipeline] { [Pipeline] echo [2021-08-12T03:42:22.002Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-12T03:42:22.321Z] ---> create-netrc.sh [Pipeline] } [2021-08-12T03:42:22.335Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-08-12T03:42:22.762Z] ---> python-tools-install.sh [Pipeline] echo [2021-08-12T03:42:22.778Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-12T03:42:23.092Z] ---> sudo-logs.sh [2021-08-12T03:42:23.092Z] Archiving 'sudo' log.. [2021-08-12T03:42:23.092Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-675.vexxhost.local: Name or service not known [2021-08-12T03:42:23.092Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-675.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-08-12T03:42:23.160Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-12T03:42:23.495Z] ---> job-cost.sh [2021-08-12T03:42:23.495Z] lf-activate-venv: SKIPPING [2021-08-12T03:42:23.495Z] DEBUG: total: 0.18000000715255737 [2021-08-12T03:42:23.495Z] INFO: Retrieving Stack Cost... [2021-08-12T03:42:24.457Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-08-12T03:42:24.726Z] INFO: Archiving Costs [Pipeline] echo [2021-08-12T03:42:24.748Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-12T03:42:25.070Z] ---> logs-deploy.sh [2021-08-12T03:42:25.070Z] lf-activate-venv: SKIPPING [2021-08-12T03:42:25.070Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-363/3 [2021-08-12T03:42:25.070Z] INFO: archiving workspace using pattern(s): [2021-08-12T03:42:26.085Z] Archives upload complete. [2021-08-12T03:42:26.085Z] INFO: archiving logs to Nexus